diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 79083339ae34..e711d1a72069 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -288,10 +288,10 @@ Usage of this system is mandatory for any `Topic()` calls, and will produce erro ```dm //Bad -"<a href='?src=\ref[src];'>Link!</a>" +"<a href='byond://?src=\ref[src];'>Link!</a>" //Good -"<a href='?src=[UID()];'>Link!</a>" +"<a href='byond://?src=[UID()];'>Link!</a>" ``` ### Use `var/name` format when declaring variables diff --git a/.gitignore b/.gitignore index e020ce07f19f..de2fcefe7bb2 100644 --- a/.gitignore +++ b/.gitignore @@ -69,5 +69,8 @@ $RECYCLE.BIN # Linux libs /*.so +# VIM swap files. +*.swp + # SS220 EDIT sound/tts_cache/* diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_althland_excavation.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_althland_excavation.dmm index 1505811a8c4e..1e3b9a3be133 100644 --- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_althland_excavation.dmm +++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_althland_excavation.dmm @@ -797,6 +797,9 @@ /obj/effect/turf_decal/delivery/white, /turf/simulated/floor/plating/airless, /area/ruin/unpowered/althland_excavation) +"oh" = ( +/turf/simulated/mineral/volcanic/lava_land_surface, +/area/lavaland/surface/outdoors) "or" = ( /obj/structure/railing/corner{ dir = 8 @@ -1271,6 +1274,9 @@ nitrogen = 0 }, /area/lavaland/surface/outdoors) +"Mm" = ( +/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface, +/area/lavaland/surface/outdoors) "MT" = ( /obj/structure/grille/broken, /obj/effect/decal/cleanable/glass, @@ -1564,6 +1570,19 @@ /area/ruin/unpowered/althland_excavation) (1,1,1) = {" +oh +oh +oh +oh +oh +oh +oh +oh +oh +Mm +Mm +Mm +Mm Ei Ei Ei @@ -1575,6 +1594,25 @@ Ei Ei Ei Ei +Mm +Mm +oh +oh +oh +oh +"} +(2,1,1) = {" +oh +oh +oh +oh +Mm +Mm +Mm +Mm +Mm +Mm +Mm TN TN TN @@ -1591,17 +1629,17 @@ Ei Ei Ei Ei -Ei -Ei -Ei +oh +oh +oh "} -(2,1,1) = {" -Ei -Ei -Ei -Ei -Ei -Ei +(3,1,1) = {" +oh +oh +Mm +Mm +Mm +Mm TN TN TN @@ -1624,14 +1662,14 @@ Ei Ei Ei Ei -Ei -Ei +oh +oh "} -(3,1,1) = {" -Ei -Ei -Ei -Ei +(4,1,1) = {" +oh +Mm +Mm +Mm TN TN TN @@ -1656,13 +1694,13 @@ TN TN Ei Ei -Ei -Ei +Mm +Mm "} -(4,1,1) = {" -Ei -Ei -Ei +(5,1,1) = {" +oh +Mm +Mm TN sp aU @@ -1689,11 +1727,11 @@ TN TN Ei Ei -Ei +Mm "} -(5,1,1) = {" -Ei -Ei +(6,1,1) = {" +Mm +Mm TN TN Ri @@ -1723,9 +1761,9 @@ bm Ei Ei "} -(6,1,1) = {" -Ei -Ei +(7,1,1) = {" +Mm +Mm TN PL BZ @@ -1755,8 +1793,8 @@ bm Ei Ei "} -(7,1,1) = {" -Ei +(8,1,1) = {" +Mm TN TN pE @@ -1787,8 +1825,8 @@ Ei Ei Ei "} -(8,1,1) = {" -Ei +(9,1,1) = {" +Mm TN sp bC @@ -1819,8 +1857,8 @@ aB Ei Ei "} -(9,1,1) = {" -Ei +(10,1,1) = {" +Mm TN TN TN @@ -1851,8 +1889,8 @@ Ei bm Ei "} -(10,1,1) = {" -Ei +(11,1,1) = {" +Mm TN ct Pe @@ -1883,8 +1921,8 @@ Ei bm Ei "} -(11,1,1) = {" -Ei +(12,1,1) = {" +Mm TN pC yb @@ -1915,7 +1953,7 @@ Ei TN Ei "} -(12,1,1) = {" +(13,1,1) = {" Ei TN TN @@ -1945,9 +1983,9 @@ Ei Ei Ei TN -Ei +Mm "} -(13,1,1) = {" +(14,1,1) = {" Ei TN aU @@ -1977,9 +2015,9 @@ XS Ei Ei TN -Ei +Mm "} -(14,1,1) = {" +(15,1,1) = {" Ei TN Yz @@ -2009,9 +2047,9 @@ Ei Ei Ei TN -Ei +Mm "} -(15,1,1) = {" +(16,1,1) = {" Ei TN TN @@ -2041,9 +2079,9 @@ Ei BW aB TN -Ei +Mm "} -(16,1,1) = {" +(17,1,1) = {" Ei TN Ei @@ -2073,9 +2111,9 @@ mK uG BW TN -Ei +Mm "} -(17,1,1) = {" +(18,1,1) = {" Ei bm Ei @@ -2105,9 +2143,9 @@ BW LK PM TN -Ei +Mm "} -(18,1,1) = {" +(19,1,1) = {" Ei bm Ei @@ -2137,9 +2175,9 @@ aB BW KU TN -Ei +Mm "} -(19,1,1) = {" +(20,1,1) = {" Ei TN Ei @@ -2169,9 +2207,9 @@ aB aB uG TN -Ei +Mm "} -(20,1,1) = {" +(21,1,1) = {" Ei TN TN @@ -2201,9 +2239,9 @@ aB aB aB TN -Ei +Mm "} -(21,1,1) = {" +(22,1,1) = {" Ei TN ao @@ -2233,9 +2271,9 @@ BW TJ BW TN -Ei +Mm "} -(22,1,1) = {" +(23,1,1) = {" Ei TN at @@ -2265,9 +2303,9 @@ mh mK uG TN -Ei +Mm "} -(23,1,1) = {" +(24,1,1) = {" Ei TN aG @@ -2297,10 +2335,10 @@ mh mh Gc TN -Ei +Mm "} -(24,1,1) = {" -Ei +(25,1,1) = {" +Mm TN TN bU @@ -2329,11 +2367,11 @@ gg bN TN TN -Ei +Mm "} -(25,1,1) = {" -Ei -Ei +(26,1,1) = {" +Mm +Mm TN az DS @@ -2360,12 +2398,12 @@ jL Nv jS TN -Ei -Ei +Mm +Mm "} -(26,1,1) = {" -Ei -Ei +(27,1,1) = {" +oh +Mm TN TN ap @@ -2392,13 +2430,13 @@ bL YE TN TN -Ei -Ei +Mm +Mm "} -(27,1,1) = {" -Ei -Ei -Ei +(28,1,1) = {" +oh +Mm +Mm TN TN iA @@ -2423,15 +2461,15 @@ kh aE TN TN -Ei -Ei -Ei +Mm +Mm +oh "} -(28,1,1) = {" -Ei -Ei -Ei -Ei +(29,1,1) = {" +oh +Mm +Mm +Mm TN TN TN @@ -2454,18 +2492,18 @@ TN TN TN TN -Ei -Ei -Ei -Ei +Mm +Mm +oh +oh "} -(29,1,1) = {" -Ei -Ei -Ei -Ei -Ei -Ei +(30,1,1) = {" +oh +oh +Mm +Mm +Mm +Mm TN TN TN @@ -2484,25 +2522,25 @@ TN TN TN TN -Ei -Ei -Ei -Ei -Ei -Ei +Mm +Mm +Mm +oh +oh +oh "} -(30,1,1) = {" -Ei -Ei -Ei -Ei -Ei -Ei -Ei -Ei -Ei -Ei -Ei +(31,1,1) = {" +oh +oh +oh +Mm +Mm +Mm +Mm +Mm +Mm +Mm +Mm TN TN TN @@ -2512,14 +2550,14 @@ TN TN TN TN -Ei -Ei -Ei -Ei -Ei -Ei -Ei -Ei -Ei -Ei +Mm +Mm +Mm +Mm +Mm +oh +oh +oh +oh +oh "} diff --git a/_maps/map_files/RandomRuins/SpaceRuins/meatpackers.dmm b/_maps/map_files/RandomRuins/SpaceRuins/meatpackers.dmm index 6a22394fcae0..067579f3be83 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/meatpackers.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/meatpackers.dmm @@ -1277,10 +1277,6 @@ icon_state = "0-2" }, /obj/structure/cable, -/obj/structure/cable{ - d2 = 2; - icon_state = "0-2" - }, /turf/simulated/floor/plating, /area/ruin/unpowered/BMPship/Aft) "eg" = ( @@ -1602,7 +1598,6 @@ outputting = 0 }, /obj/structure/cable, -/obj/structure/cable, /turf/simulated/floor/plating, /area/ruin/unpowered/BMPship/Aft) "fb" = ( diff --git a/_maps/map_files/RandomRuins/SpaceRuins/oldstation.dmm b/_maps/map_files/RandomRuins/SpaceRuins/oldstation.dmm index b491af4be5c1..6ba4f2256a0f 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/oldstation.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/oldstation.dmm @@ -1330,6 +1330,7 @@ }, /obj/effect/decal/cleanable/dirt, /obj/effect/decal/cleanable/dirt, +/obj/item/storage/bag/plants/seed_sorting_tray, /turf/simulated/floor/plasteel, /area/ruin/ancientstation/hydroponics) "dT" = ( @@ -4192,6 +4193,7 @@ /obj/item/reagent_containers/spray/weedspray, /obj/item/reagent_containers/spray/pestspray, /obj/item/reagent_containers/spray/cleaner, +/obj/item/reagent_containers/glass/bottle/nutrient/mut, /turf/simulated/floor/plating, /area/ruin/ancientstation) "kh" = ( diff --git a/_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm b/_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm index 89dd8083a442..9cca10a32392 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm @@ -1136,20 +1136,6 @@ /obj/item/storage/firstaid, /turf/simulated/floor/plasteel, /area/ruin/space/onehalf/abandonedbridge) -"df" = ( -/obj/structure/lattice, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/turf/template_noop, -/area/space/nearstation) "dg" = ( /obj/structure/girder/reinforced, /obj/item/stack/sheet/plasteel, @@ -1190,26 +1176,6 @@ /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, /area/ruin/space/onehalf/abandonedbridge) -"dm" = ( -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8"; - tag = "" - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8"; - tag = "" - }, -/obj/machinery/door/poddoor/preopen{ - id_tag = "onehalf bridge"; - name = "bridge blast door" - }, -/obj/effect/spawner/window/reinforced/grilled, -/turf/simulated/floor/plating, -/area/ruin/space/onehalf/abandonedbridge) "dn" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/cable{ @@ -1796,7 +1762,7 @@ Ab cr cW ch -dm +dl ac aa "} @@ -1905,7 +1871,7 @@ ai ai ai cZ -df +ai ai af aa diff --git a/_maps/map_files/RandomRuins/SpaceRuins/ussp.dmm b/_maps/map_files/RandomRuins/SpaceRuins/ussp.dmm index c0a150801e61..f6febf659647 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/ussp.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/ussp.dmm @@ -3010,20 +3010,6 @@ }, /turf/simulated/floor/plasteel/grimy, /area/ruin/space/derelict/crew_quarters) -"hp" = ( -/obj/machinery/power/solar, -/obj/structure/cable{ - d2 = 4; - icon_state = "0-4" - }, -/obj/structure/cable{ - d2 = 4; - icon_state = "0-4" - }, -/turf/simulated/floor/plasteel/airless{ - icon_state = "solarpanel" - }, -/area/ruin/space/derelict/solar_control) "hq" = ( /obj/item/stack/ore/uranium, /turf/template_noop, @@ -7502,7 +7488,6 @@ "sp" = ( /obj/machinery/power/solar/fake, /obj/structure/cable, -/obj/structure/cable, /turf/simulated/floor/plasteel/airless{ icon_state = "solarpanel" }, @@ -7537,7 +7522,6 @@ /turf/template_noop, /area/ruin/space/derelict/solar_control) "st" = ( -/obj/structure/cable, /obj/machinery/power/tracker, /obj/structure/cable, /turf/simulated/floor/plasteel/airless{ @@ -7575,6 +7559,13 @@ }, /turf/simulated/wall/mineral/titanium/nodecon/nodiagonal, /area/ruin/space/derelict/arrival) +"NK" = ( +/obj/structure/cable{ + d2 = 8; + icon_state = "0-8" + }, +/turf/template_noop, +/area/template_noop) "Oh" = ( /obj/effect/spawner/airlock/w_to_e{ req_access_txt = 0 @@ -14166,7 +14157,7 @@ ac ac ac ac -ac +NK ac ac ac @@ -14356,18 +14347,18 @@ ac ac ac ac -hp -hp -hp -hp -hp +hs +hs +hs +hs +hs ac jO ac jO ag hs -hp +hs hs hs hs diff --git a/_maps/map_files/generic/Lavaland.dmm b/_maps/map_files/generic/Lavaland.dmm index 9769e9b96be6..03e670f9f511 100644 --- a/_maps/map_files/generic/Lavaland.dmm +++ b/_maps/map_files/generic/Lavaland.dmm @@ -788,11 +788,6 @@ }, /area/mine/laborcamp/security) "cz" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /obj/structure/cable{ d1 = 1; d2 = 2; diff --git a/_maps/map_files/stations/boxstation.dmm b/_maps/map_files/stations/boxstation.dmm index ee9f6ef44eb3..57c028ebbfc1 100644 --- a/_maps/map_files/stations/boxstation.dmm +++ b/_maps/map_files/stations/boxstation.dmm @@ -17393,6 +17393,7 @@ name = "south bump"; pixel_y = -24 }, +/obj/item/storage/bag/plants/seed_sorting_tray, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "green" @@ -17627,6 +17628,7 @@ /obj/machinery/light{ dir = 4 }, +/obj/item/reagent_containers/glass/bottle/nutrient/mut, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "green" @@ -83589,6 +83591,7 @@ /obj/item/shovel/spade, /obj/item/shovel/spade, /obj/item/plant_analyzer, +/obj/item/storage/bag/plants/seed_sorting_tray, /turf/simulated/floor/grass, /area/station/security/permabrig) "sGj" = ( diff --git a/_maps/map_files/stations/cerestation.dmm b/_maps/map_files/stations/cerestation.dmm index 9350ae3cd1f3..2a03e9c68b61 100644 --- a/_maps/map_files/stations/cerestation.dmm +++ b/_maps/map_files/stations/cerestation.dmm @@ -7908,6 +7908,7 @@ /obj/item/reagent_containers/glass/bottle/nutrient/ez, /obj/item/reagent_containers/spray/pestspray, /obj/item/reagent_containers/spray/plantbgone, +/obj/item/reagent_containers/glass/bottle/nutrient/mut, /turf/simulated/floor/grass/jungle, /area/station/hallway/secondary/garden) "aYc" = ( @@ -7917,6 +7918,7 @@ /obj/item/reagent_containers/glass/bucket, /obj/item/storage/bag/plants/portaseeder, /obj/item/reagent_containers/glass/bucket, +/obj/item/storage/bag/plants/seed_sorting_tray, /turf/simulated/floor/grass/jungle, /area/station/hallway/secondary/garden) "aYd" = ( @@ -43324,6 +43326,7 @@ /obj/item/plant_analyzer, /obj/item/cultivator, /obj/item/reagent_containers/spray/plantbgone, +/obj/item/storage/bag/plants/seed_sorting_tray, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "green" diff --git a/_maps/map_files/stations/deltastation.dmm b/_maps/map_files/stations/deltastation.dmm index 271ea9bf8c8b..548b6ba2425d 100644 --- a/_maps/map_files/stations/deltastation.dmm +++ b/_maps/map_files/stations/deltastation.dmm @@ -9366,6 +9366,7 @@ /obj/structure/cable, /obj/effect/decal/cleanable/dirt, /obj/effect/turf_decal/delivery/hollow, +/obj/item/reagent_containers/glass/bottle/nutrient/mut, /turf/simulated/floor/plasteel, /area/station/maintenance/abandoned_garden) "aHr" = ( @@ -9676,6 +9677,7 @@ "aIl" = ( /obj/item/reagent_containers/glass/bottle/nutrient/ez, /obj/item/reagent_containers/glass/bottle/nutrient/ez, +/obj/item/storage/bag/plants/seed_sorting_tray, /turf/simulated/floor/plasteel{ icon_state = "red" }, @@ -61698,13 +61700,21 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/aft/south) "dHO" = ( +/obj/effect/spawner/window/reinforced/grilled, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, /obj/structure/cable{ d1 = 1; - d2 = 2; - icon_state = "1-2" + d2 = 8; + icon_state = "1-8" + }, +/obj/structure/cable{ + d2 = 8; + icon_state = "0-8" }, -/obj/structure/cable, -/obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, /area/station/hallway/secondary/exit) "dHQ" = ( @@ -63938,16 +63948,6 @@ /obj/item/crowbar/red, /turf/simulated/floor/plasteel/dark, /area/station/maintenance/apmaint) -"dSB" = ( -/obj/machinery/atmospherics/unary/portables_connector{ - dir = 8 - }, -/obj/machinery/atmospherics/portable/canister/air, -/obj/effect/turf_decal/stripes/line{ - dir = 10 - }, -/turf/simulated/floor/plasteel, -/area/station/hallway/secondary/exit) "dSD" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -66421,6 +66421,16 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/wall, /area/station/legal/lawoffice) +"evE" = ( +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/structure/cable, +/obj/effect/spawner/window/reinforced/grilled, +/turf/simulated/floor/plating, +/area/station/hallway/secondary/exit) "evX" = ( /obj/structure/cable, /obj/effect/spawner/window/reinforced/grilled, @@ -66555,6 +66565,22 @@ icon_state = "yellowcorner" }, /area/station/hallway/primary/port/east) +"ezr" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/turf/simulated/floor/plasteel/white, +/area/station/medical/virology) "ezR" = ( /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel{ @@ -71015,6 +71041,16 @@ }, /turf/simulated/floor/plating, /area/station/command/office/rd) +"hli" = ( +/obj/machinery/atmospherics/unary/portables_connector{ + dir = 8 + }, +/obj/machinery/atmospherics/portable/canister/air, +/obj/effect/turf_decal/stripes/line{ + dir = 10 + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/secondary/exit) "hly" = ( /obj/structure/table/wood, /turf/simulated/floor/plasteel/dark, @@ -73732,6 +73768,10 @@ icon_state = "bar" }, /area/station/service/kitchen) +"iVe" = ( +/obj/effect/spawner/airlock, +/turf/simulated/wall, +/area/station/service/chapel/office) "iVg" = ( /obj/machinery/economy/atm/directional/west, /turf/simulated/floor/plasteel{ @@ -75552,15 +75592,6 @@ icon_state = "whiteblue" }, /area/station/medical/storage) -"kdg" = ( -/obj/structure/sign/vacuum{ - pixel_x = -32 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/plasteel, -/area/station/hallway/secondary/exit) "kdm" = ( /obj/machinery/power/apc/critical/directional/north, /obj/machinery/firealarm{ @@ -75661,6 +75692,15 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/medical/morgue) +"kfC" = ( +/obj/structure/sign/vacuum{ + pixel_x = -32 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/secondary/exit) "kfT" = ( /obj/structure/cable{ d2 = 4; @@ -82346,22 +82386,6 @@ icon_state = "red" }, /area/station/security/permabrig) -"ogR" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/turf/simulated/floor/plasteel/white, -/area/station/medical/virology) "ogX" = ( /obj/machinery/camera{ c_tag = "Experimentation Lab Office"; @@ -91308,6 +91332,21 @@ }, /turf/simulated/floor/plasteel, /area/station/science/research) +"tjT" = ( +/obj/item/radio/intercom{ + name = "west bump"; + pixel_x = -28 + }, +/obj/machinery/newscaster{ + dir = 1; + name = "south bump"; + pixel_y = -28 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 10 + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/secondary/exit) "tkb" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 6 @@ -91840,24 +91879,6 @@ icon_state = "yellowcorner" }, /area/station/hallway/primary/port/west) -"tEp" = ( -/obj/effect/spawner/window/reinforced/grilled, -/obj/structure/cable{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/obj/structure/cable{ - d2 = 8; - icon_state = "0-8" - }, -/turf/simulated/floor/plating, -/area/station/hallway/secondary/exit) "tEw" = ( /obj/structure/showcase{ density = 0; @@ -92355,21 +92376,6 @@ /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, /area/station/security/prison/cell_block) -"tSp" = ( -/obj/item/radio/intercom{ - name = "west bump"; - pixel_x = -28 - }, -/obj/machinery/newscaster{ - dir = 1; - name = "south bump"; - pixel_y = -28 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 10 - }, -/turf/simulated/floor/plasteel, -/area/station/hallway/secondary/exit) "tSt" = ( /obj/structure/table, /obj/item/reagent_containers/drinks/drinkingglass{ @@ -93009,10 +93015,6 @@ icon_state = "darkred" }, /area/station/security/processing) -"uil" = ( -/obj/effect/spawner/airlock, -/turf/simulated/wall, -/area/station/service/chapel/office) "uit" = ( /obj/machinery/atmospherics/unary/vent_pump{ dir = 4; @@ -136691,7 +136693,7 @@ dIx dIx dIx dIx -uil +iVe abj aaa aaa @@ -137202,7 +137204,7 @@ dPM dkq dSs dSP -dSB +hli dIH dIH dIH @@ -137460,8 +137462,8 @@ dNa dXJ dKo dUj -kdg -tSp +kfC +tjT dIH abj aaa @@ -140531,9 +140533,9 @@ pIY kuJ kpd kpd -tEp -dHO dHO +evE +evE tJT dKQ jpk @@ -149016,7 +149018,7 @@ dGw dGw hGZ qgr -ogR +ezr wWW qfH sRk diff --git a/_maps/map_files/stations/metastation.dmm b/_maps/map_files/stations/metastation.dmm index 05463f4ee2d4..1d78a0d6871b 100644 --- a/_maps/map_files/stations/metastation.dmm +++ b/_maps/map_files/stations/metastation.dmm @@ -22737,6 +22737,7 @@ }, /obj/item/reagent_containers/glass/bottle/nutrient/ez, /obj/item/reagent_containers/spray/plantbgone, +/obj/item/reagent_containers/glass/bottle/nutrient/mut, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/garden) "bBN" = ( @@ -23451,17 +23452,6 @@ icon_state = "neutral" }, /area/station/hallway/secondary/garden) -"bDJ" = ( -/obj/structure/table, -/obj/item/hatchet, -/obj/item/crowbar, -/obj/item/plant_analyzer, -/obj/item/reagent_containers/glass/bucket, -/obj/item/cultivator, -/obj/item/paper/hydroponics, -/obj/machinery/alarm/directional/east, -/turf/simulated/floor/plasteel, -/area/station/hallway/secondary/garden) "bDL" = ( /obj/structure/cable{ d1 = 1; @@ -35222,15 +35212,6 @@ "cvo" = ( /turf/simulated/wall/r_wall, /area/station/maintenance/medmaint) -"cvu" = ( -/obj/machinery/alarm/directional/north, -/obj/structure/window/reinforced{ - dir = 4 - }, -/obj/structure/flora/ausbushes/fernybush, -/obj/structure/flora/ausbushes/ppflowers, -/turf/simulated/floor/grass/no_creep, -/area/station/science/research) "cvw" = ( /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -38062,16 +38043,11 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/exit) "cGz" = ( -/obj/structure/extinguisher_cabinet{ - name = "west bump"; - pixel_x = -27 - }, -/obj/structure/window/reinforced{ - dir = 4 +/obj/machinery/economy/vending/scidrobe, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "whitepurplecorner" }, -/obj/structure/flora/ausbushes/fernybush, -/obj/structure/flora/ausbushes/ppflowers, -/turf/simulated/floor/grass/no_creep, /area/station/science/research) "cGA" = ( /obj/structure/chair/comfy/black{ @@ -45501,6 +45477,7 @@ name = "processing tint control"; pixel_x = -6; pixel_y = 24; + range = 4; req_access_txt = "63" }, /obj/machinery/light_switch{ @@ -47558,25 +47535,6 @@ }, /turf/simulated/floor/engine, /area/station/science/test_chamber) -"eIe" = ( -/obj/machinery/firealarm{ - dir = 4; - name = "east bump"; - pixel_x = 24 - }, -/obj/structure/disposalpipe/segment, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "whitepurple" - }, -/area/station/science/research) "eIj" = ( /obj/structure/table/wood, /obj/item/folder/blue, @@ -55721,6 +55679,18 @@ }, /turf/simulated/floor/plating, /area/station/security/brig) +"hUK" = ( +/obj/structure/table, +/obj/item/hatchet, +/obj/item/crowbar, +/obj/item/plant_analyzer, +/obj/item/reagent_containers/glass/bucket, +/obj/item/cultivator, +/obj/item/paper/hydroponics, +/obj/item/storage/bag/plants/seed_sorting_tray, +/obj/machinery/alarm/directional/east, +/turf/simulated/floor/plasteel, +/area/station/hallway/secondary/garden) "hVa" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel, @@ -65264,23 +65234,6 @@ icon_state = "dark" }, /area/station/security/storage) -"lTc" = ( -/obj/machinery/light{ - dir = 4 - }, -/obj/structure/disposalpipe/segment, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "whitepurple" - }, -/area/station/science/research) "lTB" = ( /obj/item/clothing/gloves/color/latex, /obj/structure/rack, @@ -66569,6 +66522,17 @@ /obj/machinery/atmospherics/pipe/simple/hidden/purple, /turf/simulated/floor/engine, /area/station/science/test_chamber) +"myX" = ( +/obj/machinery/light{ + dir = 4 + }, +/obj/structure/window/reinforced{ + dir = 8 + }, +/obj/structure/flora/ausbushes/ppflowers, +/obj/structure/flora/ausbushes/fullgrass, +/turf/simulated/floor/grass/no_creep, +/area/station/science/research) "myY" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/supply, /turf/simulated/floor/plasteel, @@ -73158,6 +73122,31 @@ /obj/effect/spawner/random_spawners/oil_maybe, /turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) +"pmd" = ( +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/newscaster{ + dir = 1; + name = "south bump"; + pixel_y = -28 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "whitepurple" + }, +/area/station/science/research) "pmE" = ( /obj/machinery/atmospherics/pipe/simple/visible/yellow{ dir = 4 @@ -73855,7 +73844,7 @@ "pCf" = ( /obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel{ - dir = 4; + dir = 5; icon_state = "whitepurple" }, /area/station/science/research) @@ -77202,14 +77191,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/north) -"qXr" = ( -/obj/structure/window/reinforced{ - dir = 4 - }, -/obj/structure/flora/ausbushes/fernybush, -/obj/structure/flora/ausbushes/ppflowers, -/turf/simulated/floor/grass/no_creep, -/area/station/science/research) "qXK" = ( /obj/machinery/atmospherics/pipe/simple/visible/yellow, /turf/simulated/floor/plasteel{ @@ -82271,8 +82252,10 @@ }, /area/station/supply/office) "taP" = ( -/obj/machinery/status_display{ - pixel_x = -32 +/obj/machinery/firealarm{ + dir = 8; + name = "west bump"; + pixel_x = -24 }, /turf/simulated/floor/plasteel{ dir = 4; @@ -82916,10 +82899,10 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "tnN" = ( -/obj/item/kirbyplants/plant24, /obj/machinery/camera{ c_tag = "Science Hallway - Research"; - network = list("Research","SS13") + network = list("Research","SS13"); + dir = 9 }, /obj/structure/disposalpipe/segment{ dir = 2; @@ -82936,6 +82919,10 @@ d2 = 8; icon_state = "2-8" }, +/obj/structure/extinguisher_cabinet{ + name = "north bump"; + pixel_y = 30 + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "whitepurplecorner" @@ -85368,6 +85355,16 @@ icon_state = "dark" }, /area/station/medical/surgery/observation) +"uxo" = ( +/obj/machinery/status_display{ + layer = 4; + pixel_y = 32 + }, +/obj/item/kirbyplants/plant24, +/turf/simulated/floor/plasteel{ + icon_state = "whitepurplecorner" + }, +/area/station/science/research) "uxy" = ( /obj/machinery/atmospherics/binary/pump{ dir = 0; @@ -85659,6 +85656,7 @@ name = "north bump"; pixel_y = 24 }, +/obj/item/storage/bag/plants/seed_sorting_tray, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "green" @@ -88949,11 +88947,6 @@ /turf/simulated/floor/grass/no_creep, /area/station/security/permabrig) "waj" = ( -/obj/machinery/newscaster{ - dir = 8; - name = "east bump"; - pixel_x = 28 - }, /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 4 @@ -89524,7 +89517,7 @@ icon_state = "1-4" }, /turf/simulated/floor/plasteel{ - icon_state = "whitepurplecorner" + icon_state = "whitepurple" }, /area/station/science/research) "woK" = ( @@ -89994,6 +89987,17 @@ icon_state = "white" }, /area/station/science/xenobiology) +"wzb" = ( +/obj/structure/window/reinforced{ + dir = 1 + }, +/obj/structure/window/reinforced{ + dir = 8 + }, +/obj/structure/flora/ausbushes/fernybush, +/obj/structure/flora/ausbushes/ppflowers, +/turf/simulated/floor/grass/no_creep, +/area/station/science/research) "wzx" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 5 @@ -90752,9 +90756,6 @@ /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "wTJ" = ( -/obj/machinery/light{ - dir = 1 - }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, @@ -90766,6 +90767,9 @@ d2 = 8; icon_state = "4-8" }, +/obj/machinery/light{ + dir = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "whitepurple" }, @@ -93440,6 +93444,14 @@ icon_state = "yellow" }, /area/station/engineering/break_room) +"xYS" = ( +/obj/structure/window/reinforced{ + dir = 8 + }, +/obj/structure/flora/ausbushes/fernybush, +/obj/structure/flora/ausbushes/ppflowers, +/turf/simulated/floor/grass/no_creep, +/area/station/science/research) "xZa" = ( /obj/structure/plasticflaps{ opacity = 1 @@ -111884,7 +111896,7 @@ cdT cdT cdT cdT -bDJ +hUK bBK iWb uiO @@ -123734,8 +123746,8 @@ cic fHG fpM cfw -cvu -qXr +uxo +qnt cGz cJp qcw @@ -123992,7 +124004,7 @@ bUy fPC uVF wos -qnt +cwR pCf taP pnh @@ -124508,8 +124520,8 @@ cvl wTJ cwR wIT -eIe -lTc +cOZ +cOZ waj des fWN @@ -124765,9 +124777,9 @@ bWe mfG cwR cxP -lAX -lAX -lAX +wzb +myX +xYS lAX cfw gTS @@ -125021,10 +125033,10 @@ cut soO nry cwR -cxP -eZW -lJA -rfD +pmd +lAX +lAX +lAX lAX uws bGl @@ -125280,8 +125292,8 @@ tnN lGC gcy eZW -keQ -keQ +lJA +rfD lAX gEt bGl diff --git a/_maps/map_files220/generic/centcomm.dmm b/_maps/map_files220/generic/centcomm.dmm index 2f1c97b030e7..53e627e5e73a 100644 --- a/_maps/map_files220/generic/centcomm.dmm +++ b/_maps/map_files220/generic/centcomm.dmm @@ -30095,7 +30095,7 @@ /turf/simulated/floor/carpet/black, /area/centcom/ss220/general) "uRC" = ( -/obj/machinery/chem_dispenser/botanical/upgraded, +/obj/machinery/chem_dispenser/upgraded, /turf/simulated/floor/wood/fancy/oak, /area/centcom/ss220/evac) "uRG" = ( diff --git a/_maps/map_files220/stations/boxstation.dmm b/_maps/map_files220/stations/boxstation.dmm index 31adba32f197..979a34eca967 100644 --- a/_maps/map_files220/stations/boxstation.dmm +++ b/_maps/map_files220/stations/boxstation.dmm @@ -14847,6 +14847,9 @@ /obj/item/plant_analyzer, /obj/item/radio/intercom/directional/east, /obj/machinery/light_switch/south, +/obj/item/storage/bag/plants/seed_sorting_tray{ + pixel_y = 20 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "green" @@ -15042,6 +15045,10 @@ pixel_x = -4 }, /obj/machinery/light/directional/east, +/obj/item/reagent_containers/glass/bottle/nutrient/mut{ + pixel_x = 1; + pixel_y = 6 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "green" @@ -71680,7 +71687,7 @@ /area/station/medical/chemistry) "nnj" = ( /obj/effect/turf_decal/delivery/green, -/obj/machinery/chem_dispenser/botanical, +/obj/machinery/chem_dispenser, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -86588,6 +86595,7 @@ /obj/item/shovel/spade, /obj/item/shovel/spade, /obj/item/plant_analyzer, +/obj/item/storage/bag/plants/seed_sorting_tray, /turf/simulated/floor/grass, /area/station/security/permabrig) "sFQ" = ( diff --git a/_maps/map_files220/stations/deltastation.dmm b/_maps/map_files220/stations/deltastation.dmm index f5e69e94ec4a..b2d45d24c6c4 100644 --- a/_maps/map_files220/stations/deltastation.dmm +++ b/_maps/map_files220/stations/deltastation.dmm @@ -23725,11 +23725,6 @@ pixel_y = -25; name = "custom placement" }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 9 }, @@ -54828,11 +54823,6 @@ /obj/effect/mapping_helpers/airlock/welded, /obj/machinery/door/airlock/psych, /obj/effect/mapping_helpers/airlock/autoname, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, /obj/effect/mapping_helpers/airlock/access/any/medical/psychology, /turf/simulated/floor/wood/oak, /area/station/medical/patients_rooms) @@ -60706,11 +60696,6 @@ icon_state = "0-2" }, /obj/structure/disposalpipe/segment, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /turf/simulated/floor/plating, /area/station/security/permabrig) "hWP" = ( @@ -61985,11 +61970,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, /obj/machinery/door/firedoor, -/obj/structure/cable{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, /obj/structure/disposalpipe/segment, /obj/structure/cable{ d1 = 1; @@ -80334,11 +80314,6 @@ }, /area/station/science/genetics) "obO" = ( -/obj/structure/cable{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, /obj/machinery/atmospherics/pipe/manifold/hidden{ dir = 1 }, @@ -86456,7 +86431,7 @@ /area/station/hallway/secondary/exit) "pYO" = ( /obj/effect/turf_decal/delivery, -/obj/machinery/chem_dispenser/botanical, +/obj/machinery/chem_dispenser, /obj/machinery/requests_console{ department = "Hydroponics"; departmentType = 2; @@ -96139,11 +96114,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/door/firedoor, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /obj/machinery/door/airlock/bathroom{ id = "toilet2"; id_tag = "toilet2" @@ -98093,10 +98063,23 @@ "tGh" = ( /obj/effect/turf_decal/delivery/hollow, /obj/structure/table, -/obj/item/reagent_containers/spray/plantbgone, -/obj/item/reagent_containers/spray/plantbgone, -/obj/item/reagent_containers/spray/plantbgone, /obj/machinery/firealarm/directional/east, +/obj/item/reagent_containers/glass/bottle/nutrient/mut{ + pixel_x = -4; + pixel_y = 2 + }, +/obj/item/reagent_containers/spray/plantbgone{ + pixel_y = 10; + pixel_x = 6 + }, +/obj/item/reagent_containers/spray/plantbgone{ + pixel_x = 6; + pixel_y = 4 + }, +/obj/item/reagent_containers/spray/plantbgone{ + pixel_x = 6; + pixel_y = -2 + }, /turf/simulated/floor/plasteel/dark, /area/station/service/hydroponics) "tGN" = ( @@ -102910,6 +102893,7 @@ d2 = 8; icon_state = "1-8" }, +/obj/item/storage/bag/plants/seed_sorting_tray, /turf/simulated/floor/plasteel, /area/station/security/permabrig) "vhM" = ( @@ -106599,11 +106583,6 @@ icon_state = "1-2" }, /obj/structure/disposalpipe/segment, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /obj/effect/mapping_helpers/airlock/access/any/security/general, /turf/simulated/floor/plasteel, /area/station/maintenance/dormitory_maintenance) diff --git a/_maps/map_files220/stations/metastation.dmm b/_maps/map_files220/stations/metastation.dmm index 449ea4aaefdf..20bc7dbd29e1 100644 --- a/_maps/map_files220/stations/metastation.dmm +++ b/_maps/map_files220/stations/metastation.dmm @@ -7204,11 +7204,6 @@ /turf/simulated/floor/plasteel, /area/station/supply/miningdock) "aKg" = ( -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /obj/machinery/door/firedoor, /obj/machinery/door/airlock/public/glass, /obj/effect/mapping_helpers/airlock/autoname, @@ -18872,11 +18867,6 @@ /area/station/security/permabrig) "bsb" = ( /obj/item/folder/white, -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /obj/machinery/light/directional/west, /obj/structure/cable/yellow{ d1 = 1; @@ -22208,6 +22198,11 @@ }, /obj/item/reagent_containers/glass/bottle/nutrient/ez, /obj/item/reagent_containers/spray/plantbgone, +/obj/item/storage/bag/plants/seed_sorting_tray, +/obj/item/reagent_containers/glass/bottle/nutrient/mut{ + pixel_x = -4; + pixel_y = 2 + }, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/garden) "bBN" = ( @@ -29911,7 +29906,7 @@ "cbP" = ( /obj/effect/turf_decal/delivery/hollow, /obj/effect/decal/cleanable/dirt, -/obj/machinery/chem_dispenser/botanical, +/obj/machinery/chem_dispenser, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "greenblue" @@ -45543,13 +45538,14 @@ /obj/machinery/camera{ c_tag = "Brig Prisoner Processing" }, +/obj/machinery/light_switch/north{ + pixel_x = 6 + }, /obj/machinery/button/windowtint/north{ id = "Processing"; pixel_x = -6; - req_access_txt = "63" - }, -/obj/machinery/light_switch/north{ - pixel_x = 6 + req_access_txt = "63"; + range = 4 }, /turf/simulated/floor/plasteel{ dir = 1; @@ -48018,11 +48014,6 @@ /obj/effect/turf_decal/delivery, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /obj/structure/cable/yellow{ d1 = 1; d2 = 2; @@ -67193,11 +67184,6 @@ /turf/simulated/floor/plating, /area/station/maintenance/xenobio_south) "nDu" = ( -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /obj/machinery/firealarm/directional/west, /obj/structure/cable/yellow{ d1 = 1; @@ -70826,11 +70812,6 @@ }, /area/station/medical/medbay) "pAO" = ( -/obj/structure/cable/yellow{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/autoname, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ @@ -81356,6 +81337,7 @@ /obj/item/plant_analyzer, /obj/machinery/atmospherics/unary/vent_scrubber/on, /obj/machinery/light_switch/north, +/obj/item/storage/bag/plants/seed_sorting_tray, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "green" @@ -88118,28 +88100,6 @@ /obj/item/radio/intercom/directional/south, /turf/simulated/floor/plasteel, /area/station/security/brig) -"xVd" = ( -/obj/structure/cable/yellow{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/structure/cable/yellow{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard) "xVB" = ( /obj/structure/kitchenspike_frame, /obj/effect/decal/cleanable/blood/old, @@ -128118,7 +128078,7 @@ bhU aGX bam bnr -xVd +boY lDD aoG bSG diff --git a/code/__DEFINES/admin_defines.dm b/code/__DEFINES/admin_defines.dm index 86805b43bc5a..1856a55e010a 100644 --- a/code/__DEFINES/admin_defines.dm +++ b/code/__DEFINES/admin_defines.dm @@ -46,26 +46,26 @@ #define R_HOST ((1<<18)-1) //17 bit bitmask, update me if we ever add more admin permissions. Sum of all permissions to allow easy setting. -#define ADMIN_QUE(user,display) "<a href='?_src_=holder;adminmoreinfo=[user.UID()]'>[display]</a>" -#define ADMIN_FLW(user,display) "<a href='?_src_=holder;adminplayerobservefollow=[user.UID()]'>[display]</a>" -#define ADMIN_PP(user,display) "<a href='?_src_=holder;adminplayeropts=[user.UID()]'>[display]</a>" -#define ADMIN_VV(atom,display) "<a href='?_src_=vars;Vars=[atom.UID()]'>[display]</a>" -#define ADMIN_SM(user,display) "<a href='?_src_=holder;subtlemessage=[user.UID()]'>[display]</a>" -#define ADMIN_TP(user,display) "<a href='?_src_=holder;traitor=[user.UID()]'>[display]</a>" -#define ADMIN_ALERT(user, display) "<a href='?_src_=holder;adminalert=[user.UID()]'>[display]</a>" -#define ADMIN_BSA(user,display) "<a href='?_src_=holder;BlueSpaceArtillery=[user.UID()]'>[display]</a>" -#define ADMIN_CENTCOM_REPLY(user,display) "<a href='?_src_=holder;CentcommReply=[user.UID()]'>[display]</a>" -#define ADMIN_SYNDICATE_REPLY(user,display) "<a href='?_src_=holder;SyndicateReply=[user.UID()]'>[display]</a>" -#define ADMIN_SC(user,display) "<a href='?_src_=holder;adminspawncookie=[user.UID()]'>[display]</a>" +#define ADMIN_QUE(user,display) "<a href='byond://?_src_=holder;adminmoreinfo=[user.UID()]'>[display]</a>" +#define ADMIN_FLW(user,display) "<a href='byond://?_src_=holder;adminplayerobservefollow=[user.UID()]'>[display]</a>" +#define ADMIN_PP(user,display) "<a href='byond://?_src_=holder;adminplayeropts=[user.UID()]'>[display]</a>" +#define ADMIN_VV(atom,display) "<a href='byond://?_src_=vars;Vars=[atom.UID()]'>[display]</a>" +#define ADMIN_SM(user,display) "<a href='byond://?_src_=holder;subtlemessage=[user.UID()]'>[display]</a>" +#define ADMIN_TP(user,display) "<a href='byond://?_src_=holder;traitor=[user.UID()]'>[display]</a>" +#define ADMIN_ALERT(user, display) "<a href='byond://?_src_=holder;adminalert=[user.UID()]'>[display]</a>" +#define ADMIN_BSA(user,display) "<a href='byond://?_src_=holder;BlueSpaceArtillery=[user.UID()]'>[display]</a>" +#define ADMIN_CENTCOM_REPLY(user,display) "<a href='byond://?_src_=holder;CentcommReply=[user.UID()]'>[display]</a>" +#define ADMIN_SYNDICATE_REPLY(user,display) "<a href='byond://?_src_=holder;SyndicateReply=[user.UID()]'>[display]</a>" +#define ADMIN_SC(user,display) "<a href='byond://?_src_=holder;adminspawncookie=[user.UID()]'>[display]</a>" #define ADMIN_LOOKUP(user) "[key_name_admin(user)]([ADMIN_QUE(user,"?")])" #define ADMIN_LOOKUPFLW(user) "[key_name_admin(user)]([ADMIN_QUE(user,"?")]) ([ADMIN_FLW(user,"FLW")])" #define ADMIN_FULLMONTY(user) "[key_name_admin(user)] ([ADMIN_QUE(user,"?")]) ([ADMIN_PP(user,"PP")]) ([ADMIN_VV(user,"VV")]) ([ADMIN_SM(user,"SM")]) ([ADMIN_FLW(user,"FLW")]) ([ADMIN_TP(user,"TP")])" -#define ADMIN_JMP(src) "(<a href='?_src_=holder;adminplayerobservecoodjump=1;X=[src.x];Y=[src.y];Z=[src.z]'>JMP</a>)" +#define ADMIN_JMP(src) "(<a href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[src.x];Y=[src.y];Z=[src.z]'>JMP</a>)" #define COORD(src) "[src ? "([src.x],[src.y],[src.z])" : "nonexistent location"]" #define AREACOORD(src) "[src ? "[get_area_name(src, TRUE)] [COORD(src)]" : "nonexistent location" ]" #define ADMIN_COORDJMP(src) "[src ? "[COORD(src)] [ADMIN_JMP(src)]" : "nonexistent location"]" #define ADMIN_VERBOSEJMP(src) "[src ? "[AREACOORD(src)] [ADMIN_JMP(src)]" : "nonexistent location"]" -#define ADMIN_SHOWDETAILS(mask, content) "<a href='?_src_=holder;showdetails=[html_encode(content)]'>[mask]</a>" +#define ADMIN_SHOWDETAILS(mask, content) "<a href='byond://?_src_=holder;showdetails=[html_encode(content)]'>[mask]</a>" /// Note text for suppressed CID warning #define CIDWARNING_SUPPRESSED_NOTETEXT "CID COUNT WARNING DISABLED - Delete this note to re-enable" diff --git a/code/__DEFINES/dcs/signals.dm b/code/__DEFINES/dcs/signals.dm index 58ac3dc04fa0..05150f925529 100644 --- a/code/__DEFINES/dcs/signals.dm +++ b/code/__DEFINES/dcs/signals.dm @@ -1041,3 +1041,6 @@ ///from of mob/MouseDrop(): (/atom/over, /mob/user) #define COMSIG_DO_MOB_STRIP "do_mob_strip" + +// Sent when a mob spawner is attacked directly or via projectile. +#define COMSIG_SPAWNER_SET_TARGET "spawner_set_target" diff --git a/code/__DEFINES/misc_defines.dm b/code/__DEFINES/misc_defines.dm index d55ff8931d95..47d29be3c7e2 100644 --- a/code/__DEFINES/misc_defines.dm +++ b/code/__DEFINES/misc_defines.dm @@ -52,6 +52,9 @@ #define PRINTER_FONT "Times New Roman" #define SIGNFONT "Times New Roman" +/// Emoji icon set +#define EMOJI_SET 'icons/ui_icons/emoji.dmi' + //some arbitrary defines to be used by self-pruning global lists. (see master_controller) #define PROCESS_KILL 26 //Used to trigger removal from a processing list @@ -185,8 +188,8 @@ #define SHOES_LAYER 28 #define GLOVES_LAYER 27 #define EARS_LAYER 26 -#define SUIT_LAYER 25 -#define BELT_LAYER 24 //Possible make this an overlay of somethign required to wear a belt? +#define BELT_LAYER 25 //Possible make this an overlay of something required to wear a belt? +#define SUIT_LAYER 24 #define SUIT_STORE_LAYER 23 #define BACK_LAYER 22 #define HEAD_ACCESSORY_LAYER 21 diff --git a/code/__HELPERS/lists.dm b/code/__HELPERS/lists.dm index 5dc4df15beac..7a90a0543e5f 100644 --- a/code/__HELPERS/lists.dm +++ b/code/__HELPERS/lists.dm @@ -80,7 +80,7 @@ //Returns a list in plain english as a string /proc/english_list(list/input, nothing_text = "nothing", and_text = " and ", comma_text = ", ", final_comma_text = "" ) - var/total = input.len + var/total = length(input) if(!total) return "[nothing_text]" else if(total == 1) diff --git a/code/__HELPERS/mob_helpers.dm b/code/__HELPERS/mob_helpers.dm index 8054554c4119..654e404f47e9 100644 --- a/code/__HELPERS/mob_helpers.dm +++ b/code/__HELPERS/mob_helpers.dm @@ -310,8 +310,8 @@ var/area/A if(isatom(MT) && !QDELETED(MT)) A = get_area(MT) - else - A = get_area(user) + else + A = get_area(user) if(A && A.hide_attacklogs) loglevel = ATKLOG_ALL else if(istype(MT)) @@ -556,7 +556,7 @@ GLOBAL_LIST_EMPTY(do_after_once_tracker) to_chat(user, "Name = <b>[M.name]</b>; Real_name = [M.real_name]; Mind_name = [M.mind?"[M.mind.name]":""]; Key = <b>[M.key]</b>;") to_chat(user, "Location = [location_description];") to_chat(user, "[special_role_description]") - to_chat(user, "(<a href='?src=[usr.UID()];priv_msg=[M.client?.ckey]'>PM</a>) ([ADMIN_PP(M,"PP")]) ([ADMIN_VV(M,"VV")]) ([ADMIN_TP(M,"TP")]) ([ADMIN_SM(M,"SM")]) ([ADMIN_FLW(M,"FLW")])") + to_chat(user, "(<a href='byond://?src=[usr.UID()];priv_msg=[M.client?.ckey]'>PM</a>) ([ADMIN_PP(M,"PP")]) ([ADMIN_VV(M,"VV")]) ([ADMIN_TP(M,"TP")]) ([ADMIN_SM(M,"SM")]) ([ADMIN_FLW(M,"FLW")])") // Gets the first mob contained in an atom, and warns the user if there's not exactly one /proc/get_mob_in_atom_with_warning(atom/A, mob/user = usr) diff --git a/code/__HELPERS/text.dm b/code/__HELPERS/text.dm index f2d4cc4a0aa0..68320b724522 100644 --- a/code/__HELPERS/text.dm +++ b/code/__HELPERS/text.dm @@ -468,6 +468,8 @@ text = replacetext(text, "\[/i\]", "</I>") text = replacetext(text, "\[u\]", "<U>") text = replacetext(text, "\[/u\]", "</U>") + text = replacetext(text, "\[s\]", "<S>") + text = replacetext(text, "\[/s\]", "</S>") if(findtext(text, "\[signfont\]") || findtext(text, "\[/signfont\]")) // Make sure the text is there before giving off an error if(check_rights(R_EVENT)) text = replacetext(text, "\[signfont\]", "<font face=\"[signfont]\"><i>") diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index 30c72d110a78..49d666e63101 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -1252,7 +1252,7 @@ Standard way to write links -Sayu /proc/topic_link(datum/D, arglist, content) if(islist(arglist)) arglist = list2params(arglist) - return "<a href='?src=[D.UID()];[arglist]'>[content]</a>" + return "<a href='byond://?src=[D.UID()];[arglist]'>[content]</a>" diff --git a/code/_globalvars/lists/misc_lists.dm b/code/_globalvars/lists/misc_lists.dm index b4ac32d640cf..f12c6a8271fc 100644 --- a/code/_globalvars/lists/misc_lists.dm +++ b/code/_globalvars/lists/misc_lists.dm @@ -67,3 +67,6 @@ GLOBAL_LIST_EMPTY(looping_sounds) /// List of possible crits from things tipping over GLOBAL_LIST_EMPTY(tilt_crits) + +/// Stores a list of the cached seed icons. Used in the seed extractor and the gene modder +GLOBAL_LIST_EMPTY(seeds_cached_base64_icons) diff --git a/code/controllers/subsystem/SSdbcore.dm b/code/controllers/subsystem/SSdbcore.dm index 03d147e9aaca..9299f8371065 100644 --- a/code/controllers/subsystem/SSdbcore.dm +++ b/code/controllers/subsystem/SSdbcore.dm @@ -463,7 +463,7 @@ SUBSYSTEM_DEF(dbcore) // Just tells the admins if a query timed out, and asks if the server hung to help error reporting /datum/db_query/proc/slow_query_check() - message_admins("HEY! A database query timed out. Did the server just hang? <a href='?_src_=holder;slowquery=yes'>\[YES\]</a>|<a href='?_src_=holder;slowquery=no'>\[NO\]</a>") + message_admins("HEY! A database query timed out. Did the server just hang? <a href='byond://?_src_=holder;slowquery=yes'>\[YES\]</a>|<a href='byond://?_src_=holder;slowquery=no'>\[NO\]</a>") /** diff --git a/code/controllers/subsystem/SSdebugview.dm b/code/controllers/subsystem/SSdebugview.dm index bfb8a8857c87..4d4547f5dd78 100644 --- a/code/controllers/subsystem/SSdebugview.dm +++ b/code/controllers/subsystem/SSdebugview.dm @@ -87,7 +87,7 @@ SUBSYSTEM_DEF(debugview) if((SS.flags & SS_NO_FIRE) || !SS.can_fire) continue - html += "[SS.state_colour()]\[[SS.state_letter()]][SS.ss_id]</font>\t[round(SS.cost, 1)]ms | [round(SS.tick_usage, 1)]% [SS.get_stat_details() ? "| [SS.get_stat_details()] " : ""]| <a href=?_src_=vars;Vars=[SS.UID()]>VV Edit</a>" + html += "[SS.state_colour()]\[[SS.state_letter()]][SS.ss_id]</font>\t[round(SS.cost, 1)]ms | [round(SS.tick_usage, 1)]% [SS.get_stat_details() ? "| [SS.get_stat_details()] " : ""]| <a href=byond://?_src_=vars;Vars=[SS.UID()]>VV Edit</a>" popup.set_content(html.Join("<br>")) popup.open(FALSE) diff --git a/code/controllers/subsystem/SSevents.dm b/code/controllers/subsystem/SSevents.dm index bd01160067cb..af184bc45c5b 100644 --- a/code/controllers/subsystem/SSevents.dm +++ b/code/controllers/subsystem/SSevents.dm @@ -101,11 +101,11 @@ SUBSYSTEM_DEF(events) to_chat(world, message) /datum/controller/subsystem/events/proc/GetInteractWindow() - var/html = "<A align='right' href='?src=[UID()];refresh=1'>Refresh</A>" + var/html = "<A align='right' href='byond://?src=[UID()];refresh=1'>Refresh</A>" if(selected_event_container) var/event_time = max(0, selected_event_container.next_event_time - world.time) - html += "<A align='right' href='?src=[UID()];back=1'>Back</A><br>" + html += "<A align='right' href='byond://?src=[UID()];back=1'>Back</A><br>" html += "Time till start: [round(event_time / 600, 0.1)]<br>" html += "<div class='block'>" html += "<h2>Available [GLOB.severity_to_string[selected_event_container.severity]] Events (queued & running events will not be displayed)</h2>" @@ -114,13 +114,13 @@ SUBSYSTEM_DEF(events) for(var/datum/event_meta/EM in selected_event_container.available_events) html += "<tr>" html += "<td>[EM.name]</td>" - html += "<td><A align='right' href='?src=[UID()];set_weight=\ref[EM]'>[EM.weight]</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];set_weight=\ref[EM]'>[EM.weight]</A></td>" html += "<td>[EM.min_weight]</td>" html += "<td>[EM.max_weight == INFINITY ? "No max" : EM.max_weight]</td>" - html += "<td><A align='right' href='?src=[UID()];toggle_oneshot=\ref[EM]'>[EM.one_shot]</A></td>" - html += "<td><A align='right' href='?src=[UID()];toggle_enabled=\ref[EM]'>[EM.enabled]</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];toggle_oneshot=\ref[EM]'>[EM.one_shot]</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];toggle_enabled=\ref[EM]'>[EM.enabled]</A></td>" html += "<td><span class='alert'>[EM.get_weight(number_active_with_role())]</span></td>" - html += "<td><A align='right' href='?src=[UID()];remove=\ref[EM];EC=\ref[selected_event_container]'>Remove</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];remove=\ref[EM];EC=\ref[selected_event_container]'>Remove</A></td>" html += "</tr>" html += "</table>" html += "</div>" @@ -130,16 +130,16 @@ SUBSYSTEM_DEF(events) html += "<table[table_options]>" html += "<tr [head_options]><td[row_options2]>Name</td><td[row_options2]>Type</td><td[row_options1]>Weight</td><td[row_options1]>OneShot</td></tr>" html += "<tr>" - html += "<td><A align='right' href='?src=[UID()];set_name=\ref[new_event]'>[new_event.name ? new_event.name : "Enter Event"]</A></td>" - html += "<td><A align='right' href='?src=[UID()];set_type=\ref[new_event]'>[new_event.event_type ? new_event.event_type : "Select Type"]</A></td>" - html += "<td><A align='right' href='?src=[UID()];set_weight=\ref[new_event]'>[new_event.weight ? new_event.weight : 0]</A></td>" - html += "<td><A align='right' href='?src=[UID()];toggle_oneshot=\ref[new_event]'>[new_event.one_shot]</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];set_name=\ref[new_event]'>[new_event.name ? new_event.name : "Enter Event"]</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];set_type=\ref[new_event]'>[new_event.event_type ? new_event.event_type : "Select Type"]</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];set_weight=\ref[new_event]'>[new_event.weight ? new_event.weight : 0]</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];toggle_oneshot=\ref[new_event]'>[new_event.one_shot]</A></td>" html += "</tr>" html += "</table>" - html += "<A align='right' href='?src=[UID()];add=\ref[selected_event_container]'>Add</A><br>" + html += "<A align='right' href='byond://?src=[UID()];add=\ref[selected_event_container]'>Add</A><br>" html += "</div>" else - html += "<A align='right' href='?src=[UID()];toggle_report=1'>Round End Report: [report_at_round_end ? "On": "Off"]</A><br>" + html += "<A align='right' href='byond://?src=[UID()];toggle_report=1'>Round End Report: [report_at_round_end ? "On": "Off"]</A><br>" html += "<div class='block'>" html += "<h2>Event Start</h2>" @@ -153,16 +153,16 @@ SUBSYSTEM_DEF(events) html += "<td>[station_time_timestamp("hh:mm:ss", max(EC.next_event_time, world.time))]</td>" html += "<td>[round(next_event_at / 600, 0.1)]</td>" html += "<td>" - html += "<A align='right' href='?src=[UID()];dec_timer=2;event=\ref[EC]'>--</A>" - html += "<A align='right' href='?src=[UID()];dec_timer=1;event=\ref[EC]'>-</A>" - html += "<A align='right' href='?src=[UID()];inc_timer=1;event=\ref[EC]'>+</A>" - html += "<A align='right' href='?src=[UID()];inc_timer=2;event=\ref[EC]'>++</A>" + html += "<A align='right' href='byond://?src=[UID()];dec_timer=2;event=\ref[EC]'>--</A>" + html += "<A align='right' href='byond://?src=[UID()];dec_timer=1;event=\ref[EC]'>-</A>" + html += "<A align='right' href='byond://?src=[UID()];inc_timer=1;event=\ref[EC]'>+</A>" + html += "<A align='right' href='byond://?src=[UID()];inc_timer=2;event=\ref[EC]'>++</A>" html += "</td>" html += "<td>" - html += "<A align='right' href='?src=[UID()];pause=\ref[EC]'>[EC.delayed ? "Resume" : "Pause"]</A>" + html += "<A align='right' href='byond://?src=[UID()];pause=\ref[EC]'>[EC.delayed ? "Resume" : "Pause"]</A>" html += "</td>" html += "<td>" - html += "<A align='right' href='?src=[UID()];interval=\ref[EC]'>[EC.delay_modifier]</A>" + html += "<A align='right' href='byond://?src=[UID()];interval=\ref[EC]'>[EC.delay_modifier]</A>" html += "</td>" html += "</tr>" html += "</table>" @@ -177,9 +177,9 @@ SUBSYSTEM_DEF(events) var/datum/event_meta/EM = EC.next_event html += "<tr>" html += "<td>[GLOB.severity_to_string[severity]]</td>" - html += "<td><A align='right' href='?src=[UID()];select_event=\ref[EC]'>[EM ? EM.name : "Random"]</A></td>" - html += "<td><A align='right' href='?src=[UID()];view_events=\ref[EC]'>View</A></td>" - html += "<td><A align='right' href='?src=[UID()];clear=\ref[EC]'>Clear</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];select_event=\ref[EC]'>[EM ? EM.name : "Random"]</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];view_events=\ref[EC]'>View</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];clear=\ref[EC]'>Clear</A></td>" html += "</tr>" html += "</table>" html += "</div>" @@ -201,7 +201,7 @@ SUBSYSTEM_DEF(events) html += "<td>[EM.name]</td>" html += "<td>[no_end ? "N/A" : station_time_timestamp("hh:mm:ss", ends_at)]</td>" html += "<td>[no_end ? "N/A" : ends_in]</td>" - html += "<td><A align='right' href='?src=[UID()];stop=\ref[E]'>Stop</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];stop=\ref[E]'>Stop</A></td>" html += "</tr>" html += "</table>" html += "</div>" diff --git a/code/controllers/subsystem/SSghost_spawns.dm b/code/controllers/subsystem/SSghost_spawns.dm index 80e275ce9a1c..815268c3b349 100644 --- a/code/controllers/subsystem/SSghost_spawns.dm +++ b/code/controllers/subsystem/SSghost_spawns.dm @@ -130,8 +130,8 @@ SUBSYSTEM_DEF(ghost_spawns) // Chat message var/act_jump = "" if(isatom(source)) - act_jump = "<a href='?src=[M.UID()];jump=\ref[source]'>\[Teleport]</a>" - var/act_signup = "<a href='?src=[A.UID()];signup=1'>\[Sign Up]</a>" + act_jump = "<a href='byond://?src=[M.UID()];jump=\ref[source]'>\[Teleport]</a>" + var/act_signup = "<a href='byond://?src=[A.UID()];signup=1'>\[Sign Up]</a>" to_chat(M, "<big><span class='boldnotice'>Now looking for candidates [role ? "to play as \an [role_cleanname || get_roletext(role)]" : "\"[question]\""]. [act_jump] [act_signup] [reason ? "<i>\nReason: [sanitize(reason)]</i>" : ""]</span></big>") // Start processing it so it updates visually the timer diff --git a/code/controllers/subsystem/SSticker.dm b/code/controllers/subsystem/SSticker.dm index 2c86a5833e26..2ef15314417a 100644 --- a/code/controllers/subsystem/SSticker.dm +++ b/code/controllers/subsystem/SSticker.dm @@ -784,7 +784,7 @@ SUBSYSTEM_DEF(ticker) AR.handle_data(load_queries[ckey]) save_queries[ckey] = AR.get_save_query() - log_text += "<small>- <a href='?priv_msg=[ckey]'>[ckey]</a>: [AR.infraction_count]</small>" + log_text += "<small>- <a href='byond://?priv_msg=[ckey]'>[ckey]</a>: [AR.infraction_count]</small>" log_text += "Investigation advised if there are a high number of infractions" diff --git a/code/controllers/subsystem/tickets/tickets.dm b/code/controllers/subsystem/tickets/tickets.dm index bb6c762cf0e4..444ca63d0633 100644 --- a/code/controllers/subsystem/tickets/tickets.dm +++ b/code/controllers/subsystem/tickets/tickets.dm @@ -157,10 +157,10 @@ SUBSYSTEM_DEF(tickets) L += "<span class='[ticket_help_span]'>[ticket_help_type]: </span><span class='boldnotice'>[key_and_name][one_line ? " " : "<br>"]</span>" if(M) L += "([ADMIN_QUE(M,"?")]) ([ADMIN_PP(M,"PP")]) ([ADMIN_VV(M,"VV")]) ([ADMIN_TP(M,"TP")]) ([ADMIN_SM(M,"SM")]) ([admin_jump_link(M)])" - L += "(<a href='?_src_=holder;openticket=[ticketNum][anchor_link_extra]'>TICKET</a>) " - L += "[isAI(M) ? "(<a href='?_src_=holder;adminchecklaws=[M.UID()]'>CL</a>)" : ""] (<a href='?_src_=holder;take_question=[ticketNum][anchor_link_extra]'>TAKE</a>) " - L += "(<a href='?_src_=holder;resolve=[ticketNum][anchor_link_extra]'>RESOLVE</a>) (<a href='?_src_=holder;autorespond=[ticketNum][anchor_link_extra]'>AUTO</a>) " - L += "(<a href='?_src_=holder;convert_ticket=[ticketNum][anchor_link_extra]'>CONVERT</a>) :</span> <span class='[ticket_help_span]'>[one_line ? " " : "<br><br>"][msg]</span>" + L += "(<a href='byond://?_src_=holder;openticket=[ticketNum][anchor_link_extra]'>TICKET</a>) " + L += "[isAI(M) ? "(<a href='byond://?_src_=holder;adminchecklaws=[M.UID()]'>CL</a>)" : ""] (<a href='byond://?_src_=holder;take_question=[ticketNum][anchor_link_extra]'>TAKE</a>) " + L += "(<a href='byond://?_src_=holder;resolve=[ticketNum][anchor_link_extra]'>RESOLVE</a>) (<a href='byond://?_src_=holder;autorespond=[ticketNum][anchor_link_extra]'>AUTO</a>) " + L += "(<a href='byond://?_src_=holder;convert_ticket=[ticketNum][anchor_link_extra]'>CONVERT</a>) :</span> <span class='[ticket_help_span]'>[one_line ? " " : "<br><br>"][msg]</span>" return L.Join() //Open a new ticket and populate details then add to the list of open tickets @@ -491,7 +491,7 @@ UI STUFF dat += "<head><style>.adminticket{border:2px solid}</style></head>" dat += "<body><h1>[ticket_system_name]</h1>" - dat +="<a href='?src=[UID()];refresh=1'>Refresh</a><br /><a href='?src=[UID()];showopen=1'>Open Tickets</a><a href='?src=[UID()];showresolved=1'>Resolved Tickets</a><a href='?src=[UID()];showclosed=1'>Closed Tickets</a>" + dat +="<a href='byond://?src=[UID()];refresh=1'>Refresh</a><br /><a href='byond://?src=[UID()];showopen=1'>Open Tickets</a><a href='byond://?src=[UID()];showresolved=1'>Resolved Tickets</a><a href='byond://?src=[UID()];showclosed=1'>Closed Tickets</a>" if(tab == TICKET_OPEN) dat += "<h2>Open Tickets</h2>" dat += "<table style='width:1300px; border: 3px solid;'>" @@ -500,7 +500,7 @@ UI STUFF for(var/T in allTickets) ticket = T if(ticket.ticketState == TICKET_OPEN || ticket.ticketState == TICKET_STALE) - dat += "<tr style='[trStyle]'><td style ='[tdStyleleft]'><a href='?src=[UID()];resolve=[ticket.ticketNum]'>Resolve</a><a href='?src=[UID()];details=[ticket.ticketNum]'>Details</a> <br /> #[ticket.ticketNum] ([ticket.ingame_time_opened]) [ticket.ticketState == TICKET_STALE ? "<font color='red'><b>STALE</b></font>" : ""] </td><td style='[tdStyle]'><b>[makeUrlMessage(ticket, one_line = TRUE)]</b></td></tr>" + dat += "<tr style='[trStyle]'><td style ='[tdStyleleft]'><a href='byond://?src=[UID()];resolve=[ticket.ticketNum]'>Resolve</a><a href='byond://?src=[UID()];details=[ticket.ticketNum]'>Details</a> <br /> #[ticket.ticketNum] ([ticket.ingame_time_opened]) [ticket.ticketState == TICKET_STALE ? "<font color='red'><b>STALE</b></font>" : ""] </td><td style='[tdStyle]'><b>[makeUrlMessage(ticket, one_line = TRUE)]</b></td></tr>" else continue else if(tab == TICKET_RESOLVED) @@ -508,7 +508,7 @@ UI STUFF for(var/T in allTickets) ticket = T if(ticket.ticketState == TICKET_RESOLVED) - dat += "<tr style='[trStyle]'><td style ='[tdStyleleft]'><a href='?src=[UID()];resolve=[ticket.ticketNum]'>Resolve</a><a href='?src=[UID()];details=[ticket.ticketNum]'>Details</a> <br /> #[ticket.ticketNum] ([ticket.ingame_time_opened]) </td><td style='[tdStyle]'><b>[makeUrlMessage(ticket, one_line = TRUE)]</b></td></tr>" + dat += "<tr style='[trStyle]'><td style ='[tdStyleleft]'><a href='byond://?src=[UID()];resolve=[ticket.ticketNum]'>Resolve</a><a href='byond://?src=[UID()];details=[ticket.ticketNum]'>Details</a> <br /> #[ticket.ticketNum] ([ticket.ingame_time_opened]) </td><td style='[tdStyle]'><b>[makeUrlMessage(ticket, one_line = TRUE)]</b></td></tr>" else continue else if(tab == TICKET_CLOSED) @@ -516,16 +516,16 @@ UI STUFF for(var/T in allTickets) ticket = T if(ticket.ticketState == TICKET_CLOSED) - dat += "<tr style='[trStyle]'><td style ='[tdStyleleft]'><a href='?src=[UID()];resolve=[ticket.ticketNum]'>Resolve</a><a href='?src=[UID()];details=[ticket.ticketNum]'>Details</a> <br /> #[ticket.ticketNum] ([ticket.ingame_time_opened]) </td><td style='[tdStyle]'><b>[makeUrlMessage(ticket, one_line = TRUE)]</b></td></tr>" + dat += "<tr style='[trStyle]'><td style ='[tdStyleleft]'><a href='byond://?src=[UID()];resolve=[ticket.ticketNum]'>Resolve</a><a href='byond://?src=[UID()];details=[ticket.ticketNum]'>Details</a> <br /> #[ticket.ticketNum] ([ticket.ingame_time_opened]) </td><td style='[tdStyle]'><b>[makeUrlMessage(ticket, one_line = TRUE)]</b></td></tr>" else continue dat += "</table>" dat += "<h1>Resolve All</h1>" if(ticket_system_name == "Mentor Tickets") - dat += "<a href='?src=[UID()];resolveall=1'>Resolve All Open Mentor Tickets</a></body>" + dat += "<a href='byond://?src=[UID()];resolveall=1'>Resolve All Open Mentor Tickets</a></body>" else - dat += "<a href='?src=[UID()];resolveall=1'>Resolve All Open Admin Tickets</a></body>" + dat += "<a href='byond://?src=[UID()];resolveall=1'>Resolve All Open Admin Tickets</a></body>" return dat @@ -542,7 +542,7 @@ UI STUFF var/dat = "<h1>[ticket_system_name]</h1>" - dat +="<a href='?src=[UID()];refresh=1'>Show All</a><a href='?src=[UID()];refreshdetail=[T.ticketNum]'>Refresh</a>" + dat +="<a href='byond://?src=[UID()];refresh=1'>Show All</a><a href='byond://?src=[UID()];refreshdetail=[T.ticketNum]'>Refresh</a>" dat += "<h2>Ticket #[T.ticketNum]</h2>" @@ -557,12 +557,12 @@ UI STUFF dat += "<tr><td>[TR.to_string()]</td></tr>" dat += "</table><br /><br />" - dat += "<a href='?src=[UID()];detailreopen=[T.ticketNum]'>Re-Open</a>[check_rights(rights_needed, 0) ? "<a href='?src=[UID()];autorespond=[T.ticketNum]'>Auto</a>": ""]<a href='?src=[UID()];detailresolve=[T.ticketNum]'>Resolve</a><br /><br />" + dat += "<a href='byond://?src=[UID()];detailreopen=[T.ticketNum]'>Re-Open</a>[check_rights(rights_needed, 0) ? "<a href='byond://?src=[UID()];autorespond=[T.ticketNum]'>Auto</a>": ""]<a href='byond://?src=[UID()];detailresolve=[T.ticketNum]'>Resolve</a><br /><br />" if(!T.staffAssigned) - dat += "No staff member assigned to this [ticket_name] - <a href='?src=[UID()];assignstaff=[T.ticketNum]'>Take Ticket</a><br />" + dat += "No staff member assigned to this [ticket_name] - <a href='byond://?src=[UID()];assignstaff=[T.ticketNum]'>Take Ticket</a><br />" else - dat += "[T.staffAssigned] is assigned to this Ticket. - <a href='?src=[UID()];assignstaff=[T.ticketNum]'>Take Ticket</a> - <a href='?src=[UID()];unassignstaff=[T.ticketNum]'>Unassign Ticket</a><br />" + dat += "[T.staffAssigned] is assigned to this Ticket. - <a href='byond://?src=[UID()];assignstaff=[T.ticketNum]'>Take Ticket</a> - <a href='byond://?src=[UID()];unassignstaff=[T.ticketNum]'>Unassign Ticket</a><br />" if(T.lastStaffResponse) dat += "<b>Last Staff response Response:</b> [T.lastStaffResponse] at [T.lastResponseTime]" @@ -571,8 +571,8 @@ UI STUFF dat += "<br /><br />" - dat += "<a href='?src=[UID()];detailclose=[T.ticketNum]'>Close Ticket</a>" - dat += "<a href='?src=[UID()];convert_ticket=[T.ticketNum]'>Convert Ticket</a>" + dat += "<a href='byond://?src=[UID()];detailclose=[T.ticketNum]'>Close Ticket</a>" + dat += "<a href='byond://?src=[UID()];convert_ticket=[T.ticketNum]'>Convert Ticket</a>" var/datum/browser/popup = new(user, "[ticket_system_name]detail", "[ticket_system_name] #[T.ticketNum]", 1000, 600) popup.set_content(dat) diff --git a/code/datums/components/spawner.dm b/code/datums/components/spawner.dm index 1de01df226c1..9780db16407b 100644 --- a/code/datums/components/spawner.dm +++ b/code/datums/components/spawner.dm @@ -7,6 +7,7 @@ var/spawn_text = "emerges from" var/list/faction = list("mining") + COOLDOWN_DECLARE(last_rally) /datum/component/spawner/Initialize(_mob_types, _spawn_time, _faction, _spawn_text, _max_mobs) @@ -22,6 +23,7 @@ max_mobs=_max_mobs RegisterSignal(parent, list(COMSIG_PARENT_QDELETING), PROC_REF(stop_spawning)) + RegisterSignal(parent, COMSIG_SPAWNER_SET_TARGET, PROC_REF(rally_spawned_mobs)) START_PROCESSING(SSprocessing, src) /datum/component/spawner/process() @@ -49,3 +51,15 @@ L.nest = src L.faction = src.faction P.visible_message("<span class='danger'>[L] [spawn_text] [P].</span>") + +/datum/component/spawner/proc/rally_spawned_mobs(parent, mob/living/target) + SIGNAL_HANDLER // COMSIG_SPAWNER_SET_TARGET + + if(!(COOLDOWN_FINISHED(src, last_rally) && length(spawned_mobs))) + return + + // start the cooldown first, because a rallied mob might fire on + // ourselves while this is happening, causing confusion + COOLDOWN_START(src, last_rally, 30 SECONDS) + for(var/mob/living/simple_animal/hostile/rallied as anything in spawned_mobs) + INVOKE_ASYNC(rallied, TYPE_PROC_REF(/mob/living/simple_animal/hostile, aggro_fast), target) diff --git a/code/datums/datumvars.dm b/code/datums/datumvars.dm index 7e53e967d10c..5483b5a4c21b 100644 --- a/code/datums/datumvars.dm +++ b/code/datums/datumvars.dm @@ -141,25 +141,25 @@ var/atom/A = D if(isliving(A)) var/mob/living/L = A - atomsnowflake += "<a href='?_src_=vars;rename=[L.UID()]'><b>[L]</b></a>" + atomsnowflake += "<a href='byond://?_src_=vars;rename=[L.UID()]'><b>[L]</b></a>" if(L.dir) - atomsnowflake += "<br><font size='1'><a href='?_src_=vars;rotatedatum=[L.UID()];rotatedir=left'><<</a> <a href='?_src_=vars;datumedit=[L.UID()];varnameedit=dir'>[dir2text(L.dir)]</a> <a href='?_src_=vars;rotatedatum=[L.UID()];rotatedir=right'>>></a></font>" + atomsnowflake += "<br><font size='1'><a href='byond://?_src_=vars;rotatedatum=[L.UID()];rotatedir=left'><<</a> <a href='byond://?_src_=vars;datumedit=[L.UID()];varnameedit=dir'>[dir2text(L.dir)]</a> <a href='byond://?_src_=vars;rotatedatum=[L.UID()];rotatedir=right'>>></a></font>" atomsnowflake += {" - <br><font size='1'><a href='?_src_=vars;datumedit=[L.UID()];varnameedit=ckey'>[L.ckey ? L.ckey : "No ckey"]</a> / <a href='?_src_=vars;datumedit=[L.UID()];varnameedit=real_name'>[L.real_name ? L.real_name : "No real name"]</a></font> + <br><font size='1'><a href='byond://?_src_=vars;datumedit=[L.UID()];varnameedit=ckey'>[L.ckey ? L.ckey : "No ckey"]</a> / <a href='byond://?_src_=vars;datumedit=[L.UID()];varnameedit=real_name'>[L.real_name ? L.real_name : "No real name"]</a></font> <br><font size='1'> - BRUTE:<font size='1'><a href='?_src_=vars;mobToDamage=[L.UID()];adjustDamage=brute'>[L.getBruteLoss()]</a> - FIRE:<font size='1'><a href='?_src_=vars;mobToDamage=[L.UID()];adjustDamage=fire'>[L.getFireLoss()]</a> - TOXIN:<font size='1'><a href='?_src_=vars;mobToDamage=[L.UID()];adjustDamage=toxin'>[L.getToxLoss()]</a> - OXY:<font size='1'><a href='?_src_=vars;mobToDamage=[L.UID()];adjustDamage=oxygen'>[L.getOxyLoss()]</a> - CLONE:<font size='1'><a href='?_src_=vars;mobToDamage=[L.UID()];adjustDamage=clone'>[L.getCloneLoss()]</a> - BRAIN:<font size='1'><a href='?_src_=vars;mobToDamage=[L.UID()];adjustDamage=brain'>[L.getBrainLoss()]</a> - STAMINA:<font size='1'><a href='?_src_=vars;mobToDamage=[L.UID()];adjustDamage=stamina'>[L.getStaminaLoss()]</a> + BRUTE:<font size='1'><a href='byond://?_src_=vars;mobToDamage=[L.UID()];adjustDamage=brute'>[L.getBruteLoss()]</a> + FIRE:<font size='1'><a href='byond://?_src_=vars;mobToDamage=[L.UID()];adjustDamage=fire'>[L.getFireLoss()]</a> + TOXIN:<font size='1'><a href='byond://?_src_=vars;mobToDamage=[L.UID()];adjustDamage=toxin'>[L.getToxLoss()]</a> + OXY:<font size='1'><a href='byond://?_src_=vars;mobToDamage=[L.UID()];adjustDamage=oxygen'>[L.getOxyLoss()]</a> + CLONE:<font size='1'><a href='byond://?_src_=vars;mobToDamage=[L.UID()];adjustDamage=clone'>[L.getCloneLoss()]</a> + BRAIN:<font size='1'><a href='byond://?_src_=vars;mobToDamage=[L.UID()];adjustDamage=brain'>[L.getBrainLoss()]</a> + STAMINA:<font size='1'><a href='byond://?_src_=vars;mobToDamage=[L.UID()];adjustDamage=stamina'>[L.getStaminaLoss()]</a> </font> "} else - atomsnowflake += "<a href='?_src_=vars;datumedit=[A.UID()];varnameedit=name'><b>[A]</b></a>" + atomsnowflake += "<a href='byond://?_src_=vars;datumedit=[A.UID()];varnameedit=name'><b>[A]</b></a>" if(A.dir) - atomsnowflake += "<br><font size='1'><a href='?_src_=vars;rotatedatum=[A.UID()];rotatedir=left'><<</a> <a href='?_src_=vars;datumedit=[A.UID()];varnameedit=dir'>[dir2text(A.dir)]</a> <a href='?_src_=vars;rotatedatum=[D.UID()];rotatedir=right'>>></a></font>" + atomsnowflake += "<br><font size='1'><a href='byond://?_src_=vars;rotatedatum=[A.UID()];rotatedir=left'><<</a> <a href='byond://?_src_=vars;datumedit=[A.UID()];varnameedit=dir'>[dir2text(A.dir)]</a> <a href='byond://?_src_=vars;rotatedatum=[D.UID()];rotatedir=right'>>></a></font>" else atomsnowflake += "<b>[D]</b>" @@ -409,7 +409,7 @@ </td> <td width='50%'> <div align='center'> - <a id='refresh_link' href='?_src_=vars;[islist ? "listrefresh=\ref[D]" : "datumrefresh=[D.UID()]"]'>Refresh</a> + <a id='refresh_link' href='byond://?_src_=vars;[islist ? "listrefresh=\ref[D]" : "datumrefresh=[D.UID()]"]'>Refresh</a> <form> <select name="file" size="1" onchange="loadPage(this.form.elements\[0\])" @@ -468,9 +468,9 @@ name = DA[name] // name is really the index until this line else value = DA[name] - header = "<li style='backgroundColor:white'>(<a href='?_src_=vars;listedit=\ref[DA];index=[index]'>E</a>) (<a href='?_src_=vars;listchange=\ref[DA];index=[index]'>C</a>) (<a href='?_src_=vars;listremove=\ref[DA];index=[index]'>-</a>) " + header = "<li style='backgroundColor:white'>(<a href='byond://?_src_=vars;listedit=\ref[DA];index=[index]'>E</a>) (<a href='byond://?_src_=vars;listchange=\ref[DA];index=[index]'>C</a>) (<a href='byond://?_src_=vars;listremove=\ref[DA];index=[index]'>-</a>) " else - header = "<li style='backgroundColor:white'>(<a href='?_src_=vars;datumedit=[DA.UID()];varnameedit=[name]'>E</a>) (<a href='?_src_=vars;datumchange=[DA.UID()];varnamechange=[name]'>C</a>) (<a href='?_src_=vars;datummass=[DA.UID()];varnamemass=[name]'>M</a>) " + header = "<li style='backgroundColor:white'>(<a href='byond://?_src_=vars;datumedit=[DA.UID()];varnameedit=[name]'>E</a>) (<a href='byond://?_src_=vars;datumchange=[DA.UID()];varnamechange=[name]'>C</a>) (<a href='byond://?_src_=vars;datummass=[DA.UID()];varnamemass=[name]'>M</a>) " else header = "<li>" @@ -491,9 +491,9 @@ else if(istype(value, /image)) var/image/I = value #ifdef VARSICON - item = "<a href='?_src_=vars;Vars=[I.UID()]'>[name] \ref[value]</a> = /image (<span class='value'>[value]</span>) [bicon(value, use_class=0)]" + item = "<a href='byond://?_src_=vars;Vars=[I.UID()]'>[name] \ref[value]</a> = /image (<span class='value'>[value]</span>) [bicon(value, use_class=0)]" #else - item = "<a href='?_src_=vars;Vars=[I.UID()]'>[name] \ref[value]</a> = /image (<span class='value'>[value]</span>)" + item = "<a href='byond://?_src_=vars;Vars=[I.UID()]'>[name] \ref[value]</a> = /image (<span class='value'>[value]</span>)" #endif else if(isfile(value)) @@ -501,11 +501,11 @@ else if(istype(value, /datum)) var/datum/D = value - item = "<a href='?_src_=vars;Vars=[D.UID()]'>[VV_HTML_ENCODE(name)] \ref[value]</a> = [D.type]" + item = "<a href='byond://?_src_=vars;Vars=[D.UID()]'>[VV_HTML_ENCODE(name)] \ref[value]</a> = [D.type]" else if(isclient(value)) var/client/C = value - item = "<a href='?_src_=vars;Vars=[C.UID()]'>[VV_HTML_ENCODE(name)] \ref[value]</a> = [C] [C.type]" + item = "<a href='byond://?_src_=vars;Vars=[C.UID()]'>[VV_HTML_ENCODE(name)] \ref[value]</a> = [C] [C.type]" // else if(islist(value)) var/list/L = value @@ -523,10 +523,10 @@ items += debug_variable(key, val, level + 1, sanitize = sanitize) - item = "<a href='?_src_=vars;VarsList=\ref[L]'>[VV_HTML_ENCODE(name)] = /list ([L.len])</a><ul>[items.Join()]</ul>" + item = "<a href='byond://?_src_=vars;VarsList=\ref[L]'>[VV_HTML_ENCODE(name)] = /list ([L.len])</a><ul>[items.Join()]</ul>" else - item = "<a href='?_src_=vars;VarsList=\ref[L]'>[VV_HTML_ENCODE(name)] = /list ([L.len])</a>" + item = "<a href='byond://?_src_=vars;VarsList=\ref[L]'>[VV_HTML_ENCODE(name)] = /list ([L.len])</a>" else item = "[VV_HTML_ENCODE(name)] = <span class='value'>[VV_HTML_ENCODE(value)]</span>" diff --git a/code/datums/helper_datums/async_input.dm b/code/datums/helper_datums/async_input.dm index 8709417240ba..e25fd0ac3e05 100644 --- a/code/datums/helper_datums/async_input.dm +++ b/code/datums/helper_datums/async_input.dm @@ -86,7 +86,7 @@ if(disabled) class = "linkOff" topic = "" - return "<a class=\"[class]\" id='[id]' href='?src=[UID()];[topic]'>[label]</a>" + return "<a class=\"[class]\" id='[id]' href='byond://?src=[UID()];[topic]'>[label]</a>" /datum/async_input/Topic(href, href_list) if(href_list["submit"] || href_list["close"]) diff --git a/code/datums/keybindings/movement_keybinds.dm b/code/datums/keybindings/movement_keybinds.dm index 21d49caa5b9d..1f1454f8fe53 100644 --- a/code/datums/keybindings/movement_keybinds.dm +++ b/code/datums/keybindings/movement_keybinds.dm @@ -26,6 +26,7 @@ /datum/keybinding/lock name = "Movement Lock (Prevents Moving When Held)" category = KB_CATEGORY_MOVEMENT + keys = list("Ctrl") /datum/keybinding/lock/down(client/C) . = ..() diff --git a/code/datums/log_viewer.dm b/code/datums/log_viewer.dm index 33d6f3a92ece..4d2c266b23d3 100644 --- a/code/datums/log_viewer.dm +++ b/code/datums/log_viewer.dm @@ -133,8 +133,8 @@ if(!result || result.ckey != __ckey){\ var/list/dat = list() dat += "<head><meta http-equiv='X-UA-Compatible' content='IE=edge'><style>.adminticket{border:2px solid} td{border:1px solid grey;} th{border:1px solid grey;} span{float:left;width:150px;}</style></head>" dat += "<div style='min-height:100px'>" - dat += "<span>Time Search Range:</span> <a href='?src=[UID()];start_time=1'>[gameTimestamp(wtime = time_from)]</a>" - dat += " To: <a href='?src=[UID()];end_time=1'>[gameTimestamp(wtime = time_to)]</a>" + dat += "<span>Time Search Range:</span> <a href='byond://?src=[UID()];start_time=1'>[gameTimestamp(wtime = time_from)]</a>" + dat += " To: <a href='byond://?src=[UID()];end_time=1'>[gameTimestamp(wtime = time_to)]</a>" dat += "<BR>" dat += "<span>Mobs being used:</span>" @@ -143,16 +143,16 @@ if(!result || result.ckey != __ckey){\ if(QDELETED(M)) selected_mobs -= i continue - dat += "<a href='?src=[UID()];remove_mob=\ref[M]'>[get_display_name(M)]</a>" - dat += "<a href='?src=[UID()];add_mob=1'>Add Mob</a>" - dat += "<a href='?src=[UID()];clear_mobs=1'>Clear All Mobs</a>" + dat += "<a href='byond://?src=[UID()];remove_mob=\ref[M]'>[get_display_name(M)]</a>" + dat += "<a href='byond://?src=[UID()];add_mob=1'>Add Mob</a>" + dat += "<a href='byond://?src=[UID()];clear_mobs=1'>Clear All Mobs</a>" dat += "<BR>" dat += "<span>Ckeys being used:</span>" for(var/ckey in selected_ckeys) - dat += "<a href='?src=[UID()];remove_ckey=[ckey]'>[get_ckey_name(ckey)]</a>" - dat += "<a href='?src=[UID()];add_ckey=1'>Add ckey</a>" - dat += "<a href='?src=[UID()];clear_ckeys=1'>Clear All ckeys</a>" + dat += "<a href='byond://?src=[UID()];remove_ckey=[ckey]'>[get_ckey_name(ckey)]</a>" + dat += "<a href='byond://?src=[UID()];add_ckey=1'>Add ckey</a>" + dat += "<a href='byond://?src=[UID()];clear_ckeys=1'>Clear All ckeys</a>" dat += "<BR>" dat += "<span>Log Types:</span>" @@ -166,11 +166,11 @@ if(!result || result.ckey != __ckey){\ else text = log_type - dat += "<a href='?src=[UID()];toggle_log_type=[log_type]' style='[style]'>[text]</a>" + dat += "<a href='byond://?src=[UID()];toggle_log_type=[log_type]' style='[style]'>[text]</a>" dat += "<BR>" - dat += "<a href='?src=[UID()];clear_all=1'>Clear All Settings</a>" - dat += "<a href='?src=[UID()];search=1'>Search</a>" + dat += "<a href='byond://?src=[UID()];clear_all=1'>Clear All Settings</a>" + dat += "<a href='byond://?src=[UID()];search=1'>Search</a>" dat += "</div>" // Search results diff --git a/code/datums/mind.dm b/code/datums/mind.dm index f99a50cef926..21d24b3f172b 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -178,7 +178,7 @@ if(!recipient) recipient = current var/list/output = list() - output.Add("<meta charset='UTF-8'><b>[current.real_name]'s Memories:</b><hr>") + output.Add("<!DOCTYPE html><meta charset='UTF-8'><b>[current.real_name]'s Memories:</b><hr>") output.Add(memory) for(var/datum/antagonist/A in antag_datums) @@ -216,9 +216,9 @@ return text.Join("<br>") /datum/mind/proc/get_admin_objective_edit(datum/objective/objective) - return " <a href='?src=[UID()];obj_edit=\ref[objective]'>Edit</a> \ - <a href='?src=[UID()];obj_delete=\ref[objective]'>Delete</a> \ - <a href='?src=[UID()];obj_completed=\ref[objective]'>\ + return " <a href='byond://?src=[UID()];obj_edit=\ref[objective]'>Edit</a> \ + <a href='byond://?src=[UID()];obj_delete=\ref[objective]'>Delete</a> \ + <a href='byond://?src=[UID()];obj_completed=\ref[objective]'>\ <font color=[objective.completed ? "green" : "red"]>Toggle Completion</font></a>" /** @@ -300,9 +300,9 @@ /datum/mind/proc/memory_edit_implant(mob/living/carbon/human/H) if(ismindshielded(H)) - . = "Mindshield Bio-chip:<a href='?src=[UID()];implant=remove'>Remove</a>|<b><font color='green'>Implanted</font></b></br>" + . = "Mindshield Bio-chip:<a href='byond://?src=[UID()];implant=remove'>Remove</a>|<b><font color='green'>Implanted</font></b></br>" else - . = "Mindshield Bio-chip:<b>No Bio-chip</b>|<a href='?src=[UID()];implant=add'>Bio-chip [H.p_them()]!</a></br>" + . = "Mindshield Bio-chip:<b>No Bio-chip</b>|<a href='byond://?src=[UID()];implant=add'>Bio-chip [H.p_them()]!</a></br>" /datum/mind/proc/memory_edit_revolution(mob/living/carbon/human/H) @@ -311,46 +311,46 @@ if(ismindshielded(H)) . += "<b>NO</b>|headrev|rev" else if(istype(rev, /datum/antagonist/rev/head)) - . += "<a href='?src=[UID()];revolution=clear'>no</a>|<b><font color='red'>HEADREV</font></b>|<a href='?src=[UID()];revolution=rev'>rev</a>" - . += "<br>Flash: <a href='?src=[UID()];revolution=flash'>give</a>" + . += "<a href='byond://?src=[UID()];revolution=clear'>no</a>|<b><font color='red'>HEADREV</font></b>|<a href='byond://?src=[UID()];revolution=rev'>rev</a>" + . += "<br>Flash: <a href='byond://?src=[UID()];revolution=flash'>give</a>" var/list/L = current.get_contents() var/obj/item/flash/flash = locate() in L if(flash) if(!flash.broken) - . += "|<a href='?src=[UID()];revolution=takeflash'>take</a>." + . += "|<a href='byond://?src=[UID()];revolution=takeflash'>take</a>." else - . += "|<a href='?src=[UID()];revolution=takeflash'>take</a>|<a href='?src=[UID()];revolution=repairflash'>repair</a>." + . += "|<a href='byond://?src=[UID()];revolution=takeflash'>take</a>|<a href='byond://?src=[UID()];revolution=repairflash'>repair</a>." else . += "." - . += " <a href='?src=[UID()];revolution=reequip'>Reequip</a> (gives flash/cham sec hud)." + . += " <a href='byond://?src=[UID()];revolution=reequip'>Reequip</a> (gives flash/cham sec hud)." if(!rev.has_antag_objectives()) // if theres anything missing here, we want it to runtime. There should never be a rev without a rev team - . += "<br>Objectives are empty! Unless theres no command, this is likely a bug, please report it! <a href='?src=[UID()];revolution=autoobjectives'>Set to kill all heads</a>." + . += "<br>Objectives are empty! Unless theres no command, this is likely a bug, please report it! <a href='byond://?src=[UID()];revolution=autoobjectives'>Set to kill all heads</a>." else if(rev) - . += "<a href='?src=[UID()];revolution=clear'>no</a>|<a href='?src=[UID()];revolution=headrev'>headrev</a>|<b><font color='red'>REV</font></b>" + . += "<a href='byond://?src=[UID()];revolution=clear'>no</a>|<a href='byond://?src=[UID()];revolution=headrev'>headrev</a>|<b><font color='red'>REV</font></b>" else - . += "<b>NO</b>|<a href='?src=[UID()];revolution=headrev'>headrev</a>|<a href='?src=[UID()];revolution=rev'>rev</a>" + . += "<b>NO</b>|<a href='byond://?src=[UID()];revolution=headrev'>headrev</a>|<a href='byond://?src=[UID()];revolution=rev'>rev</a>" . += _memory_edit_role_enabled(ROLE_REV) /datum/mind/proc/memory_edit_cult(mob/living/carbon/human/H) . = _memory_edit_header("cult") if(has_antag_datum(/datum/antagonist/cultist)) - . += "<a href='?src=[UID()];cult=clear'>no</a>|<b><font color='red'>CULTIST</font></b>" - . += "<br>Give <a href='?src=[UID()];cult=dagger'>dagger</a>|<a href='?src=[UID()];cult=runedmetal'>runedmetal</a>." + . += "<a href='byond://?src=[UID()];cult=clear'>no</a>|<b><font color='red'>CULTIST</font></b>" + . += "<br>Give <a href='byond://?src=[UID()];cult=dagger'>dagger</a>|<a href='byond://?src=[UID()];cult=runedmetal'>runedmetal</a>." else - . += "<b>NO</b>|<a href='?src=[UID()];cult=cultist'>cultist</a>" + . += "<b>NO</b>|<a href='byond://?src=[UID()];cult=cultist'>cultist</a>" . += _memory_edit_role_enabled(ROLE_CULTIST) /datum/mind/proc/memory_edit_wizard(mob/living/carbon/human/H) . = _memory_edit_header("wizard") if(has_antag_datum(/datum/antagonist/wizard)) - . += "<b><font color='red'>WIZARD</font></b>|<a href='?src=[UID()];wizard=clear'>no</a>" - . += "<br><a href='?src=[UID()];wizard=lair'>To lair</a>, <a href='?src=[UID()];common=undress'>undress</a>, <a href='?src=[UID()];wizard=dressup'>dress up</a>, <a href='?src=[UID()];wizard=name'>let choose name</a>." + . += "<b><font color='red'>WIZARD</font></b>|<a href='byond://?src=[UID()];wizard=clear'>no</a>" + . += "<br><a href='byond://?src=[UID()];wizard=lair'>To lair</a>, <a href='byond://?src=[UID()];common=undress'>undress</a>, <a href='byond://?src=[UID()];wizard=dressup'>dress up</a>, <a href='byond://?src=[UID()];wizard=name'>let choose name</a>." else - . += "<a href='?src=[UID()];wizard=wizard'>wizard</a>|<b>NO</b>" + . += "<a href='byond://?src=[UID()];wizard=wizard'>wizard</a>|<b>NO</b>" . += _memory_edit_role_enabled(ROLE_WIZARD) @@ -358,15 +358,15 @@ . = _memory_edit_header("changeling", list("traitorchan")) var/datum/antagonist/changeling/cling = has_antag_datum(/datum/antagonist/changeling) if(cling) - . += "<b><font color='red'>CHANGELING</font></b>|<a href='?src=[UID()];changeling=clear'>no</a>" + . += "<b><font color='red'>CHANGELING</font></b>|<a href='byond://?src=[UID()];changeling=clear'>no</a>" if(!cling.has_antag_objectives()) - . += "<br>Objectives are empty! <a href='?src=[UID()];changeling=autoobjectives'>Randomize!</a>" + . += "<br>Objectives are empty! <a href='byond://?src=[UID()];changeling=autoobjectives'>Randomize!</a>" if(length(cling.absorbed_dna)) var/datum/dna/DNA = cling.absorbed_dna[1] if(current.real_name != DNA.real_name) - . += "<br><a href='?src=[UID()];changeling=initialdna'>Transform to initial appearance.</a>" + . += "<br><a href='byond://?src=[UID()];changeling=initialdna'>Transform to initial appearance.</a>" else - . += "<a href='?src=[UID()];changeling=changeling'>changeling</a>|<b>NO</b>" + . += "<a href='byond://?src=[UID()];changeling=changeling'>changeling</a>|<b>NO</b>" . += _memory_edit_role_enabled(ROLE_CHANGELING) @@ -374,69 +374,69 @@ . = _memory_edit_header("vampire", list("traitorvamp")) var/datum/antagonist/vampire/vamp = has_antag_datum(/datum/antagonist/vampire) if(vamp) - . += "<b><font color='red'>VAMPIRE</font></b>|<a href='?src=[UID()];vampire=clear'>no</a>" - . += "<br>Usable blood: <a href='?src=[UID()];vampire=edit_usable_blood'>[vamp.bloodusable]</a>" - . += " | Total blood: <a href='?src=[UID()];vampire=edit_total_blood'>[vamp.bloodtotal]</a>" + . += "<b><font color='red'>VAMPIRE</font></b>|<a href='byond://?src=[UID()];vampire=clear'>no</a>" + . += "<br>Usable blood: <a href='byond://?src=[UID()];vampire=edit_usable_blood'>[vamp.bloodusable]</a>" + . += " | Total blood: <a href='byond://?src=[UID()];vampire=edit_total_blood'>[vamp.bloodtotal]</a>" var/has_subclass = !QDELETED(vamp.subclass) - . += "<br>Subclass: <a href='?src=[UID()];vampire=change_subclass'>[has_subclass ? capitalize(vamp.subclass.name) : "None"]</a>" + . += "<br>Subclass: <a href='byond://?src=[UID()];vampire=change_subclass'>[has_subclass ? capitalize(vamp.subclass.name) : "None"]</a>" if(has_subclass) - . += " | Force full power: <a href='?src=[UID()];vampire=full_power_override'>[vamp.subclass.full_power_override ? "Yes" : "No"]</a>" + . += " | Force full power: <a href='byond://?src=[UID()];vampire=full_power_override'>[vamp.subclass.full_power_override ? "Yes" : "No"]</a>" if(!vamp.has_antag_objectives()) - . += "<br>Objectives are empty! <a href='?src=[UID()];vampire=autoobjectives'>Randomize!</a>" + . += "<br>Objectives are empty! <a href='byond://?src=[UID()];vampire=autoobjectives'>Randomize!</a>" else - . += "<a href='?src=[UID()];vampire=vampire'>vampire</a>|<b>NO</b>" + . += "<a href='byond://?src=[UID()];vampire=vampire'>vampire</a>|<b>NO</b>" . += _memory_edit_role_enabled(ROLE_VAMPIRE) /** Enthralled ***/ . += "<br><b><i>enthralled</i></b>: " if(has_antag_datum(/datum/antagonist/mindslave/thrall)) - . += "<b><font color='red'>THRALL</font></b>|<a href='?src=[UID()];vampthrall=clear'>no</a>" + . += "<b><font color='red'>THRALL</font></b>|<a href='byond://?src=[UID()];vampthrall=clear'>no</a>" else . += "thrall|<b>NO</b>" /datum/mind/proc/memory_edit_nuclear(mob/living/carbon/human/H) . = _memory_edit_header("nuclear") if(src in SSticker.mode.syndicates) - . += "<b><font color='red'>OPERATIVE</b></font>|<a href='?src=[UID()];nuclear=clear'>no</a>" - . += "<br><a href='?src=[UID()];nuclear=lair'>To shuttle</a>, <a href='?src=[UID()];common=undress'>undress</a>, <a href='?src=[UID()];nuclear=dressup'>dress up</a>." + . += "<b><font color='red'>OPERATIVE</b></font>|<a href='byond://?src=[UID()];nuclear=clear'>no</a>" + . += "<br><a href='byond://?src=[UID()];nuclear=lair'>To shuttle</a>, <a href='byond://?src=[UID()];common=undress'>undress</a>, <a href='byond://?src=[UID()];nuclear=dressup'>dress up</a>." var/code for(var/obj/machinery/nuclearbomb/bombue in GLOB.machines) if(length(bombue.r_code) <= 5 && bombue.r_code != "LOLNO" && bombue.r_code != "ADMIN") code = bombue.r_code break if(code) - . += " Code is [code]. <a href='?src=[UID()];nuclear=tellcode'>tell the code.</a>" + . += " Code is [code]. <a href='byond://?src=[UID()];nuclear=tellcode'>tell the code.</a>" else - . += "<a href='?src=[UID()];nuclear=nuclear'>operative</a>|<b>NO</b>" + . += "<a href='byond://?src=[UID()];nuclear=nuclear'>operative</a>|<b>NO</b>" . += _memory_edit_role_enabled(ROLE_OPERATIVE) /datum/mind/proc/memory_edit_abductor(mob/living/carbon/human/H) . = _memory_edit_header("abductor") if(src in SSticker.mode.abductors) - . += "<b><font color='red'>ABDUCTOR</font></b>|<a href='?src=[UID()];abductor=clear'>no</a>" - . += "|<a href='?src=[UID()];common=undress'>undress</a>|<a href='?src=[UID()];abductor=equip'>equip</a>" + . += "<b><font color='red'>ABDUCTOR</font></b>|<a href='byond://?src=[UID()];abductor=clear'>no</a>" + . += "|<a href='byond://?src=[UID()];common=undress'>undress</a>|<a href='byond://?src=[UID()];abductor=equip'>equip</a>" else - . += "<a href='?src=[UID()];abductor=abductor'>abductor</a>|<b>NO</b>" + . += "<a href='byond://?src=[UID()];abductor=abductor'>abductor</a>|<b>NO</b>" . += _memory_edit_role_enabled(ROLE_ABDUCTOR) /datum/mind/proc/memory_edit_eventmisc(mob/living/H) . = _memory_edit_header("event", list()) if(src in SSticker.mode.eventmiscs) - . += "<b>YES</b>|<a href='?src=[UID()];eventmisc=clear'>no</a>" + . += "<b>YES</b>|<a href='byond://?src=[UID()];eventmisc=clear'>no</a>" else - . += "<a href='?src=[UID()];eventmisc=eventmisc'>Event Role</a>|<b>NO</b>" + . += "<a href='byond://?src=[UID()];eventmisc=eventmisc'>Event Role</a>|<b>NO</b>" /datum/mind/proc/memory_edit_traitor() . = _memory_edit_header("traitor", list("traitorchan", "traitorvamp")) if(has_antag_datum(/datum/antagonist/traitor)) - . += "<b><font color='red'>TRAITOR</font></b>|<a href='?src=[UID()];traitor=clear'>no</a>" + . += "<b><font color='red'>TRAITOR</font></b>|<a href='byond://?src=[UID()];traitor=clear'>no</a>" var/datum/antagonist/traitor/T = has_antag_datum(/datum/antagonist/traitor) if(!T.has_antag_objectives()) - . += "<br>Objectives are empty! <a href='?src=[UID()];traitor=autoobjectives'>Randomize!</a>" + . += "<br>Objectives are empty! <a href='byond://?src=[UID()];traitor=autoobjectives'>Randomize!</a>" else - . += "<a href='?src=[UID()];traitor=traitor'>traitor</a>|<b>NO</b>" + . += "<a href='byond://?src=[UID()];traitor=traitor'>traitor</a>|<b>NO</b>" . += _memory_edit_role_enabled(ROLE_TRAITOR) // Contractor @@ -451,9 +451,9 @@ for(var/co in H.contracts) var/datum/syndicate_contract/CO = co . += "<br><B>Contract #[count++]</B>: " - . += "<a href='?src=[UID()];cuid=[CO.UID()];contractor=target'><b>[CO.contract.target?.name || "Invalid target!"]</b></a>|" - . += "<a href='?src=[UID()];cuid=[CO.UID()];contractor=locations'>locations</a>|" - . += "<a href='?src=[UID()];cuid=[CO.UID()];contractor=other'>more</a>|" + . += "<a href='byond://?src=[UID()];cuid=[CO.UID()];contractor=target'><b>[CO.contract.target?.name || "Invalid target!"]</b></a>|" + . += "<a href='byond://?src=[UID()];cuid=[CO.UID()];contractor=locations'>locations</a>|" + . += "<a href='byond://?src=[UID()];cuid=[CO.UID()];contractor=other'>more</a>|" switch(CO.status) if(CONTRACT_STATUS_INVALID) . += "<b>INVALID</b>" @@ -461,16 +461,16 @@ . += "inactive" if(CONTRACT_STATUS_ACTIVE) . += "<b><font color='orange'>ACTIVE</font></b>|" - . += "<a href='?src=[UID()];cuid=[CO.UID()];contractor=interrupt'>interrupt</a>|" - . += "<a href='?src=[UID()];cuid=[CO.UID()];contractor=fail'>fail</a>" + . += "<a href='byond://?src=[UID()];cuid=[CO.UID()];contractor=interrupt'>interrupt</a>|" + . += "<a href='byond://?src=[UID()];cuid=[CO.UID()];contractor=fail'>fail</a>" if(CONTRACT_STATUS_COMPLETED) . += "<font color='green'>COMPLETED</font>" if(CONTRACT_STATUS_FAILED) . += "<font color='red'>FAILED</font>" . += "<br>" - . += "<a href='?src=[UID()];contractor=add'>Add Contract</a><br>" - . += "Claimable TC: <a href='?src=[UID()];contractor=tc'>[H.reward_tc_available]</a><br>" - . += "Available Rep: <a href='?src=[UID()];contractor=rep'>[H.rep]</a><br>" + . += "<a href='byond://?src=[UID()];contractor=add'>Add Contract</a><br>" + . += "Claimable TC: <a href='byond://?src=[UID()];contractor=tc'>[H.reward_tc_available]</a><br>" + . += "Available Rep: <a href='byond://?src=[UID()];contractor=rep'>[H.rep]</a><br>" else . += "<br>" . += "<i>Has not logged in to contractor uplink</i>" @@ -479,7 +479,7 @@ // Mindslave . += "<br><b><i>mindslaved</i></b>: " if(has_antag_datum(/datum/antagonist/mindslave, FALSE)) - . += "<b><font color='red'>MINDSLAVE</font></b>|<a href='?src=[UID()];mindslave=clear'>no</a>" + . += "<b><font color='red'>MINDSLAVE</font></b>|<a href='byond://?src=[UID()];mindslave=clear'>no</a>" else . += "mindslave|<b>NO</b>" @@ -487,28 +487,28 @@ . = "<i><b>Silicon</b></i>: " var/mob/living/silicon/robot/robot = current if(istype(robot) && robot.emagged) - . += "<br>Cyborg: <b><font color='red'>Is emagged!</font></b> <a href='?src=[UID()];silicon=unemag'>Unemag!</a><br>0th law: [robot.laws.zeroth_law]" + . += "<br>Cyborg: <b><font color='red'>Is emagged!</font></b> <a href='byond://?src=[UID()];silicon=unemag'>Unemag!</a><br>0th law: [robot.laws.zeroth_law]" var/mob/living/silicon/ai/ai = current if(istype(ai) && ai.connected_robots.len) var/n_e_robots = 0 for(var/mob/living/silicon/robot/R in ai.connected_robots) if(R.emagged) n_e_robots++ - . += "<br>[n_e_robots] of [ai.connected_robots.len] slaved cyborgs are emagged. <a href='?src=[UID()];silicon=unemagcyborgs'>Unemag</a>" + . += "<br>[n_e_robots] of [ai.connected_robots.len] slaved cyborgs are emagged. <a href='byond://?src=[UID()];silicon=unemagcyborgs'>Unemag</a>" /datum/mind/proc/memory_edit_uplink() . = "" if(ishuman(current) && ((has_antag_datum(/datum/antagonist/traitor)) || \ (src in SSticker.mode.syndicates))) - . = "Uplink: <a href='?src=[UID()];common=uplink'>give</a>" + . = "Uplink: <a href='byond://?src=[UID()];common=uplink'>give</a>" var/obj/item/uplink/hidden/suplink = find_syndicate_uplink() var/crystals if(suplink) crystals = suplink.uses if(suplink) - . += "|<a href='?src=[UID()];common=takeuplink'>take</a>" + . += "|<a href='byond://?src=[UID()];common=takeuplink'>take</a>" if(usr.client.holder.rights & (R_SERVER|R_EVENT)) - . += ", <a href='?src=[UID()];common=crystals'>[crystals]</a> crystals" + . += ", <a href='byond://?src=[UID()];common=crystals'>[crystals]</a> crystals" else . += ", [crystals] crystals" . += "." //hiel grammar @@ -521,7 +521,7 @@ var/list/out = list("<meta charset='UTF-8'><b>[name]</b>[(current && (current.real_name != name))?" (as [current.real_name])" : ""]") out.Add("Mind currently owned by key: [key] [active ? "(synced)" : "(not synced)"]") - out.Add("Assigned role: [assigned_role]. <a href='?src=[UID()];role_edit=1'>Edit</a>") + out.Add("Assigned role: [assigned_role]. <a href='byond://?src=[UID()];role_edit=1'>Edit</a>") out.Add("Factions and special roles:") var/list/sections = list( @@ -594,11 +594,11 @@ out.Add("<b>Memory:</b>") out.Add(memory) - out.Add("<a href='?src=[UID()];memory_edit=1'>Edit memory</a><br>") + out.Add("<a href='byond://?src=[UID()];memory_edit=1'>Edit memory</a><br>") out.Add("Objectives:") out.Add(gen_objective_text(admin = TRUE)) - out.Add("<a href='?src=[UID()];obj_add=1'>Add objective</a><br>") - out.Add("<a href='?src=[UID()];obj_announce=1'>Announce objectives</a><br>") + out.Add("<a href='byond://?src=[UID()];obj_add=1'>Add objective</a><br>") + out.Add("<a href='byond://?src=[UID()];obj_announce=1'>Announce objectives</a><br>") usr << browse(out.Join("<br>"), "window=edit_memory[src];size=500x500") /datum/mind/Topic(href, href_list) diff --git a/code/datums/wires/nuclearbomb_wires.dm b/code/datums/wires/nuclearbomb_wires.dm index 6282f8904668..c997e183d7cf 100644 --- a/code/datums/wires/nuclearbomb_wires.dm +++ b/code/datums/wires/nuclearbomb_wires.dm @@ -30,7 +30,7 @@ if(WIRE_BOMB_TIMING) if(N.timing) - message_admins("[key_name_admin(usr)] pulsed a nuclear bomb's detonation wire, causing it to explode (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[holder.x];Y=[holder.y];Z=[holder.z]'>JMP</a>)") + message_admins("[key_name_admin(usr)] pulsed a nuclear bomb's detonation wire, causing it to explode (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[holder.x];Y=[holder.y];Z=[holder.z]'>JMP</a>)") N.explode() if(WIRE_BOMB_SAFETY) @@ -42,7 +42,7 @@ switch(wire) if(WIRE_BOMB_SAFETY) if(N.timing) - message_admins("[key_name_admin(usr)] cut a nuclear bomb's timing wire, causing it to explode (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[holder.x];Y=[holder.y];Z=[holder.z]'>JMP</a>)") + message_admins("[key_name_admin(usr)] cut a nuclear bomb's timing wire, causing it to explode (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[holder.x];Y=[holder.y];Z=[holder.z]'>JMP</a>)") N.explode() if(WIRE_BOMB_TIMING) diff --git a/code/defines/procs/admin_keyname_procs.dm b/code/defines/procs/admin_keyname_procs.dm index efd26bab4c18..ec371a6a6dab 100644 --- a/code/defines/procs/admin_keyname_procs.dm +++ b/code/defines/procs/admin_keyname_procs.dm @@ -42,11 +42,11 @@ if(key) if(C && C.holder && C.holder.fakekey && !include_name) if(include_link) - . += "<a href='?priv_msg=[C.getStealthKey()];type=[type];ticket_id=[ticket_id]'>" + . += "<a href='byond://?priv_msg=[C.getStealthKey()];type=[type];ticket_id=[ticket_id]'>" . += "Administrator" else if(include_link && C) - . += "<a href='?priv_msg=[C.ckey];type=[type];ticket_id=[ticket_id]'>" + . += "<a href='byond://?priv_msg=[C.ckey];type=[type];ticket_id=[ticket_id]'>" . += key // See if the player is on the watchlist. Requires admin permissions. if(check_rights(R_ADMIN, FALSE) && C && C.watchlisted) diff --git a/code/game/dna/mutations/mutation_powers.dm b/code/game/dna/mutations/mutation_powers.dm index aaada5d9c367..58a538d19af5 100644 --- a/code/game/dna/mutations/mutation_powers.dm +++ b/code/game/dna/mutations/mutation_powers.dm @@ -970,7 +970,7 @@ if(target.dna?.GetSEState(GLOB.remotetalkblock)) message = "You feel [user.real_name] request a response from you... (Click here to project mind.)" user.show_message("<i><span class='abductor'>You offer your mind to [(target in user.get_visible_mobs()) ? target.name : "the unknown entity"].</span></i>") - target.show_message("<i><span class='abductor'><a href='?src=[UID()];from=[target.UID()];to=[user.UID()]'>[message]</a></span></i>") + target.show_message("<i><span class='abductor'><a href='byond://?src=[UID()];from=[target.UID()];to=[user.UID()]'>[message]</a></span></i>") expanded_minds += target addtimer(CALLBACK(src, PROC_REF(removeAvailability), target), 10 SECONDS) diff --git a/code/game/gamemodes/miniantags/abduction/machinery/console.dm b/code/game/gamemodes/miniantags/abduction/machinery/console.dm index f6e02d754bb6..be975ef273bf 100644 --- a/code/game/gamemodes/miniantags/abduction/machinery/console.dm +++ b/code/game/gamemodes/miniantags/abduction/machinery/console.dm @@ -65,22 +65,22 @@ dat += "Collected Samples : [points] <br>" dat += "Gear Credits: [credits] <br>" dat += "<b>Transfer data in exchange for supplies:</b><br>" - dat += "<a href='?src=[UID()];dispense=baton'>Advanced Baton (2)</a><br>" - dat += "<a href='?src=[UID()];dispense=helmet'>Agent Helmet</a><br>" - dat += "<a href='?src=[UID()];dispense=vest'>Agent Vest</a><br>" - dat += "<a href='?src=[UID()];dispense=silencer'>Radio Silencer</a><br>" - dat += "<a href='?src=[UID()];dispense=tool'>Science Tool</a><br>" - dat += "<a href='?src=[UID()];dispense=mind_device'>Mental Interface Device (2)</a><br>" - dat += "<a href='?src=[UID()];dispense=organ_extractor'>Organ Extractor (2)</a><br>" + dat += "<a href='byond://?src=[UID()];dispense=baton'>Advanced Baton (2)</a><br>" + dat += "<a href='byond://?src=[UID()];dispense=helmet'>Agent Helmet</a><br>" + dat += "<a href='byond://?src=[UID()];dispense=vest'>Agent Vest</a><br>" + dat += "<a href='byond://?src=[UID()];dispense=silencer'>Radio Silencer</a><br>" + dat += "<a href='byond://?src=[UID()];dispense=tool'>Science Tool</a><br>" + dat += "<a href='byond://?src=[UID()];dispense=mind_device'>Mental Interface Device (2)</a><br>" + dat += "<a href='byond://?src=[UID()];dispense=organ_extractor'>Organ Extractor (2)</a><br>" else dat += "<span class='bad'>NO EXPERIMENT MACHINE DETECTED</span> <br>" if(pad) dat += "<span class='bad'>Emergency Teleporter System.</span>" dat += "<span class='bad'>Consider using primary observation console first.</span>" - dat += "<a href='?src=[UID()];teleporter_send=1'>Activate Teleporter</A><br>" + dat += "<a href='byond://?src=[UID()];teleporter_send=1'>Activate Teleporter</A><br>" if(gizmo && gizmo.marked) - dat += "<a href='?src=[UID()];teleporter_retrieve=1'>Retrieve Mark</A><br>" + dat += "<a href='byond://?src=[UID()];teleporter_retrieve=1'>Retrieve Mark</A><br>" else dat += "<span class='linkOff'>Retrieve Mark</span><br>" else @@ -90,15 +90,15 @@ dat += "<h4> Agent Vest Mode </h4><br>" var/mode = vest.mode if(mode == ABDUCTOR_VEST_STEALTH) - dat += "<a href='?src=[UID()];flip_vest=1'>Combat</A>" + dat += "<a href='byond://?src=[UID()];flip_vest=1'>Combat</A>" dat += "<span class='linkOff'>Stealth</span>" else dat += "<span class='linkOff'>Combat</span>" - dat += "<a href='?src=[UID()];flip_vest=1'>Stealth</A>" + dat += "<a href='byond://?src=[UID()];flip_vest=1'>Stealth</A>" dat+="<br>" - dat += "<a href='?src=[UID()];select_disguise=1'>Select Agent Vest Disguise</a><br>" - dat += "<a href='?src=[UID()];toggle_vest=1'>[vest.flags & NODROP ? "Unlock" : "Lock"] Vest</a><br>" + dat += "<a href='byond://?src=[UID()];select_disguise=1'>Select Agent Vest Disguise</a><br>" + dat += "<a href='byond://?src=[UID()];toggle_vest=1'>[vest.flags & NODROP ? "Unlock" : "Lock"] Vest</a><br>" else dat += "<span class='bad'>NO AGENT VEST DETECTED</span>" var/datum/browser/popup = new(user, "computer", "Abductor Console", 400, 500) diff --git a/code/game/gamemodes/nuclear/nuclearbomb.dm b/code/game/gamemodes/nuclear/nuclearbomb.dm index 2c3e81c9c12f..f1b09f316e24 100644 --- a/code/game/gamemodes/nuclear/nuclearbomb.dm +++ b/code/game/gamemodes/nuclear/nuclearbomb.dm @@ -674,14 +674,14 @@ GLOBAL_VAR(bomb_set) var/turf/diskturf = get_turf(src) if(force) - message_admins("[src] has been !!force deleted!! in ([diskturf ? "[diskturf.x], [diskturf.y] ,[diskturf.z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[diskturf.x];Y=[diskturf.y];Z=[diskturf.z]'>JMP</a>":"nonexistent location"]).") + message_admins("[src] has been !!force deleted!! in ([diskturf ? "[diskturf.x], [diskturf.y] ,[diskturf.z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[diskturf.x];Y=[diskturf.y];Z=[diskturf.z]'>JMP</a>":"nonexistent location"]).") log_game("[src] has been !!force deleted!! in ([diskturf ? "[diskturf.x], [diskturf.y] ,[diskturf.z]":"nonexistent location"]).") GLOB.poi_list.Remove(src) STOP_PROCESSING(SSobj, src) return ..() if(!restricted_to_station) // Non-restricted NADs should be allowed to be deleted, otherwise it becomes a restricted NAD when teleported - message_admins("[src] (unrestricted) has been deleted in ([diskturf ? "[diskturf.x], [diskturf.y] ,[diskturf.z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[diskturf.x];Y=[diskturf.y];Z=[diskturf.z]'>JMP</a>":"nonexistent location"]). It will not respawn.") + message_admins("[src] (unrestricted) has been deleted in ([diskturf ? "[diskturf.x], [diskturf.y] ,[diskturf.z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[diskturf.x];Y=[diskturf.y];Z=[diskturf.z]'>JMP</a>":"nonexistent location"]). It will not respawn.") log_game("[src] (unrestricted) has been deleted in ([diskturf ? "[diskturf.x], [diskturf.y] ,[diskturf.z]":"nonexistent location"]). It will not respawn.") GLOB.poi_list.Remove(src) STOP_PROCESSING(SSobj, src) @@ -692,7 +692,7 @@ GLOBAL_VAR(bomb_set) GLOB.poi_list.Remove(src) var/obj/item/disk/nuclear/NEWDISK = new(new_spawn) transfer_fingerprints_to(NEWDISK) - message_admins("[src] has been destroyed at ([diskturf.x], [diskturf.y], [diskturf.z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[diskturf.x];Y=[diskturf.y];Z=[diskturf.z]'>JMP</a>). Moving it to ([NEWDISK.x], [NEWDISK.y], [NEWDISK.z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[NEWDISK.x];Y=[NEWDISK.y];Z=[NEWDISK.z]'>JMP</a>).") + message_admins("[src] has been destroyed at ([diskturf.x], [diskturf.y], [diskturf.z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[diskturf.x];Y=[diskturf.y];Z=[diskturf.z]'>JMP</a>). Moving it to ([NEWDISK.x], [NEWDISK.y], [NEWDISK.z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[NEWDISK.x];Y=[NEWDISK.y];Z=[NEWDISK.z]'>JMP</a>).") log_game("[src] has been destroyed in ([diskturf.x], [diskturf.y], [diskturf.z]). Moving it to ([NEWDISK.x], [NEWDISK.y], [NEWDISK.z]).") ..() return QDEL_HINT_HARDDEL_NOW // We want this to be deleted ASAP, but we want refs properly cleared too diff --git a/code/game/gamemodes/scoreboard.dm b/code/game/gamemodes/scoreboard.dm index feda362192df..09dcd1352a96 100644 --- a/code/game/gamemodes/scoreboard.dm +++ b/code/game/gamemodes/scoreboard.dm @@ -243,7 +243,7 @@ GLOBAL_VAR(scoreboard) // Variable to save the scoreboard string once it's been // Generate the score panel - var/list/dat = list("<meta charset='UTF-8'><b>Round Statistics and Score</b><br><hr>") + var/list/dat = list("<!DOCTYPE html><meta charset='UTF-8'><b>Round Statistics and Score</b><br><hr>") if(SSticker.mode) dat += SSticker.mode.get_scoreboard_stats() @@ -309,7 +309,7 @@ GLOBAL_VAR(scoreboard) // Variable to save the scoreboard string once it's been for(var/mob/E in GLOB.player_list) if(E.client) to_chat(E, "<b>The crew's final score is:</b>") - to_chat(E, "<b><font size='4'><a href='?src=[E.UID()];scoreboard=1'>[crewscore]</a></font></b>") + to_chat(E, "<b><font size='4'><a href='byond://?src=[E.UID()];scoreboard=1'>[crewscore]</a></font></b>") if(!E.get_preference(PREFTOGGLE_DISABLE_SCOREBOARD)) E << browse(GLOB.scoreboard, "window=roundstats;size=500x600") diff --git a/code/game/jobs/job_exp.dm b/code/game/jobs/job_exp.dm index a129cefc1016..d6800da4a116 100644 --- a/code/game/jobs/job_exp.dm +++ b/code/game/jobs/job_exp.dm @@ -76,7 +76,7 @@ GLOBAL_LIST_INIT(role_playtime_requirements, list( jtext = theirjob.title msg += "<TD>[jtext]</TD>" - msg += "<TD><A href='?_src_=holder;getplaytimewindow=[C.mob.UID()]'>" + C.get_exp_type(EXP_TYPE_CREW) + "</a></TD>" + msg += "<TD><A href='byond://?_src_=holder;getplaytimewindow=[C.mob.UID()]'>" + C.get_exp_type(EXP_TYPE_CREW) + "</a></TD>" msg += "[C.get_exp_dept_string()]" msg += "</TR>" diff --git a/code/game/machinery/camera/camera.dm b/code/game/machinery/camera/camera.dm index 4902760f4b5f..b6af0a44e951 100644 --- a/code/game/machinery/camera/camera.dm +++ b/code/game/machinery/camera/camera.dm @@ -179,9 +179,9 @@ if(AI.control_disabled || (AI.stat == DEAD)) return if(U.name == "Unknown") - to_chat(AI, "<b>[U]</b> holds <a href='?_src_=usr;show_paper=1;'>\a [itemname]</a> up to one of your cameras ...") + to_chat(AI, "<b>[U]</b> holds <a href='byond://?_src_=usr;show_paper=1;'>\a [itemname]</a> up to one of your cameras ...") else - to_chat(AI, "<b><a href='?src=[AI.UID()];track=[html_encode(U.name)]'>[U]</a></b> holds <a href='?_src_=usr;show_paper=1;'>\a [itemname]</a> up to one of your cameras ...") + to_chat(AI, "<b><a href='byond://?src=[AI.UID()];track=[html_encode(U.name)]'>[U]</a></b> holds <a href='byond://?_src_=usr;show_paper=1;'>\a [itemname]</a> up to one of your cameras ...") AI.last_paper_seen = "<html><meta charset='utf-8'><head><title>[itemname]</title></head><body><tt>[info]</tt></body></html>" else if(O.client && O.client.eye == src) to_chat(O, "[U] holds \a [itemname] up to one of the cameras ...") diff --git a/code/game/machinery/computer/cloning.dm b/code/game/machinery/computer/cloning.dm index 98d806119782..8c0b112d839d 100644 --- a/code/game/machinery/computer/cloning.dm +++ b/code/game/machinery/computer/cloning.dm @@ -209,8 +209,8 @@ data["feedback"] = feedback - if(feedback && feedback["color"] == "good") - data["scan_successful"] = TRUE + if(feedback) + data["scan_successful"] = feedback["scan_succeeded"] else data["scan_successful"] = FALSE @@ -240,6 +240,8 @@ if(scanner?.last_scan && desired_data) var/list/costs = selected_pod.get_cloning_cost(scanner.last_scan, desired_data) data["cloning_cost"] = costs + else + data["cloning_cost"] = list() data["pods"] = pod_data data["pod_amount"] = length(pods) @@ -270,22 +272,22 @@ if("clone") var/cost = selected_pod.get_cloning_cost(scanner.last_scan, desired_data) if(selected_pod.biomass < cost[BIOMASS_COST] || (selected_pod.reagents.get_reagent_amount("sanguine_reagent") < cost[SANGUINE_COST]) || selected_pod.reagents.get_reagent_amount("osseous_reagent") < cost[OSSEOUS_COST]) - feedback = list("text" = "The cloning operation is too expensive!", "color" = "bad") + feedback = list("text" = "The cloning operation is too expensive!", "color" = "bad", "scan_succeeded" = FALSE) else selected_pod.start_cloning(scanner.last_scan, desired_data) scanner?.update_scan_status() - feedback = list("text" = "Beginning cloning operation...", "color" = "good") + feedback = list("text" = "Beginning cloning operation...", "color" = "good", "scan_succeeded" = TRUE) return TRUE if("scan") if(!COOLDOWN_FINISHED(src, scancooldown)) - feedback = list("text" = "The scanning array is still calibrating! Please wait...", "color" = "good") + feedback = list("text" = "The scanning array is still calibrating! Please wait...", "color" = "average", "scan_succeeded" = FALSE) return TRUE if(!scanner.occupant) return FALSE scanner.occupant.notify_ghost_cloning() - feedback = list("text" = "Scanning occupant! Please wait...", "color" = "good") + feedback = list("text" = "Scanning occupant! Please wait...", "color" = "good", "scan_succeeded" = FALSE) COOLDOWN_START(src, scancooldown, 10 SECONDS) addtimer(CALLBACK(src, PROC_REF(do_scan), patient_data), 5 SECONDS) return TRUE @@ -358,24 +360,24 @@ var/scanner_result = scanner.try_scan(scanner.occupant) switch(scanner_result) if(SCANNER_MISC) - feedback = list("text" = "Unable to analyze patient's genetic sequence.", "color" = "bad") + feedback = list("text" = "Unable to analyze patient's genetic sequence.", "color" = "bad", "scan_succeeded" = FALSE) if(SCANNER_UNCLONEABLE_SPECIES) - feedback = list("text" = "[scanner.occupant.dna.species.name_plural] cannot be scanned.", "color" = "bad") + feedback = list("text" = "[scanner.occupant.dna.species.name_plural] cannot be scanned.", "color" = "bad", "scan_succeeded" = FALSE) if(SCANNER_HUSKED) - feedback = list("text" = "The patient is husked.", "color" = "bad") + feedback = list("text" = "The patient is husked.", "color" = "bad", "scan_succeeded" = FALSE) if(SCANNER_ABSORBED) - feedback = list("text" = "The patient cannot be scanned due to a lack of biofluids.", "color" = "bad") + feedback = list("text" = "The patient cannot be scanned due to a lack of biofluids.", "color" = "bad", "scan_succeeded" = FALSE) if(SCANNER_NO_SOUL) - feedback = list("text" = "Failed to sequence the patient's brain. Further attempts may succeed.", "color" = "average") + feedback = list("text" = "Failed to sequence the patient's brain. Further attempts may succeed.", "color" = "average", "scan_succeeded" = FALSE) if(SCANNER_BRAIN_ISSUE) - feedback = list("text" = "The patient's brain is inactive or missing.", "color" = "bad") + feedback = list("text" = "The patient's brain is inactive or missing.", "color" = "bad", "scan_succeeded" = FALSE) else var/datum/cloning_data/scan = scanner_result if((scan.mindUID == patient_data?.mindUID) || (scan.mindUID == selected_pod?.patient_data?.mindUID)) - feedback = list("text" = "Patient has already been scanned.", "color" = "good") + feedback = list("text" = "Patient has already been scanned.", "color" = "good", "scan_succeeded" = TRUE) return TRUE - feedback = list("text" = "Successfully scanned the patient.", "color" = "good") + feedback = list("text" = "Successfully scanned the patient.", "color" = "good", "scan_succeeded" = TRUE) desired_data = generate_healthy_data(scan) #undef TAB_MAIN diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm index d2c2f012dc83..d374fada3cf2 100644 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -255,7 +255,7 @@ Nuke_request(input, ui.user) to_chat(ui.user, "<span class='notice'>Request sent.</span>") log_game("[key_name(ui.user)] has requested the nuclear codes from Centcomm") - GLOB.major_announcement.Announce("The codes for the on-station nuclear self-destruct have been requested by [ui.user]. Confirmation or denial of this request will be sent shortly.", "Nuclear Self Destruct Codes Requested",'sound/AI/commandreport.ogg') + GLOB.major_announcement.Announce("The codes for the on-station nuclear self-destruct have been requested by [ui.user]. Confirmation or denial of this request will be sent shortly.", "Nuclear Self Destruct Codes Requested", 'sound/AI/nuke_codes.ogg') centcomm_message_cooldown = world.time + 6000 // 10 minutes setMenuState(ui.user, COMM_SCREEN_MAIN) diff --git a/code/game/machinery/computer/message_monitor.dm b/code/game/machinery/computer/message_monitor.dm index afcce4b64eb2..c8c08fe993db 100644 --- a/code/game/machinery/computer/message_monitor.dm +++ b/code/game/machinery/computer/message_monitor.dm @@ -98,10 +98,10 @@ dat += "<center><h4><font color='blue'[message]</h5></center>" if(auth) - dat += "<h4><dd><A href='?src=[UID()];auth=1'>	<font color='green'>\[Authenticated\]</font></a>	/" - dat += " Server Power: <A href='?src=[UID()];active=1'>[src.linkedServer && src.linkedServer.active ? "<font color='green'>\[On\]</font>":"<font color='red'>\[Off\]</font>"]</a></h4>" + dat += "<h4><dd><A href='byond://?src=[UID()];auth=1'>	<font color='green'>\[Authenticated\]</font></a>	/" + dat += " Server Power: <A href='byond://?src=[UID()];active=1'>[src.linkedServer && src.linkedServer.active ? "<font color='green'>\[On\]</font>":"<font color='red'>\[Off\]</font>"]</a></h4>" else - dat += "<h4><dd><A href='?src=[UID()];auth=1'>	<font color='red'>\[Unauthenticated\]</font></a>	/" + dat += "<h4><dd><A href='byond://?src=[UID()];auth=1'>	<font color='red'>\[Unauthenticated\]</font></a>	/" dat += " Server Power: <u>[src.linkedServer && src.linkedServer.active ? "<font color='green'>\[On\]</font>":"<font color='red'>\[Off\]</font>"]</u></h4>" if(hacking || emag) @@ -115,23 +115,23 @@ if(0) //	 = TAB var/i = 0 - dat += "<dd><A href='?src=[UID()];find=1'>	[++i]. Link To A Server</a></dd>" + dat += "<dd><A href='byond://?src=[UID()];find=1'>	[++i]. Link To A Server</a></dd>" if(auth) if(!linkedServer || (linkedServer.stat & (NOPOWER|BROKEN))) dat += "<dd><A>	ERROR: Server not found!</A><br></dd>" else - dat += "<dd><A href='?src=[UID()];view=1'>	[++i]. View Message Logs </a><br></dd>" - dat += "<dd><A href='?src=[UID()];viewr=1'>	[++i]. View Request Console Logs </a></br></dd>" - dat += "<dd><A href='?src=[UID()];clear=1'>	[++i]. Clear Message Logs</a><br></dd>" - dat += "<dd><A href='?src=[UID()];clearr=1'>	[++i]. Clear Request Console Logs</a><br></dd>" - dat += "<dd><A href='?src=[UID()];pass=1'>	[++i]. Set Custom Key</a><br></dd>" - dat += "<dd><A href='?src=[UID()];msg=1'>	[++i]. Send Admin Message</a><br></dd>" + dat += "<dd><A href='byond://?src=[UID()];view=1'>	[++i]. View Message Logs </a><br></dd>" + dat += "<dd><A href='byond://?src=[UID()];viewr=1'>	[++i]. View Request Console Logs </a></br></dd>" + dat += "<dd><A href='byond://?src=[UID()];clear=1'>	[++i]. Clear Message Logs</a><br></dd>" + dat += "<dd><A href='byond://?src=[UID()];clearr=1'>	[++i]. Clear Request Console Logs</a><br></dd>" + dat += "<dd><A href='byond://?src=[UID()];pass=1'>	[++i]. Set Custom Key</a><br></dd>" + dat += "<dd><A href='byond://?src=[UID()];msg=1'>	[++i]. Send Admin Message</a><br></dd>" else for(var/n = ++i; n <= optioncount; n++) dat += "<dd><font color='blue'>	[n]. ---------------</font><br></dd>" if((isAI(user) || isrobot(user)) && (user.mind.special_role && user.mind.is_original_mob(user))) //Malf/Traitor AIs can bruteforce into the system to gain the Key. - dat += "<dd><A href='?src=[UID()];hack=1'><i><font color='Red'>*&@#. Bruteforce Key</font></i></font></a><br></dd>" + dat += "<dd><A href='byond://?src=[UID()];hack=1'><i><font color='Red'>*&@#. Bruteforce Key</font></i></font></a><br></dd>" else dat += "<br>" @@ -147,7 +147,7 @@ //var/recipient = "Unspecified" //name of the person //var/sender = "Unspecified" //name of the sender //var/message = "Blank" //transferred message - dat += "<center><A href='?src=[UID()];back=1'>Back</a> - <A href='?src=[UID()];refresh=1'>Refresh</center><hr>" + dat += "<center><A href='byond://?src=[UID()];back=1'>Back</a> - <A href='byond://?src=[UID()];refresh=1'>Refresh</center><hr>" dat += "<table border='1' width='100%'><tr><th width = '5%'>X</th><th width='15%'>Sender</th><th width='15%'>Recipient</th><th width='300px' word-wrap: break-word>Message</th></tr>" for(var/datum/data_pda_msg/pda in src.linkedServer.pda_msgs) index++ @@ -155,7 +155,7 @@ break // Del - Sender - Recepient - Message // X - Al Green - Your Mom - WHAT UP!? - dat += "<tr><td width = '5%'><center><A href='?src=[UID()];delete=\ref[pda]' style='color: rgb(255,0,0)'>X</a></center></td><td width='15%'>[pda.sender]</td><td width='15%'>[pda.recipient]</td><td width='300px'>[pda.message]</td></tr>" + dat += "<tr><td width = '5%'><center><A href='byond://?src=[UID()];delete=\ref[pda]' style='color: rgb(255,0,0)'>X</a></center></td><td width='15%'>[pda.sender]</td><td width='15%'>[pda.recipient]</td><td width='300px'>[pda.message]</td></tr>" dat += "</table>" //Hacking screen. if(2) @@ -202,13 +202,13 @@ //Fake messages if(3) - dat += "<center><A href='?src=[UID()];back=1'>Back</a> - <A href='?src=[UID()];Reset=1'>Reset</a></center><hr>" + dat += "<center><A href='byond://?src=[UID()];back=1'>Back</a> - <A href='byond://?src=[UID()];Reset=1'>Reset</a></center><hr>" dat += {"<table border='1' width='100%'> - <tr><td width='20%'><A href='?src=[UID()];select=Sender'>Sender</a></td> - <td width='20%'><A href='?src=[UID()];select=RecJob'>Sender's Job</a></td> - <td width='20%'><A href='?src=[UID()];select=Recepient'>Recipient</a></td> - <td width='300px' word-wrap: break-word><A href='?src=[UID()];select=Message'>Message</a></td></tr>"} + <tr><td width='20%'><A href='byond://?src=[UID()];select=Sender'>Sender</a></td> + <td width='20%'><A href='byond://?src=[UID()];select=RecJob'>Sender's Job</a></td> + <td width='20%'><A href='byond://?src=[UID()];select=Recepient'>Recipient</a></td> + <td width='300px' word-wrap: break-word><A href='byond://?src=[UID()];select=Message'>Message</a></td></tr>"} //Sender - Sender's Job - Recepient - Message //Al Green- Your Dad - Your Mom - WHAT UP!? @@ -216,7 +216,7 @@ <td width='20%'>[customjob]</td> <td width='20%'>[customrecepient ? customrecepient.owner : "NONE"]</td> <td width='300px'>[custommessage]</td></tr>"} - dat += "</table><br><center><A href='?src=[UID()];select=Send'>Send</a>" + dat += "</table><br><center><A href='byond://?src=[UID()];select=Send'>Send</a>" //Request Console Logs if(4) @@ -231,7 +231,7 @@ var/id_auth = "Unauthenticated" - 15% var/priority = "Normal" - 10% */ - dat += "<center><A href='?src=[UID()];back=1'>Back</a> - <A href='?src=[UID()];refresh=1'>Refresh</center><hr>" + dat += "<center><A href='byond://?src=[UID()];back=1'>Back</a> - <A href='byond://?src=[UID()];refresh=1'>Refresh</center><hr>" dat += {"<table border='1' width='100%'><tr><th width = '5%'>X</th><th width='15%'>Sending Dep.</th><th width='15%'>Receiving Dep.</th> <th width='300px' word-wrap: break-word>Message</th><th width='15%'>Stamp</th><th width='15%'>ID Auth.</th><th width='15%'>Priority.</th></tr>"} for(var/datum/data_rc_msg/rc in src.linkedServer.rc_msgs) @@ -240,7 +240,7 @@ break // Del - Sender - Recepient - Message // X - Al Green - Your Mom - WHAT UP!? - dat += {"<tr><td width = '5%'><center><A href='?src=[UID()];deleter=\ref[rc]' style='color: rgb(255,0,0)'>X</a></center></td><td width='15%'>[rc.send_dpt]</td> + dat += {"<tr><td width = '5%'><center><A href='byond://?src=[UID()];deleter=\ref[rc]' style='color: rgb(255,0,0)'>X</a></center></td><td width='15%'>[rc.send_dpt]</td> <td width='15%'>[rc.rec_dpt]</td><td width='300px'>[rc.message]</td><td width='15%'>[rc.stamp]</td><td width='15%'>[rc.id_auth]</td><td width='15%'>[rc.priority]</td></tr>"} dat += "</table>" dat += "</body>" @@ -457,7 +457,7 @@ //Sender isn't faking as someone who exists if(isnull(PDARec)) src.linkedServer.send_pda_message("[customrecepient.owner]", "[customsender]","[custommessage]") - recipient_messenger.notify("<b>Message from [customsender] ([customjob]), </b>\"[custommessage]\" (<a href='?src=[UID()];choice=Message;target=\ref[src]'>Reply</a>)") + recipient_messenger.notify("<b>Message from [customsender] ([customjob]), </b>\"[custommessage]\" (<a href='byond://?src=[UID()];choice=Message;target=\ref[src]'>Reply</a>)") sender_identity = customsender //Sender is faking as someone who exists else @@ -467,7 +467,7 @@ if(!recipient_messenger.conversations.Find("\ref[PDARec]")) recipient_messenger.conversations.Add("\ref[PDARec]") - recipient_messenger.notify("<b>Message from [PDARec.owner] ([customjob]), </b>\"[custommessage]\" (<a href='?src=[recipient_messenger.UID()];choice=Message;target=\ref[PDARec]'>Reply</a>)") + recipient_messenger.notify("<b>Message from [PDARec.owner] ([customjob]), </b>\"[custommessage]\" (<a href='byond://?src=[recipient_messenger.UID()];choice=Message;target=\ref[PDARec]'>Reply</a>)") sender_identity = PDARec.owner // Logging diff --git a/code/game/machinery/computer/robot_control.dm b/code/game/machinery/computer/robot_control.dm index 63adce49228d..65e33facda33 100644 --- a/code/game/machinery/computer/robot_control.dm +++ b/code/game/machinery/computer/robot_control.dm @@ -243,7 +243,7 @@ R.SetLockdown(!R.lockcharge) to_chat(R, "[!R.lockcharge ? "<span class='notice'>Your lockdown has been lifted!" : "<span class='alert'>You have been locked down!"]</span>") if(R.connected_ai) - to_chat(R.connected_ai, "[!R.lockcharge ? "<span class='notice'>NOTICE - Cyborg lockdown lifted</span>" : "<span class='alert'>ALERT - Cyborg lockdown detected</span>"]: <a href='?src=[R.connected_ai.UID()];track=[html_encode(R.name)]'>[R.name]</a></span><br>") + to_chat(R.connected_ai, "[!R.lockcharge ? "<span class='notice'>NOTICE - Cyborg lockdown lifted</span>" : "<span class='alert'>ALERT - Cyborg lockdown detected</span>"]: <a href='byond://?src=[R.connected_ai.UID()];track=[html_encode(R.name)]'>[R.name]</a></span><br>") . = TRUE if("hackbot") // AIs hacking/emagging a borg var/mob/living/silicon/robot/R = locateUID(params["uid"]) diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index a7384e2b57ea..8df74ed68eef 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -228,9 +228,15 @@ /obj/item/autopsy_scanner, /obj/item/holosign_creator/atmos, /obj/item/clothing/gloves/color/black/forensics, - /obj/item/rcd, - /obj/item/rpd, - /obj/item/mod/control + /obj/item/mod/control, + /obj/item/stamp, + /obj/item/melee/knuckleduster/nanotrasen, + /obj/item/melee/rapier, + /obj/item/storage/belt/rapier, + /obj/item/nuke_core, + /obj/item/nuke_core_container, + /obj/item/documents, + /obj/item/clothing/gloves/color/black/krav_maga ) // These items will NOT be preserved var/list/do_not_preserve_items = list ( @@ -589,7 +595,7 @@ log_admin("<span class='notice'>[key_name(E)] entered a stasis pod.</span>") if(SSticker.mode.tdm_gamemode) SSblackbox.record_feedback("nested tally", "TDM_quitouts", 1, list(SSticker.mode.name, "TDM Cryopods")) - message_admins("[key_name_admin(E)] entered a stasis pod. (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") + message_admins("[key_name_admin(E)] entered a stasis pod. (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") add_fingerprint(E) playsound(src, 'sound/machines/podclose.ogg', 5) diff --git a/code/game/machinery/dance_machine.dm b/code/game/machinery/dance_machine.dm index 31d20c71ea33..f5a4cf907523 100644 --- a/code/game/machinery/dance_machine.dm +++ b/code/game/machinery/dance_machine.dm @@ -100,21 +100,21 @@ user.set_machine(src) var/list/dat = list() dat +="<div class='statusDisplay' style='text-align:center'>" - dat += "<b><A href='?src=[UID()];action=toggle'>[!active ? "BREAK IT DOWN" : "SHUT IT DOWN"]<b></A><br>" + dat += "<b><A href='byond://?src=[UID()];action=toggle'>[!active ? "BREAK IT DOWN" : "SHUT IT DOWN"]<b></A><br>" dat += "</div><br>" - dat += "<A href='?src=[UID()];action=select'> Select Track</A><br>" + dat += "<A href='byond://?src=[UID()];action=select'> Select Track</A><br>" dat += "Track Selected: [selection.song_name]<br>" dat += "Track Length: [DisplayTimeText(selection.song_length)]<br><br>" dat += "<br>DJ's Soundboard:<b><br>" dat +="<div class='statusDisplay'><div style='text-align:center'>" - dat += "<A href='?src=[UID()];action=horn'>Air Horn</A> " - dat += "<A href='?src=[UID()];action=alert'>Station Alert</A> " - dat += "<A href='?src=[UID()];action=siren'>Warning Siren</A> " - dat += "<A href='?src=[UID()];action=honk'>Honk</A><br>" - dat += "<A href='?src=[UID()];action=pump'>Shotgun Pump</A>" - dat += "<A href='?src=[UID()];action=pop'>Gunshot</A>" - dat += "<A href='?src=[UID()];action=saber'>Esword</A>" - dat += "<A href='?src=[UID()];action=harm'>Harm Alarm</A>" + dat += "<A href='byond://?src=[UID()];action=horn'>Air Horn</A> " + dat += "<A href='byond://?src=[UID()];action=alert'>Station Alert</A> " + dat += "<A href='byond://?src=[UID()];action=siren'>Warning Siren</A> " + dat += "<A href='byond://?src=[UID()];action=honk'>Honk</A><br>" + dat += "<A href='byond://?src=[UID()];action=pump'>Shotgun Pump</A>" + dat += "<A href='byond://?src=[UID()];action=pop'>Gunshot</A>" + dat += "<A href='byond://?src=[UID()];action=saber'>Esword</A>" + dat += "<A href='byond://?src=[UID()];action=harm'>Harm Alarm</A>" var/datum/browser/popup = new(user, "vending", "Radiance Dance Machine - Mark IV", 400, 350) popup.set_content(dat.Join()) popup.open() diff --git a/code/game/machinery/doors/airlock.dm b/code/game/machinery/doors/airlock.dm index 298a072601f7..1ad706022103 100644 --- a/code/game/machinery/doors/airlock.dm +++ b/code/game/machinery/doors/airlock.dm @@ -1562,10 +1562,12 @@ GLOBAL_LIST_EMPTY(airlock_emissive_underlays) ae.selected_accesses = req_one_access ae.one_access = 1 ae.unres_access_from = unres_sides + ae.is_installed = FALSE else ae = electronics electronics = null ae.forceMove(loc) + ae.is_installed = FALSE QDEL_LIST_CONTENTS(fillers) qdel(src) diff --git a/code/game/machinery/doors/airlock_electronics.dm b/code/game/machinery/doors/airlock_electronics.dm index 070c29e377dc..3b9da5c1be53 100644 --- a/code/game/machinery/doors/airlock_electronics.dm +++ b/code/game/machinery/doors/airlock_electronics.dm @@ -18,6 +18,8 @@ var/const/max_brain_damage = 60 /// Which direction has unrestricted access to the airlock (e.g. medbay doors from the inside) var/unres_access_from = null + /// Is this electronic installed in a door? + var/is_installed = FALSE /obj/item/airlock_electronics/Initialize(mapload) . = ..() @@ -38,7 +40,6 @@ return ui_interact(user) - // tgui\packages\tgui\interfaces\AirlockElectronics.js /obj/item/airlock_electronics/ui_state(mob/user) return GLOB.inventory_state diff --git a/code/game/machinery/doors/airlock_types.dm b/code/game/machinery/doors/airlock_types.dm index c4d7cb0c9cbe..9766496eec8c 100644 --- a/code/game/machinery/doors/airlock_types.dm +++ b/code/game/machinery/doors/airlock_types.dm @@ -203,7 +203,7 @@ /obj/machinery/door/airlock/plasma/attackby(obj/item/C, mob/user, params) if(C.get_heat() > 300) - message_admins("Plasma airlock ignited by [key_name_admin(user)] in ([x],[y],[z] - <a href='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") + message_admins("Plasma airlock ignited by [key_name_admin(user)] in ([x],[y],[z] - <a href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") log_game("Plasma airlock ignited by [key_name(user)] in ([x],[y],[z])") investigate_log("was <font color='red'><b>ignited</b></font> by [key_name(user)]","atmos") ignite(C.get_heat()) diff --git a/code/game/machinery/gameboard.dm b/code/game/machinery/gameboard.dm index e0b8bb349418..7d40d42d5c46 100644 --- a/code/game/machinery/gameboard.dm +++ b/code/game/machinery/gameboard.dm @@ -80,7 +80,7 @@ if(href_list["checkmate"]) if(cooling_down) - message_admins("Too many checkmates on chessboard, possible HREF exploits: [key_name_admin(usr)] on [src] (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") + message_admins("Too many checkmates on chessboard, possible HREF exploits: [key_name_admin(usr)] on [src] (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") return visible_message("<span class='info'><span class='name'>[src.name]</span> beeps, \"WINNER!\"</span>") new prize(get_turf(src), 80) diff --git a/code/game/machinery/hologram.dm b/code/game/machinery/hologram.dm index 8caa8c1df3e7..78029b71833c 100644 --- a/code/game/machinery/hologram.dm +++ b/code/game/machinery/hologram.dm @@ -166,8 +166,8 @@ GLOBAL_LIST_EMPTY(holopads) if(temp) dat = temp else - dat = "<a href='?src=[UID()];AIrequest=1'>Request an AI's presence.</a><br>" - dat += "<a href='?src=[UID()];Holocall=1'>Call another holopad.</a><br>" + dat = "<a href='byond://?src=[UID()];AIrequest=1'>Request an AI's presence.</a><br>" + dat += "<a href='byond://?src=[UID()];Holocall=1'>Call another holopad.</a><br>" if(LAZYLEN(holo_calls)) dat += "=====================================================<br>" @@ -177,7 +177,7 @@ GLOBAL_LIST_EMPTY(holopads) for(var/I in holo_calls) var/datum/holocall/HC = I if(HC.connected_holopad != src) - dat += "<a href='?src=[UID()];connectcall=[HC.UID()]'>Answer call from [get_area(HC.calling_holopad)].</a><br>" + dat += "<a href='byond://?src=[UID()];connectcall=[HC.UID()]'>Answer call from [get_area(HC.calling_holopad)].</a><br>" one_unanswered_call = TRUE else one_answered_call = TRUE @@ -188,7 +188,7 @@ GLOBAL_LIST_EMPTY(holopads) for(var/I in holo_calls) var/datum/holocall/HC = I if(HC.connected_holopad == src) - dat += "<a href='?src=[UID()];disconnectcall=[HC.UID()] '>Disconnect call from [HC.user].</a><br>" + dat += "<a href='byond://?src=[UID()];disconnectcall=[HC.UID()] '>Disconnect call from [HC.user].</a><br>" var/area/area = get_area(src) var/datum/browser/popup = new(user, "holopad", "[area] holopad", 400, 300) @@ -205,15 +205,15 @@ GLOBAL_LIST_EMPTY(holopads) if(last_request + 200 < world.time) last_request = world.time temp = "You requested an AI's presence.<br>" - temp += "<a href='?src=[UID()];mainmenu=1'>Main Menu</a>" + temp += "<a href='byond://?src=[UID()];mainmenu=1'>Main Menu</a>" var/area/area = get_area(src) for(var/mob/living/silicon/ai/AI in GLOB.ai_list) if(!AI.client) continue - to_chat(AI, "<span class='info'>Your presence is requested at <a href='?src=[AI.UID()];jumptoholopad=[UID()]'>\the [area]</a>.</span>") + to_chat(AI, "<span class='info'>Your presence is requested at <a href='byond://?src=[AI.UID()];jumptoholopad=[UID()]'>\the [area]</a>.</span>") else temp = "A request for AI presence was already sent recently.<br>" - temp += "<a href='?src=[UID()];mainmenu=1'>Main Menu</a>" + temp += "<a href='byond://?src=[UID()];mainmenu=1'>Main Menu</a>" else if(href_list["Holocall"]) if(outgoing_call) @@ -222,7 +222,7 @@ GLOBAL_LIST_EMPTY(holopads) to_chat(usr, "<span class='notice'>Finish dialling first!</span>") return temp = "You must stand on the holopad to make a call!<br>" - temp += "<a href='?src=[UID()];mainmenu=1'>Main Menu</a>" + temp += "<a href='byond://?src=[UID()];mainmenu=1'>Main Menu</a>" if(usr.loc == loc) var/list/callnames = list() for(var/I in GLOB.holopads) @@ -239,7 +239,7 @@ GLOBAL_LIST_EMPTY(holopads) if(usr.loc == loc) temp = "Dialing...<br>" - temp += "<a href='?src=[UID()];mainmenu=1'>Main Menu</a>" + temp += "<a href='byond://?src=[UID()];mainmenu=1'>Main Menu</a>" new /datum/holocall(usr, src, callnames[result]) else if(href_list["connectcall"]) diff --git a/code/game/machinery/spaceheater.dm b/code/game/machinery/spaceheater.dm index 0900e6e1e738..667c27a37105 100644 --- a/code/game/machinery/spaceheater.dm +++ b/code/game/machinery/spaceheater.dm @@ -104,13 +104,13 @@ dat += "Set Temperature: " - dat += "<a href='?src=[UID()];op=temp;val=-5'>-</a>" + dat += "<a href='byond://?src=[UID()];op=temp;val=-5'>-</a>" dat += " [set_temperature]°C " - dat += "<a href='?src=[UID()];op=temp;val=5'>+</a><br>" + dat += "<a href='byond://?src=[UID()];op=temp;val=5'>+</a><br>" user.set_machine(src) - user << browse("<meta charset='utf-8'><head><title>Space Heater Control Panel</title></head><tt>[dat]</tt>", "window=spaceheater") + user << browse("<!DOCTYPE html><meta charset='utf-8'><head><title>Space Heater Control Panel</title></head><tt>[dat]</tt>", "window=spaceheater") onclose(user, "spaceheater") else diff --git a/code/game/machinery/vendors/departmental_vendors.dm b/code/game/machinery/vendors/departmental_vendors.dm index 19338ce9d67a..14b7919ac7f0 100644 --- a/code/game/machinery/vendors/departmental_vendors.dm +++ b/code/game/machinery/vendors/departmental_vendors.dm @@ -142,17 +142,22 @@ icon_panel = "thin_vendor" category = VENDOR_TYPE_DEPARTMENTAL products = list(/obj/item/reagent_containers/glass/bottle/nutrient/ez = 20, + /obj/item/reagent_containers/glass/bottle/nutrient/mut = 15, /obj/item/reagent_containers/glass/bottle/nutrient/l4z = 13, /obj/item/reagent_containers/glass/bottle/nutrient/rh = 6, /obj/item/reagent_containers/spray/pestspray = 20, /obj/item/reagent_containers/syringe = 5, + /obj/item/reagent_containers/dropper = 5, + /obj/item/storage/bag/plants/seed_sorting_tray = 3, /obj/item/storage/bag/plants = 5, /obj/item/cultivator = 3, /obj/item/shovel/spade = 3, /obj/item/plant_analyzer = 4) - contraband = list(/obj/item/reagent_containers/glass/bottle/ammonia = 10, - /obj/item/reagent_containers/glass/bottle/diethylamine = 5) + contraband = list(/obj/item/reagent_containers/glass/bottle/ash = 10, + /obj/item/reagent_containers/glass/bottle/saltpetre = 2, + /obj/item/reagent_containers/glass/bottle/charcoal = 2, + /obj/item/reagent_containers/glass/bottle/mutagen = 2) refill_canister = /obj/item/vending_refill/hydronutrients diff --git a/code/game/mecha/combat/honker.dm b/code/game/mecha/combat/honker.dm index fa70ba0d262d..5ddca924d185 100644 --- a/code/game/mecha/combat/honker.dm +++ b/code/game/mecha/combat/honker.dm @@ -39,7 +39,7 @@ [integrity<30?"<font color='red'><b>DAMAGE LEVEL CRITICAL</b></font><br>":null] [internal_damage&MECHA_INT_TEMP_CONTROL?"<font color='red'><b>CLOWN SUPPORT SYSTEM MALFUNCTION</b></font><br>":null] [internal_damage&MECHA_INT_TANK_BREACH?"<font color='red'><b>GAS TANK HONK</b></font><br>":null] - [internal_damage&MECHA_INT_CONTROL_LOST?"<font color='red'><b>HONK-A-DOODLE</b></font> - <a href='?src=[UID()];repair_int_control_lost=1'>Recalibrate</a><br>":null] + [internal_damage&MECHA_INT_CONTROL_LOST?"<font color='red'><b>HONK-A-DOODLE</b></font> - <a href='byond://?src=[UID()];repair_int_control_lost=1'>Recalibrate</a><br>":null] <b>IntegriHONK: </b> [integrity]%<br> <b>PowerHONK charge: </b>[isnull(cell_charge)?"No powercell installed":"[cell.percent()]%"]<br> <b>Air source: </b>[use_internal_tank?"Internal Airtank":"Environment"]<br> @@ -48,7 +48,7 @@ <b>HONK pressure: </b>[cabin_pressure>WARNING_HIGH_PRESSURE ? "<font color='red'>[cabin_pressure]</font>": cabin_pressure]kPa<br> <b>HONK temperature: </b> [return_temperature()]°K|[return_temperature() - T0C]°C<br> <b>Lights: </b>[lights?"on":"off"]<br> - [dna?"<b>DNA-locked:</b><br> <span style='font-size:10px;letter-spacing:-1px;'>[dna]</span> \[<a href='?src=[UID()];reset_dna=1'>Reset</a>\]<br>":null] + [dna?"<b>DNA-locked:</b><br> <span style='font-size:10px;letter-spacing:-1px;'>[dna]</span> \[<a href='byond://?src=[UID()];reset_dna=1'>Reset</a>\]<br>":null] "} return output @@ -111,7 +111,7 @@ var/output = {"<div class='wr'> <div class='header'>Sounds of HONK:</div> <div class='links'> - <a href='?src=[UID()];play_sound=sadtrombone'>Sad Trombone</a> + <a href='byond://?src=[UID()];play_sound=sadtrombone'>Sad Trombone</a> </div> </div> "} diff --git a/code/game/mecha/combat/phazon.dm b/code/game/mecha/combat/phazon.dm index 4711eedb5fd6..9eb80d4b21fc 100644 --- a/code/game/mecha/combat/phazon.dm +++ b/code/game/mecha/combat/phazon.dm @@ -41,7 +41,7 @@ var/output = {"<div class='wr'> <div class='header'>Special</div> <div class='links'> - <a href='?src=[UID()];switch_damtype=1'>Change melee damage type</a><br> + <a href='byond://?src=[UID()];switch_damtype=1'>Change melee damage type</a><br> </div> </div> "} diff --git a/code/game/mecha/equipment/mecha_equipment.dm b/code/game/mecha/equipment/mecha_equipment.dm index 1b7b2013667d..28dbc2f5bea2 100644 --- a/code/game/mecha/equipment/mecha_equipment.dm +++ b/code/game/mecha/equipment/mecha_equipment.dm @@ -47,7 +47,7 @@ if(chassis.selected == src) txt += "<b>[name]</b>" else if(selectable) - txt += "<a href='?src=[chassis.UID()];select_equip=\ref[src]'>[name]</a>" + txt += "<a href='byond://?src=[chassis.UID()];select_equip=\ref[src]'>[name]</a>" else txt += "[name]" diff --git a/code/game/mecha/equipment/tools/medical_tools.dm b/code/game/mecha/equipment/tools/medical_tools.dm index 4d70c30b9ccc..0a8558fbc038 100644 --- a/code/game/mecha/equipment/tools/medical_tools.dm +++ b/code/game/mecha/equipment/tools/medical_tools.dm @@ -105,7 +105,7 @@ if(output) var/temp = "" if(patient) - temp = "<br />\[Occupant: [patient] ([patient.stat > 1 ? "*DECEASED*" : "Health: [patient.health]%"])\]<br /><a href='?src=[UID()];view_stats=1'>View stats</a>|<a href='?src=[UID()];eject=1'>Eject</a>" + temp = "<br />\[Occupant: [patient] ([patient.stat > 1 ? "*DECEASED*" : "Health: [patient.health]%"])\]<br /><a href='byond://?src=[UID()];view_stats=1'>View stats</a>|<a href='byond://?src=[UID()];eject=1'>Eject</a>" return "[output] [temp]" /obj/item/mecha_parts/mecha_equipment/medical/sleeper/Topic(href,href_list) @@ -184,7 +184,7 @@ if(SG && SG.reagents && islist(SG.reagents.reagent_list)) for(var/datum/reagent/R in SG.reagents.reagent_list) if(R.volume > 0) - output += "<a href=\"?src=[UID()];inject=\ref[R];source=\ref[SG]\">Inject [R.name]</a><br />" + output += "<a href='byond://?src=[UID()];inject=\ref[R];source=\ref[SG]'>Inject [R.name]</a><br />" return output @@ -276,7 +276,7 @@ /obj/item/mecha_parts/mecha_equipment/medical/syringe_gun/get_equip_info() var/output = ..() if(output) - return "[output] \[<a href=\"?src=[UID()];toggle_mode=1\">[mode? "Analyze" : "Launch"]</a>\]<br />\[Syringes: [syringes.len]/[max_syringes] | Reagents: [reagents.total_volume]/[reagents.maximum_volume]\]<br /><a href='?src=[UID()];show_reagents=1'>Reagents list</a>" + return "[output] \[<a href='byond://?src=[UID()];toggle_mode=1'>[mode? "Analyze" : "Launch"]</a>\]<br />\[Syringes: [syringes.len]/[max_syringes] | Reagents: [reagents.total_volume]/[reagents.maximum_volume]\]<br /><a href='byond://?src=[UID()];show_reagents=1'>Reagents list</a>" /obj/item/mecha_parts/mecha_equipment/medical/syringe_gun/action(atom/movable/target) if(!action_checks(target)) @@ -436,9 +436,9 @@ var/output for(var/datum/reagent/R in reagents.reagent_list) if(R.volume > 0) - output += "[R]: [round(R.volume,0.001)] - <a href=\"?src=[UID()];purge_reagent=[R.id]\">Purge Reagent</a><br />" + output += "[R]: [round(R.volume,0.001)] - <a href='byond://?src=[UID()];purge_reagent=[R.id]'>Purge Reagent</a><br />" if(output) - output += "Total: [round(reagents.total_volume,0.001)]/[reagents.maximum_volume] - <a href=\"?src=[UID()];purge_all=1\">Purge All</a>" + output += "Total: [round(reagents.total_volume,0.001)]/[reagents.maximum_volume] - <a href='byond://?src=[UID()];purge_all=1'>Purge All</a>" return output || "None" /obj/item/mecha_parts/mecha_equipment/medical/syringe_gun/proc/load_syringe(obj/item/reagent_containers/syringe/S) diff --git a/code/game/mecha/equipment/tools/other_tools.dm b/code/game/mecha/equipment/tools/other_tools.dm index 2430888436cd..0869bb8b7be2 100644 --- a/code/game/mecha/equipment/tools/other_tools.dm +++ b/code/game/mecha/equipment/tools/other_tools.dm @@ -92,7 +92,7 @@ /obj/item/mecha_parts/mecha_equipment/gravcatapult/get_equip_info() - return "[..()] [mode==1?"([locked||"Nothing"])":null] \[<a href='?src=[UID()];mode=1'>S</a>|<a href='?src=[UID()];mode=2'>P</a>\]" + return "[..()] [mode==1?"([locked||"Nothing"])":null] \[<a href='byond://?src=[UID()];mode=1'>S</a>|<a href='byond://?src=[UID()];mode=2'>P</a>\]" /obj/item/mecha_parts/mecha_equipment/gravcatapult/Topic(href, href_list) ..() @@ -172,7 +172,7 @@ /obj/item/mecha_parts/mecha_equipment/repair_droid/get_equip_info() if(!chassis) return - return "<span style=\"color:[equip_ready?"#0f0":"#f00"];\">*</span> [name] - <a href='?src=[UID()];toggle_repairs=1'>[equip_ready?"A":"Dea"]ctivate</a>" + return "<span style=\"color:[equip_ready?"#0f0":"#f00"];\">*</span> [name] - <a href='byond://?src=[UID()];toggle_repairs=1'>[equip_ready?"A":"Dea"]ctivate</a>" /obj/item/mecha_parts/mecha_equipment/repair_droid/Topic(href, href_list) @@ -277,7 +277,7 @@ /obj/item/mecha_parts/mecha_equipment/tesla_energy_relay/get_equip_info() if(!chassis) return - return "<span style=\"color:[equip_ready?"#0f0":"#f00"];\">*</span> [name] - <a href='?src=[UID()];toggle_relay=1'>[equip_ready?"A":"Dea"]ctivate</a>" + return "<span style=\"color:[equip_ready?"#0f0":"#f00"];\">*</span> [name] - <a href='byond://?src=[UID()];toggle_relay=1'>[equip_ready?"A":"Dea"]ctivate</a>" /obj/item/mecha_parts/mecha_equipment/tesla_energy_relay/process() @@ -346,7 +346,7 @@ /obj/item/mecha_parts/mecha_equipment/generator/get_equip_info() var/output = ..() if(output) - return "[output] \[[fuel_name]: [round(fuel_amount,0.1)] cm<sup>3</sup>\] - <a href='?src=[UID()];toggle=1'>[equip_ready?"A":"Dea"]ctivate</a>" + return "[output] \[[fuel_name]: [round(fuel_amount,0.1)] cm<sup>3</sup>\] - <a href='byond://?src=[UID()];toggle=1'>[equip_ready?"A":"Dea"]ctivate</a>" /obj/item/mecha_parts/mecha_equipment/generator/action(target) if(chassis) diff --git a/code/game/mecha/equipment/tools/work_tools.dm b/code/game/mecha/equipment/tools/work_tools.dm index 101891666c2f..575bad890e32 100644 --- a/code/game/mecha/equipment/tools/work_tools.dm +++ b/code/game/mecha/equipment/tools/work_tools.dm @@ -292,7 +292,7 @@ occupant_message("Switched RCD to Construct Airlock.") /obj/item/mecha_parts/mecha_equipment/rcd/get_equip_info() - return "[..()] \[<a href='?src=[UID()];mode=0'>D</a>|<a href='?src=[UID()];mode=1'>C</a>|<a href='?src=[UID()];mode=2'>A</a>\]" + return "[..()] \[<a href='byond://?src=[UID()];mode=0'>D</a>|<a href='byond://?src=[UID()];mode=1'>C</a>|<a href='byond://?src=[UID()];mode=2'>A</a>\]" /obj/item/mecha_parts/mecha_equipment/mimercd @@ -395,7 +395,7 @@ /obj/item/mecha_parts/mecha_equipment/cable_layer/get_equip_info() var/output = ..() if(output) - return "[output] \[Cable: [cable ? cable.amount : 0] m\][(cable && cable.amount) ? "- <a href='?src=[UID()];toggle=1'>[!equip_ready?"Dea":"A"]ctivate</a>|<a href='?src=[UID()];cut=1'>Cut</a>" : null]" + return "[output] \[Cable: [cable ? cable.amount : 0] m\][(cable && cable.amount) ? "- <a href='byond://?src=[UID()];toggle=1'>[!equip_ready?"Dea":"A"]ctivate</a>|<a href='byond://?src=[UID()];cut=1'>Cut</a>" : null]" /obj/item/mecha_parts/mecha_equipment/cable_layer/proc/use_cable(amount) if(!cable || cable.amount<1) diff --git a/code/game/mecha/equipment/weapons/weapons.dm b/code/game/mecha/equipment/weapons/weapons.dm index 202660af9b95..bae4537ee058 100644 --- a/code/game/mecha/equipment/weapons/weapons.dm +++ b/code/game/mecha/equipment/weapons/weapons.dm @@ -256,7 +256,7 @@ return FALSE /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/get_equip_info() - return "[..()]\[[projectiles]\][(projectiles < initial(projectiles))?" - <a href='?src=[UID()];rearm=1'>Rearm</a>":null]" + return "[..()]\[[projectiles]\][(projectiles < initial(projectiles))?" - <a href='byond://?src=[UID()];rearm=1'>Rearm</a>":null]" /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/proc/rearm() if(projectiles < initial(projectiles)) @@ -386,7 +386,7 @@ size=1 /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/flashbang/clusterbang/limited/get_equip_info()//Limited version of the clusterbang launcher that can't reload - return "<span style=\"color:[equip_ready?"#0f0":"#f00"];\">*</span> [chassis.selected==src?"<b>":"<a href='?src=[chassis.UID()];select_equip=\ref[src]'>"][name][chassis.selected==src?"</b>":"</a>"]\[[projectiles]\]" + return "<span style=\"color:[equip_ready?"#0f0":"#f00"];\">*</span> [chassis.selected==src?"<b>":"<a href='byond://?src=[chassis.UID()];select_equip=\ref[src]'>"][name][chassis.selected==src?"</b>":"</a>"]\[[projectiles]\]" /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/flashbang/clusterbang/limited/rearm() return//Extra bit of security diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index 61045970526b..30c81e6743f3 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -918,7 +918,7 @@ to_chat(user, "[B.get_mecha_info_text()]") break //Nothing like a big, red link to make the player feel powerful! - to_chat(user, "<a href='?src=[user.UID()];ai_take_control=\ref[src]'><span class='userdanger'>ASSUME DIRECT CONTROL?</span></a><br>") + to_chat(user, "<a href='byond://?src=[user.UID()];ai_take_control=\ref[src]'><span class='userdanger'>ASSUME DIRECT CONTROL?</span></a><br>") else examine(user) if(occupant) @@ -933,7 +933,7 @@ if(!can_control_mech) to_chat(user, "<span class='warning'>You cannot control exosuits without AI control beacons installed.</span>") return - to_chat(user, "<a href='?src=[user.UID()];ai_take_control=\ref[src]'><span class='boldnotice'>Take control of exosuit?</span></a><br>") + to_chat(user, "<a href='byond://?src=[user.UID()];ai_take_control=\ref[src]'><span class='boldnotice'>Take control of exosuit?</span></a><br>") /obj/mecha/transfer_ai(interaction, mob/user, mob/living/silicon/ai/AI, obj/item/aicard/card) if(!..()) diff --git a/code/game/mecha/mecha_topic.dm b/code/game/mecha/mecha_topic.dm index f52c0f5fb174..da1893c5a762 100644 --- a/code/game/mecha/mecha_topic.dm +++ b/code/game/mecha/mecha_topic.dm @@ -55,7 +55,7 @@ "[MECHA_INT_FIRE]" = "<font color='red'><b>INTERNAL FIRE</b></font>", "[MECHA_INT_TEMP_CONTROL]" = "<font color='red'><b>LIFE SUPPORT SYSTEM MALFUNCTION</b></font>", "[MECHA_INT_TANK_BREACH]" = "<font color='red'><b>GAS TANK BREACH</b></font>", - "[MECHA_INT_CONTROL_LOST]" = "<font color='red'><b>COORDINATION SYSTEM CALIBRATION FAILURE</b></font> - <a href='?src=[UID()];repair_int_control_lost=1'>Recalibrate</a>", + "[MECHA_INT_CONTROL_LOST]" = "<font color='red'><b>COORDINATION SYSTEM CALIBRATION FAILURE</b></font> - <a href='byond://?src=[UID()];repair_int_control_lost=1'>Recalibrate</a>", "[MECHA_INT_SHORT_CIRCUIT]" = "<font color='red'><b>SHORT CIRCUIT</b></font>" ) for(var/tflag in dam_reports) @@ -85,7 +85,7 @@ . += "<b>Cabin pressure: </b>[cabin_pressure>WARNING_HIGH_PRESSURE ? "<font color='red'>[cabin_pressure]</font>": cabin_pressure]kPa<br>" . += "<b>Cabin temperature: </b> [return_temperature()]°K|[return_temperature() - T0C]°C<br>" . += "<b>Lights: </b>[lights?"on":"off"]<br>" - . += "[dna ? "<b>DNA-locked:</b><br> <span style='font-size:10px;letter-spacing:-1px;'>[dna]</span> \[<a href='?src=[UID()];reset_dna=1'>Reset</a>\]<br>" : ""]" + . += "[dna ? "<b>DNA-locked:</b><br> <span style='font-size:10px;letter-spacing:-1px;'>[dna]</span> \[<a href='byond://?src=[UID()];reset_dna=1'>Reset</a>\]<br>" : ""]" . += "[defense_action.owner ? "<b>Defence Mode: </b> [defence_mode ? "Enabled" : "Disabled"]<br>" : ""]" . += "[overload_action.owner ? "<b>Leg Actuators Overload: </b> [leg_overload_mode ? "Enabled" : "Disabled"]<br>" : ""]" . += "[thrusters_action.owner ? "<b>Thrusters: </b> [thrusters_active ? "Enabled" : "Disabled"]<br>" : ""]" @@ -97,37 +97,37 @@ . = "<div class='wr'>" . += "<div class='header'>Electronics</div>" . += "<div class='links'>" - . += "<a href='?src=[UID()];toggle_lights=1'>Toggle Lights</a><br>" + . += "<a href='byond://?src=[UID()];toggle_lights=1'>Toggle Lights</a><br>" . += "<b>Radio settings:</b><br>" - . += "Microphone: <a href='?src=[UID()];rmictoggle=1'><span id='rmicstate'>[radio.broadcasting?"Engaged":"Disengaged"]</span></a><br>" - . += "Speaker: <a href='?src=[UID()];rspktoggle=1'><span id='rspkstate'>[radio.listening?"Engaged":"Disengaged"]</span></a><br>" + . += "Microphone: <a href='byond://?src=[UID()];rmictoggle=1'><span id='rmicstate'>[radio.broadcasting?"Engaged":"Disengaged"]</span></a><br>" + . += "Speaker: <a href='byond://?src=[UID()];rspktoggle=1'><span id='rspkstate'>[radio.listening?"Engaged":"Disengaged"]</span></a><br>" . += "Frequency:" - . += "<a href='?src=[UID()];rfreq=-10'>-</a>" - . += "<a href='?src=[UID()];rfreq=-2'>-</a>" + . += "<a href='byond://?src=[UID()];rfreq=-10'>-</a>" + . += "<a href='byond://?src=[UID()];rfreq=-2'>-</a>" . += "<span id='rfreq'>[format_frequency(radio.frequency)]</span>" - . += "<a href='?src=[UID()];rfreq=2'>+</a>" - . += "<a href='?src=[UID()];rfreq=10'>+</a><br>" + . += "<a href='byond://?src=[UID()];rfreq=2'>+</a>" + . += "<a href='byond://?src=[UID()];rfreq=10'>+</a><br>" . += "</div>" . += "</div>" . += "<div class='wr'>" . += "<div class='header'>Airtank</div>" . += "<div class='links'>" - . += "<a href='?src=[UID()];toggle_airtank=1'>Toggle Internal Airtank Usage</a><br>" + . += "<a href='byond://?src=[UID()];toggle_airtank=1'>Toggle Internal Airtank Usage</a><br>" . += "</div>" . += "</div>" . += "<div class='wr'>" . += "<div class='header'>Permissions & Logging</div>" . += "<div class='links'>" - . += "<a href='?src=[UID()];toggle_id_upload=1'><span id='t_id_upload'>[add_req_access?"L":"Unl"]ock ID upload panel</span></a><br>" - . += "<a href='?src=[UID()];toggle_maint_access=1'><span id='t_maint_access'>[maint_access?"Forbid":"Permit"] maintenance protocols</span></a><br>" - . += "<a href='?src=[UID()];dna_lock=1'>DNA-lock</a><br>" - . += "<a href='?src=[UID()];view_log=1'>View internal log</a><br>" - . += "<a href='?src=[UID()];change_name=1'>Change exosuit name</a><br>" + . += "<a href='byond://?src=[UID()];toggle_id_upload=1'><span id='t_id_upload'>[add_req_access?"L":"Unl"]ock ID upload panel</span></a><br>" + . += "<a href='byond://?src=[UID()];toggle_maint_access=1'><span id='t_maint_access'>[maint_access?"Forbid":"Permit"] maintenance protocols</span></a><br>" + . += "<a href='byond://?src=[UID()];dna_lock=1'>DNA-lock</a><br>" + . += "<a href='byond://?src=[UID()];view_log=1'>View internal log</a><br>" + . += "<a href='byond://?src=[UID()];change_name=1'>Change exosuit name</a><br>" . += "</div>" . += "</div>" . += "<div id='equipment_menu'>[get_equipment_menu()]</div>" . += "<hr>" - . += "<a href='?src=[UID()];eject=1'>Eject</a><br>" + . += "<a href='byond://?src=[UID()];eject=1'>Eject</a><br>" /obj/mecha/proc/get_equipment_menu() //outputs mecha html equipment menu . = "" @@ -136,7 +136,7 @@ . += "<div class='header'>Equipment</div>" . += "<div class='links'>" for(var/obj/item/mecha_parts/mecha_equipment/W in equipment) - . += "[W.name] <a href='?src=[W.UID()];detach=1'>Detach</a><br>" + . += "[W.name] <a href='byond://?src=[W.UID()];detach=1'>Detach</a><br>" . += "<b>Available equipment slots:</b> [max_equip-equipment.len]" . += "</div></div>" @@ -179,19 +179,19 @@ <body> <h1>Following keycodes are present in this system:</h1>"} for(var/a in operation_req_access) - output += "[get_access_desc(a)] - <a href='?src=[UID()];del_req_access=[a];user=\ref[user];id_card=\ref[id_card]'>Delete</a><br>" + output += "[get_access_desc(a)] - <a href='byond://?src=[UID()];del_req_access=[a];user=\ref[user];id_card=\ref[id_card]'>Delete</a><br>" - output += "<a href='?src=[UID()];del_all_req_access=1;user=\ref[user];id_card=\ref[id_card]'><br><b>Delete All</b></a><br>" + output += "<a href='byond://?src=[UID()];del_all_req_access=1;user=\ref[user];id_card=\ref[id_card]'><br><b>Delete All</b></a><br>" output += "<hr><h1>Following keycodes were detected on portable device:</h1>" for(var/a in id_card.access) if(a in operation_req_access) continue if(!get_access_desc(a)) continue //there's some strange access without a name - output += "[get_access_desc(a)] - <a href='?src=[UID()];add_req_access=[a];user=\ref[user];id_card=\ref[id_card]'>Add</a><br>" + output += "[get_access_desc(a)] - <a href='byond://?src=[UID()];add_req_access=[a];user=\ref[user];id_card=\ref[id_card]'>Add</a><br>" - output += "<a href='?src=[UID()];add_all_req_access=1;user=\ref[user];id_card=\ref[id_card]'><br><b>Add All</b></a><br>" - output += "<hr><a href='?src=[UID()];finish_req_access=1;user=\ref[user]'>Finish</a> <font color='red'>(Warning! The ID upload panel will be locked. It can be unlocked only through Exosuit Interface.)</font>" + output += "<a href='byond://?src=[UID()];add_all_req_access=1;user=\ref[user];id_card=\ref[id_card]'><br><b>Add All</b></a><br>" + output += "<hr><a href='byond://?src=[UID()];finish_req_access=1;user=\ref[user]'>Finish</a> <font color='red'>(Warning! The ID upload panel will be locked. It can be unlocked only through Exosuit Interface.)</font>" output += "</body></html>" user << browse(output, "window=exosuit_add_access") onclose(user, "exosuit_add_access") @@ -207,9 +207,9 @@ </style> </head> <body> - [add_req_access?"<a href='?src=[UID()];req_access=1;id_card=\ref[id_card];user=\ref[user]'>Edit operation keycodes</a>":null] - [maint_access?"<a href='?src=[UID()];maint_access=1;id_card=\ref[id_card];user=\ref[user]'>Initiate/Stop maintenance protocol</a>":null] - [(state>0) ?"<a href='?src=[UID()];set_internal_tank_valve=1;user=\ref[user]'>Set Cabin Air Pressure</a>":null] + [add_req_access?"<a href='byond://?src=[UID()];req_access=1;id_card=\ref[id_card];user=\ref[user]'>Edit operation keycodes</a>":null] + [maint_access?"<a href='byond://?src=[UID()];maint_access=1;id_card=\ref[id_card];user=\ref[user]'>Initiate/Stop maintenance protocol</a>":null] + [(state>0) ?"<a href='byond://?src=[UID()];set_internal_tank_valve=1;user=\ref[user]'>Set Cabin Air Pressure</a>":null] </body> </html>"} user << browse(output, "window=exosuit_maint_console") diff --git a/code/game/mecha/working/ripley.dm b/code/game/mecha/working/ripley.dm index 66ad6d2f8649..6fd31c927440 100644 --- a/code/game/mecha/working/ripley.dm +++ b/code/game/mecha/working/ripley.dm @@ -165,7 +165,7 @@ output += "<b>Cargo Compartment Contents:</b><div style=\"margin-left: 15px;\">" if(cargo.len) for(var/obj/O in cargo) - output += "<a href='?src=[UID()];drop_from_cargo=\ref[O]'>Unload</a> : [O]<br>" + output += "<a href='byond://?src=[UID()];drop_from_cargo=\ref[O]'>Unload</a> : [O]<br>" else output += "Nothing" output += "</div>" diff --git a/code/game/objects/effects/effect_system/effects_chem_smoke.dm b/code/game/objects/effects/effect_system/effects_chem_smoke.dm index f500870dcd34..57e04e26e22d 100644 --- a/code/game/objects/effects/effect_system/effects_chem_smoke.dm +++ b/code/game/objects/effects/effect_system/effects_chem_smoke.dm @@ -75,7 +75,7 @@ var/area/A = get_area(location) var/where = "[A.name] | [location.x], [location.y]" - var/whereLink = "<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[location.x];Y=[location.y];Z=[location.z]'>[where]</a>" + var/whereLink = "<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[location.x];Y=[location.y];Z=[location.z]'>[where]</a>" if(carry && carry.my_atom) if(carry.my_atom.fingerprintslast) diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index 6870e36bc9b3..3e9a495dff8f 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -932,3 +932,6 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons /obj/item/proc/canStrip(mob/stripper, mob/owner) SHOULD_BE_PURE(TRUE) return !(flags & NODROP) && !(flags & ABSTRACT) + +/obj/item/proc/should_stack_with(obj/item/other) + return type == other.type && name == other.name diff --git a/code/game/objects/items/blueprints.dm b/code/game/objects/items/blueprints.dm index 7036efed4e73..a7b423a097e6 100644 --- a/code/game/objects/items/blueprints.dm +++ b/code/game/objects/items/blueprints.dm @@ -29,7 +29,7 @@ switch(get_area_type()) if(AREA_SPACE) text += "<p>According to [src], you are now in <b>outer space</b>. Hold your breath.</p> \ - <p><a href='?src=[UID()];create_area=1'>Mark this place as new area.</a></p>" + <p><a href='byond://?src=[UID()];create_area=1'>Mark this place as new area.</a></p>" if(AREA_SPECIAL) text += "<p>This place is not noted on [src].</p>" return text @@ -107,12 +107,12 @@ var/area/our_area = get_area(src) if(get_area_type() == AREA_STATION) . += "<p>According to [src], you are now in <b>\"[sanitize(our_area.name)]\"</b>.</p>" - . += "<p>You may <a href='?src=[UID()];edit_area=1'> move an amendment</a> to the drawing.</p>" + . += "<p>You may <a href='byond://?src=[UID()];edit_area=1'> move an amendment</a> to the drawing.</p>" if(!viewing) - . += "<p><a href='?src=[UID()];view_blueprints=1'>View structural data</a></p>" + . += "<p><a href='byond://?src=[UID()];view_blueprints=1'>View structural data</a></p>" else - . += "<p><a href='?src=[UID()];refresh=1'>Refresh structural data</a></p>" - . += "<p><a href='?src=[UID()];hide_blueprints=1'>Hide structural data</a></p>" + . += "<p><a href='byond://?src=[UID()];refresh=1'>Refresh structural data</a></p>" + . += "<p><a href='byond://?src=[UID()];hide_blueprints=1'>Hide structural data</a></p>" var/datum/browser/popup = new(user, "blueprints", "[src]", 700, 500) popup.set_content(.) popup.open() diff --git a/code/game/objects/items/crayons.dm b/code/game/objects/items/crayons.dm index 24c2a88a4748..5b8fc955e737 100644 --- a/code/game/objects/items/crayons.dm +++ b/code/game/objects/items/crayons.dm @@ -51,22 +51,22 @@ current_drawtype += copytext(preset_message, preset_message_index + 1) current_drawtype = uppertext(current_drawtype) dat += "<center><h2>Currently selected: [current_drawtype]</h2><br>" - dat += "<a href='?src=[UID()];type=random_letter'>Random letter</a><a href='?src=[UID()];type=letter'>Pick letter</a><br />" - dat += "<a href='?src=[UID()];type=message'>Message</a>" + dat += "<a href='byond://?src=[UID()];type=random_letter'>Random letter</a><a href='byond://?src=[UID()];type=letter'>Pick letter</a><br />" + dat += "<a href='byond://?src=[UID()];type=message'>Message</a>" dat += "<hr>" dat += "<h3>Runes:</h3><br>" - dat += "<a href='?src=[UID()];type=random_rune'>Random rune</a>" + dat += "<a href='byond://?src=[UID()];type=random_rune'>Random rune</a>" for(var/i = 1; i <= 8; i++) - dat += "<a href='?src=[UID()];type=rune[i]'>Rune [i]</a>" + dat += "<a href='byond://?src=[UID()];type=rune[i]'>Rune [i]</a>" if(!((i + 1) % 3)) //3 buttons in a row dat += "<br>" dat += "<hr>" graffiti.Find() dat += "<h3>Graffiti:</h3><br>" - dat += "<a href='?src=[UID()];type=random_graffiti'>Random graffiti</a>" + dat += "<a href='byond://?src=[UID()];type=random_graffiti'>Random graffiti</a>" var/c = 1 for(var/T in graffiti) - dat += "<a href='?src=[UID()];type=[T]'>[T]</a>" + dat += "<a href='byond://?src=[UID()];type=[T]'>[T]</a>" if(!((c + 1) % 3)) //3 buttons in a row dat += "<br>" c++ @@ -136,7 +136,6 @@ busy = FALSE /obj/item/toy/crayon/attack(mob/M, mob/user) - var/huffable = istype(src,/obj/item/toy/crayon/spraycan) if(M == user) if(ishuman(user)) var/mob/living/carbon/human/H = user @@ -147,7 +146,7 @@ playsound(loc, 'sound/items/eatfood.ogg', 50, 0) user.adjust_nutrition(5) if(times_eaten < max_bites) - to_chat(user, "<span class='notice'>You take a [huffable ? "huff" : "bite"] of the [name]. Delicious!</span>") + to_chat(user, "<span class='notice'>You take a bite of the [name]. Delicious!</span>") else to_chat(user, "<span class='warning'>There is no more of [name] left!</span>") qdel(src) @@ -258,7 +257,7 @@ update_window(user) /obj/item/toy/crayon/mime/update_window(mob/living/user as mob) - dat += "<center><span style='border:1px solid #161616; background-color: [colour];'> </span><a href='?src=[UID()];color=1'>Change color</a></center>" + dat += "<center><span style='border:1px solid #161616; background-color: [colour];'> </span><a href='byond://?src=[UID()];color=1'>Change color</a></center>" ..() /obj/item/toy/crayon/mime/Topic(href,href_list) @@ -284,7 +283,7 @@ update_window(user) /obj/item/toy/crayon/rainbow/update_window(mob/living/user as mob) - dat += "<center><span style='border:1px solid #161616; background-color: [colour];'> </span><a href='?src=[UID()];color=1'>Change color</a></center>" + dat += "<center><span style='border:1px solid #161616; background-color: [colour];'> </span><a href='byond://?src=[UID()];color=1'>Change color</a></center>" ..() /obj/item/toy/crayon/rainbow/Topic(href,href_list[]) @@ -302,7 +301,7 @@ /obj/item/toy/crayon/spraycan name = "\improper Nanotrasen-brand Rapid Paint Applicator" - desc = "A metallic container containing tasty paint." + desc = "A metallic container containing spray paint." icon_state = "spraycan_cap" var/capped = TRUE instant = TRUE @@ -312,6 +311,9 @@ ..() update_icon() +/obj/item/toy/crayon/spraycan/attack(mob/M, mob/user) + return // To stop you from eating spraycans. It's TOO SILLY! + /obj/item/toy/crayon/spraycan/attack_self(mob/living/user) var/choice = tgui_input_list(user, "Do you want to...", "Spraycan Options", list("Toggle Cap","Change Drawing", "Change Color")) switch(choice) @@ -329,26 +331,26 @@ if(!proximity) return if(capped) + to_chat(user, "<span class='warning'>You cannot spray [target] while the cap is still on!</span>") return - else - if(iscarbon(target)) - if(uses - 10 > 0) - uses = uses - 10 - var/mob/living/carbon/C = target - user.visible_message("<span class='danger'> [user] sprays [src] into the face of [target]!</span>") - if(C.client) - C.EyeBlurry(6 SECONDS) - C.EyeBlind(2 SECONDS) - if(ishuman(target)) - var/mob/living/carbon/human/H = target - if(H.check_eye_prot() <= 0) // no eye protection? ARGH IT BURNS. - H.Confused(6 SECONDS) - H.KnockDown(6 SECONDS) - H.lip_style = "spray_face" - H.lip_color = colour - H.update_body() - playsound(user, 'sound/effects/spray.ogg', 5, TRUE, 5) - ..() + if(iscarbon(target)) + if(uses - 10 > 0) + uses = uses - 10 + var/mob/living/carbon/C = target + user.visible_message("<span class='danger'> [user] sprays [src] into the face of [target]!</span>") + if(C.client) + C.EyeBlurry(6 SECONDS) + C.EyeBlind(2 SECONDS) + if(ishuman(target)) + var/mob/living/carbon/human/H = target + if(H.check_eye_prot() <= 0) // no eye protection? ARGH IT BURNS. + H.Confused(6 SECONDS) + H.KnockDown(6 SECONDS) + H.lip_style = "spray_face" + H.lip_color = colour + H.update_body() + playsound(user, 'sound/effects/spray.ogg', 5, TRUE, 5) + ..() /obj/item/toy/crayon/spraycan/update_icon_state() icon_state = "spraycan[capped ? "_cap" : ""]" diff --git a/code/game/objects/items/devices/powersink.dm b/code/game/objects/items/devices/powersink.dm index 275ef8156824..daa6652feed5 100644 --- a/code/game/objects/items/devices/powersink.dm +++ b/code/game/objects/items/devices/powersink.dm @@ -77,7 +77,7 @@ else set_mode(CLAMPED_OFF) visible_message("<span class='notice'>[user] attaches [src] to the cable!</span>") - message_admins("Power sink activated by [key_name_admin(user)] at ([x],[y],[z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") + message_admins("Power sink activated by [key_name_admin(user)] at ([x],[y],[z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") log_game("Power sink activated by [key_name(user)] at ([x],[y],[z])") else to_chat(user, "Device must be placed over an exposed cable to attach to it.") @@ -140,7 +140,7 @@ if(power_drained > max_power * 0.98) if(!admins_warned) admins_warned = TRUE - message_admins("Power sink at ([x],[y],[z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>) is 95% full. Explosion imminent.") + message_admins("Power sink at ([x],[y],[z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>) is 95% full. Explosion imminent.") playsound(src, 'sound/effects/screech.ogg', 100, 1, 1) if(power_drained >= max_power) diff --git a/code/game/objects/items/devices/transfer_valve.dm b/code/game/objects/items/devices/transfer_valve.dm index 994ff550b1ef..ce408dc2f5d1 100644 --- a/code/game/objects/items/devices/transfer_valve.dm +++ b/code/game/objects/items/devices/transfer_valve.dm @@ -210,7 +210,7 @@ var/mob/mob = get_mob_by_key(src.fingerprintslast) investigate_log("Bomb valve opened at [A.name] ([bombturf.x],[bombturf.y],[bombturf.z]) with [attached_device ? attached_device : "no device"], attached by [attacher_name]. Last touched by: [key_name(mob)]", INVESTIGATE_BOMB) - message_admins("Bomb valve opened at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[bombturf.x];Y=[bombturf.y];Z=[bombturf.z]'>[A.name] (JMP)</a> with [attached_device ? attached_device : "no device"], attached by [attacher_name]. Last touched by: [key_name_admin(mob)]") + message_admins("Bomb valve opened at <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[bombturf.x];Y=[bombturf.y];Z=[bombturf.z]'>[A.name] (JMP)</a> with [attached_device ? attached_device : "no device"], attached by [attacher_name]. Last touched by: [key_name_admin(mob)]") log_game("Bomb valve opened at [A.name] ([bombturf.x],[bombturf.y],[bombturf.z]) with [attached_device ? attached_device : "no device"], attached by [attacher_name]. Last touched by: [key_name(mob)]") if(user) add_attack_logs(user, src, "Bomb valve opened with [attached_device ? attached_device : "no device"], attached by [attacher_name]. Last touched by: [key_name(mob)]", ATKLOG_FEW) diff --git a/code/game/objects/items/devices/voice_changer.dm b/code/game/objects/items/devices/voice_changer.dm index e7f34daa9612..26cd3ad6ff12 100644 --- a/code/game/objects/items/devices/voice_changer.dm +++ b/code/game/objects/items/devices/voice_changer.dm @@ -34,7 +34,7 @@ A.UpdateButtons() /obj/item/voice_changer/proc/set_voice(mob/user) - var/chosen_voice = input("What voice would you like to mimic? Leave this empty to use the voice on your ID card.", "Set Voice Changer", voice, user) + var/chosen_voice = tgui_input_text(user, "What voice would you like to mimic? Leave this empty to use the voice on your ID card.", "Set Voice Changer") if(!chosen_voice) voice = null to_chat(user, "<span class='notice'>You are now mimicking the voice on your ID card.</span>") diff --git a/code/game/objects/items/mixing_bowl.dm b/code/game/objects/items/mixing_bowl.dm index 4b81d55974a2..286e68e30887 100644 --- a/code/game/objects/items/mixing_bowl.dm +++ b/code/game/objects/items/mixing_bowl.dm @@ -107,7 +107,7 @@ dat = {"<B>[src] is empty</B><BR>"} else dat = {"<b>Ingredients:</b><br>[dat]"} - dat += {"<hr><br> <a href='?src=[UID()];action=dispose'>Dispose ingredients!</a><br>"} + dat += {"<hr><br> <a href='byond://?src=[UID()];action=dispose'>Dispose ingredients!</a><br>"} var/datum/browser/popup = new(user, name, name, 400, 400) popup.set_content(dat) diff --git a/code/game/objects/items/robot/robot_parts.dm b/code/game/objects/items/robot/robot_parts.dm index 481a626742a9..82282c1f96cd 100644 --- a/code/game/objects/items/robot/robot_parts.dm +++ b/code/game/objects/items/robot/robot_parts.dm @@ -326,13 +326,13 @@ return /obj/item/robot_parts/robot_suit/proc/Interact(mob/user) - var/t1 = "Designation: <A href='?src=[UID()];Name=1'>[(created_name ? "[created_name]" : "Default Cyborg")]</a><br>\n" - t1 += "Master AI: <A href='?src=[UID()];Master=1'>[(forced_ai ? "[forced_ai.name]" : "Automatic")]</a><br><br>\n" + var/t1 = "Designation: <A href='byond://?src=[UID()];Name=1'>[(created_name ? "[created_name]" : "Default Cyborg")]</a><br>\n" + t1 += "Master AI: <A href='byond://?src=[UID()];Master=1'>[(forced_ai ? "[forced_ai.name]" : "Automatic")]</a><br><br>\n" - t1 += "LawSync Port: <A href='?src=[UID()];Law=1'>[(lawsync ? "Open" : "Closed")]</a><br>\n" - t1 += "AI Connection Port: <A href='?src=[UID()];AI=1'>[(aisync ? "Open" : "Closed")]</a><br>\n" - t1 += "Servo Motor Functions: <A href='?src=[UID()];Loco=1'>[(locomotion ? "Unlocked" : "Locked")]</a><br>\n" - t1 += "Panel Lock: <A href='?src=[UID()];Panel=1'>[(panel_locked ? "Engaged" : "Disengaged")]</a><br>\n" + t1 += "LawSync Port: <A href='byond://?src=[UID()];Law=1'>[(lawsync ? "Open" : "Closed")]</a><br>\n" + t1 += "AI Connection Port: <A href='byond://?src=[UID()];AI=1'>[(aisync ? "Open" : "Closed")]</a><br>\n" + t1 += "Servo Motor Functions: <A href='byond://?src=[UID()];Loco=1'>[(locomotion ? "Unlocked" : "Locked")]</a><br>\n" + t1 += "Panel Lock: <A href='byond://?src=[UID()];Panel=1'>[(panel_locked ? "Engaged" : "Disengaged")]</a><br>\n" var/datum/browser/popup = new(user, "robotdebug", "Cyborg Boot Debug", 310, 220) popup.set_content(t1) popup.open() diff --git a/code/game/objects/items/stacks/stack.dm b/code/game/objects/items/stacks/stack.dm index ad46baad7f6c..f74144a9ca57 100644 --- a/code/game/objects/items/stacks/stack.dm +++ b/code/game/objects/items/stacks/stack.dm @@ -154,7 +154,7 @@ if(istype(E, /datum/stack_recipe_list)) var/datum/stack_recipe_list/srl = E - t1 += "<a href='?src=[UID()];sublist=[i]'>[srl.title]</a>" + t1 += "<a href='byond://?src=[UID()];sublist=[i]'>[srl.title]</a>" if(istype(E, /datum/stack_recipe)) var/datum/stack_recipe/R = E @@ -169,7 +169,7 @@ title += "[R.title]" title += " ([R.req_amount] [src.singular_name]\s)" if(can_build) - t1 += "<A href='?src=[UID()];sublist=[recipes_sublist];make=[i]'>[title]</A> " + t1 += "<A href='byond://?src=[UID()];sublist=[recipes_sublist];make=[i]'>[title]</A> " else t1 += "[title]" continue @@ -180,9 +180,9 @@ var/list/multipliers = list(5, 10, 25) for(var/n in multipliers) if(max_multiplier >= n) - t1 += " <A href='?src=[UID()];make=[i];multiplier=[n]'>[n * R.res_amount]x</A>" + t1 += " <A href='byond://?src=[UID()];make=[i];multiplier=[n]'>[n * R.res_amount]x</A>" if(!(max_multiplier in multipliers)) - t1 += " <A href='?src=[UID()];make=[i];multiplier=[max_multiplier]'>[max_multiplier * R.res_amount]x</A>" + t1 += " <A href='byond://?src=[UID()];make=[i];multiplier=[max_multiplier]'>[max_multiplier * R.res_amount]x</A>" var/datum/browser/popup = new(user, "stack", name, recipe_width, recipe_height) popup.set_content(t1) diff --git a/code/game/objects/items/stacks/stack_recipe.dm b/code/game/objects/items/stacks/stack_recipe.dm index 2558b2dc017a..e7b25f59b75b 100644 --- a/code/game/objects/items/stacks/stack_recipe.dm +++ b/code/game/objects/items/stacks/stack_recipe.dm @@ -134,7 +134,7 @@ /datum/stack_recipe/dangerous /datum/stack_recipe/dangerous/post_build(mob/user, obj/item/stack/S, obj/result) var/turf/targ = get_turf(user) - message_admins("[title] made by [key_name_admin(user)](<A HREF='?_src_=holder;adminmoreinfo=\ref[user]'>?</A>) in [get_area(user)] [ADMIN_COORDJMP(targ)]!",0,1) + message_admins("[title] made by [key_name_admin(user)](<A href='byond://?_src_=holder;adminmoreinfo=\ref[user]'>?</A>) in [get_area(user)] [ADMIN_COORDJMP(targ)]!",0,1) log_game("[title] made by [key_name_admin(user)] at [get_area(user)] [targ.x], [targ.y], [targ.z].") ..() diff --git a/code/game/objects/items/stacks/tiles/tile_mineral.dm b/code/game/objects/items/stacks/tiles/tile_mineral.dm index 1c499a7d6af4..2ead9e4593ca 100644 --- a/code/game/objects/items/stacks/tiles/tile_mineral.dm +++ b/code/game/objects/items/stacks/tiles/tile_mineral.dm @@ -13,7 +13,7 @@ atmos_spawn_air(LINDA_SPAWN_HEAT | LINDA_SPAWN_TOXINS, 5) user.visible_message("<span class='warning'>[user.name] sets the plasma tiles on fire!</span>", \ "<span class='warning'>You set the plasma tiles on fire!</span>") - message_admins("Plasma tiles ignited by [key_name_admin(user)](<A HREF='?_src_=holder;adminmoreinfo=\ref[user]'>?</A>) (<A HREF='?_src_=holder;adminplayerobservefollow=\ref[user]'>FLW</A>) in ([x],[y],[z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) + message_admins("Plasma tiles ignited by [key_name_admin(user)](<A href='byond://?_src_=holder;adminmoreinfo=\ref[user]'>?</A>) (<A href='byond://?_src_=holder;adminplayerobservefollow=\ref[user]'>FLW</A>) in ([x],[y],[z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) log_game("Plasma tiles ignited by [key_name(user)] in ([x],[y],[z])") investigate_log("was <font color='red'><b>ignited</b></font> by [key_name(user)]","atmos") qdel(src) diff --git a/code/game/objects/items/weapons/bio_chips/bio_chip_pad.dm b/code/game/objects/items/weapons/bio_chips/bio_chip_pad.dm index e0867c566524..8ddc1d8cfb3c 100644 --- a/code/game/objects/items/weapons/bio_chips/bio_chip_pad.dm +++ b/code/game/objects/items/weapons/bio_chips/bio_chip_pad.dm @@ -9,6 +9,7 @@ w_class = WEIGHT_CLASS_SMALL var/obj/item/bio_chip_case/case + var/static/list/cached_base64_icons = list() /obj/item/bio_chip_pad/Destroy() if(case) @@ -80,6 +81,10 @@ data["contains_case"] = case ? TRUE : FALSE if(case && case.imp) var/datum/implant_fluff/implant_data = case.imp.implant_data + var/icon/base64icon = cached_base64_icons["[initial(case.imp.icon)][initial(case.imp.icon_state)]"] + if(!base64icon) + base64icon = "[icon2base64(icon(initial(case.imp.icon), initial(case.imp.icon_state), SOUTH, 1))]" + cached_base64_icons["[initial(case.imp.icon)][initial(case.imp.icon_state)]"] = base64icon data["implant"] = list( "name" = implant_data.name, "life" = implant_data.life, diff --git a/code/game/objects/items/weapons/explosives.dm b/code/game/objects/items/weapons/explosives.dm index c17e99f0f8ee..ab458dc8c362 100644 --- a/code/game/objects/items/weapons/explosives.dm +++ b/code/game/objects/items/weapons/explosives.dm @@ -79,7 +79,7 @@ target = AM loc = null - message_admins("[key_name_admin(user)]([ADMIN_QUE(user,"?")]) ([ADMIN_FLW(user,"FLW")]) planted [src.name] on [target.name] at ([target.x],[target.y],[target.z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[target.x];Y=[target.y];Z=[target.z]'>JMP</a>) with [det_time] second fuse",0,1) + message_admins("[key_name_admin(user)]([ADMIN_QUE(user,"?")]) ([ADMIN_FLW(user,"FLW")]) planted [src.name] on [target.name] at ([target.x],[target.y],[target.z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[target.x];Y=[target.y];Z=[target.z]'>JMP</a>) with [det_time] second fuse",0,1) log_game("[key_name(user)] planted [name] on [target.name] at ([target.x],[target.y],[target.z]) with [det_time] second fuse") AddComponent(/datum/component/persistent_overlay, image_overlay, target) @@ -88,7 +88,7 @@ addtimer(CALLBACK(src, PROC_REF(prime)), det_time SECONDS) /obj/item/grenade/plastic/suicide_act(mob/user) - message_admins("[key_name_admin(user)]([ADMIN_QUE(user,"?")]) ([ADMIN_FLW(user,"FLW")]) suicided with [src.name] at ([user.x],[user.y],[user.z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[user.x];Y=[user.y];Z=[user.z]'>JMP</a>)",0,1) + message_admins("[key_name_admin(user)]([ADMIN_QUE(user,"?")]) ([ADMIN_FLW(user,"FLW")]) suicided with [src.name] at ([user.x],[user.y],[user.z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[user.x];Y=[user.y];Z=[user.z]'>JMP</a>)",0,1) log_game("[key_name(user)] suicided with [name] at ([user.x],[user.y],[user.z])") user.visible_message("<span class='suicide'>[user] activates [src] and holds it above [user.p_their()] head! It looks like [user.p_theyre()] going out with a bang!</span>") var/message_say = "FOR NO RAISIN!" diff --git a/code/game/objects/items/weapons/grenades/chem_grenade.dm b/code/game/objects/items/weapons/grenades/chem_grenade.dm index 2201e9c64930..81bf6cf32a57 100644 --- a/code/game/objects/items/weapons/grenades/chem_grenade.dm +++ b/code/game/objects/items/weapons/grenades/chem_grenade.dm @@ -293,9 +293,9 @@ var/mob/last = get_mob_by_ckey(nadeassembly.fingerprintslast) var/turf/T = get_turf(src) var/area/A = get_area(T) - message_admins("grenade primed by an assembly, attached by [key_name_admin(M)] and last touched by [key_name_admin(last)] ([nadeassembly.a_left.name] and [nadeassembly.a_right.name]) at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>[A.name] (JMP)</a>. [contained]") + message_admins("grenade primed by an assembly, attached by [key_name_admin(M)] and last touched by [key_name_admin(last)] ([nadeassembly.a_left.name] and [nadeassembly.a_right.name]) at <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>[A.name] (JMP)</a>. [contained]") log_game("grenade primed by an assembly, attached by [key_name(M)] and last touched by [key_name(last)] ([nadeassembly.a_left.name] and [nadeassembly.a_right.name]) at [A.name] ([T.x], [T.y], [T.z]) [contained]") - investigate_log("grenade primed by an assembly, attached by [key_name_admin(M)] and last touched by [key_name_admin(last)] ([nadeassembly.a_left.name] and [nadeassembly.a_right.name]) at <a href='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>[A.name] (JMP)</a>.", INVESTIGATE_BOMB) + investigate_log("grenade primed by an assembly, attached by [key_name_admin(M)] and last touched by [key_name_admin(last)] ([nadeassembly.a_left.name] and [nadeassembly.a_right.name]) at <a href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>[A.name] (JMP)</a>.", INVESTIGATE_BOMB) add_attack_logs(last, src, "has armed for detonation", ATKLOG_FEW) update_mob() @@ -427,9 +427,9 @@ var/mob/last = get_mob_by_ckey(nadeassembly.fingerprintslast) var/turf/T = get_turf(src) var/area/A = get_area(T) - message_admins("grenade primed by an assembly, attached by [key_name_admin(M)] and last touched by [key_name_admin(last)] ([nadeassembly.a_left.name] and [nadeassembly.a_right.name]) at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>[A.name] (JMP)</a>.") + message_admins("grenade primed by an assembly, attached by [key_name_admin(M)] and last touched by [key_name_admin(last)] ([nadeassembly.a_left.name] and [nadeassembly.a_right.name]) at <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>[A.name] (JMP)</a>.") log_game("grenade primed by an assembly, attached by [key_name(M)] and last touched by [key_name(last)] ([nadeassembly.a_left.name] and [nadeassembly.a_right.name]) at [A.name] ([T.x], [T.y], [T.z])") - investigate_log("grenade primed by an assembly, attached by [key_name_admin(M)] and last touched by [key_name_admin(last)] ([nadeassembly.a_left.name] and [nadeassembly.a_right.name]) at <a href='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>[A.name] (JMP)</a>.", INVESTIGATE_BOMB) + investigate_log("grenade primed by an assembly, attached by [key_name_admin(M)] and last touched by [key_name_admin(last)] ([nadeassembly.a_left.name] and [nadeassembly.a_right.name]) at <a href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>[A.name] (JMP)</a>.", INVESTIGATE_BOMB) add_attack_logs(last, src, "has armed for detonation", ATKLOG_FEW) else addtimer(CALLBACK(src, PROC_REF(prime)), det_time) diff --git a/code/game/objects/items/weapons/grenades/grenade.dm b/code/game/objects/items/weapons/grenades/grenade.dm index 37350f866cce..2217ccffb8ba 100644 --- a/code/game/objects/items/weapons/grenades/grenade.dm +++ b/code/game/objects/items/weapons/grenades/grenade.dm @@ -70,7 +70,7 @@ add_fingerprint(user) var/turf/bombturf = get_turf(src) var/area/A = get_area(bombturf) - message_admins("[key_name_admin(usr)] has primed a [name] for detonation at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[bombturf.x];Y=[bombturf.y];Z=[bombturf.z]'>[A.name] (JMP)</a>") + message_admins("[key_name_admin(usr)] has primed a [name] for detonation at <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[bombturf.x];Y=[bombturf.y];Z=[bombturf.z]'>[A.name] (JMP)</a>") log_game("[key_name(usr)] has primed a [name] for detonation at [A.name] ([bombturf.x],[bombturf.y],[bombturf.z])") investigate_log("[key_name(usr)] has primed a [name] for detonation at [A.name] ([bombturf.x],[bombturf.y],[bombturf.z])", INVESTIGATE_BOMB) add_attack_logs(user, src, "has primed for detonation", ATKLOG_FEW) diff --git a/code/game/objects/items/weapons/storage/backpack.dm b/code/game/objects/items/weapons/storage/backpack.dm index 68c6f3ff5174..453c0e0c8cdb 100644 --- a/code/game/objects/items/weapons/storage/backpack.dm +++ b/code/game/objects/items/weapons/storage/backpack.dm @@ -74,7 +74,7 @@ qdel(W) var/obj/singularity/singulo = new /obj/singularity(get_turf(user)) singulo.energy = 300 //To give it a small boost - message_admins("[key_name_admin(user)] detonated a bag of holding <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") + message_admins("[key_name_admin(user)] detonated a bag of holding <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") log_game("[key_name(user)] detonated a bag of holding") qdel(src) else diff --git a/code/game/objects/items/weapons/storage/bags.dm b/code/game/objects/items/weapons/storage/bags.dm index e505cb816b3d..052d4ac74c52 100644 --- a/code/game/objects/items/weapons/storage/bags.dm +++ b/code/game/objects/items/weapons/storage/bags.dm @@ -206,7 +206,13 @@ max_combined_w_class = 40 //Doesn't matter what this is, so long as it's more or equal to storage_slots * plants.w_class max_w_class = WEIGHT_CLASS_NORMAL w_class = WEIGHT_CLASS_TINY - can_hold = list(/obj/item/food/snacks/grown,/obj/item/seeds,/obj/item/grown,/obj/item/food/snacks/grown/ash_flora,/obj/item/food/snacks/honeycomb) + can_hold = list( + /obj/item/seeds, + /obj/item/unsorted_seeds, + /obj/item/food/snacks/grown, + /obj/item/grown, + /obj/item/food/snacks/grown/ash_flora, + /obj/item/food/snacks/honeycomb) resistance_flags = FLAMMABLE /obj/item/storage/bag/plants/portaseeder @@ -238,6 +244,23 @@ if(Adjacent(user) && ishuman(user) && !user.incapacitated(FALSE, TRUE)) process_plants(user) +/obj/item/storage/bag/plants/seed_sorting_tray + name = "seed sorting tray" + desc = "A simple wooden tray with compartments for manually sorting seeds. It's better than nothing, but a plant analyzer would be more effective." + icon = 'icons/obj/hydroponics/equipment.dmi' + icon_state = "seed_sorting_tray" + can_hold = list( + /obj/item/seeds, + /obj/item/unsorted_seeds) + +/obj/item/storage/bag/plants/seed_sorting_tray/attack_self(mob/user) + var/depth = 0 + for(var/obj/item/unsorted_seeds/unsorted in src) + if(!do_after(user, 1 SECONDS, TRUE, src, must_be_held = TRUE)) + break + depth = min(8, depth + 1) + unsorted.sort(depth) + // ----------------------------- // Sheet Snatcher // ----------------------------- diff --git a/code/game/objects/items/weapons/storage/storage_base.dm b/code/game/objects/items/weapons/storage/storage_base.dm index 604cf2d1fdc0..80f1531cee36 100644 --- a/code/game/objects/items/weapons/storage/storage_base.dm +++ b/code/game/objects/items/weapons/storage/storage_base.dm @@ -335,7 +335,7 @@ for(var/obj/item/I in contents) var/found = FALSE for(var/datum/numbered_display/ND in numbered_contents) - if(ND.sample_object.type == I.type && ND.sample_object.name == I.name) + if(ND.sample_object.should_stack_with(I)) ND.number++ found = TRUE break diff --git a/code/game/objects/items/weapons/tanks/tanks.dm b/code/game/objects/items/weapons/tanks/tanks.dm index 1e5cdf84f3a5..9081c6bc5fe8 100644 --- a/code/game/objects/items/weapons/tanks/tanks.dm +++ b/code/game/objects/items/weapons/tanks/tanks.dm @@ -247,7 +247,7 @@ var/pressure = air_contents.return_pressure() if(pressure > TANK_FRAGMENT_PRESSURE) if(!istype(loc,/obj/item/transfer_valve)) - message_admins("Explosive tank rupture! last key to touch the tank was [fingerprintslast] (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") + message_admins("Explosive tank rupture! last key to touch the tank was [fingerprintslast] (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") log_game("Explosive tank rupture! last key to touch the tank was [fingerprintslast] at [x], [y], [z]") // to_chat(world, "<span class='notice'>[x],[y] tank is exploding: [pressure] kPa</span>") //Give the gas a chance to build up more pressure through reacting diff --git a/code/game/objects/structures/displaycase.dm b/code/game/objects/structures/displaycase.dm index bf94750fbae3..4a11d6cc15d4 100644 --- a/code/game/objects/structures/displaycase.dm +++ b/code/game/objects/structures/displaycase.dm @@ -207,10 +207,12 @@ to_chat(user, "<span class='notice'>You start installing the electronics into [src]...</span>") playsound(loc, I.usesound, 50, 1) if(do_after(user, 30, target = src)) - if(user.drop_item()) - I.forceMove(src) - electronics = I + var/obj/item/airlock_electronics/new_electronics = I + if(user.drop_item() && !new_electronics.is_installed) + new_electronics.forceMove(src) + electronics = new_electronics to_chat(user, "<span class='notice'>You install the airlock electronics.</span>") + electronics.is_installed = TRUE else if(istype(I, /obj/item/stack/sheet/glass)) var/obj/item/stack/sheet/glass/G = I @@ -241,6 +243,7 @@ if(I.use_tool(src, user, 0, volume = I.tool_volume)) to_chat(user, "<span class='notice'>You remove the airlock electronics.</span>") new /obj/item/airlock_electronics(drop_location(), 1) + electronics.is_installed = FALSE electronics = null /obj/structure/displaycase_chassis/wrench_act(mob/user, obj/item/I) diff --git a/code/game/objects/structures/door_assembly.dm b/code/game/objects/structures/door_assembly.dm index fdfe4194b5a2..6e3bcbd9171a 100644 --- a/code/game/objects/structures/door_assembly.dm +++ b/code/game/objects/structures/door_assembly.dm @@ -82,14 +82,16 @@ user.visible_message("[user] installs the electronics into the airlock assembly.", "You start to install electronics into the airlock assembly...") if(do_after(user, 40 * W.toolspeed, target = src)) - if(state != AIRLOCK_ASSEMBLY_NEEDS_ELECTRONICS) + var/obj/item/airlock_electronics/new_electronics = W + if(state != AIRLOCK_ASSEMBLY_NEEDS_ELECTRONICS || new_electronics.is_installed) return user.drop_item() - W.forceMove(src) + new_electronics.forceMove(src) to_chat(user, "<span class='notice'>You install the airlock electronics.</span>") state = AIRLOCK_ASSEMBLY_NEEDS_SCREWDRIVER name = "near finished airlock assembly" - electronics = W + electronics = new_electronics + electronics.is_installed = TRUE else if(istype(W, /obj/item/stack/sheet) && (!glass || !mineral)) var/obj/item/stack/sheet/S = W @@ -137,6 +139,7 @@ ae = electronics electronics = null ae.forceMove(loc) + ae.is_installed = FALSE update_appearance(UPDATE_NAME | UPDATE_OVERLAYS) /obj/structure/door_assembly/screwdriver_act(mob/user, obj/item/I) diff --git a/code/game/objects/structures/lavaland/necropolis_tendril.dm b/code/game/objects/structures/lavaland/necropolis_tendril.dm index 8a6288792b5b..ab26beb2cf56 100644 --- a/code/game/objects/structures/lavaland/necropolis_tendril.dm +++ b/code/game/objects/structures/lavaland/necropolis_tendril.dm @@ -42,6 +42,14 @@ GLOBAL_LIST_EMPTY(tendrils) new /obj/structure/closet/crate/necropolis/tendril(loc) return ..() +/obj/structure/spawner/lavaland/attacked_by(obj/item/I, mob/living/user) + . = ..() + SEND_SIGNAL(src, COMSIG_SPAWNER_SET_TARGET, user) + +/obj/structure/spawner/lavaland/bullet_act(obj/item/projectile/P) + . = ..() + if(P.firer) + SEND_SIGNAL(src, COMSIG_SPAWNER_SET_TARGET, P.firer) /obj/structure/spawner/lavaland/Destroy() GLOB.tendrils -= src diff --git a/code/game/objects/structures/mineral_doors.dm b/code/game/objects/structures/mineral_doors.dm index 20424ff6b732..788c451338a4 100644 --- a/code/game/objects/structures/mineral_doors.dm +++ b/code/game/objects/structures/mineral_doors.dm @@ -178,7 +178,7 @@ /obj/structure/mineral_door/transparent/plasma/attackby(obj/item/W, mob/user) if(W.get_heat()) - message_admins("Plasma mineral door ignited by [key_name_admin(user)] in ([x], [y], [z] - <a href='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)", 0, 1) + message_admins("Plasma mineral door ignited by [key_name_admin(user)] in ([x], [y], [z] - <a href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)", 0, 1) log_game("Plasma mineral door ignited by [key_name(user)] in ([x], [y], [z])") investigate_log("was <font color='red'><b>ignited</b></font> by [key_name(user)]","atmos") TemperatureAct(100) diff --git a/code/game/objects/structures/noticeboard.dm b/code/game/objects/structures/noticeboard.dm index 03e43867a88f..6666de7ee619 100644 --- a/code/game/objects/structures/noticeboard.dm +++ b/code/game/objects/structures/noticeboard.dm @@ -36,8 +36,8 @@ /obj/structure/noticeboard/attack_hand(user as mob) var/dat = "<b>Noticeboard</b><br>" for(var/obj/item/paper/P in src) - dat += "<a href='?src=[UID()];read=\ref[P]'>[P.name]</a> <a href='?src=[UID()];write=\ref[P]'>Write</a> <a href='?src=[UID()];remove=\ref[P]'>Remove</a><br>" - user << browse("<meta charset='utf-8'><head><title>Notices</title></head>[dat]","window=noticeboard") + dat += "<a href='byond://?src=[UID()];read=\ref[P]'>[P.name]</a> <a href='byond://?src=[UID()];write=\ref[P]'>Write</a> <a href='byond://?src=[UID()];remove=\ref[P]'>Remove</a><br>" + user << browse("<!DOCTYPE html><meta charset='utf-8'><head><title>Notices</title></head>[dat]","window=noticeboard") onclose(user, "noticeboard") /obj/structure/noticeboard/deconstruct(disassembled = TRUE) diff --git a/code/game/objects/structures/safe.dm b/code/game/objects/structures/safe.dm index f3bd37e0600b..bb77fd7f3e47 100644 --- a/code/game/objects/structures/safe.dm +++ b/code/game/objects/structures/safe.dm @@ -357,7 +357,7 @@ GLOBAL_LIST_EMPTY(safes) drill.atom_say("Security spotted. Nanites deployed. Give them <b>hell.</b>") driller.apply_status_effect(STATUS_EFFECT_DRILL_PAYBACK, src) drill.song.start_playing(driller) - notify_ghosts("Security assault in progress in [get_area(src)]!", enter_link="<a href=?src=[UID()];follow=1>(Click to jump to!)</a>", source = src, action = NOTIFY_FOLLOW) + notify_ghosts("Security assault in progress in [get_area(src)]!", enter_link="<a href=byond://?src=[UID()];follow=1>(Click to jump to!)</a>", source = src, action = NOTIFY_FOLLOW) for(var/mob/dead/observer/O in GLOB.player_list) O.overlay_fullscreen("payback", /atom/movable/screen/fullscreen/payback, 0) addtimer(CALLBACK(src, PROC_REF(ghost_payback_phase_2)), 2.7 SECONDS) diff --git a/code/game/objects/structures/windoor_assembly.dm b/code/game/objects/structures/windoor_assembly.dm index 09f57dede180..6c34c677f50f 100644 --- a/code/game/objects/structures/windoor_assembly.dm +++ b/code/game/objects/structures/windoor_assembly.dm @@ -155,16 +155,18 @@ user.visible_message("[user] installs the electronics into the windoor assembly.", "You start to install electronics into the windoor assembly...") user.drop_item() W.forceMove(src) + var/obj/item/airlock_electronics/new_electronics = W - if(do_after(user, 40 * W.toolspeed, target = src)) + if(do_after(user, 40 * new_electronics.toolspeed, target = src) && !new_electronics.is_installed) if(!src || electronics) - W.forceMove(loc) + new_electronics.forceMove(loc) return to_chat(user, "<span class='notice'>You install the windoor electronics.</span>") name = "near finished windoor assembly" - electronics = W + electronics = new_electronics + electronics.is_installed = TRUE else - W.forceMove(loc) + new_electronics.forceMove(loc) else if(is_pen(W)) var/t = rename_interactive(user, W) @@ -247,6 +249,7 @@ ae = electronics electronics = null ae.forceMove(loc) + ae.is_installed = FALSE /obj/structure/windoor_assembly/wirecutter_act(mob/user, obj/item/I) if(state != WIRED_ASSEMBLY) diff --git a/code/game/turfs/simulated/floor/mineral_floors.dm b/code/game/turfs/simulated/floor/mineral_floors.dm index cdccd2d67eb7..8e0edb6f103a 100644 --- a/code/game/turfs/simulated/floor/mineral_floors.dm +++ b/code/game/turfs/simulated/floor/mineral_floors.dm @@ -37,7 +37,7 @@ /turf/simulated/floor/mineral/plasma/attackby(obj/item/W, mob/user, params) if(W.get_heat() > 300)//If the temperature of the object is over 300, then ignite - message_admins("Plasma flooring was ignited by [key_name_admin(user)]([ADMIN_QUE(user,"?")]) ([ADMIN_FLW(user,"FLW")]) in ([x],[y],[z] - <a href='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) + message_admins("Plasma flooring was ignited by [key_name_admin(user)]([ADMIN_QUE(user,"?")]) ([ADMIN_FLW(user,"FLW")]) in ([x],[y],[z] - <a href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) log_game("Plasma flooring was <b>ignited by [key_name(user)] in ([x],[y],[z])") investigate_log("was <font color='red'><b>ignited</b></font> by [key_name(user)]","atmos") ignite(W.get_heat()) @@ -50,7 +50,7 @@ "<span class='danger'>[src] disintegrates into a cloud of plasma!</span>",\ "<span class='warning'>You hear a 'whoompf' and a roar.</span>") ignite(2500) //Big enough to ignite - message_admins("Plasma wall ignited by [key_name_admin(user)] in ([x], [y], [z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) + message_admins("Plasma wall ignited by [key_name_admin(user)] in ([x], [y], [z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) log_game("Plasma wall ignited by [key_name(user)] in ([x], [y], [z])") investigate_log("was <font color='red'><b>ignited</b></font> by [key_name(user)]","atmos") diff --git a/code/game/turfs/simulated/minerals.dm b/code/game/turfs/simulated/minerals.dm index 575b4ec8c9ba..0cb28240dead 100644 --- a/code/game/turfs/simulated/minerals.dm +++ b/code/game/turfs/simulated/minerals.dm @@ -548,9 +548,9 @@ if(!is_mining_level(z)) notify_admins = 1 if(!triggered_by_explosion) - message_admins("[key_name_admin(user)] has triggered a gibtonite deposit reaction at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[bombturf.x];Y=[bombturf.y];Z=[bombturf.z]'>[A.name] (JMP)</a>.") + message_admins("[key_name_admin(user)] has triggered a gibtonite deposit reaction at <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[bombturf.x];Y=[bombturf.y];Z=[bombturf.z]'>[A.name] (JMP)</a>.") else - message_admins("An explosion has triggered a gibtonite deposit reaction at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[bombturf.x];Y=[bombturf.y];Z=[bombturf.z]'>[A.name] (JMP)</a>.") + message_admins("An explosion has triggered a gibtonite deposit reaction at <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[bombturf.x];Y=[bombturf.y];Z=[bombturf.z]'>[A.name] (JMP)</a>.") if(!triggered_by_explosion) log_game("[key_name(user)] has triggered a gibtonite deposit reaction at [A.name] ([A.x], [A.y], [A.z]).") diff --git a/code/game/turfs/simulated/walls_mineral.dm b/code/game/turfs/simulated/walls_mineral.dm index 1dc17ad67d46..517e5dad0c5b 100644 --- a/code/game/turfs/simulated/walls_mineral.dm +++ b/code/game/turfs/simulated/walls_mineral.dm @@ -108,7 +108,7 @@ /turf/simulated/wall/mineral/plasma/attackby(obj/item/W, mob/user) if(W.get_heat() > 300)//If the temperature of the object is over 300, then ignite - message_admins("Plasma wall ignited by [key_name_admin(user)] in ([x], [y], [z] - <a href='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) + message_admins("Plasma wall ignited by [key_name_admin(user)] in ([x], [y], [z] - <a href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) log_game("Plasma wall ignited by [key_name(user)] in ([x], [y], [z])") investigate_log("was <font color='red'><b>ignited</b></font> by [key_name(user)]","atmos") ignite(W.get_heat()) @@ -121,7 +121,7 @@ user.visible_message("<span class='danger'>[user] sets [src] on fire!</span>",\ "<span class='danger'>[src] disintegrates into a cloud of plasma!</span>",\ "<span class='warning'>You hear a 'whoompf' and a roar.</span>") - message_admins("Plasma wall ignited by [key_name_admin(user)] in ([x], [y], [z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) + message_admins("Plasma wall ignited by [key_name_admin(user)] in ([x], [y], [z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) log_game("Plasma wall ignited by [key_name(user)] in ([x], [y], [z])") investigate_log("was <font color='red'><b>ignited</b></font> by [key_name(user)]","atmos") diff --git a/code/game/verbs/ooc.dm b/code/game/verbs/ooc.dm index 686536c6cd02..53b526bad412 100644 --- a/code/game/verbs/ooc.dm +++ b/code/game/verbs/ooc.dm @@ -97,7 +97,7 @@ GLOBAL_VAR_INIT(admin_ooc_colour, "#b82e00") display_name = holder.fakekey if(GLOB.configuration.general.enable_ooc_emoji) - msg = "<span class='emoji_enabled'>[msg]</span>" + msg = emoji_parse(msg) to_chat(C, "<font color='[display_colour]'><span class='ooc'><span class='prefix'>OOC:</span> <EM>[display_name]:</EM> <span class='message'>[msg]</span></span></font>") diff --git a/code/game/verbs/who.dm b/code/game/verbs/who.dm index 4c21afebdd21..e56461dca347 100644 --- a/code/game/verbs/who.dm +++ b/code/game/verbs/who.dm @@ -38,7 +38,7 @@ lines += output_players.Join(", ") // Turn players into a comma separated list if(check_rights(R_ADMIN, FALSE)) - lines += "Click <a href='?_src_=holder;who_advanced=1'>here</a> for detailed (old) who." + lines += "Click <a href='byond://?_src_=holder;who_advanced=1'>here</a> for detailed (old) who." var/msg = lines.Join("\n") diff --git a/code/modules/admin/admin_memo.dm b/code/modules/admin/admin_memo.dm index cda974370971..846d4fc0f0e8 100644 --- a/code/modules/admin/admin_memo.dm +++ b/code/modules/admin/admin_memo.dm @@ -132,7 +132,7 @@ var/last_editor = query_memoshow.item[4] output += "<span class='memo'>Memo by <span class='prefix'>[ckey]</span> on [timestamp]" if(last_editor) - output += "<br><span class='memoedit'>Last edit by [last_editor] <A href='?_src_=holder;memoeditlist=[ckey]'>(Click here to see edit log)</A></span>" + output += "<br><span class='memoedit'>Last edit by [last_editor] <A href='byond://?_src_=holder;memoeditlist=[ckey]'>(Click here to see edit log)</A></span>" output += "<br>[memotext]</span><br>" if(output) to_chat(src, output) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index f07dbd894700..c07c71a4a2a9 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -240,6 +240,7 @@ GLOBAL_LIST_INIT(admin_verbs_maintainer, list( /client/proc/vv_by_ref, // This allows you to lookup **ANYTHING** in the server memory by spamming refs. Locked for security. /client/proc/cinematic, // This will break everyone's screens in the round. Dont use this for adminbus. /client/proc/throw_runtime, // Do I even need to explain why this is locked? + /client/proc/allow_browser_inspect, // XSS prevention )) GLOBAL_LIST_INIT(view_runtimes_verbs, list( /client/proc/view_runtimes, diff --git a/code/modules/admin/misc_admin_procs.dm b/code/modules/admin/misc_admin_procs.dm index 8995343bbca3..86370f2220ba 100644 --- a/code/modules/admin/misc_admin_procs.dm +++ b/code/modules/admin/misc_admin_procs.dm @@ -82,33 +82,33 @@ GLOBAL_VAR_INIT(nologevent, 0) if(M.client) body += " played by <b>[M.client]</b> " if(check_rights(R_PERMISSIONS, 0)) - body += "\[<A href='?_src_=holder;editrights=rank;ckey=[M.ckey]'>[M.client.holder ? M.client.holder.rank : "Player"]</A>\] " + body += "\[<A href='byond://?_src_=holder;editrights=rank;ckey=[M.ckey]'>[M.client.holder ? M.client.holder.rank : "Player"]</A>\] " else body += "\[[M.client.holder ? M.client.holder.rank : "Player"]\] " - body += "\[<A href='?_src_=holder;getplaytimewindow=[M.UID()]'>" + M.client.get_exp_type(EXP_TYPE_CREW) + " as [EXP_TYPE_CREW]</a>\]" + body += "\[<A href='byond://?_src_=holder;getplaytimewindow=[M.UID()]'>" + M.client.get_exp_type(EXP_TYPE_CREW) + " as [EXP_TYPE_CREW]</a>\]" body += "<br>BYOND account registration date: [M.client.byondacc_date || "ERROR"] [M.client.byondacc_age <= GLOB.configuration.general.byond_account_age_threshold ? "<b>" : ""]([M.client.byondacc_age] days old)[M.client.byondacc_age <= GLOB.configuration.general.byond_account_age_threshold ? "</b>" : ""]" body += "<br>BYOND client version: [M.client.byond_version].[M.client.byond_build]" - body += "<br>Global Ban DB Lookup: [GLOB.configuration.url.centcom_ban_db_url ? "<a href='?_src_=holder;open_ccbdb=[M.client.ckey]'>Lookup</a>" : "<i>Disabled</i>"]" + body += "<br>Global Ban DB Lookup: [GLOB.configuration.url.centcom_ban_db_url ? "<a href='byond://?_src_=holder;open_ccbdb=[M.client.ckey]'>Lookup</a>" : "<i>Disabled</i>"]" body += "<br>" if(isnewplayer(M)) body += " <B>Hasn't Entered Game</B> " else - body += " \[<A href='?_src_=holder;revive=[M.UID()]'>Heal</A>\] " + body += " \[<A href='byond://?_src_=holder;revive=[M.UID()]'>Heal</A>\] " body += "<br><br>\[ " - body += "<a href='?_src_=holder;open_logging_view=[M.UID()];'>LOGS</a> - " - body += "<a href='?_src_=vars;Vars=[M.UID()]'>VV</a> - " + body += "<a href='byond://?_src_=holder;open_logging_view=[M.UID()];'>LOGS</a> - " + body += "<a href='byond://?_src_=vars;Vars=[M.UID()]'>VV</a> - " body += "[ADMIN_TP(M,"TP")] - " if(M.client) - body += "<a href='?src=[usr.UID()];priv_msg=[M.client.ckey]'>PM</a> - " + body += "<a href='byond://?src=[usr.UID()];priv_msg=[M.client.ckey]'>PM</a> - " body += "[ADMIN_SM(M,"SM")] - " if(ishuman(M) && M.mind) - body += "<a href='?_src_=holder;HeadsetMessage=[M.UID()]'>HM</a> - " + body += "<a href='byond://?_src_=holder;HeadsetMessage=[M.UID()]'>HM</a> - " body += "[admin_jump_link(M)] - " - body += "<a href='?_src_=holder;adminalert=[M.UID()]'>SEND ALERT</a>\]</b><br>" + body += "<a href='byond://?_src_=holder;adminalert=[M.UID()]'>SEND ALERT</a>\]</b><br>" body += "<b>Mob type:</b> [M.type]<br>" if(M.client) if(M.client.related_accounts_cid.len) @@ -119,56 +119,56 @@ GLOBAL_VAR_INIT(nologevent, 0) if(M.ckey) body += "<b>Enabled AntagHUD</b>: [M.has_ahudded() ? "<b><font color='red'>TRUE</font></b>" : "false"]<br>" body += "<b>Roundstart observer</b>: [M.is_roundstart_observer() ? "<b>true</b>" : "false"]<br>" - body += "<A href='?_src_=holder;boot2=[M.UID()]'>Kick</A> | " - body += "<A href='?_src_=holder;newban=[M.UID()];dbbanaddckey=[M.ckey]'>Ban</A> | " - body += "<A href='?_src_=holder;jobban2=[M.UID()];dbbanaddckey=[M.ckey]'>Jobban</A> | " - body += "<A href='?_src_=holder;shownoteckey=[M.ckey]'>Notes</A> | " + body += "<A href='byond://?_src_=holder;boot2=[M.UID()]'>Kick</A> | " + body += "<A href='byond://?_src_=holder;newban=[M.UID()];dbbanaddckey=[M.ckey]'>Ban</A> | " + body += "<A href='byond://?_src_=holder;jobban2=[M.UID()];dbbanaddckey=[M.ckey]'>Jobban</A> | " + body += "<A href='byond://?_src_=holder;shownoteckey=[M.ckey]'>Notes</A> | " if(GLOB.configuration.url.forum_playerinfo_url) - body += "<A href='?_src_=holder;webtools=[M.ckey]'>WebInfo</A> | " + body += "<A href='byond://?_src_=holder;webtools=[M.ckey]'>WebInfo</A> | " if(M.client) if(M.client.watchlisted) - body += "<A href='?_src_=holder;watchremove=[M.ckey]'>Remove from Watchlist</A> | " - body += "<A href='?_src_=holder;watchedit=[M.ckey]'>Edit Watchlist Reason</A> " + body += "<A href='byond://?_src_=holder;watchremove=[M.ckey]'>Remove from Watchlist</A> | " + body += "<A href='byond://?_src_=holder;watchedit=[M.ckey]'>Edit Watchlist Reason</A> " else - body += "<A href='?_src_=holder;watchadd=[M.ckey]'>Add to Watchlist</A> " + body += "<A href='byond://?_src_=holder;watchadd=[M.ckey]'>Add to Watchlist</A> " - body += "| <A href='?_src_=holder;sendtoprison=[M.UID()]'>Prison</A> | " - body += "\ <A href='?_src_=holder;sendbacktolobby=[M.UID()]'>Send back to Lobby</A> | " - body += "\ <A href='?_src_=holder;eraseflavortext=[M.UID()]'>Erase Flavor Text</A> | " - body += "\ <A href='?_src_=holder;userandomname=[M.UID()]'>Use Random Name</A> | " + body += "| <A href='byond://?_src_=holder;sendtoprison=[M.UID()]'>Prison</A> | " + body += "\ <A href='byond://?_src_=holder;sendbacktolobby=[M.UID()]'>Send back to Lobby</A> | " + body += "\ <A href='byond://?_src_=holder;eraseflavortext=[M.UID()]'>Erase Flavor Text</A> | " + body += "\ <A href='byond://?_src_=holder;userandomname=[M.UID()]'>Use Random Name</A> | " body += {"<br><b>Mute: </b> - \[<A href='?_src_=holder;mute=[M.UID()];mute_type=[MUTE_IC]'><font color='[check_mute(M.client.ckey, MUTE_IC) ? "red" : "#6685f5"]'>IC</font></a> | - <A href='?_src_=holder;mute=[M.UID()];mute_type=[MUTE_OOC]'><font color='[check_mute(M.client.ckey, MUTE_OOC) ? "red" : "#6685f5"]'>OOC</font></a> | - <A href='?_src_=holder;mute=[M.UID()];mute_type=[MUTE_PRAY]'><font color='[check_mute(M.client.ckey, MUTE_PRAY) ? "red" : "#6685f5"]'>PRAY</font></a> | - <A href='?_src_=holder;mute=[M.UID()];mute_type=[MUTE_ADMINHELP]'><font color='[check_mute(M.client.ckey, MUTE_ADMINHELP) ? "red" : "#6685f5"]'>ADMINHELP</font></a> | - <A href='?_src_=holder;mute=[M.UID()];mute_type=[MUTE_DEADCHAT]'><font color='[check_mute(M.client.ckey, MUTE_DEADCHAT) ?" red" : "#6685f5"]'>DEADCHAT</font></a> | - <A href='?_src_=holder;mute=[M.UID()];mute_type=[MUTE_EMOTE]'><font color='[check_mute(M.client.ckey, MUTE_EMOTE) ?" red" : "#6685f5"]'>EMOTE</font></a>] - (<A href='?_src_=holder;mute=[M.UID()];mute_type=[MUTE_ALL]'><font color='[check_mute(M.client.ckey, MUTE_ALL) ? "red" : "#6685f5"]'>toggle all</font></a>) + \[<A href='byond://?_src_=holder;mute=[M.UID()];mute_type=[MUTE_IC]'><font color='[check_mute(M.client.ckey, MUTE_IC) ? "red" : "#6685f5"]'>IC</font></a> | + <A href='byond://?_src_=holder;mute=[M.UID()];mute_type=[MUTE_OOC]'><font color='[check_mute(M.client.ckey, MUTE_OOC) ? "red" : "#6685f5"]'>OOC</font></a> | + <A href='byond://?_src_=holder;mute=[M.UID()];mute_type=[MUTE_PRAY]'><font color='[check_mute(M.client.ckey, MUTE_PRAY) ? "red" : "#6685f5"]'>PRAY</font></a> | + <A href='byond://?_src_=holder;mute=[M.UID()];mute_type=[MUTE_ADMINHELP]'><font color='[check_mute(M.client.ckey, MUTE_ADMINHELP) ? "red" : "#6685f5"]'>ADMINHELP</font></a> | + <A href='byond://?_src_=holder;mute=[M.UID()];mute_type=[MUTE_DEADCHAT]'><font color='[check_mute(M.client.ckey, MUTE_DEADCHAT) ?" red" : "#6685f5"]'>DEADCHAT</font></a> | + <A href='byond://?_src_=holder;mute=[M.UID()];mute_type=[MUTE_EMOTE]'><font color='[check_mute(M.client.ckey, MUTE_EMOTE) ?" red" : "#6685f5"]'>EMOTE</font></a>] + (<A href='byond://?_src_=holder;mute=[M.UID()];mute_type=[MUTE_ALL]'><font color='[check_mute(M.client.ckey, MUTE_ALL) ? "red" : "#6685f5"]'>toggle all</font></a>) "} var/jumptoeye = "" if(isAI(M)) var/mob/living/silicon/ai/A = M if(A.client && A.eyeobj) // No point following clientless AI eyes - jumptoeye = " <b>(<A href='?_src_=holder;jumpto=[A.eyeobj.UID()]'>Eye</A>)</b>" + jumptoeye = " <b>(<A href='byond://?_src_=holder;jumpto=[A.eyeobj.UID()]'>Eye</A>)</b>" body += {"<br><br> - <A href='?_src_=holder;jumpto=[M.UID()]'><b>Jump to</b></A>[jumptoeye] | - <A href='?_src_=holder;getmob=[M.UID()]'>Get</A> | - <A href='?_src_=holder;sendmob=[M.UID()]'>Send To</A> + <A href='byond://?_src_=holder;jumpto=[M.UID()]'><b>Jump to</b></A>[jumptoeye] | + <A href='byond://?_src_=holder;getmob=[M.UID()]'>Get</A> | + <A href='byond://?_src_=holder;sendmob=[M.UID()]'>Send To</A> <br><br> [check_rights(R_ADMIN,0) ? "[ADMIN_TP(M,"Traitor panel")] | " : "" ] - <A href='?_src_=holder;narrateto=[M.UID()]'>Narrate to</A> | + <A href='byond://?_src_=holder;narrateto=[M.UID()]'>Narrate to</A> | [ADMIN_SM(M,"Subtle message")] "} if(check_rights(R_EVENT, 0)) - body += {" | <A href='?_src_=holder;Bless=[M.UID()]'>Bless</A> | <A href='?_src_=holder;Smite=[M.UID()]'>Smite</A>"} + body += {" | <A href='byond://?_src_=holder;Bless=[M.UID()]'>Bless</A> | <A href='byond://?_src_=holder;Smite=[M.UID()]'>Smite</A>"} if(isLivingSSD(M)) if(istype(M.loc, /obj/machinery/cryopod)) - body += {" | <A href='?_src_=holder;cryossd=[M.UID()]'>De-Spawn</A> "} + body += {" | <A href='byond://?_src_=holder;cryossd=[M.UID()]'>De-Spawn</A> "} else - body += {" | <A href='?_src_=holder;cryossd=[M.UID()]'>Cryo</A> "} + body += {" | <A href='byond://?_src_=holder;cryossd=[M.UID()]'>Cryo</A> "} if(M.client) if(!isnewplayer(M)) @@ -180,38 +180,38 @@ GLOBAL_VAR_INIT(nologevent, 0) if(issmall(M)) body += "<B>Monkeyized</B> | " else - body += "<A href='?_src_=holder;monkeyone=[M.UID()]'>Monkeyize</A> | " + body += "<A href='byond://?_src_=holder;monkeyone=[M.UID()]'>Monkeyize</A> | " //Corgi if(iscorgi(M)) body += "<B>Corgized</B> | " else - body += "<A href='?_src_=holder;corgione=[M.UID()]'>Corgize</A> | " + body += "<A href='byond://?_src_=holder;corgione=[M.UID()]'>Corgize</A> | " //AI / Cyborg if(isAI(M)) body += "<B>Is an AI</B> " else if(ishuman(M)) - body += {"<A href='?_src_=holder;makeai=[M.UID()]'>Make AI</A> | - <A href='?_src_=holder;makerobot=[M.UID()]'>Make Robot</A> | - <A href='?_src_=holder;makealien=[M.UID()]'>Make Alien</A> | - <A href='?_src_=holder;makeslime=[M.UID()]'>Make Slime</A> | - <A href='?_src_=holder;makesuper=[M.UID()]'>Make Superhero</A> + body += {"<A href='byond://?_src_=holder;makeai=[M.UID()]'>Make AI</A> | + <A href='byond://?_src_=holder;makerobot=[M.UID()]'>Make Robot</A> | + <A href='byond://?_src_=holder;makealien=[M.UID()]'>Make Alien</A> | + <A href='byond://?_src_=holder;makeslime=[M.UID()]'>Make Slime</A> | + <A href='byond://?_src_=holder;makesuper=[M.UID()]'>Make Superhero</A> "} //Simple Animals if(isanimal(M)) - body += "<A href='?_src_=holder;makeanimal=[M.UID()]'>Re-Animalize</A> | " + body += "<A href='byond://?_src_=holder;makeanimal=[M.UID()]'>Re-Animalize</A> | " else - body += "<A href='?_src_=holder;makeanimal=[M.UID()]'>Animalize</A> | " + body += "<A href='byond://?_src_=holder;makeanimal=[M.UID()]'>Animalize</A> | " if(isobserver(M)) - body += "<A href='?_src_=holder;incarn_ghost=[M.UID()]'>Re-incarnate</a> | " + body += "<A href='byond://?_src_=holder;incarn_ghost=[M.UID()]'>Re-incarnate</a> | " if(ispAI(M)) body += "<B>Is a pAI</B> " else - body += "<A href='?_src_=holder;makePAI=[M.UID()]'>Make pAI</A> | " + body += "<A href='byond://?_src_=holder;makePAI=[M.UID()]'>Make pAI</A> | " // DNA2 - Admin Hax if(M.dna && iscarbon(M)) @@ -226,7 +226,7 @@ GLOBAL_VAR_INIT(nologevent, 0) if(bname) var/bstate=M.dna.GetSEState(block) var/bcolor="[(bstate)?"#006600":"#ff0000"]" - body += "<A href='?_src_=holder;togmutate=[M.UID()];block=[block]' style='color:[bcolor];'>[bname]</A><sub>[block]</sub>" + body += "<A href='byond://?_src_=holder;togmutate=[M.UID()];block=[block]' style='color:[bcolor];'>[bname]</A><sub>[block]</sub>" else body += "[block]" body+="</td>" @@ -234,42 +234,42 @@ GLOBAL_VAR_INIT(nologevent, 0) body += {"<br><br> <b>Rudimentary transformation:</b><font size=2><br>These transformations only create a new mob type and copy stuff over. They do not take into account MMIs and similar mob-specific things. The buttons in 'Transformations' are preferred, when possible.</font><br> - <A href='?_src_=holder;simplemake=observer;mob=[M.UID()]'>Observer</A> | - \[ Alien: <A href='?_src_=holder;simplemake=drone;mob=[M.UID()]'>Drone</A>, - <A href='?_src_=holder;simplemake=hunter;mob=[M.UID()]'>Hunter</A>, - <A href='?_src_=holder;simplemake=queen;mob=[M.UID()]'>Queen</A>, - <A href='?_src_=holder;simplemake=sentinel;mob=[M.UID()]'>Sentinel</A>, - <A href='?_src_=holder;simplemake=larva;mob=[M.UID()]'>Larva</A> \] - <A href='?_src_=holder;simplemake=human;mob=[M.UID()]'>Human</A> - \[ slime: <A href='?_src_=holder;simplemake=slime;mob=[M.UID()]'>Baby</A>, - <A href='?_src_=holder;simplemake=adultslime;mob=[M.UID()]'>Adult</A> \] - <A href='?_src_=holder;simplemake=monkey;mob=[M.UID()]'>Monkey</A> | - <A href='?_src_=holder;simplemake=robot;mob=[M.UID()]'>Cyborg</A> | - <A href='?_src_=holder;simplemake=cat;mob=[M.UID()]'>Cat</A> | - <A href='?_src_=holder;simplemake=runtime;mob=[M.UID()]'>Runtime</A> | - <A href='?_src_=holder;simplemake=corgi;mob=[M.UID()]'>Corgi</A> | - <A href='?_src_=holder;simplemake=ian;mob=[M.UID()]'>Ian</A> | - <A href='?_src_=holder;simplemake=crab;mob=[M.UID()]'>Crab</A> | - <A href='?_src_=holder;simplemake=coffee;mob=[M.UID()]'>Coffee</A> | - \[ Construct: <A href='?_src_=holder;simplemake=constructarmoured;mob=[M.UID()]'>Armoured</A> , - <A href='?_src_=holder;simplemake=constructbuilder;mob=[M.UID()]'>Builder</A> , - <A href='?_src_=holder;simplemake=constructwraith;mob=[M.UID()]'>Wraith</A> \] - <A href='?_src_=holder;simplemake=shade;mob=[M.UID()]'>Shade</A> + <A href='byond://?_src_=holder;simplemake=observer;mob=[M.UID()]'>Observer</A> | + \[ Alien: <A href='byond://?_src_=holder;simplemake=drone;mob=[M.UID()]'>Drone</A>, + <A href='byond://?_src_=holder;simplemake=hunter;mob=[M.UID()]'>Hunter</A>, + <A href='byond://?_src_=holder;simplemake=queen;mob=[M.UID()]'>Queen</A>, + <A href='byond://?_src_=holder;simplemake=sentinel;mob=[M.UID()]'>Sentinel</A>, + <A href='byond://?_src_=holder;simplemake=larva;mob=[M.UID()]'>Larva</A> \] + <A href='byond://?_src_=holder;simplemake=human;mob=[M.UID()]'>Human</A> + \[ slime: <A href='byond://?_src_=holder;simplemake=slime;mob=[M.UID()]'>Baby</A>, + <A href='byond://?_src_=holder;simplemake=adultslime;mob=[M.UID()]'>Adult</A> \] + <A href='byond://?_src_=holder;simplemake=monkey;mob=[M.UID()]'>Monkey</A> | + <A href='byond://?_src_=holder;simplemake=robot;mob=[M.UID()]'>Cyborg</A> | + <A href='byond://?_src_=holder;simplemake=cat;mob=[M.UID()]'>Cat</A> | + <A href='byond://?_src_=holder;simplemake=runtime;mob=[M.UID()]'>Runtime</A> | + <A href='byond://?_src_=holder;simplemake=corgi;mob=[M.UID()]'>Corgi</A> | + <A href='byond://?_src_=holder;simplemake=ian;mob=[M.UID()]'>Ian</A> | + <A href='byond://?_src_=holder;simplemake=crab;mob=[M.UID()]'>Crab</A> | + <A href='byond://?_src_=holder;simplemake=coffee;mob=[M.UID()]'>Coffee</A> | + \[ Construct: <A href='byond://?_src_=holder;simplemake=constructarmoured;mob=[M.UID()]'>Armoured</A> , + <A href='byond://?_src_=holder;simplemake=constructbuilder;mob=[M.UID()]'>Builder</A> , + <A href='byond://?_src_=holder;simplemake=constructwraith;mob=[M.UID()]'>Wraith</A> \] + <A href='byond://?_src_=holder;simplemake=shade;mob=[M.UID()]'>Shade</A> "} if(M.client) body += {"<br><br> <b>Other actions:</b> <br> - <A href='?_src_=holder;forcespeech=[M.UID()]'>Forcesay</A> | - <A href='?_src_=holder;aroomwarp=[M.UID()]'>Admin Room</A> | - <A href='?_src_=holder;tdome1=[M.UID()]'>Thunderdome 1</A> | - <A href='?_src_=holder;tdome2=[M.UID()]'>Thunderdome 2</A> | - <A href='?_src_=holder;tdomeadmin=[M.UID()]'>Thunderdome Admin</A> | - <A href='?_src_=holder;tdomeobserve=[M.UID()]'>Thunderdome Observer</A> | - <A href='?_src_=holder;contractor_stop=[M.UID()]'>Stop Syndicate Jail Timer</A> | - <A href='?_src_=holder;contractor_start=[M.UID()]'>Start Syndicate Jail Timer</A> | - <A href='?_src_=holder;contractor_release=[M.UID()]'>Release now from Syndicate Jail</A> | + <A href='byond://?_src_=holder;forcespeech=[M.UID()]'>Forcesay</A> | + <A href='byond://?_src_=holder;aroomwarp=[M.UID()]'>Admin Room</A> | + <A href='byond://?_src_=holder;tdome1=[M.UID()]'>Thunderdome 1</A> | + <A href='byond://?_src_=holder;tdome2=[M.UID()]'>Thunderdome 2</A> | + <A href='byond://?_src_=holder;tdomeadmin=[M.UID()]'>Thunderdome Admin</A> | + <A href='byond://?_src_=holder;tdomeobserve=[M.UID()]'>Thunderdome Observer</A> | + <A href='byond://?_src_=holder;contractor_stop=[M.UID()]'>Stop Syndicate Jail Timer</A> | + <A href='byond://?_src_=holder;contractor_start=[M.UID()]'>Start Syndicate Jail Timer</A> | + <A href='byond://?_src_=holder;contractor_release=[M.UID()]'>Release now from Syndicate Jail</A> | "} body += {"<br> @@ -314,14 +314,14 @@ GLOBAL_VAR_INIT(nologevent, 0) var/list/dat = list() var/cached_UID = UID() dat += "<center>" - dat += "<p><a href='?src=[cached_UID];c_mode=1'>Change Game Mode</a><br></p>" + dat += "<p><a href='byond://?src=[cached_UID];c_mode=1'>Change Game Mode</a><br></p>" if(GLOB.master_mode == "secret") - dat += "<p><a href='?src=[cached_UID];f_secret=1'>(Force Secret Mode)</a><br></p>" + dat += "<p><a href='byond://?src=[cached_UID];f_secret=1'>(Force Secret Mode)</a><br></p>" dat += "<hr><br>" - dat += "<p><a href='?src=[cached_UID];create_object=1'>Create Object</a><br></p>" - dat += "<p><a href='?src=[cached_UID];quick_create_object=1'>Quick Create Object</a><br></p>" - dat += "<p><a href='?src=[cached_UID];create_turf=1'>Create Turf</a><br></p>" - dat += "<p><a href='?src=[cached_UID];create_mob=1'>Create Mob</a></p>" + dat += "<p><a href='byond://?src=[cached_UID];create_object=1'>Create Object</a><br></p>" + dat += "<p><a href='byond://?src=[cached_UID];quick_create_object=1'>Quick Create Object</a><br></p>" + dat += "<p><a href='byond://?src=[cached_UID];create_turf=1'>Create Turf</a><br></p>" + dat += "<p><a href='byond://?src=[cached_UID];create_mob=1'>Create Mob</a></p>" var/datum/browser/popup = new(usr, "game_panel", "<div align='center'>Game Panel</div>", 210, 280) popup.set_content(dat.Join("")) @@ -595,7 +595,7 @@ GLOBAL_VAR_INIT(nologevent, 0) if(!SSticker) alert("Slow down a moment, let the ticker start first!") return - + if(SSblackbox) SSblackbox.record_feedback("tally", "admin_verb", 1, "Delay") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -863,7 +863,7 @@ GLOBAL_VAR_INIT(gamma_ship_location, 1) // 0 = station , 1 = space loc = get_turf(location) if(where=="") where=formatLocation(loc) - return "<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[loc.x];Y=[loc.y];Z=[loc.z]'>[where]</a>" + return "<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[loc.x];Y=[loc.y];Z=[loc.z]'>[where]</a>" /proc/formatLocation(location) var/turf/loc diff --git a/code/modules/admin/outfits.dm b/code/modules/admin/outfits.dm index 92aedaef40e9..e83db3b54c93 100644 --- a/code/modules/admin/outfits.dm +++ b/code/modules/admin/outfits.dm @@ -9,16 +9,16 @@ GLOBAL_LIST_EMPTY(custom_outfits) //Admin created outfits holder.outfit_manager(usr) /datum/admins/proc/outfit_manager(mob/admin) - var/list/dat = list("<ul>") + var/list/dat = list("<!DOCTYPE html><ul>") for(var/datum/outfit/O in GLOB.custom_outfits) var/vv = FALSE var/datum/outfit/varedit/VO = O if(istype(VO)) vv = length(VO.vv_values) - dat += "<li>[O.name][vv ? "(VV)" : ""]</li> <a href='?_src_=holder;save_outfit=1;chosen_outfit=[O.UID()]'>Save</a> <a href='?_src_=holder;delete_outfit=1;chosen_outfit=[O.UID()]'>Delete</a>" + dat += "<li>[O.name][vv ? "(VV)" : ""]</li> <a href='byond://?_src_=holder;save_outfit=1;chosen_outfit=[O.UID()]'>Save</a> <a href='byond://?_src_=holder;delete_outfit=1;chosen_outfit=[O.UID()]'>Delete</a>" dat += "</ul>" - dat += "<a href='?_src_=holder;create_outfit_menu=1'>Create</a><br>" - dat += "<a href='?_src_=holder;load_outfit=1'>Load from file</a>" + dat += "<a href='byond://?_src_=holder;create_outfit_menu=1'>Create</a><br>" + dat += "<a href='byond://?_src_=holder;load_outfit=1'>Load from file</a>" admin << browse(dat.Join(),"window=outfitmanager") /datum/admins/proc/save_outfit(mob/admin,datum/outfit/O) diff --git a/code/modules/admin/permissionverbs/permissionedit.dm b/code/modules/admin/permissionverbs/permissionedit.dm index c50cb44ae976..4007266e95a2 100644 --- a/code/modules/admin/permissionverbs/permissionedit.dm +++ b/code/modules/admin/permissionverbs/permissionedit.dm @@ -23,8 +23,8 @@ <body onload='selectTextField();updateSearch();'> <div id='main'><table id='searchable' cellspacing='0'> <tr class='title'> -<th style='width:125px;text-align:right;'>CKEY <a class='small' href='?src=[UID()];editrights=add'>\[+\]</a></th> -<th style='width:125px;'>RANK</th><th style='width:100%;'>PERMISSIONS</th> +<th style='width:20%;text-align:right;'>CKEY <a class='small' href='byond://?src=[UID()];editrights=add'>\[+\]</a></th> +<th style='width:20%;'>RANK</th><th style='width:60%;'>PERMISSIONS</th> </tr> "} @@ -35,15 +35,15 @@ var/rights = rights2text(D.rights," ") if(!rights) rights = "*none*" output += {"<tr> -<td style='text-align:right;'>[adm_ckey] <a class='small' href='?src=[UID()];editrights=remove;ckey=[adm_ckey]'>\[-\]</a></td> -<td><a href='?src=[UID()];editrights=rank;ckey=[adm_ckey]'>[rank]</a></td> -<td><a class='small' href='?src=[UID()];editrights=permissions;ckey=[adm_ckey]'>[rights]</a></font></td> +<td style='text-align:right;'>[adm_ckey] <a class='small' href='byond://?src=[UID()];editrights=remove;ckey=[adm_ckey]'>\[-\]</a></td> +<td><a href='byond://?src=[UID()];editrights=rank;ckey=[adm_ckey]'>[rank]</a></td> +<td><a class='small' href='byond://?src=[UID()];editrights=permissions;ckey=[adm_ckey]'>[rights]</a></font></td> </tr>"} /*output += "<tr>" - output += "<td style='text-align:right;'>[adm_ckey] <a class='small' href='?src=[UID()];editrights=remove;ckey=[adm_ckey]'>\[-\]</a></td>" - output += "<td><a href='?src=[UID()];editrights=rank;ckey=[adm_ckey]'>[rank]</a></td>" - output += "<td><a class='small' href='?src=[UID()];editrights=permissions;ckey=[adm_ckey]'>[rights]</a></font></td>" + output += "<td style='text-align:right;'>[adm_ckey] <a class='small' href='byond://?src=[UID()];editrights=remove;ckey=[adm_ckey]'>\[-\]</a></td>" + output += "<td><a href='byond://?src=[UID()];editrights=rank;ckey=[adm_ckey]'>[rank]</a></td>" + output += "<td><a class='small' href='byond://?src=[UID()];editrights=permissions;ckey=[adm_ckey]'>[rights]</a></font></td>" output += "</tr>"*/ output += {" diff --git a/code/modules/admin/player_panel.dm b/code/modules/admin/player_panel.dm index 98cfdce2f7d6..36a077903828 100644 --- a/code/modules/admin/player_panel.dm +++ b/code/modules/admin/player_panel.dm @@ -79,19 +79,19 @@ body += "</td><td align='center'>"; - body += "<a href='?src=[UID()];adminplayeropts="+mobUID+"'>PP</a> - " - body += "<a href='?src=[UID()];shownoteckey="+key+"'>N</a> - " - body += "<a href='?_src_=vars;Vars="+mobUID+"'>VV</a> - " - body += "<a href='?src=[UID()];traitor="+mobUID+"'>TP</a> - " - body += "<a href='?src=[usr.UID()];priv_msg="+client_ckey+"'>PM</a> - " - body += "<a href='?src=[UID()];subtlemessage="+mobUID+"'>SM</a> - " - body += "<a href='?src=[UID()];adminplayerobservefollow="+mobUID+"'>FLW</a> - " - body += "<a href='?src=[UID()];adminalert="+mobUID+"'>ALERT</a>" + body += "<a href='byond://?src=[UID()];adminplayeropts="+mobUID+"'>PP</a> - " + body += "<a href='byond://?src=[UID()];shownoteckey="+key+"'>N</a> - " + body += "<a href='byond://?_src_=vars;Vars="+mobUID+"'>VV</a> - " + body += "<a href='byond://?src=[UID()];traitor="+mobUID+"'>TP</a> - " + body += "<a href='byond://?src=[usr.UID()];priv_msg="+client_ckey+"'>PM</a> - " + body += "<a href='byond://?src=[UID()];subtlemessage="+mobUID+"'>SM</a> - " + body += "<a href='byond://?src=[UID()];adminplayerobservefollow="+mobUID+"'>FLW</a> - " + body += "<a href='byond://?src=[UID()];adminalert="+mobUID+"'>ALERT</a>" if(eyeUID) - body += "|<a href='?src=[UID()];adminplayerobservefollow="+eyeUID+"'>EYE</a>" + body += "|<a href='byond://?src=[UID()];adminplayerobservefollow="+eyeUID+"'>EYE</a>" body += "<br>" if(antagonists) - body += "<font size='2'><a href='?src=[UID()];check_antagonist=1'><font color='red'><b>"+antagonists+"</b></font></a></font>"; + body += "<font size='2'><a href='byond://?src=[UID()];check_antagonist=1'><font color='red'><b>"+antagonists+"</b></font></a></font>"; body += "</td></tr></table>"; @@ -202,7 +202,7 @@ <tr id='title_tr'> <td align='center'> <font size='5'><b>Player panel</b></font><br> - Hover over a line to see more information | [check_rights(R_ADMIN,0) ? "<a href='?src=[UID()];check_antagonist=1'>Check antagonists</a> | Kick <a href='?_src_=holder;kick_all_from_lobby=1;afkonly=0'>everyone</a>/<a href='?_src_=holder;kick_all_from_lobby=1;afkonly=1'>AFKers</a> in lobby" : "" ] + Hover over a line to see more information | [check_rights(R_ADMIN,0) ? "<a href='byond://?src=[UID()];check_antagonist=1'>Check antagonists</a> | Kick <a href='byond://?_src_=holder;kick_all_from_lobby=1;afkonly=0'>everyone</a>/<a href='byond://?_src_=holder;kick_all_from_lobby=1;afkonly=1'>AFKers</a> in lobby" : "" ] <p> </td> </tr> @@ -342,8 +342,8 @@ if(!dname) dname = M - return {"<tr><td><a href='?src=[UID()];adminplayeropts=[M.UID()]'>[dname]</a><b>[caption]</b>[logout_status][istype(A, /area/station/security/permabrig) ? "<b><font color=red> (PERMA) </b></font>" : ""][M.stat == 2 ? " <b><font color=red>(DEAD)</font></b>" : ""]</td> - <td><A href='?src=[usr.UID()];priv_msg=[M.client?.ckey]'>PM</A> [ADMIN_FLW(M, "FLW")] </td>[close ? "</tr>" : ""]"} + return {"<tr><td><a href='byond://?src=[UID()];adminplayeropts=[M.UID()]'>[dname]</a><b>[caption]</b>[logout_status][istype(A, /area/station/security/permabrig) ? "<b><font color=red> (PERMA) </b></font>" : ""][M.stat == 2 ? " <b><font color=red>(DEAD)</font></b>" : ""]</td> + <td><A href='byond://?src=[usr.UID()];priv_msg=[M.client?.ckey]'>PM</A> [ADMIN_FLW(M, "FLW")] </td>[close ? "</tr>" : ""]"} /datum/admins/proc/check_antagonists() if(!check_rights(R_ADMIN)) @@ -354,18 +354,18 @@ dat += "Round Duration: <b>[round(ROUND_TIME / 36000)]:[add_zero(num2text(ROUND_TIME / 600 % 60), 2)]:[add_zero(num2text(ROUND_TIME / 10 % 60), 2)]</b><br>" dat += "<b>Emergency shuttle</b><br>" if(SSshuttle.emergency.mode < SHUTTLE_CALL) - dat += "<a href='?src=[UID()];call_shuttle=1'>Call Shuttle</a><br>" + dat += "<a href='byond://?src=[UID()];call_shuttle=1'>Call Shuttle</a><br>" else var/timeleft = SSshuttle.emergency.timeLeft() if(SSshuttle.emergency.mode < SHUTTLE_DOCKED) - dat += "ETA: <a href='?_src_=holder;edit_shuttle_time=1'>[seconds_to_full_clock(timeleft)]</a><br>" - dat += "<a href='?_src_=holder;call_shuttle=2'>Send Back</a><br>" + dat += "ETA: <a href='byond://?_src_=holder;edit_shuttle_time=1'>[seconds_to_full_clock(timeleft)]</a><br>" + dat += "<a href='byond://?_src_=holder;call_shuttle=2'>Send Back</a><br>" else - dat += "ETA: <a href='?_src_=holder;edit_shuttle_time=1'>[seconds_to_full_clock(timeleft)]</a><br>" + dat += "ETA: <a href='byond://?_src_=holder;edit_shuttle_time=1'>[seconds_to_full_clock(timeleft)]</a><br>" - dat += "<a href='?src=[UID()];delay_round_end=1'>[SSticker.delay_end ? "End Round Normally" : "Delay Round End"]</a><br>" + dat += "<a href='byond://?src=[UID()];delay_round_end=1'>[SSticker.delay_end ? "End Round Normally" : "Delay Round End"]</a><br>" dat += "<br><b>Antagonist Teams</b><br>" - dat += "<a href='?src=[UID()];check_teams=1'>View Teams</a><br>" + dat += "<a href='byond://?src=[UID()];check_teams=1'>View Teams</a><br>" if(SSticker.mode.syndicates.len) dat += "<br><table cellspacing=5><tr><td><B>Syndicates</B></td><td></td></tr>" for(var/datum/mind/N in SSticker.mode.syndicates) @@ -381,7 +381,7 @@ while(!isturf(disk_loc)) if(ismob(disk_loc)) var/mob/M = disk_loc - dat += "carried by <a href='?src=[UID()];adminplayeropts=[M.UID()]'>[M.real_name]</a> " + dat += "carried by <a href='byond://?src=[UID()];adminplayeropts=[M.UID()]'>[M.real_name]</a> " if(isobj(disk_loc)) var/obj/O = disk_loc dat += "in \a [O.name] " @@ -431,7 +431,7 @@ if(SSticker.mode.cult_team) dat += check_role_table("Cultists", SSticker.mode.cult_team.members) - dat += "<a href='?src=[UID()];check_teams=1'>View Cult Team & Controls</a><br>" + dat += "<a href='byond://?src=[UID()];check_teams=1'>View Cult Team & Controls</a><br>" if(SSticker.mode.traitors.len) dat += check_role_table("Traitors", SSticker.mode.traitors) @@ -524,7 +524,7 @@ if(show_objectives) txt += {" <td> - <a href='?src=[UID()];traitor=[M.UID()]'>Show Objective</a> + <a href='byond://?src=[UID()];traitor=[M.UID()]'>Show Objective</a> </td> "} diff --git a/code/modules/admin/secrets.dm b/code/modules/admin/secrets.dm index 4021842a2e42..5e550c8586ca 100644 --- a/code/modules/admin/secrets.dm +++ b/code/modules/admin/secrets.dm @@ -7,9 +7,9 @@ if(!check_rights(0)) return var/dat = "<html><meta charset='utf-8'><body><center>" - dat += "<a href='?src=[UID()];secretsmenu=tab;tab=0' [current_tab == 0 ? "class='linkOn'" : ""]>Debug</a>" - dat += "<a href='?src=[UID()];secretsmenu=tab;tab=1' [current_tab == 1 ? "class='linkOn'" : ""]>IC Events</a>" - dat += "<a href='?src=[UID()];secretsmenu=tab;tab=2' [current_tab == 2 ? "class='linkOn'" : ""]>OOC Events</a>" + dat += "<a href='byond://?src=[UID()];secretsmenu=tab;tab=0' [current_tab == 0 ? "class='linkOn'" : ""]>Debug</a>" + dat += "<a href='byond://?src=[UID()];secretsmenu=tab;tab=1' [current_tab == 1 ? "class='linkOn'" : ""]>IC Events</a>" + dat += "<a href='byond://?src=[UID()];secretsmenu=tab;tab=2' [current_tab == 2 ? "class='linkOn'" : ""]>OOC Events</a>" dat += "</center>" dat += "<HR>" @@ -19,44 +19,44 @@ dat += {" <center><B><h2>Admin Secrets</h2></B> <B>Game</b><br> - <A href='?src=[UID()];secretsadmin=showailaws'>Show AI Laws</A> - <A href='?src=[UID()];secretsadmin=showgm'>Show Game Mode</A> - <A href='?src=[UID()];secretsadmin=manifest'>Show Crew Manifest</A><br> - <A href='?src=[UID()];secretsadmin=check_antagonist'>Show current traitors and objectives</A><BR> - <A href='?src=[UID()];secretsadmin=view_codewords'>Show code phrases and responses</A><BR> - <a href='?src=[UID()];secretsadmin=night_shift_set'>Set Night Shift Mode</a><br> + <A href='byond://?src=[UID()];secretsadmin=showailaws'>Show AI Laws</A> + <A href='byond://?src=[UID()];secretsadmin=showgm'>Show Game Mode</A> + <A href='byond://?src=[UID()];secretsadmin=manifest'>Show Crew Manifest</A><br> + <A href='byond://?src=[UID()];secretsadmin=check_antagonist'>Show current traitors and objectives</A><BR> + <A href='byond://?src=[UID()];secretsadmin=view_codewords'>Show code phrases and responses</A><BR> + <a href='byond://?src=[UID()];secretsadmin=night_shift_set'>Set Night Shift Mode</a><br> <B>Bombs</b><br> - [check_rights(R_SERVER, 0) ? " <A href='?src=[UID()];secretsfun=togglebombcap'>Toggle bomb cap</A><br>" : "<br>"] + [check_rights(R_SERVER, 0) ? " <A href='byond://?src=[UID()];secretsfun=togglebombcap'>Toggle bomb cap</A><br>" : "<br>"] <B>Lists</b><br> - <A href='?src=[UID()];secretsadmin=list_signalers'>Show last [length(GLOB.lastsignalers)] signalers</A> - <A href='?src=[UID()];secretsadmin=list_lawchanges'>Show last [length(GLOB.lawchanges)] law changes</A><BR> - <A href='?src=[UID()];secretsadmin=DNA'>List DNA (Blood)</A> - <A href='?src=[UID()];secretsadmin=fingerprints'>List Fingerprints</A><BR> + <A href='byond://?src=[UID()];secretsadmin=list_signalers'>Show last [length(GLOB.lastsignalers)] signalers</A> + <A href='byond://?src=[UID()];secretsadmin=list_lawchanges'>Show last [length(GLOB.lawchanges)] law changes</A><BR> + <A href='byond://?src=[UID()];secretsadmin=DNA'>List DNA (Blood)</A> + <A href='byond://?src=[UID()];secretsadmin=fingerprints'>List Fingerprints</A><BR> <B>Power</b><br> - <A href='?src=[UID()];secretsfun=blackout'>Break all lights</A> - <A href='?src=[UID()];secretsfun=whiteout'>Fix all lights</A><BR> - <A href='?src=[UID()];secretsfun=power'>Make all areas powered</A> - <A href='?src=[UID()];secretsfun=unpower'>Make all areas unpowered</A> - <A href='?src=[UID()];secretsfun=quickpower'>Power all SMES</A><BR> + <A href='byond://?src=[UID()];secretsfun=blackout'>Break all lights</A> + <A href='byond://?src=[UID()];secretsfun=whiteout'>Fix all lights</A><BR> + <A href='byond://?src=[UID()];secretsfun=power'>Make all areas powered</A> + <A href='byond://?src=[UID()];secretsfun=unpower'>Make all areas unpowered</A> + <A href='byond://?src=[UID()];secretsfun=quickpower'>Power all SMES</A><BR> </center> "} else if(check_rights(R_SERVER,0)) //only add this if admin secrets are unavailiable; otherwise, it's added inline - dat += "<center><b>Bomb cap: </b><A href='?src=[UID()];secretsfun=togglebombcap'>Toggle bomb cap</A><BR></center>" + dat += "<center><b>Bomb cap: </b><A href='byond://?src=[UID()];secretsfun=togglebombcap'>Toggle bomb cap</A><BR></center>" dat += "<BR>" if(check_rights(R_DEBUG,0)) dat += {" <center> <B>Security Level Elevated</B><BR> <BR> - <A href='?src=[UID()];secretscoder=maint_access_engiebrig'>Change all maintenance doors to engie/brig access only</A><BR> - <A href='?src=[UID()];secretscoder=maint_ACCESS_BRIG'>Change all maintenance doors to brig access only</A><BR> - <A href='?src=[UID()];secretscoder=infinite_sec'>Remove cap on security officers</A> + <A href='byond://?src=[UID()];secretscoder=maint_access_engiebrig'>Change all maintenance doors to engie/brig access only</A><BR> + <A href='byond://?src=[UID()];secretscoder=maint_ACCESS_BRIG'>Change all maintenance doors to brig access only</A><BR> + <A href='byond://?src=[UID()];secretscoder=infinite_sec'>Remove cap on security officers</A> <BR> <B>Coder Secrets</B><BR> <BR> - <A href='?src=[UID()];secretsadmin=list_job_debug'>Show Job Debug</A> - <A href='?src=[UID()];secretscoder=spawn_objects'>Admin Log</A><BR> + <A href='byond://?src=[UID()];secretsadmin=list_job_debug'>Show Job Debug</A> + <A href='byond://?src=[UID()];secretscoder=spawn_objects'>Admin Log</A><BR> <BR> </center> "} @@ -66,23 +66,23 @@ var/security_levels_data = "" for(var/level_name in SSsecurity_level.available_levels) var/datum/security_level/this_level = SSsecurity_level.available_levels[level_name] - security_levels_data += "<a href='?src=[UID()];secretsfun=securitylevel;number=[this_level.number_level]'>[this_level.name]</a>" + security_levels_data += "<a href='byond://?src=[UID()];secretsfun=securitylevel;number=[this_level.number_level]'>[this_level.name]</a>" dat += {" <center> <h2><B>IC Events</B></h2> <b>Teams</b><br> - <A href='?src=[UID()];secretsfun=infiltrators_syndicate'>Send SIT - Syndicate Infiltration Team</A> - <A href='?src=[UID()];secretsfun=striketeam_syndicate'>Send in a Syndie Strike Team</A> - <BR><A href='?src=[UID()];secretsfun=deathsquad'>Send in the Deathsquad</A> - <A href='?src=[UID()];secretsfun=gimmickteam'>Send in a Gimmick Team</A><BR> + <A href='byond://?src=[UID()];secretsfun=infiltrators_syndicate'>Send SIT - Syndicate Infiltration Team</A> + <A href='byond://?src=[UID()];secretsfun=striketeam_syndicate'>Send in a Syndie Strike Team</A> + <BR><A href='byond://?src=[UID()];secretsfun=deathsquad'>Send in the Deathsquad</A> + <A href='byond://?src=[UID()];secretsfun=gimmickteam'>Send in a Gimmick Team</A><BR> <b>Change Security Level</b><BR> [security_levels_data]<BR> <b>Create Weather</b><BR> - <A href='?src=[UID()];secretsfun=weatherashstorm'>Weather - Ash Storm</A> + <A href='byond://?src=[UID()];secretsfun=weatherashstorm'>Weather - Ash Storm</A> <BR> <b>Reinforce Station</b><BR> - <A href='?src=[UID()];secretsfun=gammashuttle'>Move the Gamma Armory</A> + <A href='byond://?src=[UID()];secretsfun=gammashuttle'>Move the Gamma Armory</A> <BR> </center>"} @@ -92,38 +92,38 @@ <center> <h2><B>OOC Events</B></h2> <b>Thunderdome</b><br> - <A href='?src=[UID()];secretsfun=tdomestart'>Start a Thunderdome match</A> - <A href='?src=[UID()];secretsfun=tdomereset'>Reset Thunderdome to default state</A><BR><br> + <A href='byond://?src=[UID()];secretsfun=tdomestart'>Start a Thunderdome match</A> + <A href='byond://?src=[UID()];secretsfun=tdomereset'>Reset Thunderdome to default state</A><BR><br> <b>Clothing</b><br> - <A href='?src=[UID()];secretsfun=sec_clothes'>Remove 'internal' clothing</A> - <A href='?src=[UID()];secretsfun=sec_all_clothes'>Remove ALL clothing</A><BR> + <A href='byond://?src=[UID()];secretsfun=sec_clothes'>Remove 'internal' clothing</A> + <A href='byond://?src=[UID()];secretsfun=sec_all_clothes'>Remove ALL clothing</A><BR> <b>TDM</b><br> - <A href='?src=[UID()];secretsfun=traitor_all'>Everyone is the traitor</A> - <A href='?src=[UID()];secretsfun=onlyone'>There can only be one!</A> - <A href='?src=[UID()];secretsfun=onlyme'>There can only be me!</A> - <A href='?src=[UID()];secretsfun=onlyoneteam'>Dodgeball (TDM)!</A><BR> + <A href='byond://?src=[UID()];secretsfun=traitor_all'>Everyone is the traitor</A> + <A href='byond://?src=[UID()];secretsfun=onlyone'>There can only be one!</A> + <A href='byond://?src=[UID()];secretsfun=onlyme'>There can only be me!</A> + <A href='byond://?src=[UID()];secretsfun=onlyoneteam'>Dodgeball (TDM)!</A><BR> <b>Round-enders</b><br> - <A href='?src=[UID()];secretsfun=floorlava'>The floor is lava! (DANGEROUS: extremely lame)</A><BR> - <A href='?src=[UID()];secretsfun=fakelava'>The floor is fake-lava! (non-harmful)</A><BR> - <A href='?src=[UID()];secretsfun=monkey'>Turn all humans into monkeys</A><BR> - <A href='?src=[UID()];secretsfun=fakeguns'>Make all items look like guns</A><BR> - <A href='?src=[UID()];secretsfun=prisonwarp'>Warp all Players to Prison</A><BR> - <A href='?src=[UID()];secretsfun=stupify'>Make all players stupid</A><BR> + <A href='byond://?src=[UID()];secretsfun=floorlava'>The floor is lava! (DANGEROUS: extremely lame)</A><BR> + <A href='byond://?src=[UID()];secretsfun=fakelava'>The floor is fake-lava! (non-harmful)</A><BR> + <A href='byond://?src=[UID()];secretsfun=monkey'>Turn all humans into monkeys</A><BR> + <A href='byond://?src=[UID()];secretsfun=fakeguns'>Make all items look like guns</A><BR> + <A href='byond://?src=[UID()];secretsfun=prisonwarp'>Warp all Players to Prison</A><BR> + <A href='byond://?src=[UID()];secretsfun=stupify'>Make all players stupid</A><BR> <b>Misc</b><br> - <A href='?src=[UID()];secretsfun=sec_classic1'>Remove firesuits, grilles, and pods</A> - <A href='?src=[UID()];secretsfun=tripleAI'>Triple AI mode (needs to be used in the lobby)</A><BR> - <A href='?src=[UID()];secretsfun=flicklights'>Ghost Mode</A> - <A href='?src=[UID()];secretsfun=schoolgirl'>Japanese Animes Mode</A> - <A href='?src=[UID()];secretsfun=eagles'>Egalitarian Station Mode</A><BR> - <A href='?src=[UID()];secretsfun=guns'>Summon Guns</A> - <A href='?src=[UID()];secretsfun=magic'>Summon Magic</A> + <A href='byond://?src=[UID()];secretsfun=sec_classic1'>Remove firesuits, grilles, and pods</A> + <A href='byond://?src=[UID()];secretsfun=tripleAI'>Triple AI mode (needs to be used in the lobby)</A><BR> + <A href='byond://?src=[UID()];secretsfun=flicklights'>Ghost Mode</A> + <A href='byond://?src=[UID()];secretsfun=schoolgirl'>Japanese Animes Mode</A> + <A href='byond://?src=[UID()];secretsfun=eagles'>Egalitarian Station Mode</A><BR> + <A href='byond://?src=[UID()];secretsfun=guns'>Summon Guns</A> + <A href='byond://?src=[UID()];secretsfun=magic'>Summon Magic</A> <BR> - <A href='?src=[UID()];secretsfun=rolldice'>Roll the Dice</A><BR> + <A href='byond://?src=[UID()];secretsfun=rolldice'>Roll the Dice</A><BR> <BR> <BR> - <A href='?src=[UID()];secretsfun=moveferry'>Move Ferry</A><BR> - <A href='?src=[UID()];secretsfun=moveminingshuttle'>Move Mining Shuttle</A><BR> - <A href='?src=[UID()];secretsfun=movelaborshuttle'>Move Labor Shuttle</A><BR> + <A href='byond://?src=[UID()];secretsfun=moveferry'>Move Ferry</A><BR> + <A href='byond://?src=[UID()];secretsfun=moveminingshuttle'>Move Mining Shuttle</A><BR> + <A href='byond://?src=[UID()];secretsfun=movelaborshuttle'>Move Labor Shuttle</A><BR> <BR> </center>"} dat += "</center></body></html>" diff --git a/code/modules/admin/sql_notes.dm b/code/modules/admin/sql_notes.dm index 917ad005eb4e..ef0253f972a4 100644 --- a/code/modules/admin/sql_notes.dm +++ b/code/modules/admin/sql_notes.dm @@ -175,19 +175,20 @@ /proc/show_note(target_ckey, index, linkless = 0) if(!check_rights(R_ADMIN|R_MOD)) return - var/output - var/navbar - var/ruler - ruler = "<hr style='background:#000000; border:0; height:3px'>" - navbar = "<meta charset='UTF-8'><a href='?_src_=holder;nonalpha=1'>\[All\]</a>|<a href='?_src_=holder;nonalpha=2'>\[#\]</a>" + var/list/output = list("<!DOCTYPE html>") + var/list/navbar = list() + var/ruler = "<hr style='background:#000000; border:0; height:3px'>" + + navbar = "<meta charset='UTF-8'><a href='byond://?_src_=holder;nonalpha=1'>\[All\]</a>|<a href='byond://?_src_=holder;nonalpha=2'>\[#\]</a>" for(var/letter in GLOB.alphabet) - navbar += "|<a href='?_src_=holder;shownote=[letter]'>\[[letter]\]</a>" + navbar += "|<a href='byond://?_src_=holder;shownote=[letter]'>\[[letter]\]</a>" + navbar += "<br><form method='GET' name='search' action='?'>\ <input type='hidden' name='_src_' value='holder'>\ <input type='text' name='notessearch' value='[index]'>\ <input type='submit' value='Search'></form>" if(!linkless) - output = navbar + output += navbar if(target_ckey) var/target_sql_ckey = ckey(target_ckey) var/datum/db_query/query_get_notes = SSdbcore.NewQuery({" @@ -200,7 +201,7 @@ return output += "<h2><center>Notes of [target_ckey]</center></h2>" if(!linkless) - output += "<center><a href='?_src_=holder;addnote=[target_ckey]'>\[Add Note\]</a></center>" + output += "<center><a href='byond://?_src_=holder;addnote=[target_ckey]'>\[Add Note\]</a></center>" output += ruler while(query_get_notes.NextRow()) var/id = query_get_notes.item[1] @@ -219,15 +220,15 @@ output += "</b>" if(!linkless) - output += " <a href='?_src_=holder;removenote=[id]'>\[Remove Note\]</a> [automated ? "\[Automated Note\]" : "<a href='?_src_=holder;editnote=[id]'>\[Edit Note\]</a>"]" + output += " <a href='byond://?_src_=holder;removenote=[id]'>\[Remove Note\]</a> [automated ? "\[Automated Note\]" : "<a href='byond://?_src_=holder;editnote=[id]'>\[Edit Note\]</a>"]" if(last_editor) - output += " <font size='2'>Last edit by [last_editor] <a href='?_src_=holder;noteedits=[id]'>(Click here to see edit log)</a></font>" + output += " <font size='2'>Last edit by [last_editor] <a href='byond://?_src_=holder;noteedits=[id]'>(Click here to see edit log)</a></font>" output += "<br>[replacetext(notetext, "\n", "<br>")]<hr style='background:#000000; border:0; height:1px'>" qdel(query_get_notes) else if(index) var/index_ckey var/search - output += "<center><a href='?_src_=holder;addnoteempty=1'>\[Add Note\]</a></center>" + output += "<center><a href='byond://?_src_=holder;addnoteempty=1'>\[Add Note\]</a></center>" output += ruler switch(index) if(1) @@ -246,12 +247,12 @@ message_admins("[usr.ckey] has started a note search with the following regex: [search] | CPU usage may be higher.") while(query_list_notes.NextRow()) index_ckey = query_list_notes.item[1] - output += "<a href='?_src_=holder;shownoteckey=[index_ckey]'>[index_ckey]</a><br>" + output += "<a href='byond://?_src_=holder;shownoteckey=[index_ckey]'>[index_ckey]</a><br>" CHECK_TICK qdel(query_list_notes) message_admins("The note search started by [usr.ckey] has completed. CPU should return to normal.") else - output += "<center><a href='?_src_=holder;addnoteempty=1'>\[Add Note\]</a></center>" + output += "<center><a href='byond://?_src_=holder;addnoteempty=1'>\[Add Note\]</a></center>" output += ruler - usr << browse(output, "window=show_notes;size=900x500") + usr << browse(output.Join(""), "window=show_notes;size=900x500") diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index e5d5910e6a6f..26ea18914701 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -457,17 +457,17 @@ //Regular jobs //Command (Blue) jobs += "<table cellpadding='1' cellspacing='0' width='100%'>" - jobs += "<tr align='center' bgcolor='ccccff'><th colspan='[length(GLOB.command_positions)]'><a href='?src=[UID()];jobban3=commanddept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Command Positions</a></th></tr><tr align='center'>" + jobs += "<tr align='center' bgcolor='ccccff'><th colspan='[length(GLOB.command_positions)]'><a href='byond://?src=[UID()];jobban3=commanddept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Command Positions</a></th></tr><tr align='center'>" for(var/jobPos in GLOB.command_positions) if(!jobPos) continue var/datum/job/job = SSjobs.GetJob(jobPos) if(!job) continue if(jobban_isbanned(M, job.title)) - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" counter++ else - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" counter++ if(counter >= 6) //So things dont get squiiiiished! @@ -478,17 +478,17 @@ //Security (Red) counter = 0 jobs += "<table cellpadding='1' cellspacing='0' width='100%'>" - jobs += "<tr bgcolor='ffddf0'><th colspan='[length(GLOB.security_positions)]'><a href='?src=[UID()];jobban3=securitydept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Security Positions</a></th></tr><tr align='center'>" + jobs += "<tr bgcolor='ffddf0'><th colspan='[length(GLOB.security_positions)]'><a href='byond://?src=[UID()];jobban3=securitydept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Security Positions</a></th></tr><tr align='center'>" for(var/jobPos in GLOB.security_positions) if(!jobPos) continue var/datum/job/job = SSjobs.GetJob(jobPos) if(!job) continue if(jobban_isbanned(M, job.title)) - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" counter++ else - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" counter++ if(counter >= 5) //So things dont get squiiiiished! @@ -499,17 +499,17 @@ //Engineering (Yellow) counter = 0 jobs += "<table cellpadding='1' cellspacing='0' width='100%'>" - jobs += "<tr bgcolor='fff5cc'><th colspan='[length(GLOB.engineering_positions)]'><a href='?src=[UID()];jobban3=engineeringdept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Engineering Positions</a></th></tr><tr align='center'>" + jobs += "<tr bgcolor='fff5cc'><th colspan='[length(GLOB.engineering_positions)]'><a href='byond://?src=[UID()];jobban3=engineeringdept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Engineering Positions</a></th></tr><tr align='center'>" for(var/jobPos in GLOB.engineering_positions) if(!jobPos) continue var/datum/job/job = SSjobs.GetJob(jobPos) if(!job) continue if(jobban_isbanned(M, job.title)) - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" counter++ else - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" counter++ if(counter >= 5) //So things dont get squiiiiished! @@ -520,17 +520,17 @@ //Medical (White) counter = 0 jobs += "<table cellpadding='1' cellspacing='0' width='100%'>" - jobs += "<tr bgcolor='ffeef0'><th colspan='[length(GLOB.medical_positions)]'><a href='?src=[UID()];jobban3=medicaldept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Medical Positions</a></th></tr><tr align='center'>" + jobs += "<tr bgcolor='ffeef0'><th colspan='[length(GLOB.medical_positions)]'><a href='byond://?src=[UID()];jobban3=medicaldept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Medical Positions</a></th></tr><tr align='center'>" for(var/jobPos in GLOB.medical_positions) if(!jobPos) continue var/datum/job/job = SSjobs.GetJob(jobPos) if(!job) continue if(jobban_isbanned(M, job.title)) - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" counter++ else - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" counter++ if(counter >= 5) //So things dont get squiiiiished! @@ -541,17 +541,17 @@ //Science (Purple) counter = 0 jobs += "<table cellpadding='1' cellspacing='0' width='100%'>" - jobs += "<tr bgcolor='e79fff'><th colspan='[length(GLOB.science_positions)]'><a href='?src=[UID()];jobban3=sciencedept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Science Positions</a></th></tr><tr align='center'>" + jobs += "<tr bgcolor='e79fff'><th colspan='[length(GLOB.science_positions)]'><a href='byond://?src=[UID()];jobban3=sciencedept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Science Positions</a></th></tr><tr align='center'>" for(var/jobPos in GLOB.science_positions) if(!jobPos) continue var/datum/job/job = SSjobs.GetJob(jobPos) if(!job) continue if(jobban_isbanned(M, job.title)) - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" counter++ else - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" counter++ if(counter >= 5) //So things dont get squiiiiished! @@ -562,17 +562,17 @@ //Service (Grey) counter = 0 jobs += "<table cellpadding='1' cellspacing='0' width='100%'>" - jobs += "<tr bgcolor='dddddd'><th colspan='[length(GLOB.service_positions)]'><a href='?src=[UID()];jobban3=servicedept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Service Positions</a></th></tr><tr align='center'>" + jobs += "<tr bgcolor='dddddd'><th colspan='[length(GLOB.service_positions)]'><a href='byond://?src=[UID()];jobban3=servicedept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Service Positions</a></th></tr><tr align='center'>" for(var/jobPos in GLOB.service_positions) if(!jobPos) continue var/datum/job/job = SSjobs.GetJob(jobPos) if(!job) continue if(jobban_isbanned(M, job.title)) - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" counter++ else - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" counter++ if(counter >= 5) //So things dont get squiiiiished! @@ -583,17 +583,17 @@ //Supply (Brown) counter = 0 jobs += "<table cellpadding='1' cellspacing='0' width='100%'>" - jobs += "<tr bgcolor='e2c59d'><th colspan='[length(GLOB.supply_positions)]'><a href='?src=[UID()];jobban3=supplydept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Supply Positions</a></th></tr><tr align='center'>" + jobs += "<tr bgcolor='e2c59d'><th colspan='[length(GLOB.supply_positions)]'><a href='byond://?src=[UID()];jobban3=supplydept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Supply Positions</a></th></tr><tr align='center'>" for(var/jobPos in GLOB.supply_positions) if(!jobPos) continue var/datum/job/job = SSjobs.GetJob(jobPos) if(!job) continue if(jobban_isbanned(M, job.title)) - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" counter++ else - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" counter++ if(counter >= 5) //So things dont get squiiiiished! @@ -604,17 +604,17 @@ //Non-Human (Green) counter = 0 jobs += "<table cellpadding='1' cellspacing='0' width='100%'>" - jobs += "<tr bgcolor='ccffcc'><th colspan='[length(GLOB.nonhuman_positions)+1]'><a href='?src=[UID()];jobban3=nonhumandept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Non-human Positions</a></th></tr><tr align='center'>" + jobs += "<tr bgcolor='ccffcc'><th colspan='[length(GLOB.nonhuman_positions)+1]'><a href='byond://?src=[UID()];jobban3=nonhumandept;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Non-human Positions</a></th></tr><tr align='center'>" for(var/jobPos in GLOB.nonhuman_positions) if(!jobPos) continue var/datum/job/job = SSjobs.GetJob(jobPos) if(!job) continue if(jobban_isbanned(M, job.title)) - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(job.title, " ", " ")]</font></a></td>" counter++ else - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[job.title];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(job.title, " ", " ")]</a></td>" counter++ if(counter >= 5) //So things dont get squiiiiished! @@ -623,29 +623,29 @@ //Drone if(jobban_isbanned(M, "Drone")) - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=Drone;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>Drone</font></a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=Drone;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>Drone</font></a></td>" else - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=Drone;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Drone</a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=Drone;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Drone</a></td>" //pAI if(jobban_isbanned(M, "pAI")) - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=pAI;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>pAI</font></a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=pAI;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>pAI</font></a></td>" else - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=pAI;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>pAI</a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=pAI;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>pAI</a></td>" jobs += "</tr></table>" //Antagonist (Orange) var/isbanned_dept = jobban_isbanned(M, "Syndicate") jobs += "<table cellpadding='1' cellspacing='0' width='100%'>" - jobs += "<tr bgcolor='ffeeaa'><th colspan='10'><a href='?src=[UID()];jobban3=Syndicate;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Antagonist Positions</a></th></tr><tr align='center'>" + jobs += "<tr bgcolor='ffeeaa'><th colspan='10'><a href='byond://?src=[UID()];jobban3=Syndicate;jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>Antagonist Positions</a></th></tr><tr align='center'>" counter = 0 for(var/role in GLOB.antag_roles) if(jobban_isbanned(M, role) || isbanned_dept) - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[role];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(role, " ", " ")]</font></a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[role];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(role, " ", " ")]</font></a></td>" else - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[role];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(role, " ", " ")]</a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[role];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(role, " ", " ")]</a></td>" counter++ if(counter >= 5) //So things dont get squiiiiished! @@ -660,9 +660,9 @@ counter = 0 for(var/role in GLOB.other_roles) if(jobban_isbanned(M, role) || isbanned_dept) - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[role];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(role, " ", " ")]</font></a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[role];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'><font color=red>[replacetext(role, " ", " ")]</font></a></td>" else - jobs += "<td width='20%'><a href='?src=[UID()];jobban3=[role];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(role, " ", " ")]</a></td>" + jobs += "<td width='20%'><a href='byond://?src=[UID()];jobban3=[role];jobban4=[M.UID()];dbbanaddckey=[M.ckey]'>[replacetext(role, " ", " ")]</a></td>" counter++ if(counter >= 5) //So things dont get squiiiiished! @@ -671,7 +671,7 @@ jobs += "</tr></table>" body = "<body>[jobs]</body>" - dat = "<tt>[header][body]</tt>" + dat = "<!DOCTYPE html><tt>[header][body]</tt>" usr << browse(dat, "window=jobban2;size=800x490") return @@ -887,7 +887,7 @@ return if(query_noteedits.NextRow()) var/edit_log = query_noteedits.item[1] - usr << browse(edit_log,"window=noteedits") + usr << browse("<!DOCTYPE html>[edit_log]","window=noteedits") qdel(query_noteedits) else if(href_list["newban"]) @@ -991,7 +991,7 @@ return if(query_watchedits.NextRow()) var/edit_log = query_watchedits.item[1] - usr << browse(edit_log,"window=watchedits") + usr << browse("<!DOCTYPE html>[edit_log]","window=watchedits") qdel(query_watchedits) else if(href_list["mute"]) @@ -1013,11 +1013,11 @@ if(SSticker && SSticker.mode) return alert(usr, "The game has already started.", null, null, null, null) - var/dat = {"<b>What mode do you wish to play?</b><hr>"} + var/dat = {"<!DOCTYPE html><b>What mode do you wish to play?</b><hr>"} for(var/mode in GLOB.configuration.gamemode.gamemodes) - dat += {"<A href='?src=[UID()];c_mode2=[mode]'>[GLOB.configuration.gamemode.gamemode_names[mode]]</A><br>"} - dat += {"<A href='?src=[UID()];c_mode2=secret'>Secret</A><br>"} - dat += {"<A href='?src=[UID()];c_mode2=random'>Random</A><br>"} + dat += {"<A href='byond://?src=[UID()];c_mode2=[mode]'>[GLOB.configuration.gamemode.gamemode_names[mode]]</A><br>"} + dat += {"<A href='byond://?src=[UID()];c_mode2=secret'>Secret</A><br>"} + dat += {"<A href='byond://?src=[UID()];c_mode2=random'>Random</A><br>"} dat += {"Now: [GLOB.master_mode]"} usr << browse(dat, "window=c_mode") @@ -1028,10 +1028,10 @@ return alert(usr, "The game has already started.", null, null, null, null) if(GLOB.master_mode != "secret") return alert(usr, "The game mode has to be secret!", null, null, null, null) - var/dat = {"<b>What game mode do you want to force secret to be? Use this if you want to change the game mode, but want the players to believe it's secret. This will only work if the current game mode is secret.</b><hr>"} + var/dat = {"<!DOCTYPE html><b>What game mode do you want to force secret to be? Use this if you want to change the game mode, but want the players to believe it's secret. This will only work if the current game mode is secret.</b><hr>"} for(var/mode in GLOB.configuration.gamemode.gamemodes) - dat += {"<A href='?src=[UID()];f_secret2=[mode]'>[GLOB.configuration.gamemode.gamemode_names[mode]]</A><br>"} - dat += {"<A href='?src=[UID()];f_secret2=secret'>Random (default)</A><br>"} + dat += {"<A href='byond://?src=[UID()];f_secret2=[mode]'>[GLOB.configuration.gamemode.gamemode_names[mode]]</A><br>"} + dat += {"<A href='byond://?src=[UID()];f_secret2=secret'>Random (default)</A><br>"} dat += {"Now: [GLOB.secret_force_mode]"} usr << browse(dat, "window=f_secret") @@ -2371,12 +2371,12 @@ else if(istype(fax, /obj/item/paper_bundle)) //having multiple people turning pages on a paper_bundle can cause issues //open a browse window listing the contents instead - var/data = "" + var/data = "<!DOCTYPE html>" var/obj/item/paper_bundle/B = fax for(var/page = 1, page <= B.amount + 1, page++) var/obj/pageobj = B.contents[page] - data += "<A href='?src=[UID()];AdminFaxViewPage=[page];paper_bundle=\ref[B]'>Page [page] - [pageobj.name]</A><BR>" + data += "<A href='byond://?src=[UID()];AdminFaxViewPage=[page];paper_bundle=\ref[B]'>Page [page] - [pageobj.name]</A><BR>" usr << browse(data, "window=PaperBundle[B.UID()]") else @@ -2551,10 +2551,10 @@ to_chat(sender, "<span class='specialnoticebold'>Your headset pings, notifying you that a reply to your fax has arrived.</span>") if(sender) log_admin("[key_name(src.owner)] replied to a fax message from [key_name(sender)]: [input]") - message_admins("[key_name_admin(src.owner)] replied to a fax message from [key_name_admin(sender)] (<a href='?_src_=holder;AdminFaxView=\ref[P]'>VIEW</a>).", 1) + message_admins("[key_name_admin(src.owner)] replied to a fax message from [key_name_admin(sender)] (<a href='byond://?_src_=holder;AdminFaxView=\ref[P]'>VIEW</a>).", 1) else log_admin("[key_name(src.owner)] sent a fax message to [destination]: [input]") - message_admins("[key_name_admin(src.owner)] sent a fax message to [destination] (<a href='?_src_=holder;AdminFaxView=\ref[P]'>VIEW</a>).", 1) + message_admins("[key_name_admin(src.owner)] sent a fax message to [destination] (<a href='byond://?_src_=holder;AdminFaxView=\ref[P]'>VIEW</a>).", 1) return else if(href_list["refreshfaxpanel"]) @@ -2790,7 +2790,7 @@ return if(query_memoedits.NextRow()) var/edit_log = query_memoedits.item[1] - usr << browse(edit_log,"window=memoeditlist") + usr << browse("<!DOCTYPE html>[edit_log]","window=memoeditlist") qdel(query_memoedits) else if(href_list["secretsfun"]) diff --git a/code/modules/admin/verbs/SDQL2/SDQL_2.dm b/code/modules/admin/verbs/SDQL2/SDQL_2.dm index c920a38ba552..204385167c73 100644 --- a/code/modules/admin/verbs/SDQL2/SDQL_2.dm +++ b/code/modules/admin/verbs/SDQL2/SDQL_2.dm @@ -103,7 +103,7 @@ var/text = "" for(var/o in objs) var/datum/t = o - text += "<A HREF='?_src_=vars;Vars=[t.UID()]'>\ref[t]</A>" + text += "<A href='byond://?_src_=vars;Vars=[t.UID()]'>\ref[t]</A>" if(istype(t, /atom)) var/atom/a = t diff --git a/code/modules/admin/verbs/adminpm.dm b/code/modules/admin/verbs/adminpm.dm index cf562a6c90b0..c55322a17c1a 100644 --- a/code/modules/admin/verbs/adminpm.dm +++ b/code/modules/admin/verbs/adminpm.dm @@ -120,7 +120,7 @@ var/datum/controller/subsystem/tickets/tickets_system // We treat PMs as mentorhelps if we were explicitly so, or if neither // party is an admin. - if(type == "Mentorhelp" || !(check_rights(R_ADMIN|R_MOD, 0, C.mob) || check_rights(R_ADMIN|R_MOD, 0, src.mob))) + if(type == "Mentorhelp" || !(check_rights(R_ADMIN|R_MOD, 0, C.mob) || check_rights(R_ADMIN|R_MOD, 0, mob))) send_span = "mentorhelp" recieve_span = "mentorhelp" message_type = MESSAGE_TYPE_MENTORPM @@ -166,23 +166,33 @@ adminhelp(reply) //sender has left, adminhelp instead return - var/ping_link = check_rights(R_ADMIN, 0, mob) ? "(<a href='?src=[pm_tracker.UID()];ping=[C.key]'>PING</a>)" : "" - var/window_link = "(<a href='?src=[pm_tracker.UID()];newtitle=[C.key]'>WINDOW</a>)" - var/alert_link = check_rights(R_ADMIN, FALSE, mob) ? "(<a href='?src=[pm_tracker.UID()];adminalert=[C.mob.UID()]'>ALERT</a>)" : "" + var/ping_link = check_rights(R_ADMIN, 0, mob) ? "(<a href='byond://?src=[pm_tracker.UID()];ping=[C.key]'>PING</a>)" : "" + var/ticket_link + var/alert_link = check_rights(R_ADMIN, FALSE, mob) ? "(<a href='byond://?src=[pm_tracker.UID()];adminalert=[C.mob.UID()]'>ALERT</a>)" : "" if(ticket_id != -1) if(message_type == MESSAGE_TYPE_MENTORPM) - window_link = "(<a href='?_src_=holder;openticket=[ticket_id];is_mhelp=1'>TICKET</a>)" + ticket_link = "(<a href='byond://?_src_=holder;openticket=[ticket_id];is_mhelp=1'>TICKET</a>)" else - window_link = "(<a href='?_src_=holder;openticket=[ticket_id]'>TICKET</a>)" + ticket_link = "(<a href='byond://?_src_=holder;openticket=[ticket_id]'>TICKET</a>)" var/emoji_msg = "<span class='emoji_enabled'>[msg]</span>" - recieve_message = "<span class='[recieve_span]'>[type] from-<b>[recieve_pm_type] [C.holder ? key_name(src, TRUE, type, ticket_id = ticket_id) : key_name_hidden(src, TRUE, type, ticket_id = ticket_id)]</b>:<br><br>[emoji_msg][C.holder ? "<br>[ping_link] [window_link] [alert_link]" : ""]</span>" + var/recieve_window_link = "(<a href='byond://?src=[C.pm_tracker.UID()];newtitle=[key]'>WINDOW</a>)" + if(message_type == MESSAGE_TYPE_MENTORPM && check_rights(R_ADMIN|R_MENTOR, 0, C.mob)) + recieve_window_link = ticket_link + else if(message_type == MESSAGE_TYPE_ADMINPM && check_rights(R_ADMIN, 0, C.mob)) + recieve_window_link = ticket_link + recieve_message = "<span class='[recieve_span]'>[type] from-<b>[recieve_pm_type] [C.holder ? key_name(src, TRUE, type, ticket_id = ticket_id) : key_name_hidden(src, TRUE, type, ticket_id = ticket_id)]</b>:<br><br>[emoji_msg][C.holder ? "<br>[ping_link] [recieve_window_link] [alert_link]" : ""]</span>" if(message_type == MESSAGE_TYPE_MENTORPM) recieve_message = chat_box_mhelp(recieve_message) else recieve_message = chat_box_ahelp(recieve_message) to_chat(C, recieve_message) - var/send_message = "<span class='[send_span]'>[send_pm_type][type] to-<b>[holder ? key_name(C, TRUE, type, ticket_id = ticket_id) : key_name_hidden(C, TRUE, type, ticket_id = ticket_id)]</b>:<br><br>[emoji_msg]</span><br>[ping_link] [window_link] [alert_link]" + var/send_window_link = "(<a href='byond://?src=[pm_tracker.UID()];newtitle=[C.key]'>WINDOW</a>)" + if(message_type == MESSAGE_TYPE_MENTORPM && check_rights(R_ADMIN|R_MENTOR, 0, mob)) + send_window_link = ticket_link + else if(message_type == MESSAGE_TYPE_ADMINPM && check_rights(R_ADMIN, 0, mob)) + send_window_link = ticket_link + var/send_message = "<span class='[send_span]'>[send_pm_type][type] to-<b>[holder ? key_name(C, TRUE, type, ticket_id = ticket_id) : key_name_hidden(C, TRUE, type, ticket_id = ticket_id)]</b>:<br><br>[emoji_msg]</span><br>[ping_link] [send_window_link] [alert_link]" if(message_type == MESSAGE_TYPE_MENTORPM) send_message = chat_box_mhelp(send_message) else @@ -191,9 +201,9 @@ var/third_party_message if(message_type == MESSAGE_TYPE_MENTORPM) - third_party_message = chat_box_mhelp("<span class='mentorhelp'>[type]: [key_name(src, TRUE, type, ticket_id = ticket_id)]->[key_name(C, TRUE, type, ticket_id = ticket_id)]:<br><br>[emoji_msg]<br>[ping_link] [window_link] [alert_link]</span>") + third_party_message = chat_box_mhelp("<span class='mentorhelp'>[type]: [key_name(src, TRUE, type, ticket_id = ticket_id)]->[key_name(C, TRUE, type, ticket_id = ticket_id)]:<br><br>[emoji_msg]<br>[ping_link] [ticket_link] [alert_link]</span>") else - third_party_message = chat_box_ahelp("<span class='adminhelp'>[type]: [key_name(src, TRUE, type, ticket_id = ticket_id)]->[key_name(C, TRUE, type, ticket_id = ticket_id)]:<br><br>[emoji_msg]<br>[ping_link] [window_link] [alert_link]</span>") + third_party_message = chat_box_ahelp("<span class='adminhelp'>[type]: [key_name(src, TRUE, type, ticket_id = ticket_id)]->[key_name(C, TRUE, type, ticket_id = ticket_id)]:<br><br>[emoji_msg]<br>[ping_link] [ticket_link] [alert_link]</span>") //play the recieving admin the adminhelp sound (if they have them enabled) //non-admins always hear the sound, as they cannot toggle it @@ -287,6 +297,7 @@ target.pm_tracker.show_ui(target.mob) /datum/pm_tracker + var/ckey var/current_title = "" var/open = FALSE var/list/datum/pm_convo/pms = list() @@ -294,6 +305,9 @@ var/window_id = "pms_window" var/forced = FALSE +/datum/pm_tracker/New(ckey_in) + ckey = ckey_in + /datum/pm_convo var/list/messages = list() var/archived = FALSE @@ -326,14 +340,18 @@ show_ui(user) /datum/pm_tracker/proc/show_ui(mob/user) + // Please do not open someone else's PMs, that makes them not very private. + if(user.ckey != ckey) + return + var/dat = "" // If it was forced open, make them use a special close button that alerts admins to closure if(forced) - dat += "<div style='float: right'><big><a href='?src=[UID()];altclose=1'>Close</a></big></div>" + dat += "<div style='float: right'><big><a href='byond://?src=[UID()];altclose=1'>Close</a></big></div>" - dat += "<a href='?src=[UID()];refresh=1'>Refresh</a>" - dat += "<a href='?src=[UID()];showarchived=1'>[show_archived ? "Hide" : "Show"] Archived</a>" + dat += "<a href='byond://?src=[UID()];refresh=1'>Refresh</a>" + dat += "<a href='byond://?src=[UID()];showarchived=1'>[show_archived ? "Hide" : "Show"] Archived</a>" dat += "<br>" for(var/title in pms) if(pms[title].archived && !show_archived) @@ -345,7 +363,7 @@ class = "linkOn" else if(!pms[title].read) label = "<i>*[label]</i>" - dat += "<a class='[class]' href='?src=[UID()];newtitle=[title]'>[label]</a>" + dat += "<a class='[class]' href='byond://?src=[UID()];newtitle=[title]'>[label]</a>" var/datum/pm_convo/convo = pms[current_title] var/datum/browser/popup = new(user, window_id, "Messages", 1000, 600, src) @@ -375,10 +393,10 @@ dat += "<i><span class='typing'>[current_title] is typing</span></i>" dat += "<br>" dat += "</h4>" - dat += "<a href='?src=[UID()];reply=[current_title]'>Reply</a>" - dat += "<a href='?src=[UID()];archive=[current_title]'>[convo.archived ? "Unarchive" : "Archive"]</a>" + dat += "<a href='byond://?src=[UID()];reply=[current_title]'>Reply</a>" + dat += "<a href='byond://?src=[UID()];archive=[current_title]'>[convo.archived ? "Unarchive" : "Archive"]</a>" if(check_rights(R_ADMIN, FALSE, user)) - dat += "<a href='?src=[UID()];ping=[current_title]'>Ping</a>" + dat += "<a href='byond://?src=[UID()];ping=[current_title]'>Ping</a>" popup.set_content(dat) popup.open() diff --git a/code/modules/admin/verbs/adminsay.dm b/code/modules/admin/verbs/adminsay.dm index a970f55675f2..663a6b7eacb3 100644 --- a/code/modules/admin/verbs/adminsay.dm +++ b/code/modules/admin/verbs/adminsay.dm @@ -1,10 +1,12 @@ /client/proc/cmd_admin_say(msg as text) set name = "Asay" //Gave this shit a shorter name so you only have to time out "asay" rather than "admin say" to use it --NeoFite set hidden = 1 - if(!check_rights(R_ADMIN)) return + if(!check_rights(R_ADMIN)) + return - msg = sanitize(copytext_char(msg, 1, MAX_MESSAGE_LEN)) - if(!msg) return + msg = emoji_parse(copytext_char(sanitize(msg), 1, MAX_MESSAGE_LEN)) + if(!msg) + return var/datum/asays/asay = new(usr.ckey, usr.client.holder.rank, msg, world.timeofday) GLOB.asays += asay @@ -60,7 +62,7 @@ else if(!check_rights(R_ADMIN|R_MOD)) // Catch any other non-admins trying to use this proc return - msg = sanitize(copytext_char(msg, 1, MAX_MESSAGE_LEN)) + msg = emoji_parse(copytext_char(sanitize(msg), 1, MAX_MESSAGE_LEN)) log_mentorsay(msg, src) mob.create_log(OOC_LOG, "MSAY: [msg]") diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index c824a9ca400b..85cdf1ffc3e6 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -914,6 +914,21 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention) GLOB.error_cache.showTo(usr) +/client/proc/allow_browser_inspect() + set category = "Debug" + set name = "Allow Browser Inspect" + set desc = "Allow browser debugging via inspect" + + if(!check_rights(R_MAINTAINER) || !isclient(src)) + return + + if(byond_version < 516) + to_chat(src, "<span class='warning'>You can only use this on 516!</span>") + return + + to_chat(src, "<span class='info'>You can now right click to use inspect on browsers.</span>") + winset(src, "", "browser-options=find,devtools") + /client/proc/visualise_active_turfs() set category = "Debug" set name = "Visualise Active Turfs" diff --git a/code/modules/admin/verbs/map_template_loadverb.dm b/code/modules/admin/verbs/map_template_loadverb.dm index 0dc3dfc17912..80d46e18550d 100644 --- a/code/modules/admin/verbs/map_template_loadverb.dm +++ b/code/modules/admin/verbs/map_template_loadverb.dm @@ -26,9 +26,9 @@ usr.client.images += preview if(alert(usr,"Confirm location.","Template Confirm","Yes","No") == "Yes") var/timer = start_watch() - message_admins("<span class='adminnotice'>[key_name_admin(usr)] has started to place the map template ([template.name]) at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>(JMP)</a></span>") + message_admins("<span class='adminnotice'>[key_name_admin(usr)] has started to place the map template ([template.name]) at <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>(JMP)</a></span>") if(template.load(T, centered = TRUE)) - message_admins("<span class='adminnotice'>[key_name_admin(usr)] has placed a map template ([template.name]) at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>(JMP)</a>. Took [stop_watch(timer)]s.</span>") + message_admins("<span class='adminnotice'>[key_name_admin(usr)] has placed a map template ([template.name]) at <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>(JMP)</a>. Took [stop_watch(timer)]s.</span>") else to_chat(usr, "Failed to place map") usr.client.images -= preview diff --git a/code/modules/admin/verbs/one_click_antag.dm b/code/modules/admin/verbs/one_click_antag.dm index e9801ac73f96..72f5de0b056e 100644 --- a/code/modules/admin/verbs/one_click_antag.dm +++ b/code/modules/admin/verbs/one_click_antag.dm @@ -13,13 +13,13 @@ /datum/admins/proc/one_click_antag() var/dat = {"<B>One-click Antagonist</B><br> - <a href='?src=[UID()];makeAntag=1'>Make Traitors</a><br> - <a href='?src=[UID()];makeAntag=2'>Make Changelings</a><br> - <a href='?src=[UID()];makeAntag=3'>Make Revolutionaries</a><br> - <a href='?src=[UID()];makeAntag=4'>Make Cult</a><br> - <a href='?src=[UID()];makeAntag=5'>Make Wizard (Requires Ghosts)</a><br> - <a href='?src=[UID()];makeAntag=6'>Make Vampires</a><br> - <a href='?src=[UID()];makeAntag=7'>Make Abductor Team (Requires Ghosts)</a><br> + <a href='byond://?src=[UID()];makeAntag=1'>Make Traitors</a><br> + <a href='byond://?src=[UID()];makeAntag=2'>Make Changelings</a><br> + <a href='byond://?src=[UID()];makeAntag=3'>Make Revolutionaries</a><br> + <a href='byond://?src=[UID()];makeAntag=4'>Make Cult</a><br> + <a href='byond://?src=[UID()];makeAntag=5'>Make Wizard (Requires Ghosts)</a><br> + <a href='byond://?src=[UID()];makeAntag=6'>Make Vampires</a><br> + <a href='byond://?src=[UID()];makeAntag=7'>Make Abductor Team (Requires Ghosts)</a><br> "} usr << browse(dat, "window=oneclickantag;size=400x400") return diff --git a/code/modules/admin/verbs/playsound.dm b/code/modules/admin/verbs/playsound.dm index 97ee1b1167a2..f9d83d26ede4 100644 --- a/code/modules/admin/verbs/playsound.dm +++ b/code/modules/admin/verbs/playsound.dm @@ -43,7 +43,7 @@ GLOBAL_LIST_EMPTY(sounds_cache) uploaded_sound.volume = 100 * M.client.prefs.get_channel_volume(CHANNEL_ADMIN) var/this_uid = M.client.UID() - to_chat(M, "<span class='boldannounceic'>[ckey] played <code>[S]</code> (<a href='?src=[this_uid];action=silenceSound'>SILENCE</a>) (<a href='?src=[this_uid];action=muteAdmin&a=[ckey]'>ALWAYS SILENCE THIS ADMIN</a>)</span>") + to_chat(M, "<span class='boldannounceic'>[ckey] played <code>[S]</code> (<a href='byond://?src=[this_uid];action=silenceSound'>SILENCE</a>) (<a href='byond://?src=[this_uid];action=muteAdmin&a=[ckey]'>ALWAYS SILENCE THIS ADMIN</a>)</span>") SEND_SOUND(M, uploaded_sound) SSblackbox.record_feedback("tally", "admin_verb", 1, "Play Global Sound") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! diff --git a/code/modules/admin/verbs/pray.dm b/code/modules/admin/verbs/pray.dm index 6385a515fdf0..f791d97fa99f 100644 --- a/code/modules/admin/verbs/pray.dm +++ b/code/modules/admin/verbs/pray.dm @@ -30,7 +30,7 @@ deity = GET_CULT_DATA(entity_name, "Cult God") log_say("(PRAYER) [msg]", usr) - msg = "<span class='notice'>[bicon(cross)]<b><font color=[font_color]>[prayer_type][deity ? " (to [deity])" : ""][mind && HAS_MIND_TRAIT(usr, TRAIT_HOLY) ? " (blessings: [mind.num_blessed])" : ""]:</font> [key_name(src, 1)] ([ADMIN_QUE(src,"?")]) ([ADMIN_PP(src,"PP")]) ([ADMIN_VV(src,"VV")]) ([ADMIN_TP(src,"TP")]) ([ADMIN_SM(src,"SM")]) ([admin_jump_link(src)]) ([ADMIN_SC(src,"SC")]) (<A HREF='?_src_=holder;Bless=[UID()]'>BLESS</A>) (<A HREF='?_src_=holder;Smite=[UID()]'>SMITE</A>):</b> [msg]</span>" + msg = "<span class='notice'>[bicon(cross)]<b><font color=[font_color]>[prayer_type][deity ? " (to [deity])" : ""][mind && HAS_MIND_TRAIT(usr, TRAIT_HOLY) ? " (blessings: [mind.num_blessed])" : ""]:</font> [key_name(src, 1)] ([ADMIN_QUE(src,"?")]) ([ADMIN_PP(src,"PP")]) ([ADMIN_VV(src,"VV")]) ([ADMIN_TP(src,"TP")]) ([ADMIN_SM(src,"SM")]) ([admin_jump_link(src)]) ([ADMIN_SC(src,"SC")]) (<A href='byond://?_src_=holder;Bless=[UID()]'>BLESS</A>) (<A href='byond://?_src_=holder;Smite=[UID()]'>SMITE</A>):</b> [msg]</span>" for(var/client/X in GLOB.admins) if(check_rights(R_EVENT,0,X.mob)) @@ -67,7 +67,7 @@ "sender_uid" = Sender.UID(), "message" = html_decode(msg))) GLOB.ert_request_messages.Insert(1, insert_this) // insert it to the top of the list - msg = "<span class='adminnotice'><b><font color=orange>ERT REQUEST: </font>[key_name(Sender, 1)] ([ADMIN_PP(Sender,"PP")]) ([ADMIN_VV(Sender,"VV")]) ([ADMIN_TP(Sender,"TP")]) ([ADMIN_SM(Sender,"SM")]) ([admin_jump_link(Sender)]) ([ADMIN_BSA(Sender,"BSA")]) (<A HREF='?_src_=holder;ErtReply=[Sender.UID()]'>RESPOND</A>):</b> [msg]</span>" + msg = "<span class='adminnotice'><b><font color=orange>ERT REQUEST: </font>[key_name(Sender, 1)] ([ADMIN_PP(Sender,"PP")]) ([ADMIN_VV(Sender,"VV")]) ([ADMIN_TP(Sender,"TP")]) ([ADMIN_SM(Sender,"SM")]) ([admin_jump_link(Sender)]) ([ADMIN_BSA(Sender,"BSA")]) (<A href='byond://?_src_=holder;ErtReply=[Sender.UID()]'>RESPOND</A>):</b> [msg]</span>" if(repeat_warning) msg += "<BR><span class='adminnotice'><b>WARNING: ERT request has gone 5 minutes with no reply!</b></span>" for(var/client/X in GLOB.admins) diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index e14ecac59107..c339776b37ff 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -1042,9 +1042,9 @@ Traitors and the like can also be revived with the previous role mostly intact. msg += "<TR><TD>[key_string]</TD><TD>[H.real_name]</TD><TD>[job_string]</TD><TD>[mins_ssd]</TD><TD>[role_string][obj_string]</TD>" msg += "<TD>[get_area(H)]</TD><TD>[ADMIN_PP(H,"PP")]</TD>" if(istype(H.loc, /obj/machinery/cryopod)) - msg += "<TD><A href='?_src_=holder;cryossd=[H.UID()]'>De-Spawn</A></TD>" + msg += "<TD><A href='byond://?_src_=holder;cryossd=[H.UID()]'>De-Spawn</A></TD>" else - msg += "<TD><A href='?_src_=holder;cryossd=[H.UID()]'>Cryo</A></TD>" + msg += "<TD><A href='byond://?_src_=holder;cryossd=[H.UID()]'>Cryo</A></TD>" msg += "</TR>" msg += "</TABLE><br></BODY></HTML>" @@ -1082,9 +1082,9 @@ Traitors and the like can also be revived with the previous role mostly intact. msg += "<TR><TD>[key_string]</TD><TD>[H.real_name]</TD><TD>[job_string]</TD><TD>[mins_afk]</TD><TD>[role_string][obj_string]</TD>" msg += "<TD>[get_area(H)]</TD><TD>[ADMIN_PP(H,"PP")]</TD>" if(istype(H.loc, /obj/machinery/cryopod)) - msg += "<TD><A href='?_src_=holder;cryossd=[H.UID()];cryoafk=1'>De-Spawn</A></TD>" + msg += "<TD><A href='byond://?_src_=holder;cryossd=[H.UID()];cryoafk=1'>De-Spawn</A></TD>" else - msg += "<TD><A href='?_src_=holder;cryossd=[H.UID()];cryoafk=1'>Cryo</A></TD>" + msg += "<TD><A href='byond://?_src_=holder;cryossd=[H.UID()];cryoafk=1'>Cryo</A></TD>" msg += "</TR>" msg += "</TABLE></BODY></HTML>" src << browse(msg, "window=Player_ssd_afk_check;size=600x300") @@ -1147,16 +1147,16 @@ Traitors and the like can also be revived with the previous role mostly intact. to_chat(usr, "<span class='warning'>This verb can only be used if the round has started.</span>") return - var/list/dat = list() + var/list/dat = list("<!DOCTYPE html>") for(var/datum/station_goal/S in SSticker.mode.station_goals) - dat += "[S.name][S.completed ? " (C)" : ""] - <a href='?src=[S.UID()];announce=1'>Announce</a> | <a href='?src=[S.UID()];remove=1'>Remove</a>" + dat += "[S.name][S.completed ? " (C)" : ""] - <a href='byond://?src=[S.UID()];announce=1'>Announce</a> | <a href='byond://?src=[S.UID()];remove=1'>Remove</a>" dat += "" - dat += "<a href='?src=[UID()];add_station_goal=1'>Add New Goal</a>" + dat += "<a href='byond://?src=[UID()];add_station_goal=1'>Add New Goal</a>" dat += "" dat += "<b>Secondary goals</b>" for(var/datum/station_goal/secondary/SG in SSticker.mode.secondary_goals) - dat += "[SG.admin_desc][SG.completed ? " (C)" : ""] for [SG.requester_name || SG.department] - <a href='?src=[SG.UID()];announce=1'>Announce</a> | <a href='?src=[SG.UID()];remove=1'>Remove</a> | <a href='?src=[SG.UID()];mark_complete=1'>Mark complete</a> | <a href='?src=[SG.UID()];reset_progress=1'>Reset progress</a>" - dat += "<a href='?src=[UID()];add_secondary_goal=1'>Add New Secondary Goal</a>" + dat += "[SG.admin_desc][SG.completed ? " (C)" : ""] for [SG.requester_name || SG.department] - <a href='byond://?src=[SG.UID()];announce=1'>Announce</a> | <a href='byond://?src=[SG.UID()];remove=1'>Remove</a> | <a href='byond://?src=[SG.UID()];mark_complete=1'>Mark complete</a> | <a href='byond://?src=[SG.UID()];reset_progress=1'>Reset progress</a>" + dat += "<a href='byond://?src=[UID()];add_secondary_goal=1'>Add New Secondary Goal</a>" usr << browse(dat.Join("<br>"), "window=goals;size=400x400") diff --git a/code/modules/admin/verbs/serialization.dm b/code/modules/admin/verbs/serialization.dm index c60a072b6f72..5e6e16937880 100644 --- a/code/modules/admin/verbs/serialization.dm +++ b/code/modules/admin/verbs/serialization.dm @@ -125,7 +125,7 @@ var/list/rows = list() rows += "<table><tr><th scope='col' width='90%'>Slot</th><th scope='col' width='10%'>Actions</th></tr>" for(var/slotname in slots) - rows += "<tr><td>[slotname]</td><td><a href='?src=[holder_uid];spawnjsondatum=[slots[slotname]]'>Spawn</a> <a href='?src=[holder_uid];deletejsondatum=[slots[slotname]]'>Delete</a></td></tr>" + rows += "<tr><td>[slotname]</td><td><a href='byond://?src=[holder_uid];spawnjsondatum=[slots[slotname]]'>Spawn</a> <a href='byond://?src=[holder_uid];deletejsondatum=[slots[slotname]]'>Delete</a></td></tr>" rows += "</table>" diff --git a/code/modules/admin/watchlist.dm b/code/modules/admin/watchlist.dm index 6b98a6050cfa..6e03603ed5d4 100644 --- a/code/modules/admin/watchlist.dm +++ b/code/modules/admin/watchlist.dm @@ -116,11 +116,11 @@ if(!check_rights(R_ADMIN)) return var/output - output += "<form method='GET' name='search' action='?'>\ + output += "<!DOCTYPE html><form method='GET' name='search' action='?'>\ <input type='hidden' name='_src_' value='holder'>\ <input type='text' name='watchsearch' value='[search]'>\ <input type='submit' value='Search'></form>" - output += "<a href='?_src_=holder;watchshow=1'>\[Clear Search\]</a> <a href='?_src_=holder;watchaddbrowse=1'>\[Add Ckey\]</a>" + output += "<a href='byond://?_src_=holder;watchshow=1'>\[Clear Search\]</a> <a href='byond://?_src_=holder;watchaddbrowse=1'>\[Add Ckey\]</a>" output += "<hr style='background:#000000; border:0; height:3px'>" if(search) search = "^[search]" @@ -139,9 +139,9 @@ var/adminckey = query_watchlist.item[3] var/timestamp = query_watchlist.item[4] var/last_editor = query_watchlist.item[5] - output += "<b>[ckey]</b> | Added by <b>[adminckey]</b> on <b>[timestamp]</b> <a href='?_src_=holder;watchremovebrowse=[ckey]'>\[Remove\]</a> <a href='?_src_=holder;watcheditbrowse=[ckey]'>\[Edit Reason\]</a>" + output += "<b>[ckey]</b> | Added by <b>[adminckey]</b> on <b>[timestamp]</b> <a href='byond://?_src_=holder;watchremovebrowse=[ckey]'>\[Remove\]</a> <a href='byond://?_src_=holder;watcheditbrowse=[ckey]'>\[Edit Reason\]</a>" if(last_editor) - output += " <font size='2'>Last edit by [last_editor] <a href='?_src_=holder;watcheditlog=[ckey]'>(Click here to see edit log)</a></font>" + output += " <font size='2'>Last edit by [last_editor] <a href='byond://?_src_=holder;watcheditlog=[ckey]'>(Click here to see edit log)</a></font>" output += "<br>[reason]<hr style='background:#000000; border:0; height:1px'>" usr << browse(output, "window=watchwin;size=900x500") qdel(query_watchlist) diff --git a/code/modules/antagonists/_common/antag_team.dm b/code/modules/antagonists/_common/antag_team.dm index ba35e1de1eb6..fe75cb79d864 100644 --- a/code/modules/antagonists/_common/antag_team.dm +++ b/code/modules/antagonists/_common/antag_team.dm @@ -358,27 +358,27 @@ GLOBAL_LIST_EMPTY(antagonist_teams) /datum/team/proc/get_admin_html() var/list/content = list() content += "<h3>[name] - [type]</h3>" - content += "<a href='?_src_=holder;team_command=rename_team;team=[UID()]'>Rename Team</a>" - content += "<a href='?_src_=holder;team_command=delete_team;team=[UID()]'>Delete Team</a>" - content += "<a href='?_src_=holder;team_command=communicate;team=[UID()]'>OOC Message Team</a>" + content += "<a href='byond://?_src_=holder;team_command=rename_team;team=[UID()]'>Rename Team</a>" + content += "<a href='byond://?_src_=holder;team_command=delete_team;team=[UID()]'>Delete Team</a>" + content += "<a href='byond://?_src_=holder;team_command=communicate;team=[UID()]'>OOC Message Team</a>" content += ADMIN_VV(src, "View Variables") for(var/command in get_admin_commands()) // src is UID() so it points to `/datum/team/Topic` instead of `/datum/admins/Topic`. - content += "<a href='?src=[UID()];command=[command]'>[command]</a>" + content += "<a href='byond://?src=[UID()];command=[command]'>[command]</a>" content += "<br><br>Objectives:<br><ol>" for(var/datum/objective/O as anything in objective_holder.get_objectives()) if(!istype(O)) stack_trace("Non-objective found in [type]'s objective_holder.get_objectives()") continue - content += "<li>[O.explanation_text] - <a href='?_src_=holder;team_command=remove_objective;team=[UID()];objective=[O.UID()]'>Remove</a></li>" - content += "</ol><a href='?_src_=holder;team_command=add_objective;team=[UID()]'>Add Objective</a><br>" + content += "<li>[O.explanation_text] - <a href='byond://?_src_=holder;team_command=remove_objective;team=[UID()];objective=[O.UID()]'>Remove</a></li>" + content += "</ol><a href='byond://?_src_=holder;team_command=add_objective;team=[UID()]'>Add Objective</a><br>" if(objective_holder.has_objectives()) - content += "</ol><a href='?_src_=holder;team_command=announce_objectives;team=[UID()]'>Announce Objectives to All Members</a><br><br>" + content += "</ol><a href='byond://?_src_=holder;team_command=announce_objectives;team=[UID()]'>Announce Objectives to All Members</a><br><br>" content += "Members: <br><ol>" for(var/datum/mind/M as anything in members) - content += "<li>[M.name] - <a href='?_src_=holder;team_command=view_member;team=[UID()];member=[M.UID()]'>Show Player Panel</a>" - content += "<a href='?_src_=holder;team_command=remove_member;team=[UID()];member=[M.UID()]'>Remove Member</a></li>" - content += "</ol><a href='?_src_=holder;team_command=admin_add_member;team=[UID()]'>Add Member</a>" + content += "<li>[M.name] - <a href='byond://?_src_=holder;team_command=view_member;team=[UID()];member=[M.UID()]'>Show Player Panel</a>" + content += "<a href='byond://?_src_=holder;team_command=remove_member;team=[UID()];member=[M.UID()]'>Remove Member</a></li>" + content += "</ol><a href='byond://?_src_=holder;team_command=admin_add_member;team=[UID()]'>Add Member</a>" return content /** @@ -406,12 +406,12 @@ GLOBAL_LIST_EMPTY(antagonist_teams) var/list/content = list() if(!length(GLOB.antagonist_teams)) content += "There are currently no antag teams.<br/>" - content += "<a href='?_src_=holder;team_command=new_custom_team;'>Create new Team</a>" - content += "<a href='?_src_=holder;team_command=reload;'>Reload Menu</a><br>" + content += "<a href='byond://?_src_=holder;team_command=new_custom_team;'>Create new Team</a>" + content += "<a href='byond://?_src_=holder;team_command=reload;'>Reload Menu</a><br>" if(length(GLOB.antagonist_teams) > 1) var/index = 1 for(var/datum/team/T as anything in GLOB.antagonist_teams) - content += "<a href='?_src_=holder;team_command=switch_team_tab;team_index=[index]'>[T.name]</a>" + content += "<a href='byond://?_src_=holder;team_command=switch_team_tab;team_index=[index]'>[T.name]</a>" index++ else team_switch_tab_index = 1 diff --git a/code/modules/antagonists/cult/team_cult.dm b/code/modules/antagonists/cult/team_cult.dm index 8f21d8569613..fcc26a00dc02 100644 --- a/code/modules/antagonists/cult/team_cult.dm +++ b/code/modules/antagonists/cult/team_cult.dm @@ -556,13 +556,13 @@ content += "<br>Sacrifice required for summoning: [sacrifices_required]<br>" if(obj_summon) content += "<br>Summoning locations: [english_list(obj_summon.summon_spots)]" - content += "<br><a href='?src=[UID()];cult_command=cult_newsummonlocations'>Reroll summoning locations</a>" + content += "<br><a href='byond://?src=[UID()];cult_command=cult_newsummonlocations'>Reroll summoning locations</a>" else content += "<br>Summoning locations: None, Cult has not yet reached the summoning stage." content += "<br>" if(cult_status == NARSIE_DEMANDS_SACRIFICE) - content += "<br><a href='?src=[UID()];cult_command=cult_adjustsacnumber'>Modify amount of sacrifices required</a>" - content += "<br><a href='?src=[UID()];cult_command=cult_newtarget'>Reroll sacrifice target</a>" + content += "<br><a href='byond://?src=[UID()];cult_command=cult_adjustsacnumber'>Modify amount of sacrifices required</a>" + content += "<br><a href='byond://?src=[UID()];cult_command=cult_newtarget'>Reroll sacrifice target</a>" else content += "<br>Cannot modify amount of sacrifices required (Summon available!)" content += "<br>Cannot reroll sacrifice target (Summon available!)" diff --git a/code/modules/arcade/mob_hunt/battle_computer.dm b/code/modules/arcade/mob_hunt/battle_computer.dm index e3acd026c33d..228686fa951c 100644 --- a/code/modules/arcade/mob_hunt/battle_computer.dm +++ b/code/modules/arcade/mob_hunt/battle_computer.dm @@ -135,7 +135,7 @@ dat += "</tr>" if(ready && SSmob_hunt.battle_turn) //offer the surrender option if they are in a battle (ready), but don't have a card loaded dat += "<tr>" - dat += "<td><a href='?src=[UID()];surrender=1'>Surrender!</a></td>" + dat += "<td><a href='byond://?src=[UID()];surrender=1'>Surrender!</a></td>" dat += "</tr>" else dat += "<table>" @@ -165,21 +165,21 @@ dat += "<table border='1'>" dat += "<tr>" if(mob_info.cur_health) - dat += "<td><a href='?src=[UID()];attack=1'>Attack!</a></td>" + dat += "<td><a href='byond://?src=[UID()];attack=1'>Attack!</a></td>" else dat += "<td>Incapacitated!</td>" - dat += "<td><a href='?src=[UID()];eject=1'>Recall!</a></td>" + dat += "<td><a href='byond://?src=[UID()];eject=1'>Recall!</a></td>" dat += "</tr>" dat += "</table>" dat += "</td>" dat += "</tr>" if(!ready) dat += "<tr>" - dat += "<td><a href='?src=[UID()];ready=1'>Battle!</a></td>" + dat += "<td><a href='byond://?src=[UID()];ready=1'>Battle!</a></td>" dat += "</tr>" if(ready && !SSmob_hunt.battle_turn) dat += "<tr>" - dat += "<td><a href='?src=[UID()];ready=2'>Cancel Battle!</a></td>" + dat += "<td><a href='byond://?src=[UID()];ready=2'>Cancel Battle!</a></td>" dat += "</tr>" dat += "</table>" diff --git a/code/modules/assembly/infrared.dm b/code/modules/assembly/infrared.dm index 238e3ec310a0..f3315c480e47 100644 --- a/code/modules/assembly/infrared.dm +++ b/code/modules/assembly/infrared.dm @@ -135,12 +135,12 @@ if(!secured) return user.set_machine(src) var/dat = {"<TT><B>Infrared Laser</B> - <B>Status</B>: [on ? "<A href='?src=[UID()];state=0'>On</A>" : "<A href='?src=[UID()];state=1'>Off</A>"]<BR> - <B>Visibility</B>: [visible ? "<A href='?src=[UID()];visible=0'>Visible</A>" : "<A href='?src=[UID()];visible=1'>Invisible</A>"]<BR> - <B>Current Direction</B>: <A href='?src=[UID()];rotate=1'>[capitalize(dir2text(dir))]</A><BR> + <B>Status</B>: [on ? "<A href='byond://?src=[UID()];state=0'>On</A>" : "<A href='byond://?src=[UID()];state=1'>Off</A>"]<BR> + <B>Visibility</B>: [visible ? "<A href='byond://?src=[UID()];visible=0'>Visible</A>" : "<A href='byond://?src=[UID()];visible=1'>Invisible</A>"]<BR> + <B>Current Direction</B>: <A href='byond://?src=[UID()];rotate=1'>[capitalize(dir2text(dir))]</A><BR> </TT> - <BR><BR><A href='?src=[UID()];refresh=1'>Refresh</A> - <BR><BR><A href='?src=[UID()];close=1'>Close</A>"} + <BR><BR><A href='byond://?src=[UID()];refresh=1'>Refresh</A> + <BR><BR><A href='byond://?src=[UID()];close=1'>Close</A>"} var/datum/browser/popup = new(user, "infra", name, 400, 400) popup.set_content(dat) popup.open(0) diff --git a/code/modules/assembly/proximity.dm b/code/modules/assembly/proximity.dm index c21a7c3b7f44..761ad620d994 100644 --- a/code/modules/assembly/proximity.dm +++ b/code/modules/assembly/proximity.dm @@ -103,10 +103,10 @@ return FALSE var/second = time % 60 var/minute = (time - second) / 60 - var/dat = "<TT><B>Proximity Sensor</B>\n[timing ? "<A href='?src=[UID()];time=0'>Arming</A>" : "<A href='?src=[UID()];time=1'>Not Arming</A>"] [minute]:[second]\n<A href='?src=[UID()];tp=-30'>-</A> <A href='?src=[UID()];tp=-1'>-</A> <A href='?src=[UID()];tp=1'>+</A> <A href='?src=[UID()];tp=30'>+</A>\n</TT>" - dat += "<BR><A href='?src=[UID()];scanning=1'>[scanning?"Armed":"Unarmed"]</A> (Movement sensor active when armed!)" - dat += "<BR><BR><A href='?src=[UID()];refresh=1'>Refresh</A>" - dat += "<BR><BR><A href='?src=[UID()];close=1'>Close</A>" + var/dat = "<TT><B>Proximity Sensor</B>\n[timing ? "<A href='byond://?src=[UID()];time=0'>Arming</A>" : "<A href='byond://?src=[UID()];time=1'>Not Arming</A>"] [minute]:[second]\n<A href='byond://?src=[UID()];tp=-30'>-</A> <A href='byond://?src=[UID()];tp=-1'>-</A> <A href='byond://?src=[UID()];tp=1'>+</A> <A href='byond://?src=[UID()];tp=30'>+</A>\n</TT>" + dat += "<BR><A href='byond://?src=[UID()];scanning=1'>[scanning?"Armed":"Unarmed"]</A> (Movement sensor active when armed!)" + dat += "<BR><BR><A href='byond://?src=[UID()];refresh=1'>Refresh</A>" + dat += "<BR><BR><A href='byond://?src=[UID()];close=1'>Close</A>" var/datum/browser/popup = new(user, "prox", name, 400, 400) popup.set_content(dat) popup.open(0) diff --git a/code/modules/assembly/timer.dm b/code/modules/assembly/timer.dm index 8e9893050df3..aa38ddd7a992 100644 --- a/code/modules/assembly/timer.dm +++ b/code/modules/assembly/timer.dm @@ -78,16 +78,16 @@ var/dat = {" <TT> <center><h2>Timing Unit</h2> - [minute]:[second] <a href='?src=[UID()];time=1'>[timing?"Stop":"Start"]</a> <a href='?src=[UID()];reset=1'>Reset</a><br> - Repeat: <a href='?src=[UID()];repeat=1'>[repeat?"On":"Off"]</a><br> + [minute]:[second] <a href='byond://?src=[UID()];time=1'>[timing?"Stop":"Start"]</a> <a href='byond://?src=[UID()];reset=1'>Reset</a><br> + Repeat: <a href='byond://?src=[UID()];repeat=1'>[repeat?"On":"Off"]</a><br> Timer set for - <A href='?src=[UID()];tp=-30'>-</A> <A href='?src=[UID()];tp=-1'>-</A> [set_minute]:[set_second] <A href='?src=[UID()];tp=1'>+</A> <A href='?src=[UID()];tp=30'>+</A> + <A href='byond://?src=[UID()];tp=-30'>-</A> <A href='byond://?src=[UID()];tp=-1'>-</A> [set_minute]:[set_second] <A href='byond://?src=[UID()];tp=1'>+</A> <A href='byond://?src=[UID()];tp=30'>+</A> </center> </TT> <BR><BR> - <A href='?src=[UID()];refresh=1'>Refresh</A> + <A href='byond://?src=[UID()];refresh=1'>Refresh</A> <BR><BR> - <A href='?src=[UID()];close=1'>Close</A>"} + <A href='byond://?src=[UID()];close=1'>Close</A>"} var/datum/browser/popup = new(user, "timer", name, 400, 400) popup.set_content(dat) popup.open(0) diff --git a/code/modules/asset_cache/asset_cache_client.dm b/code/modules/asset_cache/asset_cache_client.dm index 03b8e3c58890..60f4d57b7f9a 100644 --- a/code/modules/asset_cache/asset_cache_client.dm +++ b/code/modules/asset_cache/asset_cache_client.dm @@ -34,7 +34,7 @@ var/job = ++last_asset_job var/t = 0 var/timeout_time = timeout - src << browse({"<script>window.location.href="?asset_cache_confirm_arrival=[job]"</script>"}, "window=asset_cache_browser&file=asset_cache_send_verify.htm") + src << browse({"<script>window.location.href='byond://?asset_cache_confirm_arrival=[job]'</script>"}, "window=asset_cache_browser&file=asset_cache_send_verify.htm") while(!completed_asset_jobs["[job]"] && t < timeout_time) // Reception is handled in Topic() stoplag(1) // Lock up the caller until this is received. diff --git a/code/modules/asset_cache/asset_list.dm b/code/modules/asset_cache/asset_list.dm index 4674bf24ce64..ead4accd8363 100644 --- a/code/modules/asset_cache/asset_list.dm +++ b/code/modules/asset_cache/asset_list.dm @@ -240,7 +240,7 @@ GLOBAL_LIST_EMPTY(asset_datums) for(var/icon_state_name in icon_states(I)) for(var/direction in directions) - var/prefix2 = length(directions) ? "[dir2text(direction)]-" : "" + var/prefix2 = length(directions) > 1 ? "[dir2text(direction)]-" : "" Insert("[prefix][prefix2][icon_state_name]", I, icon_state=icon_state_name, dir=direction) /datum/asset/spritesheet/proc/css_tag() diff --git a/code/modules/asset_cache/assets/asset_emoji.dm b/code/modules/asset_cache/assets/asset_emoji.dm new file mode 100644 index 000000000000..2693de77a011 --- /dev/null +++ b/code/modules/asset_cache/assets/asset_emoji.dm @@ -0,0 +1,5 @@ +/datum/asset/spritesheet/emoji + name = "emoji" + +/datum/asset/spritesheet/emoji/create_spritesheets() + InsertAll("emoji", EMOJI_SET) diff --git a/code/modules/asset_cache/assets/asset_safe.dm b/code/modules/asset_cache/assets/asset_safe.dm index 007226cf952c..882dae800f6d 100644 --- a/code/modules/asset_cache/assets/asset_safe.dm +++ b/code/modules/asset_cache/assets/asset_safe.dm @@ -1,5 +1,5 @@ /datum/asset/simple/safe keep_local_name = TRUE assets = list( - "safe_dial.png" = 'icons/safe_dial.png' + "safe_dial.png" = 'icons/ui_icons/safe_dial.png' ) diff --git a/code/modules/atmospherics/machinery/other/area_atmos_computer.dm b/code/modules/atmospherics/machinery/other/area_atmos_computer.dm index 92a7167e6c33..df28f79e02f1 100644 --- a/code/modules/atmospherics/machinery/other/area_atmos_computer.dm +++ b/code/modules/atmospherics/machinery/other/area_atmos_computer.dm @@ -71,13 +71,13 @@ <body> <center><h1>Area Air Control</h1></center> <font color="red">[status]</font><br> - <a href="?src=[UID()];scan=1">Scan</a> + <a href='byond://?src=[UID()];scan=1'>Scan</a> <table border="1" width="90%">"} for(var/obj/machinery/atmospherics/portable/scrubber/huge/scrubber in connectedscrubbers) dat += {" <tr> <td>[scrubber.name]</td> - <td width="150"><a class="green" href="?src=[UID()];scrub=\ref[scrubber];toggle=1">Turn On</a> <a class="red" href="?src=[UID()];scrub=\ref[scrubber];toggle=0">Turn Off</a></td> + <td width="150"><a class="green" href='byond://?src=[UID()];scrub=\ref[scrubber];toggle=1'>Turn On</a> <a class="red" href='byond://?src=[UID()];scrub=\ref[scrubber];toggle=0'>Turn Off</a></td> </tr>"} dat += {" diff --git a/code/modules/atmospherics/machinery/portable/canister.dm b/code/modules/atmospherics/machinery/portable/canister.dm index 7680d85aa8d7..bc6864831024 100644 --- a/code/modules/atmospherics/machinery/portable/canister.dm +++ b/code/modules/atmospherics/machinery/portable/canister.dm @@ -383,12 +383,12 @@ GLOBAL_DATUM_INIT(canister_icon_container, /datum/canister_icons, new()) logmsg = "Valve was <b>opened</b> by [key_name(ui.user)], starting a transfer into the air.<br>" if(air_contents.toxins > 0) - message_admins("[key_name_admin(ui.user)] opened a canister that contains plasma in [get_area(src)]! (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") + message_admins("[key_name_admin(ui.user)] opened a canister that contains plasma in [get_area(src)]! (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") log_admin("[key_name(ui.user)] opened a canister that contains plasma at [get_area(src)]: [x], [y], [z]") ui.user.create_log(MISC_LOG, "has opened a canister of plasma") if(air_contents.sleeping_agent > 0) - message_admins("[key_name_admin(ui.user)] opened a canister that contains N2O in [get_area(src)]! (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") + message_admins("[key_name_admin(ui.user)] opened a canister that contains N2O in [get_area(src)]! (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") log_admin("[key_name(ui.user)] opened a canister that contains N2O at [get_area(src)]: [x], [y], [z]") ui.user.create_log(MISC_LOG, "has opened a canister of N2O") diff --git a/code/modules/client/client_defines.dm b/code/modules/client/client_defines.dm index 31edadc979f1..aa06fa2055cb 100644 --- a/code/modules/client/client_defines.dm +++ b/code/modules/client/client_defines.dm @@ -11,7 +11,7 @@ var/last_message = "" //contains the last message sent by this client - used to protect against copy-paste spamming. var/last_message_count = 0 //contains a number of how many times a message identical to last_message was sent. var/last_message_time = 0 //holds the last time (based on world.time) a message was sent - var/datum/pm_tracker/pm_tracker = new() + var/datum/pm_tracker/pm_tracker ///////// //OTHER// diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index d2412ed6d547..6330afcfa705 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -262,7 +262,10 @@ stat_panel = new(src, "statbrowser") stat_panel.subscribe(src, PROC_REF(on_stat_panel_message)) - tgui_panel = new(src, "browseroutput") + // Create a PM tracker bound to this ckey. + pm_tracker = new(ckey) + + tgui_panel = new(src, "chat_panel") tgui_say = new(src, "tgui_say") TopicData = null //Prevent calls to client.Topic from connect @@ -683,7 +686,7 @@ if(living_hours < 20) return - to_chat(src, "<B>You have no verified forum account. <a href='?src=[UID()];link_forum_account=true'>VERIFY FORUM ACCOUNT</a></B>") + to_chat(src, "<B>You have no verified forum account. <a href='byond://?src=[UID()];link_forum_account=true'>VERIFY FORUM ACCOUNT</a></B>") /client/proc/create_oauth_token() var/datum/db_query/query_find_token = SSdbcore.NewQuery("SELECT token FROM oauth_tokens WHERE ckey=:ckey limit 1", list( @@ -905,7 +908,7 @@ var/url = winget(src, null, "url") //special javascript to make them reconnect under a new window. - src << browse("<a id='link' href='byond://[url]?token=[token]'>\ + src << browse("<!DOCTYPE html><a id='link' href='byond://[url]?token=[token]'>\ byond://[url]?token=[token]\ </a>\ <script type='text/javascript'>\ @@ -1209,7 +1212,7 @@ /client/proc/check_panel_loaded() if(stat_panel.is_ready()) return - to_chat(src, "<span class='userdanger'>Statpanel failed to load, click <a href='?src=[UID()];reload_statbrowser=1'>here</a> to reload the panel </span>") + to_chat(src, "<span class='userdanger'>Statpanel failed to load, click <a href='byond://?src=[UID()];reload_statbrowser=1'>here</a> to reload the panel </span>") /** * Handles incoming messages from the stat-panel TGUI. diff --git a/code/modules/client/login_processing/39-cid_count.dm b/code/modules/client/login_processing/39-cid_count.dm index c0e8248e8920..65c21f10f247 100644 --- a/code/modules/client/login_processing/39-cid_count.dm +++ b/code/modules/client/login_processing/39-cid_count.dm @@ -68,4 +68,4 @@ qdel(query_find_note) if(show_warning) - message_admins("<font color='red'>[C.ckey] has just connected and has a history of [cidcount] different CIDs.</font> (<a href='?_src_=holder;webtools=[C.ckey]'>WebInfo</a>) (<a href='?_src_=holder;suppresscidwarning=[C.ckey]'>Suppress Warning</a>)") + message_admins("<font color='red'>[C.ckey] has just connected and has a history of [cidcount] different CIDs.</font> (<a href='byond://?_src_=holder;webtools=[C.ckey]'>WebInfo</a>) (<a href='byond://?_src_=holder;suppresscidwarning=[C.ckey]'>Suppress Warning</a>)") diff --git a/code/modules/client/preference/character.dm b/code/modules/client/preference/character.dm index 7557b051e87a..d865a27de250 100644 --- a/code/modules/client/preference/character.dm +++ b/code/modules/client/preference/character.dm @@ -1622,7 +1622,7 @@ return 0 /datum/character_save/proc/ShowDisabilityState(mob/user, flag, label) - return "<li><b>[label]:</b> <a href=\"?_src_=prefs;task=input;preference=disabilities;disability=[flag]\">[disabilities & flag ? "Yes" : "No"]</a></li>" + return "<li><b>[label]:</b> <a href='byond://?_src_=prefs;task=input;preference=disabilities;disability=[flag]'>[disabilities & flag ? "Yes" : "No"]</a></li>" /datum/character_save/proc/SetDisabilities(mob/user) var/datum/species/S = GLOB.all_species[species] @@ -1646,8 +1646,8 @@ HTML += {"</ul> - <a href=\"?_src_=prefs;task=close;preference=disabilities\">\[Done\]</a> - <a href=\"?_src_=prefs;task=reset;preference=disabilities\">\[Reset\]</a> + <a href='byond://?_src_=prefs;task=close;preference=disabilities'>\[Done\]</a> + <a href='byond://?_src_=prefs;task=reset;preference=disabilities'>\[Reset\]</a> </center></tt>"} var/datum/browser/popup = new(user, "disabil", "<div align='center'>Choose Disabilities</div>", 350, 380) @@ -1980,22 +1980,22 @@ html += "<body>" if(!length(SSjobs.occupations)) html += "The Jobs subsystem is not yet finished creating jobs, please try again later" - html += "<center><a href='?_src_=prefs;preference=job;task=close'>Done</a></center><br>" // Easier to press up here. + html += "<center><a href='byond://?_src_=prefs;preference=job;task=close'>Done</a></center><br>" // Easier to press up here. else html += "<tt><center>" html += "<b>Choose occupation chances</b><br>Unavailable occupations are crossed out.<br><br>" - html += "<center><a href='?_src_=prefs;preference=job;task=close'>Save</a></center><br>" // Easier to press up here. + html += "<center><a href='byond://?_src_=prefs;preference=job;task=close'>Save</a></center><br>" // Easier to press up here. // ===== SS220 ADD - NEW JOBS ====== // ============= START ============= if(check_available_extra_job_prefs(user.client)) - html += "<center><u><b><a href='?_src_=prefs;preference=job;task=extra_job'>Показать [extra_jobs_check ? "основные" : "дополнительные"] работы</a></b></u></center><br>" + html += "<center><u><b><a href='byond://?_src_=prefs;preference=job;task=extra_job'>Показать [extra_jobs_check ? "основные" : "дополнительные"] работы</a></b></u></center><br>" if(extra_jobs_check) splitJobs = get_split_extra_jobs() // ============== END ============== html += "<div align='center'>Left-click to raise an occupation preference, right-click to lower it.<br></div>" - html += "<script type='text/javascript'>function setJobPrefRedirect(level, rank) { window.location.href='?_src_=prefs;preference=job;task=setJobLevel;level=' + level + ';text=' + encodeURIComponent(rank); return false; }</script>" + html += "<script type='text/javascript'>function setJobPrefRedirect(level, rank) { window.location.href='byond://?_src_=prefs;preference=job;task=setJobLevel;level=' + level + ';text=' + encodeURIComponent(rank); return false; }</script>" html += "<table width='100%' cellpadding='1' cellspacing='0'><tr><td width='20%'>" // Table within a table for alignment, also allows you to easily add more colomns. html += "<table width='100%' cellpadding='1' cellspacing='0'>" var/index = -1 @@ -2037,7 +2037,7 @@ html += "<tr bgcolor='[job.selection_color]'><td width='60%' align='right'>" var/rank if(job.alt_titles) - rank = "<a href=\"?_src_=prefs;preference=job;task=alt_title;job=\ref[job]\">[GetPlayerAltTitle(job)]</a>" + rank = "<a href='byond://?_src_=prefs;preference=job;task=alt_title;job=\ref[job]'>[GetPlayerAltTitle(job)]</a>" else rank = job.title lastJob = job @@ -2095,9 +2095,9 @@ prefLowerLevel = 1 - html += "<a class='white' href='?_src_=prefs;preference=job;task=setJobLevel;level=[prefUpperLevel];text=[job.title]' oncontextmenu='javascript:return setJobPrefRedirect([prefLowerLevel], \"[job.title]\");'>" + html += "<a class='white' href='byond://?_src_=prefs;preference=job;task=setJobLevel;level=[prefUpperLevel];text=[job.title]' oncontextmenu='javascript:return setJobPrefRedirect([prefLowerLevel], \"[job.title]\");'>" - // HTML += "<a href='?_src_=prefs;preference=job;task=input;text=[rank]'>" + // HTML += "<a href='byond://?_src_=prefs;preference=job;task=input;text=[rank]'>" if(job.title == "Assistant") // Assistant is special if(job_support_low & JOB_ASSISTANT) @@ -2128,14 +2128,14 @@ switch(alternate_option) if(GET_RANDOM_JOB) - html += "<center><br><u><a href='?_src_=prefs;preference=job;task=random'><font color=white>Get random job if preferences unavailable</font></a></u></center><br>" + html += "<center><br><u><a href='byond://?_src_=prefs;preference=job;task=random'><font color=white>Get random job if preferences unavailable</font></a></u></center><br>" if(BE_ASSISTANT) - html += "<center><br><u><a href='?_src_=prefs;preference=job;task=random'><font color=white>Be an assistant if preferences unavailable</font></a></u></center><br>" + html += "<center><br><u><a href='byond://?_src_=prefs;preference=job;task=random'><font color=white>Be an assistant if preferences unavailable</font></a></u></center><br>" if(RETURN_TO_LOBBY) - html += "<center><br><u><a href='?_src_=prefs;preference=job;task=random'><font color=white>Return to lobby if preferences unavailable</font></a></u></center><br>" + html += "<center><br><u><a href='byond://?_src_=prefs;preference=job;task=random'><font color=white>Return to lobby if preferences unavailable</font></a></u></center><br>" - html += "<center><a href='?_src_=prefs;preference=job;task=reset'>Reset</a></center>" - html += "<center><br><a href='?_src_=prefs;preference=job;task=learnaboutselection'>Learn About Job Selection</a></center>" + html += "<center><a href='byond://?_src_=prefs;preference=job;task=reset'>Reset</a></center>" + html += "<center><br><a href='byond://?_src_=prefs;preference=job;task=learnaboutselection'>Learn About Job Selection</a></center>" html += "</tt>" user << browse(null, "window=preferences") diff --git a/code/modules/client/preference/link_processing.dm b/code/modules/client/preference/link_processing.dm index 24a817462819..8e51a49e39f9 100644 --- a/code/modules/client/preference/link_processing.dm +++ b/code/modules/client/preference/link_processing.dm @@ -865,15 +865,17 @@ organ = "kidneys" var/new_state = tgui_input_list(user, "What state do you wish the organ to be in?", "[organ_name]", list("Normal", "Cybernetic")) - if(!new_state) return - + if(!new_state) + return switch(new_state) if("Normal") active_character.organ_data[organ] = null if("Cybernetic") active_character.organ_data[organ] = "cybernetic" if("cyborg_brain_type") - var/brain_type = tgui_input_list(user, "What type of brain would you like to have as a cyborg?", "Cyborg Brain Type", GLOB.borg_brain_choices) + var/brain_type = tgui_input_list(user, "What type of brain would you like to have as a cyborg?", "Cyborg Brain Type", GLOB.borg_brain_choices, active_character.cyborg_brain_type) + if(!(brain_type in GLOB.borg_brain_choices)) + return active_character.cyborg_brain_type = brain_type if("clientfps") var/version_message diff --git a/code/modules/client/preference/preferences.dm b/code/modules/client/preference/preferences.dm index 929826a87625..4ce3b3b1a79f 100644 --- a/code/modules/client/preference/preferences.dm +++ b/code/modules/client/preference/preferences.dm @@ -162,11 +162,11 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts var/list/dat = list() dat += "<center>" - dat += "<a href='?_src_=prefs;preference=tab;tab=[TAB_CHAR]' [current_tab == TAB_CHAR ? "class='linkOn'" : ""]>Character Settings</a>" - dat += "<a href='?_src_=prefs;preference=tab;tab=[TAB_GAME]' [current_tab == TAB_GAME ? "class='linkOn'" : ""]>Game Preferences</a>" - dat += "<a href='?_src_=prefs;preference=tab;tab=[TAB_ANTAG]' [current_tab == TAB_ANTAG ? "class='linkOn'" : ""]>Antagonists</a>" - dat += "<a href='?_src_=prefs;preference=tab;tab=[TAB_GEAR]' [current_tab == TAB_GEAR ? "class='linkOn'" : ""]>Loadout</a>" - dat += "<a href='?_src_=prefs;preference=tab;tab=[TAB_KEYS]' [current_tab == TAB_KEYS ? "class='linkOn'" : ""]>Key Bindings</a>" + dat += "<a href='byond://?_src_=prefs;preference=tab;tab=[TAB_CHAR]' [current_tab == TAB_CHAR ? "class='linkOn'" : ""]>Character Settings</a>" + dat += "<a href='byond://?_src_=prefs;preference=tab;tab=[TAB_GAME]' [current_tab == TAB_GAME ? "class='linkOn'" : ""]>Game Preferences</a>" + dat += "<a href='byond://?_src_=prefs;preference=tab;tab=[TAB_ANTAG]' [current_tab == TAB_ANTAG ? "class='linkOn'" : ""]>Antagonists</a>" + dat += "<a href='byond://?_src_=prefs;preference=tab;tab=[TAB_GEAR]' [current_tab == TAB_GEAR ? "class='linkOn'" : ""]>Loadout</a>" + dat += "<a href='byond://?_src_=prefs;preference=tab;tab=[TAB_KEYS]' [current_tab == TAB_KEYS ? "class='linkOn'" : ""]>Key Bindings</a>" dat += "</center>" dat += "<hr>" @@ -181,9 +181,9 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts dat += "<div class='statusDisplay' style='max-width: 128px; position: absolute; left: 150px; top: 150px'><img src=previewicon.png class='charPreview'><img src=previewicon2.png class='charPreview'></div>" dat += "<table width='100%'><tr><td width='405px' height='25px' valign='top'>" dat += "<b>Name: </b>" - dat += "<a href='?_src_=prefs;preference=name;task=input'><b>[active_character.real_name]</b></a>" - dat += "<a href='?_src_=prefs;preference=name;task=random'>(Randomize)</a>" - dat += "<a href='?_src_=prefs;preference=name'><span class='[active_character.be_random_name ? "good" : "bad"]'>(Always Randomize)</span></a><br>" + dat += "<a href='byond://?_src_=prefs;preference=name;task=input'><b>[active_character.real_name]</b></a>" + dat += "<a href='byond://?_src_=prefs;preference=name;task=random'>(Randomize)</a>" + dat += "<a href='byond://?_src_=prefs;preference=name'><span class='[active_character.be_random_name ? "good" : "bad"]'>(Always Randomize)</span></a><br>" dat += "</td><td width='405px' height='25px' valign='left'>" dat += "<center>" dat += "Slot <b>[default_slot][active_character.from_db ? "" : " (empty)"]</b><br>" @@ -195,21 +195,21 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts dat += "</td></tr></table>" dat += "<table width='100%'><tr><td width='405px' height='200px' valign='top'>" dat += "<h2>Identity</h2>" - dat += "<b>Gender:</b> <a href='?_src_=prefs;preference=gender'>[active_character.gender == MALE ? "Male" : (active_character.gender == FEMALE ? "Female" : "Genderless")]</a>" + dat += "<b>Gender:</b> <a href='byond://?_src_=prefs;preference=gender'>[active_character.gender == MALE ? "Male" : (active_character.gender == FEMALE ? "Female" : "Genderless")]</a>" dat += "<br>" - dat += "<b>Age:</b> <a href='?_src_=prefs;preference=age;task=input'>[active_character.age]</a><br>" - dat += "<b>Body:</b> <a href='?_src_=prefs;preference=all;task=random'>(®)</a><br>" - dat += "<b>Species:</b> <a href='?_src_=prefs;preference=species;task=input'>[active_character.species]</a><br>" + dat += "<b>Age:</b> <a href='byond://?_src_=prefs;preference=age;task=input'>[active_character.age]</a><br>" + dat += "<b>Body:</b> <a href='byond://?_src_=prefs;preference=all;task=random'>(®)</a><br>" + dat += "<b>Species:</b> <a href='byond://?_src_=prefs;preference=species;task=input'>[active_character.species]</a><br>" if(active_character.species == "Vox") // Purge these bastards - dat += "<b>N2 Tank:</b> <a href='?_src_=prefs;preference=speciesprefs;task=input'>[active_character.speciesprefs ? "Large N2 Tank" : "Specialized N2 Tank"]</a><br>" + dat += "<b>N2 Tank:</b> <a href='byond://?_src_=prefs;preference=speciesprefs;task=input'>[active_character.speciesprefs ? "Large N2 Tank" : "Specialized N2 Tank"]</a><br>" if(active_character.species == "Plasmaman") - dat += "<b>Plasma Tank:</b> <a href='?_src_=prefs;preference=speciesprefs;task=input'>[active_character.speciesprefs ? "Large Plasma Tank" : "Specialized Plasma Tank"]</a><br>" + dat += "<b>Plasma Tank:</b> <a href='byond://?_src_=prefs;preference=speciesprefs;task=input'>[active_character.speciesprefs ? "Large Plasma Tank" : "Specialized Plasma Tank"]</a><br>" if(active_character.species == "Grey") dat += "<b>Wingdings:</b> Set in disabilities<br>" - dat += "<b>Voice Translator:</b> <a href ='?_src_=prefs;preference=speciesprefs;task=input'>[active_character.speciesprefs ? "Yes" : "No"]</a><br>" - dat += "<b>Secondary Language:</b> <a href='?_src_=prefs;preference=language;task=input'>[active_character.language]</a><br>" + dat += "<b>Voice Translator:</b> <a href='byond://?_src_=prefs;preference=speciesprefs;task=input'>[active_character.speciesprefs ? "Yes" : "No"]</a><br>" + dat += "<b>Secondary Language:</b> <a href='byond://?_src_=prefs;preference=language;task=input'>[active_character.language]</a><br>" if(S.autohiss_basic_map) - dat += "<b>Auto-accent:</b> <a href='?_src_=prefs;preference=autohiss_mode;task=input'>[active_character.autohiss_mode == AUTOHISS_FULL ? "Full" : (active_character.autohiss_mode == AUTOHISS_BASIC ? "Basic" : "Off")]</a><br>" + dat += "<b>Auto-accent:</b> <a href='byond://?_src_=prefs;preference=autohiss_mode;task=input'>[active_character.autohiss_mode == AUTOHISS_FULL ? "Full" : (active_character.autohiss_mode == AUTOHISS_BASIC ? "Basic" : "Off")]</a><br>" if(NO_BLOOD in S.species_traits) // unique blood type for species with no_blood/unique_blood active_character.b_type = "None" else @@ -218,13 +218,14 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts else if(active_character.b_type == "None" || active_character.b_type == "Slime Jelly") active_character.b_type = pick(4;"O-", 36;"O+", 3;"A-", 28;"A+", 1;"B-", 20;"B+", 1;"AB-", 5;"AB+") - dat += "<b>Blood Type:</b> <a href='?_src_=prefs;preference=b_type;task=input'>[active_character.b_type]</a><br>" + dat += "<b>Blood Type:</b> <a href='byond://?_src_=prefs;preference=b_type;task=input'>[active_character.b_type]</a><br>" if(S.bodyflags & (HAS_SKIN_TONE|HAS_ICON_SKIN_TONE)) - dat += "<b>Skin Tone:</b> <a href='?_src_=prefs;preference=s_tone;task=input'>[S.bodyflags & HAS_ICON_SKIN_TONE ? "[active_character.s_tone]" : "[-active_character.s_tone + 35]/220"]</a><br>" - dat += "<b>Disabilities:</b> <a href='?_src_=prefs;preference=disabilities'>\[Set\]</a><br>" - dat += "<b>Nanotrasen Relation:</b> <a href ='?_src_=prefs;preference=nt_relation;task=input'>[active_character.nanotrasen_relation]</a><br>" - dat += "<b>Physique:</b> <a href='?_src_=prefs;preference=physique;task=input'>[active_character.physique]</a><br>" - dat += "<b>Height:</b> <a href ='?_src_=prefs;preference=height;task=input'>[active_character.height]</a><br>" + dat += "<b>Skin Tone:</b> <a href='byond://?_src_=prefs;preference=s_tone;task=input'>[S.bodyflags & HAS_ICON_SKIN_TONE ? "[active_character.s_tone]" : "[-active_character.s_tone + 35]/220"]</a><br>" + dat += "<b>Disabilities:</b> <a href='byond://?_src_=prefs;preference=disabilities'>\[Set\]</a><br>" + dat += "<b>Nanotrasen Relation:</b> <a href='byond://?_src_=prefs;preference=nt_relation;task=input'>[active_character.nanotrasen_relation]</a><br>" + dat += "<b>Physique:</b> <a href='byond://?_src_=prefs;preference=physique;task=input'>[active_character.physique]</a><br>" + dat += "<b>Height:</b> <a href='byond://?_src_=prefs;preference=height;task=input'>[active_character.height]</a><br>" + dat += "<b>Cyborg Brain Type:</b> <a href='byond://?_src_=prefs;preference=cyborg_brain_type;task=input'>[active_character.cyborg_brain_type]</a><br>" dat += "<a href='byond://?_src_=prefs;preference=flavor_text;task=input'>Set Flavor Text</a><br>" if(length(active_character.flavor_text) <= 40) if(!length(active_character.flavor_text)) @@ -240,46 +241,46 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts if(active_character.species == "Unathi") headaccessoryname = "Horns: " dat += "<b>[headaccessoryname]</b>" - dat += "<a href='?_src_=prefs;preference=ha_style;task=input'>[active_character.ha_style]</a> " - dat += "<a href='?_src_=prefs;preference=headaccessory;task=input'>Color</a> [color_square(active_character.hacc_colour)]<br>" + dat += "<a href='byond://?_src_=prefs;preference=ha_style;task=input'>[active_character.ha_style]</a> " + dat += "<a href='byond://?_src_=prefs;preference=headaccessory;task=input'>Color</a> [color_square(active_character.hacc_colour)]<br>" if(S.bodyflags & HAS_HEAD_MARKINGS) //Species with head markings. dat += "<b>Head Markings:</b> " - dat += "<a href='?_src_=prefs;preference=m_style_head;task=input'>[active_character.m_styles["head"]]</a>" - dat += "<a href='?_src_=prefs;preference=m_head_colour;task=input'>Color</a> [color_square(active_character.m_colours["head"])]<br>" + dat += "<a href='byond://?_src_=prefs;preference=m_style_head;task=input'>[active_character.m_styles["head"]]</a>" + dat += "<a href='byond://?_src_=prefs;preference=m_head_colour;task=input'>Color</a> [color_square(active_character.m_colours["head"])]<br>" if(S.bodyflags & HAS_BODY_MARKINGS) //Species with body markings/tattoos. dat += "<b>Body Markings:</b> " - dat += "<a href='?_src_=prefs;preference=m_style_body;task=input'>[active_character.m_styles["body"]]</a>" - dat += "<a href='?_src_=prefs;preference=m_body_colour;task=input'>Color</a> [color_square(active_character.m_colours["body"])]<br>" + dat += "<a href='byond://?_src_=prefs;preference=m_style_body;task=input'>[active_character.m_styles["body"]]</a>" + dat += "<a href='byond://?_src_=prefs;preference=m_body_colour;task=input'>Color</a> [color_square(active_character.m_colours["body"])]<br>" if(S.bodyflags & HAS_TAIL_MARKINGS) //Species with tail markings. dat += "<b>Tail Markings:</b> " - dat += "<a href='?_src_=prefs;preference=m_style_tail;task=input'>[active_character.m_styles["tail"]]</a>" - dat += "<a href='?_src_=prefs;preference=m_tail_colour;task=input'>Color</a> [color_square(active_character.m_colours["tail"])]<br>" + dat += "<a href='byond://?_src_=prefs;preference=m_style_tail;task=input'>[active_character.m_styles["tail"]]</a>" + dat += "<a href='byond://?_src_=prefs;preference=m_tail_colour;task=input'>Color</a> [color_square(active_character.m_colours["tail"])]<br>" if(!(S.bodyflags & BALD)) dat += "<b>Hair:</b> " - dat += "<a href='?_src_=prefs;preference=h_style;task=input'>[active_character.h_style]</a>" - dat += "<a href='?_src_=prefs;preference=hair;task=input'>Color</a> [color_square(active_character.h_colour)]" + dat += "<a href='byond://?_src_=prefs;preference=h_style;task=input'>[active_character.h_style]</a>" + dat += "<a href='byond://?_src_=prefs;preference=hair;task=input'>Color</a> [color_square(active_character.h_colour)]" var/datum/sprite_accessory/temp_hair_style = GLOB.hair_styles_public_list[active_character.h_style] if(temp_hair_style && temp_hair_style.secondary_theme && !temp_hair_style.no_sec_colour) - dat += " <a href='?_src_=prefs;preference=secondary_hair;task=input'>Color #2</a> [color_square(active_character.h_sec_colour)]" + dat += " <a href='byond://?_src_=prefs;preference=secondary_hair;task=input'>Color #2</a> [color_square(active_character.h_sec_colour)]" // Hair gradient dat += "<br>" dat += "- <b>Gradient:</b>" - dat += " <a href='?_src_=prefs;preference=h_grad_style;task=input'>[active_character.h_grad_style]</a>" - dat += " <a href='?_src_=prefs;preference=h_grad_colour;task=input'>Color</a> [color_square(active_character.h_grad_colour)]" - dat += " <a href='?_src_=prefs;preference=h_grad_alpha;task=input'>[active_character.h_grad_alpha]</a>" + dat += " <a href='byond://?_src_=prefs;preference=h_grad_style;task=input'>[active_character.h_grad_style]</a>" + dat += " <a href='byond://?_src_=prefs;preference=h_grad_colour;task=input'>Color</a> [color_square(active_character.h_grad_colour)]" + dat += " <a href='byond://?_src_=prefs;preference=h_grad_alpha;task=input'>[active_character.h_grad_alpha]</a>" dat += "<br>" - dat += "- <b>Gradient Offset:</b> <a href='?_src_=prefs;preference=h_grad_offset;task=input'>[active_character.h_grad_offset_x],[active_character.h_grad_offset_y]</a>" + dat += "- <b>Gradient Offset:</b> <a href='byond://?_src_=prefs;preference=h_grad_offset;task=input'>[active_character.h_grad_offset_x],[active_character.h_grad_offset_y]</a>" dat += "<br>" else active_character.h_style = "Bald" if(!(S.bodyflags & SHAVED)) dat += "<b>Facial Hair:</b> " - dat += "<a href='?_src_=prefs;preference=f_style;task=input'>[active_character.f_style ? "[active_character.f_style]" : "Shaved"]</a>" - dat += "<a href='?_src_=prefs;preference=facial;task=input'>Color</a> [color_square(active_character.f_colour)]" + dat += "<a href='byond://?_src_=prefs;preference=f_style;task=input'>[active_character.f_style ? "[active_character.f_style]" : "Shaved"]</a>" + dat += "<a href='byond://?_src_=prefs;preference=facial;task=input'>Color</a> [color_square(active_character.f_colour)]" var/datum/sprite_accessory/temp_facial_hair_style = GLOB.facial_hair_styles_list[active_character.f_style] if(temp_facial_hair_style && temp_facial_hair_style.secondary_theme && !temp_facial_hair_style.no_sec_colour) - dat += " <a href='?_src_=prefs;preference=secondary_facial;task=input'>Color #2</a> [color_square(active_character.f_sec_colour)]" + dat += " <a href='byond://?_src_=prefs;preference=secondary_facial;task=input'>Color #2</a> [color_square(active_character.f_sec_colour)]" dat += "<br>" else active_character.f_style = "Shaved" @@ -287,19 +288,19 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts if(!(S.bodyflags & ALL_RPARTS)) dat += "<b>Eyes:</b> " - dat += "<a href='?_src_=prefs;preference=eyes;task=input'>Color</a> [color_square(active_character.e_colour)]<br>" + dat += "<a href='byond://?_src_=prefs;preference=eyes;task=input'>Color</a> [color_square(active_character.e_colour)]<br>" if((S.bodyflags & HAS_SKIN_COLOR) || ((S.bodyflags & HAS_BODYACC_COLOR) && GLOB.body_accessory_by_species[active_character.species]) || check_rights(R_ADMIN, 0, user)) //admins can always fuck with this, because they are admins dat += "<b>Body Color:</b> " - dat += "<a href='?_src_=prefs;preference=skin;task=input'>Color</a> [color_square(active_character.s_colour)]<br>" + dat += "<a href='byond://?_src_=prefs;preference=skin;task=input'>Color</a> [color_square(active_character.s_colour)]<br>" if(GLOB.body_accessory_by_species[active_character.species] || check_rights(R_ADMIN, 0, user)) dat += "<b>Body Accessory:</b> " - dat += "<a href='?_src_=prefs;preference=body_accessory;task=input'>[active_character.body_accessory ? "[active_character.body_accessory]" : "None"]</a><br>" + dat += "<a href='byond://?_src_=prefs;preference=body_accessory;task=input'>[active_character.body_accessory ? "[active_character.body_accessory]" : "None"]</a><br>" dat += "</td><td width='405px' height='200px' valign='top'>" dat += "<h2>Occupation Choices</h2>" - dat += "<a href='?_src_=prefs;preference=job;task=menu'>Set Occupation Preferences</a><br>" + dat += "<a href='byond://?_src_=prefs;preference=job;task=menu'>Set Occupation Preferences</a><br>" if(jobban_isbanned(user, ROLEBAN_RECORDS)) dat += "<b>You are banned from using character records.</b><br>" else @@ -309,17 +310,17 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts if(GLOB.configuration.tts.tts_enabled) dat += {" <h2>Text-to-Speech</h2> - <b>Выбор голоса:</b> <a href='?_src_=prefs;preference=tts_seed;task=input'>Эксплорер TTS голосов</a><br> + <b>Выбор голоса:</b> <a href='byond://?_src_=prefs;preference=tts_seed;task=input'>Эксплорер TTS голосов</a><br> "} // SS220 ADDITION END dat += "<h2>Limbs</h2>" if(S.bodyflags & HAS_ALT_HEADS) //Species with alt heads. dat += "<b>Alternate Head:</b> " - dat += "<a href='?_src_=prefs;preference=alt_head;task=input'>[active_character.alt_head]</a><br>" - dat += "<b>Limbs and Parts:</b> <a href='?_src_=prefs;preference=limbs;task=input'>Adjust</a><br>" + dat += "<a href='byond://?_src_=prefs;preference=alt_head;task=input'>[active_character.alt_head]</a><br>" + dat += "<b>Limbs and Parts:</b> <a href='byond://?_src_=prefs;preference=limbs;task=input'>Adjust</a><br>" if(active_character.species != "Slime People" && active_character.species != "Machine") - dat += "<b>Internal Organs:</b> <a href='?_src_=prefs;preference=organs;task=input'>Adjust</a><br>" + dat += "<b>Internal Organs:</b> <a href='byond://?_src_=prefs;preference=organs;task=input'>Adjust</a><br>" //display limbs below var/ind = 0 @@ -381,16 +382,14 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts if(!ind) dat += "\[...\]<br>" else dat += "<br>" - dat += "<h2>Cyborg Brain Type</h2>" - dat += "<a href= '?_src_=prefs;preference=cyborg_brain_type;task=input'>[active_character.cyborg_brain_type]</a><BR>" dat += "<h2>Clothing</h2>" if(S.clothing_flags & HAS_UNDERWEAR) - dat += "<b>Underwear:</b> <a href ='?_src_=prefs;preference=underwear;task=input'>[active_character.underwear]</a><BR>" + dat += "<b>Underwear:</b> <a href='byond://?_src_=prefs;preference=underwear;task=input'>[active_character.underwear]</a><BR>" if(S.clothing_flags & HAS_UNDERSHIRT) - dat += "<b>Undershirt:</b> <a href ='?_src_=prefs;preference=undershirt;task=input'>[active_character.undershirt]</a><BR>" + dat += "<b>Undershirt:</b> <a href='byond://?_src_=prefs;preference=undershirt;task=input'>[active_character.undershirt]</a><BR>" if(S.clothing_flags & HAS_SOCKS) - dat += "<b>Socks:</b> <a href ='?_src_=prefs;preference=socks;task=input'>[active_character.socks]</a><BR>" - dat += "<b>Backpack Type:</b> <a href ='?_src_=prefs;preference=bag;task=input'>[active_character.backbag]</a><br>" + dat += "<b>Socks:</b> <a href='byond://?_src_=prefs;preference=socks;task=input'>[active_character.socks]</a><BR>" + dat += "<b>Backpack Type:</b> <a href='byond://?_src_=prefs;preference=bag;task=input'>[active_character.backbag]</a><br>" var/datum/species/myspecies = GLOB.all_species[active_character.species] if(!isnull(myspecies)) @@ -403,28 +402,28 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts // LEFT SIDE OF THE PAGE dat += "<table><tr><td width='405px' height='300px' valign='top'>" dat += "<h2>General Settings</h2>" - dat += "<b>2FA Setup:</b> <a href='?_src_=prefs;preference=edit_2fa'>[_2fastatus_to_text()]</a><br>" + dat += "<b>2FA Setup:</b> <a href='byond://?_src_=prefs;preference=edit_2fa'>[_2fastatus_to_text()]</a><br>" if(user.client.holder) - dat += "<b>Adminhelp sound:</b> <a href='?_src_=prefs;preference=hear_adminhelps'><b>[(sound & SOUND_ADMINHELP)?"On":"Off"]</b></a><br>" - dat += "<b>AFK Cryoing:</b> <a href='?_src_=prefs;preference=afk_watch'>[(toggles2 & PREFTOGGLE_2_AFKWATCH) ? "Yes" : "No"]</a><br>" - dat += "<b>Ambient Occlusion:</b> <a href='?_src_=prefs;preference=ambientocclusion'><b>[toggles & PREFTOGGLE_AMBIENT_OCCLUSION ? "Enabled" : "Disabled"]</b></a><br>" - dat += "<b>Attack Animations:</b> <a href='?_src_=prefs;preference=ghost_att_anim'>[(toggles2 & PREFTOGGLE_2_ITEMATTACK) ? "Yes" : "No"]</a><br>" + dat += "<b>Adminhelp sound:</b> <a href='byond://?_src_=prefs;preference=hear_adminhelps'><b>[(sound & SOUND_ADMINHELP)?"On":"Off"]</b></a><br>" + dat += "<b>AFK Cryoing:</b> <a href='byond://?_src_=prefs;preference=afk_watch'>[(toggles2 & PREFTOGGLE_2_AFKWATCH) ? "Yes" : "No"]</a><br>" + dat += "<b>Ambient Occlusion:</b> <a href='byond://?_src_=prefs;preference=ambientocclusion'><b>[toggles & PREFTOGGLE_AMBIENT_OCCLUSION ? "Enabled" : "Disabled"]</b></a><br>" + dat += "<b>Attack Animations:</b> <a href='byond://?_src_=prefs;preference=ghost_att_anim'>[(toggles2 & PREFTOGGLE_2_ITEMATTACK) ? "Yes" : "No"]</a><br>" if(unlock_content) - dat += "<b>BYOND Membership Publicity:</b> <a href='?_src_=prefs;preference=publicity'><b>[(toggles & PREFTOGGLE_MEMBER_PUBLIC) ? "Public" : "Hidden"]</b></a><br>" - dat += "<b>CKEY Anonymity:</b> <a href='?_src_=prefs;preference=anonmode'><b>[toggles2 & PREFTOGGLE_2_ANON ? "Anonymous" : "Not Anonymous"]</b></a><br>" - dat += "<b>Colourblind Mode:</b> <a href='?_src_=prefs;preference=cbmode'>[colourblind_mode]</a><br>" + dat += "<b>BYOND Membership Publicity:</b> <a href='byond://?_src_=prefs;preference=publicity'><b>[(toggles & PREFTOGGLE_MEMBER_PUBLIC) ? "Public" : "Hidden"]</b></a><br>" + dat += "<b>CKEY Anonymity:</b> <a href='byond://?_src_=prefs;preference=anonmode'><b>[toggles2 & PREFTOGGLE_2_ANON ? "Anonymous" : "Not Anonymous"]</b></a><br>" + dat += "<b>Colourblind Mode:</b> <a href='byond://?_src_=prefs;preference=cbmode'>[colourblind_mode]</a><br>" if(user.client.donator_level > 0) - dat += "<b>Donator Publicity:</b> <a href='?_src_=prefs;preference=donor_public'><b>[(toggles & PREFTOGGLE_DONATOR_PUBLIC) ? "Public" : "Hidden"]</b></a><br>" - dat += "<b>FPS:</b> <a href='?_src_=prefs;preference=clientfps;task=input'>[clientfps]</a><br>" - dat += "<b>Ghost Ears:</b> <a href='?_src_=prefs;preference=ghost_ears'><b>[(toggles & PREFTOGGLE_CHAT_GHOSTEARS) ? "All Speech" : "Nearest Creatures"]</b></a><br>" - dat += "<b>Ghost Radio:</b> <a href='?_src_=prefs;preference=ghost_radio'><b>[(toggles & PREFTOGGLE_CHAT_GHOSTRADIO) ? "All Chatter" : "Nearest Speakers"]</b></a><br>" - dat += "<b>Ghost Sight:</b> <a href='?_src_=prefs;preference=ghost_sight'><b>[(toggles & PREFTOGGLE_CHAT_GHOSTSIGHT) ? "All Emotes" : "Nearest Creatures"]</b></a><br>" - dat += "<b>Ghost PDA:</b> <a href='?_src_=prefs;preference=ghost_pda'><b>[(toggles & PREFTOGGLE_CHAT_GHOSTPDA) ? "All PDA Messages" : "No PDA Messages"]</b></a><br>" + dat += "<b>Donator Publicity:</b> <a href='byond://?_src_=prefs;preference=donor_public'><b>[(toggles & PREFTOGGLE_DONATOR_PUBLIC) ? "Public" : "Hidden"]</b></a><br>" + dat += "<b>FPS:</b> <a href='byond://?_src_=prefs;preference=clientfps;task=input'>[clientfps]</a><br>" + dat += "<b>Ghost Ears:</b> <a href='byond://?_src_=prefs;preference=ghost_ears'><b>[(toggles & PREFTOGGLE_CHAT_GHOSTEARS) ? "All Speech" : "Nearest Creatures"]</b></a><br>" + dat += "<b>Ghost Radio:</b> <a href='byond://?_src_=prefs;preference=ghost_radio'><b>[(toggles & PREFTOGGLE_CHAT_GHOSTRADIO) ? "All Chatter" : "Nearest Speakers"]</b></a><br>" + dat += "<b>Ghost Sight:</b> <a href='byond://?_src_=prefs;preference=ghost_sight'><b>[(toggles & PREFTOGGLE_CHAT_GHOSTSIGHT) ? "All Emotes" : "Nearest Creatures"]</b></a><br>" + dat += "<b>Ghost PDA:</b> <a href='byond://?_src_=prefs;preference=ghost_pda'><b>[(toggles & PREFTOGGLE_CHAT_GHOSTPDA) ? "All PDA Messages" : "No PDA Messages"]</b></a><br>" if(check_rights(R_EVENT,0)) // SS220 Addition - dat += "<b>OOC Color:</b> <span style='border: 1px solid #161616; background-color: [ooccolor ? ooccolor : GLOB.normal_ooc_colour];'> </span> <a href='?_src_=prefs;preference=ooccolor;task=input'><b>Change</b></a><br>" + dat += "<b>OOC Color:</b> <span style='border: 1px solid #161616; background-color: [ooccolor ? ooccolor : GLOB.normal_ooc_colour];'> </span> <a href='byond://?_src_=prefs;preference=ooccolor;task=input'><b>Change</b></a><br>" if(GLOB.configuration.general.allow_character_metadata) - dat += "<b>OOC Notes:</b> <a href='?_src_=prefs;preference=metadata;task=input'><b>Edit</b></a><br>" - dat += "<b>Parallax (Fancy Space):</b> <a href='?_src_=prefs;preference=parallax'>" + dat += "<b>OOC Notes:</b> <a href='byond://?_src_=prefs;preference=metadata;task=input'><b>Edit</b></a><br>" + dat += "<b>Parallax (Fancy Space):</b> <a href='byond://?_src_=prefs;preference=parallax'>" switch(parallax) if(PARALLAX_LOW) dat += "Low" @@ -437,29 +436,29 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts else dat += "High" dat += "</a><br>" - dat += "<b>Parallax in darkness:</b> <a href='?_src_=prefs;preference=parallax_darkness'>[toggles2 & PREFTOGGLE_2_PARALLAX_IN_DARKNESS ? "Enabled" : "Disabled"]</a><br>" - dat += "<b>Play Admin MIDIs:</b> <a href='?_src_=prefs;preference=hear_midis'><b>[(sound & SOUND_MIDI) ? "Yes" : "No"]</b></a><br>" - dat += "<b>Play Lobby Music:</b> <a href='?_src_=prefs;preference=lobby_music'><b>[(sound & SOUND_LOBBY) ? "Yes" : "No"]</b></a><br>" - dat += "<b>Randomized Character Slot:</b> <a href='?_src_=prefs;preference=randomslot'><b>[toggles2 & PREFTOGGLE_2_RANDOMSLOT ? "Yes" : "No"]</b></a><br>" - dat += "<b>View Range:</b> <a href='?_src_=prefs;preference=setviewrange'>[viewrange]</a><br>" - dat += "<b>Window Flashing:</b> <a href='?_src_=prefs;preference=winflash'>[(toggles2 & PREFTOGGLE_2_WINDOWFLASHING) ? "Yes" : "No"]</a><br>" - dat += "<b>Modsuit Activation Method:</b> <a href='?_src_=prefs;preference=mam'>[(toggles2 & PREFTOGGLE_2_MOD_ACTIVATION_METHOD) ? "Middle Click" : "Alt Click"]</a><br>" + dat += "<b>Parallax in darkness:</b> <a href='byond://?_src_=prefs;preference=parallax_darkness'>[toggles2 & PREFTOGGLE_2_PARALLAX_IN_DARKNESS ? "Enabled" : "Disabled"]</a><br>" + dat += "<b>Play Admin MIDIs:</b> <a href='byond://?_src_=prefs;preference=hear_midis'><b>[(sound & SOUND_MIDI) ? "Yes" : "No"]</b></a><br>" + dat += "<b>Play Lobby Music:</b> <a href='byond://?_src_=prefs;preference=lobby_music'><b>[(sound & SOUND_LOBBY) ? "Yes" : "No"]</b></a><br>" + dat += "<b>Randomized Character Slot:</b> <a href='byond://?_src_=prefs;preference=randomslot'><b>[toggles2 & PREFTOGGLE_2_RANDOMSLOT ? "Yes" : "No"]</b></a><br>" + dat += "<b>View Range:</b> <a href='byond://?_src_=prefs;preference=setviewrange'>[viewrange]</a><br>" + dat += "<b>Window Flashing:</b> <a href='byond://?_src_=prefs;preference=winflash'>[(toggles2 & PREFTOGGLE_2_WINDOWFLASHING) ? "Yes" : "No"]</a><br>" + dat += "<b>Modsuit Activation Method:</b> <a href='byond://?_src_=prefs;preference=mam'>[(toggles2 & PREFTOGGLE_2_MOD_ACTIVATION_METHOD) ? "Middle Click" : "Alt Click"]</a><br>" // RIGHT SIDE OF THE PAGE dat += "</td><td width='405px' height='300px' valign='top'>" dat += "<h2>Interface Settings</h2>" - dat += "<b>Set screentip mode:</b> <a href='?_src_=prefs;preference=screentip_mode'>[(screentip_mode == 0) ? "Disabled" : "[screentip_mode]px"]</a><br>" - dat += "<b>Screentip color:</b> <span style='border: 1px solid #161616; background-color: [screentip_color];'> </span> <a href='?_src_=prefs;preference=screentip_color'><b>Change</b></a><br>" - dat += "<b>Thought Bubble when pointing:</b> <a href='?_src_=prefs;preference=thought_bubble'>[(toggles2 & PREFTOGGLE_2_THOUGHT_BUBBLE) ? "Yes" : "No"]</a><br>" + dat += "<b>Set screentip mode:</b> <a href='byond://?_src_=prefs;preference=screentip_mode'>[(screentip_mode == 0) ? "Disabled" : "[screentip_mode]px"]</a><br>" + dat += "<b>Screentip color:</b> <span style='border: 1px solid #161616; background-color: [screentip_color];'> </span> <a href='byond://?_src_=prefs;preference=screentip_color'><b>Change</b></a><br>" + dat += "<b>Thought Bubble when pointing:</b> <a href='byond://?_src_=prefs;preference=thought_bubble'>[(toggles2 & PREFTOGGLE_2_THOUGHT_BUBBLE) ? "Yes" : "No"]</a><br>" dat += "<b>Custom UI settings:</b><br>" - dat += " - <b>Alpha (transparency):</b> <a href='?_src_=prefs;preference=UIalpha'><b>[UI_style_alpha]</b></a><br>" - dat += " - <b>Color:</b> <a href='?_src_=prefs;preference=UIcolor'><b>[UI_style_color]</b></a> <span style='border: 1px solid #161616; background-color: [UI_style_color];'> </span><br>" - dat += " - <b>UI Style:</b> <a href='?_src_=prefs;preference=ui'><b>[UI_style]</b></a><br>" + dat += " - <b>Alpha (transparency):</b> <a href='byond://?_src_=prefs;preference=UIalpha'><b>[UI_style_alpha]</b></a><br>" + dat += " - <b>Color:</b> <a href='byond://?_src_=prefs;preference=UIcolor'><b>[UI_style_color]</b></a> <span style='border: 1px solid #161616; background-color: [UI_style_color];'> </span><br>" + dat += " - <b>UI Style:</b> <a href='byond://?_src_=prefs;preference=ui'><b>[UI_style]</b></a><br>" dat += "<b>TGUI settings:</b><br>" - dat += "<b> - Fancy TGUI:</b> <a href='?_src_=prefs;preference=tgui'>[(toggles2 & PREFTOGGLE_2_FANCYUI) ? "Yes" : "No"]</a><br>" - dat += "<b> - TGUI Input:</b> <a href='?_src_=prefs;preference=tgui_input'>[(toggles2 & PREFTOGGLE_2_DISABLE_TGUI_INPUT) ? "No" : "Yes"]</a><br>" - dat += "<b> - TGUI Input - Large Buttons:</b> <a href='?_src_=prefs;preference=tgui_input_large'>[(toggles2 & PREFTOGGLE_2_LARGE_INPUT_BUTTONS) ? "Yes" : "No"]</a><br>" - dat += "<b> - TGUI Input - Swap Buttons:</b> <a href='?_src_=prefs;preference=tgui_input_swap'>[(toggles2 & PREFTOGGLE_2_SWAP_INPUT_BUTTONS) ? "Yes" : "No"]</a><br>" - dat += "<b> - TGUI Say Theme:</b> <a href='?_src_=prefs;preference=tgui_say_light_mode'>[(toggles2 & PREFTOGGLE_2_ENABLE_TGUI_SAY_LIGHT_MODE) ? "Light" : "Dark"]</a><br>" + dat += "<b> - Fancy TGUI:</b> <a href='byond://?_src_=prefs;preference=tgui'>[(toggles2 & PREFTOGGLE_2_FANCYUI) ? "Yes" : "No"]</a><br>" + dat += "<b> - TGUI Input:</b> <a href='byond://?_src_=prefs;preference=tgui_input'>[(toggles2 & PREFTOGGLE_2_DISABLE_TGUI_INPUT) ? "No" : "Yes"]</a><br>" + dat += "<b> - TGUI Input - Large Buttons:</b> <a href='byond://?_src_=prefs;preference=tgui_input_large'>[(toggles2 & PREFTOGGLE_2_LARGE_INPUT_BUTTONS) ? "Yes" : "No"]</a><br>" + dat += "<b> - TGUI Input - Swap Buttons:</b> <a href='byond://?_src_=prefs;preference=tgui_input_swap'>[(toggles2 & PREFTOGGLE_2_SWAP_INPUT_BUTTONS) ? "Yes" : "No"]</a><br>" + dat += "<b> - TGUI Say Theme:</b> <a href='byond://?_src_=prefs;preference=tgui_say_light_mode'>[(toggles2 & PREFTOGGLE_2_ENABLE_TGUI_SAY_LIGHT_MODE) ? "Light" : "Dark"]</a><br>" dat += "</td></tr></table>" if(TAB_ANTAG) // Antagonist's Preferences @@ -483,7 +482,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts dat += "<b>Be [capitalize(i)]:</b> <font color=red><b> \[ERROR]</b></font><br>" else var/is_special = (i in src.be_special) - dat += "<b>Be [capitalize(i)]:</b><a class=[is_special ? "green" : "red"] href='?_src_=prefs;preference=be_special;role=[i]'><b>[(is_special) ? "Yes" : "No"]</b></a><br>" + dat += "<b>Be [capitalize(i)]:</b><a class=[is_special ? "green" : "red"] href='byond://?_src_=prefs;preference=be_special;role=[i]'><b>[(is_special) ? "Yes" : "No"]</b></a><br>" dat += "</td></tr></table>" if(TAB_GEAR) @@ -493,7 +492,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts if(total_cost < max_gear_slots) fcolor = "#E67300" dat += "<table align='center' width='100%'>" - dat += "<tr><td colspan=4><center><b><font color='[fcolor]'>[total_cost]/[max_gear_slots]</font> loadout points spent.</b> \[<a href='?_src_=prefs;preference=gear;clear_loadout=1'>Clear Loadout</a>\]</center></td></tr>" + dat += "<tr><td colspan=4><center><b><font color='[fcolor]'>[total_cost]/[max_gear_slots]</font> loadout points spent.</b> \[<a href='byond://?_src_=prefs;preference=gear;clear_loadout=1'>Clear Loadout</a>\]</center></td></tr>" dat += "<tr><td colspan=4><center><b>" var/firstcat = 1 @@ -505,7 +504,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts if(category == gear_tab) dat += " <span class='linkOff'>[category]</span> " else - dat += " <a href='?_src_=prefs;preference=gear;select_category=[category]'>[category]</a> " + dat += " <a href='byond://?_src_=prefs;preference=gear;select_category=[category]'>[category]</a> " dat += "</b></center></td></tr>" var/datum/loadout_category/LC = GLOB.loadout_categories[gear_tab] @@ -518,7 +517,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts if(G.donator_tier > user.client.donator_level) dat += "<tr style='vertical-align:top;'><td width=15%><B>[G.display_name]</B></td>" else - dat += "<tr style='vertical-align:top;'><td width=15%><a style='white-space:normal;' [ticked ? "class='linkOn' " : ""]href='?_src_=prefs;preference=gear;toggle_gear=[G.type]'>[G.display_name]</a></td>" + dat += "<tr style='vertical-align:top;'><td width=15%><a style='white-space:normal;' [ticked ? "class='linkOn' " : ""]href='byond://?_src_=prefs;preference=gear;toggle_gear=[G.type]'>[G.display_name]</a></td>" dat += "<td width = 5% style='vertical-align:top'>[G.cost]</td><td>" if(G.allowed_roles) dat += "<font size=2>Restrictions: " @@ -529,14 +528,14 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts if(ticked) . += "<tr><td colspan=4>" for(var/datum/gear_tweak/tweak in G.gear_tweaks) - . += " <a href='?_src_=prefs;preference=gear;gear=[G.type];tweak=\ref[tweak]'>[tweak.get_contents(active_character.get_tweak_metadata(G, tweak))]</a>" + . += " <a href='byond://?_src_=prefs;preference=gear;gear=[G.type];tweak=\ref[tweak]'>[tweak.get_contents(active_character.get_tweak_metadata(G, tweak))]</a>" . += "</td></tr>" dat += "</table>" if(TAB_KEYS) dat += "<div align='center'><b>All Key Bindings: </b>" - dat += "<a href='?_src_=prefs;preference=keybindings;all=reset'>Reset to Default</a> " - dat += "<a href='?_src_=prefs;preference=keybindings;all=clear'>Clear</a><br /></div>" + dat += "<a href='byond://?_src_=prefs;preference=keybindings;all=reset'>Reset to Default</a> " + dat += "<a href='byond://?_src_=prefs;preference=keybindings;all=clear'>Clear</a><br /></div>" dat += "<tr><td colspan=4><hr></td></tr>" dat += "<tr><td colspan=4><div align='center'><b>Please note, some keybinds are overridden by other categories.</b></div></td></tr>" dat += "<tr><td colspan=4><div align='center'><b>Ensure you bind all of them, or the specific one you want.</b></div></td></tr>" @@ -567,11 +566,11 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts var/disp_key = key if(override_keys) disp_key = "<b>[disp_key]</b>" - keys_buttons += "<a href='?_src_=prefs;preference=keybindings;set=[kb_uid];old=[url_encode(key)];'>[disp_key]</a> " + keys_buttons += "<a href='byond://?_src_=prefs;preference=keybindings;set=[kb_uid];old=[url_encode(key)];'>[disp_key]</a> " dat += "<tr>" dat += "<td style='width: 25%'>[KB.name]</td>" - dat += "<td style='width: 45%'>[keys_buttons][(length(keys) < 5) ? "<a href='?_src_=prefs;preference=keybindings;set=[kb_uid];'><span class='good'>+</span></a></td>" : "</td>"]" - dat += "<td style='width: 20%'><a href='?_src_=prefs;preference=keybindings;reset=[kb_uid]'>Reset to Default</a> <a href='?_src_=prefs;preference=keybindings;clear=[kb_uid]'>Clear</a></td>" + dat += "<td style='width: 45%'>[keys_buttons][(length(keys) < 5) ? "<a href='byond://?_src_=prefs;preference=keybindings;set=[kb_uid];'><span class='good'>+</span></a></td>" : "</td>"]" + dat += "<td style='width: 20%'><a href='byond://?_src_=prefs;preference=keybindings;reset=[kb_uid]'>Reset to Default</a> <a href='byond://?_src_=prefs;preference=keybindings;clear=[kb_uid]'>Clear</a></td>" if(KB.category == KB_CATEGORY_EMOTE_CUSTOM) var/datum/keybinding/custom/custom_emote_keybind = kb if(custom_emote_keybind.donor_exclusive && !(user.client.donator_level || user.client.holder || unlock_content)) @@ -587,8 +586,8 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts dat += "<td style='width: 25%'>[custom_emote_keybind.default_emote_text]</td>" else dat += "<td style='width: 25%'><i>\"[active_character.real_name] [emote_text]\"</i></td>" - dat += "<td style='width: 45%'><a href='?_src_=prefs;preference=keybindings;custom_emote_set=[kb_uid];'>Change Text</a></td>" - dat += "<td style='width: 20%'><a href='?_src_=prefs;preference=keybindings;custom_emote_reset=[kb_uid];'>Reset to Default</a></td>" + dat += "<td style='width: 45%'><a href='byond://?_src_=prefs;preference=keybindings;custom_emote_set=[kb_uid];'>Change Text</a></td>" + dat += "<td style='width: 20%'><a href='byond://?_src_=prefs;preference=keybindings;custom_emote_reset=[kb_uid];'>Reset to Default</a></td>" dat += "<tr><td colspan=4><br></td></tr>" dat += "</tr>" dat += "<tr><td colspan=4><br></td></tr>" @@ -598,10 +597,10 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts dat += "<hr><center>" if(!IsGuestKey(user.key)) - dat += "<a href='?_src_=prefs;preference=load'>Undo</a> - " - dat += "<a href='?_src_=prefs;preference=save'>Save Setup</a> - " + dat += "<a href='byond://?_src_=prefs;preference=load'>Undo</a> - " + dat += "<a href='byond://?_src_=prefs;preference=save'>Save Setup</a> - " - dat += "<a href='?_src_=prefs;preference=reset_all'>Reset Setup</a>" + dat += "<a href='byond://?_src_=prefs;preference=reset_all'>Reset Setup</a>" dat += "</center>" var/datum/browser/popup = new(user, "preferences", "<div align='center'>Character Setup</div>", 820, 770) @@ -622,7 +621,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts name = "Character [i]" if(i == default_slot) name = "<b>[name]</b>" - dat += "<a href='?_src_=prefs;preference=changeslot;num=[i];'>[name]</a><br>" + dat += "<a href='byond://?_src_=prefs;preference=changeslot;num=[i];'>[name]</a><br>" dat += "<hr>" dat += "<a href='byond://?_src_=prefs;preference=close_load_dialog'>Close</a><br>" diff --git a/code/modules/emoji/emoji_parse.dm b/code/modules/emoji/emoji_parse.dm new file mode 100644 index 000000000000..6dc56b195514 --- /dev/null +++ b/code/modules/emoji/emoji_parse.dm @@ -0,0 +1,32 @@ +/// Turns :ai: into an emoji in text. +/proc/emoji_parse(text) + if(!text) + return text + . = text + var/static/list/emojis = icon_states(icon(EMOJI_SET)) + var/parsed = "" + var/pos = 1 + var/search = 0 + var/emoji = "" + while(TRUE) + search = findtext(text, ":", pos) + parsed += copytext(text, pos, search) + if(search) + pos = search + search = findtext(text, ":", pos + length(text[pos])) + if(search) + emoji = lowertext(copytext(text, pos + length(text[pos]), search)) + var/datum/asset/spritesheet/sheet = get_asset_datum(/datum/asset/spritesheet/emoji) + var/tag = sheet.icon_tag("emoji-[emoji]") + if(tag) + parsed += tag + pos = search + length(text[pos]) + else + parsed += copytext(text, pos, search) + pos = search + emoji = "" + continue + else + parsed += copytext(text, pos, search) + break + return parsed diff --git a/code/modules/emoji/emojipedia.dm b/code/modules/emoji/emojipedia.dm new file mode 100644 index 000000000000..62fb05a8eb5f --- /dev/null +++ b/code/modules/emoji/emojipedia.dm @@ -0,0 +1,37 @@ +/client/verb/emojipedia() + set name = "Emojipedia" + set category = "OOC" + set desc = "Literally an emojipedia, a list of all the emoji available for OOC use." + + var/datum/ui_module/emojipedia/emojipedia = new() + emojipedia.ui_interact(usr) + +/datum/ui_module/emojipedia + name = "Emojipedia" + /// Store the list of potential emojis here. + var/static/list/emoji_list = icon_states(icon(EMOJI_SET)) + +/datum/ui_module/emojipedia/ui_state(mob/user) + return GLOB.always_state + +/datum/ui_module/emojipedia/ui_interact(mob/user, datum/tgui/ui) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "Emojipedia", name) + ui.autoupdate = FALSE + ui.open() + +/datum/ui_module/emojipedia/ui_static_data(mob_user) + var/list/data = list() + + for(var/emoji in emoji_list) + data["emoji_list"] += list(list( + "name" = emoji, + )) + + return data + +/datum/ui_module/emojipedia/ui_assets(mob/user) + return list( + get_asset_datum(/datum/asset/spritesheet/emoji), + ) diff --git a/code/modules/error_handler/error_viewer.dm b/code/modules/error_handler/error_viewer.dm index 63dd60a8b806..1585cc6d3d8f 100644 --- a/code/modules/error_handler/error_viewer.dm +++ b/code/modules/error_handler/error_viewer.dm @@ -71,7 +71,7 @@ GLOBAL_DATUM(error_cache, /datum/ErrorViewer/ErrorCache) back_to_param = ";viewruntime_backto=[back_to.UID()]" if(linear) back_to_param += ";viewruntime_linear=1" - return "<A HREF='?_src_=holder;viewruntime=[src.UID()][back_to_param]'>[html_encode(linktext)]</A>" + return "<A href='byond://?_src_=holder;viewruntime=[src.UID()][back_to_param]'>[html_encode(linktext)]</A>" /datum/ErrorViewer/ErrorCache var/list/errors = list() @@ -184,24 +184,24 @@ GLOBAL_DATUM(error_cache, /datum/ErrorViewer/ErrorCache) html += "<div class='runtime'>[html_encode(name)]<br>[desc]</div>" if(srcRef) - html += "<br>src: <a href='?_src_=vars;Vars=[srcUID]'>VV</a>" + html += "<br>src: <a href='byond://?_src_=vars;Vars=[srcUID]'>VV</a>" if(ispath(srcType, /mob)) - html += " <a href='?_src_=holder;adminplayeropts=[srcUID]'>PP</a>" - html += " <a href='?_src_=holder;adminplayerobservefollow=[srcUID]'>Follow</a>" + html += " <a href='byond://?_src_=holder;adminplayeropts=[srcUID]'>PP</a>" + html += " <a href='byond://?_src_=holder;adminplayerobservefollow=[srcUID]'>Follow</a>" if(istype(srcLoc)) - html += "<br>src.loc: <a href='?_src_=vars;Vars=[srcLoc.UID()]'>VV</a>" - html += " <a href='?_src_=holder;adminplayerobservecoodjump=1;X=[srcLoc.x];Y=[srcLoc.y];Z=[srcLoc.z]'>JMP</a>" + html += "<br>src.loc: <a href='byond://?_src_=vars;Vars=[srcLoc.UID()]'>VV</a>" + html += " <a href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[srcLoc.x];Y=[srcLoc.y];Z=[srcLoc.z]'>JMP</a>" if(usrRef) - html += "<br>usr: <a href='?_src_=vars;Vars=[usrUID]'>VV</a>" - html += " <a href='?_src_=holder;adminplayeropts=[usrUID]'>PP</a>" - html += " <a href='?_src_=holder;adminplayerobservefollow=[usrUID]'>Follow</a>" + html += "<br>usr: <a href='byond://?_src_=vars;Vars=[usrUID]'>VV</a>" + html += " <a href='byond://?_src_=holder;adminplayeropts=[usrUID]'>PP</a>" + html += " <a href='byond://?_src_=holder;adminplayerobservefollow=[usrUID]'>Follow</a>" if(istype(usrLoc)) - html += "<br>usr.loc: <a href='?_src_=vars;Vars=[usrLoc.UID()]'>VV</a>" - html += " <a href='?_src_=holder;adminplayerobservecoodjump=1;X=[usrLoc.x];Y=[usrLoc.y];Z=[usrLoc.z]'>JMP</a>" + html += "<br>usr.loc: <a href='byond://?_src_=vars;Vars=[usrLoc.UID()]'>VV</a>" + html += " <a href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[usrLoc.x];Y=[usrLoc.y];Z=[usrLoc.z]'>JMP</a>" browseTo(user, html) diff --git a/code/modules/events/immovable_rod.dm b/code/modules/events/immovable_rod.dm index 9c7169df52b1..62b4840f32b8 100644 --- a/code/modules/events/immovable_rod.dm +++ b/code/modules/events/immovable_rod.dm @@ -40,7 +40,7 @@ In my current plan for it, 'solid' will be defined as anything with density == 1 move_delay = delay if(notify) notify_ghosts("\A [src] is inbound!", - enter_link="<a href=?src=[UID()];follow=1>(Click to follow)</a>", + enter_link="<a href=byond://?src=[UID()];follow=1>(Click to follow)</a>", source = src, action = NOTIFY_FOLLOW) GLOB.poi_list |= src if(end?.z == z_original) diff --git a/code/modules/food_and_drinks/drinks/bottler/bottler.dm b/code/modules/food_and_drinks/drinks/bottler/bottler.dm index 7ab904ef7186..4baba043cf16 100644 --- a/code/modules/food_and_drinks/drinks/bottler/bottler.dm +++ b/code/modules/food_and_drinks/drinks/bottler/bottler.dm @@ -315,15 +315,15 @@ dat += "</tr>" dat += "<tr>" if(containers["glass bottle"]) - dat += "<td><A href='?src=[UID()];dispense=1'>Dispense</a></td>" + dat += "<td><A href='byond://?src=[UID()];dispense=1'>Dispense</a></td>" else dat += "<td>Out of stock</td>" if(containers["plastic bottle"]) - dat += "<td><A href='?src=[UID()];dispense=2'>Dispense</a></td>" + dat += "<td><A href='byond://?src=[UID()];dispense=2'>Dispense</a></td>" else dat += "<td>Out of stock</td>" if(containers["metal can"]) - dat += "<td><A href='?src=[UID()];dispense=3'>Dispense</a></td>" + dat += "<td><A href='byond://?src=[UID()];dispense=3'>Dispense</a></td>" else dat += "<td>Out of stock</td>" dat += "</tr>" @@ -343,7 +343,7 @@ dat += "<td>Tray Empty</td>" if(slots[1] && slots[2] && slots[3]) - dat += "<td><A href='?src=[UID()];process=1'>Process Ingredients</a></td>" + dat += "<td><A href='byond://?src=[UID()];process=1'>Process Ingredients</a></td>" else dat += "<td>Insufficient Ingredients</td>" dat += "</tr>" @@ -351,10 +351,10 @@ dat += "<tr>" for(var/i = 1, i <= slots.len, i++) if(slots[i]) - dat += "<td><A href='?src=[UID()];eject=[i]'>Eject</a></td>" + dat += "<td><A href='byond://?src=[UID()];eject=[i]'>Eject</a></td>" else dat += "<td>N/A</td>" - dat += "<td><A href='?src=[UID()];eject=0'>Eject All</a></td>" + dat += "<td><A href='byond://?src=[UID()];eject=0'>Eject All</a></td>" dat += "</tr>" dat += "</table>" dat += "<hr>" diff --git a/code/modules/food_and_drinks/drinks/drinks/bottle.dm b/code/modules/food_and_drinks/drinks/drinks/bottle.dm index 98416362cac7..2b5cbddde4a5 100644 --- a/code/modules/food_and_drinks/drinks/drinks/bottle.dm +++ b/code/modules/food_and_drinks/drinks/drinks/bottle.dm @@ -381,7 +381,7 @@ active = TRUE var/turf/bombturf = get_turf(src) var/area/bombarea = get_area(bombturf) - message_admins("[key_name(user)][ADMIN_QUE(user,"?")] has primed a [name] for detonation at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[bombturf.x];Y=[bombturf.y];Z=[bombturf.z]'>[bombarea] (JMP)</a>.") + message_admins("[key_name(user)][ADMIN_QUE(user,"?")] has primed a [name] for detonation at <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[bombturf.x];Y=[bombturf.y];Z=[bombturf.z]'>[bombarea] (JMP)</a>.") log_game("[key_name(user)] has primed a [name] for detonation at [bombarea] ([bombturf.x],[bombturf.y],[bombturf.z]).") to_chat(user, "<span class='info'>You light [src] on fire.</span>") diff --git a/code/modules/food_and_drinks/food/foods/meat.dm b/code/modules/food_and_drinks/food/foods/meat.dm index 5cc637ba2d66..783cbdd7f418 100644 --- a/code/modules/food_and_drinks/food/foods/meat.dm +++ b/code/modules/food_and_drinks/food/foods/meat.dm @@ -124,7 +124,7 @@ icon_state = "bearmeat" filling_color = "#DB0000" bitesize = 3 - list_reagents = list("protein" = 12, "morphine" = 5, "vitamin" = 2) + list_reagents = list("protein" = 12, "morphine" = 3, "vitamin" = 2) tastes = list("meat" = 1, "salmon" = 1) /obj/item/food/snacks/monstermeat/xenomeat diff --git a/code/modules/food_and_drinks/food/foods/misc_food.dm b/code/modules/food_and_drinks/food/foods/misc_food.dm index d9189b03aa36..a65b1bcf3fa3 100644 --- a/code/modules/food_and_drinks/food/foods/misc_food.dm +++ b/code/modules/food_and_drinks/food/foods/misc_food.dm @@ -59,7 +59,7 @@ icon_state = "tofurkey" filling_color = "#FFFEE0" bitesize = 3 - list_reagents = list("nutriment" = 12, "ether" = 3) + list_reagents = list("nutriment" = 12) tastes = list("tofu" = 1) goal_difficulty = FOOD_GOAL_NORMAL diff --git a/code/modules/food_and_drinks/food/foods/pizza.dm b/code/modules/food_and_drinks/food/foods/pizza.dm index 5be3ad588fd8..d2bda7925fbc 100644 --- a/code/modules/food_and_drinks/food/foods/pizza.dm +++ b/code/modules/food_and_drinks/food/foods/pizza.dm @@ -485,7 +485,7 @@ timer = new_timer SECONDS icon_state = "pizzabox1" to_chat(user, "<span class='notice'>You set the timer to [timer / 10] before activating the payload and closing [src].") - message_admins("[key_name_admin(usr)] has set a timer on a pizza bomb to [timer/10] seconds at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[loc.x];Y=[loc.y];Z=[loc.z]'>(JMP)</a>.") + message_admins("[key_name_admin(usr)] has set a timer on a pizza bomb to [timer/10] seconds at <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[loc.x];Y=[loc.y];Z=[loc.z]'>(JMP)</a>.") log_game("[key_name(usr)] has set the timer on a pizza bomb to [timer / 10] seconds ([loc.x],[loc.y],[loc.z]).") investigate_log("[key_name(usr)] has armed a [name] for detonation at ([loc.x],[loc.y],[loc.z])", INVESTIGATE_BOMB) add_attack_logs(user, src, "has armed for detonation", ATKLOG_FEW) @@ -502,7 +502,7 @@ if(HAS_TRAIT(src, TRAIT_CMAGGED)) atom_say("Pizza time!") playsound(src, 'sound/voice/pizza_time.ogg', 50, FALSE) ///Sound effect made by BlackDog - message_admins("[key_name_admin(usr)] has triggered a pizza bomb armed by [key_name_admin(armer)] at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[loc.x];Y=[loc.y];Z=[loc.z]'>(JMP)</a>.") + message_admins("[key_name_admin(usr)] has triggered a pizza bomb armed by [key_name_admin(armer)] at <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[loc.x];Y=[loc.y];Z=[loc.z]'>(JMP)</a>.") log_game("[key_name(usr)] has triggered a pizza bomb armed by [key_name(armer)] ([loc.x],[loc.y],[loc.z]).") investigate_log("[key_name(usr)] has opened a [name] for detonation at ([loc.x],[loc.y],[loc.z])", INVESTIGATE_BOMB) add_attack_logs(user, src, "has opened for detonation", ATKLOG_FEW) @@ -517,7 +517,7 @@ return atom_say("Enjoy the pizza!") visible_message("<span class='userdanger'>[src] violently explodes!</span>") - message_admins("A pizza bomb set by [key_name_admin(armer)] and opened by [key_name_admin(opener)] has detonated at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[loc.x];Y=[loc.y];Z=[loc.z]'>(JMP)</a>.") + message_admins("A pizza bomb set by [key_name_admin(armer)] and opened by [key_name_admin(opener)] has detonated at <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[loc.x];Y=[loc.y];Z=[loc.z]'>(JMP)</a>.") log_game("Pizza bomb set by [key_name(armer)] and opened by [key_name(opener)]) detonated at ([loc.x],[loc.y],[loc.z]).") explosion(loc, 1, 2, 4, flame_range = 2) //Identical to a minibomb armer = null diff --git a/code/modules/food_and_drinks/kitchen_machinery/gibber.dm b/code/modules/food_and_drinks/kitchen_machinery/gibber.dm index d4e386b18da3..8ad20838c4e3 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/gibber.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/gibber.dm @@ -219,7 +219,7 @@ /obj/machinery/gibber/proc/startgibbing(mob/user, UserOverride=0) if(!istype(user) && !UserOverride) - log_debug("Some shit just went down with the gibber at X[x], Y[y], Z[z] with an invalid user. (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") + log_debug("Some shit just went down with the gibber at X[x], Y[y], Z[z] with an invalid user. (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") return if(UserOverride) diff --git a/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm b/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm index 437e0658e614..54adeea94e9f 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm @@ -191,15 +191,15 @@ if(reagents.total_volume <= 500) dat += "<HR>" dat += "<strong>Add fillings:</strong><BR>" - dat += "<A href='?src=[UID()];synthcond=1;type=2'>Soda</A><BR>" - dat += "<A href='?src=[UID()];synthcond=1;type=3'>Alcohol</A><BR>" + dat += "<A href='byond://?src=[UID()];synthcond=1;type=2'>Soda</A><BR>" + dat += "<A href='byond://?src=[UID()];synthcond=1;type=3'>Alcohol</A><BR>" dat += "<strong>Finish With:</strong><BR>" - dat += "<A href='?src=[UID()];synthcond=1;type=4'>Cream</A><BR>" - dat += "<A href='?src=[UID()];synthcond=1;type=5'>Vanilla</A><BR>" + dat += "<A href='byond://?src=[UID()];synthcond=1;type=4'>Cream</A><BR>" + dat += "<A href='byond://?src=[UID()];synthcond=1;type=5'>Vanilla</A><BR>" dat += "<strong>Dispense in:</strong><BR>" - dat += "<A href='?src=[UID()];createchoco=1'>Chocolate Cone</A><BR>" - dat += "<A href='?src=[UID()];createcone=1'>Cone</A><BR>" - dat += "<A href='?src=[UID()];createwaffle=1'>Waffle Cone</A><BR>" + dat += "<A href='byond://?src=[UID()];createchoco=1'>Chocolate Cone</A><BR>" + dat += "<A href='byond://?src=[UID()];createcone=1'>Cone</A><BR>" + dat += "<A href='byond://?src=[UID()];createwaffle=1'>Waffle Cone</A><BR>" dat += "</center>" return dat @@ -213,20 +213,20 @@ dat += "The container has:<BR>" for(var/datum/reagent/G in R.reagent_list) dat += "[G.volume] unit(s) of [G.name] | " - dat += "<A href='?src=[UID()];add=[G.id];amount=5'>(5)</A> " - dat += "<A href='?src=[UID()];add=[G.id];amount=10'>(10)</A> " - dat += "<A href='?src=[UID()];add=[G.id];amount=15'>(15)</A> " - dat += "<A href='?src=[UID()];add=[G.id];amount=[G.volume]'>(All)</A>" + dat += "<A href='byond://?src=[UID()];add=[G.id];amount=5'>(5)</A> " + dat += "<A href='byond://?src=[UID()];add=[G.id];amount=10'>(10)</A> " + dat += "<A href='byond://?src=[UID()];add=[G.id];amount=15'>(15)</A> " + dat += "<A href='byond://?src=[UID()];add=[G.id];amount=[G.volume]'>(All)</A>" dat += "<BR>" else if(container == 2) dat += "<BR>The Cream-Master has:<BR>" if(reagents.total_volume) for(var/datum/reagent/N in reagents.reagent_list) dat += "[N.volume] unit(s) of [N.name] | " - dat += "<A href='?src=[UID()];remove=[N.id];amount=5'>(5)</A> " - dat += "<A href='?src=[UID()];remove=[N.id];amount=10'>(10)</A> " - dat += "<A href='?src=[UID()];remove=[N.id];amount=15'>(15)</A> " - dat += "<A href='?src=[UID()];remove=[N.id];amount=[N.volume]'>(All)</A>" + dat += "<A href='byond://?src=[UID()];remove=[N.id];amount=5'>(5)</A> " + dat += "<A href='byond://?src=[UID()];remove=[N.id];amount=10'>(10)</A> " + dat += "<A href='byond://?src=[UID()];remove=[N.id];amount=15'>(15)</A> " + dat += "<A href='byond://?src=[UID()];remove=[N.id];amount=[N.volume]'>(All)</A>" dat += "<BR>" else dat += "<BR>SOMEONE ENTERED AN INVALID REAGENT CONTAINER; QUICK, BUG REPORT!<BR>" @@ -241,11 +241,11 @@ dat += "No container is loaded into the machine, external transfer offline.<BR>" dat += show_reagents(2) dat += show_toppings() - dat += "<A href='?src=[UID()];close=1'>Close</A>" + dat += "<A href='byond://?src=[UID()];close=1'>Close</A>" else var/obj/item/reagent_containers/glass/A = beaker var/datum/reagents/R = A.reagents - dat += "<A href='?src=[UID()];eject=1'>Eject container and end transfer.</A><BR>" + dat += "<A href='byond://?src=[UID()];eject=1'>Eject container and end transfer.</A><BR>" if(!R.total_volume) dat += "Container is empty.<BR><HR>" else diff --git a/code/modules/food_and_drinks/recipes/recipes_grill.dm b/code/modules/food_and_drinks/recipes/recipes_grill.dm index a126d5964d2f..e0a1569f330e 100644 --- a/code/modules/food_and_drinks/recipes/recipes_grill.dm +++ b/code/modules/food_and_drinks/recipes/recipes_grill.dm @@ -92,6 +92,7 @@ /datum/recipe/grill/fishfingers/make_food(obj/container) var/obj/item/food/snacks/fishfingers/being_cooked = ..() being_cooked.reagents.del_reagent("egg") + being_cooked.reagents.del_reagent("carpotoxin") return being_cooked /datum/recipe/grill/cutlet @@ -159,6 +160,11 @@ ) result = /obj/item/food/snacks/picoss_kabob +/datum/recipe/grill/picoss_kabob/make_food(obj/container) + var/obj/item/food/snacks/picoss_kabob/being_cooked = ..() + being_cooked.reagents.del_reagent("carpotoxin") + return being_cooked + /datum/recipe/grill/sushi_Tamago reagents = list("sake" = 5) items = list( diff --git a/code/modules/food_and_drinks/recipes/recipes_microwave.dm b/code/modules/food_and_drinks/recipes/recipes_microwave.dm index d7001eecb0e8..ccbb8df2ea31 100644 --- a/code/modules/food_and_drinks/recipes/recipes_microwave.dm +++ b/code/modules/food_and_drinks/recipes/recipes_microwave.dm @@ -126,6 +126,11 @@ ) result = /obj/item/food/snacks/fishburger +/datum/recipe/microwave/fishburger/make_food(obj/container) + var/obj/item/food/snacks/fishburger/being_cooked = ..() + being_cooked.reagents.del_reagent("carpotoxin") + return being_cooked + /datum/recipe/microwave/tofuburger items = list( /obj/item/food/snacks/bun, @@ -300,6 +305,11 @@ ) result = /obj/item/food/snacks/cubancarp +/datum/recipe/microwave/cubancarp/make_food(obj/container) + var/obj/item/food/snacks/cubancarp/being_cooked = ..() + being_cooked.reagents.del_reagent("carpotoxin") + return being_cooked + /datum/recipe/microwave/popcorn items = list( /obj/item/food/snacks/grown/corn @@ -425,6 +435,11 @@ ) result = /obj/item/food/snacks/fishandchips +/datum/recipe/microwave/fishandchips/make_food(obj/container) + var/obj/item/food/snacks/fishandchips/being_cooked = ..() + being_cooked.reagents.del_reagent("carpotoxin") + return being_cooked + /datum/recipe/microwave/sandwich items = list( /obj/item/food/snacks/meatsteak, @@ -1396,6 +1411,11 @@ ) result = /obj/item/food/snacks/boiledspiderleg +/datum/recipe/microwave/boiledspiderleg/make_food(obj/container) + var/obj/item/food/snacks/boiledspiderleg/being_cooked = ..() + being_cooked.reagents.del_reagent("toxin") + return being_cooked + /datum/recipe/microwave/spidereggsham reagents = list("sodiumchloride" = 1) items = list( @@ -1404,6 +1424,11 @@ ) result = /obj/item/food/snacks/spidereggsham +/datum/recipe/microwave/spidereggsham/make_food(obj/container) + var/obj/item/food/snacks/spidereggsham/being_cooked = ..() + being_cooked.reagents.del_reagent("toxin") + return being_cooked + /datum/recipe/microwave/sashimi reagents = list("soysauce" = 5) items = list( @@ -1412,6 +1437,12 @@ ) result = /obj/item/food/snacks/sashimi +/datum/recipe/microwave/sashimi/make_food(obj/container) + var/obj/item/food/snacks/sashimi/being_cooked = ..() + being_cooked.reagents.del_reagent("carpotoxin") + being_cooked.reagents.del_reagent("toxin") + return being_cooked + /datum/recipe/microwave/mashedtaters reagents = list("gravy" = 5) items = list( diff --git a/code/modules/games/cards.dm b/code/modules/games/cards.dm index ad5e29ab1602..59c2ad084bbf 100644 --- a/code/modules/games/cards.dm +++ b/code/modules/games/cards.dm @@ -50,10 +50,16 @@ /obj/item/deck/Initialize(mapload) . = ..() + build_decks() + update_icon(UPDATE_ICON_STATE) + +/obj/item/deck/proc/build_decks() + if(length(cards)) + // prevent building decks more than once + return for(var/deck in 1 to deck_size) build_deck() deck_total = length(cards) - update_icon(UPDATE_ICON_STATE) /obj/item/deck/proc/build_deck() return @@ -227,8 +233,10 @@ var/mob/living/user = usr if(cooldown < world.time - 1 SECONDS) cards = shuffle(cards) - user.visible_message("<span class='notice'>[user] shuffles [src].</span>") - playsound(user, 'sound/items/cardshuffle.ogg', 50, 1) + + if(user) + user.visible_message("<span class='notice'>[user] shuffles [src].</span>") + playsound(user, 'sound/items/cardshuffle.ogg', 50, TRUE) cooldown = world.time @@ -349,9 +357,9 @@ /obj/item/cardhand/interact(mob/user) var/dat = "You have:<br>" for(var/t in cards) - dat += "<a href='?src=[UID()];pick=[t]'>The [t]</a><br>" + dat += "<a href='byond://?src=[UID()];pick=[t]'>The [t]</a><br>" dat += "Which card will you remove next?<br>" - dat += "<a href='?src=[UID()];pick=Turn'>Turn the hand over</a>" + dat += "<a href='byond://?src=[UID()];pick=Turn'>Turn the hand over</a>" var/datum/browser/popup = new(user, "cardhand", "Hand of Cards", 400, 240) popup.set_content(dat) popup.open() diff --git a/code/modules/hydroponics/biogenerator.dm b/code/modules/hydroponics/biogenerator.dm index 24a936cbb3c1..ef4e15963d4a 100644 --- a/code/modules/hydroponics/biogenerator.dm +++ b/code/modules/hydroponics/biogenerator.dm @@ -29,6 +29,13 @@ var/list/product_list = list() /// The [/datum/design]'s categories which can be produced by this machine and can be uploaded via a disk. var/static/list/categories = list("Food", "Botany Chemicals", "Organic Materials", "Leather and Cloth") + var/static/list/acceptable_items = typecacheof(list( + /obj/item/seeds, + /obj/item/unsorted_seeds, + /obj/item/food/snacks/grown, + /obj/item/grown, + /obj/item/food/snacks/grown/ash_flora, + /obj/item/food/snacks/honeycomb)) /obj/machinery/biogenerator/Initialize(mapload) . = ..() @@ -127,11 +134,12 @@ return var/obj/item/storage/bag/plants/PB = O - for(var/obj/item/food/snacks/grown/G in PB.contents) + for(var/obj/item/P in PB.contents) + // No need to filter here, because plant bags should have the same list of acceptable items we do. if(length(stored_plants) >= max_storable_plants) break - PB.remove_from_storage(G, src) - stored_plants += G + PB.remove_from_storage(P, src) + stored_plants += P if(length(stored_plants) < max_storable_plants) to_chat(user, "<span class='info'>You empty [PB] into [src].</span>") @@ -141,7 +149,7 @@ SStgui.update_uis(src) return TRUE - else if(istype(O, /obj/item/food/snacks/grown)) + else if(is_type_in_typecache(O, acceptable_items)) if(length(stored_plants) >= max_storable_plants) to_chat(user, "<span class='warning'>[src] can't hold any more plants!</span>") return @@ -266,15 +274,17 @@ update_icon(UPDATE_ICON_STATE) var/plants_processed = length(stored_plants) + var/new_biomass = 0 for(var/obj/plant as anything in stored_plants) - var/plant_biomass = plant.reagents.get_reagent_amount("nutriment") + plant.reagents.get_reagent_amount("plantmatter") - biomass += max(plant_biomass, 0.1) * 10 * productivity + var/plant_biomass = plant.reagents?.get_reagent_amount("nutriment") + plant.reagents?.get_reagent_amount("plantmatter") + new_biomass += max(plant_biomass, 0.1) qdel(plant) + biomass += new_biomass * 10 * productivity stored_plants.Cut() - playsound(loc, 'sound/machines/blender.ogg', 50, 1) + playsound(loc, 'sound/machines/blender.ogg', 50, TRUE) use_power(plants_processed * 150) - addtimer(CALLBACK(src, PROC_REF(end_processing)), (plants_processed * 5) / productivity) + addtimer(CALLBACK(src, PROC_REF(end_processing)), min(20 SECONDS, new_biomass)) /obj/machinery/biogenerator/proc/end_processing() processing = FALSE @@ -340,7 +350,7 @@ for(var/R in D.make_reagents) container.reagents.add_reagent(R, D.make_reagents[R] * amount) - // Creating all other items, such as monkey cubes or nutriment bottles. + // Creating all other items, such as monkey cubes or nutrient bottles. else if(!check_cost(D, amount)) return diff --git a/code/modules/hydroponics/gene_modder.dm b/code/modules/hydroponics/gene_modder.dm index 7d10426d9ed5..2965904de884 100644 --- a/code/modules/hydroponics/gene_modder.dm +++ b/code/modules/hydroponics/gene_modder.dm @@ -21,6 +21,7 @@ var/max_endurance = 10 // IMPT: ALSO AFFECTS LIFESPAN var/min_weed_chance = 67 var/min_weed_rate = 10 + var/seeds_for_bulk_core = 5 /obj/machinery/plantgenes/Initialize(mapload) . = ..() @@ -73,14 +74,32 @@ min_weed_rate = FLOOR(10-weed_rate_mod, 1) // 7,5,2,0 Clamps at 0 and 10 You want this low min_weed_chance = 67-(ML.rating*16) // 48,35,19,3 Clamps at 0 and 67 You want this low + var/total_rating = 0 + for(var/obj/item/stock_parts/S in component_parts) + total_rating += S.rating + + switch(clamp(total_rating, 1, 12)) + if(1 to 3) + seeds_for_bulk_core = 5 + if(4 to 6) + seeds_for_bulk_core = 4 + if(7 to 9) + seeds_for_bulk_core = 3 + if(10 to 11) + seeds_for_bulk_core = 2 + else + seeds_for_bulk_core = 1 + for(var/obj/item/circuitboard/plantgenes/vaultcheck in component_parts) if(istype(vaultcheck, /obj/item/circuitboard/plantgenes/vault)) // TRAIT_DUMB BOTANY TUTS + total_rating = 12 max_potency = 100 max_yield = 10 min_production = 1 max_endurance = 100 min_weed_chance = 0 min_weed_rate = 0 + seeds_for_bulk_core = 1 /obj/machinery/plantgenes/update_icon_state() if((stat & (BROKEN|NOPOWER))) @@ -108,6 +127,9 @@ if(istype(I, /obj/item/seeds)) add_seed(I, user) + else if(istype(I, /obj/item/unsorted_seeds)) + to_chat(user, "<span class='warning'>You need to sort [I] first!</span>") + return ..() else if(istype(I, /obj/item/disk/plantgene)) add_disk(I, user) else @@ -167,8 +189,12 @@ data["seed"] = list() if(seed) + var/icon/base64icon = GLOB.seeds_cached_base64_icons["[initial(seed.icon)][initial(seed.icon_state)]"] + if(!base64icon) + base64icon = icon2base64(icon(initial(seed.icon), initial(seed.icon_state), SOUTH, 1)) + GLOB.seeds_cached_base64_icons["[initial(seed.icon)][initial(seed.icon_state)]"] = base64icon data["seed"] = list( - "image" = "[icon2base64(icon(initial(seed.icon), initial(seed.icon_state), SOUTH, 1))]", + "image" = "[base64icon]", "name" = seed.name, "variant" = seed.variant ) @@ -201,9 +227,7 @@ data["disk"] = list() if(disk) - var/disk_name = "Empty Disk" - if(disk.gene) - disk_name = disk.gene.get_name() + var/disk_name = disk.ui_name if(disk.read_only) disk_name = "[disk_name] (Read Only)" var/can_insert = FALSE @@ -213,7 +237,8 @@ "name" = disk_name, "can_insert" = can_insert, "can_extract" = !disk.read_only, - "is_core" = istype(disk?.gene, /datum/plant_gene/core) + "is_core" = istype(disk?.gene, /datum/plant_gene/core), + "is_bulk_core" = disk?.is_bulk_core && (disk.seeds_needed <= disk.seeds_scanned) ) data["modal"] = ui_modal_data(src) @@ -262,12 +287,22 @@ seed.variant_prompt(user, src) // uses the default byond prompt, but it works + if("bulk_extract_core") + var/dat = "Are you sure you want to extract all core genes from the [seed]? The sample will be destroyed in the process!" + var/prev_seeds = 0 + if(disk.is_bulk_core && disk.core_matches(seed)) + prev_seeds = disk.seeds_scanned + if(seeds_for_bulk_core > prev_seeds + 1) + var/remaining = seeds_for_bulk_core - prev_seeds - 1 + dat += " This device needs [seeds_for_bulk_core] samples to produce a usable core gene disk. You will need [remaining] more sample[ remaining > 1 ? "s" : ""] with identical core genes." + + ui_modal_boolean(src, action, dat, yes_text = "Extract", no_text = "Cancel", delegate = PROC_REF(bulk_extract_core)) + if("extract") var/dat = "Are you sure you want to extract [target.get_name()] gene from the [seed]? The sample will be destroyed in process!" if(istype(target, /datum/plant_gene/core)) var/datum/plant_gene/core/core_gene = target var/genemod_var = core_gene.get_genemod_variable(src) // polymorphism my beloved - if((core_gene.use_max && core_gene.value < genemod_var) || (!core_gene.use_max && core_gene.value > genemod_var)) var/gene_name = lowertext(core_gene.name) dat += " This device's extraction capabilities are currently limited to [genemod_var] [gene_name]. \ @@ -275,6 +310,9 @@ ui_modal_boolean(src, action, dat, yes_text = "Extract", no_text = "Cancel", delegate = PROC_REF(gene_extract)) + if("bulk_replace_core") + ui_modal_boolean(src, action, "Are you sure you want to replace ALL core genes of the [seed]?" , yes_text = "Replace", no_text = "Cancel", delegate = PROC_REF(bulk_replace_core)) + if("replace") ui_modal_boolean(src, action, "Are you sure you want to replace [target.get_name()] gene with [disk.gene.get_name()]?", yes_text = "Replace", no_text = "Cancel", delegate = PROC_REF(gene_replace)) @@ -282,7 +320,7 @@ ui_modal_boolean(src, action, "Are you sure you want to remove [target.get_name()] gene from the [seed]" , yes_text = "Remove", no_text = "Cancel", delegate = PROC_REF(gene_remove)) if("insert") - if(!istype(disk.gene, /datum/plant_gene/core) && disk.gene.can_add(seed)) + if(!istype(disk.gene, /datum/plant_gene/core) && !disk.is_bulk_core && disk.gene.can_add(seed)) seed.genes += disk.gene.Copy() if(istype(disk.gene, /datum/plant_gene/reagent)) seed.reagents_from_genes() @@ -304,6 +342,7 @@ /obj/machinery/plantgenes/proc/gene_extract() if(!disk || disk.read_only) return + disk.is_bulk_core = FALSE disk.gene = target.Copy() if(istype(disk.gene, /datum/plant_gene/core)) var/datum/plant_gene/core/core_gene = disk.gene @@ -320,7 +359,7 @@ target = null /obj/machinery/plantgenes/proc/gene_replace() - if(!disk?.gene) + if(!disk?.gene || disk.is_bulk_core) return if(!istype(target, /datum/plant_gene/core)) return @@ -334,6 +373,43 @@ update_genes() target = null +/obj/machinery/plantgenes/proc/bulk_extract_core() + if(!disk || disk.read_only) + return + disk.seeds_needed = seeds_for_bulk_core + if(disk.core_matches(seed)) + disk.seeds_scanned += 1 + else + disk.seeds_scanned = 1 + disk.is_bulk_core = TRUE + disk.gene = null + disk.core_genes = list() + for(var/datum/plant_gene/core/gene in core_genes) + var/datum/plant_gene/core/C = gene.Copy() + disk.core_genes += C + + disk.update_name() + QDEL_NULL(seed) + update_icon(UPDATE_OVERLAYS) + update_genes() + target = null + +/obj/machinery/plantgenes/proc/bulk_replace_core() + if(!disk?.is_bulk_core) + return + if(disk.seeds_scanned < disk.seeds_needed) + return + for(var/datum/plant_gene/gene in seed.genes) + if(istype(gene, /datum/plant_gene/core)) + seed.genes -= gene + for(var/datum/plant_gene/core/gene in disk.core_genes) + var/datum/plant_gene/core/C = gene.Copy() + seed.genes += C + C.apply_stat(seed) + repaint_seed() + update_genes() + target = null + /obj/machinery/plantgenes/proc/insert_seed(obj/item/seeds/S) if(!istype(S) || seed) return @@ -382,9 +458,18 @@ desc = "A disk for storing plant genetic data." icon_state = "datadisk_hydro" materials = list(MAT_METAL=30, MAT_GLASS=10) - var/datum/plant_gene/gene + var/ui_name = "Empty Disk" + var/is_bulk_core = FALSE var/read_only = 0 //Well, it's still a floppy disk + // For single genes + var/datum/plant_gene/gene + + // For bulk core genes + var/list/core_genes = list() + var/seeds_scanned = 0 + var/seeds_needed = 5 + /obj/item/disk/plantgene/New() ..() update_icon(UPDATE_OVERLAYS) @@ -402,11 +487,41 @@ . = ..() if(HAS_TRAIT(src, TRAIT_CMAGGED)) name = "nuclear authentication disk" + ui_name = "nuclear authentication disk?" return - if(gene) - name = "[gene.get_name()] (Plant Data Disk)" + if(!is_bulk_core && gene) + name = "[gene.get_name()] (plant data disk)" + ui_name = "[gene.get_name()]" + else if(is_bulk_core) + name = "" + if(seeds_scanned < seeds_needed) + name += "[round(seeds_scanned/seeds_needed*100,1)]% of " + name += "Core gene set " + ui_name = "Core " + for(var/i in 1 to length(core_genes)) + if(i > 1) + name += "/" + ui_name += "/" + var/datum/plant_gene/core/core_gene = core_genes[i] + name += "[core_gene.value]" + ui_name += "[core_gene.value]" + + name += " (plant data disk)" + + if(seeds_scanned < seeds_needed) + ui_name += " ([round(seeds_scanned / seeds_needed * 100, 1)]%)" else name = "plant data disk" + ui_name = "Empty Disk" + +/obj/item/disk/plantgene/proc/core_matches(obj/item/seeds/seed) + if(!is_bulk_core) + return FALSE + for(var/datum/plant_gene/core/gene in core_genes) + var/datum/plant_gene/core/seed_gene = seed.get_gene(gene.type) + if(gene.value != seed_gene.value) + return FALSE + return TRUE /obj/item/disk/plantgene/update_desc() . = ..() diff --git a/code/modules/hydroponics/grown.dm b/code/modules/hydroponics/grown.dm index eb3b7576058e..ffa0bb3e4c06 100644 --- a/code/modules/hydroponics/grown.dm +++ b/code/modules/hydroponics/grown.dm @@ -6,7 +6,10 @@ // Base type. Subtypes are found in /grown dir. /obj/item/food/snacks/grown icon = 'icons/obj/hydroponics/harvest.dmi' - var/obj/item/seeds/seed = null // type path, gets converted to item on New(). It's safe to assume it's always a seed item. + /// The seed of this plant. Starts as a type path, gets converted to an item on New() + var/obj/item/seeds/seed = null + /// The unsorted seed of this plant, if any. Used by the seed extractor. + var/obj/item/unsorted_seeds/unsorted_seed = null var/plantname = "" var/bitesize_mod = 0 // If set, bitesize = 1 + round(reagents.total_volume / bitesize_mod) var/splat_type = /obj/effect/decal/cleanable/plant_smudge @@ -18,17 +21,20 @@ resistance_flags = FLAMMABLE origin_tech = "biotech=1" -/obj/item/food/snacks/grown/Initialize(mapload, obj/item/seeds/new_seed = null) +/obj/item/food/snacks/grown/Initialize(mapload, obj/new_seed = null) . = ..() if(!tastes) tastes = list("[name]" = 1) - if(new_seed) - seed = new_seed.Copy() - else if(ispath(seed)) - // This is for adminspawn or map-placed growns. They get the default stats of their seed type. - seed = new seed() - seed.adjust_potency(50-seed.potency) + if(istype(new_seed, /obj/item/seeds)) + var/obj/item/seeds/S = new_seed + seed = S.Copy() + else if(istype(new_seed, /obj/item/unsorted_seeds)) + var/obj/item/unsorted_seeds/S = new_seed + unsorted_seed = S.Copy() + seed = S.seed_data.original_seed.Copy() + else if(seed) + seed = new seed pixel_x = rand(-5, 5) pixel_y = rand(-5, 5) @@ -92,19 +98,7 @@ return ..() if(istype(O, /obj/item/plant_analyzer)) - var/msg = "<span class='info'>This is \a <span class='name'>[src].</span>\n" - if(seed) - msg += seed.get_analyzer_text() - var/reag_txt = "" - if(seed) - for(var/reagent_id in seed.reagents_add) - var/datum/reagent/R = GLOB.chemical_reagents_list[reagent_id] - var/amt = reagents.get_reagent_amount(reagent_id) - reag_txt += "\n<span class='info'>- [R.name]: [amt]</span>" - - if(reag_txt) - msg += reag_txt - to_chat(user, msg) + send_plant_details(user) else if(seed) for(var/datum/plant_gene/trait/T in seed.genes) @@ -217,3 +211,24 @@ if(seed.get_gene(/datum/plant_gene/trait/glow/shadow)) return set_light(0) + +/obj/item/food/snacks/grown/proc/send_plant_details(mob/user) + var/msg = "<span class='info'>This is \a </span><span class='name'>[src].</span>\n" + if(seed) + msg += seed.get_analyzer_text() + var/reag_txt = "" + if(seed) + for(var/reagent_id in seed.reagents_add) + var/datum/reagent/R = GLOB.chemical_reagents_list[reagent_id] + var/amt = reagents.get_reagent_amount(reagent_id) + reag_txt += "\n<span class='info'>- [R.name]: [amt]</span>" + + if(reag_txt) + msg += reag_txt + to_chat(user, msg) + +/obj/item/food/snacks/grown/attack_ghost(mob/dead/observer/user) + if(!istype(user)) // Make sure user is actually an observer. Revenents also use attack_ghost, but do not have the toggle plant analyzer var. + return + if(user.plant_analyzer) + send_plant_details(user) diff --git a/code/modules/hydroponics/grown/cereals.dm b/code/modules/hydroponics/grown/cereals.dm index 3ed266947518..e5342e999858 100644 --- a/code/modules/hydroponics/grown/cereals.dm +++ b/code/modules/hydroponics/grown/cereals.dm @@ -8,7 +8,7 @@ product = /obj/item/food/snacks/grown/wheat production = 1 yield = 4 - potency = 15 + potency = 30 icon_dead = "wheat-dead" mutatelist = list(/obj/item/seeds/wheat/oat, /obj/item/seeds/wheat/meat) reagents_add = list("plantmatter" = 0.04) diff --git a/code/modules/hydroponics/grown/kudzu.dm b/code/modules/hydroponics/grown/kudzu.dm index 1f08ff6b3473..415e06f5dc99 100644 --- a/code/modules/hydroponics/grown/kudzu.dm +++ b/code/modules/hydroponics/grown/kudzu.dm @@ -30,7 +30,7 @@ if(isspaceturf(user.loc)) return var/turf/T = get_turf(src) - message_admins("Kudzu planted by [key_name_admin(user)]([ADMIN_QUE(user,"?")]) ([ADMIN_FLW(user,"FLW")]) at ([T.x],[T.y],[T.z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>(JMP)</a>)",0,1) + message_admins("Kudzu planted by [key_name_admin(user)]([ADMIN_QUE(user,"?")]) ([ADMIN_FLW(user,"FLW")]) at ([T.x],[T.y],[T.z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>(JMP)</a>)",0,1) investigate_log("was planted by [key_name(user)] at ([T.x],[T.y],[T.z])","kudzu") new /obj/structure/spacevine_controller(user.loc, mutations, potency, production) user.drop_item() diff --git a/code/modules/hydroponics/grown/misc_seeds.dm b/code/modules/hydroponics/grown/misc_seeds.dm index fc7c90e4fc92..459a81d3a2e5 100644 --- a/code/modules/hydroponics/grown/misc_seeds.dm +++ b/code/modules/hydroponics/grown/misc_seeds.dm @@ -17,15 +17,13 @@ /obj/item/seeds/starthistle/harvest(mob/user) var/obj/machinery/hydroponics/parent = loc - var/seed_count = yield - if(prob(getYield() * 20)) - seed_count++ - var/output_loc = parent.Adjacent(user) ? user.loc : parent.loc - for(var/i in 1 to seed_count) - var/obj/item/seeds/starthistle/harvestseeds = Copy() - harvestseeds.forceMove(output_loc) + var/output_loc = parent.Adjacent(user) ? user.loc : parent.loc + var/seed_count = getYield() + for(var/i in 1 to seed_count) + var/obj/item/seeds/starthistle/harvestseeds = Copy() + harvestseeds.forceMove(output_loc) - parent.update_tray() + parent.update_tray(user, seed_count) // Lettuce /obj/item/seeds/lettuce @@ -196,7 +194,7 @@ /obj/item/food/snacks/grown/cherry_bomb/attack_self(mob/living/user) var/area/A = get_area(user) user.visible_message("<span class='warning'>[user] plucks the stem from [src]!</span>", "<span class='userdanger'>You pluck the stem from [src], which begins to hiss loudly!</span>") - message_admins("[user] ([user.key ? user.key : "no key"]) primed a cherry bomb for detonation at [A] ([user.x], [user.y], [user.z]) <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[user.x];Y=[user.y];Z=[user.z]'>(JMP)</a>") + message_admins("[user] ([user.key ? user.key : "no key"]) primed a cherry bomb for detonation at [A] ([user.x], [user.y], [user.z]) <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[user.x];Y=[user.y];Z=[user.z]'>(JMP)</a>") log_game("[user] ([user.key ? user.key : "no key"]) primed a cherry bomb for detonation at [A] ([user.x],[user.y],[user.z]).") if(iscarbon(user)) var/mob/living/carbon/C = user diff --git a/code/modules/hydroponics/grown/replicapod.dm b/code/modules/hydroponics/grown/replicapod.dm index c1e4a337c1dc..68a5da7883c4 100644 --- a/code/modules/hydroponics/grown/replicapod.dm +++ b/code/modules/hydroponics/grown/replicapod.dm @@ -103,4 +103,4 @@ var/obj/item/seeds/replicapod/harvestseeds = src.Copy() harvestseeds.forceMove(output_loc) - parent.update_tray() + parent.update_tray(user, 1) diff --git a/code/modules/hydroponics/growninedible.dm b/code/modules/hydroponics/growninedible.dm index 820cf7420c88..28ba82a3be78 100644 --- a/code/modules/hydroponics/growninedible.dm +++ b/code/modules/hydroponics/growninedible.dm @@ -7,18 +7,24 @@ name = "grown_weapon" icon = 'icons/obj/hydroponics/harvest.dmi' resistance_flags = FLAMMABLE - var/obj/item/seeds/seed // type path, gets converted to item on New(). It's safe to assume it's always a seed item. + /// The seed of this plant. Starts as a type path, gets converted to an item on New() + var/obj/item/seeds/seed = null + /// The unsorted seed of this plant, if any. Used by the seed extractor. + var/obj/item/unsorted_seeds/unsorted_seed = null /obj/item/grown/Initialize(mapload, obj/item/seeds/new_seed) . = ..() create_reagents(50) - if(new_seed) - seed = new_seed.Copy() - else if(ispath(seed)) - // This is for adminspawn or map-placed growns. They get the default stats of their seed type. - seed = new seed() - seed.adjust_potency(50-seed.potency) + if(istype(new_seed, /obj/item/seeds)) + var/obj/item/seeds/S = new_seed + seed = S.Copy() + else if(istype(new_seed, /obj/item/unsorted_seeds)) + var/obj/item/unsorted_seeds/S = new_seed + unsorted_seed = S.Copy() + seed = S.seed_data.original_seed.Copy() + else if(seed) + seed = new seed pixel_x = rand(-5, 5) pixel_y = rand(-5, 5) @@ -39,12 +45,7 @@ /obj/item/grown/attackby(obj/item/O, mob/user, params) ..() if(istype(O, /obj/item/plant_analyzer)) - var/msg = "<span class='info'>This is \a <span class='name'>[src]</span>\n" - if(seed) - msg += seed.get_analyzer_text() - msg += "</span>" - to_chat(usr, msg) - return + send_plant_details(user) /obj/item/grown/proc/add_juice() if(reagents) @@ -69,3 +70,17 @@ if(seed.get_gene(/datum/plant_gene/trait/glow/shadow)) return set_light(0) + +/obj/item/grown/proc/send_plant_details(mob/user) + var/msg = "<span class='info'>This is \a </span><span class='name'>[src]</span>\n" + if(seed) + msg += seed.get_analyzer_text() + msg += "</span>" + to_chat(usr, msg) + return + +/obj/item/grown/attack_ghost(mob/dead/observer/user) + if(!istype(user)) // Make sure user is actually an observer. Revenents also use attack_ghost, but do not have the toggle plant analyzer var. + return + if(user.plant_analyzer) + send_plant_details(user) diff --git a/code/modules/hydroponics/hydroitemdefines.dm b/code/modules/hydroponics/hydroitemdefines.dm index bdd766b0d2fd..5b7a1977e654 100644 --- a/code/modules/hydroponics/hydroitemdefines.dm +++ b/code/modules/hydroponics/hydroitemdefines.dm @@ -1,7 +1,7 @@ // Plant analyzer /obj/item/plant_analyzer name = "plant analyzer" - desc = "A scanner used to evaluate a plant's various areas of growth." + desc = "A versatile scanner for analyzing plants, plant produce, and seeds. Can be used on a bag holding unsorted seeds to quickly and thorougly sort them into usable packs." icon = 'icons/obj/device.dmi' icon_state = "hydro" item_state = "analyzer" @@ -10,6 +10,24 @@ origin_tech = "magnets=2;biotech=2" materials = list(MAT_METAL = 210, MAT_GLASS = 40) +/obj/item/plant_analyzer/pre_attack(atom/target, mob/user, params) + if(!istype(target, /obj/item)) + return ..() + + var/found_unsorted_seeds = FALSE + var/depth = 0 + for(var/obj/item/unsorted_seeds/unsorted in target) + found_unsorted_seeds = TRUE + if(!use_tool(target, user, 0.5 SECONDS)) + break + depth++ + unsorted.sort(depth) + + if(found_unsorted_seeds) + return FALSE + return ..() + + // ************************************* // Hydroponics Tools // ************************************* @@ -288,24 +306,30 @@ /obj/item/reagent_containers/glass/bottle/nutrient/ez name = "jug of E-Z-Nutrient" - desc = "Contains a fertilizer that causes mild mutations with each harvest." + desc = "Contains a basic fertilizer with no special traits." icon = 'icons/obj/chemical.dmi' icon_state = "plastic_jug_ez" - list_reagents = list("eznutriment" = 80) + list_reagents = list("eznutrient" = 80) + +/obj/item/reagent_containers/glass/bottle/nutrient/mut + name = "jug of Mutrient" + desc = "Contains a fertilizer that causes mild mutations with each harvest." + icon_state = "plastic_jug_mut" + list_reagents = list("mutrient" = 80) /obj/item/reagent_containers/glass/bottle/nutrient/l4z name = "jug of Left 4 Zed" desc = "Contains a fertilizer that limits plant yields to no more than one and causes significant mutations in plants." icon = 'icons/obj/chemical.dmi' icon_state = "plastic_jug_l4z" - list_reagents = list("left4zednutriment" = 80) + list_reagents = list("left4zednutrient" = 80) /obj/item/reagent_containers/glass/bottle/nutrient/rh name = "jug of Robust Harvest" desc = "Contains a fertilizer that increases the yield of a plant by 30% while causing no mutations." icon = 'icons/obj/chemical.dmi' icon_state = "plastic_jug_rh" - list_reagents = list("robustharvestnutriment" = 80) + list_reagents = list("robustharvestnutrient" = 80) /obj/item/reagent_containers/glass/bottle/nutrient/empty icon = 'icons/obj/chemical.dmi' diff --git a/code/modules/hydroponics/hydroponics_tray.dm b/code/modules/hydroponics/hydroponics_tray.dm index e0c32d738088..c6ef764b2dcc 100644 --- a/code/modules/hydroponics/hydroponics_tray.dm +++ b/code/modules/hydroponics/hydroponics_tray.dm @@ -5,33 +5,75 @@ density = TRUE anchored = TRUE pixel_y = 8 - var/waterlevel = 100 //The amount of water in the tray (max 100) - var/maxwater = 100 //The maximum amount of water in the tray - var/nutrilevel = 10 //The amount of nutrient in the tray (max 10) - var/maxnutri = 10 //The maximum nutrient of water in the tray - var/pestlevel = 0 //The amount of pests in the tray (max 10) - var/weedlevel = 0 //The amount of weeds in the tray (max 10) - var/yieldmod = 1 //Nutriment's effect on yield - var/mutmod = 1 //Nutriment's effect on mutations - var/toxic = 0 //Toxicity in the tray? - var/age = 0 //Current age - var/dead = FALSE //Is it dead? - var/plant_health //Its health - var/lastproduce = 0 //Last time it was harvested - var/lastcycle = 0 //Used for timing of cycles. - var/cycledelay = 200 //About 10 seconds / cycle - var/harvest = FALSE //Ready to harvest? - var/obj/item/seeds/myseed = null //The currently planted seed + /// The amount of water in the tray (max 100) + var/waterlevel = 100 + /// The maximum amount of water in the tray + var/maxwater = 100 + /// The amount of nutrient in the tray (max 10) + var/nutrilevel = 10 + /// The maximum nutrient of water in the tray + var/maxnutri = 10 + /// The amount of pests in the tray (max 10) + var/pestlevel = 0 + /// The amount of weeds in the tray (max 10) + var/weedlevel = 0 + /// Nutrient in use + var/datum/reagent/plantnutrient/nutrient = /datum/reagent/plantnutrient/eznutrient + /// Nutrient's effect on yield + var/yieldmod = 1 + /// The amount of mutagens (UM or radioactives) in the tray. + var/mutagen = 0 + /// The maximum amount of mutagen in the tray. + var/max_mutagen = 15 + /// Has the tray been hit by a mutation beam this harvest? + var/mut_beamed = FALSE + /// Has the tray been hit by a yield-increasing beam this harvest? + var/yield_beamed = FALSE + /// The typepath of the chemical (if any) the tray has been doped with to bias its mutations. + var/datum/reagent/doping_chem = null + /// Toxicity in the tray + var/toxic = 0 + /// Current age + var/age = 0 + /// Is it dead? + var/dead = FALSE + /// Its health + var/plant_health + /// Last time it was harvested + var/lastproduce = 0 + /// Used for timing of cycles. + var/lastcycle = 0 + /// Amount of time per plant cycle + var/cycledelay = 20 SECONDS + /// Ready to harvest? + var/harvest = FALSE + /// The currently planted seed + var/obj/item/seeds/myseed = null var/rating = 1 var/wrenchable = TRUE var/lid_closed = FALSE - var/recent_bee_visit = FALSE //Have we been visited by a bee recently, so bees dont overpollinate one plant - var/using_irrigation = FALSE //If the tray is connected to other trays via irrigation hoses - var/self_sufficiency_req = 20 //Required total dose to make a self-sufficient hydro tray. 1:1 with earthsblood. + /// Have we been visited by a bee recently, so bees dont overpollinate one plant + var/recent_bee_visit = FALSE + /// If the tray is connected to other trays via irrigation hoses + var/using_irrigation = FALSE + /// Required total dose to make a self-sufficient hydro tray. 1:1 with earthsblood. + var/self_sufficiency_req = 20 var/self_sufficiency_progress = 0 - var/self_sustaining = FALSE //If the tray generates nutrients and water on its own + /// If the tray generates nutrients and water on its own + var/self_sustaining = FALSE hud_possible = list (PLANT_NUTRIENT_HUD, PLANT_WATER_HUD, PLANT_STATUS_HUD, PLANT_HEALTH_HUD, PLANT_TOXIN_HUD, PLANT_PEST_HUD, PLANT_WEED_HUD) + /// Maps doping chemicals to their affected stats. + var/static/doping_effects = list( + /datum/reagent/saltpetre = list("potency"), + /datum/reagent/ammonia = list("yield"), + /datum/reagent/diethylamine = list("production speed"), + /datum/reagent/medicine/cryoxadone = list("endurance"), + /datum/reagent/medicine/omnizine = list("lifespan"), + /datum/reagent/medicine/salglu_solution = list("weed rate", "weed count")) + /// What do we call the mutagen tank? + var/mutagen_tank_name = "Mutagen tank" + /obj/machinery/hydroponics/Initialize(mapload) . = ..() var/datum/atom_hud/data/hydroponic/hydro_hud = GLOB.huds[DATA_HUD_HYDROPONIC] @@ -128,9 +170,11 @@ if(!myseed) return ..() if(istype(Proj ,/obj/item/projectile/energy/floramut)) - mutate() + mut_beamed = TRUE + return ..() else if(istype(Proj ,/obj/item/projectile/energy/florayield)) - return myseed.bullet_act(Proj) + yield_beamed = TRUE + return ..() else return ..() @@ -141,6 +185,11 @@ myseed.forceMove(src) if(self_sustaining) + // Always use Earthsblood (which is really just EZ with a fake moustache) for self-sustaining trays. + // Want more mutations or increased yield? Take care of your trays. + yieldmod = 1 + nutrient = /datum/reagent/plantnutrient/eznutrient + adjustNutri(1) adjustWater(rand(3,5)) adjustWeeds(-2) @@ -178,6 +227,12 @@ if(lightAmt < 4) adjustHealth(-2 / rating) +//Weed overtaking//////////////////////////////////////////////////////// + if(weedlevel >= 10 && prob(50)) // At this point the plant is kind of fucked. Weeds can overtake the plant spot. + if(!myseed.get_gene(/datum/plant_gene/trait/plant_type/weed_hardy) && !myseed.get_gene(/datum/plant_gene/trait/plant_type/fungal_metabolism)) // If a normal plant + weedinvasion() + needs_update = 1 + //Water////////////////////////////////////////////////////////////////// // Drink random amount of water adjustWater(-rand(1,6) / rating) @@ -228,7 +283,6 @@ // Harvest code if(age > myseed.production && (age - lastproduce) >= myseed.production && (!harvest && !dead)) - nutrimentMutation() if(myseed && myseed.yield != -1) // Unharvestable shouldn't be harvested harvest = TRUE plant_hud_set_status() @@ -237,40 +291,15 @@ if(prob(5)) // On each tick, there's a 5 percent chance the pest population will increase adjustPests(1 / rating) else + if(weedlevel >= 10 && prob(50)) + weedinvasion() // Weed invasion into empty tray + needs_update = 1 if(waterlevel > 10 && nutrilevel > 0 && prob(10)) // If there's no plant, the percentage chance is 10% adjustWeeds(1 / rating) - - // Weeeeeeeeeeeeeeedddssss - if(weedlevel >= 10 && prob(50)) // At this point the plant is kind of fucked. Weeds can overtake the plant spot. - if(myseed) - if(!myseed.get_gene(/datum/plant_gene/trait/plant_type/weed_hardy) && !myseed.get_gene(/datum/plant_gene/trait/plant_type/fungal_metabolism)) // If a normal plant - weedinvasion() - else - weedinvasion() // Weed invasion into empty tray - needs_update = 1 if(needs_update) update_state() return -/obj/machinery/hydroponics/proc/nutrimentMutation() - if(mutmod == 0) - return - if(mutmod == 1) - if(prob(80)) //80% - mutate() - else if(prob(75)) //15% - hardmutate() - return - if(mutmod == 2) - if(prob(50)) //50% - mutate() - else if(prob(50)) //25% - hardmutate() - else if(prob(50)) //12.5% - mutatespecie() - return - return - /obj/machinery/hydroponics/proc/update_state() //Refreshes the icon and sets the luminosity if(self_sustaining) @@ -371,28 +400,34 @@ /obj/machinery/hydroponics/proc/weedinvasion() // If a weed growth is sufficient, this happens. dead = FALSE var/oldPlantName + var/kudzu = FALSE if(myseed) // In case there's nothing in the tray beforehand + if(istype(myseed, /obj/item/seeds/soya)) + kudzu = TRUE oldPlantName = myseed.plantname QDEL_NULL(myseed) else oldPlantName = "[name]" - switch(rand(1,18)) // randomly pick predominative weed - if(16 to 18) - myseed = new /obj/item/seeds/reishi(src) - if(14 to 15) - myseed = new /obj/item/seeds/nettle(src) - if(12 to 13) - myseed = new /obj/item/seeds/harebell(src) - if(10 to 11) - myseed = new /obj/item/seeds/amanita(src) - if(8 to 9) - myseed = new /obj/item/seeds/chanter(src) - if(6 to 7) - myseed = new /obj/item/seeds/tower(src) - if(4 to 5) - myseed = new /obj/item/seeds/plump(src) - else - myseed = new /obj/item/seeds/starthistle(src) + if(kudzu) + myseed = new /obj/item/seeds/kudzu(src) + else + switch(rand(1,18)) // randomly pick predominative weed + if(16 to 18) + myseed = new /obj/item/seeds/reishi(src) + if(14 to 15) + myseed = new /obj/item/seeds/nettle(src) + if(12 to 13) + myseed = new /obj/item/seeds/harebell(src) + if(10 to 11) + myseed = new /obj/item/seeds/amanita(src) + if(8 to 9) + myseed = new /obj/item/seeds/chanter(src) + if(6 to 7) + myseed = new /obj/item/seeds/tower(src) + if(4 to 5) + myseed = new /obj/item/seeds/plump(src) + else + myseed = new /obj/item/seeds/starthistle(src) age = 0 plant_health = myseed.endurance lastcycle = world.time @@ -400,45 +435,20 @@ adjustWeeds(-10) // Reset adjustPests(-10) // Reset update_state() + mut_beamed = FALSE + yield_beamed = FALSE plant_hud_set_health() plant_hud_set_status() - visible_message("<span class='warning'>The [oldPlantName] is overtaken by some [myseed.plantname]!</span>") - - -/obj/machinery/hydroponics/proc/mutate(lifemut = 2, endmut = 5, productmut = 1, yieldmut = 2, potmut = 25, wrmut = 2, wcmut = 5, traitmut = 0) // Mutates the current seed - if(!myseed) - return - myseed.mutate(lifemut, endmut, productmut, yieldmut, potmut, wrmut, wcmut, traitmut) - -/obj/machinery/hydroponics/proc/hardmutate() - mutate(4, 10, 2, 4, 50, 4, 10, 3) - - -/obj/machinery/hydroponics/proc/mutatespecie() // Mutagent produced a new plant! - if(!myseed || dead) - return - - var/oldPlantName = myseed.plantname - if(myseed.mutatelist.len > 0) - var/mutantseed = pick(myseed.mutatelist) - QDEL_NULL(myseed) - myseed = new mutantseed + if(kudzu) + visible_message("<span class='warning'>The [oldPlantName] cross-breeds with weeds and mutates into [myseed.plantname]!</span>") else - return - - hardmutate() - age = 0 - plant_health = myseed.endurance - lastcycle = world.time - harvest = FALSE - plant_hud_set_health() - plant_hud_set_status() - adjustWeeds(-10) // Reset + visible_message("<span class='warning'>The [oldPlantName] is overtaken by some [myseed.plantname]!</span>") - sleep(5) // Wait a while - update_state() - visible_message("<span class='warning'>[oldPlantName] suddenly mutates into [myseed.plantname]!</span>") +/obj/machinery/hydroponics/proc/get_mutation_level() + return nutrient.mutation_level + mutagen + (mut_beamed ? 5 : 0) +/obj/machinery/hydroponics/proc/get_mutation_focus() + return doping_effects[doping_chem] /obj/machinery/hydroponics/proc/mutateweed() // If the weeds gets the mutagent instead. Mind you, this pretty much destroys the old plant if(weedlevel > 5) @@ -446,11 +456,13 @@ var/newWeed = pick(/obj/item/seeds/liberty, /obj/item/seeds/angel, /obj/item/seeds/nettle/death, /obj/item/seeds/kudzu) myseed = new newWeed dead = FALSE - hardmutate() + myseed.mutate(20) age = 0 plant_health = myseed.endurance lastcycle = world.time harvest = FALSE + mut_beamed = FALSE + yield_beamed = FALSE plant_hud_set_health() plant_hud_set_status() adjustWeeds(-10) // Reset @@ -469,6 +481,8 @@ if(!dead) update_state() dead = TRUE + mut_beamed = FALSE + yield_beamed = FALSE plant_hud_set_health() plant_hud_set_status() @@ -489,32 +503,16 @@ if(myseed) myseed.on_chem_reaction(reagents) //In case seeds have some special interactions with special chems, currently only used by vines - // Requires 5 mutagen to possibly change species.// Poor man's mutagen. - if(reagents.has_reagent("mutagen", 5) || reagents.has_reagent("radium", 10) || reagents.has_reagent("uranium", 10)) - switch(rand(100)) - if(91 to 100) - adjustHealth(-10) - to_chat(user, "<span class='warning'>The plant shrivels and burns.</span>") - if(81 to 90) - mutatespecie() - if(66 to 80) - hardmutate() - if(41 to 65) - mutate() - if(21 to 41) - to_chat(user, "<span class='notice'>The plants don't seem to react...</span>") - if(11 to 20) - mutateweed() - if(1 to 10) - mutatepest(user) - else - to_chat(user, "<span class='notice'>Nothing happens...</span>") - - // 2 or 1 units is enough to change the yield and other stats.// Can change the yield and other stats, but requires more than mutagen - else if(reagents.has_reagent("mutagen", 2) || reagents.has_reagent("radium", 5) || reagents.has_reagent("uranium", 5)) - hardmutate() - else if(reagents.has_reagent("mutagen", 1) || reagents.has_reagent("radium", 2) || reagents.has_reagent("uranium", 2)) - mutate() + // Radioactives and mutagen contribute to the mutation level of the tray. + if(reagents.has_reagent("mutagen") || reagents.has_reagent("radium") || reagents.has_reagent("uranium")) + if(mutagen < max_mutagen) + mutagen += reagents.get_reagent_amount("uranium") + mutagen += reagents.get_reagent_amount("radium") + mutagen += reagents.get_reagent_amount("mutagen") + to_chat(user, "<span class='notice'>You think the plants in [src] will mutate more now.</span>") + mutagen = min(max_mutagen, mutagen) + if(mutagen == max_mutagen) + to_chat(user, "<span class='notice'>That seems like enough mutating chemicals.</span>") // After handling the mutating, we now handle the damage from adding crude radioactives... if(reagents.has_reagent("uranium", 1)) @@ -524,21 +522,26 @@ adjustHealth(-round(reagents.get_reagent_amount("radium") * 1)) adjustToxic(round(reagents.get_reagent_amount("radium") * 3)) // Radium is harsher (OOC: also easier to produce) - // Nutriments - if(reagents.has_reagent("eznutriment", 1)) + // Nutrients + if(reagents.has_reagent("eznutrient", 1)) + nutrient = /datum/reagent/plantnutrient/eznutrient yieldmod = 1 - mutmod = 1 - adjustNutri(round(reagents.get_reagent_amount("eznutriment") * 1)) + adjustNutri(round(reagents.get_reagent_amount("eznutrient") * 1)) - if(reagents.has_reagent("left4zednutriment", 1)) + if(reagents.has_reagent("mutrient", 1)) + nutrient = /datum/reagent/plantnutrient/mut + yieldmod = 1 + adjustNutri(round(reagents.get_reagent_amount("mutrient") * 1)) + + if(reagents.has_reagent("left4zednutrient", 1)) + nutrient = /datum/reagent/plantnutrient/left4zednutrient yieldmod = 0 - mutmod = 2 - adjustNutri(round(reagents.get_reagent_amount("left4zednutriment") * 1)) + adjustNutri(round(reagents.get_reagent_amount("left4zednutrient") * 1)) - if(reagents.has_reagent("robustharvestnutriment", 1)) + if(reagents.has_reagent("robustharvestnutrient", 1)) + nutrient = /datum/reagent/plantnutrient/robustharvestnutrient yieldmod = 1.3 - mutmod = 0 - adjustNutri(round(reagents.get_reagent_amount("robustharvestnutriment") *1 )) + adjustNutri(round(reagents.get_reagent_amount("robustharvestnutrient") *1 )) //Fish Water is both an excellent fertilizer and waters @@ -557,6 +560,9 @@ // Antitoxin binds shit pretty well. So the tox goes significantly down if(reagents.has_reagent("charcoal", 1)) adjustToxic(-round(reagents.get_reagent_amount("charcoal") * 2)) + if(doping_chem) + to_chat(user, "<span class='notice'>The charcoal soaks up and neutralizes \the [initial(doping_chem.name)].</span>") + doping_chem = null // BRO, YOU JUST WENT ON FULL STUPID. if(reagents.has_reagent("toxin", 1)) @@ -657,21 +663,33 @@ if(reagents.has_reagent("cryoxadone", 1)) adjustHealth(round(reagents.get_reagent_amount("cryoxadone") * 3)) adjustToxic(-round(reagents.get_reagent_amount("cryoxadone") * 3)) + replace_doping(/datum/reagent/medicine/cryoxadone, user) - // Ammonia is bad ass. + // Healing + if(reagents.has_reagent("omnizine", 1)) + adjustHealth(round(reagents.get_reagent_amount("omnizine") * 3)) + adjustToxic(-round(reagents.get_reagent_amount("omnizine") * 3)) + replace_doping(/datum/reagent/medicine/omnizine, user) + + // Mild healing + if(reagents.has_reagent("salglu_solution", 1)) + adjustHealth(round(reagents.get_reagent_amount("salglu_solution") * 0.1)) + adjustToxic(-round(reagents.get_reagent_amount("salglu_solution") * 0.1)) + replace_doping(/datum/reagent/medicine/salglu_solution, user) + + // Ammonia heals and feeds plants if(reagents.has_reagent("ammonia", 1)) adjustHealth(round(reagents.get_reagent_amount("ammonia") * 0.5)) adjustNutri(round(reagents.get_reagent_amount("ammonia") * 1)) - if(myseed) - myseed.adjust_yield(round(reagents.get_reagent_amount("ammonia") * 0.01)) + replace_doping(/datum/reagent/ammonia, user) - // Saltpetre is used for gardening IRL, to simplify highly, it speeds up growth and strengthens plants + // Saltpetre is used for gardening IRL, but for us, it's just another + // way to heal plants if(reagents.has_reagent("saltpetre", 1)) var/salt = reagents.get_reagent_amount("saltpetre") adjustHealth(round(salt * 0.25)) - if(myseed) - myseed.adjust_production(-round(salt/100)-prob(salt%100)) - myseed.adjust_potency(round(salt*0.50)) + replace_doping(/datum/reagent/saltpetre, user) + // Ash is also used IRL in gardening, as a fertilizer enhancer and weed killer if(reagents.has_reagent("ash", 1)) adjustHealth(round(reagents.get_reagent_amount("ash") * 0.25)) @@ -682,9 +700,8 @@ if(reagents.has_reagent("diethylamine", 1)) adjustHealth(round(reagents.get_reagent_amount("diethylamine") * 1)) adjustNutri(round(reagents.get_reagent_amount("diethylamine") * 2)) - if(myseed) - myseed.adjust_yield(round(reagents.get_reagent_amount("diethylamine") * 0.02)) adjustPests(-rand(1,2)) + replace_doping(/datum/reagent/diethylamine, user) // Compost, effectively if(reagents.has_reagent("nutriment", 1)) @@ -709,6 +726,16 @@ if(reagents.has_reagent("lazarus_reagent", 1)) spawnplant() + // Begone, mutagen! + if(reagents.has_reagent("potass_iodide", 1)) + if(mutagen) + to_chat(user, "<span class='notice'>The potassium iodide neutralizes the mutating agents in [src].</span>") + mutagen = 0 + if(reagents.has_reagent("pen_acid", 1)) + if(mutagen) + to_chat(user, "<span class='notice'>The pentetic acid neutralizes the mutating agents in [src].</span>") + mutagen = 0 + // The best stuff there is. For testing/debugging. if(reagents.has_reagent("adminordrazine", 1)) adjustWater(round(reagents.get_reagent_amount("adminordrazine") * 1)) @@ -716,18 +743,26 @@ adjustNutri(round(reagents.get_reagent_amount("adminordrazine") * 1)) adjustPests(-rand(1,5)) adjustWeeds(-rand(1,5)) - if(reagents.has_reagent("adminordrazine", 5)) - switch(rand(100)) - if(66 to 100) - mutatespecie() - if(33 to 65) - mutateweed() - if(1 to 32) - mutatepest(user) - else - to_chat(user, "<span class='warning'>Nothing happens...</span>") reagents.clear_reagents() +/obj/machinery/hydroponics/proc/replace_doping(datum/reagent/new_chem, mob/user) + if(new_chem == doping_chem) + to_chat(user, "<span class='notice'>[src] already contains [initial(new_chem.name)], adding more won't help.</span>") + return + var/list/message = list() + message += "<span class='notice'>You add [initial(new_chem.name)] to [src]" + if(doping_chem) + message += ", replacing \the [initial(doping_chem.name)]." + else + message += "." + if(get_mutation_level()) + message += " This should have interesting effects on the plant's seeds." + else + message += " You don't think this will help without a source of mutations." + message += "</span>" + to_chat(user, message.Join("")) + doping_chem = new_chem + /obj/machinery/hydroponics/attackby(obj/item/O, mob/user, params) //Called when mob user "attacks" it with object O if(istype(O, /obj/item/reagent_containers)) // Syringe stuff (and other reagent containers now too) @@ -781,6 +816,10 @@ add_compost(O, user, transfer, message) return TRUE + else if(istype(O, /obj/item/unsorted_seeds)) + to_chat(user, "<span class='warning'>You need to sort [O] first!</span>") + return ..() + else if(istype(O, /obj/item/seeds) && !istype(O, /obj/item/seeds/sample)) if(!myseed) if(istype(O, /obj/item/seeds/kudzu)) @@ -800,19 +839,7 @@ to_chat(user, "<span class='warning'>[src] already has seeds in it!</span>") else if(istype(O, /obj/item/plant_analyzer)) - if(myseed) - to_chat(user, "*** <B>[myseed.plantname]</B> ***") //Carn: now reports the plants growing, not the seeds. - to_chat(user, "- Plant Age: <span class='notice'>[age]</span>") - var/list/text_string = myseed.get_analyzer_text() - if(text_string) - to_chat(user, text_string) - else - to_chat(user, "<B>No plant found.</B>") - to_chat(user, "- Weed level: <span class='notice'>[weedlevel] / 10</span>") - to_chat(user, "- Pest level: <span class='notice'>[pestlevel] / 10</span>") - to_chat(user, "- Toxicity level: <span class='notice'>[toxic] / 100</span>") - to_chat(user, "- Water level: <span class='notice'>[waterlevel] / [maxwater]</span>") - to_chat(user, "- Nutrition level: <span class='notice'>[nutrilevel] / [maxnutri]</span>") + send_plant_details(user) else if(istype(O, /obj/item/cultivator)) if(weedlevel > 0) @@ -847,6 +874,8 @@ harvest = FALSE //To make sure they can't just put in another seed and insta-harvest it qdel(myseed) myseed = null + mut_beamed = FALSE + yield_beamed = FALSE plant_hud_set_health() plant_hud_set_status() adjustWeeds(-10) //Has a side effect of cleaning up those nasty weeds @@ -895,18 +924,21 @@ else examine(user) -/obj/machinery/hydroponics/proc/update_tray(mob/user = usr) +/obj/machinery/hydroponics/proc/update_tray(mob/user = usr, harvested = 0) harvest = FALSE lastproduce = age if(istype(myseed,/obj/item/seeds/replicapod)) to_chat(user, "<span class='notice'>You harvest from the [myseed.plantname].</span>") - else if(myseed.getYield() <= 0) + else if(harvested <= 0) to_chat(user, "<span class='warning'>You fail to harvest anything useful!</span>") else - to_chat(user, "<span class='notice'>You harvest [myseed.getYield()] items from the [myseed.plantname].</span>") + to_chat(user, "<span class='notice'>You harvest [harvested] items from the [myseed.plantname].</span>") if(!myseed.get_gene(/datum/plant_gene/trait/repeated_harvest)) QDEL_NULL(myseed) dead = FALSE + mutagen = max(0, mutagen - 1) + mut_beamed = FALSE + yield_beamed = FALSE plant_hud_set_status() plant_hud_set_health() update_state() @@ -984,6 +1016,7 @@ density = FALSE power_state = NO_POWER_USE wrenchable = FALSE + mutagen_tank_name = "Mutagen pool" /obj/machinery/hydroponics/soil/update_icon_state() return // Has no hoses @@ -1021,3 +1054,49 @@ if(reagent_source) // If the source wasn't composted and destroyed reagent_source.update_icon() + + +/obj/machinery/hydroponics/proc/send_plant_details(mob/user) + if(myseed) + to_chat(user, "*** <b>[myseed.plantname]</b> ***") + to_chat(user, "- Plant Age: <span class='notice'>[age]</span>") + var/next_harvest = (age <= myseed.maturation ? myseed.maturation : lastproduce) + myseed.production + to_chat(user, "- Next Harvest At: <span class='notice'>[next_harvest]</span>") + var/list/text_string = myseed.get_analyzer_text() + if(text_string) + to_chat(user, text_string) + else + to_chat(user, "<b>No plant found.</b>") + to_chat(user, "- Weed level: <span class='notice'>[weedlevel] / 10</span>") + to_chat(user, "- Pest level: <span class='notice'>[pestlevel] / 10</span>") + to_chat(user, "- Toxicity level: <span class='notice'>[toxic] / 100</span>") + to_chat(user, "- Water level: <span class='notice'>[waterlevel] / [maxwater]</span>") + to_chat(user, "- Nutrition level: <span class='notice'>[nutrilevel] / [maxnutri]</span>") + if(self_sustaining) + to_chat(user, " Nutrient: <span class='notice'>Earthsblood<br> This [src.name] has been treated with Earthsblood and constantly produces its own fertilizer. Like E-Z-Nutrient, Earthsblood fertilizer has no particular attributes, it just keeps plants fed.</span>") + else + to_chat(user, " Nutrient: <span class='notice'>[initial(nutrient.name)]<br> [initial(nutrient.description)]</span>") + to_chat(user, "- [mutagen_tank_name]: <span class='notice'>[mutagen] / [max_mutagen]</span>") + + var/can_mutate_species = myseed && length(myseed.mutatelist) + var/mutation_level = get_mutation_level() + var/mutation_comment = "" + if(mutation_level >= 30 && can_mutate_species) + mutation_comment = " (will change species)" + else if(mutation_level > 20 && can_mutate_species) + mutation_comment = " (may add traits or change species)" + else if(mutation_level > 20) + mutation_comment = " (may add traits)" + else if(mutation_level > 10 && can_mutate_species) + mutation_comment = " (may change species)" + to_chat(user, "- Mutation level: <span class='notice'>[get_mutation_level()][mutation_comment]</span>") + + to_chat(user, "- Doping chemical: <span class='notice'>[doping_chem ? initial(doping_chem.name) : "None"]</span>") + if(doping_chem) + to_chat(user, " <span class='notice'>Causes mutations to be focused on [english_list(doping_effects[doping_chem])].</span>") + +/obj/machinery/hydroponics/attack_ghost(mob/dead/observer/user) + if(!istype(user)) // Make sure user is actually an observer. Revenents also use attack_ghost, but do not have the toggle plant analyzer var. + return + if(user.plant_analyzer) + send_plant_details(user) diff --git a/code/modules/hydroponics/seed_extractor.dm b/code/modules/hydroponics/seed_extractor.dm index 07616d4ae69c..a2710f815b24 100644 --- a/code/modules/hydroponics/seed_extractor.dm +++ b/code/modules/hydroponics/seed_extractor.dm @@ -3,45 +3,45 @@ ///Max Cap of the amount of seed we let players dispense at once #define MAX_DISPENSE_SEEDS 25 -///This proc could probably be scoped better, also it's logic is cursed and hard to understand -/proc/seedify(obj/item/O, t_max, obj/machinery/seed_extractor/extractor, mob/living/user) - var/t_amount = 0 - if(t_max == -1) - if(extractor) - t_max = rand(1,4) * extractor.seed_multiplier - else - t_max = rand(1,4) - - var/seedloc = O.loc +/// Convert a grown object into seeds. +/proc/seedify(obj/item/source_item, seed_count, obj/machinery/seed_extractor/extractor, mob/living/user) + var/output_loc = source_item.loc if(extractor) - seedloc = extractor.loc + output_loc = extractor.loc - if(istype(O, /obj/item/food/snacks/grown)) - var/obj/item/food/snacks/grown/F = O - if(F.seed) - if(user && !user.drop_item()) //couldn't drop the item - return - while(t_amount < t_max) - var/obj/item/seeds/t_prod = F.seed.Copy() - t_prod.forceMove(seedloc) - t_amount++ - qdel(O) - return TRUE - - else if(istype(O, /obj/item/grown)) - var/obj/item/grown/F = O //someone should really abstract this into its own proc - if(F.seed) - if(user && !user.drop_item()) - return - while(t_amount < t_max) - var/obj/item/seeds/t_prod = F.seed.Copy() - t_prod.forceMove(seedloc) - t_amount++ - qdel(O) - return TRUE + var/original_seed = null + if(istype(source_item, /obj/item/food/snacks/grown)) + var/obj/item/food/snacks/grown/F = source_item + original_seed = F.unsorted_seed || F.seed + else if(istype(source_item, /obj/item/grown)) + var/obj/item/grown/F = source_item + original_seed = F.unsorted_seed || F.seed - return FALSE + if(!original_seed) + return FALSE + if(user && !user.unEquip(source_item, silent = TRUE)) //couldn't drop the item + return FALSE + + if(seed_count == -1) + if(istype(original_seed, /obj/item/unsorted_seeds)) + seed_count = 1 + else + seed_count = rand(1,4) + if(extractor) + seed_count *= extractor.seed_multiplier + + for(var/i in 1 to seed_count) + var/obj/item/new_seed + if(istype(original_seed, /obj/item/seeds)) + var/obj/item/seeds/S = original_seed + new_seed = S.Copy() + else if(istype(original_seed, /obj/item/unsorted_seeds)) + var/obj/item/unsorted_seeds/S = original_seed + new_seed = S.Copy() + new_seed.forceMove(output_loc) + qdel(source_item) + return TRUE /obj/machinery/seed_extractor name = "seed extractor" @@ -88,7 +88,7 @@ if(istype(O, /obj/item/storage/bag/plants)) var/obj/item/storage/P = O var/loaded = 0 - for(var/obj/item/seeds/G in P.contents) + for(var/obj/item/seeds/G in P) if(length(contents) >= max_seeds) break loaded++ @@ -97,21 +97,35 @@ if(loaded) to_chat(user, "<span class='notice'>You transfer [loaded] seeds from [O] into [src].</span>") else - to_chat(user, "<span class='notice'>There are no seeds in [O].</span>") + var/seedable = 0 + for(var/obj/item/food/snacks/grown/ignored in P) + seedable++ + for(var/obj/item/grown/ignored in P) + seedable++ + if(!seedable) + to_chat(user, "<span class='notice'>There are no seeds or plants in [O].</span>") + return + to_chat(user, "<span class='notice'>You dump the plants in [O] into [src].</span>") + if(!O.use_tool(src, user, min(5, seedable/2) SECONDS)) + return + for(var/thing in P) + seedify(thing,-1, src, user) return - else if(seedify(O,-1, src, user)) - to_chat(user, "<span class='notice'>You extract some seeds.</span>") - return + else if(istype(O, /obj/item/unsorted_seeds)) + to_chat(user, "<span class='warning'>You need to sort [O] first!</span>") + return ..() else if(istype(O,/obj/item/seeds)) if(add_seed(O, user)) to_chat(user, "<span class='notice'>You add [O] to [name].</span>") updateUsrDialog() return + else if(seedify(O,-1, src, user)) + to_chat(user, "<span class='notice'>You extract some seeds.</span>") + return else if(user.a_intent != INTENT_HARM) to_chat(user, "<span class='warning'>You can't extract any seeds from \the [O.name]!</span>") - else - return ..() + return ..() /obj/machinery/seed_extractor/attack_ai(mob/user) ui_interact(user) @@ -134,10 +148,17 @@ /obj/machinery/seed_extractor/ui_data(mob/user) var/list/data = list() + data["icons"] = list() + data["seeds"] = list() for(var/datum/seed_pile/O in piles) var/obj/item/I = O.path + var/icon/base64icon = GLOB.seeds_cached_base64_icons["[initial(I.icon)][initial(I.icon_state)]"] + if(!base64icon) + base64icon = icon2base64(icon(initial(I.icon), initial(I.icon_state), SOUTH, 1)) + GLOB.seeds_cached_base64_icons["[initial(I.icon)][initial(I.icon_state)]"] = base64icon + data["icons"]["[initial(I.icon)][initial(I.icon_state)]"] = base64icon var/list/seed_info = list( - "image" = "[icon2base64(icon(initial(I.icon), initial(I.icon_state), SOUTH, 1))]", + "image" = "[initial(I.icon)][initial(I.icon_state)]", "id" = O.id, "name" = O.name, "variant" = O.variant, @@ -149,9 +170,8 @@ "potency" = O.potency, "amount" = O.amount, ) - data["stored_seeds"] += list(seed_info) + data["seeds"] += list(seed_info) - data["vend_amount"] = vend_amount return data /obj/machinery/seed_extractor/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state) @@ -160,7 +180,7 @@ . = FALSE switch(action) if("vend") - vend_seed(params["seedid"], params["seedvariant"], vend_amount) + vend_seed(params["seed_id"], params["seed_variant"], params["vend_amount"]) add_fingerprint(usr) . = TRUE if("set_vend_amount") diff --git a/code/modules/hydroponics/seeds.dm b/code/modules/hydroponics/seeds.dm index 2544e159bbb5..8bdba0b43e2a 100644 --- a/code/modules/hydroponics/seeds.dm +++ b/code/modules/hydroponics/seeds.dm @@ -38,10 +38,30 @@ /// If weed chance passes, this many weeds sprout during growth var/weed_rate = 1 + /// The size of a small mutation for each stat. + var/static/list/stat_mutation_sizes = list( + "potency" = 20, + "yield" = 1, + "production speed" = 1, + "endurance" = 20, + "lifespan" = 20, + "weed rate" = 1, + "weed chance" = 20) + + /// Whether each stat is better at smaller values. + var/static/list/stat_better_if_small = list( + "potency" = FALSE, + "yield" = FALSE, + "production speed" = TRUE, + "endurance" = FALSE, + "lifespan" = FALSE, + "weed rate" = TRUE, + "weed chance" = TRUE) + /obj/item/seeds/New(loc, nogenes = 0) ..() - pixel_x = rand(-8, 8) - pixel_y = rand(-8, 8) + pixel_x = rand(-6, 6) + pixel_y = rand(-6, 6) if(!icon_grow) icon_grow = "[species]-grow" @@ -103,17 +123,50 @@ for(var/datum/plant_gene/reagent/R in genes) reagents_add[R.reagent_id] = R.rate -/obj/item/seeds/proc/mutate(lifemut = 2, endmut = 5, productmut = 1, yieldmut = 2, potmut = 25, wrmut = 2, wcmut = 5, traitmut = 0) - adjust_lifespan(rand(-lifemut,lifemut)) - adjust_endurance(rand(-endmut,endmut)) - adjust_production(rand(-productmut,productmut)) - adjust_yield(rand(-yieldmut,yieldmut)) - adjust_potency(rand(-potmut,potmut)) - adjust_weed_rate(rand(-wrmut, wrmut)) - adjust_weed_chance(rand(-wcmut, wcmut)) - if(prob(traitmut)) +/obj/item/seeds/proc/mutate(level, focus = list()) + for(var/stat in stat_mutation_sizes) + if(stat in focus) + mutate_stat(stat, level * 2, stat_mutation_sizes[stat]) + else if(length(focus)) + mutate_stat(stat, level / 2, stat_mutation_sizes[stat]) + else + mutate_stat(stat, level, stat_mutation_sizes[stat]) + if(prob(level - 40)) add_random_traits(1, 1) +/obj/item/seeds/proc/mutate_stat(stat, level, mutation_size) + if(level <= 0 || prob(50)) + return + + var/mod = 0 + while(level > 10) + mod += rand(0, mutation_size) + level -= 10 + if(level > 0 && prob(level * 10)) + mod += rand(0, mutation_size) + + if(prob(50)) + mod = -mod + + adjust_by_name(stat, mod) + +/obj/item/seeds/proc/adjust_by_name(stat, mod) + switch(stat) + if("potency") + adjust_potency(mod) + if("yield") + adjust_yield(mod) + if("production speed") + adjust_production(mod) + if("endurance") + adjust_endurance(mod) + if("lifespan") + adjust_lifespan(mod) + if("weed rate") + adjust_weed_rate(mod) + if("weed chance") + adjust_weed_chance(mod) + /obj/item/seeds/bullet_act(obj/item/projectile/Proj) // Works with the Somatoray to modify plant variables. if(istype(Proj, /obj/item/projectile/energy/florayield)) var/rating = 1 @@ -132,30 +185,43 @@ /obj/item/seeds/proc/getYield() var/return_yield = yield - var/obj/machinery/hydroponics/parent = loc if(istype(loc, /obj/machinery/hydroponics)) + var/obj/machinery/hydroponics/parent = loc if(parent.yieldmod == 0) return_yield = min(return_yield, 1) // 1 if above zero, 0 otherwise else return_yield *= (parent.yieldmod) + if(parent.yield_beamed) + return_yield += rand(1,3) return CEILING(return_yield, 1) // No decimal plants, please +/obj/item/seeds/proc/get_mutated_seed(obj/machinery/hydroponics/tray) + var/mutation_level = tray?.get_mutation_level() + if(!mutation_level) + return src + + return new /obj/item/unsorted_seeds(src, mutation_level, tray.get_mutation_focus()) + /obj/item/seeds/proc/harvest(mob/user = usr) - var/obj/machinery/hydroponics/parent = loc // For ease of access - var/output_loc = parent.Adjacent(user) ? user.loc : parent.loc // Needed for TK + var/obj/machinery/hydroponics/tray = loc + var/output_loc = tray.Adjacent(user) ? user.loc : tray.loc // Needed for TK + + var/mutated_seed = get_mutated_seed(tray) + var/product_name - for(var/i in 1 to getYield()) - var/obj/item/produce = new product(output_loc, src) + var/product_count = getYield() + for(var/i in 1 to product_count) + var/obj/item/produce = new product(output_loc, mutated_seed) if(!produce) return product_name = produce.name - if(getYield()) - SSblackbox.record_feedback("tally", "food_harvested", getYield(), product_name) + if(product_count) + SSblackbox.record_feedback("tally", "food_harvested", product_count, product_name) - parent.update_tray() + tray.update_tray(user, product_count) /obj/item/seeds/proc/prepare_result(obj/item/T) if(!T.reagents) @@ -179,7 +245,7 @@ /// Setter procs /// /obj/item/seeds/proc/adjust_yield(adjustamt) if(yield != -1) // Unharvestable shouldn't suddenly turn harvestable - yield = clamp(yield + adjustamt, 0, 5) + yield = clamp(yield + adjustamt, 0, 10) if(yield <= 0 && get_gene(/datum/plant_gene/trait/plant_type/fungal_metabolism)) yield = 1 // Mushrooms always have a minimum yield of 1. @@ -276,37 +342,44 @@ C.value = weed_chance -/obj/item/seeds/proc/get_analyzer_text() // In case seeds have something special to tell to the analyzer +/obj/item/seeds/proc/get_analyzer_text(show_detail = TRUE) // In case seeds have something special to tell to the analyzer var/list/text = list() - if(!get_gene(/datum/plant_gene/trait/plant_type/weed_hardy) && !get_gene(/datum/plant_gene/trait/plant_type/fungal_metabolism) && !get_gene(/datum/plant_gene/trait/plant_type/alien_properties)) - text += "- Plant type: Normal plant\n" - if(get_gene(/datum/plant_gene/trait/plant_type/weed_hardy)) - text += "- Plant type: Weed. Can grow in nutrient-poor soil.\n" - if(get_gene(/datum/plant_gene/trait/plant_type/fungal_metabolism)) - text += "- Plant type: Mushroom. Can grow in dry soil.\n" - if(get_gene(/datum/plant_gene/trait/plant_type/alien_properties)) - text += "- Plant type: <span class='warning'>UNKNOWN</span> \n" + if(show_detail) + if(!get_gene(/datum/plant_gene/trait/plant_type/weed_hardy) && !get_gene(/datum/plant_gene/trait/plant_type/fungal_metabolism) && !get_gene(/datum/plant_gene/trait/plant_type/alien_properties)) + text += "- Plant type: Normal plant" + if(get_gene(/datum/plant_gene/trait/plant_type/weed_hardy)) + text += "- Plant type: Weed. Can grow in nutrient-poor soil." + if(get_gene(/datum/plant_gene/trait/plant_type/fungal_metabolism)) + text += "- Plant type: Mushroom. Can grow in dry soil." + if(get_gene(/datum/plant_gene/trait/plant_type/alien_properties)) + text += "- Plant type: <span class='warning'>UNKNOWN</span> " if(potency != -1) - text += "- Potency: [potency]\n" + text += "- Potency: [potency]" if(yield != -1) - text += "- Yield: [yield]\n" - text += "- Maturation speed: [maturation]\n" + var/obj/machinery/hydroponics/tray = loc + if(istype(tray) && tray.yield_beamed) + text += "- Yield: [yield] (+1-3 from somatoray)" + else + text += "- Yield: [yield]" + text += "- Maturation speed: [maturation]" if(yield != -1) - text += "- Production speed: [production]\n" - text += "- Endurance: [endurance]\n" - text += "- Lifespan: [lifespan]\n" - text += "- Weed Growth Rate: [weed_rate]\n" - text += "- Weed Vulnerability: [weed_chance]\n" + text += "- Production speed: [production]" + text += "- Endurance: [endurance]" + text += "- Lifespan: [lifespan]" + text += "- Weed Growth Rate: [weed_rate]" + text += "- Weed Vulnerability: [weed_chance]" + if(!show_detail) + return text.Join("<br>") if(rarity) - text += "- Species Discovery Value: [rarity]\n" + text += "- Species Discovery Value: [rarity]" var/all_traits = "" for(var/datum/plant_gene/trait/traits in genes) if(istype(traits, /datum/plant_gene/trait/plant_type)) continue all_traits += " [traits.get_name()]" - text += "- Plant Traits:[all_traits]\n" + text += "- Plant Traits:[all_traits]" - return text.Join("") + return text.Join("<br>") /obj/item/seeds/proc/on_chem_reaction(datum/reagents/S) // In case seeds have some special interaction with special chems return @@ -418,3 +491,178 @@ genes += P else qdel(P) + +/obj/item/seeds/attack_ghost(mob/dead/observer/user) + if(!istype(user)) // Make sure user is actually an observer. Revenents also use attack_ghost, but do not have the toggle plant analyzer var. + return + if(user.plant_analyzer) + to_chat(user, get_analyzer_text()) + +/obj/item/seeds/openTip() + var/datum/atom_hud/hydrohud = GLOB.huds[DATA_HUD_HYDROPONIC] + if(usr in hydrohud.hudusers) + return // Suppress the default tooltip. + return ..() + +/obj/item/seeds/MouseEntered(location, control, params) + . = ..() + var/datum/atom_hud/hydrohud = GLOB.huds[DATA_HUD_HYDROPONIC] + if(usr in hydrohud.hudusers) + openToolTip(usr, src, params, title = name, content = get_analyzer_text(FALSE)) + +/obj/item/seeds/should_stack_with(obj/item/O) + if(!..()) + return FALSE + var/obj/item/seeds/other = O + if(potency != other.potency) + return FALSE + if(yield != other.yield) + return FALSE + if(production != other.production) + return FALSE + if(endurance != other.endurance) + return FALSE + if(lifespan != other.lifespan) + return FALSE + if(weed_rate != other.weed_rate) + return FALSE + if(weed_chance != other.weed_chance) + return FALSE + return TRUE + +/datum/unsorted_seed + var/obj/item/seeds/original_seed + var/mutation_level + var/list/mutation_focus + +/datum/unsorted_seed/New(obj/item/seeds/original_seed_in, mutation_level_in, list/mutation_focus_in) + ..() + original_seed = original_seed_in + mutation_level = mutation_level_in + mutation_focus = mutation_focus_in + +/datum/unsorted_seed/Destroy() + original_seed = null + mutation_focus = null + return ..() + +/datum/unsorted_seed/proc/transform(obj/item/unsorted_seeds/unsorted_seed, sort_depth = 1) + var/seed_mutation_level = mutation_level + var/species_mutation_chance = 0 + switch(sort_depth) + if(0 to 4) + // Default mutation level. + species_mutation_chance = (mutation_level - 20) * 10 + if(5 to 8) + seed_mutation_level *= 1.5 + species_mutation_chance = (mutation_level - 15) * 10 + else + seed_mutation_level *= 2 + species_mutation_chance = (mutation_level - 10) * 10 + + var/obj/item/seeds/mutant + if(prob(species_mutation_chance) && length(original_seed.mutatelist)) + var/mutant_type = pick(original_seed.mutatelist) + mutant = new mutant_type + mutant.mutate(seed_mutation_level) + else + mutant = original_seed.Copy() + mutant.mutate(seed_mutation_level, mutation_focus) + + if(istype(unsorted_seed.loc, /mob)) + var/mob/M = unsorted_seed.loc + M.drop_item() + M.put_in_active_hand(mutant) + if(istype(unsorted_seed.loc, /obj/item/storage)) + var/obj/item/storage/S = unsorted_seed.loc + S.remove_from_storage(unsorted_seed) + S.handle_item_insertion(mutant, usr, TRUE) + qdel(unsorted_seed) + +/obj/item/unsorted_seeds + icon = 'icons/obj/hydroponics/seeds.dmi' + icon_state = "seed" // Unknown plant seed - these shouldn't exist in-game. + w_class = WEIGHT_CLASS_TINY + resistance_flags = FLAMMABLE + + var/datum/unsorted_seed/seed_data + +/obj/item/unsorted_seeds/New(obj/item/seeds/template, mutation_level, list/mutation_focus, seed_data_in = null) + ..() + template = template.Copy() + pixel_x = rand(-6, 6) + pixel_y = rand(-6, 6) + if(seed_data_in) + seed_data = seed_data_in + else + seed_data = new(template, mutation_level, mutation_focus) + name = "unsorted [template.name]" + icon_state = template.icon_state + // The grammar looks odd here because template.name is "pack of Xes". + desc = "A [template.name] that have mutated and need to be sorted out before use. The best method is to use a plant analyzer on a bag full of unsorted seed packs. If you don't have a plant analyzer, you can place unsorted seeds into a sorting tray and use it in hand, or even use them directly in hand. The more you sort at once, the stronger the mutations you'll discover." + +/obj/item/unsorted_seeds/Destroy() + seed_data = null + return ..() + +/obj/item/unsorted_seeds/proc/Copy() + return new /obj/item/unsorted_seeds(seed_data.original_seed, seed_data.mutation_level, seed_data.mutation_focus, seed_data) + +/obj/item/unsorted_seeds/proc/sort(depth = 1) + seed_data.transform(src, depth) + +/obj/item/unsorted_seeds/attack_self(mob/user) + user.visible_message("<span class='notice'>[user] crudely sorts through [src] by hand.</span>", "<span class='notice'>You crudely sort through [src] by hand. This would be easier and more effective with some sort of tool.") + if(do_after(user, 3 SECONDS, TRUE, src, must_be_held = TRUE)) + sort() + +/obj/item/unsorted_seeds/attackby(obj/item/O, mob/user, params) + if(istype(O, /obj/item/plant_analyzer)) + to_chat(user, "<span class='info'>This is \a <span class='name'>[src].</span></span>") + var/text = get_analyzer_text() + if(text) + to_chat(user, "<span class='notice'>[text]</span>") + + return + if(is_pen(O)) + to_chat(user, "<span class='notice'>Sort it first.</span>") + return + ..() // Fallthrough to item/attackby() so that bags can pick seeds up + +/obj/item/unsorted_seeds/proc/get_analyzer_text(show_detail = TRUE) + var/list/output = list() + output += seed_data.original_seed.get_analyzer_text(show_detail) + output += "- Mutation level: [seed_data.mutation_level]" + output += "- Mutation focus: [english_list(seed_data.mutation_focus, "None.")]" + output += "<span class='notice'>Data may change after sorting.</span>" + return output.Join("<br>") + +/obj/item/unsorted_seeds/attack_ghost(mob/dead/observer/user) + if(!istype(user)) // Make sure user is actually an observer. Revenents also use attack_ghost, but do not have the toggle plant analyzer var. + return + if(user.plant_analyzer) + to_chat(user, get_analyzer_text()) + +/obj/item/unsorted_seeds/openTip() + var/datum/atom_hud/hydrohud = GLOB.huds[DATA_HUD_HYDROPONIC] + if(usr in hydrohud.hudusers) + return // Suppress the default tooltip. + return ..() + +/obj/item/unsorted_seeds/MouseEntered(location, control, params) + . = ..() + var/datum/atom_hud/hydrohud = GLOB.huds[DATA_HUD_HYDROPONIC] + if(usr in hydrohud.hudusers) + openToolTip(usr, src, params, title = name, content = get_analyzer_text(FALSE)) + +/obj/item/unsorted_seeds/should_stack_with(obj/item/O) + if(!..()) + return FALSE + var/obj/item/unsorted_seeds/other = O + if(!seed_data.original_seed.should_stack_with(other.seed_data.original_seed)) + return FALSE + if(seed_data.mutation_level != other.seed_data.mutation_level) + return FALSE + if(length(seed_data.mutation_focus) != length(other.seed_data.mutation_focus)) + return FALSE + return length(seed_data.mutation_focus - other.seed_data.mutation_focus) == 0 diff --git a/code/modules/library/book.dm b/code/modules/library/book.dm index ec525e0a1db9..5fb95c5811d4 100644 --- a/code/modules/library/book.dm +++ b/code/modules/library/book.dm @@ -165,9 +165,9 @@ var/header_right = "<div style ='float;left; text-align:right; width:49.9%'></div>" if(length(pages)) //No need to have page switching buttons if there's no pages if(current_page < length(pages)) - header_right = "<div style='float:left; text-align:right; width:49.9%'><a href='?src=[UID()];next_page=1'>Next Page</a></div><br><hr>" + header_right = "<div style='float:left; text-align:right; width:49.9%'><a href='byond://?src=[UID()];next_page=1'>Next Page</a></div><br><hr>" if(current_page) - header_left = "<div style='float:left; text-align:left; width:49.9%'><a href='?src=[UID()];prev_page=1'>Previous Page</a></div>" + header_left = "<div style='float:left; text-align:left; width:49.9%'><a href='byond://?src=[UID()];prev_page=1'>Previous Page</a></div>" dat += header_left + header_right //Now we're going to display the header buttons + the current page selected, if it's page 0, we display the cover_page instead diff --git a/code/modules/library/library_admin.dm b/code/modules/library/library_admin.dm index dc22de9e33e7..3d82c2772178 100644 --- a/code/modules/library/library_admin.dm +++ b/code/modules/library/library_admin.dm @@ -172,9 +172,9 @@ var/header_right = "<div style ='float;left; text-align:right; width:49.9%'></div>" if(length(view_book.content)) //No need to have page switching buttons if there's no pages if(view_book_page < length(view_book.content)) - header_right = "<div style='float:left; text-align:right; width:49.9%'><a href='?src=[UID()];next_page=1'>Next Page</a></div><br><hr>" + header_right = "<div style='float:left; text-align:right; width:49.9%'><a href='byond://?src=[UID()];next_page=1'>Next Page</a></div><br><hr>" if(view_book_page) - header_left = "<div style='float:left; text-align:left; width:49.9%'><a href='?src=[UID()];prev_page=1'>Previous Page</a></div>" + header_left = "<div style='float:left; text-align:left; width:49.9%'><a href='byond://?src=[UID()];prev_page=1'>Previous Page</a></div>" dat += header_left + header_right //Now we're going to display the header buttons + the current page selected, if it's page 0, we display the cover_page instead diff --git a/code/modules/mining/equipment/survival_pod.dm b/code/modules/mining/equipment/survival_pod.dm index 25b563aa096a..49f7bbec1f1a 100644 --- a/code/modules/mining/equipment/survival_pod.dm +++ b/code/modules/mining/equipment/survival_pod.dm @@ -69,7 +69,7 @@ var/turf/T = deploy_location if(!is_mining_level(T.z))//only report capsules away from the mining/lavaland level - message_admins("[key_name_admin(usr)] ([ADMIN_QUE(usr,"?")]) ([ADMIN_FLW(usr,"FLW")]) activated a bluespace capsule away from the mining level! (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>JMP</a>)") + message_admins("[key_name_admin(usr)] ([ADMIN_QUE(usr,"?")]) ([ADMIN_FLW(usr,"FLW")]) activated a bluespace capsule away from the mining level! (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>JMP</a>)") log_admin("[key_name(usr)] activated a bluespace capsule away from the mining level at [T.x], [T.y], [T.z]") template.load(deploy_location, centered = TRUE) new /obj/effect/particle_effect/smoke(get_turf(src)) diff --git a/code/modules/mining/lavaland/loot/ashdragon_loot.dm b/code/modules/mining/lavaland/loot/ashdragon_loot.dm index 594db13d7aff..7c82ec854ab6 100644 --- a/code/modules/mining/lavaland/loot/ashdragon_loot.dm +++ b/code/modules/mining/lavaland/loot/ashdragon_loot.dm @@ -77,7 +77,7 @@ return to_chat(user, "You call out for aid, attempting to summon spirits to your side.") - notify_ghosts("[user] is raising [user.p_their()] [src], calling for your help!", enter_link="<a href=?src=[UID()];follow=1>(Click to help)</a>", source = user, action = NOTIFY_FOLLOW) + notify_ghosts("[user] is raising [user.p_their()] [src], calling for your help!", enter_link="<a href=byond://?src=[UID()];follow=1>(Click to help)</a>", source = user, action = NOTIFY_FOLLOW) summon_cooldown = world.time + 600 @@ -300,7 +300,7 @@ timer = world.time + create_delay + 1 if(do_after(user, create_delay, target = T)) user.visible_message("<span class='danger'>[user] turns \the [T] into [transform_string]!</span>") - message_admins("[key_name_admin(user)] fired the lava staff at [get_area(target)] (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>JMP</a>).") + message_admins("[key_name_admin(user)] fired the lava staff at [get_area(target)] (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>JMP</a>).") log_game("[key_name(user)] fired the lava staff at [get_area(target)] ([T.x], [T.y], [T.z]).") T.TerraformTurf(turf_type, keep_icon = FALSE) timer = world.time + create_cooldown diff --git a/code/modules/mining/lavaland/loot/colossus_loot.dm b/code/modules/mining/lavaland/loot/colossus_loot.dm index fb45849581f2..44423056c453 100644 --- a/code/modules/mining/lavaland/loot/colossus_loot.dm +++ b/code/modules/mining/lavaland/loot/colossus_loot.dm @@ -217,7 +217,7 @@ /obj/machinery/anomalous_crystal/helpers/ActivationReaction(mob/user, method) if(..() && !ready_to_deploy) ready_to_deploy = 1 - notify_ghosts("An anomalous crystal has been activated in [get_area(src)]! This crystal can always be used by ghosts hereafter.", enter_link = "<a href=?src=\ref[src];ghostjoin=1>(Click to enter)</a>", source = src, action = NOTIFY_ATTACK) + notify_ghosts("An anomalous crystal has been activated in [get_area(src)]! This crystal can always be used by ghosts hereafter.", enter_link = "<a href=byond://?src=\ref[src];ghostjoin=1>(Click to enter)</a>", source = src, action = NOTIFY_ATTACK) GLOB.poi_list |= src // ghosts should actually know they can join as a lightgeist /obj/machinery/anomalous_crystal/helpers/attack_ghost(mob/dead/observer/user) diff --git a/code/modules/mining/lavaland/loot/hierophant_loot.dm b/code/modules/mining/lavaland/loot/hierophant_loot.dm index 4ac1ef7d13a8..5cbdee950721 100644 --- a/code/modules/mining/lavaland/loot/hierophant_loot.dm +++ b/code/modules/mining/lavaland/loot/hierophant_loot.dm @@ -16,6 +16,7 @@ attack_verb = list("clubbed", "beat", "pummeled") hitsound = 'sound/weapons/sonic_jackhammer.ogg' actions_types = list(/datum/action/item_action/vortex_recall, /datum/action/item_action/toggle_unfriendly_fire) + resistance_flags = LAVA_PROOF | FIRE_PROOF var/cooldown_time = 20 //how long the cooldown between non-melee ranged attacks is var/chaser_cooldown = 81 //how long the cooldown between firing chasers at mobs is var/chaser_timer = 0 //what our current chaser cooldown is diff --git a/code/modules/mining/machine_processing.dm b/code/modules/mining/machine_processing.dm index 40736a57b2e9..6f9a0885d28d 100644 --- a/code/modules/mining/machine_processing.dm +++ b/code/modules/mining/machine_processing.dm @@ -138,7 +138,7 @@ if(selected_material == mat_id) dat += " <i>Smelting</i>" else - dat += " <A href='?src=[console.UID()];material=[mat_id]'><b>Not Smelting</b></A> " + dat += " <A href='byond://?src=[console.UID()];material=[mat_id]'><b>Not Smelting</b></A> " dat += "<br>" dat += "<br><br>" @@ -150,16 +150,16 @@ if(selected_alloy == D.id) dat += " <i>Smelting</i>" else - dat += " <A href='?src=[console.UID()];alloy=[D.id]'><b>Not Smelting</b></A> " + dat += " <A href='byond://?src=[console.UID()];alloy=[D.id]'><b>Not Smelting</b></A> " dat += "<br>" dat += "<br><br>" //On or off dat += "Machine is currently " if(on) - dat += "<A href='?src=[console.UID()];set_on=off'>On</A> " + dat += "<A href='byond://?src=[console.UID()];set_on=off'>On</A> " else - dat += "<A href='?src=[console.UID()];set_on=on'>Off</A> " + dat += "<A href='byond://?src=[console.UID()];set_on=on'>Off</A> " return dat diff --git a/code/modules/mining/machine_redemption.dm b/code/modules/mining/machine_redemption.dm index b2f9cb8bb063..47f9ab77c8cc 100644 --- a/code/modules/mining/machine_redemption.dm +++ b/code/modules/mining/machine_redemption.dm @@ -38,8 +38,6 @@ "Virology" = list(MAT_PLASMA, MAT_URANIUM, MAT_GOLD) ) // Variables - /// The currently inserted ID. - var/obj/item/card/id/inserted_id = null /// The number of unclaimed points. var/points = 0 /// Sheet multiplier applied when smelting ore. Updated by [/obj/machinery/proc/RefreshParts]. @@ -126,7 +124,6 @@ /obj/machinery/mineral/ore_redemption/Destroy() // Move any stuff inside us out var/turf/T = get_turf(src) - inserted_id?.forceMove(T) inserted_disk?.forceMove(T) var/datum/component/material_container/materials = GetComponent(/datum/component/material_container) materials.retrieve_all() @@ -151,10 +148,6 @@ if(!..()) return update_icon(UPDATE_ICON_STATE) - if(inserted_id && !(stat & NOPOWER)) - visible_message("<span class='notice'>The ID slot indicator light flickers on [src] as it spits out a card before powering down.</span>") - inserted_id.forceMove(get_turf(src)) - inserted_id = null /obj/machinery/mineral/ore_redemption/update_icon_state() if(has_power()) @@ -194,7 +187,19 @@ return ..() if(istype(I, /obj/item/card/id)) - try_insert_id(user) + var/obj/item/card/id/ID = I + if(!points) + to_chat(usr, "<span class='warning'>There are no points to claim.</span>"); + return + if(anyone_claim || (req_access_claim in ID.access)) + ID.mining_points += points + ID.total_mining_points += points + to_chat(usr, "<span class='notice'><b>[points] Mining Points</b> claimed. You have earned a total of <b>[ID.total_mining_points] Mining Points</b> this Shift!</span>") + points = 0 + SStgui.update_uis(src) + else + to_chat(usr, "<span class='warning'>Required access not found.</span>") + add_fingerprint(usr) return else if(istype(I, /obj/item/disk/design_disk)) @@ -258,7 +263,6 @@ var/datum/component/material_container/materials = GetComponent(/datum/component/material_container) // General info - data["id"] = inserted_id ? list("name" = "[inserted_id.registered_name] ([inserted_id.assignment])", "points" = inserted_id.mining_points, "total_points" = inserted_id.total_mining_points) : null data["points"] = points data["disk"] = inserted_disk ? list( "name" = inserted_disk.name, @@ -301,18 +305,8 @@ . = TRUE switch(action) - if("claim") - if(!inserted_id || !points) - return - if(anyone_claim || (req_access_claim in inserted_id.access)) - inserted_id.mining_points += points - inserted_id.total_mining_points += points - to_chat(usr, "<span class='notice'><b>[points] Mining Points</b> claimed. You have earned a total of <b>[inserted_id.total_mining_points] Mining Points</b> this Shift!</span>") - points = 0 - else - to_chat(usr, "<span class='warning'>Required access not found.</span>") if("sheet", "alloy") - if(!(check_access(inserted_id) || allowed(usr))) + if(!allowed(usr)) to_chat(usr, "<span class='warning'>Required access not found.</span>") return FALSE var/id = params["id"] @@ -345,18 +339,6 @@ unload_mineral(A) else unload_mineral(result) - if("insert_id") - try_insert_id(usr) - if("eject_id") - if(!inserted_id) - return FALSE - if(ishuman(usr)) - usr.put_in_hands(inserted_id) - usr.visible_message("<span class='notice'>[usr] retrieves [inserted_id] from [src].</span>", \ - "<span class='notice'>You retrieve [inserted_id] from [src].</span>") - else - inserted_id.forceMove(get_turf(src)) - inserted_id = null if("eject_disk") if(!inserted_disk) return FALSE @@ -488,30 +470,6 @@ if(!supply_consoles[C.department] || length(supply_consoles[C.department] - mats_in_stock)) C.createMessage("Ore Redemption Machine", "New Minerals Available!", msg, RQ_NORMALPRIORITY) -/** - * Tries to insert the ID card held by the given user into the machine. - * - * Arguments: - * * user - The ID whose active hand to check for an ID card to insert. - */ -/obj/machinery/mineral/ore_redemption/proc/try_insert_id(mob/user) - . = FALSE - var/obj/item/card/id/I = user.get_active_hand() - if(!istype(I)) - return - if(inserted_id) - to_chat(user, "<span class='warning'>There is already an ID inside!</span>") - return - if(!user.drop_item()) - return - I.forceMove(src) - inserted_id = I - SStgui.update_uis(src) - interact(user) - user.visible_message("<span class='notice'>[user] inserts [I] into [src].</span>", \ - "<span class='notice'>You insert [I] into [src].</span>") - return TRUE - /obj/machinery/mineral/ore_redemption/proc/try_refill_storage(mob/living/silicon/robot/robot) . = FALSE if(!istype(robot)) diff --git a/code/modules/mining/machine_stacking.dm b/code/modules/mining/machine_stacking.dm index ada5b502a6ba..9299a2bb9fb9 100644 --- a/code/modules/mining/machine_stacking.dm +++ b/code/modules/mining/machine_stacking.dm @@ -36,7 +36,7 @@ for(var/O in machine.stack_list) s = machine.stack_list[O] if(s.amount > 0) - dat += "[capitalize(s.name)]: [s.amount] <A href='?src=[UID()];release=[s.type]'>Release</A><br>" + dat += "[capitalize(s.name)]: [s.amount] <A href='byond://?src=[UID()];release=[s.type]'>Release</A><br>" dat += "<br>Stacking: [machine.stack_amt]<br><br>" diff --git a/code/modules/mining/mint.dm b/code/modules/mining/mint.dm index 3512188f4e99..bbaf8aa8e724 100644 --- a/code/modules/mining/mint.dm +++ b/code/modules/mining/mint.dm @@ -45,20 +45,20 @@ if(chosen == mat_id) dat += "<b>Chosen</b>" else - dat += "<A href='?src=[UID()];choose=[mat_id]'>Choose</A>" + dat += "<A href='byond://?src=[UID()];choose=[mat_id]'>Choose</A>" var/datum/material/M = materials.materials[chosen] dat += "<br><br>Will produce [coinsToProduce] [lowertext(M.name)] coins if enough materials are available.<br>" - dat += "<A href='?src=[UID()];chooseAmt=-10'>-10</A> " - dat += "<A href='?src=[UID()];chooseAmt=-5'>-5</A> " - dat += "<A href='?src=[UID()];chooseAmt=-1'>-1</A> " - dat += "<A href='?src=[UID()];chooseAmt=1'>+1</A> " - dat += "<A href='?src=[UID()];chooseAmt=5'>+5</A> " - dat += "<A href='?src=[UID()];chooseAmt=10'>+10</A> " + dat += "<A href='byond://?src=[UID()];chooseAmt=-10'>-10</A> " + dat += "<A href='byond://?src=[UID()];chooseAmt=-5'>-5</A> " + dat += "<A href='byond://?src=[UID()];chooseAmt=-1'>-1</A> " + dat += "<A href='byond://?src=[UID()];chooseAmt=1'>+1</A> " + dat += "<A href='byond://?src=[UID()];chooseAmt=5'>+5</A> " + dat += "<A href='byond://?src=[UID()];chooseAmt=10'>+10</A> " dat += "<br><br>In total this machine produced <font color='green'><b>[newCoins]</b></font> coins." - dat += "<br><A href='?src=[UID()];makeCoins=[1]'>Make coins</A>" + dat += "<br><A href='byond://?src=[UID()];makeCoins=[1]'>Make coins</A>" user << browse(dat, "window=mint") /obj/machinery/mineral/mint/Topic(href, href_list) diff --git a/code/modules/mining/satchel_ore_boxdm.dm b/code/modules/mining/satchel_ore_boxdm.dm index ed12dc875af8..fb455af71a1d 100644 --- a/code/modules/mining/satchel_ore_boxdm.dm +++ b/code/modules/mining/satchel_ore_boxdm.dm @@ -47,7 +47,7 @@ var/obj/item/stack/ore/O = type dat += "[initial(O.name)] - [assembled[type]]<br>" - dat += "<br><br><A href='?src=[UID()];removeall=1'>Empty box</A>" + dat += "<br><br><A href='byond://?src=[UID()];removeall=1'>Empty box</A>" var/datum/browser/popup = new(user, "orebox", name, 400, 400) popup.set_content(dat) popup.open(0) diff --git a/code/modules/mob/dead/observer/observer_base.dm b/code/modules/mob/dead/observer/observer_base.dm index a970301be260..8b158b8f18e6 100644 --- a/code/modules/mob/dead/observer/observer_base.dm +++ b/code/modules/mob/dead/observer/observer_base.dm @@ -36,6 +36,8 @@ GLOBAL_DATUM_INIT(ghost_crew_monitor, /datum/ui_module/crew_monitor/ghost, new) var/health_scan = FALSE //does the ghost have health scanner mode on? by default it should be off ///toggle for ghost gas analyzer var/gas_analyzer = FALSE + ///toggle for ghost plant analyzer + var/plant_analyzer = FALSE var/datum/orbit_menu/orbit_menu /// The "color" their runechat would have had var/alive_runechat_color = "#FFFFFF" @@ -330,7 +332,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp A.overlays += source source.layer = old_layer source.plane = old_plane - to_chat(src, "<span class='ghostalert'><a href=?src=[UID()];reenter=1>(Click to re-enter)</a></span>") + to_chat(src, "<span class='ghostalert'><a href=byond://?src=[UID()];reenter=1>(Click to re-enter)</a></span>") if(sound) SEND_SOUND(src, sound(sound)) @@ -585,6 +587,18 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp to_chat(src, "<span class='notice'>Gas Analyzer enabled. Click on a pipe to analyze.</span>") gas_analyzer = TRUE +/mob/dead/observer/verb/toggle_plant_anaylzer() + set name = "Toggle Plant Analyzer" + set desc = "Toggles wether you can anaylze plants and seeds on click" + set category = "Ghost" + + if(plant_analyzer) + to_chat(src, "<span class='notice'>Plant Analyzer disabled.</span>") + plant_analyzer = FALSE + else + to_chat(src, "<span class='notice'>Plant Analyzer enabled. Click on a plant or seed to analyze.</span>") + plant_analyzer = TRUE + /mob/dead/observer/verb/analyze_air() set name = "Analyze Air" set category = "Ghost" diff --git a/code/modules/mob/dead/observer/observer_say.dm b/code/modules/mob/dead/observer/observer_say.dm index 2f3c2dc68d2b..3b97ab5d8344 100644 --- a/code/modules/mob/dead/observer/observer_say.dm +++ b/code/modules/mob/dead/observer/observer_say.dm @@ -4,6 +4,9 @@ if(!message) return + if(GLOB.configuration.general.enable_ooc_emoji) + message = emoji_parse(message) + return say_dead(message) /mob/dead/observer/handle_track(message, verb = "says", mob/speaker = null, speaker_name, atom/follow_target, hard_to_hear) diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm index fe394afcaefa..ca9e337635bc 100644 --- a/code/modules/mob/living/carbon/human/human_defense.dm +++ b/code/modules/mob/living/carbon/human/human_defense.dm @@ -9,7 +9,7 @@ emp_act /mob/living/carbon/human/bullet_act(obj/item/projectile/P, def_zone) - if(!dna.species.bullet_act(P, src)) + if(!dna.species.bullet_act(P, src, def_zone)) add_attack_logs(P.firer, src, "hit by [P.type] but got deflected by species '[dna.species]'") P.reflect_back(src) //It has to be here, not on species. Why? Who knows. Testing showed me no reason why it doesn't work on species, and neither did tracing. It has to be here, or it gets qdel'd by bump. return -1 diff --git a/code/modules/mob/living/carbon/human/human_examine.dm b/code/modules/mob/living/carbon/human/human_examine.dm index ff929ce611b8..165353221e99 100644 --- a/code/modules/mob/living/carbon/human/human_examine.dm +++ b/code/modules/mob/living/carbon/human/human_examine.dm @@ -209,11 +209,11 @@ medical = R.fields["p_stat"] mental = R.fields["m_stat"] - var/medical_status = hasHUD(user, EXAMINE_HUD_MEDICAL_WRITE) ? "<a href='?src=[UID()];medical=1'>\[[medical]\]</a>" : "\[[medical]\]" - var/mental_status = hasHUD(user, EXAMINE_HUD_MEDICAL_WRITE) ? "<a href='?src=[UID()];mental=1'>\[[mental]\]</a>" : "\[[mental]\]" + var/medical_status = hasHUD(user, EXAMINE_HUD_MEDICAL_WRITE) ? "<a href='byond://?src=[UID()];medical=1'>\[[medical]\]</a>" : "\[[medical]\]" + var/mental_status = hasHUD(user, EXAMINE_HUD_MEDICAL_WRITE) ? "<a href='byond://?src=[UID()];mental=1'>\[[mental]\]</a>" : "\[[mental]\]" msg += "<span class='deptradio'>Physical status: </span>[medical_status]\n" msg += "<span class='deptradio'>Mental Status: </span>[mental_status]\n" - msg += "<span class='deptradio'>Medical records:</span> <a href='?src=[UID()];medrecord=`'>\[View\]</a> <a href='?src=[UID()];medrecordadd=`'>\[Add comment\]</a>\n" + msg += "<span class='deptradio'>Medical records:</span> <a href='byond://?src=[UID()];medrecord=`'>\[View\]</a> <a href='byond://?src=[UID()];medrecordadd=`'>\[Add comment\]</a>\n" if(hasHUD(user, EXAMINE_HUD_SECURITY_READ)) var/perpname = get_visible_name(TRUE) @@ -234,9 +234,9 @@ else commentLatest = "No entries." //If present but without entries (=target is recognized crew) - var/criminal_status = hasHUD(user, EXAMINE_HUD_SECURITY_WRITE) ? "<a href='?src=[UID()];criminal=1'>\[[criminal]\]</a>" : "\[[criminal]\]" + var/criminal_status = hasHUD(user, EXAMINE_HUD_SECURITY_WRITE) ? "<a href='byond://?src=[UID()];criminal=1'>\[[criminal]\]</a>" : "\[[criminal]\]" msg += "<span class='deptradio'>Criminal status:</span> [criminal_status]\n" - msg += "<span class='deptradio'>Security records:</span> <a href='?src=[UID()];secrecordComment=`'>\[View comment log\]</a> <a href='?src=[UID()];secrecordadd=`'>\[Add comment\]</a>\n" + msg += "<span class='deptradio'>Security records:</span> <a href='byond://?src=[UID()];secrecordComment=`'>\[View comment log\]</a> <a href='byond://?src=[UID()];secrecordadd=`'>\[Add comment\]</a>\n" msg += "<span class='deptradio'>Latest entry:</span> [commentLatest]\n" diff --git a/code/modules/mob/living/carbon/human/human_mob.dm b/code/modules/mob/living/carbon/human/human_mob.dm index 36b183cf4c14..c79acbd6c07f 100644 --- a/code/modules/mob/living/carbon/human/human_mob.dm +++ b/code/modules/mob/living/carbon/human/human_mob.dm @@ -496,7 +496,7 @@ to_chat(usr, "<b>Major Crimes:</b> [R.fields["ma_crim"]]") to_chat(usr, "<b>Details:</b> [R.fields["ma_crim_d"]]") to_chat(usr, "<b>Notes:</b> [R.fields["notes"]]") - to_chat(usr, "<a href='?src=[UID()];secrecordComment=`'>\[View Comment Log\]</a>") + to_chat(usr, "<a href='byond://?src=[UID()];secrecordComment=`'>\[View Comment Log\]</a>") read = 1 if(!read) @@ -524,7 +524,7 @@ else to_chat(usr, "<span class='warning'>No comments found</span>") if(hasHUD(usr, EXAMINE_HUD_SECURITY_WRITE)) - to_chat(usr, "<a href='?src=[UID()];secrecordadd=`'>\[Add comment\]</a>") + to_chat(usr, "<a href='byond://?src=[UID()];secrecordadd=`'>\[Add comment\]</a>") if(!read) to_chat(usr, "<span class='warning'>Unable to locate a data core entry for this person.</span>") @@ -601,7 +601,7 @@ to_chat(usr, "<b>Major Disabilities:</b> [R.fields["ma_dis"]]") to_chat(usr, "<b>Details:</b> [R.fields["ma_dis_d"]]") to_chat(usr, "<b>Notes:</b> [R.fields["notes"]]") - to_chat(usr, "<a href='?src=[UID()];medrecordComment=`'>\[View Comment Log\]</a>") + to_chat(usr, "<a href='byond://?src=[UID()];medrecordComment=`'>\[View Comment Log\]</a>") read = 1 if(!read) @@ -625,7 +625,7 @@ to_chat(usr, c) else to_chat(usr, "<span class='warning'>No comment found</span>") - to_chat(usr, "<a href='?src=[UID()];medrecordadd=`'>\[Add comment\]</a>") + to_chat(usr, "<a href='byond://?src=[UID()];medrecordadd=`'>\[Add comment\]</a>") if(!read) to_chat(usr, "<span class='warning'>Unable to locate a data core entry for this person.</span>") diff --git a/code/modules/mob/living/carbon/human/species/diona_species.dm b/code/modules/mob/living/carbon/human/species/diona_species.dm index e68698ad4493..65ad87eadda9 100644 --- a/code/modules/mob/living/carbon/human/species/diona_species.dm +++ b/code/modules/mob/living/carbon/human/species/diona_species.dm @@ -111,24 +111,22 @@ H.adjustBruteLoss(2) ..() -/datum/species/diona/bullet_act(obj/item/projectile/P, mob/living/carbon/human/H) - switch(P.type) - if(/obj/item/projectile/energy/floramut) - if(prob(15)) - H.rad_act(rand(30, 80)) - H.Weaken(10 SECONDS) - H.visible_message("<span class='warning'>[H] writhes in pain as [H.p_their()] vacuoles boil.</span>", "<span class='userdanger'>You writhe in pain as your vacuoles boil!</span>", "<span class='italics'>You hear the crunching of leaves.</span>") - if(prob(80)) - randmutb(H) - domutcheck(H) - else - randmutg(H) - domutcheck(H) - else - H.adjustFireLoss(rand(5, 15)) - H.show_message("<span class='warning'>The radiation beam singes you!</span>") - if(/obj/item/projectile/energy/florayield) - H.set_nutrition(min(H.nutrition + 30, NUTRITION_LEVEL_FULL)) +/datum/species/diona/bullet_act(obj/item/projectile/P, mob/living/carbon/human/H, def_zone) + if(istype(P, /obj/item/projectile/energy/floramut)) + P.nodamage = TRUE + H.Weaken(1 SECONDS) + if(prob(80)) + randmutb(H) + else + randmutg(H) + H.visible_message("[H] writhes for a moment as [H.p_their()] nymphs squirm and mutate.", "All of you squirm uncomfortably for a moment as you feel your genes changing.") + else if(istype(P, /obj/item/projectile/energy/florayield)) + P.nodamage = TRUE + var/obj/item/organ/external/organ = H.get_organ(check_zone(def_zone)) + if(!organ) + organ = H.get_organ("chest") + organ.heal_damage(5, 5) + H.visible_message("[H] seems invogorated as [P] hits [H.p_their()] [organ.name].", "Your [organ.name] greedily absorbs [P].") return TRUE /// Same name and everything; we want the same limitations on them; we just want their regeneration to kick in at all times and them to have special factions diff --git a/code/modules/mob/living/death.dm b/code/modules/mob/living/death.dm index e071470af7d5..fac9c031dc98 100644 --- a/code/modules/mob/living/death.dm +++ b/code/modules/mob/living/death.dm @@ -86,7 +86,7 @@ for(var/P in GLOB.dead_mob_list) var/mob/M = P if((M.client?.prefs.toggles2 & PREFTOGGLE_2_DEATHMESSAGE) && (isobserver(M) || M.stat == DEAD)) - to_chat(M, "<span class='deadsay'><b>[mind.name]</b> has died at <b>[area_name]</b>. (<a href='?src=[M.UID()];jump=\ref[T]'>JMP</a>)</span>") + to_chat(M, "<span class='deadsay'><b>[mind.name]</b> has died at <b>[area_name]</b>. (<a href='byond://?src=[M.UID()];jump=\ref[T]'>JMP</a>)</span>") if(last_words) to_chat(M, "<span class='deadsay'><b>[p_their(TRUE)] last words were:</b> \"[last_words]\"</span>") diff --git a/code/modules/mob/living/living_say.dm b/code/modules/mob/living/living_say.dm index 8ada26d0baaa..955d72abde29 100644 --- a/code/modules/mob/living/living_say.dm +++ b/code/modules/mob/living/living_say.dm @@ -113,7 +113,10 @@ GLOBAL_LIST_EMPTY(channel_to_radio_key) if(sanitize) if(speaks_ooc) - message = sanitize(message) + if(GLOB.configuration.general.enable_ooc_emoji) + message = emoji_parse(sanitize(message)) + else + message = sanitize(message) else message = sanitize_for_ic(message) diff --git a/code/modules/mob/living/silicon/ai/ai_mob.dm b/code/modules/mob/living/silicon/ai/ai_mob.dm index 06d2bbbef4ff..f707fe927a95 100644 --- a/code/modules/mob/living/silicon/ai/ai_mob.dm +++ b/code/modules/mob/living/silicon/ai/ai_mob.dm @@ -296,8 +296,8 @@ GLOBAL_LIST_INIT(ai_verbs_default, list( status_tab_data = show_borg_info(status_tab_data) /mob/living/silicon/ai/proc/ai_alerts() - var/list/dat = list("<meta charset='utf-8'><head><title>Current Station Alerts</title><meta http-equiv='Refresh' content='10'></head><body>\n") - dat += "<a href='?src=[UID()];mach_close=aialerts'>Close</a><br><br>" + var/list/dat = list("<!DOCTYPE html><meta charset='utf-8'><head><title>Current Station Alerts</title><meta http-equiv='Refresh' content='10'></head><body>\n") + dat += "<a href='byond://?src=[UID()];mach_close=aialerts'>Close</a><br><br>" var/list/list/temp_alarm_list = GLOB.alarm_manager.alarms.Copy() for(var/cat in temp_alarm_list) if(!(cat in alarms_listend_for)) @@ -320,7 +320,7 @@ GLOBAL_LIST_INIT(ai_verbs_default, list( for(var/cam in C) var/obj/machinery/camera/I = locateUID(cam) if(!QDELETED(I)) - dat2 += "[(dat2 == "") ? "" : " | "]<a href=?src=[UID()];switchcamera=[cam]>[I.c_tag]</A>" + dat2 += "[(dat2 == "") ? "" : " | "]<a href=byond://?src=[UID()];switchcamera=[cam]>[I.c_tag]</A>" dat += "-- [area_name] ([(dat2 != "") ? dat2 : "No Camera"])" else dat += "-- [area_name] (No Camera)" @@ -834,7 +834,7 @@ GLOBAL_LIST_INIT(ai_verbs_default, list( var/d var/area/bot_area - d += "<A HREF=?src=[UID()];botrefresh=\ref[Bot]>Query network status</A><br>" + d += "<A href=byond://?src=[UID()];botrefresh=\ref[Bot]>Query network status</A><br>" d += "<table width='100%'><tr><td width='40%'><h3>Name</h3></td><td width='20%'><h3>Status</h3></td><td width='30%'><h3>Location</h3></td><td width='10%'><h3>Control</h3></td></tr>" for(var/mob/living/simple_animal/bot/Bot in GLOB.bots_list) @@ -844,8 +844,8 @@ GLOBAL_LIST_INIT(ai_verbs_default, list( //If the bot is on, it will display the bot's current mode status. If the bot is not mode, it will just report "Idle". "Inactive if it is not on at all. d += "<td width='20%'>[Bot.on ? "[Bot.mode ? "<span class='average'>[ Bot.mode_name[Bot.mode] ]</span>": "<span class='good'>Idle</span>"]" : "<span class='bad'>Inactive</span>"]</td>" d += "<td width='30%'>[bot_area.name]</td>" - d += "<td width='10%'><A HREF=?src=[UID()];interface=\ref[Bot]>Interface</A></td>" - d += "<td width='10%'><A HREF=?src=[UID()];callbot=\ref[Bot]>Call</A></td>" + d += "<td width='10%'><A href=byond://?src=[UID()];interface=\ref[Bot]>Interface</A></td>" + d += "<td width='10%'><A href=byond://?src=[UID()];callbot=\ref[Bot]>Call</A></td>" d += "</tr>" d = format_text(d) @@ -884,14 +884,14 @@ GLOBAL_LIST_INIT(ai_verbs_default, list( if(O) var/obj/machinery/camera/C = locateUID(O[1]) if(O.len == 1 && !QDELETED(C) && C.can_use()) - queueAlarm("--- [class] alarm detected in [A.name]! (<A HREF=?src=[UID()];switchcamera=[O[1]]>[C.c_tag]</A>)", class) + queueAlarm("--- [class] alarm detected in [A.name]! (<A href=byond://?src=[UID()];switchcamera=[O[1]]>[C.c_tag]</A>)", class) else if(O && O.len) var/foo = 0 var/dat2 = "" for(var/thing in O) var/obj/machinery/camera/I = locateUID(thing) if(!QDELETED(I)) - dat2 += "[(!foo) ? "" : " | "]<A HREF=?src=[UID()];switchcamera=[thing]>[I.c_tag]</A>" //I'm not fixing this shit... + dat2 += "[(!foo) ? "" : " | "]<A href=byond://?src=[UID()];switchcamera=[thing]>[I.c_tag]</A>" //I'm not fixing this shit... foo = 1 queueAlarm(text ("--- [] alarm detected in []! ([])", class, A.name, dat2), class) else @@ -1547,7 +1547,7 @@ GLOBAL_LIST_INIT(ai_verbs_default, list( /mob/living/silicon/ai/ghostize(can_reenter_corpse) var/old_turf = get_turf(eyeobj) . = ..() - if(isobserver(.)) + if(isobserver(.) && old_turf) var/mob/dead/observer/ghost = . ghost.forceMove(old_turf) diff --git a/code/modules/mob/living/silicon/ai/ai_say.dm b/code/modules/mob/living/silicon/ai/ai_say.dm index 99f16c1228fb..5f9535b43c18 100644 --- a/code/modules/mob/living/silicon/ai/ai_say.dm +++ b/code/modules/mob/living/silicon/ai/ai_say.dm @@ -99,7 +99,7 @@ GLOBAL_VAR_INIT(announcing_vox, 0) // Stores the time of the last announcement var/list/localdat = list() var/uid_cache = UID() // Saves proc jumping for(var/word in word_list) - localdat += "<a href='?src=[uid_cache];say_word=[word]'>[word]</a>" + localdat += "<a href='byond://?src=[uid_cache];say_word=[word]'>[word]</a>" return localdat.Join(" / ") /mob/living/silicon/ai/proc/ai_announcement() diff --git a/code/modules/mob/living/silicon/pai/recruit.dm b/code/modules/mob/living/silicon/pai/recruit.dm index 47b33f22361a..fb46219f6e7d 100644 --- a/code/modules/mob/living/silicon/pai/recruit.dm +++ b/code/modules/mob/living/silicon/pai/recruit.dm @@ -354,7 +354,7 @@ GLOBAL_DATUM_INIT(paiController, /datum/paiController, new) // Global handler fo if(O.client && (ROLE_PAI in O.client.prefs.be_special)) if(player_old_enough_antag(O.client,ROLE_PAI)) if(check_recruit(O)) - to_chat(O, "<span class='boldnotice'>A pAI card activated by [user.real_name] is looking for personalities. (<a href='?src=[O.UID()];jump=\ref[P]'>Teleport</a> | <a href='?src=[UID()];signup=\ref[O]'>Sign Up</a>)</span>") + to_chat(O, "<span class='boldnotice'>A pAI card activated by [user.real_name] is looking for personalities. (<a href='byond://?src=[O.UID()];jump=\ref[P]'>Teleport</a> | <a href='byond://?src=[UID()];signup=\ref[O]'>Sign Up</a>)</span>") //question(O.client) /datum/paiController/proc/check_recruit(mob/dead/observer/O) diff --git a/code/modules/mob/living/silicon/silicon_mob.dm b/code/modules/mob/living/silicon/silicon_mob.dm index e2f7253cda58..9a374ea0f880 100644 --- a/code/modules/mob/living/silicon/silicon_mob.dm +++ b/code/modules/mob/living/silicon/silicon_mob.dm @@ -169,7 +169,7 @@ if(alarm_types_show["Power"]) msg += "POWER: [alarm_types_show["Power"]] alarms detected. - " - msg += "<A href=?src=[UID()];showalerts=1'>\[Show Alerts\]</a>" + msg += "<A href=byond://?src=[UID()];showalerts=1'>\[Show Alerts\]</a>" var/msg_text = msg.Join("") to_chat(src, msg_text) @@ -192,7 +192,7 @@ if(alarm_types_clear["Power"]) msg += "POWER: [alarm_types_clear["Power"]] alarms cleared. - " - msg += "<A href=?src=[UID()];showalerts=1'>\[Show Alerts\]</a>" + msg += "<A href=byond://?src=[UID()];showalerts=1'>\[Show Alerts\]</a>" var/msg_text = msg.Join("") to_chat(src, msg_text) diff --git a/code/modules/mob/living/simple_animal/bot/bot.dm b/code/modules/mob/living/simple_animal/bot/bot.dm index 6b97ad331db8..9c8819b2a11d 100644 --- a/code/modules/mob/living/simple_animal/bot/bot.dm +++ b/code/modules/mob/living/simple_animal/bot/bot.dm @@ -1011,9 +1011,9 @@ Pass a positive integer as an argument to override a bot's default speed. var/hack if(issilicon(user) || user.can_admin_interact()) // Allows silicons or admins to toggle the emag status of a bot. hack += "[emagged ? "Software compromised! Unit may exhibit dangerous or erratic behavior." : "Unit operating normally. Release safety lock?"]<BR>" - hack += "Harm Prevention Safety System: <A href='?src=[UID()];operation=hack'>[emagged ? "<span class='bad'>DANGER</span>" : "Engaged"]</A><BR>" + hack += "Harm Prevention Safety System: <A href='byond://?src=[UID()];operation=hack'>[emagged ? "<span class='bad'>DANGER</span>" : "Engaged"]</A><BR>" else if(!locked) // Humans with access can use this option to hide a bot from the AI's remote control panel and PDA control. - hack += "Remote network control radio: <A href='?src=[UID()];operation=remote'>[remote_disabled ? "Disconnected" : "Connected"]</A><BR>" + hack += "Remote network control radio: <A href='byond://?src=[UID()];operation=remote'>[remote_disabled ? "Disconnected" : "Connected"]</A><BR>" return hack /mob/living/simple_animal/bot/proc/showpai(mob/user) @@ -1023,9 +1023,9 @@ Pass a positive integer as an argument to override a bot's default speed. eject += "Personality card status: " if(paicard) if(client) - eject += "<A href='?src=[UID()];operation=ejectpai'>Active</A>" + eject += "<A href='byond://?src=[UID()];operation=ejectpai'>Active</A>" else - eject += "<A href='?src=[UID()];operation=ejectpai'>Inactive</A>" + eject += "<A href='byond://?src=[UID()];operation=ejectpai'>Inactive</A>" else if(!allow_pai || key) eject += "Unavailable" else @@ -1099,6 +1099,8 @@ Pass a positive integer as an argument to override a bot's default speed. to_chat(src, "0. [paicard.pai.pai_law0]") if(emagged) to_chat(src, "<span class='danger'>1. #$!@#$32K#$</span>") + else if(HAS_TRAIT(src, TRAIT_CMAGGED)) + to_chat(src, "<span class='sans'>1. Be funny.</span>") else to_chat(src, "1. You are a machine built to serve the station's crew and AI(s).") to_chat(src, "2. Your function is to [bot_purpose].") diff --git a/code/modules/mob/living/simple_animal/bot/honkbot.dm b/code/modules/mob/living/simple_animal/bot/honkbot.dm index 8f118b1a0591..00c6667b5e97 100644 --- a/code/modules/mob/living/simple_animal/bot/honkbot.dm +++ b/code/modules/mob/living/simple_animal/bot/honkbot.dm @@ -130,6 +130,29 @@ playsound(src, 'sound/machines/honkbot_evil_laugh.ogg', 75, 1, -1) // evil laughter update_icon() +/mob/living/simple_animal/bot/honkbot/cmag_act(mob/user) + if(HAS_TRAIT(src, TRAIT_CMAGGED)) + return + if(locked || !open) + to_chat(user, "<span class='warning'>Unlock and open it with a screwdriver first!</span>") + return FALSE + + ADD_TRAIT(src, TRAIT_CMAGGED, CLOWN_EMAG) + remote_disabled = TRUE + locked = TRUE + open = FALSE + bot_reset() + turn_on() + if(user) + to_chat(user, "<span class='notice'>You smear bananium ooze all over [src]'s circuitry!</span>") + add_attack_logs(user, src, "Cmagged") + show_laws() + +/mob/living/simple_animal/bot/honkbot/examine(mob/user) + . = ..() + if(HAS_TRAIT(src, TRAIT_CMAGGED)) + . += "<span class='warning'>Yellow ooze seems to be seeping from the case...</span>" + /mob/living/simple_animal/bot/honkbot/bullet_act(obj/item/projectile/Proj) if((istype(Proj,/obj/item/projectile/beam)) || (istype(Proj,/obj/item/projectile/bullet) && (Proj.damage_type == BURN))||(Proj.damage_type == BRUTE) && (!Proj.nodamage && Proj.damage < health && ishuman(Proj.firer))) retaliate(Proj.firer) @@ -180,34 +203,57 @@ sensor_blink() addtimer(VARSET_CALLBACK(src, spam_flag, FALSE), cooldowntimehorn) +/mob/living/simple_animal/bot/honkbot/proc/cuff_callback(mob/living/carbon/C) + mode = BOT_ARREST + sleep(1 SECONDS) + playsound(loc, 'sound/weapons/cablecuff.ogg', 30, TRUE, -2) + C.visible_message("<span class='danger'>[src] is trying to put zipties on [C]!</span>", + "<span class='userdanger'>[src] is trying to put zipties on you!</span>") + if(!do_after(src, 6 SECONDS, target = C) || !on) + mode = BOT_IDLE + return + if(!C.handcuffed) + C.handcuffed = new /obj/item/restraints/handcuffs/twimsts(C) + C.update_handcuffed() + C.SetDeaf(0) + playsound(loc, pick('sound/voice/bgod.ogg', 'sound/voice/biamthelaw.ogg', 'sound/voice/bsecureday.ogg', 'sound/voice/bradio.ogg', 'sound/voice/bcreep.ogg'), 50, FALSE) + mode = BOT_IDLE + /mob/living/simple_animal/bot/honkbot/proc/stun_attack(mob/living/carbon/C) // airhorn stun - if(!spam_flag) - playsound(src, 'sound/items/AirHorn.ogg', 100, TRUE, -1) //HEEEEEEEEEEEENK!! - sensor_blink() - if(!spam_flag) - if(ishuman(C)) - var/mob/living/carbon/human/H = C - if(H.check_ear_prot() >= HEARING_PROTECTION_MAJOR) - return - C.SetStuttering(40 SECONDS) //stammer - C.Deaf(5 SECONDS) //far less damage than the H.O.N.K. - C.Jitter(100 SECONDS) - C.Weaken(10 SECONDS) - if(client) //prevent spam from players.. - spam_flag = TRUE - if(!emagged) //HONK once, then leave - threatlevel -= 6 - target = oldtarget_name - else // you really don't want to hit an emagged honkbot - threatlevel = 6 // will never let you go - addtimer(VARSET_CALLBACK(src, spam_flag, FALSE), cooldowntimehorn) - add_attack_logs(src, C, "honked by [src]") - C.visible_message("<span class='danger'>[src] has honked [C]!</span>",\ - "<span class='userdanger'>[src] has honked you!</span>") - else - C.Stuttering(40 SECONDS) - C.Stun(20 SECONDS) - addtimer(VARSET_CALLBACK(src, spam_flag, FALSE), cooldowntimehorn) + if(spam_flag) + return + playsound(src, 'sound/items/AirHorn.ogg', 100, TRUE, -1) //HEEEEEEEEEEEENK!! + sensor_blink() + + if(HAS_TRAIT(src, TRAIT_CMAGGED)) + var/area/location = get_area(src) + speak("Arresting level 4 scumbag <b>[C]</b> in [location].", radio_channel) + + if(!ishuman(C)) + C.Stuttering(40 SECONDS) + C.Stun(20 SECONDS) + addtimer(VARSET_CALLBACK(src, spam_flag, FALSE), cooldowntimehorn) + return + var/mob/living/carbon/human/H = C + if(H.check_ear_prot() >= HEARING_PROTECTION_MAJOR) + return + C.SetStuttering(40 SECONDS) //stammer + C.Deaf(5 SECONDS) //far less damage than the H.O.N.K. + C.Jitter(100 SECONDS) + C.Weaken(10 SECONDS) + if(client) //prevent spam from players.. + spam_flag = TRUE + if(!emagged) //HONK once, then leave + threatlevel -= 6 + target = oldtarget_name + else // you really don't want to hit an emagged honkbot + threatlevel = 6 // will never let you go + addtimer(VARSET_CALLBACK(src, spam_flag, FALSE), cooldowntimehorn) + add_attack_logs(src, C, "honked by [src]") + C.visible_message("<span class='danger'>[src] has honked [C]!</span>", + "<span class='userdanger'>[src] has honked you!</span>") + if(HAS_TRAIT(src, TRAIT_CMAGGED)) + INVOKE_ASYNC(src, PROC_REF(cuff_callback), C) /mob/living/simple_animal/bot/honkbot/handle_automated_action() @@ -237,9 +283,9 @@ honk_attack(target) else if(threatlevel >= 6) + target_lastloc = target.loc stun_attack(target) anchored = FALSE - target_lastloc = target.loc return try_chasing_target(target) @@ -278,6 +324,8 @@ if((C.name == oldtarget_name) && (world.time < last_found + 100)) continue + if(HAS_TRAIT(src, TRAIT_CMAGGED)) + threatlevel = 6 if(threatlevel < 4) if(emagged) // actually emagged bike_horn() @@ -292,8 +340,13 @@ target = C oldtarget_name = C.name bike_horn() - speak("Honk!") - visible_message("<b>[src]</b> starts chasing [C.name]!") + if(HAS_TRAIT(src, TRAIT_CMAGGED)) + speak("Level 4 infraction alert!") + playsound(loc, pick('sound/voice/bcriminal.ogg', 'sound/voice/bjustice.ogg', 'sound/voice/bfreeze.ogg'), 50, FALSE) + visible_message("<b>[src]</b> points at [C.name]!") + else + speak("Honk!") + visible_message("<b>[src]</b> starts chasing [C.name]!") mode = BOT_HUNT INVOKE_ASYNC(src, PROC_REF(handle_automated_action)) return TRUE diff --git a/code/modules/mob/living/simple_animal/bot/medbot.dm b/code/modules/mob/living/simple_animal/bot/medbot.dm index 34a63ac5db40..66251a3dd9e1 100644 --- a/code/modules/mob/living/simple_animal/bot/medbot.dm +++ b/code/modules/mob/living/simple_animal/bot/medbot.dm @@ -273,7 +273,7 @@ /mob/living/simple_animal/bot/medbot/process_scan(mob/living/carbon/human/H) if(buckled) if((last_warning + 300) < world.time) - speak("<span class='danger'>Movement restrained! Unit on standby!</span>") + speak("Movement restrained! Unit on standby!") playsound(loc, 'sound/machines/buzz-two.ogg', 50, FALSE) last_warning = world.time return diff --git a/code/modules/mob/living/simple_animal/bot/mulebot.dm b/code/modules/mob/living/simple_animal/bot/mulebot.dm index 6036614248d4..221ca0d017d1 100644 --- a/code/modules/mob/living/simple_animal/bot/mulebot.dm +++ b/code/modules/mob/living/simple_animal/bot/mulebot.dm @@ -305,31 +305,31 @@ dat += "<b>Power level:</b> [cell ? cell.percent() : 0]%" if(locked && !ai && !user.can_admin_interact()) - dat += " <br /><div class='notice'>Controls are locked</div><A href='?src=[UID()];op=unlock'>Unlock Controls</A>" + dat += " <br /><div class='notice'>Controls are locked</div><A href='byond://?src=[UID()];op=unlock'>Unlock Controls</A>" else - dat += " <br /><div class='notice'>Controls are unlocked</div><A href='?src=[UID()];op=lock'>Lock Controls</A><BR><BR>" - - dat += "<A href='?src=[UID()];op=power'>Toggle Power</A><BR>" - dat += "<A href='?src=[UID()];op=stop'>Stop</A><BR>" - dat += "<A href='?src=[UID()];op=go'>Proceed</A><BR>" - dat += "<A href='?src=[UID()];op=home'>Return to Home</A><BR>" - dat += "<A href='?src=[UID()];op=destination'>Set Destination</A><BR>" - dat += "<A href='?src=[UID()];op=setid'>Set Bot ID</A><BR>" - dat += "<A href='?src=[UID()];op=sethome'>Set Home</A><BR>" - dat += "<A href='?src=[UID()];op=autoret'>Toggle Auto Return Home</A> ([auto_return ? "On":"Off"])<BR>" - dat += "<A href='?src=[UID()];op=autopick'>Toggle Auto Pickup Crate</A> ([auto_pickup ? "On":"Off"])<BR>" - dat += "<A href='?src=[UID()];op=report'>Toggle Delivery Reporting</A> ([report_delivery ? "On" : "Off"])<BR>" + dat += " <br /><div class='notice'>Controls are unlocked</div><A href='byond://?src=[UID()];op=lock'>Lock Controls</A><BR><BR>" + + dat += "<A href='byond://?src=[UID()];op=power'>Toggle Power</A><BR>" + dat += "<A href='byond://?src=[UID()];op=stop'>Stop</A><BR>" + dat += "<A href='byond://?src=[UID()];op=go'>Proceed</A><BR>" + dat += "<A href='byond://?src=[UID()];op=home'>Return to Home</A><BR>" + dat += "<A href='byond://?src=[UID()];op=destination'>Set Destination</A><BR>" + dat += "<A href='byond://?src=[UID()];op=setid'>Set Bot ID</A><BR>" + dat += "<A href='byond://?src=[UID()];op=sethome'>Set Home</A><BR>" + dat += "<A href='byond://?src=[UID()];op=autoret'>Toggle Auto Return Home</A> ([auto_return ? "On":"Off"])<BR>" + dat += "<A href='byond://?src=[UID()];op=autopick'>Toggle Auto Pickup Crate</A> ([auto_pickup ? "On":"Off"])<BR>" + dat += "<A href='byond://?src=[UID()];op=report'>Toggle Delivery Reporting</A> ([report_delivery ? "On" : "Off"])<BR>" if(load) - dat += "<A href='?src=[UID()];op=unload'>Unload Now</A><BR>" + dat += "<A href='byond://?src=[UID()];op=unload'>Unload Now</A><BR>" dat += "<div class='notice'>The maintenance hatch is closed.</div>" else if(!ai) dat += "<div class='notice'>The maintenance hatch is open.</div><BR>" dat += "<b>Power cell:</b> " if(cell) - dat += "<A href='?src=[UID()];op=cellremove'>Installed</A><BR>" + dat += "<A href='byond://?src=[UID()];op=cellremove'>Installed</A><BR>" else - dat += "<A href='?src=[UID()];op=cellinsert'>Removed</A><BR>" + dat += "<A href='byond://?src=[UID()];op=cellinsert'>Removed</A><BR>" wires.Interact(user) else diff --git a/code/modules/mob/living/simple_animal/hostile/bees.dm b/code/modules/mob/living/simple_animal/hostile/bees.dm index 68bb9bc7b5f1..e501bf3d5284 100644 --- a/code/modules/mob/living/simple_animal/hostile/bees.dm +++ b/code/modules/mob/living/simple_animal/hostile/bees.dm @@ -7,7 +7,6 @@ #define BEE_POLLINATE_YIELD_CHANCE 33 #define BEE_POLLINATE_PEST_CHANCE 33 -#define BEE_POLLINATE_POTENCY_CHANCE 50 /mob/living/simple_animal/hostile/poison/bees name = "bee" @@ -212,11 +211,8 @@ Hydro.adjustHealth(growth*0.5) if(prob(BEE_POLLINATE_PEST_CHANCE)) Hydro.adjustPests(-10) - if(prob(BEE_POLLINATE_YIELD_CHANCE)) - Hydro.myseed.adjust_yield(1) + if(prob(BEE_POLLINATE_YIELD_CHANCE) && !Hydro.self_sustaining) Hydro.yieldmod = 2 - if(prob(BEE_POLLINATE_POTENCY_CHANCE)) - Hydro.myseed.adjust_potency(1) if(beehome) beehome.bee_resources = min(beehome.bee_resources + growth, 100) @@ -393,4 +389,3 @@ #undef BEE_DEFAULT_COLOUR #undef BEE_POLLINATE_YIELD_CHANCE #undef BEE_POLLINATE_PEST_CHANCE -#undef BEE_POLLINATE_POTENCY_CHANCE diff --git a/code/modules/mob/living/simple_animal/hostile/giant_spider.dm b/code/modules/mob/living/simple_animal/hostile/giant_spider.dm index daba2b30db15..02a22268efed 100644 --- a/code/modules/mob/living/simple_animal/hostile/giant_spider.dm +++ b/code/modules/mob/living/simple_animal/hostile/giant_spider.dm @@ -65,7 +65,7 @@ icon_state = "nurse" icon_living = "nurse" icon_dead = "nurse_dead" - butcher_results = list(/obj/item/food/snacks/monstermeat/spidermeat= 2, /obj/item/food/snacks/monstermeat/spiderleg= 8, /obj/item/food/snacks/monstermeat/spidereggs= 4) + butcher_results = list(/obj/item/food/snacks/monstermeat/spidermeat = 2, /obj/item/food/snacks/monstermeat/spiderleg = 8, /obj/item/food/snacks/monstermeat/spidereggs = 4) maxHealth = 40 health = 40 diff --git a/code/modules/mob/living/simple_animal/hostile/hostile.dm b/code/modules/mob/living/simple_animal/hostile/hostile.dm index 4f4862be4cc6..db9ea7ed9d0e 100644 --- a/code/modules/mob/living/simple_animal/hostile/hostile.dm +++ b/code/modules/mob/living/simple_animal/hostile/hostile.dm @@ -349,6 +349,11 @@ walk(src, 0) LoseAggro() +/// Shortcut proc to allow initiating combat slightly faster than waiting for normal processing. +/mob/living/simple_animal/hostile/proc/aggro_fast(known_target) + FindTarget(list(known_target), TRUE) + MoveToTarget(list(known_target)) + //////////////END HOSTILE MOB TARGETTING AND AGGRESSION//////////// /mob/living/simple_animal/hostile/death(gibbed) @@ -358,16 +363,6 @@ return FALSE LoseTarget() -/mob/living/simple_animal/hostile/proc/summon_backup(distance) - do_alert_animation(src) - playsound(loc, 'sound/machines/chime.ogg', 50, 1, -1) - for(var/mob/living/simple_animal/hostile/M in oview(distance, targets_from)) - if(faction_check_mob(M, TRUE)) - if(M.AIStatus == AI_OFF) - return - else - M.Goto(src,M.move_to_delay,M.minimum_distance) - /mob/living/simple_animal/hostile/proc/CheckFriendlyFire(atom/A) if(check_friendly_fire) for(var/turf/T in get_line(src,A)) // Not 100% reliable but this is faster than simulating actual trajectory diff --git a/code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm b/code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm index b3260be8952c..84d615708625 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm @@ -154,7 +154,7 @@ While using this makes the system rely on OnFire, it still gives options for tim /obj/structure/elite_tumor name = "pulsing tumor" - desc = "An odd, pulsing tumor sticking out of the ground. You feel compelled to reach out and touch it..." + desc = "An odd, pulsing tumor sticking out of the ground. You feel compelled to reach out and touch it..." resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF icon = 'icons/obj/lavaland/tumor.dmi' icon_state = "tumor" @@ -192,12 +192,12 @@ While using this makes the system rely on OnFire, it still gives options for tim "<span class='warning'>You reach for [src] with your arm... but nothing happens.</span>") return activity = TUMOR_ACTIVE - user.visible_message("<span class='userdanger'>[src] convulses as [user]'s arm enters its radius. Uh-oh...</span>", - "<span class='userdanger'>[src] convulses as your arm enters its radius. Your instincts tell you to step back.</span>") + user.visible_message("<span class='userdanger'>[src] convulses as [user]'s arm enters its radius. Uh-oh...</span>", + "<span class='userdanger'>[src] convulses as your arm enters its radius. Your instincts tell you to step back.</span>") make_activator(user) if(boosted) mychild.playsound_local(get_turf(mychild), 'sound/magic/cult_spell.ogg', 40, 0) - to_chat(mychild, "<span class='warning'>Someone has activated your tumor. You will be returned to fight shortly, get ready!</span>") + to_chat(mychild, "<span class='warning'>Someone has activated your tumor. You will be returned to fight shortly, get ready!</span>") addtimer(CALLBACK(src, PROC_REF(return_elite)), 3 SECONDS) if(TUMOR_INACTIVE) if(HAS_TRAIT(src, TRAIT_ELITE_CHALLENGER)) @@ -219,12 +219,12 @@ While using this makes the system rely on OnFire, it still gives options for tim SEND_SOUND(elitemind, 'sound/magic/cult_spell.ogg') to_chat(elitemind, "<b>You have been chosen to play as a Lavaland Elite.\nIn a few seconds, you will be summoned on Lavaland as a monster to fight your activator, in a fight to the death.\n\ Your attacks can be switched using the buttons on the top left of the HUD, and used by clicking on targets or tiles similar to a gun.\n\ - While the opponent might have an upper hand with powerful mining equipment and tools, you have great power normally limited by AI mobs.\n\ + While the opponent might have an upper hand with powerful mining equipment and tools, you have great power normally limited by AI mobs.\n\ If you want to win, you'll have to use your powers in creative ways to ensure the kill. It's suggested you try using them all as soon as possible.\n\ Should you win, you'll receive extra information regarding what to do after. Good luck!</b>") addtimer(CALLBACK(src, PROC_REF(spawn_elite), elitemind), 10 SECONDS) else - visible_message("<span class='warning'>The stirring stops, and nothing emerges. Perhaps try again later.</span>") + visible_message("<span class='warning'>The stirring stops, and nothing emerges. Perhaps try again later.</span>") activity = TUMOR_INACTIVE clear_activator(user) @@ -237,7 +237,7 @@ While using this makes the system rely on OnFire, it still gives options for tim mychild.key = elitemind.key mychild.sentience_act() dust_if_respawnable(elitemind) - notify_ghosts("\A [mychild] has been awakened in \the [get_area(src)]!", enter_link="<a href=?src=[UID()];follow=1>(Click to help)</a>", source = mychild, action = NOTIFY_FOLLOW) + notify_ghosts("\A [mychild] has been awakened in \the [get_area(src)]!", enter_link="<a href=byond://?src=[UID()];follow=1>(Click to help)</a>", source = mychild, action = NOTIFY_FOLLOW) icon_state = "tumor_popped" RegisterSignal(mychild, COMSIG_PARENT_QDELETING, PROC_REF(onEliteLoss)) INVOKE_ASYNC(src, PROC_REF(arena_checks)) @@ -252,7 +252,7 @@ While using this makes the system rely on OnFire, it still gives options for tim mychild.maxHealth = mychild.maxHealth * 2.5 mychild.health = mychild.maxHealth mychild.grab_ghost() - notify_ghosts("\A [mychild] has been challenged in \the [get_area(src)]!", enter_link="<a href=?src=[UID()];follow=1>(Click to help)</a>", source = mychild, action = NOTIFY_FOLLOW) + notify_ghosts("\A [mychild] has been challenged in \the [get_area(src)]!", enter_link="<a href=byond://?src=[UID()];follow=1>(Click to help)</a>", source = mychild, action = NOTIFY_FOLLOW) INVOKE_ASYNC(src, PROC_REF(arena_checks)) AddComponent(/datum/component/proximity_monitor, ARENA_RADIUS) @@ -399,7 +399,7 @@ While using this makes the system rely on OnFire, it still gives options for tim SSblackbox.record_feedback("tally", "ai_controlled_elite_win", 1, mychild.name) if(times_won == 1) mychild.playsound_local(get_turf(mychild), 'sound/magic/cult_spell.ogg', 40, 0) - to_chat(mychild, "<span class='warning'><As the life in the activator's eyes fade, the forcefield around you dies out and you feel your power subside.\n\ + to_chat(mychild, "<span class='warning'>As the life in the activator's eyes fade, the forcefield around you dies out and you feel your power subside.\n\ Despite this inferno being your home, you feel as if you aren't welcome here anymore.\n\ Without any guidance, your purpose is now for you to decide.</span>") to_chat(mychild, "<b>Your max health has been halved, but can now heal by standing on your tumor. Note, it's your only way to heal.\n\ @@ -430,8 +430,8 @@ While using this makes the system rely on OnFire, it still gives options for tim E.revive() user.visible_message("<span class='notice'>[user] stabs [E] with [src], reviving it.</span>") SEND_SOUND(E, 'sound/magic/cult_spell.ogg') - to_chat(E, "<span class='userdanger'>You have been revived by [user], and you owe [user] a great debt. Assist [user.p_them()] in achieving [user.p_their()] goals, regardless of risk.</span>") - to_chat(E, "<span class='big bold'>Note that you now share the loyalties of [user]. You are expected not to intentionally sabotage their faction unless commanded to!</span>") + to_chat(E, "<span class='userdanger'>You have been revived by [user], and you owe [user] a great debt. Assist [user.p_them()] in achieving [user.p_their()] goals, regardless of risk.</span>") + to_chat(E, "<span class='big bold'>Note that you now share the loyalties of [user]. You are expected not to intentionally sabotage their faction unless commanded to!</span>") if(user.mind.special_role) E.maxHealth = 300 E.health = 300 diff --git a/code/modules/mob/living/simple_animal/hostile/terror_spiders/terror_spiders.dm b/code/modules/mob/living/simple_animal/hostile/terror_spiders/terror_spiders.dm index f9bf105509da..34a0463a577f 100644 --- a/code/modules/mob/living/simple_animal/hostile/terror_spiders/terror_spiders.dm +++ b/code/modules/mob/living/simple_animal/hostile/terror_spiders/terror_spiders.dm @@ -294,7 +294,7 @@ GLOBAL_LIST_EMPTY(ts_infected_list) notify_ghosts("[src] (player controlled) has appeared in [get_area(src)].") else if(ai_playercontrol_allowtype) var/image/alert_overlay = image('icons/mob/terrorspider.dmi', icon_state) - notify_ghosts("[src] has appeared in [get_area(src)].", enter_link = "<a href=?src=[UID()];activate=1>(Click to control)</a>", source = src, alert_overlay = alert_overlay, action = NOTIFY_ATTACK) + notify_ghosts("[src] has appeared in [get_area(src)].", enter_link = "<a href=byond://?src=[UID()];activate=1>(Click to control)</a>", source = src, alert_overlay = alert_overlay, action = NOTIFY_ATTACK) /mob/living/simple_animal/hostile/poison/terror_spider/Destroy() GLOB.ts_spiderlist -= src diff --git a/code/modules/mob/mob_login_base.dm b/code/modules/mob/mob_login_base.dm index 82edfec0b47e..bae72a943d38 100644 --- a/code/modules/mob/mob_login_base.dm +++ b/code/modules/mob/mob_login_base.dm @@ -23,10 +23,10 @@ alert("You have logged in already with another key this round, please log out of this one NOW or risk being banned!") if(matches) if(M.client) - message_admins("<font color='red'><B>Notice: </B><font color='#EB4E00'><A href='?src=[usr.UID()];priv_msg=[src.client.ckey]'>[key_name_admin(src)]</A> has the same [matches] as <A href='?src=[usr.UID()];priv_msg=[M.client.ckey]'>[key_name_admin(M)]</A>.</font>", 1) + message_admins("<font color='red'><B>Notice: </B><font color='#EB4E00'><A href='byond://?src=[usr.UID()];priv_msg=[src.client.ckey]'>[key_name_admin(src)]</A> has the same [matches] as <A href='byond://?src=[usr.UID()];priv_msg=[M.client.ckey]'>[key_name_admin(M)]</A>.</font>", 1) log_adminwarn("Notice: [key_name(src)] has the same [matches] as [key_name(M)].") else - message_admins("<font color='red'><B>Notice: </B><font color='#EB4E00'><A href='?src=[usr.UID()];priv_msg=[src.client.ckey]'>[key_name_admin(src)]</A> has the same [matches] as [key_name_admin(M)] (no longer logged in). </font>", 1) + message_admins("<font color='red'><B>Notice: </B><font color='#EB4E00'><A href='byond://?src=[usr.UID()];priv_msg=[src.client.ckey]'>[key_name_admin(src)]</A> has the same [matches] as [key_name_admin(M)] (no longer logged in). </font>", 1) log_adminwarn("Notice: [key_name(src)] has the same [matches] as [key_name(M)] (no longer logged in).") /mob/Login() diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm index fa40a2ef7316..7c389e5cd0dc 100644 --- a/code/modules/mob/new_player/new_player.dm +++ b/code/modules/mob/new_player/new_player.dm @@ -31,7 +31,7 @@ privacy_consent() /mob/new_player/proc/privacy_consent() - var/output = GLOB.join_tos + var/output = "<!DOCTYPE html>[GLOB.join_tos]" // Dont blank out the other window. This one is read only. if(!GLOB.configuration.system.external_tos_handler) src << browse(null, "window=playersetup") diff --git a/code/modules/newscaster/obj/newspaper.dm b/code/modules/newscaster/obj/newspaper.dm index 2f6f48a0df98..f2afb5f0e3d0 100644 --- a/code/modules/newscaster/obj/newspaper.dm +++ b/code/modules/newscaster/obj/newspaper.dm @@ -43,7 +43,7 @@ return if(ishuman(user)) var/mob/living/carbon/human/human_user = user - var/dat = {"<meta charset="UTF-8">"} + var/dat = {"<!DOCTYPE html><meta charset="UTF-8">"} pages = 0 switch(screen) if(SCREEN_COVER) //Cover @@ -67,7 +67,7 @@ dat += "</ul>" if(scribble_page==curr_page) dat += "<br><i>There is a small scribble near the end of this page... It reads: \"[scribble]\"</i>" - dat+= "<hr><div style='float:right;'><a href='?src=[UID()];next_page=1'>Next Page</a></div> <div style='float:left;'><a href='?src=[human_user.UID()];mach_close=newspaper_main'>Done reading</a></div>" + dat+= "<hr><div style='float:right;'><a href='byond://?src=[UID()];next_page=1'>Next Page</a></div> <div style='float:left;'><a href='byond://?src=[human_user.UID()];mach_close=newspaper_main'>Done reading</a></div>" if(SCREEN_PAGE_INNER) // X channel pages inbetween. for(var/datum/feed_channel/NP in news_content) pages++ //Let's get it right again. @@ -94,7 +94,7 @@ dat += "</ul>" if(scribble_page==curr_page) dat += "<br><i>There is a small scribble near the end of this page... It reads: \"[scribble]\"</i>" - dat+= "<br><hr><div style='float:left;'><a href='?src=[UID()];prev_page=1'>Previous Page</a></div> <div style='float:right;'><a href='?src=[UID()];next_page=1'>Next Page</a></div>" + dat+= "<br><hr><div style='float:left;'><a href='byond://?src=[UID()];prev_page=1'>Previous Page</a></div> <div style='float:right;'><a href='byond://?src=[UID()];next_page=1'>Next Page</a></div>" if(SCREEN_PAGE_LAST) //Last page for(var/datum/feed_channel/NP in news_content) pages++ @@ -112,7 +112,7 @@ dat += "<i>Apart from some uninteresting Classified ads, there's nothing on this page...</i>" if(scribble_page==curr_page) dat += "<br><i>There is a small scribble near the end of this page... It reads: \"[scribble]\"</i>" - dat+= "<hr><div style='float:left;'><a href='?src=[UID()];prev_page=1'>Previous Page</a></div>" + dat+= "<hr><div style='float:left;'><a href='byond://?src=[UID()];prev_page=1'>Previous Page</a></div>" else // No trailing punctuation so that it's easy to copy and paste the address if(GLOB.configuration.url.github_url) diff --git a/code/modules/paperwork/clipboard.dm b/code/modules/paperwork/clipboard.dm index de6a3e6df262..4029e767f613 100644 --- a/code/modules/paperwork/clipboard.dm +++ b/code/modules/paperwork/clipboard.dm @@ -66,14 +66,14 @@ /obj/item/clipboard/proc/showClipboard(mob/user) //Show them what's on the clipboard var/dat = "<title>[src]</title>" - dat += "<a href='?src=[UID()];doPenThings=[containedpen ? "Remove" : "Add"]'>[containedpen ? "Remove pen" : "Add pen"]</a><br><hr>" + dat += "<a href='byond://?src=[UID()];doPenThings=[containedpen ? "Remove" : "Add"]'>[containedpen ? "Remove pen" : "Add pen"]</a><br><hr>" if(toppaper) - dat += "<a href='?src=[UID()];remove=\ref[toppaper]'>Remove</a><a href='?src=[UID()];viewOrWrite=\ref[toppaper]'>[toppaper.name]</a><br><hr>" + dat += "<a href='byond://?src=[UID()];remove=\ref[toppaper]'>Remove</a><a href='byond://?src=[UID()];viewOrWrite=\ref[toppaper]'>[toppaper.name]</a><br><hr>" for(var/obj/item/P in src) if(isPaperwork(P) == PAPERWORK && P != toppaper) - dat += "<a href='?src=[UID()];remove=\ref[P]'>Remove</a><a href='?src=[UID()];topPaper=\ref[P]'>Put on top</a><a href='?src=[UID()];viewOrWrite=\ref[P]'>[P.name]</a><br>" + dat += "<a href='byond://?src=[UID()];remove=\ref[P]'>Remove</a><a href='byond://?src=[UID()];topPaper=\ref[P]'>Put on top</a><a href='byond://?src=[UID()];viewOrWrite=\ref[P]'>[P.name]</a><br>" if(isPaperwork(P) == PHOTO) - dat += "<a href='?src=[UID()];remove=\ref[P]'>Remove</a><a href='?src=[UID()];viewOrWrite=\ref[P]'>[P.name]</a><br>" + dat += "<a href='byond://?src=[UID()];remove=\ref[P]'>Remove</a><a href='byond://?src=[UID()];viewOrWrite=\ref[P]'>[P.name]</a><br>" var/datum/browser/popup = new(user, "clipboard", "[src]", 400, 400) popup.set_content(dat) popup.open() diff --git a/code/modules/paperwork/fax.dm b/code/modules/paperwork/fax.dm index 950b82e0119b..c8a08ca60696 100644 --- a/code/modules/paperwork/fax.dm +++ b/code/modules/paperwork/fax.dm @@ -30,8 +30,8 @@ GLOBAL_LIST_EMPTY(adminfaxes) return /datum/admins/proc/fax_panel(mob/living/user) - var/html = "<A align='right' href='?src=[UID()];refreshfaxpanel=1'>Refresh</A>" - html += "<A align='right' href='?src=[UID()];AdminFaxCreate=1;faxtype=Administrator'>Create Fax</A>" + var/html = "<A align='right' href='byond://?src=[UID()];refreshfaxpanel=1'>Refresh</A>" + html += "<A align='right' href='byond://?src=[UID()];AdminFaxCreate=1;faxtype=Administrator'>Create Fax</A>" html += "<div class='block'>" html += "<h2>Admin Faxes</h2>" @@ -48,16 +48,16 @@ GLOBAL_LIST_EMPTY(adminfaxes) html += "<td>[ADMIN_PP(S,"[S.name]")]</td>" else html += "<td>Unknown</td>" - html += "<td><A align='right' href='?src=[UID()];AdminFaxView=\ref[A.message]'>View</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];AdminFaxView=\ref[A.message]'>View</A></td>" if(!A.reply_to) if(A.from_department == "Administrator") html += "<td>N/A</td>" else - html += "<td><A align='right' href='?src=[UID()];AdminFaxCreate=\ref[A.sent_by];originfax=\ref[A.origin];faxtype=[A.to_department];replyto=\ref[A.message]'>Reply</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];AdminFaxCreate=\ref[A.sent_by];originfax=\ref[A.origin];faxtype=[A.to_department];replyto=\ref[A.message]'>Reply</A></td>" html += "<td>N/A</td>" else html += "<td>N/A</td>" - html += "<td><A align='right' href='?src=[UID()];AdminFaxView=\ref[A.reply_to]'>Original</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];AdminFaxView=\ref[A.reply_to]'>Original</A></td>" html += "</tr>" html += "</table>" html += "</div>" @@ -77,7 +77,7 @@ GLOBAL_LIST_EMPTY(adminfaxes) html += "<td>[ADMIN_PP(S,"[S.name]")]</td>" else html += "<td>Unknown</td>" - html += "<td><A align='right' href='?src=[UID()];AdminFaxView=\ref[F.message]'>View</A></td>" + html += "<td><A align='right' href='byond://?src=[UID()];AdminFaxView=\ref[F.message]'>View</A></td>" html += "</tr>" html += "</table>" html += "</div>" diff --git a/code/modules/paperwork/faxmachine.dm b/code/modules/paperwork/faxmachine.dm index 5c7d18eb303e..51a6c0a13a5e 100644 --- a/code/modules/paperwork/faxmachine.dm +++ b/code/modules/paperwork/faxmachine.dm @@ -372,7 +372,7 @@ GLOBAL_LIST_EMPTY(fax_blacklist) return round((sendcooldown - world.time) / 10) /obj/machinery/photocopier/faxmachine/proc/message_admins(mob/sender, faxname, faxtype, obj/item/sent, font_colour="#9A04D1") - var/msg = "<span class='boldnotice'><font color='[font_colour]'>[faxname]: </font> [key_name_admin(sender)] | REPLY: (<A HREF='?_src_=holder;[faxname == "SYNDICATE FAX" ? "SyndicateReply" : "CentcommReply"]=[sender.UID()]'>RADIO</A>) (<a href='?_src_=holder;AdminFaxCreate=\ref[sender];originfax=\ref[src];faxtype=[faxtype];replyto=\ref[sent]'>FAX</a>) ([ADMIN_SM(sender,"SM")]) | REJECT: (<A HREF='?_src_=holder;FaxReplyTemplate=[sender.UID()];originfax=\ref[src]'>TEMPLATE</A>) ([ADMIN_BSA(sender,"BSA")]) (<A HREF='?_src_=holder;EvilFax=[sender.UID()];originfax=\ref[src]'>EVILFAX</A>) </span>: Receiving '[sent.name]' via secure connection... <a href='?_src_=holder;AdminFaxView=\ref[sent]'>view message</a>" + var/msg = "<span class='boldnotice'><font color='[font_colour]'>[faxname]: </font> [key_name_admin(sender)] | REPLY: (<A href='byond://?_src_=holder;[faxname == "SYNDICATE FAX" ? "SyndicateReply" : "CentcommReply"]=[sender.UID()]'>RADIO</A>) (<a href='byond://?_src_=holder;AdminFaxCreate=\ref[sender];originfax=\ref[src];faxtype=[faxtype];replyto=\ref[sent]'>FAX</a>) ([ADMIN_SM(sender,"SM")]) | REJECT: (<A href='byond://?_src_=holder;FaxReplyTemplate=[sender.UID()];originfax=\ref[src]'>TEMPLATE</A>) ([ADMIN_BSA(sender,"BSA")]) (<A href='byond://?_src_=holder;EvilFax=[sender.UID()];originfax=\ref[src]'>EVILFAX</A>) </span>: Receiving '[sent.name]' via secure connection... <a href='byond://?_src_=holder;AdminFaxView=\ref[sent]'>view message</a>" var/fax_sound = sound('sound/effects/adminhelp.ogg') for(var/client/C in GLOB.admins) if(check_rights(R_EVENT, 0, C.mob)) diff --git a/code/modules/paperwork/folders.dm b/code/modules/paperwork/folders.dm index 0113e77452f8..d97c3d113150 100644 --- a/code/modules/paperwork/folders.dm +++ b/code/modules/paperwork/folders.dm @@ -46,16 +46,16 @@ return ..() /obj/item/folder/attack_self(mob/user as mob) - var/dat = {"<meta charset="UTF-8"><title>[name]</title>"} + var/dat = {"<!DOCTYPE html><meta charset="UTF-8"><title>[name]</title>"} for(var/obj/item/paper/P in src) - dat += "<a href='?src=[UID()];remove=\ref[P]'>Remove</a> - <a href='?src=[UID()];read=\ref[P]'>[P.name]</a><br>" + dat += "<a href='byond://?src=[UID()];remove=\ref[P]'>Remove</a> - <a href='byond://?src=[UID()];read=\ref[P]'>[P.name]</a><br>" for(var/obj/item/photo/Ph in src) - dat += "<A href='?src=[UID()];remove=\ref[Ph]'>Remove</A> - <A href='?src=[UID()];look=\ref[Ph]'>[Ph.name]</A><BR>" + dat += "<A href='byond://?src=[UID()];remove=\ref[Ph]'>Remove</A> - <A href='byond://?src=[UID()];look=\ref[Ph]'>[Ph.name]</A><BR>" for(var/obj/item/paper_bundle/Pa in src) - dat += "<A href='?src=[UID()];remove=\ref[Pa]'>Remove</A> - <A href='?src=[UID()];browse=\ref[Pa]'>[Pa.name]</A><BR>" + dat += "<A href='byond://?src=[UID()];remove=\ref[Pa]'>Remove</A> - <A href='byond://?src=[UID()];browse=\ref[Pa]'>[Pa.name]</A><BR>" for(var/obj/item/documents/doc in src) - dat += "<A href='?src=[UID()];remove=\ref[doc]'>Remove</A> - <A href='?src=[UID()];look=\ref[doc]'>[doc.name]</A><BR>" + dat += "<A href='byond://?src=[UID()];remove=\ref[doc]'>Remove</A> - <A href='byond://?src=[UID()];look=\ref[doc]'>[doc.name]</A><BR>" user << browse(dat, "window=folder") onclose(user, "folder") add_fingerprint(usr) diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index 4eee3e05dc93..dec1ff962b1e 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -261,10 +261,10 @@ /obj/item/paper/proc/updateinfolinks() info_links = info for(var/i in 1 to fields) - var/write_1 = "<font face=\"[deffont]\"><a href='?src=[UID()];write=[i]'>write</a></font>" - var/write_2 = "<font face=\"[deffont]\"><a href='?src=[UID()];auto_write=[i]'><span style=\"color: #409F47; font-size: 10px\">\[a\]</span></a></font>" + var/write_1 = "<font face=\"[deffont]\"><a href='byond://?src=[UID()];write=[i]'>write</a></font>" + var/write_2 = "<font face=\"[deffont]\"><a href='byond://?src=[UID()];auto_write=[i]'><span style=\"color: #409F47; font-size: 10px\">\[a\]</span></a></font>" addtofield(i, "[write_1][write_2]", 1) - info_links = info_links + "<font face=\"[deffont]\"><a href='?src=[UID()];write=end'>write</a></font>" + "<font face=\"[deffont]\"><a href='?src=[UID()];auto_write=end'><span style=\"color: #409F47; font-size: 10px\">\[a\]</span></a></font>" + info_links = info_links + "<font face=\"[deffont]\"><a href='byond://?src=[UID()];write=end'>write</a></font>" + "<font face=\"[deffont]\"><a href='byond://?src=[UID()];auto_write=end'><span style=\"color: #409F47; font-size: 10px\">\[a\]</span></a></font>" /obj/item/paper/proc/clearpaper() info = null diff --git a/code/modules/paperwork/paper_bundle.dm b/code/modules/paperwork/paper_bundle.dm index f23626c0e758..96f7b7ecf4f8 100644 --- a/code/modules/paperwork/paper_bundle.dm +++ b/code/modules/paperwork/paper_bundle.dm @@ -105,20 +105,20 @@ . += "<span class='notice'>It is too far away.</span>" /obj/item/paper_bundle/proc/show_content(mob/user as mob) - var/dat = {"<meta charset="UTF-8">"} + var/dat = {"<!DOCTYPE html><meta charset="UTF-8">"} var/obj/item/W = src[page] switch(screen) if(0) dat+= "<DIV STYLE='float:left; text-align:left; width:33.33333%'></DIV>" - dat+= "<DIV STYLE='float:left; text-align:center; width:33.33333%'><A href='?src=[UID()];remove=1'>Remove [(istype(W, /obj/item/paper)) ? "paper" : "photo"]</A></DIV>" - dat+= "<DIV STYLE='float:left; text-align:right; width:33.33333%'><A href='?src=[UID()];next_page=1'>Next Page</A></DIV><BR><HR>" + dat+= "<DIV STYLE='float:left; text-align:center; width:33.33333%'><A href='byond://?src=[UID()];remove=1'>Remove [(istype(W, /obj/item/paper)) ? "paper" : "photo"]</A></DIV>" + dat+= "<DIV STYLE='float:left; text-align:right; width:33.33333%'><A href='byond://?src=[UID()];next_page=1'>Next Page</A></DIV><BR><HR>" if(1) - dat+= "<DIV STYLE='float:left; text-align:left; width:33.33333%'><A href='?src=[UID()];prev_page=1'>Previous Page</A></DIV>" - dat+= "<DIV STYLE='float:left; text-align:center; width:33.33333%'><A href='?src=[UID()];remove=1'>Remove [(istype(W, /obj/item/paper)) ? "paper" : "photo"]</A></DIV>" - dat+= "<DIV STYLE='float:left; text-align:right; width:33.33333%'><A href='?src=[UID()];next_page=1'>Next Page</A></DIV><BR><HR>" + dat+= "<DIV STYLE='float:left; text-align:left; width:33.33333%'><A href='byond://?src=[UID()];prev_page=1'>Previous Page</A></DIV>" + dat+= "<DIV STYLE='float:left; text-align:center; width:33.33333%'><A href='byond://?src=[UID()];remove=1'>Remove [(istype(W, /obj/item/paper)) ? "paper" : "photo"]</A></DIV>" + dat+= "<DIV STYLE='float:left; text-align:right; width:33.33333%'><A href='byond://?src=[UID()];next_page=1'>Next Page</A></DIV><BR><HR>" if(2) - dat+= "<DIV STYLE='float:left; text-align:left; width:33.33333%'><A href='?src=[UID()];prev_page=1'>Previous Page</A></DIV>" - dat+= "<DIV STYLE='float:left; text-align:center; width:33.33333%'><A href='?src=[UID()];remove=1'>Remove [(istype(W, /obj/item/paper)) ? "paper" : "photo"]</A></DIV><BR><HR>" + dat+= "<DIV STYLE='float:left; text-align:left; width:33.33333%'><A href='byond://?src=[UID()];prev_page=1'>Previous Page</A></DIV>" + dat+= "<DIV STYLE='float:left; text-align:center; width:33.33333%'><A href='byond://?src=[UID()];remove=1'>Remove [(istype(W, /obj/item/paper)) ? "paper" : "photo"]</A></DIV><BR><HR>" dat+= "<DIV STYLE='float;left; text-align:right; with:33.33333%'></DIV>" if(istype(src[page], /obj/item/paper)) var/obj/item/paper/P = W diff --git a/code/modules/pda/messenger.dm b/code/modules/pda/messenger.dm index 3f72ad3a376d..c83d85355848 100644 --- a/code/modules/pda/messenger.dm +++ b/code/modules/pda/messenger.dm @@ -199,7 +199,7 @@ PM.conversations.Add("[pda.UID()]") SStgui.update_uis(src) - PM.notify("<b>Message from [pda.owner] ([pda.ownjob]), </b>\"[t]\" (<a href='?src=[PM.UID()];choice=Message;target=[pda.UID()]'>Reply</a>)") + PM.notify("<b>Message from [pda.owner] ([pda.ownjob]), </b>\"[t]\" (<a href='byond://?src=[PM.UID()];choice=Message;target=[pda.UID()]'>Reply</a>)") log_pda("(PDA: [src.name]) sent \"[t]\" to [P.name]", U) var/log_message = "sent PDA message \"[t]\" using [pda]" var/receiver diff --git a/code/modules/power/engines/singularity/emitter.dm b/code/modules/power/engines/singularity/emitter.dm index 1f0b631f71ea..096ccebc485c 100644 --- a/code/modules/power/engines/singularity/emitter.dm +++ b/code/modules/power/engines/singularity/emitter.dm @@ -132,7 +132,7 @@ investigate_log("turned <font color='green'>on</font> by [key_name(user)]", "singulo") to_chat(user, "You turn [src] [toggle].") - message_admins("Emitter turned [toggle] by [key_name_admin(user)] in ([x], [y], [z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") + message_admins("Emitter turned [toggle] by [key_name_admin(user)] in ([x], [y], [z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") log_game("Emitter turned [toggle] by [key_name(user)] in [x], [y], [z]") update_icon() diff --git a/code/modules/power/engines/singularity/particle_accelerator/particle_control.dm b/code/modules/power/engines/singularity/particle_accelerator/particle_control.dm index 63a890cf6570..c833b1340c90 100644 --- a/code/modules/power/engines/singularity/particle_accelerator/particle_control.dm +++ b/code/modules/power/engines/singularity/particle_accelerator/particle_control.dm @@ -95,7 +95,7 @@ if(strength > strength_upper_limit) strength = strength_upper_limit else - message_admins("PA Control Computer increased to [strength] by [key_name_admin(usr)] in ([x],[y],[z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) + message_admins("PA Control Computer increased to [strength] by [key_name_admin(usr)] in ([x],[y],[z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) log_game("PA Control Computer increased to [strength] by [key_name(usr)] in ([x],[y],[z])") investigate_log("increased to <font color='red'>[strength]</font> by [key_name(usr)]","singulo") @@ -108,7 +108,7 @@ if(strength < 0) strength = 0 else - message_admins("PA Control Computer decreased to [strength] by [key_name_admin(usr)] in ([x],[y],[z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) + message_admins("PA Control Computer decreased to [strength] by [key_name_admin(usr)] in ([x],[y],[z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1) log_game("PA Control Computer decreased to [strength] by [key_name(usr)] in ([x],[y],[z])") investigate_log("decreased to <font color='green'>[strength]</font> by [key_name(usr)]","singulo") diff --git a/code/modules/power/engines/singularity/singularity.dm b/code/modules/power/engines/singularity/singularity.dm index 9fbc5c13cd2b..3fcf4600a749 100644 --- a/code/modules/power/engines/singularity/singularity.dm +++ b/code/modules/power/engines/singularity/singularity.dm @@ -156,7 +156,7 @@ last_warning = world.time var/count = locate(/obj/machinery/field/containment) in urange(30, src, 1) if(!count) - message_admins("A singularity has been created without containment fields active at [x], [y], [z] (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") + message_admins("A singularity has been created without containment fields active at [x], [y], [z] (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") investigate_log("was created. [count?"":"<font color='red'>No containment fields were active</font>"]","singulo") /obj/singularity/proc/do_dissipate() diff --git a/code/modules/power/engines/singularity/singulogen.dm b/code/modules/power/engines/singularity/singulogen.dm index 9c0e6a48e17d..e0d5cf2737db 100644 --- a/code/modules/power/engines/singularity/singulogen.dm +++ b/code/modules/power/engines/singularity/singulogen.dm @@ -14,7 +14,7 @@ /obj/machinery/the_singularitygen/process() var/turf/T = get_turf(src) if(src.energy >= 200) - message_admins("A [creation_type] has been created at [x], [y], [z] (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") + message_admins("A [creation_type] has been created at [x], [y], [z] (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)") investigate_log("A [creation_type] has been created at [x], [y], [z]","singulo") var/obj/singularity/S = new creation_type(T, 50) diff --git a/code/modules/power/gravitygenerator.dm b/code/modules/power/gravitygenerator.dm index 362ca5202a3e..a2206f07dbb5 100644 --- a/code/modules/power/gravitygenerator.dm +++ b/code/modules/power/gravitygenerator.dm @@ -291,7 +291,7 @@ GLOBAL_LIST_EMPTY(gravity_generators) if(generators_in_level() == 0) // And there's no other gravity generators on this z level alert = TRUE investigate_log("was brought online and is now producing gravity for this level.", "gravity") - message_admins("The gravity generator was brought online. (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>[src_area.name]</a>)") + message_admins("The gravity generator was brought online. (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>[src_area.name]</a>)") for(var/area/A in world) if(!is_station_level(A.z)) continue @@ -300,7 +300,7 @@ GLOBAL_LIST_EMPTY(gravity_generators) else if(generators_in_level() == 1) // Turned off, and there is only one gravity generator on the Z level alert = TRUE investigate_log("was brought offline and there is now no gravity for this level.", "gravity") - message_admins("The gravity generator was brought offline with no backup generator. (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>[src_area.name]</a>)") + message_admins("The gravity generator was brought offline with no backup generator. (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>[src_area.name]</a>)") for(var/area/A in world) if(!is_station_level(A.z)) continue diff --git a/code/modules/power/smes.dm b/code/modules/power/smes.dm index 03adc7cfc67e..63f179a18dc5 100644 --- a/code/modules/power/smes.dm +++ b/code/modules/power/smes.dm @@ -236,7 +236,7 @@ if(SSticker && SSticker.current_state == GAME_STATE_PLAYING) var/area/area = get_area(src) if(area) - message_admins("SMES deleted at (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>[area.name]</a>)") + message_admins("SMES deleted at (<A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>[area.name]</a>)") log_game("SMES deleted at ([area.name])") investigate_log("<font color='red'>deleted</font> at ([area.name])","singulo") if(terminal) diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index ed3abfcfec5b..6b52313e991a 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -171,13 +171,12 @@ if(flag) if(user.zone_selected == "mouth") - if(HAS_TRAIT(user, TRAIT_BADASS)) + if(target == user && HAS_TRAIT(user, TRAIT_BADASS)) // Check if we are blowing smoke off of our own gun, otherwise we are trying to execute someone user.visible_message("<span class='danger'>[user] blows smoke off of [src]'s barrel. What a badass.</span>") else handle_suicide(user, target, params) return - //Exclude lasertag guns from the CLUMSY check. if(clumsy_check) if(istype(user)) diff --git a/code/modules/projectiles/guns/energy/special_eguns.dm b/code/modules/projectiles/guns/energy/special_eguns.dm index 5d5523489166..ef229890645b 100644 --- a/code/modules/projectiles/guns/energy/special_eguns.dm +++ b/code/modules/projectiles/guns/energy/special_eguns.dm @@ -71,6 +71,13 @@ selfcharge = TRUE can_holster = TRUE +/obj/item/gun/energy/floragun/pre_attack(atom/A, mob/living/user, params) + if(istype(A, /obj/machinery/hydroponics)) + // Calling afterattack from pre_attack looks stupid, but afterattack with proximity FALSE is what makes the gun fire, and we're returning FALSE to cancel the melee attack. + afterattack(A, user, FALSE, params) + return FALSE + return ..() + // Meteor Gun // /obj/item/gun/energy/meteorgun name = "meteor gun" diff --git a/code/modules/projectiles/guns/projectile/launchers.dm b/code/modules/projectiles/guns/projectile/launchers.dm index a69e2e6bb551..9c75e854f4b1 100644 --- a/code/modules/projectiles/guns/projectile/launchers.dm +++ b/code/modules/projectiles/guns/projectile/launchers.dm @@ -40,6 +40,7 @@ origin_tech = "combat=5" mag_type = /obj/item/ammo_box/magazine/m75 can_holster = TRUE // Override default automatic setting since it is a handgun sized gun + can_suppress = FALSE burst_size = 1 fire_delay = 0 actions_types = list() diff --git a/code/modules/projectiles/guns/syringe_gun.dm b/code/modules/projectiles/guns/syringe_gun.dm index 70a459e20a83..390e2693f849 100644 --- a/code/modules/projectiles/guns/syringe_gun.dm +++ b/code/modules/projectiles/guns/syringe_gun.dm @@ -414,4 +414,15 @@ user.adjustOxyLoss(20) return ..() +/obj/item/gun/syringe/blowgun/suicide_act(mob/user) + if(chambered.BB) + visible_message("<span class='suicide'>[user] puts [src] to [user.p_their()] lips and inhales! It looks like [user.p_theyre()] trying to commit suicide!</span>") + return BRUTELOSS + visible_message("<span class='suicide'>[user] puts [src] to [user.p_their()] lips and begins blowing on it rapid-fire! It looks like [user.p_theyre()] trying to commit suicide!</span>") + for(var/i in 1 to 6) + if(!use_tool(user, user, 0.5 SECONDS)) + return SHAME + var/action = pick("blows hard on [src].", "puffs out [user.p_their()] cheeks.", "tries to fire [src], but it's empty.", "utterly fails to use [src] as a straw.", "is unable to whistle through [src].", "has forgotten to attach a balloon to [src].", "accidentally left [src] on full auto.", "attempts a 360 no-scope.", "really blew it.", "definitely does not suck.", "finds [src] breathtaking.", "is no longer full of hot air.", "did not inhale.", "is determined to pass the breathalyzer test.", "has their lungs' regulator set to 150 kPa.", "has become a vent set to refill.") + visible_message("[user] [action]") + return OXYLOSS diff --git a/code/modules/projectiles/projectile/special_projectiles.dm b/code/modules/projectiles/projectile/special_projectiles.dm index d6ef8c8a422e..942fe1504e11 100644 --- a/code/modules/projectiles/projectile/special_projectiles.dm +++ b/code/modules/projectiles/projectile/special_projectiles.dm @@ -145,18 +145,17 @@ /obj/item/projectile/energy/floramut name = "alpha somatoray" icon_state = "energy" - damage = 0 - damage_type = TOX - nodamage = 1 + damage = 3 + damage_type = CLONE impact_effect_type = /obj/effect/temp_visual/impact_effect/green_laser flag = "energy" /obj/item/projectile/energy/florayield name = "beta somatoray" icon_state = "energy2" - damage = 0 - damage_type = TOX - nodamage = 1 + damage = 3 + damage_type = CLONE + impact_effect_type = /obj/effect/temp_visual/impact_effect/green_laser flag = "energy" /obj/item/projectile/energy/mindflayer diff --git a/code/modules/reagents/chemistry/machinery/chem_dispenser.dm b/code/modules/reagents/chemistry/machinery/chem_dispenser.dm index d2c61d1021ed..0b6092f06ed9 100644 --- a/code/modules/reagents/chemistry/machinery/chem_dispenser.dm +++ b/code/modules/reagents/chemistry/machinery/chem_dispenser.dm @@ -61,9 +61,10 @@ dispensable_reagents = list( "mutagen", "saltpetre", - "eznutriment", - "left4zednutriment", - "robustharvestnutriment", + "eznutrient", + "mutrient", + "left4zednutrient", + "robustharvestnutrient", "water", "atrazine", "pestkiller", @@ -608,9 +609,10 @@ dispensable_reagents = list( "mutagen", "saltpetre", - "eznutriment", - "left4zednutriment", - "robustharvestnutriment", + "eznutrient", + "mutrient", + "left4zednutrient", + "robustharvestnutrient", "water", "atrazine", "pestkiller", diff --git a/code/modules/reagents/chemistry/machinery/pandemic.dm b/code/modules/reagents/chemistry/machinery/pandemic.dm index 3e718093317e..92f15a545471 100644 --- a/code/modules/reagents/chemistry/machinery/pandemic.dm +++ b/code/modules/reagents/chemistry/machinery/pandemic.dm @@ -247,10 +247,10 @@ user.set_machine(src) var/dat = "" if(temp_html) - dat = "[temp_html]<BR><BR><A href='?src=[UID()];clear=1'>Main Menu</A>" + dat = "[temp_html]<BR><BR><A href='byond://?src=[UID()];clear=1'>Main Menu</A>" else if(!beaker) dat += "Please insert beaker.<BR>" - dat += "<A href='?src=[user.UID()];mach_close=pandemic'>Close</A>" + dat += "<A href='byond://?src=[user.UID()];mach_close=pandemic'>Close</A>" else var/datum/reagents/R = beaker.reagents var/datum/reagent/blood/Blood = null @@ -285,14 +285,14 @@ D = GLOB.archive_diseases[A.GetDiseaseID()] if(D) if(D.name == "Unknown") - dat += "<b><a href='?src=[UID()];name_disease=[i]'>Name Disease</a></b><BR>" + dat += "<b><a href='byond://?src=[UID()];name_disease=[i]'>Name Disease</a></b><BR>" else - dat += "<b><a href='?src=[UID()];print_form=[i]'>Print release form</a></b><BR>" + dat += "<b><a href='byond://?src=[UID()];print_form=[i]'>Print release form</a></b><BR>" if(!D) CRASH("We weren't able to get the advance disease from the archive.") - dat += "<b>Disease Agent:</b> [D?"[D.agent] - <A href='?src=[UID()];create_virus_culture=[i]'>Create virus culture bottle</A>":"none"]<BR>" + dat += "<b>Disease Agent:</b> [D?"[D.agent] - <A href='byond://?src=[UID()];create_virus_culture=[i]'>Create virus culture bottle</A>":"none"]<BR>" dat += "<b>Common name:</b> [(D.name||"none")]<BR>" dat += "<b>Description: </b> [(D.desc||"none")]<BR>" dat += "<b>Spread:</b> [(D.spread_text||"none")]<BR>" @@ -329,14 +329,14 @@ var/datum/disease/D = new type(0, null) disease_name = D.name - dat += "<li>[disease_name] - <A href='?src=[UID()];create_vaccine=[i]'>Create vaccine bottle</A></li>" + dat += "<li>[disease_name] - <A href='byond://?src=[UID()];create_vaccine=[i]'>Create vaccine bottle</A></li>" dat += "</ul><BR>" else dat += "nothing<BR>" else dat += "nothing<BR>" - dat += "<BR><A href='?src=[UID()];eject=1'>Eject beaker</A>[((R.total_volume&&R.reagent_list.len) ? "-- <A href='?src=[UID()];empty_beaker=1'>Empty and eject beaker</A>":"")]<BR>" - dat += "<A href='?src=[user.UID()];mach_close=pandemic'>Close</A>" + dat += "<BR><A href='byond://?src=[UID()];eject=1'>Eject beaker</A>[((R.total_volume&&R.reagent_list.len) ? "-- <A href='byond://?src=[UID()];empty_beaker=1'>Empty and eject beaker</A>":"")]<BR>" + dat += "<A href='byond://?src=[user.UID()];mach_close=pandemic'>Close</A>" var/datum/browser/popup = new(user, "pandemic", name, 575, 400) popup.set_content(dat) diff --git a/code/modules/reagents/chemistry/reagents/misc_reagents.dm b/code/modules/reagents/chemistry/reagents/misc_reagents.dm index ad585ba96a17..c48798fa3042 100644 --- a/code/modules/reagents/chemistry/reagents/misc_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/misc_reagents.dm @@ -591,40 +591,51 @@ //////////////////////////////////Hydroponics stuff/////////////////////////////// -/datum/reagent/plantnutriment - name = "Generic nutriment" - id = "plantnutriment" - description = "Some kind of nutriment. You can't really tell what it is. You should probably report it, along with how you obtained it." +/datum/reagent/plantnutrient + name = "Generic nutrient" + id = "plantnutrient" + description = "Some kind of nutrient. You can't really tell what it is. You should probably report it, along with how you obtained it." color = "#000000" // RBG: 0, 0, 0 var/tox_prob = 0 + var/mutation_level = 0 taste_description = "puke" -/datum/reagent/plantnutriment/on_mob_life(mob/living/M) +/datum/reagent/plantnutrient/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE if(prob(tox_prob)) update_flags |= M.adjustToxLoss(1*REAGENTS_EFFECT_MULTIPLIER, FALSE) return ..() | update_flags -/datum/reagent/plantnutriment/eznutriment +/datum/reagent/plantnutrient/eznutrient name = "E-Z-Nutrient" - id = "eznutriment" - description = "Cheap and extremely common type of plant nutriment." + id = "eznutrient" + description = "Cheap and boring nutrition for plants." + color = "#504700" // RBG: 80, 70, 0 + tox_prob = 5 + taste_description = "obscurity and toil" + +/datum/reagent/plantnutrient/mut + name = "Mutrient" + id = "mutrient" + description = "Plant nutrient designed to trigger mild genetic drift." color = "#376400" // RBG: 50, 100, 0 tox_prob = 10 - taste_description = "obscurity and toil" + mutation_level = 10 + taste_description = "change" -/datum/reagent/plantnutriment/left4zednutriment +/datum/reagent/plantnutrient/left4zednutrient name = "Left 4 Zed" - id = "left4zednutriment" - description = "Unstable nutriment that makes plants mutate more often than usual." + id = "left4zednutrient" + description = "Unstable nutrient that makes plants mutate strongly at the cost of minimal yield." color = "#2A1680" // RBG: 42, 128, 22 tox_prob = 25 + mutation_level = 15 taste_description = "evolution" -/datum/reagent/plantnutriment/robustharvestnutriment +/datum/reagent/plantnutrient/robustharvestnutrient name = "Robust Harvest" - id = "robustharvestnutriment" - description = "Very potent nutriment that prevents plants from mutating." + id = "robustharvestnutrient" + description = "Very potent nutrient that increases yield." color = "#9D9D00" // RBG: 157, 157, 0 tox_prob = 15 taste_description = "bountifulness" diff --git a/code/modules/reagents/chemistry/recipes/drinks_reactions.dm b/code/modules/reagents/chemistry/recipes/drinks_reactions.dm index 7481e9d6436f..3b529db3b8cb 100644 --- a/code/modules/reagents/chemistry/recipes/drinks_reactions.dm +++ b/code/modules/reagents/chemistry/recipes/drinks_reactions.dm @@ -1028,7 +1028,7 @@ name = "Islay Whiskey" id = "islaywhiskey" result = "islaywhiskey" - required_reagents = list("eznutriment" = 1, "whiskey" = 1, "nutriment" = 1) + required_reagents = list("eznutrient" = 1, "whiskey" = 1, "nutriment" = 1) result_amount = 3 mix_sound = 'sound/goonstation/misc/drinkfizz.ogg' diff --git a/code/modules/reagents/reagent_containers/chemical_bottle.dm b/code/modules/reagents/reagent_containers/chemical_bottle.dm index b48d4fe33794..66c0b505d783 100644 --- a/code/modules/reagents/reagent_containers/chemical_bottle.dm +++ b/code/modules/reagents/reagent_containers/chemical_bottle.dm @@ -83,18 +83,30 @@ icon_state = "bottle" list_reagents = list("mutagen" = 30) +/obj/item/reagent_containers/glass/bottle/ash + name = "ash bottle" + desc = "A small bottle of ash. The substance, not the person." + icon_state = "bottle" + list_reagents = list("ash" = 30) + /obj/item/reagent_containers/glass/bottle/ammonia name = "ammonia bottle" - desc = "A small bottle." + desc = "A small bottle of ammonia. Good for cleaning, but don't mix it with bleach." icon_state = "bottle" list_reagents = list("ammonia" = 30) /obj/item/reagent_containers/glass/bottle/diethylamine name = "diethylamine bottle" - desc = "A small bottle." + desc = "A small bottle of diethylamine. Good for plants, bad for people." icon_state = "round_bottle" list_reagents = list("diethylamine" = 30) +/obj/item/reagent_containers/glass/bottle/saltpetre + name = "saltpetre bottle" + desc = "A small bottle of saltpetre. Used in botany and to make gunpowder." + icon_state = "round_bottle" + list_reagents = list("saltpetre" = 30) + /obj/item/reagent_containers/glass/bottle/facid name = "fluorosulfuric acid bottle" desc = "A small bottle. Contains a small amount of Fluorosulfuric Acid" diff --git a/code/modules/research/designs/biogenerator_designs.dm b/code/modules/research/designs/biogenerator_designs.dm index 8ceaabe419d4..20e4a51febaa 100644 --- a/code/modules/research/designs/biogenerator_designs.dm +++ b/code/modules/research/designs/biogenerator_designs.dm @@ -99,6 +99,14 @@ build_path = /obj/item/reagent_containers/glass/bottle/nutrient/ez category = list("initial","Botany Chemicals") +/datum/design/mut_nut + name = "Mutrient" + id = "mut_nut" + build_type = BIOGENERATOR + materials = list(MAT_BIOMASS = 15) + build_path = /obj/item/reagent_containers/glass/bottle/nutrient/mut + category = list("initial", "Botany Chemicals") + /datum/design/l4z_nut name = "Left 4 Zed" id = "l4z_nut" diff --git a/code/modules/research/experimentor.dm b/code/modules/research/experimentor.dm index 6f039a583dc1..20196a821e1c 100644 --- a/code/modules/research/experimentor.dm +++ b/code/modules/research/experimentor.dm @@ -580,7 +580,7 @@ //~~~~~~~~Admin logging proc, aka the Powergamer Alarm~~~~~~~~ /obj/machinery/r_n_d/experimentor/proc/warn_admins(mob/user, ReactionName) var/turf/T = get_turf(src) - message_admins("Experimentor reaction: [ReactionName] generated by [key_name_admin(user)] at ([T.x], [T.y], [T.z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>JMP</a>)",0,1) + message_admins("Experimentor reaction: [ReactionName] generated by [key_name_admin(user)] at ([T.x], [T.y], [T.z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>JMP</a>)",0,1) log_game("Experimentor reaction: [ReactionName] generated by [key_name(user)] in ([T.x], [T.y], [T.z])") #undef SCANTYPE_POKE diff --git a/code/modules/research/server.dm b/code/modules/research/server.dm index 70832cb0d008..acb290118633 100644 --- a/code/modules/research/server.dm +++ b/code/modules/research/server.dm @@ -310,9 +310,9 @@ if(!atoms_share_level(get_turf(src), get_turf(S)) && !badmin) continue dat += "[S.name] || " - dat += "<A href='?src=[UID()];access=[S.server_id]'>Access Rights</A> | " - dat += "<A href='?src=[UID()];data=[S.server_id]'>Data Management</A>" - if(badmin) dat += " | <A href='?src=[UID()];transfer=[S.server_id]'>Server-to-Server Transfer</A>" + dat += "<A href='byond://?src=[UID()];access=[S.server_id]'>Access Rights</A> | " + dat += "<A href='byond://?src=[UID()];data=[S.server_id]'>Data Management</A>" + if(badmin) dat += " | <A href='byond://?src=[UID()];transfer=[S.server_id]'>Server-to-Server Transfer</A>" dat += "<BR>" if(1) //Access rights menu @@ -320,7 +320,7 @@ dat += "Consoles with Upload Access<BR>" for(var/obj/machinery/computer/rdconsole/C in consoles) var/turf/console_turf = get_turf(C) - dat += "* <A href='?src=[UID()];upload_toggle=[C.id]'>[console_turf.loc]" //FYI, these are all numeric ids, eventually. + dat += "* <A href='byond://?src=[UID()];upload_toggle=[C.id]'>[console_turf.loc]" //FYI, these are all numeric ids, eventually. if(C.id in temp_server.id_with_upload) dat += " (Remove)</A><BR>" else @@ -328,12 +328,12 @@ dat += "Consoles with Download Access<BR>" for(var/obj/machinery/computer/rdconsole/C in consoles) var/turf/console_turf = get_turf(C) - dat += "* <A href='?src=[UID()];download_toggle=[C.id]'>[console_turf.loc]" + dat += "* <A href='byond://?src=[UID()];download_toggle=[C.id]'>[console_turf.loc]" if(C.id in temp_server.id_with_download) dat += " (Remove)</A><BR>" else dat += " (Add)</A><BR>" - dat += "<HR><A href='?src=[UID()];main=1'>Main Menu</A>" + dat += "<HR><A href='byond://?src=[UID()];main=1'>Main Menu</A>" if(2) //Data Management menu dat += "[temp_server.name] Data Management<BR><BR>" @@ -343,25 +343,25 @@ if(T.level <= 0) continue dat += "* [T.name] " - dat += "<A href='?src=[UID()];reset_tech=[T.id]'>(Reset)</A><BR>" //FYI, these are all strings. + dat += "<A href='byond://?src=[UID()];reset_tech=[T.id]'>(Reset)</A><BR>" //FYI, these are all strings. dat += "Known Designs<BR>" for(var/I in temp_server.files.known_designs) var/datum/design/D = temp_server.files.known_designs[I] dat += "* [D.name] " - dat += "<A href='?src=[UID()];reset_design=[D.id]'>(Blacklist)</A><BR>" + dat += "<A href='byond://?src=[UID()];reset_design=[D.id]'>(Blacklist)</A><BR>" if(length(temp_server.files.blacklisted_designs)) dat += "Blacklisted Designs<br>" for(var/I in temp_server.files.blacklisted_designs) dat += "* [I] " - dat += "<a href='?src=[UID()];restore_design=[I]'>(Restore design)</a><br>" - dat += "<HR><A href='?src=[UID()];main=1'>Main Menu</A>" + dat += "<a href='byond://?src=[UID()];restore_design=[I]'>(Restore design)</a><br>" + dat += "<HR><A href='byond://?src=[UID()];main=1'>Main Menu</A>" if(3) //Server Data Transfer dat += "[temp_server.name] Server to Server Transfer<BR><BR>" dat += "Send Data to what server?<BR>" for(var/obj/machinery/r_n_d/server/S in servers) - dat += "[S.name] <a href='?src=[UID()];send_to=[S.server_id]'> (Transfer)</a><br>" - dat += "<hr><a href='?src=[UID()];main=1'>Main Menu</a>" + dat += "[S.name] <a href='byond://?src=[UID()];send_to=[S.server_id]'> (Transfer)</a><br>" + dat += "<hr><a href='byond://?src=[UID()];main=1'>Main Menu</a>" user << browse("<title>R&D Server Control</title><hr><meta charset='UTF-8'>[dat]", "window=server_control;size=575x400") onclose(user, "server_control") return diff --git a/code/modules/research/strange_objects.dm b/code/modules/research/strange_objects.dm index 21f1a1d467e5..9b33060c59c8 100644 --- a/code/modules/research/strange_objects.dm +++ b/code/modules/research/strange_objects.dm @@ -196,7 +196,7 @@ var/log_msg = "[RelicType] relic used by [key_name(user)] in ([T.x],[T.y],[T.z])" if(alert_admins) //For truly dangerous relics that may need an admin's attention. BWOINK! - message_admins("[RelicType] relic activated by [key_name_admin(user)] in ([T.x], [T.y], [T.z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>JMP</a>)",0,1) + message_admins("[RelicType] relic activated by [key_name_admin(user)] in ([T.x], [T.y], [T.z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>JMP</a>)",0,1) log_game(log_msg) investigate_log(log_msg, "experimentor") diff --git a/code/modules/shuttle/shuttle.dm b/code/modules/shuttle/shuttle.dm index 12f768c91af2..824574ac0113 100644 --- a/code/modules/shuttle/shuttle.dm +++ b/code/modules/shuttle/shuttle.dm @@ -904,7 +904,7 @@ next_request = world.time + 60 SECONDS //1 minute cooldown to_chat(usr, "<span class='notice'>Your request has been received by Centcom.</span>") log_admin("[key_name(usr)] requested to move the transport ferry to Centcom.") - message_admins("<b>FERRY: <font color='#EB4E00'>[key_name_admin(usr)] (<A HREF='?_src_=holder;secretsfun=moveferry'>Move Ferry</a>)</b> is requesting to move the transport ferry to Centcom.</font>") + message_admins("<b>FERRY: <font color='#EB4E00'>[key_name_admin(usr)] (<A href='byond://?_src_=holder;secretsfun=moveferry'>Move Ferry</a>)</b> is requesting to move the transport ferry to Centcom.</font>") return TRUE diff --git a/code/modules/shuttle/supply.dm b/code/modules/shuttle/supply.dm index 9fcc73e6fc6d..3bb670b18763 100644 --- a/code/modules/shuttle/supply.dm +++ b/code/modules/shuttle/supply.dm @@ -490,6 +490,22 @@ var/obj/item/paper/manifest/slip = AM + var/error = FALSE + if(/obj/item/stamp/denied in slip.stamped) + error = "Package [slip.ordernumber] rejected. A Nanotrasen supply department official will reach out to you in 2-3 business days." + SSblackbox.record_feedback("tally", "cargo manifests rejected", 1, "amount") + else if(!(/obj/item/stamp/granted in slip.stamped)) + error = "Received unstamped manifest for package [slip.ordernumber]. Remember to stamp all manifests before returning them." + SSblackbox.record_feedback("tally", "cargo manifests not stamped", 1, "amount") + + if(error) + var/datum/economy/line_item/item = new + item.account = SSeconomy.cargo_account + item.credits = 0 + item.reason = error + manifest.line_items += item + return + var/datum/economy/line_item/item = new item.account = SSeconomy.cargo_account item.credits = SSeconomy.credits_per_manifest diff --git a/code/modules/telesci/telesci_computer.dm b/code/modules/telesci/telesci_computer.dm index bf70e0ee7635..0e3461145a27 100644 --- a/code/modules/telesci/telesci_computer.dm +++ b/code/modules/telesci/telesci_computer.dm @@ -99,15 +99,15 @@ t += "<div class='statusDisplay'>No telepad located. <BR>Please add telepad data.</div><BR>" else if(inserted_gps) - t += "<A href='?src=[UID()];ejectGPS=1'>Eject GPS</A>" - t += "<A href='?src=[UID()];setMemory=1'>Set GPS memory</A>" + t += "<A href='byond://?src=[UID()];ejectGPS=1'>Eject GPS</A>" + t += "<A href='byond://?src=[UID()];setMemory=1'>Set GPS memory</A>" else t += "<span class='linkOff'>Eject GPS</span>" t += "<span class='linkOff'>Set GPS memory</span>" t += "<div class='statusDisplay'>[temp_msg]</div><BR>" - t += "<A href='?src=[UID()];setrotation=1'>Set Bearing</A>" + t += "<A href='byond://?src=[UID()];setrotation=1'>Set Bearing</A>" t += "<div class='statusDisplay'>[rotation] degrees</div>" - t += "<A href='?src=[UID()];setangle=1'>Set Elevation</A>" + t += "<A href='byond://?src=[UID()];setangle=1'>Set Elevation</A>" t += "<div class='statusDisplay'>[angle] degrees</div>" t += "<span class='linkOn'>Set Power</span>" t += "<div class='statusDisplay'>" @@ -119,15 +119,15 @@ if(power == power_options[i]) t += "<span class='linkOn'>[power_options[i]]</span>" continue - t += "<A href='?src=[UID()];setpower=[i]'>[power_options[i]]</A>" + t += "<A href='byond://?src=[UID()];setpower=[i]'>[power_options[i]]</A>" t += "</div>" - t += "<A href='?src=[UID()];setz=1'>Set Sector</A>" + t += "<A href='byond://?src=[UID()];setz=1'>Set Sector</A>" t += "<div class='statusDisplay'>[z_co ? z_co : "NULL"]</div>" - t += "<BR><A href='?src=[UID()];send=1'>Send</A>" - t += " <A href='?src=[UID()];receive=1'>Receive</A>" - t += "<BR><A href='?src=[UID()];recal=1'>Recalibrate Crystals</A> <A href='?src=[UID()];eject=1'>Eject Crystals</A>" + t += "<BR><A href='byond://?src=[UID()];send=1'>Send</A>" + t += " <A href='byond://?src=[UID()];receive=1'>Receive</A>" + t += "<BR><A href='byond://?src=[UID()];recal=1'>Recalibrate Crystals</A> <A href='byond://?src=[UID()];eject=1'>Eject Crystals</A>" // Information about the last teleport t += "<BR><div class='statusDisplay'>" diff --git a/code/modules/tgui/tgui_panel/tgui_panel.dm b/code/modules/tgui/tgui_panel/tgui_panel.dm index 893d42b96612..9229de1da493 100644 --- a/code/modules/tgui/tgui_panel/tgui_panel.dm +++ b/code/modules/tgui/tgui_panel/tgui_panel.dm @@ -57,6 +57,7 @@ get_asset_datum(/datum/asset/simple/tgui_panel), )) window.send_asset(get_asset_datum(/datum/asset/simple/namespaced/fontawesome)) + window.send_asset(get_asset_datum(/datum/asset/spritesheet/emoji)) request_telemetry() addtimer(CALLBACK(src, PROC_REF(on_initialize_timed_out)), 5 SECONDS) @@ -67,7 +68,7 @@ */ /datum/tgui_panel/proc/on_initialize_timed_out() // Currently does nothing but sending a message to old chat. - SEND_TEXT(client, "<span class=\"userdanger\">Failed to load fancy chat, click <a href='?src=[UID()];reload_tguipanel=1'>HERE</a> to attempt to reload it.</span>") + SEND_TEXT(client, "<span class=\"userdanger\">Failed to load fancy chat, click <a href='byond://?src=[UID()];reload_tguipanel=1'>HERE</a> to attempt to reload it.</span>") /** * private diff --git a/code/modules/tgui/tgui_panel/tgui_panel_external.dm b/code/modules/tgui/tgui_panel/tgui_panel_external.dm index c3c95f2e96a8..f51c974ae4a2 100644 --- a/code/modules/tgui/tgui_panel/tgui_panel_external.dm +++ b/code/modules/tgui/tgui_panel/tgui_panel_external.dm @@ -20,20 +20,20 @@ action = alert(src, "Did that work?", "", "Yes", "No, switch to old ui") if(action == "No, switch to old ui") winset(src, "output", "on-show=&is-disabled=0&is-visible=1") - winset(src, "browseroutput", "is-disabled=1;is-visible=0") + winset(src, "chat_panel", "is-disabled=1;is-visible=0") log_tgui(src, "Failed to fix.") /client/proc/nuke_chat() // Catch all solution (kick the whole thing in the pants) winset(src, "output", "on-show=&is-disabled=0&is-visible=1") - winset(src, "browseroutput", "is-disabled=1;is-visible=0") + winset(src, "chat_panel", "is-disabled=1;is-visible=0") if(!tgui_panel || !istype(tgui_panel)) log_tgui(src, "tgui_panel datum is missing") - tgui_panel = new(src, "browseroutput") + tgui_panel = new(src, "chat_panel") tgui_panel.initialize(force = TRUE) // Force show the panel to see if there are any errors winset(src, "output", "is-disabled=1&is-visible=0") - winset(src, "browseroutput", "is-disabled=0;is-visible=1") + winset(src, "chat_panel", "is-disabled=0;is-visible=1") /client/verb/refresh_tgui() set name = "Refresh TGUI" diff --git a/code/modules/tgui_input/say_modal/tgui_say_modal.dm b/code/modules/tgui_input/say_modal/tgui_say_modal.dm index bf5c9621fbc1..947c97496896 100644 --- a/code/modules/tgui_input/say_modal/tgui_say_modal.dm +++ b/code/modules/tgui_input/say_modal/tgui_say_modal.dm @@ -40,7 +40,7 @@ /datum/tgui_say/proc/initialize() set waitfor = FALSE // Sleep to defer initialization to after client constructor - sleep(3) + sleep(3 SECONDS) window.initialize( strict_mode = TRUE, fancy = TRUE, @@ -119,5 +119,8 @@ if("entry") handle_entry(payload) return TRUE + if("ready_state_error") + to_chat(client, "<span class='warning'>TGUI Say attempted to render before it was ready, please try again!</span>") + return FALSE return FALSE diff --git a/code/modules/unit_tests/_unit_tests.dm b/code/modules/unit_tests/_unit_tests.dm index 7f234307d411..76f2504ef031 100644 --- a/code/modules/unit_tests/_unit_tests.dm +++ b/code/modules/unit_tests/_unit_tests.dm @@ -2,6 +2,7 @@ //Keep this sorted alphabetically #ifdef UNIT_TESTS +#include "games\test_cards.dm" #include "jobs\test_job_globals.dm" #include "aicard_icons.dm" #include "announcements.dm" diff --git a/code/modules/unit_tests/games/test_cards.dm b/code/modules/unit_tests/games/test_cards.dm new file mode 100644 index 000000000000..bde0b9f1f8bc --- /dev/null +++ b/code/modules/unit_tests/games/test_cards.dm @@ -0,0 +1,30 @@ +/datum/unit_test/card_deck/proc/validate_deck(obj/item/deck/deck) + var/list/card_count = list() + for(var/datum/playingcard/card in deck.cards) + if(card_count[card.name] == null) + card_count[card.name] = 1 + else if(card.name == "Joker") + card_count[card.name]++ + else + // duplicate card in deck + return FALSE + + if(length(card_count) != 53) // 2 Jokers, so 53 unique cards + return FALSE + return TRUE + + +/datum/unit_test/card_deck/Run() + // setup + var/loc = pick(block(run_loc_bottom_left, run_loc_top_right)) + var/obj/item/deck/cards/cards = new /obj/item/deck/cards(loc) + cards.build_decks() + + // is deck proper upon spawning + if(!validate_deck(cards)) + Fail("52 card deck not initialized correctly.") + + // is deck proper after shuffling + cards.deckshuffle() + if(!validate_deck(cards)) + Fail("52 card deck broken after shuffling.") diff --git a/code/modules/vote/vote_datum.dm b/code/modules/vote/vote_datum.dm index 69e164e5c0d4..a951bf74abb4 100644 --- a/code/modules/vote/vote_datum.dm +++ b/code/modules/vote/vote_datum.dm @@ -118,7 +118,7 @@ /datum/vote/proc/announce(start_text) to_chat(world, chat_box_purple( "<span><font color='purple'><b>[start_text]</b></br></br>\ - <a href='?src=[SSvote.UID()];vote=open'>Click here or type <code>Vote</code> to place your vote.</a></br>\ + <a href='byond://?src=[SSvote.UID()];vote=open'>Click here or type <code>Vote</code> to place your vote.</a></br>\ You have [GLOB.configuration.vote.vote_time / 10] seconds to vote.</span>")) SEND_SOUND(world, sound('sound/ambience/alarm4.ogg')) diff --git a/code/modules/world_topic/adminmsg.dm b/code/modules/world_topic/adminmsg.dm index fadceebdd3b3..95de4ef356f0 100644 --- a/code/modules/world_topic/adminmsg.dm +++ b/code/modules/world_topic/adminmsg.dm @@ -20,8 +20,8 @@ return json_encode(list("error" = "No client with that name on server")) var/sanitized = sanitize(input["msg"]) - var/message = "<font color='red'>Discord PM from <b><a href='?discord_msg=1'>[input["sender"]]</a></b>: [sanitized]</font>" - var/amessage = "<font color='#EB4E00'>Discord PM from <a href='?discord_msg=1'>[input["sender"]]</a> to <b>[key_name_admin(C)]</b>: [sanitized]</font>" + var/message = "<font color='red'>Discord PM from <b><a href='byond://?discord_msg=1'>[input["sender"]]</a></b>: [sanitized]</font>" + var/amessage = "<font color='#EB4E00'>Discord PM from <a href='byond://?discord_msg=1'>[input["sender"]]</a> to <b>[key_name_admin(C)]</b>: [sanitized]</font>" // THESE TWO VARS DO VERY DIFFERENT THINGS. DO NOT ATTEMPT TO COMBINE THEM C.received_discord_pm = world.time diff --git a/goon/browserassets/css/font-awesome.css b/goon/browserassets/css/font-awesome.css deleted file mode 100644 index 956b4cbafd8b..000000000000 --- a/goon/browserassets/css/font-awesome.css +++ /dev/null @@ -1,788 +0,0 @@ -@font-face{font-family:'FontAwesome';src:url('fontawesome-webfont.eot');src:url('fontawesome-webfont.eot') format('embedded-opentype'),url('fontawesome-webfont.woff') format('woff'),url('fontawesome-webfont.ttf') format('truetype'),url('fontawesome-webfont.svg') format('svg');font-weight:normal;font-style:normal;}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;} -[class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none;} -.icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em;} -a [class^="icon-"],a [class*=" icon-"]{display:inline;} -[class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.1428571428571428em;text-align:right;padding-right:0.2857142857142857em;}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.4285714285714286em;} -.icons-ul{margin-left:2.142857142857143em;list-style-type:none;}.icons-ul>li{position:relative;} -.icons-ul .icon-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;text-align:center;line-height:inherit;} -[class^="icon-"].hide,[class*=" icon-"].hide{display:none;} -.icon-muted{color:#eeeeee;} -.icon-light{color:#ffffff;} -.icon-dark{color:#333333;} -.icon-border{border:solid 1px #eeeeee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} -.icon-2x{font-size:2em;}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} -.icon-3x{font-size:3em;}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;} -.icon-4x{font-size:4em;}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;} -.icon-5x{font-size:5em;}.icon-5x.icon-border{border-width:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;} -.pull-right{float:right;} -.pull-left{float:left;} -[class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.3em;} -[class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.3em;} -[class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0% 0%;background-repeat:repeat;margin-top:0;} -.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none;} -.btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large{line-height:.9em;} -.btn [class^="icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block;} -.nav-tabs [class^="icon-"],.nav-pills [class^="icon-"],.nav-tabs [class*=" icon-"],.nav-pills [class*=" icon-"],.nav-tabs [class^="icon-"].icon-large,.nav-pills [class^="icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large{line-height:.9em;} -.btn [class^="icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.18em;} -.btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{line-height:.8em;} -.btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.25em;} -.btn.btn-large [class^="icon-"],.btn.btn-large [class*=" icon-"]{margin-top:0;}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.05em;} -.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x{margin-right:.2em;} -.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-left:.2em;} -.nav-list [class^="icon-"],.nav-list [class*=" icon-"]{line-height:inherit;} -.icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%;}.icon-stack [class^="icon-"],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;*line-height:2em;} -.icon-stack .icon-stack-base{font-size:2em;*line-height:1em;} -.icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;} -a .icon-stack,a .icon-spin{display:inline-block;text-decoration:none;} -@-moz-keyframes spin{0%{-moz-transform:rotate(0deg);} 100%{-moz-transform:rotate(359deg);}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);} 100%{-webkit-transform:rotate(359deg);}}@-o-keyframes spin{0%{-o-transform:rotate(0deg);} 100%{-o-transform:rotate(359deg);}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg);} 100%{-ms-transform:rotate(359deg);}}@keyframes spin{0%{transform:rotate(0deg);} 100%{transform:rotate(359deg);}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);} -.icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);} -.icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);} -.icon-flip-horizontal:before{-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1);} -.icon-flip-vertical:before{-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1);} -a .icon-rotate-90:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .icon-flip-horizontal:before,a .icon-flip-vertical:before{display:inline-block;} -.icon-glass:before{content:"\f000";} -.icon-music:before{content:"\f001";} -.icon-search:before{content:"\f002";} -.icon-envelope-alt:before{content:"\f003";} -.icon-heart:before{content:"\f004";} -.icon-star:before{content:"\f005";} -.icon-star-empty:before{content:"\f006";} -.icon-user:before{content:"\f007";} -.icon-film:before{content:"\f008";} -.icon-th-large:before{content:"\f009";} -.icon-th:before{content:"\f00a";} -.icon-th-list:before{content:"\f00b";} -.icon-ok:before{content:"\f00c";} -.icon-remove:before{content:"\f00d";} -.icon-zoom-in:before{content:"\f00e";} -.icon-zoom-out:before{content:"\f010";} -.icon-power-off:before,.icon-off:before{content:"\f011";} -.icon-signal:before{content:"\f012";} -.icon-gear:before,.icon-cog:before{content:"\f013";} -.icon-trash:before{content:"\f014";} -.icon-home:before{content:"\f015";} -.icon-file-alt:before{content:"\f016";} -.icon-time:before{content:"\f017";} -.icon-road:before{content:"\f018";} -.icon-download-alt:before{content:"\f019";} -.icon-download:before{content:"\f01a";} -.icon-upload:before{content:"\f01b";} -.icon-inbox:before{content:"\f01c";} -.icon-play-circle:before{content:"\f01d";} -.icon-rotate-right:before,.icon-repeat:before{content:"\f01e";} -.icon-refresh:before{content:"\f021";} -.icon-list-alt:before{content:"\f022";} -.icon-lock:before{content:"\f023";} -.icon-flag:before{content:"\f024";} -.icon-headphones:before{content:"\f025";} -.icon-volume-off:before{content:"\f026";} -.icon-volume-down:before{content:"\f027";} -.icon-volume-up:before{content:"\f028";} -.icon-qrcode:before{content:"\f029";} -.icon-barcode:before{content:"\f02a";} -.icon-tag:before{content:"\f02b";} -.icon-tags:before{content:"\f02c";} -.icon-book:before{content:"\f02d";} -.icon-bookmark:before{content:"\f02e";} -.icon-print:before{content:"\f02f";} -.icon-camera:before{content:"\f030";} -.icon-font:before{content:"\f031";} -.icon-bold:before{content:"\f032";} -.icon-italic:before{content:"\f033";} -.icon-text-height:before{content:"\f034";} -.icon-text-width:before{content:"\f035";} -.icon-align-left:before{content:"\f036";} -.icon-align-center:before{content:"\f037";} -.icon-align-right:before{content:"\f038";} -.icon-align-justify:before{content:"\f039";} -.icon-list:before{content:"\f03a";} -.icon-indent-left:before{content:"\f03b";} -.icon-indent-right:before{content:"\f03c";} -.icon-facetime-video:before{content:"\f03d";} -.icon-picture:before{content:"\f03e";} -.icon-pencil:before{content:"\f040";} -.icon-map-marker:before{content:"\f041";} -.icon-adjust:before{content:"\f042";} -.icon-tint:before{content:"\f043";} -.icon-edit:before{content:"\f044";} -.icon-share:before{content:"\f045";} -.icon-check:before{content:"\f046";} -.icon-move:before{content:"\f047";} -.icon-step-backward:before{content:"\f048";} -.icon-fast-backward:before{content:"\f049";} -.icon-backward:before{content:"\f04a";} -.icon-play:before{content:"\f04b";} -.icon-pause:before{content:"\f04c";} -.icon-stop:before{content:"\f04d";} -.icon-forward:before{content:"\f04e";} -.icon-fast-forward:before{content:"\f050";} -.icon-step-forward:before{content:"\f051";} -.icon-eject:before{content:"\f052";} -.icon-chevron-left:before{content:"\f053";} -.icon-chevron-right:before{content:"\f054";} -.icon-plus-sign:before{content:"\f055";} -.icon-minus-sign:before{content:"\f056";} -.icon-remove-sign:before{content:"\f057";} -.icon-ok-sign:before{content:"\f058";} -.icon-question-sign:before{content:"\f059";} -.icon-info-sign:before{content:"\f05a";} -.icon-screenshot:before{content:"\f05b";} -.icon-remove-circle:before{content:"\f05c";} -.icon-ok-circle:before{content:"\f05d";} -.icon-ban-circle:before{content:"\f05e";} -.icon-arrow-left:before{content:"\f060";} -.icon-arrow-right:before{content:"\f061";} -.icon-arrow-up:before{content:"\f062";} -.icon-arrow-down:before{content:"\f063";} -.icon-mail-forward:before,.icon-share-alt:before{content:"\f064";} -.icon-resize-full:before{content:"\f065";} -.icon-resize-small:before{content:"\f066";} -.icon-plus:before{content:"\f067";} -.icon-minus:before{content:"\f068";} -.icon-asterisk:before{content:"\f069";} -.icon-exclamation-sign:before{content:"\f06a";} -.icon-gift:before{content:"\f06b";} -.icon-leaf:before{content:"\f06c";} -.icon-fire:before{content:"\f06d";} -.icon-eye-open:before{content:"\f06e";} -.icon-eye-close:before{content:"\f070";} -.icon-warning-sign:before{content:"\f071";} -.icon-plane:before{content:"\f072";} -.icon-calendar:before{content:"\f073";} -.icon-random:before{content:"\f074";} -.icon-comment:before{content:"\f075";} -.icon-magnet:before{content:"\f076";} -.icon-chevron-up:before{content:"\f077";} -.icon-chevron-down:before{content:"\f078";} -.icon-retweet:before{content:"\f079";} -.icon-shopping-cart:before{content:"\f07a";} -.icon-folder-close:before{content:"\f07b";} -.icon-folder-open:before{content:"\f07c";} -.icon-resize-vertical:before{content:"\f07d";} -.icon-resize-horizontal:before{content:"\f07e";} -.icon-bar-chart:before{content:"\f080";} -.icon-twitter-sign:before{content:"\f081";} -.icon-facebook-sign:before{content:"\f082";} -.icon-camera-retro:before{content:"\f083";} -.icon-key:before{content:"\f084";} -.icon-gears:before,.icon-cogs:before{content:"\f085";} -.icon-comments:before{content:"\f086";} -.icon-thumbs-up-alt:before{content:"\f087";} -.icon-thumbs-down-alt:before{content:"\f088";} -.icon-star-half:before{content:"\f089";} -.icon-heart-empty:before{content:"\f08a";} -.icon-signout:before{content:"\f08b";} -.icon-linkedin-sign:before{content:"\f08c";} -.icon-pushpin:before{content:"\f08d";} -.icon-external-link:before{content:"\f08e";} -.icon-signin:before{content:"\f090";} -.icon-trophy:before{content:"\f091";} -.icon-github-sign:before{content:"\f092";} -.icon-upload-alt:before{content:"\f093";} -.icon-lemon:before{content:"\f094";} -.icon-phone:before{content:"\f095";} -.icon-unchecked:before,.icon-check-empty:before{content:"\f096";} -.icon-bookmark-empty:before{content:"\f097";} -.icon-phone-sign:before{content:"\f098";} -.icon-twitter:before{content:"\f099";} -.icon-facebook:before{content:"\f09a";} -.icon-github:before{content:"\f09b";} -.icon-unlock:before{content:"\f09c";} -.icon-credit-card:before{content:"\f09d";} -.icon-rss:before{content:"\f09e";} -.icon-hdd:before{content:"\f0a0";} -.icon-bullhorn:before{content:"\f0a1";} -.icon-bell:before{content:"\f0a2";} -.icon-certificate:before{content:"\f0a3";} -.icon-hand-right:before{content:"\f0a4";} -.icon-hand-left:before{content:"\f0a5";} -.icon-hand-up:before{content:"\f0a6";} -.icon-hand-down:before{content:"\f0a7";} -.icon-circle-arrow-left:before{content:"\f0a8";} -.icon-circle-arrow-right:before{content:"\f0a9";} -.icon-circle-arrow-up:before{content:"\f0aa";} -.icon-circle-arrow-down:before{content:"\f0ab";} -.icon-globe:before{content:"\f0ac";} -.icon-wrench:before{content:"\f0ad";} -.icon-tasks:before{content:"\f0ae";} -.icon-filter:before{content:"\f0b0";} -.icon-briefcase:before{content:"\f0b1";} -.icon-fullscreen:before{content:"\f0b2";} -.icon-group:before{content:"\f0c0";} -.icon-link:before{content:"\f0c1";} -.icon-cloud:before{content:"\f0c2";} -.icon-beaker:before{content:"\f0c3";} -.icon-cut:before{content:"\f0c4";} -.icon-copy:before{content:"\f0c5";} -.icon-paperclip:before,.icon-paper-clip:before{content:"\f0c6";} -.icon-save:before{content:"\f0c7";} -.icon-sign-blank:before{content:"\f0c8";} -.icon-reorder:before{content:"\f0c9";} -.icon-list-ul:before{content:"\f0ca";} -.icon-list-ol:before{content:"\f0cb";} -.icon-strikethrough:before{content:"\f0cc";} -.icon-underline:before{content:"\f0cd";} -.icon-table:before{content:"\f0ce";} -.icon-magic:before{content:"\f0d0";} -.icon-truck:before{content:"\f0d1";} -.icon-pinterest:before{content:"\f0d2";} -.icon-pinterest-sign:before{content:"\f0d3";} -.icon-google-plus-sign:before{content:"\f0d4";} -.icon-google-plus:before{content:"\f0d5";} -.icon-money:before{content:"\f0d6";} -.icon-caret-down:before{content:"\f0d7";} -.icon-caret-up:before{content:"\f0d8";} -.icon-caret-left:before{content:"\f0d9";} -.icon-caret-right:before{content:"\f0da";} -.icon-columns:before{content:"\f0db";} -.icon-sort:before{content:"\f0dc";} -.icon-sort-down:before{content:"\f0dd";} -.icon-sort-up:before{content:"\f0de";} -.icon-envelope:before{content:"\f0e0";} -.icon-linkedin:before{content:"\f0e1";} -.icon-rotate-left:before,.icon-undo:before{content:"\f0e2";} -.icon-legal:before{content:"\f0e3";} -.icon-dashboard:before{content:"\f0e4";} -.icon-comment-alt:before{content:"\f0e5";} -.icon-comments-alt:before{content:"\f0e6";} -.icon-bolt:before{content:"\f0e7";} -.icon-sitemap:before{content:"\f0e8";} -.icon-umbrella:before{content:"\f0e9";} -.icon-paste:before{content:"\f0ea";} -.icon-lightbulb:before{content:"\f0eb";} -.icon-exchange:before{content:"\f0ec";} -.icon-cloud-download:before{content:"\f0ed";} -.icon-cloud-upload:before{content:"\f0ee";} -.icon-user-md:before{content:"\f0f0";} -.icon-stethoscope:before{content:"\f0f1";} -.icon-suitcase:before{content:"\f0f2";} -.icon-bell-alt:before{content:"\f0f3";} -.icon-coffee:before{content:"\f0f4";} -.icon-food:before{content:"\f0f5";} -.icon-file-text-alt:before{content:"\f0f6";} -.icon-building:before{content:"\f0f7";} -.icon-hospital:before{content:"\f0f8";} -.icon-ambulance:before{content:"\f0f9";} -.icon-medkit:before{content:"\f0fa";} -.icon-fighter-jet:before{content:"\f0fb";} -.icon-beer:before{content:"\f0fc";} -.icon-h-sign:before{content:"\f0fd";} -.icon-plus-sign-alt:before{content:"\f0fe";} -.icon-double-angle-left:before{content:"\f100";} -.icon-double-angle-right:before{content:"\f101";} -.icon-double-angle-up:before{content:"\f102";} -.icon-double-angle-down:before{content:"\f103";} -.icon-angle-left:before{content:"\f104";} -.icon-angle-right:before{content:"\f105";} -.icon-angle-up:before{content:"\f106";} -.icon-angle-down:before{content:"\f107";} -.icon-desktop:before{content:"\f108";} -.icon-laptop:before{content:"\f109";} -.icon-tablet:before{content:"\f10a";} -.icon-mobile-phone:before{content:"\f10b";} -.icon-circle-blank:before{content:"\f10c";} -.icon-quote-left:before{content:"\f10d";} -.icon-quote-right:before{content:"\f10e";} -.icon-spinner:before{content:"\f110";} -.icon-circle:before{content:"\f111";} -.icon-mail-reply:before,.icon-reply:before{content:"\f112";} -.icon-github-alt:before{content:"\f113";} -.icon-folder-close-alt:before{content:"\f114";} -.icon-folder-open-alt:before{content:"\f115";} -.icon-expand-alt:before{content:"\f116";} -.icon-collapse-alt:before{content:"\f117";} -.icon-smile:before{content:"\f118";} -.icon-frown:before{content:"\f119";} -.icon-meh:before{content:"\f11a";} -.icon-gamepad:before{content:"\f11b";} -.icon-keyboard:before{content:"\f11c";} -.icon-flag-alt:before{content:"\f11d";} -.icon-flag-checkered:before{content:"\f11e";} -.icon-terminal:before{content:"\f120";} -.icon-code:before{content:"\f121";} -.icon-reply-all:before{content:"\f122";} -.icon-mail-reply-all:before{content:"\f122";} -.icon-star-half-full:before,.icon-star-half-empty:before{content:"\f123";} -.icon-location-arrow:before{content:"\f124";} -.icon-crop:before{content:"\f125";} -.icon-code-fork:before{content:"\f126";} -.icon-unlink:before{content:"\f127";} -.icon-question:before{content:"\f128";} -.icon-info:before{content:"\f129";} -.icon-exclamation:before{content:"\f12a";} -.icon-superscript:before{content:"\f12b";} -.icon-subscript:before{content:"\f12c";} -.icon-eraser:before{content:"\f12d";} -.icon-puzzle-piece:before{content:"\f12e";} -.icon-microphone:before{content:"\f130";} -.icon-microphone-off:before{content:"\f131";} -.icon-shield:before{content:"\f132";} -.icon-calendar-empty:before{content:"\f133";} -.icon-fire-extinguisher:before{content:"\f134";} -.icon-rocket:before{content:"\f135";} -.icon-maxcdn:before{content:"\f136";} -.icon-chevron-sign-left:before{content:"\f137";} -.icon-chevron-sign-right:before{content:"\f138";} -.icon-chevron-sign-up:before{content:"\f139";} -.icon-chevron-sign-down:before{content:"\f13a";} -.icon-html5:before{content:"\f13b";} -.icon-css3:before{content:"\f13c";} -.icon-anchor:before{content:"\f13d";} -.icon-unlock-alt:before{content:"\f13e";} -.icon-bullseye:before{content:"\f140";} -.icon-ellipsis-horizontal:before{content:"\f141";} -.icon-ellipsis-vertical:before{content:"\f142";} -.icon-rss-sign:before{content:"\f143";} -.icon-play-sign:before{content:"\f144";} -.icon-ticket:before{content:"\f145";} -.icon-minus-sign-alt:before{content:"\f146";} -.icon-check-minus:before{content:"\f147";} -.icon-level-up:before{content:"\f148";} -.icon-level-down:before{content:"\f149";} -.icon-check-sign:before{content:"\f14a";} -.icon-edit-sign:before{content:"\f14b";} -.icon-external-link-sign:before{content:"\f14c";} -.icon-share-sign:before{content:"\f14d";} -.icon-compass:before{content:"\f14e";} -.icon-collapse:before{content:"\f150";} -.icon-collapse-top:before{content:"\f151";} -.icon-expand:before{content:"\f152";} -.icon-euro:before,.icon-eur:before{content:"\f153";} -.icon-gbp:before{content:"\f154";} -.icon-dollar:before,.icon-usd:before{content:"\f155";} -.icon-rupee:before,.icon-inr:before{content:"\f156";} -.icon-yen:before,.icon-jpy:before{content:"\f157";} -.icon-renminbi:before,.icon-cny:before{content:"\f158";} -.icon-won:before,.icon-krw:before{content:"\f159";} -.icon-bitcoin:before,.icon-btc:before{content:"\f15a";} -.icon-file:before{content:"\f15b";} -.icon-file-text:before{content:"\f15c";} -.icon-sort-by-alphabet:before{content:"\f15d";} -.icon-sort-by-alphabet-alt:before{content:"\f15e";} -.icon-sort-by-attributes:before{content:"\f160";} -.icon-sort-by-attributes-alt:before{content:"\f161";} -.icon-sort-by-order:before{content:"\f162";} -.icon-sort-by-order-alt:before{content:"\f163";} -.icon-thumbs-up:before{content:"\f164";} -.icon-thumbs-down:before{content:"\f165";} -.icon-youtube-sign:before{content:"\f166";} -.icon-youtube:before{content:"\f167";} -.icon-xing:before{content:"\f168";} -.icon-xing-sign:before{content:"\f169";} -.icon-youtube-play:before{content:"\f16a";} -.icon-dropbox:before{content:"\f16b";} -.icon-stackexchange:before{content:"\f16c";} -.icon-instagram:before{content:"\f16d";} -.icon-flickr:before{content:"\f16e";} -.icon-adn:before{content:"\f170";} -.icon-bitbucket:before{content:"\f171";} -.icon-bitbucket-sign:before{content:"\f172";} -.icon-tumblr:before{content:"\f173";} -.icon-tumblr-sign:before{content:"\f174";} -.icon-long-arrow-down:before{content:"\f175";} -.icon-long-arrow-up:before{content:"\f176";} -.icon-long-arrow-left:before{content:"\f177";} -.icon-long-arrow-right:before{content:"\f178";} -.icon-apple:before{content:"\f179";} -.icon-windows:before{content:"\f17a";} -.icon-android:before{content:"\f17b";} -.icon-linux:before{content:"\f17c";} -.icon-dribbble:before{content:"\f17d";} -.icon-skype:before{content:"\f17e";} -.icon-foursquare:before{content:"\f180";} -.icon-trello:before{content:"\f181";} -.icon-female:before{content:"\f182";} -.icon-male:before{content:"\f183";} -.icon-gittip:before{content:"\f184";} -.icon-sun:before{content:"\f185";} -.icon-moon:before{content:"\f186";} -.icon-archive:before{content:"\f187";} -.icon-bug:before{content:"\f188";} -.icon-vk:before{content:"\f189";} -.icon-weibo:before{content:"\f18a";} -.icon-renren:before{content:"\f18b";} - -.icon-large{font-size:1.3333333333333333em;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;vertical-align:middle;} -.nav [class^="icon-"],.nav [class*=" icon-"]{vertical-align:inherit;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;}.nav [class^="icon-"].icon-large,.nav [class*=" icon-"].icon-large{vertical-align:-25%;} -.nav-pills [class^="icon-"].icon-large,.nav-tabs [class^="icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large{line-height:.75em;margin-top:-7px;padding-top:5px;margin-bottom:-5px;padding-bottom:4px;} -.btn [class^="icon-"].pull-left,.btn [class*=" icon-"].pull-left,.btn [class^="icon-"].pull-right,.btn [class*=" icon-"].pull-right{vertical-align:inherit;} -.btn [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large{margin-top:-0.5em;} -a [class^="icon-"],a [class*=" icon-"]{cursor:pointer;} -.icon-glass{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-music{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-search{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-envelope-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-heart{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-star{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-star-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-user{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-film{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-th-large{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-th{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-th-list{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ok{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-remove{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-zoom-in{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-zoom-out{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-off{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-power-off{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-signal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cog{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-gear{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-trash{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-home{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-file-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-time{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-road{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-download-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-download{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-upload{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-inbox{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-play-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-repeat{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-rotate-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-refresh{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-list-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-lock{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-flag{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-headphones{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-volume-off{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-volume-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-volume-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-qrcode{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-barcode{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tag{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tags{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-book{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bookmark{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-print{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-camera{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-font{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bold{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-italic{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-text-height{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-text-width{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-align-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-align-center{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-align-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-align-justify{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-list{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-indent-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-indent-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-facetime-video{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-picture{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-pencil{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-map-marker{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-adjust{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tint{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-edit{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-share{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-check{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-move{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-step-backward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-fast-backward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-backward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-play{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-pause{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-stop{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-forward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-fast-forward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-step-forward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-eject{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-plus-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-minus-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-remove-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ok-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-question-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-info-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-screenshot{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-remove-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ok-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ban-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-arrow-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-arrow-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-arrow-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-arrow-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-share-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-mail-forward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-resize-full{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-resize-small{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-plus{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-minus{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-asterisk{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-exclamation-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-gift{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-leaf{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-fire{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-eye-open{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-eye-close{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-warning-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-plane{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-calendar{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-random{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-comment{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-magnet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-retweet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-shopping-cart{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-folder-close{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-folder-open{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-resize-vertical{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-resize-horizontal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bar-chart{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-twitter-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-facebook-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-camera-retro{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-key{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cogs{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-gears{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-comments{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-thumbs-up-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-thumbs-down-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-star-half{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-heart-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-signout{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-linkedin-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-pushpin{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-external-link{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-signin{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-trophy{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-github-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-upload-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-lemon{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-phone{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-check-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-unchecked{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bookmark-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-phone-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-twitter{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-facebook{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-github{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-unlock{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-credit-card{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-rss{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-hdd{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bullhorn{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bell{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-certificate{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-hand-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-hand-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-hand-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-hand-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-circle-arrow-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-circle-arrow-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-circle-arrow-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-circle-arrow-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-globe{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-wrench{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tasks{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-filter{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-briefcase{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-fullscreen{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-group{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-link{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cloud{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-beaker{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cut{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-copy{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-paper-clip{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-paperclip{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-save{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sign-blank{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-reorder{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-list-ul{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-list-ol{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-strikethrough{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-underline{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-table{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-magic{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-truck{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-pinterest{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-pinterest-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-google-plus-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-google-plus{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-money{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-caret-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-caret-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-caret-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-caret-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-columns{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-envelope{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-linkedin{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-undo{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-rotate-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-legal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-dashboard{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-comment-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-comments-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bolt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sitemap{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-umbrella{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-paste{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-lightbulb{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-exchange{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cloud-download{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cloud-upload{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-user-md{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-stethoscope{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-suitcase{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bell-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-coffee{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-food{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-file-text-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-building{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-hospital{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ambulance{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-medkit{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-fighter-jet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-beer{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-h-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-plus-sign-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-double-angle-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-double-angle-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-double-angle-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-double-angle-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-angle-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-angle-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-angle-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-angle-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-desktop{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-laptop{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tablet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-mobile-phone{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-circle-blank{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-quote-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-quote-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-spinner{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-reply{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-mail-reply{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-github-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-folder-close-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-folder-open-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-expand-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-collapse-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-smile{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-frown{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-meh{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-gamepad{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-keyboard{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-flag-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-flag-checkered{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-terminal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-code{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-reply-all{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-mail-reply-all{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-star-half-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-star-half-full{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-location-arrow{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-crop{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-code-fork{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-unlink{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-question{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-info{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-exclamation{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-superscript{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-subscript{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-eraser{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-puzzle-piece{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-microphone{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-microphone-off{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-shield{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-calendar-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-fire-extinguisher{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-rocket{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-maxcdn{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-sign-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-sign-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-sign-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-sign-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-html5{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-css3{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-anchor{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-unlock-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bullseye{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ellipsis-horizontal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ellipsis-vertical{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-rss-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-play-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ticket{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-minus-sign-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-check-minus{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-level-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-level-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-check-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-edit-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-external-link-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-share-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-compass{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-collapse{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-collapse-top{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-expand{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-eur{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-euro{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-gbp{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-usd{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-dollar{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-inr{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-rupee{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-jpy{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-yen{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cny{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-renminbi{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-krw{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-won{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-btc{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bitcoin{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-file{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-file-text{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-by-alphabet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-by-alphabet-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-by-attributes{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-by-attributes-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-by-order{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-by-order-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-thumbs-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-thumbs-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-youtube-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-youtube{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-xing{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-xing-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-youtube-play{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-dropbox{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-stackexchange{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-instagram{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-flickr{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-adn{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bitbucket{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bitbucket-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tumblr{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tumblr-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-long-arrow-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-long-arrow-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-long-arrow-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-long-arrow-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-apple{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-windows{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-android{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-linux{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-dribbble{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-skype{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-foursquare{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-trello{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-female{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-male{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-gittip{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sun{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-moon{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-archive{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bug{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-vk{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-weibo{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-renren{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} diff --git a/goon/browserassets/css/fonts/LICENSE b/goon/browserassets/css/fonts/LICENSE deleted file mode 100644 index c44326a82324..000000000000 --- a/goon/browserassets/css/fonts/LICENSE +++ /dev/null @@ -1,11 +0,0 @@ -PxPlus IBM MDA Font (c) by VileR - -email - viler/ΑΤ/int10h/DΟТ/org -www - http://int10h.org -blog - http://8088mph.blogspot.com - -PxPlus IBM MDA Font is licensed under a -Creative Commons Attribution-ShareAlike 4.0 International License. - -You should have received a copy of the license along with this -work. If not, see <http://creativecommons.org/licenses/by-sa/4.0/>. \ No newline at end of file diff --git a/goon/browserassets/css/fonts/PxPlus_IBM_MDA.ttf b/goon/browserassets/css/fonts/PxPlus_IBM_MDA.ttf deleted file mode 100644 index db3b7b20ab68..000000000000 Binary files a/goon/browserassets/css/fonts/PxPlus_IBM_MDA.ttf and /dev/null differ diff --git a/goon/browserassets/css/fonts/fontawesome-webfont.eot b/goon/browserassets/css/fonts/fontawesome-webfont.eot deleted file mode 100644 index 0662cb96bfb7..000000000000 Binary files a/goon/browserassets/css/fonts/fontawesome-webfont.eot and /dev/null differ diff --git a/goon/browserassets/css/fonts/fontawesome-webfont.svg b/goon/browserassets/css/fonts/fontawesome-webfont.svg deleted file mode 100644 index 2edb4ec34cbc..000000000000 --- a/goon/browserassets/css/fonts/fontawesome-webfont.svg +++ /dev/null @@ -1,399 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > -<svg xmlns="http://www.w3.org/2000/svg"> -<metadata></metadata> -<defs> -<font id="fontawesomeregular" horiz-adv-x="1536" > -<font-face units-per-em="1792" ascent="1536" descent="-256" /> -<missing-glyph horiz-adv-x="448" /> -<glyph unicode=" " horiz-adv-x="448" /> -<glyph unicode="	" horiz-adv-x="448" /> -<glyph unicode=" " horiz-adv-x="448" /> -<glyph unicode="¨" horiz-adv-x="1792" /> -<glyph unicode="©" horiz-adv-x="1792" /> -<glyph unicode="®" horiz-adv-x="1792" /> -<glyph unicode="´" horiz-adv-x="1792" /> -<glyph unicode="Æ" horiz-adv-x="1792" /> -<glyph unicode=" " horiz-adv-x="768" /> -<glyph unicode=" " /> -<glyph unicode=" " horiz-adv-x="768" /> -<glyph unicode=" " /> -<glyph unicode=" " horiz-adv-x="512" /> -<glyph unicode=" " horiz-adv-x="384" /> -<glyph unicode=" " horiz-adv-x="256" /> -<glyph unicode=" " horiz-adv-x="256" /> -<glyph unicode=" " horiz-adv-x="192" /> -<glyph unicode=" " horiz-adv-x="307" /> -<glyph unicode=" " horiz-adv-x="85" /> -<glyph unicode=" " horiz-adv-x="307" /> -<glyph unicode=" " horiz-adv-x="384" /> -<glyph unicode="™" horiz-adv-x="1792" /> -<glyph unicode="∞" horiz-adv-x="1792" /> -<glyph unicode="≠" horiz-adv-x="1792" /> -<glyph unicode="" horiz-adv-x="500" d="M0 0z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" /> -<glyph unicode="" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" /> -<glyph unicode="" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" /> -<glyph unicode="" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" /> -<glyph unicode="" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" /> -<glyph unicode="" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" /> -<glyph unicode="" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " /> -<glyph unicode="" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" /> -<glyph unicode="" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" /> -<glyph unicode="" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" /> -<glyph unicode="" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" /> -<glyph unicode="" horiz-adv-x="1280" d="M128 0h1024v768h-416q-40 0 -68 28t-28 68v416h-512v-1280zM768 896h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376zM1280 864v-896q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h640q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88z " /> -<glyph unicode="" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" /> -<glyph unicode="" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" /> -<glyph unicode="" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" /> -<glyph unicode="" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" /> -<glyph unicode="" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" /> -<glyph unicode="" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" /> -<glyph unicode="" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" /> -<glyph unicode="" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" /> -<glyph unicode="" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" /> -<glyph unicode="" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" /> -<glyph unicode="" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" /> -<glyph unicode="" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" /> -<glyph unicode="" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" /> -<glyph unicode="" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" /> -<glyph unicode="" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" /> -<glyph unicode="" horiz-adv-x="1664" d="M725 977l-170 -450q73 -1 153.5 -2t119 -1.5t52.5 -0.5l29 2q-32 95 -92 241q-53 132 -92 211zM21 -128h-21l2 79q22 7 80 18q89 16 110 31q20 16 48 68l237 616l280 724h75h53l11 -21l205 -480q103 -242 124 -297q39 -102 96 -235q26 -58 65 -164q24 -67 65 -149 q22 -49 35 -57q22 -19 69 -23q47 -6 103 -27q6 -39 6 -57q0 -14 -1 -26q-80 0 -192 8q-93 8 -189 8q-79 0 -135 -2l-200 -11l-58 -2q0 45 4 78l131 28q56 13 68 23q12 12 12 27t-6 32l-47 114l-92 228l-450 2q-29 -65 -104 -274q-23 -64 -23 -84q0 -31 17 -43 q26 -21 103 -32q3 0 13.5 -2t30 -5t40.5 -6q1 -28 1 -58q0 -17 -2 -27q-66 0 -349 20l-48 -8q-81 -14 -167 -14z" /> -<glyph unicode="" horiz-adv-x="1408" d="M555 15q76 -32 140 -32q131 0 216 41t122 113q38 70 38 181q0 114 -41 180q-58 94 -141 126q-80 32 -247 32q-74 0 -101 -10v-144l-1 -173l3 -270q0 -15 12 -44zM541 761q43 -7 109 -7q175 0 264 65t89 224q0 112 -85 187q-84 75 -255 75q-52 0 -130 -13q0 -44 2 -77 q7 -122 6 -279l-1 -98q0 -43 1 -77zM0 -128l2 94q45 9 68 12q77 12 123 31q17 27 21 51q9 66 9 194l-2 497q-5 256 -9 404q-1 87 -11 109q-1 4 -12 12q-18 12 -69 15q-30 2 -114 13l-4 83l260 6l380 13l45 1q5 0 14 0.5t14 0.5q1 0 21.5 -0.5t40.5 -0.5h74q88 0 191 -27 q43 -13 96 -39q57 -29 102 -76q44 -47 65 -104t21 -122q0 -70 -32 -128t-95 -105q-26 -20 -150 -77q177 -41 267 -146q92 -106 92 -236q0 -76 -29 -161q-21 -62 -71 -117q-66 -72 -140 -108q-73 -36 -203 -60q-82 -15 -198 -11l-197 4q-84 2 -298 -11q-33 -3 -272 -11z" /> -<glyph unicode="" horiz-adv-x="1024" d="M0 -126l17 85q4 1 77 20q76 19 116 39q29 37 41 101l27 139l56 268l12 64q8 44 17 84.5t16 67t12.5 46.5t9 30.5t3.5 11.5l29 157l16 63l22 135l8 50v38q-41 22 -144 28q-28 2 -38 4l19 103l317 -14q39 -2 73 -2q66 0 214 9q33 2 68 4.5t36 2.5q-2 -19 -6 -38 q-7 -29 -13 -51q-55 -19 -109 -31q-64 -16 -101 -31q-12 -31 -24 -88q-9 -44 -13 -82q-44 -199 -66 -306l-61 -311l-38 -158l-43 -235l-12 -45q-2 -7 1 -27q64 -15 119 -21q36 -5 66 -10q-1 -29 -7 -58q-7 -31 -9 -41q-18 0 -23 -1q-24 -2 -42 -2q-9 0 -28 3q-19 4 -145 17 l-198 2q-41 1 -174 -11q-74 -7 -98 -9z" /> -<glyph unicode="" horiz-adv-x="1792" d="M81 1407l54 -27q20 -5 211 -5h130l19 3l115 1l215 -1h293l34 -2q14 -1 28 7t21 16l7 8l42 1q15 0 28 -1v-104.5t1 -131.5l1 -100l-1 -58q0 -32 -4 -51q-39 -15 -68 -18q-25 43 -54 128q-8 24 -15.5 62.5t-11.5 65.5t-6 29q-13 15 -27 19q-7 2 -42.5 2t-103.5 -1t-111 -1 q-34 0 -67 -5q-10 -97 -8 -136l1 -152v-332l3 -359l-1 -147q-1 -46 11 -85q49 -25 89 -32q2 0 18 -5t44 -13t43 -12q30 -8 50 -18q5 -45 5 -50q0 -10 -3 -29q-14 -1 -34 -1q-110 0 -187 10q-72 8 -238 8q-88 0 -233 -14q-48 -4 -70 -4q-2 22 -2 26l-1 26v9q21 33 79 49 q139 38 159 50q9 21 12 56q8 192 6 433l-5 428q-1 62 -0.5 118.5t0.5 102.5t-2 57t-6 15q-6 5 -14 6q-38 6 -148 6q-43 0 -100 -13.5t-73 -24.5q-13 -9 -22 -33t-22 -75t-24 -84q-6 -19 -19.5 -32t-20.5 -13q-44 27 -56 44v297v86zM1744 128q33 0 42 -18.5t-11 -44.5 l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80z" /> -<glyph unicode="" d="M81 1407l54 -27q20 -5 211 -5h130l19 3l115 1l446 -1h318l34 -2q14 -1 28 7t21 16l7 8l42 1q15 0 28 -1v-104.5t1 -131.5l1 -100l-1 -58q0 -32 -4 -51q-39 -15 -68 -18q-25 43 -54 128q-8 24 -15.5 62.5t-11.5 65.5t-6 29q-13 15 -27 19q-7 2 -58.5 2t-138.5 -1t-128 -1 q-94 0 -127 -5q-10 -97 -8 -136l1 -152v52l3 -359l-1 -147q-1 -46 11 -85q49 -25 89 -32q2 0 18 -5t44 -13t43 -12q30 -8 50 -18q5 -45 5 -50q0 -10 -3 -29q-14 -1 -34 -1q-110 0 -187 10q-72 8 -238 8q-82 0 -233 -13q-45 -5 -70 -5q-2 22 -2 26l-1 26v9q21 33 79 49 q139 38 159 50q9 21 12 56q6 137 6 433l-5 44q0 265 -2 278q-2 11 -6 15q-6 5 -14 6q-38 6 -148 6q-50 0 -168.5 -14t-132.5 -24q-13 -9 -22 -33t-22 -75t-24 -84q-6 -19 -19.5 -32t-20.5 -13q-44 27 -56 44v297v86zM1505 113q26 -20 26 -49t-26 -49l-162 -126 q-26 -20 -44.5 -11t-18.5 42v80h-1024v-80q0 -33 -18.5 -42t-44.5 11l-162 126q-26 20 -26 49t26 49l162 126q26 20 44.5 11t18.5 -42v-80h1024v80q0 33 18.5 42t44.5 -11z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" /> -<glyph unicode="" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" /> -<glyph unicode="" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" /> -<glyph unicode="" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" /> -<glyph unicode="" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" /> -<glyph unicode="" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" /> -<glyph unicode="" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710 q19 19 32 13t13 -32v-710q4 11 13 19z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" /> -<glyph unicode="" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" /> -<glyph unicode="" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1664" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" /> -<glyph unicode="" horiz-adv-x="1792" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710 q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" /> -<glyph unicode="" horiz-adv-x="1024" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19z" /> -<glyph unicode="" horiz-adv-x="1538" d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" /> -<glyph unicode="" horiz-adv-x="1152" d="M742 -37l-652 651q-37 37 -37 90.5t37 90.5l652 651q37 37 90.5 37t90.5 -37l75 -75q37 -37 37 -90.5t-37 -90.5l-486 -486l486 -485q37 -38 37 -91t-37 -90l-75 -75q-37 -37 -90.5 -37t-90.5 37z" /> -<glyph unicode="" horiz-adv-x="1152" d="M1099 704q0 -52 -37 -91l-652 -651q-37 -37 -90 -37t-90 37l-76 75q-37 39 -37 91q0 53 37 90l486 486l-486 485q-37 39 -37 91q0 53 37 90l76 75q36 38 90 38t90 -38l652 -651q37 -37 37 -90z" /> -<glyph unicode="" d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5 t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" /> -<glyph unicode="" d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19 q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23 t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109 q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143 q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" /> -<glyph unicode="" d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23 l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5 t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198 t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61 t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" /> -<glyph unicode="" d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5 t32.5 -90.5z" /> -<glyph unicode="" d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651 q37 -39 37 -91z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22 t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" /> -<glyph unicode="" d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332 q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" /> -<glyph unicode="" d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45 t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154 q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" /> -<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192 q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" /> -<glyph unicode="" d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320 q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5 t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268 q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-30 0 -51 11t-31 24t-27 42q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5 t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1 q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" /> -<glyph unicode="" horiz-adv-x="1792" d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9 q-105 -188 -315 -566t-316 -567l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5 q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z " /> -<glyph unicode="" horiz-adv-x="1792" d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185 q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9 q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" /> -<glyph unicode="" horiz-adv-x="1664" d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64 q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47 h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" /> -<glyph unicode="" horiz-adv-x="1792" d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1 t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5 v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111 t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281 q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" /> -<glyph unicode="" d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384 q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1611 320q0 -53 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-486 485l-486 -485q-36 -38 -90 -38t-90 38l-75 75q-38 36 -38 90q0 53 38 91l651 651q37 37 90 37q52 0 91 -37l650 -651q38 -38 38 -91z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1611 832q0 -53 -37 -90l-651 -651q-38 -38 -91 -38q-54 0 -90 38l-651 651q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l486 -486l486 486q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" /> -<glyph unicode="" horiz-adv-x="1920" d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -11 7 -21 zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z " /> -<glyph unicode="" horiz-adv-x="1664" d="M640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5 l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5 t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" /> -<glyph unicode="" horiz-adv-x="1920" d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5 t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" /> -<glyph unicode="" horiz-adv-x="768" d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" /> -<glyph unicode="" horiz-adv-x="1920" d="M512 512v-384h-256v384h256zM896 1024v-896h-256v896h256zM1280 768v-640h-256v640h256zM1664 1152v-1024h-256v1024h256zM1792 32v1216q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5z M1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" /> -<glyph unicode="" d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4 q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5 t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" d="M1307 618l23 219h-198v109q0 49 15.5 68.5t71.5 19.5h110v219h-175q-152 0 -218 -72t-66 -213v-131h-131v-219h131v-635h262v635h175zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960 q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280 q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26 l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5 t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" /> -<glyph unicode="" horiz-adv-x="1920" d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -10 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5 l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7 l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -9 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31 q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20 t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68 q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70 q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224 q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7 q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" /> -<glyph unicode="" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5 t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769 q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128 q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" /> -<glyph unicode="" d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 32 18 69t-17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5 t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5 h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -74 49 -163z" /> -<glyph unicode="" horiz-adv-x="896" d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559 q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5 q224 0 351 -124t127 -344z" /> -<glyph unicode="" horiz-adv-x="1664" d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704 q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" /> -<glyph unicode="" d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5 q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="1152" d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38 t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" /> -<glyph unicode="" d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5 q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="1664" d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91 t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96 q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" /> -<glyph unicode="" d="M394 184q-8 -9 -20 3q-13 11 -4 19q8 9 20 -3q12 -11 4 -19zM352 245q9 -12 0 -19q-8 -6 -17 7t0 18q9 7 17 -6zM291 305q-5 -7 -13 -2q-10 5 -7 12q3 5 13 2q10 -5 7 -12zM322 271q-6 -7 -16 3q-9 11 -2 16q6 6 16 -3q9 -11 2 -16zM451 159q-4 -12 -19 -6q-17 4 -13 15 t19 7q16 -5 13 -16zM514 154q0 -11 -16 -11q-17 -2 -17 11q0 11 16 11q17 2 17 -11zM572 164q2 -10 -14 -14t-18 8t14 15q16 2 18 -9zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-224q-16 0 -24.5 1t-19.5 5t-16 14.5t-5 27.5v239q0 97 -52 142q57 6 102.5 18t94 39 t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103 q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -103t0.5 -68q0 -22 -11 -33.5t-22 -13t-33 -1.5 h-224q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92 t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" /> -<glyph unicode="" d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5 q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44 q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5 q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -10 1 -18.5t3 -17t4 -13.5t6.5 -16t6.5 -17q16 -40 25 -118.5t9 -136.5z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -52.5 3.5t-57.5 12.5t-47.5 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-128 79 -264.5 215.5t-215.5 264.5q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47.5t-12.5 57.5t-3.5 52.5 q0 92 51 186q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174 q2 -1 19 -11.5t24 -14t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="1280" d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289 q0 34 19.5 62t52.5 41q21 9 44 9h1048z" /> -<glyph unicode="" d="M1280 343q0 11 -2 16q-3 8 -38.5 29.5t-88.5 49.5l-53 29q-5 3 -19 13t-25 15t-21 5q-18 0 -47 -32.5t-57 -65.5t-44 -33q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170.5 126.5t-126.5 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5t-3.5 16.5q0 13 20.5 33.5t45 38.5 t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5t320.5 -216.5q6 -2 30 -11t33 -12.5 t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" /> -<glyph unicode="" horiz-adv-x="768" d="M511 980h257l-30 -284h-227v-824h-341v824h-170v284h170v171q0 182 86 275.5t283 93.5h227v-284h-142q-39 0 -62.5 -6.5t-34 -23.5t-13.5 -34.5t-3 -49.5v-142z" /> -<glyph unicode="" d="M1536 640q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -39.5 7t-12.5 30v211q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5 q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23 q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -89t0.5 -54q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1664 960v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5 t316.5 -131.5t131.5 -316.5z" /> -<glyph unicode="" horiz-adv-x="1920" d="M1760 1408q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600zM160 1280q-13 0 -22.5 -9.5t-9.5 -22.5v-224h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600zM1760 0q13 0 22.5 9.5t9.5 22.5v608h-1664v-608 q0 -13 9.5 -22.5t22.5 -9.5h1600zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" /> -<glyph unicode="" horiz-adv-x="1408" d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5 t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294 q187 -186 294 -425.5t120 -501.5z" /> -<glyph unicode="" d="M1040 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1296 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1408 160v320q0 13 -9.5 22.5t-22.5 9.5 h-1216q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM1536 480v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v320q0 25 16 75 l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1664 896q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5 t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384zM1536 292v954q-394 -302 -768 -343v-270q377 -42 768 -341z" /> -<glyph unicode="" horiz-adv-x="1664" d="M848 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM183 128h1298q-164 181 -246.5 411.5t-82.5 484.5q0 256 -320 256t-320 -256q0 -254 -82.5 -484.5t-246.5 -411.5zM1664 128q0 -52 -38 -90t-90 -38 h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q190 161 287 397.5t97 498.5q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5z" /> -<glyph unicode="" d="M1376 640l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53q-41 -12 -70 19q-31 29 -19 70 l53 186l-188 48q-40 10 -52 51q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70 l-53 -186l188 -48q40 -10 52 -51q10 -42 -20 -70z" /> -<glyph unicode="" horiz-adv-x="1792" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 768q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106 q-69 -57 -140 -57h-32v-640h32q72 0 167 -32t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90zM1792 769q0 -105 -75.5 -181t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43 q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5 t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1376 128h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-2 3 -3.5 4.5t-4 4.5t-4.5 5q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576 q-50 0 -89 -38.5t-39 -89.5q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32zM1664 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45 t45 -19t45 19t19 45zM1792 768v-640q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181q0 103 76 179t180 76h374q-22 60 -22 128 q0 122 81.5 189t206.5 67q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5z" /> -<glyph unicode="" d="M1280 -64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 700q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576 q-20 0 -48.5 15t-55 33t-68 33t-84.5 15q-67 0 -97.5 -44.5t-30.5 -115.5q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140v-32h640v32q0 72 32 167t64 193.5t32 179.5zM1536 705q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5 t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76 q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227z" /> -<glyph unicode="" d="M1408 576q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33 t55 33t48.5 15v-576q0 -50 38.5 -89t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5zM1280 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 580 q0 -142 -77.5 -230t-217.5 -87l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100 q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317z" /> -<glyph unicode="" d="M1280 576v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45t18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502q26 0 45 19t19 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1285 640q0 27 -18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18l362 362l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1284 641q0 27 -18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45t18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1284 639q0 27 -18 45l-91 91q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45t18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1042 887q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11 q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 10.5t-9.5 10.5q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5 q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5 q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17t10.5 17q9 6 14 5.5t14.5 -5.5 t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-5 7 -8 9q-12 4 -27 -5q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3 q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25 q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5q-16 0 -22 -1q-146 -80 -235 -222q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5 t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-15 25 -17 29q-3 5 -5.5 15.5 t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10t17 -20q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21 q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5 q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3 q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5t0 14t-1.5 12.5l-1 8v18l-1 8q-15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5 t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q7 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5 q15 10 -7 16q-17 5 -43 -12zM879 10q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7t-10 1.5t-11.5 -7 q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5q0 -6 2 -16z" /> -<glyph unicode="" horiz-adv-x="1664" d="M384 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1028 484l-682 -682q-37 -37 -90 -37q-52 0 -91 37l-106 108q-38 36 -38 90q0 53 38 91l681 681q39 -98 114.5 -173.5t173.5 -114.5zM1662 919q0 -39 -23 -106q-47 -134 -164.5 -217.5 t-258.5 -83.5q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q58 0 121.5 -16.5t107.5 -46.5q16 -11 16 -28t-16 -28l-293 -169v-224l193 -107q5 3 79 48.5t135.5 81t70.5 35.5q15 0 23.5 -10t8.5 -25z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1024 128h640v128h-640v-128zM640 640h1024v128h-1024v-128zM1280 1152h384v128h-384v-128zM1792 320v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 832v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19 t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1403 1241q17 -41 -14 -70l-493 -493v-742q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-256 256q-19 19 -19 45v486l-493 493q-31 29 -14 70q17 39 59 39h1280q42 0 59 -39z" /> -<glyph unicode="" horiz-adv-x="1792" d="M640 1280h512v128h-512v-128zM1792 640v-480q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v480h672v-160q0 -26 19 -45t45 -19h320q26 0 45 19t19 45v160h672zM1024 640v-128h-256v128h256zM1792 1120v-384h-1792v384q0 66 47 113t113 47h352v160q0 40 28 68 t68 28h576q40 0 68 -28t28 -68v-160h352q66 0 113 -47t47 -113z" /> -<glyph unicode="" d="M1283 995l-355 -355l355 -355l144 144q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l144 144l-355 355l-355 -355l144 -144q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l144 -144 l355 355l-355 355l-144 -144q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v448q0 26 19 45t45 19h448q42 0 59 -40q17 -39 -14 -69l-144 -144l355 -355l355 355l-144 144q-31 30 -14 69q17 40 59 40h448q26 0 45 -19t19 -45v-448q0 -42 -39 -59q-13 -5 -25 -5q-26 0 -45 19z " /> -<glyph unicode="" horiz-adv-x="1920" d="M593 640q-162 -5 -265 -128h-134q-82 0 -138 40.5t-56 118.5q0 353 124 353q6 0 43.5 -21t97.5 -42.5t119 -21.5q67 0 133 23q-5 -37 -5 -66q0 -139 81 -256zM1664 3q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5 t43 97.5t62 81t85.5 53.5t111.5 20q10 0 43 -21.5t73 -48t107 -48t135 -21.5t135 21.5t107 48t73 48t43 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM640 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75 t75 -181zM1344 896q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5zM1920 671q0 -78 -56 -118.5t-138 -40.5h-134q-103 123 -265 128q81 117 81 256q0 29 -5 66q66 -23 133 -23q59 0 119 21.5t97.5 42.5 t43.5 21q124 0 124 -353zM1792 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1456 320q0 40 -28 68l-208 208q-28 28 -68 28q-42 0 -72 -32q3 -3 19 -18.5t21.5 -21.5t15 -19t13 -25.5t3.5 -27.5q0 -40 -28 -68t-68 -28q-15 0 -27.5 3.5t-25.5 13t-19 15t-21.5 21.5t-18.5 19q-33 -31 -33 -73q0 -40 28 -68l206 -207q27 -27 68 -27q40 0 68 26 l147 146q28 28 28 67zM753 1025q0 40 -28 68l-206 207q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l208 -208q27 -27 68 -27q42 0 72 31q-3 3 -19 18.5t-21.5 21.5t-15 19t-13 25.5t-3.5 27.5q0 40 28 68t68 28q15 0 27.5 -3.5t25.5 -13t19 -15 t21.5 -21.5t18.5 -19q33 31 33 73zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-206 207q-83 83 -83 203q0 123 88 209l-88 88q-86 -88 -208 -88q-120 0 -204 84l-208 208q-84 84 -84 204t85 203l147 146q83 83 203 83q121 0 204 -85l206 -207 q83 -83 83 -203q0 -123 -88 -209l88 -88q86 88 208 88q120 0 204 -84l208 -208q84 -84 84 -204z" /> -<glyph unicode="" horiz-adv-x="1920" d="M1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5q0 132 71 241.5t187 163.5q-2 28 -2 43q0 212 150 362t362 150q158 0 286.5 -88t187.5 -230q70 62 166 62q106 0 181 -75t75 -181q0 -75 -41 -138q129 -30 213 -134.5t84 -239.5z " /> -<glyph unicode="" horiz-adv-x="1664" d="M1527 88q56 -89 21.5 -152.5t-140.5 -63.5h-1152q-106 0 -140.5 63.5t21.5 152.5l503 793v399h-64q-26 0 -45 19t-19 45t19 45t45 19h512q26 0 45 -19t19 -45t-19 -45t-45 -19h-64v-399zM748 813l-272 -429h712l-272 429l-20 31v37v399h-128v-399v-37z" /> -<glyph unicode="" horiz-adv-x="1792" d="M960 640q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1260 576l507 -398q28 -20 25 -56q-5 -35 -35 -51l-128 -64q-13 -7 -29 -7q-17 0 -31 8l-690 387l-110 -66q-8 -4 -12 -5q14 -49 10 -97q-7 -77 -56 -147.5t-132 -123.5q-132 -84 -277 -84 q-136 0 -222 78q-90 84 -79 207q7 76 56 147t131 124q132 84 278 84q83 0 151 -31q9 13 22 22l122 73l-122 73q-13 9 -22 22q-68 -31 -151 -31q-146 0 -278 84q-82 53 -131 124t-56 147q-5 59 15.5 113t63.5 93q85 79 222 79q145 0 277 -84q83 -52 132 -123t56 -148 q4 -48 -10 -97q4 -1 12 -5l110 -66l690 387q14 8 31 8q16 0 29 -7l128 -64q30 -16 35 -51q3 -36 -25 -56zM579 836q46 42 21 108t-106 117q-92 59 -192 59q-74 0 -113 -36q-46 -42 -21 -108t106 -117q92 -59 192 -59q74 0 113 36zM494 91q81 51 106 117t-21 108 q-39 36 -113 36q-100 0 -192 -59q-81 -51 -106 -117t21 -108q39 -36 113 -36q100 0 192 59zM672 704l96 -58v11q0 36 33 56l14 8l-79 47l-26 -26q-3 -3 -10 -11t-12 -12q-2 -2 -4 -3.5t-3 -2.5zM896 480l96 -32l736 576l-128 64l-768 -431v-113l-160 -96l9 -8q2 -2 7 -6 q4 -4 11 -12t11 -12l26 -26zM1600 64l128 64l-520 408l-177 -138q-2 -3 -13 -7z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1696 1152q40 0 68 -28t28 -68v-1216q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v288h-544q-40 0 -68 28t-28 68v672q0 40 20 88t48 76l408 408q28 28 76 48t88 20h416q40 0 68 -28t28 -68v-328q68 40 128 40h416zM1152 939l-299 -299h299v299zM512 1323l-299 -299 h299v299zM708 676l316 316v416h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h512v256q0 40 20 88t48 76zM1664 -128v1152h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h896z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1404 151q0 -117 -79 -196t-196 -79q-135 0 -235 100l-777 776q-113 115 -113 271q0 159 110 270t269 111q158 0 273 -113l605 -606q10 -10 10 -22q0 -16 -30.5 -46.5t-46.5 -30.5q-13 0 -23 10l-606 607q-79 77 -181 77q-106 0 -179 -75t-73 -181q0 -105 76 -181 l776 -777q63 -63 145 -63q64 0 106 42t42 106q0 82 -63 145l-581 581q-26 24 -60 24q-29 0 -48 -19t-19 -48q0 -32 25 -59l410 -410q10 -10 10 -22q0 -16 -31 -47t-47 -31q-12 0 -22 10l-410 410q-63 61 -63 149q0 82 57 139t139 57q88 0 149 -63l581 -581q100 -98 100 -235 z" /> -<glyph unicode="" d="M384 0h768v384h-768v-384zM1280 0h128v896q0 14 -10 38.5t-20 34.5l-281 281q-10 10 -34 20t-39 10v-416q0 -40 -28 -68t-68 -28h-576q-40 0 -68 28t-28 68v416h-128v-1280h128v416q0 40 28 68t68 28h832q40 0 68 -28t28 -68v-416zM896 928v320q0 13 -9.5 22.5t-22.5 9.5 h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5zM1536 896v-928q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h928q40 0 88 -20t76 -48l280 -280q28 -28 48 -76t20 -88z" /> -<glyph unicode="" d="M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" d="M1536 192v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 704v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 1216v-128q0 -26 -19 -45 t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1792" d="M384 128q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 640q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1152q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z M1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M381 -84q0 -80 -54.5 -126t-135.5 -46q-106 0 -172 66l57 88q49 -45 106 -45q29 0 50.5 14.5t21.5 42.5q0 64 -105 56l-26 56q8 10 32.5 43.5t42.5 54t37 38.5v1q-16 0 -48.5 -1t-48.5 -1v-53h-106v152h333v-88l-95 -115q51 -12 81 -49t30 -88zM383 543v-159h-362 q-6 36 -6 54q0 51 23.5 93t56.5 68t66 47.5t56.5 43.5t23.5 45q0 25 -14.5 38.5t-39.5 13.5q-46 0 -81 -58l-85 59q24 51 71.5 79.5t105.5 28.5q73 0 123 -41.5t50 -112.5q0 -50 -34 -91.5t-75 -64.5t-75.5 -50.5t-35.5 -52.5h127v60h105zM1792 224v-192q0 -13 -9.5 -22.5 t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1123v-99h-335v99h107q0 41 0.5 122t0.5 121v12h-2q-8 -17 -50 -54l-71 76l136 127h106v-404h108zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5 t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1760 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h1728zM483 704q-28 35 -51 80q-48 97 -48 188q0 181 134 309q133 127 393 127q50 0 167 -19q66 -12 177 -48q10 -38 21 -118q14 -123 14 -183q0 -18 -5 -45l-12 -3l-84 6 l-14 2q-50 149 -103 205q-88 91 -210 91q-114 0 -182 -59q-67 -58 -67 -146q0 -73 66 -140t279 -129q69 -20 173 -66q58 -28 95 -52h-743zM990 448h411q7 -39 7 -92q0 -111 -41 -212q-23 -55 -71 -104q-37 -35 -109 -81q-80 -48 -153 -66q-80 -21 -203 -21q-114 0 -195 23 l-140 40q-57 16 -72 28q-8 8 -8 22v13q0 108 -2 156q-1 30 0 68l2 37v44l102 2q15 -34 30 -71t22.5 -56t12.5 -27q35 -57 80 -94q43 -36 105 -57q59 -22 132 -22q64 0 139 27q77 26 122 86q47 61 47 129q0 84 -81 157q-34 29 -137 71z" /> -<glyph unicode="" d="M48 1313q-37 2 -45 4l-3 88q13 1 40 1q60 0 112 -4q132 -7 166 -7q86 0 168 3q116 4 146 5q56 0 86 2l-1 -14l2 -64v-9q-60 -9 -124 -9q-60 0 -79 -25q-13 -14 -13 -132q0 -13 0.5 -32.5t0.5 -25.5l1 -229l14 -280q6 -124 51 -202q35 -59 96 -92q88 -47 177 -47 q104 0 191 28q56 18 99 51q48 36 65 64q36 56 53 114q21 73 21 229q0 79 -3.5 128t-11 122.5t-13.5 159.5l-4 59q-5 67 -24 88q-34 35 -77 34l-100 -2l-14 3l2 86h84l205 -10q76 -3 196 10l18 -2q6 -38 6 -51q0 -7 -4 -31q-45 -12 -84 -13q-73 -11 -79 -17q-15 -15 -15 -41 q0 -7 1.5 -27t1.5 -31q8 -19 22 -396q6 -195 -15 -304q-15 -76 -41 -122q-38 -65 -112 -123q-75 -57 -182 -89q-109 -33 -255 -33q-167 0 -284 46q-119 47 -179 122q-61 76 -83 195q-16 80 -16 237v333q0 188 -17 213q-25 36 -147 39zM1536 -96v64q0 14 -9 23t-23 9h-1472 q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h1472q14 0 23 9t9 23z" /> -<glyph unicode="" horiz-adv-x="1664" d="M512 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23 v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 160v192 q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192 q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1664 1248v-1088q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1344q66 0 113 -47t47 -113 z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1190 955l293 293l-107 107l-293 -293zM1637 1248q0 -27 -18 -45l-1286 -1286q-18 -18 -45 -18t-45 18l-198 198q-18 18 -18 45t18 45l1286 1286q18 18 45 18t45 -18l198 -198q18 -18 18 -45zM286 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM636 1276 l196 -60l-196 -60l-60 -196l-60 196l-196 60l196 60l60 196zM1566 798l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM926 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98z" /> -<glyph unicode="" horiz-adv-x="1792" d="M640 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM256 640h384v256h-158q-13 0 -22 -9l-195 -195q-9 -9 -9 -22v-30zM1536 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1792 1216v-1024q0 -15 -4 -26.5t-13.5 -18.5 t-16.5 -11.5t-23.5 -6t-22.5 -2t-25.5 0t-22.5 0.5q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-64q-3 0 -22.5 -0.5t-25.5 0t-22.5 2t-23.5 6t-16.5 11.5t-13.5 18.5t-4 26.5q0 26 19 45t45 19v320q0 8 -0.5 35t0 38 t2.5 34.5t6.5 37t14 30.5t22.5 30l198 198q19 19 50.5 32t58.5 13h160v192q0 26 19 45t45 19h1024q26 0 45 -19t19 -45z" /> -<glyph unicode="" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103q-111 0 -218 32q59 93 78 164q9 34 54 211q20 -39 73 -67.5t114 -28.5q121 0 216 68.5t147 188.5t52 270q0 114 -59.5 214t-172.5 163t-255 63q-105 0 -196 -29t-154.5 -77t-109 -110.5t-67 -129.5t-21.5 -134 q0 -104 40 -183t117 -111q30 -12 38 20q2 7 8 31t8 30q6 23 -11 43q-51 61 -51 151q0 151 104.5 259.5t273.5 108.5q151 0 235.5 -82t84.5 -213q0 -170 -68.5 -289t-175.5 -119q-61 0 -98 43.5t-23 104.5q8 35 26.5 93.5t30 103t11.5 75.5q0 50 -27 83t-77 33 q-62 0 -105 -57t-43 -142q0 -73 25 -122l-99 -418q-17 -70 -13 -177q-206 91 -333 281t-127 423q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-725q85 122 108 210q9 34 53 209q21 -39 73.5 -67t112.5 -28q181 0 295.5 147.5t114.5 373.5q0 84 -35 162.5t-96.5 139t-152.5 97t-197 36.5q-104 0 -194.5 -28.5t-153 -76.5 t-107.5 -109.5t-66.5 -128t-21.5 -132.5q0 -102 39.5 -180t116.5 -110q13 -5 23.5 0t14.5 19q10 44 15 61q6 23 -11 42q-50 62 -50 150q0 150 103.5 256.5t270.5 106.5q149 0 232.5 -81t83.5 -210q0 -168 -67.5 -286t-173.5 -118q-60 0 -97 43.5t-23 103.5q8 34 26.5 92.5 t29.5 102t11 74.5q0 49 -26.5 81.5t-75.5 32.5q-61 0 -103.5 -56.5t-42.5 -139.5q0 -72 24 -121l-98 -414q-24 -100 -7 -254h-183q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960z" /> -<glyph unicode="" d="M678 -57q0 -38 -10 -71h-380q-95 0 -171.5 56.5t-103.5 147.5q24 45 69 77.5t100 49.5t107 24t107 7q32 0 49 -2q6 -4 30.5 -21t33 -23t31 -23t32 -25.5t27.5 -25.5t26.5 -29.5t21 -30.5t17.5 -34.5t9.5 -36t4.5 -40.5zM385 294q-234 -7 -385 -85v433q103 -118 273 -118 q32 0 70 5q-21 -61 -21 -86q0 -67 63 -149zM558 805q0 -100 -43.5 -160.5t-140.5 -60.5q-51 0 -97 26t-78 67.5t-56 93.5t-35.5 104t-11.5 99q0 96 51.5 165t144.5 69q66 0 119 -41t84 -104t47 -130t16 -128zM1536 896v-736q0 -119 -84.5 -203.5t-203.5 -84.5h-468 q39 73 39 157q0 66 -22 122.5t-55.5 93t-72 71t-72 59.5t-55.5 54.5t-22 59.5q0 36 23 68t56 61.5t65.5 64.5t55.5 93t23 131t-26.5 145.5t-75.5 118.5q-6 6 -14 11t-12.5 7.5t-10 9.5t-10.5 17h135l135 64h-437q-138 0 -244.5 -38.5t-182.5 -133.5q0 126 81 213t207 87h960 q119 0 203.5 -84.5t84.5 -203.5v-96h-256v256h-128v-256h-256v-128h256v-256h128v256h256z" /> -<glyph unicode="" horiz-adv-x="1664" d="M876 71q0 21 -4.5 40.5t-9.5 36t-17.5 34.5t-21 30.5t-26.5 29.5t-27.5 25.5t-32 25.5t-31 23t-33 23t-30.5 21q-17 2 -50 2q-54 0 -106 -7t-108 -25t-98 -46t-69 -75t-27 -107q0 -68 35.5 -121.5t93 -84t120.5 -45.5t127 -15q59 0 112.5 12.5t100.5 39t74.5 73.5 t27.5 110zM756 933q0 60 -16.5 127.5t-47 130.5t-84 104t-119.5 41q-93 0 -144 -69t-51 -165q0 -47 11.5 -99t35.5 -104t56 -93.5t78 -67.5t97 -26q97 0 140.5 60.5t43.5 160.5zM625 1408h437l-135 -79h-135q71 -45 110 -126t39 -169q0 -74 -23 -131.5t-56 -92.5t-66 -64.5 t-56 -61t-23 -67.5q0 -26 16.5 -51t43 -48t58.5 -48t64 -55.5t58.5 -66t43 -85t16.5 -106.5q0 -160 -140 -282q-152 -131 -420 -131q-59 0 -119.5 10t-122 33.5t-108.5 58t-77 89t-30 121.5q0 61 37 135q32 64 96 110.5t145 71t155 36t150 13.5q-64 83 -64 149q0 12 2 23.5 t5 19.5t8 21.5t7 21.5q-40 -5 -70 -5q-149 0 -255.5 98t-106.5 246q0 140 95 250.5t234 141.5q94 20 187 20zM1664 1152v-128h-256v-256h-128v256h-256v128h256v256h128v-256h256z" /> -<glyph unicode="" horiz-adv-x="1920" d="M768 384h384v96h-128v448h-114l-148 -137l77 -80q42 37 55 57h2v-288h-128v-96zM1280 640q0 -70 -21 -142t-59.5 -134t-101.5 -101t-138 -39t-138 39t-101.5 101t-59.5 134t-21 142t21 142t59.5 134t101.5 101t138 39t138 -39t101.5 -101t59.5 -134t21 -142zM1792 384 v512q-106 0 -181 75t-75 181h-1152q0 -106 -75 -181t-181 -75v-512q106 0 181 -75t75 -181h1152q0 106 75 181t181 75zM1920 1216v-1152q0 -26 -19 -45t-45 -19h-1792q-26 0 -45 19t-19 45v1152q0 26 19 45t45 19h1792q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1024" d="M1024 320q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" /> -<glyph unicode="" horiz-adv-x="640" d="M640 1088v-896q0 -26 -19 -45t-45 -19t-45 19l-448 448q-19 19 -19 45t19 45l448 448q19 19 45 19t45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="640" d="M576 640q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19t-19 45v896q0 26 19 45t45 19t45 -19l448 -448q19 -19 19 -45z" /> -<glyph unicode="" horiz-adv-x="1664" d="M160 0h608v1152h-640v-1120q0 -13 9.5 -22.5t22.5 -9.5zM1536 32v1120h-640v-1152h608q13 0 22.5 9.5t9.5 22.5zM1664 1248v-1216q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1344q66 0 113 -47t47 -113z" /> -<glyph unicode="" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45zM1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" /> -<glyph unicode="" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 826v-794q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v794q44 -49 101 -87q362 -246 497 -345q57 -42 92.5 -65.5t94.5 -48t110 -24.5h1h1q51 0 110 24.5t94.5 48t92.5 65.5q170 123 498 345q57 39 100 87zM1792 1120q0 -79 -49 -151t-122 -123 q-376 -261 -468 -325q-10 -7 -42.5 -30.5t-54 -38t-52 -32.5t-57.5 -27t-50 -9h-1h-1q-23 0 -50 9t-57.5 27t-52 32.5t-54 38t-42.5 30.5q-91 64 -262 182.5t-205 142.5q-62 42 -117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5 -47t47.5 -113z" /> -<glyph unicode="" d="M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329 q2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z" /> -<glyph unicode="" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1771 0q0 -53 -37 -90l-107 -108q-39 -37 -91 -37q-53 0 -90 37l-363 364q-38 36 -38 90q0 53 43 96l-256 256l-126 -126q-14 -14 -34 -14t-34 14q2 -2 12.5 -12t12.5 -13t10 -11.5t10 -13.5t6 -13.5t5.5 -16.5t1.5 -18q0 -38 -28 -68q-3 -3 -16.5 -18t-19 -20.5 t-18.5 -16.5t-22 -15.5t-22 -9t-26 -4.5q-40 0 -68 28l-408 408q-28 28 -28 68q0 13 4.5 26t9 22t15.5 22t16.5 18.5t20.5 19t18 16.5q30 28 68 28q10 0 18 -1.5t16.5 -5.5t13.5 -6t13.5 -10t11.5 -10t13 -12.5t12 -12.5q-14 14 -14 34t14 34l348 348q14 14 34 14t34 -14 q-2 2 -12.5 12t-12.5 13t-10 11.5t-10 13.5t-6 13.5t-5.5 16.5t-1.5 18q0 38 28 68q3 3 16.5 18t19 20.5t18.5 16.5t22 15.5t22 9t26 4.5q40 0 68 -28l408 -408q28 -28 28 -68q0 -13 -4.5 -26t-9 -22t-15.5 -22t-16.5 -18.5t-20.5 -19t-18 -16.5q-30 -28 -68 -28 q-10 0 -18 1.5t-16.5 5.5t-13.5 6t-13.5 10t-11.5 10t-13 12.5t-12 12.5q14 -14 14 -34t-14 -34l-126 -126l256 -256q43 43 96 43q52 0 91 -37l363 -363q37 -39 37 -91z" /> -<glyph unicode="" horiz-adv-x="1792" d="M384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM576 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1004 351l101 382q6 26 -7.5 48.5t-38.5 29.5 t-48 -6.5t-30 -39.5l-101 -382q-60 -5 -107 -43.5t-63 -98.5q-20 -77 20 -146t117 -89t146 20t89 117q16 60 -6 117t-72 91zM1664 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 1024q0 53 -37.5 90.5 t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1472 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 384q0 -261 -141 -483q-19 -29 -54 -29h-1402q-35 0 -54 29 q-141 221 -141 483q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" /> -<glyph unicode="" horiz-adv-x="1792" d="M896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640 q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 174 120 321.5 t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M704 1152q-153 0 -286 -52t-211.5 -141t-78.5 -191q0 -82 53 -158t149 -132l97 -56l-35 -84q34 20 62 39l44 31l53 -10q78 -14 153 -14q153 0 286 52t211.5 141t78.5 191t-78.5 191t-211.5 141t-286 52zM704 1280q191 0 353.5 -68.5t256.5 -186.5t94 -257t-94 -257 t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224q0 139 94 257t256.5 186.5 t353.5 68.5zM1526 111q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129 q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5z" /> -<glyph unicode="" horiz-adv-x="896" d="M885 970q18 -20 7 -44l-540 -1157q-13 -25 -42 -25q-4 0 -14 2q-17 5 -25.5 19t-4.5 30l197 808l-406 -101q-4 -1 -12 -1q-18 0 -31 11q-18 15 -13 39l201 825q4 14 16 23t28 9h328q19 0 32 -12.5t13 -29.5q0 -8 -5 -18l-171 -463l396 98q8 2 12 2q19 0 34 -15z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 288v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192q0 52 38 90t90 38h512v192h-96q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-96v-192h512q52 0 90 -38t38 -90v-192h96q40 0 68 -28t28 -68 z" /> -<glyph unicode="" horiz-adv-x="1664" d="M896 708v-580q0 -104 -76 -180t-180 -76t-180 76t-76 180q0 26 19 45t45 19t45 -19t19 -45q0 -50 39 -89t89 -39t89 39t39 89v580q33 11 64 11t64 -11zM1664 681q0 -13 -9.5 -22.5t-22.5 -9.5q-11 0 -23 10q-49 46 -93 69t-102 23q-68 0 -128 -37t-103 -97 q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -28 -17q-18 0 -29 17q-4 6 -14.5 24t-17.5 28q-43 60 -102.5 97t-127.5 37t-127.5 -37t-102.5 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -29 -17q-17 0 -28 17q-4 6 -14.5 24t-17.5 28q-43 60 -103 97t-128 37q-58 0 -102 -23t-93 -69 q-12 -10 -23 -10q-13 0 -22.5 9.5t-9.5 22.5q0 5 1 7q45 183 172.5 319.5t298 204.5t360.5 68q140 0 274.5 -40t246.5 -113.5t194.5 -187t115.5 -251.5q1 -2 1 -7zM896 1408v-98q-42 2 -64 2t-64 -2v98q0 26 19 45t45 19t45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1792" d="M768 -128h896v640h-416q-40 0 -68 28t-28 68v416h-384v-1152zM1024 1312v64q0 13 -9.5 22.5t-22.5 9.5h-704q-13 0 -22.5 -9.5t-9.5 -22.5v-64q0 -13 9.5 -22.5t22.5 -9.5h704q13 0 22.5 9.5t9.5 22.5zM1280 640h299l-299 299v-299zM1792 512v-672q0 -40 -28 -68t-68 -28 h-960q-40 0 -68 28t-28 68v160h-544q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1088q40 0 68 -28t28 -68v-328q21 -13 36 -28l408 -408q28 -28 48 -76t20 -88z" /> -<glyph unicode="" horiz-adv-x="1024" d="M736 960q0 -13 -9.5 -22.5t-22.5 -9.5t-22.5 9.5t-9.5 22.5q0 46 -54 71t-106 25q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5q50 0 99.5 -16t87 -54t37.5 -90zM896 960q0 72 -34.5 134t-90 101.5t-123 62t-136.5 22.5t-136.5 -22.5t-123 -62t-90 -101.5t-34.5 -134 q0 -101 68 -180q10 -11 30.5 -33t30.5 -33q128 -153 141 -298h228q13 145 141 298q10 11 30.5 33t30.5 33q68 79 68 180zM1024 960q0 -155 -103 -268q-45 -49 -74.5 -87t-59.5 -95.5t-34 -107.5q47 -28 47 -82q0 -37 -25 -64q25 -27 25 -64q0 -52 -45 -81q13 -23 13 -47 q0 -46 -31.5 -71t-77.5 -25q-20 -44 -60 -70t-87 -26t-87 26t-60 70q-46 0 -77.5 25t-31.5 71q0 24 13 47q-45 29 -45 81q0 37 25 64q-25 27 -25 64q0 54 47 82q-4 50 -34 107.5t-59.5 95.5t-74.5 87q-103 113 -103 268q0 99 44.5 184.5t117 142t164 89t186.5 32.5 t186.5 -32.5t164 -89t117 -142t44.5 -184.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 352v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5q-12 0 -24 10l-319 320q-9 9 -9 22q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h1376q13 0 22.5 -9.5t9.5 -22.5zM1792 896q0 -14 -9 -23l-320 -320q-9 -9 -23 -9 q-13 0 -22.5 9.5t-9.5 22.5v192h-1376q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1376v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" /> -<glyph unicode="" horiz-adv-x="1920" d="M1280 608q0 14 -9 23t-23 9h-224v352q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-352h-224q-13 0 -22.5 -9.5t-9.5 -22.5q0 -14 9 -23l352 -352q9 -9 23 -9t23 9l351 351q10 12 10 24zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" /> -<glyph unicode="" horiz-adv-x="1920" d="M1280 672q0 14 -9 23l-352 352q-9 9 -23 9t-23 -9l-351 -351q-10 -12 -10 -24q0 -14 9 -23t23 -9h224v-352q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v352h224q13 0 22.5 9.5t9.5 22.5zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" /> -<glyph unicode="" horiz-adv-x="1408" d="M384 192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 68 5.5 131t24 138t47.5 132.5t81 103t120 60.5q-22 -52 -22 -120v-203q-58 -20 -93 -70t-35 -111q0 -80 56 -136t136 -56 t136 56t56 136q0 61 -35.5 111t-92.5 70v203q0 62 25 93q132 -104 295 -104t295 104q25 -31 25 -93v-64q-106 0 -181 -75t-75 -181v-89q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 52 38 90t90 38t90 -38t38 -90v-89q-32 -29 -32 -71q0 -40 28 -68 t68 -28t68 28t28 68q0 42 -32 71v89q0 68 -34.5 127.5t-93.5 93.5q0 10 0.5 42.5t0 48t-2.5 41.5t-7 47t-13 40q68 -15 120 -60.5t81 -103t47.5 -132.5t24 -138t5.5 -131zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5 t271.5 -112.5t112.5 -271.5z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1280 832q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 832q0 -62 -35.5 -111t-92.5 -70v-395q0 -159 -131.5 -271.5t-316.5 -112.5t-316.5 112.5t-131.5 271.5v132q-164 20 -274 128t-110 252v512q0 26 19 45t45 19q6 0 16 -2q17 30 47 48 t65 18q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5q-33 0 -64 18v-402q0 -106 94 -181t226 -75t226 75t94 181v402q-31 -18 -64 -18q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5q35 0 65 -18t47 -48q10 2 16 2q26 0 45 -19t19 -45v-512q0 -144 -110 -252 t-274 -128v-132q0 -106 94 -181t226 -75t226 75t94 181v395q-57 21 -92.5 70t-35.5 111q0 80 56 136t136 56t136 -56t56 -136z" /> -<glyph unicode="" horiz-adv-x="1792" d="M640 1152h512v128h-512v-128zM288 1152v-1280h-64q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h64zM1408 1152v-1280h-1024v1280h128v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h128zM1792 928v-832q0 -92 -66 -158t-158 -66h-64v1280h64q92 0 158 -66 t66 -158z" /> -<glyph unicode="" horiz-adv-x="1664" d="M848 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM1664 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q190 161 287 397.5t97 498.5 q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5z" /> -<glyph unicode="" horiz-adv-x="1920" d="M1664 896q0 80 -56 136t-136 56h-64v-384h64q80 0 136 56t56 136zM0 128h1792q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM1856 896q0 -159 -112.5 -271.5t-271.5 -112.5h-64v-32q0 -92 -66 -158t-158 -66h-704q-92 0 -158 66t-66 158v736q0 26 19 45 t45 19h1152q159 0 271.5 -112.5t112.5 -271.5z" /> -<glyph unicode="" horiz-adv-x="1408" d="M640 1472v-640q0 -61 -35.5 -111t-92.5 -70v-779q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v779q-57 20 -92.5 70t-35.5 111v640q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45 t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45zM1408 1472v-1600q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v512h-224q-13 0 -22.5 9.5t-9.5 22.5v800q0 132 94 226t226 94h256q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1280" d="M1024 352v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23zM1024 608v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23zM128 0h1024v768h-416q-40 0 -68 28t-28 68v416h-512v-1280z M768 896h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376zM1280 864v-896q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h640q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88z" /> -<glyph unicode="" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1536h-1152v-1536h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM1408 1472v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1152h-256v-32q0 -40 -28 -68t-68 -28h-448q-40 0 -68 28t-28 68v32h-256v-1152h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM896 1056v320q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-96h-128v96q0 13 -9.5 22.5 t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v96h128v-96q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1408 1088v-1280q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1280q0 26 19 45t45 19h320 v288q0 40 28 68t68 28h448q40 0 68 -28t28 -68v-288h320q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1920" d="M640 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM256 640h384v256h-158q-14 -2 -22 -9l-195 -195q-7 -12 -9 -22v-30zM1536 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1664 800v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM1920 1344v-1152 q0 -26 -19 -45t-45 -19h-192q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-128q-26 0 -45 19t-19 45t19 45t45 19v416q0 26 13 58t32 51l198 198q19 19 51 32t58 13h160v320q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1280 416v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM640 1152h512v128h-512v-128zM256 1152v-1280h-32 q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h32zM1440 1152v-1280h-1088v1280h160v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h160zM1792 928v-832q0 -92 -66 -158t-158 -66h-32v1280h32q92 0 158 -66t66 -158z" /> -<glyph unicode="" horiz-adv-x="1920" d="M1920 576q-1 -32 -288 -96l-352 -32l-224 -64h-64l-293 -352h69q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-96h-160h-64v32h64v416h-160l-192 -224h-96l-32 32v192h32v32h128v8l-192 24v128l192 24v8h-128v32h-32v192l32 32h96l192 -224h160v416h-64v32h64h160h96 q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-69l293 -352h64l224 -64l352 -32q261 -58 287 -93z" /> -<glyph unicode="" horiz-adv-x="1664" d="M640 640v384h-256v-256q0 -53 37.5 -90.5t90.5 -37.5h128zM1664 192v-192h-1152v192l128 192h-128q-159 0 -271.5 112.5t-112.5 271.5v320l-64 64l32 128h480l32 128h960l32 -192l-64 -32v-800z" /> -<glyph unicode="" d="M1280 192v896q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-512v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-896q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h512v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" d="M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="1024" d="M627 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23zM1011 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23z" /> -<glyph unicode="" horiz-adv-x="1024" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM979 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23 l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" /> -<glyph unicode="" horiz-adv-x="1152" d="M1075 224q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM1075 608q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393 q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" /> -<glyph unicode="" horiz-adv-x="1152" d="M1075 672q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23zM1075 1056q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" /> -<glyph unicode="" horiz-adv-x="640" d="M627 992q0 -13 -10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" /> -<glyph unicode="" horiz-adv-x="640" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" /> -<glyph unicode="" horiz-adv-x="1152" d="M1075 352q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" /> -<glyph unicode="" horiz-adv-x="1152" d="M1075 800q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" /> -<glyph unicode="" horiz-adv-x="1920" d="M1792 544v832q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1376v-1088q0 -66 -47 -113t-113 -47h-544q0 -37 16 -77.5t32 -71t16 -43.5q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19 t-19 45q0 14 16 44t32 70t16 78h-544q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" /> -<glyph unicode="" horiz-adv-x="1920" d="M416 256q-66 0 -113 47t-47 113v704q0 66 47 113t113 47h1088q66 0 113 -47t47 -113v-704q0 -66 -47 -113t-113 -47h-1088zM384 1120v-704q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5z M1760 192h160v-96q0 -40 -47 -68t-113 -28h-1600q-66 0 -113 28t-47 68v96h160h1600zM1040 96q16 0 16 16t-16 16h-160q-16 0 -16 -16t16 -16h160z" /> -<glyph unicode="" horiz-adv-x="1152" d="M640 128q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1024 288v960q0 13 -9.5 22.5t-22.5 9.5h-832q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h832q13 0 22.5 9.5t9.5 22.5zM1152 1248v-1088q0 -66 -47 -113t-113 -47h-832 q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h832q66 0 113 -47t47 -113z" /> -<glyph unicode="" horiz-adv-x="768" d="M464 128q0 33 -23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5t56.5 23.5t23.5 56.5zM672 288v704q0 13 -9.5 22.5t-22.5 9.5h-512q-13 0 -22.5 -9.5t-9.5 -22.5v-704q0 -13 9.5 -22.5t22.5 -9.5h512q13 0 22.5 9.5t9.5 22.5zM480 1136 q0 16 -16 16h-160q-16 0 -16 -16t16 -16h160q16 0 16 16zM768 1152v-1024q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v1024q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" /> -<glyph unicode="" d="M768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103 t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" horiz-adv-x="1664" d="M768 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z M1664 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z" /> -<glyph unicode="" horiz-adv-x="1664" d="M768 1216v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136zM1664 1216 v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136z" /> -<glyph unicode="" horiz-adv-x="1568" d="M496 192q0 -60 -42.5 -102t-101.5 -42q-60 0 -102 42t-42 102t42 102t102 42q59 0 101.5 -42t42.5 -102zM928 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM320 640q0 -66 -47 -113t-113 -47t-113 47t-47 113 t47 113t113 47t113 -47t47 -113zM1360 192q0 -46 -33 -79t-79 -33t-79 33t-33 79t33 79t79 33t79 -33t33 -79zM528 1088q0 -73 -51.5 -124.5t-124.5 -51.5t-124.5 51.5t-51.5 124.5t51.5 124.5t124.5 51.5t124.5 -51.5t51.5 -124.5zM992 1280q0 -80 -56 -136t-136 -56 t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1536 640q0 -40 -28 -68t-68 -28t-68 28t-28 68t28 68t68 28t68 -28t28 -68zM1328 1088q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5z" /> -<glyph unicode="" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 416q0 -166 -127 -451q-3 -7 -10.5 -24t-13.5 -30t-13 -22q-12 -17 -28 -17q-15 0 -23.5 10t-8.5 25q0 9 2.5 26.5t2.5 23.5q5 68 5 123q0 101 -17.5 181t-48.5 138.5t-80 101t-105.5 69.5t-133 42.5t-154 21.5t-175.5 6h-224v-256q0 -26 -19 -45t-45 -19t-45 19 l-512 512q-19 19 -19 45t19 45l512 512q19 19 45 19t45 -19t19 -45v-256h224q713 0 875 -403q53 -134 53 -333z" /> -<glyph unicode="" horiz-adv-x="1664" d="M640 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1280 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1440 320 q0 120 -69 204t-187 84q-41 0 -195 -21q-71 -11 -157 -11t-157 11q-152 21 -195 21q-118 0 -187 -84t-69 -204q0 -88 32 -153.5t81 -103t122 -60t140 -29.5t149 -7h168q82 0 149 7t140 29.5t122 60t81 103t32 153.5zM1664 496q0 -207 -61 -331q-38 -77 -105.5 -133t-141 -86 t-170 -47.5t-171.5 -22t-167 -4.5q-78 0 -142 3t-147.5 12.5t-152.5 30t-137 51.5t-121 81t-86 115q-62 123 -62 331q0 237 136 396q-27 82 -27 170q0 116 51 218q108 0 190 -39.5t189 -123.5q147 35 309 35q148 0 280 -32q105 82 187 121t189 39q51 -102 51 -218 q0 -87 -27 -168q136 -160 136 -398z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1536 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-960q0 -40 28 -68t68 -28h1216q40 0 68 28t28 68zM1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320 q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" /> -<glyph unicode="" horiz-adv-x="1920" d="M1781 605q0 35 -53 35h-1088q-40 0 -85.5 -21.5t-71.5 -52.5l-294 -363q-18 -24 -18 -40q0 -35 53 -35h1088q40 0 86 22t71 53l294 363q18 22 18 39zM640 768h768v160q0 40 -28 68t-68 28h-576q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68 v-853l256 315q44 53 116 87.5t140 34.5zM1909 605q0 -62 -46 -120l-295 -363q-43 -53 -116 -87.5t-140 -34.5h-1088q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h192q54 0 99 -24.5t67 -70.5q15 -32 15 -68z " /> -<glyph unicode="" horiz-adv-x="1152" d="M896 608v-64q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v224q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-224h224q14 0 23 -9t9 -23zM1024 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 -28 t-28 -68v-704q0 -40 28 -68t68 -28h704q40 0 68 28t28 68zM1152 928v-704q0 -92 -65.5 -158t-158.5 -66h-704q-93 0 -158.5 66t-65.5 158v704q0 93 65.5 158.5t158.5 65.5h704q93 0 158.5 -65.5t65.5 -158.5z" /> -<glyph unicode="" horiz-adv-x="1152" d="M928 1152q93 0 158.5 -65.5t65.5 -158.5v-704q0 -92 -65.5 -158t-158.5 -66h-704q-93 0 -158.5 66t-65.5 158v704q0 93 65.5 158.5t158.5 65.5h704zM1024 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 -28t-28 -68v-704q0 -40 28 -68t68 -28h704q40 0 68 28t28 68z M864 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-576q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h576z" /> -<glyph unicode="" d="M1134 461q-37 -121 -138 -195t-228 -74t-228 74t-138 195q-8 25 4 48.5t38 31.5q25 8 48.5 -4t31.5 -38q25 -80 92.5 -129.5t151.5 -49.5t151.5 49.5t92.5 129.5q8 26 32 38t49 4t37 -31.5t4 -48.5zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5 t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1134 307q8 -25 -4 -48.5t-37 -31.5t-49 4t-32 38q-25 80 -92.5 129.5t-151.5 49.5t-151.5 -49.5t-92.5 -129.5q-8 -26 -31.5 -38t-48.5 -4q-26 8 -38 31.5t-4 48.5q37 121 138 195t228 74t228 -74t138 -195zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204 t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1152 448q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h640q26 0 45 -19t19 -45zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" horiz-adv-x="1920" d="M832 448v128q0 14 -9 23t-23 9h-192v192q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-192h-192q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h192v-192q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v192h192q14 0 23 9t9 23zM1408 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1920 512q0 -212 -150 -362t-362 -150q-192 0 -338 128h-220q-146 -128 -338 -128q-212 0 -362 150 t-150 362t150 362t362 150h896q212 0 362 -150t150 -362z" /> -<glyph unicode="" horiz-adv-x="1920" d="M384 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM512 624v-96q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h224q16 0 16 -16zM384 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 368v-96q0 -16 -16 -16 h-864q-16 0 -16 16v96q0 16 16 16h864q16 0 16 -16zM768 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM640 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1024 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16 h96q16 0 16 -16zM896 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1280 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1152 880v-96 q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 880v-352q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h112v240q0 16 16 16h96q16 0 16 -16zM1792 128v896h-1664v-896 h1664zM1920 1024v-896q0 -53 -37.5 -90.5t-90.5 -37.5h-1664q-53 0 -90.5 37.5t-37.5 90.5v896q0 53 37.5 90.5t90.5 37.5h1664q53 0 90.5 -37.5t37.5 -90.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1664 491v616q-169 -91 -306 -91q-82 0 -145 32q-100 49 -184 76.5t-178 27.5q-173 0 -403 -127v-599q245 113 433 113q55 0 103.5 -7.5t98 -26t77 -31t82.5 -39.5l28 -14q44 -22 101 -22q120 0 293 92zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9 h-64q-14 0 -23 9t-9 23v1266q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102 q-15 -9 -33 -9q-16 0 -32 8q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" /> -<glyph unicode="" horiz-adv-x="1792" d="M832 536v192q-181 -16 -384 -117v-185q205 96 384 110zM832 954v197q-172 -8 -384 -126v-189q215 111 384 118zM1664 491v184q-235 -116 -384 -71v224q-20 6 -39 15q-5 3 -33 17t-34.5 17t-31.5 15t-34.5 15.5t-32.5 13t-36 12.5t-35 8.5t-39.5 7.5t-39.5 4t-44 2 q-23 0 -49 -3v-222h19q102 0 192.5 -29t197.5 -82q19 -9 39 -15v-188q42 -17 91 -17q120 0 293 92zM1664 918v189q-169 -91 -306 -91q-45 0 -78 8v-196q148 -42 384 90zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v1266 q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102q-15 -9 -33 -9q-16 0 -32 8 q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" /> -<glyph unicode="" horiz-adv-x="1664" d="M585 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23zM1664 96v-64q0 -14 -9 -23t-23 -9h-960q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h960q14 0 23 -9 t9 -23z" /> -<glyph unicode="" horiz-adv-x="1920" d="M617 137l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23zM1208 1204l-373 -1291q-4 -13 -15.5 -19.5t-23.5 -2.5l-62 17q-13 4 -19.5 15.5t-2.5 24.5 l373 1291q4 13 15.5 19.5t23.5 2.5l62 -17q13 -4 19.5 -15.5t2.5 -24.5zM1865 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23z" /> -<glyph unicode="" horiz-adv-x="1792" d="M640 454v-70q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-69l-397 -398q-19 -19 -19 -45t19 -45zM1792 416q0 -58 -17 -133.5t-38.5 -138t-48 -125t-40.5 -90.5l-20 -40q-8 -17 -28 -17q-6 0 -9 1 q-25 8 -23 34q43 400 -106 565q-64 71 -170.5 110.5t-267.5 52.5v-251q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-262q411 -28 599 -221q169 -173 169 -509z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1186 579l257 250l-356 52l-66 10l-30 60l-159 322v-963l59 -31l318 -168l-60 355l-12 66zM1638 841l-363 -354l86 -500q5 -33 -6 -51.5t-34 -18.5q-17 0 -40 12l-449 236l-449 -236q-23 -12 -40 -12q-23 0 -34 18.5t-6 51.5l86 500l-364 354q-32 32 -23 59.5t54 34.5 l502 73l225 455q20 41 49 41q28 0 49 -41l225 -455l502 -73q45 -7 54 -34.5t-24 -59.5z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1401 1187l-640 -1280q-17 -35 -57 -35q-5 0 -15 2q-22 5 -35.5 22.5t-13.5 39.5v576h-576q-22 0 -39.5 13.5t-22.5 35.5t4 42t29 30l1280 640q13 7 29 7q27 0 45 -19q15 -14 18.5 -34.5t-6.5 -39.5z" /> -<glyph unicode="" horiz-adv-x="1664" d="M557 256h595v595zM512 301l595 595h-595v-595zM1664 224v-192q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v224h-864q-14 0 -23 9t-9 23v864h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23 -9t9 -23 v-224h851l246 247q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-247 -246v-851h224q14 0 23 -9t9 -23z" /> -<glyph unicode="" horiz-adv-x="1024" d="M288 64q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM288 1216q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM928 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1024 1088q0 -52 -26 -96.5t-70 -69.5 q-2 -287 -226 -414q-68 -38 -203 -81q-128 -40 -169.5 -71t-41.5 -100v-26q44 -25 70 -69.5t26 -96.5q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 52 26 96.5t70 69.5v820q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136q0 -52 -26 -96.5t-70 -69.5v-497 q54 26 154 57q55 17 87.5 29.5t70.5 31t59 39.5t40.5 51t28 69.5t8.5 91.5q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136z" /> -<glyph unicode="" horiz-adv-x="1664" d="M439 265l-256 -256q-10 -9 -23 -9q-12 0 -23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23zM608 224v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM384 448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23t9 23t23 9h320 q14 0 23 -9t9 -23zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-334 335q-21 21 -42 56l239 18l273 -274q27 -27 68 -27.5t68 26.5l147 146q28 28 28 67q0 40 -28 68l-274 275l18 239q35 -21 56 -42l336 -336q84 -86 84 -204zM1031 1044l-239 -18 l-273 274q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l274 -274l-18 -240q-35 21 -56 42l-336 336q-84 86 -84 204q0 120 85 203l147 146q83 83 203 83q121 0 204 -85l334 -335q21 -21 42 -56zM1664 960q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9 t-9 23t9 23t23 9h320q14 0 23 -9t9 -23zM1120 1504v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM1527 1353l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" /> -<glyph unicode="" horiz-adv-x="1024" d="M704 280v-240q0 -16 -12 -28t-28 -12h-240q-16 0 -28 12t-12 28v240q0 16 12 28t28 12h240q16 0 28 -12t12 -28zM1020 880q0 -54 -15.5 -101t-35 -76.5t-55 -59.5t-57.5 -43.5t-61 -35.5q-41 -23 -68.5 -65t-27.5 -67q0 -17 -12 -32.5t-28 -15.5h-240q-15 0 -25.5 18.5 t-10.5 37.5v45q0 83 65 156.5t143 108.5q59 27 84 56t25 76q0 42 -46.5 74t-107.5 32q-65 0 -108 -29q-35 -25 -107 -115q-13 -16 -31 -16q-12 0 -25 8l-164 125q-13 10 -15.5 25t5.5 28q160 266 464 266q80 0 161 -31t146 -83t106 -127.5t41 -158.5z" /> -<glyph unicode="" horiz-adv-x="640" d="M640 192v-128q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64v384h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-576h64q26 0 45 -19t19 -45zM512 1344v-192q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v192 q0 26 19 45t45 19h256q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="640" d="M512 288v-224q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v224q0 26 19 45t45 19h256q26 0 45 -19t19 -45zM542 1344l-28 -768q-1 -26 -20.5 -45t-45.5 -19h-256q-26 0 -45.5 19t-20.5 45l-28 768q-1 26 17.5 45t44.5 19h320q26 0 44.5 -19t17.5 -45z" /> -<glyph unicode="" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1534 846v-206h-514l-3 27 q-4 28 -4 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q83 65 188 65q110 0 178 -59.5t68 -158.5q0 -56 -24.5 -103t-62 -76.5t-81.5 -58.5t-82 -50.5t-65.5 -51.5t-30.5 -63h232v80 h126z" /> -<glyph unicode="" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1536 -50v-206h-514l-4 27 q-3 45 -3 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q80 65 188 65q110 0 178 -59.5t68 -158.5q0 -66 -34.5 -118.5t-84 -86t-99.5 -62.5t-87 -63t-41 -73h232v80h126z" /> -<glyph unicode="" horiz-adv-x="1920" d="M896 128l336 384h-768l-336 -384h768zM1909 1205q15 -34 9.5 -71.5t-30.5 -65.5l-896 -1024q-38 -44 -96 -44h-768q-38 0 -69.5 20.5t-47.5 54.5q-15 34 -9.5 71.5t30.5 65.5l896 1024q38 44 96 44h768q38 0 69.5 -20.5t47.5 -54.5z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1664 438q0 -81 -44.5 -135t-123.5 -54q-41 0 -77.5 17.5t-59 38t-56.5 38t-71 17.5q-110 0 -110 -124q0 -39 16 -115t15 -115v-5q-22 0 -33 -1q-34 -3 -97.5 -11.5t-115.5 -13.5t-98 -5q-61 0 -103 26.5t-42 83.5q0 37 17.5 71t38 56.5t38 59t17.5 77.5q0 79 -54 123.5 t-135 44.5q-84 0 -143 -45.5t-59 -127.5q0 -43 15 -83t33.5 -64.5t33.5 -53t15 -50.5q0 -45 -46 -89q-37 -35 -117 -35q-95 0 -245 24q-9 2 -27.5 4t-27.5 4l-13 2q-1 0 -3 1q-2 0 -2 1v1024q2 -1 17.5 -3.5t34 -5t21.5 -3.5q150 -24 245 -24q80 0 117 35q46 44 46 89 q0 22 -15 50.5t-33.5 53t-33.5 64.5t-15 83q0 82 59 127.5t144 45.5q80 0 134 -44.5t54 -123.5q0 -41 -17.5 -77.5t-38 -59t-38 -56.5t-17.5 -71q0 -57 42 -83.5t103 -26.5q64 0 180 15t163 17v-2q-1 -2 -3.5 -17.5t-5 -34t-3.5 -21.5q-24 -150 -24 -245q0 -80 35 -117 q44 -46 89 -46q22 0 50.5 15t53 33.5t64.5 33.5t83 15q82 0 127.5 -59t45.5 -143z" /> -<glyph unicode="" horiz-adv-x="1152" d="M1152 832v-128q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-217 24 -364.5 187.5t-147.5 384.5v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -185 131.5 -316.5t316.5 -131.5 t316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45zM896 1216v-512q0 -132 -94 -226t-226 -94t-226 94t-94 226v512q0 132 94 226t226 94t226 -94t94 -226z" /> -<glyph unicode="" horiz-adv-x="1408" d="M271 591l-101 -101q-42 103 -42 214v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -53 15 -113zM1385 1193l-361 -361v-128q0 -132 -94 -226t-226 -94q-55 0 -109 19l-96 -96q97 -51 205 -51q185 0 316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45v-128 q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-125 13 -235 81l-254 -254q-10 -10 -23 -10t-23 10l-82 82q-10 10 -10 23t10 23l1234 1234q10 10 23 10t23 -10l82 -82q10 -10 10 -23 t-10 -23zM1005 1325l-621 -621v512q0 132 94 226t226 94q102 0 184.5 -59t116.5 -152z" /> -<glyph unicode="" horiz-adv-x="1280" d="M1088 576v640h-448v-1137q119 63 213 137q235 184 235 360zM1280 1344v-768q0 -86 -33.5 -170.5t-83 -150t-118 -127.5t-126.5 -103t-121 -77.5t-89.5 -49.5t-42.5 -20q-12 -6 -26 -6t-26 6q-16 7 -42.5 20t-89.5 49.5t-121 77.5t-126.5 103t-118 127.5t-83 150 t-33.5 170.5v768q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1664" d="M128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280 q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" /> -<glyph unicode="" horiz-adv-x="1408" d="M512 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 1376v-320q0 -16 -12 -25q-8 -7 -20 -7q-4 0 -7 1l-448 96q-11 2 -18 11t-7 20h-256v-102q111 -23 183.5 -111t72.5 -203v-800q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v800 q0 106 62.5 190.5t161.5 114.5v111h-32q-59 0 -115 -23.5t-91.5 -53t-66 -66.5t-40.5 -53.5t-14 -24.5q-17 -35 -57 -35q-16 0 -29 7q-23 12 -31.5 37t3.5 49q5 10 14.5 26t37.5 53.5t60.5 70t85 67t108.5 52.5q-25 42 -25 86q0 66 47 113t113 47t113 -47t47 -113 q0 -33 -14 -64h302q0 11 7 20t18 11l448 96q3 1 7 1q12 0 20 -7q12 -9 12 -25z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1440 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1664 1376q0 -249 -75.5 -430.5t-253.5 -360.5q-81 -80 -195 -176l-20 -379q-2 -16 -16 -26l-384 -224q-7 -4 -16 -4q-12 0 -23 9l-64 64q-13 14 -8 32l85 276l-281 281l-276 -85q-3 -1 -9 -1 q-14 0 -23 9l-64 64q-17 19 -5 39l224 384q10 14 26 16l379 20q96 114 176 195q188 187 358 258t431 71q14 0 24 -9.5t10 -22.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1708 881l-188 -881h-304l181 849q4 21 1 43q-4 20 -16 35q-10 14 -28 24q-18 9 -40 9h-197l-205 -960h-303l204 960h-304l-205 -960h-304l272 1280h1139q157 0 245 -118q86 -116 52 -281z" /> -<glyph unicode="" d="M909 141l102 102q19 19 19 45t-19 45l-307 307l307 307q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M717 141l454 454q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l307 -307l-307 -307q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1165 397l102 102q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l307 307l307 -307q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M813 237l454 454q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-307 -307l-307 307q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1130 939l16 175h-884l47 -534h612l-22 -228l-197 -53l-196 53l-13 140h-175l22 -278l362 -100h4v1l359 99l50 544h-644l-15 181h674zM0 1408h1408l-128 -1438l-578 -162l-574 162z" /> -<glyph unicode="" horiz-adv-x="1792" d="M275 1408h1505l-266 -1333l-804 -267l-698 267l71 356h297l-29 -147l422 -161l486 161l68 339h-1208l58 297h1209l38 191h-1208z" /> -<glyph unicode="" horiz-adv-x="1792" d="M960 1280q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1792 352v-352q0 -22 -20 -30q-8 -2 -12 -2q-13 0 -23 9l-93 93q-119 -143 -318.5 -226.5t-429.5 -83.5t-429.5 83.5t-318.5 226.5l-93 -93q-9 -9 -23 -9q-4 0 -12 2q-20 8 -20 30v352 q0 14 9 23t23 9h352q22 0 30 -20q8 -19 -7 -35l-100 -100q67 -91 189.5 -153.5t271.5 -82.5v647h-192q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h192v163q-58 34 -93 92.5t-35 128.5q0 106 75 181t181 75t181 -75t75 -181q0 -70 -35 -128.5t-93 -92.5v-163h192q26 0 45 -19 t19 -45v-128q0 -26 -19 -45t-45 -19h-192v-647q149 20 271.5 82.5t189.5 153.5l-100 100q-15 16 -7 35q8 20 30 20h352q14 0 23 -9t9 -23z" /> -<glyph unicode="" horiz-adv-x="1152" d="M1056 768q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v320q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45q0 106 -75 181t-181 75t-181 -75t-75 -181 v-320h736z" /> -<glyph unicode="" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM1152 640q0 159 -112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM1280 640q0 -212 -150 -362t-362 -150t-362 150 t-150 362t150 362t362 150t362 -150t150 -362zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" horiz-adv-x="1408" d="M384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM896 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM1408 800v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" /> -<glyph unicode="" horiz-adv-x="384" d="M384 288v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 1312v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" /> -<glyph unicode="" d="M512 256q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM863 162q-13 232 -177 396t-396 177q-14 1 -24 -9t-10 -23v-128q0 -13 8.5 -22t21.5 -10q154 -11 264 -121t121 -264q1 -13 10 -21.5t22 -8.5h128q13 0 23 10 t9 24zM1247 161q-5 154 -56 297.5t-139.5 260t-205 205t-260 139.5t-297.5 56q-14 1 -23 -9q-10 -10 -10 -23v-128q0 -13 9 -22t22 -10q204 -7 378 -111.5t278.5 -278.5t111.5 -378q1 -13 10 -22t22 -9h128q13 0 23 10q11 9 9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1152 585q32 18 32 55t-32 55l-544 320q-31 19 -64 1q-32 -19 -32 -56v-640q0 -37 32 -56 q16 -8 32 -8q17 0 32 9z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1024 1084l316 -316l-572 -572l-316 316zM813 105l618 618q19 19 19 45t-19 45l-362 362q-18 18 -45 18t-45 -18l-618 -618q-19 -19 -19 -45t19 -45l362 -362q18 -18 45 -18t45 18zM1702 742l-907 -908q-37 -37 -90.5 -37t-90.5 37l-126 126q56 56 56 136t-56 136 t-136 56t-136 -56l-125 126q-37 37 -37 90.5t37 90.5l907 906q37 37 90.5 37t90.5 -37l125 -125q-56 -56 -56 -136t56 -136t136 -56t136 56l126 -125q37 -37 37 -90.5t-37 -90.5z" /> -<glyph unicode="" d="M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1152 736v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h832q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5 t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="1024" d="M1018 933q-18 -37 -58 -37h-192v-864q0 -14 -9 -23t-23 -9h-704q-21 0 -29 18q-8 20 4 35l160 192q9 11 25 11h320v640h-192q-40 0 -58 37q-17 37 9 68l320 384q18 22 49 22t49 -22l320 -384q27 -32 9 -68z" /> -<glyph unicode="" horiz-adv-x="1024" d="M32 1280h704q13 0 22.5 -9.5t9.5 -23.5v-863h192q40 0 58 -37t-9 -69l-320 -384q-18 -22 -49 -22t-49 22l-320 384q-26 31 -9 69q18 37 58 37h192v640h-320q-14 0 -25 11l-160 192q-13 14 -4 34q9 19 29 19z" /> -<glyph unicode="" d="M685 237l614 614q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-467 -467l-211 211q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l358 -358q19 -19 45 -19t45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5 t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" d="M404 428l152 -152l-52 -52h-56v96h-96v56zM818 818q14 -13 -3 -30l-291 -291q-17 -17 -30 -3q-14 13 3 30l291 291q17 17 30 3zM544 128l544 544l-288 288l-544 -544v-288h288zM1152 736l92 92q28 28 28 68t-28 68l-152 152q-28 28 -68 28t-68 -28l-92 -92zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" d="M1280 608v480q0 26 -19 45t-45 19h-480q-42 0 -59 -39q-17 -41 14 -70l144 -144l-534 -534q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l534 534l144 -144q18 -19 45 -19q12 0 25 5q39 17 39 59zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" d="M1005 435l352 352q19 19 19 45t-19 45l-352 352q-30 31 -69 14q-40 -17 -40 -59v-160q-119 0 -216 -19.5t-162.5 -51t-114 -79t-76.5 -95.5t-44.5 -109t-21.5 -111.5t-5 -110.5q0 -181 167 -404q10 -12 25 -12q7 0 13 3q22 9 19 33q-44 354 62 473q46 52 130 75.5 t224 23.5v-160q0 -42 40 -59q12 -5 24 -5q26 0 45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" d="M640 448l256 128l-256 128v-256zM1024 1039v-542l-512 -256v542zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1145 861q18 -35 -5 -66l-320 -448q-19 -27 -52 -27t-52 27l-320 448q-23 31 -5 66q17 35 57 35h640q40 0 57 -35zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" d="M1145 419q-17 -35 -57 -35h-640q-40 0 -57 35q-18 35 5 66l320 448q19 27 52 27t52 -27l320 -448q23 -31 5 -66zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" d="M1088 640q0 -33 -27 -52l-448 -320q-31 -23 -66 -5q-35 17 -35 57v640q0 40 35 57q35 18 66 -5l448 -320q27 -19 27 -52zM1280 160v960q0 14 -9 23t-23 9h-960q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h960q14 0 23 9t9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="1024" d="M976 229l35 -159q3 -12 -3 -22.5t-17 -14.5l-5 -1q-4 -2 -10.5 -3.5t-16 -4.5t-21.5 -5.5t-25.5 -5t-30 -5t-33.5 -4.5t-36.5 -3t-38.5 -1q-234 0 -409 130.5t-238 351.5h-95q-13 0 -22.5 9.5t-9.5 22.5v113q0 13 9.5 22.5t22.5 9.5h66q-2 57 1 105h-67q-14 0 -23 9 t-9 23v114q0 14 9 23t23 9h98q67 210 243.5 338t400.5 128q102 0 194 -23q11 -3 20 -15q6 -11 3 -24l-43 -159q-3 -13 -14 -19.5t-24 -2.5l-4 1q-4 1 -11.5 2.5l-17.5 3.5t-22.5 3.5t-26 3t-29 2.5t-29.5 1q-126 0 -226 -64t-150 -176h468q16 0 25 -12q10 -12 7 -26 l-24 -114q-5 -26 -32 -26h-488q-3 -37 0 -105h459q15 0 25 -12q9 -12 6 -27l-24 -112q-2 -11 -11 -18.5t-20 -7.5h-387q48 -117 149.5 -185.5t228.5 -68.5q18 0 36 1.5t33.5 3.5t29.5 4.5t24.5 5t18.5 4.5l12 3l5 2q13 5 26 -2q12 -7 15 -21z" /> -<glyph unicode="" horiz-adv-x="1024" d="M1020 399v-367q0 -14 -9 -23t-23 -9h-956q-14 0 -23 9t-9 23v150q0 13 9.5 22.5t22.5 9.5h97v383h-95q-14 0 -23 9.5t-9 22.5v131q0 14 9 23t23 9h95v223q0 171 123.5 282t314.5 111q185 0 335 -125q9 -8 10 -20.5t-7 -22.5l-103 -127q-9 -11 -22 -12q-13 -2 -23 7 q-5 5 -26 19t-69 32t-93 18q-85 0 -137 -47t-52 -123v-215h305q13 0 22.5 -9t9.5 -23v-131q0 -13 -9.5 -22.5t-22.5 -9.5h-305v-379h414v181q0 13 9 22.5t23 9.5h162q14 0 23 -9.5t9 -22.5z" /> -<glyph unicode="" horiz-adv-x="1024" d="M978 351q0 -153 -99.5 -263.5t-258.5 -136.5v-175q0 -14 -9 -23t-23 -9h-135q-13 0 -22.5 9.5t-9.5 22.5v175q-66 9 -127.5 31t-101.5 44.5t-74 48t-46.5 37.5t-17.5 18q-17 21 -2 41l103 135q7 10 23 12q15 2 24 -9l2 -2q113 -99 243 -125q37 -8 74 -8q81 0 142.5 43 t61.5 122q0 28 -15 53t-33.5 42t-58.5 37.5t-66 32t-80 32.5q-39 16 -61.5 25t-61.5 26.5t-62.5 31t-56.5 35.5t-53.5 42.5t-43.5 49t-35.5 58t-21 66.5t-8.5 78q0 138 98 242t255 134v180q0 13 9.5 22.5t22.5 9.5h135q14 0 23 -9t9 -23v-176q57 -6 110.5 -23t87 -33.5 t63.5 -37.5t39 -29t15 -14q17 -18 5 -38l-81 -146q-8 -15 -23 -16q-14 -3 -27 7q-3 3 -14.5 12t-39 26.5t-58.5 32t-74.5 26t-85.5 11.5q-95 0 -155 -43t-60 -111q0 -26 8.5 -48t29.5 -41.5t39.5 -33t56 -31t60.5 -27t70 -27.5q53 -20 81 -31.5t76 -35t75.5 -42.5t62 -50 t53 -63.5t31.5 -76.5t13 -94z" /> -<glyph unicode="" horiz-adv-x="898" d="M898 1066v-102q0 -14 -9 -23t-23 -9h-168q-23 -144 -129 -234t-276 -110q167 -178 459 -536q14 -16 4 -34q-8 -18 -29 -18h-195q-16 0 -25 12q-306 367 -498 571q-9 9 -9 22v127q0 13 9.5 22.5t22.5 9.5h112q132 0 212.5 43t102.5 125h-427q-14 0 -23 9t-9 23v102 q0 14 9 23t23 9h413q-57 113 -268 113h-145q-13 0 -22.5 9.5t-9.5 22.5v133q0 14 9 23t23 9h832q14 0 23 -9t9 -23v-102q0 -14 -9 -23t-23 -9h-233q47 -61 64 -144h171q14 0 23 -9t9 -23z" /> -<glyph unicode="" horiz-adv-x="1027" d="M603 0h-172q-13 0 -22.5 9t-9.5 23v330h-288q-13 0 -22.5 9t-9.5 23v103q0 13 9.5 22.5t22.5 9.5h288v85h-288q-13 0 -22.5 9t-9.5 23v104q0 13 9.5 22.5t22.5 9.5h214l-321 578q-8 16 0 32q10 16 28 16h194q19 0 29 -18l215 -425q19 -38 56 -125q10 24 30.5 68t27.5 61 l191 420q8 19 29 19h191q17 0 27 -16q9 -14 1 -31l-313 -579h215q13 0 22.5 -9.5t9.5 -22.5v-104q0 -14 -9.5 -23t-22.5 -9h-290v-85h290q13 0 22.5 -9.5t9.5 -22.5v-103q0 -14 -9.5 -23t-22.5 -9h-290v-330q0 -13 -9.5 -22.5t-22.5 -9.5z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1664 352v-32q0 -132 -94 -226t-226 -94h-128q-132 0 -226 94t-94 226v480h-224q-2 -102 -14.5 -190.5t-30.5 -156t-48.5 -126.5t-57 -99.5t-67.5 -77.5t-69.5 -58.5t-74 -44t-69 -32t-65.5 -25.5q-4 -2 -32 -13q-8 -2 -12 -2q-22 0 -30 20l-71 178q-5 13 0 25t17 17 q7 3 20 7.5t18 6.5q31 12 46.5 18.5t44.5 20t45.5 26t42 32.5t40.5 42.5t34.5 53.5t30.5 68.5t22.5 83.5t17 103t6.5 123h-256q-14 0 -23 9t-9 23v160q0 14 9 23t23 9h1216q14 0 23 -9t9 -23v-160q0 -14 -9 -23t-23 -9h-224v-512q0 -26 19 -45t45 -19h128q26 0 45 19t19 45 v64q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1280 1376v-160q0 -14 -9 -23t-23 -9h-960q-14 0 -23 9t-9 23v160q0 14 9 23t23 9h960q14 0 23 -9t9 -23z" /> -<glyph unicode="" horiz-adv-x="1792" d="M514 341l81 299h-159l75 -300q1 -1 1 -3t1 -3q0 1 0.5 3.5t0.5 3.5zM630 768l35 128h-292l32 -128h225zM822 768h139l-35 128h-70zM1271 340l78 300h-162l81 -299q0 -1 0.5 -3.5t1.5 -3.5q0 1 0.5 3t0.5 3zM1382 768l33 128h-297l34 -128h230zM1792 736v-64q0 -14 -9 -23 t-23 -9h-213l-164 -616q-7 -24 -31 -24h-159q-24 0 -31 24l-166 616h-209l-167 -616q-7 -24 -31 -24h-159q-11 0 -19.5 7t-10.5 17l-160 616h-208q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h175l-33 128h-142q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h109l-89 344q-5 15 5 28 q10 12 26 12h137q26 0 31 -24l90 -360h359l97 360q7 24 31 24h126q24 0 31 -24l98 -360h365l93 360q5 24 31 24h137q16 0 26 -12q10 -13 5 -28l-91 -344h111q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-145l-34 -128h179q14 0 23 -9t9 -23z" /> -<glyph unicode="" horiz-adv-x="1280" d="M1167 896q18 -182 -131 -258q117 -28 175 -103t45 -214q-7 -71 -32.5 -125t-64.5 -89t-97 -58.5t-121.5 -34.5t-145.5 -15v-255h-154v251q-80 0 -122 1v-252h-154v255q-18 0 -54 0.5t-55 0.5h-200l31 183h111q50 0 58 51v402h16q-6 1 -16 1v287q-13 68 -89 68h-111v164 l212 -1q64 0 97 1v252h154v-247q82 2 122 2v245h154v-252q79 -7 140 -22.5t113 -45t82.5 -78t36.5 -114.5zM952 351q0 36 -15 64t-37 46t-57.5 30.5t-65.5 18.5t-74 9t-69 3t-64.5 -1t-47.5 -1v-338q8 0 37 -0.5t48 -0.5t53 1.5t58.5 4t57 8.5t55.5 14t47.5 21t39.5 30 t24.5 40t9.5 51zM881 827q0 33 -12.5 58.5t-30.5 42t-48 28t-55 16.5t-61.5 8t-58 2.5t-54 -1t-39.5 -0.5v-307q5 0 34.5 -0.5t46.5 0t50 2t55 5.5t51.5 11t48.5 18.5t37 27t27 38.5t9 51z" /> -<glyph unicode="" horiz-adv-x="1280" d="M1280 768v-800q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h544v-544q0 -40 28 -68t68 -28h544zM1277 896h-509v509q82 -15 132 -65l312 -312q50 -50 65 -132z" /> -<glyph unicode="" horiz-adv-x="1280" d="M1024 160v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1024 416v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1280 768v-800q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28 t-28 68v1344q0 40 28 68t68 28h544v-544q0 -40 28 -68t68 -28h544zM1277 896h-509v509q82 -15 132 -65l312 -312q50 -50 65 -132z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1191 1128h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1572 -23 v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -11v-2l14 2q9 2 30 2h248v119h121zM1661 874v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162 l230 -662h70z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1191 104h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1661 -150 v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162l230 -662h70zM1572 1001v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -10v-3l14 3q9 1 30 1h248 v119h121z" /> -<glyph unicode="" horiz-adv-x="1792" d="M736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1792 -32v-192q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832 q14 0 23 -9t9 -23zM1600 480v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1408 992v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1216 1504v-192q0 -14 -9 -23t-23 -9h-256 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1216 -32v-192q0 -14 -9 -23t-23 -9h-256q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192 q14 0 23 -9t9 -23zM1408 480v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1600 992v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1792 1504v-192q0 -14 -9 -23t-23 -9h-832 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832q14 0 23 -9t9 -23z" /> -<glyph unicode="" d="M1346 223q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23 zM1486 165q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5 t82 -252.5zM1456 882v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165z" /> -<glyph unicode="" d="M1346 1247q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9 t9 -23zM1456 -142v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165zM1486 1189q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13 q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5t82 -252.5z" /> -<glyph unicode="" horiz-adv-x="1664" d="M256 192q0 26 -19 45t-45 19q-27 0 -45.5 -19t-18.5 -45q0 -27 18.5 -45.5t45.5 -18.5q26 0 45 18.5t19 45.5zM416 704v-640q0 -26 -19 -45t-45 -19h-288q-26 0 -45 19t-19 45v640q0 26 19 45t45 19h288q26 0 45 -19t19 -45zM1600 704q0 -86 -55 -149q15 -44 15 -76 q3 -76 -43 -137q17 -56 0 -117q-15 -57 -54 -94q9 -112 -49 -181q-64 -76 -197 -78h-36h-76h-17q-66 0 -144 15.5t-121.5 29t-120.5 39.5q-123 43 -158 44q-26 1 -45 19.5t-19 44.5v641q0 25 18 43.5t43 20.5q24 2 76 59t101 121q68 87 101 120q18 18 31 48t17.5 48.5 t13.5 60.5q7 39 12.5 61t19.5 52t34 50q19 19 45 19q46 0 82.5 -10.5t60 -26t40 -40.5t24 -45t12 -50t5 -45t0.5 -39q0 -38 -9.5 -76t-19 -60t-27.5 -56q-3 -6 -10 -18t-11 -22t-8 -24h277q78 0 135 -57t57 -135z" /> -<glyph unicode="" horiz-adv-x="1664" d="M256 960q0 -26 -19 -45t-45 -19q-27 0 -45.5 19t-18.5 45q0 27 18.5 45.5t45.5 18.5q26 0 45 -18.5t19 -45.5zM416 448v640q0 26 -19 45t-45 19h-288q-26 0 -45 -19t-19 -45v-640q0 -26 19 -45t45 -19h288q26 0 45 19t19 45zM1545 597q55 -61 55 -149q-1 -78 -57.5 -135 t-134.5 -57h-277q4 -14 8 -24t11 -22t10 -18q18 -37 27 -57t19 -58.5t10 -76.5q0 -24 -0.5 -39t-5 -45t-12 -50t-24 -45t-40 -40.5t-60 -26t-82.5 -10.5q-26 0 -45 19q-20 20 -34 50t-19.5 52t-12.5 61q-9 42 -13.5 60.5t-17.5 48.5t-31 48q-33 33 -101 120q-49 64 -101 121 t-76 59q-25 2 -43 20.5t-18 43.5v641q0 26 19 44.5t45 19.5q35 1 158 44q77 26 120.5 39.5t121.5 29t144 15.5h17h76h36q133 -2 197 -78q58 -69 49 -181q39 -37 54 -94q17 -61 0 -117q46 -61 43 -137q0 -32 -15 -76z" /> -<glyph unicode="" d="M919 233v157q0 50 -29 50q-17 0 -33 -16v-224q16 -16 33 -16q29 0 29 49zM1103 355h66v34q0 51 -33 51t-33 -51v-34zM532 621v-70h-80v-423h-74v423h-78v70h232zM733 495v-367h-67v40q-39 -45 -76 -45q-33 0 -42 28q-6 16 -6 54v290h66v-270q0 -24 1 -26q1 -15 15 -15 q20 0 42 31v280h67zM985 384v-146q0 -52 -7 -73q-12 -42 -53 -42q-35 0 -68 41v-36h-67v493h67v-161q32 40 68 40q41 0 53 -42q7 -21 7 -74zM1236 255v-9q0 -29 -2 -43q-3 -22 -15 -40q-27 -40 -80 -40q-52 0 -81 38q-21 27 -21 86v129q0 59 20 86q29 38 80 38t78 -38 q21 -28 21 -86v-76h-133v-65q0 -51 34 -51q24 0 30 26q0 1 0.5 7t0.5 16.5v21.5h68zM785 1079v-156q0 -51 -32 -51t-32 51v156q0 52 32 52t32 -52zM1318 366q0 177 -19 260q-10 44 -43 73.5t-76 34.5q-136 15 -412 15q-275 0 -411 -15q-44 -5 -76.5 -34.5t-42.5 -73.5 q-20 -87 -20 -260q0 -176 20 -260q10 -43 42.5 -73t75.5 -35q137 -15 412 -15t412 15q43 5 75.5 35t42.5 73q20 84 20 260zM563 1017l90 296h-75l-51 -195l-53 195h-78l24 -69t23 -69q35 -103 46 -158v-201h74v201zM852 936v130q0 58 -21 87q-29 38 -78 38q-51 0 -78 -38 q-21 -29 -21 -87v-130q0 -58 21 -87q27 -38 78 -38q49 0 78 38q21 27 21 87zM1033 816h67v370h-67v-283q-22 -31 -42 -31q-15 0 -16 16q-1 2 -1 26v272h-67v-293q0 -37 6 -55q11 -27 43 -27q36 0 77 45v-40zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" d="M971 292v-211q0 -67 -39 -67q-23 0 -45 22v301q22 22 45 22q39 0 39 -67zM1309 291v-46h-90v46q0 68 45 68t45 -68zM343 509h107v94h-312v-94h105v-569h100v569zM631 -60h89v494h-89v-378q-30 -42 -57 -42q-18 0 -21 21q-1 3 -1 35v364h-89v-391q0 -49 8 -73 q12 -37 58 -37q48 0 102 61v-54zM1060 88v197q0 73 -9 99q-17 56 -71 56q-50 0 -93 -54v217h-89v-663h89v48q45 -55 93 -55q54 0 71 55q9 27 9 100zM1398 98v13h-91q0 -51 -2 -61q-7 -36 -40 -36q-46 0 -46 69v87h179v103q0 79 -27 116q-39 51 -106 51q-68 0 -107 -51 q-28 -37 -28 -116v-173q0 -79 29 -116q39 -51 108 -51q72 0 108 53q18 27 21 54q2 9 2 58zM790 1011v210q0 69 -43 69t-43 -69v-210q0 -70 43 -70t43 70zM1509 260q0 -234 -26 -350q-14 -59 -58 -99t-102 -46q-184 -21 -555 -21t-555 21q-58 6 -102.5 46t-57.5 99 q-26 112 -26 350q0 234 26 350q14 59 58 99t103 47q183 20 554 20t555 -20q58 -7 102.5 -47t57.5 -99q26 -112 26 -350zM511 1536h102l-121 -399v-271h-100v271q-14 74 -61 212q-37 103 -65 187h106l71 -263zM881 1203v-175q0 -81 -28 -118q-37 -51 -106 -51q-67 0 -105 51 q-28 38 -28 118v175q0 80 28 117q38 51 105 51q69 0 106 -51q28 -37 28 -117zM1216 1365v-499h-91v55q-53 -62 -103 -62q-46 0 -59 37q-8 24 -8 75v394h91v-367q0 -33 1 -35q3 -22 21 -22q27 0 57 43v381h91z" /> -<glyph unicode="" horiz-adv-x="1408" d="M597 869q-10 -18 -257 -456q-27 -46 -65 -46h-239q-21 0 -31 17t0 36l253 448q1 0 0 1l-161 279q-12 22 -1 37q9 15 32 15h239q40 0 66 -45zM1403 1511q11 -16 0 -37l-528 -934v-1l336 -615q11 -20 1 -37q-10 -15 -32 -15h-239q-42 0 -66 45l-339 622q18 32 531 942 q25 45 64 45h241q22 0 31 -15z" /> -<glyph unicode="" d="M685 771q0 1 -126 222q-21 34 -52 34h-184q-18 0 -26 -11q-7 -12 1 -29l125 -216v-1l-196 -346q-9 -14 0 -28q8 -13 24 -13h185q31 0 50 36zM1309 1268q-7 12 -24 12h-187q-30 0 -49 -35l-411 -729q1 -2 262 -481q20 -35 52 -35h184q18 0 25 12q8 13 -1 28l-260 476v1 l409 723q8 16 0 28zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1280 640q0 37 -30 54l-512 320q-31 20 -65 2q-33 -18 -33 -56v-640q0 -38 33 -56q16 -8 31 -8q20 0 34 10l512 320q30 17 30 54zM1792 640q0 -96 -1 -150t-8.5 -136.5t-22.5 -147.5q-16 -73 -69 -123t-124 -58q-222 -25 -671 -25t-671 25q-71 8 -124.5 58t-69.5 123 q-14 65 -21.5 147.5t-8.5 136.5t-1 150t1 150t8.5 136.5t22.5 147.5q16 73 69 123t124 58q222 25 671 25t671 -25q71 -8 124.5 -58t69.5 -123q14 -65 21.5 -147.5t8.5 -136.5t1 -150z" /> -<glyph unicode="" horiz-adv-x="1792" d="M402 829l494 -305l-342 -285l-490 319zM1388 274v-108l-490 -293v-1l-1 1l-1 -1v1l-489 293v108l147 -96l342 284v2l1 -1l1 1v-2l343 -284zM554 1418l342 -285l-494 -304l-338 270zM1390 829l338 -271l-489 -319l-343 285zM1239 1418l489 -319l-338 -270l-494 304z" /> -<glyph unicode="" horiz-adv-x="1408" d="M928 135v-151l-707 -1v151zM1169 481v-701l-1 -35v-1h-1132l-35 1h-1v736h121v-618h928v618h120zM241 393l704 -65l-13 -150l-705 65zM309 709l683 -183l-39 -146l-683 183zM472 1058l609 -360l-77 -130l-609 360zM832 1389l398 -585l-124 -85l-399 584zM1285 1536 l121 -697l-149 -26l-121 697z" /> -<glyph unicode="" d="M1362 110v648h-135q20 -63 20 -131q0 -126 -64 -232.5t-174 -168.5t-240 -62q-197 0 -337 135.5t-140 327.5q0 68 20 131h-141v-648q0 -26 17.5 -43.5t43.5 -17.5h1069q25 0 43 17.5t18 43.5zM1078 643q0 124 -90.5 211.5t-218.5 87.5q-127 0 -217.5 -87.5t-90.5 -211.5 t90.5 -211.5t217.5 -87.5q128 0 218.5 87.5t90.5 211.5zM1362 1003v165q0 28 -20 48.5t-49 20.5h-174q-29 0 -49 -20.5t-20 -48.5v-165q0 -29 20 -49t49 -20h174q29 0 49 20t20 49zM1536 1211v-1142q0 -81 -58 -139t-139 -58h-1142q-81 0 -139 58t-58 139v1142q0 81 58 139 t139 58h1142q81 0 139 -58t58 -139z" /> -<glyph unicode="" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM698 640q0 88 -62 150t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150zM1262 640q0 88 -62 150 t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150z" /> -<glyph unicode="" d="M768 914l201 -306h-402zM1133 384h94l-459 691l-459 -691h94l104 160h522zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" horiz-adv-x="1408" d="M815 677q8 -63 -50.5 -101t-111.5 -6q-39 17 -53.5 58t-0.5 82t52 58q36 18 72.5 12t64 -35.5t27.5 -67.5zM926 698q-14 107 -113 164t-197 13q-63 -28 -100.5 -88.5t-34.5 -129.5q4 -91 77.5 -155t165.5 -56q91 8 152 84t50 168zM1165 1240q-20 27 -56 44.5t-58 22 t-71 12.5q-291 47 -566 -2q-43 -7 -66 -12t-55 -22t-50 -43q30 -28 76 -45.5t73.5 -22t87.5 -11.5q228 -29 448 -1q63 8 89.5 12t72.5 21.5t75 46.5zM1222 205q-8 -26 -15.5 -76.5t-14 -84t-28.5 -70t-58 -56.5q-86 -48 -189.5 -71.5t-202 -22t-201.5 18.5q-46 8 -81.5 18 t-76.5 27t-73 43.5t-52 61.5q-25 96 -57 292l6 16l18 9q223 -148 506.5 -148t507.5 148q21 -6 24 -23t-5 -45t-8 -37zM1403 1166q-26 -167 -111 -655q-5 -30 -27 -56t-43.5 -40t-54.5 -31q-252 -126 -610 -88q-248 27 -394 139q-15 12 -25.5 26.5t-17 35t-9 34t-6 39.5 t-5.5 35q-9 50 -26.5 150t-28 161.5t-23.5 147.5t-22 158q3 26 17.5 48.5t31.5 37.5t45 30t46 22.5t48 18.5q125 46 313 64q379 37 676 -50q155 -46 215 -122q16 -20 16.5 -51t-5.5 -54z" /> -<glyph unicode="" d="M848 666q0 43 -41 66t-77 1q-43 -20 -42.5 -72.5t43.5 -70.5q39 -23 81 4t36 72zM928 682q8 -66 -36 -121t-110 -61t-119 40t-56 113q-2 49 25.5 93t72.5 64q70 31 141.5 -10t81.5 -118zM1100 1073q-20 -21 -53.5 -34t-53 -16t-63.5 -8q-155 -20 -324 0q-44 6 -63 9.5 t-52.5 16t-54.5 32.5q13 19 36 31t40 15.5t47 8.5q198 35 408 1q33 -5 51 -8.5t43 -16t39 -31.5zM1142 327q0 7 5.5 26.5t3 32t-17.5 16.5q-161 -106 -365 -106t-366 106l-12 -6l-5 -12q26 -154 41 -210q47 -81 204 -108q249 -46 428 53q34 19 49 51.5t22.5 85.5t12.5 71z M1272 1020q9 53 -8 75q-43 55 -155 88q-216 63 -487 36q-132 -12 -226 -46q-38 -15 -59.5 -25t-47 -34t-29.5 -54q8 -68 19 -138t29 -171t24 -137q1 -5 5 -31t7 -36t12 -27t22 -28q105 -80 284 -100q259 -28 440 63q24 13 39.5 23t31 29t19.5 40q48 267 80 473zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="1024" d="M390 1408h219v-388h364v-241h-364v-394q0 -136 14 -172q13 -37 52 -60q50 -31 117 -31q117 0 232 76v-242q-102 -48 -178 -65q-77 -19 -173 -19q-105 0 -186 27q-78 25 -138 75q-58 51 -79 105q-22 54 -22 161v539h-170v217q91 30 155 84q64 55 103 132q39 78 54 196z " /> -<glyph unicode="" d="M1123 127v181q-88 -56 -174 -56q-51 0 -88 23q-29 17 -39 45q-11 30 -11 129v295h274v181h-274v291h-164q-11 -90 -40 -147t-78 -99q-48 -40 -116 -63v-163h127v-404q0 -78 17 -121q17 -42 59 -78q43 -37 104 -57q62 -20 140 -20q67 0 129 14q57 13 134 49zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> -<glyph unicode="" horiz-adv-x="768" d="M765 237q8 -19 -5 -35l-350 -384q-10 -10 -23 -10q-14 0 -24 10l-355 384q-13 16 -5 35q9 19 29 19h224v1248q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1248h224q21 0 29 -19z" /> -<glyph unicode="" horiz-adv-x="768" d="M765 1043q-9 -19 -29 -19h-224v-1248q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1248h-224q-21 0 -29 19t5 35l350 384q10 10 23 10q14 0 24 -10l355 -384q13 -16 5 -35z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1792 736v-192q0 -14 -9 -23t-23 -9h-1248v-224q0 -21 -19 -29t-35 5l-384 350q-10 10 -10 23q0 14 10 24l384 354q16 14 35 6q19 -9 19 -29v-224h1248q14 0 23 -9t9 -23z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1728 643q0 -14 -10 -24l-384 -354q-16 -14 -35 -6q-19 9 -19 29v224h-1248q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h1248v224q0 21 19 29t35 -5l384 -350q10 -10 10 -23z" /> -<glyph unicode="" horiz-adv-x="1408" d="M1393 321q-39 -125 -123 -250q-129 -196 -257 -196q-49 0 -140 32q-86 32 -151 32q-61 0 -142 -33q-81 -34 -132 -34q-152 0 -301 259q-147 261 -147 503q0 228 113 374q112 144 284 144q72 0 177 -30q104 -30 138 -30q45 0 143 34q102 34 173 34q119 0 213 -65 q52 -36 104 -100q-79 -67 -114 -118q-65 -94 -65 -207q0 -124 69 -223t158 -126zM1017 1494q0 -61 -29 -136q-30 -75 -93 -138q-54 -54 -108 -72q-37 -11 -104 -17q3 149 78 257q74 107 250 148q1 -3 2.5 -11t2.5 -11q0 -4 0.5 -10t0.5 -10z" /> -<glyph unicode="" horiz-adv-x="1664" d="M682 530v-651l-682 94v557h682zM682 1273v-659h-682v565zM1664 530v-786l-907 125v661h907zM1664 1408v-794h-907v669z" /> -<glyph unicode="" horiz-adv-x="1408" d="M493 1053q16 0 27.5 11.5t11.5 27.5t-11.5 27.5t-27.5 11.5t-27 -11.5t-11 -27.5t11 -27.5t27 -11.5zM915 1053q16 0 27 11.5t11 27.5t-11 27.5t-27 11.5t-27.5 -11.5t-11.5 -27.5t11.5 -27.5t27.5 -11.5zM103 869q42 0 72 -30t30 -72v-430q0 -43 -29.5 -73t-72.5 -30 t-73 30t-30 73v430q0 42 30 72t73 30zM1163 850v-666q0 -46 -32 -78t-77 -32h-75v-227q0 -43 -30 -73t-73 -30t-73 30t-30 73v227h-138v-227q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73l-1 227h-74q-46 0 -78 32t-32 78v666h918zM931 1255q107 -55 171 -153.5t64 -215.5 h-925q0 117 64 215.5t172 153.5l-71 131q-7 13 5 20q13 6 20 -6l72 -132q95 42 201 42t201 -42l72 132q7 12 20 6q12 -7 5 -20zM1408 767v-430q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73v430q0 43 30 72.5t72 29.5q43 0 73 -29.5t30 -72.5z" /> -<glyph unicode="" d="M663 1125q-11 -1 -15.5 -10.5t-8.5 -9.5q-5 -1 -5 5q0 12 19 15h10zM750 1111q-4 -1 -11.5 6.5t-17.5 4.5q24 11 32 -2q3 -6 -3 -9zM399 684q-4 1 -6 -3t-4.5 -12.5t-5.5 -13.5t-10 -13q-7 -10 -1 -12q4 -1 12.5 7t12.5 18q1 3 2 7t2 6t1.5 4.5t0.5 4v3t-1 2.5t-3 2z M1254 325q0 18 -55 42q4 15 7.5 27.5t5 26t3 21.5t0.5 22.5t-1 19.5t-3.5 22t-4 20.5t-5 25t-5.5 26.5q-10 48 -47 103t-72 75q24 -20 57 -83q87 -162 54 -278q-11 -40 -50 -42q-31 -4 -38.5 18.5t-8 83.5t-11.5 107q-9 39 -19.5 69t-19.5 45.5t-15.5 24.5t-13 15t-7.5 7 q-14 62 -31 103t-29.5 56t-23.5 33t-15 40q-4 21 6 53.5t4.5 49.5t-44.5 25q-15 3 -44.5 18t-35.5 16q-8 1 -11 26t8 51t36 27q37 3 51 -30t4 -58q-11 -19 -2 -26.5t30 -0.5q13 4 13 36v37q-5 30 -13.5 50t-21 30.5t-23.5 15t-27 7.5q-107 -8 -89 -134q0 -15 -1 -15 q-9 9 -29.5 10.5t-33 -0.5t-15.5 5q1 57 -16 90t-45 34q-27 1 -41.5 -27.5t-16.5 -59.5q-1 -15 3.5 -37t13 -37.5t15.5 -13.5q10 3 16 14q4 9 -7 8q-7 0 -15.5 14.5t-9.5 33.5q-1 22 9 37t34 14q17 0 27 -21t9.5 -39t-1.5 -22q-22 -15 -31 -29q-8 -12 -27.5 -23.5 t-20.5 -12.5q-13 -14 -15.5 -27t7.5 -18q14 -8 25 -19.5t16 -19t18.5 -13t35.5 -6.5q47 -2 102 15q2 1 23 7t34.5 10.5t29.5 13t21 17.5q9 14 20 8q5 -3 6.5 -8.5t-3 -12t-16.5 -9.5q-20 -6 -56.5 -21.5t-45.5 -19.5q-44 -19 -70 -23q-25 -5 -79 2q-10 2 -9 -2t17 -19 q25 -23 67 -22q17 1 36 7t36 14t33.5 17.5t30 17t24.5 12t17.5 2.5t8.5 -11q0 -2 -1 -4.5t-4 -5t-6 -4.5t-8.5 -5t-9 -4.5t-10 -5t-9.5 -4.5q-28 -14 -67.5 -44t-66.5 -43t-49 -1q-21 11 -63 73q-22 31 -25 22q-1 -3 -1 -10q0 -25 -15 -56.5t-29.5 -55.5t-21 -58t11.5 -63 q-23 -6 -62.5 -90t-47.5 -141q-2 -18 -1.5 -69t-5.5 -59q-8 -24 -29 -3q-32 31 -36 94q-2 28 4 56q4 19 -1 18l-4 -5q-36 -65 10 -166q5 -12 25 -28t24 -20q20 -23 104 -90.5t93 -76.5q16 -15 17.5 -38t-14 -43t-45.5 -23q8 -15 29 -44.5t28 -54t7 -70.5q46 24 7 92 q-4 8 -10.5 16t-9.5 12t-2 6q3 5 13 9.5t20 -2.5q46 -52 166 -36q133 15 177 87q23 38 34 30q12 -6 10 -52q-1 -25 -23 -92q-9 -23 -6 -37.5t24 -15.5q3 19 14.5 77t13.5 90q2 21 -6.5 73.5t-7.5 97t23 70.5q15 18 51 18q1 37 34.5 53t72.5 10.5t60 -22.5zM626 1152 q3 17 -2.5 30t-11.5 15q-9 2 -9 -7q2 -5 5 -6q10 0 7 -15q-3 -20 8 -20q3 0 3 3zM1045 955q-2 8 -6.5 11.5t-13 5t-14.5 5.5q-5 3 -9.5 8t-7 8t-5.5 6.5t-4 4t-4 -1.5q-14 -16 7 -43.5t39 -31.5q9 -1 14.5 8t3.5 20zM867 1168q0 11 -5 19.5t-11 12.5t-9 3q-14 -1 -7 -7l4 -2 q14 -4 18 -31q0 -3 8 2zM921 1401q0 2 -2.5 5t-9 7t-9.5 6q-15 15 -24 15q-9 -1 -11.5 -7.5t-1 -13t-0.5 -12.5q-1 -4 -6 -10.5t-6 -9t3 -8.5q4 -3 8 0t11 9t15 9q1 1 9 1t15 2t9 7zM1486 60q20 -12 31 -24.5t12 -24t-2.5 -22.5t-15.5 -22t-23.5 -19.5t-30 -18.5 t-31.5 -16.5t-32 -15.5t-27 -13q-38 -19 -85.5 -56t-75.5 -64q-17 -16 -68 -19.5t-89 14.5q-18 9 -29.5 23.5t-16.5 25.5t-22 19.5t-47 9.5q-44 1 -130 1q-19 0 -57 -1.5t-58 -2.5q-44 -1 -79.5 -15t-53.5 -30t-43.5 -28.5t-53.5 -11.5q-29 1 -111 31t-146 43q-19 4 -51 9.5 t-50 9t-39.5 9.5t-33.5 14.5t-17 19.5q-10 23 7 66.5t18 54.5q1 16 -4 40t-10 42.5t-4.5 36.5t10.5 27q14 12 57 14t60 12q30 18 42 35t12 51q21 -73 -32 -106q-32 -20 -83 -15q-34 3 -43 -10q-13 -15 5 -57q2 -6 8 -18t8.5 -18t4.5 -17t1 -22q0 -15 -17 -49t-14 -48 q3 -17 37 -26q20 -6 84.5 -18.5t99.5 -20.5q24 -6 74 -22t82.5 -23t55.5 -4q43 6 64.5 28t23 48t-7.5 58.5t-19 52t-20 36.5q-121 190 -169 242q-68 74 -113 40q-11 -9 -15 15q-3 16 -2 38q1 29 10 52t24 47t22 42q8 21 26.5 72t29.5 78t30 61t39 54q110 143 124 195 q-12 112 -16 310q-2 90 24 151.5t106 104.5q39 21 104 21q53 1 106 -13.5t89 -41.5q57 -42 91.5 -121.5t29.5 -147.5q-5 -95 30 -214q34 -113 133 -218q55 -59 99.5 -163t59.5 -191q8 -49 5 -84.5t-12 -55.5t-20 -22q-10 -2 -23.5 -19t-27 -35.5t-40.5 -33.5t-61 -14 q-18 1 -31.5 5t-22.5 13.5t-13.5 15.5t-11.5 20.5t-9 19.5q-22 37 -41 30t-28 -49t7 -97q20 -70 1 -195q-10 -65 18 -100.5t73 -33t85 35.5q59 49 89.5 66.5t103.5 42.5q53 18 77 36.5t18.5 34.5t-25 28.5t-51.5 23.5q-33 11 -49.5 48t-15 72.5t15.5 47.5q1 -31 8 -56.5 t14.5 -40.5t20.5 -28.5t21 -19t21.5 -13t16.5 -9.5z" /> -<glyph unicode="" d="M1024 36q-42 241 -140 498h-2l-2 -1q-16 -6 -43 -16.5t-101 -49t-137 -82t-131 -114.5t-103 -148l-15 11q184 -150 418 -150q132 0 256 52zM839 643q-21 49 -53 111q-311 -93 -673 -93q-1 -7 -1 -21q0 -124 44 -236.5t124 -201.5q50 89 123.5 166.5t142.5 124.5t130.5 81 t99.5 48l37 13q4 1 13 3.5t13 4.5zM732 855q-120 213 -244 378q-138 -65 -234 -186t-128 -272q302 0 606 80zM1416 536q-210 60 -409 29q87 -239 128 -469q111 75 185 189.5t96 250.5zM611 1277q-1 0 -2 -1q1 1 2 1zM1201 1132q-185 164 -433 164q-76 0 -155 -19 q131 -170 246 -382q69 26 130 60.5t96.5 61.5t65.5 57t37.5 40.5zM1424 647q-3 232 -149 410l-1 -1q-9 -12 -19 -24.5t-43.5 -44.5t-71 -60.5t-100 -65t-131.5 -64.5q25 -53 44 -95q2 -6 6.5 -17.5t7.5 -16.5q36 5 74.5 7t73.5 2t69 -1.5t64 -4t56.5 -5.5t48 -6.5t36.5 -6 t25 -4.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" d="M1173 473q0 50 -19.5 91.5t-48.5 68.5t-73 49t-82.5 34t-87.5 23l-104 24q-30 7 -44 10.5t-35 11.5t-30 16t-16.5 21t-7.5 30q0 77 144 77q43 0 77 -12t54 -28.5t38 -33.5t40 -29t48 -12q47 0 75.5 32t28.5 77q0 55 -56 99.5t-142 67.5t-182 23q-68 0 -132 -15.5 t-119.5 -47t-89 -87t-33.5 -128.5q0 -61 19 -106.5t56 -75.5t80 -48.5t103 -32.5l146 -36q90 -22 112 -36q32 -20 32 -60q0 -39 -40 -64.5t-105 -25.5q-51 0 -91.5 16t-65 38.5t-45.5 45t-46 38.5t-54 16q-50 0 -75.5 -30t-25.5 -75q0 -92 122 -157.5t291 -65.5 q73 0 140 18.5t122.5 53.5t88.5 93.5t33 131.5zM1536 256q0 -159 -112.5 -271.5t-271.5 -112.5q-130 0 -234 80q-77 -16 -150 -16q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5q0 73 16 150q-80 104 -80 234q0 159 112.5 271.5t271.5 112.5q130 0 234 -80 q77 16 150 16q143 0 273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -73 -16 -150q80 -104 80 -234z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1483 512l-587 -587q-52 -53 -127.5 -53t-128.5 53l-587 587q-53 53 -53 128t53 128l587 587q53 53 128 53t128 -53l265 -265l-398 -399l-188 188q-42 42 -99 42q-59 0 -100 -41l-120 -121q-42 -40 -42 -99q0 -58 42 -100l406 -408q30 -28 67 -37l6 -4h28q60 0 99 41 l619 619l2 -3q53 -53 53 -128t-53 -128zM1406 1138l120 -120q14 -15 14 -36t-14 -36l-730 -730q-17 -15 -37 -15v0q-4 0 -6 1q-18 2 -30 14l-407 408q-14 15 -14 36t14 35l121 120q13 15 35 15t36 -15l252 -252l574 575q15 15 36 15t36 -15z" /> -<glyph unicode="" d="M704 192v1024q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-1024q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1376 576v640q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-640q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408 q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1280" d="M1280 480q0 -40 -28 -68t-68 -28q-51 0 -80 43l-227 341h-45v-132l247 -411q9 -15 9 -33q0 -26 -19 -45t-45 -19h-192v-272q0 -46 -33 -79t-79 -33h-160q-46 0 -79 33t-33 79v272h-192q-26 0 -45 19t-19 45q0 18 9 33l247 411v132h-45l-227 -341q-29 -43 -80 -43 q-40 0 -68 28t-28 68q0 29 16 53l256 384q73 107 176 107h384q103 0 176 -107l256 -384q16 -24 16 -53zM864 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" /> -<glyph unicode="" horiz-adv-x="1024" d="M1024 832v-416q0 -40 -28 -68t-68 -28t-68 28t-28 68v352h-64v-912q0 -46 -33 -79t-79 -33t-79 33t-33 79v464h-64v-464q0 -46 -33 -79t-79 -33t-79 33t-33 79v912h-64v-352q0 -40 -28 -68t-68 -28t-68 28t-28 68v416q0 80 56 136t136 56h640q80 0 136 -56t56 -136z M736 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" /> -<glyph unicode="" d="M773 234l350 473q16 22 24.5 59t-6 85t-61.5 79q-40 26 -83 25.5t-73.5 -17.5t-54.5 -45q-36 -40 -96 -40q-59 0 -95 40q-24 28 -54.5 45t-73.5 17.5t-84 -25.5q-46 -31 -60.5 -79t-6 -85t24.5 -59zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1472 640q0 117 -45.5 223.5t-123 184t-184 123t-223.5 45.5t-223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5t45.5 -223.5t123 -184t184 -123t223.5 -45.5t223.5 45.5t184 123t123 184t45.5 223.5zM1748 363q-4 -15 -20 -20l-292 -96v-306q0 -16 -13 -26q-15 -10 -29 -4 l-292 94l-180 -248q-10 -13 -26 -13t-26 13l-180 248l-292 -94q-14 -6 -29 4q-13 10 -13 26v306l-292 96q-16 5 -20 20q-5 17 4 29l180 248l-180 248q-9 13 -4 29q4 15 20 20l292 96v306q0 16 13 26q15 10 29 4l292 -94l180 248q9 12 26 12t26 -12l180 -248l292 94 q14 6 29 -4q13 -10 13 -26v-306l292 -96q16 -5 20 -20q5 -16 -4 -29l-180 -248l180 -248q9 -12 4 -29z" /> -<glyph unicode="" d="M1262 233q-54 -9 -110 -9q-182 0 -337 90t-245 245t-90 337q0 192 104 357q-201 -60 -328.5 -229t-127.5 -384q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51q144 0 273.5 61.5t220.5 171.5zM1465 318q-94 -203 -283.5 -324.5t-413.5 -121.5q-156 0 -298 61 t-245 164t-164 245t-61 298q0 153 57.5 292.5t156 241.5t235.5 164.5t290 68.5q44 2 61 -39q18 -41 -15 -72q-86 -78 -131.5 -181.5t-45.5 -218.5q0 -148 73 -273t198 -198t273 -73q118 0 228 51q41 18 72 -13q14 -14 17.5 -34t-4.5 -38z" /> -<glyph unicode="" horiz-adv-x="1792" d="M1088 704q0 26 -19 45t-45 19h-256q-26 0 -45 -19t-19 -45t19 -45t45 -19h256q26 0 45 19t19 45zM1664 896v-960q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v960q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1728 1344v-256q0 -26 -19 -45t-45 -19h-1536 q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1536q26 0 45 -19t19 -45z" /> -<glyph unicode="" horiz-adv-x="1664" d="M1632 576q0 -26 -19 -45t-45 -19h-224q0 -171 -67 -290l208 -209q19 -19 19 -45t-19 -45q-18 -19 -45 -19t-45 19l-198 197q-5 -5 -15 -13t-42 -28.5t-65 -36.5t-82 -29t-97 -13v896h-128v-896q-51 0 -101.5 13.5t-87 33t-66 39t-43.5 32.5l-15 14l-183 -207 q-20 -21 -48 -21q-24 0 -43 16q-19 18 -20.5 44.5t15.5 46.5l202 227q-58 114 -58 274h-224q-26 0 -45 19t-19 45t19 45t45 19h224v294l-173 173q-19 19 -19 45t19 45t45 19t45 -19l173 -173h844l173 173q19 19 45 19t45 -19t19 -45t-19 -45l-173 -173v-294h224q26 0 45 -19 t19 -45zM1152 1152h-640q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5z" /> -<glyph unicode="" horiz-adv-x="1920" d="M1917 1016q23 -64 -150 -294q-24 -32 -65 -85q-78 -100 -90 -131q-17 -41 14 -81q17 -21 81 -82h1l1 -1l1 -1l2 -2q141 -131 191 -221q3 -5 6.5 -12.5t7 -26.5t-0.5 -34t-25 -27.5t-59 -12.5l-256 -4q-24 -5 -56 5t-52 22l-20 12q-30 21 -70 64t-68.5 77.5t-61 58 t-56.5 15.5q-3 -1 -8 -3.5t-17 -14.5t-21.5 -29.5t-17 -52t-6.5 -77.5q0 -15 -3.5 -27.5t-7.5 -18.5l-4 -5q-18 -19 -53 -22h-115q-71 -4 -146 16.5t-131.5 53t-103 66t-70.5 57.5l-25 24q-10 10 -27.5 30t-71.5 91t-106 151t-122.5 211t-130.5 272q-6 16 -6 27t3 16l4 6 q15 19 57 19l274 2q12 -2 23 -6.5t16 -8.5l5 -3q16 -11 24 -32q20 -50 46 -103.5t41 -81.5l16 -29q29 -60 56 -104t48.5 -68.5t41.5 -38.5t34 -14t27 5q2 1 5 5t12 22t13.5 47t9.5 81t0 125q-2 40 -9 73t-14 46l-6 12q-25 34 -85 43q-13 2 5 24q17 19 38 30q53 26 239 24 q82 -1 135 -13q20 -5 33.5 -13.5t20.5 -24t10.5 -32t3.5 -45.5t-1 -55t-2.5 -70.5t-1.5 -82.5q0 -11 -1 -42t-0.5 -48t3.5 -40.5t11.5 -39t22.5 -24.5q8 -2 17 -4t26 11t38 34.5t52 67t68 107.5q60 104 107 225q4 10 10 17.5t11 10.5l4 3l5 2.5t13 3t20 0.5l288 2 q39 5 64 -2.5t31 -16.5z" /> -<glyph unicode="" horiz-adv-x="1792" d="M675 252q21 34 11 69t-45 50q-34 14 -73 1t-60 -46q-22 -34 -13 -68.5t43 -50.5t74.5 -2.5t62.5 47.5zM769 373q8 13 3.5 26.5t-17.5 18.5q-14 5 -28.5 -0.5t-21.5 -18.5q-17 -31 13 -45q14 -5 29 0.5t22 18.5zM943 266q-45 -102 -158 -150t-224 -12 q-107 34 -147.5 126.5t6.5 187.5q47 93 151.5 139t210.5 19q111 -29 158.5 -119.5t2.5 -190.5zM1255 426q-9 96 -89 170t-208.5 109t-274.5 21q-223 -23 -369.5 -141.5t-132.5 -264.5q9 -96 89 -170t208.5 -109t274.5 -21q223 23 369.5 141.5t132.5 264.5zM1563 422 q0 -68 -37 -139.5t-109 -137t-168.5 -117.5t-226 -83t-270.5 -31t-275 33.5t-240.5 93t-171.5 151t-65 199.5q0 115 69.5 245t197.5 258q169 169 341.5 236t246.5 -7q65 -64 20 -209q-4 -14 -1 -20t10 -7t14.5 0.5t13.5 3.5l6 2q139 59 246 59t153 -61q45 -63 0 -178 q-2 -13 -4.5 -20t4.5 -12.5t12 -7.5t17 -6q57 -18 103 -47t80 -81.5t34 -116.5zM1489 1046q42 -47 54.5 -108.5t-6.5 -117.5q-8 -23 -29.5 -34t-44.5 -4q-23 8 -34 29.5t-4 44.5q20 63 -24 111t-107 35q-24 -5 -45 8t-25 37q-5 24 8 44.5t37 25.5q60 13 119 -5.5t101 -65.5z M1670 1209q87 -96 112.5 -222.5t-13.5 -241.5q-9 -27 -34 -40t-52 -4t-40 34t-5 52q28 82 10 172t-80 158q-62 69 -148 95.5t-173 8.5q-28 -6 -52 9.5t-30 43.5t9.5 51.5t43.5 29.5q123 26 244 -11.5t208 -134.5z" /> -<glyph unicode="" horiz-adv-x="1920" d="M805 163q-122 -67 -261 -67q-141 0 -261 67q98 61 167 149t94 191q25 -103 94 -191t167 -149zM453 1176v-344q0 -179 -89.5 -326t-234.5 -217q-129 152 -129 351q0 200 129.5 352t323.5 184zM958 991q-128 -152 -128 -351q0 -201 128 -351q-145 70 -234.5 218t-89.5 328 v341q196 -33 324 -185zM1638 163q-122 -67 -261 -67q-141 0 -261 67q98 61 167 149t94 191q25 -103 94 -191t167 -149zM1286 1176v-344q0 -179 -91 -326t-237 -217v0q133 154 133 351q0 195 -133 351q129 151 328 185zM1920 640q0 -201 -129 -351q-145 70 -234.5 218 t-89.5 328v341q194 -32 323.5 -184t129.5 -352z" /> -<glyph unicode="" horiz-adv-x="1792" /> -<glyph unicode="" horiz-adv-x="1792" /> -<glyph unicode="" horiz-adv-x="1792" /> -<glyph unicode="" horiz-adv-x="1792" /> -</font> -</defs></svg> \ No newline at end of file diff --git a/goon/browserassets/css/fonts/fontawesome-webfont.ttf b/goon/browserassets/css/fonts/fontawesome-webfont.ttf deleted file mode 100644 index d3659246915c..000000000000 Binary files a/goon/browserassets/css/fonts/fontawesome-webfont.ttf and /dev/null differ diff --git a/goon/browserassets/css/fonts/fontawesome-webfont.woff b/goon/browserassets/css/fonts/fontawesome-webfont.woff deleted file mode 100644 index b9bd17e158d8..000000000000 Binary files a/goon/browserassets/css/fonts/fontawesome-webfont.woff and /dev/null differ diff --git a/goon/browserassets/html/adminOutput.html b/goon/browserassets/html/adminOutput.html deleted file mode 100644 index baf8bc00b3ba..000000000000 --- a/goon/browserassets/html/adminOutput.html +++ /dev/null @@ -1,104 +0,0 @@ -<script type="text/javascript"> - -opts.showMessagesFilters = { /* Contains the current filters. "show: false" filters it out. "match" is all the css classes to filter on. */ - 'All': {show: true}, - 'Admin': {show: true, match: ['admin']}, - 'Combat': {show: true, match: ['combat']}, - 'Radios': {show: true, match: ['radio']}, - 'Speech': {show: true, match: ['say']}, - 'OOC': {show: true, match: ['ooc']}, -}; -opts.filterHideAll = false; - -$subOptions.append('<a href="#" class="filterMessagesOpt" id="filterMessagesOpt"><span>Filter Messages</span> <i class="icon-filter"></i></a>'); - -function toggleFilter(type) { - if (type == 'All') { - if (opts.showMessagesFilters['All'].show === true) { - $.each(opts.showMessagesFilters, function (key) { - opts.showMessagesFilters[key].show = false; - if (key != 'All') { - $('#filter_'+key).prop('checked', false); - } - }); - $('#messages .entry *:nth-child(1):not(.internal)').parent('.entry').addClass('hidden').attr('data-filter', 'All'); - opts.filterHideAll = true; - internalOutput('<span class="internal boldnshit">Hiding <strong>ALL</strong> messages. Uhhh are you sure about this?</span>'); - } else { - $.each(opts.showMessagesFilters, function (key) { - opts.showMessagesFilters[key].show = true; - if (key != 'All') { - $('#filter_'+key).prop('checked', true); - } - }); - $('#messages .entry.hidden[data-filter]').removeClass('hidden'); - opts.filterHideAll = false; - internalOutput('<span class="internal boldnshit">Showing <strong>ALL</strong> messages</span>'); - } - } else { - var onoff = !opts.showMessagesFilters[type].show; - opts.showMessagesFilters[type].show = onoff; - var allTrue = true; - var allFalse = true; - $.each(opts.showMessagesFilters, function (key, val) { - if (key != 'All') { - if (allTrue) { - allTrue = (val.show ? true : false); - } - if (allFalse) { - allFalse = (val.show ? false : true); - } - } - }); - opts.showMessagesFilters['All'].show = (allTrue ? true : false); - $('#filter_All').prop('checked', (allTrue ? true : false)); - - if (allTrue) { - opts.filterHideAll = false; - $('#messages .entry.hidden[data-filter]').removeClass('hidden'); - } else if (allFalse) { - opts.filterHideAll = true; - $('#messages .entry *:nth-child(1):not(.internal)').each(function (i, el) { - $(el).parent('.entry').addClass('hidden').attr('data-filter', 'All'); - }); - } else if (typeof opts.showMessagesFilters[type].match != 'undefined') { /* If the filter has classes to match against */ - /* Hide/Show all prior messages */ - for (var i = 0; i < opts.showMessagesFilters[type].match.length; i++) { - var thisClass = opts.showMessagesFilters[type].match[i]; - if (onoff) { /* Showing */ - $('#messages .entry.hidden[data-filter="'+type+'"]').removeClass('hidden'); - } else { /* Hiding */ - $('#messages .'+thisClass).each(function (i, el) { - $(el).closest('.entry').addClass('hidden').attr('data-filter', type); - }); - } - } - } - - var msg = (onoff ? 'Showing' : 'Filtering <strong>OUT</strong>') + " messages of type <strong>"+type+"</strong>"; - internalOutput('<span class="internal boldnshit">'+msg+'</span>'); - } - console.log('filters is: ', opts.showMessagesFilters); -} - -$subOptions.on('click', '#filterMessagesOpt', function (e) { - if ($('#filterMessages').is(':visible')) - return; - - var content = '<div class="head">Filter Messsages</div>' + - '<div id="filterMessages" class="filterMessages">'; - $.each(opts.showMessagesFilters, function (key, val) { - content += '<div><input type="checkbox" id="filter_'+key+'" name="'+key+'" value="'+key+'" '+(val.show ? 'checked="checked" ' : '')+'/> <label for="filter_'+key+'">'+key+'</label></div>'; - }); - content += '</div>'; - createPopup(content, 150); -}); - -$('body').on('click', '#filterMessages input', function () { - var type = $(this).val(); - console.log('hit change event with type: '+type); - toggleFilter(type); - $('body,html').scrollTop($messages.outerHeight()); -}); - -</script> \ No newline at end of file diff --git a/goon/browserassets/html/saveInstructions.html b/goon/browserassets/html/saveInstructions.html deleted file mode 100644 index 90040b041a0f..000000000000 --- a/goon/browserassets/html/saveInstructions.html +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<title>Save Instructions</title> -</head> -<body> -<h2>Save Instructions</h2> -Due to the primitive nature of IE8, this file must be saved manually. To do so, simply follow these steps. (() indicates windows specific instuctions) -<ol> - <li>Click anywhere below the line</li> - <li>Use the Select All shortcut (ctrl+A)</li> - <li>Use the Copy shortcut (ctrl+C)</li> - <li>Create a new text document (right click desktop or explorer -> new text document)</li> - <li>Click the document and paste to it (ctrl+v)</li> - <li>Save the document with the extension .html instead of .txt</li> -</ol> -<hr> -</body> -</html> diff --git a/goon/browserassets/js/jquery.min.js b/goon/browserassets/js/jquery.min.js deleted file mode 100644 index c5c648255c15..000000000000 --- a/goon/browserassets/js/jquery.min.js +++ /dev/null @@ -1,9789 +0,0 @@ -/*! - * jQuery JavaScript Library v1.10.2 - * http://jquery.com/ - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * - * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2013-07-03T13:48Z - */ -(function( window, undefined ) { - -// Can't do this because several apps including ASP.NET trace -// the stack via arguments.caller.callee and Firefox dies if -// you try to trace through "use strict" call chains. (#13335) -// Support: Firefox 18+ -//"use strict"; -var - // The deferred used on DOM ready - readyList, - - // A central reference to the root jQuery(document) - rootjQuery, - - // Support: IE<10 - // For `typeof xmlNode.method` instead of `xmlNode.method !== undefined` - core_strundefined = typeof undefined, - - // Use the correct document accordingly with window argument (sandbox) - location = window.location, - document = window.document, - docElem = document.documentElement, - - // Map over jQuery in case of overwrite - _jQuery = window.jQuery, - - // Map over the $ in case of overwrite - _$ = window.$, - - // [[Class]] -> type pairs - class2type = {}, - - // List of deleted data cache ids, so we can reuse them - core_deletedIds = [], - - core_version = "1.10.2", - - // Save a reference to some core methods - core_concat = core_deletedIds.concat, - core_push = core_deletedIds.push, - core_slice = core_deletedIds.slice, - core_indexOf = core_deletedIds.indexOf, - core_toString = class2type.toString, - core_hasOwn = class2type.hasOwnProperty, - core_trim = core_version.trim, - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - // The jQuery object is actually just the init constructor 'enhanced' - return new jQuery.fn.init( selector, context, rootjQuery ); - }, - - // Used for matching numbers - core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, - - // Used for splitting on whitespace - core_rnotwhite = /\S+/g, - - // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, - - // A simple way to check for HTML strings - // Prioritize #id over <tag> to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, - - // Match a standalone tag - rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, - - // JSON RegExp - rvalidchars = /^[\],:{}\s]*$/, - rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, - rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, - rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g, - - // Matches dashed string for camelizing - rmsPrefix = /^-ms-/, - rdashAlpha = /-([\da-z])/gi, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function( all, letter ) { - return letter.toUpperCase(); - }, - - // The ready event handler - completed = function( event ) { - - // readyState === "complete" is good enough for us to call the dom ready in oldIE - if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { - detach(); - jQuery.ready(); - } - }, - // Clean-up method for dom ready events - detach = function() { - if ( document.addEventListener ) { - document.removeEventListener( "DOMContentLoaded", completed, false ); - window.removeEventListener( "load", completed, false ); - - } else { - document.detachEvent( "onreadystatechange", completed ); - window.detachEvent( "onload", completed ); - } - }; - -jQuery.fn = jQuery.prototype = { - // The current version of jQuery being used - jquery: core_version, - - constructor: jQuery, - init: function( selector, context, rootjQuery ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && (match[1] || !context) ) { - - // HANDLE: $(html) -> $(array) - if ( match[1] ) { - context = context instanceof jQuery ? context[0] : context; - - // scripts is true for back-compat - jQuery.merge( this, jQuery.parseHTML( - match[1], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - // Properties of context are called as methods if possible - if ( jQuery.isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[2] ); - - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id !== match[2] ) { - return rootjQuery.find( selector ); - } - - // Otherwise, we inject the element directly into the jQuery object - this.length = 1; - this[0] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || rootjQuery ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this.context = this[0] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return rootjQuery.ready( selector ); - } - - if ( selector.selector !== undefined ) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.makeArray( selector, this ); - }, - - // Start with an empty selector - selector: "", - - // The default length of a jQuery object is 0 - length: 0, - - toArray: function() { - return core_slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - return num == null ? - - // Return a 'clean' array - this.toArray() : - - // Return just the object - ( num < 0 ? this[ this.length + num ] : this[ num ] ); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - ret.context = this.context; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - // (You can seed the arguments with an array of args, but this is - // only used internally.) - each: function( callback, args ) { - return jQuery.each( this, callback, args ); - }, - - ready: function( fn ) { - // Add the callback - jQuery.ready.promise().done( fn ); - - return this; - }, - - slice: function() { - return this.pushStack( core_slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map(this, function( elem, i ) { - return callback.call( elem, i, elem ); - })); - }, - - end: function() { - return this.prevObject || this.constructor(null); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: core_push, - sort: [].sort, - splice: [].splice -}; - -// Give the init function the jQuery prototype for later instantiation -jQuery.fn.init.prototype = jQuery.fn; - -jQuery.extend = jQuery.fn.extend = function() { - var src, copyIsArray, copy, name, options, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction(target) ) { - target = {}; - } - - // extend jQuery itself if only one argument is passed - if ( length === i ) { - target = this; - --i; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { - if ( copyIsArray ) { - copyIsArray = false; - clone = src && jQuery.isArray(src) ? src : []; - - } else { - clone = src && jQuery.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend({ - // Unique for each copy of jQuery on the page - // Non-digits removed to match rinlinejQuery - expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), - - noConflict: function( deep ) { - if ( window.$ === jQuery ) { - window.$ = _$; - } - - if ( deep && window.jQuery === jQuery ) { - window.jQuery = _jQuery; - } - - return jQuery; - }, - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Hold (or release) the ready event - holdReady: function( hold ) { - if ( hold ) { - jQuery.readyWait++; - } else { - jQuery.ready( true ); - } - }, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( !document.body ) { - return setTimeout( jQuery.ready ); - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - - // Trigger any bound ready events - if ( jQuery.fn.trigger ) { - jQuery( document ).trigger("ready").off("ready"); - } - }, - - // See test/unit/core.js for details concerning isFunction. - // Since version 1.3, DOM methods and functions like alert - // aren't supported. They return false on IE (#2968). - isFunction: function( obj ) { - return jQuery.type(obj) === "function"; - }, - - isArray: Array.isArray || function( obj ) { - return jQuery.type(obj) === "array"; - }, - - isWindow: function( obj ) { - /* jshint eqeqeq: false */ - return obj != null && obj == obj.window; - }, - - isNumeric: function( obj ) { - return !isNaN( parseFloat(obj) ) && isFinite( obj ); - }, - - type: function( obj ) { - if ( obj == null ) { - return String( obj ); - } - return typeof obj === "object" || typeof obj === "function" ? - class2type[ core_toString.call(obj) ] || "object" : - typeof obj; - }, - - isPlainObject: function( obj ) { - var key; - - // Must be an Object. - // Because of IE, we also have to check the presence of the constructor property. - // Make sure that DOM nodes and window objects don't pass through, as well - if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { - return false; - } - - try { - // Not own constructor property must be Object - if ( obj.constructor && - !core_hasOwn.call(obj, "constructor") && - !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { - return false; - } - } catch ( e ) { - // IE8,9 Will throw exceptions on certain host objects #9897 - return false; - } - - // Support: IE<9 - // Handle iteration over inherited properties before own properties. - if ( jQuery.support.ownLast ) { - for ( key in obj ) { - return core_hasOwn.call( obj, key ); - } - } - - // Own properties are enumerated firstly, so to speed up, - // if last one is own, then all properties are own. - for ( key in obj ) {} - - return key === undefined || core_hasOwn.call( obj, key ); - }, - - isEmptyObject: function( obj ) { - var name; - for ( name in obj ) { - return false; - } - return true; - }, - - error: function( msg ) { - throw new Error( msg ); - }, - - // data: string of html - // context (optional): If specified, the fragment will be created in this context, defaults to document - // keepScripts (optional): If true, will include scripts passed in the html string - parseHTML: function( data, context, keepScripts ) { - if ( !data || typeof data !== "string" ) { - return null; - } - if ( typeof context === "boolean" ) { - keepScripts = context; - context = false; - } - context = context || document; - - var parsed = rsingleTag.exec( data ), - scripts = !keepScripts && []; - - // Single tag - if ( parsed ) { - return [ context.createElement( parsed[1] ) ]; - } - - parsed = jQuery.buildFragment( [ data ], context, scripts ); - if ( scripts ) { - jQuery( scripts ).remove(); - } - return jQuery.merge( [], parsed.childNodes ); - }, - - parseJSON: function( data ) { - // Attempt to parse using the native JSON parser first - if ( window.JSON && window.JSON.parse ) { - return window.JSON.parse( data ); - } - - if ( data === null ) { - return data; - } - - if ( typeof data === "string" ) { - - // Make sure leading/trailing whitespace is removed (IE can't handle it) - data = jQuery.trim( data ); - - if ( data ) { - // Make sure the incoming data is actual JSON - // Logic borrowed from http://json.org/json2.js - if ( rvalidchars.test( data.replace( rvalidescape, "@" ) - .replace( rvalidtokens, "]" ) - .replace( rvalidbraces, "")) ) { - - return ( new Function( "return " + data ) )(); - } - } - } - - jQuery.error( "Invalid JSON: " + data ); - }, - - // Cross-browser xml parsing - parseXML: function( data ) { - var xml, tmp; - if ( !data || typeof data !== "string" ) { - return null; - } - try { - if ( window.DOMParser ) { // Standard - tmp = new DOMParser(); - xml = tmp.parseFromString( data , "text/xml" ); - } else { // IE - xml = new ActiveXObject( "Microsoft.XMLDOM" ); - xml.async = "false"; - xml.loadXML( data ); - } - } catch( e ) { - xml = undefined; - } - if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; - }, - - noop: function() {}, - - // Evaluates a script in a global context - // Workarounds based on findings by Jim Driscoll - // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context - globalEval: function( data ) { - if ( data && jQuery.trim( data ) ) { - // We use execScript on Internet Explorer - // We use an anonymous function so that context is window - // rather than jQuery in Firefox - ( window.execScript || function( data ) { - window[ "eval" ].call( window, data ); - } )( data ); - } - }, - - // Convert dashed to camelCase; used by the css and data modules - // Microsoft forgot to hump their vendor prefix (#9572) - camelCase: function( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); - }, - - nodeName: function( elem, name ) { - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - }, - - // args is for internal usage only - each: function( obj, callback, args ) { - var value, - i = 0, - length = obj.length, - isArray = isArraylike( obj ); - - if ( args ) { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } - - // A special, fast, case for the most common use of each - } else { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } - } - - return obj; - }, - - // Use native String.trim function wherever possible - trim: core_trim && !core_trim.call("\uFEFF\xA0") ? - function( text ) { - return text == null ? - "" : - core_trim.call( text ); - } : - - // Otherwise use our own trimming functionality - function( text ) { - return text == null ? - "" : - ( text + "" ).replace( rtrim, "" ); - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArraylike( Object(arr) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - core_push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - var len; - - if ( arr ) { - if ( core_indexOf ) { - return core_indexOf.call( arr, elem, i ); - } - - len = arr.length; - i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; - - for ( ; i < len; i++ ) { - // Skip accessing in sparse arrays - if ( i in arr && arr[ i ] === elem ) { - return i; - } - } - } - - return -1; - }, - - merge: function( first, second ) { - var l = second.length, - i = first.length, - j = 0; - - if ( typeof l === "number" ) { - for ( ; j < l; j++ ) { - first[ i++ ] = second[ j ]; - } - } else { - while ( second[j] !== undefined ) { - first[ i++ ] = second[ j++ ]; - } - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, inv ) { - var retVal, - ret = [], - i = 0, - length = elems.length; - inv = !!inv; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - retVal = !!callback( elems[ i ], i ); - if ( inv !== retVal ) { - ret.push( elems[ i ] ); - } - } - - return ret; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var value, - i = 0, - length = elems.length, - isArray = isArraylike( elems ), - ret = []; - - // Go through the array, translating each of the items to their - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - } - - // Flatten any nested arrays - return core_concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function( fn, context ) { - var args, proxy, tmp; - - if ( typeof context === "string" ) { - tmp = fn[ context ]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if ( !jQuery.isFunction( fn ) ) { - return undefined; - } - - // Simulated bind - args = core_slice.call( arguments, 2 ); - proxy = function() { - return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) ); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || jQuery.guid++; - - return proxy; - }, - - // Multifunctional method to get and set values of a collection - // The value/s can optionally be executed if it's a function - access: function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - length = elems.length, - bulk = key == null; - - // Sets many values - if ( jQuery.type( key ) === "object" ) { - chainable = true; - for ( i in key ) { - jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !jQuery.isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < length; i++ ) { - fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); - } - } - } - - return chainable ? - elems : - - // Gets - bulk ? - fn.call( elems ) : - length ? fn( elems[0], key ) : emptyGet; - }, - - now: function() { - return ( new Date() ).getTime(); - }, - - // A method for quickly swapping in/out CSS properties to get correct calculations. - // Note: this method belongs to the css module but it's needed here for the support module. - // If support gets modularized, this method should be moved back to the css module. - swap: function( elem, options, callback, args ) { - var ret, name, - old = {}; - - // Remember the old values, and insert the new ones - for ( name in options ) { - old[ name ] = elem.style[ name ]; - elem.style[ name ] = options[ name ]; - } - - ret = callback.apply( elem, args || [] ); - - // Revert the old values - for ( name in options ) { - elem.style[ name ] = old[ name ]; - } - - return ret; - } -}); - -jQuery.ready.promise = function( obj ) { - if ( !readyList ) { - - readyList = jQuery.Deferred(); - - // Catch cases where $(document).ready() is called after the browser event has already occurred. - // we once tried to use readyState "interactive" here, but it caused issues like the one - // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 - if ( document.readyState === "complete" ) { - // Handle it asynchronously to allow scripts the opportunity to delay ready - setTimeout( jQuery.ready ); - - // Standards-based browsers support DOMContentLoaded - } else if ( document.addEventListener ) { - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", completed, false ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", completed, false ); - - // If IE event model is used - } else { - // Ensure firing before onload, maybe late but safe also for iframes - document.attachEvent( "onreadystatechange", completed ); - - // A fallback to window.onload, that will always work - window.attachEvent( "onload", completed ); - - // If IE and not a frame - // continually check to see if the document is ready - var top = false; - - try { - top = window.frameElement == null && document.documentElement; - } catch(e) {} - - if ( top && top.doScroll ) { - (function doScrollCheck() { - if ( !jQuery.isReady ) { - - try { - // Use the trick by Diego Perini - // http://javascript.nwbox.com/IEContentLoaded/ - top.doScroll("left"); - } catch(e) { - return setTimeout( doScrollCheck, 50 ); - } - - // detach all dom ready events - detach(); - - // and execute any waiting functions - jQuery.ready(); - } - })(); - } - } - } - return readyList.promise( obj ); -}; - -// Populate the class2type map -jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -}); - -function isArraylike( obj ) { - var length = obj.length, - type = jQuery.type( obj ); - - if ( jQuery.isWindow( obj ) ) { - return false; - } - - if ( obj.nodeType === 1 && length ) { - return true; - } - - return type === "array" || type !== "function" && - ( length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj ); -} - -// All jQuery objects should point back to these -rootjQuery = jQuery(document); -/*! - * Sizzle CSS Selector Engine v1.10.2 - * http://sizzlejs.com/ - * - * Copyright 2013 jQuery Foundation, Inc. and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2013-07-03 - */ -(function( window, undefined ) { - -var i, - support, - cachedruns, - Expr, - getText, - isXML, - compile, - outermostContext, - sortInput, - - // Local document vars - setDocument, - document, - docElem, - documentIsHTML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - - // Instance-specific data - expando = "sizzle" + -(new Date()), - preferredDoc = window.document, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - hasDuplicate = false, - sortOrder = function( a, b ) { - if ( a === b ) { - hasDuplicate = true; - return 0; - } - return 0; - }, - - // General-purpose constants - strundefined = typeof undefined, - MAX_NEGATIVE = 1 << 31, - - // Instance methods - hasOwn = ({}).hasOwnProperty, - arr = [], - pop = arr.pop, - push_native = arr.push, - push = arr.push, - slice = arr.slice, - // Use a stripped-down indexOf if we can't use a native one - indexOf = arr.indexOf || function( elem ) { - var i = 0, - len = this.length; - for ( ; i < len; i++ ) { - if ( this[i] === elem ) { - return i; - } - } - return -1; - }, - - booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", - - // Regular expressions - - // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - // http://www.w3.org/TR/css3-syntax/#characters - characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", - - // Loosely modeled on CSS identifier characters - // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors - // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier - identifier = characterEncoding.replace( "w", "w#" ), - - // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors - attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + - "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", - - // Prefer arguments quoted, - // then not containing pseudos/brackets, - // then attribute selectors/non-parenthetical expressions, - // then anything else - // These preferences are here to reduce the number of selectors - // needing tokenize in the PSEUDO preFilter - pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), - - rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), - rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), - - rsibling = new RegExp( whitespace + "*[+~]" ), - rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*)" + whitespace + "*\\]", "g" ), - - rpseudo = new RegExp( pseudos ), - ridentifier = new RegExp( "^" + identifier + "$" ), - - matchExpr = { - "ID": new RegExp( "^#(" + characterEncoding + ")" ), - "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), - "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), - "ATTR": new RegExp( "^" + attributes ), - "PSEUDO": new RegExp( "^" + pseudos ), - "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + - "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + - "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), - "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) - }, - - rnative = /^[^{]+\{\s*\[native \w/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rescape = /'|\\/g, - - // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), - funescape = function( _, escaped, escapedWhitespace ) { - var high = "0x" + escaped - 0x10000; - // NaN means non-codepoint - // Support: Firefox - // Workaround erroneous numeric interpretation of +"0x" - return high !== high || escapedWhitespace ? - escaped : - // BMP codepoint - high < 0 ? - String.fromCharCode( high + 0x10000 ) : - // Supplemental Plane codepoint (surrogate pair) - String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); - }; - -// Optimize for push.apply( _, NodeList ) -try { - push.apply( - (arr = slice.call( preferredDoc.childNodes )), - preferredDoc.childNodes - ); - // Support: Android<4.0 - // Detect silently failing push.apply - arr[ preferredDoc.childNodes.length ].nodeType; -} catch ( e ) { - push = { apply: arr.length ? - - // Leverage slice if possible - function( target, els ) { - push_native.apply( target, slice.call(els) ); - } : - - // Support: IE<9 - // Otherwise append directly - function( target, els ) { - var j = target.length, - i = 0; - // Can't trust NodeList.length - while ( (target[j++] = els[i++]) ) {} - target.length = j - 1; - } - }; -} - -function Sizzle( selector, context, results, seed ) { - var match, elem, m, nodeType, - // QSA vars - i, groups, old, nid, newContext, newSelector; - - if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { - setDocument( context ); - } - - context = context || document; - results = results || []; - - if ( !selector || typeof selector !== "string" ) { - return results; - } - - if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { - return []; - } - - if ( documentIsHTML && !seed ) { - - // Shortcuts - if ( (match = rquickExpr.exec( selector )) ) { - // Speed-up: Sizzle("#ID") - if ( (m = match[1]) ) { - if ( nodeType === 9 ) { - elem = context.getElementById( m ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE, Opera, and Webkit return items - // by name instead of ID - if ( elem.id === m ) { - results.push( elem ); - return results; - } - } else { - return results; - } - } else { - // Context is not a document - if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && - contains( context, elem ) && elem.id === m ) { - results.push( elem ); - return results; - } - } - - // Speed-up: Sizzle("TAG") - } else if ( match[2] ) { - push.apply( results, context.getElementsByTagName( selector ) ); - return results; - - // Speed-up: Sizzle(".CLASS") - } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { - push.apply( results, context.getElementsByClassName( m ) ); - return results; - } - } - - // QSA path - if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { - nid = old = expando; - newContext = context; - newSelector = nodeType === 9 && selector; - - // qSA works strangely on Element-rooted queries - // We can work around this by specifying an extra ID on the root - // and working up from there (Thanks to Andrew Dupont for the technique) - // IE 8 doesn't work on object elements - if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { - groups = tokenize( selector ); - - if ( (old = context.getAttribute("id")) ) { - nid = old.replace( rescape, "\\$&" ); - } else { - context.setAttribute( "id", nid ); - } - nid = "[id='" + nid + "'] "; - - i = groups.length; - while ( i-- ) { - groups[i] = nid + toSelector( groups[i] ); - } - newContext = rsibling.test( selector ) && context.parentNode || context; - newSelector = groups.join(","); - } - - if ( newSelector ) { - try { - push.apply( results, - newContext.querySelectorAll( newSelector ) - ); - return results; - } catch(qsaError) { - } finally { - if ( !old ) { - context.removeAttribute("id"); - } - } - } - } - } - - // All others - return select( selector.replace( rtrim, "$1" ), context, results, seed ); -} - -/** - * Create key-value caches of limited size - * @returns {Function(string, Object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ -function createCache() { - var keys = []; - - function cache( key, value ) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if ( keys.push( key += " " ) > Expr.cacheLength ) { - // Only keep the most recent entries - delete cache[ keys.shift() ]; - } - return (cache[ key ] = value); - } - return cache; -} - -/** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ -function markFunction( fn ) { - fn[ expando ] = true; - return fn; -} - -/** - * Support testing using an element - * @param {Function} fn Passed the created div and expects a boolean result - */ -function assert( fn ) { - var div = document.createElement("div"); - - try { - return !!fn( div ); - } catch (e) { - return false; - } finally { - // Remove from its parent by default - if ( div.parentNode ) { - div.parentNode.removeChild( div ); - } - // release memory in IE - div = null; - } -} - -/** - * Adds the same handler for all of the specified attrs - * @param {String} attrs Pipe-separated list of attributes - * @param {Function} handler The method that will be applied - */ -function addHandle( attrs, handler ) { - var arr = attrs.split("|"), - i = attrs.length; - - while ( i-- ) { - Expr.attrHandle[ arr[i] ] = handler; - } -} - -/** - * Checks document order of two siblings - * @param {Element} a - * @param {Element} b - * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b - */ -function siblingCheck( a, b ) { - var cur = b && a, - diff = cur && a.nodeType === 1 && b.nodeType === 1 && - ( ~b.sourceIndex || MAX_NEGATIVE ) - - ( ~a.sourceIndex || MAX_NEGATIVE ); - - // Use IE sourceIndex if available on both nodes - if ( diff ) { - return diff; - } - - // Check if b follows a - if ( cur ) { - while ( (cur = cur.nextSibling) ) { - if ( cur === b ) { - return -1; - } - } - } - - return a ? 1 : -1; -} - -/** - * Returns a function to use in pseudos for input types - * @param {String} type - */ -function createInputPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for buttons - * @param {String} type - */ -function createButtonPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for positionals - * @param {Function} fn - */ -function createPositionalPseudo( fn ) { - return markFunction(function( argument ) { - argument = +argument; - return markFunction(function( seed, matches ) { - var j, - matchIndexes = fn( [], seed.length, argument ), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while ( i-- ) { - if ( seed[ (j = matchIndexes[i]) ] ) { - seed[j] = !(matches[j] = seed[j]); - } - } - }); - }); -} - -/** - * Detect xml - * @param {Element|Object} elem An element or a document - */ -isXML = Sizzle.isXML = function( elem ) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && (elem.ownerDocument || elem).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -// Expose support vars for convenience -support = Sizzle.support = {}; - -/** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ -setDocument = Sizzle.setDocument = function( node ) { - var doc = node ? node.ownerDocument || node : preferredDoc, - parent = doc.defaultView; - - // If no document and documentElement is available, return - if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { - return document; - } - - // Set our document - document = doc; - docElem = doc.documentElement; - - // Support tests - documentIsHTML = !isXML( doc ); - - // Support: IE>8 - // If iframe document is assigned to "document" variable and if iframe has been reloaded, - // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 - // IE6-8 do not support the defaultView property so parent will be undefined - if ( parent && parent.attachEvent && parent !== parent.top ) { - parent.attachEvent( "onbeforeunload", function() { - setDocument(); - }); - } - - /* Attributes - ---------------------------------------------------------------------- */ - - // Support: IE<8 - // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) - support.attributes = assert(function( div ) { - div.className = "i"; - return !div.getAttribute("className"); - }); - - /* getElement(s)By* - ---------------------------------------------------------------------- */ - - // Check if getElementsByTagName("*") returns only elements - support.getElementsByTagName = assert(function( div ) { - div.appendChild( doc.createComment("") ); - return !div.getElementsByTagName("*").length; - }); - - // Check if getElementsByClassName can be trusted - support.getElementsByClassName = assert(function( div ) { - div.innerHTML = "<div class='a'></div><div class='a i'></div>"; - - // Support: Safari<4 - // Catch class over-caching - div.firstChild.className = "i"; - // Support: Opera<10 - // Catch gEBCN failure to find non-leading classes - return div.getElementsByClassName("i").length === 2; - }); - - // Support: IE<10 - // Check if getElementById returns elements by name - // The broken getElementById methods don't pick up programatically-set names, - // so use a roundabout getElementsByName test - support.getById = assert(function( div ) { - docElem.appendChild( div ).id = expando; - return !doc.getElementsByName || !doc.getElementsByName( expando ).length; - }); - - // ID find and filter - if ( support.getById ) { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== strundefined && documentIsHTML ) { - var m = context.getElementById( id ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - return m && m.parentNode ? [m] : []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - return elem.getAttribute("id") === attrId; - }; - }; - } else { - // Support: IE6/7 - // getElementById is not reliable as a find shortcut - delete Expr.find["ID"]; - - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); - return node && node.value === attrId; - }; - }; - } - - // Tag - Expr.find["TAG"] = support.getElementsByTagName ? - function( tag, context ) { - if ( typeof context.getElementsByTagName !== strundefined ) { - return context.getElementsByTagName( tag ); - } - } : - function( tag, context ) { - var elem, - tmp = [], - i = 0, - results = context.getElementsByTagName( tag ); - - // Filter out possible comments - if ( tag === "*" ) { - while ( (elem = results[i++]) ) { - if ( elem.nodeType === 1 ) { - tmp.push( elem ); - } - } - - return tmp; - } - return results; - }; - - // Class - Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { - if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { - return context.getElementsByClassName( className ); - } - }; - - /* QSA/matchesSelector - ---------------------------------------------------------------------- */ - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21) - // We allow this because of a bug in IE8/9 that throws an error - // whenever `document.activeElement` is accessed on an iframe - // So, we allow :focus to pass through QSA all the time to avoid the IE error - // See http://bugs.jquery.com/ticket/13378 - rbuggyQSA = []; - - if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert(function( div ) { - // Select is set to empty string on purpose - // This is to test IE's treatment of not explicitly - // setting a boolean content attribute, - // since its presence should be enough - // http://bugs.jquery.com/ticket/12359 - div.innerHTML = "<select><option selected=''></option></select>"; - - // Support: IE8 - // Boolean attributes and "value" are not treated correctly - if ( !div.querySelectorAll("[selected]").length ) { - rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":checked").length ) { - rbuggyQSA.push(":checked"); - } - }); - - assert(function( div ) { - - // Support: Opera 10-12/IE8 - // ^= $= *= and empty values - // Should not select anything - // Support: Windows 8 Native Apps - // The type attribute is restricted during .innerHTML assignment - var input = doc.createElement("input"); - input.setAttribute( "type", "hidden" ); - div.appendChild( input ).setAttribute( "t", "" ); - - if ( div.querySelectorAll("[t^='']").length ) { - rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":enabled").length ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Opera 10-11 does not throw on post-comma invalid pseudos - div.querySelectorAll("*,:x"); - rbuggyQSA.push(",.*:"); - }); - } - - if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || - docElem.mozMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector) )) ) { - - assert(function( div ) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call( div, "div" ); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( div, "[s!='']:x" ); - rbuggyMatches.push( "!=", pseudos ); - }); - } - - rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); - rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); - - /* Contains - ---------------------------------------------------------------------- */ - - // Element contains another - // Purposefully does not implement inclusive descendent - // As in, an element does not contain itself - contains = rnative.test( docElem.contains ) || docElem.compareDocumentPosition ? - function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains( bup ) : - a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 - )); - } : - function( a, b ) { - if ( b ) { - while ( (b = b.parentNode) ) { - if ( b === a ) { - return true; - } - } - } - return false; - }; - - /* Sorting - ---------------------------------------------------------------------- */ - - // Document order sorting - sortOrder = docElem.compareDocumentPosition ? - function( a, b ) { - - // Flag for duplicate removal - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - var compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b ); - - if ( compare ) { - // Disconnected nodes - if ( compare & 1 || - (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { - - // Choose the first element that is related to our preferred document - if ( a === doc || contains(preferredDoc, a) ) { - return -1; - } - if ( b === doc || contains(preferredDoc, b) ) { - return 1; - } - - // Maintain original order - return sortInput ? - ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : - 0; - } - - return compare & 4 ? -1 : 1; - } - - // Not directly comparable, sort on existence of method - return a.compareDocumentPosition ? -1 : 1; - } : - function( a, b ) { - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [ a ], - bp = [ b ]; - - // Exit early if the nodes are identical - if ( a === b ) { - hasDuplicate = true; - return 0; - - // Parentless nodes are either documents or disconnected - } else if ( !aup || !bup ) { - return a === doc ? -1 : - b === doc ? 1 : - aup ? -1 : - bup ? 1 : - sortInput ? - ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : - 0; - - // If the nodes are siblings, we can do a quick check - } else if ( aup === bup ) { - return siblingCheck( a, b ); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ( (cur = cur.parentNode) ) { - ap.unshift( cur ); - } - cur = b; - while ( (cur = cur.parentNode) ) { - bp.unshift( cur ); - } - - // Walk down the tree looking for a discrepancy - while ( ap[i] === bp[i] ) { - i++; - } - - return i ? - // Do a sibling check if the nodes have a common ancestor - siblingCheck( ap[i], bp[i] ) : - - // Otherwise nodes in our document sort first - ap[i] === preferredDoc ? -1 : - bp[i] === preferredDoc ? 1 : - 0; - }; - - return doc; -}; - -Sizzle.matches = function( expr, elements ) { - return Sizzle( expr, null, null, elements ); -}; - -Sizzle.matchesSelector = function( elem, expr ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - // Make sure that attribute selectors are quoted - expr = expr.replace( rattributeQuotes, "='$1']" ); - - if ( support.matchesSelector && documentIsHTML && - ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && - ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { - - try { - var ret = matches.call( elem, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || support.disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11 ) { - return ret; - } - } catch(e) {} - } - - return Sizzle( expr, document, null, [elem] ).length > 0; -}; - -Sizzle.contains = function( context, elem ) { - // Set document vars if needed - if ( ( context.ownerDocument || context ) !== document ) { - setDocument( context ); - } - return contains( context, elem ); -}; - -Sizzle.attr = function( elem, name ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - var fn = Expr.attrHandle[ name.toLowerCase() ], - // Don't get fooled by Object.prototype properties (jQuery #13807) - val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? - fn( elem, name, !documentIsHTML ) : - undefined; - - return val === undefined ? - support.attributes || !documentIsHTML ? - elem.getAttribute( name ) : - (val = elem.getAttributeNode(name)) && val.specified ? - val.value : - null : - val; -}; - -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; - -/** - * Document sorting and removing duplicates - * @param {ArrayLike} results - */ -Sizzle.uniqueSort = function( results ) { - var elem, - duplicates = [], - j = 0, - i = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - sortInput = !support.sortStable && results.slice( 0 ); - results.sort( sortOrder ); - - if ( hasDuplicate ) { - while ( (elem = results[i++]) ) { - if ( elem === results[ i ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } - - return results; -}; - -/** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -getText = Sizzle.getText = function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if ( !nodeType ) { - // If no nodeType, this is expected to be an array - for ( ; (node = elem[i]); i++ ) { - // Do not traverse comment nodes - ret += getText( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - // Use textContent for elements - // innerText usage removed for consistency of new lines (see #11153) - if ( typeof elem.textContent === "string" ) { - return elem.textContent; - } else { - // Traverse its children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - // Do not include comment or processing instruction nodes - - return ret; -}; - -Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - attrHandle: {}, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function( match ) { - match[1] = match[1].replace( runescape, funescape ); - - // Move the given value to match[3] whether quoted or unquoted - match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); - - if ( match[2] === "~=" ) { - match[3] = " " + match[3] + " "; - } - - return match.slice( 0, 4 ); - }, - - "CHILD": function( match ) { - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[1] = match[1].toLowerCase(); - - if ( match[1].slice( 0, 3 ) === "nth" ) { - // nth-* requires argument - if ( !match[3] ) { - Sizzle.error( match[0] ); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); - match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); - - // other types prohibit arguments - } else if ( match[3] ) { - Sizzle.error( match[0] ); - } - - return match; - }, - - "PSEUDO": function( match ) { - var excess, - unquoted = !match[5] && match[2]; - - if ( matchExpr["CHILD"].test( match[0] ) ) { - return null; - } - - // Accept quoted arguments as-is - if ( match[3] && match[4] !== undefined ) { - match[2] = match[4]; - - // Strip excess characters from unquoted arguments - } else if ( unquoted && rpseudo.test( unquoted ) && - // Get excess from tokenize (recursively) - (excess = tokenize( unquoted, true )) && - // advance to the next closing parenthesis - (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { - - // excess is a negative index - match[0] = match[0].slice( 0, excess ); - match[2] = unquoted.slice( 0, excess ); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice( 0, 3 ); - } - }, - - filter: { - - "TAG": function( nodeNameSelector ) { - var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); - return nodeNameSelector === "*" ? - function() { return true; } : - function( elem ) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function( className ) { - var pattern = classCache[ className + " " ]; - - return pattern || - (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && - classCache( className, function( elem ) { - return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); - }); - }, - - "ATTR": function( name, operator, check ) { - return function( elem ) { - var result = Sizzle.attr( elem, name ); - - if ( result == null ) { - return operator === "!="; - } - if ( !operator ) { - return true; - } - - result += ""; - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf( check ) === 0 : - operator === "*=" ? check && result.indexOf( check ) > -1 : - operator === "$=" ? check && result.slice( -check.length ) === check : - operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : - operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : - false; - }; - }, - - "CHILD": function( type, what, argument, first, last ) { - var simple = type.slice( 0, 3 ) !== "nth", - forward = type.slice( -4 ) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function( elem ) { - return !!elem.parentNode; - } : - - function( elem, context, xml ) { - var cache, outerCache, node, diff, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType; - - if ( parent ) { - - // :(first|last|only)-(child|of-type) - if ( simple ) { - while ( dir ) { - node = elem; - while ( (node = node[ dir ]) ) { - if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { - return false; - } - } - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [ forward ? parent.firstChild : parent.lastChild ]; - - // non-xml :nth-child(...) stores cache data on `parent` - if ( forward && useCache ) { - // Seek `elem` from a previously-cached index - outerCache = parent[ expando ] || (parent[ expando ] = {}); - cache = outerCache[ type ] || []; - nodeIndex = cache[0] === dirruns && cache[1]; - diff = cache[0] === dirruns && cache[2]; - node = nodeIndex && parent.childNodes[ nodeIndex ]; - - while ( (node = ++nodeIndex && node && node[ dir ] || - - // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start.pop()) ) { - - // When found, cache indexes on `parent` and break - if ( node.nodeType === 1 && ++diff && node === elem ) { - outerCache[ type ] = [ dirruns, nodeIndex, diff ]; - break; - } - } - - // Use previously-cached element index if available - } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { - diff = cache[1]; - - // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) - } else { - // Use the same loop as above to seek `elem` from the start - while ( (node = ++nodeIndex && node && node[ dir ] || - (diff = nodeIndex = 0) || start.pop()) ) { - - if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { - // Cache the index of each encountered element - if ( useCache ) { - (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; - } - - if ( node === elem ) { - break; - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || ( diff % first === 0 && diff / first >= 0 ); - } - }; - }, - - "PSEUDO": function( pseudo, argument ) { - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || - Sizzle.error( "unsupported pseudo: " + pseudo ); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if ( fn[ expando ] ) { - return fn( argument ); - } - - // But maintain support for old signatures - if ( fn.length > 1 ) { - args = [ pseudo, pseudo, "", argument ]; - return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? - markFunction(function( seed, matches ) { - var idx, - matched = fn( seed, argument ), - i = matched.length; - while ( i-- ) { - idx = indexOf.call( seed, matched[i] ); - seed[ idx ] = !( matches[ idx ] = matched[i] ); - } - }) : - function( elem ) { - return fn( elem, 0, args ); - }; - } - - return fn; - } - }, - - pseudos: { - // Potentially complex pseudos - "not": markFunction(function( selector ) { - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile( selector.replace( rtrim, "$1" ) ); - - return matcher[ expando ] ? - markFunction(function( seed, matches, context, xml ) { - var elem, - unmatched = matcher( seed, null, xml, [] ), - i = seed.length; - - // Match elements unmatched by `matcher` - while ( i-- ) { - if ( (elem = unmatched[i]) ) { - seed[i] = !(matches[i] = elem); - } - } - }) : - function( elem, context, xml ) { - input[0] = elem; - matcher( input, null, xml, results ); - return !results.pop(); - }; - }), - - "has": markFunction(function( selector ) { - return function( elem ) { - return Sizzle( selector, elem ).length > 0; - }; - }), - - "contains": markFunction(function( text ) { - return function( elem ) { - return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; - }; - }), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction( function( lang ) { - // lang value must be a valid identifier - if ( !ridentifier.test(lang || "") ) { - Sizzle.error( "unsupported lang: " + lang ); - } - lang = lang.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - var elemLang; - do { - if ( (elemLang = documentIsHTML ? - elem.lang : - elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; - } - } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); - return false; - }; - }), - - // Miscellaneous - "target": function( elem ) { - var hash = window.location && window.location.hash; - return hash && hash.slice( 1 ) === elem.id; - }, - - "root": function( elem ) { - return elem === docElem; - }, - - "focus": function( elem ) { - return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); - }, - - // Boolean properties - "enabled": function( elem ) { - return elem.disabled === false; - }, - - "disabled": function( elem ) { - return elem.disabled === true; - }, - - "checked": function( elem ) { - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); - }, - - "selected": function( elem ) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function( elem ) { - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)), - // not comment, processing instructions, or others - // Thanks to Diego Perini for the nodeName shortcut - // Greater than "@" means alpha characters (specifically not starting with "#" or "?") - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) { - return false; - } - } - return true; - }, - - "parent": function( elem ) { - return !Expr.pseudos["empty"]( elem ); - }, - - // Element/input types - "header": function( elem ) { - return rheader.test( elem.nodeName ); - }, - - "input": function( elem ) { - return rinputs.test( elem.nodeName ); - }, - - "button": function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function( elem ) { - var attr; - // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) - // use getAttribute instead to test this case - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type ); - }, - - // Position-in-collection - "first": createPositionalPseudo(function() { - return [ 0 ]; - }), - - "last": createPositionalPseudo(function( matchIndexes, length ) { - return [ length - 1 ]; - }), - - "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { - return [ argument < 0 ? argument + length : argument ]; - }), - - "even": createPositionalPseudo(function( matchIndexes, length ) { - var i = 0; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "odd": createPositionalPseudo(function( matchIndexes, length ) { - var i = 1; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; --i >= 0; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; ++i < length; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }) - } -}; - -Expr.pseudos["nth"] = Expr.pseudos["eq"]; - -// Add button/input type pseudos -for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { - Expr.pseudos[ i ] = createInputPseudo( i ); -} -for ( i in { submit: true, reset: true } ) { - Expr.pseudos[ i ] = createButtonPseudo( i ); -} - -// Easy API for creating new setFilters -function setFilters() {} -setFilters.prototype = Expr.filters = Expr.pseudos; -Expr.setFilters = new setFilters(); - -function tokenize( selector, parseOnly ) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[ selector + " " ]; - - if ( cached ) { - return parseOnly ? 0 : cached.slice( 0 ); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while ( soFar ) { - - // Comma and first run - if ( !matched || (match = rcomma.exec( soFar )) ) { - if ( match ) { - // Don't consume trailing commas as valid - soFar = soFar.slice( match[0].length ) || soFar; - } - groups.push( tokens = [] ); - } - - matched = false; - - // Combinators - if ( (match = rcombinators.exec( soFar )) ) { - matched = match.shift(); - tokens.push({ - value: matched, - // Cast descendant combinators to space - type: match[0].replace( rtrim, " " ) - }); - soFar = soFar.slice( matched.length ); - } - - // Filters - for ( type in Expr.filter ) { - if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || - (match = preFilters[ type ]( match ))) ) { - matched = match.shift(); - tokens.push({ - value: matched, - type: type, - matches: match - }); - soFar = soFar.slice( matched.length ); - } - } - - if ( !matched ) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error( selector ) : - // Cache the tokens - tokenCache( selector, groups ).slice( 0 ); -} - -function toSelector( tokens ) { - var i = 0, - len = tokens.length, - selector = ""; - for ( ; i < len; i++ ) { - selector += tokens[i].value; - } - return selector; -} - -function addCombinator( matcher, combinator, base ) { - var dir = combinator.dir, - checkNonElements = base && dir === "parentNode", - doneName = done++; - - return combinator.first ? - // Check against closest ancestor/preceding element - function( elem, context, xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - return matcher( elem, context, xml ); - } - } - } : - - // Check against all ancestor/preceding elements - function( elem, context, xml ) { - var data, cache, outerCache, - dirkey = dirruns + " " + doneName; - - // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching - if ( xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - if ( matcher( elem, context, xml ) ) { - return true; - } - } - } - } else { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - outerCache = elem[ expando ] || (elem[ expando ] = {}); - if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) { - if ( (data = cache[1]) === true || data === cachedruns ) { - return data === true; - } - } else { - cache = outerCache[ dir ] = [ dirkey ]; - cache[1] = matcher( elem, context, xml ) || cachedruns; - if ( cache[1] === true ) { - return true; - } - } - } - } - } - }; -} - -function elementMatcher( matchers ) { - return matchers.length > 1 ? - function( elem, context, xml ) { - var i = matchers.length; - while ( i-- ) { - if ( !matchers[i]( elem, context, xml ) ) { - return false; - } - } - return true; - } : - matchers[0]; -} - -function condense( unmatched, map, filter, context, xml ) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for ( ; i < len; i++ ) { - if ( (elem = unmatched[i]) ) { - if ( !filter || filter( elem, context, xml ) ) { - newUnmatched.push( elem ); - if ( mapped ) { - map.push( i ); - } - } - } - } - - return newUnmatched; -} - -function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { - if ( postFilter && !postFilter[ expando ] ) { - postFilter = setMatcher( postFilter ); - } - if ( postFinder && !postFinder[ expando ] ) { - postFinder = setMatcher( postFinder, postSelector ); - } - return markFunction(function( seed, results, context, xml ) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && ( seed || !selector ) ? - condense( elems, preMap, preFilter, context, xml ) : - elems, - - matcherOut = matcher ? - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || ( seed ? preFilter : preexisting || postFilter ) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if ( matcher ) { - matcher( matcherIn, matcherOut, context, xml ); - } - - // Apply postFilter - if ( postFilter ) { - temp = condense( matcherOut, postMap ); - postFilter( temp, [], context, xml ); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while ( i-- ) { - if ( (elem = temp[i]) ) { - matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); - } - } - } - - if ( seed ) { - if ( postFinder || preFilter ) { - if ( postFinder ) { - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) ) { - // Restore matcherIn since elem is not yet a final match - temp.push( (matcherIn[i] = elem) ); - } - } - postFinder( null, (matcherOut = []), temp, xml ); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) && - (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { - - seed[temp] = !(results[temp] = elem); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice( preexisting, matcherOut.length ) : - matcherOut - ); - if ( postFinder ) { - postFinder( null, results, matcherOut, xml ); - } else { - push.apply( results, matcherOut ); - } - } - }); -} - -function matcherFromTokens( tokens ) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[ tokens[0].type ], - implicitRelative = leadingRelative || Expr.relative[" "], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator( function( elem ) { - return elem === checkContext; - }, implicitRelative, true ), - matchAnyContext = addCombinator( function( elem ) { - return indexOf.call( checkContext, elem ) > -1; - }, implicitRelative, true ), - matchers = [ function( elem, context, xml ) { - return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( - (checkContext = context).nodeType ? - matchContext( elem, context, xml ) : - matchAnyContext( elem, context, xml ) ); - } ]; - - for ( ; i < len; i++ ) { - if ( (matcher = Expr.relative[ tokens[i].type ]) ) { - matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; - } else { - matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); - - // Return special upon seeing a positional matcher - if ( matcher[ expando ] ) { - // Find the next relative operator (if any) for proper handling - j = ++i; - for ( ; j < len; j++ ) { - if ( Expr.relative[ tokens[j].type ] ) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher( matchers ), - i > 1 && toSelector( - // If the preceding token was a descendant combinator, insert an implicit any-element `*` - tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) - ).replace( rtrim, "$1" ), - matcher, - i < j && matcherFromTokens( tokens.slice( i, j ) ), - j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), - j < len && toSelector( tokens ) - ); - } - matchers.push( matcher ); - } - } - - return elementMatcher( matchers ); -} - -function matcherFromGroupMatchers( elementMatchers, setMatchers ) { - // A counter to specify which element is currently being matched - var matcherCachedRuns = 0, - bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function( seed, context, xml, results, expandContext ) { - var elem, j, matcher, - setMatched = [], - matchedCount = 0, - i = "0", - unmatched = seed && [], - outermost = expandContext != null, - contextBackup = outermostContext, - // We must always have either seed elements or context - elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ), - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1); - - if ( outermost ) { - outermostContext = context !== document && context; - cachedruns = matcherCachedRuns; - } - - // Add elements passing elementMatchers directly to results - // Keep `i` a string if there are no elements so `matchedCount` will be "00" below - for ( ; (elem = elems[i]) != null; i++ ) { - if ( byElement && elem ) { - j = 0; - while ( (matcher = elementMatchers[j++]) ) { - if ( matcher( elem, context, xml ) ) { - results.push( elem ); - break; - } - } - if ( outermost ) { - dirruns = dirrunsUnique; - cachedruns = ++matcherCachedRuns; - } - } - - // Track unmatched elements for set filters - if ( bySet ) { - // They will have gone through all possible matchers - if ( (elem = !matcher && elem) ) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if ( seed ) { - unmatched.push( elem ); - } - } - } - - // Apply set filters to unmatched elements - matchedCount += i; - if ( bySet && i !== matchedCount ) { - j = 0; - while ( (matcher = setMatchers[j++]) ) { - matcher( unmatched, setMatched, context, xml ); - } - - if ( seed ) { - // Reintegrate element matches to eliminate the need for sorting - if ( matchedCount > 0 ) { - while ( i-- ) { - if ( !(unmatched[i] || setMatched[i]) ) { - setMatched[i] = pop.call( results ); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense( setMatched ); - } - - // Add matches to results - push.apply( results, setMatched ); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if ( outermost && !seed && setMatched.length > 0 && - ( matchedCount + setMatchers.length ) > 1 ) { - - Sizzle.uniqueSort( results ); - } - } - - // Override manipulation of globals by nested matchers - if ( outermost ) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction( superMatcher ) : - superMatcher; -} - -compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[ selector + " " ]; - - if ( !cached ) { - // Generate a function of recursive functions that can be used to check each element - if ( !group ) { - group = tokenize( selector ); - } - i = group.length; - while ( i-- ) { - cached = matcherFromTokens( group[i] ); - if ( cached[ expando ] ) { - setMatchers.push( cached ); - } else { - elementMatchers.push( cached ); - } - } - - // Cache the compiled function - cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); - } - return cached; -}; - -function multipleContexts( selector, contexts, results ) { - var i = 0, - len = contexts.length; - for ( ; i < len; i++ ) { - Sizzle( selector, contexts[i], results ); - } - return results; -} - -function select( selector, context, results, seed ) { - var i, tokens, token, type, find, - match = tokenize( selector ); - - if ( !seed ) { - // Try to minimize operations if there is only one group - if ( match.length === 1 ) { - - // Take a shortcut and set the context if the root selector is an ID - tokens = match[0] = match[0].slice( 0 ); - if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && - support.getById && context.nodeType === 9 && documentIsHTML && - Expr.relative[ tokens[1].type ] ) { - - context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; - if ( !context ) { - return results; - } - selector = selector.slice( tokens.shift().value.length ); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; - while ( i-- ) { - token = tokens[i]; - - // Abort if we hit a combinator - if ( Expr.relative[ (type = token.type) ] ) { - break; - } - if ( (find = Expr.find[ type ]) ) { - // Search, expanding context for leading sibling combinators - if ( (seed = find( - token.matches[0].replace( runescape, funescape ), - rsibling.test( tokens[0].type ) && context.parentNode || context - )) ) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice( i, 1 ); - selector = seed.length && toSelector( tokens ); - if ( !selector ) { - push.apply( results, seed ); - return results; - } - - break; - } - } - } - } - } - - // Compile and execute a filtering function - // Provide `match` to avoid retokenization if we modified the selector above - compile( selector, match )( - seed, - context, - !documentIsHTML, - results, - rsibling.test( selector ) - ); - return results; -} - -// One-time assignments - -// Sort stability -support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; - -// Support: Chrome<14 -// Always assume duplicates if they aren't passed to the comparison function -support.detectDuplicates = hasDuplicate; - -// Initialize against the default document -setDocument(); - -// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) -// Detached nodes confoundingly follow *each other* -support.sortDetached = assert(function( div1 ) { - // Should return 1, but returns 4 (following) - return div1.compareDocumentPosition( document.createElement("div") ) & 1; -}); - -// Support: IE<8 -// Prevent attribute/property "interpolation" -// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !assert(function( div ) { - div.innerHTML = "<a href='#'></a>"; - return div.firstChild.getAttribute("href") === "#" ; -}) ) { - addHandle( "type|href|height|width", function( elem, name, isXML ) { - if ( !isXML ) { - return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); - } - }); -} - -// Support: IE<9 -// Use defaultValue in place of getAttribute("value") -if ( !support.attributes || !assert(function( div ) { - div.innerHTML = "<input/>"; - div.firstChild.setAttribute( "value", "" ); - return div.firstChild.getAttribute( "value" ) === ""; -}) ) { - addHandle( "value", function( elem, name, isXML ) { - if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { - return elem.defaultValue; - } - }); -} - -// Support: IE<9 -// Use getAttributeNode to fetch booleans when getAttribute lies -if ( !assert(function( div ) { - return div.getAttribute("disabled") == null; -}) ) { - addHandle( booleans, function( elem, name, isXML ) { - var val; - if ( !isXML ) { - return (val = elem.getAttributeNode( name )) && val.specified ? - val.value : - elem[ name ] === true ? name.toLowerCase() : null; - } - }); -} - -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; -jQuery.expr[":"] = jQuery.expr.pseudos; -jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; - - -})( window ); -// String to Object options format cache -var optionsCache = {}; - -// Convert String-formatted options into Object-formatted ones and store in cache -function createOptions( options ) { - var object = optionsCache[ options ] = {}; - jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) { - object[ flag ] = true; - }); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - ( optionsCache[ options ] || createOptions( options ) ) : - jQuery.extend( {}, options ); - - var // Flag to know if list is currently firing - firing, - // Last fire value (for non-forgettable lists) - memory, - // Flag to know if list was already fired - fired, - // End of the loop when firing - firingLength, - // Index of currently firing callback (modified by remove if needed) - firingIndex, - // First callback to fire (used internally by add and fireWith) - firingStart, - // Actual callback list - list = [], - // Stack of fire calls for repeatable lists - stack = !options.once && [], - // Fire callbacks - fire = function( data ) { - memory = options.memory && data; - fired = true; - firingIndex = firingStart || 0; - firingStart = 0; - firingLength = list.length; - firing = true; - for ( ; list && firingIndex < firingLength; firingIndex++ ) { - if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { - memory = false; // To prevent further calls using add - break; - } - } - firing = false; - if ( list ) { - if ( stack ) { - if ( stack.length ) { - fire( stack.shift() ); - } - } else if ( memory ) { - list = []; - } else { - self.disable(); - } - } - }, - // Actual Callbacks object - self = { - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - // First, we save the current length - var start = list.length; - (function add( args ) { - jQuery.each( args, function( _, arg ) { - var type = jQuery.type( arg ); - if ( type === "function" ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && type !== "string" ) { - // Inspect recursively - add( arg ); - } - }); - })( arguments ); - // Do we need to add the callbacks to the - // current firing batch? - if ( firing ) { - firingLength = list.length; - // With memory, if we're not firing then - // we should call right away - } else if ( memory ) { - firingStart = start; - fire( memory ); - } - } - return this; - }, - // Remove a callback from the list - remove: function() { - if ( list ) { - jQuery.each( arguments, function( _, arg ) { - var index; - while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - // Handle firing indexes - if ( firing ) { - if ( index <= firingLength ) { - firingLength--; - } - if ( index <= firingIndex ) { - firingIndex--; - } - } - } - }); - } - return this; - }, - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function( fn ) { - return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); - }, - // Remove all callbacks from the list - empty: function() { - list = []; - firingLength = 0; - return this; - }, - // Have the list do nothing anymore - disable: function() { - list = stack = memory = undefined; - return this; - }, - // Is it disabled? - disabled: function() { - return !list; - }, - // Lock the list in its current state - lock: function() { - stack = undefined; - if ( !memory ) { - self.disable(); - } - return this; - }, - // Is it locked? - locked: function() { - return !stack; - }, - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - if ( list && ( !fired || stack ) ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - if ( firing ) { - stack.push( args ); - } else { - fire( args ); - } - } - return this; - }, - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; -jQuery.extend({ - - Deferred: function( func ) { - var tuples = [ - // action, add listener, listener list, final state - [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], - [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], - [ "notify", "progress", jQuery.Callbacks("memory") ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - then: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - return jQuery.Deferred(function( newDefer ) { - jQuery.each( tuples, function( i, tuple ) { - var action = tuple[ 0 ], - fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; - // deferred[ done | fail | progress ] for forwarding actions to newDefer - deferred[ tuple[1] ](function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && jQuery.isFunction( returned.promise ) ) { - returned.promise() - .done( newDefer.resolve ) - .fail( newDefer.reject ) - .progress( newDefer.notify ); - } else { - newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); - } - }); - }); - fns = null; - }).promise(); - }, - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Keep pipe for back-compat - promise.pipe = promise.then; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 3 ]; - - // promise[ done | fail | progress ] = list.add - promise[ tuple[1] ] = list.add; - - // Handle state - if ( stateString ) { - list.add(function() { - // state = [ resolved | rejected ] - state = stateString; - - // [ reject_list | resolve_list ].disable; progress_list.lock - }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); - } - - // deferred[ resolve | reject | notify ] - deferred[ tuple[0] ] = function() { - deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); - return this; - }; - deferred[ tuple[0] + "With" ] = list.fireWith; - }); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( subordinate /* , ..., subordinateN */ ) { - var i = 0, - resolveValues = core_slice.call( arguments ), - length = resolveValues.length, - - // the count of uncompleted subordinates - remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, - - // the master Deferred. If resolveValues consist of only a single Deferred, just use that. - deferred = remaining === 1 ? subordinate : jQuery.Deferred(), - - // Update function for both resolve and progress values - updateFunc = function( i, contexts, values ) { - return function( value ) { - contexts[ i ] = this; - values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; - if( values === progressValues ) { - deferred.notifyWith( contexts, values ); - } else if ( !( --remaining ) ) { - deferred.resolveWith( contexts, values ); - } - }; - }, - - progressValues, progressContexts, resolveContexts; - - // add listeners to Deferred subordinates; treat others as resolved - if ( length > 1 ) { - progressValues = new Array( length ); - progressContexts = new Array( length ); - resolveContexts = new Array( length ); - for ( ; i < length; i++ ) { - if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { - resolveValues[ i ].promise() - .done( updateFunc( i, resolveContexts, resolveValues ) ) - .fail( deferred.reject ) - .progress( updateFunc( i, progressContexts, progressValues ) ); - } else { - --remaining; - } - } - } - - // if we're not waiting on anything, resolve the master - if ( !remaining ) { - deferred.resolveWith( resolveContexts, resolveValues ); - } - - return deferred.promise(); - } -}); -jQuery.support = (function( support ) { - - var all, a, input, select, fragment, opt, eventName, isSupported, i, - div = document.createElement("div"); - - // Setup - div.setAttribute( "className", "t" ); - div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"; - - // Finish early in limited (non-browser) environments - all = div.getElementsByTagName("*") || []; - a = div.getElementsByTagName("a")[ 0 ]; - if ( !a || !a.style || !all.length ) { - return support; - } - - // First batch of tests - select = document.createElement("select"); - opt = select.appendChild( document.createElement("option") ); - input = div.getElementsByTagName("input")[ 0 ]; - - a.style.cssText = "top:1px;float:left;opacity:.5"; - - // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) - support.getSetAttribute = div.className !== "t"; - - // IE strips leading whitespace when .innerHTML is used - support.leadingWhitespace = div.firstChild.nodeType === 3; - - // Make sure that tbody elements aren't automatically inserted - // IE will insert them into empty tables - support.tbody = !div.getElementsByTagName("tbody").length; - - // Make sure that link elements get serialized correctly by innerHTML - // This requires a wrapper element in IE - support.htmlSerialize = !!div.getElementsByTagName("link").length; - - // Get the style information from getAttribute - // (IE uses .cssText instead) - support.style = /top/.test( a.getAttribute("style") ); - - // Make sure that URLs aren't manipulated - // (IE normalizes it by default) - support.hrefNormalized = a.getAttribute("href") === "/a"; - - // Make sure that element opacity exists - // (IE uses filter instead) - // Use a regex to work around a WebKit issue. See #5145 - support.opacity = /^0.5/.test( a.style.opacity ); - - // Verify style float existence - // (IE uses styleFloat instead of cssFloat) - support.cssFloat = !!a.style.cssFloat; - - // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere) - support.checkOn = !!input.value; - - // Make sure that a selected-by-default option has a working selected property. - // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) - support.optSelected = opt.selected; - - // Tests for enctype support on a form (#6743) - support.enctype = !!document.createElement("form").enctype; - - // Makes sure cloning an html5 element does not cause problems - // Where outerHTML is undefined, this still works - support.html5Clone = document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav></:nav>"; - - // Will be defined later - support.inlineBlockNeedsLayout = false; - support.shrinkWrapBlocks = false; - support.pixelPosition = false; - support.deleteExpando = true; - support.noCloneEvent = true; - support.reliableMarginRight = true; - support.boxSizingReliable = true; - - // Make sure checked status is properly cloned - input.checked = true; - support.noCloneChecked = input.cloneNode( true ).checked; - - // Make sure that the options inside disabled selects aren't marked as disabled - // (WebKit marks them as disabled) - select.disabled = true; - support.optDisabled = !opt.disabled; - - // Support: IE<9 - try { - delete div.test; - } catch( e ) { - support.deleteExpando = false; - } - - // Check if we can trust getAttribute("value") - input = document.createElement("input"); - input.setAttribute( "value", "" ); - support.input = input.getAttribute( "value" ) === ""; - - // Check if an input maintains its value after becoming a radio - input.value = "t"; - input.setAttribute( "type", "radio" ); - support.radioValue = input.value === "t"; - - // #11217 - WebKit loses check when the name is after the checked attribute - input.setAttribute( "checked", "t" ); - input.setAttribute( "name", "t" ); - - fragment = document.createDocumentFragment(); - fragment.appendChild( input ); - - // Check if a disconnected checkbox will retain its checked - // value of true after appended to the DOM (IE6/7) - support.appendChecked = input.checked; - - // WebKit doesn't clone checked state correctly in fragments - support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE<9 - // Opera does not clone events (and typeof div.attachEvent === undefined). - // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() - if ( div.attachEvent ) { - div.attachEvent( "onclick", function() { - support.noCloneEvent = false; - }); - - div.cloneNode( true ).click(); - } - - // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event) - // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) - for ( i in { submit: true, change: true, focusin: true }) { - div.setAttribute( eventName = "on" + i, "t" ); - - support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false; - } - - div.style.backgroundClip = "content-box"; - div.cloneNode( true ).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - // Support: IE<9 - // Iteration over object's inherited properties before its own. - for ( i in jQuery( support ) ) { - break; - } - support.ownLast = i !== "0"; - - // Run tests that need a body at doc ready - jQuery(function() { - var container, marginDiv, tds, - divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;", - body = document.getElementsByTagName("body")[0]; - - if ( !body ) { - // Return for frameset docs that don't have a body - return; - } - - container = document.createElement("div"); - container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; - - body.appendChild( container ).appendChild( div ); - - // Support: IE8 - // Check if table cells still have offsetWidth/Height when they are set - // to display:none and there are still other visible table cells in a - // table row; if so, offsetWidth/Height are not reliable for use when - // determining if an element has been hidden directly using - // display:none (it is still safe to use offsets if a parent element is - // hidden; don safety goggles and see bug #4512 for more information). - div.innerHTML = "<table><tr><td></td><td>t</td></tr></table>"; - tds = div.getElementsByTagName("td"); - tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none"; - isSupported = ( tds[ 0 ].offsetHeight === 0 ); - - tds[ 0 ].style.display = ""; - tds[ 1 ].style.display = "none"; - - // Support: IE8 - // Check if empty table cells still have offsetWidth/Height - support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); - - // Check box-sizing and margin behavior. - div.innerHTML = ""; - div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;"; - - // Workaround failing boxSizing test due to offsetWidth returning wrong value - // with some non-1 values of body zoom, ticket #13543 - jQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() { - support.boxSizing = div.offsetWidth === 4; - }); - - // Use window.getComputedStyle because jsdom on node.js will break without it. - if ( window.getComputedStyle ) { - support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; - support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; - - // Check if div with explicit width and no margin-right incorrectly - // gets computed margin-right based on width of container. (#3333) - // Fails in WebKit before Feb 2011 nightlies - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - marginDiv = div.appendChild( document.createElement("div") ); - marginDiv.style.cssText = div.style.cssText = divReset; - marginDiv.style.marginRight = marginDiv.style.width = "0"; - div.style.width = "1px"; - - support.reliableMarginRight = - !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); - } - - if ( typeof div.style.zoom !== core_strundefined ) { - // Support: IE<8 - // Check if natively block-level elements act like inline-block - // elements when setting their display to 'inline' and giving - // them layout - div.innerHTML = ""; - div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1"; - support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); - - // Support: IE6 - // Check if elements with layout shrink-wrap their children - div.style.display = "block"; - div.innerHTML = "<div></div>"; - div.firstChild.style.width = "5px"; - support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); - - if ( support.inlineBlockNeedsLayout ) { - // Prevent IE 6 from affecting layout for positioned elements #11048 - // Prevent IE from shrinking the body in IE 7 mode #12869 - // Support: IE<8 - body.style.zoom = 1; - } - } - - body.removeChild( container ); - - // Null elements to avoid leaks in IE - container = div = tds = marginDiv = null; - }); - - // Null elements to avoid leaks in IE - all = select = fragment = opt = a = input = null; - - return support; -})({}); - -var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, - rmultiDash = /([A-Z])/g; - -function internalData( elem, name, data, pvt /* Internal Use Only */ ){ - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var ret, thisCache, - internalKey = jQuery.expando, - - // We have to handle DOM nodes and JS objects differently because IE6-7 - // can't GC object references properly across the DOM-JS boundary - isNode = elem.nodeType, - - // Only DOM nodes need the global jQuery cache; JS object data is - // attached directly to the object so GC can occur automatically - cache = isNode ? jQuery.cache : elem, - - // Only defining an ID for JS objects if its cache already exists allows - // the code to shortcut on the same path as a DOM node with no cache - id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; - - // Avoid doing any more work than we need to when trying to get data on an - // object that has no data at all - if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { - return; - } - - if ( !id ) { - // Only DOM nodes need a new unique ID for each element since their data - // ends up in the global cache - if ( isNode ) { - id = elem[ internalKey ] = core_deletedIds.pop() || jQuery.guid++; - } else { - id = internalKey; - } - } - - if ( !cache[ id ] ) { - // Avoid exposing jQuery metadata on plain JS objects when the object - // is serialized using JSON.stringify - cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; - } - - // An object can be passed to jQuery.data instead of a key/value pair; this gets - // shallow copied over onto the existing cache - if ( typeof name === "object" || typeof name === "function" ) { - if ( pvt ) { - cache[ id ] = jQuery.extend( cache[ id ], name ); - } else { - cache[ id ].data = jQuery.extend( cache[ id ].data, name ); - } - } - - thisCache = cache[ id ]; - - // jQuery data() is stored in a separate object inside the object's internal data - // cache in order to avoid key collisions between internal data and user-defined - // data. - if ( !pvt ) { - if ( !thisCache.data ) { - thisCache.data = {}; - } - - thisCache = thisCache.data; - } - - if ( data !== undefined ) { - thisCache[ jQuery.camelCase( name ) ] = data; - } - - // Check for both converted-to-camel and non-converted data property names - // If a data property was specified - if ( typeof name === "string" ) { - - // First Try to find as-is property data - ret = thisCache[ name ]; - - // Test for null|undefined property data - if ( ret == null ) { - - // Try to find the camelCased property - ret = thisCache[ jQuery.camelCase( name ) ]; - } - } else { - ret = thisCache; - } - - return ret; -} - -function internalRemoveData( elem, name, pvt ) { - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var thisCache, i, - isNode = elem.nodeType, - - // See jQuery.data for more information - cache = isNode ? jQuery.cache : elem, - id = isNode ? elem[ jQuery.expando ] : jQuery.expando; - - // If there is already no cache entry for this object, there is no - // purpose in continuing - if ( !cache[ id ] ) { - return; - } - - if ( name ) { - - thisCache = pvt ? cache[ id ] : cache[ id ].data; - - if ( thisCache ) { - - // Support array or space separated string names for data keys - if ( !jQuery.isArray( name ) ) { - - // try the string as a key before any manipulation - if ( name in thisCache ) { - name = [ name ]; - } else { - - // split the camel cased version by spaces unless a key with the spaces exists - name = jQuery.camelCase( name ); - if ( name in thisCache ) { - name = [ name ]; - } else { - name = name.split(" "); - } - } - } else { - // If "name" is an array of keys... - // When data is initially created, via ("key", "val") signature, - // keys will be converted to camelCase. - // Since there is no way to tell _how_ a key was added, remove - // both plain key and camelCase key. #12786 - // This will only penalize the array argument path. - name = name.concat( jQuery.map( name, jQuery.camelCase ) ); - } - - i = name.length; - while ( i-- ) { - delete thisCache[ name[i] ]; - } - - // If there is no data left in the cache, we want to continue - // and let the cache object itself get destroyed - if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { - return; - } - } - } - - // See jQuery.data for more information - if ( !pvt ) { - delete cache[ id ].data; - - // Don't destroy the parent cache unless the internal data object - // had been the only thing left in it - if ( !isEmptyDataObject( cache[ id ] ) ) { - return; - } - } - - // Destroy the cache - if ( isNode ) { - jQuery.cleanData( [ elem ], true ); - - // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) - /* jshint eqeqeq: false */ - } else if ( jQuery.support.deleteExpando || cache != cache.window ) { - /* jshint eqeqeq: true */ - delete cache[ id ]; - - // When all else fails, null - } else { - cache[ id ] = null; - } -} - -jQuery.extend({ - cache: {}, - - // The following elements throw uncatchable exceptions if you - // attempt to add expando properties to them. - noData: { - "applet": true, - "embed": true, - // Ban all objects except for Flash (which handle expandos) - "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" - }, - - hasData: function( elem ) { - elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; - return !!elem && !isEmptyDataObject( elem ); - }, - - data: function( elem, name, data ) { - return internalData( elem, name, data ); - }, - - removeData: function( elem, name ) { - return internalRemoveData( elem, name ); - }, - - // For internal use only. - _data: function( elem, name, data ) { - return internalData( elem, name, data, true ); - }, - - _removeData: function( elem, name ) { - return internalRemoveData( elem, name, true ); - }, - - // A method for determining if a DOM node can handle the data expando - acceptData: function( elem ) { - // Do not set data on non-element because it will not be cleared (#8335). - if ( elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9 ) { - return false; - } - - var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ]; - - // nodes accept data unless otherwise specified; rejection can be conditional - return !noData || noData !== true && elem.getAttribute("classid") === noData; - } -}); - -jQuery.fn.extend({ - data: function( key, value ) { - var attrs, name, - data = null, - i = 0, - elem = this[0]; - - // Special expections of .data basically thwart jQuery.access, - // so implement the relevant behavior ourselves - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = jQuery.data( elem ); - - if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { - attrs = elem.attributes; - for ( ; i < attrs.length; i++ ) { - name = attrs[i].name; - - if ( name.indexOf("data-") === 0 ) { - name = jQuery.camelCase( name.slice(5) ); - - dataAttr( elem, name, data[ name ] ); - } - } - jQuery._data( elem, "parsedAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each(function() { - jQuery.data( this, key ); - }); - } - - return arguments.length > 1 ? - - // Sets one value - this.each(function() { - jQuery.data( this, key, value ); - }) : - - // Gets one value - // Try to fetch any internally stored data first - elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null; - }, - - removeData: function( key ) { - return this.each(function() { - jQuery.removeData( this, key ); - }); - } -}); - -function dataAttr( elem, key, data ) { - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - - var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); - - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : - // Only convert to a number if it doesn't change the string - +data + "" === data ? +data : - rbrace.test( data ) ? jQuery.parseJSON( data ) : - data; - } catch( e ) {} - - // Make sure we set the data so it isn't changed later - jQuery.data( elem, key, data ); - - } else { - data = undefined; - } - } - - return data; -} - -// checks a cache object for emptiness -function isEmptyDataObject( obj ) { - var name; - for ( name in obj ) { - - // if the public data object is empty, the private is still empty - if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { - continue; - } - if ( name !== "toJSON" ) { - return false; - } - } - - return true; -} -jQuery.extend({ - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = jQuery._data( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || jQuery.isArray(data) ) { - queue = jQuery._data( elem, type, jQuery.makeArray(data) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // not intended for public consumption - generates a queueHooks object, or returns the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return jQuery._data( elem, key ) || jQuery._data( elem, key, { - empty: jQuery.Callbacks("once memory").add(function() { - jQuery._removeData( elem, type + "queue" ); - jQuery._removeData( elem, key ); - }) - }); - } -}); - -jQuery.fn.extend({ - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[0], type ); - } - - return data === undefined ? - this : - this.each(function() { - var queue = jQuery.queue( this, type, data ); - - // ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[0] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - }); - }, - dequeue: function( type ) { - return this.each(function() { - jQuery.dequeue( this, type ); - }); - }, - // Based off of the plugin by Clint Helfers, with permission. - // http://blindsignals.com/index.php/2009/07/jquery-delay/ - delay: function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = setTimeout( next, time ); - hooks.stop = function() { - clearTimeout( timeout ); - }; - }); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while( i-- ) { - tmp = jQuery._data( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -}); -var nodeHook, boolHook, - rclass = /[\t\r\n\f]/g, - rreturn = /\r/g, - rfocusable = /^(?:input|select|textarea|button|object)$/i, - rclickable = /^(?:a|area)$/i, - ruseDefault = /^(?:checked|selected)$/i, - getSetAttribute = jQuery.support.getSetAttribute, - getSetInput = jQuery.support.input; - -jQuery.fn.extend({ - attr: function( name, value ) { - return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); - }, - - removeAttr: function( name ) { - return this.each(function() { - jQuery.removeAttr( this, name ); - }); - }, - - prop: function( name, value ) { - return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); - }, - - removeProp: function( name ) { - name = jQuery.propFix[ name ] || name; - return this.each(function() { - // try/catch handles cases where IE balks (such as removing a property on window) - try { - this[ name ] = undefined; - delete this[ name ]; - } catch( e ) {} - }); - }, - - addClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).addClass( value.call( this, j, this.className ) ); - }); - } - - if ( proceed ) { - // The disjunction here is for better compressibility (see removeClass) - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - " " - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - if ( cur.indexOf( " " + clazz + " " ) < 0 ) { - cur += clazz + " "; - } - } - elem.className = jQuery.trim( cur ); - - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = arguments.length === 0 || typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).removeClass( value.call( this, j, this.className ) ); - }); - } - if ( proceed ) { - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - "" - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - // Remove *all* instances - while ( cur.indexOf( " " + clazz + " " ) >= 0 ) { - cur = cur.replace( " " + clazz + " ", " " ); - } - } - elem.className = value ? jQuery.trim( cur ) : ""; - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value; - - if ( typeof stateVal === "boolean" && type === "string" ) { - return stateVal ? this.addClass( value ) : this.removeClass( value ); - } - - if ( jQuery.isFunction( value ) ) { - return this.each(function( i ) { - jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); - }); - } - - return this.each(function() { - if ( type === "string" ) { - // toggle individual class names - var className, - i = 0, - self = jQuery( this ), - classNames = value.match( core_rnotwhite ) || []; - - while ( (className = classNames[ i++ ]) ) { - // check each className given, space separated list - if ( self.hasClass( className ) ) { - self.removeClass( className ); - } else { - self.addClass( className ); - } - } - - // Toggle whole class name - } else if ( type === core_strundefined || type === "boolean" ) { - if ( this.className ) { - // store className if set - jQuery._data( this, "__className__", this.className ); - } - - // If the element has a class name or if we're passed "false", - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; - } - }); - }, - - hasClass: function( selector ) { - var className = " " + selector + " ", - i = 0, - l = this.length; - for ( ; i < l; i++ ) { - if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { - return true; - } - } - - return false; - }, - - val: function( value ) { - var ret, hooks, isFunction, - elem = this[0]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; - - if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { - return ret; - } - - ret = elem.value; - - return typeof ret === "string" ? - // handle most common string cases - ret.replace(rreturn, "") : - // handle cases where value is null/undef or number - ret == null ? "" : ret; - } - - return; - } - - isFunction = jQuery.isFunction( value ); - - return this.each(function( i ) { - var val; - - if ( this.nodeType !== 1 ) { - return; - } - - if ( isFunction ) { - val = value.call( this, i, jQuery( this ).val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - } else if ( typeof val === "number" ) { - val += ""; - } else if ( jQuery.isArray( val ) ) { - val = jQuery.map(val, function ( value ) { - return value == null ? "" : value + ""; - }); - } - - hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - }); - } -}); - -jQuery.extend({ - valHooks: { - option: { - get: function( elem ) { - // Use proper attribute retrieval(#6932, #12072) - var val = jQuery.find.attr( elem, "value" ); - return val != null ? - val : - elem.text; - } - }, - select: { - get: function( elem ) { - var value, option, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one" || index < 0, - values = one ? null : [], - max = one ? index + 1 : options.length, - i = index < 0 ? - max : - one ? index : 0; - - // Loop through all the selected options - for ( ; i < max; i++ ) { - option = options[ i ]; - - // oldIE doesn't update selected after form reset (#2551) - if ( ( option.selected || i === index ) && - // Don't return options that are disabled or in a disabled optgroup - ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && - ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - }, - - set: function( elem, value ) { - var optionSet, option, - options = elem.options, - values = jQuery.makeArray( value ), - i = options.length; - - while ( i-- ) { - option = options[ i ]; - if ( (option.selected = jQuery.inArray( jQuery(option).val(), values ) >= 0) ) { - optionSet = true; - } - } - - // force browsers to behave consistently when non-matching value is set - if ( !optionSet ) { - elem.selectedIndex = -1; - } - return values; - } - } - }, - - attr: function( elem, name, value ) { - var hooks, ret, - nType = elem.nodeType; - - // don't get/set attributes on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === core_strundefined ) { - return jQuery.prop( elem, name, value ); - } - - // All attributes are lowercase - // Grab necessary hook if one is defined - if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { - name = name.toLowerCase(); - hooks = jQuery.attrHooks[ name ] || - ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook ); - } - - if ( value !== undefined ) { - - if ( value === null ) { - jQuery.removeAttr( elem, name ); - - } else if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - elem.setAttribute( name, value + "" ); - return value; - } - - } else if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - ret = jQuery.find.attr( elem, name ); - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? - undefined : - ret; - } - }, - - removeAttr: function( elem, value ) { - var name, propName, - i = 0, - attrNames = value && value.match( core_rnotwhite ); - - if ( attrNames && elem.nodeType === 1 ) { - while ( (name = attrNames[i++]) ) { - propName = jQuery.propFix[ name ] || name; - - // Boolean attributes get special treatment (#10870) - if ( jQuery.expr.match.bool.test( name ) ) { - // Set corresponding property to false - if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { - elem[ propName ] = false; - // Support: IE<9 - // Also clear defaultChecked/defaultSelected (if appropriate) - } else { - elem[ jQuery.camelCase( "default-" + name ) ] = - elem[ propName ] = false; - } - - // See #9699 for explanation of this approach (setting first, then removal) - } else { - jQuery.attr( elem, name, "" ); - } - - elem.removeAttribute( getSetAttribute ? name : propName ); - } - } - }, - - attrHooks: { - type: { - set: function( elem, value ) { - if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { - // Setting the type on a radio button after the value resets the value in IE6-9 - // Reset value to default in case type is set after value during creation - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - } - }, - - propFix: { - "for": "htmlFor", - "class": "className" - }, - - prop: function( elem, name, value ) { - var ret, hooks, notxml, - nType = elem.nodeType; - - // don't get/set properties on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - if ( notxml ) { - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - return hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ? - ret : - ( elem[ name ] = value ); - - } else { - return hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ? - ret : - elem[ name ]; - } - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set - // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - // Use proper attribute retrieval(#12072) - var tabindex = jQuery.find.attr( elem, "tabindex" ); - - return tabindex ? - parseInt( tabindex, 10 ) : - rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? - 0 : - -1; - } - } - } -}); - -// Hooks for boolean attributes -boolHook = { - set: function( elem, value, name ) { - if ( value === false ) { - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { - // IE<8 needs the *property* name - elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name ); - - // Use defaultChecked and defaultSelected for oldIE - } else { - elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true; - } - - return name; - } -}; -jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { - var getter = jQuery.expr.attrHandle[ name ] || jQuery.find.attr; - - jQuery.expr.attrHandle[ name ] = getSetInput && getSetAttribute || !ruseDefault.test( name ) ? - function( elem, name, isXML ) { - var fn = jQuery.expr.attrHandle[ name ], - ret = isXML ? - undefined : - /* jshint eqeqeq: false */ - (jQuery.expr.attrHandle[ name ] = undefined) != - getter( elem, name, isXML ) ? - - name.toLowerCase() : - null; - jQuery.expr.attrHandle[ name ] = fn; - return ret; - } : - function( elem, name, isXML ) { - return isXML ? - undefined : - elem[ jQuery.camelCase( "default-" + name ) ] ? - name.toLowerCase() : - null; - }; -}); - -// fix oldIE attroperties -if ( !getSetInput || !getSetAttribute ) { - jQuery.attrHooks.value = { - set: function( elem, value, name ) { - if ( jQuery.nodeName( elem, "input" ) ) { - // Does not return so that setAttribute is also used - elem.defaultValue = value; - } else { - // Use nodeHook if defined (#1954); otherwise setAttribute is fine - return nodeHook && nodeHook.set( elem, value, name ); - } - } - }; -} - -// IE6/7 do not support getting/setting some attributes with get/setAttribute -if ( !getSetAttribute ) { - - // Use this for any attribute in IE6/7 - // This fixes almost every IE6/7 issue - nodeHook = { - set: function( elem, value, name ) { - // Set the existing or create a new attribute node - var ret = elem.getAttributeNode( name ); - if ( !ret ) { - elem.setAttributeNode( - (ret = elem.ownerDocument.createAttribute( name )) - ); - } - - ret.value = value += ""; - - // Break association with cloned elements by also using setAttribute (#9646) - return name === "value" || value === elem.getAttribute( name ) ? - value : - undefined; - } - }; - jQuery.expr.attrHandle.id = jQuery.expr.attrHandle.name = jQuery.expr.attrHandle.coords = - // Some attributes are constructed with empty-string values when not defined - function( elem, name, isXML ) { - var ret; - return isXML ? - undefined : - (ret = elem.getAttributeNode( name )) && ret.value !== "" ? - ret.value : - null; - }; - jQuery.valHooks.button = { - get: function( elem, name ) { - var ret = elem.getAttributeNode( name ); - return ret && ret.specified ? - ret.value : - undefined; - }, - set: nodeHook.set - }; - - // Set contenteditable to false on removals(#10429) - // Setting to empty string throws an error as an invalid value - jQuery.attrHooks.contenteditable = { - set: function( elem, value, name ) { - nodeHook.set( elem, value === "" ? false : value, name ); - } - }; - - // Set width and height to auto instead of 0 on empty string( Bug #8150 ) - // This is for removals - jQuery.each([ "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = { - set: function( elem, value ) { - if ( value === "" ) { - elem.setAttribute( name, "auto" ); - return value; - } - } - }; - }); -} - - -// Some attributes require a special call on IE -// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !jQuery.support.hrefNormalized ) { - // href/src property should get the full normalized URL (#10299/#12915) - jQuery.each([ "href", "src" ], function( i, name ) { - jQuery.propHooks[ name ] = { - get: function( elem ) { - return elem.getAttribute( name, 4 ); - } - }; - }); -} - -if ( !jQuery.support.style ) { - jQuery.attrHooks.style = { - get: function( elem ) { - // Return undefined in the case of empty string - // Note: IE uppercases css property names, but if we were to .toLowerCase() - // .cssText, that would destroy case senstitivity in URL's, like in "background" - return elem.style.cssText || undefined; - }, - set: function( elem, value ) { - return ( elem.style.cssText = value + "" ); - } - }; -} - -// Safari mis-reports the default selected property of an option -// Accessing the parent's selectedIndex property fixes it -if ( !jQuery.support.optSelected ) { - jQuery.propHooks.selected = { - get: function( elem ) { - var parent = elem.parentNode; - - if ( parent ) { - parent.selectedIndex; - - // Make sure that it also works with optgroups, see #5701 - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - return null; - } - }; -} - -jQuery.each([ - "tabIndex", - "readOnly", - "maxLength", - "cellSpacing", - "cellPadding", - "rowSpan", - "colSpan", - "useMap", - "frameBorder", - "contentEditable" -], function() { - jQuery.propFix[ this.toLowerCase() ] = this; -}); - -// IE6/7 call enctype encoding -if ( !jQuery.support.enctype ) { - jQuery.propFix.enctype = "encoding"; -} - -// Radios and checkboxes getter/setter -jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - set: function( elem, value ) { - if ( jQuery.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); - } - } - }; - if ( !jQuery.support.checkOn ) { - jQuery.valHooks[ this ].get = function( elem ) { - // Support: Webkit - // "" is returned instead of "on" if a value isn't specified - return elem.getAttribute("value") === null ? "on" : elem.value; - }; - } -}); -var rformElems = /^(?:input|select|textarea)$/i, - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|contextmenu)|click/, - rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -function safeActiveElement() { - try { - return document.activeElement; - } catch ( err ) { } -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - var tmp, events, t, handleObjIn, - special, eventHandle, handleObj, - handlers, type, namespaces, origType, - elemData = jQuery._data( elem ); - - // Don't attach events to noData or text/comment nodes (but allow plain objects) - if ( !elemData ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !(events = elemData.events) ) { - events = elemData.events = {}; - } - if ( !(eventHandle = elemData.handle) ) { - eventHandle = elemData.handle = function( e ) { - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ? - jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : - undefined; - }; - // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events - eventHandle.elem = elem; - } - - // Handle multiple events separated by a space - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // There *must* be a type, no attaching namespace-only handlers - if ( !type ) { - continue; - } - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend({ - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join(".") - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !(handlers = events[ type ]) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener/attachEvent if the special events handler returns false - if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - // Bind the global event handler to the element - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle, false ); - - } else if ( elem.attachEvent ) { - elem.attachEvent( "on" + type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - // Nullify elem to prevent memory leaks in IE - elem = null; - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - var j, handleObj, tmp, - origCount, t, events, - special, handlers, type, - namespaces, origType, - elemData = jQuery.hasData( elem ) && jQuery._data( elem ); - - if ( !elemData || !(events = elemData.events) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - delete elemData.handle; - - // removeData also checks for emptiness and clears the expando if empty - // so use it instead of delete - jQuery._removeData( elem, "events" ); - } - }, - - trigger: function( event, data, elem, onlyHandlers ) { - var handle, ontype, cur, - bubbleType, special, tmp, i, - eventPath = [ elem || document ], - type = core_hasOwn.call( event, "type" ) ? event.type : event, - namespaces = core_hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; - - cur = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf(".") >= 0 ) { - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split("."); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf(":") < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) - event.isTrigger = onlyHandlers ? 2 : 3; - event.namespace = namespaces.join("."); - event.namespace_re = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === (elem.ownerDocument || document) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { - - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { - event.preventDefault(); - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && - jQuery.acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name name as the event. - // Can't use an .isFunction() check here because IE6/7 fails that test. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - try { - elem[ type ](); - } catch ( e ) { - // IE<9 dies on focus/blur to hidden element (#1486,#12518) - // only reproducible on winXP IE8 native, not IE9 in IE8 mode - } - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - dispatch: function( event ) { - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix( event ); - - var i, ret, handleObj, matched, j, - handlerQueue = [], - args = core_slice.call( arguments ), - handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[0] = event; - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { - - // Triggered event must either 1) have no namespace, or - // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). - if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) - .apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( (event.result = ret) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var sel, handleObj, matches, i, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - // Black-hole SVG <use> instance trees (#13180) - // Avoid non-left-click bubbling in Firefox (#3861) - if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { - - /* jshint eqeqeq: false */ - for ( ; cur != this; cur = cur.parentNode || this ) { - /* jshint eqeqeq: true */ - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { - matches = []; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matches[ sel ] === undefined ) { - matches[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) >= 0 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matches[ sel ] ) { - matches.push( handleObj ); - } - } - if ( matches.length ) { - handlerQueue.push({ elem: cur, handlers: matches }); - } - } - } - } - - // Add the remaining (directly-bound) handlers - if ( delegateCount < handlers.length ) { - handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); - } - - return handlerQueue; - }, - - fix: function( event ) { - if ( event[ jQuery.expando ] ) { - return event; - } - - // Create a writable copy of the event object and normalize some properties - var i, prop, copy, - type = event.type, - originalEvent = event, - fixHook = this.fixHooks[ type ]; - - if ( !fixHook ) { - this.fixHooks[ type ] = fixHook = - rmouseEvent.test( type ) ? this.mouseHooks : - rkeyEvent.test( type ) ? this.keyHooks : - {}; - } - copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; - - event = new jQuery.Event( originalEvent ); - - i = copy.length; - while ( i-- ) { - prop = copy[ i ]; - event[ prop ] = originalEvent[ prop ]; - } - - // Support: IE<9 - // Fix target property (#1925) - if ( !event.target ) { - event.target = originalEvent.srcElement || document; - } - - // Support: Chrome 23+, Safari? - // Target should not be a text node (#504, #13143) - if ( event.target.nodeType === 3 ) { - event.target = event.target.parentNode; - } - - // Support: IE<9 - // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) - event.metaKey = !!event.metaKey; - - return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; - }, - - // Includes some event props shared by KeyEvent and MouseEvent - props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), - - fixHooks: {}, - - keyHooks: { - props: "char charCode key keyCode".split(" "), - filter: function( event, original ) { - - // Add which for key events - if ( event.which == null ) { - event.which = original.charCode != null ? original.charCode : original.keyCode; - } - - return event; - } - }, - - mouseHooks: { - props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), - filter: function( event, original ) { - var body, eventDoc, doc, - button = original.button, - fromElement = original.fromElement; - - // Calculate pageX/Y if missing and clientX/Y available - if ( event.pageX == null && original.clientX != null ) { - eventDoc = event.target.ownerDocument || document; - doc = eventDoc.documentElement; - body = eventDoc.body; - - event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); - event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); - } - - // Add relatedTarget, if necessary - if ( !event.relatedTarget && fromElement ) { - event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if ( !event.which && button !== undefined ) { - event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); - } - - return event; - } - }, - - special: { - load: { - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - focus: { - // Fire native event if possible so blur/focus sequence is correct - trigger: function() { - if ( this !== safeActiveElement() && this.focus ) { - try { - this.focus(); - return false; - } catch ( e ) { - // Support: IE<9 - // If we error on focus to hidden element (#1486, #12518), - // let .trigger() run the handlers - } - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if ( this === safeActiveElement() && this.blur ) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - click: { - // For checkbox, fire native event so checked state will be right - trigger: function() { - if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { - this.click(); - return false; - } - }, - - // For cross-browser consistency, don't fire native .click() on links - _default: function( event ) { - return jQuery.nodeName( event.target, "a" ); - } - }, - - beforeunload: { - postDispatch: function( event ) { - - // Even when returnValue equals to undefined Firefox will still show alert - if ( event.result !== undefined ) { - event.originalEvent.returnValue = event.result; - } - } - } - }, - - simulate: function( type, elem, event, bubble ) { - // Piggyback on a donor event to simulate a different one. - // Fake originalEvent to avoid donor's stopPropagation, but if the - // simulated event prevents default then we do the same on the donor. - var e = jQuery.extend( - new jQuery.Event(), - event, - { - type: type, - isSimulated: true, - originalEvent: {} - } - ); - if ( bubble ) { - jQuery.event.trigger( e, null, elem ); - } else { - jQuery.event.dispatch.call( elem, e ); - } - if ( e.isDefaultPrevented() ) { - event.preventDefault(); - } - } -}; - -jQuery.removeEvent = document.removeEventListener ? - function( elem, type, handle ) { - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle, false ); - } - } : - function( elem, type, handle ) { - var name = "on" + type; - - if ( elem.detachEvent ) { - - // #8545, #7054, preventing memory leaks for custom events in IE6-8 - // detachEvent needed property on element, by name of that event, to properly expose it to GC - if ( typeof elem[ name ] === core_strundefined ) { - elem[ name ] = null; - } - - elem.detachEvent( name, handle ); - } - }; - -jQuery.Event = function( src, props ) { - // Allow instantiation without the 'new' keyword - if ( !(this instanceof jQuery.Event) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || - src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || jQuery.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - if ( !e ) { - return; - } - - // If preventDefault exists, run it on the original event - if ( e.preventDefault ) { - e.preventDefault(); - - // Support: IE - // Otherwise set the returnValue property of the original event to false - } else { - e.returnValue = false; - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - if ( !e ) { - return; - } - // If stopPropagation exists, run it on the original event - if ( e.stopPropagation ) { - e.stopPropagation(); - } - - // Support: IE - // Set the cancelBubble property of the original event to true - e.cancelBubble = true; - }, - stopImmediatePropagation: function() { - this.isImmediatePropagationStopped = returnTrue; - this.stopPropagation(); - } -}; - -// Create mouseenter/leave events using mouseover/out and event-time checks -jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mousenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || (related !== target && !jQuery.contains( target, related )) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -}); - -// IE submit delegation -if ( !jQuery.support.submitBubbles ) { - - jQuery.event.special.submit = { - setup: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Lazy-add a submit handler when a descendant form may potentially be submitted - jQuery.event.add( this, "click._submit keypress._submit", function( e ) { - // Node name check avoids a VML-related crash in IE (#9807) - var elem = e.target, - form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; - if ( form && !jQuery._data( form, "submitBubbles" ) ) { - jQuery.event.add( form, "submit._submit", function( event ) { - event._submit_bubble = true; - }); - jQuery._data( form, "submitBubbles", true ); - } - }); - // return undefined since we don't need an event listener - }, - - postDispatch: function( event ) { - // If form was submitted by the user, bubble the event up the tree - if ( event._submit_bubble ) { - delete event._submit_bubble; - if ( this.parentNode && !event.isTrigger ) { - jQuery.event.simulate( "submit", this.parentNode, event, true ); - } - } - }, - - teardown: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Remove delegated handlers; cleanData eventually reaps submit handlers attached above - jQuery.event.remove( this, "._submit" ); - } - }; -} - -// IE change delegation and checkbox/radio fix -if ( !jQuery.support.changeBubbles ) { - - jQuery.event.special.change = { - - setup: function() { - - if ( rformElems.test( this.nodeName ) ) { - // IE doesn't fire change on a check/radio until blur; trigger it on click - // after a propertychange. Eat the blur-change in special.change.handle. - // This still fires onchange a second time for check/radio after blur. - if ( this.type === "checkbox" || this.type === "radio" ) { - jQuery.event.add( this, "propertychange._change", function( event ) { - if ( event.originalEvent.propertyName === "checked" ) { - this._just_changed = true; - } - }); - jQuery.event.add( this, "click._change", function( event ) { - if ( this._just_changed && !event.isTrigger ) { - this._just_changed = false; - } - // Allow triggered, simulated change events (#11500) - jQuery.event.simulate( "change", this, event, true ); - }); - } - return false; - } - // Delegated event; lazy-add a change handler on descendant inputs - jQuery.event.add( this, "beforeactivate._change", function( e ) { - var elem = e.target; - - if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { - jQuery.event.add( elem, "change._change", function( event ) { - if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { - jQuery.event.simulate( "change", this.parentNode, event, true ); - } - }); - jQuery._data( elem, "changeBubbles", true ); - } - }); - }, - - handle: function( event ) { - var elem = event.target; - - // Swallow native change events from checkbox/radio, we already triggered them above - if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { - return event.handleObj.handler.apply( this, arguments ); - } - }, - - teardown: function() { - jQuery.event.remove( this, "._change" ); - - return !rformElems.test( this.nodeName ); - } - }; -} - -// Create "bubbling" focus and blur events -if ( !jQuery.support.focusinBubbles ) { - jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler while someone wants focusin/focusout - var attaches = 0, - handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - if ( attaches++ === 0 ) { - document.addEventListener( orig, handler, true ); - } - }, - teardown: function() { - if ( --attaches === 0 ) { - document.removeEventListener( orig, handler, true ); - } - } - }; - }); -} - -jQuery.fn.extend({ - - on: function( types, selector, data, fn, /*INTERNAL*/ one ) { - var type, origFn; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - this.on( type, selector, data, types[ type ], one ); - } - return this; - } - - if ( data == null && fn == null ) { - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return this; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return this.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - }); - }, - one: function( types, selector, data, fn ) { - return this.on( types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each(function() { - jQuery.event.remove( this, types, fn, selector ); - }); - }, - - trigger: function( type, data ) { - return this.each(function() { - jQuery.event.trigger( type, data, this ); - }); - }, - triggerHandler: function( type, data ) { - var elem = this[0]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - } -}); -var isSimple = /^.[^:#\[\.,]*$/, - rparentsprev = /^(?:parents|prev(?:Until|All))/, - rneedsContext = jQuery.expr.match.needsContext, - // methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend({ - find: function( selector ) { - var i, - ret = [], - self = this, - len = self.length; - - if ( typeof selector !== "string" ) { - return this.pushStack( jQuery( selector ).filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - }) ); - } - - for ( i = 0; i < len; i++ ) { - jQuery.find( selector, self[ i ], ret ); - } - - // Needed because $( selector, context ) becomes $( context ).find( selector ) - ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); - ret.selector = this.selector ? this.selector + " " + selector : selector; - return ret; - }, - - has: function( target ) { - var i, - targets = jQuery( target, this ), - len = targets.length; - - return this.filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( this, targets[i] ) ) { - return true; - } - } - }); - }, - - not: function( selector ) { - return this.pushStack( winnow(this, selector || [], true) ); - }, - - filter: function( selector ) { - return this.pushStack( winnow(this, selector || [], false) ); - }, - - is: function( selector ) { - return !!winnow( - this, - - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - typeof selector === "string" && rneedsContext.test( selector ) ? - jQuery( selector ) : - selector || [], - false - ).length; - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - ret = [], - pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? - jQuery( selectors, context || this.context ) : - 0; - - for ( ; i < l; i++ ) { - for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { - // Always skip document fragments - if ( cur.nodeType < 11 && (pos ? - pos.index(cur) > -1 : - - // Don't pass non-elements to Sizzle - cur.nodeType === 1 && - jQuery.find.matchesSelector(cur, selectors)) ) { - - cur = ret.push( cur ); - break; - } - } - } - - return this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret ); - }, - - // Determine the position of an element within - // the matched set of elements - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; - } - - // index in selector - if ( typeof elem === "string" ) { - return jQuery.inArray( this[0], jQuery( elem ) ); - } - - // Locate the position of the desired element - return jQuery.inArray( - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem, this ); - }, - - add: function( selector, context ) { - var set = typeof selector === "string" ? - jQuery( selector, context ) : - jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), - all = jQuery.merge( this.get(), set ); - - return this.pushStack( jQuery.unique(all) ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter(selector) - ); - } -}); - -function sibling( cur, dir ) { - do { - cur = cur[ dir ]; - } while ( cur && cur.nodeType !== 1 ); - - return cur; -} - -jQuery.each({ - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return jQuery.dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return jQuery.dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return jQuery.dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return jQuery.dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return jQuery.dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return jQuery.dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return jQuery.sibling( elem.firstChild ); - }, - contents: function( elem ) { - return jQuery.nodeName( elem, "iframe" ) ? - elem.contentDocument || elem.contentWindow.document : - jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var ret = jQuery.map( this, fn, until ); - - if ( name.slice( -5 ) !== "Until" ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - if ( this.length > 1 ) { - // Remove duplicates - if ( !guaranteedUnique[ name ] ) { - ret = jQuery.unique( ret ); - } - - // Reverse order for parents* and prev-derivatives - if ( rparentsprev.test( name ) ) { - ret = ret.reverse(); - } - } - - return this.pushStack( ret ); - }; -}); - -jQuery.extend({ - filter: function( expr, elems, not ) { - var elem = elems[ 0 ]; - - if ( not ) { - expr = ":not(" + expr + ")"; - } - - return elems.length === 1 && elem.nodeType === 1 ? - jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : - jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { - return elem.nodeType === 1; - })); - }, - - dir: function( elem, dir, until ) { - var matched = [], - cur = elem[ dir ]; - - while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { - if ( cur.nodeType === 1 ) { - matched.push( cur ); - } - cur = cur[dir]; - } - return matched; - }, - - sibling: function( n, elem ) { - var r = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - r.push( n ); - } - } - - return r; - } -}); - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, not ) { - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep( elements, function( elem, i ) { - /* jshint -W018 */ - return !!qualifier.call( elem, i, elem ) !== not; - }); - - } - - if ( qualifier.nodeType ) { - return jQuery.grep( elements, function( elem ) { - return ( elem === qualifier ) !== not; - }); - - } - - if ( typeof qualifier === "string" ) { - if ( isSimple.test( qualifier ) ) { - return jQuery.filter( qualifier, elements, not ); - } - - qualifier = jQuery.filter( qualifier, elements ); - } - - return jQuery.grep( elements, function( elem ) { - return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; - }); -} -function createSafeFragment( document ) { - var list = nodeNames.split( "|" ), - safeFrag = document.createDocumentFragment(); - - if ( safeFrag.createElement ) { - while ( list.length ) { - safeFrag.createElement( - list.pop() - ); - } - } - return safeFrag; -} - -var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + - "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", - rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, - rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), - rleadingWhitespace = /^\s+/, - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, - rtagName = /<([\w:]+)/, - rtbody = /<tbody/i, - rhtml = /<|&#?\w+;/, - rnoInnerhtml = /<(?:script|style|link)/i, - manipulation_rcheckableType = /^(?:checkbox|radio)$/i, - // checked="checked" or checked - rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, - rscriptType = /^$|\/(?:java|ecma)script/i, - rscriptTypeMasked = /^true\/(.*)/, - rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, - - // We have to close these tags to support XHTML (#13200) - wrapMap = { - option: [ 1, "<select multiple='multiple'>", "</select>" ], - legend: [ 1, "<fieldset>", "</fieldset>" ], - area: [ 1, "<map>", "</map>" ], - param: [ 1, "<object>", "</object>" ], - thead: [ 1, "<table>", "</table>" ], - tr: [ 2, "<table><tbody>", "</tbody></table>" ], - col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ], - td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ], - - // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, - // unless wrapped in a div with non-breaking characters in front of it. - _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ] - }, - safeFragment = createSafeFragment( document ), - fragmentDiv = safeFragment.appendChild( document.createElement("div") ); - -wrapMap.optgroup = wrapMap.option; -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -jQuery.fn.extend({ - text: function( value ) { - return jQuery.access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); - }, null, value, arguments.length ); - }, - - append: function() { - return this.domManip( arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.appendChild( elem ); - } - }); - }, - - prepend: function() { - return this.domManip( arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.insertBefore( elem, target.firstChild ); - } - }); - }, - - before: function() { - return this.domManip( arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - }); - }, - - after: function() { - return this.domManip( arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - }); - }, - - // keepData is for internal use only--do not document - remove: function( selector, keepData ) { - var elem, - elems = selector ? jQuery.filter( selector, this ) : this, - i = 0; - - for ( ; (elem = elems[i]) != null; i++ ) { - - if ( !keepData && elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem ) ); - } - - if ( elem.parentNode ) { - if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { - setGlobalEval( getAll( elem, "script" ) ); - } - elem.parentNode.removeChild( elem ); - } - } - - return this; - }, - - empty: function() { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - } - - // Remove any remaining nodes - while ( elem.firstChild ) { - elem.removeChild( elem.firstChild ); - } - - // If this is a select, ensure that it displays empty (#12336) - // Support: IE<9 - if ( elem.options && jQuery.nodeName( elem, "select" ) ) { - elem.options.length = 0; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map( function () { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - }); - }, - - html: function( value ) { - return jQuery.access( this, function( value ) { - var elem = this[0] || {}, - i = 0, - l = this.length; - - if ( value === undefined ) { - return elem.nodeType === 1 ? - elem.innerHTML.replace( rinlinejQuery, "" ) : - undefined; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) && - ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && - !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) { - - value = value.replace( rxhtmlTag, "<$1></$2>" ); - - try { - for (; i < l; i++ ) { - // Remove element nodes and prevent memory leaks - elem = this[i] || {}; - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch(e) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function() { - var - // Snapshot the DOM in case .domManip sweeps something relevant into its fragment - args = jQuery.map( this, function( elem ) { - return [ elem.nextSibling, elem.parentNode ]; - }), - i = 0; - - // Make the changes, replacing each context element with the new content - this.domManip( arguments, function( elem ) { - var next = args[ i++ ], - parent = args[ i++ ]; - - if ( parent ) { - // Don't use the snapshot next if it has moved (#13810) - if ( next && next.parentNode !== parent ) { - next = this.nextSibling; - } - jQuery( this ).remove(); - parent.insertBefore( elem, next ); - } - // Allow new content to include elements from the context set - }, true ); - - // Force removal if there was no new content (e.g., from empty arguments) - return i ? this : this.remove(); - }, - - detach: function( selector ) { - return this.remove( selector, true ); - }, - - domManip: function( args, callback, allowIntersection ) { - - // Flatten any nested arrays - args = core_concat.apply( [], args ); - - var first, node, hasScripts, - scripts, doc, fragment, - i = 0, - l = this.length, - set = this, - iNoClone = l - 1, - value = args[0], - isFunction = jQuery.isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) { - return this.each(function( index ) { - var self = set.eq( index ); - if ( isFunction ) { - args[0] = value.call( this, index, self.html() ); - } - self.domManip( args, callback, allowIntersection ); - }); - } - - if ( l ) { - fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, !allowIntersection && this ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - if ( first ) { - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( this[i], node, i ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { - - if ( node.src ) { - // Hope ajax is available... - jQuery._evalUrl( node.src ); - } else { - jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); - } - } - } - } - - // Fix #11809: Avoid leaking memory - fragment = first = null; - } - } - - return this; - } -}); - -// Support: IE<8 -// Manipulating tables requires a tbody -function manipulationTarget( elem, content ) { - return jQuery.nodeName( elem, "table" ) && - jQuery.nodeName( content.nodeType === 1 ? content : content.firstChild, "tr" ) ? - - elem.getElementsByTagName("tbody")[0] || - elem.appendChild( elem.ownerDocument.createElement("tbody") ) : - elem; -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - var match = rscriptTypeMasked.exec( elem.type ); - if ( match ) { - elem.type = match[1]; - } else { - elem.removeAttribute("type"); - } - return elem; -} - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var elem, - i = 0; - for ( ; (elem = elems[i]) != null; i++ ) { - jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); - } -} - -function cloneCopyEvent( src, dest ) { - - if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { - return; - } - - var type, i, l, - oldData = jQuery._data( src ), - curData = jQuery._data( dest, oldData ), - events = oldData.events; - - if ( events ) { - delete curData.handle; - curData.events = {}; - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - - // make the cloned public data object a copy from the original - if ( curData.data ) { - curData.data = jQuery.extend( {}, curData.data ); - } -} - -function fixCloneNodeIssues( src, dest ) { - var nodeName, e, data; - - // We do not need to do anything for non-Elements - if ( dest.nodeType !== 1 ) { - return; - } - - nodeName = dest.nodeName.toLowerCase(); - - // IE6-8 copies events bound via attachEvent when using cloneNode. - if ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) { - data = jQuery._data( dest ); - - for ( e in data.events ) { - jQuery.removeEvent( dest, e, data.handle ); - } - - // Event data gets referenced instead of copied if the expando gets copied too - dest.removeAttribute( jQuery.expando ); - } - - // IE blanks contents when cloning scripts, and tries to evaluate newly-set text - if ( nodeName === "script" && dest.text !== src.text ) { - disableScript( dest ).text = src.text; - restoreScript( dest ); - - // IE6-10 improperly clones children of object elements using classid. - // IE10 throws NoModificationAllowedError if parent is null, #12132. - } else if ( nodeName === "object" ) { - if ( dest.parentNode ) { - dest.outerHTML = src.outerHTML; - } - - // This path appears unavoidable for IE9. When cloning an object - // element in IE9, the outerHTML strategy above is not sufficient. - // If the src has innerHTML and the destination does not, - // copy the src.innerHTML into the dest.innerHTML. #10324 - if ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { - dest.innerHTML = src.innerHTML; - } - - } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { - // IE6-8 fails to persist the checked state of a cloned checkbox - // or radio button. Worse, IE6-7 fail to give the cloned element - // a checked appearance if the defaultChecked value isn't also set - - dest.defaultChecked = dest.checked = src.checked; - - // IE6-7 get confused and end up setting the value of a cloned - // checkbox/radio button to an empty string instead of "on" - if ( dest.value !== src.value ) { - dest.value = src.value; - } - - // IE6-8 fails to return the selected option to the default selected - // state when cloning options - } else if ( nodeName === "option" ) { - dest.defaultSelected = dest.selected = src.defaultSelected; - - // IE6-8 fails to set the defaultValue to the correct value when - // cloning other types of input fields - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -jQuery.each({ - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - i = 0, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone(true); - jQuery( insert[i] )[ original ]( elems ); - - // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() - core_push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -}); - -function getAll( context, tag ) { - var elems, elem, - i = 0, - found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || "*" ) : - typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || "*" ) : - undefined; - - if ( !found ) { - for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { - if ( !tag || jQuery.nodeName( elem, tag ) ) { - found.push( elem ); - } else { - jQuery.merge( found, getAll( elem, tag ) ); - } - } - } - - return tag === undefined || tag && jQuery.nodeName( context, tag ) ? - jQuery.merge( [ context ], found ) : - found; -} - -// Used in buildFragment, fixes the defaultChecked property -function fixDefaultChecked( elem ) { - if ( manipulation_rcheckableType.test( elem.type ) ) { - elem.defaultChecked = elem.checked; - } -} - -jQuery.extend({ - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var destElements, node, clone, i, srcElements, - inPage = jQuery.contains( elem.ownerDocument, elem ); - - if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { - clone = elem.cloneNode( true ); - - // IE<=8 does not properly clone detached, unknown element nodes - } else { - fragmentDiv.innerHTML = elem.outerHTML; - fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); - } - - if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) && - (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { - - // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - // Fix all IE cloning issues - for ( i = 0; (node = srcElements[i]) != null; ++i ) { - // Ensure that the destination node is not null; Fixes #9587 - if ( destElements[i] ) { - fixCloneNodeIssues( node, destElements[i] ); - } - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0; (node = srcElements[i]) != null; i++ ) { - cloneCopyEvent( node, destElements[i] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - destElements = srcElements = node = null; - - // Return the cloned set - return clone; - }, - - buildFragment: function( elems, context, scripts, selection ) { - var j, elem, contains, - tmp, tag, tbody, wrap, - l = elems.length, - - // Ensure a safe fragment - safe = createSafeFragment( context ), - - nodes = [], - i = 0; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( jQuery.type( elem ) === "object" ) { - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || safe.appendChild( context.createElement("div") ); - - // Deserialize a standard representation - tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - - tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1></$2>" ) + wrap[2]; - - // Descend through wrappers to the right content - j = wrap[0]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Manually add leading whitespace removed by IE - if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { - nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); - } - - // Remove IE's autoinserted <tbody> from table fragments - if ( !jQuery.support.tbody ) { - - // String was a <table>, *may* have spurious <tbody> - elem = tag === "table" && !rtbody.test( elem ) ? - tmp.firstChild : - - // String was a bare <thead> or <tfoot> - wrap[1] === "<table>" && !rtbody.test( elem ) ? - tmp : - 0; - - j = elem && elem.childNodes.length; - while ( j-- ) { - if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { - elem.removeChild( tbody ); - } - } - } - - jQuery.merge( nodes, tmp.childNodes ); - - // Fix #12392 for WebKit and IE > 9 - tmp.textContent = ""; - - // Fix #12392 for oldIE - while ( tmp.firstChild ) { - tmp.removeChild( tmp.firstChild ); - } - - // Remember the top-level container for proper cleanup - tmp = safe.lastChild; - } - } - } - - // Fix #11356: Clear elements from fragment - if ( tmp ) { - safe.removeChild( tmp ); - } - - // Reset defaultChecked for any radios and checkboxes - // about to be appended to the DOM in IE 6/7 (#8060) - if ( !jQuery.support.appendChecked ) { - jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); - } - - i = 0; - while ( (elem = nodes[ i++ ]) ) { - - // #4087 - If origin and destination elements are the same, and this is - // that element, do not do anything - if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { - continue; - } - - contains = jQuery.contains( elem.ownerDocument, elem ); - - // Append to fragment - tmp = getAll( safe.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( contains ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( (elem = tmp[ j++ ]) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - tmp = null; - - return safe; - }, - - cleanData: function( elems, /* internal */ acceptData ) { - var elem, type, id, data, - i = 0, - internalKey = jQuery.expando, - cache = jQuery.cache, - deleteExpando = jQuery.support.deleteExpando, - special = jQuery.event.special; - - for ( ; (elem = elems[i]) != null; i++ ) { - - if ( acceptData || jQuery.acceptData( elem ) ) { - - id = elem[ internalKey ]; - data = id && cache[ id ]; - - if ( data ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Remove cache only if it was not already removed by jQuery.event.remove - if ( cache[ id ] ) { - - delete cache[ id ]; - - // IE does not allow us to delete expando properties from nodes, - // nor does it have a removeAttribute function on Document nodes; - // we must handle all of these cases - if ( deleteExpando ) { - delete elem[ internalKey ]; - - } else if ( typeof elem.removeAttribute !== core_strundefined ) { - elem.removeAttribute( internalKey ); - - } else { - elem[ internalKey ] = null; - } - - core_deletedIds.push( id ); - } - } - } - } - }, - - _evalUrl: function( url ) { - return jQuery.ajax({ - url: url, - type: "GET", - dataType: "script", - async: false, - global: false, - "throws": true - }); - } -}); -jQuery.fn.extend({ - wrapAll: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapAll( html.call(this, i) ); - }); - } - - if ( this[0] ) { - // The elements to wrap the target around - var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); - - if ( this[0].parentNode ) { - wrap.insertBefore( this[0] ); - } - - wrap.map(function() { - var elem = this; - - while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { - elem = elem.firstChild; - } - - return elem; - }).append( this ); - } - - return this; - }, - - wrapInner: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapInner( html.call(this, i) ); - }); - } - - return this.each(function() { - var self = jQuery( this ), - contents = self.contents(); - - if ( contents.length ) { - contents.wrapAll( html ); - - } else { - self.append( html ); - } - }); - }, - - wrap: function( html ) { - var isFunction = jQuery.isFunction( html ); - - return this.each(function(i) { - jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); - }); - }, - - unwrap: function() { - return this.parent().each(function() { - if ( !jQuery.nodeName( this, "body" ) ) { - jQuery( this ).replaceWith( this.childNodes ); - } - }).end(); - } -}); -var iframe, getStyles, curCSS, - ralpha = /alpha\([^)]*\)/i, - ropacity = /opacity\s*=\s*([^)]*)/, - rposition = /^(top|right|bottom|left)$/, - // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" - // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - rmargin = /^margin/, - rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), - rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), - rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), - elemdisplay = { BODY: "block" }, - - cssShow = { position: "absolute", visibility: "hidden", display: "block" }, - cssNormalTransform = { - letterSpacing: 0, - fontWeight: 400 - }, - - cssExpand = [ "Top", "Right", "Bottom", "Left" ], - cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; - -// return a css property mapped to a potentially vendor prefixed property -function vendorPropName( style, name ) { - - // shortcut for names that are not vendor prefixed - if ( name in style ) { - return name; - } - - // check for vendor prefixed names - var capName = name.charAt(0).toUpperCase() + name.slice(1), - origName = name, - i = cssPrefixes.length; - - while ( i-- ) { - name = cssPrefixes[ i ] + capName; - if ( name in style ) { - return name; - } - } - - return origName; -} - -function isHidden( elem, el ) { - // isHidden might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); -} - -function showHide( elements, show ) { - var display, elem, hidden, - values = [], - index = 0, - length = elements.length; - - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - - values[ index ] = jQuery._data( elem, "olddisplay" ); - display = elem.style.display; - if ( show ) { - // Reset the inline display of this element to learn if it is - // being hidden by cascaded rules or not - if ( !values[ index ] && display === "none" ) { - elem.style.display = ""; - } - - // Set elements which have been overridden with display: none - // in a stylesheet to whatever the default browser style is - // for such an element - if ( elem.style.display === "" && isHidden( elem ) ) { - values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); - } - } else { - - if ( !values[ index ] ) { - hidden = isHidden( elem ); - - if ( display && display !== "none" || !hidden ) { - jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) ); - } - } - } - } - - // Set the display of most of the elements in a second loop - // to avoid the constant reflow - for ( index = 0; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - if ( !show || elem.style.display === "none" || elem.style.display === "" ) { - elem.style.display = show ? values[ index ] || "" : "none"; - } - } - - return elements; -} - -jQuery.fn.extend({ - css: function( name, value ) { - return jQuery.access( this, function( elem, name, value ) { - var len, styles, - map = {}, - i = 0; - - if ( jQuery.isArray( name ) ) { - styles = getStyles( elem ); - len = name.length; - - for ( ; i < len; i++ ) { - map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); - } - - return map; - } - - return value !== undefined ? - jQuery.style( elem, name, value ) : - jQuery.css( elem, name ); - }, name, value, arguments.length > 1 ); - }, - show: function() { - return showHide( this, true ); - }, - hide: function() { - return showHide( this ); - }, - toggle: function( state ) { - if ( typeof state === "boolean" ) { - return state ? this.show() : this.hide(); - } - - return this.each(function() { - if ( isHidden( this ) ) { - jQuery( this ).show(); - } else { - jQuery( this ).hide(); - } - }); - } -}); - -jQuery.extend({ - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function( elem, computed ) { - if ( computed ) { - // We should always get a number back from opacity - var ret = curCSS( elem, "opacity" ); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Don't automatically add "px" to these possibly-unitless properties - cssNumber: { - "columnCount": true, - "fillOpacity": true, - "fontWeight": true, - "lineHeight": true, - "opacity": true, - "order": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: { - // normalize float css property - "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" - }, - - // Get and set the style property on a DOM Node - style: function( elem, name, value, extra ) { - // Don't set styles on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = jQuery.camelCase( name ), - style = elem.style; - - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // Check if we're setting a value - if ( value !== undefined ) { - type = typeof value; - - // convert relative number strings (+= or -=) to relative numbers. #7345 - if ( type === "string" && (ret = rrelNum.exec( value )) ) { - value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); - // Fixes bug #9237 - type = "number"; - } - - // Make sure that NaN and null values aren't set. See: #7116 - if ( value == null || type === "number" && isNaN( value ) ) { - return; - } - - // If a number was passed in, add 'px' to the (except for certain CSS properties) - if ( type === "number" && !jQuery.cssNumber[ origName ] ) { - value += "px"; - } - - // Fixes #8908, it can be done more correctly by specifing setters in cssHooks, - // but it would mean to define eight (for every problematic property) identical functions - if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { - style[ name ] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { - - // Wrapped to prevent IE from throwing errors when 'invalid' values are provided - // Fixes bug #5509 - try { - style[ name ] = value; - } catch(e) {} - } - - } else { - // If a hook was provided get the non-computed value from there - if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { - return ret; - } - - // Otherwise just get the value from the style object - return style[ name ]; - } - }, - - css: function( elem, name, extra, styles ) { - var num, val, hooks, - origName = jQuery.camelCase( name ); - - // Make sure that we're working with the right name - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // If a hook was provided get the computed value from there - if ( hooks && "get" in hooks ) { - val = hooks.get( elem, true, extra ); - } - - // Otherwise, if a way to get the computed value exists, use that - if ( val === undefined ) { - val = curCSS( elem, name, styles ); - } - - //convert "normal" to computed value - if ( val === "normal" && name in cssNormalTransform ) { - val = cssNormalTransform[ name ]; - } - - // Return, converting to number if forced or a qualifier was provided and val looks numeric - if ( extra === "" || extra ) { - num = parseFloat( val ); - return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; - } - return val; - } -}); - -// NOTE: we've included the "window" in window.getComputedStyle -// because jsdom on node.js will break without it. -if ( window.getComputedStyle ) { - getStyles = function( elem ) { - return window.getComputedStyle( elem, null ); - }; - - curCSS = function( elem, name, _computed ) { - var width, minWidth, maxWidth, - computed = _computed || getStyles( elem ), - - // getPropertyValue is only needed for .css('filter') in IE9, see #12537 - ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined, - style = elem.style; - - if ( computed ) { - - if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { - ret = jQuery.style( elem, name ); - } - - // A tribute to the "awesome hack by Dean Edwards" - // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right - // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels - // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values - if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret; - }; -} else if ( document.documentElement.currentStyle ) { - getStyles = function( elem ) { - return elem.currentStyle; - }; - - curCSS = function( elem, name, _computed ) { - var left, rs, rsLeft, - computed = _computed || getStyles( elem ), - ret = computed ? computed[ name ] : undefined, - style = elem.style; - - // Avoid setting ret to empty string here - // so we don't default to auto - if ( ret == null && style && style[ name ] ) { - ret = style[ name ]; - } - - // From the awesome hack by Dean Edwards - // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 - - // If we're not dealing with a regular pixel number - // but a number that has a weird ending, we need to convert it to pixels - // but not position css attributes, as those are proportional to the parent element instead - // and we can't measure the parent instead because it might trigger a "stacking dolls" problem - if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { - - // Remember the original values - left = style.left; - rs = elem.runtimeStyle; - rsLeft = rs && rs.left; - - // Put in the new values to get a computed value out - if ( rsLeft ) { - rs.left = elem.currentStyle.left; - } - style.left = name === "fontSize" ? "1em" : ret; - ret = style.pixelLeft + "px"; - - // Revert the changed values - style.left = left; - if ( rsLeft ) { - rs.left = rsLeft; - } - } - - return ret === "" ? "auto" : ret; - }; -} - -function setPositiveNumber( elem, value, subtract ) { - var matches = rnumsplit.exec( value ); - return matches ? - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : - value; -} - -function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { - var i = extra === ( isBorderBox ? "border" : "content" ) ? - // If we already have the right measurement, avoid augmentation - 4 : - // Otherwise initialize for horizontal or vertical properties - name === "width" ? 1 : 0, - - val = 0; - - for ( ; i < 4; i += 2 ) { - // both box models exclude margin, so add it if we want it - if ( extra === "margin" ) { - val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); - } - - if ( isBorderBox ) { - // border-box includes padding, so remove it if we want content - if ( extra === "content" ) { - val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - } - - // at this point, extra isn't border nor margin, so remove border - if ( extra !== "margin" ) { - val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } else { - // at this point, extra isn't content, so add padding - val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - - // at this point, extra isn't content nor padding, so add border - if ( extra !== "padding" ) { - val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } - } - - return val; -} - -function getWidthOrHeight( elem, name, extra ) { - - // Start with offset property, which is equivalent to the border-box value - var valueIsBorderBox = true, - val = name === "width" ? elem.offsetWidth : elem.offsetHeight, - styles = getStyles( elem ), - isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; - - // some non-html elements return undefined for offsetWidth, so check for null/undefined - // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 - // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 - if ( val <= 0 || val == null ) { - // Fall back to computed then uncomputed css if necessary - val = curCSS( elem, name, styles ); - if ( val < 0 || val == null ) { - val = elem.style[ name ]; - } - - // Computed unit is not pixels. Stop here and return. - if ( rnumnonpx.test(val) ) { - return val; - } - - // we need the check for style in case a browser which returns unreliable values - // for getComputedStyle silently falls back to the reliable elem.style - valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); - - // Normalize "", auto, and prepare for extra - val = parseFloat( val ) || 0; - } - - // use the active box-sizing model to add/subtract irrelevant styles - return ( val + - augmentWidthOrHeight( - elem, - name, - extra || ( isBorderBox ? "border" : "content" ), - valueIsBorderBox, - styles - ) - ) + "px"; -} - -// Try to determine the default display value of an element -function css_defaultDisplay( nodeName ) { - var doc = document, - display = elemdisplay[ nodeName ]; - - if ( !display ) { - display = actualDisplay( nodeName, doc ); - - // If the simple way fails, read from inside an iframe - if ( display === "none" || !display ) { - // Use the already-created iframe if possible - iframe = ( iframe || - jQuery("<iframe frameborder='0' width='0' height='0'/>") - .css( "cssText", "display:block !important" ) - ).appendTo( doc.documentElement ); - - // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse - doc = ( iframe[0].contentWindow || iframe[0].contentDocument ).document; - doc.write("<!doctype html><html><body>"); - doc.close(); - - display = actualDisplay( nodeName, doc ); - iframe.detach(); - } - - // Store the correct default display - elemdisplay[ nodeName ] = display; - } - - return display; -} - -// Called ONLY from within css_defaultDisplay -function actualDisplay( name, doc ) { - var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), - display = jQuery.css( elem[0], "display" ); - elem.remove(); - return display; -} - -jQuery.each([ "height", "width" ], function( i, name ) { - jQuery.cssHooks[ name ] = { - get: function( elem, computed, extra ) { - if ( computed ) { - // certain elements can have dimension info if we invisibly show them - // however, it must have a current display style that would benefit from this - return elem.offsetWidth === 0 && rdisplayswap.test( jQuery.css( elem, "display" ) ) ? - jQuery.swap( elem, cssShow, function() { - return getWidthOrHeight( elem, name, extra ); - }) : - getWidthOrHeight( elem, name, extra ); - } - }, - - set: function( elem, value, extra ) { - var styles = extra && getStyles( elem ); - return setPositiveNumber( elem, value, extra ? - augmentWidthOrHeight( - elem, - name, - extra, - jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box", - styles - ) : 0 - ); - } - }; -}); - -if ( !jQuery.support.opacity ) { - jQuery.cssHooks.opacity = { - get: function( elem, computed ) { - // IE uses filters for opacity - return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ? - ( 0.01 * parseFloat( RegExp.$1 ) ) + "" : - computed ? "1" : ""; - }, - - set: function( elem, value ) { - var style = elem.style, - currentStyle = elem.currentStyle, - opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "", - filter = currentStyle && currentStyle.filter || style.filter || ""; - - // IE has trouble with opacity if it does not have layout - // Force it by setting the zoom level - style.zoom = 1; - - // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652 - // if value === "", then remove inline opacity #12685 - if ( ( value >= 1 || value === "" ) && - jQuery.trim( filter.replace( ralpha, "" ) ) === "" && - style.removeAttribute ) { - - // Setting style.filter to null, "" & " " still leave "filter:" in the cssText - // if "filter:" is present at all, clearType is disabled, we want to avoid this - // style.removeAttribute is IE Only, but so apparently is this code path... - style.removeAttribute( "filter" ); - - // if there is no filter style applied in a css rule or unset inline opacity, we are done - if ( value === "" || currentStyle && !currentStyle.filter ) { - return; - } - } - - // otherwise, set new filter values - style.filter = ralpha.test( filter ) ? - filter.replace( ralpha, opacity ) : - filter + " " + opacity; - } - }; -} - -// These hooks cannot be added until DOM ready because the support test -// for it is not run until after DOM ready -jQuery(function() { - if ( !jQuery.support.reliableMarginRight ) { - jQuery.cssHooks.marginRight = { - get: function( elem, computed ) { - if ( computed ) { - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - // Work around by temporarily setting element display to inline-block - return jQuery.swap( elem, { "display": "inline-block" }, - curCSS, [ elem, "marginRight" ] ); - } - } - }; - } - - // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 - // getComputedStyle returns percent when specified for top/left/bottom/right - // rather than make the css module depend on the offset module, we just check for it here - if ( !jQuery.support.pixelPosition && jQuery.fn.position ) { - jQuery.each( [ "top", "left" ], function( i, prop ) { - jQuery.cssHooks[ prop ] = { - get: function( elem, computed ) { - if ( computed ) { - computed = curCSS( elem, prop ); - // if curCSS returns percentage, fallback to offset - return rnumnonpx.test( computed ) ? - jQuery( elem ).position()[ prop ] + "px" : - computed; - } - } - }; - }); - } - -}); - -if ( jQuery.expr && jQuery.expr.filters ) { - jQuery.expr.filters.hidden = function( elem ) { - // Support: Opera <= 12.12 - // Opera reports offsetWidths and offsetHeights less than zero on some elements - return elem.offsetWidth <= 0 && elem.offsetHeight <= 0 || - (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none"); - }; - - jQuery.expr.filters.visible = function( elem ) { - return !jQuery.expr.filters.hidden( elem ); - }; -} - -// These hooks are used by animate to expand properties -jQuery.each({ - margin: "", - padding: "", - border: "Width" -}, function( prefix, suffix ) { - jQuery.cssHooks[ prefix + suffix ] = { - expand: function( value ) { - var i = 0, - expanded = {}, - - // assumes a single number if not a string - parts = typeof value === "string" ? value.split(" ") : [ value ]; - - for ( ; i < 4; i++ ) { - expanded[ prefix + cssExpand[ i ] + suffix ] = - parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; - } - - return expanded; - } - }; - - if ( !rmargin.test( prefix ) ) { - jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; - } -}); -var r20 = /%20/g, - rbracket = /\[\]$/, - rCRLF = /\r?\n/g, - rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, - rsubmittable = /^(?:input|select|textarea|keygen)/i; - -jQuery.fn.extend({ - serialize: function() { - return jQuery.param( this.serializeArray() ); - }, - serializeArray: function() { - return this.map(function(){ - // Can add propHook for "elements" to filter or add form elements - var elements = jQuery.prop( this, "elements" ); - return elements ? jQuery.makeArray( elements ) : this; - }) - .filter(function(){ - var type = this.type; - // Use .is(":disabled") so that fieldset[disabled] works - return this.name && !jQuery( this ).is( ":disabled" ) && - rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && - ( this.checked || !manipulation_rcheckableType.test( type ) ); - }) - .map(function( i, elem ){ - var val = jQuery( this ).val(); - - return val == null ? - null : - jQuery.isArray( val ) ? - jQuery.map( val, function( val ){ - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - }) : - { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - }).get(); - } -}); - -//Serialize an array of form elements or a set of -//key/values into a query string -jQuery.param = function( a, traditional ) { - var prefix, - s = [], - add = function( key, value ) { - // If value is a function, invoke it and return its value - value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value ); - s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value ); - }; - - // Set traditional to true for jQuery <= 1.3.2 behavior. - if ( traditional === undefined ) { - traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional; - } - - // If an array was passed in, assume that it is an array of form elements. - if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { - // Serialize the form elements - jQuery.each( a, function() { - add( this.name, this.value ); - }); - - } else { - // If traditional, encode the "old" way (the way 1.3.2 or older - // did it), otherwise encode params recursively. - for ( prefix in a ) { - buildParams( prefix, a[ prefix ], traditional, add ); - } - } - - // Return the resulting serialization - return s.join( "&" ).replace( r20, "+" ); -}; - -function buildParams( prefix, obj, traditional, add ) { - var name; - - if ( jQuery.isArray( obj ) ) { - // Serialize array item. - jQuery.each( obj, function( i, v ) { - if ( traditional || rbracket.test( prefix ) ) { - // Treat each array item as a scalar. - add( prefix, v ); - - } else { - // Item is non-scalar (array or object), encode its numeric index. - buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add ); - } - }); - - } else if ( !traditional && jQuery.type( obj ) === "object" ) { - // Serialize object item. - for ( name in obj ) { - buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); - } - - } else { - // Serialize scalar item. - add( prefix, obj ); - } -} -jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + - "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + - "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) { - - // Handle event binding - jQuery.fn[ name ] = function( data, fn ) { - return arguments.length > 0 ? - this.on( name, null, data, fn ) : - this.trigger( name ); - }; -}); - -jQuery.fn.extend({ - hover: function( fnOver, fnOut ) { - return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); - }, - - bind: function( types, data, fn ) { - return this.on( types, null, data, fn ); - }, - unbind: function( types, fn ) { - return this.off( types, null, fn ); - }, - - delegate: function( selector, types, data, fn ) { - return this.on( types, selector, data, fn ); - }, - undelegate: function( selector, types, fn ) { - // ( namespace ) or ( selector, types [, fn] ) - return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); - } -}); -var - // Document location - ajaxLocParts, - ajaxLocation, - ajax_nonce = jQuery.now(), - - ajax_rquery = /\?/, - rhash = /#.*$/, - rts = /([?&])_=[^&]*/, - rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL - // #7653, #8125, #8152: local protocol detection - rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, - rnoContent = /^(?:GET|HEAD)$/, - rprotocol = /^\/\//, - rurl = /^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/, - - // Keep a copy of the old load method - _load = jQuery.fn.load, - - /* Prefilters - * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) - * 2) These are called: - * - BEFORE asking for a transport - * - AFTER param serialization (s.data is a string if s.processData is true) - * 3) key is the dataType - * 4) the catchall symbol "*" can be used - * 5) execution will start with transport dataType and THEN continue down to "*" if needed - */ - prefilters = {}, - - /* Transports bindings - * 1) key is the dataType - * 2) the catchall symbol "*" can be used - * 3) selection will start with transport dataType and THEN go to "*" if needed - */ - transports = {}, - - // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression - allTypes = "*/".concat("*"); - -// #8138, IE may throw an exception when accessing -// a field from window.location if document.domain has been set -try { - ajaxLocation = location.href; -} catch( e ) { - // Use the href attribute of an A element - // since IE will modify it given document.location - ajaxLocation = document.createElement( "a" ); - ajaxLocation.href = ""; - ajaxLocation = ajaxLocation.href; -} - -// Segment location into parts -ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || []; - -// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport -function addToPrefiltersOrTransports( structure ) { - - // dataTypeExpression is optional and defaults to "*" - return function( dataTypeExpression, func ) { - - if ( typeof dataTypeExpression !== "string" ) { - func = dataTypeExpression; - dataTypeExpression = "*"; - } - - var dataType, - i = 0, - dataTypes = dataTypeExpression.toLowerCase().match( core_rnotwhite ) || []; - - if ( jQuery.isFunction( func ) ) { - // For each dataType in the dataTypeExpression - while ( (dataType = dataTypes[i++]) ) { - // Prepend if requested - if ( dataType[0] === "+" ) { - dataType = dataType.slice( 1 ) || "*"; - (structure[ dataType ] = structure[ dataType ] || []).unshift( func ); - - // Otherwise append - } else { - (structure[ dataType ] = structure[ dataType ] || []).push( func ); - } - } - } - }; -} - -// Base inspection function for prefilters and transports -function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { - - var inspected = {}, - seekingTransport = ( structure === transports ); - - function inspect( dataType ) { - var selected; - inspected[ dataType ] = true; - jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { - var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); - if( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) { - options.dataTypes.unshift( dataTypeOrTransport ); - inspect( dataTypeOrTransport ); - return false; - } else if ( seekingTransport ) { - return !( selected = dataTypeOrTransport ); - } - }); - return selected; - } - - return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); -} - -// A special extend for ajax options -// that takes "flat" options (not to be deep extended) -// Fixes #9887 -function ajaxExtend( target, src ) { - var deep, key, - flatOptions = jQuery.ajaxSettings.flatOptions || {}; - - for ( key in src ) { - if ( src[ key ] !== undefined ) { - ( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ]; - } - } - if ( deep ) { - jQuery.extend( true, target, deep ); - } - - return target; -} - -jQuery.fn.load = function( url, params, callback ) { - if ( typeof url !== "string" && _load ) { - return _load.apply( this, arguments ); - } - - var selector, response, type, - self = this, - off = url.indexOf(" "); - - if ( off >= 0 ) { - selector = url.slice( off, url.length ); - url = url.slice( 0, off ); - } - - // If it's a function - if ( jQuery.isFunction( params ) ) { - - // We assume that it's the callback - callback = params; - params = undefined; - - // Otherwise, build a param string - } else if ( params && typeof params === "object" ) { - type = "POST"; - } - - // If we have elements to modify, make the request - if ( self.length > 0 ) { - jQuery.ajax({ - url: url, - - // if "type" variable is undefined, then "GET" method will be used - type: type, - dataType: "html", - data: params - }).done(function( responseText ) { - - // Save response for use in complete callback - response = arguments; - - self.html( selector ? - - // If a selector was specified, locate the right elements in a dummy div - // Exclude scripts to avoid IE 'Permission Denied' errors - jQuery("<div>").append( jQuery.parseHTML( responseText ) ).find( selector ) : - - // Otherwise use the full result - responseText ); - - }).complete( callback && function( jqXHR, status ) { - self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] ); - }); - } - - return this; -}; - -// Attach a bunch of functions for handling common AJAX events -jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ){ - jQuery.fn[ type ] = function( fn ){ - return this.on( type, fn ); - }; -}); - -jQuery.extend({ - - // Counter for holding the number of active queries - active: 0, - - // Last-Modified header cache for next request - lastModified: {}, - etag: {}, - - ajaxSettings: { - url: ajaxLocation, - type: "GET", - isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ), - global: true, - processData: true, - async: true, - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - /* - timeout: 0, - data: null, - dataType: null, - username: null, - password: null, - cache: null, - throws: false, - traditional: false, - headers: {}, - */ - - accepts: { - "*": allTypes, - text: "text/plain", - html: "text/html", - xml: "application/xml, text/xml", - json: "application/json, text/javascript" - }, - - contents: { - xml: /xml/, - html: /html/, - json: /json/ - }, - - responseFields: { - xml: "responseXML", - text: "responseText", - json: "responseJSON" - }, - - // Data converters - // Keys separate source (or catchall "*") and destination types with a single space - converters: { - - // Convert anything to text - "* text": String, - - // Text to html (true = no transformation) - "text html": true, - - // Evaluate text as a json expression - "text json": jQuery.parseJSON, - - // Parse text as xml - "text xml": jQuery.parseXML - }, - - // For options that shouldn't be deep extended: - // you can add your own custom options here if - // and when you create one that shouldn't be - // deep extended (see ajaxExtend) - flatOptions: { - url: true, - context: true - } - }, - - // Creates a full fledged settings object into target - // with both ajaxSettings and settings fields. - // If target is omitted, writes into ajaxSettings. - ajaxSetup: function( target, settings ) { - return settings ? - - // Building a settings object - ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : - - // Extending ajaxSettings - ajaxExtend( jQuery.ajaxSettings, target ); - }, - - ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), - ajaxTransport: addToPrefiltersOrTransports( transports ), - - // Main method - ajax: function( url, options ) { - - // If url is an object, simulate pre-1.5 signature - if ( typeof url === "object" ) { - options = url; - url = undefined; - } - - // Force options to be an object - options = options || {}; - - var // Cross-domain detection vars - parts, - // Loop variable - i, - // URL without anti-cache param - cacheURL, - // Response headers as string - responseHeadersString, - // timeout handle - timeoutTimer, - - // To know if global events are to be dispatched - fireGlobals, - - transport, - // Response headers - responseHeaders, - // Create the final options object - s = jQuery.ajaxSetup( {}, options ), - // Callbacks context - callbackContext = s.context || s, - // Context for global events is callbackContext if it is a DOM node or jQuery collection - globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ? - jQuery( callbackContext ) : - jQuery.event, - // Deferreds - deferred = jQuery.Deferred(), - completeDeferred = jQuery.Callbacks("once memory"), - // Status-dependent callbacks - statusCode = s.statusCode || {}, - // Headers (they are sent all at once) - requestHeaders = {}, - requestHeadersNames = {}, - // The jqXHR state - state = 0, - // Default abort message - strAbort = "canceled", - // Fake xhr - jqXHR = { - readyState: 0, - - // Builds headers hashtable if needed - getResponseHeader: function( key ) { - var match; - if ( state === 2 ) { - if ( !responseHeaders ) { - responseHeaders = {}; - while ( (match = rheaders.exec( responseHeadersString )) ) { - responseHeaders[ match[1].toLowerCase() ] = match[ 2 ]; - } - } - match = responseHeaders[ key.toLowerCase() ]; - } - return match == null ? null : match; - }, - - // Raw string - getAllResponseHeaders: function() { - return state === 2 ? responseHeadersString : null; - }, - - // Caches the header - setRequestHeader: function( name, value ) { - var lname = name.toLowerCase(); - if ( !state ) { - name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name; - requestHeaders[ name ] = value; - } - return this; - }, - - // Overrides response content-type header - overrideMimeType: function( type ) { - if ( !state ) { - s.mimeType = type; - } - return this; - }, - - // Status-dependent callbacks - statusCode: function( map ) { - var code; - if ( map ) { - if ( state < 2 ) { - for ( code in map ) { - // Lazy-add the new callback in a way that preserves old ones - statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; - } - } else { - // Execute the appropriate callbacks - jqXHR.always( map[ jqXHR.status ] ); - } - } - return this; - }, - - // Cancel the request - abort: function( statusText ) { - var finalText = statusText || strAbort; - if ( transport ) { - transport.abort( finalText ); - } - done( 0, finalText ); - return this; - } - }; - - // Attach deferreds - deferred.promise( jqXHR ).complete = completeDeferred.add; - jqXHR.success = jqXHR.done; - jqXHR.error = jqXHR.fail; - - // Remove hash character (#7531: and string promotion) - // Add protocol if not provided (#5866: IE7 issue with protocol-less urls) - // Handle falsy url in the settings object (#10093: consistency with old signature) - // We also use the url parameter if available - s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" ); - - // Alias method option to type as per ticket #12004 - s.type = options.method || options.type || s.method || s.type; - - // Extract dataTypes list - s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( core_rnotwhite ) || [""]; - - // A cross-domain request is in order when we have a protocol:host:port mismatch - if ( s.crossDomain == null ) { - parts = rurl.exec( s.url.toLowerCase() ); - s.crossDomain = !!( parts && - ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] || - ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !== - ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? "80" : "443" ) ) ) - ); - } - - // Convert data if not already a string - if ( s.data && s.processData && typeof s.data !== "string" ) { - s.data = jQuery.param( s.data, s.traditional ); - } - - // Apply prefilters - inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); - - // If request was aborted inside a prefilter, stop there - if ( state === 2 ) { - return jqXHR; - } - - // We can fire global events as of now if asked to - fireGlobals = s.global; - - // Watch for a new set of requests - if ( fireGlobals && jQuery.active++ === 0 ) { - jQuery.event.trigger("ajaxStart"); - } - - // Uppercase the type - s.type = s.type.toUpperCase(); - - // Determine if request has content - s.hasContent = !rnoContent.test( s.type ); - - // Save the URL in case we're toying with the If-Modified-Since - // and/or If-None-Match header later on - cacheURL = s.url; - - // More options handling for requests with no content - if ( !s.hasContent ) { - - // If data is available, append data to url - if ( s.data ) { - cacheURL = ( s.url += ( ajax_rquery.test( cacheURL ) ? "&" : "?" ) + s.data ); - // #9682: remove data so that it's not used in an eventual retry - delete s.data; - } - - // Add anti-cache in url if needed - if ( s.cache === false ) { - s.url = rts.test( cacheURL ) ? - - // If there is already a '_' parameter, set its value - cacheURL.replace( rts, "$1_=" + ajax_nonce++ ) : - - // Otherwise add one to the end - cacheURL + ( ajax_rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ajax_nonce++; - } - } - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - if ( jQuery.lastModified[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); - } - if ( jQuery.etag[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); - } - } - - // Set the correct header, if data is being sent - if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { - jqXHR.setRequestHeader( "Content-Type", s.contentType ); - } - - // Set the Accepts header for the server, depending on the dataType - jqXHR.setRequestHeader( - "Accept", - s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ? - s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : - s.accepts[ "*" ] - ); - - // Check for headers option - for ( i in s.headers ) { - jqXHR.setRequestHeader( i, s.headers[ i ] ); - } - - // Allow custom headers/mimetypes and early abort - if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) { - // Abort if not done already and return - return jqXHR.abort(); - } - - // aborting is no longer a cancellation - strAbort = "abort"; - - // Install callbacks on deferreds - for ( i in { success: 1, error: 1, complete: 1 } ) { - jqXHR[ i ]( s[ i ] ); - } - - // Get transport - transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); - - // If no transport, we auto-abort - if ( !transport ) { - done( -1, "No Transport" ); - } else { - jqXHR.readyState = 1; - - // Send global event - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); - } - // Timeout - if ( s.async && s.timeout > 0 ) { - timeoutTimer = setTimeout(function() { - jqXHR.abort("timeout"); - }, s.timeout ); - } - - try { - state = 1; - transport.send( requestHeaders, done ); - } catch ( e ) { - // Propagate exception as error if not done - if ( state < 2 ) { - done( -1, e ); - // Simply rethrow otherwise - } else { - throw e; - } - } - } - - // Callback for when everything is done - function done( status, nativeStatusText, responses, headers ) { - var isSuccess, success, error, response, modified, - statusText = nativeStatusText; - - // Called once - if ( state === 2 ) { - return; - } - - // State is "done" now - state = 2; - - // Clear timeout if it exists - if ( timeoutTimer ) { - clearTimeout( timeoutTimer ); - } - - // Dereference transport for early garbage collection - // (no matter how long the jqXHR object will be used) - transport = undefined; - - // Cache response headers - responseHeadersString = headers || ""; - - // Set readyState - jqXHR.readyState = status > 0 ? 4 : 0; - - // Determine if successful - isSuccess = status >= 200 && status < 300 || status === 304; - - // Get response data - if ( responses ) { - response = ajaxHandleResponses( s, jqXHR, responses ); - } - - // Convert no matter what (that way responseXXX fields are always set) - response = ajaxConvert( s, response, jqXHR, isSuccess ); - - // If successful, handle type chaining - if ( isSuccess ) { - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - modified = jqXHR.getResponseHeader("Last-Modified"); - if ( modified ) { - jQuery.lastModified[ cacheURL ] = modified; - } - modified = jqXHR.getResponseHeader("etag"); - if ( modified ) { - jQuery.etag[ cacheURL ] = modified; - } - } - - // if no content - if ( status === 204 || s.type === "HEAD" ) { - statusText = "nocontent"; - - // if not modified - } else if ( status === 304 ) { - statusText = "notmodified"; - - // If we have data, let's convert it - } else { - statusText = response.state; - success = response.data; - error = response.error; - isSuccess = !error; - } - } else { - // We extract error from statusText - // then normalize statusText and status for non-aborts - error = statusText; - if ( status || !statusText ) { - statusText = "error"; - if ( status < 0 ) { - status = 0; - } - } - } - - // Set data for the fake xhr object - jqXHR.status = status; - jqXHR.statusText = ( nativeStatusText || statusText ) + ""; - - // Success/Error - if ( isSuccess ) { - deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); - } else { - deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); - } - - // Status-dependent callbacks - jqXHR.statusCode( statusCode ); - statusCode = undefined; - - if ( fireGlobals ) { - globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", - [ jqXHR, s, isSuccess ? success : error ] ); - } - - // Complete - completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); - - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); - // Handle the global AJAX counter - if ( !( --jQuery.active ) ) { - jQuery.event.trigger("ajaxStop"); - } - } - } - - return jqXHR; - }, - - getJSON: function( url, data, callback ) { - return jQuery.get( url, data, callback, "json" ); - }, - - getScript: function( url, callback ) { - return jQuery.get( url, undefined, callback, "script" ); - } -}); - -jQuery.each( [ "get", "post" ], function( i, method ) { - jQuery[ method ] = function( url, data, callback, type ) { - // shift arguments if data argument was omitted - if ( jQuery.isFunction( data ) ) { - type = type || callback; - callback = data; - data = undefined; - } - - return jQuery.ajax({ - url: url, - type: method, - dataType: type, - data: data, - success: callback - }); - }; -}); - -/* Handles responses to an ajax request: - * - finds the right dataType (mediates between content-type and expected dataType) - * - returns the corresponding response - */ -function ajaxHandleResponses( s, jqXHR, responses ) { - var firstDataType, ct, finalDataType, type, - contents = s.contents, - dataTypes = s.dataTypes; - - // Remove auto dataType and get content-type in the process - while( dataTypes[ 0 ] === "*" ) { - dataTypes.shift(); - if ( ct === undefined ) { - ct = s.mimeType || jqXHR.getResponseHeader("Content-Type"); - } - } - - // Check if we're dealing with a known content-type - if ( ct ) { - for ( type in contents ) { - if ( contents[ type ] && contents[ type ].test( ct ) ) { - dataTypes.unshift( type ); - break; - } - } - } - - // Check to see if we have a response for the expected dataType - if ( dataTypes[ 0 ] in responses ) { - finalDataType = dataTypes[ 0 ]; - } else { - // Try convertible dataTypes - for ( type in responses ) { - if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) { - finalDataType = type; - break; - } - if ( !firstDataType ) { - firstDataType = type; - } - } - // Or just use first one - finalDataType = finalDataType || firstDataType; - } - - // If we found a dataType - // We add the dataType to the list if needed - // and return the corresponding response - if ( finalDataType ) { - if ( finalDataType !== dataTypes[ 0 ] ) { - dataTypes.unshift( finalDataType ); - } - return responses[ finalDataType ]; - } -} - -/* Chain conversions given the request and the original response - * Also sets the responseXXX fields on the jqXHR instance - */ -function ajaxConvert( s, response, jqXHR, isSuccess ) { - var conv2, current, conv, tmp, prev, - converters = {}, - // Work with a copy of dataTypes in case we need to modify it for conversion - dataTypes = s.dataTypes.slice(); - - // Create converters map with lowercased keys - if ( dataTypes[ 1 ] ) { - for ( conv in s.converters ) { - converters[ conv.toLowerCase() ] = s.converters[ conv ]; - } - } - - current = dataTypes.shift(); - - // Convert to each sequential dataType - while ( current ) { - - if ( s.responseFields[ current ] ) { - jqXHR[ s.responseFields[ current ] ] = response; - } - - // Apply the dataFilter if provided - if ( !prev && isSuccess && s.dataFilter ) { - response = s.dataFilter( response, s.dataType ); - } - - prev = current; - current = dataTypes.shift(); - - if ( current ) { - - // There's only work to do if current dataType is non-auto - if ( current === "*" ) { - - current = prev; - - // Convert response if prev dataType is non-auto and differs from current - } else if ( prev !== "*" && prev !== current ) { - - // Seek a direct converter - conv = converters[ prev + " " + current ] || converters[ "* " + current ]; - - // If none found, seek a pair - if ( !conv ) { - for ( conv2 in converters ) { - - // If conv2 outputs current - tmp = conv2.split( " " ); - if ( tmp[ 1 ] === current ) { - - // If prev can be converted to accepted input - conv = converters[ prev + " " + tmp[ 0 ] ] || - converters[ "* " + tmp[ 0 ] ]; - if ( conv ) { - // Condense equivalence converters - if ( conv === true ) { - conv = converters[ conv2 ]; - - // Otherwise, insert the intermediate dataType - } else if ( converters[ conv2 ] !== true ) { - current = tmp[ 0 ]; - dataTypes.unshift( tmp[ 1 ] ); - } - break; - } - } - } - } - - // Apply converter (if not an equivalence) - if ( conv !== true ) { - - // Unless errors are allowed to bubble, catch and return them - if ( conv && s[ "throws" ] ) { - response = conv( response ); - } else { - try { - response = conv( response ); - } catch ( e ) { - return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current }; - } - } - } - } - } - } - - return { state: "success", data: response }; -} -// Install script dataType -jQuery.ajaxSetup({ - accepts: { - script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /(?:java|ecma)script/ - }, - converters: { - "text script": function( text ) { - jQuery.globalEval( text ); - return text; - } - } -}); - -// Handle cache's special case and global -jQuery.ajaxPrefilter( "script", function( s ) { - if ( s.cache === undefined ) { - s.cache = false; - } - if ( s.crossDomain ) { - s.type = "GET"; - s.global = false; - } -}); - -// Bind script tag hack transport -jQuery.ajaxTransport( "script", function(s) { - - // This transport only deals with cross domain requests - if ( s.crossDomain ) { - - var script, - head = document.head || jQuery("head")[0] || document.documentElement; - - return { - - send: function( _, callback ) { - - script = document.createElement("script"); - - script.async = true; - - if ( s.scriptCharset ) { - script.charset = s.scriptCharset; - } - - script.src = s.url; - - // Attach handlers for all browsers - script.onload = script.onreadystatechange = function( _, isAbort ) { - - if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) { - - // Handle memory leak in IE - script.onload = script.onreadystatechange = null; - - // Remove the script - if ( script.parentNode ) { - script.parentNode.removeChild( script ); - } - - // Dereference the script - script = null; - - // Callback if not abort - if ( !isAbort ) { - callback( 200, "success" ); - } - } - }; - - // Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending - // Use native DOM manipulation to avoid our domManip AJAX trickery - head.insertBefore( script, head.firstChild ); - }, - - abort: function() { - if ( script ) { - script.onload( undefined, true ); - } - } - }; - } -}); -var oldCallbacks = [], - rjsonp = /(=)\?(?=&|$)|\?\?/; - -// Default jsonp settings -jQuery.ajaxSetup({ - jsonp: "callback", - jsonpCallback: function() { - var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( ajax_nonce++ ) ); - this[ callback ] = true; - return callback; - } -}); - -// Detect, normalize options and install callbacks for jsonp requests -jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { - - var callbackName, overwritten, responseContainer, - jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ? - "url" : - typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test( s.data ) && "data" - ); - - // Handle iff the expected data type is "jsonp" or we have a parameter to set - if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) { - - // Get callback name, remembering preexisting value associated with it - callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ? - s.jsonpCallback() : - s.jsonpCallback; - - // Insert callback into url or form data - if ( jsonProp ) { - s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName ); - } else if ( s.jsonp !== false ) { - s.url += ( ajax_rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; - } - - // Use data converter to retrieve json after script execution - s.converters["script json"] = function() { - if ( !responseContainer ) { - jQuery.error( callbackName + " was not called" ); - } - return responseContainer[ 0 ]; - }; - - // force json dataType - s.dataTypes[ 0 ] = "json"; - - // Install callback - overwritten = window[ callbackName ]; - window[ callbackName ] = function() { - responseContainer = arguments; - }; - - // Clean-up function (fires after converters) - jqXHR.always(function() { - // Restore preexisting value - window[ callbackName ] = overwritten; - - // Save back as free - if ( s[ callbackName ] ) { - // make sure that re-using the options doesn't screw things around - s.jsonpCallback = originalSettings.jsonpCallback; - - // save the callback name for future use - oldCallbacks.push( callbackName ); - } - - // Call if it was a function and we have a response - if ( responseContainer && jQuery.isFunction( overwritten ) ) { - overwritten( responseContainer[ 0 ] ); - } - - responseContainer = overwritten = undefined; - }); - - // Delegate to script - return "script"; - } -}); -var xhrCallbacks, xhrSupported, - xhrId = 0, - // #5280: Internet Explorer will keep connections alive if we don't abort on unload - xhrOnUnloadAbort = window.ActiveXObject && function() { - // Abort all pending requests - var key; - for ( key in xhrCallbacks ) { - xhrCallbacks[ key ]( undefined, true ); - } - }; - -// Functions to create xhrs -function createStandardXHR() { - try { - return new window.XMLHttpRequest(); - } catch( e ) {} -} - -function createActiveXHR() { - try { - return new window.ActiveXObject("Microsoft.XMLHTTP"); - } catch( e ) {} -} - -// Create the request object -// (This is still attached to ajaxSettings for backward compatibility) -jQuery.ajaxSettings.xhr = window.ActiveXObject ? - /* Microsoft failed to properly - * implement the XMLHttpRequest in IE7 (can't request local files), - * so we use the ActiveXObject when it is available - * Additionally XMLHttpRequest can be disabled in IE7/IE8 so - * we need a fallback. - */ - function() { - return !this.isLocal && createStandardXHR() || createActiveXHR(); - } : - // For all other browsers, use the standard XMLHttpRequest object - createStandardXHR; - -// Determine support properties -xhrSupported = jQuery.ajaxSettings.xhr(); -jQuery.support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); -xhrSupported = jQuery.support.ajax = !!xhrSupported; - -// Create transport if the browser can provide an xhr -if ( xhrSupported ) { - - jQuery.ajaxTransport(function( s ) { - // Cross domain only allowed if supported through XMLHttpRequest - if ( !s.crossDomain || jQuery.support.cors ) { - - var callback; - - return { - send: function( headers, complete ) { - - // Get a new xhr - var handle, i, - xhr = s.xhr(); - - // Open the socket - // Passing null username, generates a login popup on Opera (#2865) - if ( s.username ) { - xhr.open( s.type, s.url, s.async, s.username, s.password ); - } else { - xhr.open( s.type, s.url, s.async ); - } - - // Apply custom fields if provided - if ( s.xhrFields ) { - for ( i in s.xhrFields ) { - xhr[ i ] = s.xhrFields[ i ]; - } - } - - // Override mime type if needed - if ( s.mimeType && xhr.overrideMimeType ) { - xhr.overrideMimeType( s.mimeType ); - } - - // X-Requested-With header - // For cross-domain requests, seeing as conditions for a preflight are - // akin to a jigsaw puzzle, we simply never set it to be sure. - // (it can always be set on a per-request basis or even using ajaxSetup) - // For same-domain requests, won't change header if already provided. - if ( !s.crossDomain && !headers["X-Requested-With"] ) { - headers["X-Requested-With"] = "XMLHttpRequest"; - } - - // Need an extra try/catch for cross domain requests in Firefox 3 - try { - for ( i in headers ) { - xhr.setRequestHeader( i, headers[ i ] ); - } - } catch( err ) {} - - // Do send the request - // This may raise an exception which is actually - // handled in jQuery.ajax (so no try/catch here) - xhr.send( ( s.hasContent && s.data ) || null ); - - // Listener - callback = function( _, isAbort ) { - var status, responseHeaders, statusText, responses; - - // Firefox throws exceptions when accessing properties - // of an xhr when a network error occurred - // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE) - try { - - // Was never called and is aborted or complete - if ( callback && ( isAbort || xhr.readyState === 4 ) ) { - - // Only called once - callback = undefined; - - // Do not keep as active anymore - if ( handle ) { - xhr.onreadystatechange = jQuery.noop; - if ( xhrOnUnloadAbort ) { - delete xhrCallbacks[ handle ]; - } - } - - // If it's an abort - if ( isAbort ) { - // Abort it manually if needed - if ( xhr.readyState !== 4 ) { - xhr.abort(); - } - } else { - responses = {}; - status = xhr.status; - responseHeaders = xhr.getAllResponseHeaders(); - - // When requesting binary data, IE6-9 will throw an exception - // on any attempt to access responseText (#11426) - if ( typeof xhr.responseText === "string" ) { - responses.text = xhr.responseText; - } - - // Firefox throws an exception when accessing - // statusText for faulty cross-domain requests - try { - statusText = xhr.statusText; - } catch( e ) { - // We normalize with Webkit giving an empty statusText - statusText = ""; - } - - // Filter status for non standard behaviors - - // If the request is local and we have data: assume a success - // (success with no data won't get notified, that's the best we - // can do given current implementations) - if ( !status && s.isLocal && !s.crossDomain ) { - status = responses.text ? 200 : 404; - // IE - #1450: sometimes returns 1223 when it should be 204 - } else if ( status === 1223 ) { - status = 204; - } - } - } - } catch( firefoxAccessException ) { - if ( !isAbort ) { - complete( -1, firefoxAccessException ); - } - } - - // Call complete if needed - if ( responses ) { - complete( status, statusText, responses, responseHeaders ); - } - }; - - if ( !s.async ) { - // if we're in sync mode we fire the callback - callback(); - } else if ( xhr.readyState === 4 ) { - // (IE6 & IE7) if it's in cache and has been - // retrieved directly we need to fire the callback - setTimeout( callback ); - } else { - handle = ++xhrId; - if ( xhrOnUnloadAbort ) { - // Create the active xhrs callbacks list if needed - // and attach the unload handler - if ( !xhrCallbacks ) { - xhrCallbacks = {}; - jQuery( window ).unload( xhrOnUnloadAbort ); - } - // Add to list of active xhrs callbacks - xhrCallbacks[ handle ] = callback; - } - xhr.onreadystatechange = callback; - } - }, - - abort: function() { - if ( callback ) { - callback( undefined, true ); - } - } - }; - } - }); -} -var fxNow, timerId, - rfxtypes = /^(?:toggle|show|hide)$/, - rfxnum = new RegExp( "^(?:([+-])=|)(" + core_pnum + ")([a-z%]*)$", "i" ), - rrun = /queueHooks$/, - animationPrefilters = [ defaultPrefilter ], - tweeners = { - "*": [function( prop, value ) { - var tween = this.createTween( prop, value ), - target = tween.cur(), - parts = rfxnum.exec( value ), - unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), - - // Starting value computation is required for potential unit mismatches - start = ( jQuery.cssNumber[ prop ] || unit !== "px" && +target ) && - rfxnum.exec( jQuery.css( tween.elem, prop ) ), - scale = 1, - maxIterations = 20; - - if ( start && start[ 3 ] !== unit ) { - // Trust units reported by jQuery.css - unit = unit || start[ 3 ]; - - // Make sure we update the tween properties later on - parts = parts || []; - - // Iteratively approximate from a nonzero starting point - start = +target || 1; - - do { - // If previous iteration zeroed out, double until we get *something* - // Use a string for doubling factor so we don't accidentally see scale as unchanged below - scale = scale || ".5"; - - // Adjust and apply - start = start / scale; - jQuery.style( tween.elem, prop, start + unit ); - - // Update scale, tolerating zero or NaN from tween.cur() - // And breaking the loop if scale is unchanged or perfect, or if we've just had enough - } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations ); - } - - // Update tween properties - if ( parts ) { - start = tween.start = +start || +target || 0; - tween.unit = unit; - // If a +=/-= token was provided, we're doing a relative animation - tween.end = parts[ 1 ] ? - start + ( parts[ 1 ] + 1 ) * parts[ 2 ] : - +parts[ 2 ]; - } - - return tween; - }] - }; - -// Animations created synchronously will run synchronously -function createFxNow() { - setTimeout(function() { - fxNow = undefined; - }); - return ( fxNow = jQuery.now() ); -} - -function createTween( value, prop, animation ) { - var tween, - collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ), - index = 0, - length = collection.length; - for ( ; index < length; index++ ) { - if ( (tween = collection[ index ].call( animation, prop, value )) ) { - - // we're done with this property - return tween; - } - } -} - -function Animation( elem, properties, options ) { - var result, - stopped, - index = 0, - length = animationPrefilters.length, - deferred = jQuery.Deferred().always( function() { - // don't match elem in the :animated selector - delete tick.elem; - }), - tick = function() { - if ( stopped ) { - return false; - } - var currentTime = fxNow || createFxNow(), - remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), - // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497) - temp = remaining / animation.duration || 0, - percent = 1 - temp, - index = 0, - length = animation.tweens.length; - - for ( ; index < length ; index++ ) { - animation.tweens[ index ].run( percent ); - } - - deferred.notifyWith( elem, [ animation, percent, remaining ]); - - if ( percent < 1 && length ) { - return remaining; - } else { - deferred.resolveWith( elem, [ animation ] ); - return false; - } - }, - animation = deferred.promise({ - elem: elem, - props: jQuery.extend( {}, properties ), - opts: jQuery.extend( true, { specialEasing: {} }, options ), - originalProperties: properties, - originalOptions: options, - startTime: fxNow || createFxNow(), - duration: options.duration, - tweens: [], - createTween: function( prop, end ) { - var tween = jQuery.Tween( elem, animation.opts, prop, end, - animation.opts.specialEasing[ prop ] || animation.opts.easing ); - animation.tweens.push( tween ); - return tween; - }, - stop: function( gotoEnd ) { - var index = 0, - // if we are going to the end, we want to run all the tweens - // otherwise we skip this part - length = gotoEnd ? animation.tweens.length : 0; - if ( stopped ) { - return this; - } - stopped = true; - for ( ; index < length ; index++ ) { - animation.tweens[ index ].run( 1 ); - } - - // resolve when we played the last frame - // otherwise, reject - if ( gotoEnd ) { - deferred.resolveWith( elem, [ animation, gotoEnd ] ); - } else { - deferred.rejectWith( elem, [ animation, gotoEnd ] ); - } - return this; - } - }), - props = animation.props; - - propFilter( props, animation.opts.specialEasing ); - - for ( ; index < length ; index++ ) { - result = animationPrefilters[ index ].call( animation, elem, props, animation.opts ); - if ( result ) { - return result; - } - } - - jQuery.map( props, createTween, animation ); - - if ( jQuery.isFunction( animation.opts.start ) ) { - animation.opts.start.call( elem, animation ); - } - - jQuery.fx.timer( - jQuery.extend( tick, { - elem: elem, - anim: animation, - queue: animation.opts.queue - }) - ); - - // attach callbacks from options - return animation.progress( animation.opts.progress ) - .done( animation.opts.done, animation.opts.complete ) - .fail( animation.opts.fail ) - .always( animation.opts.always ); -} - -function propFilter( props, specialEasing ) { - var index, name, easing, value, hooks; - - // camelCase, specialEasing and expand cssHook pass - for ( index in props ) { - name = jQuery.camelCase( index ); - easing = specialEasing[ name ]; - value = props[ index ]; - if ( jQuery.isArray( value ) ) { - easing = value[ 1 ]; - value = props[ index ] = value[ 0 ]; - } - - if ( index !== name ) { - props[ name ] = value; - delete props[ index ]; - } - - hooks = jQuery.cssHooks[ name ]; - if ( hooks && "expand" in hooks ) { - value = hooks.expand( value ); - delete props[ name ]; - - // not quite $.extend, this wont overwrite keys already present. - // also - reusing 'index' from above because we have the correct "name" - for ( index in value ) { - if ( !( index in props ) ) { - props[ index ] = value[ index ]; - specialEasing[ index ] = easing; - } - } - } else { - specialEasing[ name ] = easing; - } - } -} - -jQuery.Animation = jQuery.extend( Animation, { - - tweener: function( props, callback ) { - if ( jQuery.isFunction( props ) ) { - callback = props; - props = [ "*" ]; - } else { - props = props.split(" "); - } - - var prop, - index = 0, - length = props.length; - - for ( ; index < length ; index++ ) { - prop = props[ index ]; - tweeners[ prop ] = tweeners[ prop ] || []; - tweeners[ prop ].unshift( callback ); - } - }, - - prefilter: function( callback, prepend ) { - if ( prepend ) { - animationPrefilters.unshift( callback ); - } else { - animationPrefilters.push( callback ); - } - } -}); - -function defaultPrefilter( elem, props, opts ) { - /* jshint validthis: true */ - var prop, value, toggle, tween, hooks, oldfire, - anim = this, - orig = {}, - style = elem.style, - hidden = elem.nodeType && isHidden( elem ), - dataShow = jQuery._data( elem, "fxshow" ); - - // handle queue: false promises - if ( !opts.queue ) { - hooks = jQuery._queueHooks( elem, "fx" ); - if ( hooks.unqueued == null ) { - hooks.unqueued = 0; - oldfire = hooks.empty.fire; - hooks.empty.fire = function() { - if ( !hooks.unqueued ) { - oldfire(); - } - }; - } - hooks.unqueued++; - - anim.always(function() { - // doing this makes sure that the complete handler will be called - // before this completes - anim.always(function() { - hooks.unqueued--; - if ( !jQuery.queue( elem, "fx" ).length ) { - hooks.empty.fire(); - } - }); - }); - } - - // height/width overflow pass - if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) { - // Make sure that nothing sneaks out - // Record all 3 overflow attributes because IE does not - // change the overflow attribute when overflowX and - // overflowY are set to the same value - opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; - - // Set display property to inline-block for height/width - // animations on inline elements that are having width/height animated - if ( jQuery.css( elem, "display" ) === "inline" && - jQuery.css( elem, "float" ) === "none" ) { - - // inline-level elements accept inline-block; - // block-level elements need to be inline with layout - if ( !jQuery.support.inlineBlockNeedsLayout || css_defaultDisplay( elem.nodeName ) === "inline" ) { - style.display = "inline-block"; - - } else { - style.zoom = 1; - } - } - } - - if ( opts.overflow ) { - style.overflow = "hidden"; - if ( !jQuery.support.shrinkWrapBlocks ) { - anim.always(function() { - style.overflow = opts.overflow[ 0 ]; - style.overflowX = opts.overflow[ 1 ]; - style.overflowY = opts.overflow[ 2 ]; - }); - } - } - - - // show/hide pass - for ( prop in props ) { - value = props[ prop ]; - if ( rfxtypes.exec( value ) ) { - delete props[ prop ]; - toggle = toggle || value === "toggle"; - if ( value === ( hidden ? "hide" : "show" ) ) { - continue; - } - orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); - } - } - - if ( !jQuery.isEmptyObject( orig ) ) { - if ( dataShow ) { - if ( "hidden" in dataShow ) { - hidden = dataShow.hidden; - } - } else { - dataShow = jQuery._data( elem, "fxshow", {} ); - } - - // store state if its toggle - enables .stop().toggle() to "reverse" - if ( toggle ) { - dataShow.hidden = !hidden; - } - if ( hidden ) { - jQuery( elem ).show(); - } else { - anim.done(function() { - jQuery( elem ).hide(); - }); - } - anim.done(function() { - var prop; - jQuery._removeData( elem, "fxshow" ); - for ( prop in orig ) { - jQuery.style( elem, prop, orig[ prop ] ); - } - }); - for ( prop in orig ) { - tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); - - if ( !( prop in dataShow ) ) { - dataShow[ prop ] = tween.start; - if ( hidden ) { - tween.end = tween.start; - tween.start = prop === "width" || prop === "height" ? 1 : 0; - } - } - } - } -} - -function Tween( elem, options, prop, end, easing ) { - return new Tween.prototype.init( elem, options, prop, end, easing ); -} -jQuery.Tween = Tween; - -Tween.prototype = { - constructor: Tween, - init: function( elem, options, prop, end, easing, unit ) { - this.elem = elem; - this.prop = prop; - this.easing = easing || "swing"; - this.options = options; - this.start = this.now = this.cur(); - this.end = end; - this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); - }, - cur: function() { - var hooks = Tween.propHooks[ this.prop ]; - - return hooks && hooks.get ? - hooks.get( this ) : - Tween.propHooks._default.get( this ); - }, - run: function( percent ) { - var eased, - hooks = Tween.propHooks[ this.prop ]; - - if ( this.options.duration ) { - this.pos = eased = jQuery.easing[ this.easing ]( - percent, this.options.duration * percent, 0, 1, this.options.duration - ); - } else { - this.pos = eased = percent; - } - this.now = ( this.end - this.start ) * eased + this.start; - - if ( this.options.step ) { - this.options.step.call( this.elem, this.now, this ); - } - - if ( hooks && hooks.set ) { - hooks.set( this ); - } else { - Tween.propHooks._default.set( this ); - } - return this; - } -}; - -Tween.prototype.init.prototype = Tween.prototype; - -Tween.propHooks = { - _default: { - get: function( tween ) { - var result; - - if ( tween.elem[ tween.prop ] != null && - (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) { - return tween.elem[ tween.prop ]; - } - - // passing an empty string as a 3rd parameter to .css will automatically - // attempt a parseFloat and fallback to a string if the parse fails - // so, simple values such as "10px" are parsed to Float. - // complex values such as "rotate(1rad)" are returned as is. - result = jQuery.css( tween.elem, tween.prop, "" ); - // Empty strings, null, undefined and "auto" are converted to 0. - return !result || result === "auto" ? 0 : result; - }, - set: function( tween ) { - // use step hook for back compat - use cssHook if its there - use .style if its - // available and use plain properties where available - if ( jQuery.fx.step[ tween.prop ] ) { - jQuery.fx.step[ tween.prop ]( tween ); - } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) { - jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); - } else { - tween.elem[ tween.prop ] = tween.now; - } - } - } -}; - -// Support: IE <=9 -// Panic based approach to setting things on disconnected nodes - -Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { - set: function( tween ) { - if ( tween.elem.nodeType && tween.elem.parentNode ) { - tween.elem[ tween.prop ] = tween.now; - } - } -}; - -jQuery.each([ "toggle", "show", "hide" ], function( i, name ) { - var cssFn = jQuery.fn[ name ]; - jQuery.fn[ name ] = function( speed, easing, callback ) { - return speed == null || typeof speed === "boolean" ? - cssFn.apply( this, arguments ) : - this.animate( genFx( name, true ), speed, easing, callback ); - }; -}); - -jQuery.fn.extend({ - fadeTo: function( speed, to, easing, callback ) { - - // show any hidden elements after setting opacity to 0 - return this.filter( isHidden ).css( "opacity", 0 ).show() - - // animate to the value specified - .end().animate({ opacity: to }, speed, easing, callback ); - }, - animate: function( prop, speed, easing, callback ) { - var empty = jQuery.isEmptyObject( prop ), - optall = jQuery.speed( speed, easing, callback ), - doAnimation = function() { - // Operate on a copy of prop so per-property easing won't be lost - var anim = Animation( this, jQuery.extend( {}, prop ), optall ); - - // Empty animations, or finishing resolves immediately - if ( empty || jQuery._data( this, "finish" ) ) { - anim.stop( true ); - } - }; - doAnimation.finish = doAnimation; - - return empty || optall.queue === false ? - this.each( doAnimation ) : - this.queue( optall.queue, doAnimation ); - }, - stop: function( type, clearQueue, gotoEnd ) { - var stopQueue = function( hooks ) { - var stop = hooks.stop; - delete hooks.stop; - stop( gotoEnd ); - }; - - if ( typeof type !== "string" ) { - gotoEnd = clearQueue; - clearQueue = type; - type = undefined; - } - if ( clearQueue && type !== false ) { - this.queue( type || "fx", [] ); - } - - return this.each(function() { - var dequeue = true, - index = type != null && type + "queueHooks", - timers = jQuery.timers, - data = jQuery._data( this ); - - if ( index ) { - if ( data[ index ] && data[ index ].stop ) { - stopQueue( data[ index ] ); - } - } else { - for ( index in data ) { - if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { - stopQueue( data[ index ] ); - } - } - } - - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) { - timers[ index ].anim.stop( gotoEnd ); - dequeue = false; - timers.splice( index, 1 ); - } - } - - // start the next in the queue if the last step wasn't forced - // timers currently will call their complete callbacks, which will dequeue - // but only if they were gotoEnd - if ( dequeue || !gotoEnd ) { - jQuery.dequeue( this, type ); - } - }); - }, - finish: function( type ) { - if ( type !== false ) { - type = type || "fx"; - } - return this.each(function() { - var index, - data = jQuery._data( this ), - queue = data[ type + "queue" ], - hooks = data[ type + "queueHooks" ], - timers = jQuery.timers, - length = queue ? queue.length : 0; - - // enable finishing flag on private data - data.finish = true; - - // empty the queue first - jQuery.queue( this, type, [] ); - - if ( hooks && hooks.stop ) { - hooks.stop.call( this, true ); - } - - // look for any active animations, and finish them - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && timers[ index ].queue === type ) { - timers[ index ].anim.stop( true ); - timers.splice( index, 1 ); - } - } - - // look for any animations in the old queue and finish them - for ( index = 0; index < length; index++ ) { - if ( queue[ index ] && queue[ index ].finish ) { - queue[ index ].finish.call( this ); - } - } - - // turn off finishing flag - delete data.finish; - }); - } -}); - -// Generate parameters to create a standard animation -function genFx( type, includeWidth ) { - var which, - attrs = { height: type }, - i = 0; - - // if we include width, step value is 1 to do all cssExpand values, - // if we don't include width, step value is 2 to skip over Left and Right - includeWidth = includeWidth? 1 : 0; - for( ; i < 4 ; i += 2 - includeWidth ) { - which = cssExpand[ i ]; - attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; - } - - if ( includeWidth ) { - attrs.opacity = attrs.width = type; - } - - return attrs; -} - -// Generate shortcuts for custom animations -jQuery.each({ - slideDown: genFx("show"), - slideUp: genFx("hide"), - slideToggle: genFx("toggle"), - fadeIn: { opacity: "show" }, - fadeOut: { opacity: "hide" }, - fadeToggle: { opacity: "toggle" } -}, function( name, props ) { - jQuery.fn[ name ] = function( speed, easing, callback ) { - return this.animate( props, speed, easing, callback ); - }; -}); - -jQuery.speed = function( speed, easing, fn ) { - var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { - complete: fn || !fn && easing || - jQuery.isFunction( speed ) && speed, - duration: speed, - easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing - }; - - opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration : - opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default; - - // normalize opt.queue - true/undefined/null -> "fx" - if ( opt.queue == null || opt.queue === true ) { - opt.queue = "fx"; - } - - // Queueing - opt.old = opt.complete; - - opt.complete = function() { - if ( jQuery.isFunction( opt.old ) ) { - opt.old.call( this ); - } - - if ( opt.queue ) { - jQuery.dequeue( this, opt.queue ); - } - }; - - return opt; -}; - -jQuery.easing = { - linear: function( p ) { - return p; - }, - swing: function( p ) { - return 0.5 - Math.cos( p*Math.PI ) / 2; - } -}; - -jQuery.timers = []; -jQuery.fx = Tween.prototype.init; -jQuery.fx.tick = function() { - var timer, - timers = jQuery.timers, - i = 0; - - fxNow = jQuery.now(); - - for ( ; i < timers.length; i++ ) { - timer = timers[ i ]; - // Checks the timer has not already been removed - if ( !timer() && timers[ i ] === timer ) { - timers.splice( i--, 1 ); - } - } - - if ( !timers.length ) { - jQuery.fx.stop(); - } - fxNow = undefined; -}; - -jQuery.fx.timer = function( timer ) { - if ( timer() && jQuery.timers.push( timer ) ) { - jQuery.fx.start(); - } -}; - -jQuery.fx.interval = 13; - -jQuery.fx.start = function() { - if ( !timerId ) { - timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval ); - } -}; - -jQuery.fx.stop = function() { - clearInterval( timerId ); - timerId = null; -}; - -jQuery.fx.speeds = { - slow: 600, - fast: 200, - // Default speed - _default: 400 -}; - -// Back Compat <1.8 extension point -jQuery.fx.step = {}; - -if ( jQuery.expr && jQuery.expr.filters ) { - jQuery.expr.filters.animated = function( elem ) { - return jQuery.grep(jQuery.timers, function( fn ) { - return elem === fn.elem; - }).length; - }; -} -jQuery.fn.offset = function( options ) { - if ( arguments.length ) { - return options === undefined ? - this : - this.each(function( i ) { - jQuery.offset.setOffset( this, options, i ); - }); - } - - var docElem, win, - box = { top: 0, left: 0 }, - elem = this[ 0 ], - doc = elem && elem.ownerDocument; - - if ( !doc ) { - return; - } - - docElem = doc.documentElement; - - // Make sure it's not a disconnected DOM node - if ( !jQuery.contains( docElem, elem ) ) { - return box; - } - - // If we don't have gBCR, just use 0,0 rather than error - // BlackBerry 5, iOS 3 (original iPhone) - if ( typeof elem.getBoundingClientRect !== core_strundefined ) { - box = elem.getBoundingClientRect(); - } - win = getWindow( doc ); - return { - top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ), - left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 ) - }; -}; - -jQuery.offset = { - - setOffset: function( elem, options, i ) { - var position = jQuery.css( elem, "position" ); - - // set position first, in-case top/left are set even on static elem - if ( position === "static" ) { - elem.style.position = "relative"; - } - - var curElem = jQuery( elem ), - curOffset = curElem.offset(), - curCSSTop = jQuery.css( elem, "top" ), - curCSSLeft = jQuery.css( elem, "left" ), - calculatePosition = ( position === "absolute" || position === "fixed" ) && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1, - props = {}, curPosition = {}, curTop, curLeft; - - // need to be able to calculate position if either top or left is auto and position is either absolute or fixed - if ( calculatePosition ) { - curPosition = curElem.position(); - curTop = curPosition.top; - curLeft = curPosition.left; - } else { - curTop = parseFloat( curCSSTop ) || 0; - curLeft = parseFloat( curCSSLeft ) || 0; - } - - if ( jQuery.isFunction( options ) ) { - options = options.call( elem, i, curOffset ); - } - - if ( options.top != null ) { - props.top = ( options.top - curOffset.top ) + curTop; - } - if ( options.left != null ) { - props.left = ( options.left - curOffset.left ) + curLeft; - } - - if ( "using" in options ) { - options.using.call( elem, props ); - } else { - curElem.css( props ); - } - } -}; - - -jQuery.fn.extend({ - - position: function() { - if ( !this[ 0 ] ) { - return; - } - - var offsetParent, offset, - parentOffset = { top: 0, left: 0 }, - elem = this[ 0 ]; - - // fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is it's only offset parent - if ( jQuery.css( elem, "position" ) === "fixed" ) { - // we assume that getBoundingClientRect is available when computed position is fixed - offset = elem.getBoundingClientRect(); - } else { - // Get *real* offsetParent - offsetParent = this.offsetParent(); - - // Get correct offsets - offset = this.offset(); - if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) { - parentOffset = offsetParent.offset(); - } - - // Add offsetParent borders - parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true ); - parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true ); - } - - // Subtract parent offsets and element margins - // note: when an element has margin: auto the offsetLeft and marginLeft - // are the same in Safari causing offset.left to incorrectly be 0 - return { - top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ), - left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true) - }; - }, - - offsetParent: function() { - return this.map(function() { - var offsetParent = this.offsetParent || docElem; - while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position") === "static" ) ) { - offsetParent = offsetParent.offsetParent; - } - return offsetParent || docElem; - }); - } -}); - - -// Create scrollLeft and scrollTop methods -jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( method, prop ) { - var top = /Y/.test( prop ); - - jQuery.fn[ method ] = function( val ) { - return jQuery.access( this, function( elem, method, val ) { - var win = getWindow( elem ); - - if ( val === undefined ) { - return win ? (prop in win) ? win[ prop ] : - win.document.documentElement[ method ] : - elem[ method ]; - } - - if ( win ) { - win.scrollTo( - !top ? val : jQuery( win ).scrollLeft(), - top ? val : jQuery( win ).scrollTop() - ); - - } else { - elem[ method ] = val; - } - }, method, val, arguments.length, null ); - }; -}); - -function getWindow( elem ) { - return jQuery.isWindow( elem ) ? - elem : - elem.nodeType === 9 ? - elem.defaultView || elem.parentWindow : - false; -} -// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods -jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { - jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) { - // margin is only for outerHeight, outerWidth - jQuery.fn[ funcName ] = function( margin, value ) { - var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), - extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); - - return jQuery.access( this, function( elem, type, value ) { - var doc; - - if ( jQuery.isWindow( elem ) ) { - // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there - // isn't a whole lot we can do. See pull request at this URL for discussion: - // https://github.com/jquery/jquery/pull/764 - return elem.document.documentElement[ "client" + name ]; - } - - // Get document width or height - if ( elem.nodeType === 9 ) { - doc = elem.documentElement; - - // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest - // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it. - return Math.max( - elem.body[ "scroll" + name ], doc[ "scroll" + name ], - elem.body[ "offset" + name ], doc[ "offset" + name ], - doc[ "client" + name ] - ); - } - - return value === undefined ? - // Get width or height on the element, requesting but not forcing parseFloat - jQuery.css( elem, type, extra ) : - - // Set width or height on the element - jQuery.style( elem, type, value, extra ); - }, type, chainable ? margin : undefined, chainable, null ); - }; - }); -}); -// Limit scope pollution from any deprecated API -// (function() { - -// The number of elements contained in the matched element set -jQuery.fn.size = function() { - return this.length; -}; - -jQuery.fn.andSelf = jQuery.fn.addBack; - -// })(); -if ( typeof module === "object" && module && typeof module.exports === "object" ) { - // Expose jQuery as module.exports in loaders that implement the Node - // module pattern (including browserify). Do not create the global, since - // the user will be storing it themselves locally, and globals are frowned - // upon in the Node module world. - module.exports = jQuery; -} else { - // Otherwise expose jQuery to the global object as usual - window.jQuery = window.$ = jQuery; - - // Register as a named AMD module, since jQuery can be concatenated with other - // files that may use define, but not via a proper concatenation script that - // understands anonymous AMD modules. A named AMD is safest and most robust - // way to register. Lowercase jquery is used because AMD module names are - // derived from file names, and jQuery is normally delivered in a lowercase - // file name. Do this after creating the global so that if an AMD module wants - // to call noConflict to hide this version of jQuery, it will work. - if ( typeof define === "function" && define.amd ) { - define( "jquery", [], function () { return jQuery; } ); - } -} - -})( window ); diff --git a/goon/browserassets/js/twemoji.min.js b/goon/browserassets/js/twemoji.min.js deleted file mode 100644 index b6f0f3eda506..000000000000 --- a/goon/browserassets/js/twemoji.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Copyright Twitter Inc. and other contributors. Licensed under MIT */ -var twemoji=function(){"use strict";var twemoji={base:"https://twemoji.maxcdn.com/2/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:fromCodePoint,toCodePoint:toCodePoint},onerror:function onerror(){if(this.parentNode){this.parentNode.replaceChild(createText(this.alt),this)}},parse:parse,replace:replace,test:test},escaper={"&":"&","<":"<",">":">","'":"'",'"':"""},re=/\ud83d[\udc68-\udc69](?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92])|(?:\ud83c[\udfcb\udfcc]|\ud83d\udd75|\u26f9)(?:\ufe0f|\ud83c[\udffb-\udfff])\u200d[\u2640\u2642]\ufe0f|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd37-\udd39\udd3d\udd3e])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|(?:[\u0023\u002a\u0030-\u0039])\ufe0f?\u20e3|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd18-\udd1c\udd1e\udd26\udd30\udd33-\udd39\udd3d\udd3e]|[\u270a\u270b])(?:\ud83c[\udffb-\udfff]|)|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud800\udc00|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a-\udc6d\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\udeeb\udeec\udef4-\udef6]|\ud83e[\udd10-\udd17\udd1d\udd20-\udd25\udd27\udd3a\udd3c\udd40-\udd45\udd47-\udd4b\udd50-\udd5e\udd80-\udd91\uddc0]|[\u23e9-\u23ec\u23f0\u23f3\u2640\u2642\u2695\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a]|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u00a9\u00ae\u203c\u2049\u2122\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2694\u2696\u2697\u2699\u269b\u269c\u26a0\u26a1\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))/g,UFE0Fg=/\uFE0F/g,U200D=String.fromCharCode(8205),rescaper=/[&<>'"]/g,shouldntBeParsed=/IFRAME|NOFRAMES|NOSCRIPT|SCRIPT|SELECT|STYLE|TEXTAREA|[a-z]/,fromCharCode=String.fromCharCode;return twemoji;function createText(text){return document.createTextNode(text)}function escapeHTML(s){return s.replace(rescaper,replacer)}function defaultImageSrcGenerator(icon,options){return"".concat(options.base,options.size,"/",icon,options.ext)}function grabAllTextNodes(node,allText){var childNodes=node.childNodes,length=childNodes.length,subnode,nodeType;while(length--){subnode=childNodes[length];nodeType=subnode.nodeType;if(nodeType===3){allText.push(subnode)}else if(nodeType===1&&!shouldntBeParsed.test(subnode.nodeName)){grabAllTextNodes(subnode,allText)}}return allText}function grabTheRightIcon(rawText){return toCodePoint(rawText.indexOf(U200D)<0?rawText.replace(UFE0Fg,""):rawText)}function parseNode(node,options){var allText=grabAllTextNodes(node,[]),length=allText.length,attrib,attrname,modified,fragment,subnode,text,match,i,index,img,rawText,iconId,src;while(length--){modified=false;fragment=document.createDocumentFragment();subnode=allText[length];text=subnode.nodeValue;i=0;while(match=re.exec(text)){index=match.index;if(index!==i){fragment.appendChild(createText(text.slice(i,index)))}rawText=match[0];iconId=grabTheRightIcon(rawText);i=index+rawText.length;src=options.callback(iconId,options);if(src){img=new Image;img.onerror=options.onerror;img.setAttribute("draggable","false");attrib=options.attributes(rawText,iconId);for(attrname in attrib){if(attrib.hasOwnProperty(attrname)&&attrname.indexOf("on")!==0&&!img.hasAttribute(attrname)){img.setAttribute(attrname,attrib[attrname])}}img.className=options.className;img.alt=rawText;img.src=src;modified=true;fragment.appendChild(img)}if(!img)fragment.appendChild(createText(rawText));img=null}if(modified){if(i<text.length){fragment.appendChild(createText(text.slice(i)))}subnode.parentNode.replaceChild(fragment,subnode)}}return node}function parseString(str,options){return replace(str,function(rawText){var ret=rawText,iconId=grabTheRightIcon(rawText),src=options.callback(iconId,options),attrib,attrname;if(src){ret="<img ".concat('class="',options.className,'" ','draggable="false" ','alt="',rawText,'"',' src="',src,'"');attrib=options.attributes(rawText,iconId);for(attrname in attrib){if(attrib.hasOwnProperty(attrname)&&attrname.indexOf("on")!==0&&ret.indexOf(" "+attrname+"=")===-1){ret=ret.concat(" ",attrname,'="',escapeHTML(attrib[attrname]),'"')}}ret=ret.concat(">")}return ret})}function replacer(m){return escaper[m]}function returnNull(){return null}function toSizeSquaredAsset(value){return typeof value==="number"?value+"x"+value:value}function fromCodePoint(codepoint){var code=typeof codepoint==="string"?parseInt(codepoint,16):codepoint;if(code<65536){return fromCharCode(code)}code-=65536;return fromCharCode(55296+(code>>10),56320+(code&1023))}function parse(what,how){if(!how||typeof how==="function"){how={callback:how}}return(typeof what==="string"?parseString:parseNode)(what,{callback:how.callback||defaultImageSrcGenerator,attributes:typeof how.attributes==="function"?how.attributes:returnNull,base:typeof how.base==="string"?how.base:twemoji.base,ext:how.ext||twemoji.ext,size:how.folder||toSizeSquaredAsset(how.size||twemoji.size),className:how.className||twemoji.className,onerror:how.onerror||twemoji.onerror})}function replace(text,callback){return String(text).replace(re,callback)}function test(text){re.lastIndex=0;var result=re.test(text);re.lastIndex=0;return result}function toCodePoint(unicodeSurrogates,sep){var r=[],c=0,p=0,i=0;while(i<unicodeSurrogates.length){c=unicodeSurrogates.charCodeAt(i++);if(p){r.push((65536+(p-55296<<10)+(c-56320)).toString(16));p=0}else if(55296<=c&&c<=56319){p=c}else{r.push(c.toString(16))}}return r.join(sep||"-")}}(); \ No newline at end of file diff --git a/goon/browserassets/js/unicode_9_annotations.js b/goon/browserassets/js/unicode_9_annotations.js deleted file mode 100644 index 483e08d47ff3..000000000000 --- a/goon/browserassets/js/unicode_9_annotations.js +++ /dev/null @@ -1,1490 +0,0 @@ -var UNICODE_9_EMOJI = { - "+1": "👍", - "-1": "👎", - "100": "💯", - "1234": "🔢", - "1st_place_medal": "🥇", - "2nd_place_medal": "🥈", - "3rd_place_medal": "🥉", - "8ball": "🎱", - "a": "🅰️", - "ab": "🆎", - "abc": "🔤", - "abcd": "🔡", - "accept": "🉑", - "aerial_tramway": "🚡", - "afghanistan": "🇦🇫", - "airplane": "✈️", - "aland_islands": "🇦🇽", - "alarm_clock": "⏰", - "albania": "🇦🇱", - "alembic": "⚗️", - "algeria": "🇩🇿", - "alien": "👽", - "ambulance": "🚑", - "american_samoa": "🇦🇸", - "amphora": "🏺", - "anchor": "⚓️", - "andorra": "🇦🇩", - "angel": "👼", - "anger": "💢", - "angola": "🇦🇴", - "angry": "😠", - "anguilla": "🇦🇮", - "anguished": "😧", - "ant": "🐜", - "antarctica": "🇦🇶", - "antigua_barbuda": "🇦🇬", - "apple": "🍎", - "aquarius": "♒️", - "argentina": "🇦🇷", - "aries": "♈️", - "armenia": "🇦🇲", - "arrow_backward": "◀️", - "arrow_double_down": "⏬", - "arrow_double_up": "⏫", - "arrow_down": "⬇️", - "arrow_down_small": "🔽", - "arrow_forward": "▶️", - "arrow_heading_down": "⤵️", - "arrow_heading_up": "⤴️", - "arrow_left": "⬅️", - "arrow_lower_left": "↙️", - "arrow_lower_right": "↘️", - "arrow_right": "➡️", - "arrow_right_hook": "↪️", - "arrow_up": "⬆️", - "arrow_up_down": "↕️", - "arrow_up_small": "🔼", - "arrow_upper_left": "↖️", - "arrow_upper_right": "↗️", - "arrows_clockwise": "🔃", - "arrows_counterclockwise": "🔄", - "art": "🎨", - "articulated_lorry": "🚛", - "artificial_satellite": "🛰", - "aruba": "🇦🇼", - "asterisk": "*️⃣", - "astonished": "😲", - "athletic_shoe": "👟", - "atm": "🏧", - "atom_symbol": "⚛️", - "australia": "🇦🇺", - "austria": "🇦🇹", - "avocado": "🥑", - "azerbaijan": "🇦🇿", - "b": "🅱️", - "baby": "👶", - "baby_bottle": "🍼", - "baby_chick": "🐤", - "baby_symbol": "🚼", - "back": "🔙", - "bacon": "🥓", - "badminton": "🏸", - "baggage_claim": "🛄", - "baguette_bread": "🥖", - "bahamas": "🇧🇸", - "bahrain": "🇧🇭", - "balance_scale": "⚖️", - "balloon": "🎈", - "ballot_box": "🗳", - "ballot_box_with_check": "☑️", - "bamboo": "🎍", - "banana": "🍌", - "bangbang": "‼️", - "bangladesh": "🇧🇩", - "bank": "🏦", - "bar_chart": "📊", - "barbados": "🇧🇧", - "barber": "💈", - "baseball": "⚾️", - "basketball": "🏀", - "basketball_man": "⛹️", - "basketball_woman": "⛹️♀️", - "bat": "🦇", - "bath": "🛀", - "bathtub": "🛁", - "battery": "🔋", - "beach_umbrella": "🏖", - "bear": "🐻", - "bed": "🛏", - "bee": "🐝", - "beer": "🍺", - "beers": "🍻", - "beetle": "🐞", - "beginner": "🔰", - "belarus": "🇧🇾", - "belgium": "🇧🇪", - "belize": "🇧🇿", - "bell": "🔔", - "bellhop_bell": "🛎", - "benin": "🇧🇯", - "bento": "🍱", - "bermuda": "🇧🇲", - "bhutan": "🇧🇹", - "bicyclist": "🚴", - "bike": "🚲", - "biking_man": "🚴", - "biking_woman": "🚴♀️", - "bikini": "👙", - "biohazard": "☣️", - "bird": "🐦", - "birthday": "🎂", - "black_circle": "⚫️", - "black_flag": "🏴", - "black_heart": "🖤", - "black_joker": "🃏", - "black_large_square": "⬛️", - "black_medium_small_square": "◾️", - "black_medium_square": "◼️", - "black_nib": "✒️", - "black_small_square": "▪️", - "black_square_button": "🔲", - "blonde_man": "👱", - "blonde_woman": "👱♀️", - "blossom": "🌼", - "blowfish": "🐡", - "blue_book": "📘", - "blue_car": "🚙", - "blue_heart": "💙", - "blush": "😊", - "boar": "🐗", - "boat": "⛵️", - "bolivia": "🇧🇴", - "bomb": "💣", - "book": "📖", - "bookmark": "🔖", - "bookmark_tabs": "📑", - "books": "📚", - "boom": "💥", - "boot": "👢", - "bosnia_herzegovina": "🇧🇦", - "botswana": "🇧🇼", - "bouquet": "💐", - "bow": "🙇", - "bow_and_arrow": "🏹", - "bowing_man": "🙇", - "bowing_woman": "🙇♀️", - "bowling": "🎳", - "boxing_glove": "🥊", - "boy": "👦", - "brazil": "🇧🇷", - "bread": "🍞", - "bride_with_veil": "👰", - "bridge_at_night": "🌉", - "briefcase": "💼", - "british_indian_ocean_territory": "🇮🇴", - "british_virgin_islands": "🇻🇬", - "broken_heart": "💔", - "brunei": "🇧🇳", - "bug": "🐛", - "building_construction": "🏗", - "bulb": "💡", - "bulgaria": "🇧🇬", - "bullettrain_front": "🚅", - "bullettrain_side": "🚄", - "burkina_faso": "🇧🇫", - "burrito": "🌯", - "burundi": "🇧🇮", - "bus": "🚌", - "business_suit_levitating": "🕴", - "busstop": "🚏", - "bust_in_silhouette": "👤", - "busts_in_silhouette": "👥", - "butterfly": "🦋", - "cactus": "🌵", - "cake": "🍰", - "calendar": "📆", - "call_me_hand": "🤙", - "calling": "📲", - "cambodia": "🇰🇭", - "camel": "🐫", - "camera": "📷", - "camera_flash": "📸", - "cameroon": "🇨🇲", - "camping": "🏕", - "canada": "🇨🇦", - "canary_islands": "🇮🇨", - "cancer": "♋️", - "candle": "🕯", - "candy": "🍬", - "canoe": "🛶", - "cape_verde": "🇨🇻", - "capital_abcd": "🔠", - "capricorn": "♑️", - "car": "🚗", - "card_file_box": "🗃", - "card_index": "📇", - "card_index_dividers": "🗂", - "caribbean_netherlands": "🇧🇶", - "carousel_horse": "🎠", - "carrot": "🥕", - "cat": "🐱", - "cat2": "🐈", - "cayman_islands": "🇰🇾", - "cd": "💿", - "central_african_republic": "🇨🇫", - "chad": "🇹🇩", - "chains": "⛓", - "champagne": "🍾", - "chart": "💹", - "chart_with_downwards_trend": "📉", - "chart_with_upwards_trend": "📈", - "checkered_flag": "🏁", - "cheese": "🧀", - "cherries": "🍒", - "cherry_blossom": "🌸", - "chestnut": "🌰", - "chicken": "🐔", - "children_crossing": "🚸", - "chile": "🇨🇱", - "chipmunk": "🐿", - "chocolate_bar": "🍫", - "christmas_island": "🇨🇽", - "christmas_tree": "🎄", - "church": "⛪️", - "cinema": "🎦", - "circus_tent": "🎪", - "city_sunrise": "🌇", - "city_sunset": "🌆", - "cityscape": "🏙", - "cl": "🆑", - "clamp": "🗜", - "clap": "👏", - "clapper": "🎬", - "classical_building": "🏛", - "clinking_glasses": "🥂", - "clipboard": "📋", - "clock1": "🕐", - "clock10": "🕙", - "clock1030": "🕥", - "clock11": "🕚", - "clock1130": "🕦", - "clock12": "🕛", - "clock1230": "🕧", - "clock130": "🕜", - "clock2": "🕑", - "clock230": "🕝", - "clock3": "🕒", - "clock330": "🕞", - "clock4": "🕓", - "clock430": "🕟", - "clock5": "🕔", - "clock530": "🕠", - "clock6": "🕕", - "clock630": "🕡", - "clock7": "🕖", - "clock730": "🕢", - "clock8": "🕗", - "clock830": "🕣", - "clock9": "🕘", - "clock930": "🕤", - "closed_book": "📕", - "closed_lock_with_key": "🔐", - "closed_umbrella": "🌂", - "cloud": "☁️", - "cloud_with_lightning": "🌩", - "cloud_with_lightning_and_rain": "⛈", - "cloud_with_rain": "🌧", - "cloud_with_snow": "🌨", - "clown_face": "🤡", - "clubs": "♣️", - "cn": "🇨🇳", - "cocktail": "🍸", - "cocos_islands": "🇨🇨", - "coffee": "☕️", - "coffin": "⚰️", - "cold_sweat": "😰", - "collision": "💥", - "colombia": "🇨🇴", - "comet": "☄️", - "comoros": "🇰🇲", - "computer": "💻", - "computer_mouse": "🖱", - "confetti_ball": "🎊", - "confounded": "😖", - "confused": "😕", - "congo_brazzaville": "🇨🇬", - "congo_kinshasa": "🇨🇩", - "congratulations": "㊗️", - "construction": "🚧", - "construction_worker": "👷", - "construction_worker_man": "👷", - "construction_worker_woman": "👷♀️", - "control_knobs": "🎛", - "convenience_store": "🏪", - "cook_islands": "🇨🇰", - "cookie": "🍪", - "cool": "🆒", - "cop": "👮", - "copyright": "©️", - "corn": "🌽", - "costa_rica": "🇨🇷", - "cote_divoire": "🇨🇮", - "couch_and_lamp": "🛋", - "couple": "👫", - "couple_with_heart": "💑", - "couple_with_heart_man_man": "👨❤️👨", - "couple_with_heart_woman_man": "💑", - "couple_with_heart_woman_woman": "👩❤️👩", - "couplekiss_man_man": "👨❤️💋👨", - "couplekiss_man_woman": "💏", - "couplekiss_woman_woman": "👩❤️💋👩", - "cow": "🐮", - "cow2": "🐄", - "cowboy_hat_face": "🤠", - "crab": "🦀", - "crayon": "🖍", - "credit_card": "💳", - "crescent_moon": "🌙", - "cricket": "🏏", - "croatia": "🇭🇷", - "crocodile": "🐊", - "croissant": "🥐", - "crossed_fingers": "🤞", - "crossed_flags": "🎌", - "crossed_swords": "⚔️", - "crown": "👑", - "cry": "😢", - "crying_cat_face": "😿", - "crystal_ball": "🔮", - "cuba": "🇨🇺", - "cucumber": "🥒", - "cupid": "💘", - "curacao": "🇨🇼", - "curly_loop": "➰", - "currency_exchange": "💱", - "curry": "🍛", - "custard": "🍮", - "customs": "🛃", - "cyclone": "🌀", - "cyprus": "🇨🇾", - "czech_republic": "🇨🇿", - "dagger": "🗡", - "dancer": "💃", - "dancers": "👯", - "dancing_men": "👯♂️", - "dancing_women": "👯", - "dango": "🍡", - "dark_sunglasses": "🕶", - "dart": "🎯", - "dash": "💨", - "date": "📅", - "de": "🇩🇪", - "deciduous_tree": "🌳", - "deer": "🦌", - "denmark": "🇩🇰", - "department_store": "🏬", - "derelict_house": "🏚", - "desert": "🏜", - "desert_island": "🏝", - "desktop_computer": "🖥", - "detective": "🕵️", - "diamond_shape_with_a_dot_inside": "💠", - "diamonds": "♦️", - "disappointed": "😞", - "disappointed_relieved": "😥", - "dizzy": "💫", - "dizzy_face": "😵", - "djibouti": "🇩🇯", - "do_not_litter": "🚯", - "dog": "🐶", - "dog2": "🐕", - "dollar": "💵", - "dolls": "🎎", - "dolphin": "🐬", - "dominica": "🇩🇲", - "dominican_republic": "🇩🇴", - "door": "🚪", - "doughnut": "🍩", - "dove": "🕊", - "dragon": "🐉", - "dragon_face": "🐲", - "dress": "👗", - "dromedary_camel": "🐪", - "drooling_face": "🤤", - "droplet": "💧", - "drum": "🥁", - "duck": "🦆", - "dvd": "📀", - "e-mail": "📧", - "eagle": "🦅", - "ear": "👂", - "ear_of_rice": "🌾", - "earth_africa": "🌍", - "earth_americas": "🌎", - "earth_asia": "🌏", - "ecuador": "🇪🇨", - "egg": "🥚", - "eggplant": "🍆", - "egypt": "🇪🇬", - "eight": "8️⃣", - "eight_pointed_black_star": "✴️", - "eight_spoked_asterisk": "✳️", - "el_salvador": "🇸🇻", - "electric_plug": "🔌", - "elephant": "🐘", - "email": "✉️", - "end": "🔚", - "envelope": "✉️", - "envelope_with_arrow": "📩", - "equatorial_guinea": "🇬🇶", - "eritrea": "🇪🇷", - "es": "🇪🇸", - "estonia": "🇪🇪", - "ethiopia": "🇪🇹", - "eu": "🇪🇺", - "euro": "💶", - "european_castle": "🏰", - "european_post_office": "🏤", - "european_union": "🇪🇺", - "evergreen_tree": "🌲", - "exclamation": "❗️", - "expressionless": "😑", - "eye": "👁", - "eye_speech_bubble": "👁🗨", - "eyeglasses": "👓", - "eyes": "👀", - "face_with_head_bandage": "🤕", - "face_with_thermometer": "🤒", - "facepunch": "👊", - "factory": "🏭", - "falkland_islands": "🇫🇰", - "fallen_leaf": "🍂", - "family": "👪", - "family_man_boy": "👨👦", - "family_man_boy_boy": "👨👦👦", - "family_man_girl": "👨👧", - "family_man_girl_boy": "👨👧👦", - "family_man_girl_girl": "👨👧👧", - "family_man_man_boy": "👨👨👦", - "family_man_man_boy_boy": "👨👨👦👦", - "family_man_man_girl": "👨👨👧", - "family_man_man_girl_boy": "👨👨👧👦", - "family_man_man_girl_girl": "👨👨👧👧", - "family_man_woman_boy": "👪", - "family_man_woman_boy_boy": "👨👩👦👦", - "family_man_woman_girl": "👨👩👧", - "family_man_woman_girl_boy": "👨👩👧👦", - "family_man_woman_girl_girl": "👨👩👧👧", - "family_woman_boy": "👩👦", - "family_woman_boy_boy": "👩👦👦", - "family_woman_girl": "👩👧", - "family_woman_girl_boy": "👩👧👦", - "family_woman_girl_girl": "👩👧👧", - "family_woman_woman_boy": "👩👩👦", - "family_woman_woman_boy_boy": "👩👩👦👦", - "family_woman_woman_girl": "👩👩👧", - "family_woman_woman_girl_boy": "👩👩👧👦", - "family_woman_woman_girl_girl": "👩👩👧👧", - "faroe_islands": "🇫🇴", - "fast_forward": "⏩", - "fax": "📠", - "fearful": "😨", - "feet": "🐾", - "female_detective": "🕵️♀️", - "ferris_wheel": "🎡", - "ferry": "⛴", - "field_hockey": "🏑", - "fiji": "🇫🇯", - "file_cabinet": "🗄", - "file_folder": "📁", - "film_projector": "📽", - "film_strip": "🎞", - "finland": "🇫🇮", - "fire": "🔥", - "fire_engine": "🚒", - "fireworks": "🎆", - "first_quarter_moon": "🌓", - "first_quarter_moon_with_face": "🌛", - "fish": "🐟", - "fish_cake": "🍥", - "fishing_pole_and_fish": "🎣", - "fist": "✊", - "fist_left": "🤛", - "fist_oncoming": "👊", - "fist_raised": "✊", - "fist_right": "🤜", - "five": "5️⃣", - "flags": "🎏", - "flashlight": "🔦", - "fleur_de_lis": "⚜️", - "flight_arrival": "🛬", - "flight_departure": "🛫", - "flipper": "🐬", - "floppy_disk": "💾", - "flower_playing_cards": "🎴", - "flushed": "😳", - "fog": "🌫", - "foggy": "🌁", - "football": "🏈", - "footprints": "👣", - "fork_and_knife": "🍴", - "fountain": "⛲️", - "fountain_pen": "🖋", - "four": "4️⃣", - "four_leaf_clover": "🍀", - "fox_face": "🦊", - "fr": "🇫🇷", - "framed_picture": "🖼", - "free": "🆓", - "french_guiana": "🇬🇫", - "french_polynesia": "🇵🇫", - "french_southern_territories": "🇹🇫", - "fried_egg": "🍳", - "fried_shrimp": "🍤", - "fries": "🍟", - "frog": "🐸", - "frowning": "😦", - "frowning_face": "☹️", - "frowning_man": "🙍♂️", - "frowning_woman": "🙍", - "fu": "🖕", - "fuelpump": "⛽️", - "full_moon": "🌕", - "full_moon_with_face": "🌝", - "funeral_urn": "⚱️", - "gabon": "🇬🇦", - "gambia": "🇬🇲", - "game_die": "🎲", - "gb": "🇬🇧", - "gear": "⚙️", - "gem": "💎", - "gemini": "♊️", - "georgia": "🇬🇪", - "ghana": "🇬🇭", - "ghost": "👻", - "gibraltar": "🇬🇮", - "gift": "🎁", - "gift_heart": "💝", - "girl": "👧", - "globe_with_meridians": "🌐", - "goal_net": "🥅", - "goat": "🐐", - "golf": "⛳️", - "golfing_man": "🏌️", - "golfing_woman": "🏌️♀️", - "gorilla": "🦍", - "grapes": "🍇", - "greece": "🇬🇷", - "green_apple": "🍏", - "green_book": "📗", - "green_heart": "💚", - "green_salad": "🥗", - "greenland": "🇬🇱", - "grenada": "🇬🇩", - "grey_exclamation": "❕", - "grey_question": "❔", - "grimacing": "😬", - "grin": "😁", - "grinning": "😀", - "guadeloupe": "🇬🇵", - "guam": "🇬🇺", - "guardsman": "💂", - "guardswoman": "💂♀️", - "guatemala": "🇬🇹", - "guernsey": "🇬🇬", - "guinea": "🇬🇳", - "guinea_bissau": "🇬🇼", - "guitar": "🎸", - "gun": "🔫", - "guyana": "🇬🇾", - "haircut": "💇", - "haircut_man": "💇♂️", - "haircut_woman": "💇", - "haiti": "🇭🇹", - "hamburger": "🍔", - "hammer": "🔨", - "hammer_and_pick": "⚒", - "hammer_and_wrench": "🛠", - "hamster": "🐹", - "hand": "✋", - "handbag": "👜", - "handshake": "🤝", - "hankey": "💩", - "hash": "#️⃣", - "hatched_chick": "🐥", - "hatching_chick": "🐣", - "headphones": "🎧", - "hear_no_evil": "🙉", - "heart": "❤️", - "heart_decoration": "💟", - "heart_eyes": "😍", - "heart_eyes_cat": "😻", - "heartbeat": "💓", - "heartpulse": "💗", - "hearts": "♥️", - "heavy_check_mark": "✔️", - "heavy_division_sign": "➗", - "heavy_dollar_sign": "💲", - "heavy_exclamation_mark": "❗️", - "heavy_heart_exclamation": "❣️", - "heavy_minus_sign": "➖", - "heavy_multiplication_x": "✖️", - "heavy_plus_sign": "➕", - "helicopter": "🚁", - "herb": "🌿", - "hibiscus": "🌺", - "high_brightness": "🔆", - "high_heel": "👠", - "hocho": "🔪", - "hole": "🕳", - "honduras": "🇭🇳", - "honey_pot": "🍯", - "honeybee": "🐝", - "hong_kong": "🇭🇰", - "horse": "🐴", - "horse_racing": "🏇", - "hospital": "🏥", - "hot_pepper": "🌶", - "hotdog": "🌭", - "hotel": "🏨", - "hotsprings": "♨️", - "hourglass": "⌛️", - "hourglass_flowing_sand": "⏳", - "house": "🏠", - "house_with_garden": "🏡", - "houses": "🏘", - "hugs": "🤗", - "hungary": "🇭🇺", - "hushed": "😯", - "ice_cream": "🍨", - "ice_hockey": "🏒", - "ice_skate": "⛸", - "icecream": "🍦", - "iceland": "🇮🇸", - "id": "🆔", - "ideograph_advantage": "🉐", - "imp": "👿", - "inbox_tray": "📥", - "incoming_envelope": "📨", - "india": "🇮🇳", - "indonesia": "🇮🇩", - "information_desk_person": "💁", - "information_source": "ℹ️", - "innocent": "😇", - "interrobang": "⁉️", - "iphone": "📱", - "iran": "🇮🇷", - "iraq": "🇮🇶", - "ireland": "🇮🇪", - "isle_of_man": "🇮🇲", - "israel": "🇮🇱", - "it": "🇮🇹", - "izakaya_lantern": "🏮", - "jack_o_lantern": "🎃", - "jamaica": "🇯🇲", - "japan": "🗾", - "japanese_castle": "🏯", - "japanese_goblin": "👺", - "japanese_ogre": "👹", - "jeans": "👖", - "jersey": "🇯🇪", - "jordan": "🇯🇴", - "joy": "😂", - "joy_cat": "😹", - "joystick": "🕹", - "jp": "🇯🇵", - "kaaba": "🕋", - "kazakhstan": "🇰🇿", - "kenya": "🇰🇪", - "key": "🔑", - "keyboard": "⌨️", - "keycap_ten": "🔟", - "kick_scooter": "🛴", - "kimono": "👘", - "kiribati": "🇰🇮", - "kiss": "💋", - "kissing": "😗", - "kissing_cat": "😽", - "kissing_closed_eyes": "😚", - "kissing_heart": "😘", - "kissing_smiling_eyes": "😙", - "kiwi_fruit": "🥝", - "knife": "🔪", - "koala": "🐨", - "koko": "🈁", - "kosovo": "🇽🇰", - "kr": "🇰🇷", - "kuwait": "🇰🇼", - "kyrgyzstan": "🇰🇬", - "label": "🏷", - "lantern": "🏮", - "laos": "🇱🇦", - "large_blue_circle": "🔵", - "large_blue_diamond": "🔷", - "large_orange_diamond": "🔶", - "last_quarter_moon": "🌗", - "last_quarter_moon_with_face": "🌜", - "latin_cross": "✝️", - "latvia": "🇱🇻", - "laughing": "😆", - "leaves": "🍃", - "lebanon": "🇱🇧", - "ledger": "📒", - "left_luggage": "🛅", - "left_right_arrow": "↔️", - "leftwards_arrow_with_hook": "↩️", - "lemon": "🍋", - "leo": "♌️", - "leopard": "🐆", - "lesotho": "🇱🇸", - "level_slider": "🎚", - "liberia": "🇱🇷", - "libra": "♎️", - "libya": "🇱🇾", - "liechtenstein": "🇱🇮", - "light_rail": "🚈", - "link": "🔗", - "lion": "🦁", - "lips": "👄", - "lipstick": "💄", - "lithuania": "🇱🇹", - "lizard": "🦎", - "lock": "🔒", - "lock_with_ink_pen": "🔏", - "lollipop": "🍭", - "loop": "➿", - "loud_sound": "🔊", - "loudspeaker": "📢", - "love_hotel": "🏩", - "love_letter": "💌", - "low_brightness": "🔅", - "luxembourg": "🇱🇺", - "lying_face": "🤥", - "m": "Ⓜ️", - "macau": "🇲🇴", - "macedonia": "🇲🇰", - "madagascar": "🇲🇬", - "mag": "🔍", - "mag_right": "🔎", - "mahjong": "🀄️", - "mailbox": "📫", - "mailbox_closed": "📪", - "mailbox_with_mail": "📬", - "mailbox_with_no_mail": "📭", - "malawi": "🇲🇼", - "malaysia": "🇲🇾", - "maldives": "🇲🇻", - "male_detective": "🕵️", - "mali": "🇲🇱", - "malta": "🇲🇹", - "man": "👨", - "man_artist": "👨🎨", - "man_astronaut": "👨🚀", - "man_cartwheeling": "🤸♂️", - "man_cook": "👨🍳", - "man_dancing": "🕺", - "man_facepalming": "🤦♂️", - "man_factory_worker": "👨🏭", - "man_farmer": "👨🌾", - "man_firefighter": "👨🚒", - "man_health_worker": "👨⚕️", - "man_in_tuxedo": "🤵", - "man_judge": "👨⚖️", - "man_juggling": "🤹♂️", - "man_mechanic": "👨🔧", - "man_office_worker": "👨💼", - "man_pilot": "👨✈️", - "man_playing_handball": "🤾♂️", - "man_playing_water_polo": "🤽♂️", - "man_scientist": "👨🔬", - "man_shrugging": "🤷♂️", - "man_singer": "👨🎤", - "man_student": "👨🎓", - "man_teacher": "👨🏫", - "man_technologist": "👨💻", - "man_with_gua_pi_mao": "👲", - "man_with_turban": "👳", - "mandarin": "🍊", - "mans_shoe": "👞", - "mantelpiece_clock": "🕰", - "maple_leaf": "🍁", - "marshall_islands": "🇲🇭", - "martial_arts_uniform": "🥋", - "martinique": "🇲🇶", - "mask": "😷", - "massage": "💆", - "massage_man": "💆♂️", - "massage_woman": "💆", - "mauritania": "🇲🇷", - "mauritius": "🇲🇺", - "mayotte": "🇾🇹", - "meat_on_bone": "🍖", - "medal_military": "🎖", - "medal_sports": "🏅", - "mega": "📣", - "melon": "🍈", - "memo": "📝", - "men_wrestling": "🤼♂️", - "menorah": "🕎", - "mens": "🚹", - "metal": "🤘", - "metro": "🚇", - "mexico": "🇲🇽", - "micronesia": "🇫🇲", - "microphone": "🎤", - "microscope": "🔬", - "middle_finger": "🖕", - "milk_glass": "🥛", - "milky_way": "🌌", - "minibus": "🚐", - "minidisc": "💽", - "mobile_phone_off": "📴", - "moldova": "🇲🇩", - "monaco": "🇲🇨", - "money_mouth_face": "🤑", - "money_with_wings": "💸", - "moneybag": "💰", - "mongolia": "🇲🇳", - "monkey": "🐒", - "monkey_face": "🐵", - "monorail": "🚝", - "montenegro": "🇲🇪", - "montserrat": "🇲🇸", - "moon": "🌔", - "morocco": "🇲🇦", - "mortar_board": "🎓", - "mosque": "🕌", - "motor_boat": "🛥", - "motor_scooter": "🛵", - "motorcycle": "🏍", - "motorway": "🛣", - "mount_fuji": "🗻", - "mountain": "⛰", - "mountain_bicyclist": "🚵", - "mountain_biking_man": "🚵", - "mountain_biking_woman": "🚵♀️", - "mountain_cableway": "🚠", - "mountain_railway": "🚞", - "mountain_snow": "🏔", - "mouse": "🐭", - "mouse2": "🐁", - "movie_camera": "🎥", - "moyai": "🗿", - "mozambique": "🇲🇿", - "mrs_claus": "🤶", - "muscle": "💪", - "mushroom": "🍄", - "musical_keyboard": "🎹", - "musical_note": "🎵", - "musical_score": "🎼", - "mute": "🔇", - "myanmar": "🇲🇲", - "nail_care": "💅", - "name_badge": "📛", - "namibia": "🇳🇦", - "national_park": "🏞", - "nauru": "🇳🇷", - "nauseated_face": "🤢", - "necktie": "👔", - "negative_squared_cross_mark": "❎", - "nepal": "🇳🇵", - "nerd_face": "🤓", - "netherlands": "🇳🇱", - "neutral_face": "😐", - "new": "🆕", - "new_caledonia": "🇳🇨", - "new_moon": "🌑", - "new_moon_with_face": "🌚", - "new_zealand": "🇳🇿", - "newspaper": "📰", - "newspaper_roll": "🗞", - "next_track_button": "⏭", - "ng": "🆖", - "ng_man": "🙅♂️", - "ng_woman": "🙅", - "nicaragua": "🇳🇮", - "niger": "🇳🇪", - "nigeria": "🇳🇬", - "night_with_stars": "🌃", - "nine": "9️⃣", - "niue": "🇳🇺", - "no_bell": "🔕", - "no_bicycles": "🚳", - "no_entry": "⛔️", - "no_entry_sign": "🚫", - "no_good": "🙅", - "no_good_man": "🙅♂️", - "no_good_woman": "🙅", - "no_mobile_phones": "📵", - "no_mouth": "😶", - "no_pedestrians": "🚷", - "no_smoking": "🚭", - "non-potable_water": "🚱", - "norfolk_island": "🇳🇫", - "north_korea": "🇰🇵", - "northern_mariana_islands": "🇲🇵", - "norway": "🇳🇴", - "nose": "👃", - "notebook": "📓", - "notebook_with_decorative_cover": "📔", - "notes": "🎶", - "nut_and_bolt": "🔩", - "o": "⭕️", - "o2": "🅾️", - "ocean": "🌊", - "octopus": "🐙", - "oden": "🍢", - "office": "🏢", - "oil_drum": "🛢", - "ok": "🆗", - "ok_hand": "👌", - "ok_man": "🙆♂️", - "ok_woman": "🙆", - "old_key": "🗝", - "older_man": "👴", - "older_woman": "👵", - "om": "🕉", - "oman": "🇴🇲", - "on": "🔛", - "oncoming_automobile": "🚘", - "oncoming_bus": "🚍", - "oncoming_police_car": "🚔", - "oncoming_taxi": "🚖", - "one": "1️⃣", - "open_book": "📖", - "open_file_folder": "📂", - "open_hands": "👐", - "open_mouth": "😮", - "open_umbrella": "☂️", - "ophiuchus": "⛎", - "orange": "🍊", - "orange_book": "📙", - "orthodox_cross": "☦️", - "outbox_tray": "📤", - "owl": "🦉", - "ox": "🐂", - "package": "📦", - "page_facing_up": "📄", - "page_with_curl": "📃", - "pager": "📟", - "paintbrush": "🖌", - "pakistan": "🇵🇰", - "palau": "🇵🇼", - "palestinian_territories": "🇵🇸", - "palm_tree": "🌴", - "panama": "🇵🇦", - "pancakes": "🥞", - "panda_face": "🐼", - "paperclip": "📎", - "paperclips": "🖇", - "papua_new_guinea": "🇵🇬", - "paraguay": "🇵🇾", - "parasol_on_ground": "⛱", - "parking": "🅿️", - "part_alternation_mark": "〽️", - "partly_sunny": "⛅️", - "passenger_ship": "🛳", - "passport_control": "🛂", - "pause_button": "⏸", - "paw_prints": "🐾", - "peace_symbol": "☮️", - "peach": "🍑", - "peanuts": "🥜", - "pear": "🍐", - "pen": "🖊", - "pencil": "📝", - "pencil2": "✏️", - "penguin": "🐧", - "pensive": "😔", - "performing_arts": "🎭", - "persevere": "😣", - "person_fencing": "🤺", - "person_frowning": "🙍", - "person_with_blond_hair": "👱", - "person_with_pouting_face": "🙎", - "peru": "🇵🇪", - "philippines": "🇵🇭", - "phone": "☎️", - "pick": "⛏", - "pig": "🐷", - "pig2": "🐖", - "pig_nose": "🐽", - "pill": "💊", - "pineapple": "🍍", - "ping_pong": "🏓", - "pisces": "♓️", - "pitcairn_islands": "🇵🇳", - "pizza": "🍕", - "place_of_worship": "🛐", - "plate_with_cutlery": "🍽", - "play_or_pause_button": "⏯", - "point_down": "👇", - "point_left": "👈", - "point_right": "👉", - "point_up": "☝️", - "point_up_2": "👆", - "poland": "🇵🇱", - "police_car": "🚓", - "policeman": "👮", - "policewoman": "👮♀️", - "poodle": "🐩", - "poop": "💩", - "popcorn": "🍿", - "portugal": "🇵🇹", - "post_office": "🏣", - "postal_horn": "📯", - "postbox": "📮", - "potable_water": "🚰", - "potato": "🥔", - "pouch": "👝", - "poultry_leg": "🍗", - "pound": "💷", - "pout": "😡", - "pouting_cat": "😾", - "pouting_man": "🙎♂️", - "pouting_woman": "🙎", - "pray": "🙏", - "prayer_beads": "📿", - "pregnant_woman": "🤰", - "previous_track_button": "⏮", - "prince": "🤴", - "princess": "👸", - "printer": "🖨", - "puerto_rico": "🇵🇷", - "punch": "👊", - "purple_heart": "💜", - "purse": "👛", - "pushpin": "📌", - "put_litter_in_its_place": "🚮", - "qatar": "🇶🇦", - "question": "❓", - "rabbit": "🐰", - "rabbit2": "🐇", - "racehorse": "🐎", - "racing_car": "🏎", - "radio": "📻", - "radio_button": "🔘", - "radioactive": "☢️", - "rage": "😡", - "railway_car": "🚃", - "railway_track": "🛤", - "rainbow": "🌈", - "rainbow_flag": "🏳️🌈", - "raised_back_of_hand": "🤚", - "raised_hand": "✋", - "raised_hand_with_fingers_splayed": "🖐", - "raised_hands": "🙌", - "raising_hand": "🙋", - "raising_hand_man": "🙋♂️", - "raising_hand_woman": "🙋", - "ram": "🐏", - "ramen": "🍜", - "rat": "🐀", - "record_button": "⏺", - "recycle": "♻️", - "red_car": "🚗", - "red_circle": "🔴", - "registered": "®️", - "relaxed": "☺️", - "relieved": "😌", - "reminder_ribbon": "🎗", - "repeat": "🔁", - "repeat_one": "🔂", - "rescue_worker_helmet": "⛑", - "restroom": "🚻", - "reunion": "🇷🇪", - "revolving_hearts": "💞", - "rewind": "⏪", - "rhinoceros": "🦏", - "ribbon": "🎀", - "rice": "🍚", - "rice_ball": "🍙", - "rice_cracker": "🍘", - "rice_scene": "🎑", - "right_anger_bubble": "🗯", - "ring": "💍", - "robot": "🤖", - "rocket": "🚀", - "rofl": "🤣", - "roll_eyes": "🙄", - "roller_coaster": "🎢", - "romania": "🇷🇴", - "rooster": "🐓", - "rose": "🌹", - "rosette": "🏵", - "rotating_light": "🚨", - "round_pushpin": "📍", - "rowboat": "🚣", - "rowing_man": "🚣", - "rowing_woman": "🚣♀️", - "ru": "🇷🇺", - "rugby_football": "🏉", - "runner": "🏃", - "running": "🏃", - "running_man": "🏃", - "running_shirt_with_sash": "🎽", - "running_woman": "🏃♀️", - "rwanda": "🇷🇼", - "sa": "🈂️", - "sagittarius": "♐️", - "sailboat": "⛵️", - "sake": "🍶", - "samoa": "🇼🇸", - "san_marino": "🇸🇲", - "sandal": "👡", - "santa": "🎅", - "sao_tome_principe": "🇸🇹", - "satellite": "📡", - "satisfied": "😆", - "saudi_arabia": "🇸🇦", - "saxophone": "🎷", - "school": "🏫", - "school_satchel": "🎒", - "scissors": "✂️", - "scorpion": "🦂", - "scorpius": "♏️", - "scream": "😱", - "scream_cat": "🙀", - "scroll": "📜", - "seat": "💺", - "secret": "㊙️", - "see_no_evil": "🙈", - "seedling": "🌱", - "selfie": "🤳", - "senegal": "🇸🇳", - "serbia": "🇷🇸", - "seven": "7️⃣", - "seychelles": "🇸🇨", - "shallow_pan_of_food": "🥘", - "shamrock": "☘️", - "shark": "🦈", - "shaved_ice": "🍧", - "sheep": "🐑", - "shell": "🐚", - "shield": "🛡", - "shinto_shrine": "⛩", - "ship": "🚢", - "shirt": "👕", - "shit": "💩", - "shoe": "👞", - "shopping": "🛍", - "shopping_cart": "🛒", - "shower": "🚿", - "shrimp": "🦐", - "sierra_leone": "🇸🇱", - "signal_strength": "📶", - "singapore": "🇸🇬", - "sint_maarten": "🇸🇽", - "six": "6️⃣", - "six_pointed_star": "🔯", - "ski": "🎿", - "skier": "⛷", - "skull": "💀", - "skull_and_crossbones": "☠️", - "sleeping": "😴", - "sleeping_bed": "🛌", - "sleepy": "😪", - "slightly_frowning_face": "🙁", - "slightly_smiling_face": "🙂", - "slot_machine": "🎰", - "slovakia": "🇸🇰", - "slovenia": "🇸🇮", - "small_airplane": "🛩", - "small_blue_diamond": "🔹", - "small_orange_diamond": "🔸", - "small_red_triangle": "🔺", - "small_red_triangle_down": "🔻", - "smile": "😄", - "smile_cat": "😸", - "smiley": "😃", - "smiley_cat": "😺", - "smiling_imp": "😈", - "smirk": "😏", - "smirk_cat": "😼", - "smoking": "🚬", - "snail": "🐌", - "snake": "🐍", - "sneezing_face": "🤧", - "snowboarder": "🏂", - "snowflake": "❄️", - "snowman": "⛄️", - "snowman_with_snow": "☃️", - "sob": "😭", - "soccer": "⚽️", - "solomon_islands": "🇸🇧", - "somalia": "🇸🇴", - "soon": "🔜", - "sos": "🆘", - "sound": "🔉", - "south_africa": "🇿🇦", - "south_georgia_south_sandwich_islands": "🇬🇸", - "south_sudan": "🇸🇸", - "space_invader": "👾", - "spades": "♠️", - "spaghetti": "🍝", - "sparkle": "❇️", - "sparkler": "🎇", - "sparkles": "✨", - "sparkling_heart": "💖", - "speak_no_evil": "🙊", - "speaker": "🔈", - "speaking_head": "🗣", - "speech_balloon": "💬", - "speedboat": "🚤", - "spider": "🕷", - "spider_web": "🕸", - "spiral_calendar": "🗓", - "spiral_notepad": "🗒", - "spoon": "🥄", - "squid": "🦑", - "sri_lanka": "🇱🇰", - "st_barthelemy": "🇧🇱", - "st_helena": "🇸🇭", - "st_kitts_nevis": "🇰🇳", - "st_lucia": "🇱🇨", - "st_pierre_miquelon": "🇵🇲", - "st_vincent_grenadines": "🇻🇨", - "stadium": "🏟", - "star": "⭐️", - "star2": "🌟", - "star_and_crescent": "☪️", - "star_of_david": "✡️", - "stars": "🌠", - "station": "🚉", - "statue_of_liberty": "🗽", - "steam_locomotive": "🚂", - "stew": "🍲", - "stop_button": "⏹", - "stop_sign": "🛑", - "stopwatch": "⏱", - "straight_ruler": "📏", - "strawberry": "🍓", - "stuck_out_tongue": "😛", - "stuck_out_tongue_closed_eyes": "😝", - "stuck_out_tongue_winking_eye": "😜", - "studio_microphone": "🎙", - "stuffed_flatbread": "🥙", - "sudan": "🇸🇩", - "sun_behind_large_cloud": "🌥", - "sun_behind_rain_cloud": "🌦", - "sun_behind_small_cloud": "🌤", - "sun_with_face": "🌞", - "sunflower": "🌻", - "sunglasses": "😎", - "sunny": "☀️", - "sunrise": "🌅", - "sunrise_over_mountains": "🌄", - "surfer": "🏄", - "surfing_man": "🏄", - "surfing_woman": "🏄♀️", - "suriname": "🇸🇷", - "sushi": "🍣", - "suspension_railway": "🚟", - "swaziland": "🇸🇿", - "sweat": "😓", - "sweat_drops": "💦", - "sweat_smile": "😅", - "sweden": "🇸🇪", - "sweet_potato": "🍠", - "swimmer": "🏊", - "swimming_man": "🏊", - "swimming_woman": "🏊♀️", - "switzerland": "🇨🇭", - "symbols": "🔣", - "synagogue": "🕍", - "syria": "🇸🇾", - "syringe": "💉", - "taco": "🌮", - "tada": "🎉", - "taiwan": "🇹🇼", - "tajikistan": "🇹🇯", - "tanabata_tree": "🎋", - "tangerine": "🍊", - "tanzania": "🇹🇿", - "taurus": "♉️", - "taxi": "🚕", - "tea": "🍵", - "telephone": "☎️", - "telephone_receiver": "📞", - "telescope": "🔭", - "tennis": "🎾", - "tent": "⛺️", - "thailand": "🇹🇭", - "thermometer": "🌡", - "thinking": "🤔", - "thought_balloon": "💭", - "three": "3️⃣", - "thumbsdown": "👎", - "thumbsup": "👍", - "ticket": "🎫", - "tickets": "🎟", - "tiger": "🐯", - "tiger2": "🐅", - "timer_clock": "⏲", - "timor_leste": "🇹🇱", - "tipping_hand_man": "💁♂️", - "tipping_hand_woman": "💁", - "tired_face": "😫", - "tm": "™️", - "togo": "🇹🇬", - "toilet": "🚽", - "tokelau": "🇹🇰", - "tokyo_tower": "🗼", - "tomato": "🍅", - "tonga": "🇹🇴", - "tongue": "👅", - "top": "🔝", - "tophat": "🎩", - "tornado": "🌪", - "tr": "🇹🇷", - "trackball": "🖲", - "tractor": "🚜", - "traffic_light": "🚥", - "train": "🚋", - "train2": "🚆", - "tram": "🚊", - "triangular_flag_on_post": "🚩", - "triangular_ruler": "📐", - "trident": "🔱", - "trinidad_tobago": "🇹🇹", - "triumph": "😤", - "trolleybus": "🚎", - "trophy": "🏆", - "tropical_drink": "🍹", - "tropical_fish": "🐠", - "truck": "🚚", - "trumpet": "🎺", - "tshirt": "👕", - "tulip": "🌷", - "tumbler_glass": "🥃", - "tunisia": "🇹🇳", - "turkey": "🦃", - "turkmenistan": "🇹🇲", - "turks_caicos_islands": "🇹🇨", - "turtle": "🐢", - "tuvalu": "🇹🇻", - "tv": "📺", - "twisted_rightwards_arrows": "🔀", - "two": "2️⃣", - "two_hearts": "💕", - "two_men_holding_hands": "👬", - "two_women_holding_hands": "👭", - "u5272": "🈹", - "u5408": "🈴", - "u55b6": "🈺", - "u6307": "🈯️", - "u6708": "🈷️", - "u6709": "🈶", - "u6e80": "🈵", - "u7121": "🈚️", - "u7533": "🈸", - "u7981": "🈲", - "u7a7a": "🈳", - "uganda": "🇺🇬", - "uk": "🇬🇧", - "ukraine": "🇺🇦", - "umbrella": "☔️", - "unamused": "😒", - "underage": "🔞", - "unicorn": "🦄", - "united_arab_emirates": "🇦🇪", - "unlock": "🔓", - "up": "🆙", - "upside_down_face": "🙃", - "uruguay": "🇺🇾", - "us": "🇺🇸", - "us_virgin_islands": "🇻🇮", - "uzbekistan": "🇺🇿", - "v": "✌️", - "vanuatu": "🇻🇺", - "vatican_city": "🇻🇦", - "venezuela": "🇻🇪", - "vertical_traffic_light": "🚦", - "vhs": "📼", - "vibration_mode": "📳", - "video_camera": "📹", - "video_game": "🎮", - "vietnam": "🇻🇳", - "violin": "🎻", - "virgo": "♍️", - "volcano": "🌋", - "volleyball": "🏐", - "vs": "🆚", - "vulcan_salute": "🖖", - "walking": "🚶", - "walking_man": "🚶", - "walking_woman": "🚶♀️", - "wallis_futuna": "🇼🇫", - "waning_crescent_moon": "🌘", - "waning_gibbous_moon": "🌖", - "warning": "⚠️", - "wastebasket": "🗑", - "watch": "⌚️", - "water_buffalo": "🐃", - "watermelon": "🍉", - "wave": "👋", - "wavy_dash": "〰️", - "waxing_crescent_moon": "🌒", - "waxing_gibbous_moon": "🌔", - "wc": "🚾", - "weary": "😩", - "wedding": "💒", - "weight_lifting_man": "🏋️", - "weight_lifting_woman": "🏋️♀️", - "western_sahara": "🇪🇭", - "whale": "🐳", - "whale2": "🐋", - "wheel_of_dharma": "☸️", - "wheelchair": "♿️", - "white_check_mark": "✅", - "white_circle": "⚪️", - "white_flag": "🏳️", - "white_flower": "💮", - "white_large_square": "⬜️", - "white_medium_small_square": "◽️", - "white_medium_square": "◻️", - "white_small_square": "▫️", - "white_square_button": "🔳", - "wilted_flower": "🥀", - "wind_chime": "🎐", - "wind_face": "🌬", - "wine_glass": "🍷", - "wink": "😉", - "wolf": "🐺", - "woman": "👩", - "woman_artist": "👩🎨", - "woman_astronaut": "👩🚀", - "woman_cartwheeling": "🤸♀️", - "woman_cook": "👩🍳", - "woman_facepalming": "🤦♀️", - "woman_factory_worker": "👩🏭", - "woman_farmer": "👩🌾", - "woman_firefighter": "👩🚒", - "woman_health_worker": "👩⚕️", - "woman_judge": "👩⚖️", - "woman_juggling": "🤹♀️", - "woman_mechanic": "👩🔧", - "woman_office_worker": "👩💼", - "woman_pilot": "👩✈️", - "woman_playing_handball": "🤾♀️", - "woman_playing_water_polo": "🤽♀️", - "woman_scientist": "👩🔬", - "woman_shrugging": "🤷♀️", - "woman_singer": "👩🎤", - "woman_student": "👩🎓", - "woman_teacher": "👩🏫", - "woman_technologist": "👩💻", - "woman_with_turban": "👳♀️", - "womans_clothes": "👚", - "womans_hat": "👒", - "women_wrestling": "🤼♀️", - "womens": "🚺", - "world_map": "🗺", - "worried": "😟", - "wrench": "🔧", - "writing_hand": "✍️", - "x": "❌", - "yellow_heart": "💛", - "yemen": "🇾🇪", - "yen": "💴", - "yin_yang": "☯️", - "yum": "😋", - "zambia": "🇿🇲", - "zap": "⚡️", - "zero": "0️⃣", - "zimbabwe": "🇿🇼", - "zipper_mouth_face": "🤐", - "zzz": "💤" -}; diff --git a/html/statbrowser.js b/html/statbrowser.js index 8b9f9dd76496..7fa1a1f8bcc2 100644 --- a/html/statbrowser.js +++ b/html/statbrowser.js @@ -536,19 +536,19 @@ function draw_verbs(cat) { function set_theme(which) { if (which == "light") { document.body.className = ""; - set_style_sheet("browserOutput_white"); + set_style_sheet('chat_panel_white'); } else if (which == "dark") { document.body.className = "dark"; - set_style_sheet("browserOutput"); + set_style_sheet('chat_panel'); } else if (which == "ntos") { document.body.className = "ntos"; - set_style_sheet("browserOutput_ntos"); + set_style_sheet('chat_panel_ntos'); } else if (which == "paradise") { document.body.className = "paradise"; - set_style_sheet("browserOutput_paradise"); + set_style_sheet('chat_panel_paradise'); } else if (which == "syndicate") { document.body.className = "syndicate"; - set_style_sheet("browserOutput_syndicate"); + set_style_sheet('chat_panel_syndicate'); } } diff --git a/icons/obj/chemical.dmi b/icons/obj/chemical.dmi index dc35acf4a2da..b4c5d6bafaf0 100644 Binary files a/icons/obj/chemical.dmi and b/icons/obj/chemical.dmi differ diff --git a/icons/obj/hydroponics/equipment.dmi b/icons/obj/hydroponics/equipment.dmi index aca66699d706..e7afa97a8156 100644 Binary files a/icons/obj/hydroponics/equipment.dmi and b/icons/obj/hydroponics/equipment.dmi differ diff --git a/icons/ui_icons/emoji.dmi b/icons/ui_icons/emoji.dmi new file mode 100644 index 000000000000..b0adcba15e5f Binary files /dev/null and b/icons/ui_icons/emoji.dmi differ diff --git a/icons/safe_dial.png b/icons/ui_icons/safe_dial.png similarity index 100% rename from icons/safe_dial.png rename to icons/ui_icons/safe_dial.png diff --git a/interface/skin.dmf b/interface/skin.dmf index 2b3242ac94da..6af51ad3f305 100644 --- a/interface/skin.dmf +++ b/interface/skin.dmf @@ -355,7 +355,7 @@ window "outputwindow" command = ".winset \"mebutton.is-checked=true ? input.command=\"!me \\\"\" : input.command=\"\"mebutton.is-checked=true ? saybutton.is-checked=false\"\"mebutton.is-checked=true ? oocbutton.is-checked=false\"" is-flat = true button-type = pushbox - elem "browseroutput" + elem "chat_panel" type = BROWSER pos = 0,0 size = 640x456 diff --git a/modular_ss220/antagonists/code/mind/memory_edit.dm b/modular_ss220/antagonists/code/mind/memory_edit.dm index 3ae318daf3ed..fbae99d8eeba 100644 --- a/modular_ss220/antagonists/code/mind/memory_edit.dm +++ b/modular_ss220/antagonists/code/mind/memory_edit.dm @@ -1,9 +1,9 @@ /datum/mind/proc/memory_edit_blood_brother() . = _memory_edit_header("blood brother") if(has_antag_datum(/datum/antagonist/blood_brother)) - . += "<b><font color='red'>BLOOD BROTHER</font></b>|<a href='?src=[UID()];blood_brother=clear'>Remove</a>" + . += "<b><font color='red'>BLOOD BROTHER</font></b>|<a href='byond://?src=[UID()];blood_brother=clear'>Remove</a>" else - . += "<a href='?src=[UID()];blood_brother=make'>Make Blood Brother</a>" + . += "<a href='byond://?src=[UID()];blood_brother=make'>Make Blood Brother</a>" . += _memory_edit_role_enabled(ROLE_BLOOD_BROTHER) diff --git a/modular_ss220/hydroponics/code/dispenser.dm b/modular_ss220/hydroponics/code/dispenser.dm deleted file mode 100644 index a967991a4508..000000000000 --- a/modular_ss220/hydroponics/code/dispenser.dm +++ /dev/null @@ -1,45 +0,0 @@ -/obj/machinery/chem_dispenser/botanical - name = "ботанический химический раздатчик" - desc = "Химический раздатчик, разработанный специально для ботаников." - ui_title = "Ботанический Хим. Раздатчик" - dispensable_reagents = list("mutagen", "saltpetre", "ammonia", "water") - upgrade_reagents = list("atrazine", "glyphosate", "pestkiller", "diethylamine", "ash") - -/obj/machinery/chem_dispenser/botanical/Initialize(mapload) - . = ..() - component_parts = list() - component_parts += new /obj/item/circuitboard/chem_dispenser/botanical(null) - component_parts += new /obj/item/stock_parts/matter_bin(null) - component_parts += new /obj/item/stock_parts/matter_bin(null) - component_parts += new /obj/item/stock_parts/capacitor(null) - component_parts += new /obj/item/stock_parts/manipulator(null) - component_parts += new /obj/item/stack/sheet/glass(null) - component_parts += new cell_type(null) - RefreshParts() - dispensable_reagents = sortList(dispensable_reagents) - -/obj/machinery/chem_dispenser/botanical/upgraded/Initialize(mapload) - . = ..() - component_parts = list() - component_parts += new /obj/item/circuitboard/chem_dispenser/botanical(null) - component_parts += new /obj/item/stock_parts/matter_bin/super(null) - component_parts += new /obj/item/stock_parts/matter_bin/super(null) - component_parts += new /obj/item/stock_parts/capacitor/super(null) - component_parts += new /obj/item/stock_parts/manipulator/pico(null) - component_parts += new /obj/item/stack/sheet/glass(null) - component_parts += new /obj/item/stack/cable_coil(null) - RefreshParts() - -/obj/item/circuitboard/chem_dispenser/botanical - name = "печатная плата (Ботанический Хим. Раздатчик)" - build_path = /obj/machinery/chem_dispenser/botanical - -/datum/design/botanical_dispenser - name = "Machine Board (Ботанический Раздатчик)" - desc = "Плата для ботанического хим. раздатчика." - id = "botanical_dispenser" - req_tech = list("programming" = 5, "biotech" = 3, "materials" = 4, "plasmatech" = 4) - build_type = IMPRINTER - materials = list(MAT_GLASS = 1000) - build_path = /obj/item/circuitboard/chem_dispenser/botanical - category = list("Misc. Machinery") diff --git a/modular_ss220/hydroponics/hydroponics.dme b/modular_ss220/hydroponics/hydroponics.dme index 945c91e274fe..b540371dc72a 100644 --- a/modular_ss220/hydroponics/hydroponics.dme +++ b/modular_ss220/hydroponics/hydroponics.dme @@ -1,5 +1,4 @@ #include "hydroponics.dm" -#include "code/dispenser.dm" #include "code/biogenerator_designs.dm" #include "code/plants.dm" diff --git a/modular_ss220/objects/code/mecha/lockermech.dm b/modular_ss220/objects/code/mecha/lockermech.dm index 394d667a9123..8cd103e6195b 100644 --- a/modular_ss220/objects/code/mecha/lockermech.dm +++ b/modular_ss220/objects/code/mecha/lockermech.dm @@ -65,7 +65,7 @@ output += "<b>Cargo Compartment Contents:</b><div style='margin-left: 15px;'>" if(length(cargo)) for(var/obj/cargo_item as anything in cargo) - output += "<a href='?src=[UID()];drop_from_cargo=[cargo_item.UID()]'>Unload</a> : [cargo_item]<br>" + output += "<a href='byond://?src=[UID()];drop_from_cargo=[cargo_item.UID()]'>Unload</a> : [cargo_item]<br>" else output += "Nothing" output += "</div>" diff --git a/paradise.dme b/paradise.dme index d77650c4be05..a2c12352095f 100644 --- a/paradise.dme +++ b/paradise.dme @@ -1513,6 +1513,7 @@ #include "code\modules\asset_cache\assets\asset_claw_game.dm" #include "code\modules\asset_cache\assets\asset_cloning.dm" #include "code\modules\asset_cache\assets\asset_common.dm" +#include "code\modules\asset_cache\assets\asset_emoji.dm" #include "code\modules\asset_cache\assets\asset_jquery.dm" #include "code\modules\asset_cache\assets\asset_materials.dm" #include "code\modules\asset_cache\assets\asset_mob_hunt.dm" @@ -1746,6 +1747,8 @@ #include "code\modules\economy\economy_machinery\atm.dm" #include "code\modules\economy\economy_machinery\economy_machinery.dm" #include "code\modules\economy\economy_machinery\eftpos.dm" +#include "code\modules\emoji\emoji_parse.dm" +#include "code\modules\emoji\emojipedia.dm" #include "code\modules\error_handler\error_handler.dm" #include "code\modules\error_handler\error_viewer.dm" #include "code\modules\events\abductor_event.dm" diff --git a/sound/AI/nuke_codes.ogg b/sound/AI/nuke_codes.ogg new file mode 100644 index 000000000000..b71935968bd2 Binary files /dev/null and b/sound/AI/nuke_codes.ogg differ diff --git a/tgui/.gitignore b/tgui/.gitignore index 1dd9fadd08f3..f4ad49785ef7 100644 --- a/tgui/.gitignore +++ b/tgui/.gitignore @@ -15,6 +15,7 @@ package-lock.json ## Build artifacts /public/.tmp/**/* /coverage +/public/*.map ## Previously ignored locations that are kept to avoid confusing git ## while transitioning to a new project structure. diff --git a/tgui/README.md b/tgui/README.md index 17f89d2ea844..a6d09078c37b 100644 --- a/tgui/README.md +++ b/tgui/README.md @@ -25,7 +25,7 @@ start with our [practical tutorial](docs/tutorial-and-examples.md). This project uses **Inferno** - a very fast UI rendering engine with a similar API to React. Take your time to read these guides: -- [React guide](https://reactjs.org/docs/hello-world.html) +- [React guide](https://react.dev/learn) - [Inferno documentation](https://infernojs.org/docs/guides/components) - highlights differences with React. diff --git a/tgui/bin/tgui-inspect-dev-tools.bat b/tgui/bin/tgui-inspect-dev-tools.bat deleted file mode 100644 index 633dc3377f41..000000000000 --- a/tgui/bin/tgui-inspect-dev-tools.bat +++ /dev/null @@ -1,2 +0,0 @@ -@echo off -start %systemroot%\system32\f12\IEChooser.exe diff --git a/tgui/docs/tutorial-and-examples.md b/tgui/docs/tutorial-and-examples.md index dea1ede59452..29b80d3678b4 100644 --- a/tgui/docs/tutorial-and-examples.md +++ b/tgui/docs/tutorial-and-examples.md @@ -102,7 +102,9 @@ Finally, let's make a React Component for your interface. This is also a source of confusion for new developers. If you got some basic javascript and HTML knowledge, that should ease the learning process, although we recommend getting yourself introduced to -[React and JSX](https://reactjs.org/docs/introducing-jsx.html). + +- [Markup and JSX](https://react.dev/learn/writing-markup-with-jsx) +- [JavaScript and JSX](https://react.dev/learn/javascript-in-jsx-with-curly-braces) A React component is not a regular HTML template. A component is a javascript function, which accepts a `props` object (that contains diff --git a/tgui/global.d.ts b/tgui/global.d.ts index 542788717ab6..e68ce23b9063 100644 --- a/tgui/global.d.ts +++ b/tgui/global.d.ts @@ -51,26 +51,6 @@ type ByondType = { */ TRIDENT: number | null; - /** - * True if browser is IE8 or lower. - */ - IS_LTE_IE8: boolean; - - /** - * True if browser is IE9 or lower. - */ - IS_LTE_IE9: boolean; - - /** - * True if browser is IE10 or lower. - */ - IS_LTE_IE10: boolean; - - /** - * True if browser is IE11 or lower. - */ - IS_LTE_IE11: boolean; - /** * If `true`, unhandled errors and common mistakes result in a blue screen * of death, which stops this window from handling incoming messages and diff --git a/tgui/package.json b/tgui/package.json index ac1153e15817..a0142a0ce3f8 100644 --- a/tgui/package.json +++ b/tgui/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "tgui-workspace", - "version": "4.4.0", + "version": "4.5.0-paradise", "packageManager": "yarn@4.1.1", "workspaces": [ "packages/*" @@ -37,7 +37,7 @@ "jest-environment-jsdom": "^29.7.0", "jsdom": "^23.1.0", "mini-css-extract-plugin": "^2.7.6", - "prettier": "3.1.1", + "prettier": "3.2.5", "sass": "^1.69.7", "sass-loader": "^13.3.2", "style-loader": "^3.3.3", diff --git a/tgui/packages/common/package.json b/tgui/packages/common/package.json index c0e9b78c778f..c0701374931d 100644 --- a/tgui/packages/common/package.json +++ b/tgui/packages/common/package.json @@ -1,5 +1,5 @@ { "private": true, "name": "common", - "version": "4.4.0" + "version": "4.5.0-paradise" } diff --git a/tgui/packages/tgui-dev-server/package.json b/tgui/packages/tgui-dev-server/package.json index 496e25c6c184..633df1045216 100644 --- a/tgui/packages/tgui-dev-server/package.json +++ b/tgui/packages/tgui-dev-server/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "tgui-dev-server", - "version": "5.0.0", + "version": "4.5.0-paradise", "type": "module", "dependencies": { "axios": "^1.6.2", diff --git a/tgui/packages/tgui-panel/Panel.js b/tgui/packages/tgui-panel/Panel.js index f32c0ed69beb..f6b06ccce6cc 100644 --- a/tgui/packages/tgui-panel/Panel.js +++ b/tgui/packages/tgui-panel/Panel.js @@ -15,10 +15,6 @@ import { ReconnectButton } from './reconnect'; import { SettingsPanel, useSettings } from './settings'; export const Panel = (props, context) => { - // IE8-10: Needs special treatment due to missing Flex support - if (Byond.IS_LTE_IE10) { - return <HoboPanel />; - } const audio = useAudio(context); const settings = useSettings(context); const game = useGame(context); diff --git a/tgui/packages/tgui-panel/audio/player.js b/tgui/packages/tgui-panel/audio/player.js index f9dfa41cef9d..50eccee16ba0 100644 --- a/tgui/packages/tgui-panel/audio/player.js +++ b/tgui/packages/tgui-panel/audio/player.js @@ -10,10 +10,6 @@ const logger = createLogger('AudioPlayer'); export class AudioPlayer { constructor() { - // Doesn't support HTMLAudioElement - if (Byond.IS_LTE_IE9) { - return; - } // Set up the HTMLAudioElement node this.node = document.createElement('audio'); this.node.style.setProperty('display', 'none'); diff --git a/tgui/packages/tgui-panel/chat/middleware.js b/tgui/packages/tgui-panel/chat/middleware.js index 0e62e5238cda..afe1a6ed8f50 100644 --- a/tgui/packages/tgui-panel/chat/middleware.js +++ b/tgui/packages/tgui-panel/chat/middleware.js @@ -34,7 +34,7 @@ import { chatRenderer } from './renderer'; import { selectChat, selectCurrentChatPage } from './selectors'; // List of blacklisted tags -const FORBID_TAGS = ['a', 'iframe', 'link', 'video']; +const blacklisted_tags = ['a', 'iframe', 'link', 'video']; const saveChatToStorage = async (store) => { const state = selectChat(store.getState()); @@ -63,7 +63,7 @@ const loadChatFromStorage = async (store) => { for (let message of messages) { if (message.html) { message.html = DOMPurify.sanitize(message.html, { - FORBID_TAGS, + FORBID_TAGS: blacklisted_tags, }); } } diff --git a/tgui/packages/tgui-panel/chat/renderer.js b/tgui/packages/tgui-panel/chat/renderer.js index a8abb5fe7d2f..f3d1a43b4969 100644 --- a/tgui/packages/tgui-panel/chat/renderer.js +++ b/tgui/packages/tgui-panel/chat/renderer.js @@ -153,7 +153,7 @@ class ChatRenderer { // Find scrollable parent this.scrollNode = findNearestScrollableParent(this.rootNode); this.scrollNode.addEventListener('scroll', this.handleScroll); - setImmediate(() => { + setTimeout(() => { this.scrollToBottom(); }); // Flush the queue @@ -398,13 +398,9 @@ class ChatRenderer { message.node = node; // Query all possible selectors to find out the message type if (!message.type) { - // IE8: Does not support querySelector on elements that - // are not yet in the document. - // prettier-ignore - const typeDef = !Byond.IS_LTE_IE8 && MESSAGE_TYPES - .find(typeDef => ( - typeDef.selector && node.querySelector(typeDef.selector) - )); + const typeDef = MESSAGE_TYPES.find( + (typeDef) => typeDef.selector && node.querySelector(typeDef.selector) + ); message.type = typeDef?.type || MESSAGE_TYPE_UNKNOWN; } updateMessageBadge(message); @@ -427,7 +423,7 @@ class ChatRenderer { this.rootNode.appendChild(fragment); } if (this.scrollTracking) { - setImmediate(() => this.scrollToBottom()); + setTimeout(() => this.scrollToBottom()); } } // Notify listeners that we have processed the batch @@ -524,10 +520,6 @@ class ChatRenderer { } saveToDisk() { - // Allow only on IE11 - if (Byond.IS_LTE_IE10) { - return; - } // Compile currently loaded stylesheets as CSS text let cssText = ''; const styleSheets = document.styleSheets; diff --git a/tgui/packages/tgui-panel/index.js b/tgui/packages/tgui-panel/index.js index b7d5124c421c..0cb89a160f06 100644 --- a/tgui/packages/tgui-panel/index.js +++ b/tgui/packages/tgui-panel/index.js @@ -84,7 +84,7 @@ const setupApp = () => { }); // Unhide the panel - Byond.winset('browseroutput', { + Byond.winset('chat_panel', { 'is-visible': true, 'is-disabled': false, 'pos': '0x0', @@ -93,7 +93,7 @@ const setupApp = () => { // Resize the panel to match the non-browser output Byond.winget('output').then((output) => { - Byond.winset('browseroutput', { + Byond.winset('chat_panel', { 'size': output.size, }); }); diff --git a/tgui/packages/tgui-panel/package.json b/tgui/packages/tgui-panel/package.json index 93aacd47453f..713e8ddb5239 100644 --- a/tgui/packages/tgui-panel/package.json +++ b/tgui/packages/tgui-panel/package.json @@ -1,10 +1,10 @@ { "private": true, "name": "tgui-panel", - "version": "4.4.0", + "version": "4.5.0-paradise", "dependencies": { "common": "workspace:*", - "dompurify": "^2.4.7", + "dompurify": "2.5.0", "inferno": "^7.4.11", "tgui": "workspace:*", "tgui-dev-server": "workspace:*", diff --git a/tgui/packages/tgui-panel/panelFocus.js b/tgui/packages/tgui-panel/panelFocus.js index b7cea2293149..8cff4a361b3e 100644 --- a/tgui/packages/tgui-panel/panelFocus.js +++ b/tgui/packages/tgui-panel/panelFocus.js @@ -15,7 +15,7 @@ import { focusMap } from 'tgui/focus'; // text you can select with the mouse. const MIN_SELECTION_DISTANCE = 10; -const deferredFocusMap = () => setImmediate(() => focusMap()); +const deferredFocusMap = () => setTimeout(() => focusMap()); export const setupPanelFocusHacks = () => { let focusStolen = false; diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss index b4d2c4a51593..996aacc3bf14 100644 --- a/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss +++ b/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss @@ -23,6 +23,10 @@ img.icon { vertical-align: bottom; } +.emoji16x16 { + vertical-align: middle; +} + a { color: #397ea5; } @@ -165,12 +169,6 @@ a.popt { padding: 2px 0; } -.filterMessages input { -} - -.filterMessages label { -} - .icon-stack { height: 1em; line-height: 1em; diff --git a/tgui/packages/tgui-polyfill/package.json b/tgui/packages/tgui-polyfill/package.json index ebf12ebce514..66a359bc0a03 100644 --- a/tgui/packages/tgui-polyfill/package.json +++ b/tgui/packages/tgui-polyfill/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "tgui-polyfill", - "version": "4.4.0", + "version": "4.5.0-paradise", "scripts": { "tgui-polyfill:build": "terser 1-misc.js -f ascii_only,comments=false -o ../../public/tgui-polyfill.min.js" }, diff --git a/tgui/packages/tgui-say/TguiSay.tsx b/tgui/packages/tgui-say/TguiSay.tsx index c810aa0a084d..93cd33db1515 100644 --- a/tgui/packages/tgui-say/TguiSay.tsx +++ b/tgui/packages/tgui-say/TguiSay.tsx @@ -25,6 +25,13 @@ type State = { // Picks out radio channel keycodes const CHANNEL_REGEX = /^[:#.][^\s]\s/; +const ROWS: Record<keyof typeof WINDOW_SIZES, number> = { + small: 1, + medium: 2, + large: 3, + width: 1, // not used +} as const; + export class TguiSay extends Component<{}, State> { private channelIterator: ChannelIterator; private chatHistory: ChatHistory; @@ -351,11 +358,14 @@ export class TguiSay extends Component<{}, State> { {this.state.buttonContent} </button> <textarea + autoCorrect="off" className={`textarea textarea-${theme}`} maxLength={this.maxLength} onInput={this.handleInput} onKeyDown={this.handleKeyDown} ref={this.innerRef} + spellCheck={false} + rows={ROWS[this.state.size] || 1} /> </div> <Dragzone position="right" theme={theme} /> diff --git a/tgui/packages/tgui-say/index.tsx b/tgui/packages/tgui-say/index.tsx index ed512b525ff5..dbbe04ef626b 100644 --- a/tgui/packages/tgui-say/index.tsx +++ b/tgui/packages/tgui-say/index.tsx @@ -1,19 +1,14 @@ import './styles/main.scss'; -import { createRenderer } from 'tgui/renderer'; -import { TguiSay } from './TguiSay'; +import { render } from 'inferno'; -const renderApp = createRenderer(() => { - return <TguiSay />; -}); +import { TguiSay } from './TguiSay'; -const setupApp = () => { - // Delay setup - if (document.readyState === 'loading') { - document.addEventListener('DOMContentLoaded', setupApp); +document.onreadystatechange = function () { + if (document.readyState !== 'complete') { + Byond.sendMessage('ready_state_error'); return; } - renderApp(); + const root = document.getElementById('react-root'); + render(<TguiSay />, root); }; - -setupApp(); diff --git a/tgui/packages/tgui-say/package.json b/tgui/packages/tgui-say/package.json index 5650d6368e41..8e57699f030d 100644 --- a/tgui/packages/tgui-say/package.json +++ b/tgui/packages/tgui-say/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "tgui-say", - "version": "1.0.0", + "version": "4.5.0-paradise", "dependencies": { "common": "workspace:*", "inferno": "^7.4.11", diff --git a/tgui/packages/tgui-say/styles/button.scss b/tgui/packages/tgui-say/styles/button.scss index d2198191159b..d783130cfb87 100644 --- a/tgui/packages/tgui-say/styles/button.scss +++ b/tgui/packages/tgui-say/styles/button.scss @@ -20,6 +20,13 @@ } } +// Remove conditionals with 516 +@supports (not (-webkit-hyphens: none)) and (not (-moz-appearance: none)) { + .button { + outline: none; + } +} + .button-lightMode { background-color: colors.$lightBorder; border: none; diff --git a/tgui/packages/tgui-say/styles/colors.scss b/tgui/packages/tgui-say/styles/colors.scss index 9f0e21326081..ef0b25f59917 100644 --- a/tgui/packages/tgui-say/styles/colors.scss +++ b/tgui/packages/tgui-say/styles/colors.scss @@ -5,6 +5,7 @@ $button: #1f1f1f; $lightMode: #ffffff; $lightBorder: #bbbbbb; $lightHover: #eaeaea; +$scrollbar-color-multiplier: 1 !default; $_channel_map: ( 'AI': #ff5ed7, diff --git a/tgui/packages/tgui-say/styles/content.scss b/tgui/packages/tgui-say/styles/content.scss index 91f4fe136d78..25170935c89e 100644 --- a/tgui/packages/tgui-say/styles/content.scss +++ b/tgui/packages/tgui-say/styles/content.scss @@ -1,14 +1,41 @@ .center { display: flex; - flex: 1 1 0; - height: 100%; - width: 100%; +} + +// Remove conditionals with 516 +@supports (not (-webkit-hyphens: none)) and (not (-moz-appearance: none)) { + .center { + flex-grow: 1; + } +} + +// Remove with 516 +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .center { + height: 100%; + width: 100%; + flex: 1 1 0; + } } .input { display: flex; - flex: 1 1 0; - height: 100%; - width: 100%; font-family: 'Consolas', monospace; } + +// Remove conditionals with 516 +@supports (not (-webkit-hyphens: none)) and (not (-moz-appearance: none)) { + .input { + flex-grow: 1; + gap: 0.2rem; + } +} + +// Remove with 516 +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .input { + height: 100%; + width: 100%; + flex: 1 1 0; + } +} diff --git a/tgui/packages/tgui-say/styles/dragzone.scss b/tgui/packages/tgui-say/styles/dragzone.scss index ae555ffee1bf..9cabf0bd5f9f 100644 --- a/tgui/packages/tgui-say/styles/dragzone.scss +++ b/tgui/packages/tgui-say/styles/dragzone.scss @@ -1,7 +1,17 @@ @use 'sass:color'; @use './colors.scss'; -$dragSize: 0.6rem; +// Remove conditionals with 516 +@supports (not (-webkit-hyphens: none)) and (not (-moz-appearance: none)) { + $dragSize: 0.3rem; +} + +// Remove with 516 +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + $dragSize: 0.6rem; +} + +$dragSize: 0.3rem; $borderSize: 0.2rem; .dragzone-horizontal { diff --git a/tgui/packages/tgui-say/styles/textarea.scss b/tgui/packages/tgui-say/styles/textarea.scss index d33c4a9939fa..135da37e0174 100644 --- a/tgui/packages/tgui-say/styles/textarea.scss +++ b/tgui/packages/tgui-say/styles/textarea.scss @@ -1,11 +1,51 @@ +@use 'sass:color'; +@use './colors.scss'; + +@supports (not (-webkit-hyphens: none)) and (not (-moz-appearance: none)) { + * { + &::-webkit-scrollbar { + width: 0.8rem; + } + + &::-webkit-scrollbar-track { + background: color.scale( + colors.$button, + $lightness: -25% * colors.$scrollbar-color-multiplier + ); + } + + &::-webkit-scrollbar-thumb { + background: color.scale( + colors.$button, + $lightness: 10% * colors.$scrollbar-color-multiplier + ); + } + } +} + .textarea { - align-items: center; background: transparent; border: none; - display: flex; - flex-grow: 4; font-family: inherit; font-size: 1.1rem; - overflow: hidden; - margin: 0.1rem 0 0 0.4rem; +} + +// Remove conditionals with 516 +@supports (not (-webkit-hyphens: none)) and (not (-moz-appearance: none)) { + .textarea { + flex-grow: 8; + outline: none; + resize: none; + } +} + +// Remove with 516 +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .textarea { + align-items: center; + display: flex; + flex-grow: 4; + overflow: hidden; + margin: 0.1rem 0 0 0.4rem; + } } diff --git a/tgui/packages/tgui-say/styles/window.scss b/tgui/packages/tgui-say/styles/window.scss index 69e194c8baee..8f4fb701d86e 100644 --- a/tgui/packages/tgui-say/styles/window.scss +++ b/tgui/packages/tgui-say/styles/window.scss @@ -6,11 +6,17 @@ display: flex; flex-direction: column; max-width: 275px; - height: 100%; - width: 100%; overflow: hidden; } +// Remove with 516 +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .window { + height: 100%; + width: 100%; + } +} + .window-lightMode { background-color: colors.$lightMode; } diff --git a/tgui/packages/tgui/backend.ts b/tgui/packages/tgui/backend.ts index 25d634e9db6c..1d1023240e66 100644 --- a/tgui/packages/tgui/backend.ts +++ b/tgui/packages/tgui/backend.ts @@ -153,7 +153,7 @@ export const backendMiddleware = (store) => { Byond.winset(Byond.windowId, { 'is-visible': false, }); - setImmediate(() => focusMap()); + setTimeout(() => focusMap()); } if (type === 'backend/update') { @@ -183,7 +183,7 @@ export const backendMiddleware = (store) => { setupDrag(); // We schedule this for the next tick here because resizing and unhiding // during the same tick will flash with a white background. - setImmediate(() => { + setTimeout(() => { perf.mark('resume/start'); // Doublecheck if we are not re-suspended. const { suspended } = selectBackend(store.getState()); diff --git a/tgui/packages/tgui/components/Box.tsx b/tgui/packages/tgui/components/Box.tsx index f3cf446183a9..ab719b7ce915 100644 --- a/tgui/packages/tgui/components/Box.tsx +++ b/tgui/packages/tgui/components/Box.tsx @@ -65,15 +65,12 @@ export interface BoxProps { export const unit = (value: unknown): string | undefined => { if (typeof value === 'string') { // Transparently convert pixels into rem units - if (value.endsWith('px') && !Byond.IS_LTE_IE8) { + if (value.endsWith('px')) { return parseFloat(value) / 12 + 'rem'; } return value; } if (typeof value === 'number') { - if (Byond.IS_LTE_IE8) { - return value * 12 + 'px'; - } return value + 'rem'; } }; @@ -214,11 +211,6 @@ export const computeBoxProps = (props: BoxProps) => { if (propName === 'style') { continue; } - // IE8: onclick workaround - if (Byond.IS_LTE_IE8 && propName === 'onClick') { - computedProps.onclick = props[propName]; - continue; - } const propValue = props[propName]; const mapPropToStyle = styleMapperByPropName[propName]; if (mapPropToStyle) { diff --git a/tgui/packages/tgui/components/Button.js b/tgui/packages/tgui/components/Button.js index e445cb0bd52b..e95d149c0e87 100644 --- a/tgui/packages/tgui/components/Button.js +++ b/tgui/packages/tgui/components/Button.js @@ -55,10 +55,6 @@ export const Button = (props) => { onClick(e); } }; - // IE8: Use "unselectable" because "user-select" doesn't work. - if (Byond.IS_LTE_IE8) { - rest.unselectable = true; - } let buttonContent = ( <Box className={classes([ diff --git a/tgui/packages/tgui/components/ByondUi.js b/tgui/packages/tgui/components/ByondUi.js index 9c66722da10f..ca974f69910c 100644 --- a/tgui/packages/tgui/components/ByondUi.js +++ b/tgui/packages/tgui/components/ByondUi.js @@ -84,20 +84,12 @@ export class ByondUi extends Component { } componentDidMount() { - // IE8: It probably works, but fuck you anyway. - if (Byond.IS_LTE_IE10) { - return; - } window.addEventListener('resize', this.handleResize); this.componentDidUpdate(); this.handleResize(); } componentDidUpdate() { - // IE8: It probably works, but fuck you anyway. - if (Byond.IS_LTE_IE10) { - return; - } const { params = {} } = this.props; const box = getBoundingBox(this.containerRef.current); logger.debug('bounding box', box); @@ -110,10 +102,6 @@ export class ByondUi extends Component { } componentWillUnmount() { - // IE8: It probably works, but fuck you anyway. - if (Byond.IS_LTE_IE10) { - return; - } window.removeEventListener('resize', this.handleResize); this.byondUiElement.unmount(); } diff --git a/tgui/packages/tgui/components/Chart.js b/tgui/packages/tgui/components/Chart.js index 9a6ddc1eff5d..1843fb4a0e31 100644 --- a/tgui/packages/tgui/components/Chart.js +++ b/tgui/packages/tgui/components/Chart.js @@ -124,5 +124,5 @@ const Stub = (props) => null; // IE8: No inline svg support export const Chart = { - Line: Byond.IS_LTE_IE8 ? Stub : LineChart, + Line: LineChart, }; diff --git a/tgui/packages/tgui/components/Flex.tsx b/tgui/packages/tgui/components/Flex.tsx index e26991f54f0d..0762d01b3c96 100644 --- a/tgui/packages/tgui/components/Flex.tsx +++ b/tgui/packages/tgui/components/Flex.tsx @@ -19,8 +19,6 @@ export const computeFlexClassName = (props: FlexProps) => { return classes([ 'Flex', props.inline && 'Flex--inline', - Byond.IS_LTE_IE10 && 'Flex--iefix', - Byond.IS_LTE_IE10 && props.direction === 'column' && 'Flex--iefix--column', computeBoxClassName(props), ]); }; @@ -60,11 +58,7 @@ export type FlexItemProps = BoxProps & { }; export const computeFlexItemClassName = (props: FlexItemProps) => { - return classes([ - 'Flex__item', - Byond.IS_LTE_IE10 && 'Flex__item--iefix', - computeBoxClassName(props), - ]); + return classes(['Flex__item', computeBoxClassName(props)]); }; export const computeFlexItemProps = (props: FlexItemProps) => { diff --git a/tgui/packages/tgui/components/Knob.js b/tgui/packages/tgui/components/Knob.js index e9359d4159e1..5039fa4a5213 100644 --- a/tgui/packages/tgui/components/Knob.js +++ b/tgui/packages/tgui/components/Knob.js @@ -11,11 +11,6 @@ import { DraggableControl } from './DraggableControl'; import { NumberInput } from './NumberInput'; export const Knob = (props) => { - // IE8: I don't want to support a yet another component on IE8. - // IE8: It also can't handle SVG. - if (Byond.IS_LTE_IE8) { - return <NumberInput {...props} />; - } const { // Draggable props (passthrough) animated, diff --git a/tgui/packages/tgui/components/NumberInput.js b/tgui/packages/tgui/components/NumberInput.js index f06b27a9c22b..923fb38d7544 100644 --- a/tgui/packages/tgui/components/NumberInput.js +++ b/tgui/packages/tgui/components/NumberInput.js @@ -166,7 +166,7 @@ export class NumberInput extends Component { } const contentElement = ( - <div className="NumberInput__content" unselectable={Byond.IS_LTE_IE8}> + <div className="NumberInput__content"> {animated && !dragging && !suppressingFlicker ? ( <AnimatedNumber value={displayValue} format={format} /> ) : format ? ( diff --git a/tgui/packages/tgui/components/Popper.tsx b/tgui/packages/tgui/components/Popper.tsx index 80bfb7a721f1..b1028ed78487 100644 --- a/tgui/packages/tgui/components/Popper.tsx +++ b/tgui/packages/tgui/components/Popper.tsx @@ -1,10 +1,11 @@ import { createPopper, OptionsGeneric } from '@popperjs/core'; import { Component, findDOMfromVNode, InfernoNode, render } from 'inferno'; +import type * as CSS from 'csstype'; type PopperProps = { popperContent: InfernoNode; options?: Partial<OptionsGeneric<unknown>>; - additionalStyles?: CSSProperties; + additionalStyles?: CSS.Properties; }; export class Popper extends Component<PopperProps> { diff --git a/tgui/packages/tgui/components/RoundGauge.js b/tgui/packages/tgui/components/RoundGauge.js index d6325af9b317..f1ea57366cd4 100644 --- a/tgui/packages/tgui/components/RoundGauge.js +++ b/tgui/packages/tgui/components/RoundGauge.js @@ -10,11 +10,6 @@ import { AnimatedNumber } from './AnimatedNumber'; import { Box, computeBoxClassName, computeBoxProps } from './Box'; export const RoundGauge = (props) => { - // Support for IE8 is for losers sorry B) - if (Byond.IS_LTE_IE8) { - return <AnimatedNumber {...props} />; - } - const { value, minValue = 1, diff --git a/tgui/packages/tgui/components/Section.tsx b/tgui/packages/tgui/components/Section.tsx index e3cf6e5bc918..d8158bc6f15c 100644 --- a/tgui/packages/tgui/components/Section.tsx +++ b/tgui/packages/tgui/components/Section.tsx @@ -60,7 +60,6 @@ export class Section extends Component<SectionProps> { <div className={classes([ 'Section', - Byond.IS_LTE_IE8 && 'Section--iefix', fill && 'Section--fill', fitted && 'Section--fitted', scrollable && 'Section--scrollable', diff --git a/tgui/packages/tgui/components/Slider.js b/tgui/packages/tgui/components/Slider.js index 932e3ae1a530..17b7ec87930a 100644 --- a/tgui/packages/tgui/components/Slider.js +++ b/tgui/packages/tgui/components/Slider.js @@ -11,10 +11,6 @@ import { DraggableControl } from './DraggableControl'; import { NumberInput } from './NumberInput'; export const Slider = (props) => { - // IE8: I don't want to support a yet another component on IE8. - if (Byond.IS_LTE_IE8) { - return <NumberInput {...props} />; - } const { // Draggable props (passthrough) animated, diff --git a/tgui/packages/tgui/index.js b/tgui/packages/tgui/index.js index 51f9c036db4d..ab86b58ef1a0 100644 --- a/tgui/packages/tgui/index.js +++ b/tgui/packages/tgui/index.js @@ -10,6 +10,7 @@ import './styles/themes/abductor.scss'; import './styles/themes/cardtable.scss'; import './styles/themes/changeling.scss'; import './styles/themes/hackerman.scss'; +import './styles/themes/hydroponics.scss'; import './styles/themes/malfunction.scss'; import './styles/themes/ntos.scss'; import './styles/themes/paper.scss'; diff --git a/tgui/packages/tgui/interfaces/Emojipedia.tsx b/tgui/packages/tgui/interfaces/Emojipedia.tsx new file mode 100644 index 000000000000..4095ef96b245 --- /dev/null +++ b/tgui/packages/tgui/interfaces/Emojipedia.tsx @@ -0,0 +1,72 @@ +import { classes } from 'common/react'; +import { useBackend, useLocalState } from '../backend'; +import { Button, Input, Section } from '../components'; +import { Window } from '../layouts'; + +type Data = { + emoji_list: Emoji[]; +}; + +type Emoji = { + name: string; +}; + +export const Emojipedia = (props, context) => { + const { data } = useBackend<Data>(context); + const { emoji_list } = data; + const [searchText, setSearchText] = useLocalState(context, 'searchText', ''); + const filteredEmoji = emoji_list.filter((emoji) => + emoji.name.toLowerCase().includes(searchText.toLowerCase()) + ); + + return ( + <Window width={325} height={400}> + <Window.Content scrollable> + <Section + fill + scrollable + // required: follow semantic versioning every time you touch this file + title={'Emojipedia v1.0.1'} + buttons={ + <> + <Input + placeholder="Search by name" + value={searchText} + onInput={(e, value) => setSearchText(value)} + /> + <Button + tooltip={'Click on an emoji to copy its tag!'} + tooltipPosition="bottom" + icon="circle-question" + /> + </> + } + > + {filteredEmoji.map((emoji) => ( + <Button + key={emoji.name} + m={1} + color={'transparent'} + className={classes(['emoji16x16', `emoji-${emoji.name}`])} + style={{ transform: 'scale(1.5)' }} + tooltip={emoji.name} + onClick={() => { + copyText(emoji.name); + }} + /> + ))} + </Section> + </Window.Content> + </Window> + ); +}; + +const copyText = (text: string) => { + const input = document.createElement('input'); + const formattedText = `:${text}:`; + input.value = formattedText; + document.body.appendChild(input); + input.select(); + document.execCommand('copy'); + document.body.removeChild(input); +}; diff --git a/tgui/packages/tgui/interfaces/GeneModder.js b/tgui/packages/tgui/interfaces/GeneModder.js index 4393d9b22620..a8f319e71f5e 100644 --- a/tgui/packages/tgui/interfaces/GeneModder.js +++ b/tgui/packages/tgui/interfaces/GeneModder.js @@ -160,7 +160,27 @@ const CoreGenes = (props, context) => { /> </Stack.Item> </Stack> - ))} + ))}{' '} + { + <Stack> + <Stack.Item> + <Button + content="Extract All" + disabled={!disk?.can_extract} + icon="save" + onClick={() => act('bulk_extract_core')} + /> + </Stack.Item> + <Stack.Item> + <Button + content="Replace All" + disabled={!disk?.is_bulk_core} + icon="arrow-circle-down" + onClick={() => act('bulk_replace_core')} + /> + </Stack.Item> + </Stack> + } </Collapsible> ); }; diff --git a/tgui/packages/tgui/interfaces/OreRedemption.js b/tgui/packages/tgui/interfaces/OreRedemption.js index 77f9f2713494..b798b6655034 100644 --- a/tgui/packages/tgui/interfaces/OreRedemption.js +++ b/tgui/packages/tgui/interfaces/OreRedemption.js @@ -45,39 +45,6 @@ const IdDisk = (properties, context) => { </Box> <Divider /> <LabeledList> - <LabeledList.Item label="ID card"> - {id ? ( - <Button - selected - bold - verticalAlign="middle" - icon="eject" - content={id.name} - tooltip="Ejects the ID card." - onClick={() => act('eject_id')} - style={{ - 'white-space': 'pre-wrap', - }} - /> - ) : ( - <Button - icon="sign-in-alt" - content="Insert" - tooltip="Hold the ID card in your hand to insert." - onClick={() => act('insert_id')} - /> - )} - </LabeledList.Item> - {id && ( - <LabeledList.Item label="Current Mining Points"> - <Box bold>{formatPoints(id.points)}</Box> - </LabeledList.Item> - )} - {id && ( - <LabeledList.Item label="Total Mining Points"> - <Box bold>{formatPoints(id.total_points)}</Box> - </LabeledList.Item> - )} <LabeledList.Item label="Unclaimed Points" color={points > 0 ? 'good' : 'grey'} @@ -85,14 +52,6 @@ const IdDisk = (properties, context) => { > {formatPoints(points)} </LabeledList.Item> - <LabeledList.Item> - <Button - disabled={!id} - icon="hand-holding-usd" - content="Claim" - onClick={() => act('claim')} - /> - </LabeledList.Item> </LabeledList> <Divider /> {disk ? ( diff --git a/tgui/packages/tgui/interfaces/SeedExtractor.js b/tgui/packages/tgui/interfaces/SeedExtractor.js index 0bbaf4b50cca..34c59e89b1a4 100644 --- a/tgui/packages/tgui/interfaces/SeedExtractor.js +++ b/tgui/packages/tgui/interfaces/SeedExtractor.js @@ -1,99 +1,248 @@ -import { useBackend } from '../backend'; -import { Button, Section, Table, Stack, NumberInput } from '../components'; +import { createSearch, decodeHtmlEntities } from 'common/string'; +import { useBackend, useLocalState } from '../backend'; +import { + Box, + Button, + Icon, + Input, + LabeledList, + Section, + Stack, + Tabs, + Table, +} from '../components'; import { Window } from '../layouts'; +import { ComplexModal, modalOpen } from './common/ComplexModal'; -export const SeedExtractor = (props, context) => { +export const SeedExtractor = (properties, context) => { const { act, data } = useBackend(context); - const { stored_seeds, vend_amount } = data; + const { loginState, currentPage } = data; return ( - <Window width={800} height={400}> + <Window theme="hydroponics" width={800} height={400}> + <ComplexModal /> <Window.Content> <Stack fill vertical> - <Section - fill - scrollable - title="Stored Seeds" - buttons={ - <> - Set Amount to be Vended: - <NumberInput - animated - value={vend_amount} - width="40px" - minValue={1} - maxValue={25} - stepPixelSize={3} - onDrag={(e, value) => - act('set_vend_amount', { - vend_amount: value, - }) - } - /> - </> - } - > - {stored_seeds?.length ? <SeedsContent /> : 'No Seeds'} - </Section> + <Stack.Item> + <SeedExtractorActions /> + </Stack.Item> + <SeedList /> </Stack> </Window.Content> </Window> ); }; -const SeedsContent = (props, context) => { - const { act, data } = useBackend(context); - const { stored_seeds } = data; +const seedFilter = (searchText) => { + const eq = (actual, test) => actual === test; + const ge = (actual, test) => actual >= test; + const le = (actual, test) => actual <= test; + let terms = searchText.split(' '); + let filters = []; + for (let term of terms) { + let parts = term.split(':'); + if (parts.length === 0) { + continue; + } + if (parts.length === 1) { + filters.push((seed) => + (seed.name + ' (' + seed.variant + ')') + .toLocaleLowerCase() + .includes(parts[0].toLocaleLowerCase()) + ); + continue; + } + if (parts.length > 2) { + return (seed) => false; + } + let searchVal; + let cmp = eq; + if (parts[1][parts[1].length - 1] === '-') { + cmp = le; + searchVal = Number(parts[1].substring(0, parts[1].length - 1)); + } else if (parts[1][parts[1].length - 1] === '+') { + cmp = ge; + searchVal = Number(parts[1].substring(0, parts[1].length - 1)); + } else { + searchVal = Number(parts[1]); + } + if (isNaN(searchVal)) { + return (seed) => false; + } + switch (parts[0].toLocaleLowerCase()) { + case 'l': + case 'life': + case 'lifespan': + filters.push((seed) => cmp(seed.lifespan, searchVal)); + break; + case 'e': + case 'end': + case 'endurance': + filters.push((seed) => cmp(seed.endurance, searchVal)); + break; + case 'm': + case 'mat': + case 'maturation': + filters.push((seed) => cmp(seed.maturation, searchVal)); + break; + case 'pr': + case 'prod': + case 'production': + filters.push((seed) => cmp(seed.production, searchVal)); + break; + case 'y': + case 'yield': + filters.push((seed) => cmp(seed.yield, searchVal)); + break; + case 'po': + case 'pot': + case 'potency': + filters.push((seed) => cmp(seed.potency, searchVal)); + break; + case 's': + case 'stock': + case 'c': + case 'count': + case 'a': + case 'amount': + filters.push((seed) => cmp(seed.amount, searchVal)); + break; + default: + return (seed) => false; + } + } + return (seed) => { + for (let filter of filters) { + if (!filter(seed)) { + return false; + } + } + return true; + }; +}; +const SeedList = (properties, context) => { + const { act, data } = useBackend(context); + const { icons, seeds, vend_amount } = data; + const [searchText, setSearchText] = useLocalState(context, 'searchText', ''); + const [vendAmount, setVendAmount] = useLocalState(context, 'vendAmount', 1); + const [sortId, _setSortId] = useLocalState(context, 'sortId', 'name'); + const [sortOrder, _setSortOrder] = useLocalState(context, 'sortOrder', true); return ( - <Table> - <Table.Row bold> - <Table.Cell>Name</Table.Cell> - <Table.Cell>Lifespan</Table.Cell> - <Table.Cell>Endurance</Table.Cell> - <Table.Cell>Maturation</Table.Cell> - <Table.Cell>Production</Table.Cell> - <Table.Cell>Yield</Table.Cell> - <Table.Cell>Potency</Table.Cell> - <Table.Cell>Stock</Table.Cell> - </Table.Row> - {stored_seeds.map((seed, index) => ( - <Table.Row key={index}> - <Table.Cell> - <img - src={`data:image/jpeg;base64,${seed.image}`} - style={{ - 'vertical-align': 'middle', - width: '32px', - margin: '0px', - 'margin-left': '0px', - }} - /> - {seed.name} - {seed.variant ? ' (' + seed.variant + ')' : ''} - </Table.Cell> - <Table.Cell>{seed.lifespan}</Table.Cell> - <Table.Cell>{seed.endurance}</Table.Cell> - <Table.Cell>{seed.maturation}</Table.Cell> - <Table.Cell>{seed.production}</Table.Cell> - <Table.Cell>{seed.yield}</Table.Cell> - <Table.Cell>{seed.potency}</Table.Cell> - <Table.Cell> - ({seed.amount} Left) - <Button - ml={1} - content="Vend" - icon="arrow-circle-down" - onClick={() => - act('vend', { - seedid: seed.id, - seedvariant: seed.variant, + <Stack.Item grow mt={0.5}> + <Section fill scrollable> + <Table className="SeedExtractor__list"> + <Table.Row bold> + <SortButton id="name">Name</SortButton> + <SortButton id="lifespan">Lifespan</SortButton> + <SortButton id="endurance">Endurance</SortButton> + <SortButton id="maturation">Maturation</SortButton> + <SortButton id="production">Production</SortButton> + <SortButton id="yield">Yield</SortButton> + <SortButton id="potency">Potency</SortButton> + <SortButton id="amount">Stock</SortButton> + </Table.Row> + {seeds.lenth === 0 + ? 'No seeds present.' + : seeds + .filter(seedFilter(searchText)) + .sort((a, b) => { + const i = sortOrder ? 1 : -1; + if (typeof a[sortId] === 'number') { + return (a[sortId] - b[sortId]) * i; + } + return a[sortId].localeCompare(b[sortId]) * i; }) - } - /> - </Table.Cell> - </Table.Row> - ))} - </Table> + .map((seed) => ( + <Table.Row + key={seed.id} + onClick={() => + act('vend', { + seed_id: seed.id, + seed_variant: seed.variant, + vend_amount: vendAmount, + }) + } + > + <Table.Cell> + <img + src={`data:image/jpeg;base64,${icons[seed.image]}`} + style={{ + 'vertical-align': 'middle', + width: '32px', + margin: '0px', + 'margin-left': '0px', + }} + /> + {seed.name} + </Table.Cell> + <Table.Cell>{seed.lifespan}</Table.Cell> + <Table.Cell>{seed.endurance}</Table.Cell> + <Table.Cell>{seed.maturation}</Table.Cell> + <Table.Cell>{seed.production}</Table.Cell> + <Table.Cell>{seed.yield}</Table.Cell> + <Table.Cell>{seed.potency}</Table.Cell> + <Table.Cell>{seed.amount}</Table.Cell> + </Table.Row> + ))} + </Table> + </Section> + </Stack.Item> + ); +}; + +const SortButton = (properties, context) => { + const [sortId, setSortId] = useLocalState(context, 'sortId', 'name'); + const [sortOrder, setSortOrder] = useLocalState(context, 'sortOrder', true); + const { id, children } = properties; + return ( + <Stack.Item grow> + <Table.Cell> + <Button + color={sortId !== id && 'transparent'} + fluid + onClick={() => { + if (sortId === id) { + setSortOrder(!sortOrder); + } else { + setSortId(id); + setSortOrder(true); + } + }} + > + {children} + {sortId === id && ( + <Icon name={sortOrder ? 'sort-up' : 'sort-down'} ml="0.25rem;" /> + )} + </Button> + </Table.Cell> + </Stack.Item> + ); +}; + +const SeedExtractorActions = (properties, context) => { + const { act, data } = useBackend(context); + const { vend_amount } = data; + const [searchText, setSearchText] = useLocalState(context, 'searchText', ''); + const [vendAmount, setVendAmount] = useLocalState(context, 'vendAmount', 1); + return ( + <Stack fill> + <Stack.Item grow> + <Input + placeholder="Search by name, variant, potency:70+, production:3-, ..." + fluid + onInput={(e, value) => setSearchText(value)} + /> + </Stack.Item> + <Stack.Item> + Vend amount: + <Input + placeholder="1" + onInput={(e, value) => + setVendAmount(Number(value) >= 1 ? Number(value) : 1) + } + /> + </Stack.Item> + </Stack> ); }; diff --git a/tgui/packages/tgui/layouts/Window.js b/tgui/packages/tgui/layouts/Window.js index a421807ef29e..e2db4f519fde 100644 --- a/tgui/packages/tgui/layouts/Window.js +++ b/tgui/packages/tgui/layouts/Window.js @@ -180,7 +180,7 @@ const TitleBar = (props, context) => { // eslint-disable-next-line react/no-unknown-property onclick={onClose} > - {Byond.IS_LTE_IE8 ? 'x' : '×'} + × </div> )} </div> diff --git a/tgui/packages/tgui/package.json b/tgui/packages/tgui/package.json index 63a303a4e360..7777baed4b7f 100644 --- a/tgui/packages/tgui/package.json +++ b/tgui/packages/tgui/package.json @@ -1,12 +1,13 @@ { "private": true, "name": "tgui", - "version": "4.4.0", + "version": "4.5.0-paradise", "dependencies": { "@popperjs/core": "^2.11.8", "@types/marked": "^6.0.0", "common": "workspace:*", - "dompurify": "^2.4.7", + "csstype": "^3.1.3", + "dompurify": "2.5.0", "highlight.js": "^11.9.0", "inferno": "^7.4.11", "inferno-vnode-flags": "^7.4.11", diff --git a/tgui/packages/tgui/stories/ByondUi.stories.js b/tgui/packages/tgui/stories/ByondUi.stories.js index d50c6da31343..c8c95e41d263 100644 --- a/tgui/packages/tgui/stories/ByondUi.stories.js +++ b/tgui/packages/tgui/stories/ByondUi.stories.js @@ -35,7 +35,7 @@ const Story = (props, context) => { <Button icon="chevron-right" onClick={() => - setImmediate(() => { + setTimeout(() => { try { const result = new Function('return (' + code + ')')(); if (result && result.then) { diff --git a/tgui/packages/tgui/styles/interfaces/SeedExtractor.scss b/tgui/packages/tgui/styles/interfaces/SeedExtractor.scss new file mode 100644 index 000000000000..f2a2a3beb32e --- /dev/null +++ b/tgui/packages/tgui/styles/interfaces/SeedExtractor.scss @@ -0,0 +1,17 @@ +@use '../base.scss'; +@use '../colors.scss'; +@use '../functions.scss' as *; + +.SeedExtractor__list { + tr:not(:first-child) { + height: 24px; + line-height: 24px; + cursor: pointer; + + transition: background-color 50ms; + &:hover, + &:focus { + background-color: rgba(base.$color-bg, 1); + } + } +} diff --git a/tgui/packages/tgui/styles/layouts/Layout.scss b/tgui/packages/tgui/styles/layouts/Layout.scss index 8cb397537ccc..3ededd20a875 100644 --- a/tgui/packages/tgui/styles/layouts/Layout.scss +++ b/tgui/packages/tgui/styles/layouts/Layout.scss @@ -10,7 +10,7 @@ $scrollbar-color-multiplier: 1 !default; .Layout, .Layout * { - // Fancy scrollbar + // Remove with 516, IE legacy code scrollbar-base-color: color.scale( base.$color-bg, $lightness: -25% * $scrollbar-color-multiplier @@ -39,6 +39,24 @@ $scrollbar-color-multiplier: 1 !default; base.$color-bg, $lightness: 10% * $scrollbar-color-multiplier ); + // Fancy scrollbar + &::-webkit-scrollbar { + width: 12px; + } + + &::-webkit-scrollbar-track { + background: color.scale( + base.$color-bg, + $lightness: -25% * $scrollbar-color-multiplier + ); + } + + &::-webkit-scrollbar-thumb { + background: color.scale( + base.$color-bg, + $lightness: 10% * $scrollbar-color-multiplier + ); + } } .Layout__content { diff --git a/tgui/packages/tgui/styles/main.scss b/tgui/packages/tgui/styles/main.scss index bfbde3105577..fc174a5fb6ac 100644 --- a/tgui/packages/tgui/styles/main.scss +++ b/tgui/packages/tgui/styles/main.scss @@ -65,6 +65,7 @@ @include meta.load-css('./interfaces/Safe.scss'); @include meta.load-css('./interfaces/SecureStorage.scss'); @include meta.load-css('./interfaces/SecurityRecords.scss'); +@include meta.load-css('./interfaces/SeedExtractor.scss'); @include meta.load-css('./interfaces/MedicalRecords.scss'); // Layouts diff --git a/tgui/packages/tgui/styles/themes/hydroponics.scss b/tgui/packages/tgui/styles/themes/hydroponics.scss new file mode 100644 index 000000000000..bf5aeb51de1c --- /dev/null +++ b/tgui/packages/tgui/styles/themes/hydroponics.scss @@ -0,0 +1,35 @@ +@use 'sass:color'; +@use 'sass:meta'; + +@use '../colors.scss' with ( + $primary: #49a149, + $blue: #21d021, + $label: #7ea77e, + $fg-map-keys: ( + 'label', + ), + $bg-map-keys: ( + 'good', + ) +); +@use '../base.scss'; + +.theme-hydroponics { + // Atomic classes + @include meta.load-css('../atomic/color.scss'); + + // Components + @include meta.load-css( + '../components/Button.scss', + $with: ('color-default': colors.$primary) + ); + @include meta.load-css( + '../components/Input.scss', + $with: ('border-color': #88ff88) + ); + @include meta.load-css('../components/NoticeBox.scss'); + @include meta.load-css('../components/Section.scss'); + + // Interfaces + @include meta.load-css('../interfaces/Newscaster.scss'); +} diff --git a/tgui/public/tgui-panel.bundle.css b/tgui/public/tgui-panel.bundle.css index 99f99a2e3f08..b4b7d06ef3f5 100644 --- a/tgui/public/tgui-panel.bundle.css +++ b/tgui/public/tgui-panel.bundle.css @@ -1 +1 @@ -html,body{box-sizing:border-box;height:100%;margin:0;font-size:12px}html{overflow:hidden;cursor:default}body{overflow:auto;font-family:Verdana,Geneva,sans-serif}*,*:before,*:after{box-sizing:inherit}h1,h2,h3,h4,h5,h6{display:block;margin:0;padding:6px 0;padding:.5rem 0}h1{font-size:18px;font-size:1.5rem}h2{font-size:16px;font-size:1.333rem}h3{font-size:14px;font-size:1.167rem}h4{font-size:12px;font-size:1rem}td,th{vertical-align:baseline;text-align:left}.candystripe:nth-child(odd){background-color:rgba(0,0,0,.25)}.color-black{color:#1a1a1a!important}.color-white{color:#fff!important}.color-red{color:#df3e3e!important}.color-orange{color:#f37f33!important}.color-yellow{color:#fbda21!important}.color-olive{color:#cbe41c!important}.color-green{color:#25ca4c!important}.color-teal{color:#00d6cc!important}.color-blue{color:#2e93de!important}.color-violet{color:#7349cf!important}.color-purple{color:#ad45d0!important}.color-pink{color:#e34da1!important}.color-brown{color:#b97447!important}.color-grey{color:#848484!important}.color-good{color:#68c22d!important}.color-average{color:#f29a29!important}.color-bad{color:#df3e3e!important}.color-label{color:#8b9bb0!important}.color-bg-black{background-color:#000!important}.color-bg-white{background-color:#d9d9d9!important}.color-bg-red{background-color:#bd2020!important}.color-bg-orange{background-color:#d95e0c!important}.color-bg-yellow{background-color:#d9b804!important}.color-bg-olive{background-color:#9aad14!important}.color-bg-green{background-color:#1b9638!important}.color-bg-teal{background-color:#009a93!important}.color-bg-blue{background-color:#1c71b1!important}.color-bg-violet{background-color:#552dab!important}.color-bg-purple{background-color:#8b2baa!important}.color-bg-pink{background-color:#cf2082!important}.color-bg-brown{background-color:#8c5836!important}.color-bg-grey{background-color:#646464!important}.color-bg-good{background-color:#4d9121!important}.color-bg-average{background-color:#cd7a0d!important}.color-bg-bad{background-color:#bd2020!important}.color-bg-label{background-color:#657a94!important}.debug-layout,.debug-layout *:not(g):not(path){color:rgba(255,255,255,.9)!important;background:rgba(0,0,0,0)!important;outline:1px solid rgba(255,255,255,.5)!important;box-shadow:none!important;filter:none!important}.debug-layout:hover,.debug-layout *:not(g):not(path):hover{outline-color:rgba(255,255,255,.8)!important}.outline-dotted{outline-style:dotted!important}.outline-dashed{outline-style:dashed!important}.outline-solid{outline-style:solid!important}.outline-double{outline-style:double!important}.outline-groove{outline-style:groove!important}.outline-ridge{outline-style:ridge!important}.outline-inset{outline-style:inset!important}.outline-outset{outline-style:outset!important}.outline-color-black{outline:.167rem solid #1a1a1a!important}.outline-color-white{outline:.167rem solid #fff!important}.outline-color-red{outline:.167rem solid #df3e3e!important}.outline-color-orange{outline:.167rem solid #f37f33!important}.outline-color-yellow{outline:.167rem solid #fbda21!important}.outline-color-olive{outline:.167rem solid #cbe41c!important}.outline-color-green{outline:.167rem solid #25ca4c!important}.outline-color-teal{outline:.167rem solid #00d6cc!important}.outline-color-blue{outline:.167rem solid #2e93de!important}.outline-color-violet{outline:.167rem solid #7349cf!important}.outline-color-purple{outline:.167rem solid #ad45d0!important}.outline-color-pink{outline:.167rem solid #e34da1!important}.outline-color-brown{outline:.167rem solid #b97447!important}.outline-color-grey{outline:.167rem solid #848484!important}.outline-color-good{outline:.167rem solid #68c22d!important}.outline-color-average{outline:.167rem solid #f29a29!important}.outline-color-bad{outline:.167rem solid #df3e3e!important}.outline-color-label{outline:.167rem solid #8b9bb0!important}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-baseline{text-align:baseline}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-pre{white-space:pre}.text-bold{font-weight:700}.text-italic{font-style:italic}.text-underline{text-decoration:underline}.BlockQuote{color:#8b9bb0;border-left:.1666666667em solid #8b9bb0;padding-left:.5em;margin-bottom:.5em}.BlockQuote:last-child{margin-bottom:0}.Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.Button:last-child{margin-right:0;margin-bottom:0}.Button .fa,.Button .fas,.Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.Button--hasContent .fa,.Button--hasContent .fas,.Button--hasContent .far{margin-right:.25em}.Button--hasContent.Button--iconRight .fa,.Button--hasContent.Button--iconRight .fas,.Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.Button--fluid{display:block;margin-left:0;margin-right:0}.Button--circular{border-radius:50%}.Button--compact{padding:0 .25em;line-height:1.333em}.Button--multiLine{white-space:normal;word-wrap:break-word}.Button--color--black{transition:color .1s,background-color .1s;background-color:#000;color:#fff}.Button--color--black:focus{transition:color .25s,background-color .25s}.Button--color--black:hover{background-color:#101010;color:#fff}.Button--color--white{transition:color .1s,background-color .1s;background-color:#d9d9d9;color:#000}.Button--color--white:focus{transition:color .25s,background-color .25s}.Button--color--white:hover{background-color:#f8f8f8;color:#000}.Button--color--red{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.Button--color--red:focus{transition:color .25s,background-color .25s}.Button--color--red:hover{background-color:#d93f3f;color:#fff}.Button--color--orange{transition:color .1s,background-color .1s;background-color:#d95e0c;color:#fff}.Button--color--orange:focus{transition:color .25s,background-color .25s}.Button--color--orange:hover{background-color:#ef7e33;color:#fff}.Button--color--yellow{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.Button--color--yellow:focus{transition:color .25s,background-color .25s}.Button--color--yellow:hover{background-color:#f5d523;color:#000}.Button--color--olive{transition:color .1s,background-color .1s;background-color:#9aad14;color:#fff}.Button--color--olive:focus{transition:color .25s,background-color .25s}.Button--color--olive:hover{background-color:#bdd327;color:#fff}.Button--color--green{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.Button--color--green:focus{transition:color .25s,background-color .25s}.Button--color--green:hover{background-color:#2fb94f;color:#fff}.Button--color--teal{transition:color .1s,background-color .1s;background-color:#009a93;color:#fff}.Button--color--teal:focus{transition:color .25s,background-color .25s}.Button--color--teal:hover{background-color:#10bdb6;color:#fff}.Button--color--blue{transition:color .1s,background-color .1s;background-color:#1c71b1;color:#fff}.Button--color--blue:focus{transition:color .25s,background-color .25s}.Button--color--blue:hover{background-color:#308fd6;color:#fff}.Button--color--violet{transition:color .1s,background-color .1s;background-color:#552dab;color:#fff}.Button--color--violet:focus{transition:color .25s,background-color .25s}.Button--color--violet:hover{background-color:#7249ca;color:#fff}.Button--color--purple{transition:color .1s,background-color .1s;background-color:#8b2baa;color:#fff}.Button--color--purple:focus{transition:color .25s,background-color .25s}.Button--color--purple:hover{background-color:#aa46ca;color:#fff}.Button--color--pink{transition:color .1s,background-color .1s;background-color:#cf2082;color:#fff}.Button--color--pink:focus{transition:color .25s,background-color .25s}.Button--color--pink:hover{background-color:#e04ca0;color:#fff}.Button--color--brown{transition:color .1s,background-color .1s;background-color:#8c5836;color:#fff}.Button--color--brown:focus{transition:color .25s,background-color .25s}.Button--color--brown:hover{background-color:#ae724c;color:#fff}.Button--color--grey{transition:color .1s,background-color .1s;background-color:#646464;color:#fff}.Button--color--grey:focus{transition:color .25s,background-color .25s}.Button--color--grey:hover{background-color:#818181;color:#fff}.Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.Button--color--good:focus{transition:color .25s,background-color .25s}.Button--color--good:hover{background-color:#67b335;color:#fff}.Button--color--average{transition:color .1s,background-color .1s;background-color:#cd7a0d;color:#fff}.Button--color--average:focus{transition:color .25s,background-color .25s}.Button--color--average:hover{background-color:#eb972b;color:#fff}.Button--color--bad{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.Button--color--bad:focus{transition:color .25s,background-color .25s}.Button--color--bad:hover{background-color:#d93f3f;color:#fff}.Button--color--label{transition:color .1s,background-color .1s;background-color:#657a94;color:#fff}.Button--color--label:focus{transition:color .25s,background-color .25s}.Button--color--label:hover{background-color:#8a9aae;color:#fff}.Button--color--default{transition:color .1s,background-color .1s;background-color:#3e6189;color:#fff}.Button--color--default:focus{transition:color .25s,background-color .25s}.Button--color--default:hover{background-color:#567daa;color:#fff}.Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.Button--color--caution:focus{transition:color .25s,background-color .25s}.Button--color--caution:hover{background-color:#f5d523;color:#000}.Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.Button--color--danger:focus{transition:color .25s,background-color .25s}.Button--color--danger:hover{background-color:#d93f3f;color:#fff}.Button--color--transparent{transition:color .1s,background-color .1s;background-color:#202020;color:#fff;background-color:rgba(32,32,32,0);color:rgba(255,255,255,.5)}.Button--color--transparent:focus{transition:color .25s,background-color .25s}.Button--color--transparent:hover{background-color:#343434;color:#fff}.Button--color--translucent{transition:color .1s,background-color .1s;background-color:#202020;color:#fff;background-color:rgba(32,32,32,.6);color:rgba(255,255,255,.5)}.Button--color--translucent:focus{transition:color .25s,background-color .25s}.Button--color--translucent:hover{background-color:#343434;color:#fff}.Button--disabled{background-color:#999!important}.Button--selected{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.Button--selected:focus{transition:color .25s,background-color .25s}.Button--selected:hover{background-color:#2fb94f;color:#fff}.Button--modal{float:right;z-index:1;margin-top:-.5rem}.ColorBox{display:inline-block;width:1em;height:1em;line-height:1em;text-align:center}.Dimmer{display:flex;justify-content:center;align-items:center;position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.75);z-index:1}.Dropdown{position:relative;align-items:center}.Dropdown__control{display:inline-block;align-items:center;font-family:Verdana,sans-serif;font-size:1em;width:8.3333333333em;line-height:1.3333333333em;-ms-user-select:none;user-select:none}.Dropdown__arrow-button{float:right;padding-left:.35em;width:1.2em;height:1.8333333333em;border-left:.0833333333em solid #000;border-left:.0833333333em solid rgba(0,0,0,.25)}.Dropdown__menu{overflow-y:auto;align-items:center;z-index:5;max-height:16.6666666667em;border-radius:0 0 .1666666667em .1666666667em;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75)}.Dropdown__menu-scroll{overflow-y:scroll}.Dropdown__menuentry{padding:.1666666667em .3333333333em;font-family:Verdana,sans-serif;font-size:1em;line-height:1.4166666667em;transition:background-color .1s ease-out}.Dropdown__menuentry.selected{background-color:rgba(255,255,255,.5)!important;transition:background-color 0ms}.Dropdown__menuentry:hover{background-color:rgba(255,255,255,.2);transition:background-color 0ms}.Dropdown__over{top:auto;bottom:100%}.Dropdown__selected-text{display:inline-block;text-overflow:ellipsis;white-space:nowrap;height:1.4166666667em;width:calc(100% - 1.2em);text-align:left;padding-top:2.5px}.Flex{display:-ms-flexbox;display:flex}.Flex--inline{display:inline-flex}.Flex--iefix{display:block}.Flex--iefix.Flex--inline,.Flex__item--iefix{display:inline-block}.Flex--iefix--column>.Flex__item--iefix{display:block}.Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.Knob__popupValue,.Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.Knob__popupValue--right{top:.25rem;right:-50%}.Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.Knob__ringTrackPivot{transform:rotate(135deg)}.Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.Knob__ringFillPivot{transform:rotate(135deg)}.Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.Knob--color--white .Knob__ringFill{stroke:#fff}.Knob--color--red .Knob__ringFill{stroke:#df3e3e}.Knob--color--orange .Knob__ringFill{stroke:#f37f33}.Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.Knob--color--green .Knob__ringFill{stroke:#25ca4c}.Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.Knob--color--blue .Knob__ringFill{stroke:#2e93de}.Knob--color--violet .Knob__ringFill{stroke:#7349cf}.Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.Knob--color--pink .Knob__ringFill{stroke:#e34da1}.Knob--color--brown .Knob__ringFill{stroke:#b97447}.Knob--color--grey .Knob__ringFill{stroke:#848484}.Knob--color--good .Knob__ringFill{stroke:#68c22d}.Knob--color--average .Knob__ringFill{stroke:#f29a29}.Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.Knob--color--label .Knob__ringFill{stroke:#8b9bb0}.LabeledList{display:table;width:100%;width:calc(100% + 1em);border-collapse:collapse;border-spacing:0;margin:-.25em -.5em 0;padding:0}.LabeledList__row{display:table-row}.LabeledList__row:last-child .LabeledList__cell{padding-bottom:0}.LabeledList__cell{display:table-cell;margin:0;padding:.25em .5em;border:0;text-align:left;vertical-align:baseline}.LabeledList__label{width:1%;white-space:nowrap;min-width:5em}.LabeledList__buttons{width:.1%;white-space:nowrap;text-align:right;padding-top:.0833333333em;padding-bottom:0}.LabeledList__breakContents{word-break:break-all;word-wrap:break-word}.Modal{background-color:#202020;max-width:calc(100% - 1rem);padding:1rem;scrollbar-base-color:#181818;scrollbar-face-color:#363636;scrollbar-3dlight-color:#202020;scrollbar-highlight-color:#202020;scrollbar-track-color:#181818;scrollbar-arrow-color:#909090;scrollbar-shadow-color:#363636}.NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#000;background-color:#bb9b68;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.NoticeBox--color--black{color:#fff;background-color:#000}.NoticeBox--color--white{color:#000;background-color:#b3b3b3}.NoticeBox--color--red{color:#fff;background-color:#701f1f}.NoticeBox--color--orange{color:#fff;background-color:#854114}.NoticeBox--color--yellow{color:#000;background-color:#83710d}.NoticeBox--color--olive{color:#000;background-color:#576015}.NoticeBox--color--green{color:#fff;background-color:#174e24}.NoticeBox--color--teal{color:#fff;background-color:#064845}.NoticeBox--color--blue{color:#fff;background-color:#1b4565}.NoticeBox--color--violet{color:#fff;background-color:#3b2864}.NoticeBox--color--purple{color:#fff;background-color:#542663}.NoticeBox--color--pink{color:#fff;background-color:#802257}.NoticeBox--color--brown{color:#fff;background-color:#4c3729}.NoticeBox--color--grey{color:#fff;background-color:#3e3e3e}.NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.NoticeBox--color--average{color:#fff;background-color:#7b4e13}.NoticeBox--color--bad{color:#fff;background-color:#701f1f}.NoticeBox--color--label{color:#fff;background-color:#53565a}.NoticeBox--type--info{color:#fff;background-color:#235982}.NoticeBox--type--success{color:#fff;background-color:#1e662f}.NoticeBox--type--warning{color:#fff;background-color:#a95219}.NoticeBox--type--danger{color:#fff;background-color:#8f2828}.NumberInput{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;color:#88bfff;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.NumberInput--fluid{display:block}.NumberInput__content{margin-left:.5em}.NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #88bfff;background-color:#88bfff}.NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.ProgressBar__fill--animated{transition:background-color .5s,width .5s}.ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.ProgressBar--color--default{border:.0833333333em solid #3e6189}.ProgressBar--color--default .ProgressBar__fill{background-color:#3e6189}.ProgressBar--color--disabled{border:1px solid #999}.ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.ProgressBar--color--black{border:.0833333333em solid #000!important}.ProgressBar--color--black .ProgressBar__fill{background-color:#000}.ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.ProgressBar--color--grey{border:.0833333333em solid #646464!important}.ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.ProgressBar--color--label{border:.0833333333em solid #657a94!important}.ProgressBar--color--label .ProgressBar__fill{background-color:#657a94}.Section{position:relative;margin-bottom:.5em;background-color:#131313;box-sizing:border-box}.Section:last-child{margin-bottom:0}.Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.Section__rest{position:relative}.Section__content{padding:.66em .5em}.Section--fitted>.Section__rest>.Section__content{padding:0}.Section--fill{display:flex;flex-direction:column;height:100%}.Section--fill>.Section__rest{flex-grow:1}.Section--fill>.Section__rest>.Section__content{height:100%}.Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.Section--scrollable{overflow-x:hidden;overflow-y:hidden}.Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.Section .Section:first-child{margin-top:-.5em}.Section .Section .Section__titleText{font-size:1.0833333333em}.Section .Section .Section .Section__titleText{font-size:1em}.Slider:not(.Slider__disabled){cursor:e-resize}.Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.Divider--horizontal{margin:.5em 0}.Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.Divider--vertical{height:100%;margin:0 .5em}.Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.Stack--fill{height:100%}.Stack--horizontal>.Stack__item{margin-left:.5em}.Stack--horizontal>.Stack__item:first-child{margin-left:0}.Stack--vertical>.Stack__item{margin-top:.5em}.Stack--vertical>.Stack__item:first-child{margin-top:0}.Stack--zebra>.Stack__item:nth-child(2n){background-color:#131313}.Stack--horizontal>.Stack__divider:not(.Stack__divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.Stack--vertical>.Stack__divider:not(.Stack__divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.Table{display:table;width:100%;border-collapse:collapse;border-spacing:0;margin:0}.Table--collapsing{width:auto}.Table__row{display:table-row}.Table__cell{display:table-cell;padding:0 .25em}.Table__cell:first-child{padding-left:0}.Table__cell:last-child{padding-right:0}.Table__row--header .Table__cell,.Table__cell--header{font-weight:700;padding-bottom:.5em}.Table__cell--collapsing{width:1%;white-space:nowrap}.Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:#131313}.Tabs--fill{height:100%}.Section .Tabs{background-color:rgba(0,0,0,0)}.Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.Tabs--horizontal:last-child{margin-bottom:0}.Tabs__Tab{flex-grow:0}.Tabs--fluid .Tabs__Tab{flex-grow:1}.Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(255,255,255,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.Tab:not(.Tab--selected):hover{background-color:rgba(255,255,255,.075);transition:background-color 0}.Tab--selected{background-color:rgba(255,255,255,.125);color:#dfe7f0}.Tab__text{flex-grow:1;margin:0 .5em}.Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #d4dfec}.Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.Tabs--vertical .Tab--selected{border-left:.1666666667em solid #d4dfec}.Tab--selected.Tab--color--black{color:#535353}.Tabs--horizontal .Tab--selected.Tab--color--black{border-bottom-color:#1a1a1a}.Tabs--vertical .Tab--selected.Tab--color--black{border-left-color:#1a1a1a}.Tab--selected.Tab--color--white{color:#fff}.Tabs--horizontal .Tab--selected.Tab--color--white{border-bottom-color:#fff}.Tabs--vertical .Tab--selected.Tab--color--white{border-left-color:#fff}.Tab--selected.Tab--color--red{color:#e76e6e}.Tabs--horizontal .Tab--selected.Tab--color--red{border-bottom-color:#df3e3e}.Tabs--vertical .Tab--selected.Tab--color--red{border-left-color:#df3e3e}.Tab--selected.Tab--color--orange{color:#f69f66}.Tabs--horizontal .Tab--selected.Tab--color--orange{border-bottom-color:#f37f33}.Tabs--vertical .Tab--selected.Tab--color--orange{border-left-color:#f37f33}.Tab--selected.Tab--color--yellow{color:#fce358}.Tabs--horizontal .Tab--selected.Tab--color--yellow{border-bottom-color:#fbda21}.Tabs--vertical .Tab--selected.Tab--color--yellow{border-left-color:#fbda21}.Tab--selected.Tab--color--olive{color:#d8eb55}.Tabs--horizontal .Tab--selected.Tab--color--olive{border-bottom-color:#cbe41c}.Tabs--vertical .Tab--selected.Tab--color--olive{border-left-color:#cbe41c}.Tab--selected.Tab--color--green{color:#53e074}.Tabs--horizontal .Tab--selected.Tab--color--green{border-bottom-color:#25ca4c}.Tabs--vertical .Tab--selected.Tab--color--green{border-left-color:#25ca4c}.Tab--selected.Tab--color--teal{color:#21fff5}.Tabs--horizontal .Tab--selected.Tab--color--teal{border-bottom-color:#00d6cc}.Tabs--vertical .Tab--selected.Tab--color--teal{border-left-color:#00d6cc}.Tab--selected.Tab--color--blue{color:#62aee6}.Tabs--horizontal .Tab--selected.Tab--color--blue{border-bottom-color:#2e93de}.Tabs--vertical .Tab--selected.Tab--color--blue{border-left-color:#2e93de}.Tab--selected.Tab--color--violet{color:#9676db}.Tabs--horizontal .Tab--selected.Tab--color--violet{border-bottom-color:#7349cf}.Tabs--vertical .Tab--selected.Tab--color--violet{border-left-color:#7349cf}.Tab--selected.Tab--color--purple{color:#c274db}.Tabs--horizontal .Tab--selected.Tab--color--purple{border-bottom-color:#ad45d0}.Tabs--vertical .Tab--selected.Tab--color--purple{border-left-color:#ad45d0}.Tab--selected.Tab--color--pink{color:#ea79b9}.Tabs--horizontal .Tab--selected.Tab--color--pink{border-bottom-color:#e34da1}.Tabs--vertical .Tab--selected.Tab--color--pink{border-left-color:#e34da1}.Tab--selected.Tab--color--brown{color:#ca9775}.Tabs--horizontal .Tab--selected.Tab--color--brown{border-bottom-color:#b97447}.Tabs--vertical .Tab--selected.Tab--color--brown{border-left-color:#b97447}.Tab--selected.Tab--color--grey{color:#a3a3a3}.Tabs--horizontal .Tab--selected.Tab--color--grey{border-bottom-color:#848484}.Tabs--vertical .Tab--selected.Tab--color--grey{border-left-color:#848484}.Tab--selected.Tab--color--good{color:#8cd95a}.Tabs--horizontal .Tab--selected.Tab--color--good{border-bottom-color:#68c22d}.Tabs--vertical .Tab--selected.Tab--color--good{border-left-color:#68c22d}.Tab--selected.Tab--color--average{color:#f5b35e}.Tabs--horizontal .Tab--selected.Tab--color--average{border-bottom-color:#f29a29}.Tabs--vertical .Tab--selected.Tab--color--average{border-left-color:#f29a29}.Tab--selected.Tab--color--bad{color:#e76e6e}.Tabs--horizontal .Tab--selected.Tab--color--bad{border-bottom-color:#df3e3e}.Tabs--vertical .Tab--selected.Tab--color--bad{border-left-color:#df3e3e}.Tab--selected.Tab--color--label{color:#a8b4c4}.Tabs--horizontal .Tab--selected.Tab--color--label{border-bottom-color:#8b9bb0}.Tabs--vertical .Tab--selected.Tab--color--label{border-left-color:#8b9bb0}.Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.Input--fluid{display:block;width:auto}.Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input--monospace .Input__input{font-family:Consolas,monospace}.TextArea{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.TextArea--fluid{display:block;width:auto;height:auto}.TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.Tooltip{z-index:2;padding:.5em .75em;pointer-events:none;text-align:left;transition:opacity .15s ease-out;background-color:#000;color:#fff;box-shadow:.1em .1em 1.25em -.1em rgba(0,0,0,.5);border-radius:.16em;max-width:20.8333333333em}.Chat{color:#abc6ec}.Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.Chat__badge:before{content:"x"}.Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.Chat__scrollButton{position:fixed;right:2em;bottom:1em}.Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#131313}.Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.Chat__highlight{color:#000}.Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.ChatMessage{word-wrap:break-word}.ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.Ping{position:relative;padding:.125em .25em;border:.0833333333em solid rgba(140,140,140,.5);border-radius:.25em;width:3.75em;text-align:right}.Ping__indicator{content:"";position:absolute;top:.5em;left:.5em;width:.5em;height:.5em;background-color:#888;border-radius:.25em}.Notifications{position:absolute;top:1em;left:.75em;right:2em}.Notification{color:#fff;background-color:#dc143c;padding:.5em;margin:1em 0}.Notification:first-child{margin-top:0}.Notification:last-child{margin-bottom:0}.Layout,.Layout *{scrollbar-base-color:#181818;scrollbar-face-color:#363636;scrollbar-3dlight-color:#202020;scrollbar-highlight-color:#202020;scrollbar-track-color:#181818;scrollbar-arrow-color:#909090;scrollbar-shadow-color:#363636}.Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.Layout__content--flexRow{display:flex;flex-flow:row}.Layout__content--flexColumn{display:flex;flex-flow:column}.Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.Layout__content--noMargin{margin:0}.Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#202020;background-image:linear-gradient(to bottom,#202020,#202020)}.Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.Window__contentPadding:after{height:0}.Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(56,56,56,.25);pointer-events:none}.Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}img{margin:0;padding:0;line-height:1;-ms-interpolation-mode:nearest-neighbor;image-rendering:pixelated}img.icon{height:1em;min-height:16px;width:auto;vertical-align:bottom}a{color:#397ea5}a.popt{text-decoration:none}.popup{position:fixed;top:50%;left:50%;background:#ddd}.popup .close{position:absolute;background:#aaa;top:0;right:0;color:#333;text-decoration:none;z-index:2;padding:0 10px;height:30px;line-height:30px}.popup .close:hover{background:#999}.popup .head{background:#999;color:#ddd;padding:0 10px;height:30px;line-height:30px;text-transform:uppercase;font-size:.9em;font-weight:700;border-bottom:2px solid green}.popup input{border:1px solid #999;background:#fff;margin:0;padding:5px;outline:none;color:#333}.popup input[type=text]:hover,.popup input[type=text]:active,.popup input[type=text]:focus{border-color:green}.popup input[type=submit]{padding:5px 10px;background:#999;color:#ddd;text-transform:uppercase;font-size:.9em;font-weight:700}.popup input[type=submit]:hover,.popup input[type=submit]:focus,.popup input[type=submit]:active{background:#aaa;cursor:pointer}.changeFont{padding:10px}.changeFont a{display:block;text-decoration:none;padding:3px;color:#333}.changeFont a:hover{background:#ccc}.highlightPopup{padding:10px;text-align:center}.highlightPopup input[type=text]{display:block;width:215px;text-align:left;margin-top:5px}.highlightPopup input.highlightColor{background-color:#ff0}.highlightPopup input.highlightTermSubmit{margin-top:5px}.contextMenu{background-color:#ddd;position:fixed;margin:2px;width:150px}.contextMenu a{display:block;padding:2px 5px;text-decoration:none;color:#333}.contextMenu a:hover{background-color:#ccc}.filterMessages{padding:5px}.filterMessages div{padding:2px 0}.icon-stack{height:1em;line-height:1em;width:1em;vertical-align:middle;margin-top:-2px}.motd{color:#a4bad6;font-family:Verdana,sans-serif;white-space:normal}.motd h1,.motd h2,.motd h3,.motd h4,.motd h5,.motd h6{color:#a4bad6;text-decoration:underline}.motd a,.motd a:link,.motd a:active,.motd a:hover{color:#a4bad6}.italic,.italics,.emote{font-style:italic}.highlight{background:#ff0}h1,h2,h3,h4,h5,h6{color:#a4bad6;font-family:Georgia,Verdana,sans-serif}em{font-style:normal;font-weight:700}.darkmblue{color:#6685f5}.prefix,.ooc{font-weight:700}.looc{color:#69c;font-weight:700}.adminobserverooc{color:#09c;font-weight:700}.adminooc{color:#b82e00;font-weight:700}.adminobserver{color:#960;font-weight:700}.admin{color:#386aff;font-weight:700}.adminsay{color:#9611d4;font-weight:700}.mentorhelp{color:#07b;font-weight:700}.adminhelp{color:#a00;font-weight:700}.playerreply{color:#80b;font-weight:700}.pmsend{color:#6685f5}.debug{color:#6d2f83}.name,.yell{font-weight:700}.siliconsay{font-family:Courier New,Courier,monospace}.deadsay{color:#e2c1ff}.radio{color:#20b142}.deptradio{color:#939}.comradio{color:#5f5cff}.syndradio{color:#8f4a4b}.dsquadradio{color:#998599}.resteamradio{color:#18bc46}.airadio{color:#ff5ed7}.centradio{color:#2681a5}.secradio{color:#dd3535}.engradio{color:#feac20}.medradio{color:#00b5ad}.sciradio{color:#c68cfa}.supradio{color:#b88646}.srvradio{color:#bbd164}.proradio{color:#b84f92}.admin_channel{color:#03fc9d;font-weight:700}.all_admin_ping{color:#12a5f4;font-weight:700;font-size:120%;text-align:center}.mentor_channel{color:#775bff;font-weight:700}.mentor_channel_admin{color:#a35cff;font-weight:700}.djradio{color:#960}.binaryradio{color:#1b00fb;font-family:Courier New,Courier,monospace}.mommiradio{color:#6685f5}.alert{color:#d82020}h1.alert,h2.alert{color:#a4bad6}.ghostalert{color:#cc00c6;font-style:italic;font-weight:700}.emote{font-style:italic}.selecteddna{color:#a4bad6;background-color:#001b1b}.attack{color:red}.moderate{color:#c00}.disarm{color:#900}.passive{color:#600}.warning{color:#c51e1e;font-style:italic}.boldwarning{color:#c51e1e;font-style:italic;font-weight:700}.danger{color:#c51e1e;font-weight:700}.userdanger{color:#c51e1e;font-weight:700;font-size:120%}.biggerdanger{color:red;font-weight:700;font-size:150%}.info{color:#9ab0ff}.notice{color:#6685f5}.boldnotice{color:#6685f5;font-weight:700}.suicide{color:#ff5050;font-style:italic}.green{color:#03bb39}.pr_announce,.boldannounceic,.boldannounceooc{color:#c51e1e;font-weight:700}.greenannounce{color:#059223;font-weight:700}.alien{color:#c433c4}.noticealien{color:#00c000}.alertalien{color:#00c000;font-weight:700}.terrorspider{color:#cf52fa}.dantalion{color:#8b2c5e}.chaosverygood{color:#19e0c0;font-weight:700;font-size:120%}.chaosgood{color:#19e0c0;font-weight:700}.chaosneutral{color:#479ac0;font-weight:700}.chaosbad{color:#9047c0;font-weight:700}.chaosverybad{color:#9047c0;font-weight:700;font-size:120%}.sinister{color:purple;font-weight:700;font-style:italic}.medal{font-weight:700}.blob{color:#006221;font-weight:700;font-style:italic}.confirm{color:#00af3b}.rose{color:#ff5050}.sans{font-family:Comic Sans MS,cursive,sans-serif}.wingdings{font-family:Wingdings,Webdings}.robot{font-family:OCR-A,monospace;font-size:1.15em;font-weight:700}.ancient{color:#008b8b;font-style:italic}.newscaster{color:#c00}.mod{color:#735638;font-weight:700}.modooc{color:#184880;font-weight:700}.adminmod{color:#f0aa14;font-weight:700}.tajaran{color:#803b56}.skrell{color:#00ced1}.solcom{color:#8282fb}.com_srus{color:#7c4848}.zombie{color:red}.soghun{color:#228b22}.changeling{color:#00b4de}.vox{color:#a0a}.diona{color:#804000;font-weight:700}.trinary{color:#727272}.kidan{color:#c64c05}.slime{color:#07a}.drask{color:#a3d4eb;font-family:Arial Black}.moth{color:#869b29;font-family:Copperplate}.clown{color:red}.vulpkanin{color:#b97a57}.abductor{color:purple;font-style:italic}.mind_control{color:#a00d6f;font-size:3;font-weight:700;font-style:italic}.rough{font-family:Trebuchet MS,cursive,sans-serif}.say_quote{font-family:Georgia,Verdana,sans-serif}.cult{color:purple;font-weight:700;font-style:italic}.cultspeech{color:#af0000;font-style:italic}.cultitalic{color:#a60000;font-style:italic}.cultlarge{color:#a60000;font-weight:700;font-size:120%}.narsie{color:#a60000;font-weight:700;font-size:300%}.narsiesmall{color:#a60000;font-weight:700;font-size:200%}.interface{color:#9031c4}.big{font-size:150%}.reallybig{font-size:175%}.greentext{color:#0f0;font-size:150%}.redtext{color:red;font-size:150%}.bold{font-weight:700}.his_grace{color:#15d512;font-family:Courier New,cursive,sans-serif;font-style:italic}.center{text-align:center}.red{color:red}.purple{color:#9031c4}.skeleton{color:#c8c8c8;font-weight:700;font-style:italic}.gutter{color:#7092be;font-family:Trebuchet MS,cursive,sans-serif}.orange{color:orange}.orangei{color:orange;font-style:italic}.orangeb{color:orange;font-weight:700}.resonate{color:#298f85}.healthscan_oxy{color:#5cc9ff}.revennotice{color:#6685f5}.revenboldnotice{color:#6685f5;font-weight:700}.revenbignotice{color:#6685f5;font-weight:700;font-size:120%}.revenminor{color:#823abb}.revenwarning{color:#760fbb;font-style:italic}.revendanger{color:#760fbb;font-weight:700;font-size:120%}.specialnotice{color:#4a6f82;font-weight:700;font-size:120%}.good{color:green}.average{color:#ff8000}.bad{color:red}.italics,.talkinto{font-style:italic}.whisper{font-style:italic;color:#ccc}.recruit{color:#5c00e6;font-weight:700;font-style:italic}.memo{color:#638500;text-align:center}.memoedit{text-align:center;font-size:75%}.connectionClosed,.fatalError{background:red;color:#fff;padding:5px}.connectionClosed.restored{background:green}.internal.boldnshit{color:#6685f5;font-weight:700}.rebooting{background:#2979af;color:#fff;padding:5px}.rebooting a{color:#fff!important;text-decoration-color:#fff!important}.text-normal{font-weight:400;font-style:normal}.hidden{display:none;visibility:hidden}.colossus{color:#7f282a;font-size:175%}.hierophant{color:#609;font-weight:700;font-style:italic}.hierophant_warning{color:#609;font-style:italic}.emoji{max-height:16px;max-width:16px}.adminticket{color:#3daf21;font-weight:700}.adminticketalt{color:#ccb847;font-weight:700}span.body .codephrases{color:#55f}span.body .coderesponses{color:#f33}.announcement h1,.announcement h2{color:#a4bad6;margin:8pt 0;line-height:1.2}.announcement p{color:#d82020;line-height:1.3}.announcement.minor h1{font-size:180%}.announcement.minor h2{font-size:170%}.announcement.sec h1{color:red;font-size:180%;font-family:Verdana,sans-serif}.bolditalics{font-style:italic;font-weight:700}.boxed_message{background:#1b1c1e;border:1px solid #a3b9d9;margin:.5em;padding:.5em .75em;text-align:center}.boxed_message.left_align_text{text-align:left}.boxed_message.red_border{background:#1e1b1b;border-color:#a00}.boxed_message.green_border{background:#1b1e1c;border-color:#0f0}.boxed_message.purple_border{background:#1d1c1f;border-color:#8000ff}.boxed_message.notice_border{background:#1b1c1e;border-color:#6685f5}.boxed_message.thick_border{border-width:thick}.theme-light .color-black{color:#000!important}.theme-light .color-white{color:#e6e6e6!important}.theme-light .color-red{color:#c82121!important}.theme-light .color-orange{color:#e6630d!important}.theme-light .color-yellow{color:#e5c304!important}.theme-light .color-olive{color:#a3b816!important}.theme-light .color-green{color:#1d9f3b!important}.theme-light .color-teal{color:#00a39c!important}.theme-light .color-blue{color:#1e78bb!important}.theme-light .color-violet{color:#5a30b5!important}.theme-light .color-purple{color:#932eb4!important}.theme-light .color-pink{color:#db228a!important}.theme-light .color-brown{color:#955d39!important}.theme-light .color-grey{color:#e6e6e6!important}.theme-light .color-good{color:#529923!important}.theme-light .color-average{color:#da810e!important}.theme-light .color-bad{color:#c82121!important}.theme-light .color-label{color:#353535!important}.theme-light .color-bg-black{background-color:#000!important}.theme-light .color-bg-white{background-color:#bfbfbf!important}.theme-light .color-bg-red{background-color:#a61c1c!important}.theme-light .color-bg-orange{background-color:#c0530b!important}.theme-light .color-bg-yellow{background-color:#bfa303!important}.theme-light .color-bg-olive{background-color:#889912!important}.theme-light .color-bg-green{background-color:#188532!important}.theme-light .color-bg-teal{background-color:#008882!important}.theme-light .color-bg-blue{background-color:#19649c!important}.theme-light .color-bg-violet{background-color:#4b2897!important}.theme-light .color-bg-purple{background-color:#7a2696!important}.theme-light .color-bg-pink{background-color:#b61d73!important}.theme-light .color-bg-brown{background-color:#7c4d2f!important}.theme-light .color-bg-grey{background-color:#bfbfbf!important}.theme-light .color-bg-good{background-color:#44801d!important}.theme-light .color-bg-average{background-color:#b56b0b!important}.theme-light .color-bg-bad{background-color:#a61c1c!important}.theme-light .color-bg-label{background-color:#2c2c2c!important}.theme-light .Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:#fff}.theme-light .Tabs--fill{height:100%}.theme-light .Section .Tabs{background-color:rgba(0,0,0,0)}.theme-light .Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.theme-light .Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.theme-light .Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.theme-light .Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.theme-light .Tabs--horizontal:last-child{margin-bottom:0}.theme-light .Tabs__Tab{flex-grow:0}.theme-light .Tabs--fluid .Tabs__Tab{flex-grow:1}.theme-light .Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(0,0,0,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.theme-light .Tab:not(.Tab--selected):hover{background-color:rgba(0,0,0,.075);transition:background-color 0}.theme-light .Tab--selected{background-color:rgba(0,0,0,.125);color:#404040}.theme-light .Tab__text{flex-grow:1;margin:0 .5em}.theme-light .Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.theme-light .Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.theme-light .Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.theme-light .Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #000}.theme-light .Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.theme-light .Tabs--vertical .Tab--selected{border-left:.1666666667em solid #000}.theme-light .Tab--selected.Tab--color--black{color:#404040}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--black{border-bottom-color:#000}.theme-light .Tabs--vertical .Tab--selected.Tab--color--black{border-left-color:#000}.theme-light .Tab--selected.Tab--color--white{color:#ececec}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--white{border-bottom-color:#e6e6e6}.theme-light .Tabs--vertical .Tab--selected.Tab--color--white{border-left-color:#e6e6e6}.theme-light .Tab--selected.Tab--color--red{color:#e14d4d}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--red{border-bottom-color:#c82121}.theme-light .Tabs--vertical .Tab--selected.Tab--color--red{border-left-color:#c82121}.theme-light .Tab--selected.Tab--color--orange{color:#f48942}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--orange{border-bottom-color:#e6630d}.theme-light .Tabs--vertical .Tab--selected.Tab--color--orange{border-left-color:#e6630d}.theme-light .Tab--selected.Tab--color--yellow{color:#fcdd33}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--yellow{border-bottom-color:#e5c304}.theme-light .Tabs--vertical .Tab--selected.Tab--color--yellow{border-left-color:#e5c304}.theme-light .Tab--selected.Tab--color--olive{color:#d0e732}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--olive{border-bottom-color:#a3b816}.theme-light .Tabs--vertical .Tab--selected.Tab--color--olive{border-left-color:#a3b816}.theme-light .Tab--selected.Tab--color--green{color:#33da5a}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--green{border-bottom-color:#1d9f3b}.theme-light .Tabs--vertical .Tab--selected.Tab--color--green{border-left-color:#1d9f3b}.theme-light .Tab--selected.Tab--color--teal{color:#00faef}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--teal{border-bottom-color:#00a39c}.theme-light .Tabs--vertical .Tab--selected.Tab--color--teal{border-left-color:#00a39c}.theme-light .Tab--selected.Tab--color--blue{color:#419ce1}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--blue{border-bottom-color:#1e78bb}.theme-light .Tabs--vertical .Tab--selected.Tab--color--blue{border-left-color:#1e78bb}.theme-light .Tab--selected.Tab--color--violet{color:#7f58d3}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--violet{border-bottom-color:#5a30b5}.theme-light .Tabs--vertical .Tab--selected.Tab--color--violet{border-left-color:#5a30b5}.theme-light .Tab--selected.Tab--color--purple{color:#b455d4}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--purple{border-bottom-color:#932eb4}.theme-light .Tabs--vertical .Tab--selected.Tab--color--purple{border-left-color:#932eb4}.theme-light .Tab--selected.Tab--color--pink{color:#e558a7}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--pink{border-bottom-color:#db228a}.theme-light .Tabs--vertical .Tab--selected.Tab--color--pink{border-left-color:#db228a}.theme-light .Tab--selected.Tab--color--brown{color:#c0825a}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--brown{border-bottom-color:#955d39}.theme-light .Tabs--vertical .Tab--selected.Tab--color--brown{border-left-color:#955d39}.theme-light .Tab--selected.Tab--color--grey{color:#ececec}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--grey{border-bottom-color:#e6e6e6}.theme-light .Tabs--vertical .Tab--selected.Tab--color--grey{border-left-color:#e6e6e6}.theme-light .Tab--selected.Tab--color--good{color:#77d23b}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--good{border-bottom-color:#529923}.theme-light .Tabs--vertical .Tab--selected.Tab--color--good{border-left-color:#529923}.theme-light .Tab--selected.Tab--color--average{color:#f3a23a}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--average{border-bottom-color:#da810e}.theme-light .Tabs--vertical .Tab--selected.Tab--color--average{border-left-color:#da810e}.theme-light .Tab--selected.Tab--color--bad{color:#e14d4d}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--bad{border-bottom-color:#c82121}.theme-light .Tabs--vertical .Tab--selected.Tab--color--bad{border-left-color:#c82121}.theme-light .Tab--selected.Tab--color--label{color:#686868}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--label{border-bottom-color:#353535}.theme-light .Tabs--vertical .Tab--selected.Tab--color--label{border-left-color:#353535}.theme-light .Section{position:relative;margin-bottom:.5em;background-color:#fff;box-sizing:border-box}.theme-light .Section:last-child{margin-bottom:0}.theme-light .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #fff}.theme-light .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#000}.theme-light .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-light .Section__rest{position:relative}.theme-light .Section__content{padding:.66em .5em}.theme-light .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-light .Section--fill{display:flex;flex-direction:column;height:100%}.theme-light .Section--fill>.Section__rest{flex-grow:1}.theme-light .Section--fill>.Section__rest>.Section__content{height:100%}.theme-light .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-light .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-light .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-light .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-light .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-light .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-light .Section .Section:first-child{margin-top:-.5em}.theme-light .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-light .Section .Section .Section .Section__titleText{font-size:1em}.theme-light .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-light .Button:last-child{margin-right:0;margin-bottom:0}.theme-light .Button .fa,.theme-light .Button .fas,.theme-light .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-light .Button--hasContent .fa,.theme-light .Button--hasContent .fas,.theme-light .Button--hasContent .far{margin-right:.25em}.theme-light .Button--hasContent.Button--iconRight .fa,.theme-light .Button--hasContent.Button--iconRight .fas,.theme-light .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-light .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-light .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-light .Button--circular{border-radius:50%}.theme-light .Button--compact{padding:0 .25em;line-height:1.333em}.theme-light .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-light .Button--color--black{transition:color .1s,background-color .1s;background-color:#000;color:#fff}.theme-light .Button--color--black:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--black:hover{background-color:#101010;color:#fff}.theme-light .Button--color--white{transition:color .1s,background-color .1s;background-color:#bfbfbf;color:#000}.theme-light .Button--color--white:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--white:hover{background-color:#e7e7e7;color:#000}.theme-light .Button--color--red{transition:color .1s,background-color .1s;background-color:#a61c1c;color:#fff}.theme-light .Button--color--red:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--red:hover{background-color:#cb3030;color:#fff}.theme-light .Button--color--orange{transition:color .1s,background-color .1s;background-color:#c0530b;color:#fff}.theme-light .Button--color--orange:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--orange:hover{background-color:#e76d1d;color:#fff}.theme-light .Button--color--yellow{transition:color .1s,background-color .1s;background-color:#bfa303;color:#fff}.theme-light .Button--color--yellow:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--yellow:hover{background-color:#e7c714;color:#fff}.theme-light .Button--color--olive{transition:color .1s,background-color .1s;background-color:#889912;color:#fff}.theme-light .Button--color--olive:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--olive:hover{background-color:#a9bc25;color:#fff}.theme-light .Button--color--green{transition:color .1s,background-color .1s;background-color:#188532;color:#fff}.theme-light .Button--color--green:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--green:hover{background-color:#2ba648;color:#fff}.theme-light .Button--color--teal{transition:color .1s,background-color .1s;background-color:#008882;color:#fff}.theme-light .Button--color--teal:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--teal:hover{background-color:#10a9a2;color:#fff}.theme-light .Button--color--blue{transition:color .1s,background-color .1s;background-color:#19649c;color:#fff}.theme-light .Button--color--blue:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--blue:hover{background-color:#2c81c0;color:#fff}.theme-light .Button--color--violet{transition:color .1s,background-color .1s;background-color:#4b2897;color:#fff}.theme-light .Button--color--violet:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--violet:hover{background-color:#653db9;color:#fff}.theme-light .Button--color--purple{transition:color .1s,background-color .1s;background-color:#7a2696;color:#fff}.theme-light .Button--color--purple:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--purple:hover{background-color:#9a3bb9;color:#fff}.theme-light .Button--color--pink{transition:color .1s,background-color .1s;background-color:#b61d73;color:#fff}.theme-light .Button--color--pink:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--pink:hover{background-color:#d93591;color:#fff}.theme-light .Button--color--brown{transition:color .1s,background-color .1s;background-color:#7c4d2f;color:#fff}.theme-light .Button--color--brown:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--brown:hover{background-color:#9c6745;color:#fff}.theme-light .Button--color--grey{transition:color .1s,background-color .1s;background-color:#bfbfbf;color:#000}.theme-light .Button--color--grey:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--grey:hover{background-color:#e7e7e7;color:#000}.theme-light .Button--color--good{transition:color .1s,background-color .1s;background-color:#44801d;color:#fff}.theme-light .Button--color--good:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--good:hover{background-color:#5d9f31;color:#fff}.theme-light .Button--color--average{transition:color .1s,background-color .1s;background-color:#b56b0b;color:#fff}.theme-light .Button--color--average:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--average:hover{background-color:#dc891d;color:#fff}.theme-light .Button--color--bad{transition:color .1s,background-color .1s;background-color:#a61c1c;color:#fff}.theme-light .Button--color--bad:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--bad:hover{background-color:#cb3030;color:#fff}.theme-light .Button--color--label{transition:color .1s,background-color .1s;background-color:#2c2c2c;color:#fff}.theme-light .Button--color--label:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--label:hover{background-color:#424242;color:#fff}.theme-light .Button--color--default{transition:color .1s,background-color .1s;background-color:#bbb;color:#000}.theme-light .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--default:hover{background-color:#e3e3e3;color:#000}.theme-light .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-light .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-light .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-light .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-light .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#eee;color:#000;background-color:rgba(238,238,238,0);color:rgba(0,0,0,.5)}.theme-light .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--transparent:hover{background-color:#fcfcfc;color:#000}.theme-light .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#eee;color:#000;background-color:rgba(238,238,238,.6);color:rgba(0,0,0,.5)}.theme-light .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--translucent:hover{background-color:#fcfcfc;color:#000}.theme-light .Button--disabled{background-color:#363636!important}.theme-light .Button--selected{transition:color .1s,background-color .1s;background-color:#0668b8;color:#fff}.theme-light .Button--selected:focus{transition:color .25s,background-color .25s}.theme-light .Button--selected:hover{background-color:#1785df;color:#fff}.theme-light .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-light .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #353535;border:.0833333333em solid rgba(53,53,53,.75);border-radius:.16em;color:#353535;background-color:#e6e6e6;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-light .NumberInput--fluid{display:block}.theme-light .NumberInput__content{margin-left:.5em}.theme-light .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-light .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #353535;background-color:#353535}.theme-light .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#e6e6e6;color:#000;text-align:right}.theme-light .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #353535;border:.0833333333em solid rgba(53,53,53,.75);border-radius:.16em;color:#000;background-color:#e6e6e6;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-light .Input--disabled{color:#777;border-color:#000;border-color:rgba(0,0,0,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-light .Input--fluid{display:block;width:auto}.theme-light .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-light .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#000;color:inherit}.theme-light .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-light .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-light .TextArea{position:relative;display:inline-block;border:.0833333333em solid #353535;border:.0833333333em solid rgba(53,53,53,.75);border-radius:.16em;background-color:#e6e6e6;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-light .TextArea--fluid{display:block;width:auto;height:auto}.theme-light .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-light .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-light .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-light .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-light .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-light .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-light .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-light .Knob__popupValue,.theme-light .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-light .Knob__popupValue--right{top:.25rem;right:-50%}.theme-light .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-light .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-light .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-light .Knob__ringFillPivot{transform:rotate(135deg)}.theme-light .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-light .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-light .Knob--color--black .Knob__ringFill{stroke:#000}.theme-light .Knob--color--white .Knob__ringFill{stroke:#e6e6e6}.theme-light .Knob--color--red .Knob__ringFill{stroke:#c82121}.theme-light .Knob--color--orange .Knob__ringFill{stroke:#e6630d}.theme-light .Knob--color--yellow .Knob__ringFill{stroke:#e5c304}.theme-light .Knob--color--olive .Knob__ringFill{stroke:#a3b816}.theme-light .Knob--color--green .Knob__ringFill{stroke:#1d9f3b}.theme-light .Knob--color--teal .Knob__ringFill{stroke:#00a39c}.theme-light .Knob--color--blue .Knob__ringFill{stroke:#1e78bb}.theme-light .Knob--color--violet .Knob__ringFill{stroke:#5a30b5}.theme-light .Knob--color--purple .Knob__ringFill{stroke:#932eb4}.theme-light .Knob--color--pink .Knob__ringFill{stroke:#db228a}.theme-light .Knob--color--brown .Knob__ringFill{stroke:#955d39}.theme-light .Knob--color--grey .Knob__ringFill{stroke:#e6e6e6}.theme-light .Knob--color--good .Knob__ringFill{stroke:#529923}.theme-light .Knob--color--average .Knob__ringFill{stroke:#da810e}.theme-light .Knob--color--bad .Knob__ringFill{stroke:#c82121}.theme-light .Knob--color--label .Knob__ringFill{stroke:#353535}.theme-light .Slider:not(.Slider__disabled){cursor:e-resize}.theme-light .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-light .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #000}.theme-light .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #000}.theme-light .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-light .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-light .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-light .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-light .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-light .ProgressBar--color--default{border:.0833333333em solid #bfbfbf}.theme-light .ProgressBar--color--default .ProgressBar__fill{background-color:#bfbfbf}.theme-light .ProgressBar--color--disabled{border:1px solid #999}.theme-light .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-light .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-light .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-light .ProgressBar--color--white{border:.0833333333em solid #bfbfbf!important}.theme-light .ProgressBar--color--white .ProgressBar__fill{background-color:#bfbfbf}.theme-light .ProgressBar--color--red{border:.0833333333em solid #a61c1c!important}.theme-light .ProgressBar--color--red .ProgressBar__fill{background-color:#a61c1c}.theme-light .ProgressBar--color--orange{border:.0833333333em solid #c0530b!important}.theme-light .ProgressBar--color--orange .ProgressBar__fill{background-color:#c0530b}.theme-light .ProgressBar--color--yellow{border:.0833333333em solid #bfa303!important}.theme-light .ProgressBar--color--yellow .ProgressBar__fill{background-color:#bfa303}.theme-light .ProgressBar--color--olive{border:.0833333333em solid #889912!important}.theme-light .ProgressBar--color--olive .ProgressBar__fill{background-color:#889912}.theme-light .ProgressBar--color--green{border:.0833333333em solid #188532!important}.theme-light .ProgressBar--color--green .ProgressBar__fill{background-color:#188532}.theme-light .ProgressBar--color--teal{border:.0833333333em solid #008882!important}.theme-light .ProgressBar--color--teal .ProgressBar__fill{background-color:#008882}.theme-light .ProgressBar--color--blue{border:.0833333333em solid #19649c!important}.theme-light .ProgressBar--color--blue .ProgressBar__fill{background-color:#19649c}.theme-light .ProgressBar--color--violet{border:.0833333333em solid #4b2897!important}.theme-light .ProgressBar--color--violet .ProgressBar__fill{background-color:#4b2897}.theme-light .ProgressBar--color--purple{border:.0833333333em solid #7a2696!important}.theme-light .ProgressBar--color--purple .ProgressBar__fill{background-color:#7a2696}.theme-light .ProgressBar--color--pink{border:.0833333333em solid #b61d73!important}.theme-light .ProgressBar--color--pink .ProgressBar__fill{background-color:#b61d73}.theme-light .ProgressBar--color--brown{border:.0833333333em solid #7c4d2f!important}.theme-light .ProgressBar--color--brown .ProgressBar__fill{background-color:#7c4d2f}.theme-light .ProgressBar--color--grey{border:.0833333333em solid #bfbfbf!important}.theme-light .ProgressBar--color--grey .ProgressBar__fill{background-color:#bfbfbf}.theme-light .ProgressBar--color--good{border:.0833333333em solid #44801d!important}.theme-light .ProgressBar--color--good .ProgressBar__fill{background-color:#44801d}.theme-light .ProgressBar--color--average{border:.0833333333em solid #b56b0b!important}.theme-light .ProgressBar--color--average .ProgressBar__fill{background-color:#b56b0b}.theme-light .ProgressBar--color--bad{border:.0833333333em solid #a61c1c!important}.theme-light .ProgressBar--color--bad .ProgressBar__fill{background-color:#a61c1c}.theme-light .ProgressBar--color--label{border:.0833333333em solid #2c2c2c!important}.theme-light .ProgressBar--color--label .ProgressBar__fill{background-color:#2c2c2c}.theme-light .Chat{color:#000}.theme-light .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-light .Chat__badge:before{content:"x"}.theme-light .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-light .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-light .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-light .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#fff}.theme-light .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-light .Chat__highlight{color:#000}.theme-light .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-light .ChatMessage{word-wrap:break-word}.theme-light .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-light .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-light .Layout,.theme-light .Layout *{scrollbar-base-color:#f2f2f2;scrollbar-face-color:#d6d6d6;scrollbar-3dlight-color:#eee;scrollbar-highlight-color:#eee;scrollbar-track-color:#f2f2f2;scrollbar-arrow-color:#777;scrollbar-shadow-color:#d6d6d6}.theme-light .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-light .Layout__content--flexRow{display:flex;flex-flow:row}.theme-light .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-light .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-light .Layout__content--noMargin{margin:0}.theme-light .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#000;background-color:#eee;background-image:linear-gradient(to bottom,#eee,#eee)}.theme-light .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-light .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-light .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-light .Window__contentPadding:after{height:0}.theme-light .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-light .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(252,252,252,.25);pointer-events:none}.theme-light .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-light .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-light .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-light .TitleBar{background-color:#eee;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-light .TitleBar__clickable{color:rgba(0,0,0,.5);background-color:#eee;transition:color .25s,background-color .25s}.theme-light .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-light .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(0,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-light .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-light .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-light .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-light .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-light html,.theme-light body{padding:0;margin:0;height:100%;color:#000}.theme-light body{background:#fff;font-family:Verdana,sans-serif;font-size:13px;line-height:1.2;overflow-x:hidden;overflow-y:scroll;word-wrap:break-word}.theme-light img{margin:0;padding:0;line-height:1;-ms-interpolation-mode:nearest-neighbor;image-rendering:pixelated}.theme-light img.icon{height:1em;min-height:16px;width:auto;vertical-align:bottom}.theme-light a{color:#00f}.theme-light a.popt{text-decoration:none}.theme-light .popup{position:fixed;top:50%;left:50%;background:#ddd}.theme-light .popup .close{position:absolute;background:#aaa;top:0;right:0;color:#333;text-decoration:none;z-index:2;padding:0 10px;height:30px;line-height:30px}.theme-light .popup .close:hover{background:#999}.theme-light .popup .head{background:#999;color:#ddd;padding:0 10px;height:30px;line-height:30px;text-transform:uppercase;font-size:.9em;font-weight:700;border-bottom:2px solid green}.theme-light .popup input{border:1px solid #999;background:#fff;margin:0;padding:5px;outline:none;color:#333}.theme-light .popup input[type=text]:hover,.theme-light .popup input[type=text]:active,.theme-light .popup input[type=text]:focus{border-color:green}.theme-light .popup input[type=submit]{padding:5px 10px;background:#999;color:#ddd;text-transform:uppercase;font-size:.9em;font-weight:700}.theme-light .popup input[type=submit]:hover,.theme-light .popup input[type=submit]:focus,.theme-light .popup input[type=submit]:active{background:#aaa;cursor:pointer}.theme-light .changeFont{padding:10px}.theme-light .changeFont a{display:block;text-decoration:none;padding:3px;color:#333}.theme-light .changeFont a:hover{background:#ccc}.theme-light .highlightPopup{padding:10px;text-align:center}.theme-light .highlightPopup input[type=text]{display:block;width:215px;text-align:left;margin-top:5px}.theme-light .highlightPopup input.highlightColor{background-color:#ff0}.theme-light .highlightPopup input.highlightTermSubmit{margin-top:5px}.theme-light .contextMenu{background-color:#ddd;position:fixed;margin:2px;width:150px}.theme-light .contextMenu a{display:block;padding:2px 5px;text-decoration:none;color:#333}.theme-light .contextMenu a:hover{background-color:#ccc}.theme-light .filterMessages{padding:5px}.theme-light .filterMessages div{padding:2px 0}.theme-light .icon-stack{height:1em;line-height:1em;width:1em;vertical-align:middle;margin-top:-2px}.theme-light .motd{color:#638500;font-family:Verdana,sans-serif;white-space:normal}.theme-light .motd h1,.theme-light .motd h2,.theme-light .motd h3,.theme-light .motd h4,.theme-light .motd h5,.theme-light .motd h6{color:#638500;text-decoration:underline}.theme-light .motd a,.theme-light .motd a:link,.theme-light .motd a:active,.theme-light .motd a:hover{color:#638500}.theme-light .italic,.theme-light .italics,.theme-light .emote{font-style:italic}.theme-light .highlight{background:#ff0}.theme-light h1,.theme-light h2,.theme-light h3,.theme-light h4,.theme-light h5,.theme-light h6{color:#00f;font-family:Georgia,Verdana,sans-serif}.theme-light em{font-style:normal;font-weight:700}.theme-light .darkmblue{color:#00f}.theme-light .prefix,.theme-light .ooc{font-weight:700}.theme-light .looc{color:#69c;font-weight:700}.theme-light .adminobserverooc{color:#09c;font-weight:700}.theme-light .adminooc{color:#b82e00;font-weight:700}.theme-light .adminobserver{color:#960;font-weight:700}.theme-light .admin{color:#386aff;font-weight:700}.theme-light .adminsay{color:#9611d4;font-weight:700}.theme-light .mentorhelp{color:#07b;font-weight:700}.theme-light .adminhelp{color:#a00;font-weight:700}.theme-light .playerreply{color:#80b;font-weight:700}.theme-light .pmsend{color:#00f}.theme-light .debug{color:#6d2f83}.theme-light .name,.theme-light .yell{font-weight:700}.theme-light .siliconsay{font-family:Courier New,Courier,monospace}.theme-light .deadsay{color:#5c00e6}.theme-light .radio{color:#408010}.theme-light .deptradio{color:#939}.theme-light .comradio{color:#204090}.theme-light .syndradio{color:#6d3f40}.theme-light .dsquadradio{color:#686868}.theme-light .resteamradio{color:#18bc46}.theme-light .airadio{color:#f0f}.theme-light .centradio{color:#5c5c7c}.theme-light .secradio{color:#a30000}.theme-light .engradio{color:#a66300}.theme-light .medradio{color:#009190}.theme-light .sciradio{color:#939}.theme-light .supradio{color:#7f6539}.theme-light .srvradio{color:#80a000}.theme-light .proradio{color:#e3027a}.theme-light .admin_channel{color:#9a04d1;font-weight:700}.theme-light .all_admin_ping{color:#12a5f4;font-weight:700;font-size:120%;text-align:center}.theme-light .mentor_channel{color:#775bff;font-weight:700}.theme-light .mentor_channel_admin{color:#a35cff;font-weight:700}.theme-light .djradio{color:#630}.theme-light .binaryradio{color:#0b0050;font-family:Courier New,Courier,monospace}.theme-light .mommiradio{color:navy}.theme-light .alert{color:red}.theme-light h1.alert,.theme-light h2.alert{color:#000}.theme-light .ghostalert{color:#5c00e6;font-style:italic;font-weight:700}.theme-light .emote{font-style:italic}.theme-light .selecteddna{color:#fff;background-color:#001b1b}.theme-light .attack{color:red}.theme-light .moderate{color:#c00}.theme-light .disarm{color:#900}.theme-light .passive{color:#600}.theme-light .warning{color:red;font-style:italic}.theme-light .boldwarning{color:red;font-style:italic;font-weight:700}.theme-light .danger{color:red;font-weight:700}.theme-light .userdanger{color:red;font-weight:700;font-size:120%}.theme-light .biggerdanger{color:red;font-weight:700;font-size:150%}.theme-light .info{color:#00c}.theme-light .notice{color:#009}.theme-light .boldnotice{color:#009;font-weight:700}.theme-light .suicide{color:#ff5050;font-style:italic}.theme-light .green{color:#03bb39}.theme-light .pr_announce{color:#228b22;font-weight:700}.theme-light .boldannounceic,.theme-light .boldannounceooc{color:red;font-weight:700}.theme-light .greenannounce{color:#0f0;font-weight:700}.theme-light .alien{color:#543354}.theme-light .noticealien{color:#00c000}.theme-light .alertalien{color:#00c000;font-weight:700}.theme-light .terrorspider{color:#320e32}.theme-light .dantalion{color:#6a2148}.theme-light .chaosverygood{color:#19e0c0;font-weight:700;font-size:120%}.theme-light .chaosgood{color:#19e0c0;font-weight:700}.theme-light .chaosneutral{color:#479ac0;font-weight:700}.theme-light .chaosbad{color:#9047c0;font-weight:700}.theme-light .chaosverybad{color:#9047c0;font-weight:700;font-size:120%}.theme-light .sinister{color:purple;font-weight:700;font-style:italic}.theme-light .blob{color:#006221;font-weight:700;font-style:italic}.theme-light .confirm{color:#00af3b}.theme-light .rose{color:#ff5050}.theme-light .sans{font-family:Comic Sans MS,cursive,sans-serif}.theme-light .wingdings{font-family:Wingdings,Webdings}.theme-light .robot{font-family:OCR-A,monospace;font-size:1.15em;font-weight:700}.theme-light .ancient{color:#008b8b;font-style:italic}.theme-light .newscaster{color:maroon}.theme-light .mod{color:#735638;font-weight:700}.theme-light .modooc{color:#184880;font-weight:700}.theme-light .adminmod{color:#402a14;font-weight:700}.theme-light .tajaran{color:#803b56}.theme-light .skrell{color:#00ced1}.theme-light .solcom{color:#22228b}.theme-light .com_srus{color:#7c4848}.theme-light .zombie{color:red}.theme-light .soghun{color:#228b22}.theme-light .changeling{color:purple}.theme-light .vox{color:#a0a}.theme-light .diona{color:#804000;font-weight:700}.theme-light .trinary{color:#727272}.theme-light .kidan{color:#664205}.theme-light .slime{color:#07a}.theme-light .drask{color:#a3d4eb;font-family:Arial Black}.theme-light .moth{color:#869b29;font-family:Copperplate}.theme-light .clown{color:red}.theme-light .vulpkanin{color:#b97a57}.theme-light .abductor{color:purple;font-style:italic}.theme-light .mind_control{color:#a00d6f;font-size:3;font-weight:700;font-style:italic}.theme-light .rough{font-family:Trebuchet MS,cursive,sans-serif}.theme-light .say_quote{font-family:Georgia,Verdana,sans-serif}.theme-light .cult{color:purple;font-weight:700;font-style:italic}.theme-light .cultspeech{color:#7f0000;font-style:italic}.theme-light .cultitalic{color:#960000;font-style:italic}.theme-light .cultlarge{color:#960000;font-weight:700;font-size:120%}.theme-light .narsie{color:#960000;font-weight:700;font-size:300%}.theme-light .narsiesmall{color:#960000;font-weight:700;font-size:200%}.theme-light .interface{color:#303}.theme-light .big{font-size:150%}.theme-light .reallybig{font-size:175%}.theme-light .greentext{color:#0f0;font-size:150%}.theme-light .redtext{color:red;font-size:150%}.theme-light .bold{font-weight:700}.theme-light .his_grace{color:#15d512;font-family:Courier New,cursive,sans-serif;font-style:italic}.theme-light .center{text-align:center}.theme-light .red{color:red}.theme-light .purple{color:#5e2d79}.theme-light .skeleton{color:#585858;font-weight:700;font-style:italic}.theme-light .gutter{color:#7092be;font-family:Trebuchet MS,cursive,sans-serif}.theme-light .orange{color:orange}.theme-light .orangei{color:orange;font-style:italic}.theme-light .orangeb{color:orange;font-weight:700}.theme-light .resonate{color:#298f85}.theme-light .healthscan_oxy{color:#0074bd}.theme-light .revennotice{color:#1d2953}.theme-light .revenboldnotice{color:#1d2953;font-weight:700}.theme-light .revenbignotice{color:#1d2953;font-weight:700;font-size:120%}.theme-light .revenminor{color:#823abb}.theme-light .revenwarning{color:#760fbb;font-style:italic}.theme-light .revendanger{color:#760fbb;font-weight:700;font-size:120%}.theme-light .specialnoticebold{color:#36525e;font-weight:700;font-size:120%}.theme-light .specialnotice{color:#36525e;font-size:120%}.theme-light .medal{font-weight:700}.theme-light .good{color:green}.theme-light .average{color:#ff8000}.theme-light .bad{color:red}.theme-light .italics,.theme-light .talkinto{font-style:italic}.theme-light .whisper{font-style:italic;color:#333}.theme-light .recruit{color:#5c00e6;font-weight:700;font-style:italic}.theme-light .memo{color:#638500;text-align:center}.theme-light .memoedit{text-align:center;font-size:75%}.theme-light .connectionClosed,.theme-light .fatalError{background:red;color:#fff;padding:5px}.theme-light .connectionClosed.restored{background:green}.theme-light .internal.boldnshit{color:#00f;font-weight:700}.theme-light .rebooting{background:#2979af;color:#fff;padding:5px}.theme-light .rebooting a{color:#fff!important;text-decoration-color:#fff!important}.theme-light .text-normal{font-weight:400;font-style:normal}.theme-light .hidden{display:none;visibility:hidden}.theme-light .colossus{color:#7f282a;font-size:175%}.theme-light .hierophant{color:#609;font-weight:700;font-style:italic}.theme-light .hierophant_warning{color:#609;font-style:italic}.theme-light .emoji{max-height:16px;max-width:16px}.theme-light .adminticket{color:#3e7336;font-weight:700}.theme-light .adminticketalt{color:#014c8a;font-weight:700}.theme-light span.body .codephrases{color:#00f}.theme-light span.body .coderesponses{color:red}.theme-light .announcement h1,.theme-light .announcement h2{color:#000;margin:8pt 0;line-height:1.2}.theme-light .announcement p{color:#d82020;line-height:1.3}.theme-light .announcement.minor h1{font-size:180%}.theme-light .announcement.minor h2{font-size:170%}.theme-light .announcement.sec h1{color:red;font-size:180%;font-family:Verdana,sans-serif}.theme-light .bolditalics{font-style:italic;font-weight:700}.theme-light .boxed_message{background:#f7fcff;border:1px solid #111a26;margin:.5em;padding:.5em .75em;text-align:center}.theme-light .boxed_message.left_align_text{text-align:left}.theme-light .boxed_message.red_border{background:#fff7f7;border-color:#a00}.theme-light .boxed_message.green_border{background:#f7fff7;border-color:#0f0}.theme-light .boxed_message.purple_border{background:#fdf7ff;border-color:#a0f}.theme-light .boxed_message.notice_border{background:#f7fdff;border-color:#0000bf}.theme-light .boxed_message.thick_border{border-width:thick}.theme-ntos .color-black{color:#1a1a1a!important}.theme-ntos .color-white{color:#fff!important}.theme-ntos .color-red{color:#df3e3e!important}.theme-ntos .color-orange{color:#f37f33!important}.theme-ntos .color-yellow{color:#fbda21!important}.theme-ntos .color-olive{color:#cbe41c!important}.theme-ntos .color-green{color:#25ca4c!important}.theme-ntos .color-teal{color:#00d6cc!important}.theme-ntos .color-blue{color:#2e93de!important}.theme-ntos .color-violet{color:#7349cf!important}.theme-ntos .color-purple{color:#ad45d0!important}.theme-ntos .color-pink{color:#e34da1!important}.theme-ntos .color-brown{color:#b97447!important}.theme-ntos .color-grey{color:#848484!important}.theme-ntos .color-good{color:#68c22d!important}.theme-ntos .color-average{color:#f29a29!important}.theme-ntos .color-bad{color:#df3e3e!important}.theme-ntos .color-label{color:#8b9bb0!important}.theme-ntos .color-bg-black{background-color:#000!important}.theme-ntos .color-bg-white{background-color:#d9d9d9!important}.theme-ntos .color-bg-red{background-color:#bd2020!important}.theme-ntos .color-bg-orange{background-color:#d95e0c!important}.theme-ntos .color-bg-yellow{background-color:#d9b804!important}.theme-ntos .color-bg-olive{background-color:#9aad14!important}.theme-ntos .color-bg-green{background-color:#1b9638!important}.theme-ntos .color-bg-teal{background-color:#009a93!important}.theme-ntos .color-bg-blue{background-color:#1c71b1!important}.theme-ntos .color-bg-violet{background-color:#552dab!important}.theme-ntos .color-bg-purple{background-color:#8b2baa!important}.theme-ntos .color-bg-pink{background-color:#cf2082!important}.theme-ntos .color-bg-brown{background-color:#8c5836!important}.theme-ntos .color-bg-grey{background-color:#646464!important}.theme-ntos .color-bg-good{background-color:#4d9121!important}.theme-ntos .color-bg-average{background-color:#cd7a0d!important}.theme-ntos .color-bg-bad{background-color:#bd2020!important}.theme-ntos .color-bg-label{background-color:#657a94!important}.theme-ntos .Section{position:relative;margin-bottom:.5em;background-color:#121922;box-sizing:border-box}.theme-ntos .Section:last-child{margin-bottom:0}.theme-ntos .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.theme-ntos .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-ntos .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-ntos .Section__rest{position:relative}.theme-ntos .Section__content{padding:.66em .5em}.theme-ntos .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-ntos .Section--fill{display:flex;flex-direction:column;height:100%}.theme-ntos .Section--fill>.Section__rest{flex-grow:1}.theme-ntos .Section--fill>.Section__rest>.Section__content{height:100%}.theme-ntos .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-ntos .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-ntos .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-ntos .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-ntos .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-ntos .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-ntos .Section .Section:first-child{margin-top:-.5em}.theme-ntos .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-ntos .Section .Section .Section .Section__titleText{font-size:1em}.theme-ntos .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-ntos .Button:last-child{margin-right:0;margin-bottom:0}.theme-ntos .Button .fa,.theme-ntos .Button .fas,.theme-ntos .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-ntos .Button--hasContent .fa,.theme-ntos .Button--hasContent .fas,.theme-ntos .Button--hasContent .far{margin-right:.25em}.theme-ntos .Button--hasContent.Button--iconRight .fa,.theme-ntos .Button--hasContent.Button--iconRight .fas,.theme-ntos .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-ntos .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-ntos .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-ntos .Button--circular{border-radius:50%}.theme-ntos .Button--compact{padding:0 .25em;line-height:1.333em}.theme-ntos .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-ntos .Button--color--black{transition:color .1s,background-color .1s;background-color:#000;color:#fff}.theme-ntos .Button--color--black:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--black:hover{background-color:#101010;color:#fff}.theme-ntos .Button--color--white{transition:color .1s,background-color .1s;background-color:#d9d9d9;color:#000}.theme-ntos .Button--color--white:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--white:hover{background-color:#f8f8f8;color:#000}.theme-ntos .Button--color--red{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-ntos .Button--color--red:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--red:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--orange{transition:color .1s,background-color .1s;background-color:#d95e0c;color:#fff}.theme-ntos .Button--color--orange:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--orange:hover{background-color:#ef7e33;color:#fff}.theme-ntos .Button--color--yellow{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-ntos .Button--color--yellow:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--yellow:hover{background-color:#f5d523;color:#000}.theme-ntos .Button--color--olive{transition:color .1s,background-color .1s;background-color:#9aad14;color:#fff}.theme-ntos .Button--color--olive:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--olive:hover{background-color:#bdd327;color:#fff}.theme-ntos .Button--color--green{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-ntos .Button--color--green:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--green:hover{background-color:#2fb94f;color:#fff}.theme-ntos .Button--color--teal{transition:color .1s,background-color .1s;background-color:#009a93;color:#fff}.theme-ntos .Button--color--teal:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--teal:hover{background-color:#10bdb6;color:#fff}.theme-ntos .Button--color--blue{transition:color .1s,background-color .1s;background-color:#1c71b1;color:#fff}.theme-ntos .Button--color--blue:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--blue:hover{background-color:#308fd6;color:#fff}.theme-ntos .Button--color--violet{transition:color .1s,background-color .1s;background-color:#552dab;color:#fff}.theme-ntos .Button--color--violet:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--violet:hover{background-color:#7249ca;color:#fff}.theme-ntos .Button--color--purple{transition:color .1s,background-color .1s;background-color:#8b2baa;color:#fff}.theme-ntos .Button--color--purple:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--purple:hover{background-color:#aa46ca;color:#fff}.theme-ntos .Button--color--pink{transition:color .1s,background-color .1s;background-color:#cf2082;color:#fff}.theme-ntos .Button--color--pink:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--pink:hover{background-color:#e04ca0;color:#fff}.theme-ntos .Button--color--brown{transition:color .1s,background-color .1s;background-color:#8c5836;color:#fff}.theme-ntos .Button--color--brown:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--brown:hover{background-color:#ae724c;color:#fff}.theme-ntos .Button--color--grey{transition:color .1s,background-color .1s;background-color:#646464;color:#fff}.theme-ntos .Button--color--grey:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--grey:hover{background-color:#818181;color:#fff}.theme-ntos .Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.theme-ntos .Button--color--good:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-ntos .Button--color--average{transition:color .1s,background-color .1s;background-color:#cd7a0d;color:#fff}.theme-ntos .Button--color--average:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--average:hover{background-color:#eb972b;color:#fff}.theme-ntos .Button--color--bad{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-ntos .Button--color--bad:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--bad:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--label{transition:color .1s,background-color .1s;background-color:#657a94;color:#fff}.theme-ntos .Button--color--label:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--label:hover{background-color:#8a9aae;color:#fff}.theme-ntos .Button--color--default{transition:color .1s,background-color .1s;background-color:#384e68;color:#fff}.theme-ntos .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--default:hover{background-color:#4f6885;color:#fff}.theme-ntos .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-ntos .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-ntos .Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-ntos .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#1b2633;color:#fff;background-color:rgba(27,38,51,0);color:rgba(255,255,255,.5)}.theme-ntos .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--transparent:hover{background-color:#2f3b4a;color:#fff}.theme-ntos .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#1b2633;color:#fff;background-color:rgba(27,38,51,.6);color:rgba(255,255,255,.5)}.theme-ntos .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--translucent:hover{background-color:#2f3b4a;color:#fff}.theme-ntos .Button--disabled{background-color:#999!important}.theme-ntos .Button--selected{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-ntos .Button--selected:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--selected:hover{background-color:#2fb94f;color:#fff}.theme-ntos .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-ntos .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;color:#88bfff;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-ntos .NumberInput--fluid{display:block}.theme-ntos .NumberInput__content{margin-left:.5em}.theme-ntos .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-ntos .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #88bfff;background-color:#88bfff}.theme-ntos .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-ntos .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-ntos .Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-ntos .Input--fluid{display:block;width:auto}.theme-ntos .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-ntos .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-ntos .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-ntos .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-ntos .TextArea{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-ntos .TextArea--fluid{display:block;width:auto;height:auto}.theme-ntos .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-ntos .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-ntos .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-ntos .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-ntos .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-ntos .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-ntos .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-ntos .Knob__popupValue,.theme-ntos .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-ntos .Knob__popupValue--right{top:.25rem;right:-50%}.theme-ntos .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-ntos .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-ntos .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-ntos .Knob__ringFillPivot{transform:rotate(135deg)}.theme-ntos .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-ntos .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-ntos .Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.theme-ntos .Knob--color--white .Knob__ringFill{stroke:#fff}.theme-ntos .Knob--color--red .Knob__ringFill{stroke:#df3e3e}.theme-ntos .Knob--color--orange .Knob__ringFill{stroke:#f37f33}.theme-ntos .Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.theme-ntos .Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.theme-ntos .Knob--color--green .Knob__ringFill{stroke:#25ca4c}.theme-ntos .Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.theme-ntos .Knob--color--blue .Knob__ringFill{stroke:#2e93de}.theme-ntos .Knob--color--violet .Knob__ringFill{stroke:#7349cf}.theme-ntos .Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.theme-ntos .Knob--color--pink .Knob__ringFill{stroke:#e34da1}.theme-ntos .Knob--color--brown .Knob__ringFill{stroke:#b97447}.theme-ntos .Knob--color--grey .Knob__ringFill{stroke:#848484}.theme-ntos .Knob--color--good .Knob__ringFill{stroke:#68c22d}.theme-ntos .Knob--color--average .Knob__ringFill{stroke:#f29a29}.theme-ntos .Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.theme-ntos .Knob--color--label .Knob__ringFill{stroke:#8b9bb0}.theme-ntos .Slider:not(.Slider__disabled){cursor:e-resize}.theme-ntos .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-ntos .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.theme-ntos .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.theme-ntos .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-ntos .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-ntos .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-ntos .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-ntos .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-ntos .ProgressBar--color--default{border:.0833333333em solid #3e6189}.theme-ntos .ProgressBar--color--default .ProgressBar__fill{background-color:#3e6189}.theme-ntos .ProgressBar--color--disabled{border:1px solid #999}.theme-ntos .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-ntos .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-ntos .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-ntos .ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.theme-ntos .ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.theme-ntos .ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.theme-ntos .ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.theme-ntos .ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.theme-ntos .ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.theme-ntos .ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.theme-ntos .ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.theme-ntos .ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.theme-ntos .ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.theme-ntos .ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.theme-ntos .ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.theme-ntos .ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.theme-ntos .ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.theme-ntos .ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.theme-ntos .ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.theme-ntos .ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.theme-ntos .ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.theme-ntos .ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.theme-ntos .ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.theme-ntos .ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.theme-ntos .ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.theme-ntos .ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.theme-ntos .ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.theme-ntos .ProgressBar--color--grey{border:.0833333333em solid #646464!important}.theme-ntos .ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.theme-ntos .ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.theme-ntos .ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.theme-ntos .ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.theme-ntos .ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.theme-ntos .ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.theme-ntos .ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.theme-ntos .ProgressBar--color--label{border:.0833333333em solid #657a94!important}.theme-ntos .ProgressBar--color--label .ProgressBar__fill{background-color:#657a94}.theme-ntos .Chat{color:#abc6ec}.theme-ntos .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-ntos .Chat__badge:before{content:"x"}.theme-ntos .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-ntos .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-ntos .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-ntos .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#121922}.theme-ntos .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-ntos .Chat__highlight{color:#000}.theme-ntos .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-ntos .ChatMessage{word-wrap:break-word}.theme-ntos .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-ntos .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-ntos .Layout,.theme-ntos .Layout *{scrollbar-base-color:#141d26;scrollbar-face-color:#2a3b4f;scrollbar-3dlight-color:#1b2633;scrollbar-highlight-color:#1b2633;scrollbar-track-color:#141d26;scrollbar-arrow-color:#7290b4;scrollbar-shadow-color:#2a3b4f}.theme-ntos .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-ntos .Layout__content--flexRow{display:flex;flex-flow:row}.theme-ntos .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-ntos .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-ntos .Layout__content--noMargin{margin:0}.theme-ntos .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#1b2633;background-image:linear-gradient(to bottom,#1b2633,#1b2633)}.theme-ntos .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-ntos .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-ntos .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-ntos .Window__contentPadding:after{height:0}.theme-ntos .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-ntos .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(50,63,78,.25);pointer-events:none}.theme-ntos .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-ntos .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-ntos .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-ntos .TitleBar{background-color:#1b2633;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-ntos .TitleBar__clickable{color:rgba(255,0,0,.5);background-color:#1b2633;transition:color .25s,background-color .25s}.theme-ntos .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-ntos .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-ntos .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-ntos .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-ntos .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-ntos .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-ntos .boxed_message{background:#1c242e;border:1px solid #a3b9d9;margin:.5em;padding:.5em .75em;text-align:center}.theme-ntos .boxed_message.left_align_text{text-align:left}.theme-ntos .boxed_message.red_border{background:#2e1c1c;border-color:#a00}.theme-ntos .boxed_message.green_border{background:#1c2e22;border-color:#0f0}.theme-ntos .boxed_message.purple_border{background:#221c2e;border-color:#8000ff}.theme-ntos .boxed_message.notice_border{background:#1f2633;border-color:#6685f5}.theme-ntos .boxed_message.thick_border{border-width:thick}.theme-syndicate .color-black{color:#1a1a1a!important}.theme-syndicate .color-white{color:#fff!important}.theme-syndicate .color-red{color:#df3e3e!important}.theme-syndicate .color-orange{color:#f37f33!important}.theme-syndicate .color-yellow{color:#fbda21!important}.theme-syndicate .color-olive{color:#cbe41c!important}.theme-syndicate .color-green{color:#25ca4c!important}.theme-syndicate .color-teal{color:#00d6cc!important}.theme-syndicate .color-blue{color:#2e93de!important}.theme-syndicate .color-violet{color:#7349cf!important}.theme-syndicate .color-purple{color:#ad45d0!important}.theme-syndicate .color-pink{color:#e34da1!important}.theme-syndicate .color-brown{color:#b97447!important}.theme-syndicate .color-grey{color:#848484!important}.theme-syndicate .color-good{color:#68c22d!important}.theme-syndicate .color-average{color:#f29a29!important}.theme-syndicate .color-bad{color:#df3e3e!important}.theme-syndicate .color-label{color:#8b9bb0!important}.theme-syndicate .color-bg-black{background-color:#000!important}.theme-syndicate .color-bg-white{background-color:#d9d9d9!important}.theme-syndicate .color-bg-red{background-color:#bd2020!important}.theme-syndicate .color-bg-orange{background-color:#d95e0c!important}.theme-syndicate .color-bg-yellow{background-color:#d9b804!important}.theme-syndicate .color-bg-olive{background-color:#9aad14!important}.theme-syndicate .color-bg-green{background-color:#1b9638!important}.theme-syndicate .color-bg-teal{background-color:#009a93!important}.theme-syndicate .color-bg-blue{background-color:#1c71b1!important}.theme-syndicate .color-bg-violet{background-color:#552dab!important}.theme-syndicate .color-bg-purple{background-color:#8b2baa!important}.theme-syndicate .color-bg-pink{background-color:#cf2082!important}.theme-syndicate .color-bg-brown{background-color:#8c5836!important}.theme-syndicate .color-bg-grey{background-color:#646464!important}.theme-syndicate .color-bg-good{background-color:#4d9121!important}.theme-syndicate .color-bg-average{background-color:#cd7a0d!important}.theme-syndicate .color-bg-bad{background-color:#bd2020!important}.theme-syndicate .color-bg-label{background-color:#657a94!important}.theme-syndicate .Section{position:relative;margin-bottom:.5em;background-color:#2b0101;box-sizing:border-box}.theme-syndicate .Section:last-child{margin-bottom:0}.theme-syndicate .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #397439}.theme-syndicate .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-syndicate .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-syndicate .Section__rest{position:relative}.theme-syndicate .Section__content{padding:.66em .5em}.theme-syndicate .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-syndicate .Section--fill{display:flex;flex-direction:column;height:100%}.theme-syndicate .Section--fill>.Section__rest{flex-grow:1}.theme-syndicate .Section--fill>.Section__rest>.Section__content{height:100%}.theme-syndicate .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-syndicate .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-syndicate .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-syndicate .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-syndicate .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-syndicate .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-syndicate .Section .Section:first-child{margin-top:-.5em}.theme-syndicate .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-syndicate .Section .Section .Section .Section__titleText{font-size:1em}.theme-syndicate .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-syndicate .Button:last-child{margin-right:0;margin-bottom:0}.theme-syndicate .Button .fa,.theme-syndicate .Button .fas,.theme-syndicate .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-syndicate .Button--hasContent .fa,.theme-syndicate .Button--hasContent .fas,.theme-syndicate .Button--hasContent .far{margin-right:.25em}.theme-syndicate .Button--hasContent.Button--iconRight .fa,.theme-syndicate .Button--hasContent.Button--iconRight .fas,.theme-syndicate .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-syndicate .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-syndicate .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-syndicate .Button--circular{border-radius:50%}.theme-syndicate .Button--compact{padding:0 .25em;line-height:1.333em}.theme-syndicate .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-syndicate .Button--color--black{transition:color .1s,background-color .1s;background-color:#000;color:#fff}.theme-syndicate .Button--color--black:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--black:hover{background-color:#101010;color:#fff}.theme-syndicate .Button--color--white{transition:color .1s,background-color .1s;background-color:#d9d9d9;color:#000}.theme-syndicate .Button--color--white:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--white:hover{background-color:#f8f8f8;color:#000}.theme-syndicate .Button--color--red{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-syndicate .Button--color--red:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--red:hover{background-color:#d93f3f;color:#fff}.theme-syndicate .Button--color--orange{transition:color .1s,background-color .1s;background-color:#d95e0c;color:#fff}.theme-syndicate .Button--color--orange:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--orange:hover{background-color:#ef7e33;color:#fff}.theme-syndicate .Button--color--yellow{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-syndicate .Button--color--yellow:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--yellow:hover{background-color:#f5d523;color:#000}.theme-syndicate .Button--color--olive{transition:color .1s,background-color .1s;background-color:#9aad14;color:#fff}.theme-syndicate .Button--color--olive:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--olive:hover{background-color:#bdd327;color:#fff}.theme-syndicate .Button--color--green{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-syndicate .Button--color--green:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--green:hover{background-color:#2fb94f;color:#fff}.theme-syndicate .Button--color--teal{transition:color .1s,background-color .1s;background-color:#009a93;color:#fff}.theme-syndicate .Button--color--teal:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--teal:hover{background-color:#10bdb6;color:#fff}.theme-syndicate .Button--color--blue{transition:color .1s,background-color .1s;background-color:#1c71b1;color:#fff}.theme-syndicate .Button--color--blue:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--blue:hover{background-color:#308fd6;color:#fff}.theme-syndicate .Button--color--violet{transition:color .1s,background-color .1s;background-color:#552dab;color:#fff}.theme-syndicate .Button--color--violet:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--violet:hover{background-color:#7249ca;color:#fff}.theme-syndicate .Button--color--purple{transition:color .1s,background-color .1s;background-color:#8b2baa;color:#fff}.theme-syndicate .Button--color--purple:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--purple:hover{background-color:#aa46ca;color:#fff}.theme-syndicate .Button--color--pink{transition:color .1s,background-color .1s;background-color:#cf2082;color:#fff}.theme-syndicate .Button--color--pink:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--pink:hover{background-color:#e04ca0;color:#fff}.theme-syndicate .Button--color--brown{transition:color .1s,background-color .1s;background-color:#8c5836;color:#fff}.theme-syndicate .Button--color--brown:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--brown:hover{background-color:#ae724c;color:#fff}.theme-syndicate .Button--color--grey{transition:color .1s,background-color .1s;background-color:#646464;color:#fff}.theme-syndicate .Button--color--grey:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--grey:hover{background-color:#818181;color:#fff}.theme-syndicate .Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.theme-syndicate .Button--color--good:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-syndicate .Button--color--average{transition:color .1s,background-color .1s;background-color:#cd7a0d;color:#fff}.theme-syndicate .Button--color--average:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--average:hover{background-color:#eb972b;color:#fff}.theme-syndicate .Button--color--bad{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-syndicate .Button--color--bad:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--bad:hover{background-color:#d93f3f;color:#fff}.theme-syndicate .Button--color--label{transition:color .1s,background-color .1s;background-color:#657a94;color:#fff}.theme-syndicate .Button--color--label:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--label:hover{background-color:#8a9aae;color:#fff}.theme-syndicate .Button--color--default{transition:color .1s,background-color .1s;background-color:#397439;color:#fff}.theme-syndicate .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--default:hover{background-color:#509350;color:#fff}.theme-syndicate .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-syndicate .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-syndicate .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-syndicate .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-syndicate .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#4d0202;color:#fff;background-color:rgba(77,2,2,0);color:rgba(255,255,255,.5)}.theme-syndicate .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--transparent:hover{background-color:#671313;color:#fff}.theme-syndicate .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#4d0202;color:#fff;background-color:rgba(77,2,2,.6);color:rgba(255,255,255,.5)}.theme-syndicate .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--translucent:hover{background-color:#671313;color:#fff}.theme-syndicate .Button--disabled{background-color:#363636!important}.theme-syndicate .Button--selected{transition:color .1s,background-color .1s;background-color:#9d0808;color:#fff}.theme-syndicate .Button--selected:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--selected:hover{background-color:#c11919;color:#fff}.theme-syndicate .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-syndicate .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#fff;background-color:#910101;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-syndicate .NoticeBox--color--black{color:#fff;background-color:#000}.theme-syndicate .NoticeBox--color--white{color:#000;background-color:#b3b3b3}.theme-syndicate .NoticeBox--color--red{color:#fff;background-color:#701f1f}.theme-syndicate .NoticeBox--color--orange{color:#fff;background-color:#854114}.theme-syndicate .NoticeBox--color--yellow{color:#000;background-color:#83710d}.theme-syndicate .NoticeBox--color--olive{color:#000;background-color:#576015}.theme-syndicate .NoticeBox--color--green{color:#fff;background-color:#174e24}.theme-syndicate .NoticeBox--color--teal{color:#fff;background-color:#064845}.theme-syndicate .NoticeBox--color--blue{color:#fff;background-color:#1b4565}.theme-syndicate .NoticeBox--color--violet{color:#fff;background-color:#3b2864}.theme-syndicate .NoticeBox--color--purple{color:#fff;background-color:#542663}.theme-syndicate .NoticeBox--color--pink{color:#fff;background-color:#802257}.theme-syndicate .NoticeBox--color--brown{color:#fff;background-color:#4c3729}.theme-syndicate .NoticeBox--color--grey{color:#fff;background-color:#3e3e3e}.theme-syndicate .NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.theme-syndicate .NoticeBox--color--average{color:#fff;background-color:#7b4e13}.theme-syndicate .NoticeBox--color--bad{color:#fff;background-color:#701f1f}.theme-syndicate .NoticeBox--color--label{color:#fff;background-color:#53565a}.theme-syndicate .NoticeBox--type--info{color:#fff;background-color:#235982}.theme-syndicate .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-syndicate .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-syndicate .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-syndicate .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;color:#87ce87;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-syndicate .NumberInput--fluid{display:block}.theme-syndicate .NumberInput__content{margin-left:.5em}.theme-syndicate .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-syndicate .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #87ce87;background-color:#87ce87}.theme-syndicate .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-syndicate .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-syndicate .Input--disabled{color:#777;border-color:#6b6b6b;border-color:rgba(107,107,107,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-syndicate .Input--fluid{display:block;width:auto}.theme-syndicate .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-syndicate .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-syndicate .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-syndicate .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-syndicate .TextArea{position:relative;display:inline-block;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-syndicate .TextArea--fluid{display:block;width:auto;height:auto}.theme-syndicate .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-syndicate .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-syndicate .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-syndicate .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-syndicate .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-syndicate .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-syndicate .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-syndicate .Knob__popupValue,.theme-syndicate .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-syndicate .Knob__popupValue--right{top:.25rem;right:-50%}.theme-syndicate .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-syndicate .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-syndicate .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-syndicate .Knob__ringFillPivot{transform:rotate(135deg)}.theme-syndicate .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-syndicate .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-syndicate .Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.theme-syndicate .Knob--color--white .Knob__ringFill{stroke:#fff}.theme-syndicate .Knob--color--red .Knob__ringFill{stroke:#df3e3e}.theme-syndicate .Knob--color--orange .Knob__ringFill{stroke:#f37f33}.theme-syndicate .Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.theme-syndicate .Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.theme-syndicate .Knob--color--green .Knob__ringFill{stroke:#25ca4c}.theme-syndicate .Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.theme-syndicate .Knob--color--blue .Knob__ringFill{stroke:#2e93de}.theme-syndicate .Knob--color--violet .Knob__ringFill{stroke:#7349cf}.theme-syndicate .Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.theme-syndicate .Knob--color--pink .Knob__ringFill{stroke:#e34da1}.theme-syndicate .Knob--color--brown .Knob__ringFill{stroke:#b97447}.theme-syndicate .Knob--color--grey .Knob__ringFill{stroke:#848484}.theme-syndicate .Knob--color--good .Knob__ringFill{stroke:#68c22d}.theme-syndicate .Knob--color--average .Knob__ringFill{stroke:#f29a29}.theme-syndicate .Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.theme-syndicate .Knob--color--label .Knob__ringFill{stroke:#8b9bb0}.theme-syndicate .Slider:not(.Slider__disabled){cursor:e-resize}.theme-syndicate .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-syndicate .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.theme-syndicate .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.theme-syndicate .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-syndicate .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-syndicate .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-syndicate .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-syndicate .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-syndicate .ProgressBar--color--default{border:.0833333333em solid #306330}.theme-syndicate .ProgressBar--color--default .ProgressBar__fill{background-color:#306330}.theme-syndicate .ProgressBar--color--disabled{border:1px solid #999}.theme-syndicate .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-syndicate .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-syndicate .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-syndicate .ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.theme-syndicate .ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.theme-syndicate .ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.theme-syndicate .ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.theme-syndicate .ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.theme-syndicate .ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.theme-syndicate .ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.theme-syndicate .ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.theme-syndicate .ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.theme-syndicate .ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.theme-syndicate .ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.theme-syndicate .ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.theme-syndicate .ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.theme-syndicate .ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.theme-syndicate .ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.theme-syndicate .ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.theme-syndicate .ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.theme-syndicate .ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.theme-syndicate .ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.theme-syndicate .ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.theme-syndicate .ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.theme-syndicate .ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.theme-syndicate .ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.theme-syndicate .ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.theme-syndicate .ProgressBar--color--grey{border:.0833333333em solid #646464!important}.theme-syndicate .ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.theme-syndicate .ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.theme-syndicate .ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.theme-syndicate .ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.theme-syndicate .ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.theme-syndicate .ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.theme-syndicate .ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.theme-syndicate .ProgressBar--color--label{border:.0833333333em solid #657a94!important}.theme-syndicate .ProgressBar--color--label .ProgressBar__fill{background-color:#657a94}.theme-syndicate .Chat{color:#abc6ec}.theme-syndicate .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-syndicate .Chat__badge:before{content:"x"}.theme-syndicate .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-syndicate .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-syndicate .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-syndicate .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#2b0101}.theme-syndicate .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-syndicate .Chat__highlight{color:#000}.theme-syndicate .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-syndicate .ChatMessage{word-wrap:break-word}.theme-syndicate .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-syndicate .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-syndicate .Layout,.theme-syndicate .Layout *{scrollbar-base-color:#3a0202;scrollbar-face-color:#770303;scrollbar-3dlight-color:#4d0202;scrollbar-highlight-color:#4d0202;scrollbar-track-color:#3a0202;scrollbar-arrow-color:#fa2d2d;scrollbar-shadow-color:#770303}.theme-syndicate .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-syndicate .Layout__content--flexRow{display:flex;flex-flow:row}.theme-syndicate .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-syndicate .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-syndicate .Layout__content--noMargin{margin:0}.theme-syndicate .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#4d0202;background-image:linear-gradient(to bottom,#4d0202,#4d0202)}.theme-syndicate .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-syndicate .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-syndicate .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-syndicate .Window__contentPadding:after{height:0}.theme-syndicate .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-syndicate .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(108,22,22,.25);pointer-events:none}.theme-syndicate .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-syndicate .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-syndicate .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-syndicate .TitleBar{background-color:#910101;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-syndicate .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#910101;transition:color .25s,background-color .25s}.theme-syndicate .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-syndicate .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-syndicate .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-syndicate .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-syndicate .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-syndicate .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-syndicate .adminooc{color:#29ccbe}.theme-syndicate .debug{color:#8f39e6}.theme-syndicate .boxed_message{background:rgba(20,20,35,.25);border:1px solid #a3b9d9;margin:.5em;padding:.5em .75em;text-align:center}.theme-syndicate .boxed_message.left_align_text{text-align:left}.theme-syndicate .boxed_message.red_border{background:rgba(0,0,0,.2);border-color:red}.theme-syndicate .boxed_message.green_border{background:rgba(0,75,0,.25);border-color:#0f0}.theme-syndicate .boxed_message.purple_border{background:rgba(25,0,50,.25);border-color:#8000ff}.theme-syndicate .boxed_message.notice_border{background:rgba(0,0,75,.25);border-color:#6685f5}.theme-syndicate .boxed_message.thick_border{border-width:thick}.theme-paradise .color-black{color:#1a1a1a!important}.theme-paradise .color-white{color:#fff!important}.theme-paradise .color-red{color:#df3e3e!important}.theme-paradise .color-orange{color:#f37f33!important}.theme-paradise .color-yellow{color:#fbda21!important}.theme-paradise .color-olive{color:#cbe41c!important}.theme-paradise .color-green{color:#25ca4c!important}.theme-paradise .color-teal{color:#00d6cc!important}.theme-paradise .color-blue{color:#2e93de!important}.theme-paradise .color-violet{color:#7349cf!important}.theme-paradise .color-purple{color:#ad45d0!important}.theme-paradise .color-pink{color:#e34da1!important}.theme-paradise .color-brown{color:#b97447!important}.theme-paradise .color-grey{color:#848484!important}.theme-paradise .color-good{color:#68c22d!important}.theme-paradise .color-average{color:#f29a29!important}.theme-paradise .color-bad{color:#df3e3e!important}.theme-paradise .color-label{color:#955d4b!important}.theme-paradise .color-bg-black{background-color:#000!important}.theme-paradise .color-bg-white{background-color:#d9d9d9!important}.theme-paradise .color-bg-red{background-color:#bd2020!important}.theme-paradise .color-bg-orange{background-color:#d95e0c!important}.theme-paradise .color-bg-yellow{background-color:#d9b804!important}.theme-paradise .color-bg-olive{background-color:#9aad14!important}.theme-paradise .color-bg-green{background-color:#1b9638!important}.theme-paradise .color-bg-teal{background-color:#009a93!important}.theme-paradise .color-bg-blue{background-color:#1c71b1!important}.theme-paradise .color-bg-violet{background-color:#552dab!important}.theme-paradise .color-bg-purple{background-color:#8b2baa!important}.theme-paradise .color-bg-pink{background-color:#cf2082!important}.theme-paradise .color-bg-brown{background-color:#8c5836!important}.theme-paradise .color-bg-grey{background-color:#646464!important}.theme-paradise .color-bg-good{background-color:#4d9121!important}.theme-paradise .color-bg-average{background-color:#cd7a0d!important}.theme-paradise .color-bg-bad{background-color:#bd2020!important}.theme-paradise .color-bg-label{background-color:#6d4436!important}.theme-paradise .Section{position:relative;margin-bottom:.5em;background-color:#40071a;background-color:rgba(0,0,0,.5);box-sizing:border-box}.theme-paradise .Section:last-child{margin-bottom:0}.theme-paradise .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #208080}.theme-paradise .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-paradise .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-paradise .Section__rest{position:relative}.theme-paradise .Section__content{padding:.66em .5em}.theme-paradise .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-paradise .Section--fill{display:flex;flex-direction:column;height:100%}.theme-paradise .Section--fill>.Section__rest{flex-grow:1}.theme-paradise .Section--fill>.Section__rest>.Section__content{height:100%}.theme-paradise .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-paradise .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-paradise .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-paradise .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-paradise .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-paradise .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-paradise .Section .Section:first-child{margin-top:-.5em}.theme-paradise .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-paradise .Section .Section .Section .Section__titleText{font-size:1em}.theme-paradise .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-paradise .Button:last-child{margin-right:0;margin-bottom:0}.theme-paradise .Button .fa,.theme-paradise .Button .fas,.theme-paradise .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-paradise .Button--hasContent .fa,.theme-paradise .Button--hasContent .fas,.theme-paradise .Button--hasContent .far{margin-right:.25em}.theme-paradise .Button--hasContent.Button--iconRight .fa,.theme-paradise .Button--hasContent.Button--iconRight .fas,.theme-paradise .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-paradise .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-paradise .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-paradise .Button--circular{border-radius:50%}.theme-paradise .Button--compact{padding:0 .25em;line-height:1.333em}.theme-paradise .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-paradise .Button--color--black{transition:color .1s,background-color .1s;background-color:#000;color:#fff}.theme-paradise .Button--color--black:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--black:hover{background-color:#101010;color:#fff}.theme-paradise .Button--color--white{transition:color .1s,background-color .1s;background-color:#d9d9d9;color:#000}.theme-paradise .Button--color--white:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--white:hover{background-color:#f8f8f8;color:#000}.theme-paradise .Button--color--red{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-paradise .Button--color--red:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--red:hover{background-color:#d93f3f;color:#fff}.theme-paradise .Button--color--orange{transition:color .1s,background-color .1s;background-color:#d95e0c;color:#fff}.theme-paradise .Button--color--orange:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--orange:hover{background-color:#ef7e33;color:#fff}.theme-paradise .Button--color--yellow{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-paradise .Button--color--yellow:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--yellow:hover{background-color:#f5d523;color:#000}.theme-paradise .Button--color--olive{transition:color .1s,background-color .1s;background-color:#9aad14;color:#fff}.theme-paradise .Button--color--olive:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--olive:hover{background-color:#bdd327;color:#fff}.theme-paradise .Button--color--green{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-paradise .Button--color--green:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--green:hover{background-color:#2fb94f;color:#fff}.theme-paradise .Button--color--teal{transition:color .1s,background-color .1s;background-color:#009a93;color:#fff}.theme-paradise .Button--color--teal:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--teal:hover{background-color:#10bdb6;color:#fff}.theme-paradise .Button--color--blue{transition:color .1s,background-color .1s;background-color:#1c71b1;color:#fff}.theme-paradise .Button--color--blue:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--blue:hover{background-color:#308fd6;color:#fff}.theme-paradise .Button--color--violet{transition:color .1s,background-color .1s;background-color:#552dab;color:#fff}.theme-paradise .Button--color--violet:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--violet:hover{background-color:#7249ca;color:#fff}.theme-paradise .Button--color--purple{transition:color .1s,background-color .1s;background-color:#8b2baa;color:#fff}.theme-paradise .Button--color--purple:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--purple:hover{background-color:#aa46ca;color:#fff}.theme-paradise .Button--color--pink{transition:color .1s,background-color .1s;background-color:#cf2082;color:#fff}.theme-paradise .Button--color--pink:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--pink:hover{background-color:#e04ca0;color:#fff}.theme-paradise .Button--color--brown{transition:color .1s,background-color .1s;background-color:#8c5836;color:#fff}.theme-paradise .Button--color--brown:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--brown:hover{background-color:#ae724c;color:#fff}.theme-paradise .Button--color--grey{transition:color .1s,background-color .1s;background-color:#646464;color:#fff}.theme-paradise .Button--color--grey:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--grey:hover{background-color:#818181;color:#fff}.theme-paradise .Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.theme-paradise .Button--color--good:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-paradise .Button--color--average{transition:color .1s,background-color .1s;background-color:#cd7a0d;color:#fff}.theme-paradise .Button--color--average:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--average:hover{background-color:#eb972b;color:#fff}.theme-paradise .Button--color--bad{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-paradise .Button--color--bad:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--bad:hover{background-color:#d93f3f;color:#fff}.theme-paradise .Button--color--label{transition:color .1s,background-color .1s;background-color:#6d4436;color:#fff}.theme-paradise .Button--color--label:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--label:hover{background-color:#8b5d4d;color:#fff}.theme-paradise .Button--color--default{transition:color .1s,background-color .1s;background-color:#208080;color:#fff}.theme-paradise .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--default:hover{background-color:#34a0a0;color:#fff}.theme-paradise .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-paradise .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-paradise .Button--color--danger{transition:color .1s,background-color .1s;background-color:#8c1eff;color:#fff}.theme-paradise .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--danger:hover{background-color:#ae61ff;color:#fff}.theme-paradise .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#800d33;color:#fff;background-color:rgba(128,13,51,0);color:rgba(255,255,255,.5)}.theme-paradise .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--transparent:hover{background-color:#a01f4a;color:#fff}.theme-paradise .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#800d33;color:#fff;background-color:rgba(128,13,51,.6);color:rgba(255,255,255,.5)}.theme-paradise .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--translucent:hover{background-color:#a01f4a;color:#fff}.theme-paradise .Button--disabled{background-color:#999!important}.theme-paradise .Button--selected{transition:color .1s,background-color .1s;background-color:#bf6030;color:#fff}.theme-paradise .Button--selected:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--selected:hover{background-color:#d4835a;color:#fff}.theme-paradise .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-paradise .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #e65c2e;border:.0833333333em solid rgba(230,92,46,.75);border-radius:.16em;color:#e65c2e;background-color:rgba(0,0,0,.25);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-paradise .NumberInput--fluid{display:block}.theme-paradise .NumberInput__content{margin-left:.5em}.theme-paradise .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-paradise .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #e65c2e;background-color:#e65c2e}.theme-paradise .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,.25);color:#fff;text-align:right}.theme-paradise .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #e65c2e;border:.0833333333em solid rgba(230,92,46,.75);border-radius:.16em;background-color:rgba(0,0,0,.25);color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-paradise .Input--disabled{color:#777;border-color:#4a4a4a;border-color:rgba(74,74,74,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-paradise .Input--fluid{display:block;width:auto}.theme-paradise .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-paradise .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-paradise .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-paradise .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-paradise .TextArea{position:relative;display:inline-block;border:.0833333333em solid #e65c2e;border:.0833333333em solid rgba(230,92,46,.75);border-radius:.16em;background-color:rgba(0,0,0,.25);margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-paradise .TextArea--fluid{display:block;width:auto;height:auto}.theme-paradise .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-paradise .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-paradise .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-paradise .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-paradise .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-paradise .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-paradise .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-paradise .Knob__popupValue,.theme-paradise .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-paradise .Knob__popupValue--right{top:.25rem;right:-50%}.theme-paradise .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-paradise .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-paradise .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-paradise .Knob__ringFillPivot{transform:rotate(135deg)}.theme-paradise .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-paradise .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-paradise .Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.theme-paradise .Knob--color--white .Knob__ringFill{stroke:#fff}.theme-paradise .Knob--color--red .Knob__ringFill{stroke:#df3e3e}.theme-paradise .Knob--color--orange .Knob__ringFill{stroke:#f37f33}.theme-paradise .Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.theme-paradise .Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.theme-paradise .Knob--color--green .Knob__ringFill{stroke:#25ca4c}.theme-paradise .Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.theme-paradise .Knob--color--blue .Knob__ringFill{stroke:#2e93de}.theme-paradise .Knob--color--violet .Knob__ringFill{stroke:#7349cf}.theme-paradise .Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.theme-paradise .Knob--color--pink .Knob__ringFill{stroke:#e34da1}.theme-paradise .Knob--color--brown .Knob__ringFill{stroke:#b97447}.theme-paradise .Knob--color--grey .Knob__ringFill{stroke:#848484}.theme-paradise .Knob--color--good .Knob__ringFill{stroke:#68c22d}.theme-paradise .Knob--color--average .Knob__ringFill{stroke:#f29a29}.theme-paradise .Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.theme-paradise .Knob--color--label .Knob__ringFill{stroke:#955d4b}.theme-paradise .Slider:not(.Slider__disabled){cursor:e-resize}.theme-paradise .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-paradise .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.theme-paradise .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.theme-paradise .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-paradise .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-paradise .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-paradise .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-paradise .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-paradise .ProgressBar--color--default{border:.0833333333em solid #1b6d6d}.theme-paradise .ProgressBar--color--default .ProgressBar__fill{background-color:#1b6d6d}.theme-paradise .ProgressBar--color--disabled{border:1px solid #999}.theme-paradise .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-paradise .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-paradise .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-paradise .ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.theme-paradise .ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.theme-paradise .ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.theme-paradise .ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.theme-paradise .ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.theme-paradise .ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.theme-paradise .ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.theme-paradise .ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.theme-paradise .ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.theme-paradise .ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.theme-paradise .ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.theme-paradise .ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.theme-paradise .ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.theme-paradise .ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.theme-paradise .ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.theme-paradise .ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.theme-paradise .ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.theme-paradise .ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.theme-paradise .ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.theme-paradise .ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.theme-paradise .ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.theme-paradise .ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.theme-paradise .ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.theme-paradise .ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.theme-paradise .ProgressBar--color--grey{border:.0833333333em solid #646464!important}.theme-paradise .ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.theme-paradise .ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.theme-paradise .ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.theme-paradise .ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.theme-paradise .ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.theme-paradise .ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.theme-paradise .ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.theme-paradise .ProgressBar--color--label{border:.0833333333em solid #6d4436!important}.theme-paradise .ProgressBar--color--label .ProgressBar__fill{background-color:#6d4436}.theme-paradise .Chat{color:#abc6ec}.theme-paradise .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-paradise .Chat__badge:before{content:"x"}.theme-paradise .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-paradise .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-paradise .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-paradise .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#fff;background-color:#db2828}.theme-paradise .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-paradise .Chat__highlight{color:#000}.theme-paradise .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-paradise .ChatMessage{word-wrap:break-word}.theme-paradise .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-paradise .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-paradise .Layout,.theme-paradise .Layout *{scrollbar-base-color:#680b29;scrollbar-face-color:#99103d;scrollbar-3dlight-color:#800d33;scrollbar-highlight-color:#800d33;scrollbar-track-color:#680b29;scrollbar-arrow-color:#ea2e6c;scrollbar-shadow-color:#99103d}.theme-paradise .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-paradise .Layout__content--flexRow{display:flex;flex-flow:row}.theme-paradise .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-paradise .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-paradise .Layout__content--noMargin{margin:0}.theme-paradise .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#800d33;background-image:linear-gradient(to bottom,#80014b,#80460d)}.theme-paradise .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-paradise .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-paradise .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-paradise .Window__contentPadding:after{height:0}.theme-paradise .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-paradise .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(166,34,78,.25);pointer-events:none}.theme-paradise .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-paradise .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-paradise .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-paradise .TitleBar{background-color:#800d33;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-paradise .TitleBar__clickable{color:rgba(255,0,0,.5);background-color:#800d33;transition:color .25s,background-color .25s}.theme-paradise .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-paradise .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-paradise .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-paradise .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-paradise .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-paradise .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-paradise .adminooc{color:#29ccbe}.theme-paradise .debug{color:#8f39e6}.theme-paradise .boxed_message{background:rgba(0,0,0,.25);border:1px solid #a3b9d9;margin:.5em;padding:.5em .75em;text-align:center}.theme-paradise .boxed_message.left_align_text{text-align:left}.theme-paradise .boxed_message.red_border{background:rgba(0,0,0,.25);border-color:#a00}.theme-paradise .boxed_message.green_border{background:rgba(0,0,0,.25);border-color:#0f0}.theme-paradise .boxed_message.purple_border{background:rgba(0,0,0,.25);border-color:#8000ff}.theme-paradise .boxed_message.notice_border{background:rgba(0,0,0,.25);border-color:#6685f5}.theme-paradise .boxed_message.thick_border{border-width:thick} +html,body{box-sizing:border-box;height:100%;margin:0;font-size:12px}html{overflow:hidden;cursor:default}body{overflow:auto;font-family:Verdana,Geneva,sans-serif}*,*:before,*:after{box-sizing:inherit}h1,h2,h3,h4,h5,h6{display:block;margin:0;padding:6px 0;padding:.5rem 0}h1{font-size:18px;font-size:1.5rem}h2{font-size:16px;font-size:1.333rem}h3{font-size:14px;font-size:1.167rem}h4{font-size:12px;font-size:1rem}td,th{vertical-align:baseline;text-align:left}.candystripe:nth-child(odd){background-color:rgba(0,0,0,.25)}.color-black{color:#1a1a1a!important}.color-white{color:#fff!important}.color-red{color:#df3e3e!important}.color-orange{color:#f37f33!important}.color-yellow{color:#fbda21!important}.color-olive{color:#cbe41c!important}.color-green{color:#25ca4c!important}.color-teal{color:#00d6cc!important}.color-blue{color:#2e93de!important}.color-violet{color:#7349cf!important}.color-purple{color:#ad45d0!important}.color-pink{color:#e34da1!important}.color-brown{color:#b97447!important}.color-grey{color:#848484!important}.color-good{color:#68c22d!important}.color-average{color:#f29a29!important}.color-bad{color:#df3e3e!important}.color-label{color:#8b9bb0!important}.color-bg-black{background-color:#000!important}.color-bg-white{background-color:#d9d9d9!important}.color-bg-red{background-color:#bd2020!important}.color-bg-orange{background-color:#d95e0c!important}.color-bg-yellow{background-color:#d9b804!important}.color-bg-olive{background-color:#9aad14!important}.color-bg-green{background-color:#1b9638!important}.color-bg-teal{background-color:#009a93!important}.color-bg-blue{background-color:#1c71b1!important}.color-bg-violet{background-color:#552dab!important}.color-bg-purple{background-color:#8b2baa!important}.color-bg-pink{background-color:#cf2082!important}.color-bg-brown{background-color:#8c5836!important}.color-bg-grey{background-color:#646464!important}.color-bg-good{background-color:#4d9121!important}.color-bg-average{background-color:#cd7a0d!important}.color-bg-bad{background-color:#bd2020!important}.color-bg-label{background-color:#657a94!important}.debug-layout,.debug-layout *:not(g):not(path){color:rgba(255,255,255,.9)!important;background:rgba(0,0,0,0)!important;outline:1px solid rgba(255,255,255,.5)!important;box-shadow:none!important;filter:none!important}.debug-layout:hover,.debug-layout *:not(g):not(path):hover{outline-color:rgba(255,255,255,.8)!important}.outline-dotted{outline-style:dotted!important}.outline-dashed{outline-style:dashed!important}.outline-solid{outline-style:solid!important}.outline-double{outline-style:double!important}.outline-groove{outline-style:groove!important}.outline-ridge{outline-style:ridge!important}.outline-inset{outline-style:inset!important}.outline-outset{outline-style:outset!important}.outline-color-black{outline:.167rem solid #1a1a1a!important}.outline-color-white{outline:.167rem solid #fff!important}.outline-color-red{outline:.167rem solid #df3e3e!important}.outline-color-orange{outline:.167rem solid #f37f33!important}.outline-color-yellow{outline:.167rem solid #fbda21!important}.outline-color-olive{outline:.167rem solid #cbe41c!important}.outline-color-green{outline:.167rem solid #25ca4c!important}.outline-color-teal{outline:.167rem solid #00d6cc!important}.outline-color-blue{outline:.167rem solid #2e93de!important}.outline-color-violet{outline:.167rem solid #7349cf!important}.outline-color-purple{outline:.167rem solid #ad45d0!important}.outline-color-pink{outline:.167rem solid #e34da1!important}.outline-color-brown{outline:.167rem solid #b97447!important}.outline-color-grey{outline:.167rem solid #848484!important}.outline-color-good{outline:.167rem solid #68c22d!important}.outline-color-average{outline:.167rem solid #f29a29!important}.outline-color-bad{outline:.167rem solid #df3e3e!important}.outline-color-label{outline:.167rem solid #8b9bb0!important}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-baseline{text-align:baseline}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-pre{white-space:pre}.text-bold{font-weight:700}.text-italic{font-style:italic}.text-underline{text-decoration:underline}.BlockQuote{color:#8b9bb0;border-left:.1666666667em solid #8b9bb0;padding-left:.5em;margin-bottom:.5em}.BlockQuote:last-child{margin-bottom:0}.Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.Button:last-child{margin-right:0;margin-bottom:0}.Button .fa,.Button .fas,.Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.Button--hasContent .fa,.Button--hasContent .fas,.Button--hasContent .far{margin-right:.25em}.Button--hasContent.Button--iconRight .fa,.Button--hasContent.Button--iconRight .fas,.Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.Button--fluid{display:block;margin-left:0;margin-right:0}.Button--circular{border-radius:50%}.Button--compact{padding:0 .25em;line-height:1.333em}.Button--multiLine{white-space:normal;word-wrap:break-word}.Button--color--black{transition:color .1s,background-color .1s;background-color:#000;color:#fff}.Button--color--black:focus{transition:color .25s,background-color .25s}.Button--color--black:hover{background-color:#101010;color:#fff}.Button--color--white{transition:color .1s,background-color .1s;background-color:#d9d9d9;color:#000}.Button--color--white:focus{transition:color .25s,background-color .25s}.Button--color--white:hover{background-color:#f8f8f8;color:#000}.Button--color--red{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.Button--color--red:focus{transition:color .25s,background-color .25s}.Button--color--red:hover{background-color:#d93f3f;color:#fff}.Button--color--orange{transition:color .1s,background-color .1s;background-color:#d95e0c;color:#fff}.Button--color--orange:focus{transition:color .25s,background-color .25s}.Button--color--orange:hover{background-color:#ef7e33;color:#fff}.Button--color--yellow{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.Button--color--yellow:focus{transition:color .25s,background-color .25s}.Button--color--yellow:hover{background-color:#f5d523;color:#000}.Button--color--olive{transition:color .1s,background-color .1s;background-color:#9aad14;color:#fff}.Button--color--olive:focus{transition:color .25s,background-color .25s}.Button--color--olive:hover{background-color:#bdd327;color:#fff}.Button--color--green{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.Button--color--green:focus{transition:color .25s,background-color .25s}.Button--color--green:hover{background-color:#2fb94f;color:#fff}.Button--color--teal{transition:color .1s,background-color .1s;background-color:#009a93;color:#fff}.Button--color--teal:focus{transition:color .25s,background-color .25s}.Button--color--teal:hover{background-color:#10bdb6;color:#fff}.Button--color--blue{transition:color .1s,background-color .1s;background-color:#1c71b1;color:#fff}.Button--color--blue:focus{transition:color .25s,background-color .25s}.Button--color--blue:hover{background-color:#308fd6;color:#fff}.Button--color--violet{transition:color .1s,background-color .1s;background-color:#552dab;color:#fff}.Button--color--violet:focus{transition:color .25s,background-color .25s}.Button--color--violet:hover{background-color:#7249ca;color:#fff}.Button--color--purple{transition:color .1s,background-color .1s;background-color:#8b2baa;color:#fff}.Button--color--purple:focus{transition:color .25s,background-color .25s}.Button--color--purple:hover{background-color:#aa46ca;color:#fff}.Button--color--pink{transition:color .1s,background-color .1s;background-color:#cf2082;color:#fff}.Button--color--pink:focus{transition:color .25s,background-color .25s}.Button--color--pink:hover{background-color:#e04ca0;color:#fff}.Button--color--brown{transition:color .1s,background-color .1s;background-color:#8c5836;color:#fff}.Button--color--brown:focus{transition:color .25s,background-color .25s}.Button--color--brown:hover{background-color:#ae724c;color:#fff}.Button--color--grey{transition:color .1s,background-color .1s;background-color:#646464;color:#fff}.Button--color--grey:focus{transition:color .25s,background-color .25s}.Button--color--grey:hover{background-color:#818181;color:#fff}.Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.Button--color--good:focus{transition:color .25s,background-color .25s}.Button--color--good:hover{background-color:#67b335;color:#fff}.Button--color--average{transition:color .1s,background-color .1s;background-color:#cd7a0d;color:#fff}.Button--color--average:focus{transition:color .25s,background-color .25s}.Button--color--average:hover{background-color:#eb972b;color:#fff}.Button--color--bad{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.Button--color--bad:focus{transition:color .25s,background-color .25s}.Button--color--bad:hover{background-color:#d93f3f;color:#fff}.Button--color--label{transition:color .1s,background-color .1s;background-color:#657a94;color:#fff}.Button--color--label:focus{transition:color .25s,background-color .25s}.Button--color--label:hover{background-color:#8a9aae;color:#fff}.Button--color--default{transition:color .1s,background-color .1s;background-color:#3e6189;color:#fff}.Button--color--default:focus{transition:color .25s,background-color .25s}.Button--color--default:hover{background-color:#567daa;color:#fff}.Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.Button--color--caution:focus{transition:color .25s,background-color .25s}.Button--color--caution:hover{background-color:#f5d523;color:#000}.Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.Button--color--danger:focus{transition:color .25s,background-color .25s}.Button--color--danger:hover{background-color:#d93f3f;color:#fff}.Button--color--transparent{transition:color .1s,background-color .1s;background-color:#202020;color:#fff;background-color:rgba(32,32,32,0);color:rgba(255,255,255,.5)}.Button--color--transparent:focus{transition:color .25s,background-color .25s}.Button--color--transparent:hover{background-color:#343434;color:#fff}.Button--color--translucent{transition:color .1s,background-color .1s;background-color:#202020;color:#fff;background-color:rgba(32,32,32,.6);color:rgba(255,255,255,.5)}.Button--color--translucent:focus{transition:color .25s,background-color .25s}.Button--color--translucent:hover{background-color:#343434;color:#fff}.Button--disabled{background-color:#999!important}.Button--selected{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.Button--selected:focus{transition:color .25s,background-color .25s}.Button--selected:hover{background-color:#2fb94f;color:#fff}.Button--modal{float:right;z-index:1;margin-top:-.5rem}.ColorBox{display:inline-block;width:1em;height:1em;line-height:1em;text-align:center}.Dimmer{display:flex;justify-content:center;align-items:center;position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.75);z-index:1}.Dropdown{position:relative;align-items:center}.Dropdown__control{display:inline-block;align-items:center;font-family:Verdana,sans-serif;font-size:1em;width:8.3333333333em;line-height:1.3333333333em;-ms-user-select:none;user-select:none}.Dropdown__arrow-button{float:right;padding-left:.35em;width:1.2em;height:1.8333333333em;border-left:.0833333333em solid #000;border-left:.0833333333em solid rgba(0,0,0,.25)}.Dropdown__menu{overflow-y:auto;align-items:center;z-index:5;max-height:16.6666666667em;border-radius:0 0 .1666666667em .1666666667em;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75)}.Dropdown__menu-scroll{overflow-y:scroll}.Dropdown__menuentry{padding:.1666666667em .3333333333em;font-family:Verdana,sans-serif;font-size:1em;line-height:1.4166666667em;transition:background-color .1s ease-out}.Dropdown__menuentry.selected{background-color:rgba(255,255,255,.5)!important;transition:background-color 0ms}.Dropdown__menuentry:hover{background-color:rgba(255,255,255,.2);transition:background-color 0ms}.Dropdown__over{top:auto;bottom:100%}.Dropdown__selected-text{display:inline-block;text-overflow:ellipsis;white-space:nowrap;height:1.4166666667em;width:calc(100% - 1.2em);text-align:left;padding-top:2.5px}.Flex{display:-ms-flexbox;display:flex}.Flex--inline{display:inline-flex}.Flex--iefix{display:block}.Flex--iefix.Flex--inline,.Flex__item--iefix{display:inline-block}.Flex--iefix--column>.Flex__item--iefix{display:block}.Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.Knob__popupValue,.Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.Knob__popupValue--right{top:.25rem;right:-50%}.Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.Knob__ringTrackPivot{transform:rotate(135deg)}.Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.Knob__ringFillPivot{transform:rotate(135deg)}.Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.Knob--color--white .Knob__ringFill{stroke:#fff}.Knob--color--red .Knob__ringFill{stroke:#df3e3e}.Knob--color--orange .Knob__ringFill{stroke:#f37f33}.Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.Knob--color--green .Knob__ringFill{stroke:#25ca4c}.Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.Knob--color--blue .Knob__ringFill{stroke:#2e93de}.Knob--color--violet .Knob__ringFill{stroke:#7349cf}.Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.Knob--color--pink .Knob__ringFill{stroke:#e34da1}.Knob--color--brown .Knob__ringFill{stroke:#b97447}.Knob--color--grey .Knob__ringFill{stroke:#848484}.Knob--color--good .Knob__ringFill{stroke:#68c22d}.Knob--color--average .Knob__ringFill{stroke:#f29a29}.Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.Knob--color--label .Knob__ringFill{stroke:#8b9bb0}.LabeledList{display:table;width:100%;width:calc(100% + 1em);border-collapse:collapse;border-spacing:0;margin:-.25em -.5em 0;padding:0}.LabeledList__row{display:table-row}.LabeledList__row:last-child .LabeledList__cell{padding-bottom:0}.LabeledList__cell{display:table-cell;margin:0;padding:.25em .5em;border:0;text-align:left;vertical-align:baseline}.LabeledList__label{width:1%;white-space:nowrap;min-width:5em}.LabeledList__buttons{width:.1%;white-space:nowrap;text-align:right;padding-top:.0833333333em;padding-bottom:0}.LabeledList__breakContents{word-break:break-all;word-wrap:break-word}.Modal{background-color:#202020;max-width:calc(100% - 1rem);padding:1rem;scrollbar-base-color:#181818;scrollbar-face-color:#363636;scrollbar-3dlight-color:#202020;scrollbar-highlight-color:#202020;scrollbar-track-color:#181818;scrollbar-arrow-color:#909090;scrollbar-shadow-color:#363636}.NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#000;background-color:#bb9b68;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.NoticeBox--color--black{color:#fff;background-color:#000}.NoticeBox--color--white{color:#000;background-color:#b3b3b3}.NoticeBox--color--red{color:#fff;background-color:#701f1f}.NoticeBox--color--orange{color:#fff;background-color:#854114}.NoticeBox--color--yellow{color:#000;background-color:#83710d}.NoticeBox--color--olive{color:#000;background-color:#576015}.NoticeBox--color--green{color:#fff;background-color:#174e24}.NoticeBox--color--teal{color:#fff;background-color:#064845}.NoticeBox--color--blue{color:#fff;background-color:#1b4565}.NoticeBox--color--violet{color:#fff;background-color:#3b2864}.NoticeBox--color--purple{color:#fff;background-color:#542663}.NoticeBox--color--pink{color:#fff;background-color:#802257}.NoticeBox--color--brown{color:#fff;background-color:#4c3729}.NoticeBox--color--grey{color:#fff;background-color:#3e3e3e}.NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.NoticeBox--color--average{color:#fff;background-color:#7b4e13}.NoticeBox--color--bad{color:#fff;background-color:#701f1f}.NoticeBox--color--label{color:#fff;background-color:#53565a}.NoticeBox--type--info{color:#fff;background-color:#235982}.NoticeBox--type--success{color:#fff;background-color:#1e662f}.NoticeBox--type--warning{color:#fff;background-color:#a95219}.NoticeBox--type--danger{color:#fff;background-color:#8f2828}.NumberInput{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;color:#88bfff;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.NumberInput--fluid{display:block}.NumberInput__content{margin-left:.5em}.NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #88bfff;background-color:#88bfff}.NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.ProgressBar__fill--animated{transition:background-color .5s,width .5s}.ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.ProgressBar--color--default{border:.0833333333em solid #3e6189}.ProgressBar--color--default .ProgressBar__fill{background-color:#3e6189}.ProgressBar--color--disabled{border:1px solid #999}.ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.ProgressBar--color--black{border:.0833333333em solid #000!important}.ProgressBar--color--black .ProgressBar__fill{background-color:#000}.ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.ProgressBar--color--grey{border:.0833333333em solid #646464!important}.ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.ProgressBar--color--label{border:.0833333333em solid #657a94!important}.ProgressBar--color--label .ProgressBar__fill{background-color:#657a94}.Section{position:relative;margin-bottom:.5em;background-color:#131313;box-sizing:border-box}.Section:last-child{margin-bottom:0}.Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.Section__rest{position:relative}.Section__content{padding:.66em .5em}.Section--fitted>.Section__rest>.Section__content{padding:0}.Section--fill{display:flex;flex-direction:column;height:100%}.Section--fill>.Section__rest{flex-grow:1}.Section--fill>.Section__rest>.Section__content{height:100%}.Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.Section--scrollable{overflow-x:hidden;overflow-y:hidden}.Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.Section .Section:first-child{margin-top:-.5em}.Section .Section .Section__titleText{font-size:1.0833333333em}.Section .Section .Section .Section__titleText{font-size:1em}.Slider:not(.Slider__disabled){cursor:e-resize}.Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.Divider--horizontal{margin:.5em 0}.Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.Divider--vertical{height:100%;margin:0 .5em}.Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.Stack--fill{height:100%}.Stack--horizontal>.Stack__item{margin-left:.5em}.Stack--horizontal>.Stack__item:first-child{margin-left:0}.Stack--vertical>.Stack__item{margin-top:.5em}.Stack--vertical>.Stack__item:first-child{margin-top:0}.Stack--zebra>.Stack__item:nth-child(2n){background-color:#131313}.Stack--horizontal>.Stack__divider:not(.Stack__divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.Stack--vertical>.Stack__divider:not(.Stack__divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.Table{display:table;width:100%;border-collapse:collapse;border-spacing:0;margin:0}.Table--collapsing{width:auto}.Table__row{display:table-row}.Table__cell{display:table-cell;padding:0 .25em}.Table__cell:first-child{padding-left:0}.Table__cell:last-child{padding-right:0}.Table__row--header .Table__cell,.Table__cell--header{font-weight:700;padding-bottom:.5em}.Table__cell--collapsing{width:1%;white-space:nowrap}.Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:#131313}.Tabs--fill{height:100%}.Section .Tabs{background-color:rgba(0,0,0,0)}.Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.Tabs--horizontal:last-child{margin-bottom:0}.Tabs__Tab{flex-grow:0}.Tabs--fluid .Tabs__Tab{flex-grow:1}.Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(255,255,255,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.Tab:not(.Tab--selected):hover{background-color:rgba(255,255,255,.075);transition:background-color 0}.Tab--selected{background-color:rgba(255,255,255,.125);color:#dfe7f0}.Tab__text{flex-grow:1;margin:0 .5em}.Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #d4dfec}.Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.Tabs--vertical .Tab--selected{border-left:.1666666667em solid #d4dfec}.Tab--selected.Tab--color--black{color:#535353}.Tabs--horizontal .Tab--selected.Tab--color--black{border-bottom-color:#1a1a1a}.Tabs--vertical .Tab--selected.Tab--color--black{border-left-color:#1a1a1a}.Tab--selected.Tab--color--white{color:#fff}.Tabs--horizontal .Tab--selected.Tab--color--white{border-bottom-color:#fff}.Tabs--vertical .Tab--selected.Tab--color--white{border-left-color:#fff}.Tab--selected.Tab--color--red{color:#e76e6e}.Tabs--horizontal .Tab--selected.Tab--color--red{border-bottom-color:#df3e3e}.Tabs--vertical .Tab--selected.Tab--color--red{border-left-color:#df3e3e}.Tab--selected.Tab--color--orange{color:#f69f66}.Tabs--horizontal .Tab--selected.Tab--color--orange{border-bottom-color:#f37f33}.Tabs--vertical .Tab--selected.Tab--color--orange{border-left-color:#f37f33}.Tab--selected.Tab--color--yellow{color:#fce358}.Tabs--horizontal .Tab--selected.Tab--color--yellow{border-bottom-color:#fbda21}.Tabs--vertical .Tab--selected.Tab--color--yellow{border-left-color:#fbda21}.Tab--selected.Tab--color--olive{color:#d8eb55}.Tabs--horizontal .Tab--selected.Tab--color--olive{border-bottom-color:#cbe41c}.Tabs--vertical .Tab--selected.Tab--color--olive{border-left-color:#cbe41c}.Tab--selected.Tab--color--green{color:#53e074}.Tabs--horizontal .Tab--selected.Tab--color--green{border-bottom-color:#25ca4c}.Tabs--vertical .Tab--selected.Tab--color--green{border-left-color:#25ca4c}.Tab--selected.Tab--color--teal{color:#21fff5}.Tabs--horizontal .Tab--selected.Tab--color--teal{border-bottom-color:#00d6cc}.Tabs--vertical .Tab--selected.Tab--color--teal{border-left-color:#00d6cc}.Tab--selected.Tab--color--blue{color:#62aee6}.Tabs--horizontal .Tab--selected.Tab--color--blue{border-bottom-color:#2e93de}.Tabs--vertical .Tab--selected.Tab--color--blue{border-left-color:#2e93de}.Tab--selected.Tab--color--violet{color:#9676db}.Tabs--horizontal .Tab--selected.Tab--color--violet{border-bottom-color:#7349cf}.Tabs--vertical .Tab--selected.Tab--color--violet{border-left-color:#7349cf}.Tab--selected.Tab--color--purple{color:#c274db}.Tabs--horizontal .Tab--selected.Tab--color--purple{border-bottom-color:#ad45d0}.Tabs--vertical .Tab--selected.Tab--color--purple{border-left-color:#ad45d0}.Tab--selected.Tab--color--pink{color:#ea79b9}.Tabs--horizontal .Tab--selected.Tab--color--pink{border-bottom-color:#e34da1}.Tabs--vertical .Tab--selected.Tab--color--pink{border-left-color:#e34da1}.Tab--selected.Tab--color--brown{color:#ca9775}.Tabs--horizontal .Tab--selected.Tab--color--brown{border-bottom-color:#b97447}.Tabs--vertical .Tab--selected.Tab--color--brown{border-left-color:#b97447}.Tab--selected.Tab--color--grey{color:#a3a3a3}.Tabs--horizontal .Tab--selected.Tab--color--grey{border-bottom-color:#848484}.Tabs--vertical .Tab--selected.Tab--color--grey{border-left-color:#848484}.Tab--selected.Tab--color--good{color:#8cd95a}.Tabs--horizontal .Tab--selected.Tab--color--good{border-bottom-color:#68c22d}.Tabs--vertical .Tab--selected.Tab--color--good{border-left-color:#68c22d}.Tab--selected.Tab--color--average{color:#f5b35e}.Tabs--horizontal .Tab--selected.Tab--color--average{border-bottom-color:#f29a29}.Tabs--vertical .Tab--selected.Tab--color--average{border-left-color:#f29a29}.Tab--selected.Tab--color--bad{color:#e76e6e}.Tabs--horizontal .Tab--selected.Tab--color--bad{border-bottom-color:#df3e3e}.Tabs--vertical .Tab--selected.Tab--color--bad{border-left-color:#df3e3e}.Tab--selected.Tab--color--label{color:#a8b4c4}.Tabs--horizontal .Tab--selected.Tab--color--label{border-bottom-color:#8b9bb0}.Tabs--vertical .Tab--selected.Tab--color--label{border-left-color:#8b9bb0}.Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.Input--fluid{display:block;width:auto}.Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input--monospace .Input__input{font-family:Consolas,monospace}.TextArea{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.TextArea--fluid{display:block;width:auto;height:auto}.TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.Tooltip{z-index:2;padding:.5em .75em;pointer-events:none;text-align:left;transition:opacity .15s ease-out;background-color:#000;color:#fff;box-shadow:.1em .1em 1.25em -.1em rgba(0,0,0,.5);border-radius:.16em;max-width:20.8333333333em}.Chat{color:#abc6ec}.Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.Chat__badge:before{content:"x"}.Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.Chat__scrollButton{position:fixed;right:2em;bottom:1em}.Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#131313}.Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.Chat__highlight{color:#000}.Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.ChatMessage{word-wrap:break-word}.ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.Ping{position:relative;padding:.125em .25em;border:.0833333333em solid rgba(140,140,140,.5);border-radius:.25em;width:3.75em;text-align:right}.Ping__indicator{content:"";position:absolute;top:.5em;left:.5em;width:.5em;height:.5em;background-color:#888;border-radius:.25em}.Notifications{position:absolute;top:1em;left:.75em;right:2em}.Notification{color:#fff;background-color:#dc143c;padding:.5em;margin:1em 0}.Notification:first-child{margin-top:0}.Notification:last-child{margin-bottom:0}.Layout,.Layout *{scrollbar-base-color:#181818;scrollbar-face-color:#363636;scrollbar-3dlight-color:#202020;scrollbar-highlight-color:#202020;scrollbar-track-color:#181818;scrollbar-arrow-color:#909090;scrollbar-shadow-color:#363636}.Layout::-webkit-scrollbar,.Layout *::-webkit-scrollbar{width:12px}.Layout::-webkit-scrollbar-track,.Layout *::-webkit-scrollbar-track{background:#181818}.Layout::-webkit-scrollbar-thumb,.Layout *::-webkit-scrollbar-thumb{background:#363636}.Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.Layout__content--flexRow{display:flex;flex-flow:row}.Layout__content--flexColumn{display:flex;flex-flow:column}.Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.Layout__content--noMargin{margin:0}.Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#202020;background-image:linear-gradient(to bottom,#202020,#202020)}.Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.Window__contentPadding:after{height:0}.Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(56,56,56,.25);pointer-events:none}.Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}img{margin:0;padding:0;line-height:1;-ms-interpolation-mode:nearest-neighbor;image-rendering:pixelated}img.icon{height:1em;min-height:16px;width:auto;vertical-align:bottom}.emoji16x16{vertical-align:middle}a{color:#397ea5}a.popt{text-decoration:none}.popup{position:fixed;top:50%;left:50%;background:#ddd}.popup .close{position:absolute;background:#aaa;top:0;right:0;color:#333;text-decoration:none;z-index:2;padding:0 10px;height:30px;line-height:30px}.popup .close:hover{background:#999}.popup .head{background:#999;color:#ddd;padding:0 10px;height:30px;line-height:30px;text-transform:uppercase;font-size:.9em;font-weight:700;border-bottom:2px solid green}.popup input{border:1px solid #999;background:#fff;margin:0;padding:5px;outline:none;color:#333}.popup input[type=text]:hover,.popup input[type=text]:active,.popup input[type=text]:focus{border-color:green}.popup input[type=submit]{padding:5px 10px;background:#999;color:#ddd;text-transform:uppercase;font-size:.9em;font-weight:700}.popup input[type=submit]:hover,.popup input[type=submit]:focus,.popup input[type=submit]:active{background:#aaa;cursor:pointer}.changeFont{padding:10px}.changeFont a{display:block;text-decoration:none;padding:3px;color:#333}.changeFont a:hover{background:#ccc}.highlightPopup{padding:10px;text-align:center}.highlightPopup input[type=text]{display:block;width:215px;text-align:left;margin-top:5px}.highlightPopup input.highlightColor{background-color:#ff0}.highlightPopup input.highlightTermSubmit{margin-top:5px}.contextMenu{background-color:#ddd;position:fixed;margin:2px;width:150px}.contextMenu a{display:block;padding:2px 5px;text-decoration:none;color:#333}.contextMenu a:hover{background-color:#ccc}.filterMessages{padding:5px}.filterMessages div{padding:2px 0}.icon-stack{height:1em;line-height:1em;width:1em;vertical-align:middle;margin-top:-2px}.motd{color:#a4bad6;font-family:Verdana,sans-serif;white-space:normal}.motd h1,.motd h2,.motd h3,.motd h4,.motd h5,.motd h6{color:#a4bad6;text-decoration:underline}.motd a,.motd a:link,.motd a:active,.motd a:hover{color:#a4bad6}.italic,.italics,.emote{font-style:italic}.highlight{background:#ff0}h1,h2,h3,h4,h5,h6{color:#a4bad6;font-family:Georgia,Verdana,sans-serif}em{font-style:normal;font-weight:700}.darkmblue{color:#6685f5}.prefix,.ooc{font-weight:700}.looc{color:#69c;font-weight:700}.adminobserverooc{color:#09c;font-weight:700}.adminooc{color:#b82e00;font-weight:700}.adminobserver{color:#960;font-weight:700}.admin{color:#386aff;font-weight:700}.adminsay{color:#9611d4;font-weight:700}.mentorhelp{color:#07b;font-weight:700}.adminhelp{color:#a00;font-weight:700}.playerreply{color:#80b;font-weight:700}.pmsend{color:#6685f5}.debug{color:#6d2f83}.name,.yell{font-weight:700}.siliconsay{font-family:Courier New,Courier,monospace}.deadsay{color:#e2c1ff}.radio{color:#20b142}.deptradio{color:#939}.comradio{color:#5f5cff}.syndradio{color:#8f4a4b}.dsquadradio{color:#998599}.resteamradio{color:#18bc46}.airadio{color:#ff5ed7}.centradio{color:#2681a5}.secradio{color:#dd3535}.engradio{color:#feac20}.medradio{color:#00b5ad}.sciradio{color:#c68cfa}.supradio{color:#b88646}.srvradio{color:#bbd164}.proradio{color:#b84f92}.admin_channel{color:#03fc9d;font-weight:700}.all_admin_ping{color:#12a5f4;font-weight:700;font-size:120%;text-align:center}.mentor_channel{color:#775bff;font-weight:700}.mentor_channel_admin{color:#a35cff;font-weight:700}.djradio{color:#960}.binaryradio{color:#1b00fb;font-family:Courier New,Courier,monospace}.mommiradio{color:#6685f5}.alert{color:#d82020}h1.alert,h2.alert{color:#a4bad6}.ghostalert{color:#cc00c6;font-style:italic;font-weight:700}.emote{font-style:italic}.selecteddna{color:#a4bad6;background-color:#001b1b}.attack{color:red}.moderate{color:#c00}.disarm{color:#900}.passive{color:#600}.warning{color:#c51e1e;font-style:italic}.boldwarning{color:#c51e1e;font-style:italic;font-weight:700}.danger{color:#c51e1e;font-weight:700}.userdanger{color:#c51e1e;font-weight:700;font-size:120%}.biggerdanger{color:red;font-weight:700;font-size:150%}.info{color:#9ab0ff}.notice{color:#6685f5}.boldnotice{color:#6685f5;font-weight:700}.suicide{color:#ff5050;font-style:italic}.green{color:#03bb39}.pr_announce,.boldannounceic,.boldannounceooc{color:#c51e1e;font-weight:700}.greenannounce{color:#059223;font-weight:700}.alien{color:#c433c4}.noticealien{color:#00c000}.alertalien{color:#00c000;font-weight:700}.terrorspider{color:#cf52fa}.dantalion{color:#8b2c5e}.chaosverygood{color:#19e0c0;font-weight:700;font-size:120%}.chaosgood{color:#19e0c0;font-weight:700}.chaosneutral{color:#479ac0;font-weight:700}.chaosbad{color:#9047c0;font-weight:700}.chaosverybad{color:#9047c0;font-weight:700;font-size:120%}.sinister{color:purple;font-weight:700;font-style:italic}.medal{font-weight:700}.blob{color:#006221;font-weight:700;font-style:italic}.confirm{color:#00af3b}.rose{color:#ff5050}.sans{font-family:Comic Sans MS,cursive,sans-serif}.wingdings{font-family:Wingdings,Webdings}.robot{font-family:OCR-A,monospace;font-size:1.15em;font-weight:700}.ancient{color:#008b8b;font-style:italic}.newscaster{color:#c00}.mod{color:#735638;font-weight:700}.modooc{color:#184880;font-weight:700}.adminmod{color:#f0aa14;font-weight:700}.tajaran{color:#803b56}.skrell{color:#00ced1}.solcom{color:#8282fb}.com_srus{color:#7c4848}.zombie{color:red}.soghun{color:#228b22}.changeling{color:#00b4de}.vox{color:#a0a}.diona{color:#804000;font-weight:700}.trinary{color:#727272}.kidan{color:#c64c05}.slime{color:#07a}.drask{color:#a3d4eb;font-family:Arial Black}.moth{color:#869b29;font-family:Copperplate}.clown{color:red}.vulpkanin{color:#b97a57}.abductor{color:purple;font-style:italic}.mind_control{color:#a00d6f;font-size:3;font-weight:700;font-style:italic}.rough{font-family:Trebuchet MS,cursive,sans-serif}.say_quote{font-family:Georgia,Verdana,sans-serif}.cult{color:purple;font-weight:700;font-style:italic}.cultspeech{color:#af0000;font-style:italic}.cultitalic{color:#a60000;font-style:italic}.cultlarge{color:#a60000;font-weight:700;font-size:120%}.narsie{color:#a60000;font-weight:700;font-size:300%}.narsiesmall{color:#a60000;font-weight:700;font-size:200%}.interface{color:#9031c4}.big{font-size:150%}.reallybig{font-size:175%}.greentext{color:#0f0;font-size:150%}.redtext{color:red;font-size:150%}.bold{font-weight:700}.his_grace{color:#15d512;font-family:Courier New,cursive,sans-serif;font-style:italic}.center{text-align:center}.red{color:red}.purple{color:#9031c4}.skeleton{color:#c8c8c8;font-weight:700;font-style:italic}.gutter{color:#7092be;font-family:Trebuchet MS,cursive,sans-serif}.orange{color:orange}.orangei{color:orange;font-style:italic}.orangeb{color:orange;font-weight:700}.resonate{color:#298f85}.healthscan_oxy{color:#5cc9ff}.revennotice{color:#6685f5}.revenboldnotice{color:#6685f5;font-weight:700}.revenbignotice{color:#6685f5;font-weight:700;font-size:120%}.revenminor{color:#823abb}.revenwarning{color:#760fbb;font-style:italic}.revendanger{color:#760fbb;font-weight:700;font-size:120%}.specialnotice{color:#4a6f82;font-weight:700;font-size:120%}.good{color:green}.average{color:#ff8000}.bad{color:red}.italics,.talkinto{font-style:italic}.whisper{font-style:italic;color:#ccc}.recruit{color:#5c00e6;font-weight:700;font-style:italic}.memo{color:#638500;text-align:center}.memoedit{text-align:center;font-size:75%}.connectionClosed,.fatalError{background:red;color:#fff;padding:5px}.connectionClosed.restored{background:green}.internal.boldnshit{color:#6685f5;font-weight:700}.rebooting{background:#2979af;color:#fff;padding:5px}.rebooting a{color:#fff!important;text-decoration-color:#fff!important}.text-normal{font-weight:400;font-style:normal}.hidden{display:none;visibility:hidden}.colossus{color:#7f282a;font-size:175%}.hierophant{color:#609;font-weight:700;font-style:italic}.hierophant_warning{color:#609;font-style:italic}.emoji{max-height:16px;max-width:16px}.adminticket{color:#3daf21;font-weight:700}.adminticketalt{color:#ccb847;font-weight:700}span.body .codephrases{color:#55f}span.body .coderesponses{color:#f33}.announcement h1,.announcement h2{color:#a4bad6;margin:8pt 0;line-height:1.2}.announcement p{color:#d82020;line-height:1.3}.announcement.minor h1{font-size:180%}.announcement.minor h2{font-size:170%}.announcement.sec h1{color:red;font-size:180%;font-family:Verdana,sans-serif}.bolditalics{font-style:italic;font-weight:700}.boxed_message{background:#1b1c1e;border:1px solid #a3b9d9;margin:.5em;padding:.5em .75em;text-align:center}.boxed_message.left_align_text{text-align:left}.boxed_message.red_border{background:#1e1b1b;border-color:#a00}.boxed_message.green_border{background:#1b1e1c;border-color:#0f0}.boxed_message.purple_border{background:#1d1c1f;border-color:#8000ff}.boxed_message.notice_border{background:#1b1c1e;border-color:#6685f5}.boxed_message.thick_border{border-width:thick}.theme-light .color-black{color:#000!important}.theme-light .color-white{color:#e6e6e6!important}.theme-light .color-red{color:#c82121!important}.theme-light .color-orange{color:#e6630d!important}.theme-light .color-yellow{color:#e5c304!important}.theme-light .color-olive{color:#a3b816!important}.theme-light .color-green{color:#1d9f3b!important}.theme-light .color-teal{color:#00a39c!important}.theme-light .color-blue{color:#1e78bb!important}.theme-light .color-violet{color:#5a30b5!important}.theme-light .color-purple{color:#932eb4!important}.theme-light .color-pink{color:#db228a!important}.theme-light .color-brown{color:#955d39!important}.theme-light .color-grey{color:#e6e6e6!important}.theme-light .color-good{color:#529923!important}.theme-light .color-average{color:#da810e!important}.theme-light .color-bad{color:#c82121!important}.theme-light .color-label{color:#353535!important}.theme-light .color-bg-black{background-color:#000!important}.theme-light .color-bg-white{background-color:#bfbfbf!important}.theme-light .color-bg-red{background-color:#a61c1c!important}.theme-light .color-bg-orange{background-color:#c0530b!important}.theme-light .color-bg-yellow{background-color:#bfa303!important}.theme-light .color-bg-olive{background-color:#889912!important}.theme-light .color-bg-green{background-color:#188532!important}.theme-light .color-bg-teal{background-color:#008882!important}.theme-light .color-bg-blue{background-color:#19649c!important}.theme-light .color-bg-violet{background-color:#4b2897!important}.theme-light .color-bg-purple{background-color:#7a2696!important}.theme-light .color-bg-pink{background-color:#b61d73!important}.theme-light .color-bg-brown{background-color:#7c4d2f!important}.theme-light .color-bg-grey{background-color:#bfbfbf!important}.theme-light .color-bg-good{background-color:#44801d!important}.theme-light .color-bg-average{background-color:#b56b0b!important}.theme-light .color-bg-bad{background-color:#a61c1c!important}.theme-light .color-bg-label{background-color:#2c2c2c!important}.theme-light .Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:#fff}.theme-light .Tabs--fill{height:100%}.theme-light .Section .Tabs{background-color:rgba(0,0,0,0)}.theme-light .Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.theme-light .Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.theme-light .Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.theme-light .Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.theme-light .Tabs--horizontal:last-child{margin-bottom:0}.theme-light .Tabs__Tab{flex-grow:0}.theme-light .Tabs--fluid .Tabs__Tab{flex-grow:1}.theme-light .Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(0,0,0,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.theme-light .Tab:not(.Tab--selected):hover{background-color:rgba(0,0,0,.075);transition:background-color 0}.theme-light .Tab--selected{background-color:rgba(0,0,0,.125);color:#404040}.theme-light .Tab__text{flex-grow:1;margin:0 .5em}.theme-light .Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.theme-light .Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.theme-light .Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.theme-light .Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #000}.theme-light .Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.theme-light .Tabs--vertical .Tab--selected{border-left:.1666666667em solid #000}.theme-light .Tab--selected.Tab--color--black{color:#404040}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--black{border-bottom-color:#000}.theme-light .Tabs--vertical .Tab--selected.Tab--color--black{border-left-color:#000}.theme-light .Tab--selected.Tab--color--white{color:#ececec}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--white{border-bottom-color:#e6e6e6}.theme-light .Tabs--vertical .Tab--selected.Tab--color--white{border-left-color:#e6e6e6}.theme-light .Tab--selected.Tab--color--red{color:#e14d4d}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--red{border-bottom-color:#c82121}.theme-light .Tabs--vertical .Tab--selected.Tab--color--red{border-left-color:#c82121}.theme-light .Tab--selected.Tab--color--orange{color:#f48942}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--orange{border-bottom-color:#e6630d}.theme-light .Tabs--vertical .Tab--selected.Tab--color--orange{border-left-color:#e6630d}.theme-light .Tab--selected.Tab--color--yellow{color:#fcdd33}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--yellow{border-bottom-color:#e5c304}.theme-light .Tabs--vertical .Tab--selected.Tab--color--yellow{border-left-color:#e5c304}.theme-light .Tab--selected.Tab--color--olive{color:#d0e732}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--olive{border-bottom-color:#a3b816}.theme-light .Tabs--vertical .Tab--selected.Tab--color--olive{border-left-color:#a3b816}.theme-light .Tab--selected.Tab--color--green{color:#33da5a}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--green{border-bottom-color:#1d9f3b}.theme-light .Tabs--vertical .Tab--selected.Tab--color--green{border-left-color:#1d9f3b}.theme-light .Tab--selected.Tab--color--teal{color:#00faef}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--teal{border-bottom-color:#00a39c}.theme-light .Tabs--vertical .Tab--selected.Tab--color--teal{border-left-color:#00a39c}.theme-light .Tab--selected.Tab--color--blue{color:#419ce1}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--blue{border-bottom-color:#1e78bb}.theme-light .Tabs--vertical .Tab--selected.Tab--color--blue{border-left-color:#1e78bb}.theme-light .Tab--selected.Tab--color--violet{color:#7f58d3}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--violet{border-bottom-color:#5a30b5}.theme-light .Tabs--vertical .Tab--selected.Tab--color--violet{border-left-color:#5a30b5}.theme-light .Tab--selected.Tab--color--purple{color:#b455d4}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--purple{border-bottom-color:#932eb4}.theme-light .Tabs--vertical .Tab--selected.Tab--color--purple{border-left-color:#932eb4}.theme-light .Tab--selected.Tab--color--pink{color:#e558a7}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--pink{border-bottom-color:#db228a}.theme-light .Tabs--vertical .Tab--selected.Tab--color--pink{border-left-color:#db228a}.theme-light .Tab--selected.Tab--color--brown{color:#c0825a}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--brown{border-bottom-color:#955d39}.theme-light .Tabs--vertical .Tab--selected.Tab--color--brown{border-left-color:#955d39}.theme-light .Tab--selected.Tab--color--grey{color:#ececec}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--grey{border-bottom-color:#e6e6e6}.theme-light .Tabs--vertical .Tab--selected.Tab--color--grey{border-left-color:#e6e6e6}.theme-light .Tab--selected.Tab--color--good{color:#77d23b}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--good{border-bottom-color:#529923}.theme-light .Tabs--vertical .Tab--selected.Tab--color--good{border-left-color:#529923}.theme-light .Tab--selected.Tab--color--average{color:#f3a23a}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--average{border-bottom-color:#da810e}.theme-light .Tabs--vertical .Tab--selected.Tab--color--average{border-left-color:#da810e}.theme-light .Tab--selected.Tab--color--bad{color:#e14d4d}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--bad{border-bottom-color:#c82121}.theme-light .Tabs--vertical .Tab--selected.Tab--color--bad{border-left-color:#c82121}.theme-light .Tab--selected.Tab--color--label{color:#686868}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--label{border-bottom-color:#353535}.theme-light .Tabs--vertical .Tab--selected.Tab--color--label{border-left-color:#353535}.theme-light .Section{position:relative;margin-bottom:.5em;background-color:#fff;box-sizing:border-box}.theme-light .Section:last-child{margin-bottom:0}.theme-light .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #fff}.theme-light .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#000}.theme-light .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-light .Section__rest{position:relative}.theme-light .Section__content{padding:.66em .5em}.theme-light .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-light .Section--fill{display:flex;flex-direction:column;height:100%}.theme-light .Section--fill>.Section__rest{flex-grow:1}.theme-light .Section--fill>.Section__rest>.Section__content{height:100%}.theme-light .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-light .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-light .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-light .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-light .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-light .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-light .Section .Section:first-child{margin-top:-.5em}.theme-light .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-light .Section .Section .Section .Section__titleText{font-size:1em}.theme-light .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-light .Button:last-child{margin-right:0;margin-bottom:0}.theme-light .Button .fa,.theme-light .Button .fas,.theme-light .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-light .Button--hasContent .fa,.theme-light .Button--hasContent .fas,.theme-light .Button--hasContent .far{margin-right:.25em}.theme-light .Button--hasContent.Button--iconRight .fa,.theme-light .Button--hasContent.Button--iconRight .fas,.theme-light .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-light .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-light .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-light .Button--circular{border-radius:50%}.theme-light .Button--compact{padding:0 .25em;line-height:1.333em}.theme-light .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-light .Button--color--black{transition:color .1s,background-color .1s;background-color:#000;color:#fff}.theme-light .Button--color--black:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--black:hover{background-color:#101010;color:#fff}.theme-light .Button--color--white{transition:color .1s,background-color .1s;background-color:#bfbfbf;color:#000}.theme-light .Button--color--white:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--white:hover{background-color:#e7e7e7;color:#000}.theme-light .Button--color--red{transition:color .1s,background-color .1s;background-color:#a61c1c;color:#fff}.theme-light .Button--color--red:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--red:hover{background-color:#cb3030;color:#fff}.theme-light .Button--color--orange{transition:color .1s,background-color .1s;background-color:#c0530b;color:#fff}.theme-light .Button--color--orange:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--orange:hover{background-color:#e76d1d;color:#fff}.theme-light .Button--color--yellow{transition:color .1s,background-color .1s;background-color:#bfa303;color:#fff}.theme-light .Button--color--yellow:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--yellow:hover{background-color:#e7c714;color:#fff}.theme-light .Button--color--olive{transition:color .1s,background-color .1s;background-color:#889912;color:#fff}.theme-light .Button--color--olive:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--olive:hover{background-color:#a9bc25;color:#fff}.theme-light .Button--color--green{transition:color .1s,background-color .1s;background-color:#188532;color:#fff}.theme-light .Button--color--green:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--green:hover{background-color:#2ba648;color:#fff}.theme-light .Button--color--teal{transition:color .1s,background-color .1s;background-color:#008882;color:#fff}.theme-light .Button--color--teal:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--teal:hover{background-color:#10a9a2;color:#fff}.theme-light .Button--color--blue{transition:color .1s,background-color .1s;background-color:#19649c;color:#fff}.theme-light .Button--color--blue:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--blue:hover{background-color:#2c81c0;color:#fff}.theme-light .Button--color--violet{transition:color .1s,background-color .1s;background-color:#4b2897;color:#fff}.theme-light .Button--color--violet:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--violet:hover{background-color:#653db9;color:#fff}.theme-light .Button--color--purple{transition:color .1s,background-color .1s;background-color:#7a2696;color:#fff}.theme-light .Button--color--purple:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--purple:hover{background-color:#9a3bb9;color:#fff}.theme-light .Button--color--pink{transition:color .1s,background-color .1s;background-color:#b61d73;color:#fff}.theme-light .Button--color--pink:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--pink:hover{background-color:#d93591;color:#fff}.theme-light .Button--color--brown{transition:color .1s,background-color .1s;background-color:#7c4d2f;color:#fff}.theme-light .Button--color--brown:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--brown:hover{background-color:#9c6745;color:#fff}.theme-light .Button--color--grey{transition:color .1s,background-color .1s;background-color:#bfbfbf;color:#000}.theme-light .Button--color--grey:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--grey:hover{background-color:#e7e7e7;color:#000}.theme-light .Button--color--good{transition:color .1s,background-color .1s;background-color:#44801d;color:#fff}.theme-light .Button--color--good:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--good:hover{background-color:#5d9f31;color:#fff}.theme-light .Button--color--average{transition:color .1s,background-color .1s;background-color:#b56b0b;color:#fff}.theme-light .Button--color--average:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--average:hover{background-color:#dc891d;color:#fff}.theme-light .Button--color--bad{transition:color .1s,background-color .1s;background-color:#a61c1c;color:#fff}.theme-light .Button--color--bad:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--bad:hover{background-color:#cb3030;color:#fff}.theme-light .Button--color--label{transition:color .1s,background-color .1s;background-color:#2c2c2c;color:#fff}.theme-light .Button--color--label:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--label:hover{background-color:#424242;color:#fff}.theme-light .Button--color--default{transition:color .1s,background-color .1s;background-color:#bbb;color:#000}.theme-light .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--default:hover{background-color:#e3e3e3;color:#000}.theme-light .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-light .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-light .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-light .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-light .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#eee;color:#000;background-color:rgba(238,238,238,0);color:rgba(0,0,0,.5)}.theme-light .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--transparent:hover{background-color:#fcfcfc;color:#000}.theme-light .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#eee;color:#000;background-color:rgba(238,238,238,.6);color:rgba(0,0,0,.5)}.theme-light .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-light .Button--color--translucent:hover{background-color:#fcfcfc;color:#000}.theme-light .Button--disabled{background-color:#363636!important}.theme-light .Button--selected{transition:color .1s,background-color .1s;background-color:#0668b8;color:#fff}.theme-light .Button--selected:focus{transition:color .25s,background-color .25s}.theme-light .Button--selected:hover{background-color:#1785df;color:#fff}.theme-light .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-light .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #353535;border:.0833333333em solid rgba(53,53,53,.75);border-radius:.16em;color:#353535;background-color:#e6e6e6;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-light .NumberInput--fluid{display:block}.theme-light .NumberInput__content{margin-left:.5em}.theme-light .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-light .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #353535;background-color:#353535}.theme-light .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#e6e6e6;color:#000;text-align:right}.theme-light .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #353535;border:.0833333333em solid rgba(53,53,53,.75);border-radius:.16em;color:#000;background-color:#e6e6e6;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-light .Input--disabled{color:#777;border-color:#000;border-color:rgba(0,0,0,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-light .Input--fluid{display:block;width:auto}.theme-light .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-light .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#000;color:inherit}.theme-light .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-light .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-light .TextArea{position:relative;display:inline-block;border:.0833333333em solid #353535;border:.0833333333em solid rgba(53,53,53,.75);border-radius:.16em;background-color:#e6e6e6;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-light .TextArea--fluid{display:block;width:auto;height:auto}.theme-light .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-light .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-light .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-light .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-light .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-light .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-light .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-light .Knob__popupValue,.theme-light .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-light .Knob__popupValue--right{top:.25rem;right:-50%}.theme-light .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-light .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-light .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-light .Knob__ringFillPivot{transform:rotate(135deg)}.theme-light .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-light .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-light .Knob--color--black .Knob__ringFill{stroke:#000}.theme-light .Knob--color--white .Knob__ringFill{stroke:#e6e6e6}.theme-light .Knob--color--red .Knob__ringFill{stroke:#c82121}.theme-light .Knob--color--orange .Knob__ringFill{stroke:#e6630d}.theme-light .Knob--color--yellow .Knob__ringFill{stroke:#e5c304}.theme-light .Knob--color--olive .Knob__ringFill{stroke:#a3b816}.theme-light .Knob--color--green .Knob__ringFill{stroke:#1d9f3b}.theme-light .Knob--color--teal .Knob__ringFill{stroke:#00a39c}.theme-light .Knob--color--blue .Knob__ringFill{stroke:#1e78bb}.theme-light .Knob--color--violet .Knob__ringFill{stroke:#5a30b5}.theme-light .Knob--color--purple .Knob__ringFill{stroke:#932eb4}.theme-light .Knob--color--pink .Knob__ringFill{stroke:#db228a}.theme-light .Knob--color--brown .Knob__ringFill{stroke:#955d39}.theme-light .Knob--color--grey .Knob__ringFill{stroke:#e6e6e6}.theme-light .Knob--color--good .Knob__ringFill{stroke:#529923}.theme-light .Knob--color--average .Knob__ringFill{stroke:#da810e}.theme-light .Knob--color--bad .Knob__ringFill{stroke:#c82121}.theme-light .Knob--color--label .Knob__ringFill{stroke:#353535}.theme-light .Slider:not(.Slider__disabled){cursor:e-resize}.theme-light .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-light .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #000}.theme-light .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #000}.theme-light .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-light .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-light .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-light .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-light .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-light .ProgressBar--color--default{border:.0833333333em solid #bfbfbf}.theme-light .ProgressBar--color--default .ProgressBar__fill{background-color:#bfbfbf}.theme-light .ProgressBar--color--disabled{border:1px solid #999}.theme-light .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-light .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-light .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-light .ProgressBar--color--white{border:.0833333333em solid #bfbfbf!important}.theme-light .ProgressBar--color--white .ProgressBar__fill{background-color:#bfbfbf}.theme-light .ProgressBar--color--red{border:.0833333333em solid #a61c1c!important}.theme-light .ProgressBar--color--red .ProgressBar__fill{background-color:#a61c1c}.theme-light .ProgressBar--color--orange{border:.0833333333em solid #c0530b!important}.theme-light .ProgressBar--color--orange .ProgressBar__fill{background-color:#c0530b}.theme-light .ProgressBar--color--yellow{border:.0833333333em solid #bfa303!important}.theme-light .ProgressBar--color--yellow .ProgressBar__fill{background-color:#bfa303}.theme-light .ProgressBar--color--olive{border:.0833333333em solid #889912!important}.theme-light .ProgressBar--color--olive .ProgressBar__fill{background-color:#889912}.theme-light .ProgressBar--color--green{border:.0833333333em solid #188532!important}.theme-light .ProgressBar--color--green .ProgressBar__fill{background-color:#188532}.theme-light .ProgressBar--color--teal{border:.0833333333em solid #008882!important}.theme-light .ProgressBar--color--teal .ProgressBar__fill{background-color:#008882}.theme-light .ProgressBar--color--blue{border:.0833333333em solid #19649c!important}.theme-light .ProgressBar--color--blue .ProgressBar__fill{background-color:#19649c}.theme-light .ProgressBar--color--violet{border:.0833333333em solid #4b2897!important}.theme-light .ProgressBar--color--violet .ProgressBar__fill{background-color:#4b2897}.theme-light .ProgressBar--color--purple{border:.0833333333em solid #7a2696!important}.theme-light .ProgressBar--color--purple .ProgressBar__fill{background-color:#7a2696}.theme-light .ProgressBar--color--pink{border:.0833333333em solid #b61d73!important}.theme-light .ProgressBar--color--pink .ProgressBar__fill{background-color:#b61d73}.theme-light .ProgressBar--color--brown{border:.0833333333em solid #7c4d2f!important}.theme-light .ProgressBar--color--brown .ProgressBar__fill{background-color:#7c4d2f}.theme-light .ProgressBar--color--grey{border:.0833333333em solid #bfbfbf!important}.theme-light .ProgressBar--color--grey .ProgressBar__fill{background-color:#bfbfbf}.theme-light .ProgressBar--color--good{border:.0833333333em solid #44801d!important}.theme-light .ProgressBar--color--good .ProgressBar__fill{background-color:#44801d}.theme-light .ProgressBar--color--average{border:.0833333333em solid #b56b0b!important}.theme-light .ProgressBar--color--average .ProgressBar__fill{background-color:#b56b0b}.theme-light .ProgressBar--color--bad{border:.0833333333em solid #a61c1c!important}.theme-light .ProgressBar--color--bad .ProgressBar__fill{background-color:#a61c1c}.theme-light .ProgressBar--color--label{border:.0833333333em solid #2c2c2c!important}.theme-light .ProgressBar--color--label .ProgressBar__fill{background-color:#2c2c2c}.theme-light .Chat{color:#000}.theme-light .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-light .Chat__badge:before{content:"x"}.theme-light .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-light .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-light .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-light .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#fff}.theme-light .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-light .Chat__highlight{color:#000}.theme-light .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-light .ChatMessage{word-wrap:break-word}.theme-light .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-light .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-light .Layout,.theme-light .Layout *{scrollbar-base-color:#f2f2f2;scrollbar-face-color:#d6d6d6;scrollbar-3dlight-color:#eee;scrollbar-highlight-color:#eee;scrollbar-track-color:#f2f2f2;scrollbar-arrow-color:#777;scrollbar-shadow-color:#d6d6d6}.theme-light .Layout::-webkit-scrollbar,.theme-light .Layout *::-webkit-scrollbar{width:12px}.theme-light .Layout::-webkit-scrollbar-track,.theme-light .Layout *::-webkit-scrollbar-track{background:#f2f2f2}.theme-light .Layout::-webkit-scrollbar-thumb,.theme-light .Layout *::-webkit-scrollbar-thumb{background:#d6d6d6}.theme-light .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-light .Layout__content--flexRow{display:flex;flex-flow:row}.theme-light .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-light .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-light .Layout__content--noMargin{margin:0}.theme-light .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#000;background-color:#eee;background-image:linear-gradient(to bottom,#eee,#eee)}.theme-light .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-light .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-light .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-light .Window__contentPadding:after{height:0}.theme-light .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-light .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(252,252,252,.25);pointer-events:none}.theme-light .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-light .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-light .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-light .TitleBar{background-color:#eee;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-light .TitleBar__clickable{color:rgba(0,0,0,.5);background-color:#eee;transition:color .25s,background-color .25s}.theme-light .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-light .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(0,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-light .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-light .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-light .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-light .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-light html,.theme-light body{padding:0;margin:0;height:100%;color:#000}.theme-light body{background:#fff;font-family:Verdana,sans-serif;font-size:13px;line-height:1.2;overflow-x:hidden;overflow-y:scroll;word-wrap:break-word}.theme-light img{margin:0;padding:0;line-height:1;-ms-interpolation-mode:nearest-neighbor;image-rendering:pixelated}.theme-light img.icon{height:1em;min-height:16px;width:auto;vertical-align:bottom}.theme-light a{color:#00f}.theme-light a.popt{text-decoration:none}.theme-light .popup{position:fixed;top:50%;left:50%;background:#ddd}.theme-light .popup .close{position:absolute;background:#aaa;top:0;right:0;color:#333;text-decoration:none;z-index:2;padding:0 10px;height:30px;line-height:30px}.theme-light .popup .close:hover{background:#999}.theme-light .popup .head{background:#999;color:#ddd;padding:0 10px;height:30px;line-height:30px;text-transform:uppercase;font-size:.9em;font-weight:700;border-bottom:2px solid green}.theme-light .popup input{border:1px solid #999;background:#fff;margin:0;padding:5px;outline:none;color:#333}.theme-light .popup input[type=text]:hover,.theme-light .popup input[type=text]:active,.theme-light .popup input[type=text]:focus{border-color:green}.theme-light .popup input[type=submit]{padding:5px 10px;background:#999;color:#ddd;text-transform:uppercase;font-size:.9em;font-weight:700}.theme-light .popup input[type=submit]:hover,.theme-light .popup input[type=submit]:focus,.theme-light .popup input[type=submit]:active{background:#aaa;cursor:pointer}.theme-light .changeFont{padding:10px}.theme-light .changeFont a{display:block;text-decoration:none;padding:3px;color:#333}.theme-light .changeFont a:hover{background:#ccc}.theme-light .highlightPopup{padding:10px;text-align:center}.theme-light .highlightPopup input[type=text]{display:block;width:215px;text-align:left;margin-top:5px}.theme-light .highlightPopup input.highlightColor{background-color:#ff0}.theme-light .highlightPopup input.highlightTermSubmit{margin-top:5px}.theme-light .contextMenu{background-color:#ddd;position:fixed;margin:2px;width:150px}.theme-light .contextMenu a{display:block;padding:2px 5px;text-decoration:none;color:#333}.theme-light .contextMenu a:hover{background-color:#ccc}.theme-light .filterMessages{padding:5px}.theme-light .filterMessages div{padding:2px 0}.theme-light .icon-stack{height:1em;line-height:1em;width:1em;vertical-align:middle;margin-top:-2px}.theme-light .motd{color:#638500;font-family:Verdana,sans-serif;white-space:normal}.theme-light .motd h1,.theme-light .motd h2,.theme-light .motd h3,.theme-light .motd h4,.theme-light .motd h5,.theme-light .motd h6{color:#638500;text-decoration:underline}.theme-light .motd a,.theme-light .motd a:link,.theme-light .motd a:active,.theme-light .motd a:hover{color:#638500}.theme-light .italic,.theme-light .italics,.theme-light .emote{font-style:italic}.theme-light .highlight{background:#ff0}.theme-light h1,.theme-light h2,.theme-light h3,.theme-light h4,.theme-light h5,.theme-light h6{color:#00f;font-family:Georgia,Verdana,sans-serif}.theme-light em{font-style:normal;font-weight:700}.theme-light .darkmblue{color:#00f}.theme-light .prefix,.theme-light .ooc{font-weight:700}.theme-light .looc{color:#69c;font-weight:700}.theme-light .adminobserverooc{color:#09c;font-weight:700}.theme-light .adminooc{color:#b82e00;font-weight:700}.theme-light .adminobserver{color:#960;font-weight:700}.theme-light .admin{color:#386aff;font-weight:700}.theme-light .adminsay{color:#9611d4;font-weight:700}.theme-light .mentorhelp{color:#07b;font-weight:700}.theme-light .adminhelp{color:#a00;font-weight:700}.theme-light .playerreply{color:#80b;font-weight:700}.theme-light .pmsend{color:#00f}.theme-light .debug{color:#6d2f83}.theme-light .name,.theme-light .yell{font-weight:700}.theme-light .siliconsay{font-family:Courier New,Courier,monospace}.theme-light .deadsay{color:#5c00e6}.theme-light .radio{color:#408010}.theme-light .deptradio{color:#939}.theme-light .comradio{color:#204090}.theme-light .syndradio{color:#6d3f40}.theme-light .dsquadradio{color:#686868}.theme-light .resteamradio{color:#18bc46}.theme-light .airadio{color:#f0f}.theme-light .centradio{color:#5c5c7c}.theme-light .secradio{color:#a30000}.theme-light .engradio{color:#a66300}.theme-light .medradio{color:#009190}.theme-light .sciradio{color:#939}.theme-light .supradio{color:#7f6539}.theme-light .srvradio{color:#80a000}.theme-light .proradio{color:#e3027a}.theme-light .admin_channel{color:#9a04d1;font-weight:700}.theme-light .all_admin_ping{color:#12a5f4;font-weight:700;font-size:120%;text-align:center}.theme-light .mentor_channel{color:#775bff;font-weight:700}.theme-light .mentor_channel_admin{color:#a35cff;font-weight:700}.theme-light .djradio{color:#630}.theme-light .binaryradio{color:#0b0050;font-family:Courier New,Courier,monospace}.theme-light .mommiradio{color:navy}.theme-light .alert{color:red}.theme-light h1.alert,.theme-light h2.alert{color:#000}.theme-light .ghostalert{color:#5c00e6;font-style:italic;font-weight:700}.theme-light .emote{font-style:italic}.theme-light .selecteddna{color:#fff;background-color:#001b1b}.theme-light .attack{color:red}.theme-light .moderate{color:#c00}.theme-light .disarm{color:#900}.theme-light .passive{color:#600}.theme-light .warning{color:red;font-style:italic}.theme-light .boldwarning{color:red;font-style:italic;font-weight:700}.theme-light .danger{color:red;font-weight:700}.theme-light .userdanger{color:red;font-weight:700;font-size:120%}.theme-light .biggerdanger{color:red;font-weight:700;font-size:150%}.theme-light .info{color:#00c}.theme-light .notice{color:#009}.theme-light .boldnotice{color:#009;font-weight:700}.theme-light .suicide{color:#ff5050;font-style:italic}.theme-light .green{color:#03bb39}.theme-light .pr_announce{color:#228b22;font-weight:700}.theme-light .boldannounceic,.theme-light .boldannounceooc{color:red;font-weight:700}.theme-light .greenannounce{color:#0f0;font-weight:700}.theme-light .alien{color:#543354}.theme-light .noticealien{color:#00c000}.theme-light .alertalien{color:#00c000;font-weight:700}.theme-light .terrorspider{color:#320e32}.theme-light .dantalion{color:#6a2148}.theme-light .chaosverygood{color:#19e0c0;font-weight:700;font-size:120%}.theme-light .chaosgood{color:#19e0c0;font-weight:700}.theme-light .chaosneutral{color:#479ac0;font-weight:700}.theme-light .chaosbad{color:#9047c0;font-weight:700}.theme-light .chaosverybad{color:#9047c0;font-weight:700;font-size:120%}.theme-light .sinister{color:purple;font-weight:700;font-style:italic}.theme-light .blob{color:#006221;font-weight:700;font-style:italic}.theme-light .confirm{color:#00af3b}.theme-light .rose{color:#ff5050}.theme-light .sans{font-family:Comic Sans MS,cursive,sans-serif}.theme-light .wingdings{font-family:Wingdings,Webdings}.theme-light .robot{font-family:OCR-A,monospace;font-size:1.15em;font-weight:700}.theme-light .ancient{color:#008b8b;font-style:italic}.theme-light .newscaster{color:maroon}.theme-light .mod{color:#735638;font-weight:700}.theme-light .modooc{color:#184880;font-weight:700}.theme-light .adminmod{color:#402a14;font-weight:700}.theme-light .tajaran{color:#803b56}.theme-light .skrell{color:#00ced1}.theme-light .solcom{color:#22228b}.theme-light .com_srus{color:#7c4848}.theme-light .zombie{color:red}.theme-light .soghun{color:#228b22}.theme-light .changeling{color:purple}.theme-light .vox{color:#a0a}.theme-light .diona{color:#804000;font-weight:700}.theme-light .trinary{color:#727272}.theme-light .kidan{color:#664205}.theme-light .slime{color:#07a}.theme-light .drask{color:#a3d4eb;font-family:Arial Black}.theme-light .moth{color:#869b29;font-family:Copperplate}.theme-light .clown{color:red}.theme-light .vulpkanin{color:#b97a57}.theme-light .abductor{color:purple;font-style:italic}.theme-light .mind_control{color:#a00d6f;font-size:3;font-weight:700;font-style:italic}.theme-light .rough{font-family:Trebuchet MS,cursive,sans-serif}.theme-light .say_quote{font-family:Georgia,Verdana,sans-serif}.theme-light .cult{color:purple;font-weight:700;font-style:italic}.theme-light .cultspeech{color:#7f0000;font-style:italic}.theme-light .cultitalic{color:#960000;font-style:italic}.theme-light .cultlarge{color:#960000;font-weight:700;font-size:120%}.theme-light .narsie{color:#960000;font-weight:700;font-size:300%}.theme-light .narsiesmall{color:#960000;font-weight:700;font-size:200%}.theme-light .interface{color:#303}.theme-light .big{font-size:150%}.theme-light .reallybig{font-size:175%}.theme-light .greentext{color:#0f0;font-size:150%}.theme-light .redtext{color:red;font-size:150%}.theme-light .bold{font-weight:700}.theme-light .his_grace{color:#15d512;font-family:Courier New,cursive,sans-serif;font-style:italic}.theme-light .center{text-align:center}.theme-light .red{color:red}.theme-light .purple{color:#5e2d79}.theme-light .skeleton{color:#585858;font-weight:700;font-style:italic}.theme-light .gutter{color:#7092be;font-family:Trebuchet MS,cursive,sans-serif}.theme-light .orange{color:orange}.theme-light .orangei{color:orange;font-style:italic}.theme-light .orangeb{color:orange;font-weight:700}.theme-light .resonate{color:#298f85}.theme-light .healthscan_oxy{color:#0074bd}.theme-light .revennotice{color:#1d2953}.theme-light .revenboldnotice{color:#1d2953;font-weight:700}.theme-light .revenbignotice{color:#1d2953;font-weight:700;font-size:120%}.theme-light .revenminor{color:#823abb}.theme-light .revenwarning{color:#760fbb;font-style:italic}.theme-light .revendanger{color:#760fbb;font-weight:700;font-size:120%}.theme-light .specialnoticebold{color:#36525e;font-weight:700;font-size:120%}.theme-light .specialnotice{color:#36525e;font-size:120%}.theme-light .medal{font-weight:700}.theme-light .good{color:green}.theme-light .average{color:#ff8000}.theme-light .bad{color:red}.theme-light .italics,.theme-light .talkinto{font-style:italic}.theme-light .whisper{font-style:italic;color:#333}.theme-light .recruit{color:#5c00e6;font-weight:700;font-style:italic}.theme-light .memo{color:#638500;text-align:center}.theme-light .memoedit{text-align:center;font-size:75%}.theme-light .connectionClosed,.theme-light .fatalError{background:red;color:#fff;padding:5px}.theme-light .connectionClosed.restored{background:green}.theme-light .internal.boldnshit{color:#00f;font-weight:700}.theme-light .rebooting{background:#2979af;color:#fff;padding:5px}.theme-light .rebooting a{color:#fff!important;text-decoration-color:#fff!important}.theme-light .text-normal{font-weight:400;font-style:normal}.theme-light .hidden{display:none;visibility:hidden}.theme-light .colossus{color:#7f282a;font-size:175%}.theme-light .hierophant{color:#609;font-weight:700;font-style:italic}.theme-light .hierophant_warning{color:#609;font-style:italic}.theme-light .emoji{max-height:16px;max-width:16px}.theme-light .adminticket{color:#3e7336;font-weight:700}.theme-light .adminticketalt{color:#014c8a;font-weight:700}.theme-light span.body .codephrases{color:#00f}.theme-light span.body .coderesponses{color:red}.theme-light .announcement h1,.theme-light .announcement h2{color:#000;margin:8pt 0;line-height:1.2}.theme-light .announcement p{color:#d82020;line-height:1.3}.theme-light .announcement.minor h1{font-size:180%}.theme-light .announcement.minor h2{font-size:170%}.theme-light .announcement.sec h1{color:red;font-size:180%;font-family:Verdana,sans-serif}.theme-light .bolditalics{font-style:italic;font-weight:700}.theme-light .boxed_message{background:#f7fcff;border:1px solid #111a26;margin:.5em;padding:.5em .75em;text-align:center}.theme-light .boxed_message.left_align_text{text-align:left}.theme-light .boxed_message.red_border{background:#fff7f7;border-color:#a00}.theme-light .boxed_message.green_border{background:#f7fff7;border-color:#0f0}.theme-light .boxed_message.purple_border{background:#fdf7ff;border-color:#a0f}.theme-light .boxed_message.notice_border{background:#f7fdff;border-color:#0000bf}.theme-light .boxed_message.thick_border{border-width:thick}.theme-ntos .color-black{color:#1a1a1a!important}.theme-ntos .color-white{color:#fff!important}.theme-ntos .color-red{color:#df3e3e!important}.theme-ntos .color-orange{color:#f37f33!important}.theme-ntos .color-yellow{color:#fbda21!important}.theme-ntos .color-olive{color:#cbe41c!important}.theme-ntos .color-green{color:#25ca4c!important}.theme-ntos .color-teal{color:#00d6cc!important}.theme-ntos .color-blue{color:#2e93de!important}.theme-ntos .color-violet{color:#7349cf!important}.theme-ntos .color-purple{color:#ad45d0!important}.theme-ntos .color-pink{color:#e34da1!important}.theme-ntos .color-brown{color:#b97447!important}.theme-ntos .color-grey{color:#848484!important}.theme-ntos .color-good{color:#68c22d!important}.theme-ntos .color-average{color:#f29a29!important}.theme-ntos .color-bad{color:#df3e3e!important}.theme-ntos .color-label{color:#8b9bb0!important}.theme-ntos .color-bg-black{background-color:#000!important}.theme-ntos .color-bg-white{background-color:#d9d9d9!important}.theme-ntos .color-bg-red{background-color:#bd2020!important}.theme-ntos .color-bg-orange{background-color:#d95e0c!important}.theme-ntos .color-bg-yellow{background-color:#d9b804!important}.theme-ntos .color-bg-olive{background-color:#9aad14!important}.theme-ntos .color-bg-green{background-color:#1b9638!important}.theme-ntos .color-bg-teal{background-color:#009a93!important}.theme-ntos .color-bg-blue{background-color:#1c71b1!important}.theme-ntos .color-bg-violet{background-color:#552dab!important}.theme-ntos .color-bg-purple{background-color:#8b2baa!important}.theme-ntos .color-bg-pink{background-color:#cf2082!important}.theme-ntos .color-bg-brown{background-color:#8c5836!important}.theme-ntos .color-bg-grey{background-color:#646464!important}.theme-ntos .color-bg-good{background-color:#4d9121!important}.theme-ntos .color-bg-average{background-color:#cd7a0d!important}.theme-ntos .color-bg-bad{background-color:#bd2020!important}.theme-ntos .color-bg-label{background-color:#657a94!important}.theme-ntos .Section{position:relative;margin-bottom:.5em;background-color:#121922;box-sizing:border-box}.theme-ntos .Section:last-child{margin-bottom:0}.theme-ntos .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.theme-ntos .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-ntos .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-ntos .Section__rest{position:relative}.theme-ntos .Section__content{padding:.66em .5em}.theme-ntos .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-ntos .Section--fill{display:flex;flex-direction:column;height:100%}.theme-ntos .Section--fill>.Section__rest{flex-grow:1}.theme-ntos .Section--fill>.Section__rest>.Section__content{height:100%}.theme-ntos .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-ntos .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-ntos .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-ntos .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-ntos .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-ntos .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-ntos .Section .Section:first-child{margin-top:-.5em}.theme-ntos .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-ntos .Section .Section .Section .Section__titleText{font-size:1em}.theme-ntos .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-ntos .Button:last-child{margin-right:0;margin-bottom:0}.theme-ntos .Button .fa,.theme-ntos .Button .fas,.theme-ntos .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-ntos .Button--hasContent .fa,.theme-ntos .Button--hasContent .fas,.theme-ntos .Button--hasContent .far{margin-right:.25em}.theme-ntos .Button--hasContent.Button--iconRight .fa,.theme-ntos .Button--hasContent.Button--iconRight .fas,.theme-ntos .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-ntos .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-ntos .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-ntos .Button--circular{border-radius:50%}.theme-ntos .Button--compact{padding:0 .25em;line-height:1.333em}.theme-ntos .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-ntos .Button--color--black{transition:color .1s,background-color .1s;background-color:#000;color:#fff}.theme-ntos .Button--color--black:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--black:hover{background-color:#101010;color:#fff}.theme-ntos .Button--color--white{transition:color .1s,background-color .1s;background-color:#d9d9d9;color:#000}.theme-ntos .Button--color--white:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--white:hover{background-color:#f8f8f8;color:#000}.theme-ntos .Button--color--red{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-ntos .Button--color--red:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--red:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--orange{transition:color .1s,background-color .1s;background-color:#d95e0c;color:#fff}.theme-ntos .Button--color--orange:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--orange:hover{background-color:#ef7e33;color:#fff}.theme-ntos .Button--color--yellow{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-ntos .Button--color--yellow:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--yellow:hover{background-color:#f5d523;color:#000}.theme-ntos .Button--color--olive{transition:color .1s,background-color .1s;background-color:#9aad14;color:#fff}.theme-ntos .Button--color--olive:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--olive:hover{background-color:#bdd327;color:#fff}.theme-ntos .Button--color--green{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-ntos .Button--color--green:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--green:hover{background-color:#2fb94f;color:#fff}.theme-ntos .Button--color--teal{transition:color .1s,background-color .1s;background-color:#009a93;color:#fff}.theme-ntos .Button--color--teal:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--teal:hover{background-color:#10bdb6;color:#fff}.theme-ntos .Button--color--blue{transition:color .1s,background-color .1s;background-color:#1c71b1;color:#fff}.theme-ntos .Button--color--blue:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--blue:hover{background-color:#308fd6;color:#fff}.theme-ntos .Button--color--violet{transition:color .1s,background-color .1s;background-color:#552dab;color:#fff}.theme-ntos .Button--color--violet:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--violet:hover{background-color:#7249ca;color:#fff}.theme-ntos .Button--color--purple{transition:color .1s,background-color .1s;background-color:#8b2baa;color:#fff}.theme-ntos .Button--color--purple:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--purple:hover{background-color:#aa46ca;color:#fff}.theme-ntos .Button--color--pink{transition:color .1s,background-color .1s;background-color:#cf2082;color:#fff}.theme-ntos .Button--color--pink:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--pink:hover{background-color:#e04ca0;color:#fff}.theme-ntos .Button--color--brown{transition:color .1s,background-color .1s;background-color:#8c5836;color:#fff}.theme-ntos .Button--color--brown:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--brown:hover{background-color:#ae724c;color:#fff}.theme-ntos .Button--color--grey{transition:color .1s,background-color .1s;background-color:#646464;color:#fff}.theme-ntos .Button--color--grey:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--grey:hover{background-color:#818181;color:#fff}.theme-ntos .Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.theme-ntos .Button--color--good:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-ntos .Button--color--average{transition:color .1s,background-color .1s;background-color:#cd7a0d;color:#fff}.theme-ntos .Button--color--average:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--average:hover{background-color:#eb972b;color:#fff}.theme-ntos .Button--color--bad{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-ntos .Button--color--bad:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--bad:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--label{transition:color .1s,background-color .1s;background-color:#657a94;color:#fff}.theme-ntos .Button--color--label:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--label:hover{background-color:#8a9aae;color:#fff}.theme-ntos .Button--color--default{transition:color .1s,background-color .1s;background-color:#384e68;color:#fff}.theme-ntos .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--default:hover{background-color:#4f6885;color:#fff}.theme-ntos .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-ntos .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-ntos .Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-ntos .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#1b2633;color:#fff;background-color:rgba(27,38,51,0);color:rgba(255,255,255,.5)}.theme-ntos .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--transparent:hover{background-color:#2f3b4a;color:#fff}.theme-ntos .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#1b2633;color:#fff;background-color:rgba(27,38,51,.6);color:rgba(255,255,255,.5)}.theme-ntos .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--translucent:hover{background-color:#2f3b4a;color:#fff}.theme-ntos .Button--disabled{background-color:#999!important}.theme-ntos .Button--selected{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-ntos .Button--selected:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--selected:hover{background-color:#2fb94f;color:#fff}.theme-ntos .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-ntos .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;color:#88bfff;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-ntos .NumberInput--fluid{display:block}.theme-ntos .NumberInput__content{margin-left:.5em}.theme-ntos .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-ntos .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #88bfff;background-color:#88bfff}.theme-ntos .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-ntos .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-ntos .Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-ntos .Input--fluid{display:block;width:auto}.theme-ntos .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-ntos .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-ntos .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-ntos .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-ntos .TextArea{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-ntos .TextArea--fluid{display:block;width:auto;height:auto}.theme-ntos .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-ntos .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-ntos .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-ntos .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-ntos .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-ntos .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-ntos .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-ntos .Knob__popupValue,.theme-ntos .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-ntos .Knob__popupValue--right{top:.25rem;right:-50%}.theme-ntos .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-ntos .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-ntos .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-ntos .Knob__ringFillPivot{transform:rotate(135deg)}.theme-ntos .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-ntos .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-ntos .Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.theme-ntos .Knob--color--white .Knob__ringFill{stroke:#fff}.theme-ntos .Knob--color--red .Knob__ringFill{stroke:#df3e3e}.theme-ntos .Knob--color--orange .Knob__ringFill{stroke:#f37f33}.theme-ntos .Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.theme-ntos .Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.theme-ntos .Knob--color--green .Knob__ringFill{stroke:#25ca4c}.theme-ntos .Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.theme-ntos .Knob--color--blue .Knob__ringFill{stroke:#2e93de}.theme-ntos .Knob--color--violet .Knob__ringFill{stroke:#7349cf}.theme-ntos .Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.theme-ntos .Knob--color--pink .Knob__ringFill{stroke:#e34da1}.theme-ntos .Knob--color--brown .Knob__ringFill{stroke:#b97447}.theme-ntos .Knob--color--grey .Knob__ringFill{stroke:#848484}.theme-ntos .Knob--color--good .Knob__ringFill{stroke:#68c22d}.theme-ntos .Knob--color--average .Knob__ringFill{stroke:#f29a29}.theme-ntos .Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.theme-ntos .Knob--color--label .Knob__ringFill{stroke:#8b9bb0}.theme-ntos .Slider:not(.Slider__disabled){cursor:e-resize}.theme-ntos .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-ntos .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.theme-ntos .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.theme-ntos .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-ntos .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-ntos .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-ntos .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-ntos .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-ntos .ProgressBar--color--default{border:.0833333333em solid #3e6189}.theme-ntos .ProgressBar--color--default .ProgressBar__fill{background-color:#3e6189}.theme-ntos .ProgressBar--color--disabled{border:1px solid #999}.theme-ntos .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-ntos .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-ntos .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-ntos .ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.theme-ntos .ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.theme-ntos .ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.theme-ntos .ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.theme-ntos .ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.theme-ntos .ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.theme-ntos .ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.theme-ntos .ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.theme-ntos .ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.theme-ntos .ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.theme-ntos .ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.theme-ntos .ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.theme-ntos .ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.theme-ntos .ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.theme-ntos .ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.theme-ntos .ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.theme-ntos .ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.theme-ntos .ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.theme-ntos .ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.theme-ntos .ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.theme-ntos .ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.theme-ntos .ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.theme-ntos .ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.theme-ntos .ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.theme-ntos .ProgressBar--color--grey{border:.0833333333em solid #646464!important}.theme-ntos .ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.theme-ntos .ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.theme-ntos .ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.theme-ntos .ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.theme-ntos .ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.theme-ntos .ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.theme-ntos .ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.theme-ntos .ProgressBar--color--label{border:.0833333333em solid #657a94!important}.theme-ntos .ProgressBar--color--label .ProgressBar__fill{background-color:#657a94}.theme-ntos .Chat{color:#abc6ec}.theme-ntos .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-ntos .Chat__badge:before{content:"x"}.theme-ntos .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-ntos .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-ntos .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-ntos .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#121922}.theme-ntos .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-ntos .Chat__highlight{color:#000}.theme-ntos .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-ntos .ChatMessage{word-wrap:break-word}.theme-ntos .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-ntos .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-ntos .Layout,.theme-ntos .Layout *{scrollbar-base-color:#141d26;scrollbar-face-color:#2a3b4f;scrollbar-3dlight-color:#1b2633;scrollbar-highlight-color:#1b2633;scrollbar-track-color:#141d26;scrollbar-arrow-color:#7290b4;scrollbar-shadow-color:#2a3b4f}.theme-ntos .Layout::-webkit-scrollbar,.theme-ntos .Layout *::-webkit-scrollbar{width:12px}.theme-ntos .Layout::-webkit-scrollbar-track,.theme-ntos .Layout *::-webkit-scrollbar-track{background:#141d26}.theme-ntos .Layout::-webkit-scrollbar-thumb,.theme-ntos .Layout *::-webkit-scrollbar-thumb{background:#2a3b4f}.theme-ntos .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-ntos .Layout__content--flexRow{display:flex;flex-flow:row}.theme-ntos .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-ntos .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-ntos .Layout__content--noMargin{margin:0}.theme-ntos .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#1b2633;background-image:linear-gradient(to bottom,#1b2633,#1b2633)}.theme-ntos .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-ntos .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-ntos .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-ntos .Window__contentPadding:after{height:0}.theme-ntos .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-ntos .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(50,63,78,.25);pointer-events:none}.theme-ntos .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-ntos .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-ntos .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-ntos .TitleBar{background-color:#1b2633;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-ntos .TitleBar__clickable{color:rgba(255,0,0,.5);background-color:#1b2633;transition:color .25s,background-color .25s}.theme-ntos .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-ntos .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-ntos .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-ntos .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-ntos .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-ntos .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-ntos .boxed_message{background:#1c242e;border:1px solid #a3b9d9;margin:.5em;padding:.5em .75em;text-align:center}.theme-ntos .boxed_message.left_align_text{text-align:left}.theme-ntos .boxed_message.red_border{background:#2e1c1c;border-color:#a00}.theme-ntos .boxed_message.green_border{background:#1c2e22;border-color:#0f0}.theme-ntos .boxed_message.purple_border{background:#221c2e;border-color:#8000ff}.theme-ntos .boxed_message.notice_border{background:#1f2633;border-color:#6685f5}.theme-ntos .boxed_message.thick_border{border-width:thick}.theme-syndicate .color-black{color:#1a1a1a!important}.theme-syndicate .color-white{color:#fff!important}.theme-syndicate .color-red{color:#df3e3e!important}.theme-syndicate .color-orange{color:#f37f33!important}.theme-syndicate .color-yellow{color:#fbda21!important}.theme-syndicate .color-olive{color:#cbe41c!important}.theme-syndicate .color-green{color:#25ca4c!important}.theme-syndicate .color-teal{color:#00d6cc!important}.theme-syndicate .color-blue{color:#2e93de!important}.theme-syndicate .color-violet{color:#7349cf!important}.theme-syndicate .color-purple{color:#ad45d0!important}.theme-syndicate .color-pink{color:#e34da1!important}.theme-syndicate .color-brown{color:#b97447!important}.theme-syndicate .color-grey{color:#848484!important}.theme-syndicate .color-good{color:#68c22d!important}.theme-syndicate .color-average{color:#f29a29!important}.theme-syndicate .color-bad{color:#df3e3e!important}.theme-syndicate .color-label{color:#8b9bb0!important}.theme-syndicate .color-bg-black{background-color:#000!important}.theme-syndicate .color-bg-white{background-color:#d9d9d9!important}.theme-syndicate .color-bg-red{background-color:#bd2020!important}.theme-syndicate .color-bg-orange{background-color:#d95e0c!important}.theme-syndicate .color-bg-yellow{background-color:#d9b804!important}.theme-syndicate .color-bg-olive{background-color:#9aad14!important}.theme-syndicate .color-bg-green{background-color:#1b9638!important}.theme-syndicate .color-bg-teal{background-color:#009a93!important}.theme-syndicate .color-bg-blue{background-color:#1c71b1!important}.theme-syndicate .color-bg-violet{background-color:#552dab!important}.theme-syndicate .color-bg-purple{background-color:#8b2baa!important}.theme-syndicate .color-bg-pink{background-color:#cf2082!important}.theme-syndicate .color-bg-brown{background-color:#8c5836!important}.theme-syndicate .color-bg-grey{background-color:#646464!important}.theme-syndicate .color-bg-good{background-color:#4d9121!important}.theme-syndicate .color-bg-average{background-color:#cd7a0d!important}.theme-syndicate .color-bg-bad{background-color:#bd2020!important}.theme-syndicate .color-bg-label{background-color:#657a94!important}.theme-syndicate .Section{position:relative;margin-bottom:.5em;background-color:#2b0101;box-sizing:border-box}.theme-syndicate .Section:last-child{margin-bottom:0}.theme-syndicate .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #397439}.theme-syndicate .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-syndicate .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-syndicate .Section__rest{position:relative}.theme-syndicate .Section__content{padding:.66em .5em}.theme-syndicate .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-syndicate .Section--fill{display:flex;flex-direction:column;height:100%}.theme-syndicate .Section--fill>.Section__rest{flex-grow:1}.theme-syndicate .Section--fill>.Section__rest>.Section__content{height:100%}.theme-syndicate .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-syndicate .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-syndicate .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-syndicate .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-syndicate .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-syndicate .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-syndicate .Section .Section:first-child{margin-top:-.5em}.theme-syndicate .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-syndicate .Section .Section .Section .Section__titleText{font-size:1em}.theme-syndicate .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-syndicate .Button:last-child{margin-right:0;margin-bottom:0}.theme-syndicate .Button .fa,.theme-syndicate .Button .fas,.theme-syndicate .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-syndicate .Button--hasContent .fa,.theme-syndicate .Button--hasContent .fas,.theme-syndicate .Button--hasContent .far{margin-right:.25em}.theme-syndicate .Button--hasContent.Button--iconRight .fa,.theme-syndicate .Button--hasContent.Button--iconRight .fas,.theme-syndicate .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-syndicate .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-syndicate .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-syndicate .Button--circular{border-radius:50%}.theme-syndicate .Button--compact{padding:0 .25em;line-height:1.333em}.theme-syndicate .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-syndicate .Button--color--black{transition:color .1s,background-color .1s;background-color:#000;color:#fff}.theme-syndicate .Button--color--black:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--black:hover{background-color:#101010;color:#fff}.theme-syndicate .Button--color--white{transition:color .1s,background-color .1s;background-color:#d9d9d9;color:#000}.theme-syndicate .Button--color--white:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--white:hover{background-color:#f8f8f8;color:#000}.theme-syndicate .Button--color--red{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-syndicate .Button--color--red:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--red:hover{background-color:#d93f3f;color:#fff}.theme-syndicate .Button--color--orange{transition:color .1s,background-color .1s;background-color:#d95e0c;color:#fff}.theme-syndicate .Button--color--orange:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--orange:hover{background-color:#ef7e33;color:#fff}.theme-syndicate .Button--color--yellow{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-syndicate .Button--color--yellow:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--yellow:hover{background-color:#f5d523;color:#000}.theme-syndicate .Button--color--olive{transition:color .1s,background-color .1s;background-color:#9aad14;color:#fff}.theme-syndicate .Button--color--olive:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--olive:hover{background-color:#bdd327;color:#fff}.theme-syndicate .Button--color--green{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-syndicate .Button--color--green:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--green:hover{background-color:#2fb94f;color:#fff}.theme-syndicate .Button--color--teal{transition:color .1s,background-color .1s;background-color:#009a93;color:#fff}.theme-syndicate .Button--color--teal:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--teal:hover{background-color:#10bdb6;color:#fff}.theme-syndicate .Button--color--blue{transition:color .1s,background-color .1s;background-color:#1c71b1;color:#fff}.theme-syndicate .Button--color--blue:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--blue:hover{background-color:#308fd6;color:#fff}.theme-syndicate .Button--color--violet{transition:color .1s,background-color .1s;background-color:#552dab;color:#fff}.theme-syndicate .Button--color--violet:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--violet:hover{background-color:#7249ca;color:#fff}.theme-syndicate .Button--color--purple{transition:color .1s,background-color .1s;background-color:#8b2baa;color:#fff}.theme-syndicate .Button--color--purple:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--purple:hover{background-color:#aa46ca;color:#fff}.theme-syndicate .Button--color--pink{transition:color .1s,background-color .1s;background-color:#cf2082;color:#fff}.theme-syndicate .Button--color--pink:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--pink:hover{background-color:#e04ca0;color:#fff}.theme-syndicate .Button--color--brown{transition:color .1s,background-color .1s;background-color:#8c5836;color:#fff}.theme-syndicate .Button--color--brown:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--brown:hover{background-color:#ae724c;color:#fff}.theme-syndicate .Button--color--grey{transition:color .1s,background-color .1s;background-color:#646464;color:#fff}.theme-syndicate .Button--color--grey:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--grey:hover{background-color:#818181;color:#fff}.theme-syndicate .Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.theme-syndicate .Button--color--good:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-syndicate .Button--color--average{transition:color .1s,background-color .1s;background-color:#cd7a0d;color:#fff}.theme-syndicate .Button--color--average:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--average:hover{background-color:#eb972b;color:#fff}.theme-syndicate .Button--color--bad{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-syndicate .Button--color--bad:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--bad:hover{background-color:#d93f3f;color:#fff}.theme-syndicate .Button--color--label{transition:color .1s,background-color .1s;background-color:#657a94;color:#fff}.theme-syndicate .Button--color--label:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--label:hover{background-color:#8a9aae;color:#fff}.theme-syndicate .Button--color--default{transition:color .1s,background-color .1s;background-color:#397439;color:#fff}.theme-syndicate .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--default:hover{background-color:#509350;color:#fff}.theme-syndicate .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-syndicate .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-syndicate .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-syndicate .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-syndicate .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#4d0202;color:#fff;background-color:rgba(77,2,2,0);color:rgba(255,255,255,.5)}.theme-syndicate .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--transparent:hover{background-color:#671313;color:#fff}.theme-syndicate .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#4d0202;color:#fff;background-color:rgba(77,2,2,.6);color:rgba(255,255,255,.5)}.theme-syndicate .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--translucent:hover{background-color:#671313;color:#fff}.theme-syndicate .Button--disabled{background-color:#363636!important}.theme-syndicate .Button--selected{transition:color .1s,background-color .1s;background-color:#9d0808;color:#fff}.theme-syndicate .Button--selected:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--selected:hover{background-color:#c11919;color:#fff}.theme-syndicate .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-syndicate .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#fff;background-color:#910101;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-syndicate .NoticeBox--color--black{color:#fff;background-color:#000}.theme-syndicate .NoticeBox--color--white{color:#000;background-color:#b3b3b3}.theme-syndicate .NoticeBox--color--red{color:#fff;background-color:#701f1f}.theme-syndicate .NoticeBox--color--orange{color:#fff;background-color:#854114}.theme-syndicate .NoticeBox--color--yellow{color:#000;background-color:#83710d}.theme-syndicate .NoticeBox--color--olive{color:#000;background-color:#576015}.theme-syndicate .NoticeBox--color--green{color:#fff;background-color:#174e24}.theme-syndicate .NoticeBox--color--teal{color:#fff;background-color:#064845}.theme-syndicate .NoticeBox--color--blue{color:#fff;background-color:#1b4565}.theme-syndicate .NoticeBox--color--violet{color:#fff;background-color:#3b2864}.theme-syndicate .NoticeBox--color--purple{color:#fff;background-color:#542663}.theme-syndicate .NoticeBox--color--pink{color:#fff;background-color:#802257}.theme-syndicate .NoticeBox--color--brown{color:#fff;background-color:#4c3729}.theme-syndicate .NoticeBox--color--grey{color:#fff;background-color:#3e3e3e}.theme-syndicate .NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.theme-syndicate .NoticeBox--color--average{color:#fff;background-color:#7b4e13}.theme-syndicate .NoticeBox--color--bad{color:#fff;background-color:#701f1f}.theme-syndicate .NoticeBox--color--label{color:#fff;background-color:#53565a}.theme-syndicate .NoticeBox--type--info{color:#fff;background-color:#235982}.theme-syndicate .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-syndicate .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-syndicate .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-syndicate .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;color:#87ce87;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-syndicate .NumberInput--fluid{display:block}.theme-syndicate .NumberInput__content{margin-left:.5em}.theme-syndicate .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-syndicate .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #87ce87;background-color:#87ce87}.theme-syndicate .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-syndicate .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-syndicate .Input--disabled{color:#777;border-color:#6b6b6b;border-color:rgba(107,107,107,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-syndicate .Input--fluid{display:block;width:auto}.theme-syndicate .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-syndicate .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-syndicate .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-syndicate .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-syndicate .TextArea{position:relative;display:inline-block;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-syndicate .TextArea--fluid{display:block;width:auto;height:auto}.theme-syndicate .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-syndicate .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-syndicate .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-syndicate .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-syndicate .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-syndicate .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-syndicate .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-syndicate .Knob__popupValue,.theme-syndicate .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-syndicate .Knob__popupValue--right{top:.25rem;right:-50%}.theme-syndicate .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-syndicate .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-syndicate .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-syndicate .Knob__ringFillPivot{transform:rotate(135deg)}.theme-syndicate .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-syndicate .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-syndicate .Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.theme-syndicate .Knob--color--white .Knob__ringFill{stroke:#fff}.theme-syndicate .Knob--color--red .Knob__ringFill{stroke:#df3e3e}.theme-syndicate .Knob--color--orange .Knob__ringFill{stroke:#f37f33}.theme-syndicate .Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.theme-syndicate .Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.theme-syndicate .Knob--color--green .Knob__ringFill{stroke:#25ca4c}.theme-syndicate .Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.theme-syndicate .Knob--color--blue .Knob__ringFill{stroke:#2e93de}.theme-syndicate .Knob--color--violet .Knob__ringFill{stroke:#7349cf}.theme-syndicate .Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.theme-syndicate .Knob--color--pink .Knob__ringFill{stroke:#e34da1}.theme-syndicate .Knob--color--brown .Knob__ringFill{stroke:#b97447}.theme-syndicate .Knob--color--grey .Knob__ringFill{stroke:#848484}.theme-syndicate .Knob--color--good .Knob__ringFill{stroke:#68c22d}.theme-syndicate .Knob--color--average .Knob__ringFill{stroke:#f29a29}.theme-syndicate .Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.theme-syndicate .Knob--color--label .Knob__ringFill{stroke:#8b9bb0}.theme-syndicate .Slider:not(.Slider__disabled){cursor:e-resize}.theme-syndicate .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-syndicate .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.theme-syndicate .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.theme-syndicate .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-syndicate .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-syndicate .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-syndicate .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-syndicate .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-syndicate .ProgressBar--color--default{border:.0833333333em solid #306330}.theme-syndicate .ProgressBar--color--default .ProgressBar__fill{background-color:#306330}.theme-syndicate .ProgressBar--color--disabled{border:1px solid #999}.theme-syndicate .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-syndicate .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-syndicate .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-syndicate .ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.theme-syndicate .ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.theme-syndicate .ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.theme-syndicate .ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.theme-syndicate .ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.theme-syndicate .ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.theme-syndicate .ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.theme-syndicate .ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.theme-syndicate .ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.theme-syndicate .ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.theme-syndicate .ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.theme-syndicate .ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.theme-syndicate .ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.theme-syndicate .ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.theme-syndicate .ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.theme-syndicate .ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.theme-syndicate .ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.theme-syndicate .ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.theme-syndicate .ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.theme-syndicate .ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.theme-syndicate .ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.theme-syndicate .ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.theme-syndicate .ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.theme-syndicate .ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.theme-syndicate .ProgressBar--color--grey{border:.0833333333em solid #646464!important}.theme-syndicate .ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.theme-syndicate .ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.theme-syndicate .ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.theme-syndicate .ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.theme-syndicate .ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.theme-syndicate .ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.theme-syndicate .ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.theme-syndicate .ProgressBar--color--label{border:.0833333333em solid #657a94!important}.theme-syndicate .ProgressBar--color--label .ProgressBar__fill{background-color:#657a94}.theme-syndicate .Chat{color:#abc6ec}.theme-syndicate .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-syndicate .Chat__badge:before{content:"x"}.theme-syndicate .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-syndicate .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-syndicate .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-syndicate .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#2b0101}.theme-syndicate .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-syndicate .Chat__highlight{color:#000}.theme-syndicate .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-syndicate .ChatMessage{word-wrap:break-word}.theme-syndicate .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-syndicate .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-syndicate .Layout,.theme-syndicate .Layout *{scrollbar-base-color:#3a0202;scrollbar-face-color:#770303;scrollbar-3dlight-color:#4d0202;scrollbar-highlight-color:#4d0202;scrollbar-track-color:#3a0202;scrollbar-arrow-color:#fa2d2d;scrollbar-shadow-color:#770303}.theme-syndicate .Layout::-webkit-scrollbar,.theme-syndicate .Layout *::-webkit-scrollbar{width:12px}.theme-syndicate .Layout::-webkit-scrollbar-track,.theme-syndicate .Layout *::-webkit-scrollbar-track{background:#3a0202}.theme-syndicate .Layout::-webkit-scrollbar-thumb,.theme-syndicate .Layout *::-webkit-scrollbar-thumb{background:#770303}.theme-syndicate .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-syndicate .Layout__content--flexRow{display:flex;flex-flow:row}.theme-syndicate .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-syndicate .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-syndicate .Layout__content--noMargin{margin:0}.theme-syndicate .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#4d0202;background-image:linear-gradient(to bottom,#4d0202,#4d0202)}.theme-syndicate .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-syndicate .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-syndicate .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-syndicate .Window__contentPadding:after{height:0}.theme-syndicate .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-syndicate .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(108,22,22,.25);pointer-events:none}.theme-syndicate .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-syndicate .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-syndicate .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-syndicate .TitleBar{background-color:#910101;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-syndicate .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#910101;transition:color .25s,background-color .25s}.theme-syndicate .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-syndicate .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-syndicate .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-syndicate .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-syndicate .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-syndicate .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-syndicate .adminooc{color:#29ccbe}.theme-syndicate .debug{color:#8f39e6}.theme-syndicate .boxed_message{background:rgba(20,20,35,.25);border:1px solid #a3b9d9;margin:.5em;padding:.5em .75em;text-align:center}.theme-syndicate .boxed_message.left_align_text{text-align:left}.theme-syndicate .boxed_message.red_border{background:rgba(0,0,0,.2);border-color:red}.theme-syndicate .boxed_message.green_border{background:rgba(0,75,0,.25);border-color:#0f0}.theme-syndicate .boxed_message.purple_border{background:rgba(25,0,50,.25);border-color:#8000ff}.theme-syndicate .boxed_message.notice_border{background:rgba(0,0,75,.25);border-color:#6685f5}.theme-syndicate .boxed_message.thick_border{border-width:thick}.theme-paradise .color-black{color:#1a1a1a!important}.theme-paradise .color-white{color:#fff!important}.theme-paradise .color-red{color:#df3e3e!important}.theme-paradise .color-orange{color:#f37f33!important}.theme-paradise .color-yellow{color:#fbda21!important}.theme-paradise .color-olive{color:#cbe41c!important}.theme-paradise .color-green{color:#25ca4c!important}.theme-paradise .color-teal{color:#00d6cc!important}.theme-paradise .color-blue{color:#2e93de!important}.theme-paradise .color-violet{color:#7349cf!important}.theme-paradise .color-purple{color:#ad45d0!important}.theme-paradise .color-pink{color:#e34da1!important}.theme-paradise .color-brown{color:#b97447!important}.theme-paradise .color-grey{color:#848484!important}.theme-paradise .color-good{color:#68c22d!important}.theme-paradise .color-average{color:#f29a29!important}.theme-paradise .color-bad{color:#df3e3e!important}.theme-paradise .color-label{color:#955d4b!important}.theme-paradise .color-bg-black{background-color:#000!important}.theme-paradise .color-bg-white{background-color:#d9d9d9!important}.theme-paradise .color-bg-red{background-color:#bd2020!important}.theme-paradise .color-bg-orange{background-color:#d95e0c!important}.theme-paradise .color-bg-yellow{background-color:#d9b804!important}.theme-paradise .color-bg-olive{background-color:#9aad14!important}.theme-paradise .color-bg-green{background-color:#1b9638!important}.theme-paradise .color-bg-teal{background-color:#009a93!important}.theme-paradise .color-bg-blue{background-color:#1c71b1!important}.theme-paradise .color-bg-violet{background-color:#552dab!important}.theme-paradise .color-bg-purple{background-color:#8b2baa!important}.theme-paradise .color-bg-pink{background-color:#cf2082!important}.theme-paradise .color-bg-brown{background-color:#8c5836!important}.theme-paradise .color-bg-grey{background-color:#646464!important}.theme-paradise .color-bg-good{background-color:#4d9121!important}.theme-paradise .color-bg-average{background-color:#cd7a0d!important}.theme-paradise .color-bg-bad{background-color:#bd2020!important}.theme-paradise .color-bg-label{background-color:#6d4436!important}.theme-paradise .Section{position:relative;margin-bottom:.5em;background-color:#40071a;background-color:rgba(0,0,0,.5);box-sizing:border-box}.theme-paradise .Section:last-child{margin-bottom:0}.theme-paradise .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #208080}.theme-paradise .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-paradise .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-paradise .Section__rest{position:relative}.theme-paradise .Section__content{padding:.66em .5em}.theme-paradise .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-paradise .Section--fill{display:flex;flex-direction:column;height:100%}.theme-paradise .Section--fill>.Section__rest{flex-grow:1}.theme-paradise .Section--fill>.Section__rest>.Section__content{height:100%}.theme-paradise .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-paradise .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-paradise .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-paradise .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-paradise .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-paradise .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-paradise .Section .Section:first-child{margin-top:-.5em}.theme-paradise .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-paradise .Section .Section .Section .Section__titleText{font-size:1em}.theme-paradise .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-paradise .Button:last-child{margin-right:0;margin-bottom:0}.theme-paradise .Button .fa,.theme-paradise .Button .fas,.theme-paradise .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-paradise .Button--hasContent .fa,.theme-paradise .Button--hasContent .fas,.theme-paradise .Button--hasContent .far{margin-right:.25em}.theme-paradise .Button--hasContent.Button--iconRight .fa,.theme-paradise .Button--hasContent.Button--iconRight .fas,.theme-paradise .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-paradise .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-paradise .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-paradise .Button--circular{border-radius:50%}.theme-paradise .Button--compact{padding:0 .25em;line-height:1.333em}.theme-paradise .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-paradise .Button--color--black{transition:color .1s,background-color .1s;background-color:#000;color:#fff}.theme-paradise .Button--color--black:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--black:hover{background-color:#101010;color:#fff}.theme-paradise .Button--color--white{transition:color .1s,background-color .1s;background-color:#d9d9d9;color:#000}.theme-paradise .Button--color--white:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--white:hover{background-color:#f8f8f8;color:#000}.theme-paradise .Button--color--red{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-paradise .Button--color--red:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--red:hover{background-color:#d93f3f;color:#fff}.theme-paradise .Button--color--orange{transition:color .1s,background-color .1s;background-color:#d95e0c;color:#fff}.theme-paradise .Button--color--orange:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--orange:hover{background-color:#ef7e33;color:#fff}.theme-paradise .Button--color--yellow{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-paradise .Button--color--yellow:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--yellow:hover{background-color:#f5d523;color:#000}.theme-paradise .Button--color--olive{transition:color .1s,background-color .1s;background-color:#9aad14;color:#fff}.theme-paradise .Button--color--olive:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--olive:hover{background-color:#bdd327;color:#fff}.theme-paradise .Button--color--green{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-paradise .Button--color--green:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--green:hover{background-color:#2fb94f;color:#fff}.theme-paradise .Button--color--teal{transition:color .1s,background-color .1s;background-color:#009a93;color:#fff}.theme-paradise .Button--color--teal:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--teal:hover{background-color:#10bdb6;color:#fff}.theme-paradise .Button--color--blue{transition:color .1s,background-color .1s;background-color:#1c71b1;color:#fff}.theme-paradise .Button--color--blue:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--blue:hover{background-color:#308fd6;color:#fff}.theme-paradise .Button--color--violet{transition:color .1s,background-color .1s;background-color:#552dab;color:#fff}.theme-paradise .Button--color--violet:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--violet:hover{background-color:#7249ca;color:#fff}.theme-paradise .Button--color--purple{transition:color .1s,background-color .1s;background-color:#8b2baa;color:#fff}.theme-paradise .Button--color--purple:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--purple:hover{background-color:#aa46ca;color:#fff}.theme-paradise .Button--color--pink{transition:color .1s,background-color .1s;background-color:#cf2082;color:#fff}.theme-paradise .Button--color--pink:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--pink:hover{background-color:#e04ca0;color:#fff}.theme-paradise .Button--color--brown{transition:color .1s,background-color .1s;background-color:#8c5836;color:#fff}.theme-paradise .Button--color--brown:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--brown:hover{background-color:#ae724c;color:#fff}.theme-paradise .Button--color--grey{transition:color .1s,background-color .1s;background-color:#646464;color:#fff}.theme-paradise .Button--color--grey:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--grey:hover{background-color:#818181;color:#fff}.theme-paradise .Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.theme-paradise .Button--color--good:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-paradise .Button--color--average{transition:color .1s,background-color .1s;background-color:#cd7a0d;color:#fff}.theme-paradise .Button--color--average:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--average:hover{background-color:#eb972b;color:#fff}.theme-paradise .Button--color--bad{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-paradise .Button--color--bad:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--bad:hover{background-color:#d93f3f;color:#fff}.theme-paradise .Button--color--label{transition:color .1s,background-color .1s;background-color:#6d4436;color:#fff}.theme-paradise .Button--color--label:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--label:hover{background-color:#8b5d4d;color:#fff}.theme-paradise .Button--color--default{transition:color .1s,background-color .1s;background-color:#208080;color:#fff}.theme-paradise .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--default:hover{background-color:#34a0a0;color:#fff}.theme-paradise .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-paradise .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-paradise .Button--color--danger{transition:color .1s,background-color .1s;background-color:#8c1eff;color:#fff}.theme-paradise .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--danger:hover{background-color:#ae61ff;color:#fff}.theme-paradise .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#800d33;color:#fff;background-color:rgba(128,13,51,0);color:rgba(255,255,255,.5)}.theme-paradise .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--transparent:hover{background-color:#a01f4a;color:#fff}.theme-paradise .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#800d33;color:#fff;background-color:rgba(128,13,51,.6);color:rgba(255,255,255,.5)}.theme-paradise .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--color--translucent:hover{background-color:#a01f4a;color:#fff}.theme-paradise .Button--disabled{background-color:#999!important}.theme-paradise .Button--selected{transition:color .1s,background-color .1s;background-color:#bf6030;color:#fff}.theme-paradise .Button--selected:focus{transition:color .25s,background-color .25s}.theme-paradise .Button--selected:hover{background-color:#d4835a;color:#fff}.theme-paradise .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-paradise .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #e65c2e;border:.0833333333em solid rgba(230,92,46,.75);border-radius:.16em;color:#e65c2e;background-color:rgba(0,0,0,.25);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-paradise .NumberInput--fluid{display:block}.theme-paradise .NumberInput__content{margin-left:.5em}.theme-paradise .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-paradise .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #e65c2e;background-color:#e65c2e}.theme-paradise .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,.25);color:#fff;text-align:right}.theme-paradise .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #e65c2e;border:.0833333333em solid rgba(230,92,46,.75);border-radius:.16em;background-color:rgba(0,0,0,.25);color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-paradise .Input--disabled{color:#777;border-color:#4a4a4a;border-color:rgba(74,74,74,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-paradise .Input--fluid{display:block;width:auto}.theme-paradise .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-paradise .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-paradise .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-paradise .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-paradise .TextArea{position:relative;display:inline-block;border:.0833333333em solid #e65c2e;border:.0833333333em solid rgba(230,92,46,.75);border-radius:.16em;background-color:rgba(0,0,0,.25);margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-paradise .TextArea--fluid{display:block;width:auto;height:auto}.theme-paradise .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-paradise .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-paradise .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-paradise .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-paradise .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-paradise .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-paradise .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-paradise .Knob__popupValue,.theme-paradise .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-paradise .Knob__popupValue--right{top:.25rem;right:-50%}.theme-paradise .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-paradise .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-paradise .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-paradise .Knob__ringFillPivot{transform:rotate(135deg)}.theme-paradise .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-paradise .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-paradise .Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.theme-paradise .Knob--color--white .Knob__ringFill{stroke:#fff}.theme-paradise .Knob--color--red .Knob__ringFill{stroke:#df3e3e}.theme-paradise .Knob--color--orange .Knob__ringFill{stroke:#f37f33}.theme-paradise .Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.theme-paradise .Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.theme-paradise .Knob--color--green .Knob__ringFill{stroke:#25ca4c}.theme-paradise .Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.theme-paradise .Knob--color--blue .Knob__ringFill{stroke:#2e93de}.theme-paradise .Knob--color--violet .Knob__ringFill{stroke:#7349cf}.theme-paradise .Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.theme-paradise .Knob--color--pink .Knob__ringFill{stroke:#e34da1}.theme-paradise .Knob--color--brown .Knob__ringFill{stroke:#b97447}.theme-paradise .Knob--color--grey .Knob__ringFill{stroke:#848484}.theme-paradise .Knob--color--good .Knob__ringFill{stroke:#68c22d}.theme-paradise .Knob--color--average .Knob__ringFill{stroke:#f29a29}.theme-paradise .Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.theme-paradise .Knob--color--label .Knob__ringFill{stroke:#955d4b}.theme-paradise .Slider:not(.Slider__disabled){cursor:e-resize}.theme-paradise .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-paradise .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.theme-paradise .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.theme-paradise .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-paradise .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-paradise .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-paradise .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-paradise .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-paradise .ProgressBar--color--default{border:.0833333333em solid #1b6d6d}.theme-paradise .ProgressBar--color--default .ProgressBar__fill{background-color:#1b6d6d}.theme-paradise .ProgressBar--color--disabled{border:1px solid #999}.theme-paradise .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-paradise .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-paradise .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-paradise .ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.theme-paradise .ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.theme-paradise .ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.theme-paradise .ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.theme-paradise .ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.theme-paradise .ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.theme-paradise .ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.theme-paradise .ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.theme-paradise .ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.theme-paradise .ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.theme-paradise .ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.theme-paradise .ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.theme-paradise .ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.theme-paradise .ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.theme-paradise .ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.theme-paradise .ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.theme-paradise .ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.theme-paradise .ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.theme-paradise .ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.theme-paradise .ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.theme-paradise .ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.theme-paradise .ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.theme-paradise .ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.theme-paradise .ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.theme-paradise .ProgressBar--color--grey{border:.0833333333em solid #646464!important}.theme-paradise .ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.theme-paradise .ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.theme-paradise .ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.theme-paradise .ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.theme-paradise .ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.theme-paradise .ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.theme-paradise .ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.theme-paradise .ProgressBar--color--label{border:.0833333333em solid #6d4436!important}.theme-paradise .ProgressBar--color--label .ProgressBar__fill{background-color:#6d4436}.theme-paradise .Chat{color:#abc6ec}.theme-paradise .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-paradise .Chat__badge:before{content:"x"}.theme-paradise .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-paradise .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-paradise .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-paradise .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#fff;background-color:#db2828}.theme-paradise .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-paradise .Chat__highlight{color:#000}.theme-paradise .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-paradise .ChatMessage{word-wrap:break-word}.theme-paradise .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-paradise .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-paradise .Layout,.theme-paradise .Layout *{scrollbar-base-color:#680b29;scrollbar-face-color:#99103d;scrollbar-3dlight-color:#800d33;scrollbar-highlight-color:#800d33;scrollbar-track-color:#680b29;scrollbar-arrow-color:#ea2e6c;scrollbar-shadow-color:#99103d}.theme-paradise .Layout::-webkit-scrollbar,.theme-paradise .Layout *::-webkit-scrollbar{width:12px}.theme-paradise .Layout::-webkit-scrollbar-track,.theme-paradise .Layout *::-webkit-scrollbar-track{background:#680b29}.theme-paradise .Layout::-webkit-scrollbar-thumb,.theme-paradise .Layout *::-webkit-scrollbar-thumb{background:#99103d}.theme-paradise .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-paradise .Layout__content--flexRow{display:flex;flex-flow:row}.theme-paradise .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-paradise .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-paradise .Layout__content--noMargin{margin:0}.theme-paradise .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#800d33;background-image:linear-gradient(to bottom,#80014b,#80460d)}.theme-paradise .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-paradise .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-paradise .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-paradise .Window__contentPadding:after{height:0}.theme-paradise .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-paradise .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(166,34,78,.25);pointer-events:none}.theme-paradise .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-paradise .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-paradise .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-paradise .TitleBar{background-color:#800d33;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-paradise .TitleBar__clickable{color:rgba(255,0,0,.5);background-color:#800d33;transition:color .25s,background-color .25s}.theme-paradise .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-paradise .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-paradise .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-paradise .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-paradise .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-paradise .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-paradise .adminooc{color:#29ccbe}.theme-paradise .debug{color:#8f39e6}.theme-paradise .boxed_message{background:rgba(0,0,0,.25);border:1px solid #a3b9d9;margin:.5em;padding:.5em .75em;text-align:center}.theme-paradise .boxed_message.left_align_text{text-align:left}.theme-paradise .boxed_message.red_border{background:rgba(0,0,0,.25);border-color:#a00}.theme-paradise .boxed_message.green_border{background:rgba(0,0,0,.25);border-color:#0f0}.theme-paradise .boxed_message.purple_border{background:rgba(0,0,0,.25);border-color:#8000ff}.theme-paradise .boxed_message.notice_border{background:rgba(0,0,0,.25);border-color:#6685f5}.theme-paradise .boxed_message.thick_border{border-width:thick} diff --git a/tgui/public/tgui-panel.bundle.js b/tgui/public/tgui-panel.bundle.js index a98474937e84..2d6b6287500e 100644 --- a/tgui/public/tgui-panel.bundle.js +++ b/tgui/public/tgui-panel.bundle.js @@ -1,30 +1,30 @@ -(function(){(function(){var An={15113:function(E,e,t){"use strict";e.__esModule=!0,e.createPopper=void 0,e.popperGenerator=p;var n=i(t(28770)),r=i(t(12866)),o=i(t(88577)),a=i(t(29727)),u=i(t(13657)),l=i(t(97902)),c=i(t(57547)),h=i(t(4709));e.detectOverflow=h.default;var v=t(65601);function i(g){return g&&g.__esModule?g:{default:g}}var f={placement:"bottom",modifiers:[],strategy:"absolute"};function s(){for(var g=arguments.length,m=new Array(g),S=0;S<g;S++)m[S]=arguments[S];return!m.some(function(I){return!(I&&typeof I.getBoundingClientRect=="function")})}function p(g){g===void 0&&(g={});var m=g,S=m.defaultModifiers,I=S===void 0?[]:S,O=m.defaultOptions,C=O===void 0?f:O;return function(){function y(b,T,P){P===void 0&&(P=C);var N={placement:"bottom",orderedModifiers:[],options:Object.assign({},f,C),modifiersData:{},elements:{reference:b,popper:T},attributes:{},styles:{}},M=[],R=!1,L={state:N,setOptions:function(){function F($){var B=typeof $=="function"?$(N.options):$;U(),N.options=Object.assign({},C,N.options,B),N.scrollParents={reference:(0,v.isElement)(b)?(0,o.default)(b):b.contextElement?(0,o.default)(b.contextElement):[],popper:(0,o.default)(T)};var x=(0,u.default)((0,c.default)([].concat(I,N.options.modifiers)));return N.orderedModifiers=x.filter(function(V){return V.enabled}),K(),L.update()}return F}(),forceUpdate:function(){function F(){if(!R){var $=N.elements,B=$.reference,x=$.popper;if(s(B,x)){N.rects={reference:(0,n.default)(B,(0,a.default)(x),N.options.strategy==="fixed"),popper:(0,r.default)(x)},N.reset=!1,N.placement=N.options.placement,N.orderedModifiers.forEach(function(ft){return N.modifiersData[ft.name]=Object.assign({},ft.data)});for(var V=0;V<N.orderedModifiers.length;V++){if(N.reset===!0){N.reset=!1,V=-1;continue}var G=N.orderedModifiers[V],Y=G.fn,k=G.options,nt=k===void 0?{}:k,ut=G.name;typeof Y=="function"&&(N=Y({state:N,options:nt,name:ut,instance:L})||N)}}}}return F}(),update:(0,l.default)(function(){return new Promise(function(F){L.forceUpdate(),F(N)})}),destroy:function(){function F(){U(),R=!0}return F}()};if(!s(b,T))return L;L.setOptions(P).then(function(F){!R&&P.onFirstUpdate&&P.onFirstUpdate(F)});function K(){N.orderedModifiers.forEach(function(F){var $=F.name,B=F.options,x=B===void 0?{}:B,V=F.effect;if(typeof V=="function"){var G=V({state:N,name:$,instance:L,options:x}),Y=function(){function k(){}return k}();M.push(G||Y)}})}function U(){M.forEach(function(F){return F()}),M=[]}return L}return y}()}var d=e.createPopper=p()},11848:function(E,e,t){"use strict";e.__esModule=!0,e.default=r;var n=t(65601);function r(o,a){var u=a.getRootNode&&a.getRootNode();if(o.contains(a))return!0;if(u&&(0,n.isShadowRoot)(u)){var l=a;do{if(l&&o.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}},83199:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=t(65601),r=t(79257),o=u(t(44901)),a=u(t(95294));function u(c){return c&&c.__esModule?c:{default:c}}function l(c,h,v){h===void 0&&(h=!1),v===void 0&&(v=!1);var i=c.getBoundingClientRect(),f=1,s=1;h&&(0,n.isHTMLElement)(c)&&(f=c.offsetWidth>0&&(0,r.round)(i.width)/c.offsetWidth||1,s=c.offsetHeight>0&&(0,r.round)(i.height)/c.offsetHeight||1);var p=(0,n.isElement)(c)?(0,o.default)(c):window,d=p.visualViewport,g=!(0,a.default)()&&v,m=(i.left+(g&&d?d.offsetLeft:0))/f,S=(i.top+(g&&d?d.offsetTop:0))/s,I=i.width/f,O=i.height/s;return{width:I,height:O,top:S,right:m+I,bottom:S+O,left:m,x:m,y:S}}},98310:function(E,e,t){"use strict";e.__esModule=!0,e.default=O;var n=t(37802),r=g(t(63064)),o=g(t(16940)),a=g(t(88577)),u=g(t(29727)),l=g(t(9252)),c=g(t(75663)),h=t(65601),v=g(t(83199)),i=g(t(16292)),f=g(t(11848)),s=g(t(1707)),p=g(t(21194)),d=t(79257);function g(C){return C&&C.__esModule?C:{default:C}}function m(C,y){var b=(0,v.default)(C,!1,y==="fixed");return b.top=b.top+C.clientTop,b.left=b.left+C.clientLeft,b.bottom=b.top+C.clientHeight,b.right=b.left+C.clientWidth,b.width=C.clientWidth,b.height=C.clientHeight,b.x=b.left,b.y=b.top,b}function S(C,y,b){return y===n.viewport?(0,p.default)((0,r.default)(C,b)):(0,h.isElement)(y)?m(y,b):(0,p.default)((0,o.default)((0,l.default)(C)))}function I(C){var y=(0,a.default)((0,i.default)(C)),b=["absolute","fixed"].indexOf((0,c.default)(C).position)>=0,T=b&&(0,h.isHTMLElement)(C)?(0,u.default)(C):C;return(0,h.isElement)(T)?y.filter(function(P){return(0,h.isElement)(P)&&(0,f.default)(P,T)&&(0,s.default)(P)!=="body"}):[]}function O(C,y,b,T){var P=y==="clippingParents"?I(C):[].concat(y),N=[].concat(P,[b]),M=N[0],R=N.reduce(function(L,K){var U=S(C,K,T);return L.top=(0,d.max)(U.top,L.top),L.right=(0,d.min)(U.right,L.right),L.bottom=(0,d.min)(U.bottom,L.bottom),L.left=(0,d.max)(U.left,L.left),L},S(C,M,T));return R.width=R.right-R.left,R.height=R.bottom-R.top,R.x=R.left,R.y=R.top,R}},28770:function(E,e,t){"use strict";e.__esModule=!0,e.default=f;var n=v(t(83199)),r=v(t(3107)),o=v(t(1707)),a=t(65601),u=v(t(94889)),l=v(t(9252)),c=v(t(27703)),h=t(79257);function v(s){return s&&s.__esModule?s:{default:s}}function i(s){var p=s.getBoundingClientRect(),d=(0,h.round)(p.width)/s.offsetWidth||1,g=(0,h.round)(p.height)/s.offsetHeight||1;return d!==1||g!==1}function f(s,p,d){d===void 0&&(d=!1);var g=(0,a.isHTMLElement)(p),m=(0,a.isHTMLElement)(p)&&i(p),S=(0,l.default)(p),I=(0,n.default)(s,m,d),O={scrollLeft:0,scrollTop:0},C={x:0,y:0};return(g||!g&&!d)&&(((0,o.default)(p)!=="body"||(0,c.default)(S))&&(O=(0,r.default)(p)),(0,a.isHTMLElement)(p)?(C=(0,n.default)(p,!0),C.x+=p.clientLeft,C.y+=p.clientTop):S&&(C.x=(0,u.default)(S))),{x:I.left+O.scrollLeft-C.x,y:I.top+O.scrollTop-C.y,width:I.width,height:I.height}}},75663:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(44901));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){return(0,n.default)(a).getComputedStyle(a)}},9252:function(E,e,t){"use strict";e.__esModule=!0,e.default=r;var n=t(65601);function r(o){return(((0,n.isElement)(o)?o.ownerDocument:o.document)||window.document).documentElement}},16940:function(E,e,t){"use strict";e.__esModule=!0,e.default=c;var n=l(t(9252)),r=l(t(75663)),o=l(t(94889)),a=l(t(42532)),u=t(79257);function l(h){return h&&h.__esModule?h:{default:h}}function c(h){var v,i=(0,n.default)(h),f=(0,a.default)(h),s=(v=h.ownerDocument)==null?void 0:v.body,p=(0,u.max)(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),d=(0,u.max)(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),g=-f.scrollLeft+(0,o.default)(h),m=-f.scrollTop;return(0,r.default)(s||i).direction==="rtl"&&(g+=(0,u.max)(i.clientWidth,s?s.clientWidth:0)-p),{width:p,height:d,x:g,y:m}}},89741:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}},12866:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(83199));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){var u=(0,n.default)(a),l=a.offsetWidth,c=a.offsetHeight;return Math.abs(u.width-l)<=1&&(l=u.width),Math.abs(u.height-c)<=1&&(c=u.height),{x:a.offsetLeft,y:a.offsetTop,width:l,height:c}}},1707:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){return n?(n.nodeName||"").toLowerCase():null}},3107:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=u(t(42532)),r=u(t(44901)),o=t(65601),a=u(t(89741));function u(c){return c&&c.__esModule?c:{default:c}}function l(c){return c===(0,r.default)(c)||!(0,o.isHTMLElement)(c)?(0,n.default)(c):(0,a.default)(c)}},29727:function(E,e,t){"use strict";e.__esModule=!0,e.default=f;var n=h(t(44901)),r=h(t(1707)),o=h(t(75663)),a=t(65601),u=h(t(36875)),l=h(t(16292)),c=h(t(88492));function h(s){return s&&s.__esModule?s:{default:s}}function v(s){return!(0,a.isHTMLElement)(s)||(0,o.default)(s).position==="fixed"?null:s.offsetParent}function i(s){var p=/firefox/i.test((0,c.default)()),d=/Trident/i.test((0,c.default)());if(d&&(0,a.isHTMLElement)(s)){var g=(0,o.default)(s);if(g.position==="fixed")return null}var m=(0,l.default)(s);for((0,a.isShadowRoot)(m)&&(m=m.host);(0,a.isHTMLElement)(m)&&["html","body"].indexOf((0,r.default)(m))<0;){var S=(0,o.default)(m);if(S.transform!=="none"||S.perspective!=="none"||S.contain==="paint"||["transform","perspective"].indexOf(S.willChange)!==-1||p&&S.willChange==="filter"||p&&S.filter&&S.filter!=="none")return m;m=m.parentNode}return null}function f(s){for(var p=(0,n.default)(s),d=v(s);d&&(0,u.default)(d)&&(0,o.default)(d).position==="static";)d=v(d);return d&&((0,r.default)(d)==="html"||(0,r.default)(d)==="body"&&(0,o.default)(d).position==="static")?p:d||i(s)||p}},16292:function(E,e,t){"use strict";e.__esModule=!0,e.default=u;var n=a(t(1707)),r=a(t(9252)),o=t(65601);function a(l){return l&&l.__esModule?l:{default:l}}function u(l){return(0,n.default)(l)==="html"?l:l.assignedSlot||l.parentNode||((0,o.isShadowRoot)(l)?l.host:null)||(0,r.default)(l)}},87899:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=u(t(16292)),r=u(t(27703)),o=u(t(1707)),a=t(65601);function u(c){return c&&c.__esModule?c:{default:c}}function l(c){return["html","body","#document"].indexOf((0,o.default)(c))>=0?c.ownerDocument.body:(0,a.isHTMLElement)(c)&&(0,r.default)(c)?c:l((0,n.default)(c))}},63064:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=u(t(44901)),r=u(t(9252)),o=u(t(94889)),a=u(t(95294));function u(c){return c&&c.__esModule?c:{default:c}}function l(c,h){var v=(0,n.default)(c),i=(0,r.default)(c),f=v.visualViewport,s=i.clientWidth,p=i.clientHeight,d=0,g=0;if(f){s=f.width,p=f.height;var m=(0,a.default)();(m||!m&&h==="fixed")&&(d=f.offsetLeft,g=f.offsetTop)}return{width:s,height:p,x:d+(0,o.default)(c),y:g}}},44901:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var r=n.ownerDocument;return r&&r.defaultView||window}return n}},42532:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(44901));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){var u=(0,n.default)(a),l=u.pageXOffset,c=u.pageYOffset;return{scrollLeft:l,scrollTop:c}}},94889:function(E,e,t){"use strict";e.__esModule=!0,e.default=u;var n=a(t(83199)),r=a(t(9252)),o=a(t(42532));function a(l){return l&&l.__esModule?l:{default:l}}function u(l){return(0,n.default)((0,r.default)(l)).left+(0,o.default)(l).scrollLeft}},65601:function(E,e,t){"use strict";e.__esModule=!0,e.isElement=o,e.isHTMLElement=a,e.isShadowRoot=u;var n=r(t(44901));function r(l){return l&&l.__esModule?l:{default:l}}function o(l){var c=(0,n.default)(l).Element;return l instanceof c||l instanceof Element}function a(l){var c=(0,n.default)(l).HTMLElement;return l instanceof c||l instanceof HTMLElement}function u(l){if(typeof ShadowRoot=="undefined")return!1;var c=(0,n.default)(l).ShadowRoot;return l instanceof c||l instanceof ShadowRoot}},95294:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(88492));function r(a){return a&&a.__esModule?a:{default:a}}function o(){return!/^((?!chrome|android).)*safari/i.test((0,n.default)())}},27703:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(75663));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){var u=(0,n.default)(a),l=u.overflow,c=u.overflowX,h=u.overflowY;return/auto|scroll|overlay|hidden/.test(l+h+c)}},36875:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(1707));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){return["table","td","th"].indexOf((0,n.default)(a))>=0}},88577:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=u(t(87899)),r=u(t(16292)),o=u(t(44901)),a=u(t(27703));function u(c){return c&&c.__esModule?c:{default:c}}function l(c,h){var v;h===void 0&&(h=[]);var i=(0,n.default)(c),f=i===((v=c.ownerDocument)==null?void 0:v.body),s=(0,o.default)(i),p=f?[s].concat(s.visualViewport||[],(0,a.default)(i)?i:[]):i,d=h.concat(p);return f?d:d.concat(l((0,r.default)(p)))}},37802:function(E,e){"use strict";e.__esModule=!0,e.write=e.viewport=e.variationPlacements=e.top=e.start=e.right=e.reference=e.read=e.popper=e.placements=e.modifierPhases=e.main=e.left=e.end=e.clippingParents=e.bottom=e.beforeWrite=e.beforeRead=e.beforeMain=e.basePlacements=e.auto=e.afterWrite=e.afterRead=e.afterMain=void 0;var t=e.top="top",n=e.bottom="bottom",r=e.right="right",o=e.left="left",a=e.auto="auto",u=e.basePlacements=[t,n,r,o],l=e.start="start",c=e.end="end",h=e.clippingParents="clippingParents",v=e.viewport="viewport",i=e.popper="popper",f=e.reference="reference",s=e.variationPlacements=u.reduce(function(P,N){return P.concat([N+"-"+l,N+"-"+c])},[]),p=e.placements=[].concat(u,[a]).reduce(function(P,N){return P.concat([N,N+"-"+l,N+"-"+c])},[]),d=e.beforeRead="beforeRead",g=e.read="read",m=e.afterRead="afterRead",S=e.beforeMain="beforeMain",I=e.main="main",O=e.afterMain="afterMain",C=e.beforeWrite="beforeWrite",y=e.write="write",b=e.afterWrite="afterWrite",T=e.modifierPhases=[d,g,m,S,I,O,C,y,b]},60028:function(E,e,t){"use strict";e.__esModule=!0;var n={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};e.popperGenerator=e.detectOverflow=e.createPopperLite=e.createPopperBase=e.createPopper=void 0;var r=t(37802);Object.keys(r).forEach(function(c){c==="default"||c==="__esModule"||Object.prototype.hasOwnProperty.call(n,c)||c in e&&e[c]===r[c]||(e[c]=r[c])});var o=t(16055);Object.keys(o).forEach(function(c){c==="default"||c==="__esModule"||Object.prototype.hasOwnProperty.call(n,c)||c in e&&e[c]===o[c]||(e[c]=o[c])});var a=t(15113);e.popperGenerator=a.popperGenerator,e.detectOverflow=a.detectOverflow,e.createPopperBase=a.createPopper;var u=t(98420);e.createPopper=u.createPopper;var l=t(22008);e.createPopperLite=l.createPopper},20637:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=o(t(1707)),r=t(65601);function o(c){return c&&c.__esModule?c:{default:c}}function a(c){var h=c.state;Object.keys(h.elements).forEach(function(v){var i=h.styles[v]||{},f=h.attributes[v]||{},s=h.elements[v];!(0,r.isHTMLElement)(s)||!(0,n.default)(s)||(Object.assign(s.style,i),Object.keys(f).forEach(function(p){var d=f[p];d===!1?s.removeAttribute(p):s.setAttribute(p,d===!0?"":d)}))})}function u(c){var h=c.state,v={popper:{position:h.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(h.elements.popper.style,v.popper),h.styles=v,h.elements.arrow&&Object.assign(h.elements.arrow.style,v.arrow),function(){Object.keys(h.elements).forEach(function(i){var f=h.elements[i],s=h.attributes[i]||{},p=Object.keys(h.styles.hasOwnProperty(i)?h.styles[i]:v[i]),d=p.reduce(function(g,m){return g[m]="",g},{});!(0,r.isHTMLElement)(f)||!(0,n.default)(f)||(Object.assign(f.style,d),Object.keys(s).forEach(function(g){f.removeAttribute(g)}))})}}var l=e.default={name:"applyStyles",enabled:!0,phase:"write",fn:a,effect:u,requires:["computeStyles"]}},11106:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=i(t(16275)),r=i(t(12866)),o=i(t(11848)),a=i(t(29727)),u=i(t(26608)),l=t(87415),c=i(t(41e3)),h=i(t(62605)),v=t(37802);function i(g){return g&&g.__esModule?g:{default:g}}var f=function(){function g(m,S){return m=typeof m=="function"?m(Object.assign({},S.rects,{placement:S.placement})):m,(0,c.default)(typeof m!="number"?m:(0,h.default)(m,v.basePlacements))}return g}();function s(g){var m,S=g.state,I=g.name,O=g.options,C=S.elements.arrow,y=S.modifiersData.popperOffsets,b=(0,n.default)(S.placement),T=(0,u.default)(b),P=[v.left,v.right].indexOf(b)>=0,N=P?"height":"width";if(!(!C||!y)){var M=f(O.padding,S),R=(0,r.default)(C),L=T==="y"?v.top:v.left,K=T==="y"?v.bottom:v.right,U=S.rects.reference[N]+S.rects.reference[T]-y[T]-S.rects.popper[N],F=y[T]-S.rects.reference[T],$=(0,a.default)(C),B=$?T==="y"?$.clientHeight||0:$.clientWidth||0:0,x=U/2-F/2,V=M[L],G=B-R[N]-M[K],Y=B/2-R[N]/2+x,k=(0,l.within)(V,Y,G),nt=T;S.modifiersData[I]=(m={},m[nt]=k,m.centerOffset=k-Y,m)}}function p(g){var m=g.state,S=g.options,I=S.element,O=I===void 0?"[data-popper-arrow]":I;O!=null&&(typeof O=="string"&&(O=m.elements.popper.querySelector(O),!O)||(0,o.default)(m.elements.popper,O)&&(m.elements.arrow=O))}var d=e.default={name:"arrow",enabled:!0,phase:"main",fn:s,effect:p,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},85445:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0,e.mapToStyles=s;var n=t(37802),r=v(t(29727)),o=v(t(44901)),a=v(t(9252)),u=v(t(75663)),l=v(t(16275)),c=v(t(56918)),h=t(79257);function v(g){return g&&g.__esModule?g:{default:g}}var i={top:"auto",right:"auto",bottom:"auto",left:"auto"};function f(g,m){var S=g.x,I=g.y,O=m.devicePixelRatio||1;return{x:(0,h.round)(S*O)/O||0,y:(0,h.round)(I*O)/O||0}}function s(g){var m,S=g.popper,I=g.popperRect,O=g.placement,C=g.variation,y=g.offsets,b=g.position,T=g.gpuAcceleration,P=g.adaptive,N=g.roundOffsets,M=g.isFixed,R=y.x,L=R===void 0?0:R,K=y.y,U=K===void 0?0:K,F=typeof N=="function"?N({x:L,y:U}):{x:L,y:U};L=F.x,U=F.y;var $=y.hasOwnProperty("x"),B=y.hasOwnProperty("y"),x=n.left,V=n.top,G=window;if(P){var Y=(0,r.default)(S),k="clientHeight",nt="clientWidth";if(Y===(0,o.default)(S)&&(Y=(0,a.default)(S),(0,u.default)(Y).position!=="static"&&b==="absolute"&&(k="scrollHeight",nt="scrollWidth")),Y=Y,O===n.top||(O===n.left||O===n.right)&&C===n.end){V=n.bottom;var ut=M&&Y===G&&G.visualViewport?G.visualViewport.height:Y[k];U-=ut-I.height,U*=T?1:-1}if(O===n.left||(O===n.top||O===n.bottom)&&C===n.end){x=n.right;var ft=M&&Y===G&&G.visualViewport?G.visualViewport.width:Y[nt];L-=ft-I.width,L*=T?1:-1}}var W=Object.assign({position:b},P&&i),X=N===!0?f({x:L,y:U},(0,o.default)(S)):{x:L,y:U};if(L=X.x,U=X.y,T){var et;return Object.assign({},W,(et={},et[V]=B?"0":"",et[x]=$?"0":"",et.transform=(G.devicePixelRatio||1)<=1?"translate("+L+"px, "+U+"px)":"translate3d("+L+"px, "+U+"px, 0)",et))}return Object.assign({},W,(m={},m[V]=B?U+"px":"",m[x]=$?L+"px":"",m.transform="",m))}function p(g){var m=g.state,S=g.options,I=S.gpuAcceleration,O=I===void 0?!0:I,C=S.adaptive,y=C===void 0?!0:C,b=S.roundOffsets,T=b===void 0?!0:b,P={placement:(0,l.default)(m.placement),variation:(0,c.default)(m.placement),popper:m.elements.popper,popperRect:m.rects.popper,gpuAcceleration:O,isFixed:m.options.strategy==="fixed"};m.modifiersData.popperOffsets!=null&&(m.styles.popper=Object.assign({},m.styles.popper,s(Object.assign({},P,{offsets:m.modifiersData.popperOffsets,position:m.options.strategy,adaptive:y,roundOffsets:T})))),m.modifiersData.arrow!=null&&(m.styles.arrow=Object.assign({},m.styles.arrow,s(Object.assign({},P,{offsets:m.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:T})))),m.attributes.popper=Object.assign({},m.attributes.popper,{"data-popper-placement":m.placement})}var d=e.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:p,data:{}}},21068:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=r(t(44901));function r(l){return l&&l.__esModule?l:{default:l}}var o={passive:!0};function a(l){var c=l.state,h=l.instance,v=l.options,i=v.scroll,f=i===void 0?!0:i,s=v.resize,p=s===void 0?!0:s,d=(0,n.default)(c.elements.popper),g=[].concat(c.scrollParents.reference,c.scrollParents.popper);return f&&g.forEach(function(m){m.addEventListener("scroll",h.update,o)}),p&&d.addEventListener("resize",h.update,o),function(){f&&g.forEach(function(m){m.removeEventListener("scroll",h.update,o)}),p&&d.removeEventListener("resize",h.update,o)}}var u=e.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function l(){}return l}(),effect:a,data:{}}},51825:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=h(t(96346)),r=h(t(16275)),o=h(t(15022)),a=h(t(4709)),u=h(t(36705)),l=t(37802),c=h(t(56918));function h(s){return s&&s.__esModule?s:{default:s}}function v(s){if((0,r.default)(s)===l.auto)return[];var p=(0,n.default)(s);return[(0,o.default)(s),p,(0,o.default)(p)]}function i(s){var p=s.state,d=s.options,g=s.name;if(!p.modifiersData[g]._skip){for(var m=d.mainAxis,S=m===void 0?!0:m,I=d.altAxis,O=I===void 0?!0:I,C=d.fallbackPlacements,y=d.padding,b=d.boundary,T=d.rootBoundary,P=d.altBoundary,N=d.flipVariations,M=N===void 0?!0:N,R=d.allowedAutoPlacements,L=p.options.placement,K=(0,r.default)(L),U=K===L,F=C||(U||!M?[(0,n.default)(L)]:v(L)),$=[L].concat(F).reduce(function(dt,J){return dt.concat((0,r.default)(J)===l.auto?(0,u.default)(p,{placement:J,boundary:b,rootBoundary:T,padding:y,flipVariations:M,allowedAutoPlacements:R}):J)},[]),B=p.rects.reference,x=p.rects.popper,V=new Map,G=!0,Y=$[0],k=0;k<$.length;k++){var nt=$[k],ut=(0,r.default)(nt),ft=(0,c.default)(nt)===l.start,W=[l.top,l.bottom].indexOf(ut)>=0,X=W?"width":"height",et=(0,a.default)(p,{placement:nt,boundary:b,rootBoundary:T,altBoundary:P,padding:y}),ct=W?ft?l.right:l.left:ft?l.bottom:l.top;B[X]>x[X]&&(ct=(0,n.default)(ct));var at=(0,n.default)(ct),St=[];if(S&&St.push(et[ut]<=0),O&&St.push(et[ct]<=0,et[at]<=0),St.every(function(dt){return dt})){Y=nt,G=!1;break}V.set(nt,St)}if(G)for(var Pt=M?3:1,Rt=function(){function dt(J){var Z=$.find(function(ot){var gt=V.get(ot);if(gt)return gt.slice(0,J).every(function(Et){return Et})});if(Z)return Y=Z,"break"}return dt}(),Nt=Pt;Nt>0;Nt--){var ht=Rt(Nt);if(ht==="break")break}p.placement!==Y&&(p.modifiersData[g]._skip=!0,p.placement=Y,p.reset=!0)}}var f=e.default={name:"flip",enabled:!0,phase:"main",fn:i,requiresIfExists:["offset"],data:{_skip:!1}}},44677:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=t(37802),r=o(t(4709));function o(h){return h&&h.__esModule?h:{default:h}}function a(h,v,i){return i===void 0&&(i={x:0,y:0}),{top:h.top-v.height-i.y,right:h.right-v.width+i.x,bottom:h.bottom-v.height+i.y,left:h.left-v.width-i.x}}function u(h){return[n.top,n.right,n.bottom,n.left].some(function(v){return h[v]>=0})}function l(h){var v=h.state,i=h.name,f=v.rects.reference,s=v.rects.popper,p=v.modifiersData.preventOverflow,d=(0,r.default)(v,{elementContext:"reference"}),g=(0,r.default)(v,{altBoundary:!0}),m=a(d,f),S=a(g,s,p),I=u(m),O=u(S);v.modifiersData[i]={referenceClippingOffsets:m,popperEscapeOffsets:S,isReferenceHidden:I,hasPopperEscaped:O},v.attributes.popper=Object.assign({},v.attributes.popper,{"data-popper-reference-hidden":I,"data-popper-escaped":O})}var c=e.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:l}},16055:function(E,e,t){"use strict";e.__esModule=!0,e.preventOverflow=e.popperOffsets=e.offset=e.hide=e.flip=e.eventListeners=e.computeStyles=e.arrow=e.applyStyles=void 0;var n=i(t(20637));e.applyStyles=n.default;var r=i(t(11106));e.arrow=r.default;var o=i(t(85445));e.computeStyles=o.default;var a=i(t(21068));e.eventListeners=a.default;var u=i(t(51825));e.flip=u.default;var l=i(t(44677));e.hide=l.default;var c=i(t(34331));e.offset=c.default;var h=i(t(56154));e.popperOffsets=h.default;var v=i(t(69770));e.preventOverflow=v.default;function i(f){return f&&f.__esModule?f:{default:f}}},34331:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0,e.distanceAndSkiddingToXY=a;var n=o(t(16275)),r=t(37802);function o(c){return c&&c.__esModule?c:{default:c}}function a(c,h,v){var i=(0,n.default)(c),f=[r.left,r.top].indexOf(i)>=0?-1:1,s=typeof v=="function"?v(Object.assign({},h,{placement:c})):v,p=s[0],d=s[1];return p=p||0,d=(d||0)*f,[r.left,r.right].indexOf(i)>=0?{x:d,y:p}:{x:p,y:d}}function u(c){var h=c.state,v=c.options,i=c.name,f=v.offset,s=f===void 0?[0,0]:f,p=r.placements.reduce(function(S,I){return S[I]=a(I,h.rects,s),S},{}),d=p[h.placement],g=d.x,m=d.y;h.modifiersData.popperOffsets!=null&&(h.modifiersData.popperOffsets.x+=g,h.modifiersData.popperOffsets.y+=m),h.modifiersData[i]=p}var l=e.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:u}},56154:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=r(t(49306));function r(u){return u&&u.__esModule?u:{default:u}}function o(u){var l=u.state,c=u.name;l.modifiersData[c]=(0,n.default)({reference:l.rects.reference,element:l.rects.popper,strategy:"absolute",placement:l.placement})}var a=e.default={name:"popperOffsets",enabled:!0,phase:"read",fn:o,data:{}}},69770:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=t(37802),r=s(t(16275)),o=s(t(26608)),a=s(t(49903)),u=t(87415),l=s(t(12866)),c=s(t(29727)),h=s(t(4709)),v=s(t(56918)),i=s(t(26143)),f=t(79257);function s(g){return g&&g.__esModule?g:{default:g}}function p(g){var m=g.state,S=g.options,I=g.name,O=S.mainAxis,C=O===void 0?!0:O,y=S.altAxis,b=y===void 0?!1:y,T=S.boundary,P=S.rootBoundary,N=S.altBoundary,M=S.padding,R=S.tether,L=R===void 0?!0:R,K=S.tetherOffset,U=K===void 0?0:K,F=(0,h.default)(m,{boundary:T,rootBoundary:P,padding:M,altBoundary:N}),$=(0,r.default)(m.placement),B=(0,v.default)(m.placement),x=!B,V=(0,o.default)($),G=(0,a.default)(V),Y=m.modifiersData.popperOffsets,k=m.rects.reference,nt=m.rects.popper,ut=typeof U=="function"?U(Object.assign({},m.rects,{placement:m.placement})):U,ft=typeof ut=="number"?{mainAxis:ut,altAxis:ut}:Object.assign({mainAxis:0,altAxis:0},ut),W=m.modifiersData.offset?m.modifiersData.offset[m.placement]:null,X={x:0,y:0};if(Y){if(C){var et,ct=V==="y"?n.top:n.left,at=V==="y"?n.bottom:n.right,St=V==="y"?"height":"width",Pt=Y[V],Rt=Pt+F[ct],Nt=Pt-F[at],ht=L?-nt[St]/2:0,dt=B===n.start?k[St]:nt[St],J=B===n.start?-nt[St]:-k[St],Z=m.elements.arrow,ot=L&&Z?(0,l.default)(Z):{width:0,height:0},gt=m.modifiersData["arrow#persistent"]?m.modifiersData["arrow#persistent"].padding:(0,i.default)(),Et=gt[ct],it=gt[at],pt=(0,u.within)(0,k[St],ot[St]),rt=x?k[St]/2-ht-pt-Et-ft.mainAxis:dt-pt-Et-ft.mainAxis,_=x?-k[St]/2+ht+pt+it+ft.mainAxis:J+pt+it+ft.mainAxis,yt=m.elements.arrow&&(0,c.default)(m.elements.arrow),Ct=yt?V==="y"?yt.clientTop||0:yt.clientLeft||0:0,Mt=(et=W==null?void 0:W[V])!=null?et:0,xt=Pt+rt-Mt-Ct,Vt=Pt+_-Mt,Tt=(0,u.within)(L?(0,f.min)(Rt,xt):Rt,Pt,L?(0,f.max)(Nt,Vt):Nt);Y[V]=Tt,X[V]=Tt-Pt}if(b){var lt,mt=V==="x"?n.top:n.left,Ot=V==="x"?n.bottom:n.right,bt=Y[G],It=G==="y"?"height":"width",Lt=bt+F[mt],jt=bt-F[Ot],$t=[n.top,n.left].indexOf($)!==-1,kt=(lt=W==null?void 0:W[G])!=null?lt:0,Yt=$t?Lt:bt-k[It]-nt[It]-kt+ft.altAxis,Ht=$t?bt+k[It]+nt[It]-kt-ft.altAxis:jt,Jt=L&&$t?(0,u.withinMaxClamp)(Yt,bt,Ht):(0,u.within)(L?Yt:Lt,bt,L?Ht:jt);Y[G]=Jt,X[G]=Jt-bt}m.modifiersData[I]=X}}var d=e.default={name:"preventOverflow",enabled:!0,phase:"main",fn:p,requiresIfExists:["offset"]}},22008:function(E,e,t){"use strict";e.__esModule=!0,e.defaultModifiers=e.createPopper=void 0;var n=t(15113);e.popperGenerator=n.popperGenerator,e.detectOverflow=n.detectOverflow;var r=l(t(21068)),o=l(t(56154)),a=l(t(85445)),u=l(t(20637));function l(v){return v&&v.__esModule?v:{default:v}}var c=e.defaultModifiers=[r.default,o.default,a.default,u.default],h=e.createPopper=(0,n.popperGenerator)({defaultModifiers:c})},98420:function(E,e,t){"use strict";e.__esModule=!0;var n={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};e.defaultModifiers=e.createPopperLite=e.createPopper=void 0;var r=t(15113);e.popperGenerator=r.popperGenerator,e.detectOverflow=r.detectOverflow;var o=d(t(21068)),a=d(t(56154)),u=d(t(85445)),l=d(t(20637)),c=d(t(34331)),h=d(t(51825)),v=d(t(69770)),i=d(t(11106)),f=d(t(44677)),s=t(22008);e.createPopperLite=s.createPopper;var p=t(16055);Object.keys(p).forEach(function(S){S==="default"||S==="__esModule"||Object.prototype.hasOwnProperty.call(n,S)||S in e&&e[S]===p[S]||(e[S]=p[S])});function d(S){return S&&S.__esModule?S:{default:S}}var g=e.defaultModifiers=[o.default,a.default,u.default,l.default,c.default,h.default,v.default,i.default,f.default],m=e.createPopperLite=e.createPopper=(0,r.popperGenerator)({defaultModifiers:g})},36705:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=u(t(56918)),r=t(37802),o=u(t(4709)),a=u(t(16275));function u(c){return c&&c.__esModule?c:{default:c}}function l(c,h){h===void 0&&(h={});var v=h,i=v.placement,f=v.boundary,s=v.rootBoundary,p=v.padding,d=v.flipVariations,g=v.allowedAutoPlacements,m=g===void 0?r.placements:g,S=(0,n.default)(i),I=S?d?r.variationPlacements:r.variationPlacements.filter(function(y){return(0,n.default)(y)===S}):r.basePlacements,O=I.filter(function(y){return m.indexOf(y)>=0});O.length===0&&(O=I);var C=O.reduce(function(y,b){return y[b]=(0,o.default)(c,{placement:b,boundary:f,rootBoundary:s,padding:p})[(0,a.default)(b)],y},{});return Object.keys(C).sort(function(y,b){return C[y]-C[b]})}},49306:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=u(t(16275)),r=u(t(56918)),o=u(t(26608)),a=t(37802);function u(c){return c&&c.__esModule?c:{default:c}}function l(c){var h=c.reference,v=c.element,i=c.placement,f=i?(0,n.default)(i):null,s=i?(0,r.default)(i):null,p=h.x+h.width/2-v.width/2,d=h.y+h.height/2-v.height/2,g;switch(f){case a.top:g={x:p,y:h.y-v.height};break;case a.bottom:g={x:p,y:h.y+h.height};break;case a.right:g={x:h.x+h.width,y:d};break;case a.left:g={x:h.x-v.width,y:d};break;default:g={x:h.x,y:h.y}}var m=f?(0,o.default)(f):null;if(m!=null){var S=m==="y"?"height":"width";switch(s){case a.start:g[m]=g[m]-(h[S]/2-v[S]/2);break;case a.end:g[m]=g[m]+(h[S]/2-v[S]/2);break;default:}}return g}},97902:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){var r;return function(){return r||(r=new Promise(function(o){Promise.resolve().then(function(){r=void 0,o(n())})})),r}}},4709:function(E,e,t){"use strict";e.__esModule=!0,e.default=f;var n=i(t(98310)),r=i(t(9252)),o=i(t(83199)),a=i(t(49306)),u=i(t(21194)),l=t(37802),c=t(65601),h=i(t(41e3)),v=i(t(62605));function i(s){return s&&s.__esModule?s:{default:s}}function f(s,p){p===void 0&&(p={});var d=p,g=d.placement,m=g===void 0?s.placement:g,S=d.strategy,I=S===void 0?s.strategy:S,O=d.boundary,C=O===void 0?l.clippingParents:O,y=d.rootBoundary,b=y===void 0?l.viewport:y,T=d.elementContext,P=T===void 0?l.popper:T,N=d.altBoundary,M=N===void 0?!1:N,R=d.padding,L=R===void 0?0:R,K=(0,h.default)(typeof L!="number"?L:(0,v.default)(L,l.basePlacements)),U=P===l.popper?l.reference:l.popper,F=s.rects.popper,$=s.elements[M?U:P],B=(0,n.default)((0,c.isElement)($)?$:$.contextElement||(0,r.default)(s.elements.popper),C,b,I),x=(0,o.default)(s.elements.reference),V=(0,a.default)({reference:x,element:F,strategy:"absolute",placement:m}),G=(0,u.default)(Object.assign({},F,V)),Y=P===l.popper?G:x,k={top:B.top-Y.top+K.top,bottom:Y.bottom-B.bottom+K.bottom,left:B.left-Y.left+K.left,right:Y.right-B.right+K.right},nt=s.modifiersData.offset;if(P===l.popper&&nt){var ut=nt[m];Object.keys(k).forEach(function(ft){var W=[l.right,l.bottom].indexOf(ft)>=0?1:-1,X=[l.top,l.bottom].indexOf(ft)>=0?"y":"x";k[ft]+=ut[X]*W})}return k}},62605:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n,r){return r.reduce(function(o,a){return o[a]=n,o},{})}},49903:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){return n==="x"?"y":"x"}},16275:function(E,e,t){"use strict";e.__esModule=!0,e.default=r;var n=t(37802);function r(o){return o.split("-")[0]}},26143:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(){return{top:0,right:0,bottom:0,left:0}}},26608:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}},96346:function(E,e){"use strict";e.__esModule=!0,e.default=n;var t={left:"right",right:"left",bottom:"top",top:"bottom"};function n(r){return r.replace(/left|right|bottom|top/g,function(o){return t[o]})}},15022:function(E,e){"use strict";e.__esModule=!0,e.default=n;var t={start:"end",end:"start"};function n(r){return r.replace(/start|end/g,function(o){return t[o]})}},56918:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){return n.split("-")[1]}},79257:function(E,e){"use strict";e.__esModule=!0,e.round=e.min=e.max=void 0;var t=e.max=Math.max,n=e.min=Math.min,r=e.round=Math.round},57547:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){var r=n.reduce(function(o,a){var u=o[a.name];return o[a.name]=u?Object.assign({},u,a,{options:Object.assign({},u.options,a.options),data:Object.assign({},u.data,a.data)}):a,o},{});return Object.keys(r).map(function(o){return r[o]})}},41e3:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(26143));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){return Object.assign({},(0,n.default)(),a)}},13657:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=t(37802);function r(a){var u=new Map,l=new Set,c=[];a.forEach(function(v){u.set(v.name,v)});function h(v){l.add(v.name);var i=[].concat(v.requires||[],v.requiresIfExists||[]);i.forEach(function(f){if(!l.has(f)){var s=u.get(f);s&&h(s)}}),c.push(v)}return a.forEach(function(v){l.has(v.name)||h(v)}),c}function o(a){var u=r(a);return n.modifierPhases.reduce(function(l,c){return l.concat(u.filter(function(h){return h.phase===c}))},[])}},21194:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}},88492:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}},87415:function(E,e,t){"use strict";e.__esModule=!0,e.within=r,e.withinMaxClamp=o;var n=t(79257);function r(a,u,l){return(0,n.max)(a,(0,n.min)(u,l))}function o(a,u,l){var c=r(a,u,l);return c>l?l:c}},85966:function(E){"use strict";/*! @license DOMPurify 2.4.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.7/LICENSE */(function(e,t){E.exports=t()})(void 0,function(){"use strict";function e(rt){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},e(rt)}function t(rt,_){return t=Object.setPrototypeOf||function(){function yt(Ct,Mt){return Ct.__proto__=Mt,Ct}return yt}(),t(rt,_)}function n(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(rt){return!1}}function r(rt,_,yt){return n()?r=Reflect.construct:r=function(){function Ct(Mt,xt,Vt){var Tt=[null];Tt.push.apply(Tt,xt);var lt=Function.bind.apply(Mt,Tt),mt=new lt;return Vt&&t(mt,Vt.prototype),mt}return Ct}(),r.apply(null,arguments)}function o(rt){return a(rt)||u(rt)||l(rt)||h()}function a(rt){if(Array.isArray(rt))return c(rt)}function u(rt){if(typeof Symbol!="undefined"&&rt[Symbol.iterator]!=null||rt["@@iterator"]!=null)return Array.from(rt)}function l(rt,_){if(rt){if(typeof rt=="string")return c(rt,_);var yt=Object.prototype.toString.call(rt).slice(8,-1);if(yt==="Object"&&rt.constructor&&(yt=rt.constructor.name),yt==="Map"||yt==="Set")return Array.from(rt);if(yt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(yt))return c(rt,_)}}function c(rt,_){(_==null||_>rt.length)&&(_=rt.length);for(var yt=0,Ct=new Array(_);yt<_;yt++)Ct[yt]=rt[yt];return Ct}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var v=Object.hasOwnProperty,i=Object.setPrototypeOf,f=Object.isFrozen,s=Object.getPrototypeOf,p=Object.getOwnPropertyDescriptor,d=Object.freeze,g=Object.seal,m=Object.create,S=typeof Reflect!="undefined"&&Reflect,I=S.apply,O=S.construct;I||(I=function(){function rt(_,yt,Ct){return _.apply(yt,Ct)}return rt}()),d||(d=function(){function rt(_){return _}return rt}()),g||(g=function(){function rt(_){return _}return rt}()),O||(O=function(){function rt(_,yt){return r(_,o(yt))}return rt}());var C=F(Array.prototype.forEach),y=F(Array.prototype.pop),b=F(Array.prototype.push),T=F(String.prototype.toLowerCase),P=F(String.prototype.toString),N=F(String.prototype.match),M=F(String.prototype.replace),R=F(String.prototype.indexOf),L=F(String.prototype.trim),K=F(RegExp.prototype.test),U=$(TypeError);function F(rt){return function(_){for(var yt=arguments.length,Ct=new Array(yt>1?yt-1:0),Mt=1;Mt<yt;Mt++)Ct[Mt-1]=arguments[Mt];return I(rt,_,Ct)}}function $(rt){return function(){for(var _=arguments.length,yt=new Array(_),Ct=0;Ct<_;Ct++)yt[Ct]=arguments[Ct];return O(rt,yt)}}function B(rt,_,yt){var Ct;yt=(Ct=yt)!==null&&Ct!==void 0?Ct:T,i&&i(rt,null);for(var Mt=_.length;Mt--;){var xt=_[Mt];if(typeof xt=="string"){var Vt=yt(xt);Vt!==xt&&(f(_)||(_[Mt]=Vt),xt=Vt)}rt[xt]=!0}return rt}function x(rt){var _=m(null),yt;for(yt in rt)I(v,rt,[yt])===!0&&(_[yt]=rt[yt]);return _}function V(rt,_){for(;rt!==null;){var yt=p(rt,_);if(yt){if(yt.get)return F(yt.get);if(typeof yt.value=="function")return F(yt.value)}rt=s(rt)}function Ct(Mt){return null}return Ct}var G=d(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Y=d(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),k=d(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),nt=d(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ut=d(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),ft=d(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),W=d(["#text"]),X=d(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),et=d(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ct=d(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),at=d(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),St=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Pt=g(/<%[\w\W]*|[\w\W]*%>/gm),Rt=g(/\${[\w\W]*}/gm),Nt=g(/^data-[\-\w.\u00B7-\uFFFF]/),ht=g(/^aria-[\-\w]+$/),dt=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=g(/^(?:\w+script|data):/i),Z=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ot=g(/^html$/i),gt=function(){function rt(){return typeof window=="undefined"?null:window}return rt}(),Et=function(){function rt(_,yt){if(e(_)!=="object"||typeof _.createPolicy!="function")return null;var Ct=null,Mt="data-tt-policy-suffix";yt.currentScript&&yt.currentScript.hasAttribute(Mt)&&(Ct=yt.currentScript.getAttribute(Mt));var xt="dompurify"+(Ct?"#"+Ct:"");try{return _.createPolicy(xt,{createHTML:function(){function Vt(Tt){return Tt}return Vt}(),createScriptURL:function(){function Vt(Tt){return Tt}return Vt}()})}catch(Vt){return null}}return rt}();function it(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:gt(),_=function(){function z(j){return it(j)}return z}();if(_.version="2.4.7",_.removed=[],!rt||!rt.document||rt.document.nodeType!==9)return _.isSupported=!1,_;var yt=rt.document,Ct=rt.document,Mt=rt.DocumentFragment,xt=rt.HTMLTemplateElement,Vt=rt.Node,Tt=rt.Element,lt=rt.NodeFilter,mt=rt.NamedNodeMap,Ot=mt===void 0?rt.NamedNodeMap||rt.MozNamedAttrMap:mt,bt=rt.HTMLFormElement,It=rt.DOMParser,Lt=rt.trustedTypes,jt=Tt.prototype,$t=V(jt,"cloneNode"),kt=V(jt,"nextSibling"),Yt=V(jt,"childNodes"),Ht=V(jt,"parentNode");if(typeof xt=="function"){var Jt=Ct.createElement("template");Jt.content&&Jt.content.ownerDocument&&(Ct=Jt.content.ownerDocument)}var qt=Et(Lt,yt),Ae=qt?qt.createHTML(""):"",Ee=Ct,be=Ee.implementation,on=Ee.createNodeIterator,an=Ee.createDocumentFragment,un=Ee.getElementsByTagName,xe=yt.importNode,Fe={};try{Fe=x(Ct).documentMode?Ct.documentMode:{}}catch(z){}var ne={};_.isSupported=typeof Ht=="function"&&be&&be.createHTMLDocument!==void 0&&Fe!==9;var Pe=St,Ve=Pt,je=Rt,Ne=Nt,Ce=ht,te=J,re=Z,le=dt,zt=null,Te=B({},[].concat(o(G),o(Y),o(k),o(ut),o(W))),Qt=null,sn=B({},[].concat(o(X),o(et),o(ct),o(at))),Xt=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Oe=null,Ie=null,Ue=!0,Me=!0,Ke=!1,Re=!0,Wt=!1,fe=!1,$e=!1,we=!1,de=!1,oe=!1,Le=!1,cn=!0,ln=!1,fn="user-content-",Ge=!0,me=!1,ye={},Zt=null,dn=B({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),vn=null,hn=B({},["audio","video","img","source","image","track"]),Ye=null,gn=B({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Be="http://www.w3.org/1998/Math/MathML",Se="http://www.w3.org/2000/svg",ue="http://www.w3.org/1999/xhtml",ve=ue,He=!1,We=null,yn=B({},[Be,Se,ue],P),he,Sn=["application/xhtml+xml","text/html"],En="text/html",Gt,se=null,pn=Ct.createElement("form"),mn=function(){function z(j){return j instanceof RegExp||j instanceof Function}return z}(),ke=function(){function z(j){se&&se===j||((!j||e(j)!=="object")&&(j={}),j=x(j),he=Sn.indexOf(j.PARSER_MEDIA_TYPE)===-1?he=En:he=j.PARSER_MEDIA_TYPE,Gt=he==="application/xhtml+xml"?P:T,zt="ALLOWED_TAGS"in j?B({},j.ALLOWED_TAGS,Gt):Te,Qt="ALLOWED_ATTR"in j?B({},j.ALLOWED_ATTR,Gt):sn,We="ALLOWED_NAMESPACES"in j?B({},j.ALLOWED_NAMESPACES,P):yn,Ye="ADD_URI_SAFE_ATTR"in j?B(x(gn),j.ADD_URI_SAFE_ATTR,Gt):gn,vn="ADD_DATA_URI_TAGS"in j?B(x(hn),j.ADD_DATA_URI_TAGS,Gt):hn,Zt="FORBID_CONTENTS"in j?B({},j.FORBID_CONTENTS,Gt):dn,Oe="FORBID_TAGS"in j?B({},j.FORBID_TAGS,Gt):{},Ie="FORBID_ATTR"in j?B({},j.FORBID_ATTR,Gt):{},ye="USE_PROFILES"in j?j.USE_PROFILES:!1,Ue=j.ALLOW_ARIA_ATTR!==!1,Me=j.ALLOW_DATA_ATTR!==!1,Ke=j.ALLOW_UNKNOWN_PROTOCOLS||!1,Re=j.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Wt=j.SAFE_FOR_TEMPLATES||!1,fe=j.WHOLE_DOCUMENT||!1,de=j.RETURN_DOM||!1,oe=j.RETURN_DOM_FRAGMENT||!1,Le=j.RETURN_TRUSTED_TYPE||!1,we=j.FORCE_BODY||!1,cn=j.SANITIZE_DOM!==!1,ln=j.SANITIZE_NAMED_PROPS||!1,Ge=j.KEEP_CONTENT!==!1,me=j.IN_PLACE||!1,le=j.ALLOWED_URI_REGEXP||le,ve=j.NAMESPACE||ue,Xt=j.CUSTOM_ELEMENT_HANDLING||{},j.CUSTOM_ELEMENT_HANDLING&&mn(j.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Xt.tagNameCheck=j.CUSTOM_ELEMENT_HANDLING.tagNameCheck),j.CUSTOM_ELEMENT_HANDLING&&mn(j.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Xt.attributeNameCheck=j.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),j.CUSTOM_ELEMENT_HANDLING&&typeof j.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Xt.allowCustomizedBuiltInElements=j.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Wt&&(Me=!1),oe&&(de=!0),ye&&(zt=B({},o(W)),Qt=[],ye.html===!0&&(B(zt,G),B(Qt,X)),ye.svg===!0&&(B(zt,Y),B(Qt,et),B(Qt,at)),ye.svgFilters===!0&&(B(zt,k),B(Qt,et),B(Qt,at)),ye.mathMl===!0&&(B(zt,ut),B(Qt,ct),B(Qt,at))),j.ADD_TAGS&&(zt===Te&&(zt=x(zt)),B(zt,j.ADD_TAGS,Gt)),j.ADD_ATTR&&(Qt===sn&&(Qt=x(Qt)),B(Qt,j.ADD_ATTR,Gt)),j.ADD_URI_SAFE_ATTR&&B(Ye,j.ADD_URI_SAFE_ATTR,Gt),j.FORBID_CONTENTS&&(Zt===dn&&(Zt=x(Zt)),B(Zt,j.FORBID_CONTENTS,Gt)),Ge&&(zt["#text"]=!0),fe&&B(zt,["html","head","body"]),zt.table&&(B(zt,["tbody"]),delete Oe.tbody),d&&d(j),se=j)}return z}(),ze=B({},["mi","mo","mn","ms","mtext"]),Xe=B({},["foreignobject","desc","title","annotation-xml"]),bn=B({},["title","style","font","a","script"]),ge=B({},Y);B(ge,k),B(ge,nt);var Qe=B({},ut);B(Qe,ft);var Je=function(){function z(j){var st=Ht(j);(!st||!st.tagName)&&(st={namespaceURI:ve,tagName:"template"});var vt=T(j.tagName),At=T(st.tagName);return We[j.namespaceURI]?j.namespaceURI===Se?st.namespaceURI===ue?vt==="svg":st.namespaceURI===Be?vt==="svg"&&(At==="annotation-xml"||ze[At]):!!ge[vt]:j.namespaceURI===Be?st.namespaceURI===ue?vt==="math":st.namespaceURI===Se?vt==="math"&&Xe[At]:!!Qe[vt]:j.namespaceURI===ue?st.namespaceURI===Se&&!Xe[At]||st.namespaceURI===Be&&!ze[At]?!1:!Qe[vt]&&(bn[vt]||!ge[vt]):!!(he==="application/xhtml+xml"&&We[j.namespaceURI]):!1}return z}(),ae=function(){function z(j){b(_.removed,{element:j});try{j.parentNode.removeChild(j)}catch(st){try{j.outerHTML=Ae}catch(vt){j.remove()}}}return z}(),Ze=function(){function z(j,st){try{b(_.removed,{attribute:st.getAttributeNode(j),from:st})}catch(vt){b(_.removed,{attribute:null,from:st})}if(st.removeAttribute(j),j==="is"&&!Qt[j])if(de||oe)try{ae(st)}catch(vt){}else try{st.setAttribute(j,"")}catch(vt){}}return z}(),_e=function(){function z(j){var st,vt;if(we)j="<remove></remove>"+j;else{var At=N(j,/^[\r\n\t ]+/);vt=At&&At[0]}he==="application/xhtml+xml"&&ve===ue&&(j='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+j+"</body></html>");var wt=qt?qt.createHTML(j):j;if(ve===ue)try{st=new It().parseFromString(wt,he)}catch(Ft){}if(!st||!st.documentElement){st=be.createDocument(ve,"template",null);try{st.documentElement.innerHTML=He?Ae:wt}catch(Ft){}}var Bt=st.body||st.documentElement;return j&&vt&&Bt.insertBefore(Ct.createTextNode(vt),Bt.childNodes[0]||null),ve===ue?un.call(st,fe?"html":"body")[0]:fe?st.documentElement:Bt}return z}(),qe=function(){function z(j){return on.call(j.ownerDocument||j,j,lt.SHOW_ELEMENT|lt.SHOW_COMMENT|lt.SHOW_TEXT,null,!1)}return z}(),tn=function(){function z(j){return j instanceof bt&&(typeof j.nodeName!="string"||typeof j.textContent!="string"||typeof j.removeChild!="function"||!(j.attributes instanceof Ot)||typeof j.removeAttribute!="function"||typeof j.setAttribute!="function"||typeof j.namespaceURI!="string"||typeof j.insertBefore!="function"||typeof j.hasChildNodes!="function")}return z}(),De=function(){function z(j){return e(Vt)==="object"?j instanceof Vt:j&&e(j)==="object"&&typeof j.nodeType=="number"&&typeof j.nodeName=="string"}return z}(),A=function(){function z(j,st,vt){ne[j]&&C(ne[j],function(At){At.call(_,st,vt,se)})}return z}(),w=function(){function z(j){var st;if(A("beforeSanitizeElements",j,null),tn(j)||K(/[\u0080-\uFFFF]/,j.nodeName))return ae(j),!0;var vt=Gt(j.nodeName);if(A("uponSanitizeElement",j,{tagName:vt,allowedTags:zt}),j.hasChildNodes()&&!De(j.firstElementChild)&&(!De(j.content)||!De(j.content.firstElementChild))&&K(/<[/\w]/g,j.innerHTML)&&K(/<[/\w]/g,j.textContent)||vt==="select"&&K(/<template/i,j.innerHTML))return ae(j),!0;if(!zt[vt]||Oe[vt]){if(!Oe[vt]&&H(vt)&&(Xt.tagNameCheck instanceof RegExp&&K(Xt.tagNameCheck,vt)||Xt.tagNameCheck instanceof Function&&Xt.tagNameCheck(vt)))return!1;if(Ge&&!Zt[vt]){var At=Ht(j)||j.parentNode,wt=Yt(j)||j.childNodes;if(wt&&At)for(var Bt=wt.length,Ft=Bt-1;Ft>=0;--Ft)At.insertBefore($t(wt[Ft],!0),kt(j))}return ae(j),!0}return j instanceof Tt&&!Je(j)||(vt==="noscript"||vt==="noembed"||vt==="noframes")&&K(/<\/no(script|embed|frames)/i,j.innerHTML)?(ae(j),!0):(Wt&&j.nodeType===3&&(st=j.textContent,st=M(st,Pe," "),st=M(st,Ve," "),st=M(st,je," "),j.textContent!==st&&(b(_.removed,{element:j.cloneNode()}),j.textContent=st)),A("afterSanitizeElements",j,null),!1)}return z}(),D=function(){function z(j,st,vt){if(cn&&(st==="id"||st==="name")&&(vt in Ct||vt in pn))return!1;if(!(Me&&!Ie[st]&&K(Ne,st))){if(!(Ue&&K(Ce,st))){if(!Qt[st]||Ie[st]){if(!(H(j)&&(Xt.tagNameCheck instanceof RegExp&&K(Xt.tagNameCheck,j)||Xt.tagNameCheck instanceof Function&&Xt.tagNameCheck(j))&&(Xt.attributeNameCheck instanceof RegExp&&K(Xt.attributeNameCheck,st)||Xt.attributeNameCheck instanceof Function&&Xt.attributeNameCheck(st))||st==="is"&&Xt.allowCustomizedBuiltInElements&&(Xt.tagNameCheck instanceof RegExp&&K(Xt.tagNameCheck,vt)||Xt.tagNameCheck instanceof Function&&Xt.tagNameCheck(vt))))return!1}else if(!Ye[st]){if(!K(le,M(vt,re,""))){if(!((st==="src"||st==="xlink:href"||st==="href")&&j!=="script"&&R(vt,"data:")===0&&vn[j])){if(!(Ke&&!K(te,M(vt,re,"")))){if(vt)return!1}}}}}}return!0}return z}(),H=function(){function z(j){return j.indexOf("-")>0}return z}(),q=function(){function z(j){var st,vt,At,wt;A("beforeSanitizeAttributes",j,null);var Bt=j.attributes;if(Bt){var Ft={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Qt};for(wt=Bt.length;wt--;){st=Bt[wt];var Dt=st,Kt=Dt.name,Ut=Dt.namespaceURI;if(vt=Kt==="value"?st.value:L(st.value),At=Gt(Kt),Ft.attrName=At,Ft.attrValue=vt,Ft.keepAttr=!0,Ft.forceKeepAttr=void 0,A("uponSanitizeAttribute",j,Ft),vt=Ft.attrValue,!Ft.forceKeepAttr&&(Ze(Kt,j),!!Ft.keepAttr)){if(!Re&&K(/\/>/i,vt)){Ze(Kt,j);continue}Wt&&(vt=M(vt,Pe," "),vt=M(vt,Ve," "),vt=M(vt,je," "));var ie=Gt(j.nodeName);if(D(ie,At,vt)){if(ln&&(At==="id"||At==="name")&&(Ze(Kt,j),vt=fn+vt),qt&&e(Lt)==="object"&&typeof Lt.getAttributeType=="function"&&!Ut)switch(Lt.getAttributeType(ie,At)){case"TrustedHTML":{vt=qt.createHTML(vt);break}case"TrustedScriptURL":{vt=qt.createScriptURL(vt);break}}try{Ut?j.setAttributeNS(Ut,Kt,vt):j.setAttribute(Kt,vt),y(_.removed)}catch(ee){}}}}A("afterSanitizeAttributes",j,null)}}return z}(),tt=function(){function z(j){var st,vt=qe(j);for(A("beforeSanitizeShadowDOM",j,null);st=vt.nextNode();)A("uponSanitizeShadowNode",st,null),!w(st)&&(st.content instanceof Mt&&z(st.content),q(st));A("afterSanitizeShadowDOM",j,null)}return z}();return _.sanitize=function(z){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},st,vt,At,wt,Bt;if(He=!z,He&&(z="<!-->"),typeof z!="string"&&!De(z))if(typeof z.toString=="function"){if(z=z.toString(),typeof z!="string")throw U("dirty is not a string, aborting")}else throw U("toString is not a function");if(!_.isSupported){if(e(rt.toStaticHTML)==="object"||typeof rt.toStaticHTML=="function"){if(typeof z=="string")return rt.toStaticHTML(z);if(De(z))return rt.toStaticHTML(z.outerHTML)}return z}if($e||ke(j),_.removed=[],typeof z=="string"&&(me=!1),me){if(z.nodeName){var Ft=Gt(z.nodeName);if(!zt[Ft]||Oe[Ft])throw U("root node is forbidden and cannot be sanitized in-place")}}else if(z instanceof Vt)st=_e("<!---->"),vt=st.ownerDocument.importNode(z,!0),vt.nodeType===1&&vt.nodeName==="BODY"||vt.nodeName==="HTML"?st=vt:st.appendChild(vt);else{if(!de&&!Wt&&!fe&&z.indexOf("<")===-1)return qt&&Le?qt.createHTML(z):z;if(st=_e(z),!st)return de?null:Le?Ae:""}st&&we&&ae(st.firstChild);for(var Dt=qe(me?z:st);At=Dt.nextNode();)At.nodeType===3&&At===wt||w(At)||(At.content instanceof Mt&&tt(At.content),q(At),wt=At);if(wt=null,me)return z;if(de){if(oe)for(Bt=an.call(st.ownerDocument);st.firstChild;)Bt.appendChild(st.firstChild);else Bt=st;return(Qt.shadowroot||Qt.shadowrootmod)&&(Bt=xe.call(yt,Bt,!0)),Bt}var Kt=fe?st.outerHTML:st.innerHTML;return fe&&zt["!doctype"]&&st.ownerDocument&&st.ownerDocument.doctype&&st.ownerDocument.doctype.name&&K(ot,st.ownerDocument.doctype.name)&&(Kt="<!DOCTYPE "+st.ownerDocument.doctype.name+">\n"+Kt),Wt&&(Kt=M(Kt,Pe," "),Kt=M(Kt,Ve," "),Kt=M(Kt,je," ")),qt&&Le?qt.createHTML(Kt):Kt},_.setConfig=function(z){ke(z),$e=!0},_.clearConfig=function(){se=null,$e=!1},_.isValidAttribute=function(z,j,st){se||ke({});var vt=Gt(z),At=Gt(j);return D(vt,At,st)},_.addHook=function(z,j){typeof j=="function"&&(ne[z]=ne[z]||[],b(ne[z],j))},_.removeHook=function(z){if(ne[z])return y(ne[z])},_.removeHooks=function(z){ne[z]&&(ne[z]=[])},_.removeAllHooks=function(){ne={}},_}var pt=it();return pt})},60208:function(E,e){"use strict";e.__esModule=!0,e.Fragment=e.EMPTY_OBJ=e.Component=void 0,e._CI=Ke,e._HI=Rt,e._M=Wt,e._MCCC=fn,e._ME=de,e._MFCC=me,e._MP=Ue,e._MR=Ce,e._RFC=Re,e.__render=ze,e.createComponentVNode=k,e.createFragment=ut,e.createPortal=ct,e.createRef=Ve,e.createRenderer=bn,e.createTextVNode=nt,e.createVNode=x,e.directClone=X,e.findDOMfromVNode=b,e.forwardRef=je,e.getFlagsForElementVnode=St,e.linkEvent=i,e.normalizeProps=ft,e.options=void 0,e.render=Xe,e.rerender=_e,e.version=void 0;var t=Array.isArray;function n(A){var w=typeof A;return w==="string"||w==="number"}function r(A){return A==null}function o(A){return A===null||A===!1||A===!0||A===void 0}function a(A){return typeof A=="function"}function u(A){return typeof A=="string"}function l(A){return typeof A=="number"}function c(A){return A===null}function h(A){return A===void 0}function v(A,w){var D={};if(A)for(var H in A)D[H]=A[H];if(w)for(var q in w)D[q]=w[q];return D}function i(A,w){return a(w)?{data:A,event:w}:null}function f(A){return!c(A)&&typeof A=="object"}var s=e.EMPTY_OBJ={},p=e.Fragment="$F";function d(A){return A.substr(2).toLowerCase()}function g(A,w){A.appendChild(w)}function m(A,w,D){c(D)?g(A,w):A.insertBefore(w,D)}function S(A,w){return w?document.createElementNS("http://www.w3.org/2000/svg",A):document.createElement(A)}function I(A,w,D){A.replaceChild(w,D)}function O(A,w){A.removeChild(w)}function C(A){for(var w=0;w<A.length;w++)A[w]()}function y(A,w,D){var H=A.children;return D&4?H.$LI:D&8192?A.childFlags===2?H:H[w?0:H.length-1]:H}function b(A,w){for(var D;A;){if(D=A.flags,D&2033)return A.dom;A=y(A,w,D)}return null}function T(A,w){do{var D=A.flags;if(D&2033){O(w,A.dom);return}var H=A.children;if(D&4&&(A=H.$LI),D&8&&(A=H),D&8192)if(A.childFlags===2)A=H;else{for(var q=0,tt=H.length;q<tt;++q)T(H[q],w);return}}while(A)}function P(A,w,D){do{var H=A.flags;if(H&2033){m(w,A.dom,D);return}var q=A.children;if(H&4&&(A=q.$LI),H&8&&(A=q),H&8192)if(A.childFlags===2)A=q;else{for(var tt=0,z=q.length;tt<z;++tt)P(q[tt],w,D);return}}while(A)}function N(A,w,D){return A.constructor.getDerivedStateFromProps?v(D,A.constructor.getDerivedStateFromProps(w,D)):D}var M={v:!1},R=e.options={componentComparator:null,createVNode:null,renderComplete:null};function L(A,w){A.textContent=w}function K(A,w){return f(A)&&A.event===w.event&&A.data===w.data}function U(A,w){for(var D in w)h(A[D])&&(A[D]=w[D]);return A}function F(A,w){return!!a(A)&&(A(w),!0)}var $="$";function B(A,w,D,H,q,tt,z,j){this.childFlags=A,this.children=w,this.className=D,this.dom=null,this.flags=H,this.key=q===void 0?null:q,this.props=tt===void 0?null:tt,this.ref=z===void 0?null:z,this.type=j}function x(A,w,D,H,q,tt,z,j){var st=q===void 0?1:q,vt=new B(st,H,D,A,z,tt,j,w);return R.createVNode&&R.createVNode(vt),st===0&&Pt(vt,vt.children),vt}function V(A,w,D){if(A&4)return D;var H=(A&32768?w.render:w).defaultHooks;return r(H)?D:r(D)?H:U(D,H)}function G(A,w,D){var H=(A&32768?w.render:w).defaultProps;return r(H)?D:r(D)?v(H,null):U(D,H)}function Y(A,w){return A&12?A:w.prototype&&w.prototype.render?4:w.render?32776:8}function k(A,w,D,H,q){A=Y(A,w);var tt=new B(1,null,null,A,H,G(A,w,D),V(A,w,q),w);return R.createVNode&&R.createVNode(tt),tt}function nt(A,w){return new B(1,r(A)||A===!0||A===!1?"":A,null,16,w,null,null,null)}function ut(A,w,D){var H=x(8192,8192,null,A,w,null,D,null);switch(H.childFlags){case 1:H.children=et(),H.childFlags=2;break;case 16:H.children=[nt(A)],H.childFlags=4;break}return H}function ft(A){var w=A.props;if(w){var D=A.flags;D&481&&(w.children!==void 0&&r(A.children)&&Pt(A,w.children),w.className!==void 0&&(r(A.className)&&(A.className=w.className||null),w.className=void 0)),w.key!==void 0&&(A.key=w.key,w.key=void 0),w.ref!==void 0&&(D&8?A.ref=v(A.ref,w.ref):A.ref=w.ref,w.ref=void 0)}return A}function W(A){var w=A.children,D=A.childFlags;return ut(D===2?X(w):w.map(X),D,A.key)}function X(A){var w=A.flags&-16385,D=A.props;if(w&14&&!c(D)){var H=D;D={};for(var q in H)D[q]=H[q]}return w&8192?W(A):new B(A.childFlags,A.children,A.className,w,A.key,D,A.ref,A.type)}function et(){return nt("",null)}function ct(A,w){var D=Rt(A);return x(1024,1024,null,D,0,null,D.key,w)}function at(A,w,D,H){for(var q=A.length;D<q;D++){var tt=A[D];if(!o(tt)){var z=H+$+D;if(t(tt))at(tt,w,0,z);else{if(n(tt))tt=nt(tt,z);else{var j=tt.key,st=u(j)&&j[0]===$;(tt.flags&81920||st)&&(tt=X(tt)),tt.flags|=65536,st?j.substring(0,H.length)!==H&&(tt.key=H+j):c(j)?tt.key=z:tt.key=H+j}w.push(tt)}}}}function St(A){switch(A){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case p:return 8192;default:return 1}}function Pt(A,w){var D,H=1;if(o(w))D=w;else if(n(w))H=16,D=w;else if(t(w)){for(var q=w.length,tt=0;tt<q;++tt){var z=w[tt];if(o(z)||t(z)){D=D||w.slice(0,tt),at(w,D,tt,"");break}else if(n(z))D=D||w.slice(0,tt),D.push(nt(z,$+tt));else{var j=z.key,st=(z.flags&81920)>0,vt=c(j),At=u(j)&&j[0]===$;st||vt||At?(D=D||w.slice(0,tt),(st||At)&&(z=X(z)),(vt||At)&&(z.key=$+tt),D.push(z)):D&&D.push(z),z.flags|=65536}}D=D||w,D.length===0?H=1:H=8}else D=w,D.flags|=65536,w.flags&81920&&(D=X(w)),H=2;return A.children=D,A.childFlags=H,A}function Rt(A){return o(A)||n(A)?nt(A,null):t(A)?ut(A,0,null):A.flags&16384?X(A):A}var Nt="http://www.w3.org/1999/xlink",ht="http://www.w3.org/XML/1998/namespace",dt={"xlink:actuate":Nt,"xlink:arcrole":Nt,"xlink:href":Nt,"xlink:role":Nt,"xlink:show":Nt,"xlink:title":Nt,"xlink:type":Nt,"xml:base":ht,"xml:lang":ht,"xml:space":ht};function J(A){return{onClick:A,onDblClick:A,onFocusIn:A,onFocusOut:A,onKeyDown:A,onKeyPress:A,onKeyUp:A,onMouseDown:A,onMouseMove:A,onMouseUp:A,onTouchEnd:A,onTouchMove:A,onTouchStart:A}}var Z=J(0),ot=J(null),gt=J(!0);function Et(A,w){var D=w.$EV;return D||(D=w.$EV=J(null)),D[A]||++Z[A]===1&&(ot[A]=lt(A)),D}function it(A,w){var D=w.$EV;D&&D[A]&&(--Z[A]===0&&(document.removeEventListener(d(A),ot[A]),ot[A]=null),D[A]=null)}function pt(A,w,D,H){if(a(D))Et(A,H)[A]=D;else if(f(D)){if(K(w,D))return;Et(A,H)[A]=D}else it(A,H)}function rt(A){return a(A.composedPath)?A.composedPath()[0]:A.target}function _(A,w,D,H){var q=rt(A);do{if(w&&q.disabled)return;var tt=q.$EV;if(tt){var z=tt[D];if(z&&(H.dom=q,z.event?z.event(z.data,A):z(A),A.cancelBubble))return}q=q.parentNode}while(!c(q))}function yt(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function Ct(){return this.defaultPrevented}function Mt(){return this.cancelBubble}function xt(A){var w={dom:document};return A.isDefaultPrevented=Ct,A.isPropagationStopped=Mt,A.stopPropagation=yt,Object.defineProperty(A,"currentTarget",{configurable:!0,get:function(){function D(){return w.dom}return D}()}),w}function Vt(A){return function(w){if(w.button!==0){w.stopPropagation();return}_(w,!0,A,xt(w))}}function Tt(A){return function(w){_(w,!1,A,xt(w))}}function lt(A){var w=A==="onClick"||A==="onDblClick"?Vt(A):Tt(A);return document.addEventListener(d(A),w),w}function mt(A,w){var D=document.createElement("i");return D.innerHTML=w,D.innerHTML===A.innerHTML}function Ot(A,w,D){if(A[w]){var H=A[w];H.event?H.event(H.data,D):H(D)}else{var q=w.toLowerCase();A[q]&&A[q](D)}}function bt(A,w){var D=function(q){var tt=this.$V;if(tt){var z=tt.props||s,j=tt.dom;if(u(A))Ot(z,A,q);else for(var st=0;st<A.length;++st)Ot(z,A[st],q);if(a(w)){var vt=this.$V,At=vt.props||s;w(At,j,!1,vt)}}};return Object.defineProperty(D,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),D}function It(A,w,D){var H="$"+w,q=A[H];if(q){if(q[1].wrapped)return;A.removeEventListener(q[0],q[1]),A[H]=null}a(D)&&(A.addEventListener(w,D),A[H]=[w,D])}function Lt(A){return A==="checkbox"||A==="radio"}var jt=bt("onInput",Ht),$t=bt(["onClick","onChange"],Ht);function kt(A){A.stopPropagation()}kt.wrapped=!0;function Yt(A,w){Lt(w.type)?(It(A,"change",$t),It(A,"click",kt)):It(A,"input",jt)}function Ht(A,w){var D=A.type,H=A.value,q=A.checked,tt=A.multiple,z=A.defaultValue,j=!r(H);D&&D!==w.type&&w.setAttribute("type",D),!r(tt)&&tt!==w.multiple&&(w.multiple=tt),!r(z)&&!j&&(w.defaultValue=z+""),Lt(D)?(j&&(w.value=H),r(q)||(w.checked=q)):j&&w.value!==H?(w.defaultValue=H,w.value=H):r(q)||(w.checked=q)}function Jt(A,w){if(A.type==="option")qt(A,w);else{var D=A.children,H=A.flags;if(H&4)Jt(D.$LI,w);else if(H&8)Jt(D,w);else if(A.childFlags===2)Jt(D,w);else if(A.childFlags&12)for(var q=0,tt=D.length;q<tt;++q)Jt(D[q],w)}}function qt(A,w){var D=A.props||s,H=A.dom;H.value=D.value,D.value===w||t(w)&&w.indexOf(D.value)!==-1?H.selected=!0:(!r(w)||!r(D.selected))&&(H.selected=D.selected||!1)}var Ae=bt("onChange",be);function Ee(A){It(A,"change",Ae)}function be(A,w,D,H){var q=!!A.multiple;!r(A.multiple)&&q!==w.multiple&&(w.multiple=q);var tt=A.selectedIndex;tt===-1&&(w.selectedIndex=-1);var z=H.childFlags;if(z!==1){var j=A.value;l(tt)&&tt>-1&&w.options[tt]&&(j=w.options[tt].value),D&&r(j)&&(j=A.defaultValue),Jt(H,j)}}var on=bt("onInput",xe),an=bt("onChange");function un(A,w){It(A,"input",on),w.onChange&&It(A,"change",an)}function xe(A,w,D){var H=A.value,q=w.value;if(r(H)){if(D){var tt=A.defaultValue;!r(tt)&&tt!==q&&(w.defaultValue=tt,w.value=tt)}}else q!==H&&(w.defaultValue=H,w.value=H)}function Fe(A,w,D,H,q,tt){A&64?Ht(H,D):A&256?be(H,D,q,w):A&128&&xe(H,D,q),tt&&(D.$V=w)}function ne(A,w,D){A&64?Yt(w,D):A&256?Ee(w):A&128&&un(w,D)}function Pe(A){return A.type&&Lt(A.type)?!r(A.checked):!r(A.value)}function Ve(){return{current:null}}function je(A){return{render:A}}function Ne(A){A&&!F(A,null)&&A.current&&(A.current=null)}function Ce(A,w,D){A&&(a(A)||A.current!==void 0)&&D.push(function(){!F(A,w)&&A.current!==void 0&&(A.current=w)})}function te(A,w){re(A),T(A,w)}function re(A){var w=A.flags,D=A.children,H;if(w&481){H=A.ref;var q=A.props;Ne(H);var tt=A.childFlags;if(!c(q))for(var z=Object.keys(q),j=0,st=z.length;j<st;j++){var vt=z[j];gt[vt]&&it(vt,A.dom)}tt&12?le(D):tt===2&&re(D)}else D&&(w&4?(a(D.componentWillUnmount)&&D.componentWillUnmount(),Ne(A.ref),D.$UN=!0,re(D.$LI)):w&8?(H=A.ref,!r(H)&&a(H.onComponentWillUnmount)&&H.onComponentWillUnmount(b(A,!0),A.props||s),re(D)):w&1024?te(D,A.ref):w&8192&&A.childFlags&12&&le(D))}function le(A){for(var w=0,D=A.length;w<D;++w)re(A[w])}function zt(A){A.textContent=""}function Te(A,w,D){le(D),w.flags&8192?T(w,A):zt(A)}function Qt(A){var w=A.event;return function(D){w(A.data,D)}}function sn(A,w,D,H){if(f(D)){if(K(w,D))return;D=Qt(D)}It(H,d(A),D)}function Xt(A,w,D){if(r(w)){D.removeAttribute("style");return}var H=D.style,q,tt;if(u(w)){H.cssText=w;return}if(!r(A)&&!u(A)){for(q in w)tt=w[q],tt!==A[q]&&H.setProperty(q,tt);for(q in A)r(w[q])&&H.removeProperty(q)}else for(q in w)tt=w[q],H.setProperty(q,tt)}function Oe(A,w,D,H){var q=A&&A.__html||"",tt=w&&w.__html||"";q!==tt&&!r(tt)&&!mt(H,tt)&&(c(D)||(D.childFlags&12?le(D.children):D.childFlags===2&&re(D.children),D.children=null,D.childFlags=1),H.innerHTML=tt)}function Ie(A,w,D,H,q,tt,z){switch(A){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":H.autofocus=!!D;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":H[A]=!!D;break;case"defaultChecked":case"value":case"volume":if(tt&&A==="value")break;var j=r(D)?"":D;H[A]!==j&&(H[A]=j);break;case"style":Xt(w,D,H);break;case"dangerouslySetInnerHTML":Oe(w,D,z,H);break;default:gt[A]?pt(A,w,D,H):A.charCodeAt(0)===111&&A.charCodeAt(1)===110?sn(A,w,D,H):r(D)?H.removeAttribute(A):q&&dt[A]?H.setAttributeNS(dt[A],A,D):H.setAttribute(A,D);break}}function Ue(A,w,D,H,q){var tt=!1,z=(w&448)>0;z&&(tt=Pe(D),tt&&ne(w,H,D));for(var j in D)Ie(j,null,D[j],H,q,tt,null);z&&Fe(w,A,H,D,!0,tt)}function Me(A,w,D){var H=Rt(A.render(w,A.state,D)),q=D;return a(A.getChildContext)&&(q=v(D,A.getChildContext())),A.$CX=q,H}function Ke(A,w,D,H,q,tt){var z=new w(D,H),j=z.$N=!!(w.getDerivedStateFromProps||z.getSnapshotBeforeUpdate);if(z.$SVG=q,z.$L=tt,A.children=z,z.$BS=!1,z.context=H,z.props===s&&(z.props=D),j)z.state=N(z,D,z.state);else if(a(z.componentWillMount)){z.$BR=!0,z.componentWillMount();var st=z.$PS;if(!c(st)){var vt=z.state;if(c(vt))z.state=st;else for(var At in st)vt[At]=st[At];z.$PS=null}z.$BR=!1}return z.$LI=Me(z,D,H),z}function Re(A,w){var D=A.props||s;return A.flags&32768?A.type.render(D,A.ref,w):A.type(D,w)}function Wt(A,w,D,H,q,tt){var z=A.flags|=16384;z&481?de(A,w,D,H,q,tt):z&4?Le(A,w,D,H,q,tt):z&8?(cn(A,w,D,H,q,tt),me(A,tt)):z&512||z&16?we(A,w,q):z&8192?$e(A,D,w,H,q,tt):z&1024&&fe(A,D,w,q,tt)}function fe(A,w,D,H,q){Wt(A.children,A.ref,w,!1,null,q);var tt=et();we(tt,D,H),A.dom=tt.dom}function $e(A,w,D,H,q,tt){var z=A.children,j=A.childFlags;j&12&&z.length===0&&(j=A.childFlags=2,z=A.children=et()),j===2?Wt(z,D,w,H,q,tt):oe(z,D,w,H,q,tt)}function we(A,w,D){var H=A.dom=document.createTextNode(A.children);c(w)||m(w,H,D)}function de(A,w,D,H,q,tt){var z=A.flags,j=A.props,st=A.className,vt=A.childFlags,At=A.dom=S(A.type,H=H||(z&32)>0),wt=A.children;if(!r(st)&&st!==""&&(H?At.setAttribute("class",st):At.className=st),vt===16)L(At,wt);else if(vt!==1){var Bt=H&&A.type!=="foreignObject";vt===2?(wt.flags&16384&&(A.children=wt=X(wt)),Wt(wt,At,D,Bt,null,tt)):(vt===8||vt===4)&&oe(wt,At,D,Bt,null,tt)}c(w)||m(w,At,q),c(j)||Ue(A,z,j,At,H),Ce(A.ref,At,tt)}function oe(A,w,D,H,q,tt){for(var z=0;z<A.length;++z){var j=A[z];j.flags&16384&&(A[z]=j=X(j)),Wt(j,w,D,H,q,tt)}}function Le(A,w,D,H,q,tt){var z=Ke(A,A.type,A.props||s,D,H,tt);Wt(z.$LI,w,z.$CX,H,q,tt),fn(A.ref,z,tt)}function cn(A,w,D,H,q,tt){Wt(A.children=Rt(Re(A,D)),w,D,H,q,tt)}function ln(A){return function(){A.componentDidMount()}}function fn(A,w,D){Ce(A,w,D),a(w.componentDidMount)&&D.push(ln(w))}function Ge(A,w){return function(){A.onComponentDidMount(b(w,!0),w.props||s)}}function me(A,w){var D=A.ref;r(D)||(F(D.onComponentWillMount,A.props||s),a(D.onComponentDidMount)&&w.push(Ge(D,A)))}function ye(A,w,D,H,q,tt){re(A),w.flags&A.flags&2033?(Wt(w,null,H,q,null,tt),I(D,w.dom,A.dom)):(Wt(w,D,H,q,b(A,!0),tt),T(A,D))}function Zt(A,w,D,H,q,tt,z){var j=w.flags|=16384;A.flags!==j||A.type!==w.type||A.key!==w.key||j&2048?A.flags&16384?ye(A,w,D,H,q,z):Wt(w,D,H,q,tt,z):j&481?gn(A,w,H,q,j,z):j&4?He(A,w,D,H,q,tt,z):j&8?We(A,w,D,H,q,tt,z):j&16?yn(A,w):j&512?w.dom=A.dom:j&8192?hn(A,w,D,H,q,z):Ye(A,w,H,z)}function dn(A,w,D){A!==w&&(A!==""?D.firstChild.nodeValue=w:L(D,w))}function vn(A,w){A.textContent!==w&&(A.textContent=w)}function hn(A,w,D,H,q,tt){var z=A.children,j=w.children,st=A.childFlags,vt=w.childFlags,At=null;vt&12&&j.length===0&&(vt=w.childFlags=2,j=w.children=et());var wt=(vt&2)!==0;if(st&12){var Bt=z.length;(st&8&&vt&8||wt||!wt&&j.length>Bt)&&(At=b(z[Bt-1],!1).nextSibling)}Se(st,vt,z,j,D,H,q,At,A,tt)}function Ye(A,w,D,H){var q=A.ref,tt=w.ref,z=w.children;if(Se(A.childFlags,w.childFlags,A.children,z,q,D,!1,null,A,H),w.dom=A.dom,q!==tt&&!o(z)){var j=z.dom;O(q,j),g(tt,j)}}function gn(A,w,D,H,q,tt){var z=w.dom=A.dom,j=A.props,st=w.props,vt=!1,At=!1,wt;if(H=H||(q&32)>0,j!==st){var Bt=j||s;if(wt=st||s,wt!==s){vt=(q&448)>0,vt&&(At=Pe(wt));for(var Ft in wt){var Dt=Bt[Ft],Kt=wt[Ft];Dt!==Kt&&Ie(Ft,Dt,Kt,z,H,At,A)}}if(Bt!==s)for(var Ut in Bt)r(wt[Ut])&&!r(Bt[Ut])&&Ie(Ut,Bt[Ut],null,z,H,At,A)}var ie=w.children,ee=w.className;A.className!==ee&&(r(ee)?z.removeAttribute("class"):H?z.setAttribute("class",ee):z.className=ee),q&4096?vn(z,ie):Se(A.childFlags,w.childFlags,A.children,ie,z,D,H&&w.type!=="foreignObject",null,A,tt),vt&&Fe(q,w,z,wt,!1,At);var en=w.ref,ce=A.ref;ce!==en&&(Ne(ce),Ce(en,z,tt))}function Be(A,w,D,H,q,tt){re(A),oe(w,D,H,q,b(A,!0),tt),T(A,D)}function Se(A,w,D,H,q,tt,z,j,st,vt){switch(A){case 2:switch(w){case 2:Zt(D,H,q,tt,z,j,vt);break;case 1:te(D,q);break;case 16:re(D),L(q,H);break;default:Be(D,H,q,tt,z,vt);break}break;case 1:switch(w){case 2:Wt(H,q,tt,z,j,vt);break;case 1:break;case 16:L(q,H);break;default:oe(H,q,tt,z,j,vt);break}break;case 16:switch(w){case 16:dn(D,H,q);break;case 2:zt(q),Wt(H,q,tt,z,j,vt);break;case 1:zt(q);break;default:zt(q),oe(H,q,tt,z,j,vt);break}break;default:switch(w){case 16:le(D),L(q,H);break;case 2:Te(q,st,D),Wt(H,q,tt,z,j,vt);break;case 1:Te(q,st,D);break;default:var At=D.length|0,wt=H.length|0;At===0?wt>0&&oe(H,q,tt,z,j,vt):wt===0?Te(q,st,D):w===8&&A===8?Sn(D,H,q,tt,z,At,wt,j,st,vt):he(D,H,q,tt,z,At,wt,j,vt);break}break}}function ue(A,w,D,H,q){q.push(function(){A.componentDidUpdate(w,D,H)})}function ve(A,w,D,H,q,tt,z,j,st){var vt=A.state,At=A.props,wt=!!A.$N,Bt=a(A.shouldComponentUpdate);if(wt&&(w=N(A,D,w!==vt?v(vt,w):w)),z||!Bt||Bt&&A.shouldComponentUpdate(D,w,q)){!wt&&a(A.componentWillUpdate)&&A.componentWillUpdate(D,w,q),A.props=D,A.state=w,A.context=q;var Ft=null,Dt=Me(A,D,q);wt&&a(A.getSnapshotBeforeUpdate)&&(Ft=A.getSnapshotBeforeUpdate(At,vt)),Zt(A.$LI,Dt,H,A.$CX,tt,j,st),A.$LI=Dt,a(A.componentDidUpdate)&&ue(A,At,vt,Ft,st)}else A.props=D,A.state=w,A.context=q}function He(A,w,D,H,q,tt,z){var j=w.children=A.children;if(!c(j)){j.$L=z;var st=w.props||s,vt=w.ref,At=A.ref,wt=j.state;if(!j.$N){if(a(j.componentWillReceiveProps)){if(j.$BR=!0,j.componentWillReceiveProps(st,H),j.$UN)return;j.$BR=!1}c(j.$PS)||(wt=v(wt,j.$PS),j.$PS=null)}ve(j,wt,st,D,H,q,!1,tt,z),At!==vt&&(Ne(At),Ce(vt,j,z))}}function We(A,w,D,H,q,tt,z){var j=!0,st=w.props||s,vt=w.ref,At=A.props,wt=!r(vt),Bt=A.children;if(wt&&a(vt.onComponentShouldUpdate)&&(j=vt.onComponentShouldUpdate(At,st)),j!==!1){wt&&a(vt.onComponentWillUpdate)&&vt.onComponentWillUpdate(At,st);var Ft=Rt(Re(w,H));Zt(Bt,Ft,D,H,q,tt,z),w.children=Ft,wt&&a(vt.onComponentDidUpdate)&&vt.onComponentDidUpdate(At,st)}else w.children=Bt}function yn(A,w){var D=w.children,H=w.dom=A.dom;D!==A.children&&(H.nodeValue=D)}function he(A,w,D,H,q,tt,z,j,st){for(var vt=tt>z?z:tt,At=0,wt,Bt;At<vt;++At)wt=w[At],Bt=A[At],wt.flags&16384&&(wt=w[At]=X(wt)),Zt(Bt,wt,D,H,q,j,st),A[At]=wt;if(tt<z)for(At=vt;At<z;++At)wt=w[At],wt.flags&16384&&(wt=w[At]=X(wt)),Wt(wt,D,H,q,j,st);else if(tt>z)for(At=vt;At<tt;++At)te(A[At],D)}function Sn(A,w,D,H,q,tt,z,j,st,vt){var At=tt-1,wt=z-1,Bt=0,Ft=A[Bt],Dt=w[Bt],Kt,Ut;t:{for(;Ft.key===Dt.key;){if(Dt.flags&16384&&(w[Bt]=Dt=X(Dt)),Zt(Ft,Dt,D,H,q,j,vt),A[Bt]=Dt,++Bt,Bt>At||Bt>wt)break t;Ft=A[Bt],Dt=w[Bt]}for(Ft=A[At],Dt=w[wt];Ft.key===Dt.key;){if(Dt.flags&16384&&(w[wt]=Dt=X(Dt)),Zt(Ft,Dt,D,H,q,j,vt),A[At]=Dt,At--,wt--,Bt>At||Bt>wt)break t;Ft=A[At],Dt=w[wt]}}if(Bt>At){if(Bt<=wt)for(Kt=wt+1,Ut=Kt<z?b(w[Kt],!0):j;Bt<=wt;)Dt=w[Bt],Dt.flags&16384&&(w[Bt]=Dt=X(Dt)),++Bt,Wt(Dt,D,H,q,Ut,vt)}else if(Bt>wt)for(;Bt<=At;)te(A[Bt++],D);else En(A,w,H,tt,z,At,wt,Bt,D,q,j,st,vt)}function En(A,w,D,H,q,tt,z,j,st,vt,At,wt,Bt){var Ft,Dt,Kt,Ut=0,ie=j,ee=j,en=tt-j+1,ce=z-j+1,nn=new Int32Array(ce+1),pe=en===H,Cn=!1,_t=0,rn=0;if(q<4||(en|ce)<32)for(Ut=ie;Ut<=tt;++Ut)if(Ft=A[Ut],rn<ce){for(j=ee;j<=z;j++)if(Dt=w[j],Ft.key===Dt.key){if(nn[j-ee]=Ut+1,pe)for(pe=!1;ie<Ut;)te(A[ie++],st);_t>j?Cn=!0:_t=j,Dt.flags&16384&&(w[j]=Dt=X(Dt)),Zt(Ft,Dt,st,D,vt,At,Bt),++rn;break}!pe&&j>z&&te(Ft,st)}else pe||te(Ft,st);else{var On={};for(Ut=ee;Ut<=z;++Ut)On[w[Ut].key]=Ut;for(Ut=ie;Ut<=tt;++Ut)if(Ft=A[Ut],rn<ce)if(j=On[Ft.key],j!==void 0){if(pe)for(pe=!1;Ut>ie;)te(A[ie++],st);nn[j-ee]=Ut+1,_t>j?Cn=!0:_t=j,Dt=w[j],Dt.flags&16384&&(w[j]=Dt=X(Dt)),Zt(Ft,Dt,st,D,vt,At,Bt),++rn}else pe||te(Ft,st);else pe||te(Ft,st)}if(pe)Te(st,wt,A),oe(w,st,D,vt,At,Bt);else if(Cn){var In=mn(nn);for(j=In.length-1,Ut=ce-1;Ut>=0;Ut--)nn[Ut]===0?(_t=Ut+ee,Dt=w[_t],Dt.flags&16384&&(w[_t]=Dt=X(Dt)),Kt=_t+1,Wt(Dt,st,D,vt,Kt<q?b(w[Kt],!0):At,Bt)):j<0||Ut!==In[j]?(_t=Ut+ee,Dt=w[_t],Kt=_t+1,P(Dt,st,Kt<q?b(w[Kt],!0):At)):j--}else if(rn!==ce)for(Ut=ce-1;Ut>=0;Ut--)nn[Ut]===0&&(_t=Ut+ee,Dt=w[_t],Dt.flags&16384&&(w[_t]=Dt=X(Dt)),Kt=_t+1,Wt(Dt,st,D,vt,Kt<q?b(w[Kt],!0):At,Bt))}var Gt,se,pn=0;function mn(A){var w=0,D=0,H=0,q=0,tt=0,z=0,j=0,st=A.length;for(st>pn&&(pn=st,Gt=new Int32Array(st),se=new Int32Array(st));D<st;++D)if(w=A[D],w!==0){if(H=Gt[q],A[H]<w){se[D]=H,Gt[++q]=D;continue}for(tt=0,z=q;tt<z;)j=tt+z>>1,A[Gt[j]]<w?tt=j+1:z=j;w<A[Gt[tt]]&&(tt>0&&(se[D]=Gt[tt-1]),Gt[tt]=D)}tt=q+1;var vt=new Int32Array(tt);for(z=Gt[tt-1];tt-- >0;)vt[tt]=z,z=se[z],Gt[tt]=0;return vt}var ke=typeof document!="undefined";ke&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function ze(A,w,D,H){var q=[],tt=w.$V;M.v=!0,r(tt)?r(A)||(A.flags&16384&&(A=X(A)),Wt(A,w,H,!1,null,q),w.$V=A,tt=A):r(A)?(te(tt,w),w.$V=null):(A.flags&16384&&(A=X(A)),Zt(tt,A,w,H,!1,null,q),tt=w.$V=A),C(q),M.v=!1,a(D)&&D(),a(R.renderComplete)&&R.renderComplete(tt,w)}function Xe(A,w,D,H){D===void 0&&(D=null),H===void 0&&(H=s),ze(A,w,D,H)}function bn(A){return function(){function w(D,H,q,tt){A||(A=D),Xe(H,A,q,tt)}return w}()}var ge=[],Qe=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(A){window.setTimeout(A,0)},Je=!1;function ae(A,w,D,H){var q=A.$PS;if(a(w)&&(w=w(q?v(A.state,q):A.state,A.props,A.context)),r(q))A.$PS=w;else for(var tt in w)q[tt]=w[tt];if(A.$BR)a(D)&&A.$L.push(D.bind(A));else{if(!M.v&&ge.length===0){qe(A,H),a(D)&&D.call(A);return}if(ge.indexOf(A)===-1&&ge.push(A),H&&(A.$F=!0),Je||(Je=!0,Qe(_e)),a(D)){var z=A.$QU;z||(z=A.$QU=[]),z.push(D)}}}function Ze(A){for(var w=A.$QU,D=0;D<w.length;++D)w[D].call(A);A.$QU=null}function _e(){var A;for(Je=!1;A=ge.shift();)if(!A.$UN){var w=A.$F;A.$F=!1,qe(A,w),A.$QU&&Ze(A)}}function qe(A,w){if(w||!A.$BR){var D=A.$PS;A.$PS=null;var H=[];M.v=!0,ve(A,v(A.state,D),A.props,b(A.$LI,!0).parentNode,A.context,A.$SVG,w,null,H),C(H),M.v=!1}else A.state=A.$PS,A.$PS=null}var tn=e.Component=function(){function A(w,D){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=w||s,this.context=D||s}return A}();tn.prototype.forceUpdate=function(){function A(w){this.$UN||ae(this,{},w,!0)}return A}(),tn.prototype.setState=function(){function A(w,D){this.$UN||this.$BS||ae(this,w,D,!1)}return A}(),tn.prototype.render=function(){function A(w,D,H){return null}return A}();var De=e.version="7.4.11"},28823:function(E,e,t){"use strict";e.__esModule=!0;var n=t(60208);Object.keys(n).forEach(function(r){r==="default"||r==="__esModule"||r in e&&e[r]===n[r]||(e[r]=n[r])})},32883:function(E,e){"use strict";e.__esModule=!0,e.VNodeFlags=e.ChildFlags=void 0;var t;(function(r){r[r.HtmlElement=1]="HtmlElement",r[r.ComponentUnknown=2]="ComponentUnknown",r[r.ComponentClass=4]="ComponentClass",r[r.ComponentFunction=8]="ComponentFunction",r[r.Text=16]="Text",r[r.SvgElement=32]="SvgElement",r[r.InputElement=64]="InputElement",r[r.TextareaElement=128]="TextareaElement",r[r.SelectElement=256]="SelectElement",r[r.Void=512]="Void",r[r.Portal=1024]="Portal",r[r.ReCreate=2048]="ReCreate",r[r.ContentEditable=4096]="ContentEditable",r[r.Fragment=8192]="Fragment",r[r.InUse=16384]="InUse",r[r.ForwardRef=32768]="ForwardRef",r[r.Normalized=65536]="Normalized",r[r.ForwardRefComponent=32776]="ForwardRefComponent",r[r.FormElement=448]="FormElement",r[r.Element=481]="Element",r[r.Component=14]="Component",r[r.DOMRef=2033]="DOMRef",r[r.InUseOrNormalized=81920]="InUseOrNormalized",r[r.ClearInUse=-16385]="ClearInUse",r[r.ComponentKnown=12]="ComponentKnown"})(t||(e.VNodeFlags=t={}));var n;(function(r){r[r.UnknownChildren=0]="UnknownChildren",r[r.HasInvalidChildren=1]="HasInvalidChildren",r[r.HasVNodeChildren=2]="HasVNodeChildren",r[r.HasNonKeyedChildren=4]="HasNonKeyedChildren",r[r.HasKeyedChildren=8]="HasKeyedChildren",r[r.HasTextChildren=16]="HasTextChildren",r[r.MultipleChildren=12]="MultipleChildren"})(n||(e.ChildFlags=n={}))},16970:function(E){"use strict";var e=function(t){"use strict";var n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(B,x,V){B[x]=V.value},a,u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",h=u.toStringTag||"@@toStringTag";function v(B,x,V){return Object.defineProperty(B,x,{value:V,enumerable:!0,configurable:!0,writable:!0}),B[x]}try{v({},"")}catch(B){v=function(V,G,Y){return V[G]=Y}}function i(B,x,V,G){var Y=x&&x.prototype instanceof S?x:S,k=Object.create(Y.prototype),nt=new U(G||[]);return o(k,"_invoke",{value:M(B,V,nt)}),k}t.wrap=i;function f(B,x,V){try{return{type:"normal",arg:B.call(x,V)}}catch(G){return{type:"throw",arg:G}}}var s="suspendedStart",p="suspendedYield",d="executing",g="completed",m={};function S(){}function I(){}function O(){}var C={};v(C,l,function(){return this});var y=Object.getPrototypeOf,b=y&&y(y(F([])));b&&b!==n&&r.call(b,l)&&(C=b);var T=O.prototype=S.prototype=Object.create(C);I.prototype=O,o(T,"constructor",{value:O,configurable:!0}),o(O,"constructor",{value:I,configurable:!0}),I.displayName=v(O,h,"GeneratorFunction");function P(B){["next","throw","return"].forEach(function(x){v(B,x,function(V){return this._invoke(x,V)})})}t.isGeneratorFunction=function(B){var x=typeof B=="function"&&B.constructor;return x?x===I||(x.displayName||x.name)==="GeneratorFunction":!1},t.mark=function(B){return Object.setPrototypeOf?Object.setPrototypeOf(B,O):(B.__proto__=O,v(B,h,"GeneratorFunction")),B.prototype=Object.create(T),B},t.awrap=function(B){return{__await:B}};function N(B,x){function V(k,nt,ut,ft){var W=f(B[k],B,nt);if(W.type==="throw")ft(W.arg);else{var X=W.arg,et=X.value;return et&&typeof et=="object"&&r.call(et,"__await")?x.resolve(et.__await).then(function(ct){V("next",ct,ut,ft)},function(ct){V("throw",ct,ut,ft)}):x.resolve(et).then(function(ct){X.value=ct,ut(X)},function(ct){return V("throw",ct,ut,ft)})}}var G;function Y(k,nt){function ut(){return new x(function(ft,W){V(k,nt,ft,W)})}return G=G?G.then(ut,ut):ut()}o(this,"_invoke",{value:Y})}P(N.prototype),v(N.prototype,c,function(){return this}),t.AsyncIterator=N,t.async=function(B,x,V,G,Y){Y===void 0&&(Y=Promise);var k=new N(i(B,x,V,G),Y);return t.isGeneratorFunction(x)?k:k.next().then(function(nt){return nt.done?nt.value:k.next()})};function M(B,x,V){var G=s;return function(){function Y(k,nt){if(G===d)throw new Error("Generator is already running");if(G===g){if(k==="throw")throw nt;return $()}for(V.method=k,V.arg=nt;;){var ut=V.delegate;if(ut){var ft=R(ut,V);if(ft){if(ft===m)continue;return ft}}if(V.method==="next")V.sent=V._sent=V.arg;else if(V.method==="throw"){if(G===s)throw G=g,V.arg;V.dispatchException(V.arg)}else V.method==="return"&&V.abrupt("return",V.arg);G=d;var W=f(B,x,V);if(W.type==="normal"){if(G=V.done?g:p,W.arg===m)continue;return{value:W.arg,done:V.done}}else W.type==="throw"&&(G=g,V.method="throw",V.arg=W.arg)}}return Y}()}function R(B,x){var V=x.method,G=B.iterator[V];if(G===a)return x.delegate=null,V==="throw"&&B.iterator.return&&(x.method="return",x.arg=a,R(B,x),x.method==="throw")||V!=="return"&&(x.method="throw",x.arg=new TypeError("The iterator does not provide a '"+V+"' method")),m;var Y=f(G,B.iterator,x.arg);if(Y.type==="throw")return x.method="throw",x.arg=Y.arg,x.delegate=null,m;var k=Y.arg;if(!k)return x.method="throw",x.arg=new TypeError("iterator result is not an object"),x.delegate=null,m;if(k.done)x[B.resultName]=k.value,x.next=B.nextLoc,x.method!=="return"&&(x.method="next",x.arg=a);else return k;return x.delegate=null,m}P(T),v(T,h,"Generator"),v(T,l,function(){return this}),v(T,"toString",function(){return"[object Generator]"});function L(B){var x={tryLoc:B[0]};1 in B&&(x.catchLoc=B[1]),2 in B&&(x.finallyLoc=B[2],x.afterLoc=B[3]),this.tryEntries.push(x)}function K(B){var x=B.completion||{};x.type="normal",delete x.arg,B.completion=x}function U(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(L,this),this.reset(!0)}t.keys=function(B){var x=Object(B),V=[];for(var G in x)V.push(G);return V.reverse(),function(){function Y(){for(;V.length;){var k=V.pop();if(k in x)return Y.value=k,Y.done=!1,Y}return Y.done=!0,Y}return Y}()};function F(B){if(B!=null){var x=B[l];if(x)return x.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var V=-1,G=function(){function Y(){for(;++V<B.length;)if(r.call(B,V))return Y.value=B[V],Y.done=!1,Y;return Y.value=a,Y.done=!0,Y}return Y}();return G.next=G}}throw new TypeError(typeof B+" is not iterable")}t.values=F;function $(){return{value:a,done:!0}}return U.prototype={constructor:U,reset:function(){function B(x){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(K),!x)for(var V in this)V.charAt(0)==="t"&&r.call(this,V)&&!isNaN(+V.slice(1))&&(this[V]=a)}return B}(),stop:function(){function B(){this.done=!0;var x=this.tryEntries[0],V=x.completion;if(V.type==="throw")throw V.arg;return this.rval}return B}(),dispatchException:function(){function B(x){if(this.done)throw x;var V=this;function G(W,X){return nt.type="throw",nt.arg=x,V.next=W,X&&(V.method="next",V.arg=a),!!X}for(var Y=this.tryEntries.length-1;Y>=0;--Y){var k=this.tryEntries[Y],nt=k.completion;if(k.tryLoc==="root")return G("end");if(k.tryLoc<=this.prev){var ut=r.call(k,"catchLoc"),ft=r.call(k,"finallyLoc");if(ut&&ft){if(this.prev<k.catchLoc)return G(k.catchLoc,!0);if(this.prev<k.finallyLoc)return G(k.finallyLoc)}else if(ut){if(this.prev<k.catchLoc)return G(k.catchLoc,!0)}else if(ft){if(this.prev<k.finallyLoc)return G(k.finallyLoc)}else throw new Error("try statement without catch or finally")}}}return B}(),abrupt:function(){function B(x,V){for(var G=this.tryEntries.length-1;G>=0;--G){var Y=this.tryEntries[G];if(Y.tryLoc<=this.prev&&r.call(Y,"finallyLoc")&&this.prev<Y.finallyLoc){var k=Y;break}}k&&(x==="break"||x==="continue")&&k.tryLoc<=V&&V<=k.finallyLoc&&(k=null);var nt=k?k.completion:{};return nt.type=x,nt.arg=V,k?(this.method="next",this.next=k.finallyLoc,m):this.complete(nt)}return B}(),complete:function(){function B(x,V){if(x.type==="throw")throw x.arg;return x.type==="break"||x.type==="continue"?this.next=x.arg:x.type==="return"?(this.rval=this.arg=x.arg,this.method="return",this.next="end"):x.type==="normal"&&V&&(this.next=V),m}return B}(),finish:function(){function B(x){for(var V=this.tryEntries.length-1;V>=0;--V){var G=this.tryEntries[V];if(G.finallyLoc===x)return this.complete(G.completion,G.afterLoc),K(G),m}}return B}(),catch:function(){function B(x){for(var V=this.tryEntries.length-1;V>=0;--V){var G=this.tryEntries[V];if(G.tryLoc===x){var Y=G.completion;if(Y.type==="throw"){var k=Y.arg;K(G)}return k}}throw new Error("illegal catch attempt")}return B}(),delegateYield:function(){function B(x,V,G){return this.delegate={iterator:F(x),resultName:V,nextLoc:G},this.method==="next"&&(this.arg=a),m}return B}()},t}(E.exports);try{regeneratorRuntime=e}catch(t){typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},11386:function(){"use strict";self.fetch||(self.fetch=function(E,e){return e=e||{},new Promise(function(t,n){var r=new XMLHttpRequest,o=[],a={},u=function(){function c(){return{ok:(r.status/100|0)==2,statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){function h(){return Promise.resolve(r.responseText)}return h}(),json:function(){function h(){return Promise.resolve(r.responseText).then(JSON.parse)}return h}(),blob:function(){function h(){return Promise.resolve(new Blob([r.response]))}return h}(),clone:c,headers:{keys:function(){function h(){return o}return h}(),entries:function(){function h(){return o.map(function(v){return[v,r.getResponseHeader(v)]})}return h}(),get:function(){function h(v){return r.getResponseHeader(v)}return h}(),has:function(){function h(v){return r.getResponseHeader(v)!=null}return h}()}}}return c}();for(var l in r.open(e.method||"get",E,!0),r.onload=function(){r.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(c,h){a[h]||o.push(a[h]=h)}),t(u())},r.onerror=n,r.withCredentials=e.credentials=="include",e.headers)r.setRequestHeader(l,e.headers[l]);r.send(e.body||null)})})},72026:function(E,e){"use strict";e.__esModule=!0,e.zipWith=e.zip=e.uniqBy=e.uniq=e.toKeyedArray=e.toArray=e.sortBy=e.sort=e.reduce=e.range=e.map=e.filterMap=e.filter=void 0;function t(S,I){var O=typeof Symbol!="undefined"&&S[Symbol.iterator]||S["@@iterator"];if(O)return(O=O.call(S)).next.bind(O);if(Array.isArray(S)||(O=n(S))||I&&S&&typeof S.length=="number"){O&&(S=O);var C=0;return function(){return C>=S.length?{done:!0}:{done:!1,value:S[C++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(S,I){if(S){if(typeof S=="string")return r(S,I);var O=Object.prototype.toString.call(S).slice(8,-1);if(O==="Object"&&S.constructor&&(O=S.constructor.name),O==="Map"||O==="Set")return Array.from(S);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return r(S,I)}}function r(S,I){(I==null||I>S.length)&&(I=S.length);for(var O=0,C=new Array(I);O<I;O++)C[O]=S[O];return C}/** +(function(){(function(){var An={66641:function(E,e,t){"use strict";e.__esModule=!0,e.createPopper=void 0,e.popperGenerator=p;var n=i(t(8823)),r=i(t(19820)),o=i(t(54826)),a=i(t(43243)),u=i(t(17859)),l=i(t(80798)),c=i(t(46343)),h=i(t(31584));e.detectOverflow=h.default;var d=t(72600);function i(g){return g&&g.__esModule?g:{default:g}}var v={placement:"bottom",modifiers:[],strategy:"absolute"};function s(){for(var g=arguments.length,m=new Array(g),b=0;b<g;b++)m[b]=arguments[b];return!m.some(function(I){return!(I&&typeof I.getBoundingClientRect=="function")})}function p(g){g===void 0&&(g={});var m=g,b=m.defaultModifiers,I=b===void 0?[]:b,T=m.defaultOptions,C=T===void 0?v:T;return function(){function S(y,O,A){A===void 0&&(A=C);var N={placement:"bottom",orderedModifiers:[],options:Object.assign({},v,C),modifiersData:{},elements:{reference:y,popper:O},attributes:{},styles:{}},M=[],R=!1,L={state:N,setOptions:function(){function V(G){var B=typeof G=="function"?G(N.options):G;F(),N.options=Object.assign({},C,N.options,B),N.scrollParents={reference:(0,d.isElement)(y)?(0,o.default)(y):y.contextElement?(0,o.default)(y.contextElement):[],popper:(0,o.default)(O)};var U=(0,u.default)((0,c.default)([].concat(I,N.options.modifiers)));return N.orderedModifiers=U.filter(function(j){return j.enabled}),x(),L.update()}return V}(),forceUpdate:function(){function V(){if(!R){var G=N.elements,B=G.reference,U=G.popper;if(s(B,U)){N.rects={reference:(0,n.default)(B,(0,a.default)(U),N.options.strategy==="fixed"),popper:(0,r.default)(U)},N.reset=!1,N.placement=N.options.placement,N.orderedModifiers.forEach(function(gt){return N.modifiersData[gt.name]=Object.assign({},gt.data)});for(var j=0;j<N.orderedModifiers.length;j++){if(N.reset===!0){N.reset=!1,j=-1;continue}var K=N.orderedModifiers[j],$=K.fn,W=K.options,nt=W===void 0?{}:W,st=K.name;typeof $=="function"&&(N=$({state:N,options:nt,name:st,instance:L})||N)}}}}return V}(),update:(0,l.default)(function(){return new Promise(function(V){L.forceUpdate(),V(N)})}),destroy:function(){function V(){F(),R=!0}return V}()};if(!s(y,O))return L;L.setOptions(A).then(function(V){!R&&A.onFirstUpdate&&A.onFirstUpdate(V)});function x(){N.orderedModifiers.forEach(function(V){var G=V.name,B=V.options,U=B===void 0?{}:B,j=V.effect;if(typeof j=="function"){var K=j({state:N,name:G,instance:L,options:U}),$=function(){function W(){}return W}();M.push(K||$)}})}function F(){M.forEach(function(V){return V()}),M=[]}return L}return S}()}var f=e.createPopper=p()},96343:function(E,e,t){"use strict";e.__esModule=!0,e.default=r;var n=t(72600);function r(o,a){var u=a.getRootNode&&a.getRootNode();if(o.contains(a))return!0;if(u&&(0,n.isShadowRoot)(u)){var l=a;do{if(l&&o.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}},32125:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=t(72600),r=t(69031),o=u(t(81020)),a=u(t(14894));function u(c){return c&&c.__esModule?c:{default:c}}function l(c,h,d){h===void 0&&(h=!1),d===void 0&&(d=!1);var i=c.getBoundingClientRect(),v=1,s=1;h&&(0,n.isHTMLElement)(c)&&(v=c.offsetWidth>0&&(0,r.round)(i.width)/c.offsetWidth||1,s=c.offsetHeight>0&&(0,r.round)(i.height)/c.offsetHeight||1);var p=(0,n.isElement)(c)?(0,o.default)(c):window,f=p.visualViewport,g=!(0,a.default)()&&d,m=(i.left+(g&&f?f.offsetLeft:0))/v,b=(i.top+(g&&f?f.offsetTop:0))/s,I=i.width/v,T=i.height/s;return{width:I,height:T,top:b,right:m+I,bottom:b+T,left:m,x:m,y:b}}},86380:function(E,e,t){"use strict";e.__esModule=!0,e.default=T;var n=t(41521),r=g(t(2868)),o=g(t(39799)),a=g(t(54826)),u=g(t(43243)),l=g(t(33733)),c=g(t(14522)),h=t(72600),d=g(t(32125)),i=g(t(34972)),v=g(t(96343)),s=g(t(13203)),p=g(t(31855)),f=t(69031);function g(C){return C&&C.__esModule?C:{default:C}}function m(C,S){var y=(0,d.default)(C,!1,S==="fixed");return y.top=y.top+C.clientTop,y.left=y.left+C.clientLeft,y.bottom=y.top+C.clientHeight,y.right=y.left+C.clientWidth,y.width=C.clientWidth,y.height=C.clientHeight,y.x=y.left,y.y=y.top,y}function b(C,S,y){return S===n.viewport?(0,p.default)((0,r.default)(C,y)):(0,h.isElement)(S)?m(S,y):(0,p.default)((0,o.default)((0,l.default)(C)))}function I(C){var S=(0,a.default)((0,i.default)(C)),y=["absolute","fixed"].indexOf((0,c.default)(C).position)>=0,O=y&&(0,h.isHTMLElement)(C)?(0,u.default)(C):C;return(0,h.isElement)(O)?S.filter(function(A){return(0,h.isElement)(A)&&(0,v.default)(A,O)&&(0,s.default)(A)!=="body"}):[]}function T(C,S,y,O){var A=S==="clippingParents"?I(C):[].concat(S),N=[].concat(A,[y]),M=N[0],R=N.reduce(function(L,x){var F=b(C,x,O);return L.top=(0,f.max)(F.top,L.top),L.right=(0,f.min)(F.right,L.right),L.bottom=(0,f.min)(F.bottom,L.bottom),L.left=(0,f.max)(F.left,L.left),L},b(C,M,O));return R.width=R.right-R.left,R.height=R.bottom-R.top,R.x=R.left,R.y=R.top,R}},8823:function(E,e,t){"use strict";e.__esModule=!0,e.default=v;var n=d(t(32125)),r=d(t(45401)),o=d(t(13203)),a=t(72600),u=d(t(85750)),l=d(t(33733)),c=d(t(44011)),h=t(69031);function d(s){return s&&s.__esModule?s:{default:s}}function i(s){var p=s.getBoundingClientRect(),f=(0,h.round)(p.width)/s.offsetWidth||1,g=(0,h.round)(p.height)/s.offsetHeight||1;return f!==1||g!==1}function v(s,p,f){f===void 0&&(f=!1);var g=(0,a.isHTMLElement)(p),m=(0,a.isHTMLElement)(p)&&i(p),b=(0,l.default)(p),I=(0,n.default)(s,m,f),T={scrollLeft:0,scrollTop:0},C={x:0,y:0};return(g||!g&&!f)&&(((0,o.default)(p)!=="body"||(0,c.default)(b))&&(T=(0,r.default)(p)),(0,a.isHTMLElement)(p)?(C=(0,n.default)(p,!0),C.x+=p.clientLeft,C.y+=p.clientTop):b&&(C.x=(0,u.default)(b))),{x:I.left+T.scrollLeft-C.x,y:I.top+T.scrollTop-C.y,width:I.width,height:I.height}}},14522:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(81020));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){return(0,n.default)(a).getComputedStyle(a)}},33733:function(E,e,t){"use strict";e.__esModule=!0,e.default=r;var n=t(72600);function r(o){return(((0,n.isElement)(o)?o.ownerDocument:o.document)||window.document).documentElement}},39799:function(E,e,t){"use strict";e.__esModule=!0,e.default=c;var n=l(t(33733)),r=l(t(14522)),o=l(t(85750)),a=l(t(79569)),u=t(69031);function l(h){return h&&h.__esModule?h:{default:h}}function c(h){var d,i=(0,n.default)(h),v=(0,a.default)(h),s=(d=h.ownerDocument)==null?void 0:d.body,p=(0,u.max)(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),f=(0,u.max)(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),g=-v.scrollLeft+(0,o.default)(h),m=-v.scrollTop;return(0,r.default)(s||i).direction==="rtl"&&(g+=(0,u.max)(i.clientWidth,s?s.clientWidth:0)-p),{width:p,height:f,x:g,y:m}}},75680:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}},19820:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(32125));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){var u=(0,n.default)(a),l=a.offsetWidth,c=a.offsetHeight;return Math.abs(u.width-l)<=1&&(l=u.width),Math.abs(u.height-c)<=1&&(c=u.height),{x:a.offsetLeft,y:a.offsetTop,width:l,height:c}}},13203:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){return n?(n.nodeName||"").toLowerCase():null}},45401:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=u(t(79569)),r=u(t(81020)),o=t(72600),a=u(t(75680));function u(c){return c&&c.__esModule?c:{default:c}}function l(c){return c===(0,r.default)(c)||!(0,o.isHTMLElement)(c)?(0,n.default)(c):(0,a.default)(c)}},43243:function(E,e,t){"use strict";e.__esModule=!0,e.default=v;var n=h(t(81020)),r=h(t(13203)),o=h(t(14522)),a=t(72600),u=h(t(25658)),l=h(t(34972)),c=h(t(97353));function h(s){return s&&s.__esModule?s:{default:s}}function d(s){return!(0,a.isHTMLElement)(s)||(0,o.default)(s).position==="fixed"?null:s.offsetParent}function i(s){var p=/firefox/i.test((0,c.default)()),f=/Trident/i.test((0,c.default)());if(f&&(0,a.isHTMLElement)(s)){var g=(0,o.default)(s);if(g.position==="fixed")return null}var m=(0,l.default)(s);for((0,a.isShadowRoot)(m)&&(m=m.host);(0,a.isHTMLElement)(m)&&["html","body"].indexOf((0,r.default)(m))<0;){var b=(0,o.default)(m);if(b.transform!=="none"||b.perspective!=="none"||b.contain==="paint"||["transform","perspective"].indexOf(b.willChange)!==-1||p&&b.willChange==="filter"||p&&b.filter&&b.filter!=="none")return m;m=m.parentNode}return null}function v(s){for(var p=(0,n.default)(s),f=d(s);f&&(0,u.default)(f)&&(0,o.default)(f).position==="static";)f=d(f);return f&&((0,r.default)(f)==="html"||(0,r.default)(f)==="body"&&(0,o.default)(f).position==="static")?p:f||i(s)||p}},34972:function(E,e,t){"use strict";e.__esModule=!0,e.default=u;var n=a(t(13203)),r=a(t(33733)),o=t(72600);function a(l){return l&&l.__esModule?l:{default:l}}function u(l){return(0,n.default)(l)==="html"?l:l.assignedSlot||l.parentNode||((0,o.isShadowRoot)(l)?l.host:null)||(0,r.default)(l)}},65329:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=u(t(34972)),r=u(t(44011)),o=u(t(13203)),a=t(72600);function u(c){return c&&c.__esModule?c:{default:c}}function l(c){return["html","body","#document"].indexOf((0,o.default)(c))>=0?c.ownerDocument.body:(0,a.isHTMLElement)(c)&&(0,r.default)(c)?c:l((0,n.default)(c))}},2868:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=u(t(81020)),r=u(t(33733)),o=u(t(85750)),a=u(t(14894));function u(c){return c&&c.__esModule?c:{default:c}}function l(c,h){var d=(0,n.default)(c),i=(0,r.default)(c),v=d.visualViewport,s=i.clientWidth,p=i.clientHeight,f=0,g=0;if(v){s=v.width,p=v.height;var m=(0,a.default)();(m||!m&&h==="fixed")&&(f=v.offsetLeft,g=v.offsetTop)}return{width:s,height:p,x:f+(0,o.default)(c),y:g}}},81020:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var r=n.ownerDocument;return r&&r.defaultView||window}return n}},79569:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(81020));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){var u=(0,n.default)(a),l=u.pageXOffset,c=u.pageYOffset;return{scrollLeft:l,scrollTop:c}}},85750:function(E,e,t){"use strict";e.__esModule=!0,e.default=u;var n=a(t(32125)),r=a(t(33733)),o=a(t(79569));function a(l){return l&&l.__esModule?l:{default:l}}function u(l){return(0,n.default)((0,r.default)(l)).left+(0,o.default)(l).scrollLeft}},72600:function(E,e,t){"use strict";e.__esModule=!0,e.isElement=o,e.isHTMLElement=a,e.isShadowRoot=u;var n=r(t(81020));function r(l){return l&&l.__esModule?l:{default:l}}function o(l){var c=(0,n.default)(l).Element;return l instanceof c||l instanceof Element}function a(l){var c=(0,n.default)(l).HTMLElement;return l instanceof c||l instanceof HTMLElement}function u(l){if(typeof ShadowRoot=="undefined")return!1;var c=(0,n.default)(l).ShadowRoot;return l instanceof c||l instanceof ShadowRoot}},14894:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(97353));function r(a){return a&&a.__esModule?a:{default:a}}function o(){return!/^((?!chrome|android).)*safari/i.test((0,n.default)())}},44011:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(14522));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){var u=(0,n.default)(a),l=u.overflow,c=u.overflowX,h=u.overflowY;return/auto|scroll|overlay|hidden/.test(l+h+c)}},25658:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(13203));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){return["table","td","th"].indexOf((0,n.default)(a))>=0}},54826:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=u(t(65329)),r=u(t(34972)),o=u(t(81020)),a=u(t(44011));function u(c){return c&&c.__esModule?c:{default:c}}function l(c,h){var d;h===void 0&&(h=[]);var i=(0,n.default)(c),v=i===((d=c.ownerDocument)==null?void 0:d.body),s=(0,o.default)(i),p=v?[s].concat(s.visualViewport||[],(0,a.default)(i)?i:[]):i,f=h.concat(p);return v?f:f.concat(l((0,r.default)(p)))}},41521:function(E,e){"use strict";e.__esModule=!0,e.write=e.viewport=e.variationPlacements=e.top=e.start=e.right=e.reference=e.read=e.popper=e.placements=e.modifierPhases=e.main=e.left=e.end=e.clippingParents=e.bottom=e.beforeWrite=e.beforeRead=e.beforeMain=e.basePlacements=e.auto=e.afterWrite=e.afterRead=e.afterMain=void 0;var t=e.top="top",n=e.bottom="bottom",r=e.right="right",o=e.left="left",a=e.auto="auto",u=e.basePlacements=[t,n,r,o],l=e.start="start",c=e.end="end",h=e.clippingParents="clippingParents",d=e.viewport="viewport",i=e.popper="popper",v=e.reference="reference",s=e.variationPlacements=u.reduce(function(A,N){return A.concat([N+"-"+l,N+"-"+c])},[]),p=e.placements=[].concat(u,[a]).reduce(function(A,N){return A.concat([N,N+"-"+l,N+"-"+c])},[]),f=e.beforeRead="beforeRead",g=e.read="read",m=e.afterRead="afterRead",b=e.beforeMain="beforeMain",I=e.main="main",T=e.afterMain="afterMain",C=e.beforeWrite="beforeWrite",S=e.write="write",y=e.afterWrite="afterWrite",O=e.modifierPhases=[f,g,m,b,I,T,C,S,y]},60023:function(E,e,t){"use strict";e.__esModule=!0;var n={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};e.popperGenerator=e.detectOverflow=e.createPopperLite=e.createPopperBase=e.createPopper=void 0;var r=t(41521);Object.keys(r).forEach(function(c){c==="default"||c==="__esModule"||Object.prototype.hasOwnProperty.call(n,c)||c in e&&e[c]===r[c]||(e[c]=r[c])});var o=t(91078);Object.keys(o).forEach(function(c){c==="default"||c==="__esModule"||Object.prototype.hasOwnProperty.call(n,c)||c in e&&e[c]===o[c]||(e[c]=o[c])});var a=t(66641);e.popperGenerator=a.popperGenerator,e.detectOverflow=a.detectOverflow,e.createPopperBase=a.createPopper;var u=t(7925);e.createPopper=u.createPopper;var l=t(62642);e.createPopperLite=l.createPopper},56304:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=o(t(13203)),r=t(72600);function o(c){return c&&c.__esModule?c:{default:c}}function a(c){var h=c.state;Object.keys(h.elements).forEach(function(d){var i=h.styles[d]||{},v=h.attributes[d]||{},s=h.elements[d];!(0,r.isHTMLElement)(s)||!(0,n.default)(s)||(Object.assign(s.style,i),Object.keys(v).forEach(function(p){var f=v[p];f===!1?s.removeAttribute(p):s.setAttribute(p,f===!0?"":f)}))})}function u(c){var h=c.state,d={popper:{position:h.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(h.elements.popper.style,d.popper),h.styles=d,h.elements.arrow&&Object.assign(h.elements.arrow.style,d.arrow),function(){Object.keys(h.elements).forEach(function(i){var v=h.elements[i],s=h.attributes[i]||{},p=Object.keys(h.styles.hasOwnProperty(i)?h.styles[i]:d[i]),f=p.reduce(function(g,m){return g[m]="",g},{});!(0,r.isHTMLElement)(v)||!(0,n.default)(v)||(Object.assign(v.style,f),Object.keys(s).forEach(function(g){v.removeAttribute(g)}))})}}var l=e.default={name:"applyStyles",enabled:!0,phase:"write",fn:a,effect:u,requires:["computeStyles"]}},57243:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=i(t(38141)),r=i(t(19820)),o=i(t(96343)),a=i(t(43243)),u=i(t(7770)),l=t(76770),c=i(t(77631)),h=i(t(54824)),d=t(41521);function i(g){return g&&g.__esModule?g:{default:g}}var v=function(){function g(m,b){return m=typeof m=="function"?m(Object.assign({},b.rects,{placement:b.placement})):m,(0,c.default)(typeof m!="number"?m:(0,h.default)(m,d.basePlacements))}return g}();function s(g){var m,b=g.state,I=g.name,T=g.options,C=b.elements.arrow,S=b.modifiersData.popperOffsets,y=(0,n.default)(b.placement),O=(0,u.default)(y),A=[d.left,d.right].indexOf(y)>=0,N=A?"height":"width";if(!(!C||!S)){var M=v(T.padding,b),R=(0,r.default)(C),L=O==="y"?d.top:d.left,x=O==="y"?d.bottom:d.right,F=b.rects.reference[N]+b.rects.reference[O]-S[O]-b.rects.popper[N],V=S[O]-b.rects.reference[O],G=(0,a.default)(C),B=G?O==="y"?G.clientHeight||0:G.clientWidth||0:0,U=F/2-V/2,j=M[L],K=B-R[N]-M[x],$=B/2-R[N]/2+U,W=(0,l.within)(j,$,K),nt=O;b.modifiersData[I]=(m={},m[nt]=W,m.centerOffset=W-$,m)}}function p(g){var m=g.state,b=g.options,I=b.element,T=I===void 0?"[data-popper-arrow]":I;T!=null&&(typeof T=="string"&&(T=m.elements.popper.querySelector(T),!T)||(0,o.default)(m.elements.popper,T)&&(m.elements.arrow=T))}var f=e.default={name:"arrow",enabled:!0,phase:"main",fn:s,effect:p,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},60421:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0,e.mapToStyles=s;var n=t(41521),r=d(t(43243)),o=d(t(81020)),a=d(t(33733)),u=d(t(14522)),l=d(t(38141)),c=d(t(14380)),h=t(69031);function d(g){return g&&g.__esModule?g:{default:g}}var i={top:"auto",right:"auto",bottom:"auto",left:"auto"};function v(g,m){var b=g.x,I=g.y,T=m.devicePixelRatio||1;return{x:(0,h.round)(b*T)/T||0,y:(0,h.round)(I*T)/T||0}}function s(g){var m,b=g.popper,I=g.popperRect,T=g.placement,C=g.variation,S=g.offsets,y=g.position,O=g.gpuAcceleration,A=g.adaptive,N=g.roundOffsets,M=g.isFixed,R=S.x,L=R===void 0?0:R,x=S.y,F=x===void 0?0:x,V=typeof N=="function"?N({x:L,y:F}):{x:L,y:F};L=V.x,F=V.y;var G=S.hasOwnProperty("x"),B=S.hasOwnProperty("y"),U=n.left,j=n.top,K=window;if(A){var $=(0,r.default)(b),W="clientHeight",nt="clientWidth";if($===(0,o.default)(b)&&($=(0,a.default)(b),(0,u.default)($).position!=="static"&&y==="absolute"&&(W="scrollHeight",nt="scrollWidth")),$=$,T===n.top||(T===n.left||T===n.right)&&C===n.end){j=n.bottom;var st=M&&$===K&&K.visualViewport?K.visualViewport.height:$[W];F-=st-I.height,F*=O?1:-1}if(T===n.left||(T===n.top||T===n.bottom)&&C===n.end){U=n.right;var gt=M&&$===K&&K.visualViewport?K.visualViewport.width:$[nt];L-=gt-I.width,L*=O?1:-1}}var k=Object.assign({position:y},A&&i),X=N===!0?v({x:L,y:F},(0,o.default)(b)):{x:L,y:F};if(L=X.x,F=X.y,O){var tt;return Object.assign({},k,(tt={},tt[j]=B?"0":"",tt[U]=G?"0":"",tt.transform=(K.devicePixelRatio||1)<=1?"translate("+L+"px, "+F+"px)":"translate3d("+L+"px, "+F+"px, 0)",tt))}return Object.assign({},k,(m={},m[j]=B?F+"px":"",m[U]=G?L+"px":"",m.transform="",m))}function p(g){var m=g.state,b=g.options,I=b.gpuAcceleration,T=I===void 0?!0:I,C=b.adaptive,S=C===void 0?!0:C,y=b.roundOffsets,O=y===void 0?!0:y,A={placement:(0,l.default)(m.placement),variation:(0,c.default)(m.placement),popper:m.elements.popper,popperRect:m.rects.popper,gpuAcceleration:T,isFixed:m.options.strategy==="fixed"};m.modifiersData.popperOffsets!=null&&(m.styles.popper=Object.assign({},m.styles.popper,s(Object.assign({},A,{offsets:m.modifiersData.popperOffsets,position:m.options.strategy,adaptive:S,roundOffsets:O})))),m.modifiersData.arrow!=null&&(m.styles.arrow=Object.assign({},m.styles.arrow,s(Object.assign({},A,{offsets:m.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:O})))),m.attributes.popper=Object.assign({},m.attributes.popper,{"data-popper-placement":m.placement})}var f=e.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:p,data:{}}},84601:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=r(t(81020));function r(l){return l&&l.__esModule?l:{default:l}}var o={passive:!0};function a(l){var c=l.state,h=l.instance,d=l.options,i=d.scroll,v=i===void 0?!0:i,s=d.resize,p=s===void 0?!0:s,f=(0,n.default)(c.elements.popper),g=[].concat(c.scrollParents.reference,c.scrollParents.popper);return v&&g.forEach(function(m){m.addEventListener("scroll",h.update,o)}),p&&f.addEventListener("resize",h.update,o),function(){v&&g.forEach(function(m){m.removeEventListener("scroll",h.update,o)}),p&&f.removeEventListener("resize",h.update,o)}}var u=e.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function l(){}return l}(),effect:a,data:{}}},17267:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=h(t(79641)),r=h(t(38141)),o=h(t(71976)),a=h(t(31584)),u=h(t(44744)),l=t(41521),c=h(t(14380));function h(s){return s&&s.__esModule?s:{default:s}}function d(s){if((0,r.default)(s)===l.auto)return[];var p=(0,n.default)(s);return[(0,o.default)(s),p,(0,o.default)(p)]}function i(s){var p=s.state,f=s.options,g=s.name;if(!p.modifiersData[g]._skip){for(var m=f.mainAxis,b=m===void 0?!0:m,I=f.altAxis,T=I===void 0?!0:I,C=f.fallbackPlacements,S=f.padding,y=f.boundary,O=f.rootBoundary,A=f.altBoundary,N=f.flipVariations,M=N===void 0?!0:N,R=f.allowedAutoPlacements,L=p.options.placement,x=(0,r.default)(L),F=x===L,V=C||(F||!M?[(0,n.default)(L)]:d(L)),G=[L].concat(V).reduce(function(ft,Q){return ft.concat((0,r.default)(Q)===l.auto?(0,u.default)(p,{placement:Q,boundary:y,rootBoundary:O,padding:S,flipVariations:M,allowedAutoPlacements:R}):Q)},[]),B=p.rects.reference,U=p.rects.popper,j=new Map,K=!0,$=G[0],W=0;W<G.length;W++){var nt=G[W],st=(0,r.default)(nt),gt=(0,c.default)(nt)===l.start,k=[l.top,l.bottom].indexOf(st)>=0,X=k?"width":"height",tt=(0,a.default)(p,{placement:nt,boundary:y,rootBoundary:O,altBoundary:A,padding:S}),ct=k?gt?l.right:l.left:gt?l.bottom:l.top;B[X]>U[X]&&(ct=(0,n.default)(ct));var at=(0,n.default)(ct),St=[];if(b&&St.push(tt[st]<=0),T&&St.push(tt[ct]<=0,tt[at]<=0),St.every(function(ft){return ft})){$=nt,K=!1;break}j.set(nt,St)}if(K)for(var Mt=M?3:1,wt=function(){function ft(Q){var Z=G.find(function(et){var ht=j.get(et);if(ht)return ht.slice(0,Q).every(function(Et){return Et})});if(Z)return $=Z,"break"}return ft}(),Rt=Mt;Rt>0;Rt--){var vt=wt(Rt);if(vt==="break")break}p.placement!==$&&(p.modifiersData[g]._skip=!0,p.placement=$,p.reset=!0)}}var v=e.default={name:"flip",enabled:!0,phase:"main",fn:i,requiresIfExists:["offset"],data:{_skip:!1}}},88476:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=t(41521),r=o(t(31584));function o(h){return h&&h.__esModule?h:{default:h}}function a(h,d,i){return i===void 0&&(i={x:0,y:0}),{top:h.top-d.height-i.y,right:h.right-d.width+i.x,bottom:h.bottom-d.height+i.y,left:h.left-d.width-i.x}}function u(h){return[n.top,n.right,n.bottom,n.left].some(function(d){return h[d]>=0})}function l(h){var d=h.state,i=h.name,v=d.rects.reference,s=d.rects.popper,p=d.modifiersData.preventOverflow,f=(0,r.default)(d,{elementContext:"reference"}),g=(0,r.default)(d,{altBoundary:!0}),m=a(f,v),b=a(g,s,p),I=u(m),T=u(b);d.modifiersData[i]={referenceClippingOffsets:m,popperEscapeOffsets:b,isReferenceHidden:I,hasPopperEscaped:T},d.attributes.popper=Object.assign({},d.attributes.popper,{"data-popper-reference-hidden":I,"data-popper-escaped":T})}var c=e.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:l}},91078:function(E,e,t){"use strict";e.__esModule=!0,e.preventOverflow=e.popperOffsets=e.offset=e.hide=e.flip=e.eventListeners=e.computeStyles=e.arrow=e.applyStyles=void 0;var n=i(t(56304));e.applyStyles=n.default;var r=i(t(57243));e.arrow=r.default;var o=i(t(60421));e.computeStyles=o.default;var a=i(t(84601));e.eventListeners=a.default;var u=i(t(17267));e.flip=u.default;var l=i(t(88476));e.hide=l.default;var c=i(t(36707));e.offset=c.default;var h=i(t(98916));e.popperOffsets=h.default;var d=i(t(44454));e.preventOverflow=d.default;function i(v){return v&&v.__esModule?v:{default:v}}},36707:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0,e.distanceAndSkiddingToXY=a;var n=o(t(38141)),r=t(41521);function o(c){return c&&c.__esModule?c:{default:c}}function a(c,h,d){var i=(0,n.default)(c),v=[r.left,r.top].indexOf(i)>=0?-1:1,s=typeof d=="function"?d(Object.assign({},h,{placement:c})):d,p=s[0],f=s[1];return p=p||0,f=(f||0)*v,[r.left,r.right].indexOf(i)>=0?{x:f,y:p}:{x:p,y:f}}function u(c){var h=c.state,d=c.options,i=c.name,v=d.offset,s=v===void 0?[0,0]:v,p=r.placements.reduce(function(b,I){return b[I]=a(I,h.rects,s),b},{}),f=p[h.placement],g=f.x,m=f.y;h.modifiersData.popperOffsets!=null&&(h.modifiersData.popperOffsets.x+=g,h.modifiersData.popperOffsets.y+=m),h.modifiersData[i]=p}var l=e.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:u}},98916:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=r(t(47566));function r(u){return u&&u.__esModule?u:{default:u}}function o(u){var l=u.state,c=u.name;l.modifiersData[c]=(0,n.default)({reference:l.rects.reference,element:l.rects.popper,strategy:"absolute",placement:l.placement})}var a=e.default={name:"popperOffsets",enabled:!0,phase:"read",fn:o,data:{}}},44454:function(E,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=t(41521),r=s(t(38141)),o=s(t(7770)),a=s(t(39571)),u=t(76770),l=s(t(19820)),c=s(t(43243)),h=s(t(31584)),d=s(t(14380)),i=s(t(92385)),v=t(69031);function s(g){return g&&g.__esModule?g:{default:g}}function p(g){var m=g.state,b=g.options,I=g.name,T=b.mainAxis,C=T===void 0?!0:T,S=b.altAxis,y=S===void 0?!1:S,O=b.boundary,A=b.rootBoundary,N=b.altBoundary,M=b.padding,R=b.tether,L=R===void 0?!0:R,x=b.tetherOffset,F=x===void 0?0:x,V=(0,h.default)(m,{boundary:O,rootBoundary:A,padding:M,altBoundary:N}),G=(0,r.default)(m.placement),B=(0,d.default)(m.placement),U=!B,j=(0,o.default)(G),K=(0,a.default)(j),$=m.modifiersData.popperOffsets,W=m.rects.reference,nt=m.rects.popper,st=typeof F=="function"?F(Object.assign({},m.rects,{placement:m.placement})):F,gt=typeof st=="number"?{mainAxis:st,altAxis:st}:Object.assign({mainAxis:0,altAxis:0},st),k=m.modifiersData.offset?m.modifiersData.offset[m.placement]:null,X={x:0,y:0};if($){if(C){var tt,ct=j==="y"?n.top:n.left,at=j==="y"?n.bottom:n.right,St=j==="y"?"height":"width",Mt=$[j],wt=Mt+V[ct],Rt=Mt-V[at],vt=L?-nt[St]/2:0,ft=B===n.start?W[St]:nt[St],Q=B===n.start?-nt[St]:-W[St],Z=m.elements.arrow,et=L&&Z?(0,l.default)(Z):{width:0,height:0},ht=m.modifiersData["arrow#persistent"]?m.modifiersData["arrow#persistent"].padding:(0,i.default)(),Et=ht[ct],rt=ht[at],pt=(0,u.within)(0,W[St],et[St]),Nt=U?W[St]/2-vt-pt-Et-gt.mainAxis:ft-pt-Et-gt.mainAxis,J=U?-W[St]/2+vt+pt+rt+gt.mainAxis:Q+pt+rt+gt.mainAxis,ut=m.elements.arrow&&(0,c.default)(m.elements.arrow),bt=ut?j==="y"?ut.clientTop||0:ut.clientLeft||0:0,At=(tt=k==null?void 0:k[j])!=null?tt:0,Bt=Mt+Nt-At-bt,Ut=Mt+J-At,Tt=(0,u.within)(L?(0,v.min)(wt,Bt):wt,Mt,L?(0,v.max)(Rt,Ut):Rt);$[j]=Tt,X[j]=Tt-Mt}if(y){var it,mt=j==="x"?n.top:n.left,It=j==="x"?n.bottom:n.right,Ct=$[K],Pt=K==="y"?"height":"width",xt=Ct+V[mt],jt=Ct-V[It],Kt=[n.top,n.left].indexOf(G)!==-1,Wt=(it=k==null?void 0:k[K])!=null?it:0,Yt=Kt?xt:Ct-W[Pt]-nt[Pt]-Wt+gt.altAxis,kt=Kt?Ct+W[Pt]+nt[Pt]-Wt-gt.altAxis:jt,Zt=L&&Kt?(0,u.withinMaxClamp)(Yt,Ct,kt):(0,u.within)(L?Yt:xt,Ct,L?kt:jt);$[K]=Zt,X[K]=Zt-Ct}m.modifiersData[I]=X}}var f=e.default={name:"preventOverflow",enabled:!0,phase:"main",fn:p,requiresIfExists:["offset"]}},62642:function(E,e,t){"use strict";e.__esModule=!0,e.defaultModifiers=e.createPopper=void 0;var n=t(66641);e.popperGenerator=n.popperGenerator,e.detectOverflow=n.detectOverflow;var r=l(t(84601)),o=l(t(98916)),a=l(t(60421)),u=l(t(56304));function l(d){return d&&d.__esModule?d:{default:d}}var c=e.defaultModifiers=[r.default,o.default,a.default,u.default],h=e.createPopper=(0,n.popperGenerator)({defaultModifiers:c})},7925:function(E,e,t){"use strict";e.__esModule=!0;var n={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};e.defaultModifiers=e.createPopperLite=e.createPopper=void 0;var r=t(66641);e.popperGenerator=r.popperGenerator,e.detectOverflow=r.detectOverflow;var o=f(t(84601)),a=f(t(98916)),u=f(t(60421)),l=f(t(56304)),c=f(t(36707)),h=f(t(17267)),d=f(t(44454)),i=f(t(57243)),v=f(t(88476)),s=t(62642);e.createPopperLite=s.createPopper;var p=t(91078);Object.keys(p).forEach(function(b){b==="default"||b==="__esModule"||Object.prototype.hasOwnProperty.call(n,b)||b in e&&e[b]===p[b]||(e[b]=p[b])});function f(b){return b&&b.__esModule?b:{default:b}}var g=e.defaultModifiers=[o.default,a.default,u.default,l.default,c.default,h.default,d.default,i.default,v.default],m=e.createPopperLite=e.createPopper=(0,r.popperGenerator)({defaultModifiers:g})},44744:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=u(t(14380)),r=t(41521),o=u(t(31584)),a=u(t(38141));function u(c){return c&&c.__esModule?c:{default:c}}function l(c,h){h===void 0&&(h={});var d=h,i=d.placement,v=d.boundary,s=d.rootBoundary,p=d.padding,f=d.flipVariations,g=d.allowedAutoPlacements,m=g===void 0?r.placements:g,b=(0,n.default)(i),I=b?f?r.variationPlacements:r.variationPlacements.filter(function(S){return(0,n.default)(S)===b}):r.basePlacements,T=I.filter(function(S){return m.indexOf(S)>=0});T.length===0&&(T=I);var C=T.reduce(function(S,y){return S[y]=(0,o.default)(c,{placement:y,boundary:v,rootBoundary:s,padding:p})[(0,a.default)(y)],S},{});return Object.keys(C).sort(function(S,y){return C[S]-C[y]})}},47566:function(E,e,t){"use strict";e.__esModule=!0,e.default=l;var n=u(t(38141)),r=u(t(14380)),o=u(t(7770)),a=t(41521);function u(c){return c&&c.__esModule?c:{default:c}}function l(c){var h=c.reference,d=c.element,i=c.placement,v=i?(0,n.default)(i):null,s=i?(0,r.default)(i):null,p=h.x+h.width/2-d.width/2,f=h.y+h.height/2-d.height/2,g;switch(v){case a.top:g={x:p,y:h.y-d.height};break;case a.bottom:g={x:p,y:h.y+h.height};break;case a.right:g={x:h.x+h.width,y:f};break;case a.left:g={x:h.x-d.width,y:f};break;default:g={x:h.x,y:h.y}}var m=v?(0,o.default)(v):null;if(m!=null){var b=m==="y"?"height":"width";switch(s){case a.start:g[m]=g[m]-(h[b]/2-d[b]/2);break;case a.end:g[m]=g[m]+(h[b]/2-d[b]/2);break;default:}}return g}},80798:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){var r;return function(){return r||(r=new Promise(function(o){Promise.resolve().then(function(){r=void 0,o(n())})})),r}}},31584:function(E,e,t){"use strict";e.__esModule=!0,e.default=v;var n=i(t(86380)),r=i(t(33733)),o=i(t(32125)),a=i(t(47566)),u=i(t(31855)),l=t(41521),c=t(72600),h=i(t(77631)),d=i(t(54824));function i(s){return s&&s.__esModule?s:{default:s}}function v(s,p){p===void 0&&(p={});var f=p,g=f.placement,m=g===void 0?s.placement:g,b=f.strategy,I=b===void 0?s.strategy:b,T=f.boundary,C=T===void 0?l.clippingParents:T,S=f.rootBoundary,y=S===void 0?l.viewport:S,O=f.elementContext,A=O===void 0?l.popper:O,N=f.altBoundary,M=N===void 0?!1:N,R=f.padding,L=R===void 0?0:R,x=(0,h.default)(typeof L!="number"?L:(0,d.default)(L,l.basePlacements)),F=A===l.popper?l.reference:l.popper,V=s.rects.popper,G=s.elements[M?F:A],B=(0,n.default)((0,c.isElement)(G)?G:G.contextElement||(0,r.default)(s.elements.popper),C,y,I),U=(0,o.default)(s.elements.reference),j=(0,a.default)({reference:U,element:V,strategy:"absolute",placement:m}),K=(0,u.default)(Object.assign({},V,j)),$=A===l.popper?K:U,W={top:B.top-$.top+x.top,bottom:$.bottom-B.bottom+x.bottom,left:B.left-$.left+x.left,right:$.right-B.right+x.right},nt=s.modifiersData.offset;if(A===l.popper&&nt){var st=nt[m];Object.keys(W).forEach(function(gt){var k=[l.right,l.bottom].indexOf(gt)>=0?1:-1,X=[l.top,l.bottom].indexOf(gt)>=0?"y":"x";W[gt]+=st[X]*k})}return W}},54824:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n,r){return r.reduce(function(o,a){return o[a]=n,o},{})}},39571:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){return n==="x"?"y":"x"}},38141:function(E,e,t){"use strict";e.__esModule=!0,e.default=r;var n=t(41521);function r(o){return o.split("-")[0]}},92385:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(){return{top:0,right:0,bottom:0,left:0}}},7770:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}},79641:function(E,e){"use strict";e.__esModule=!0,e.default=n;var t={left:"right",right:"left",bottom:"top",top:"bottom"};function n(r){return r.replace(/left|right|bottom|top/g,function(o){return t[o]})}},71976:function(E,e){"use strict";e.__esModule=!0,e.default=n;var t={start:"end",end:"start"};function n(r){return r.replace(/start|end/g,function(o){return t[o]})}},14380:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){return n.split("-")[1]}},69031:function(E,e){"use strict";e.__esModule=!0,e.round=e.min=e.max=void 0;var t=e.max=Math.max,n=e.min=Math.min,r=e.round=Math.round},46343:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){var r=n.reduce(function(o,a){var u=o[a.name];return o[a.name]=u?Object.assign({},u,a,{options:Object.assign({},u.options,a.options),data:Object.assign({},u.data,a.data)}):a,o},{});return Object.keys(r).map(function(o){return r[o]})}},77631:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=r(t(92385));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){return Object.assign({},(0,n.default)(),a)}},17859:function(E,e,t){"use strict";e.__esModule=!0,e.default=o;var n=t(41521);function r(a){var u=new Map,l=new Set,c=[];a.forEach(function(d){u.set(d.name,d)});function h(d){l.add(d.name);var i=[].concat(d.requires||[],d.requiresIfExists||[]);i.forEach(function(v){if(!l.has(v)){var s=u.get(v);s&&h(s)}}),c.push(d)}return a.forEach(function(d){l.has(d.name)||h(d)}),c}function o(a){var u=r(a);return n.modifierPhases.reduce(function(l,c){return l.concat(u.filter(function(h){return h.phase===c}))},[])}},31855:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}},97353:function(E,e){"use strict";e.__esModule=!0,e.default=t;function t(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}},76770:function(E,e,t){"use strict";e.__esModule=!0,e.within=r,e.withinMaxClamp=o;var n=t(69031);function r(a,u,l){return(0,n.max)(a,(0,n.min)(u,l))}function o(a,u,l){var c=r(a,u,l);return c>l?l:c}},27061:function(E){"use strict";/*! @license DOMPurify 2.5.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.0/LICENSE */(function(e,t){E.exports=t()})(void 0,function(){"use strict";function e(J){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ut){return typeof ut}:function(ut){return ut&&typeof Symbol=="function"&&ut.constructor===Symbol&&ut!==Symbol.prototype?"symbol":typeof ut},e(J)}function t(J,ut){return t=Object.setPrototypeOf||function(){function bt(At,Bt){return At.__proto__=Bt,At}return bt}(),t(J,ut)}function n(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(J){return!1}}function r(J,ut,bt){return n()?r=Reflect.construct:r=function(){function At(Bt,Ut,Tt){var it=[null];it.push.apply(it,Ut);var mt=Function.bind.apply(Bt,it),It=new mt;return Tt&&t(It,Tt.prototype),It}return At}(),r.apply(null,arguments)}function o(J){return a(J)||u(J)||l(J)||h()}function a(J){if(Array.isArray(J))return c(J)}function u(J){if(typeof Symbol!="undefined"&&J[Symbol.iterator]!=null||J["@@iterator"]!=null)return Array.from(J)}function l(J,ut){if(J){if(typeof J=="string")return c(J,ut);var bt=Object.prototype.toString.call(J).slice(8,-1);if(bt==="Object"&&J.constructor&&(bt=J.constructor.name),bt==="Map"||bt==="Set")return Array.from(J);if(bt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(bt))return c(J,ut)}}function c(J,ut){(ut==null||ut>J.length)&&(ut=J.length);for(var bt=0,At=new Array(ut);bt<ut;bt++)At[bt]=J[bt];return At}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d=Object.hasOwnProperty,i=Object.setPrototypeOf,v=Object.isFrozen,s=Object.getPrototypeOf,p=Object.getOwnPropertyDescriptor,f=Object.freeze,g=Object.seal,m=Object.create,b=typeof Reflect!="undefined"&&Reflect,I=b.apply,T=b.construct;I||(I=function(){function J(ut,bt,At){return ut.apply(bt,At)}return J}()),f||(f=function(){function J(ut){return ut}return J}()),g||(g=function(){function J(ut){return ut}return J}()),T||(T=function(){function J(ut,bt){return r(ut,o(bt))}return J}());var C=V(Array.prototype.forEach),S=V(Array.prototype.pop),y=V(Array.prototype.push),O=V(String.prototype.toLowerCase),A=V(String.prototype.toString),N=V(String.prototype.match),M=V(String.prototype.replace),R=V(String.prototype.indexOf),L=V(String.prototype.trim),x=V(RegExp.prototype.test),F=G(TypeError);function V(J){return function(ut){for(var bt=arguments.length,At=new Array(bt>1?bt-1:0),Bt=1;Bt<bt;Bt++)At[Bt-1]=arguments[Bt];return I(J,ut,At)}}function G(J){return function(){for(var ut=arguments.length,bt=new Array(ut),At=0;At<ut;At++)bt[At]=arguments[At];return T(J,bt)}}function B(J,ut,bt){var At;bt=(At=bt)!==null&&At!==void 0?At:O,i&&i(J,null);for(var Bt=ut.length;Bt--;){var Ut=ut[Bt];if(typeof Ut=="string"){var Tt=bt(Ut);Tt!==Ut&&(v(ut)||(ut[Bt]=Tt),Ut=Tt)}J[Ut]=!0}return J}function U(J){var ut=m(null),bt;for(bt in J)I(d,J,[bt])===!0&&(ut[bt]=J[bt]);return ut}function j(J,ut){for(;J!==null;){var bt=p(J,ut);if(bt){if(bt.get)return V(bt.get);if(typeof bt.value=="function")return V(bt.value)}J=s(J)}function At(Bt){return null}return At}var K=f(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),$=f(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),W=f(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),nt=f(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),st=f(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),gt=f(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),k=f(["#text"]),X=f(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),tt=f(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ct=f(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),at=f(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),St=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Mt=g(/<%[\w\W]*|[\w\W]*%>/gm),wt=g(/\${[\w\W]*}/gm),Rt=g(/^data-[\-\w.\u00B7-\uFFFF]/),vt=g(/^aria-[\-\w]+$/),ft=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Q=g(/^(?:\w+script|data):/i),Z=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),et=g(/^html$/i),ht=g(/^[a-z][.\w]*(-[.\w]+)+$/i),Et=function(){function J(){return typeof window=="undefined"?null:window}return J}(),rt=function(){function J(ut,bt){if(e(ut)!=="object"||typeof ut.createPolicy!="function")return null;var At=null,Bt="data-tt-policy-suffix";bt.currentScript&&bt.currentScript.hasAttribute(Bt)&&(At=bt.currentScript.getAttribute(Bt));var Ut="dompurify"+(At?"#"+At:"");try{return ut.createPolicy(Ut,{createHTML:function(){function Tt(it){return it}return Tt}(),createScriptURL:function(){function Tt(it){return it}return Tt}()})}catch(Tt){return null}}return J}();function pt(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Et(),ut=function(){function dt(Y){return pt(Y)}return dt}();if(ut.version="2.5.0",ut.removed=[],!J||!J.document||J.document.nodeType!==9)return ut.isSupported=!1,ut;var bt=J.document,At=J.document,Bt=J.DocumentFragment,Ut=J.HTMLTemplateElement,Tt=J.Node,it=J.Element,mt=J.NodeFilter,It=J.NamedNodeMap,Ct=It===void 0?J.NamedNodeMap||J.MozNamedAttrMap:It,Pt=J.HTMLFormElement,xt=J.DOMParser,jt=J.trustedTypes,Kt=it.prototype,Wt=j(Kt,"cloneNode"),Yt=j(Kt,"nextSibling"),kt=j(Kt,"childNodes"),Zt=j(Kt,"parentNode");if(typeof Ut=="function"){var De=At.createElement("template");De.content&&De.content.ownerDocument&&(At=De.content.ownerDocument)}var te=rt(jt,bt),Be=te?te.createHTML(""):"",ve=At,xe=ve.implementation,nn=ve.createNodeIterator,rn=ve.createDocumentFragment,Ge=ve.getElementsByTagName,on=bt.importNode,an={};try{an=U(At).documentMode?At.documentMode:{}}catch(dt){}var re={};ut.isSupported=typeof Zt=="function"&&xe&&xe.createHTMLDocument!==void 0&&an!==9;var Ye=St,He=Mt,he=wt,Oe=Rt,oe=vt,ue=Q,ge=Z,Fe=ht,pe=ft,Xt=null,un=B({},[].concat(o(K),o($),o(W),o(st),o(k))),Qt=null,sn=B({},[].concat(o(X),o(tt),o(ct),o(at))),Ht=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),me=null,Ve=null,We=!0,Ie=!0,zt=!1,cn=!0,ye=!1,ke=!0,le=!1,se=!1,ze=!1,Se=!1,je=!1,Ae=!1,ln=!0,Xe=!1,Sn="user-content-",ae=!0,Pe=!1,Ee={},be=null,fn=B({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),dn=null,vn=B({},["audio","video","img","source","image","track"]),Ne=null,hn=B({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Me="http://www.w3.org/1998/Math/MathML",Ue="http://www.w3.org/2000/svg",ce="http://www.w3.org/1999/xhtml",Ce=ce,Qe=!1,Je=null,En=B({},[Me,Ue,ce],A),_t,Ke=["application/xhtml+xml","text/html"],gn="text/html",Jt,Te=null,pn=At.createElement("form"),Ze=function(){function dt(Y){return Y instanceof RegExp||Y instanceof Function}return dt}(),_e=function(){function dt(Y){Te&&Te===Y||((!Y||e(Y)!=="object")&&(Y={}),Y=U(Y),_t=Ke.indexOf(Y.PARSER_MEDIA_TYPE)===-1?_t=gn:_t=Y.PARSER_MEDIA_TYPE,Jt=_t==="application/xhtml+xml"?A:O,Xt="ALLOWED_TAGS"in Y?B({},Y.ALLOWED_TAGS,Jt):un,Qt="ALLOWED_ATTR"in Y?B({},Y.ALLOWED_ATTR,Jt):sn,Je="ALLOWED_NAMESPACES"in Y?B({},Y.ALLOWED_NAMESPACES,A):En,Ne="ADD_URI_SAFE_ATTR"in Y?B(U(hn),Y.ADD_URI_SAFE_ATTR,Jt):hn,dn="ADD_DATA_URI_TAGS"in Y?B(U(vn),Y.ADD_DATA_URI_TAGS,Jt):vn,be="FORBID_CONTENTS"in Y?B({},Y.FORBID_CONTENTS,Jt):fn,me="FORBID_TAGS"in Y?B({},Y.FORBID_TAGS,Jt):{},Ve="FORBID_ATTR"in Y?B({},Y.FORBID_ATTR,Jt):{},Ee="USE_PROFILES"in Y?Y.USE_PROFILES:!1,We=Y.ALLOW_ARIA_ATTR!==!1,Ie=Y.ALLOW_DATA_ATTR!==!1,zt=Y.ALLOW_UNKNOWN_PROTOCOLS||!1,cn=Y.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ye=Y.SAFE_FOR_TEMPLATES||!1,ke=Y.SAFE_FOR_XML!==!1,le=Y.WHOLE_DOCUMENT||!1,Se=Y.RETURN_DOM||!1,je=Y.RETURN_DOM_FRAGMENT||!1,Ae=Y.RETURN_TRUSTED_TYPE||!1,ze=Y.FORCE_BODY||!1,ln=Y.SANITIZE_DOM!==!1,Xe=Y.SANITIZE_NAMED_PROPS||!1,ae=Y.KEEP_CONTENT!==!1,Pe=Y.IN_PLACE||!1,pe=Y.ALLOWED_URI_REGEXP||pe,Ce=Y.NAMESPACE||ce,Ht=Y.CUSTOM_ELEMENT_HANDLING||{},Y.CUSTOM_ELEMENT_HANDLING&&Ze(Y.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ht.tagNameCheck=Y.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Y.CUSTOM_ELEMENT_HANDLING&&Ze(Y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ht.attributeNameCheck=Y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Y.CUSTOM_ELEMENT_HANDLING&&typeof Y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Ht.allowCustomizedBuiltInElements=Y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ye&&(Ie=!1),je&&(Se=!0),Ee&&(Xt=B({},o(k)),Qt=[],Ee.html===!0&&(B(Xt,K),B(Qt,X)),Ee.svg===!0&&(B(Xt,$),B(Qt,tt),B(Qt,at)),Ee.svgFilters===!0&&(B(Xt,W),B(Qt,tt),B(Qt,at)),Ee.mathMl===!0&&(B(Xt,st),B(Qt,ct),B(Qt,at))),Y.ADD_TAGS&&(Xt===un&&(Xt=U(Xt)),B(Xt,Y.ADD_TAGS,Jt)),Y.ADD_ATTR&&(Qt===sn&&(Qt=U(Qt)),B(Qt,Y.ADD_ATTR,Jt)),Y.ADD_URI_SAFE_ATTR&&B(Ne,Y.ADD_URI_SAFE_ATTR,Jt),Y.FORBID_CONTENTS&&(be===fn&&(be=U(be)),B(be,Y.FORBID_CONTENTS,Jt)),ae&&(Xt["#text"]=!0),le&&B(Xt,["html","head","body"]),Xt.table&&(B(Xt,["tbody"]),delete me.tbody),f&&f(Y),Te=Y)}return dt}(),Re=B({},["mi","mo","mn","ms","mtext"]),mn=B({},["foreignobject","desc","title","annotation-xml"]),qe=B({},["title","style","font","a","script"]),we=B({},$);B(we,W),B(we,nt);var tn=B({},st);B(tn,gt);var yn=function(){function dt(Y){var lt=Zt(Y);(!lt||!lt.tagName)&&(lt={namespaceURI:Ce,tagName:"template"});var Ot=O(Y.tagName),Ft=O(lt.tagName);return Je[Y.namespaceURI]?Y.namespaceURI===Ue?lt.namespaceURI===ce?Ot==="svg":lt.namespaceURI===Me?Ot==="svg"&&(Ft==="annotation-xml"||Re[Ft]):!!we[Ot]:Y.namespaceURI===Me?lt.namespaceURI===ce?Ot==="math":lt.namespaceURI===Ue?Ot==="math"&&mn[Ft]:!!tn[Ot]:Y.namespaceURI===ce?lt.namespaceURI===Ue&&!mn[Ft]||lt.namespaceURI===Me&&!Re[Ft]?!1:!tn[Ot]&&(qe[Ot]||!we[Ot]):!!(_t==="application/xhtml+xml"&&Je[Y.namespaceURI]):!1}return dt}(),ee=function(){function dt(Y){y(ut.removed,{element:Y});try{Y.parentNode.removeChild(Y)}catch(lt){try{Y.outerHTML=Be}catch(Ot){Y.remove()}}}return dt}(),Le=function(){function dt(Y,lt){try{y(ut.removed,{attribute:lt.getAttributeNode(Y),from:lt})}catch(Ot){y(ut.removed,{attribute:null,from:lt})}if(lt.removeAttribute(Y),Y==="is"&&!Qt[Y])if(Se||je)try{ee(lt)}catch(Ot){}else try{lt.setAttribute(Y,"")}catch(Ot){}}return dt}(),bn=function(){function dt(Y){var lt,Ot;if(ze)Y="<remove></remove>"+Y;else{var Ft=N(Y,/^[\r\n\t ]+/);Ot=Ft&&Ft[0]}_t==="application/xhtml+xml"&&Ce===ce&&(Y='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Y+"</body></html>");var Dt=te?te.createHTML(Y):Y;if(Ce===ce)try{lt=new xt().parseFromString(Dt,_t)}catch(Vt){}if(!lt||!lt.documentElement){lt=xe.createDocument(Ce,"template",null);try{lt.documentElement.innerHTML=Qe?Be:Dt}catch(Vt){}}var $t=lt.body||lt.documentElement;return Y&&Ot&&$t.insertBefore(At.createTextNode(Ot),$t.childNodes[0]||null),Ce===ce?Ge.call(lt,le?"html":"body")[0]:le?lt.documentElement:$t}return dt}(),P=function(){function dt(Y){return nn.call(Y.ownerDocument||Y,Y,mt.SHOW_ELEMENT|mt.SHOW_COMMENT|mt.SHOW_TEXT|mt.SHOW_PROCESSING_INSTRUCTION|mt.SHOW_CDATA_SECTION,null,!1)}return dt}(),w=function(){function dt(Y){return Y instanceof Pt&&(typeof Y.nodeName!="string"||typeof Y.textContent!="string"||typeof Y.removeChild!="function"||!(Y.attributes instanceof Ct)||typeof Y.removeAttribute!="function"||typeof Y.setAttribute!="function"||typeof Y.namespaceURI!="string"||typeof Y.insertBefore!="function"||typeof Y.hasChildNodes!="function")}return dt}(),D=function(){function dt(Y){return e(Tt)==="object"?Y instanceof Tt:Y&&e(Y)==="object"&&typeof Y.nodeType=="number"&&typeof Y.nodeName=="string"}return dt}(),H=function(){function dt(Y,lt,Ot){re[Y]&&C(re[Y],function(Ft){Ft.call(ut,lt,Ot,Te)})}return dt}(),_=function(){function dt(Y){var lt;if(H("beforeSanitizeElements",Y,null),w(Y)||x(/[\u0080-\uFFFF]/,Y.nodeName))return ee(Y),!0;var Ot=Jt(Y.nodeName);if(H("uponSanitizeElement",Y,{tagName:Ot,allowedTags:Xt}),Y.hasChildNodes()&&!D(Y.firstElementChild)&&(!D(Y.content)||!D(Y.content.firstElementChild))&&x(/<[/\w]/g,Y.innerHTML)&&x(/<[/\w]/g,Y.textContent)||Ot==="select"&&x(/<template/i,Y.innerHTML)||Y.nodeType===7||ke&&Y.nodeType===8&&x(/<[/\w]/g,Y.data))return ee(Y),!0;if(!Xt[Ot]||me[Ot]){if(!me[Ot]&&ot(Ot)&&(Ht.tagNameCheck instanceof RegExp&&x(Ht.tagNameCheck,Ot)||Ht.tagNameCheck instanceof Function&&Ht.tagNameCheck(Ot)))return!1;if(ae&&!be[Ot]){var Ft=Zt(Y)||Y.parentNode,Dt=kt(Y)||Y.childNodes;if(Dt&&Ft)for(var $t=Dt.length,Vt=$t-1;Vt>=0;--Vt)Ft.insertBefore(Wt(Dt[Vt],!0),Yt(Y))}return ee(Y),!0}return Y instanceof it&&!yn(Y)||(Ot==="noscript"||Ot==="noembed"||Ot==="noframes")&&x(/<\/no(script|embed|frames)/i,Y.innerHTML)?(ee(Y),!0):(ye&&Y.nodeType===3&&(lt=Y.textContent,lt=M(lt,Ye," "),lt=M(lt,He," "),lt=M(lt,he," "),Y.textContent!==lt&&(y(ut.removed,{element:Y.cloneNode()}),Y.textContent=lt)),H("afterSanitizeElements",Y,null),!1)}return dt}(),q=function(){function dt(Y,lt,Ot){if(ln&&(lt==="id"||lt==="name")&&(Ot in At||Ot in pn))return!1;if(!(Ie&&!Ve[lt]&&x(Oe,lt))){if(!(We&&x(oe,lt))){if(!Qt[lt]||Ve[lt]){if(!(ot(Y)&&(Ht.tagNameCheck instanceof RegExp&&x(Ht.tagNameCheck,Y)||Ht.tagNameCheck instanceof Function&&Ht.tagNameCheck(Y))&&(Ht.attributeNameCheck instanceof RegExp&&x(Ht.attributeNameCheck,lt)||Ht.attributeNameCheck instanceof Function&&Ht.attributeNameCheck(lt))||lt==="is"&&Ht.allowCustomizedBuiltInElements&&(Ht.tagNameCheck instanceof RegExp&&x(Ht.tagNameCheck,Ot)||Ht.tagNameCheck instanceof Function&&Ht.tagNameCheck(Ot))))return!1}else if(!Ne[lt]){if(!x(pe,M(Ot,ge,""))){if(!((lt==="src"||lt==="xlink:href"||lt==="href")&&Y!=="script"&&R(Ot,"data:")===0&&dn[Y])){if(!(zt&&!x(ue,M(Ot,ge,"")))){if(Ot)return!1}}}}}}return!0}return dt}(),ot=function(){function dt(Y){return Y!=="annotation-xml"&&N(Y,Fe)}return dt}(),yt=function(){function dt(Y){var lt,Ot,Ft,Dt;H("beforeSanitizeAttributes",Y,null);var $t=Y.attributes;if($t){var Vt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Qt};for(Dt=$t.length;Dt--;){lt=$t[Dt];var ne=lt,Gt=ne.name,fe=ne.namespaceURI;if(Ot=Gt==="value"?lt.value:L(lt.value),Ft=Jt(Gt),Vt.attrName=Ft,Vt.attrValue=Ot,Vt.keepAttr=!0,Vt.forceKeepAttr=void 0,H("uponSanitizeAttribute",Y,Vt),Ot=Vt.attrValue,!Vt.forceKeepAttr&&(Le(Gt,Y),!!Vt.keepAttr)){if(!cn&&x(/\/>/i,Ot)){Le(Gt,Y);continue}ye&&(Ot=M(Ot,Ye," "),Ot=M(Ot,He," "),Ot=M(Ot,he," "));var ie=Jt(Y.nodeName);if(q(ie,Ft,Ot)){if(Xe&&(Ft==="id"||Ft==="name")&&(Le(Gt,Y),Ot=Sn+Ot),te&&e(jt)==="object"&&typeof jt.getAttributeType=="function"&&!fe)switch(jt.getAttributeType(ie,Ft)){case"TrustedHTML":{Ot=te.createHTML(Ot);break}case"TrustedScriptURL":{Ot=te.createScriptURL(Ot);break}}try{fe?Y.setAttributeNS(fe,Gt,Ot):Y.setAttribute(Gt,Ot),S(ut.removed)}catch($e){}}}}H("afterSanitizeAttributes",Y,null)}}return dt}(),Lt=function(){function dt(Y){var lt,Ot=P(Y);for(H("beforeSanitizeShadowDOM",Y,null);lt=Ot.nextNode();)H("uponSanitizeShadowNode",lt,null),!_(lt)&&(lt.content instanceof Bt&&dt(lt.content),yt(lt));H("afterSanitizeShadowDOM",Y,null)}return dt}();return ut.sanitize=function(dt){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},lt,Ot,Ft,Dt,$t;if(Qe=!dt,Qe&&(dt="<!-->"),typeof dt!="string"&&!D(dt))if(typeof dt.toString=="function"){if(dt=dt.toString(),typeof dt!="string")throw F("dirty is not a string, aborting")}else throw F("toString is not a function");if(!ut.isSupported){if(e(J.toStaticHTML)==="object"||typeof J.toStaticHTML=="function"){if(typeof dt=="string")return J.toStaticHTML(dt);if(D(dt))return J.toStaticHTML(dt.outerHTML)}return dt}if(se||_e(Y),ut.removed=[],typeof dt=="string"&&(Pe=!1),Pe){if(dt.nodeName){var Vt=Jt(dt.nodeName);if(!Xt[Vt]||me[Vt])throw F("root node is forbidden and cannot be sanitized in-place")}}else if(dt instanceof Tt)lt=bn("<!---->"),Ot=lt.ownerDocument.importNode(dt,!0),Ot.nodeType===1&&Ot.nodeName==="BODY"||Ot.nodeName==="HTML"?lt=Ot:lt.appendChild(Ot);else{if(!Se&&!ye&&!le&&dt.indexOf("<")===-1)return te&&Ae?te.createHTML(dt):dt;if(lt=bn(dt),!lt)return Se?null:Ae?Be:""}lt&&ze&&ee(lt.firstChild);for(var ne=P(Pe?dt:lt);Ft=ne.nextNode();)Ft.nodeType===3&&Ft===Dt||_(Ft)||(Ft.content instanceof Bt&&Lt(Ft.content),yt(Ft),Dt=Ft);if(Dt=null,Pe)return dt;if(Se){if(je)for($t=rn.call(lt.ownerDocument);lt.firstChild;)$t.appendChild(lt.firstChild);else $t=lt;return(Qt.shadowroot||Qt.shadowrootmod)&&($t=on.call(bt,$t,!0)),$t}var Gt=le?lt.outerHTML:lt.innerHTML;return le&&Xt["!doctype"]&<.ownerDocument&<.ownerDocument.doctype&<.ownerDocument.doctype.name&&x(et,lt.ownerDocument.doctype.name)&&(Gt="<!DOCTYPE "+lt.ownerDocument.doctype.name+">\n"+Gt),ye&&(Gt=M(Gt,Ye," "),Gt=M(Gt,He," "),Gt=M(Gt,he," ")),te&&Ae?te.createHTML(Gt):Gt},ut.setConfig=function(dt){_e(dt),se=!0},ut.clearConfig=function(){Te=null,se=!1},ut.isValidAttribute=function(dt,Y,lt){Te||_e({});var Ot=Jt(dt),Ft=Jt(Y);return q(Ot,Ft,lt)},ut.addHook=function(dt,Y){typeof Y=="function"&&(re[dt]=re[dt]||[],y(re[dt],Y))},ut.removeHook=function(dt){if(re[dt])return S(re[dt])},ut.removeHooks=function(dt){re[dt]&&(re[dt]=[])},ut.removeAllHooks=function(){re={}},ut}var Nt=pt();return Nt})},63935:function(E,e){"use strict";e.__esModule=!0,e.Fragment=e.EMPTY_OBJ=e.Component=void 0,e._CI=We,e._HI=wt,e._M=zt,e._MCCC=Ae,e._ME=le,e._MFCC=Xe,e._MP=me,e._MR=Oe,e._RFC=Ie,e.__render=pn,e.createComponentVNode=W,e.createFragment=st,e.createPortal=ct,e.createRef=Ye,e.createRenderer=_e,e.createTextVNode=nt,e.createVNode=U,e.directClone=X,e.findDOMfromVNode=y,e.forwardRef=He,e.getFlagsForElementVnode=St,e.linkEvent=i,e.normalizeProps=gt,e.options=void 0,e.render=Ze,e.rerender=yn,e.version=void 0;var t=Array.isArray;function n(P){var w=typeof P;return w==="string"||w==="number"}function r(P){return P==null}function o(P){return P===null||P===!1||P===!0||P===void 0}function a(P){return typeof P=="function"}function u(P){return typeof P=="string"}function l(P){return typeof P=="number"}function c(P){return P===null}function h(P){return P===void 0}function d(P,w){var D={};if(P)for(var H in P)D[H]=P[H];if(w)for(var _ in w)D[_]=w[_];return D}function i(P,w){return a(w)?{data:P,event:w}:null}function v(P){return!c(P)&&typeof P=="object"}var s=e.EMPTY_OBJ={},p=e.Fragment="$F";function f(P){return P.substr(2).toLowerCase()}function g(P,w){P.appendChild(w)}function m(P,w,D){c(D)?g(P,w):P.insertBefore(w,D)}function b(P,w){return w?document.createElementNS("http://www.w3.org/2000/svg",P):document.createElement(P)}function I(P,w,D){P.replaceChild(w,D)}function T(P,w){P.removeChild(w)}function C(P){for(var w=0;w<P.length;w++)P[w]()}function S(P,w,D){var H=P.children;return D&4?H.$LI:D&8192?P.childFlags===2?H:H[w?0:H.length-1]:H}function y(P,w){for(var D;P;){if(D=P.flags,D&2033)return P.dom;P=S(P,w,D)}return null}function O(P,w){do{var D=P.flags;if(D&2033){T(w,P.dom);return}var H=P.children;if(D&4&&(P=H.$LI),D&8&&(P=H),D&8192)if(P.childFlags===2)P=H;else{for(var _=0,q=H.length;_<q;++_)O(H[_],w);return}}while(P)}function A(P,w,D){do{var H=P.flags;if(H&2033){m(w,P.dom,D);return}var _=P.children;if(H&4&&(P=_.$LI),H&8&&(P=_),H&8192)if(P.childFlags===2)P=_;else{for(var q=0,ot=_.length;q<ot;++q)A(_[q],w,D);return}}while(P)}function N(P,w,D){return P.constructor.getDerivedStateFromProps?d(D,P.constructor.getDerivedStateFromProps(w,D)):D}var M={v:!1},R=e.options={componentComparator:null,createVNode:null,renderComplete:null};function L(P,w){P.textContent=w}function x(P,w){return v(P)&&P.event===w.event&&P.data===w.data}function F(P,w){for(var D in w)h(P[D])&&(P[D]=w[D]);return P}function V(P,w){return!!a(P)&&(P(w),!0)}var G="$";function B(P,w,D,H,_,q,ot,yt){this.childFlags=P,this.children=w,this.className=D,this.dom=null,this.flags=H,this.key=_===void 0?null:_,this.props=q===void 0?null:q,this.ref=ot===void 0?null:ot,this.type=yt}function U(P,w,D,H,_,q,ot,yt){var Lt=_===void 0?1:_,dt=new B(Lt,H,D,P,ot,q,yt,w);return R.createVNode&&R.createVNode(dt),Lt===0&&Mt(dt,dt.children),dt}function j(P,w,D){if(P&4)return D;var H=(P&32768?w.render:w).defaultHooks;return r(H)?D:r(D)?H:F(D,H)}function K(P,w,D){var H=(P&32768?w.render:w).defaultProps;return r(H)?D:r(D)?d(H,null):F(D,H)}function $(P,w){return P&12?P:w.prototype&&w.prototype.render?4:w.render?32776:8}function W(P,w,D,H,_){P=$(P,w);var q=new B(1,null,null,P,H,K(P,w,D),j(P,w,_),w);return R.createVNode&&R.createVNode(q),q}function nt(P,w){return new B(1,r(P)||P===!0||P===!1?"":P,null,16,w,null,null,null)}function st(P,w,D){var H=U(8192,8192,null,P,w,null,D,null);switch(H.childFlags){case 1:H.children=tt(),H.childFlags=2;break;case 16:H.children=[nt(P)],H.childFlags=4;break}return H}function gt(P){var w=P.props;if(w){var D=P.flags;D&481&&(w.children!==void 0&&r(P.children)&&Mt(P,w.children),w.className!==void 0&&(r(P.className)&&(P.className=w.className||null),w.className=void 0)),w.key!==void 0&&(P.key=w.key,w.key=void 0),w.ref!==void 0&&(D&8?P.ref=d(P.ref,w.ref):P.ref=w.ref,w.ref=void 0)}return P}function k(P){var w=P.children,D=P.childFlags;return st(D===2?X(w):w.map(X),D,P.key)}function X(P){var w=P.flags&-16385,D=P.props;if(w&14&&!c(D)){var H=D;D={};for(var _ in H)D[_]=H[_]}return w&8192?k(P):new B(P.childFlags,P.children,P.className,w,P.key,D,P.ref,P.type)}function tt(){return nt("",null)}function ct(P,w){var D=wt(P);return U(1024,1024,null,D,0,null,D.key,w)}function at(P,w,D,H){for(var _=P.length;D<_;D++){var q=P[D];if(!o(q)){var ot=H+G+D;if(t(q))at(q,w,0,ot);else{if(n(q))q=nt(q,ot);else{var yt=q.key,Lt=u(yt)&&yt[0]===G;(q.flags&81920||Lt)&&(q=X(q)),q.flags|=65536,Lt?yt.substring(0,H.length)!==H&&(q.key=H+yt):c(yt)?q.key=ot:q.key=H+yt}w.push(q)}}}}function St(P){switch(P){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case p:return 8192;default:return 1}}function Mt(P,w){var D,H=1;if(o(w))D=w;else if(n(w))H=16,D=w;else if(t(w)){for(var _=w.length,q=0;q<_;++q){var ot=w[q];if(o(ot)||t(ot)){D=D||w.slice(0,q),at(w,D,q,"");break}else if(n(ot))D=D||w.slice(0,q),D.push(nt(ot,G+q));else{var yt=ot.key,Lt=(ot.flags&81920)>0,dt=c(yt),Y=u(yt)&&yt[0]===G;Lt||dt||Y?(D=D||w.slice(0,q),(Lt||Y)&&(ot=X(ot)),(dt||Y)&&(ot.key=G+q),D.push(ot)):D&&D.push(ot),ot.flags|=65536}}D=D||w,D.length===0?H=1:H=8}else D=w,D.flags|=65536,w.flags&81920&&(D=X(w)),H=2;return P.children=D,P.childFlags=H,P}function wt(P){return o(P)||n(P)?nt(P,null):t(P)?st(P,0,null):P.flags&16384?X(P):P}var Rt="http://www.w3.org/1999/xlink",vt="http://www.w3.org/XML/1998/namespace",ft={"xlink:actuate":Rt,"xlink:arcrole":Rt,"xlink:href":Rt,"xlink:role":Rt,"xlink:show":Rt,"xlink:title":Rt,"xlink:type":Rt,"xml:base":vt,"xml:lang":vt,"xml:space":vt};function Q(P){return{onClick:P,onDblClick:P,onFocusIn:P,onFocusOut:P,onKeyDown:P,onKeyPress:P,onKeyUp:P,onMouseDown:P,onMouseMove:P,onMouseUp:P,onTouchEnd:P,onTouchMove:P,onTouchStart:P}}var Z=Q(0),et=Q(null),ht=Q(!0);function Et(P,w){var D=w.$EV;return D||(D=w.$EV=Q(null)),D[P]||++Z[P]===1&&(et[P]=it(P)),D}function rt(P,w){var D=w.$EV;D&&D[P]&&(--Z[P]===0&&(document.removeEventListener(f(P),et[P]),et[P]=null),D[P]=null)}function pt(P,w,D,H){if(a(D))Et(P,H)[P]=D;else if(v(D)){if(x(w,D))return;Et(P,H)[P]=D}else rt(P,H)}function Nt(P){return a(P.composedPath)?P.composedPath()[0]:P.target}function J(P,w,D,H){var _=Nt(P);do{if(w&&_.disabled)return;var q=_.$EV;if(q){var ot=q[D];if(ot&&(H.dom=_,ot.event?ot.event(ot.data,P):ot(P),P.cancelBubble))return}_=_.parentNode}while(!c(_))}function ut(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function bt(){return this.defaultPrevented}function At(){return this.cancelBubble}function Bt(P){var w={dom:document};return P.isDefaultPrevented=bt,P.isPropagationStopped=At,P.stopPropagation=ut,Object.defineProperty(P,"currentTarget",{configurable:!0,get:function(){function D(){return w.dom}return D}()}),w}function Ut(P){return function(w){if(w.button!==0){w.stopPropagation();return}J(w,!0,P,Bt(w))}}function Tt(P){return function(w){J(w,!1,P,Bt(w))}}function it(P){var w=P==="onClick"||P==="onDblClick"?Ut(P):Tt(P);return document.addEventListener(f(P),w),w}function mt(P,w){var D=document.createElement("i");return D.innerHTML=w,D.innerHTML===P.innerHTML}function It(P,w,D){if(P[w]){var H=P[w];H.event?H.event(H.data,D):H(D)}else{var _=w.toLowerCase();P[_]&&P[_](D)}}function Ct(P,w){var D=function(_){var q=this.$V;if(q){var ot=q.props||s,yt=q.dom;if(u(P))It(ot,P,_);else for(var Lt=0;Lt<P.length;++Lt)It(ot,P[Lt],_);if(a(w)){var dt=this.$V,Y=dt.props||s;w(Y,yt,!1,dt)}}};return Object.defineProperty(D,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),D}function Pt(P,w,D){var H="$"+w,_=P[H];if(_){if(_[1].wrapped)return;P.removeEventListener(_[0],_[1]),P[H]=null}a(D)&&(P.addEventListener(w,D),P[H]=[w,D])}function xt(P){return P==="checkbox"||P==="radio"}var jt=Ct("onInput",kt),Kt=Ct(["onClick","onChange"],kt);function Wt(P){P.stopPropagation()}Wt.wrapped=!0;function Yt(P,w){xt(w.type)?(Pt(P,"change",Kt),Pt(P,"click",Wt)):Pt(P,"input",jt)}function kt(P,w){var D=P.type,H=P.value,_=P.checked,q=P.multiple,ot=P.defaultValue,yt=!r(H);D&&D!==w.type&&w.setAttribute("type",D),!r(q)&&q!==w.multiple&&(w.multiple=q),!r(ot)&&!yt&&(w.defaultValue=ot+""),xt(D)?(yt&&(w.value=H),r(_)||(w.checked=_)):yt&&w.value!==H?(w.defaultValue=H,w.value=H):r(_)||(w.checked=_)}function Zt(P,w){if(P.type==="option")De(P,w);else{var D=P.children,H=P.flags;if(H&4)Zt(D.$LI,w);else if(H&8)Zt(D,w);else if(P.childFlags===2)Zt(D,w);else if(P.childFlags&12)for(var _=0,q=D.length;_<q;++_)Zt(D[_],w)}}function De(P,w){var D=P.props||s,H=P.dom;H.value=D.value,D.value===w||t(w)&&w.indexOf(D.value)!==-1?H.selected=!0:(!r(w)||!r(D.selected))&&(H.selected=D.selected||!1)}var te=Ct("onChange",ve);function Be(P){Pt(P,"change",te)}function ve(P,w,D,H){var _=!!P.multiple;!r(P.multiple)&&_!==w.multiple&&(w.multiple=_);var q=P.selectedIndex;q===-1&&(w.selectedIndex=-1);var ot=H.childFlags;if(ot!==1){var yt=P.value;l(q)&&q>-1&&w.options[q]&&(yt=w.options[q].value),D&&r(yt)&&(yt=P.defaultValue),Zt(H,yt)}}var xe=Ct("onInput",Ge),nn=Ct("onChange");function rn(P,w){Pt(P,"input",xe),w.onChange&&Pt(P,"change",nn)}function Ge(P,w,D){var H=P.value,_=w.value;if(r(H)){if(D){var q=P.defaultValue;!r(q)&&q!==_&&(w.defaultValue=q,w.value=q)}}else _!==H&&(w.defaultValue=H,w.value=H)}function on(P,w,D,H,_,q){P&64?kt(H,D):P&256?ve(H,D,_,w):P&128&&Ge(H,D,_),q&&(D.$V=w)}function an(P,w,D){P&64?Yt(w,D):P&256?Be(w):P&128&&rn(w,D)}function re(P){return P.type&&xt(P.type)?!r(P.checked):!r(P.value)}function Ye(){return{current:null}}function He(P){return{render:P}}function he(P){P&&!V(P,null)&&P.current&&(P.current=null)}function Oe(P,w,D){P&&(a(P)||P.current!==void 0)&&D.push(function(){!V(P,w)&&P.current!==void 0&&(P.current=w)})}function oe(P,w){ue(P),O(P,w)}function ue(P){var w=P.flags,D=P.children,H;if(w&481){H=P.ref;var _=P.props;he(H);var q=P.childFlags;if(!c(_))for(var ot=Object.keys(_),yt=0,Lt=ot.length;yt<Lt;yt++){var dt=ot[yt];ht[dt]&&rt(dt,P.dom)}q&12?ge(D):q===2&&ue(D)}else D&&(w&4?(a(D.componentWillUnmount)&&D.componentWillUnmount(),he(P.ref),D.$UN=!0,ue(D.$LI)):w&8?(H=P.ref,!r(H)&&a(H.onComponentWillUnmount)&&H.onComponentWillUnmount(y(P,!0),P.props||s),ue(D)):w&1024?oe(D,P.ref):w&8192&&P.childFlags&12&&ge(D))}function ge(P){for(var w=0,D=P.length;w<D;++w)ue(P[w])}function Fe(P){P.textContent=""}function pe(P,w,D){ge(D),w.flags&8192?O(w,P):Fe(P)}function Xt(P){var w=P.event;return function(D){w(P.data,D)}}function un(P,w,D,H){if(v(D)){if(x(w,D))return;D=Xt(D)}Pt(H,f(P),D)}function Qt(P,w,D){if(r(w)){D.removeAttribute("style");return}var H=D.style,_,q;if(u(w)){H.cssText=w;return}if(!r(P)&&!u(P)){for(_ in w)q=w[_],q!==P[_]&&H.setProperty(_,q);for(_ in P)r(w[_])&&H.removeProperty(_)}else for(_ in w)q=w[_],H.setProperty(_,q)}function sn(P,w,D,H){var _=P&&P.__html||"",q=w&&w.__html||"";_!==q&&!r(q)&&!mt(H,q)&&(c(D)||(D.childFlags&12?ge(D.children):D.childFlags===2&&ue(D.children),D.children=null,D.childFlags=1),H.innerHTML=q)}function Ht(P,w,D,H,_,q,ot){switch(P){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":H.autofocus=!!D;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":H[P]=!!D;break;case"defaultChecked":case"value":case"volume":if(q&&P==="value")break;var yt=r(D)?"":D;H[P]!==yt&&(H[P]=yt);break;case"style":Qt(w,D,H);break;case"dangerouslySetInnerHTML":sn(w,D,ot,H);break;default:ht[P]?pt(P,w,D,H):P.charCodeAt(0)===111&&P.charCodeAt(1)===110?un(P,w,D,H):r(D)?H.removeAttribute(P):_&&ft[P]?H.setAttributeNS(ft[P],P,D):H.setAttribute(P,D);break}}function me(P,w,D,H,_){var q=!1,ot=(w&448)>0;ot&&(q=re(D),q&&an(w,H,D));for(var yt in D)Ht(yt,null,D[yt],H,_,q,null);ot&&on(w,P,H,D,!0,q)}function Ve(P,w,D){var H=wt(P.render(w,P.state,D)),_=D;return a(P.getChildContext)&&(_=d(D,P.getChildContext())),P.$CX=_,H}function We(P,w,D,H,_,q){var ot=new w(D,H),yt=ot.$N=!!(w.getDerivedStateFromProps||ot.getSnapshotBeforeUpdate);if(ot.$SVG=_,ot.$L=q,P.children=ot,ot.$BS=!1,ot.context=H,ot.props===s&&(ot.props=D),yt)ot.state=N(ot,D,ot.state);else if(a(ot.componentWillMount)){ot.$BR=!0,ot.componentWillMount();var Lt=ot.$PS;if(!c(Lt)){var dt=ot.state;if(c(dt))ot.state=Lt;else for(var Y in Lt)dt[Y]=Lt[Y];ot.$PS=null}ot.$BR=!1}return ot.$LI=Ve(ot,D,H),ot}function Ie(P,w){var D=P.props||s;return P.flags&32768?P.type.render(D,P.ref,w):P.type(D,w)}function zt(P,w,D,H,_,q){var ot=P.flags|=16384;ot&481?le(P,w,D,H,_,q):ot&4?ze(P,w,D,H,_,q):ot&8?(Se(P,w,D,H,_,q),Xe(P,q)):ot&512||ot&16?ke(P,w,_):ot&8192?ye(P,D,w,H,_,q):ot&1024&&cn(P,D,w,_,q)}function cn(P,w,D,H,_){zt(P.children,P.ref,w,!1,null,_);var q=tt();ke(q,D,H),P.dom=q.dom}function ye(P,w,D,H,_,q){var ot=P.children,yt=P.childFlags;yt&12&&ot.length===0&&(yt=P.childFlags=2,ot=P.children=tt()),yt===2?zt(ot,D,w,H,_,q):se(ot,D,w,H,_,q)}function ke(P,w,D){var H=P.dom=document.createTextNode(P.children);c(w)||m(w,H,D)}function le(P,w,D,H,_,q){var ot=P.flags,yt=P.props,Lt=P.className,dt=P.childFlags,Y=P.dom=b(P.type,H=H||(ot&32)>0),lt=P.children;if(!r(Lt)&&Lt!==""&&(H?Y.setAttribute("class",Lt):Y.className=Lt),dt===16)L(Y,lt);else if(dt!==1){var Ot=H&&P.type!=="foreignObject";dt===2?(lt.flags&16384&&(P.children=lt=X(lt)),zt(lt,Y,D,Ot,null,q)):(dt===8||dt===4)&&se(lt,Y,D,Ot,null,q)}c(w)||m(w,Y,_),c(yt)||me(P,ot,yt,Y,H),Oe(P.ref,Y,q)}function se(P,w,D,H,_,q){for(var ot=0;ot<P.length;++ot){var yt=P[ot];yt.flags&16384&&(P[ot]=yt=X(yt)),zt(yt,w,D,H,_,q)}}function ze(P,w,D,H,_,q){var ot=We(P,P.type,P.props||s,D,H,q);zt(ot.$LI,w,ot.$CX,H,_,q),Ae(P.ref,ot,q)}function Se(P,w,D,H,_,q){zt(P.children=wt(Ie(P,D)),w,D,H,_,q)}function je(P){return function(){P.componentDidMount()}}function Ae(P,w,D){Oe(P,w,D),a(w.componentDidMount)&&D.push(je(w))}function ln(P,w){return function(){P.onComponentDidMount(y(w,!0),w.props||s)}}function Xe(P,w){var D=P.ref;r(D)||(V(D.onComponentWillMount,P.props||s),a(D.onComponentDidMount)&&w.push(ln(D,P)))}function Sn(P,w,D,H,_,q){ue(P),w.flags&P.flags&2033?(zt(w,null,H,_,null,q),I(D,w.dom,P.dom)):(zt(w,D,H,_,y(P,!0),q),O(P,D))}function ae(P,w,D,H,_,q,ot){var yt=w.flags|=16384;P.flags!==yt||P.type!==w.type||P.key!==w.key||yt&2048?P.flags&16384?Sn(P,w,D,H,_,ot):zt(w,D,H,_,q,ot):yt&481?dn(P,w,H,_,yt,ot):yt&4?Ue(P,w,D,H,_,q,ot):yt&8?ce(P,w,D,H,_,q,ot):yt&16?Ce(P,w):yt&512?w.dom=P.dom:yt&8192?be(P,w,D,H,_,ot):fn(P,w,H,ot)}function Pe(P,w,D){P!==w&&(P!==""?D.firstChild.nodeValue=w:L(D,w))}function Ee(P,w){P.textContent!==w&&(P.textContent=w)}function be(P,w,D,H,_,q){var ot=P.children,yt=w.children,Lt=P.childFlags,dt=w.childFlags,Y=null;dt&12&&yt.length===0&&(dt=w.childFlags=2,yt=w.children=tt());var lt=(dt&2)!==0;if(Lt&12){var Ot=ot.length;(Lt&8&&dt&8||lt||!lt&&yt.length>Ot)&&(Y=y(ot[Ot-1],!1).nextSibling)}Ne(Lt,dt,ot,yt,D,H,_,Y,P,q)}function fn(P,w,D,H){var _=P.ref,q=w.ref,ot=w.children;if(Ne(P.childFlags,w.childFlags,P.children,ot,_,D,!1,null,P,H),w.dom=P.dom,_!==q&&!o(ot)){var yt=ot.dom;T(_,yt),g(q,yt)}}function dn(P,w,D,H,_,q){var ot=w.dom=P.dom,yt=P.props,Lt=w.props,dt=!1,Y=!1,lt;if(H=H||(_&32)>0,yt!==Lt){var Ot=yt||s;if(lt=Lt||s,lt!==s){dt=(_&448)>0,dt&&(Y=re(lt));for(var Ft in lt){var Dt=Ot[Ft],$t=lt[Ft];Dt!==$t&&Ht(Ft,Dt,$t,ot,H,Y,P)}}if(Ot!==s)for(var Vt in Ot)r(lt[Vt])&&!r(Ot[Vt])&&Ht(Vt,Ot[Vt],null,ot,H,Y,P)}var ne=w.children,Gt=w.className;P.className!==Gt&&(r(Gt)?ot.removeAttribute("class"):H?ot.setAttribute("class",Gt):ot.className=Gt),_&4096?Ee(ot,ne):Ne(P.childFlags,w.childFlags,P.children,ne,ot,D,H&&w.type!=="foreignObject",null,P,q),dt&&on(_,w,ot,lt,!1,Y);var fe=w.ref,ie=P.ref;ie!==fe&&(he(ie),Oe(fe,ot,q))}function vn(P,w,D,H,_,q){ue(P),se(w,D,H,_,y(P,!0),q),O(P,D)}function Ne(P,w,D,H,_,q,ot,yt,Lt,dt){switch(P){case 2:switch(w){case 2:ae(D,H,_,q,ot,yt,dt);break;case 1:oe(D,_);break;case 16:ue(D),L(_,H);break;default:vn(D,H,_,q,ot,dt);break}break;case 1:switch(w){case 2:zt(H,_,q,ot,yt,dt);break;case 1:break;case 16:L(_,H);break;default:se(H,_,q,ot,yt,dt);break}break;case 16:switch(w){case 16:Pe(D,H,_);break;case 2:Fe(_),zt(H,_,q,ot,yt,dt);break;case 1:Fe(_);break;default:Fe(_),se(H,_,q,ot,yt,dt);break}break;default:switch(w){case 16:ge(D),L(_,H);break;case 2:pe(_,Lt,D),zt(H,_,q,ot,yt,dt);break;case 1:pe(_,Lt,D);break;default:var Y=D.length|0,lt=H.length|0;Y===0?lt>0&&se(H,_,q,ot,yt,dt):lt===0?pe(_,Lt,D):w===8&&P===8?Je(D,H,_,q,ot,Y,lt,yt,Lt,dt):Qe(D,H,_,q,ot,Y,lt,yt,dt);break}break}}function hn(P,w,D,H,_){_.push(function(){P.componentDidUpdate(w,D,H)})}function Me(P,w,D,H,_,q,ot,yt,Lt){var dt=P.state,Y=P.props,lt=!!P.$N,Ot=a(P.shouldComponentUpdate);if(lt&&(w=N(P,D,w!==dt?d(dt,w):w)),ot||!Ot||Ot&&P.shouldComponentUpdate(D,w,_)){!lt&&a(P.componentWillUpdate)&&P.componentWillUpdate(D,w,_),P.props=D,P.state=w,P.context=_;var Ft=null,Dt=Ve(P,D,_);lt&&a(P.getSnapshotBeforeUpdate)&&(Ft=P.getSnapshotBeforeUpdate(Y,dt)),ae(P.$LI,Dt,H,P.$CX,q,yt,Lt),P.$LI=Dt,a(P.componentDidUpdate)&&hn(P,Y,dt,Ft,Lt)}else P.props=D,P.state=w,P.context=_}function Ue(P,w,D,H,_,q,ot){var yt=w.children=P.children;if(!c(yt)){yt.$L=ot;var Lt=w.props||s,dt=w.ref,Y=P.ref,lt=yt.state;if(!yt.$N){if(a(yt.componentWillReceiveProps)){if(yt.$BR=!0,yt.componentWillReceiveProps(Lt,H),yt.$UN)return;yt.$BR=!1}c(yt.$PS)||(lt=d(lt,yt.$PS),yt.$PS=null)}Me(yt,lt,Lt,D,H,_,!1,q,ot),Y!==dt&&(he(Y),Oe(dt,yt,ot))}}function ce(P,w,D,H,_,q,ot){var yt=!0,Lt=w.props||s,dt=w.ref,Y=P.props,lt=!r(dt),Ot=P.children;if(lt&&a(dt.onComponentShouldUpdate)&&(yt=dt.onComponentShouldUpdate(Y,Lt)),yt!==!1){lt&&a(dt.onComponentWillUpdate)&&dt.onComponentWillUpdate(Y,Lt);var Ft=wt(Ie(w,H));ae(Ot,Ft,D,H,_,q,ot),w.children=Ft,lt&&a(dt.onComponentDidUpdate)&&dt.onComponentDidUpdate(Y,Lt)}else w.children=Ot}function Ce(P,w){var D=w.children,H=w.dom=P.dom;D!==P.children&&(H.nodeValue=D)}function Qe(P,w,D,H,_,q,ot,yt,Lt){for(var dt=q>ot?ot:q,Y=0,lt,Ot;Y<dt;++Y)lt=w[Y],Ot=P[Y],lt.flags&16384&&(lt=w[Y]=X(lt)),ae(Ot,lt,D,H,_,yt,Lt),P[Y]=lt;if(q<ot)for(Y=dt;Y<ot;++Y)lt=w[Y],lt.flags&16384&&(lt=w[Y]=X(lt)),zt(lt,D,H,_,yt,Lt);else if(q>ot)for(Y=dt;Y<q;++Y)oe(P[Y],D)}function Je(P,w,D,H,_,q,ot,yt,Lt,dt){var Y=q-1,lt=ot-1,Ot=0,Ft=P[Ot],Dt=w[Ot],$t,Vt;t:{for(;Ft.key===Dt.key;){if(Dt.flags&16384&&(w[Ot]=Dt=X(Dt)),ae(Ft,Dt,D,H,_,yt,dt),P[Ot]=Dt,++Ot,Ot>Y||Ot>lt)break t;Ft=P[Ot],Dt=w[Ot]}for(Ft=P[Y],Dt=w[lt];Ft.key===Dt.key;){if(Dt.flags&16384&&(w[lt]=Dt=X(Dt)),ae(Ft,Dt,D,H,_,yt,dt),P[Y]=Dt,Y--,lt--,Ot>Y||Ot>lt)break t;Ft=P[Y],Dt=w[lt]}}if(Ot>Y){if(Ot<=lt)for($t=lt+1,Vt=$t<ot?y(w[$t],!0):yt;Ot<=lt;)Dt=w[Ot],Dt.flags&16384&&(w[Ot]=Dt=X(Dt)),++Ot,zt(Dt,D,H,_,Vt,dt)}else if(Ot>lt)for(;Ot<=Y;)oe(P[Ot++],D);else En(P,w,H,q,ot,Y,lt,Ot,D,_,yt,Lt,dt)}function En(P,w,D,H,_,q,ot,yt,Lt,dt,Y,lt,Ot){var Ft,Dt,$t,Vt=0,ne=yt,Gt=yt,fe=q-yt+1,ie=ot-yt+1,$e=new Int32Array(ie+1),de=fe===H,Cn=!1,qt=0,en=0;if(_<4||(fe|ie)<32)for(Vt=ne;Vt<=q;++Vt)if(Ft=P[Vt],en<ie){for(yt=Gt;yt<=ot;yt++)if(Dt=w[yt],Ft.key===Dt.key){if($e[yt-Gt]=Vt+1,de)for(de=!1;ne<Vt;)oe(P[ne++],Lt);qt>yt?Cn=!0:qt=yt,Dt.flags&16384&&(w[yt]=Dt=X(Dt)),ae(Ft,Dt,Lt,D,dt,Y,Ot),++en;break}!de&&yt>ot&&oe(Ft,Lt)}else de||oe(Ft,Lt);else{var On={};for(Vt=Gt;Vt<=ot;++Vt)On[w[Vt].key]=Vt;for(Vt=ne;Vt<=q;++Vt)if(Ft=P[Vt],en<ie)if(yt=On[Ft.key],yt!==void 0){if(de)for(de=!1;Vt>ne;)oe(P[ne++],Lt);$e[yt-Gt]=Vt+1,qt>yt?Cn=!0:qt=yt,Dt=w[yt],Dt.flags&16384&&(w[yt]=Dt=X(Dt)),ae(Ft,Dt,Lt,D,dt,Y,Ot),++en}else de||oe(Ft,Lt);else de||oe(Ft,Lt)}if(de)pe(Lt,lt,P),se(w,Lt,D,dt,Y,Ot);else if(Cn){var In=Jt($e);for(yt=In.length-1,Vt=ie-1;Vt>=0;Vt--)$e[Vt]===0?(qt=Vt+Gt,Dt=w[qt],Dt.flags&16384&&(w[qt]=Dt=X(Dt)),$t=qt+1,zt(Dt,Lt,D,dt,$t<_?y(w[$t],!0):Y,Ot)):yt<0||Vt!==In[yt]?(qt=Vt+Gt,Dt=w[qt],$t=qt+1,A(Dt,Lt,$t<_?y(w[$t],!0):Y)):yt--}else if(en!==ie)for(Vt=ie-1;Vt>=0;Vt--)$e[Vt]===0&&(qt=Vt+Gt,Dt=w[qt],Dt.flags&16384&&(w[qt]=Dt=X(Dt)),$t=qt+1,zt(Dt,Lt,D,dt,$t<_?y(w[$t],!0):Y,Ot))}var _t,Ke,gn=0;function Jt(P){var w=0,D=0,H=0,_=0,q=0,ot=0,yt=0,Lt=P.length;for(Lt>gn&&(gn=Lt,_t=new Int32Array(Lt),Ke=new Int32Array(Lt));D<Lt;++D)if(w=P[D],w!==0){if(H=_t[_],P[H]<w){Ke[D]=H,_t[++_]=D;continue}for(q=0,ot=_;q<ot;)yt=q+ot>>1,P[_t[yt]]<w?q=yt+1:ot=yt;w<P[_t[q]]&&(q>0&&(Ke[D]=_t[q-1]),_t[q]=D)}q=_+1;var dt=new Int32Array(q);for(ot=_t[q-1];q-- >0;)dt[q]=ot,ot=Ke[ot],_t[q]=0;return dt}var Te=typeof document!="undefined";Te&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function pn(P,w,D,H){var _=[],q=w.$V;M.v=!0,r(q)?r(P)||(P.flags&16384&&(P=X(P)),zt(P,w,H,!1,null,_),w.$V=P,q=P):r(P)?(oe(q,w),w.$V=null):(P.flags&16384&&(P=X(P)),ae(q,P,w,H,!1,null,_),q=w.$V=P),C(_),M.v=!1,a(D)&&D(),a(R.renderComplete)&&R.renderComplete(q,w)}function Ze(P,w,D,H){D===void 0&&(D=null),H===void 0&&(H=s),pn(P,w,D,H)}function _e(P){return function(){function w(D,H,_,q){P||(P=D),Ze(H,P,_,q)}return w}()}var Re=[],mn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(P){window.setTimeout(P,0)},qe=!1;function we(P,w,D,H){var _=P.$PS;if(a(w)&&(w=w(_?d(P.state,_):P.state,P.props,P.context)),r(_))P.$PS=w;else for(var q in w)_[q]=w[q];if(P.$BR)a(D)&&P.$L.push(D.bind(P));else{if(!M.v&&Re.length===0){ee(P,H),a(D)&&D.call(P);return}if(Re.indexOf(P)===-1&&Re.push(P),H&&(P.$F=!0),qe||(qe=!0,mn(yn)),a(D)){var ot=P.$QU;ot||(ot=P.$QU=[]),ot.push(D)}}}function tn(P){for(var w=P.$QU,D=0;D<w.length;++D)w[D].call(P);P.$QU=null}function yn(){var P;for(qe=!1;P=Re.shift();)if(!P.$UN){var w=P.$F;P.$F=!1,ee(P,w),P.$QU&&tn(P)}}function ee(P,w){if(w||!P.$BR){var D=P.$PS;P.$PS=null;var H=[];M.v=!0,Me(P,d(P.state,D),P.props,y(P.$LI,!0).parentNode,P.context,P.$SVG,w,null,H),C(H),M.v=!1}else P.state=P.$PS,P.$PS=null}var Le=e.Component=function(){function P(w,D){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=w||s,this.context=D||s}return P}();Le.prototype.forceUpdate=function(){function P(w){this.$UN||we(this,{},w,!0)}return P}(),Le.prototype.setState=function(){function P(w,D){this.$UN||this.$BS||we(this,w,D,!1)}return P}(),Le.prototype.render=function(){function P(w,D,H){return null}return P}();var bn=e.version="7.4.11"},96524:function(E,e,t){"use strict";e.__esModule=!0;var n=t(63935);Object.keys(n).forEach(function(r){r==="default"||r==="__esModule"||r in e&&e[r]===n[r]||(e[r]=n[r])})},92572:function(E,e){"use strict";e.__esModule=!0,e.VNodeFlags=e.ChildFlags=void 0;var t;(function(r){r[r.HtmlElement=1]="HtmlElement",r[r.ComponentUnknown=2]="ComponentUnknown",r[r.ComponentClass=4]="ComponentClass",r[r.ComponentFunction=8]="ComponentFunction",r[r.Text=16]="Text",r[r.SvgElement=32]="SvgElement",r[r.InputElement=64]="InputElement",r[r.TextareaElement=128]="TextareaElement",r[r.SelectElement=256]="SelectElement",r[r.Void=512]="Void",r[r.Portal=1024]="Portal",r[r.ReCreate=2048]="ReCreate",r[r.ContentEditable=4096]="ContentEditable",r[r.Fragment=8192]="Fragment",r[r.InUse=16384]="InUse",r[r.ForwardRef=32768]="ForwardRef",r[r.Normalized=65536]="Normalized",r[r.ForwardRefComponent=32776]="ForwardRefComponent",r[r.FormElement=448]="FormElement",r[r.Element=481]="Element",r[r.Component=14]="Component",r[r.DOMRef=2033]="DOMRef",r[r.InUseOrNormalized=81920]="InUseOrNormalized",r[r.ClearInUse=-16385]="ClearInUse",r[r.ComponentKnown=12]="ComponentKnown"})(t||(e.VNodeFlags=t={}));var n;(function(r){r[r.UnknownChildren=0]="UnknownChildren",r[r.HasInvalidChildren=1]="HasInvalidChildren",r[r.HasVNodeChildren=2]="HasVNodeChildren",r[r.HasNonKeyedChildren=4]="HasNonKeyedChildren",r[r.HasKeyedChildren=8]="HasKeyedChildren",r[r.HasTextChildren=16]="HasTextChildren",r[r.MultipleChildren=12]="MultipleChildren"})(n||(e.ChildFlags=n={}))},55776:function(E){"use strict";var e=function(t){"use strict";var n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(B,U,j){B[U]=j.value},a,u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",h=u.toStringTag||"@@toStringTag";function d(B,U,j){return Object.defineProperty(B,U,{value:j,enumerable:!0,configurable:!0,writable:!0}),B[U]}try{d({},"")}catch(B){d=function(j,K,$){return j[K]=$}}function i(B,U,j,K){var $=U&&U.prototype instanceof b?U:b,W=Object.create($.prototype),nt=new F(K||[]);return o(W,"_invoke",{value:M(B,j,nt)}),W}t.wrap=i;function v(B,U,j){try{return{type:"normal",arg:B.call(U,j)}}catch(K){return{type:"throw",arg:K}}}var s="suspendedStart",p="suspendedYield",f="executing",g="completed",m={};function b(){}function I(){}function T(){}var C={};d(C,l,function(){return this});var S=Object.getPrototypeOf,y=S&&S(S(V([])));y&&y!==n&&r.call(y,l)&&(C=y);var O=T.prototype=b.prototype=Object.create(C);I.prototype=T,o(O,"constructor",{value:T,configurable:!0}),o(T,"constructor",{value:I,configurable:!0}),I.displayName=d(T,h,"GeneratorFunction");function A(B){["next","throw","return"].forEach(function(U){d(B,U,function(j){return this._invoke(U,j)})})}t.isGeneratorFunction=function(B){var U=typeof B=="function"&&B.constructor;return U?U===I||(U.displayName||U.name)==="GeneratorFunction":!1},t.mark=function(B){return Object.setPrototypeOf?Object.setPrototypeOf(B,T):(B.__proto__=T,d(B,h,"GeneratorFunction")),B.prototype=Object.create(O),B},t.awrap=function(B){return{__await:B}};function N(B,U){function j(W,nt,st,gt){var k=v(B[W],B,nt);if(k.type==="throw")gt(k.arg);else{var X=k.arg,tt=X.value;return tt&&typeof tt=="object"&&r.call(tt,"__await")?U.resolve(tt.__await).then(function(ct){j("next",ct,st,gt)},function(ct){j("throw",ct,st,gt)}):U.resolve(tt).then(function(ct){X.value=ct,st(X)},function(ct){return j("throw",ct,st,gt)})}}var K;function $(W,nt){function st(){return new U(function(gt,k){j(W,nt,gt,k)})}return K=K?K.then(st,st):st()}o(this,"_invoke",{value:$})}A(N.prototype),d(N.prototype,c,function(){return this}),t.AsyncIterator=N,t.async=function(B,U,j,K,$){$===void 0&&($=Promise);var W=new N(i(B,U,j,K),$);return t.isGeneratorFunction(U)?W:W.next().then(function(nt){return nt.done?nt.value:W.next()})};function M(B,U,j){var K=s;return function(){function $(W,nt){if(K===f)throw new Error("Generator is already running");if(K===g){if(W==="throw")throw nt;return G()}for(j.method=W,j.arg=nt;;){var st=j.delegate;if(st){var gt=R(st,j);if(gt){if(gt===m)continue;return gt}}if(j.method==="next")j.sent=j._sent=j.arg;else if(j.method==="throw"){if(K===s)throw K=g,j.arg;j.dispatchException(j.arg)}else j.method==="return"&&j.abrupt("return",j.arg);K=f;var k=v(B,U,j);if(k.type==="normal"){if(K=j.done?g:p,k.arg===m)continue;return{value:k.arg,done:j.done}}else k.type==="throw"&&(K=g,j.method="throw",j.arg=k.arg)}}return $}()}function R(B,U){var j=U.method,K=B.iterator[j];if(K===a)return U.delegate=null,j==="throw"&&B.iterator.return&&(U.method="return",U.arg=a,R(B,U),U.method==="throw")||j!=="return"&&(U.method="throw",U.arg=new TypeError("The iterator does not provide a '"+j+"' method")),m;var $=v(K,B.iterator,U.arg);if($.type==="throw")return U.method="throw",U.arg=$.arg,U.delegate=null,m;var W=$.arg;if(!W)return U.method="throw",U.arg=new TypeError("iterator result is not an object"),U.delegate=null,m;if(W.done)U[B.resultName]=W.value,U.next=B.nextLoc,U.method!=="return"&&(U.method="next",U.arg=a);else return W;return U.delegate=null,m}A(O),d(O,h,"Generator"),d(O,l,function(){return this}),d(O,"toString",function(){return"[object Generator]"});function L(B){var U={tryLoc:B[0]};1 in B&&(U.catchLoc=B[1]),2 in B&&(U.finallyLoc=B[2],U.afterLoc=B[3]),this.tryEntries.push(U)}function x(B){var U=B.completion||{};U.type="normal",delete U.arg,B.completion=U}function F(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(L,this),this.reset(!0)}t.keys=function(B){var U=Object(B),j=[];for(var K in U)j.push(K);return j.reverse(),function(){function $(){for(;j.length;){var W=j.pop();if(W in U)return $.value=W,$.done=!1,$}return $.done=!0,$}return $}()};function V(B){if(B!=null){var U=B[l];if(U)return U.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var j=-1,K=function(){function $(){for(;++j<B.length;)if(r.call(B,j))return $.value=B[j],$.done=!1,$;return $.value=a,$.done=!0,$}return $}();return K.next=K}}throw new TypeError(typeof B+" is not iterable")}t.values=V;function G(){return{value:a,done:!0}}return F.prototype={constructor:F,reset:function(){function B(U){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(x),!U)for(var j in this)j.charAt(0)==="t"&&r.call(this,j)&&!isNaN(+j.slice(1))&&(this[j]=a)}return B}(),stop:function(){function B(){this.done=!0;var U=this.tryEntries[0],j=U.completion;if(j.type==="throw")throw j.arg;return this.rval}return B}(),dispatchException:function(){function B(U){if(this.done)throw U;var j=this;function K(k,X){return nt.type="throw",nt.arg=U,j.next=k,X&&(j.method="next",j.arg=a),!!X}for(var $=this.tryEntries.length-1;$>=0;--$){var W=this.tryEntries[$],nt=W.completion;if(W.tryLoc==="root")return K("end");if(W.tryLoc<=this.prev){var st=r.call(W,"catchLoc"),gt=r.call(W,"finallyLoc");if(st&>){if(this.prev<W.catchLoc)return K(W.catchLoc,!0);if(this.prev<W.finallyLoc)return K(W.finallyLoc)}else if(st){if(this.prev<W.catchLoc)return K(W.catchLoc,!0)}else if(gt){if(this.prev<W.finallyLoc)return K(W.finallyLoc)}else throw new Error("try statement without catch or finally")}}}return B}(),abrupt:function(){function B(U,j){for(var K=this.tryEntries.length-1;K>=0;--K){var $=this.tryEntries[K];if($.tryLoc<=this.prev&&r.call($,"finallyLoc")&&this.prev<$.finallyLoc){var W=$;break}}W&&(U==="break"||U==="continue")&&W.tryLoc<=j&&j<=W.finallyLoc&&(W=null);var nt=W?W.completion:{};return nt.type=U,nt.arg=j,W?(this.method="next",this.next=W.finallyLoc,m):this.complete(nt)}return B}(),complete:function(){function B(U,j){if(U.type==="throw")throw U.arg;return U.type==="break"||U.type==="continue"?this.next=U.arg:U.type==="return"?(this.rval=this.arg=U.arg,this.method="return",this.next="end"):U.type==="normal"&&j&&(this.next=j),m}return B}(),finish:function(){function B(U){for(var j=this.tryEntries.length-1;j>=0;--j){var K=this.tryEntries[j];if(K.finallyLoc===U)return this.complete(K.completion,K.afterLoc),x(K),m}}return B}(),catch:function(){function B(U){for(var j=this.tryEntries.length-1;j>=0;--j){var K=this.tryEntries[j];if(K.tryLoc===U){var $=K.completion;if($.type==="throw"){var W=$.arg;x(K)}return W}}throw new Error("illegal catch attempt")}return B}(),delegateYield:function(){function B(U,j,K){return this.delegate={iterator:V(U),resultName:j,nextLoc:K},this.method==="next"&&(this.arg=a),m}return B}()},t}(E.exports);try{regeneratorRuntime=e}catch(t){typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},16666:function(){"use strict";self.fetch||(self.fetch=function(E,e){return e=e||{},new Promise(function(t,n){var r=new XMLHttpRequest,o=[],a={},u=function(){function c(){return{ok:(r.status/100|0)==2,statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){function h(){return Promise.resolve(r.responseText)}return h}(),json:function(){function h(){return Promise.resolve(r.responseText).then(JSON.parse)}return h}(),blob:function(){function h(){return Promise.resolve(new Blob([r.response]))}return h}(),clone:c,headers:{keys:function(){function h(){return o}return h}(),entries:function(){function h(){return o.map(function(d){return[d,r.getResponseHeader(d)]})}return h}(),get:function(){function h(d){return r.getResponseHeader(d)}return h}(),has:function(){function h(d){return r.getResponseHeader(d)!=null}return h}()}}}return c}();for(var l in r.open(e.method||"get",E,!0),r.onload=function(){r.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(c,h){a[h]||o.push(a[h]=h)}),t(u())},r.onerror=n,r.withCredentials=e.credentials=="include",e.headers)r.setRequestHeader(l,e.headers[l]);r.send(e.body||null)})})},50640:function(E,e){"use strict";e.__esModule=!0,e.zipWith=e.zip=e.uniqBy=e.uniq=e.toKeyedArray=e.toArray=e.sortBy=e.sort=e.reduce=e.range=e.map=e.filterMap=e.filter=void 0;function t(b,I){var T=typeof Symbol!="undefined"&&b[Symbol.iterator]||b["@@iterator"];if(T)return(T=T.call(b)).next.bind(T);if(Array.isArray(b)||(T=n(b))||I&&b&&typeof b.length=="number"){T&&(b=T);var C=0;return function(){return C>=b.length?{done:!0}:{done:!1,value:b[C++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(b,I){if(b){if(typeof b=="string")return r(b,I);var T=Object.prototype.toString.call(b).slice(8,-1);if(T==="Object"&&b.constructor&&(T=b.constructor.name),T==="Map"||T==="Set")return Array.from(b);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return r(b,I)}}function r(b,I){(I==null||I>b.length)&&(I=b.length);for(var T=0,C=new Array(I);T<I;T++)C[T]=b[T];return C}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=e.toArray=function(){function S(I){if(Array.isArray(I))return I;if(typeof I=="object"){var O=Object.prototype.hasOwnProperty,C=[];for(var y in I)O.call(I,y)&&C.push(I[y]);return C}return[]}return S}(),a=e.toKeyedArray=function(){function S(I,O){return O===void 0&&(O="key"),l(function(C,y){var b;return Object.assign((b={},b[O]=y,b),C)})(I)}return S}(),u=e.filter=function(){function S(I){return function(O){if(O==null)return O;if(Array.isArray(O)){for(var C=[],y=0;y<O.length;y++){var b=O[y];I(b,y,O)&&C.push(b)}return C}throw new Error("filter() can't iterate on type "+typeof O)}}return S}(),l=e.map=function(){function S(I){return function(O){if(O==null)return O;if(Array.isArray(O)){for(var C=[],y=0;y<O.length;y++)C.push(I(O[y],y,O));return C}if(typeof O=="object"){var b=Object.prototype.hasOwnProperty,T=[];for(var P in O)b.call(O,P)&&T.push(I(O[P],P,O));return T}throw new Error("map() can't iterate on type "+typeof O)}}return S}(),c=e.filterMap=function(){function S(I,O){for(var C=[],y=t(I),b;!(b=y()).done;){var T=b.value,P=O(T);P!==void 0&&C.push(P)}return C}return S}(),h=function(I,O){for(var C=I.criteria,y=O.criteria,b=C.length,T=0;T<b;T++){var P=C[T],N=y[T];if(P<N)return-1;if(P>N)return 1}return 0},v=e.sortBy=function(){function S(){for(var I=arguments.length,O=new Array(I),C=0;C<I;C++)O[C]=arguments[C];return function(y){if(!Array.isArray(y))return y;for(var b=y.length,T=[],P=function(){function M(){var R=y[N];T.push({criteria:O.map(function(L){return L(R)}),value:R})}return M}(),N=0;N<b;N++)P();for(T.sort(h);b--;)T[b]=T[b].value;return T}}return S}(),i=e.sort=v(),f=e.range=function(){function S(I,O){return new Array(O-I).fill(null).map(function(C,y){return y+I})}return S}(),s=e.reduce=function(){function S(I,O){return function(C){var y=C.length,b,T;for(O===void 0?(b=1,T=C[0]):(b=0,T=O);b<y;b++)T=I(T,C[b],b,C);return T}}return S}(),p=e.uniqBy=function(){function S(I){return function(O){var C=O.length,y=[],b=I?[]:y,T=-1;t:for(;++T<C;){var P=O[T],N=I?I(P):P;if(P=P!==0?P:0,N===N){for(var M=b.length;M--;)if(b[M]===N)continue t;I&&b.push(N),y.push(P)}else b.includes(N)||(b!==y&&b.push(N),y.push(P))}return y}}return S}(),d=e.uniq=p(),g=e.zip=function(){function S(){for(var I=arguments.length,O=new Array(I),C=0;C<I;C++)O[C]=arguments[C];if(O.length!==0){for(var y=O.length,b=O[0].length,T=[],P=0;P<b;P++){for(var N=[],M=0;M<y;M++)N.push(O[M][P]);T.push(N)}return T}}return S}(),m=e.zipWith=function(){function S(I){return function(){return l(function(O){return I.apply(void 0,O)})(g.apply(void 0,arguments))}}return S}()},22310:function(E,e){"use strict";e.__esModule=!0,e.Color=void 0;/** + */var o=e.toArray=function(){function b(I){if(Array.isArray(I))return I;if(typeof I=="object"){var T=Object.prototype.hasOwnProperty,C=[];for(var S in I)T.call(I,S)&&C.push(I[S]);return C}return[]}return b}(),a=e.toKeyedArray=function(){function b(I,T){return T===void 0&&(T="key"),l(function(C,S){var y;return Object.assign((y={},y[T]=S,y),C)})(I)}return b}(),u=e.filter=function(){function b(I){return function(T){if(T==null)return T;if(Array.isArray(T)){for(var C=[],S=0;S<T.length;S++){var y=T[S];I(y,S,T)&&C.push(y)}return C}throw new Error("filter() can't iterate on type "+typeof T)}}return b}(),l=e.map=function(){function b(I){return function(T){if(T==null)return T;if(Array.isArray(T)){for(var C=[],S=0;S<T.length;S++)C.push(I(T[S],S,T));return C}if(typeof T=="object"){var y=Object.prototype.hasOwnProperty,O=[];for(var A in T)y.call(T,A)&&O.push(I(T[A],A,T));return O}throw new Error("map() can't iterate on type "+typeof T)}}return b}(),c=e.filterMap=function(){function b(I,T){for(var C=[],S=t(I),y;!(y=S()).done;){var O=y.value,A=T(O);A!==void 0&&C.push(A)}return C}return b}(),h=function(I,T){for(var C=I.criteria,S=T.criteria,y=C.length,O=0;O<y;O++){var A=C[O],N=S[O];if(A<N)return-1;if(A>N)return 1}return 0},d=e.sortBy=function(){function b(){for(var I=arguments.length,T=new Array(I),C=0;C<I;C++)T[C]=arguments[C];return function(S){if(!Array.isArray(S))return S;for(var y=S.length,O=[],A=function(){function M(){var R=S[N];O.push({criteria:T.map(function(L){return L(R)}),value:R})}return M}(),N=0;N<y;N++)A();for(O.sort(h);y--;)O[y]=O[y].value;return O}}return b}(),i=e.sort=d(),v=e.range=function(){function b(I,T){return new Array(T-I).fill(null).map(function(C,S){return S+I})}return b}(),s=e.reduce=function(){function b(I,T){return function(C){var S=C.length,y,O;for(T===void 0?(y=1,O=C[0]):(y=0,O=T);y<S;y++)O=I(O,C[y],y,C);return O}}return b}(),p=e.uniqBy=function(){function b(I){return function(T){var C=T.length,S=[],y=I?[]:S,O=-1;t:for(;++O<C;){var A=T[O],N=I?I(A):A;if(A=A!==0?A:0,N===N){for(var M=y.length;M--;)if(y[M]===N)continue t;I&&y.push(N),S.push(A)}else y.includes(N)||(y!==S&&y.push(N),S.push(A))}return S}}return b}(),f=e.uniq=p(),g=e.zip=function(){function b(){for(var I=arguments.length,T=new Array(I),C=0;C<I;C++)T[C]=arguments[C];if(T.length!==0){for(var S=T.length,y=T[0].length,O=[],A=0;A<y;A++){for(var N=[],M=0;M<S;M++)N.push(T[M][A]);O.push(N)}return O}}return b}(),m=e.zipWith=function(){function b(I){return function(){return l(function(T){return I.apply(void 0,T)})(g.apply(void 0,arguments))}}return b}()},27028:function(E,e){"use strict";e.__esModule=!0,e.Color=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=1e-4,n=e.Color=function(){function r(a,u,l,c){a===void 0&&(a=0),u===void 0&&(u=0),l===void 0&&(l=0),c===void 0&&(c=1),this.r=a,this.g=u,this.b=l,this.a=c}var o=r.prototype;return o.toString=function(){function a(){return"rgba("+(this.r|0)+", "+(this.g|0)+", "+(this.b|0)+", "+(this.a|0)+")"}return a}(),r}();n.fromHex=function(r){return new n(parseInt(r.substr(1,2),16),parseInt(r.substr(3,2),16),parseInt(r.substr(5,2),16))},n.lerp=function(r,o,a){return new n((o.r-r.r)*a+r.r,(o.g-r.g)*a+r.g,(o.b-r.b)*a+r.b,(o.a-r.a)*a+r.a)},n.lookup=function(r,o){o===void 0&&(o=[]);var a=o.length;if(a<2)throw new Error("Needs at least two colors!");var u=r*(a-1);if(r<t)return o[0];if(r>=1-t)return o[a-1];var l=u%1,c=u|0;return n.lerp(o[c],o[c+1],l)}},70654:function(E,e){"use strict";e.__esModule=!0,e.EventEmitter=void 0;/** + */var t=1e-4,n=e.Color=function(){function r(a,u,l,c){a===void 0&&(a=0),u===void 0&&(u=0),l===void 0&&(l=0),c===void 0&&(c=1),this.r=a,this.g=u,this.b=l,this.a=c}var o=r.prototype;return o.toString=function(){function a(){return"rgba("+(this.r|0)+", "+(this.g|0)+", "+(this.b|0)+", "+(this.a|0)+")"}return a}(),r}();n.fromHex=function(r){return new n(parseInt(r.substr(1,2),16),parseInt(r.substr(3,2),16),parseInt(r.substr(5,2),16))},n.lerp=function(r,o,a){return new n((o.r-r.r)*a+r.r,(o.g-r.g)*a+r.g,(o.b-r.b)*a+r.b,(o.a-r.a)*a+r.a)},n.lookup=function(r,o){o===void 0&&(o=[]);var a=o.length;if(a<2)throw new Error("Needs at least two colors!");var u=r*(a-1);if(r<t)return o[0];if(r>=1-t)return o[a-1];var l=u%1,c=u|0;return n.lerp(o[c],o[c+1],l)}},22594:function(E,e){"use strict";e.__esModule=!0,e.EventEmitter=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.EventEmitter=function(){function n(){this.listeners={}}var r=n.prototype;return r.on=function(){function o(a,u){this.listeners[a]=this.listeners[a]||[],this.listeners[a].push(u)}return o}(),r.off=function(){function o(a,u){var l=this.listeners[a];if(!l)throw new Error('There is no listeners for "'+a+'"');this.listeners[a]=l.filter(function(c){return c!==u})}return o}(),r.emit=function(){function o(a){var u=this.listeners[a];if(u){for(var l=arguments.length,c=new Array(l>1?l-1:0),h=1;h<l;h++)c[h-1]=arguments[h];for(var v=0,i=u.length;v<i;v+=1){var f=u[v];f.apply(void 0,c)}}}return o}(),r.clear=function(){function o(){this.listeners={}}return o}(),n}()},90955:function(E,e){"use strict";e.__esModule=!0,e.flow=e.compose=void 0;/** + */var t=e.EventEmitter=function(){function n(){this.listeners={}}var r=n.prototype;return r.on=function(){function o(a,u){this.listeners[a]=this.listeners[a]||[],this.listeners[a].push(u)}return o}(),r.off=function(){function o(a,u){var l=this.listeners[a];if(!l)throw new Error('There is no listeners for "'+a+'"');this.listeners[a]=l.filter(function(c){return c!==u})}return o}(),r.emit=function(){function o(a){var u=this.listeners[a];if(u){for(var l=arguments.length,c=new Array(l>1?l-1:0),h=1;h<l;h++)c[h-1]=arguments[h];for(var d=0,i=u.length;d<i;d+=1){var v=u[d];v.apply(void 0,c)}}}return o}(),r.clear=function(){function o(){this.listeners={}}return o}(),n}()},74041:function(E,e){"use strict";e.__esModule=!0,e.flow=e.compose=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.flow=function(){function r(){for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return function(l){for(var c=l,h=arguments.length,v=new Array(h>1?h-1:0),i=1;i<h;i++)v[i-1]=arguments[i];for(var f=0,s=a;f<s.length;f++){var p=s[f];Array.isArray(p)?c=r.apply(void 0,p).apply(void 0,[c].concat(v)):p&&(c=p.apply(void 0,[c].concat(v)))}return c}}return r}(),n=e.compose=function(){function r(){for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return a.length===0?function(l){return l}:a.length===1?a[0]:a.reduce(function(l,c){return function(h){for(var v=arguments.length,i=new Array(v>1?v-1:0),f=1;f<v;f++)i[f-1]=arguments[f];return l.apply(void 0,[c.apply(void 0,[h].concat(i))].concat(i))}})}return r}()},31068:function(E,e){"use strict";e.__esModule=!0,e.KEY_Z=e.KEY_Y=e.KEY_X=e.KEY_W=e.KEY_V=e.KEY_UP=e.KEY_U=e.KEY_TAB=e.KEY_T=e.KEY_SPACE=e.KEY_SLASH=e.KEY_SHIFT=e.KEY_SEMICOLON=e.KEY_S=e.KEY_RIGHT_BRACKET=e.KEY_RIGHT=e.KEY_R=e.KEY_QUOTE=e.KEY_Q=e.KEY_PERIOD=e.KEY_PAUSE=e.KEY_PAGEUP=e.KEY_PAGEDOWN=e.KEY_P=e.KEY_O=e.KEY_NUMPAD_9=e.KEY_NUMPAD_8=e.KEY_NUMPAD_7=e.KEY_NUMPAD_6=e.KEY_NUMPAD_5=e.KEY_NUMPAD_4=e.KEY_NUMPAD_3=e.KEY_NUMPAD_2=e.KEY_NUMPAD_1=e.KEY_NUMPAD_0=e.KEY_N=e.KEY_MINUS=e.KEY_M=e.KEY_LEFT_BRACKET=e.KEY_LEFT=e.KEY_L=e.KEY_K=e.KEY_J=e.KEY_INSERT=e.KEY_I=e.KEY_HOME=e.KEY_H=e.KEY_G=e.KEY_F9=e.KEY_F8=e.KEY_F7=e.KEY_F6=e.KEY_F5=e.KEY_F4=e.KEY_F3=e.KEY_F2=e.KEY_F12=e.KEY_F11=e.KEY_F10=e.KEY_F1=e.KEY_F=e.KEY_ESCAPE=e.KEY_EQUAL=e.KEY_ENTER=e.KEY_END=e.KEY_E=e.KEY_DOWN=e.KEY_DELETE=e.KEY_D=e.KEY_CTRL=e.KEY_COMMA=e.KEY_CAPSLOCK=e.KEY_C=e.KEY_BACKSPACE=e.KEY_BACKSLASH=e.KEY_B=e.KEY_ALT=e.KEY_A=e.KEY_9=e.KEY_8=e.KEY_7=e.KEY_6=e.KEY_5=e.KEY_4=e.KEY_3=e.KEY_2=e.KEY_1=e.KEY_0=void 0;/** + */var t=e.flow=function(){function r(){for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return function(l){for(var c=l,h=arguments.length,d=new Array(h>1?h-1:0),i=1;i<h;i++)d[i-1]=arguments[i];for(var v=0,s=a;v<s.length;v++){var p=s[v];Array.isArray(p)?c=r.apply(void 0,p).apply(void 0,[c].concat(d)):p&&(c=p.apply(void 0,[c].concat(d)))}return c}}return r}(),n=e.compose=function(){function r(){for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return a.length===0?function(l){return l}:a.length===1?a[0]:a.reduce(function(l,c){return function(h){for(var d=arguments.length,i=new Array(d>1?d-1:0),v=1;v<d;v++)i[v-1]=arguments[v];return l.apply(void 0,[c.apply(void 0,[h].concat(i))].concat(i))}})}return r}()},68100:function(E,e){"use strict";e.__esModule=!0,e.KEY_Z=e.KEY_Y=e.KEY_X=e.KEY_W=e.KEY_V=e.KEY_UP=e.KEY_U=e.KEY_TAB=e.KEY_T=e.KEY_SPACE=e.KEY_SLASH=e.KEY_SHIFT=e.KEY_SEMICOLON=e.KEY_S=e.KEY_RIGHT_BRACKET=e.KEY_RIGHT=e.KEY_R=e.KEY_QUOTE=e.KEY_Q=e.KEY_PERIOD=e.KEY_PAUSE=e.KEY_PAGEUP=e.KEY_PAGEDOWN=e.KEY_P=e.KEY_O=e.KEY_NUMPAD_9=e.KEY_NUMPAD_8=e.KEY_NUMPAD_7=e.KEY_NUMPAD_6=e.KEY_NUMPAD_5=e.KEY_NUMPAD_4=e.KEY_NUMPAD_3=e.KEY_NUMPAD_2=e.KEY_NUMPAD_1=e.KEY_NUMPAD_0=e.KEY_N=e.KEY_MINUS=e.KEY_M=e.KEY_LEFT_BRACKET=e.KEY_LEFT=e.KEY_L=e.KEY_K=e.KEY_J=e.KEY_INSERT=e.KEY_I=e.KEY_HOME=e.KEY_H=e.KEY_G=e.KEY_F9=e.KEY_F8=e.KEY_F7=e.KEY_F6=e.KEY_F5=e.KEY_F4=e.KEY_F3=e.KEY_F2=e.KEY_F12=e.KEY_F11=e.KEY_F10=e.KEY_F1=e.KEY_F=e.KEY_ESCAPE=e.KEY_EQUAL=e.KEY_ENTER=e.KEY_END=e.KEY_E=e.KEY_DOWN=e.KEY_DELETE=e.KEY_D=e.KEY_CTRL=e.KEY_COMMA=e.KEY_CAPSLOCK=e.KEY_C=e.KEY_BACKSPACE=e.KEY_BACKSLASH=e.KEY_B=e.KEY_ALT=e.KEY_A=e.KEY_9=e.KEY_8=e.KEY_7=e.KEY_6=e.KEY_5=e.KEY_4=e.KEY_3=e.KEY_2=e.KEY_1=e.KEY_0=void 0;/** * All possible browser keycodes, in one file. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.KEY_BACKSPACE=8,n=e.KEY_TAB=9,r=e.KEY_ENTER=13,o=e.KEY_SHIFT=16,a=e.KEY_CTRL=17,u=e.KEY_ALT=18,l=e.KEY_PAUSE=19,c=e.KEY_CAPSLOCK=20,h=e.KEY_ESCAPE=27,v=e.KEY_SPACE=32,i=e.KEY_PAGEUP=33,f=e.KEY_PAGEDOWN=34,s=e.KEY_END=35,p=e.KEY_HOME=36,d=e.KEY_LEFT=37,g=e.KEY_UP=38,m=e.KEY_RIGHT=39,S=e.KEY_DOWN=40,I=e.KEY_INSERT=45,O=e.KEY_DELETE=46,C=e.KEY_0=48,y=e.KEY_1=49,b=e.KEY_2=50,T=e.KEY_3=51,P=e.KEY_4=52,N=e.KEY_5=53,M=e.KEY_6=54,R=e.KEY_7=55,L=e.KEY_8=56,K=e.KEY_9=57,U=e.KEY_A=65,F=e.KEY_B=66,$=e.KEY_C=67,B=e.KEY_D=68,x=e.KEY_E=69,V=e.KEY_F=70,G=e.KEY_G=71,Y=e.KEY_H=72,k=e.KEY_I=73,nt=e.KEY_J=74,ut=e.KEY_K=75,ft=e.KEY_L=76,W=e.KEY_M=77,X=e.KEY_N=78,et=e.KEY_O=79,ct=e.KEY_P=80,at=e.KEY_Q=81,St=e.KEY_R=82,Pt=e.KEY_S=83,Rt=e.KEY_T=84,Nt=e.KEY_U=85,ht=e.KEY_V=86,dt=e.KEY_W=87,J=e.KEY_X=88,Z=e.KEY_Y=89,ot=e.KEY_Z=90,gt=e.KEY_NUMPAD_0=96,Et=e.KEY_NUMPAD_1=97,it=e.KEY_NUMPAD_2=98,pt=e.KEY_NUMPAD_3=99,rt=e.KEY_NUMPAD_4=100,_=e.KEY_NUMPAD_5=101,yt=e.KEY_NUMPAD_6=102,Ct=e.KEY_NUMPAD_7=103,Mt=e.KEY_NUMPAD_8=104,xt=e.KEY_NUMPAD_9=105,Vt=e.KEY_F1=112,Tt=e.KEY_F2=113,lt=e.KEY_F3=114,mt=e.KEY_F4=115,Ot=e.KEY_F5=116,bt=e.KEY_F6=117,It=e.KEY_F7=118,Lt=e.KEY_F8=119,jt=e.KEY_F9=120,$t=e.KEY_F10=121,kt=e.KEY_F11=122,Yt=e.KEY_F12=123,Ht=e.KEY_SEMICOLON=186,Jt=e.KEY_EQUAL=187,qt=e.KEY_COMMA=188,Ae=e.KEY_MINUS=189,Ee=e.KEY_PERIOD=190,be=e.KEY_SLASH=191,on=e.KEY_LEFT_BRACKET=219,an=e.KEY_BACKSLASH=220,un=e.KEY_RIGHT_BRACKET=221,xe=e.KEY_QUOTE=222},58331:function(E,e){"use strict";e.__esModule=!0,e.toFixed=e.scale=e.round=e.rad2deg=e.keyOfMatchingRange=e.inRange=e.clamp01=e.clamp=void 0;/** + */var t=e.KEY_BACKSPACE=8,n=e.KEY_TAB=9,r=e.KEY_ENTER=13,o=e.KEY_SHIFT=16,a=e.KEY_CTRL=17,u=e.KEY_ALT=18,l=e.KEY_PAUSE=19,c=e.KEY_CAPSLOCK=20,h=e.KEY_ESCAPE=27,d=e.KEY_SPACE=32,i=e.KEY_PAGEUP=33,v=e.KEY_PAGEDOWN=34,s=e.KEY_END=35,p=e.KEY_HOME=36,f=e.KEY_LEFT=37,g=e.KEY_UP=38,m=e.KEY_RIGHT=39,b=e.KEY_DOWN=40,I=e.KEY_INSERT=45,T=e.KEY_DELETE=46,C=e.KEY_0=48,S=e.KEY_1=49,y=e.KEY_2=50,O=e.KEY_3=51,A=e.KEY_4=52,N=e.KEY_5=53,M=e.KEY_6=54,R=e.KEY_7=55,L=e.KEY_8=56,x=e.KEY_9=57,F=e.KEY_A=65,V=e.KEY_B=66,G=e.KEY_C=67,B=e.KEY_D=68,U=e.KEY_E=69,j=e.KEY_F=70,K=e.KEY_G=71,$=e.KEY_H=72,W=e.KEY_I=73,nt=e.KEY_J=74,st=e.KEY_K=75,gt=e.KEY_L=76,k=e.KEY_M=77,X=e.KEY_N=78,tt=e.KEY_O=79,ct=e.KEY_P=80,at=e.KEY_Q=81,St=e.KEY_R=82,Mt=e.KEY_S=83,wt=e.KEY_T=84,Rt=e.KEY_U=85,vt=e.KEY_V=86,ft=e.KEY_W=87,Q=e.KEY_X=88,Z=e.KEY_Y=89,et=e.KEY_Z=90,ht=e.KEY_NUMPAD_0=96,Et=e.KEY_NUMPAD_1=97,rt=e.KEY_NUMPAD_2=98,pt=e.KEY_NUMPAD_3=99,Nt=e.KEY_NUMPAD_4=100,J=e.KEY_NUMPAD_5=101,ut=e.KEY_NUMPAD_6=102,bt=e.KEY_NUMPAD_7=103,At=e.KEY_NUMPAD_8=104,Bt=e.KEY_NUMPAD_9=105,Ut=e.KEY_F1=112,Tt=e.KEY_F2=113,it=e.KEY_F3=114,mt=e.KEY_F4=115,It=e.KEY_F5=116,Ct=e.KEY_F6=117,Pt=e.KEY_F7=118,xt=e.KEY_F8=119,jt=e.KEY_F9=120,Kt=e.KEY_F10=121,Wt=e.KEY_F11=122,Yt=e.KEY_F12=123,kt=e.KEY_SEMICOLON=186,Zt=e.KEY_EQUAL=187,De=e.KEY_COMMA=188,te=e.KEY_MINUS=189,Be=e.KEY_PERIOD=190,ve=e.KEY_SLASH=191,xe=e.KEY_LEFT_BRACKET=219,nn=e.KEY_BACKSLASH=220,rn=e.KEY_RIGHT_BRACKET=221,Ge=e.KEY_QUOTE=222},36121:function(E,e){"use strict";e.__esModule=!0,e.toFixed=e.scale=e.round=e.rad2deg=e.keyOfMatchingRange=e.inRange=e.clamp01=e.clamp=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.clamp=function(){function h(v,i,f){return v<i?i:v>f?f:v}return h}(),n=e.clamp01=function(){function h(v){return v<0?0:v>1?1:v}return h}(),r=e.scale=function(){function h(v,i,f){return(v-i)/(f-i)}return h}(),o=e.round=function(){function h(v,i){if(!v||isNaN(v))return v;var f,s,p,d;return i|=0,f=Math.pow(10,i),v*=f,d=+(v>0)|-(v<0),p=Math.abs(v%1)>=.4999999999854481,s=Math.floor(v),p&&(v=s+(d>0)),(p?v:Math.round(v))/f}return h}(),a=e.toFixed=function(){function h(v,i){return i===void 0&&(i=0),Number(v).toFixed(Math.max(i,0))}return h}(),u=e.inRange=function(){function h(v,i){return i&&v>=i[0]&&v<=i[1]}return h}(),l=e.keyOfMatchingRange=function(){function h(v,i){for(var f=0,s=Object.keys(i);f<s.length;f++){var p=s[f],d=i[p];if(u(v,d))return p}}return h}(),c=e.rad2deg=function(){function h(v){return v*(180/Math.PI)}return h}()},60031:function(E,e){"use strict";e.__esModule=!0,e.perf=void 0;var t;/** + */var t=e.clamp=function(){function h(d,i,v){return d<i?i:d>v?v:d}return h}(),n=e.clamp01=function(){function h(d){return d<0?0:d>1?1:d}return h}(),r=e.scale=function(){function h(d,i,v){return(d-i)/(v-i)}return h}(),o=e.round=function(){function h(d,i){if(!d||isNaN(d))return d;var v,s,p,f;return i|=0,v=Math.pow(10,i),d*=v,f=+(d>0)|-(d<0),p=Math.abs(d%1)>=.4999999999854481,s=Math.floor(d),p&&(d=s+(f>0)),(p?d:Math.round(d))/v}return h}(),a=e.toFixed=function(){function h(d,i){return i===void 0&&(i=0),Number(d).toFixed(Math.max(i,0))}return h}(),u=e.inRange=function(){function h(d,i){return i&&d>=i[0]&&d<=i[1]}return h}(),l=e.keyOfMatchingRange=function(){function h(d,i){for(var v=0,s=Object.keys(i);v<s.length;v++){var p=s[v],f=i[p];if(u(d,f))return p}}return h}(),c=e.rad2deg=function(){function h(d){return d*(180/Math.PI)}return h}()},63560:function(E,e){"use strict";e.__esModule=!0,e.perf=void 0;var t;/** * Ghetto performance measurement tools. * * Uses NODE_ENV to remove itself from production builds. @@ -32,33 +32,33 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=60,r=1e3/n,o=!!((t=window.performance)!=null&&t.now),a={},u={},l=function(f,s){},c=function(f,s){if(0)var p,d,g},h=function(f){var s=f/r;return f.toFixed(f<10?1:0)+"ms ("+s.toFixed(2)+" frames)"},v=e.perf={mark:l,measure:c}},66586:function(E,e){"use strict";e.__esModule=!0,e.shallowDiffers=e.pureComponentHooks=e.normalizeChildren=e.classes=e.canRender=void 0;/** + */var n=60,r=1e3/n,o=!!((t=window.performance)!=null&&t.now),a={},u={},l=function(v,s){},c=function(v,s){if(0)var p,f,g},h=function(v){var s=v/r;return v.toFixed(v<10?1:0)+"ms ("+s.toFixed(2)+" frames)"},d=e.perf={mark:l,measure:c}},28234:function(E,e){"use strict";e.__esModule=!0,e.shallowDiffers=e.pureComponentHooks=e.normalizeChildren=e.classes=e.canRender=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.classes=function(){function u(l){for(var c="",h=0;h<l.length;h++){var v=l[h];typeof v=="string"&&(c+=v+" ")}return c}return u}(),n=e.normalizeChildren=function(){function u(l){return Array.isArray(l)?l.flat().filter(function(c){return c}):typeof l=="object"?[l]:[]}return u}(),r=e.shallowDiffers=function(){function u(l,c){var h;for(h in l)if(!(h in c))return!0;for(h in c)if(l[h]!==c[h])return!0;return!1}return u}(),o=e.pureComponentHooks={onComponentShouldUpdate:function(){function u(l,c){return r(l,c)}return u}()},a=e.canRender=function(){function u(l){return l!=null&&typeof l!="boolean"}return u}()},90816:function(E,e,t){"use strict";e.__esModule=!0,e.useSelector=e.useDispatch=e.createStore=e.createAction=e.combineReducers=e.applyMiddleware=void 0;var n=t(90955);/** + */var t=e.classes=function(){function u(l){for(var c="",h=0;h<l.length;h++){var d=l[h];typeof d=="string"&&(c+=d+" ")}return c}return u}(),n=e.normalizeChildren=function(){function u(l){return Array.isArray(l)?l.flat().filter(function(c){return c}):typeof l=="object"?[l]:[]}return u}(),r=e.shallowDiffers=function(){function u(l,c){var h;for(h in l)if(!(h in c))return!0;for(h in c)if(l[h]!==c[h])return!0;return!1}return u}(),o=e.pureComponentHooks={onComponentShouldUpdate:function(){function u(l,c){return r(l,c)}return u}()},a=e.canRender=function(){function u(l){return l!=null&&typeof l!="boolean"}return u}()},88605:function(E,e,t){"use strict";e.__esModule=!0,e.useSelector=e.useDispatch=e.createStore=e.createAction=e.combineReducers=e.applyMiddleware=void 0;var n=t(74041);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r=e.createStore=function(){function h(v,i){if(i)return i(h)(v);var f,s=[],p=function(){function m(){return f}return m}(),d=function(){function m(S){s.push(S)}return m}(),g=function(){function m(S){f=v(f,S);for(var I=0;I<s.length;I++)s[I]()}return m}();return g({type:"@@INIT"}),{dispatch:g,subscribe:d,getState:p}}return h}(),o=e.applyMiddleware=function(){function h(){for(var v=arguments.length,i=new Array(v),f=0;f<v;f++)i[f]=arguments[f];return function(s){return function(p){for(var d=arguments.length,g=new Array(d>1?d-1:0),m=1;m<d;m++)g[m-1]=arguments[m];var S=s.apply(void 0,[p].concat(g)),I=function(){function y(){throw new Error("Dispatching while constructing your middleware is not allowed.")}return y}(),O={getState:S.getState,dispatch:function(){function y(b){for(var T=arguments.length,P=new Array(T>1?T-1:0),N=1;N<T;N++)P[N-1]=arguments[N];return I.apply(void 0,[b].concat(P))}return y}()},C=i.map(function(y){return y(O)});return I=n.compose.apply(void 0,C)(S.dispatch),Object.assign({},S,{dispatch:I})}}}return h}(),a=e.combineReducers=function(){function h(v){var i=Object.keys(v),f=!1;return function(s,p){s===void 0&&(s={});for(var d=Object.assign({},s),g=0,m=i;g<m.length;g++){var S=m[g],I=v[S],O=s[S],C=I(O,p);O!==C&&(f=!0,d[S]=C)}return f?d:s}}return h}(),u=e.createAction=function(){function h(v,i){i===void 0&&(i=null);var f=function(){function s(){if(!i)return{type:v,payload:arguments.length<=0?void 0:arguments[0]};var p=i.apply(void 0,arguments);if(!p)throw new Error("prepare function did not return an object");var d={type:v};return"payload"in p&&(d.payload=p.payload),"meta"in p&&(d.meta=p.meta),d}return s}();return f.toString=function(){return""+v},f.type=v,f.match=function(s){return s.type===v},f}return h}(),l=e.useDispatch=function(){function h(v){return v.store.dispatch}return h}(),c=e.useSelector=function(){function h(v,i){return i(v.store.getState())}return h}()},96417:function(E,e){"use strict";e.__esModule=!0,e.storage=e.IMPL_MEMORY=e.IMPL_LOCAL_STORAGE=e.IMPL_INDEXED_DB=void 0;function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return C};var O,C={},y=Object.prototype,b=y.hasOwnProperty,T=Object.defineProperty||function(ht,dt,J){ht[dt]=J.value},P=typeof Symbol=="function"?Symbol:{},N=P.iterator||"@@iterator",M=P.asyncIterator||"@@asyncIterator",R=P.toStringTag||"@@toStringTag";function L(ht,dt,J){return Object.defineProperty(ht,dt,{value:J,enumerable:!0,configurable:!0,writable:!0}),ht[dt]}try{L({},"")}catch(ht){L=function(J,Z,ot){return J[Z]=ot}}function K(ht,dt,J,Z){var ot=dt&&dt.prototype instanceof G?dt:G,gt=Object.create(ot.prototype),Et=new Rt(Z||[]);return T(gt,"_invoke",{value:ct(ht,J,Et)}),gt}function U(ht,dt,J){try{return{type:"normal",arg:ht.call(dt,J)}}catch(Z){return{type:"throw",arg:Z}}}C.wrap=K;var F="suspendedStart",$="suspendedYield",B="executing",x="completed",V={};function G(){}function Y(){}function k(){}var nt={};L(nt,N,function(){return this});var ut=Object.getPrototypeOf,ft=ut&&ut(ut(Nt([])));ft&&ft!==y&&b.call(ft,N)&&(nt=ft);var W=k.prototype=G.prototype=Object.create(nt);function X(ht){["next","throw","return"].forEach(function(dt){L(ht,dt,function(J){return this._invoke(dt,J)})})}function et(ht,dt){function J(ot,gt,Et,it){var pt=U(ht[ot],ht,gt);if(pt.type!=="throw"){var rt=pt.arg,_=rt.value;return _&&typeof _=="object"&&b.call(_,"__await")?dt.resolve(_.__await).then(function(yt){J("next",yt,Et,it)},function(yt){J("throw",yt,Et,it)}):dt.resolve(_).then(function(yt){rt.value=yt,Et(rt)},function(yt){return J("throw",yt,Et,it)})}it(pt.arg)}var Z;T(this,"_invoke",{value:function(){function ot(gt,Et){function it(){return new dt(function(pt,rt){J(gt,Et,pt,rt)})}return Z=Z?Z.then(it,it):it()}return ot}()})}function ct(ht,dt,J){var Z=F;return function(ot,gt){if(Z===B)throw new Error("Generator is already running");if(Z===x){if(ot==="throw")throw gt;return{value:O,done:!0}}for(J.method=ot,J.arg=gt;;){var Et=J.delegate;if(Et){var it=at(Et,J);if(it){if(it===V)continue;return it}}if(J.method==="next")J.sent=J._sent=J.arg;else if(J.method==="throw"){if(Z===F)throw Z=x,J.arg;J.dispatchException(J.arg)}else J.method==="return"&&J.abrupt("return",J.arg);Z=B;var pt=U(ht,dt,J);if(pt.type==="normal"){if(Z=J.done?x:$,pt.arg===V)continue;return{value:pt.arg,done:J.done}}pt.type==="throw"&&(Z=x,J.method="throw",J.arg=pt.arg)}}}function at(ht,dt){var J=dt.method,Z=ht.iterator[J];if(Z===O)return dt.delegate=null,J==="throw"&&ht.iterator.return&&(dt.method="return",dt.arg=O,at(ht,dt),dt.method==="throw")||J!=="return"&&(dt.method="throw",dt.arg=new TypeError("The iterator does not provide a '"+J+"' method")),V;var ot=U(Z,ht.iterator,dt.arg);if(ot.type==="throw")return dt.method="throw",dt.arg=ot.arg,dt.delegate=null,V;var gt=ot.arg;return gt?gt.done?(dt[ht.resultName]=gt.value,dt.next=ht.nextLoc,dt.method!=="return"&&(dt.method="next",dt.arg=O),dt.delegate=null,V):gt:(dt.method="throw",dt.arg=new TypeError("iterator result is not an object"),dt.delegate=null,V)}function St(ht){var dt={tryLoc:ht[0]};1 in ht&&(dt.catchLoc=ht[1]),2 in ht&&(dt.finallyLoc=ht[2],dt.afterLoc=ht[3]),this.tryEntries.push(dt)}function Pt(ht){var dt=ht.completion||{};dt.type="normal",delete dt.arg,ht.completion=dt}function Rt(ht){this.tryEntries=[{tryLoc:"root"}],ht.forEach(St,this),this.reset(!0)}function Nt(ht){if(ht||ht===""){var dt=ht[N];if(dt)return dt.call(ht);if(typeof ht.next=="function")return ht;if(!isNaN(ht.length)){var J=-1,Z=function(){function ot(){for(;++J<ht.length;)if(b.call(ht,J))return ot.value=ht[J],ot.done=!1,ot;return ot.value=O,ot.done=!0,ot}return ot}();return Z.next=Z}}throw new TypeError(typeof ht+" is not iterable")}return Y.prototype=k,T(W,"constructor",{value:k,configurable:!0}),T(k,"constructor",{value:Y,configurable:!0}),Y.displayName=L(k,R,"GeneratorFunction"),C.isGeneratorFunction=function(ht){var dt=typeof ht=="function"&&ht.constructor;return!!dt&&(dt===Y||(dt.displayName||dt.name)==="GeneratorFunction")},C.mark=function(ht){return Object.setPrototypeOf?Object.setPrototypeOf(ht,k):(ht.__proto__=k,L(ht,R,"GeneratorFunction")),ht.prototype=Object.create(W),ht},C.awrap=function(ht){return{__await:ht}},X(et.prototype),L(et.prototype,M,function(){return this}),C.AsyncIterator=et,C.async=function(ht,dt,J,Z,ot){ot===void 0&&(ot=Promise);var gt=new et(K(ht,dt,J,Z),ot);return C.isGeneratorFunction(dt)?gt:gt.next().then(function(Et){return Et.done?Et.value:gt.next()})},X(W),L(W,R,"Generator"),L(W,N,function(){return this}),L(W,"toString",function(){return"[object Generator]"}),C.keys=function(ht){var dt=Object(ht),J=[];for(var Z in dt)J.push(Z);return J.reverse(),function(){function ot(){for(;J.length;){var gt=J.pop();if(gt in dt)return ot.value=gt,ot.done=!1,ot}return ot.done=!0,ot}return ot}()},C.values=Nt,Rt.prototype={constructor:Rt,reset:function(){function ht(dt){if(this.prev=0,this.next=0,this.sent=this._sent=O,this.done=!1,this.delegate=null,this.method="next",this.arg=O,this.tryEntries.forEach(Pt),!dt)for(var J in this)J.charAt(0)==="t"&&b.call(this,J)&&!isNaN(+J.slice(1))&&(this[J]=O)}return ht}(),stop:function(){function ht(){this.done=!0;var dt=this.tryEntries[0].completion;if(dt.type==="throw")throw dt.arg;return this.rval}return ht}(),dispatchException:function(){function ht(dt){if(this.done)throw dt;var J=this;function Z(rt,_){return Et.type="throw",Et.arg=dt,J.next=rt,_&&(J.method="next",J.arg=O),!!_}for(var ot=this.tryEntries.length-1;ot>=0;--ot){var gt=this.tryEntries[ot],Et=gt.completion;if(gt.tryLoc==="root")return Z("end");if(gt.tryLoc<=this.prev){var it=b.call(gt,"catchLoc"),pt=b.call(gt,"finallyLoc");if(it&&pt){if(this.prev<gt.catchLoc)return Z(gt.catchLoc,!0);if(this.prev<gt.finallyLoc)return Z(gt.finallyLoc)}else if(it){if(this.prev<gt.catchLoc)return Z(gt.catchLoc,!0)}else{if(!pt)throw new Error("try statement without catch or finally");if(this.prev<gt.finallyLoc)return Z(gt.finallyLoc)}}}}return ht}(),abrupt:function(){function ht(dt,J){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var ot=this.tryEntries[Z];if(ot.tryLoc<=this.prev&&b.call(ot,"finallyLoc")&&this.prev<ot.finallyLoc){var gt=ot;break}}gt&&(dt==="break"||dt==="continue")&>.tryLoc<=J&&J<=gt.finallyLoc&&(gt=null);var Et=gt?gt.completion:{};return Et.type=dt,Et.arg=J,gt?(this.method="next",this.next=gt.finallyLoc,V):this.complete(Et)}return ht}(),complete:function(){function ht(dt,J){if(dt.type==="throw")throw dt.arg;return dt.type==="break"||dt.type==="continue"?this.next=dt.arg:dt.type==="return"?(this.rval=this.arg=dt.arg,this.method="return",this.next="end"):dt.type==="normal"&&J&&(this.next=J),V}return ht}(),finish:function(){function ht(dt){for(var J=this.tryEntries.length-1;J>=0;--J){var Z=this.tryEntries[J];if(Z.finallyLoc===dt)return this.complete(Z.completion,Z.afterLoc),Pt(Z),V}}return ht}(),catch:function(){function ht(dt){for(var J=this.tryEntries.length-1;J>=0;--J){var Z=this.tryEntries[J];if(Z.tryLoc===dt){var ot=Z.completion;if(ot.type==="throw"){var gt=ot.arg;Pt(Z)}return gt}}throw new Error("illegal catch attempt")}return ht}(),delegateYield:function(){function ht(dt,J,Z){return this.delegate={iterator:Nt(dt),resultName:J,nextLoc:Z},this.method==="next"&&(this.arg=O),V}return ht}()},C}function n(O,C,y,b,T,P,N){try{var M=O[P](N),R=M.value}catch(L){y(L);return}M.done?C(R):Promise.resolve(R).then(b,T)}function r(O){return function(){var C=this,y=arguments;return new Promise(function(b,T){var P=O.apply(C,y);function N(R){n(P,b,T,N,M,"next",R)}function M(R){n(P,b,T,N,M,"throw",R)}N(void 0)})}}/** + */var r=e.createStore=function(){function h(d,i){if(i)return i(h)(d);var v,s=[],p=function(){function m(){return v}return m}(),f=function(){function m(b){s.push(b)}return m}(),g=function(){function m(b){v=d(v,b);for(var I=0;I<s.length;I++)s[I]()}return m}();return g({type:"@@INIT"}),{dispatch:g,subscribe:f,getState:p}}return h}(),o=e.applyMiddleware=function(){function h(){for(var d=arguments.length,i=new Array(d),v=0;v<d;v++)i[v]=arguments[v];return function(s){return function(p){for(var f=arguments.length,g=new Array(f>1?f-1:0),m=1;m<f;m++)g[m-1]=arguments[m];var b=s.apply(void 0,[p].concat(g)),I=function(){function S(){throw new Error("Dispatching while constructing your middleware is not allowed.")}return S}(),T={getState:b.getState,dispatch:function(){function S(y){for(var O=arguments.length,A=new Array(O>1?O-1:0),N=1;N<O;N++)A[N-1]=arguments[N];return I.apply(void 0,[y].concat(A))}return S}()},C=i.map(function(S){return S(T)});return I=n.compose.apply(void 0,C)(b.dispatch),Object.assign({},b,{dispatch:I})}}}return h}(),a=e.combineReducers=function(){function h(d){var i=Object.keys(d),v=!1;return function(s,p){s===void 0&&(s={});for(var f=Object.assign({},s),g=0,m=i;g<m.length;g++){var b=m[g],I=d[b],T=s[b],C=I(T,p);T!==C&&(v=!0,f[b]=C)}return v?f:s}}return h}(),u=e.createAction=function(){function h(d,i){i===void 0&&(i=null);var v=function(){function s(){if(!i)return{type:d,payload:arguments.length<=0?void 0:arguments[0]};var p=i.apply(void 0,arguments);if(!p)throw new Error("prepare function did not return an object");var f={type:d};return"payload"in p&&(f.payload=p.payload),"meta"in p&&(f.meta=p.meta),f}return s}();return v.toString=function(){return""+d},v.type=d,v.match=function(s){return s.type===d},v}return h}(),l=e.useDispatch=function(){function h(d){return d.store.dispatch}return h}(),c=e.useSelector=function(){function h(d,i){return i(d.store.getState())}return h}()},66450:function(E,e){"use strict";e.__esModule=!0,e.storage=e.IMPL_MEMORY=e.IMPL_LOCAL_STORAGE=e.IMPL_INDEXED_DB=void 0;function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return C};var T,C={},S=Object.prototype,y=S.hasOwnProperty,O=Object.defineProperty||function(vt,ft,Q){vt[ft]=Q.value},A=typeof Symbol=="function"?Symbol:{},N=A.iterator||"@@iterator",M=A.asyncIterator||"@@asyncIterator",R=A.toStringTag||"@@toStringTag";function L(vt,ft,Q){return Object.defineProperty(vt,ft,{value:Q,enumerable:!0,configurable:!0,writable:!0}),vt[ft]}try{L({},"")}catch(vt){L=function(Q,Z,et){return Q[Z]=et}}function x(vt,ft,Q,Z){var et=ft&&ft.prototype instanceof K?ft:K,ht=Object.create(et.prototype),Et=new wt(Z||[]);return O(ht,"_invoke",{value:ct(vt,Q,Et)}),ht}function F(vt,ft,Q){try{return{type:"normal",arg:vt.call(ft,Q)}}catch(Z){return{type:"throw",arg:Z}}}C.wrap=x;var V="suspendedStart",G="suspendedYield",B="executing",U="completed",j={};function K(){}function $(){}function W(){}var nt={};L(nt,N,function(){return this});var st=Object.getPrototypeOf,gt=st&&st(st(Rt([])));gt&>!==S&&y.call(gt,N)&&(nt=gt);var k=W.prototype=K.prototype=Object.create(nt);function X(vt){["next","throw","return"].forEach(function(ft){L(vt,ft,function(Q){return this._invoke(ft,Q)})})}function tt(vt,ft){function Q(et,ht,Et,rt){var pt=F(vt[et],vt,ht);if(pt.type!=="throw"){var Nt=pt.arg,J=Nt.value;return J&&typeof J=="object"&&y.call(J,"__await")?ft.resolve(J.__await).then(function(ut){Q("next",ut,Et,rt)},function(ut){Q("throw",ut,Et,rt)}):ft.resolve(J).then(function(ut){Nt.value=ut,Et(Nt)},function(ut){return Q("throw",ut,Et,rt)})}rt(pt.arg)}var Z;O(this,"_invoke",{value:function(){function et(ht,Et){function rt(){return new ft(function(pt,Nt){Q(ht,Et,pt,Nt)})}return Z=Z?Z.then(rt,rt):rt()}return et}()})}function ct(vt,ft,Q){var Z=V;return function(et,ht){if(Z===B)throw Error("Generator is already running");if(Z===U){if(et==="throw")throw ht;return{value:T,done:!0}}for(Q.method=et,Q.arg=ht;;){var Et=Q.delegate;if(Et){var rt=at(Et,Q);if(rt){if(rt===j)continue;return rt}}if(Q.method==="next")Q.sent=Q._sent=Q.arg;else if(Q.method==="throw"){if(Z===V)throw Z=U,Q.arg;Q.dispatchException(Q.arg)}else Q.method==="return"&&Q.abrupt("return",Q.arg);Z=B;var pt=F(vt,ft,Q);if(pt.type==="normal"){if(Z=Q.done?U:G,pt.arg===j)continue;return{value:pt.arg,done:Q.done}}pt.type==="throw"&&(Z=U,Q.method="throw",Q.arg=pt.arg)}}}function at(vt,ft){var Q=ft.method,Z=vt.iterator[Q];if(Z===T)return ft.delegate=null,Q==="throw"&&vt.iterator.return&&(ft.method="return",ft.arg=T,at(vt,ft),ft.method==="throw")||Q!=="return"&&(ft.method="throw",ft.arg=new TypeError("The iterator does not provide a '"+Q+"' method")),j;var et=F(Z,vt.iterator,ft.arg);if(et.type==="throw")return ft.method="throw",ft.arg=et.arg,ft.delegate=null,j;var ht=et.arg;return ht?ht.done?(ft[vt.resultName]=ht.value,ft.next=vt.nextLoc,ft.method!=="return"&&(ft.method="next",ft.arg=T),ft.delegate=null,j):ht:(ft.method="throw",ft.arg=new TypeError("iterator result is not an object"),ft.delegate=null,j)}function St(vt){var ft={tryLoc:vt[0]};1 in vt&&(ft.catchLoc=vt[1]),2 in vt&&(ft.finallyLoc=vt[2],ft.afterLoc=vt[3]),this.tryEntries.push(ft)}function Mt(vt){var ft=vt.completion||{};ft.type="normal",delete ft.arg,vt.completion=ft}function wt(vt){this.tryEntries=[{tryLoc:"root"}],vt.forEach(St,this),this.reset(!0)}function Rt(vt){if(vt||vt===""){var ft=vt[N];if(ft)return ft.call(vt);if(typeof vt.next=="function")return vt;if(!isNaN(vt.length)){var Q=-1,Z=function(){function et(){for(;++Q<vt.length;)if(y.call(vt,Q))return et.value=vt[Q],et.done=!1,et;return et.value=T,et.done=!0,et}return et}();return Z.next=Z}}throw new TypeError(typeof vt+" is not iterable")}return $.prototype=W,O(k,"constructor",{value:W,configurable:!0}),O(W,"constructor",{value:$,configurable:!0}),$.displayName=L(W,R,"GeneratorFunction"),C.isGeneratorFunction=function(vt){var ft=typeof vt=="function"&&vt.constructor;return!!ft&&(ft===$||(ft.displayName||ft.name)==="GeneratorFunction")},C.mark=function(vt){return Object.setPrototypeOf?Object.setPrototypeOf(vt,W):(vt.__proto__=W,L(vt,R,"GeneratorFunction")),vt.prototype=Object.create(k),vt},C.awrap=function(vt){return{__await:vt}},X(tt.prototype),L(tt.prototype,M,function(){return this}),C.AsyncIterator=tt,C.async=function(vt,ft,Q,Z,et){et===void 0&&(et=Promise);var ht=new tt(x(vt,ft,Q,Z),et);return C.isGeneratorFunction(ft)?ht:ht.next().then(function(Et){return Et.done?Et.value:ht.next()})},X(k),L(k,R,"Generator"),L(k,N,function(){return this}),L(k,"toString",function(){return"[object Generator]"}),C.keys=function(vt){var ft=Object(vt),Q=[];for(var Z in ft)Q.push(Z);return Q.reverse(),function(){function et(){for(;Q.length;){var ht=Q.pop();if(ht in ft)return et.value=ht,et.done=!1,et}return et.done=!0,et}return et}()},C.values=Rt,wt.prototype={constructor:wt,reset:function(){function vt(ft){if(this.prev=0,this.next=0,this.sent=this._sent=T,this.done=!1,this.delegate=null,this.method="next",this.arg=T,this.tryEntries.forEach(Mt),!ft)for(var Q in this)Q.charAt(0)==="t"&&y.call(this,Q)&&!isNaN(+Q.slice(1))&&(this[Q]=T)}return vt}(),stop:function(){function vt(){this.done=!0;var ft=this.tryEntries[0].completion;if(ft.type==="throw")throw ft.arg;return this.rval}return vt}(),dispatchException:function(){function vt(ft){if(this.done)throw ft;var Q=this;function Z(Nt,J){return Et.type="throw",Et.arg=ft,Q.next=Nt,J&&(Q.method="next",Q.arg=T),!!J}for(var et=this.tryEntries.length-1;et>=0;--et){var ht=this.tryEntries[et],Et=ht.completion;if(ht.tryLoc==="root")return Z("end");if(ht.tryLoc<=this.prev){var rt=y.call(ht,"catchLoc"),pt=y.call(ht,"finallyLoc");if(rt&&pt){if(this.prev<ht.catchLoc)return Z(ht.catchLoc,!0);if(this.prev<ht.finallyLoc)return Z(ht.finallyLoc)}else if(rt){if(this.prev<ht.catchLoc)return Z(ht.catchLoc,!0)}else{if(!pt)throw Error("try statement without catch or finally");if(this.prev<ht.finallyLoc)return Z(ht.finallyLoc)}}}}return vt}(),abrupt:function(){function vt(ft,Q){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var et=this.tryEntries[Z];if(et.tryLoc<=this.prev&&y.call(et,"finallyLoc")&&this.prev<et.finallyLoc){var ht=et;break}}ht&&(ft==="break"||ft==="continue")&&ht.tryLoc<=Q&&Q<=ht.finallyLoc&&(ht=null);var Et=ht?ht.completion:{};return Et.type=ft,Et.arg=Q,ht?(this.method="next",this.next=ht.finallyLoc,j):this.complete(Et)}return vt}(),complete:function(){function vt(ft,Q){if(ft.type==="throw")throw ft.arg;return ft.type==="break"||ft.type==="continue"?this.next=ft.arg:ft.type==="return"?(this.rval=this.arg=ft.arg,this.method="return",this.next="end"):ft.type==="normal"&&Q&&(this.next=Q),j}return vt}(),finish:function(){function vt(ft){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var Z=this.tryEntries[Q];if(Z.finallyLoc===ft)return this.complete(Z.completion,Z.afterLoc),Mt(Z),j}}return vt}(),catch:function(){function vt(ft){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var Z=this.tryEntries[Q];if(Z.tryLoc===ft){var et=Z.completion;if(et.type==="throw"){var ht=et.arg;Mt(Z)}return ht}}throw Error("illegal catch attempt")}return vt}(),delegateYield:function(){function vt(ft,Q,Z){return this.delegate={iterator:Rt(ft),resultName:Q,nextLoc:Z},this.method==="next"&&(this.arg=T),j}return vt}()},C}function n(T,C,S,y,O,A,N){try{var M=T[A](N),R=M.value}catch(L){S(L);return}M.done?C(R):Promise.resolve(R).then(y,O)}function r(T){return function(){var C=this,S=arguments;return new Promise(function(y,O){var A=T.apply(C,S);function N(R){n(A,y,O,N,M,"next",R)}function M(R){n(A,y,O,N,M,"throw",R)}N(void 0)})}}/** * Browser-agnostic abstraction of key-value web storage. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=e.IMPL_MEMORY=0,a=e.IMPL_LOCAL_STORAGE=1,u=e.IMPL_INDEXED_DB=2,l=1,c="para-tgui",h="storage-v1",v="readonly",i="readwrite",f=function(C){return function(){try{return!!C()}catch(y){return!1}}},s=f(function(){return window.localStorage&&window.localStorage.getItem}),p=f(function(){return(window.indexedDB||window.msIndexedDB)&&(window.IDBTransaction||window.msIDBTransaction)}),d=function(){function O(){this.impl=o,this.store={}}var C=O.prototype;return C.get=function(){function y(b){return this.store[b]}return y}(),C.set=function(){function y(b,T){this.store[b]=T}return y}(),C.remove=function(){function y(b){this.store[b]=void 0}return y}(),C.clear=function(){function y(){this.store={}}return y}(),O}(),g=function(){function O(){this.impl=a}var C=O.prototype;return C.get=function(){function y(b){var T=localStorage.getItem(b);if(typeof T=="string")return JSON.parse(T)}return y}(),C.set=function(){function y(b,T){localStorage.setItem(b,JSON.stringify(T))}return y}(),C.remove=function(){function y(b){localStorage.removeItem(b)}return y}(),C.clear=function(){function y(){localStorage.clear()}return y}(),O}(),m=function(){function O(){this.impl=u,this.dbPromise=new Promise(function(y,b){var T=window.indexedDB||window.msIndexedDB,P=T.open(c,l);P.onupgradeneeded=function(){try{P.result.createObjectStore(h)}catch(N){b(new Error("Failed to upgrade IDB: "+P.error))}},P.onsuccess=function(){return y(P.result)},P.onerror=function(){b(new Error("Failed to open IDB: "+P.error))}})}var C=O.prototype;return C.getStore=function(){function y(b){return this.dbPromise.then(function(T){return T.transaction(h,b).objectStore(h)})}return y}(),C.get=function(){var y=r(t().mark(function(){function T(P){var N;return t().wrap(function(){function M(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.getStore(v);case 2:return N=R.sent,R.abrupt("return",new Promise(function(L,K){var U=N.get(P);U.onsuccess=function(){return L(U.result)},U.onerror=function(){return K(U.error)}}));case 4:case"end":return R.stop()}}return M}(),T,this)}return T}()));function b(T){return y.apply(this,arguments)}return b}(),C.set=function(){var y=r(t().mark(function(){function T(P,N){var M;return t().wrap(function(){function R(L){for(;;)switch(L.prev=L.next){case 0:return N===null&&(N=void 0),L.next=3,this.getStore(i);case 3:M=L.sent,M.put(N,P);case 5:case"end":return L.stop()}}return R}(),T,this)}return T}()));function b(T,P){return y.apply(this,arguments)}return b}(),C.remove=function(){var y=r(t().mark(function(){function T(P){var N;return t().wrap(function(){function M(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.getStore(i);case 2:N=R.sent,N.delete(P);case 4:case"end":return R.stop()}}return M}(),T,this)}return T}()));function b(T){return y.apply(this,arguments)}return b}(),C.clear=function(){var y=r(t().mark(function(){function T(){var P;return t().wrap(function(){function N(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,this.getStore(i);case 2:P=M.sent,P.clear();case 4:case"end":return M.stop()}}return N}(),T,this)}return T}()));function b(){return y.apply(this,arguments)}return b}(),O}(),S=function(){function O(){this.backendPromise=r(t().mark(function(){function y(){var b;return t().wrap(function(){function T(P){for(;;)switch(P.prev=P.next){case 0:if(!p()){P.next=10;break}return P.prev=1,b=new m,P.next=5,b.dbPromise;case 5:return P.abrupt("return",b);case 8:P.prev=8,P.t0=P.catch(1);case 10:if(!s()){P.next=12;break}return P.abrupt("return",new g);case 12:return P.abrupt("return",new d);case 13:case"end":return P.stop()}}return T}(),y,null,[[1,8]])}return y}()))()}var C=O.prototype;return C.get=function(){var y=r(t().mark(function(){function T(P){var N;return t().wrap(function(){function M(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.backendPromise;case 2:return N=R.sent,R.abrupt("return",N.get(P));case 4:case"end":return R.stop()}}return M}(),T,this)}return T}()));function b(T){return y.apply(this,arguments)}return b}(),C.set=function(){var y=r(t().mark(function(){function T(P,N){var M;return t().wrap(function(){function R(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,this.backendPromise;case 2:return M=L.sent,L.abrupt("return",M.set(P,N));case 4:case"end":return L.stop()}}return R}(),T,this)}return T}()));function b(T,P){return y.apply(this,arguments)}return b}(),C.remove=function(){var y=r(t().mark(function(){function T(P){var N;return t().wrap(function(){function M(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.backendPromise;case 2:return N=R.sent,R.abrupt("return",N.remove(P));case 4:case"end":return R.stop()}}return M}(),T,this)}return T}()));function b(T){return y.apply(this,arguments)}return b}(),C.clear=function(){var y=r(t().mark(function(){function T(){var P;return t().wrap(function(){function N(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,this.backendPromise;case 2:return P=M.sent,M.abrupt("return",P.clear());case 4:case"end":return M.stop()}}return N}(),T,this)}return T}()));function b(){return y.apply(this,arguments)}return b}(),O}(),I=e.storage=new S},37843:function(E,e){"use strict";e.__esModule=!0,e.toTitleCase=e.multiline=e.decodeHtmlEntities=e.createSearch=e.createGlobPattern=e.capitalize=e.buildQueryString=void 0;function t(i,f){var s=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(s)return(s=s.call(i)).next.bind(s);if(Array.isArray(i)||(s=n(i))||f&&i&&typeof i.length=="number"){s&&(i=s);var p=0;return function(){return p>=i.length?{done:!0}:{done:!1,value:i[p++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(i,f){if(i){if(typeof i=="string")return r(i,f);var s=Object.prototype.toString.call(i).slice(8,-1);if(s==="Object"&&i.constructor&&(s=i.constructor.name),s==="Map"||s==="Set")return Array.from(i);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(i,f)}}function r(i,f){(f==null||f>i.length)&&(f=i.length);for(var s=0,p=new Array(f);s<f;s++)p[s]=i[s];return p}/** + */var o=e.IMPL_MEMORY=0,a=e.IMPL_LOCAL_STORAGE=1,u=e.IMPL_INDEXED_DB=2,l=1,c="para-tgui",h="storage-v1",d="readonly",i="readwrite",v=function(C){return function(){try{return!!C()}catch(S){return!1}}},s=v(function(){return window.localStorage&&window.localStorage.getItem}),p=v(function(){return(window.indexedDB||window.msIndexedDB)&&(window.IDBTransaction||window.msIDBTransaction)}),f=function(){function T(){this.impl=o,this.store={}}var C=T.prototype;return C.get=function(){function S(y){return this.store[y]}return S}(),C.set=function(){function S(y,O){this.store[y]=O}return S}(),C.remove=function(){function S(y){this.store[y]=void 0}return S}(),C.clear=function(){function S(){this.store={}}return S}(),T}(),g=function(){function T(){this.impl=a}var C=T.prototype;return C.get=function(){function S(y){var O=localStorage.getItem(y);if(typeof O=="string")return JSON.parse(O)}return S}(),C.set=function(){function S(y,O){localStorage.setItem(y,JSON.stringify(O))}return S}(),C.remove=function(){function S(y){localStorage.removeItem(y)}return S}(),C.clear=function(){function S(){localStorage.clear()}return S}(),T}(),m=function(){function T(){this.impl=u,this.dbPromise=new Promise(function(S,y){var O=window.indexedDB||window.msIndexedDB,A=O.open(c,l);A.onupgradeneeded=function(){try{A.result.createObjectStore(h)}catch(N){y(new Error("Failed to upgrade IDB: "+A.error))}},A.onsuccess=function(){return S(A.result)},A.onerror=function(){y(new Error("Failed to open IDB: "+A.error))}})}var C=T.prototype;return C.getStore=function(){function S(y){return this.dbPromise.then(function(O){return O.transaction(h,y).objectStore(h)})}return S}(),C.get=function(){var S=r(t().mark(function(){function O(A){var N;return t().wrap(function(){function M(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.getStore(d);case 2:return N=R.sent,R.abrupt("return",new Promise(function(L,x){var F=N.get(A);F.onsuccess=function(){return L(F.result)},F.onerror=function(){return x(F.error)}}));case 4:case"end":return R.stop()}}return M}(),O,this)}return O}()));function y(O){return S.apply(this,arguments)}return y}(),C.set=function(){var S=r(t().mark(function(){function O(A,N){var M;return t().wrap(function(){function R(L){for(;;)switch(L.prev=L.next){case 0:return N===null&&(N=void 0),L.next=3,this.getStore(i);case 3:M=L.sent,M.put(N,A);case 5:case"end":return L.stop()}}return R}(),O,this)}return O}()));function y(O,A){return S.apply(this,arguments)}return y}(),C.remove=function(){var S=r(t().mark(function(){function O(A){var N;return t().wrap(function(){function M(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.getStore(i);case 2:N=R.sent,N.delete(A);case 4:case"end":return R.stop()}}return M}(),O,this)}return O}()));function y(O){return S.apply(this,arguments)}return y}(),C.clear=function(){var S=r(t().mark(function(){function O(){var A;return t().wrap(function(){function N(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,this.getStore(i);case 2:A=M.sent,A.clear();case 4:case"end":return M.stop()}}return N}(),O,this)}return O}()));function y(){return S.apply(this,arguments)}return y}(),T}(),b=function(){function T(){this.backendPromise=r(t().mark(function(){function S(){var y;return t().wrap(function(){function O(A){for(;;)switch(A.prev=A.next){case 0:if(!p()){A.next=10;break}return A.prev=1,y=new m,A.next=5,y.dbPromise;case 5:return A.abrupt("return",y);case 8:A.prev=8,A.t0=A.catch(1);case 10:if(!s()){A.next=12;break}return A.abrupt("return",new g);case 12:return A.abrupt("return",new f);case 13:case"end":return A.stop()}}return O}(),S,null,[[1,8]])}return S}()))()}var C=T.prototype;return C.get=function(){var S=r(t().mark(function(){function O(A){var N;return t().wrap(function(){function M(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.backendPromise;case 2:return N=R.sent,R.abrupt("return",N.get(A));case 4:case"end":return R.stop()}}return M}(),O,this)}return O}()));function y(O){return S.apply(this,arguments)}return y}(),C.set=function(){var S=r(t().mark(function(){function O(A,N){var M;return t().wrap(function(){function R(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,this.backendPromise;case 2:return M=L.sent,L.abrupt("return",M.set(A,N));case 4:case"end":return L.stop()}}return R}(),O,this)}return O}()));function y(O,A){return S.apply(this,arguments)}return y}(),C.remove=function(){var S=r(t().mark(function(){function O(A){var N;return t().wrap(function(){function M(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.backendPromise;case 2:return N=R.sent,R.abrupt("return",N.remove(A));case 4:case"end":return R.stop()}}return M}(),O,this)}return O}()));function y(O){return S.apply(this,arguments)}return y}(),C.clear=function(){var S=r(t().mark(function(){function O(){var A;return t().wrap(function(){function N(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,this.backendPromise;case 2:return A=M.sent,M.abrupt("return",A.clear());case 4:case"end":return M.stop()}}return N}(),O,this)}return O}()));function y(){return S.apply(this,arguments)}return y}(),T}(),I=e.storage=new b},78234:function(E,e){"use strict";e.__esModule=!0,e.toTitleCase=e.multiline=e.decodeHtmlEntities=e.createSearch=e.createGlobPattern=e.capitalize=e.buildQueryString=void 0;function t(i,v){var s=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(s)return(s=s.call(i)).next.bind(s);if(Array.isArray(i)||(s=n(i))||v&&i&&typeof i.length=="number"){s&&(i=s);var p=0;return function(){return p>=i.length?{done:!0}:{done:!1,value:i[p++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(i,v){if(i){if(typeof i=="string")return r(i,v);var s=Object.prototype.toString.call(i).slice(8,-1);if(s==="Object"&&i.constructor&&(s=i.constructor.name),s==="Map"||s==="Set")return Array.from(i);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(i,v)}}function r(i,v){(v==null||v>i.length)&&(v=i.length);for(var s=0,p=new Array(v);s<v;s++)p[s]=i[s];return p}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=e.multiline=function(){function i(f){if(Array.isArray(f))return i(f.join(""));for(var s=f.split("\n"),p,d=t(s),g;!(g=d()).done;)for(var m=g.value,S=0;S<m.length;S++){var I=m[S];if(I!==" "){(p===void 0||S<p)&&(p=S);break}}return p||(p=0),s.map(function(O){return O.substr(p).trimRight()}).join("\n").trim()}return i}(),a=e.createGlobPattern=function(){function i(f){var s=function(){function d(g){return g.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}return d}(),p=new RegExp("^"+f.split(/\*+/).map(s).join(".*")+"$");return function(d){return p.test(d)}}return i}(),u=e.createSearch=function(){function i(f,s){var p=f.toLowerCase().trim();return function(d){if(!p)return!0;var g=s?s(d):d;return g?g.toLowerCase().includes(p):!1}}return i}(),l=e.capitalize=function(){function i(f){return Array.isArray(f)?f.map(i):f.charAt(0).toUpperCase()+f.slice(1).toLowerCase()}return i}(),c=e.toTitleCase=function(){function i(f){if(Array.isArray(f))return f.map(i);if(typeof f!="string")return f;for(var s=["Id","Tv"],p=["A","An","And","As","At","But","By","For","For","From","In","Into","Near","Nor","Of","On","Onto","Or","The","To","With"],d=f.replace(/([^\W_]+[^\s-]*) */g,function(T){return T.charAt(0).toUpperCase()+T.substr(1).toLowerCase()}),g=0,m=p;g<m.length;g++){var S=m[g],I=new RegExp("\\s"+S+"\\s","g");d=d.replace(I,function(T){return T.toLowerCase()})}for(var O=0,C=s;O<C.length;O++){var y=C[O],b=new RegExp("\\b"+y+"\\b","g");d=d.replace(b,function(T){return T.toLowerCase()})}return d}return i}(),h=e.decodeHtmlEntities=function(){function i(f){if(!f)return f;var s=/&(nbsp|amp|quot|lt|gt|apos);/g,p={nbsp:" ",amp:"&",quot:'"',lt:"<",gt:">",apos:"'"};return f.replace(/<br>/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(s,function(d,g){return p[g]}).replace(/&#?([0-9]+);/gi,function(d,g){var m=parseInt(g,10);return String.fromCharCode(m)}).replace(/&#x?([0-9a-f]+);/gi,function(d,g){var m=parseInt(g,16);return String.fromCharCode(m)})}return i}(),v=e.buildQueryString=function(){function i(f){return Object.keys(f).map(function(s){return encodeURIComponent(s)+"="+encodeURIComponent(f[s])}).join("&")}return i}()},32742:function(E,e){"use strict";e.__esModule=!0,e.throttle=e.sleep=e.debounce=void 0;/** + */var o=e.multiline=function(){function i(v){if(Array.isArray(v))return i(v.join(""));for(var s=v.split("\n"),p,f=t(s),g;!(g=f()).done;)for(var m=g.value,b=0;b<m.length;b++){var I=m[b];if(I!==" "){(p===void 0||b<p)&&(p=b);break}}return p||(p=0),s.map(function(T){return T.substr(p).trimRight()}).join("\n").trim()}return i}(),a=e.createGlobPattern=function(){function i(v){var s=function(){function f(g){return g.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}return f}(),p=new RegExp("^"+v.split(/\*+/).map(s).join(".*")+"$");return function(f){return p.test(f)}}return i}(),u=e.createSearch=function(){function i(v,s){var p=v.toLowerCase().trim();return function(f){if(!p)return!0;var g=s?s(f):f;return g?g.toLowerCase().includes(p):!1}}return i}(),l=e.capitalize=function(){function i(v){return Array.isArray(v)?v.map(i):v.charAt(0).toUpperCase()+v.slice(1).toLowerCase()}return i}(),c=e.toTitleCase=function(){function i(v){if(Array.isArray(v))return v.map(i);if(typeof v!="string")return v;for(var s=["Id","Tv"],p=["A","An","And","As","At","But","By","For","For","From","In","Into","Near","Nor","Of","On","Onto","Or","The","To","With"],f=v.replace(/([^\W_]+[^\s-]*) */g,function(O){return O.charAt(0).toUpperCase()+O.substr(1).toLowerCase()}),g=0,m=p;g<m.length;g++){var b=m[g],I=new RegExp("\\s"+b+"\\s","g");f=f.replace(I,function(O){return O.toLowerCase()})}for(var T=0,C=s;T<C.length;T++){var S=C[T],y=new RegExp("\\b"+S+"\\b","g");f=f.replace(y,function(O){return O.toLowerCase()})}return f}return i}(),h=e.decodeHtmlEntities=function(){function i(v){if(!v)return v;var s=/&(nbsp|amp|quot|lt|gt|apos);/g,p={nbsp:" ",amp:"&",quot:'"',lt:"<",gt:">",apos:"'"};return v.replace(/<br>/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(s,function(f,g){return p[g]}).replace(/&#?([0-9]+);/gi,function(f,g){var m=parseInt(g,10);return String.fromCharCode(m)}).replace(/&#x?([0-9a-f]+);/gi,function(f,g){var m=parseInt(g,16);return String.fromCharCode(m)})}return i}(),d=e.buildQueryString=function(){function i(v){return Object.keys(v).map(function(s){return encodeURIComponent(s)+"="+encodeURIComponent(v[s])}).join("&")}return i}()},56052:function(E,e){"use strict";e.__esModule=!0,e.throttle=e.sleep=e.debounce=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.debounce=function(){function o(a,u,l){l===void 0&&(l=!1);var c;return function(){for(var h=arguments.length,v=new Array(h),i=0;i<h;i++)v[i]=arguments[i];var f=function(){function p(){c=null,l||a.apply(void 0,v)}return p}(),s=l&&!c;clearTimeout(c),c=setTimeout(f,u),s&&a.apply(void 0,v)}}return o}(),n=e.sleep=function(){function o(a){return new Promise(function(u){return setTimeout(u,a)})}return o}(),r=e.throttle=function(){function o(a,u){var l,c;return function(){function h(){for(var v=arguments.length,i=new Array(v),f=0;f<v;f++)i[f]=arguments[f];var s=Date.now();if(c&&clearTimeout(c),!l||s-l>=u)a.apply(null,i),l=s;else{var p;c=setTimeout(function(){return h.apply(void 0,i)},u-(s-((p=l)!=null?p:0)))}}return h}()}return o}()},56662:function(E,e){"use strict";e.__esModule=!0,e.createUuid=void 0;/** + */var t=e.debounce=function(){function o(a,u,l){l===void 0&&(l=!1);var c;return function(){for(var h=arguments.length,d=new Array(h),i=0;i<h;i++)d[i]=arguments[i];var v=function(){function p(){c=null,l||a.apply(void 0,d)}return p}(),s=l&&!c;clearTimeout(c),c=setTimeout(v,u),s&&a.apply(void 0,d)}}return o}(),n=e.sleep=function(){function o(a){return new Promise(function(u){return setTimeout(u,a)})}return o}(),r=e.throttle=function(){function o(a,u){var l,c;return function(){function h(){for(var d=arguments.length,i=new Array(d),v=0;v<d;v++)i[v]=arguments[v];var s=Date.now();if(c&&clearTimeout(c),!l||s-l>=u)a.apply(null,i),l=s;else{var p;c=setTimeout(function(){return h.apply(void 0,i)},u-(s-((p=l)!=null?p:0)))}}return h}()}return o}()},2160:function(E,e){"use strict";e.__esModule=!0,e.createUuid=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.createUuid=function(){function n(){var r=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(o){var a=(r+Math.random()*16)%16|0;return r=Math.floor(r/16),(o==="x"?a:a&3|8).toString(16)})}return n}()},41202:function(E,e,t){"use strict";e.__esModule=!0,e.vecSubtract=e.vecScale=e.vecNormalize=e.vecMultiply=e.vecLength=e.vecInverse=e.vecDivide=e.vecAdd=void 0;var n=t(72026);/** + */var t=e.createUuid=function(){function n(){var r=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(o){var a=(r+Math.random()*16)%16|0;return r=Math.floor(r/16),(o==="x"?a:a&3|8).toString(16)})}return n}()},73564:function(E,e,t){"use strict";e.__esModule=!0,e.vecSubtract=e.vecScale=e.vecNormalize=e.vecMultiply=e.vecLength=e.vecInverse=e.vecDivide=e.vecAdd=void 0;var n=t(50640);/** * N-dimensional vector manipulation functions. * * Vectors are plain number arrays, i.e. [x, y, z]. @@ -66,178 +66,178 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r=function(g,m){return g+m},o=function(g,m){return g-m},a=function(g,m){return g*m},u=function(g,m){return g/m},l=e.vecAdd=function(){function d(){for(var g=arguments.length,m=new Array(g),S=0;S<g;S++)m[S]=arguments[S];return(0,n.reduce)(function(I,O){return(0,n.zipWith)(r)(I,O)})(m)}return d}(),c=e.vecSubtract=function(){function d(){for(var g=arguments.length,m=new Array(g),S=0;S<g;S++)m[S]=arguments[S];return(0,n.reduce)(function(I,O){return(0,n.zipWith)(o)(I,O)})(m)}return d}(),h=e.vecMultiply=function(){function d(){for(var g=arguments.length,m=new Array(g),S=0;S<g;S++)m[S]=arguments[S];return(0,n.reduce)(function(I,O){return(0,n.zipWith)(a)(I,O)})(m)}return d}(),v=e.vecDivide=function(){function d(){for(var g=arguments.length,m=new Array(g),S=0;S<g;S++)m[S]=arguments[S];return(0,n.reduce)(function(I,O){return(0,n.zipWith)(u)(I,O)})(m)}return d}(),i=e.vecScale=function(){function d(g,m){return(0,n.map)(function(S){return S*m})(g)}return d}(),f=e.vecInverse=function(){function d(g){return(0,n.map)(function(m){return-m})(g)}return d}(),s=e.vecLength=function(){function d(g){return Math.sqrt((0,n.reduce)(r)((0,n.zipWith)(a)(g,g)))}return d}(),p=e.vecNormalize=function(){function d(g){return v(g,s(g))}return d}()},83103:function(E,e,t){"use strict";e.__esModule=!0,e.Notifications=void 0;var n=t(28823),r=t(2971);/** + */var r=function(g,m){return g+m},o=function(g,m){return g-m},a=function(g,m){return g*m},u=function(g,m){return g/m},l=e.vecAdd=function(){function f(){for(var g=arguments.length,m=new Array(g),b=0;b<g;b++)m[b]=arguments[b];return(0,n.reduce)(function(I,T){return(0,n.zipWith)(r)(I,T)})(m)}return f}(),c=e.vecSubtract=function(){function f(){for(var g=arguments.length,m=new Array(g),b=0;b<g;b++)m[b]=arguments[b];return(0,n.reduce)(function(I,T){return(0,n.zipWith)(o)(I,T)})(m)}return f}(),h=e.vecMultiply=function(){function f(){for(var g=arguments.length,m=new Array(g),b=0;b<g;b++)m[b]=arguments[b];return(0,n.reduce)(function(I,T){return(0,n.zipWith)(a)(I,T)})(m)}return f}(),d=e.vecDivide=function(){function f(){for(var g=arguments.length,m=new Array(g),b=0;b<g;b++)m[b]=arguments[b];return(0,n.reduce)(function(I,T){return(0,n.zipWith)(u)(I,T)})(m)}return f}(),i=e.vecScale=function(){function f(g,m){return(0,n.map)(function(b){return b*m})(g)}return f}(),v=e.vecInverse=function(){function f(g){return(0,n.map)(function(m){return-m})(g)}return f}(),s=e.vecLength=function(){function f(g){return Math.sqrt((0,n.reduce)(r)((0,n.zipWith)(a)(g,g)))}return f}(),p=e.vecNormalize=function(){function f(g){return d(g,s(g))}return f}()},93762:function(E,e,t){"use strict";e.__esModule=!0,e.Notifications=void 0;var n=t(96524),r=t(24674);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=e.Notifications=function(){function u(l){var c=l.children;return(0,n.createVNode)(1,"div","Notifications",c,0)}return u}(),a=function(l){var c=l.rightSlot,h=l.children;return(0,n.createComponentVNode)(2,r.Flex,{align:"center",className:"Notification",children:[(0,n.createComponentVNode)(2,r.Flex.Item,{className:"Notification__content",grow:1,children:h}),c&&(0,n.createComponentVNode)(2,r.Flex.Item,{className:"Notification__rightSlot",children:c})]})};o.Item=a},5607:function(E,e,t){"use strict";e.__esModule=!0,e.Panel=void 0;var n=t(28823),r=t(2971),o=t(84947),a=t(71485),u=t(23360),l=t(24362),c=t(83103),h=t(30362),v=t(92231),i=t(30494);/** + */var o=e.Notifications=function(){function u(l){var c=l.children;return(0,n.createVNode)(1,"div","Notifications",c,0)}return u}(),a=function(l){var c=l.rightSlot,h=l.children;return(0,n.createComponentVNode)(2,r.Flex,{align:"center",className:"Notification",children:[(0,n.createComponentVNode)(2,r.Flex.Item,{className:"Notification__content",grow:1,children:h}),c&&(0,n.createComponentVNode)(2,r.Flex.Item,{className:"Notification__rightSlot",children:c})]})};o.Item=a},12596:function(E,e,t){"use strict";e.__esModule=!0,e.Panel=void 0;var n=t(96524),r=t(24674),o=t(45493),a=t(93847),u=t(84689),l=t(87405),c=t(93762),h=t(31887),d=t(23827),i=t(28486);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var f=e.Panel=function(){function p(d,g){if(Byond.IS_LTE_IE10)return(0,n.createComponentVNode)(2,s);var m=(0,a.useAudio)(g),S=(0,i.useSettings)(g),I=(0,l.useGame)(g);if(0)var O,C,y,b;return(0,n.createComponentVNode)(2,o.Pane,{theme:S.theme,children:(0,n.createComponentVNode)(2,r.Stack,{fill:!0,vertical:!0,children:[(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Section,{fitted:!0,children:(0,n.createComponentVNode)(2,r.Stack,{mr:1,align:"center",children:[(0,n.createComponentVNode)(2,r.Stack.Item,{grow:!0,overflowX:"auto",children:(0,n.createComponentVNode)(2,u.ChatTabs)}),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,h.PingIndicator)}),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Button,{color:"grey",selected:m.visible,icon:"music",tooltip:"Music player",tooltipPosition:"bottom-start",onClick:function(){function T(){return m.toggle()}return T}()})}),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Button,{icon:S.visible?"times":"cog",selected:S.visible,tooltip:S.visible?"Close settings":"Open settings",tooltipPosition:"bottom-start",onClick:function(){function T(){return S.toggle()}return T}()})})]})})}),m.visible&&(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Section,{children:(0,n.createComponentVNode)(2,a.NowPlayingWidget)})}),S.visible&&(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,i.SettingsPanel)}),(0,n.createComponentVNode)(2,r.Stack.Item,{grow:!0,children:(0,n.createComponentVNode)(2,r.Section,{fill:!0,fitted:!0,position:"relative",children:[(0,n.createComponentVNode)(2,o.Pane.Content,{style:{"overflow-y":"scroll"},scrollable:!0,children:(0,n.createComponentVNode)(2,u.ChatPanel,{lineHeight:S.lineHeight})}),(0,n.createComponentVNode)(2,c.Notifications,{children:[I.connectionLostAt&&(0,n.createComponentVNode)(2,c.Notifications.Item,{rightSlot:(0,n.createComponentVNode)(2,v.ReconnectButton),children:"You are either AFK, experiencing lag or the connection has closed."}),I.roundRestartedAt&&(0,n.createComponentVNode)(2,c.Notifications.Item,{children:["The connection has been closed because the server is restarting. ",(0,n.createVNode)(1,"br")," Please wait while you automatically reconnect."]})]})]})})]})})}return p}(),s=function(d,g){var m=(0,i.useSettings)(g);return(0,n.createComponentVNode)(2,o.Pane,{theme:m.theme,children:(0,n.createComponentVNode)(2,o.Pane.Content,{children:[(0,n.createComponentVNode)(2,r.Button,{style:{position:"fixed",top:"1em",right:"2em","z-index":1e3},selected:m.visible,onClick:function(){function S(){return m.toggle()}return S}(),children:"Settings"}),m.visible&&(0,n.createComponentVNode)(2,i.SettingsPanel)||(0,n.createComponentVNode)(2,u.ChatPanel,{lineHeight:m.lineHeight})]})})}},67613:function(E,e,t){"use strict";e.__esModule=!0,e.NowPlayingWidget=void 0;var n=t(28823),r=t(58331),o=t(90816),a=t(2971),u=t(30494),l=t(33010);/** + */var v=e.Panel=function(){function p(f,g){var m=(0,a.useAudio)(g),b=(0,i.useSettings)(g),I=(0,l.useGame)(g);if(0)var T,C,S,y;return(0,n.createComponentVNode)(2,o.Pane,{theme:b.theme,children:(0,n.createComponentVNode)(2,r.Stack,{fill:!0,vertical:!0,children:[(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Section,{fitted:!0,children:(0,n.createComponentVNode)(2,r.Stack,{mr:1,align:"center",children:[(0,n.createComponentVNode)(2,r.Stack.Item,{grow:!0,overflowX:"auto",children:(0,n.createComponentVNode)(2,u.ChatTabs)}),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,h.PingIndicator)}),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Button,{color:"grey",selected:m.visible,icon:"music",tooltip:"Music player",tooltipPosition:"bottom-start",onClick:function(){function O(){return m.toggle()}return O}()})}),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Button,{icon:b.visible?"times":"cog",selected:b.visible,tooltip:b.visible?"Close settings":"Open settings",tooltipPosition:"bottom-start",onClick:function(){function O(){return b.toggle()}return O}()})})]})})}),m.visible&&(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Section,{children:(0,n.createComponentVNode)(2,a.NowPlayingWidget)})}),b.visible&&(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,i.SettingsPanel)}),(0,n.createComponentVNode)(2,r.Stack.Item,{grow:!0,children:(0,n.createComponentVNode)(2,r.Section,{fill:!0,fitted:!0,position:"relative",children:[(0,n.createComponentVNode)(2,o.Pane.Content,{style:{"overflow-y":"scroll"},scrollable:!0,children:(0,n.createComponentVNode)(2,u.ChatPanel,{lineHeight:b.lineHeight})}),(0,n.createComponentVNode)(2,c.Notifications,{children:[I.connectionLostAt&&(0,n.createComponentVNode)(2,c.Notifications.Item,{rightSlot:(0,n.createComponentVNode)(2,d.ReconnectButton),children:"You are either AFK, experiencing lag or the connection has closed."}),I.roundRestartedAt&&(0,n.createComponentVNode)(2,c.Notifications.Item,{children:["The connection has been closed because the server is restarting. ",(0,n.createVNode)(1,"br")," Please wait while you automatically reconnect."]})]})]})})]})})}return p}(),s=function(f,g){var m=(0,i.useSettings)(g);return(0,n.createComponentVNode)(2,o.Pane,{theme:m.theme,children:(0,n.createComponentVNode)(2,o.Pane.Content,{children:[(0,n.createComponentVNode)(2,r.Button,{style:{position:"fixed",top:"1em",right:"2em","z-index":1e3},selected:m.visible,onClick:function(){function b(){return m.toggle()}return b}(),children:"Settings"}),m.visible&&(0,n.createComponentVNode)(2,i.SettingsPanel)||(0,n.createComponentVNode)(2,u.ChatPanel,{lineHeight:m.lineHeight})]})})}},94881:function(E,e,t){"use strict";e.__esModule=!0,e.NowPlayingWidget=void 0;var n=t(96524),r=t(36121),o=t(88605),a=t(24674),u=t(28486),l=t(88601);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var c=e.NowPlayingWidget=function(){function h(v,i){var f,s=(0,o.useSelector)(i,l.selectAudio),p=(0,o.useDispatch)(i),d=(0,u.useSettings)(i),g=(f=s.meta)==null?void 0:f.title;return(0,n.createComponentVNode)(2,a.Flex,{align:"center",children:[s.playing&&(0,n.createFragment)([(0,n.createComponentVNode)(2,a.Flex.Item,{shrink:0,mx:.5,color:"label",children:"Now playing:"}),(0,n.createComponentVNode)(2,a.Flex.Item,{mx:.5,grow:1,style:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"},children:g||"Unknown Track"})],4)||(0,n.createComponentVNode)(2,a.Flex.Item,{grow:1,color:"label",children:"Nothing to play."}),s.playing&&(0,n.createComponentVNode)(2,a.Flex.Item,{mx:.5,fontSize:"0.9em",children:(0,n.createComponentVNode)(2,a.Button,{tooltip:"Stop",icon:"stop",onClick:function(){function m(){return p({type:"audio/stopMusic"})}return m}()})}),(0,n.createComponentVNode)(2,a.Flex.Item,{mx:.5,fontSize:"0.9em",children:(0,n.createComponentVNode)(2,a.Knob,{minValue:0,maxValue:1,value:d.adminMusicVolume,step:.0025,stepPixelSize:1,format:function(){function m(S){return(0,r.toFixed)(S*100)+"%"}return m}(),onDrag:function(){function m(S,I){return d.update({adminMusicVolume:I})}return m}()})})]})}return h}()},79506:function(E,e,t){"use strict";e.__esModule=!0,e.useAudio=void 0;var n=t(90816),r=t(33010);/** + */var c=e.NowPlayingWidget=function(){function h(d,i){var v,s=(0,o.useSelector)(i,l.selectAudio),p=(0,o.useDispatch)(i),f=(0,u.useSettings)(i),g=(v=s.meta)==null?void 0:v.title;return(0,n.createComponentVNode)(2,a.Flex,{align:"center",children:[s.playing&&(0,n.createFragment)([(0,n.createComponentVNode)(2,a.Flex.Item,{shrink:0,mx:.5,color:"label",children:"Now playing:"}),(0,n.createComponentVNode)(2,a.Flex.Item,{mx:.5,grow:1,style:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"},children:g||"Unknown Track"})],4)||(0,n.createComponentVNode)(2,a.Flex.Item,{grow:1,color:"label",children:"Nothing to play."}),s.playing&&(0,n.createComponentVNode)(2,a.Flex.Item,{mx:.5,fontSize:"0.9em",children:(0,n.createComponentVNode)(2,a.Button,{tooltip:"Stop",icon:"stop",onClick:function(){function m(){return p({type:"audio/stopMusic"})}return m}()})}),(0,n.createComponentVNode)(2,a.Flex.Item,{mx:.5,fontSize:"0.9em",children:(0,n.createComponentVNode)(2,a.Knob,{minValue:0,maxValue:1,value:f.adminMusicVolume,step:.0025,stepPixelSize:1,format:function(){function m(b){return(0,r.toFixed)(b*100)+"%"}return m}(),onDrag:function(){function m(b,I){return f.update({adminMusicVolume:I})}return m}()})})]})}return h}()},24495:function(E,e,t){"use strict";e.__esModule=!0,e.useAudio=void 0;var n=t(88605),r=t(88601);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=e.useAudio=function(){function a(u){var l=(0,n.useSelector)(u,r.selectAudio),c=(0,n.useDispatch)(u);return Object.assign({},l,{toggle:function(){function h(){return c({type:"audio/toggle"})}return h}()})}return a}()},71485:function(E,e,t){"use strict";e.__esModule=!0,e.useAudio=e.audioReducer=e.audioMiddleware=e.NowPlayingWidget=void 0;var n=t(79506);e.useAudio=n.useAudio;var r=t(25358);e.audioMiddleware=r.audioMiddleware;var o=t(67613);e.NowPlayingWidget=o.NowPlayingWidget;var a=t(28802);e.audioReducer=a.audioReducer},25358:function(E,e,t){"use strict";e.__esModule=!0,e.audioMiddleware=void 0;var n=t(41996),r=["url"];/** + */var o=e.useAudio=function(){function a(u){var l=(0,n.useSelector)(u,r.selectAudio),c=(0,n.useDispatch)(u);return Object.assign({},l,{toggle:function(){function h(){return c({type:"audio/toggle"})}return h}()})}return a}()},93847:function(E,e,t){"use strict";e.__esModule=!0,e.useAudio=e.audioReducer=e.audioMiddleware=e.NowPlayingWidget=void 0;var n=t(24495);e.useAudio=n.useAudio;var r=t(27603);e.audioMiddleware=r.audioMiddleware;var o=t(94881);e.NowPlayingWidget=o.NowPlayingWidget;var a=t(11359);e.audioReducer=a.audioReducer},27603:function(E,e,t){"use strict";e.__esModule=!0,e.audioMiddleware=void 0;var n=t(94506),r=["url"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function o(u,l){if(u==null)return{};var c={},h=Object.keys(u),v,i;for(i=0;i<h.length;i++)v=h[i],!(l.indexOf(v)>=0)&&(c[v]=u[v]);return c}var a=e.audioMiddleware=function(){function u(l){var c=new n.AudioPlayer;return c.onPlay(function(){l.dispatch({type:"audio/playing"})}),c.onStop(function(){l.dispatch({type:"audio/stopped"})}),function(h){return function(v){var i=v.type,f=v.payload;if(i==="audio/playMusic"){var s=f.url,p=o(f,r);return c.play(s,p),h(v)}if(i==="audio/stopMusic")return c.stop(),h(v);if(i==="settings/update"||i==="settings/load"){var d=f==null?void 0:f.adminMusicVolume;return typeof d=="number"&&c.setVolume(d),h(v)}return h(v)}}}return u}()},41996:function(E,e,t){"use strict";e.__esModule=!0,e.AudioPlayer=void 0;var n=t(50175);function r(c,h){var v=typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(v)return(v=v.call(c)).next.bind(v);if(Array.isArray(c)||(v=o(c))||h&&c&&typeof c.length=="number"){v&&(c=v);var i=0;return function(){return i>=c.length?{done:!0}:{done:!1,value:c[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(c,h){if(c){if(typeof c=="string")return a(c,h);var v=Object.prototype.toString.call(c).slice(8,-1);if(v==="Object"&&c.constructor&&(v=c.constructor.name),v==="Map"||v==="Set")return Array.from(c);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return a(c,h)}}function a(c,h){(h==null||h>c.length)&&(h=c.length);for(var v=0,i=new Array(h);v<h;v++)i[v]=c[v];return i}/** + */function o(u,l){if(u==null)return{};var c={},h=Object.keys(u),d,i;for(i=0;i<h.length;i++)d=h[i],!(l.indexOf(d)>=0)&&(c[d]=u[d]);return c}var a=e.audioMiddleware=function(){function u(l){var c=new n.AudioPlayer;return c.onPlay(function(){l.dispatch({type:"audio/playing"})}),c.onStop(function(){l.dispatch({type:"audio/stopped"})}),function(h){return function(d){var i=d.type,v=d.payload;if(i==="audio/playMusic"){var s=v.url,p=o(v,r);return c.play(s,p),h(d)}if(i==="audio/stopMusic")return c.stop(),h(d);if(i==="settings/update"||i==="settings/load"){var f=v==null?void 0:v.adminMusicVolume;return typeof f=="number"&&c.setVolume(f),h(d)}return h(d)}}}return u}()},94506:function(E,e,t){"use strict";e.__esModule=!0,e.AudioPlayer=void 0;var n=t(81856);function r(c,h){var d=typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(d)return(d=d.call(c)).next.bind(d);if(Array.isArray(c)||(d=o(c))||h&&c&&typeof c.length=="number"){d&&(c=d);var i=0;return function(){return i>=c.length?{done:!0}:{done:!1,value:c[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(c,h){if(c){if(typeof c=="string")return a(c,h);var d=Object.prototype.toString.call(c).slice(8,-1);if(d==="Object"&&c.constructor&&(d=c.constructor.name),d==="Map"||d==="Set")return Array.from(c);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return a(c,h)}}function a(c,h){(h==null||h>c.length)&&(h=c.length);for(var d=0,i=new Array(h);d<h;d++)i[d]=c[d];return i}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var u=(0,n.createLogger)("AudioPlayer"),l=e.AudioPlayer=function(){function c(){var v=this;Byond.IS_LTE_IE9||(this.node=document.createElement("audio"),this.node.style.setProperty("display","none"),document.body.appendChild(this.node),this.playing=!1,this.volume=1,this.options={},this.onPlaySubscribers=[],this.onStopSubscribers=[],this.node.addEventListener("canplaythrough",function(){u.log("canplaythrough"),v.playing=!0,v.node.playbackRate=v.options.pitch||1,v.node.currentTime=v.options.start||0,v.node.volume=v.volume,v.node.play();for(var i=r(v.onPlaySubscribers),f;!(f=i()).done;){var s=f.value;s()}}),this.node.addEventListener("ended",function(){u.log("ended"),v.stop()}),this.node.addEventListener("error",function(i){v.playing&&(u.log("playback error",i.error),v.stop())}),this.playbackInterval=setInterval(function(){if(v.playing){var i=v.options.end>0&&v.node.currentTime>=v.options.end;i&&v.stop()}},1e3))}var h=c.prototype;return h.destroy=function(){function v(){this.node&&(this.node.stop(),document.removeChild(this.node),clearInterval(this.playbackInterval))}return v}(),h.play=function(){function v(i,f){f===void 0&&(f={}),this.node&&(u.log("playing",i,f),this.options=f,this.node.src=i)}return v}(),h.stop=function(){function v(){if(this.node){if(this.playing)for(var i=r(this.onStopSubscribers),f;!(f=i()).done;){var s=f.value;s()}u.log("stopping"),this.playing=!1,this.node.src=""}}return v}(),h.setVolume=function(){function v(i){this.node&&(this.volume=i,this.node.volume=i)}return v}(),h.onPlay=function(){function v(i){this.node&&this.onPlaySubscribers.push(i)}return v}(),h.onStop=function(){function v(i){this.node&&this.onStopSubscribers.push(i)}return v}(),c}()},28802:function(E,e){"use strict";e.__esModule=!0,e.audioReducer=void 0;/** +*/var u=(0,n.createLogger)("AudioPlayer"),l=e.AudioPlayer=function(){function c(){var d=this;this.node=document.createElement("audio"),this.node.style.setProperty("display","none"),document.body.appendChild(this.node),this.playing=!1,this.volume=1,this.options={},this.onPlaySubscribers=[],this.onStopSubscribers=[],this.node.addEventListener("canplaythrough",function(){u.log("canplaythrough"),d.playing=!0,d.node.playbackRate=d.options.pitch||1,d.node.currentTime=d.options.start||0,d.node.volume=d.volume,d.node.play();for(var i=r(d.onPlaySubscribers),v;!(v=i()).done;){var s=v.value;s()}}),this.node.addEventListener("ended",function(){u.log("ended"),d.stop()}),this.node.addEventListener("error",function(i){d.playing&&(u.log("playback error",i.error),d.stop())}),this.playbackInterval=setInterval(function(){if(d.playing){var i=d.options.end>0&&d.node.currentTime>=d.options.end;i&&d.stop()}},1e3)}var h=c.prototype;return h.destroy=function(){function d(){this.node&&(this.node.stop(),document.removeChild(this.node),clearInterval(this.playbackInterval))}return d}(),h.play=function(){function d(i,v){v===void 0&&(v={}),this.node&&(u.log("playing",i,v),this.options=v,this.node.src=i)}return d}(),h.stop=function(){function d(){if(this.node){if(this.playing)for(var i=r(this.onStopSubscribers),v;!(v=i()).done;){var s=v.value;s()}u.log("stopping"),this.playing=!1,this.node.src=""}}return d}(),h.setVolume=function(){function d(i){this.node&&(this.volume=i,this.node.volume=i)}return d}(),h.onPlay=function(){function d(i){this.node&&this.onPlaySubscribers.push(i)}return d}(),h.onStop=function(){function d(i){this.node&&this.onStopSubscribers.push(i)}return d}(),c}()},11359:function(E,e){"use strict";e.__esModule=!0,e.audioReducer=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t={visible:!1,playing:!1,track:null},n=e.audioReducer=function(){function r(o,a){o===void 0&&(o=t);var u=a.type,l=a.payload;return u==="audio/playing"?Object.assign({},o,{visible:!0,playing:!0}):u==="audio/stopped"?Object.assign({},o,{visible:!1,playing:!1}):u==="audio/playMusic"?Object.assign({},o,{meta:l}):u==="audio/stopMusic"?Object.assign({},o,{visible:!1,playing:!1,meta:null}):u==="audio/toggle"?Object.assign({},o,{visible:!o.visible}):o}return r}()},33010:function(E,e){"use strict";e.__esModule=!0,e.selectAudio=void 0;/** + */var t={visible:!1,playing:!1,track:null},n=e.audioReducer=function(){function r(o,a){o===void 0&&(o=t);var u=a.type,l=a.payload;return u==="audio/playing"?Object.assign({},o,{visible:!0,playing:!0}):u==="audio/stopped"?Object.assign({},o,{visible:!1,playing:!1}):u==="audio/playMusic"?Object.assign({},o,{meta:l}):u==="audio/stopMusic"?Object.assign({},o,{visible:!1,playing:!1,meta:null}):u==="audio/toggle"?Object.assign({},o,{visible:!o.visible}):o}return r}()},88601:function(E,e){"use strict";e.__esModule=!0,e.selectAudio=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.selectAudio=function(){function n(r){return r.audio}return n}()},59216:function(E,e,t){"use strict";e.__esModule=!0,e.ChatPageSettings=void 0;var n=t(28823),r=t(90816),o=t(2971),a=t(3578),u=t(67392),l=t(87919);/** + */var t=e.selectAudio=function(){function n(r){return r.audio}return n}()},73773:function(E,e,t){"use strict";e.__esModule=!0,e.ChatPageSettings=void 0;var n=t(96524),r=t(88605),o=t(24674),a=t(54226),u=t(80280),l=t(41011);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var c=e.ChatPageSettings=function(){function h(v,i){var f=(0,r.useSelector)(i,l.selectCurrentChatPage),s=(0,r.useDispatch)(i);return(0,n.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,n.createComponentVNode)(2,o.Stack,{align:"center",children:[!f.isMain&&(0,n.createComponentVNode)(2,o.Stack.Item,{children:(0,n.createComponentVNode)(2,o.Button,{tooltip:"Reorder tab to the left",icon:"angle-left",onClick:function(){function p(){return s((0,a.moveChatPageLeft)({pageId:f.id}))}return p}()})}),(0,n.createComponentVNode)(2,o.Stack.Item,{grow:!0,ml:.5,children:(0,n.createComponentVNode)(2,o.Input,{width:"100%",value:f.name,onChange:function(){function p(d,g){return s((0,a.updateChatPage)({pageId:f.id,name:g}))}return p}()})}),!f.isMain&&(0,n.createComponentVNode)(2,o.Stack.Item,{ml:.5,children:(0,n.createComponentVNode)(2,o.Button,{tooltip:"Reorder tab to the right",icon:"angle-right",onClick:function(){function p(){return s((0,a.moveChatPageRight)({pageId:f.id}))}return p}()})}),(0,n.createComponentVNode)(2,o.Stack.Item,{children:(0,n.createComponentVNode)(2,o.Button.Checkbox,{content:"Mute",checked:f.hideUnreadCount,icon:f.hideUnreadCount?"bell-slash":"bell",tooltip:"Disables unread counter",onClick:function(){function p(){return s((0,a.updateChatPage)({pageId:f.id,hideUnreadCount:!f.hideUnreadCount}))}return p}()})}),(0,n.createComponentVNode)(2,o.Stack.Item,{children:(0,n.createComponentVNode)(2,o.Button,{content:"Remove",icon:"times",color:"red",disabled:f.isMain,onClick:function(){function p(){return s((0,a.removeChatPage)({pageId:f.id}))}return p}()})})]}),(0,n.createComponentVNode)(2,o.Divider),(0,n.createComponentVNode)(2,o.Section,{title:"Messages to display",level:2,children:[u.MESSAGE_TYPES.filter(function(p){return!p.important&&!p.admin}).map(function(p){return(0,n.createComponentVNode)(2,o.Button.Checkbox,{checked:f.acceptedTypes[p.type],onClick:function(){function d(){return s((0,a.toggleAcceptedType)({pageId:f.id,type:p.type}))}return d}(),children:p.name},p.type)}),(0,n.createComponentVNode)(2,o.Collapsible,{mt:1,color:"transparent",title:"Admin stuff",children:u.MESSAGE_TYPES.filter(function(p){return!p.important&&p.admin}).map(function(p){return(0,n.createComponentVNode)(2,o.Button.Checkbox,{checked:f.acceptedTypes[p.type],onClick:function(){function d(){return s((0,a.toggleAcceptedType)({pageId:f.id,type:p.type}))}return d}(),children:p.name},p.type)})})]})]})}return h}()},49084:function(E,e,t){"use strict";e.__esModule=!0,e.ChatPanel=void 0;var n=t(28823),r=t(66586),o=t(2971),a=t(57218);function u(h,v){h.prototype=Object.create(v.prototype),h.prototype.constructor=h,l(h,v)}function l(h,v){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function i(f,s){return f.__proto__=s,f}return i}(),l(h,v)}/** + */var c=e.ChatPageSettings=function(){function h(d,i){var v=(0,r.useSelector)(i,l.selectCurrentChatPage),s=(0,r.useDispatch)(i);return(0,n.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,n.createComponentVNode)(2,o.Stack,{align:"center",children:[!v.isMain&&(0,n.createComponentVNode)(2,o.Stack.Item,{children:(0,n.createComponentVNode)(2,o.Button,{tooltip:"Reorder tab to the left",icon:"angle-left",onClick:function(){function p(){return s((0,a.moveChatPageLeft)({pageId:v.id}))}return p}()})}),(0,n.createComponentVNode)(2,o.Stack.Item,{grow:!0,ml:.5,children:(0,n.createComponentVNode)(2,o.Input,{width:"100%",value:v.name,onChange:function(){function p(f,g){return s((0,a.updateChatPage)({pageId:v.id,name:g}))}return p}()})}),!v.isMain&&(0,n.createComponentVNode)(2,o.Stack.Item,{ml:.5,children:(0,n.createComponentVNode)(2,o.Button,{tooltip:"Reorder tab to the right",icon:"angle-right",onClick:function(){function p(){return s((0,a.moveChatPageRight)({pageId:v.id}))}return p}()})}),(0,n.createComponentVNode)(2,o.Stack.Item,{children:(0,n.createComponentVNode)(2,o.Button.Checkbox,{content:"Mute",checked:v.hideUnreadCount,icon:v.hideUnreadCount?"bell-slash":"bell",tooltip:"Disables unread counter",onClick:function(){function p(){return s((0,a.updateChatPage)({pageId:v.id,hideUnreadCount:!v.hideUnreadCount}))}return p}()})}),(0,n.createComponentVNode)(2,o.Stack.Item,{children:(0,n.createComponentVNode)(2,o.Button,{content:"Remove",icon:"times",color:"red",disabled:v.isMain,onClick:function(){function p(){return s((0,a.removeChatPage)({pageId:v.id}))}return p}()})})]}),(0,n.createComponentVNode)(2,o.Divider),(0,n.createComponentVNode)(2,o.Section,{title:"Messages to display",level:2,children:[u.MESSAGE_TYPES.filter(function(p){return!p.important&&!p.admin}).map(function(p){return(0,n.createComponentVNode)(2,o.Button.Checkbox,{checked:v.acceptedTypes[p.type],onClick:function(){function f(){return s((0,a.toggleAcceptedType)({pageId:v.id,type:p.type}))}return f}(),children:p.name},p.type)}),(0,n.createComponentVNode)(2,o.Collapsible,{mt:1,color:"transparent",title:"Admin stuff",children:u.MESSAGE_TYPES.filter(function(p){return!p.important&&p.admin}).map(function(p){return(0,n.createComponentVNode)(2,o.Button.Checkbox,{checked:v.acceptedTypes[p.type],onClick:function(){function f(){return s((0,a.toggleAcceptedType)({pageId:v.id,type:p.type}))}return f}(),children:p.name},p.type)})})]})]})}return h}()},12165:function(E,e,t){"use strict";e.__esModule=!0,e.ChatPanel=void 0;var n=t(96524),r=t(28234),o=t(24674),a=t(35826);function u(h,d){h.prototype=Object.create(d.prototype),h.prototype.constructor=h,l(h,d)}function l(h,d){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function i(v,s){return v.__proto__=s,v}return i}(),l(h,d)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var c=e.ChatPanel=function(h){u(v,h);function v(){var f;return f=h.call(this)||this,f.ref=(0,n.createRef)(),f.state={scrollTracking:!0},f.handleScrollTrackingChange=function(s){return f.setState({scrollTracking:s})},f}var i=v.prototype;return i.componentDidMount=function(){function f(){a.chatRenderer.mount(this.ref.current),a.chatRenderer.events.on("scrollTrackingChanged",this.handleScrollTrackingChange),this.componentDidUpdate()}return f}(),i.componentWillUnmount=function(){function f(){a.chatRenderer.events.off("scrollTrackingChanged",this.handleScrollTrackingChange)}return f}(),i.componentDidUpdate=function(){function f(s){requestAnimationFrame(function(){a.chatRenderer.ensureScrollTracking()});var p=!s||(0,r.shallowDiffers)(this.props,s);p&&a.chatRenderer.assignStyle({width:"100%","white-space":"pre-wrap","font-size":this.props.fontSize,"line-height":this.props.lineHeight})}return f}(),i.render=function(){function f(){var s=this.state.scrollTracking;return(0,n.createFragment)([(0,n.createVNode)(1,"div","Chat",null,1,null,null,this.ref),!s&&(0,n.createComponentVNode)(2,o.Button,{className:"Chat__scrollButton",icon:"arrow-down",onClick:function(){function p(){return a.chatRenderer.scrollToBottom()}return p}(),children:"Scroll to bottom"})],0)}return f}(),v}(n.Component)},54213:function(E,e,t){"use strict";e.__esModule=!0,e.ChatTabs=void 0;var n=t(28823),r=t(90816),o=t(2971),a=t(3578),u=t(87919),l=t(91577);/** +*/var c=e.ChatPanel=function(h){function d(){var v;return v=h.call(this)||this,v.ref=(0,n.createRef)(),v.state={scrollTracking:!0},v.handleScrollTrackingChange=function(s){return v.setState({scrollTracking:s})},v}u(d,h);var i=d.prototype;return i.componentDidMount=function(){function v(){a.chatRenderer.mount(this.ref.current),a.chatRenderer.events.on("scrollTrackingChanged",this.handleScrollTrackingChange),this.componentDidUpdate()}return v}(),i.componentWillUnmount=function(){function v(){a.chatRenderer.events.off("scrollTrackingChanged",this.handleScrollTrackingChange)}return v}(),i.componentDidUpdate=function(){function v(s){requestAnimationFrame(function(){a.chatRenderer.ensureScrollTracking()});var p=!s||(0,r.shallowDiffers)(this.props,s);p&&a.chatRenderer.assignStyle({width:"100%","white-space":"pre-wrap","font-size":this.props.fontSize,"line-height":this.props.lineHeight})}return v}(),i.render=function(){function v(){var s=this.state.scrollTracking;return(0,n.createFragment)([(0,n.createVNode)(1,"div","Chat",null,1,null,null,this.ref),!s&&(0,n.createComponentVNode)(2,o.Button,{className:"Chat__scrollButton",icon:"arrow-down",onClick:function(){function p(){return a.chatRenderer.scrollToBottom()}return p}(),children:"Scroll to bottom"})],0)}return v}(),d}(n.Component)},61495:function(E,e,t){"use strict";e.__esModule=!0,e.ChatTabs=void 0;var n=t(96524),r=t(88605),o=t(24674),a=t(54226),u=t(41011),l=t(32421);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var c=function(i){var f=i.value;return(0,n.createComponentVNode)(2,o.Box,{style:{"font-size":"0.7em","border-radius":"0.25em",width:"1.7em","line-height":"1.55em","background-color":"crimson",color:"#fff"},children:Math.min(f,99)})},h=e.ChatTabs=function(){function v(i,f){var s=(0,r.useSelector)(f,u.selectChatPages),p=(0,r.useSelector)(f,u.selectCurrentChatPage),d=(0,r.useDispatch)(f);return(0,n.createComponentVNode)(2,o.Flex,{align:"center",children:[(0,n.createComponentVNode)(2,o.Flex.Item,{children:(0,n.createComponentVNode)(2,o.Tabs,{textAlign:"center",children:s.map(function(g){return(0,n.createComponentVNode)(2,o.Tabs.Tab,{selected:g===p,rightSlot:!g.hideUnreadCount&&g.unreadCount>0&&(0,n.createComponentVNode)(2,c,{value:g.unreadCount}),onClick:function(){function m(){return d((0,a.changeChatPage)({pageId:g.id}))}return m}(),children:g.name},g.id)})})}),(0,n.createComponentVNode)(2,o.Flex.Item,{ml:1,children:(0,n.createComponentVNode)(2,o.Button,{color:"transparent",icon:"plus",onClick:function(){function g(){d((0,a.addChatPage)()),d((0,l.openChatSettings)())}return g}()})})]})}return v}()},3578:function(E,e,t){"use strict";e.__esModule=!0,e.updateMessageCount=e.updateChatPage=e.toggleAcceptedType=e.saveChatToDisk=e.removeChatPage=e.rebuildChat=e.moveChatPageRight=e.moveChatPageLeft=e.loadChat=e.clearChat=e.changeScrollTracking=e.changeChatPage=e.addChatPage=void 0;var n=t(90816),r=t(92863);/** + */var c=function(i){var v=i.value;return(0,n.createComponentVNode)(2,o.Box,{style:{"font-size":"0.7em","border-radius":"0.25em",width:"1.7em","line-height":"1.55em","background-color":"crimson",color:"#fff"},children:Math.min(v,99)})},h=e.ChatTabs=function(){function d(i,v){var s=(0,r.useSelector)(v,u.selectChatPages),p=(0,r.useSelector)(v,u.selectCurrentChatPage),f=(0,r.useDispatch)(v);return(0,n.createComponentVNode)(2,o.Flex,{align:"center",children:[(0,n.createComponentVNode)(2,o.Flex.Item,{children:(0,n.createComponentVNode)(2,o.Tabs,{textAlign:"center",children:s.map(function(g){return(0,n.createComponentVNode)(2,o.Tabs.Tab,{selected:g===p,rightSlot:!g.hideUnreadCount&&g.unreadCount>0&&(0,n.createComponentVNode)(2,c,{value:g.unreadCount}),onClick:function(){function m(){return f((0,a.changeChatPage)({pageId:g.id}))}return m}(),children:g.name},g.id)})})}),(0,n.createComponentVNode)(2,o.Flex.Item,{ml:1,children:(0,n.createComponentVNode)(2,o.Button,{color:"transparent",icon:"plus",onClick:function(){function g(){f((0,a.addChatPage)()),f((0,l.openChatSettings)())}return g}()})})]})}return d}()},54226:function(E,e,t){"use strict";e.__esModule=!0,e.updateMessageCount=e.updateChatPage=e.toggleAcceptedType=e.saveChatToDisk=e.removeChatPage=e.rebuildChat=e.moveChatPageRight=e.moveChatPageLeft=e.loadChat=e.clearChat=e.changeScrollTracking=e.changeChatPage=e.addChatPage=void 0;var n=t(88605),r=t(15820);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=e.loadChat=(0,n.createAction)("chat/load"),a=e.rebuildChat=(0,n.createAction)("chat/rebuild"),u=e.clearChat=(0,n.createAction)("chat/clear"),l=e.updateMessageCount=(0,n.createAction)("chat/updateMessageCount"),c=e.addChatPage=(0,n.createAction)("chat/addPage",function(){return{payload:(0,r.createPage)()}}),h=e.changeChatPage=(0,n.createAction)("chat/changePage"),v=e.updateChatPage=(0,n.createAction)("chat/updatePage"),i=e.toggleAcceptedType=(0,n.createAction)("chat/toggleAcceptedType"),f=e.removeChatPage=(0,n.createAction)("chat/removePage"),s=e.changeScrollTracking=(0,n.createAction)("chat/changeScrollTracking"),p=e.saveChatToDisk=(0,n.createAction)("chat/saveToDisk"),d=e.moveChatPageLeft=(0,n.createAction)("chat/movePageLeft"),g=e.moveChatPageRight=(0,n.createAction)("chat/movePageRight")},67392:function(E,e){"use strict";e.__esModule=!0,e.MESSAGE_TYPE_WARNING=e.MESSAGE_TYPE_UNKNOWN=e.MESSAGE_TYPE_SYSTEM=e.MESSAGE_TYPE_RADIO=e.MESSAGE_TYPE_OOC=e.MESSAGE_TYPE_MENTORPM=e.MESSAGE_TYPE_MENTORCHAT=e.MESSAGE_TYPE_LOCALCHAT=e.MESSAGE_TYPE_INTERNAL=e.MESSAGE_TYPE_INFO=e.MESSAGE_TYPE_EVENTCHAT=e.MESSAGE_TYPE_DEBUG=e.MESSAGE_TYPE_DEADCHAT=e.MESSAGE_TYPE_COMBAT=e.MESSAGE_TYPE_ATTACKLOG=e.MESSAGE_TYPE_ADMINPM=e.MESSAGE_TYPE_ADMINLOG=e.MESSAGE_TYPE_ADMINCHAT=e.MESSAGE_TYPES=e.MESSAGE_SAVE_INTERVAL=e.MESSAGE_PRUNE_INTERVAL=e.MAX_VISIBLE_MESSAGES=e.MAX_PERSISTED_MESSAGES=e.IMAGE_RETRY_MESSAGE_AGE=e.IMAGE_RETRY_LIMIT=e.IMAGE_RETRY_DELAY=e.COMBINE_MAX_TIME_WINDOW=e.COMBINE_MAX_MESSAGES=void 0;/** + */var o=e.loadChat=(0,n.createAction)("chat/load"),a=e.rebuildChat=(0,n.createAction)("chat/rebuild"),u=e.clearChat=(0,n.createAction)("chat/clear"),l=e.updateMessageCount=(0,n.createAction)("chat/updateMessageCount"),c=e.addChatPage=(0,n.createAction)("chat/addPage",function(){return{payload:(0,r.createPage)()}}),h=e.changeChatPage=(0,n.createAction)("chat/changePage"),d=e.updateChatPage=(0,n.createAction)("chat/updatePage"),i=e.toggleAcceptedType=(0,n.createAction)("chat/toggleAcceptedType"),v=e.removeChatPage=(0,n.createAction)("chat/removePage"),s=e.changeScrollTracking=(0,n.createAction)("chat/changeScrollTracking"),p=e.saveChatToDisk=(0,n.createAction)("chat/saveToDisk"),f=e.moveChatPageLeft=(0,n.createAction)("chat/movePageLeft"),g=e.moveChatPageRight=(0,n.createAction)("chat/movePageRight")},80280:function(E,e){"use strict";e.__esModule=!0,e.MESSAGE_TYPE_WARNING=e.MESSAGE_TYPE_UNKNOWN=e.MESSAGE_TYPE_SYSTEM=e.MESSAGE_TYPE_RADIO=e.MESSAGE_TYPE_OOC=e.MESSAGE_TYPE_MENTORPM=e.MESSAGE_TYPE_MENTORCHAT=e.MESSAGE_TYPE_LOCALCHAT=e.MESSAGE_TYPE_INTERNAL=e.MESSAGE_TYPE_INFO=e.MESSAGE_TYPE_EVENTCHAT=e.MESSAGE_TYPE_DEBUG=e.MESSAGE_TYPE_DEADCHAT=e.MESSAGE_TYPE_COMBAT=e.MESSAGE_TYPE_ATTACKLOG=e.MESSAGE_TYPE_ADMINPM=e.MESSAGE_TYPE_ADMINLOG=e.MESSAGE_TYPE_ADMINCHAT=e.MESSAGE_TYPES=e.MESSAGE_SAVE_INTERVAL=e.MESSAGE_PRUNE_INTERVAL=e.MAX_VISIBLE_MESSAGES=e.MAX_PERSISTED_MESSAGES=e.IMAGE_RETRY_MESSAGE_AGE=e.IMAGE_RETRY_LIMIT=e.IMAGE_RETRY_DELAY=e.COMBINE_MAX_TIME_WINDOW=e.COMBINE_MAX_MESSAGES=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.MAX_VISIBLE_MESSAGES=2500,n=e.MAX_PERSISTED_MESSAGES=1e3,r=e.MESSAGE_SAVE_INTERVAL=1e4,o=e.MESSAGE_PRUNE_INTERVAL=6e4,a=e.COMBINE_MAX_TIME_WINDOW=5e3,u=e.COMBINE_MAX_MESSAGES=5,l=e.IMAGE_RETRY_DELAY=250,c=e.IMAGE_RETRY_LIMIT=10,h=e.IMAGE_RETRY_MESSAGE_AGE=6e4,v=e.MESSAGE_TYPE_UNKNOWN="unknown",i=e.MESSAGE_TYPE_INTERNAL="internal",f=e.MESSAGE_TYPE_SYSTEM="system",s=e.MESSAGE_TYPE_LOCALCHAT="localchat",p=e.MESSAGE_TYPE_RADIO="radio",d=e.MESSAGE_TYPE_INFO="info",g=e.MESSAGE_TYPE_WARNING="warning",m=e.MESSAGE_TYPE_DEADCHAT="deadchat",S=e.MESSAGE_TYPE_OOC="ooc",I=e.MESSAGE_TYPE_ADMINPM="adminpm",O=e.MESSAGE_TYPE_MENTORPM="mentorpm",C=e.MESSAGE_TYPE_COMBAT="combat",y=e.MESSAGE_TYPE_ADMINCHAT="adminchat",b=e.MESSAGE_TYPE_MENTORCHAT="mentorchat",T=e.MESSAGE_TYPE_EVENTCHAT="eventchat",P=e.MESSAGE_TYPE_ADMINLOG="adminlog",N=e.MESSAGE_TYPE_ATTACKLOG="attacklog",M=e.MESSAGE_TYPE_DEBUG="debug",R=e.MESSAGE_TYPES=[{type:f,name:"System Messages",description:"Messages from your client, always enabled",selector:".boldannounceooc",important:!0},{type:s,name:"Local",description:"In-character local messages (say, emote, etc)",selector:".say, .emote"},{type:p,name:"Radio",description:"All departments of radio messages",selector:".alert, .syndradio, .centradio, .airadio, .entradio, .comradio, .secradio, .engradio, .medradio, .sciradio, .supradio, .srvradio, .expradio, .radio, .deptradio, .newscaster"},{type:d,name:"Info",description:"Non-urgent messages from the game and items",selector:".notice:not(.pm), .adminnotice, .info, .sinister, .cult"},{type:g,name:"Warnings",description:"Urgent messages from the game and items",selector:".warning:not(.pm), .critical, .userdanger, .italics, .boldannounceic, .boldwarning"},{type:m,name:"Deadchat",description:"All of deadchat",selector:".deadsay"},{type:S,name:"OOC",description:"The bluewall of global OOC messages",selector:".ooc, .adminooc"},{type:I,name:"Admin PMs",description:"Messages to/from admins (adminhelp)",selector:".adminpm, .adminhelp, .adminticket, .adminticketalt"},{type:O,name:"Mentor PMs",description:"Messages to/from mentors (mentorhelp)",selector:".mentorpm, .mentorhelp"},{type:C,name:"Combat Log",description:"Urist McTraitor has stabbed you with a knife!",selector:".danger"},{type:v,name:"Unsorted",description:"Everything we could not sort, always enabled"},{type:y,name:"Admin Chat",description:"ASAY messages",selector:".admin_channel, .adminsay",admin:!0},{type:b,name:"Mentor Chat",description:"MSAY messages",selector:".mentor_channel",admin:!0},{type:P,name:"Admin Log",description:"ADMIN LOG: Urist McAdmin has jumped to coordinates X, Y, Z",selector:".log_message",admin:!0},{type:N,name:"Attack Log",description:"Urist McTraitor has shot John Doe",admin:!0},{type:M,name:"Debug Log",description:"DEBUG: SSPlanets subsystem Recover().",selector:".pr_announce, .debug",admin:!0}]},23360:function(E,e,t){"use strict";e.__esModule=!0,e.chatReducer=e.chatMiddleware=e.ChatTabs=e.ChatPanel=e.ChatPageSettings=void 0;var n=t(59216);e.ChatPageSettings=n.ChatPageSettings;var r=t(49084);e.ChatPanel=r.ChatPanel;var o=t(54213);e.ChatTabs=o.ChatTabs;var a=t(13172);e.chatMiddleware=a.chatMiddleware;var u=t(7912);e.chatReducer=u.chatReducer},13172:function(E,e,t){"use strict";e.__esModule=!0,e.chatMiddleware=void 0;var n=i(t(85966)),r=t(96417),o=t(91577),a=t(65910),u=t(3578),l=t(67392),c=t(92863),h=t(57218),v=t(87919);function i(y){return y&&y.__esModule?y:{default:y}}function f(y,b){var T=typeof Symbol!="undefined"&&y[Symbol.iterator]||y["@@iterator"];if(T)return(T=T.call(y)).next.bind(T);if(Array.isArray(y)||(T=s(y))||b&&y&&typeof y.length=="number"){T&&(y=T);var P=0;return function(){return P>=y.length?{done:!0}:{done:!1,value:y[P++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(y,b){if(y){if(typeof y=="string")return p(y,b);var T=Object.prototype.toString.call(y).slice(8,-1);if(T==="Object"&&y.constructor&&(T=y.constructor.name),T==="Map"||T==="Set")return Array.from(y);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return p(y,b)}}function p(y,b){(b==null||b>y.length)&&(b=y.length);for(var T=0,P=new Array(b);T<b;T++)P[T]=y[T];return P}function d(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return b};var y,b={},T=Object.prototype,P=T.hasOwnProperty,N=Object.defineProperty||function(J,Z,ot){J[Z]=ot.value},M=typeof Symbol=="function"?Symbol:{},R=M.iterator||"@@iterator",L=M.asyncIterator||"@@asyncIterator",K=M.toStringTag||"@@toStringTag";function U(J,Z,ot){return Object.defineProperty(J,Z,{value:ot,enumerable:!0,configurable:!0,writable:!0}),J[Z]}try{U({},"")}catch(J){U=function(ot,gt,Et){return ot[gt]=Et}}function F(J,Z,ot,gt){var Et=Z&&Z.prototype instanceof k?Z:k,it=Object.create(Et.prototype),pt=new ht(gt||[]);return N(it,"_invoke",{value:St(J,ot,pt)}),it}function $(J,Z,ot){try{return{type:"normal",arg:J.call(Z,ot)}}catch(gt){return{type:"throw",arg:gt}}}b.wrap=F;var B="suspendedStart",x="suspendedYield",V="executing",G="completed",Y={};function k(){}function nt(){}function ut(){}var ft={};U(ft,R,function(){return this});var W=Object.getPrototypeOf,X=W&&W(W(dt([])));X&&X!==T&&P.call(X,R)&&(ft=X);var et=ut.prototype=k.prototype=Object.create(ft);function ct(J){["next","throw","return"].forEach(function(Z){U(J,Z,function(ot){return this._invoke(Z,ot)})})}function at(J,Z){function ot(Et,it,pt,rt){var _=$(J[Et],J,it);if(_.type!=="throw"){var yt=_.arg,Ct=yt.value;return Ct&&typeof Ct=="object"&&P.call(Ct,"__await")?Z.resolve(Ct.__await).then(function(Mt){ot("next",Mt,pt,rt)},function(Mt){ot("throw",Mt,pt,rt)}):Z.resolve(Ct).then(function(Mt){yt.value=Mt,pt(yt)},function(Mt){return ot("throw",Mt,pt,rt)})}rt(_.arg)}var gt;N(this,"_invoke",{value:function(){function Et(it,pt){function rt(){return new Z(function(_,yt){ot(it,pt,_,yt)})}return gt=gt?gt.then(rt,rt):rt()}return Et}()})}function St(J,Z,ot){var gt=B;return function(Et,it){if(gt===V)throw new Error("Generator is already running");if(gt===G){if(Et==="throw")throw it;return{value:y,done:!0}}for(ot.method=Et,ot.arg=it;;){var pt=ot.delegate;if(pt){var rt=Pt(pt,ot);if(rt){if(rt===Y)continue;return rt}}if(ot.method==="next")ot.sent=ot._sent=ot.arg;else if(ot.method==="throw"){if(gt===B)throw gt=G,ot.arg;ot.dispatchException(ot.arg)}else ot.method==="return"&&ot.abrupt("return",ot.arg);gt=V;var _=$(J,Z,ot);if(_.type==="normal"){if(gt=ot.done?G:x,_.arg===Y)continue;return{value:_.arg,done:ot.done}}_.type==="throw"&&(gt=G,ot.method="throw",ot.arg=_.arg)}}}function Pt(J,Z){var ot=Z.method,gt=J.iterator[ot];if(gt===y)return Z.delegate=null,ot==="throw"&&J.iterator.return&&(Z.method="return",Z.arg=y,Pt(J,Z),Z.method==="throw")||ot!=="return"&&(Z.method="throw",Z.arg=new TypeError("The iterator does not provide a '"+ot+"' method")),Y;var Et=$(gt,J.iterator,Z.arg);if(Et.type==="throw")return Z.method="throw",Z.arg=Et.arg,Z.delegate=null,Y;var it=Et.arg;return it?it.done?(Z[J.resultName]=it.value,Z.next=J.nextLoc,Z.method!=="return"&&(Z.method="next",Z.arg=y),Z.delegate=null,Y):it:(Z.method="throw",Z.arg=new TypeError("iterator result is not an object"),Z.delegate=null,Y)}function Rt(J){var Z={tryLoc:J[0]};1 in J&&(Z.catchLoc=J[1]),2 in J&&(Z.finallyLoc=J[2],Z.afterLoc=J[3]),this.tryEntries.push(Z)}function Nt(J){var Z=J.completion||{};Z.type="normal",delete Z.arg,J.completion=Z}function ht(J){this.tryEntries=[{tryLoc:"root"}],J.forEach(Rt,this),this.reset(!0)}function dt(J){if(J||J===""){var Z=J[R];if(Z)return Z.call(J);if(typeof J.next=="function")return J;if(!isNaN(J.length)){var ot=-1,gt=function(){function Et(){for(;++ot<J.length;)if(P.call(J,ot))return Et.value=J[ot],Et.done=!1,Et;return Et.value=y,Et.done=!0,Et}return Et}();return gt.next=gt}}throw new TypeError(typeof J+" is not iterable")}return nt.prototype=ut,N(et,"constructor",{value:ut,configurable:!0}),N(ut,"constructor",{value:nt,configurable:!0}),nt.displayName=U(ut,K,"GeneratorFunction"),b.isGeneratorFunction=function(J){var Z=typeof J=="function"&&J.constructor;return!!Z&&(Z===nt||(Z.displayName||Z.name)==="GeneratorFunction")},b.mark=function(J){return Object.setPrototypeOf?Object.setPrototypeOf(J,ut):(J.__proto__=ut,U(J,K,"GeneratorFunction")),J.prototype=Object.create(et),J},b.awrap=function(J){return{__await:J}},ct(at.prototype),U(at.prototype,L,function(){return this}),b.AsyncIterator=at,b.async=function(J,Z,ot,gt,Et){Et===void 0&&(Et=Promise);var it=new at(F(J,Z,ot,gt),Et);return b.isGeneratorFunction(Z)?it:it.next().then(function(pt){return pt.done?pt.value:it.next()})},ct(et),U(et,K,"Generator"),U(et,R,function(){return this}),U(et,"toString",function(){return"[object Generator]"}),b.keys=function(J){var Z=Object(J),ot=[];for(var gt in Z)ot.push(gt);return ot.reverse(),function(){function Et(){for(;ot.length;){var it=ot.pop();if(it in Z)return Et.value=it,Et.done=!1,Et}return Et.done=!0,Et}return Et}()},b.values=dt,ht.prototype={constructor:ht,reset:function(){function J(Z){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(Nt),!Z)for(var ot in this)ot.charAt(0)==="t"&&P.call(this,ot)&&!isNaN(+ot.slice(1))&&(this[ot]=y)}return J}(),stop:function(){function J(){this.done=!0;var Z=this.tryEntries[0].completion;if(Z.type==="throw")throw Z.arg;return this.rval}return J}(),dispatchException:function(){function J(Z){if(this.done)throw Z;var ot=this;function gt(yt,Ct){return pt.type="throw",pt.arg=Z,ot.next=yt,Ct&&(ot.method="next",ot.arg=y),!!Ct}for(var Et=this.tryEntries.length-1;Et>=0;--Et){var it=this.tryEntries[Et],pt=it.completion;if(it.tryLoc==="root")return gt("end");if(it.tryLoc<=this.prev){var rt=P.call(it,"catchLoc"),_=P.call(it,"finallyLoc");if(rt&&_){if(this.prev<it.catchLoc)return gt(it.catchLoc,!0);if(this.prev<it.finallyLoc)return gt(it.finallyLoc)}else if(rt){if(this.prev<it.catchLoc)return gt(it.catchLoc,!0)}else{if(!_)throw new Error("try statement without catch or finally");if(this.prev<it.finallyLoc)return gt(it.finallyLoc)}}}}return J}(),abrupt:function(){function J(Z,ot){for(var gt=this.tryEntries.length-1;gt>=0;--gt){var Et=this.tryEntries[gt];if(Et.tryLoc<=this.prev&&P.call(Et,"finallyLoc")&&this.prev<Et.finallyLoc){var it=Et;break}}it&&(Z==="break"||Z==="continue")&&it.tryLoc<=ot&&ot<=it.finallyLoc&&(it=null);var pt=it?it.completion:{};return pt.type=Z,pt.arg=ot,it?(this.method="next",this.next=it.finallyLoc,Y):this.complete(pt)}return J}(),complete:function(){function J(Z,ot){if(Z.type==="throw")throw Z.arg;return Z.type==="break"||Z.type==="continue"?this.next=Z.arg:Z.type==="return"?(this.rval=this.arg=Z.arg,this.method="return",this.next="end"):Z.type==="normal"&&ot&&(this.next=ot),Y}return J}(),finish:function(){function J(Z){for(var ot=this.tryEntries.length-1;ot>=0;--ot){var gt=this.tryEntries[ot];if(gt.finallyLoc===Z)return this.complete(gt.completion,gt.afterLoc),Nt(gt),Y}}return J}(),catch:function(){function J(Z){for(var ot=this.tryEntries.length-1;ot>=0;--ot){var gt=this.tryEntries[ot];if(gt.tryLoc===Z){var Et=gt.completion;if(Et.type==="throw"){var it=Et.arg;Nt(gt)}return it}}throw new Error("illegal catch attempt")}return J}(),delegateYield:function(){function J(Z,ot,gt){return this.delegate={iterator:dt(Z),resultName:ot,nextLoc:gt},this.method==="next"&&(this.arg=y),Y}return J}()},b}function g(y,b,T,P,N,M,R){try{var L=y[M](R),K=L.value}catch(U){T(U);return}L.done?b(K):Promise.resolve(K).then(P,N)}function m(y){return function(){var b=this,T=arguments;return new Promise(function(P,N){var M=y.apply(b,T);function R(K){g(M,P,N,R,L,"next",K)}function L(K){g(M,P,N,R,L,"throw",K)}R(void 0)})}}/** + */var t=e.MAX_VISIBLE_MESSAGES=2500,n=e.MAX_PERSISTED_MESSAGES=1e3,r=e.MESSAGE_SAVE_INTERVAL=1e4,o=e.MESSAGE_PRUNE_INTERVAL=6e4,a=e.COMBINE_MAX_TIME_WINDOW=5e3,u=e.COMBINE_MAX_MESSAGES=5,l=e.IMAGE_RETRY_DELAY=250,c=e.IMAGE_RETRY_LIMIT=10,h=e.IMAGE_RETRY_MESSAGE_AGE=6e4,d=e.MESSAGE_TYPE_UNKNOWN="unknown",i=e.MESSAGE_TYPE_INTERNAL="internal",v=e.MESSAGE_TYPE_SYSTEM="system",s=e.MESSAGE_TYPE_LOCALCHAT="localchat",p=e.MESSAGE_TYPE_RADIO="radio",f=e.MESSAGE_TYPE_INFO="info",g=e.MESSAGE_TYPE_WARNING="warning",m=e.MESSAGE_TYPE_DEADCHAT="deadchat",b=e.MESSAGE_TYPE_OOC="ooc",I=e.MESSAGE_TYPE_ADMINPM="adminpm",T=e.MESSAGE_TYPE_MENTORPM="mentorpm",C=e.MESSAGE_TYPE_COMBAT="combat",S=e.MESSAGE_TYPE_ADMINCHAT="adminchat",y=e.MESSAGE_TYPE_MENTORCHAT="mentorchat",O=e.MESSAGE_TYPE_EVENTCHAT="eventchat",A=e.MESSAGE_TYPE_ADMINLOG="adminlog",N=e.MESSAGE_TYPE_ATTACKLOG="attacklog",M=e.MESSAGE_TYPE_DEBUG="debug",R=e.MESSAGE_TYPES=[{type:v,name:"System Messages",description:"Messages from your client, always enabled",selector:".boldannounceooc",important:!0},{type:s,name:"Local",description:"In-character local messages (say, emote, etc)",selector:".say, .emote"},{type:p,name:"Radio",description:"All departments of radio messages",selector:".alert, .syndradio, .centradio, .airadio, .entradio, .comradio, .secradio, .engradio, .medradio, .sciradio, .supradio, .srvradio, .expradio, .radio, .deptradio, .newscaster"},{type:f,name:"Info",description:"Non-urgent messages from the game and items",selector:".notice:not(.pm), .adminnotice, .info, .sinister, .cult"},{type:g,name:"Warnings",description:"Urgent messages from the game and items",selector:".warning:not(.pm), .critical, .userdanger, .italics, .boldannounceic, .boldwarning"},{type:m,name:"Deadchat",description:"All of deadchat",selector:".deadsay"},{type:b,name:"OOC",description:"The bluewall of global OOC messages",selector:".ooc, .adminooc"},{type:I,name:"Admin PMs",description:"Messages to/from admins (adminhelp)",selector:".adminpm, .adminhelp, .adminticket, .adminticketalt"},{type:T,name:"Mentor PMs",description:"Messages to/from mentors (mentorhelp)",selector:".mentorpm, .mentorhelp"},{type:C,name:"Combat Log",description:"Urist McTraitor has stabbed you with a knife!",selector:".danger"},{type:d,name:"Unsorted",description:"Everything we could not sort, always enabled"},{type:S,name:"Admin Chat",description:"ASAY messages",selector:".admin_channel, .adminsay",admin:!0},{type:y,name:"Mentor Chat",description:"MSAY messages",selector:".mentor_channel",admin:!0},{type:A,name:"Admin Log",description:"ADMIN LOG: Urist McAdmin has jumped to coordinates X, Y, Z",selector:".log_message",admin:!0},{type:N,name:"Attack Log",description:"Urist McTraitor has shot John Doe",admin:!0},{type:M,name:"Debug Log",description:"DEBUG: SSPlanets subsystem Recover().",selector:".pr_announce, .debug",admin:!0}]},84689:function(E,e,t){"use strict";e.__esModule=!0,e.chatReducer=e.chatMiddleware=e.ChatTabs=e.ChatPanel=e.ChatPageSettings=void 0;var n=t(73773);e.ChatPageSettings=n.ChatPageSettings;var r=t(12165);e.ChatPanel=r.ChatPanel;var o=t(61495);e.ChatTabs=o.ChatTabs;var a=t(14029);e.chatMiddleware=a.chatMiddleware;var u=t(90945);e.chatReducer=u.chatReducer},14029:function(E,e,t){"use strict";e.__esModule=!0,e.chatMiddleware=void 0;var n=i(t(27061)),r=t(66450),o=t(32421),a=t(95852),u=t(54226),l=t(80280),c=t(15820),h=t(35826),d=t(41011);function i(S){return S&&S.__esModule?S:{default:S}}function v(S,y){var O=typeof Symbol!="undefined"&&S[Symbol.iterator]||S["@@iterator"];if(O)return(O=O.call(S)).next.bind(O);if(Array.isArray(S)||(O=s(S))||y&&S&&typeof S.length=="number"){O&&(S=O);var A=0;return function(){return A>=S.length?{done:!0}:{done:!1,value:S[A++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(S,y){if(S){if(typeof S=="string")return p(S,y);var O=Object.prototype.toString.call(S).slice(8,-1);if(O==="Object"&&S.constructor&&(O=S.constructor.name),O==="Map"||O==="Set")return Array.from(S);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return p(S,y)}}function p(S,y){(y==null||y>S.length)&&(y=S.length);for(var O=0,A=new Array(y);O<y;O++)A[O]=S[O];return A}function f(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */f=function(){return y};var S,y={},O=Object.prototype,A=O.hasOwnProperty,N=Object.defineProperty||function(Q,Z,et){Q[Z]=et.value},M=typeof Symbol=="function"?Symbol:{},R=M.iterator||"@@iterator",L=M.asyncIterator||"@@asyncIterator",x=M.toStringTag||"@@toStringTag";function F(Q,Z,et){return Object.defineProperty(Q,Z,{value:et,enumerable:!0,configurable:!0,writable:!0}),Q[Z]}try{F({},"")}catch(Q){F=function(et,ht,Et){return et[ht]=Et}}function V(Q,Z,et,ht){var Et=Z&&Z.prototype instanceof W?Z:W,rt=Object.create(Et.prototype),pt=new vt(ht||[]);return N(rt,"_invoke",{value:St(Q,et,pt)}),rt}function G(Q,Z,et){try{return{type:"normal",arg:Q.call(Z,et)}}catch(ht){return{type:"throw",arg:ht}}}y.wrap=V;var B="suspendedStart",U="suspendedYield",j="executing",K="completed",$={};function W(){}function nt(){}function st(){}var gt={};F(gt,R,function(){return this});var k=Object.getPrototypeOf,X=k&&k(k(ft([])));X&&X!==O&&A.call(X,R)&&(gt=X);var tt=st.prototype=W.prototype=Object.create(gt);function ct(Q){["next","throw","return"].forEach(function(Z){F(Q,Z,function(et){return this._invoke(Z,et)})})}function at(Q,Z){function et(Et,rt,pt,Nt){var J=G(Q[Et],Q,rt);if(J.type!=="throw"){var ut=J.arg,bt=ut.value;return bt&&typeof bt=="object"&&A.call(bt,"__await")?Z.resolve(bt.__await).then(function(At){et("next",At,pt,Nt)},function(At){et("throw",At,pt,Nt)}):Z.resolve(bt).then(function(At){ut.value=At,pt(ut)},function(At){return et("throw",At,pt,Nt)})}Nt(J.arg)}var ht;N(this,"_invoke",{value:function(){function Et(rt,pt){function Nt(){return new Z(function(J,ut){et(rt,pt,J,ut)})}return ht=ht?ht.then(Nt,Nt):Nt()}return Et}()})}function St(Q,Z,et){var ht=B;return function(Et,rt){if(ht===j)throw Error("Generator is already running");if(ht===K){if(Et==="throw")throw rt;return{value:S,done:!0}}for(et.method=Et,et.arg=rt;;){var pt=et.delegate;if(pt){var Nt=Mt(pt,et);if(Nt){if(Nt===$)continue;return Nt}}if(et.method==="next")et.sent=et._sent=et.arg;else if(et.method==="throw"){if(ht===B)throw ht=K,et.arg;et.dispatchException(et.arg)}else et.method==="return"&&et.abrupt("return",et.arg);ht=j;var J=G(Q,Z,et);if(J.type==="normal"){if(ht=et.done?K:U,J.arg===$)continue;return{value:J.arg,done:et.done}}J.type==="throw"&&(ht=K,et.method="throw",et.arg=J.arg)}}}function Mt(Q,Z){var et=Z.method,ht=Q.iterator[et];if(ht===S)return Z.delegate=null,et==="throw"&&Q.iterator.return&&(Z.method="return",Z.arg=S,Mt(Q,Z),Z.method==="throw")||et!=="return"&&(Z.method="throw",Z.arg=new TypeError("The iterator does not provide a '"+et+"' method")),$;var Et=G(ht,Q.iterator,Z.arg);if(Et.type==="throw")return Z.method="throw",Z.arg=Et.arg,Z.delegate=null,$;var rt=Et.arg;return rt?rt.done?(Z[Q.resultName]=rt.value,Z.next=Q.nextLoc,Z.method!=="return"&&(Z.method="next",Z.arg=S),Z.delegate=null,$):rt:(Z.method="throw",Z.arg=new TypeError("iterator result is not an object"),Z.delegate=null,$)}function wt(Q){var Z={tryLoc:Q[0]};1 in Q&&(Z.catchLoc=Q[1]),2 in Q&&(Z.finallyLoc=Q[2],Z.afterLoc=Q[3]),this.tryEntries.push(Z)}function Rt(Q){var Z=Q.completion||{};Z.type="normal",delete Z.arg,Q.completion=Z}function vt(Q){this.tryEntries=[{tryLoc:"root"}],Q.forEach(wt,this),this.reset(!0)}function ft(Q){if(Q||Q===""){var Z=Q[R];if(Z)return Z.call(Q);if(typeof Q.next=="function")return Q;if(!isNaN(Q.length)){var et=-1,ht=function(){function Et(){for(;++et<Q.length;)if(A.call(Q,et))return Et.value=Q[et],Et.done=!1,Et;return Et.value=S,Et.done=!0,Et}return Et}();return ht.next=ht}}throw new TypeError(typeof Q+" is not iterable")}return nt.prototype=st,N(tt,"constructor",{value:st,configurable:!0}),N(st,"constructor",{value:nt,configurable:!0}),nt.displayName=F(st,x,"GeneratorFunction"),y.isGeneratorFunction=function(Q){var Z=typeof Q=="function"&&Q.constructor;return!!Z&&(Z===nt||(Z.displayName||Z.name)==="GeneratorFunction")},y.mark=function(Q){return Object.setPrototypeOf?Object.setPrototypeOf(Q,st):(Q.__proto__=st,F(Q,x,"GeneratorFunction")),Q.prototype=Object.create(tt),Q},y.awrap=function(Q){return{__await:Q}},ct(at.prototype),F(at.prototype,L,function(){return this}),y.AsyncIterator=at,y.async=function(Q,Z,et,ht,Et){Et===void 0&&(Et=Promise);var rt=new at(V(Q,Z,et,ht),Et);return y.isGeneratorFunction(Z)?rt:rt.next().then(function(pt){return pt.done?pt.value:rt.next()})},ct(tt),F(tt,x,"Generator"),F(tt,R,function(){return this}),F(tt,"toString",function(){return"[object Generator]"}),y.keys=function(Q){var Z=Object(Q),et=[];for(var ht in Z)et.push(ht);return et.reverse(),function(){function Et(){for(;et.length;){var rt=et.pop();if(rt in Z)return Et.value=rt,Et.done=!1,Et}return Et.done=!0,Et}return Et}()},y.values=ft,vt.prototype={constructor:vt,reset:function(){function Q(Z){if(this.prev=0,this.next=0,this.sent=this._sent=S,this.done=!1,this.delegate=null,this.method="next",this.arg=S,this.tryEntries.forEach(Rt),!Z)for(var et in this)et.charAt(0)==="t"&&A.call(this,et)&&!isNaN(+et.slice(1))&&(this[et]=S)}return Q}(),stop:function(){function Q(){this.done=!0;var Z=this.tryEntries[0].completion;if(Z.type==="throw")throw Z.arg;return this.rval}return Q}(),dispatchException:function(){function Q(Z){if(this.done)throw Z;var et=this;function ht(ut,bt){return pt.type="throw",pt.arg=Z,et.next=ut,bt&&(et.method="next",et.arg=S),!!bt}for(var Et=this.tryEntries.length-1;Et>=0;--Et){var rt=this.tryEntries[Et],pt=rt.completion;if(rt.tryLoc==="root")return ht("end");if(rt.tryLoc<=this.prev){var Nt=A.call(rt,"catchLoc"),J=A.call(rt,"finallyLoc");if(Nt&&J){if(this.prev<rt.catchLoc)return ht(rt.catchLoc,!0);if(this.prev<rt.finallyLoc)return ht(rt.finallyLoc)}else if(Nt){if(this.prev<rt.catchLoc)return ht(rt.catchLoc,!0)}else{if(!J)throw Error("try statement without catch or finally");if(this.prev<rt.finallyLoc)return ht(rt.finallyLoc)}}}}return Q}(),abrupt:function(){function Q(Z,et){for(var ht=this.tryEntries.length-1;ht>=0;--ht){var Et=this.tryEntries[ht];if(Et.tryLoc<=this.prev&&A.call(Et,"finallyLoc")&&this.prev<Et.finallyLoc){var rt=Et;break}}rt&&(Z==="break"||Z==="continue")&&rt.tryLoc<=et&&et<=rt.finallyLoc&&(rt=null);var pt=rt?rt.completion:{};return pt.type=Z,pt.arg=et,rt?(this.method="next",this.next=rt.finallyLoc,$):this.complete(pt)}return Q}(),complete:function(){function Q(Z,et){if(Z.type==="throw")throw Z.arg;return Z.type==="break"||Z.type==="continue"?this.next=Z.arg:Z.type==="return"?(this.rval=this.arg=Z.arg,this.method="return",this.next="end"):Z.type==="normal"&&et&&(this.next=et),$}return Q}(),finish:function(){function Q(Z){for(var et=this.tryEntries.length-1;et>=0;--et){var ht=this.tryEntries[et];if(ht.finallyLoc===Z)return this.complete(ht.completion,ht.afterLoc),Rt(ht),$}}return Q}(),catch:function(){function Q(Z){for(var et=this.tryEntries.length-1;et>=0;--et){var ht=this.tryEntries[et];if(ht.tryLoc===Z){var Et=ht.completion;if(Et.type==="throw"){var rt=Et.arg;Rt(ht)}return rt}}throw Error("illegal catch attempt")}return Q}(),delegateYield:function(){function Q(Z,et,ht){return this.delegate={iterator:ft(Z),resultName:et,nextLoc:ht},this.method==="next"&&(this.arg=S),$}return Q}()},y}function g(S,y,O,A,N,M,R){try{var L=S[M](R),x=L.value}catch(F){O(F);return}L.done?y(x):Promise.resolve(x).then(A,N)}function m(S){return function(){var y=this,O=arguments;return new Promise(function(A,N){var M=S.apply(y,O);function R(x){g(M,A,N,R,L,"next",x)}function L(x){g(M,A,N,R,L,"throw",x)}R(void 0)})}}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var S=["a","iframe","link","video"],I=function(){var y=m(d().mark(function(){function b(T){var P,N,M;return d().wrap(function(){function R(L){for(;;)switch(L.prev=L.next){case 0:P=(0,v.selectChat)(T.getState()),N=Math.max(0,h.chatRenderer.messages.length-l.MAX_PERSISTED_MESSAGES),M=h.chatRenderer.messages.slice(N).map(function(K){return(0,c.serializeMessage)(K)}),r.storage.set("chat-state",P),r.storage.set("chat-messages",M);case 5:case"end":return L.stop()}}return R}(),b)}return b}()));return function(){function b(T){return y.apply(this,arguments)}return b}()}(),O=function(){var y=m(d().mark(function(){function b(T){var P,N,M,R,L,K,U;return d().wrap(function(){function F($){for(;;)switch($.prev=$.next){case 0:return $.next=2,Promise.all([r.storage.get("chat-state"),r.storage.get("chat-messages")]);case 2:if(P=$.sent,N=P[0],M=P[1],!(N&&N.version<=4)){$.next=8;break}return T.dispatch((0,u.loadChat)()),$.abrupt("return");case 8:if(M){for(R=f(M);!(L=R()).done;)K=L.value,K.html&&(K.html=n.default.sanitize(K.html,{FORBID_TAGS:S}));U=[].concat(M,[(0,c.createMessage)({type:"internal/reconnected"})]),h.chatRenderer.processBatch(U,{prepend:!0})}T.dispatch((0,u.loadChat)(N));case 10:case"end":return $.stop()}}return F}(),b)}return b}()));return function(){function b(T){return y.apply(this,arguments)}return b}()}(),C=e.chatMiddleware=function(){function y(b){var T=!1,P=!1,N=[],M=[];return h.chatRenderer.events.on("batchProcessed",function(R){P&&b.dispatch((0,u.updateMessageCount)(R))}),h.chatRenderer.events.on("scrollTrackingChanged",function(R){b.dispatch((0,u.changeScrollTracking)(R))}),setInterval(function(){return I(b)},l.MESSAGE_SAVE_INTERVAL),function(R){return function(L){var K=L.type,U=L.payload;if(T||(T=!0,O(b)),K==="chat/message"){var F;try{F=JSON.parse(U)}catch(nt){return}var $=F.sequence;if(N.includes($))return;var B=N.length;t:if(B>0){if(M.includes($)){M.splice(M.indexOf($),1);break t}var x=N[B-1]+1;if($!==x)for(var V=x;V<$;V++)M.push(V),Byond.sendMessage("chat/resend",V)}h.chatRenderer.processBatch([F.content]);return}if(K===u.loadChat.type){R(L);var G=(0,v.selectCurrentChatPage)(b.getState());h.chatRenderer.changePage(G),h.chatRenderer.onStateLoaded(),P=!0;return}if(K===u.changeChatPage.type||K===u.addChatPage.type||K===u.removeChatPage.type||K===u.toggleAcceptedType.type||K===u.moveChatPageLeft.type||K===u.moveChatPageRight.type){R(L);var Y=(0,v.selectCurrentChatPage)(b.getState());h.chatRenderer.changePage(Y);return}if(K===u.rebuildChat.type)return h.chatRenderer.rebuildChat(),R(L);if(K===o.updateSettings.type||K===o.loadSettings.type||K===o.addHighlightSetting.type||K===o.removeHighlightSetting.type||K===o.updateHighlightSetting.type){R(L);var k=(0,a.selectSettings)(b.getState());h.chatRenderer.setHighlight(k.highlightSettings,k.highlightSettingById);return}if(K==="roundrestart")return I(b),R(L);if(K===u.saveChatToDisk.type){h.chatRenderer.saveToDisk();return}if(K===u.clearChat.type){h.chatRenderer.clearChat();return}return R(L)}}}return y}()},92863:function(E,e,t){"use strict";e.__esModule=!0,e.serializeMessage=e.isSameMessage=e.createPage=e.createMessage=e.createMainPage=e.canPageAcceptType=void 0;var n=t(56662),r=t(67392);function o(s,p){var d=typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(d)return(d=d.call(s)).next.bind(d);if(Array.isArray(s)||(d=a(s))||p&&s&&typeof s.length=="number"){d&&(s=d);var g=0;return function(){return g>=s.length?{done:!0}:{done:!1,value:s[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(s,p){if(s){if(typeof s=="string")return u(s,p);var d=Object.prototype.toString.call(s).slice(8,-1);if(d==="Object"&&s.constructor&&(d=s.constructor.name),d==="Map"||d==="Set")return Array.from(s);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return u(s,p)}}function u(s,p){(p==null||p>s.length)&&(p=s.length);for(var d=0,g=new Array(p);d<p;d++)g[d]=s[d];return g}/** +*/var b=["a","iframe","link","video"],I=function(){var S=m(f().mark(function(){function y(O){var A,N,M;return f().wrap(function(){function R(L){for(;;)switch(L.prev=L.next){case 0:A=(0,d.selectChat)(O.getState()),N=Math.max(0,h.chatRenderer.messages.length-l.MAX_PERSISTED_MESSAGES),M=h.chatRenderer.messages.slice(N).map(function(x){return(0,c.serializeMessage)(x)}),r.storage.set("chat-state",A),r.storage.set("chat-messages",M);case 5:case"end":return L.stop()}}return R}(),y)}return y}()));return function(){function y(O){return S.apply(this,arguments)}return y}()}(),T=function(){var S=m(f().mark(function(){function y(O){var A,N,M,R,L,x,F;return f().wrap(function(){function V(G){for(;;)switch(G.prev=G.next){case 0:return G.next=2,Promise.all([r.storage.get("chat-state"),r.storage.get("chat-messages")]);case 2:if(A=G.sent,N=A[0],M=A[1],!(N&&N.version<=4)){G.next=8;break}return O.dispatch((0,u.loadChat)()),G.abrupt("return");case 8:if(M){for(R=v(M);!(L=R()).done;)x=L.value,x.html&&(x.html=n.default.sanitize(x.html,{FORBID_TAGS:b}));F=[].concat(M,[(0,c.createMessage)({type:"internal/reconnected"})]),h.chatRenderer.processBatch(F,{prepend:!0})}O.dispatch((0,u.loadChat)(N));case 10:case"end":return G.stop()}}return V}(),y)}return y}()));return function(){function y(O){return S.apply(this,arguments)}return y}()}(),C=e.chatMiddleware=function(){function S(y){var O=!1,A=!1,N=[],M=[];return h.chatRenderer.events.on("batchProcessed",function(R){A&&y.dispatch((0,u.updateMessageCount)(R))}),h.chatRenderer.events.on("scrollTrackingChanged",function(R){y.dispatch((0,u.changeScrollTracking)(R))}),setInterval(function(){return I(y)},l.MESSAGE_SAVE_INTERVAL),function(R){return function(L){var x=L.type,F=L.payload;if(O||(O=!0,T(y)),x==="chat/message"){var V;try{V=JSON.parse(F)}catch(nt){return}var G=V.sequence;if(N.includes(G))return;var B=N.length;t:if(B>0){if(M.includes(G)){M.splice(M.indexOf(G),1);break t}var U=N[B-1]+1;if(G!==U)for(var j=U;j<G;j++)M.push(j),Byond.sendMessage("chat/resend",j)}h.chatRenderer.processBatch([V.content]);return}if(x===u.loadChat.type){R(L);var K=(0,d.selectCurrentChatPage)(y.getState());h.chatRenderer.changePage(K),h.chatRenderer.onStateLoaded(),A=!0;return}if(x===u.changeChatPage.type||x===u.addChatPage.type||x===u.removeChatPage.type||x===u.toggleAcceptedType.type||x===u.moveChatPageLeft.type||x===u.moveChatPageRight.type){R(L);var $=(0,d.selectCurrentChatPage)(y.getState());h.chatRenderer.changePage($);return}if(x===u.rebuildChat.type)return h.chatRenderer.rebuildChat(),R(L);if(x===o.updateSettings.type||x===o.loadSettings.type||x===o.addHighlightSetting.type||x===o.removeHighlightSetting.type||x===o.updateHighlightSetting.type){R(L);var W=(0,a.selectSettings)(y.getState());h.chatRenderer.setHighlight(W.highlightSettings,W.highlightSettingById);return}if(x==="roundrestart")return I(y),R(L);if(x===u.saveChatToDisk.type){h.chatRenderer.saveToDisk();return}if(x===u.clearChat.type){h.chatRenderer.clearChat();return}return R(L)}}}return S}()},15820:function(E,e,t){"use strict";e.__esModule=!0,e.serializeMessage=e.isSameMessage=e.createPage=e.createMessage=e.createMainPage=e.canPageAcceptType=void 0;var n=t(2160),r=t(80280);function o(s,p){var f=typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(f)return(f=f.call(s)).next.bind(f);if(Array.isArray(s)||(f=a(s))||p&&s&&typeof s.length=="number"){f&&(s=f);var g=0;return function(){return g>=s.length?{done:!0}:{done:!1,value:s[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(s,p){if(s){if(typeof s=="string")return u(s,p);var f=Object.prototype.toString.call(s).slice(8,-1);if(f==="Object"&&s.constructor&&(f=s.constructor.name),f==="Map"||f==="Set")return Array.from(s);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return u(s,p)}}function u(s,p){(p==null||p>s.length)&&(p=s.length);for(var f=0,g=new Array(p);f<p;f++)g[f]=s[f];return g}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var l=e.canPageAcceptType=function(){function s(p,d){return d.startsWith(r.MESSAGE_TYPE_INTERNAL)||p.acceptedTypes[d]}return s}(),c=e.createPage=function(){function s(p){for(var d={},g=o(r.MESSAGE_TYPES),m;!(m=g()).done;){var S=m.value;d[S.type]=!!S.important}return Object.assign({name:"New Tab",id:(0,n.createUuid)(),isMain:!1,acceptedTypes:d,unreadCount:0,hideUnreadCount:!1,createdAt:Date.now()},p)}return s}(),h=e.createMainPage=function(){function s(){for(var p={},d=o(r.MESSAGE_TYPES),g;!(g=d()).done;){var m=g.value;p[m.type]=!0}return c({name:"Main",isMain:!0,acceptedTypes:p})}return s}(),v=e.createMessage=function(){function s(p){return Object.assign({createdAt:Date.now()},p)}return s}(),i=e.serializeMessage=function(){function s(p){return{type:p.type,text:p.text,html:p.html,times:p.times,createdAt:p.createdAt}}return s}(),f=e.isSameMessage=function(){function s(p,d){return typeof p.text=="string"&&p.text===d.text||typeof p.html=="string"&&p.html===d.html}return s}()},7912:function(E,e,t){"use strict";e.__esModule=!0,e.initialState=e.chatReducer=void 0;var n=t(3578),r=t(92863),o=["pageId"],a;/** +*/var l=e.canPageAcceptType=function(){function s(p,f){return f.startsWith(r.MESSAGE_TYPE_INTERNAL)||p.acceptedTypes[f]}return s}(),c=e.createPage=function(){function s(p){for(var f={},g=o(r.MESSAGE_TYPES),m;!(m=g()).done;){var b=m.value;f[b.type]=!!b.important}return Object.assign({name:"New Tab",id:(0,n.createUuid)(),isMain:!1,acceptedTypes:f,unreadCount:0,hideUnreadCount:!1,createdAt:Date.now()},p)}return s}(),h=e.createMainPage=function(){function s(){for(var p={},f=o(r.MESSAGE_TYPES),g;!(g=f()).done;){var m=g.value;p[m.type]=!0}return c({name:"Main",isMain:!0,acceptedTypes:p})}return s}(),d=e.createMessage=function(){function s(p){return Object.assign({createdAt:Date.now()},p)}return s}(),i=e.serializeMessage=function(){function s(p){return{type:p.type,text:p.text,html:p.html,times:p.times,createdAt:p.createdAt}}return s}(),v=e.isSameMessage=function(){function s(p,f){return typeof p.text=="string"&&p.text===f.text||typeof p.html=="string"&&p.html===f.html}return s}()},90945:function(E,e,t){"use strict";e.__esModule=!0,e.initialState=e.chatReducer=void 0;var n=t(54226),r=t(15820),o=["pageId"],a;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function u(s,p){if(s==null)return{};var d={},g=Object.keys(s),m,S;for(S=0;S<g.length;S++)m=g[S],!(p.indexOf(m)>=0)&&(d[m]=s[m]);return d}function l(s,p){var d=typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(d)return(d=d.call(s)).next.bind(d);if(Array.isArray(s)||(d=c(s))||p&&s&&typeof s.length=="number"){d&&(s=d);var g=0;return function(){return g>=s.length?{done:!0}:{done:!1,value:s[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(s,p){if(s){if(typeof s=="string")return h(s,p);var d=Object.prototype.toString.call(s).slice(8,-1);if(d==="Object"&&s.constructor&&(d=s.constructor.name),d==="Map"||d==="Set")return Array.from(s);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return h(s,p)}}function h(s,p){(p==null||p>s.length)&&(p=s.length);for(var d=0,g=new Array(p);d<p;d++)g[d]=s[d];return g}var v=(0,r.createMainPage)(),i=e.initialState={version:5,currentPageId:v.id,scrollTracking:!0,pages:[v.id],pageById:(a={},a[v.id]=v,a)},f=e.chatReducer=function(){function s(p,d){p===void 0&&(p=i);var g=d.type,m=d.payload;if(g===n.loadChat.type){if((m==null?void 0:m.version)!==p.version)return p;for(var S=0,I=Object.keys(m.pageById);S<I.length;S++)for(var O=I[S],C=m.pageById[O],y=C.acceptedTypes,b=v.acceptedTypes,T=0,P=Object.keys(b);T<P.length;T++){var N=P[T];y[N]===void 0&&(y[N]=b[N])}for(var M=0,R=Object.keys(m.pageById);M<R.length;M++){var L=R[M],K=m.pageById[L];K.unreadCount=0}return Object.assign({},p,m)}if(g===n.changeScrollTracking.type){var U=m,F=Object.assign({},p,{scrollTracking:U});if(U){var $,B=p.currentPageId,x=Object.assign({},p.pageById[B],{unreadCount:0});F.pageById=Object.assign({},p.pageById,($={},$[B]=x,$))}return F}if(g===n.updateMessageCount.type){for(var V=m,G=p.pages.map(function(It){return p.pageById[It]}),Y=p.pageById[p.currentPageId],k=Object.assign({},p.pageById),nt=l(G),ut;!(ut=nt()).done;){for(var ft=ut.value,W=0,X=0,et=Object.keys(V);X<et.length;X++){var ct=et[X];(0,r.canPageAcceptType)(ft,ct)&&(ft===Y&&p.scrollTracking||ft!==Y&&(0,r.canPageAcceptType)(Y,ct)||(W+=V[ct]))}W>0&&(k[ft.id]=Object.assign({},ft,{unreadCount:ft.unreadCount+W}))}return Object.assign({},p,{pageById:k})}if(g===n.addChatPage.type){var at;return Object.assign({},p,{currentPageId:m.id,pages:[].concat(p.pages,[m.id]),pageById:Object.assign({},p.pageById,(at={},at[m.id]=m,at))})}if(g===n.changeChatPage.type){var St,Pt=m.pageId,Rt=Object.assign({},p.pageById[Pt],{unreadCount:0});return Object.assign({},p,{currentPageId:Pt,pageById:Object.assign({},p.pageById,(St={},St[Pt]=Rt,St))})}if(g===n.updateChatPage.type){var Nt,ht=m.pageId,dt=u(m,o),J=Object.assign({},p.pageById[ht],dt);return Object.assign({},p,{pageById:Object.assign({},p.pageById,(Nt={},Nt[ht]=J,Nt))})}if(g===n.toggleAcceptedType.type){var Z,ot=m.pageId,gt=m.type,Et=Object.assign({},p.pageById[ot]);return Et.acceptedTypes=Object.assign({},Et.acceptedTypes),Et.acceptedTypes[gt]=!Et.acceptedTypes[gt],Object.assign({},p,{pageById:Object.assign({},p.pageById,(Z={},Z[ot]=Et,Z))})}if(g===n.removeChatPage.type){var it=m.pageId,pt=Object.assign({},p,{pages:[].concat(p.pages),pageById:Object.assign({},p.pageById)});return delete pt.pageById[it],pt.pages=pt.pages.filter(function(It){return It!==it}),pt.pages.length===0&&(pt.pages.push(v.id),pt.pageById[v.id]=v,pt.currentPageId=v.id),(!pt.currentPageId||pt.currentPageId===it)&&(pt.currentPageId=pt.pages[0]),pt}if(g===n.moveChatPageLeft.type){var rt=m.pageId,_=Object.assign({},p,{pages:[].concat(p.pages),pageById:Object.assign({},p.pageById)}),yt=_.pageById[rt],Ct=_.pages.indexOf(yt.id),Mt=Ct-1;if(Ct>0&&Mt>0){var xt=_.pages[Ct];_.pages[Ct]=_.pages[Mt],_.pages[Mt]=xt}return _}if(g===n.moveChatPageRight.type){var Vt=m.pageId,Tt=Object.assign({},p,{pages:[].concat(p.pages),pageById:Object.assign({},p.pageById)}),lt=Tt.pageById[Vt],mt=Tt.pages.indexOf(lt.id),Ot=mt+1;if(mt>0&&Ot<Tt.pages.length){var bt=Tt.pages[mt];Tt.pages[mt]=Tt.pages[Ot],Tt.pages[Ot]=bt}return Tt}return p}return s}()},57218:function(E,e,t){"use strict";e.__esModule=!0,e.chatRenderer=void 0;var n=t(70654),r=t(66586),o=t(50175),a=t(67392),u=t(92863),l=t(97507);function c(C,y){var b=typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(b)return(b=b.call(C)).next.bind(b);if(Array.isArray(C)||(b=h(C))||y&&C&&typeof C.length=="number"){b&&(C=b);var T=0;return function(){return T>=C.length?{done:!0}:{done:!1,value:C[T++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(C,y){if(C){if(typeof C=="string")return v(C,y);var b=Object.prototype.toString.call(C).slice(8,-1);if(b==="Object"&&C.constructor&&(b=C.constructor.name),b==="Map"||b==="Set")return Array.from(C);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return v(C,y)}}function v(C,y){(y==null||y>C.length)&&(y=C.length);for(var b=0,T=new Array(y);b<y;b++)T[b]=C[b];return T}/** + */function u(s,p){if(s==null)return{};var f={},g=Object.keys(s),m,b;for(b=0;b<g.length;b++)m=g[b],!(p.indexOf(m)>=0)&&(f[m]=s[m]);return f}function l(s,p){var f=typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(f)return(f=f.call(s)).next.bind(f);if(Array.isArray(s)||(f=c(s))||p&&s&&typeof s.length=="number"){f&&(s=f);var g=0;return function(){return g>=s.length?{done:!0}:{done:!1,value:s[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(s,p){if(s){if(typeof s=="string")return h(s,p);var f=Object.prototype.toString.call(s).slice(8,-1);if(f==="Object"&&s.constructor&&(f=s.constructor.name),f==="Map"||f==="Set")return Array.from(s);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return h(s,p)}}function h(s,p){(p==null||p>s.length)&&(p=s.length);for(var f=0,g=new Array(p);f<p;f++)g[f]=s[f];return g}var d=(0,r.createMainPage)(),i=e.initialState={version:5,currentPageId:d.id,scrollTracking:!0,pages:[d.id],pageById:(a={},a[d.id]=d,a)},v=e.chatReducer=function(){function s(p,f){p===void 0&&(p=i);var g=f.type,m=f.payload;if(g===n.loadChat.type){if((m==null?void 0:m.version)!==p.version)return p;for(var b=0,I=Object.keys(m.pageById);b<I.length;b++)for(var T=I[b],C=m.pageById[T],S=C.acceptedTypes,y=d.acceptedTypes,O=0,A=Object.keys(y);O<A.length;O++){var N=A[O];S[N]===void 0&&(S[N]=y[N])}for(var M=0,R=Object.keys(m.pageById);M<R.length;M++){var L=R[M],x=m.pageById[L];x.unreadCount=0}return Object.assign({},p,m)}if(g===n.changeScrollTracking.type){var F=m,V=Object.assign({},p,{scrollTracking:F});if(F){var G,B=p.currentPageId,U=Object.assign({},p.pageById[B],{unreadCount:0});V.pageById=Object.assign({},p.pageById,(G={},G[B]=U,G))}return V}if(g===n.updateMessageCount.type){for(var j=m,K=p.pages.map(function(Pt){return p.pageById[Pt]}),$=p.pageById[p.currentPageId],W=Object.assign({},p.pageById),nt=l(K),st;!(st=nt()).done;){for(var gt=st.value,k=0,X=0,tt=Object.keys(j);X<tt.length;X++){var ct=tt[X];(0,r.canPageAcceptType)(gt,ct)&&(gt===$&&p.scrollTracking||gt!==$&&(0,r.canPageAcceptType)($,ct)||(k+=j[ct]))}k>0&&(W[gt.id]=Object.assign({},gt,{unreadCount:gt.unreadCount+k}))}return Object.assign({},p,{pageById:W})}if(g===n.addChatPage.type){var at;return Object.assign({},p,{currentPageId:m.id,pages:[].concat(p.pages,[m.id]),pageById:Object.assign({},p.pageById,(at={},at[m.id]=m,at))})}if(g===n.changeChatPage.type){var St,Mt=m.pageId,wt=Object.assign({},p.pageById[Mt],{unreadCount:0});return Object.assign({},p,{currentPageId:Mt,pageById:Object.assign({},p.pageById,(St={},St[Mt]=wt,St))})}if(g===n.updateChatPage.type){var Rt,vt=m.pageId,ft=u(m,o),Q=Object.assign({},p.pageById[vt],ft);return Object.assign({},p,{pageById:Object.assign({},p.pageById,(Rt={},Rt[vt]=Q,Rt))})}if(g===n.toggleAcceptedType.type){var Z,et=m.pageId,ht=m.type,Et=Object.assign({},p.pageById[et]);return Et.acceptedTypes=Object.assign({},Et.acceptedTypes),Et.acceptedTypes[ht]=!Et.acceptedTypes[ht],Object.assign({},p,{pageById:Object.assign({},p.pageById,(Z={},Z[et]=Et,Z))})}if(g===n.removeChatPage.type){var rt=m.pageId,pt=Object.assign({},p,{pages:[].concat(p.pages),pageById:Object.assign({},p.pageById)});return delete pt.pageById[rt],pt.pages=pt.pages.filter(function(Pt){return Pt!==rt}),pt.pages.length===0&&(pt.pages.push(d.id),pt.pageById[d.id]=d,pt.currentPageId=d.id),(!pt.currentPageId||pt.currentPageId===rt)&&(pt.currentPageId=pt.pages[0]),pt}if(g===n.moveChatPageLeft.type){var Nt=m.pageId,J=Object.assign({},p,{pages:[].concat(p.pages),pageById:Object.assign({},p.pageById)}),ut=J.pageById[Nt],bt=J.pages.indexOf(ut.id),At=bt-1;if(bt>0&&At>0){var Bt=J.pages[bt];J.pages[bt]=J.pages[At],J.pages[At]=Bt}return J}if(g===n.moveChatPageRight.type){var Ut=m.pageId,Tt=Object.assign({},p,{pages:[].concat(p.pages),pageById:Object.assign({},p.pageById)}),it=Tt.pageById[Ut],mt=Tt.pages.indexOf(it.id),It=mt+1;if(mt>0&&It<Tt.pages.length){var Ct=Tt.pages[mt];Tt.pages[mt]=Tt.pages[It],Tt.pages[It]=Ct}return Tt}return p}return s}()},35826:function(E,e,t){"use strict";e.__esModule=!0,e.chatRenderer=void 0;var n=t(22594),r=t(28234),o=t(81856),a=t(80280),u=t(15820),l=t(67049);function c(C,S){var y=typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(y)return(y=y.call(C)).next.bind(y);if(Array.isArray(C)||(y=h(C))||S&&C&&typeof C.length=="number"){y&&(C=y);var O=0;return function(){return O>=C.length?{done:!0}:{done:!1,value:C[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.")}function h(C,S){if(C){if(typeof C=="string")return d(C,S);var y=Object.prototype.toString.call(C).slice(8,-1);if(y==="Object"&&C.constructor&&(y=C.constructor.name),y==="Map"||y==="Set")return Array.from(C);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return d(C,S)}}function d(C,S){(S==null||S>C.length)&&(S=C.length);for(var y=0,O=new Array(S);y<S;y++)O[y]=C[y];return O}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var i=(0,o.createLogger)("chatRenderer"),f=24,s=function(y){for(var b=document.body,T=y;T&&T!==b;){if(T.scrollWidth<T.offsetWidth)return T;T=T.parentNode}return window},p=function(y,b){var T=document.createElement("span");return T.className="Chat__highlight",T.setAttribute("style","background-color:"+b),T.textContent=y,T},d=function(){var y=document.createElement("div");return y.className="ChatMessage",y},g=function(){var y=document.createElement("div");return y.className="Chat__reconnected",y},m=function(y){setTimeout(function(){var b=y.target,T=parseInt(b.getAttribute("data-reload-n"),10)||0;if(T>=a.IMAGE_RETRY_LIMIT){i.error("failed to load an image after "+T+" attempts");return}var P=b.src;b.src=null,b.src=P+"#"+T,b.setAttribute("data-reload-n",T+1)},a.IMAGE_RETRY_DELAY)},S=function(y){var b=y.node,T=y.times;if(!(!b||!T)){var P=b.querySelector(".Chat__badge"),N=P||document.createElement("div");N.textContent=T,N.className=(0,r.classes)(["Chat__badge","Chat__badge--animate"]),requestAnimationFrame(function(){N.className="Chat__badge"}),P||b.appendChild(N)}},I=function(){function C(){var b=this;this.loaded=!1,this.rootNode=null,this.queue=[],this.messages=[],this.visibleMessages=[],this.page=null,this.events=new n.EventEmitter,this.scrollNode=null,this.scrollTracking=!0,this.handleScroll=function(T){var P=b.scrollNode,N=P.scrollHeight,M=P.scrollTop+P.offsetHeight,R=Math.abs(N-M)<f;R!==b.scrollTracking&&(b.scrollTracking=R,b.events.emit("scrollTrackingChanged",R),i.debug("tracking",b.scrollTracking))},this.ensureScrollTracking=function(){b.scrollTracking&&b.scrollToBottom()},setInterval(function(){return b.pruneMessages()},a.MESSAGE_PRUNE_INTERVAL)}var y=C.prototype;return y.isReady=function(){function b(){return this.loaded&&this.rootNode&&this.page}return b}(),y.mount=function(){function b(T){var P=this;this.rootNode?T.appendChild(this.rootNode):this.rootNode=T,this.scrollNode=s(this.rootNode),this.scrollNode.addEventListener("scroll",this.handleScroll),setImmediate(function(){P.scrollToBottom()}),this.tryFlushQueue()}return b}(),y.onStateLoaded=function(){function b(){this.loaded=!0,this.tryFlushQueue()}return b}(),y.tryFlushQueue=function(){function b(){this.isReady()&&this.queue.length>0&&(this.processBatch(this.queue),this.queue=[])}return b}(),y.assignStyle=function(){function b(T){T===void 0&&(T={});for(var P=0,N=Object.keys(T);P<N.length;P++){var M=N[P];this.rootNode.style.setProperty(M,T[M])}}return b}(),y.setHighlight=function(){function b(T,P){var N=this;this.highlightParsers=null,T&&T.map(function(M){var R=P[M],L=R.highlightText,K=R.highlightColor,U=R.highlightWholeMessage,F=R.matchWord,$=R.matchCase,B=/^[a-zа-яё0-9_\-$/^[\s\]\\]+$/gi,x=/[!#$%^&*)(+=.<>{}[\]:;'"|~`_\-\\/]/g,V=String(L).split(/[,|]/).map(function(at){return at.trim()}).filter(function(at){return at&&at.length>1&&B.test(at)&&((B.lastIndex=0)||!0)}),G,Y;if(V.length!==0){for(var k=[],nt=c(V),ut;!(ut=nt()).done;){var ft=ut.value;if(ft.charAt(0)==="/"&&ft.charAt(ft.length-1)==="/"){var W=ft.substring(1,ft.length-1);if(/^(\[.*\]|\\.|.)$/.test(W))continue;k.push(W)}else G||(G=[]),ft=ft.replace(x,"\\$&"),G.push(ft)}var X=k.join("|"),et="g"+($?"":"i");try{if(X)Y=new RegExp("("+X+")",et);else{var ct=(F?"\\b":"")+"("+G.join("|")+")"+(F?"\\b":"");Y=new RegExp(ct,et)}}catch(at){Y=null}N.highlightParsers||(N.highlightParsers=[]),N.highlightParsers.push({highlightWords:G,highlightRegex:Y,highlightColor:K,highlightWholeMessage:U})}})}return b}(),y.scrollToBottom=function(){function b(){this.scrollNode.scrollTop=this.scrollNode.scrollHeight}return b}(),y.changePage=function(){function b(T){if(!this.isReady()){this.page=T,this.tryFlushQueue();return}this.page=T,this.rootNode.textContent="",this.visibleMessages=[];for(var P=document.createDocumentFragment(),N,M=c(this.messages),R;!(R=M()).done;){var L=R.value;(0,u.canPageAcceptType)(T,L.type)&&(N=L.node,P.appendChild(N),this.visibleMessages.push(L))}N&&(this.rootNode.appendChild(P),N.scrollIntoView())}return b}(),y.getCombinableMessage=function(){function b(T){for(var P=Date.now(),N=this.visibleMessages.length,M=N-1,R=Math.max(0,N-a.COMBINE_MAX_MESSAGES),L=M;L>=R;L--){var K=this.visibleMessages[L],U=!K.type.startsWith(a.MESSAGE_TYPE_INTERNAL)&&(0,u.isSameMessage)(K,T)&&P<K.createdAt+a.COMBINE_MAX_TIME_WINDOW;if(U)return K}return null}return b}(),y.processBatch=function(){function b(T,P){var N=this;P===void 0&&(P={});var M=P,R=M.prepend,L=M.notifyListeners,K=L===void 0?!0:L,U=Date.now();if(!this.isReady()){R?this.queue=[].concat(T,this.queue):this.queue=[].concat(this.queue,T);return}for(var F=document.createDocumentFragment(),$={},B,x=c(T),V;!(V=x()).done;){var G=V.value,Y=(0,u.createMessage)(G),k=this.getCombinableMessage(Y);if(k){k.times=(k.times||1)+1,S(k);continue}if(Y.node)B=Y.node;else if(Y.type==="internal/reconnected")B=g();else{B=d(),Y.text?B.textContent=Y.text:Y.html?B.innerHTML=Y.html:i.error("Error: message is missing text payload",Y),!Y.avoidHighlighting&&this.highlightParsers&&this.highlightParsers.map(function(at){var St=(0,l.highlightNode)(B,at.highlightRegex,at.highlightWords,function(Pt){return p(Pt,at.highlightColor)});St&&at.highlightWholeMessage&&(B.className+=" ChatMessage--highlighted")});for(var nt=B.querySelectorAll(".linkify"),ut=0;ut<nt.length;++ut)(0,l.linkifyNode)(nt[ut]);if(U<Y.createdAt+a.IMAGE_RETRY_MESSAGE_AGE)for(var ft=B.querySelectorAll("img"),W=0;W<ft.length;W++){var X=ft[W];X.addEventListener("error",m)}}if(Y.node=B,!Y.type){var et=!Byond.IS_LTE_IE8&&a.MESSAGE_TYPES.find(function(at){return at.selector&&B.querySelector(at.selector)});Y.type=(et==null?void 0:et.type)||a.MESSAGE_TYPE_UNKNOWN}S(Y),$[Y.type]||($[Y.type]=0),$[Y.type]+=1,this.messages.push(Y),(0,u.canPageAcceptType)(this.page,Y.type)&&(F.appendChild(B),this.visibleMessages.push(Y))}if(B){var ct=this.rootNode.childNodes[0];R&&ct?this.rootNode.insertBefore(F,ct):this.rootNode.appendChild(F),this.scrollTracking&&setImmediate(function(){return N.scrollToBottom()})}K&&this.events.emit("batchProcessed",$)}return b}(),y.pruneMessages=function(){function b(){if(this.isReady()){if(!this.scrollTracking){i.debug("pruning delayed");return}{var T=this.visibleMessages,P=Math.max(0,T.length-a.MAX_VISIBLE_MESSAGES);if(P>0){this.visibleMessages=T.slice(P);for(var N=0;N<P;N++){var M=T[N];this.rootNode.removeChild(M.node),M.node="pruned"}this.messages=this.messages.filter(function(L){return L.node!=="pruned"}),i.log("pruned "+P+" visible messages")}}{var R=Math.max(0,this.messages.length-a.MAX_VISIBLE_MESSAGES);R>0&&(this.messages=this.messages.slice(R),i.log("pruned "+R+" stored messages"))}}}return b}(),y.rebuildChat=function(){function b(){if(this.isReady()){for(var T=Math.max(0,this.messages.length-a.MAX_VISIBLE_MESSAGES),P=this.messages.slice(T),N=c(P),M;!(M=N()).done;){var R=M.value;R.node=void 0}this.rootNode.textContent="",this.messages=[],this.visibleMessages=[],this.processBatch(P,{notifyListeners:!1})}}return b}(),y.clearChat=function(){function b(){var T=this.visibleMessages;this.visibleMessages=[];for(var P=0;P<T.length;P++){var N=T[P];this.rootNode.removeChild(N.node),N.node="pruned"}this.messages=this.messages.filter(function(M){return M.node!=="pruned"}),i.log("Cleared chat")}return b}(),y.saveToDisk=function(){function b(){if(!Byond.IS_LTE_IE10){for(var T="",P=document.styleSheets,N=0;N<P.length;N++)for(var M=P[N].cssRules,R=0;R<M.length;R++){var L=M[R];L&&typeof L.cssText=="string"&&(T+=L.cssText+"\n")}T+="body, html { background-color: #141414 }\n";for(var K="",U=c(this.visibleMessages),F;!(F=U()).done;){var $=F.value;$.node&&(K+=$.node.outerHTML+"\n")}var B="<!doctype html>\n<html>\n<head>\n<title>SS13 Chat Log</title>\n<style>\n"+T+'</style>\n</head>\n<body>\n<div class="Chat">\n'+K+"</div>\n</body>\n</html>\n",x=new Blob([B]),V=new Date().toISOString().substring(0,19).replace(/[-:]/g,"").replace("T","-");window.navigator.msSaveBlob(x,"ss13-chatlog-"+V+".html")}}return b}(),C}();window.__chatRenderer__||(window.__chatRenderer__=new I);var O=e.chatRenderer=window.__chatRenderer__},97507:function(E,e){"use strict";e.__esModule=!0,e.replaceInTextNode=e.linkifyNode=e.highlightNode=void 0;function t(i,f){var s=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(s)return(s=s.call(i)).next.bind(s);if(Array.isArray(i)||(s=n(i))||f&&i&&typeof i.length=="number"){s&&(i=s);var p=0;return function(){return p>=i.length?{done:!0}:{done:!1,value:i[p++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(i,f){if(i){if(typeof i=="string")return r(i,f);var s=Object.prototype.toString.call(i).slice(8,-1);if(s==="Object"&&i.constructor&&(s=i.constructor.name),s==="Map"||s==="Set")return Array.from(i);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(i,f)}}function r(i,f){(f==null||f>i.length)&&(f=i.length);for(var s=0,p=new Array(f);s<f;s++)p[s]=i[s];return p}/** +*/var i=(0,o.createLogger)("chatRenderer"),v=24,s=function(S){for(var y=document.body,O=S;O&&O!==y;){if(O.scrollWidth<O.offsetWidth)return O;O=O.parentNode}return window},p=function(S,y){var O=document.createElement("span");return O.className="Chat__highlight",O.setAttribute("style","background-color:"+y),O.textContent=S,O},f=function(){var S=document.createElement("div");return S.className="ChatMessage",S},g=function(){var S=document.createElement("div");return S.className="Chat__reconnected",S},m=function(S){setTimeout(function(){var y=S.target,O=parseInt(y.getAttribute("data-reload-n"),10)||0;if(O>=a.IMAGE_RETRY_LIMIT){i.error("failed to load an image after "+O+" attempts");return}var A=y.src;y.src=null,y.src=A+"#"+O,y.setAttribute("data-reload-n",O+1)},a.IMAGE_RETRY_DELAY)},b=function(S){var y=S.node,O=S.times;if(!(!y||!O)){var A=y.querySelector(".Chat__badge"),N=A||document.createElement("div");N.textContent=O,N.className=(0,r.classes)(["Chat__badge","Chat__badge--animate"]),requestAnimationFrame(function(){N.className="Chat__badge"}),A||y.appendChild(N)}},I=function(){function C(){var y=this;this.loaded=!1,this.rootNode=null,this.queue=[],this.messages=[],this.visibleMessages=[],this.page=null,this.events=new n.EventEmitter,this.scrollNode=null,this.scrollTracking=!0,this.handleScroll=function(O){var A=y.scrollNode,N=A.scrollHeight,M=A.scrollTop+A.offsetHeight,R=Math.abs(N-M)<v;R!==y.scrollTracking&&(y.scrollTracking=R,y.events.emit("scrollTrackingChanged",R),i.debug("tracking",y.scrollTracking))},this.ensureScrollTracking=function(){y.scrollTracking&&y.scrollToBottom()},setInterval(function(){return y.pruneMessages()},a.MESSAGE_PRUNE_INTERVAL)}var S=C.prototype;return S.isReady=function(){function y(){return this.loaded&&this.rootNode&&this.page}return y}(),S.mount=function(){function y(O){var A=this;this.rootNode?O.appendChild(this.rootNode):this.rootNode=O,this.scrollNode=s(this.rootNode),this.scrollNode.addEventListener("scroll",this.handleScroll),setTimeout(function(){A.scrollToBottom()}),this.tryFlushQueue()}return y}(),S.onStateLoaded=function(){function y(){this.loaded=!0,this.tryFlushQueue()}return y}(),S.tryFlushQueue=function(){function y(){this.isReady()&&this.queue.length>0&&(this.processBatch(this.queue),this.queue=[])}return y}(),S.assignStyle=function(){function y(O){O===void 0&&(O={});for(var A=0,N=Object.keys(O);A<N.length;A++){var M=N[A];this.rootNode.style.setProperty(M,O[M])}}return y}(),S.setHighlight=function(){function y(O,A){var N=this;this.highlightParsers=null,O&&O.map(function(M){var R=A[M],L=R.highlightText,x=R.highlightColor,F=R.highlightWholeMessage,V=R.matchWord,G=R.matchCase,B=/^[a-zа-яё0-9_\-$/^[\s\]\\]+$/gi,U=/[!#$%^&*)(+=.<>{}[\]:;'"|~`_\-\\/]/g,j=String(L).split(/[,|]/).map(function(at){return at.trim()}).filter(function(at){return at&&at.length>1&&B.test(at)&&((B.lastIndex=0)||!0)}),K,$;if(j.length!==0){for(var W=[],nt=c(j),st;!(st=nt()).done;){var gt=st.value;if(gt.charAt(0)==="/"&>.charAt(gt.length-1)==="/"){var k=gt.substring(1,gt.length-1);if(/^(\[.*\]|\\.|.)$/.test(k))continue;W.push(k)}else K||(K=[]),gt=gt.replace(U,"\\$&"),K.push(gt)}var X=W.join("|"),tt="g"+(G?"":"i");try{if(X)$=new RegExp("("+X+")",tt);else{var ct=(V?"\\b":"")+"("+K.join("|")+")"+(V?"\\b":"");$=new RegExp(ct,tt)}}catch(at){$=null}N.highlightParsers||(N.highlightParsers=[]),N.highlightParsers.push({highlightWords:K,highlightRegex:$,highlightColor:x,highlightWholeMessage:F})}})}return y}(),S.scrollToBottom=function(){function y(){this.scrollNode.scrollTop=this.scrollNode.scrollHeight}return y}(),S.changePage=function(){function y(O){if(!this.isReady()){this.page=O,this.tryFlushQueue();return}this.page=O,this.rootNode.textContent="",this.visibleMessages=[];for(var A=document.createDocumentFragment(),N,M=c(this.messages),R;!(R=M()).done;){var L=R.value;(0,u.canPageAcceptType)(O,L.type)&&(N=L.node,A.appendChild(N),this.visibleMessages.push(L))}N&&(this.rootNode.appendChild(A),N.scrollIntoView())}return y}(),S.getCombinableMessage=function(){function y(O){for(var A=Date.now(),N=this.visibleMessages.length,M=N-1,R=Math.max(0,N-a.COMBINE_MAX_MESSAGES),L=M;L>=R;L--){var x=this.visibleMessages[L],F=!x.type.startsWith(a.MESSAGE_TYPE_INTERNAL)&&(0,u.isSameMessage)(x,O)&&A<x.createdAt+a.COMBINE_MAX_TIME_WINDOW;if(F)return x}return null}return y}(),S.processBatch=function(){function y(O,A){var N=this;A===void 0&&(A={});var M=A,R=M.prepend,L=M.notifyListeners,x=L===void 0?!0:L,F=Date.now();if(!this.isReady()){R?this.queue=[].concat(O,this.queue):this.queue=[].concat(this.queue,O);return}for(var V=document.createDocumentFragment(),G={},B,U=c(O),j;!(j=U()).done;){var K=j.value,$=(0,u.createMessage)(K),W=this.getCombinableMessage($);if(W){W.times=(W.times||1)+1,b(W);continue}if($.node)B=$.node;else if($.type==="internal/reconnected")B=g();else{B=f(),$.text?B.textContent=$.text:$.html?B.innerHTML=$.html:i.error("Error: message is missing text payload",$),!$.avoidHighlighting&&this.highlightParsers&&this.highlightParsers.map(function(at){var St=(0,l.highlightNode)(B,at.highlightRegex,at.highlightWords,function(Mt){return p(Mt,at.highlightColor)});St&&at.highlightWholeMessage&&(B.className+=" ChatMessage--highlighted")});for(var nt=B.querySelectorAll(".linkify"),st=0;st<nt.length;++st)(0,l.linkifyNode)(nt[st]);if(F<$.createdAt+a.IMAGE_RETRY_MESSAGE_AGE)for(var gt=B.querySelectorAll("img"),k=0;k<gt.length;k++){var X=gt[k];X.addEventListener("error",m)}}if($.node=B,!$.type){var tt=a.MESSAGE_TYPES.find(function(at){return at.selector&&B.querySelector(at.selector)});$.type=(tt==null?void 0:tt.type)||a.MESSAGE_TYPE_UNKNOWN}b($),G[$.type]||(G[$.type]=0),G[$.type]+=1,this.messages.push($),(0,u.canPageAcceptType)(this.page,$.type)&&(V.appendChild(B),this.visibleMessages.push($))}if(B){var ct=this.rootNode.childNodes[0];R&&ct?this.rootNode.insertBefore(V,ct):this.rootNode.appendChild(V),this.scrollTracking&&setTimeout(function(){return N.scrollToBottom()})}x&&this.events.emit("batchProcessed",G)}return y}(),S.pruneMessages=function(){function y(){if(this.isReady()){if(!this.scrollTracking){i.debug("pruning delayed");return}{var O=this.visibleMessages,A=Math.max(0,O.length-a.MAX_VISIBLE_MESSAGES);if(A>0){this.visibleMessages=O.slice(A);for(var N=0;N<A;N++){var M=O[N];this.rootNode.removeChild(M.node),M.node="pruned"}this.messages=this.messages.filter(function(L){return L.node!=="pruned"}),i.log("pruned "+A+" visible messages")}}{var R=Math.max(0,this.messages.length-a.MAX_VISIBLE_MESSAGES);R>0&&(this.messages=this.messages.slice(R),i.log("pruned "+R+" stored messages"))}}}return y}(),S.rebuildChat=function(){function y(){if(this.isReady()){for(var O=Math.max(0,this.messages.length-a.MAX_VISIBLE_MESSAGES),A=this.messages.slice(O),N=c(A),M;!(M=N()).done;){var R=M.value;R.node=void 0}this.rootNode.textContent="",this.messages=[],this.visibleMessages=[],this.processBatch(A,{notifyListeners:!1})}}return y}(),S.clearChat=function(){function y(){var O=this.visibleMessages;this.visibleMessages=[];for(var A=0;A<O.length;A++){var N=O[A];this.rootNode.removeChild(N.node),N.node="pruned"}this.messages=this.messages.filter(function(M){return M.node!=="pruned"}),i.log("Cleared chat")}return y}(),S.saveToDisk=function(){function y(){for(var O="",A=document.styleSheets,N=0;N<A.length;N++)for(var M=A[N].cssRules,R=0;R<M.length;R++){var L=M[R];L&&typeof L.cssText=="string"&&(O+=L.cssText+"\n")}O+="body, html { background-color: #141414 }\n";for(var x="",F=c(this.visibleMessages),V;!(V=F()).done;){var G=V.value;G.node&&(x+=G.node.outerHTML+"\n")}var B="<!doctype html>\n<html>\n<head>\n<title>SS13 Chat Log</title>\n<style>\n"+O+'</style>\n</head>\n<body>\n<div class="Chat">\n'+x+"</div>\n</body>\n</html>\n",U=new Blob([B]),j=new Date().toISOString().substring(0,19).replace(/[-:]/g,"").replace("T","-");window.navigator.msSaveBlob(U,"ss13-chatlog-"+j+".html")}return y}(),C}();window.__chatRenderer__||(window.__chatRenderer__=new I);var T=e.chatRenderer=window.__chatRenderer__},67049:function(E,e){"use strict";e.__esModule=!0,e.replaceInTextNode=e.linkifyNode=e.highlightNode=void 0;function t(i,v){var s=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(s)return(s=s.call(i)).next.bind(s);if(Array.isArray(i)||(s=n(i))||v&&i&&typeof i.length=="number"){s&&(i=s);var p=0;return function(){return p>=i.length?{done:!0}:{done:!1,value:i[p++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(i,v){if(i){if(typeof i=="string")return r(i,v);var s=Object.prototype.toString.call(i).slice(8,-1);if(s==="Object"&&i.constructor&&(s=i.constructor.name),s==="Map"||s==="Set")return Array.from(i);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(i,v)}}function r(i,v){(v==null||v>i.length)&&(v=i.length);for(var s=0,p=new Array(v);s<v;s++)p[s]=i[s];return p}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=function(f){for(var s=f.node,p=f.regex,d=f.createNode,g=f.captureAdjust,m=s.textContent,S=m.length,I,O,C,y=0,b,T=0,P=0;C=p.exec(m);){if(T+=1,++P>9999)return{};b||(b=document.createDocumentFragment()),I||(I=[]);var N=g?g(C[0]):C[0],M=N.length,R=C.index+C[0].indexOf(N);y<R&&(O=document.createTextNode(m.substring(y,R)),I.push(O),b.appendChild(O)),y=R+M,O=d(N),I.push(O),b.appendChild(O)}return b&&(y<S&&(O=document.createTextNode(m.substring(y,S)),I.push(O),b.appendChild(O)),s.parentNode.replaceChild(b,s)),{nodes:I,n:T}},a=e.replaceInTextNode=function(){function i(f,s,p){return function(d){var g,m,S=0;if(f&&(m=o({node:d,regex:f,createNode:p}),g=m.nodes,S+=m.n),s){for(var I=0,O="(",C=t(s),y;!(y=C()).done;){var b=y.value;O+="^"+b+"\\s\\W|\\s\\W"+b+"\\s\\W|\\s\\W"+b+"$|^"+b+"\\s\\W$",++I!==s.length&&(O+="|")}O+=")";var T=new RegExp(O,"gi");if(f&&g)for(var P=t(g),N;!(N=P()).done;){var M=N.value;m=o({node:M,regex:T,createNode:p,captureAdjust:function(){function R(L){return L.replace(/^\W|\W$/g,"")}return R}()}),S+=m.n}else m=o({node:d,regex:T,createNode:p,captureAdjust:function(){function R(L){return L.replace(/^\W|\W$/g,"")}return R}()}),S+=m.n}return S}}return i}(),u=function(f){var s=document.createElement("span");return s.setAttribute("style","background-color:#fd4;color:#000"),s.textContent=f,s},l=e.highlightNode=function(){function i(f,s,p,d){d===void 0&&(d=u),d||(d=u);for(var g=0,m=f.childNodes,S=0;S<m.length;S++){var I=m[S];I.nodeType===3?g+=a(s,p,d)(I):g+=i(I,s,p,d)}return g}return i}(),c=/(?:(?:https?:\/\/)|(?:www\.))(?:[^ ]*?\.[^ ]*?)+[-A-Za-z0-9+&@#/%?=~_|$!:,.;(){}]+/ig,h=e.linkifyNode=function(){function i(f){for(var s=0,p=f.childNodes,d=0;d<p.length;d++){var g=p[d],m=String(g.nodeName).toLowerCase();g.nodeType===3?s+=v(g):m!=="a"&&(s+=i(g))}return s}return i}(),v=a(c,null,function(i){var f=document.createElement("a");return f.href=i,f.textContent=i,f})},87919:function(E,e,t){"use strict";e.__esModule=!0,e.selectCurrentChatPage=e.selectChatPages=e.selectChatPageById=e.selectChat=void 0;var n=t(72026);/** + */var o=function(v){for(var s=v.node,p=v.regex,f=v.createNode,g=v.captureAdjust,m=s.textContent,b=m.length,I,T,C,S=0,y,O=0,A=0;C=p.exec(m);){if(O+=1,++A>9999)return{};y||(y=document.createDocumentFragment()),I||(I=[]);var N=g?g(C[0]):C[0],M=N.length,R=C.index+C[0].indexOf(N);S<R&&(T=document.createTextNode(m.substring(S,R)),I.push(T),y.appendChild(T)),S=R+M,T=f(N),I.push(T),y.appendChild(T)}return y&&(S<b&&(T=document.createTextNode(m.substring(S,b)),I.push(T),y.appendChild(T)),s.parentNode.replaceChild(y,s)),{nodes:I,n:O}},a=e.replaceInTextNode=function(){function i(v,s,p){return function(f){var g,m,b=0;if(v&&(m=o({node:f,regex:v,createNode:p}),g=m.nodes,b+=m.n),s){for(var I=0,T="(",C=t(s),S;!(S=C()).done;){var y=S.value;T+="^"+y+"\\s\\W|\\s\\W"+y+"\\s\\W|\\s\\W"+y+"$|^"+y+"\\s\\W$",++I!==s.length&&(T+="|")}T+=")";var O=new RegExp(T,"gi");if(v&&g)for(var A=t(g),N;!(N=A()).done;){var M=N.value;m=o({node:M,regex:O,createNode:p,captureAdjust:function(){function R(L){return L.replace(/^\W|\W$/g,"")}return R}()}),b+=m.n}else m=o({node:f,regex:O,createNode:p,captureAdjust:function(){function R(L){return L.replace(/^\W|\W$/g,"")}return R}()}),b+=m.n}return b}}return i}(),u=function(v){var s=document.createElement("span");return s.setAttribute("style","background-color:#fd4;color:#000"),s.textContent=v,s},l=e.highlightNode=function(){function i(v,s,p,f){f===void 0&&(f=u),f||(f=u);for(var g=0,m=v.childNodes,b=0;b<m.length;b++){var I=m[b];I.nodeType===3?g+=a(s,p,f)(I):g+=i(I,s,p,f)}return g}return i}(),c=/(?:(?:https?:\/\/)|(?:www\.))(?:[^ ]*?\.[^ ]*?)+[-A-Za-z0-9+&@#/%?=~_|$!:,.;(){}]+/ig,h=e.linkifyNode=function(){function i(v){for(var s=0,p=v.childNodes,f=0;f<p.length;f++){var g=p[f],m=String(g.nodeName).toLowerCase();g.nodeType===3?s+=d(g):m!=="a"&&(s+=i(g))}return s}return i}(),d=a(c,null,function(i){var v=document.createElement("a");return v.href=i,v.textContent=i,v})},41011:function(E,e,t){"use strict";e.__esModule=!0,e.selectCurrentChatPage=e.selectChatPages=e.selectChatPageById=e.selectChat=void 0;var n=t(50640);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r=e.selectChat=function(){function l(c){return c.chat}return l}(),o=e.selectChatPages=function(){function l(c){return(0,n.map)(function(h){return c.chat.pageById[h]})(c.chat.pages)}return l}(),a=e.selectCurrentChatPage=function(){function l(c){return c.chat.pageById[c.chat.currentPageId]}return l}(),u=e.selectChatPageById=function(){function l(c){return function(h){return h.chat.pageById[c]}}return l}()},49972:function(E,e,t){"use strict";e.__esModule=!0,e.roundRestarted=e.connectionRestored=e.connectionLost=void 0;var n=t(90816);/** + */var r=e.selectChat=function(){function l(c){return c.chat}return l}(),o=e.selectChatPages=function(){function l(c){return(0,n.map)(function(h){return c.chat.pageById[h]})(c.chat.pages)}return l}(),a=e.selectCurrentChatPage=function(){function l(c){return c.chat.pageById[c.chat.currentPageId]}return l}(),u=e.selectChatPageById=function(){function l(c){return function(h){return h.chat.pageById[c]}}return l}()},2590:function(E,e,t){"use strict";e.__esModule=!0,e.roundRestarted=e.connectionRestored=e.connectionLost=void 0;var n=t(88605);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r=e.roundRestarted=(0,n.createAction)("roundrestart"),o=e.connectionLost=(0,n.createAction)("game/connectionLost"),a=e.connectionRestored=(0,n.createAction)("game/connectionRestored")},70613:function(E,e){"use strict";e.__esModule=!0,e.CONNECTION_LOST_AFTER=void 0;/** + */var r=e.roundRestarted=(0,n.createAction)("roundrestart"),o=e.connectionLost=(0,n.createAction)("game/connectionLost"),a=e.connectionRestored=(0,n.createAction)("game/connectionRestored")},3332:function(E,e){"use strict";e.__esModule=!0,e.CONNECTION_LOST_AFTER=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.CONNECTION_LOST_AFTER=2e4},25178:function(E,e,t){"use strict";e.__esModule=!0,e.useGame=void 0;var n=t(90816),r=t(28556);/** + */var t=e.CONNECTION_LOST_AFTER=2e4},93753:function(E,e,t){"use strict";e.__esModule=!0,e.useGame=void 0;var n=t(88605),r=t(96943);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=e.useGame=function(){function a(u){return(0,n.useSelector)(u,r.selectGame)}return a}()},24362:function(E,e,t){"use strict";e.__esModule=!0,e.useGame=e.gameReducer=e.gameMiddleware=void 0;var n=t(25178);e.useGame=n.useGame;var r=t(85838);e.gameMiddleware=r.gameMiddleware;var o=t(3814);e.gameReducer=o.gameReducer},85838:function(E,e,t){"use strict";e.__esModule=!0,e.gameMiddleware=void 0;var n=t(87762),r=t(49972),o=t(28556),a=t(70613);/** + */var o=e.useGame=function(){function a(u){return(0,n.useSelector)(u,r.selectGame)}return a}()},87405:function(E,e,t){"use strict";e.__esModule=!0,e.useGame=e.gameReducer=e.gameMiddleware=void 0;var n=t(93753);e.useGame=n.useGame;var r=t(14913);e.gameMiddleware=r.gameMiddleware;var o=t(44101);e.gameReducer=o.gameReducer},14913:function(E,e,t){"use strict";e.__esModule=!0,e.gameMiddleware=void 0;var n=t(15948),r=t(2590),o=t(96943),a=t(3332);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var u=function(h){return Object.assign({},h,{meta:Object.assign({},h.meta,{now:Date.now()})})},l=e.gameMiddleware=function(){function c(h){var v;return setInterval(function(){var i=h.getState();if(i){var f=(0,o.selectGame)(i),s=v&&Date.now()>=v+a.CONNECTION_LOST_AFTER;!f.connectionLostAt&&s&&h.dispatch(u((0,r.connectionLost)())),f.connectionLostAt&&!s&&h.dispatch(u((0,r.connectionRestored)()))}},1e3),function(i){return function(f){var s=f.type;return s===n.pingSuccess.type||s===n.pingSoft.type?(v=Date.now(),i(f)):s===r.roundRestarted.type?i(u(f)):i(f)}}}return c}()},3814:function(E,e,t){"use strict";e.__esModule=!0,e.gameReducer=void 0;var n=t(49972);/** + */var u=function(h){return Object.assign({},h,{meta:Object.assign({},h.meta,{now:Date.now()})})},l=e.gameMiddleware=function(){function c(h){var d;return setInterval(function(){var i=h.getState();if(i){var v=(0,o.selectGame)(i),s=d&&Date.now()>=d+a.CONNECTION_LOST_AFTER;!v.connectionLostAt&&s&&h.dispatch(u((0,r.connectionLost)())),v.connectionLostAt&&!s&&h.dispatch(u((0,r.connectionRestored)()))}},1e3),function(i){return function(v){var s=v.type;return s===n.pingSuccess.type||s===n.pingSoft.type?(d=Date.now(),i(v)):s===r.roundRestarted.type?i(u(v)):i(v)}}}return c}()},44101:function(E,e,t){"use strict";e.__esModule=!0,e.gameReducer=void 0;var n=t(2590);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r={roundId:null,roundTime:null,roundRestartedAt:null,connectionLostAt:null},o=e.gameReducer=function(){function a(u,l){u===void 0&&(u=r);var c=l.type,h=l.payload,v=l.meta;return c==="roundrestart"?Object.assign({},u,{roundRestartedAt:v.now}):c===n.connectionLost.type?Object.assign({},u,{connectionLostAt:v.now}):c===n.connectionRestored.type?Object.assign({},u,{connectionLostAt:null}):u}return a}()},28556:function(E,e){"use strict";e.__esModule=!0,e.selectGame=void 0;/** + */var r={roundId:null,roundTime:null,roundRestartedAt:null,connectionLostAt:null},o=e.gameReducer=function(){function a(u,l){u===void 0&&(u=r);var c=l.type,h=l.payload,d=l.meta;return c==="roundrestart"?Object.assign({},u,{roundRestartedAt:d.now}):c===n.connectionLost.type?Object.assign({},u,{connectionLostAt:d.now}):c===n.connectionRestored.type?Object.assign({},u,{connectionLostAt:null}):u}return a}()},96943:function(E,e){"use strict";e.__esModule=!0,e.selectGame=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.selectGame=function(){function n(r){return r.game}return n}()},92228:function(E,e,t){"use strict";e.__esModule=!0,e.setupPanelFocusHacks=void 0;var n=t(41202),r=t(33053),o=t(16671);/** + */var t=e.selectGame=function(){function n(r){return r.game}return n}()},26498:function(E,e,t){"use strict";e.__esModule=!0,e.setupPanelFocusHacks=void 0;var n=t(73564),r=t(92700),o=t(92017);/** * Basically, hacks from goonchat which try to keep the map focused at all * times, except for when some meaningful action happens o * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var a=10,u=function(){return setImmediate(function(){return(0,o.focusMap)()})},l=e.setupPanelFocusHacks=function(){function c(){var h=!1,v=null;window.addEventListener("focusin",function(i){h=(0,r.canStealFocus)(i.target)}),window.addEventListener("mousedown",function(i){v=[i.screenX,i.screenY]}),window.addEventListener("mouseup",function(i){if(v){var f=[i.screenX,i.screenY],s=(0,n.vecLength)((0,n.vecSubtract)(f,v));s>=a&&(h=!0)}h||u()}),r.globalEvents.on("keydown",function(i){i.isModifierKey()||u()})}return c}()},50463:function(E,e,t){"use strict";e.__esModule=!0,e.PingIndicator=void 0;var n=t(28823),r=t(22310),o=t(58331),a=t(90816),u=t(2971),l=t(60266);/** + */var a=10,u=function(){return setTimeout(function(){return(0,o.focusMap)()})},l=e.setupPanelFocusHacks=function(){function c(){var h=!1,d=null;window.addEventListener("focusin",function(i){h=(0,r.canStealFocus)(i.target)}),window.addEventListener("mousedown",function(i){d=[i.screenX,i.screenY]}),window.addEventListener("mouseup",function(i){if(d){var v=[i.screenX,i.screenY],s=(0,n.vecLength)((0,n.vecSubtract)(v,d));s>=a&&(h=!0)}h||u()}),r.globalEvents.on("keydown",function(i){i.isModifierKey()||u()})}return c}()},95822:function(E,e,t){"use strict";e.__esModule=!0,e.PingIndicator=void 0;var n=t(96524),r=t(27028),o=t(36121),a=t(88605),u=t(24674),l=t(49953);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var c=e.PingIndicator=function(){function h(v,i){var f=(0,a.useSelector)(i,l.selectPing),s=r.Color.lookup(f.networkQuality,[new r.Color(220,40,40),new r.Color(220,200,40),new r.Color(60,220,40)]),p=f.roundtrip?(0,o.toFixed)(f.roundtrip):"--";return(0,n.createVNode)(1,"div","Ping",[(0,n.createComponentVNode)(2,u.Box,{className:"Ping__indicator",backgroundColor:s}),p],0)}return h}()},87762:function(E,e,t){"use strict";e.__esModule=!0,e.pingSuccess=e.pingSoft=e.pingReply=e.pingFail=void 0;var n=t(90816);/** + */var c=e.PingIndicator=function(){function h(d,i){var v=(0,a.useSelector)(i,l.selectPing),s=r.Color.lookup(v.networkQuality,[new r.Color(220,40,40),new r.Color(220,200,40),new r.Color(60,220,40)]),p=v.roundtrip?(0,o.toFixed)(v.roundtrip):"--";return(0,n.createVNode)(1,"div","Ping",[(0,n.createComponentVNode)(2,u.Box,{className:"Ping__indicator",backgroundColor:s}),p],0)}return h}()},15948:function(E,e,t){"use strict";e.__esModule=!0,e.pingSuccess=e.pingSoft=e.pingReply=e.pingFail=void 0;var n=t(88605);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r=e.pingReply=(0,n.createAction)("ping/reply"),o=e.pingSoft=(0,n.createAction)("ping/soft"),a=e.pingSuccess=(0,n.createAction)("ping/success",function(l){return{payload:{lastId:l.id,roundtrip:(Date.now()-l.sentAt)*.5}}}),u=e.pingFail=(0,n.createAction)("ping/fail")},12886:function(E,e){"use strict";e.__esModule=!0,e.PING_TIMEOUT=e.PING_ROUNDTRIP_WORST=e.PING_ROUNDTRIP_BEST=e.PING_QUEUE_SIZE=e.PING_MAX_FAILS=void 0;/** + */var r=e.pingReply=(0,n.createAction)("ping/reply"),o=e.pingSoft=(0,n.createAction)("ping/soft"),a=e.pingSuccess=(0,n.createAction)("ping/success",function(l){return{payload:{lastId:l.id,roundtrip:(Date.now()-l.sentAt)*.5}}}),u=e.pingFail=(0,n.createAction)("ping/fail")},24690:function(E,e){"use strict";e.__esModule=!0,e.PING_TIMEOUT=e.PING_ROUNDTRIP_WORST=e.PING_ROUNDTRIP_BEST=e.PING_QUEUE_SIZE=e.PING_MAX_FAILS=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.PING_TIMEOUT=2e3,n=e.PING_MAX_FAILS=3,r=e.PING_QUEUE_SIZE=8,o=e.PING_ROUNDTRIP_BEST=50,a=e.PING_ROUNDTRIP_WORST=200},30362:function(E,e,t){"use strict";e.__esModule=!0,e.pingReducer=e.pingMiddleware=e.PingIndicator=void 0;var n=t(33105);e.pingMiddleware=n.pingMiddleware;var r=t(50463);e.PingIndicator=r.PingIndicator;var o=t(75748);e.pingReducer=o.pingReducer},33105:function(E,e,t){"use strict";e.__esModule=!0,e.pingMiddleware=void 0;var n=t(87762),r=t(12886);/** + */var t=e.PING_TIMEOUT=2e3,n=e.PING_MAX_FAILS=3,r=e.PING_QUEUE_SIZE=8,o=e.PING_ROUNDTRIP_BEST=50,a=e.PING_ROUNDTRIP_WORST=200},31887:function(E,e,t){"use strict";e.__esModule=!0,e.pingReducer=e.pingMiddleware=e.PingIndicator=void 0;var n=t(48059);e.pingMiddleware=n.pingMiddleware;var r=t(95822);e.PingIndicator=r.PingIndicator;var o=t(95719);e.pingReducer=o.pingReducer},48059:function(E,e,t){"use strict";e.__esModule=!0,e.pingMiddleware=void 0;var n=t(15948),r=t(24690);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=e.pingMiddleware=function(){function a(u){var l=!1,c=0,h=[],v=function(){function i(){for(var f=0;f<r.PING_QUEUE_SIZE;f++){var s=h[f];s&&Date.now()-s.sentAt>r.PING_TIMEOUT&&(h[f]=null,u.dispatch((0,n.pingFail)()))}var p={index:c,sentAt:Date.now()};h[c]=p,Byond.sendMessage("ping",{index:c}),c=(c+1)%r.PING_QUEUE_SIZE}return i}();return function(i){return function(f){var s=f.type,p=f.payload;if(l||(l=!0,v()),s===n.pingSoft.type){var d=p.afk;return d||v(),i(f)}if(s===n.pingReply.type){var g=p.index,m=h[g];return m?(h[g]=null,i((0,n.pingSuccess)(m))):void 0}return i(f)}}}return a}()},75748:function(E,e,t){"use strict";e.__esModule=!0,e.pingReducer=void 0;var n=t(58331),r=t(87762),o=t(12886);/** + */var o=e.pingMiddleware=function(){function a(u){var l=!1,c=0,h=[],d=function(){function i(){for(var v=0;v<r.PING_QUEUE_SIZE;v++){var s=h[v];s&&Date.now()-s.sentAt>r.PING_TIMEOUT&&(h[v]=null,u.dispatch((0,n.pingFail)()))}var p={index:c,sentAt:Date.now()};h[c]=p,Byond.sendMessage("ping",{index:c}),c=(c+1)%r.PING_QUEUE_SIZE}return i}();return function(i){return function(v){var s=v.type,p=v.payload;if(l||(l=!0,d()),s===n.pingSoft.type){var f=p.afk;return f||d(),i(v)}if(s===n.pingReply.type){var g=p.index,m=h[g];return m?(h[g]=null,i((0,n.pingSuccess)(m))):void 0}return i(v)}}}return a}()},95719:function(E,e,t){"use strict";e.__esModule=!0,e.pingReducer=void 0;var n=t(36121),r=t(15948),o=t(24690);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var a=e.pingReducer=function(){function u(l,c){l===void 0&&(l={});var h=c.type,v=c.payload;if(h===r.pingSuccess.type){var i=v.roundtrip,f=l.roundtripAvg||i,s=Math.round(f*.4+i*.6),p=1-(0,n.scale)(s,o.PING_ROUNDTRIP_BEST,o.PING_ROUNDTRIP_WORST);return{roundtrip:i,roundtripAvg:s,failCount:0,networkQuality:p}}if(h===r.pingFail.type){var d=l,g=d.failCount,m=g===void 0?0:g,S=(0,n.clamp01)(l.networkQuality-m/o.PING_MAX_FAILS),I=Object.assign({},l,{failCount:m+1,networkQuality:S});return m>o.PING_MAX_FAILS&&(I.roundtrip=void 0,I.roundtripAvg=void 0),I}return l}return u}()},60266:function(E,e){"use strict";e.__esModule=!0,e.selectPing=void 0;/** + */var a=e.pingReducer=function(){function u(l,c){l===void 0&&(l={});var h=c.type,d=c.payload;if(h===r.pingSuccess.type){var i=d.roundtrip,v=l.roundtripAvg||i,s=Math.round(v*.4+i*.6),p=1-(0,n.scale)(s,o.PING_ROUNDTRIP_BEST,o.PING_ROUNDTRIP_WORST);return{roundtrip:i,roundtripAvg:s,failCount:0,networkQuality:p}}if(h===r.pingFail.type){var f=l,g=f.failCount,m=g===void 0?0:g,b=(0,n.clamp01)(l.networkQuality-m/o.PING_MAX_FAILS),I=Object.assign({},l,{failCount:m+1,networkQuality:b});return m>o.PING_MAX_FAILS&&(I.roundtrip=void 0,I.roundtripAvg=void 0),I}return l}return u}()},49953:function(E,e){"use strict";e.__esModule=!0,e.selectPing=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.selectPing=function(){function n(r){return r.ping}return n}()},92231:function(E,e,t){"use strict";e.__esModule=!0,e.ReconnectButton=void 0;var n=t(28823),r=t(2971),o=null;setInterval(function(){Byond.winget("","url").then(function(u){u&&!u.match(/:0$/)&&(o=u)})},5e3);var a=e.ReconnectButton=function(){function u(){return o?(0,n.createComponentVNode)(2,r.Stack,{children:[(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Button,{fluid:!0,icon:"history",color:"white",content:"Reconnect",onClick:function(){function l(){Byond.command(".reconnect")}return l}()})}),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Button,{icon:"power-off",color:"white",tooltip:"Restart game",tooltipPosition:"bottom-end",onClick:function(){function l(){Byond.command(".quit")}return l}()})})]}):null}return u}()},92999:function(E,e,t){"use strict";e.__esModule=!0,e.SettingsPanel=e.SettingsGeneral=void 0;var n=t(28823),r=t(37843),o=t(58331),a=t(91819),u=t(90816),l=t(2971),c=t(23360),h=t(3578),v=t(70450),i=t(91577),f=t(95397),s=t(65910),p=["id"];/** + */var t=e.selectPing=function(){function n(r){return r.ping}return n}()},23827:function(E,e,t){"use strict";e.__esModule=!0,e.ReconnectButton=void 0;var n=t(96524),r=t(24674),o=null;setInterval(function(){Byond.winget("","url").then(function(u){u&&!u.match(/:0$/)&&(o=u)})},5e3);var a=e.ReconnectButton=function(){function u(){return o?(0,n.createComponentVNode)(2,r.Stack,{children:[(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Button,{fluid:!0,icon:"history",color:"white",content:"Reconnect",onClick:function(){function l(){Byond.command(".reconnect")}return l}()})}),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Button,{icon:"power-off",color:"white",tooltip:"Restart game",tooltipPosition:"bottom-end",onClick:function(){function l(){Byond.command(".quit")}return l}()})})]}):null}return u}()},55511:function(E,e,t){"use strict";e.__esModule=!0,e.SettingsPanel=e.SettingsGeneral=void 0;var n=t(96524),r=t(78234),o=t(36121),a=t(17899),u=t(88605),l=t(24674),c=t(84689),h=t(54226),d=t(1506),i=t(32421),v=t(69271),s=t(95852),p=["id"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function d(O,C){if(O==null)return{};var y={},b=Object.keys(O),T,P;for(P=0;P<b.length;P++)T=b[P],!(C.indexOf(T)>=0)&&(y[T]=O[T]);return y}var g=e.SettingsPanel=function(){function O(C,y){var b=(0,u.useSelector)(y,s.selectActiveTab),T=(0,u.useDispatch)(y);return(0,n.createComponentVNode)(2,l.Stack,{fill:!0,children:[(0,n.createComponentVNode)(2,l.Stack.Item,{children:(0,n.createComponentVNode)(2,l.Section,{fitted:!0,fill:!0,minHeight:"8em",children:(0,n.createComponentVNode)(2,l.Tabs,{vertical:!0,children:f.SETTINGS_TABS.map(function(P){return(0,n.createComponentVNode)(2,l.Tabs.Tab,{selected:P.id===b,onClick:function(){function N(){return T((0,i.changeSettingsTab)({tabId:P.id}))}return N}(),children:P.name},P.id)})})})}),(0,n.createComponentVNode)(2,l.Stack.Item,{grow:!0,basis:0,children:[b==="general"&&(0,n.createComponentVNode)(2,m),b==="chatPage"&&(0,n.createComponentVNode)(2,c.ChatPageSettings),b==="textHighlight"&&(0,n.createComponentVNode)(2,S)]})]})}return O}(),m=e.SettingsGeneral=function(){function O(C,y){var b=(0,u.useSelector)(y,s.selectSettings),T=b.theme,P=b.fontFamily,N=b.fontSize,M=b.lineHeight,R=(0,u.useDispatch)(y),L=(0,a.useLocalState)(y,"freeFont",!1),K=L[0],U=L[1];return(0,n.createComponentVNode)(2,l.Section,{fill:!0,children:(0,n.createComponentVNode)(2,l.Stack,{fill:!0,vertical:!0,children:[(0,n.createComponentVNode)(2,l.LabeledList,{children:[(0,n.createComponentVNode)(2,l.LabeledList.Item,{label:"Theme",children:v.THEMES.map(function(F){return(0,n.createComponentVNode)(2,l.Button,{content:(0,r.capitalize)(F),selected:T===F,color:"transparent",onClick:function(){function $(){return R((0,i.updateSettings)({theme:F}))}return $}()},F)})}),(0,n.createComponentVNode)(2,l.LabeledList.Item,{label:"Font style",children:(0,n.createComponentVNode)(2,l.Stack.Item,{children:!K&&(0,n.createComponentVNode)(2,l.Collapsible,{title:P,width:"100%",buttons:(0,n.createComponentVNode)(2,l.Button,{content:"Custom font",icon:K?"lock-open":"lock",color:K?"good":"bad",onClick:function(){function F(){U(!K)}return F}()}),children:f.FONTS.map(function(F){return(0,n.createComponentVNode)(2,l.Button,{content:F,fontFamily:F,selected:P===F,color:"transparent",onClick:function(){function $(){return R((0,i.updateSettings)({fontFamily:F}))}return $}()},F)})})||(0,n.createComponentVNode)(2,l.Stack,{children:[(0,n.createComponentVNode)(2,l.Input,{width:"100%",value:P,onChange:function(){function F($,B){return R((0,i.updateSettings)({fontFamily:B}))}return F}()}),(0,n.createComponentVNode)(2,l.Button,{ml:.5,content:"Custom font",icon:K?"lock-open":"lock",color:K?"good":"bad",onClick:function(){function F(){U(!K)}return F}()})]})})}),(0,n.createComponentVNode)(2,l.LabeledList.Item,{label:"Font size",children:(0,n.createComponentVNode)(2,l.NumberInput,{width:"4.2em",step:1,stepPixelSize:10,minValue:8,maxValue:32,value:N,unit:"px",format:function(){function F($){return(0,o.toFixed)($)}return F}(),onChange:function(){function F($,B){return R((0,i.updateSettings)({fontSize:B}))}return F}()})}),(0,n.createComponentVNode)(2,l.LabeledList.Item,{label:"Line height",children:(0,n.createComponentVNode)(2,l.NumberInput,{width:"4.2em",step:.01,stepPixelSize:2,minValue:.8,maxValue:5,value:M,format:function(){function F($){return(0,o.toFixed)($,2)}return F}(),onDrag:function(){function F($,B){return R((0,i.updateSettings)({lineHeight:B}))}return F}()})})]}),(0,n.createComponentVNode)(2,l.Divider),(0,n.createComponentVNode)(2,l.Stack,{children:[(0,n.createComponentVNode)(2,l.Stack.Item,{grow:!0,children:(0,n.createComponentVNode)(2,l.Button,{content:"Save chat log",icon:"save",tooltip:"Export current tab history into HTML file",onClick:function(){function F(){return R((0,h.saveChatToDisk)())}return F}()})}),(0,n.createComponentVNode)(2,l.Stack.Item,{children:(0,n.createComponentVNode)(2,l.Button.Confirm,{icon:"trash",confirmContent:"Are you sure?",content:"Clear chat",tooltip:"Erase current tab history",onClick:function(){function F(){return R((0,h.clearChat)())}return F}()})})]})]})})}return O}(),S=function(C,y){var b=(0,u.useSelector)(y,s.selectHighlightSettings),T=(0,u.useDispatch)(y);return(0,n.createComponentVNode)(2,l.Section,{fill:!0,scrollable:!0,height:"230px",children:[(0,n.createComponentVNode)(2,l.Section,{children:(0,n.createComponentVNode)(2,l.Stack,{vertical:!0,children:[b.map(function(P,N){return(0,n.createComponentVNode)(2,I,{id:P,mb:N+1===b.length?0:"10px"},N)}),b.length<f.MAX_HIGHLIGHT_SETTINGS&&(0,n.createComponentVNode)(2,l.Stack.Item,{children:(0,n.createComponentVNode)(2,l.Button,{color:"transparent",icon:"plus",content:"Add Highlight Setting",onClick:function(){function P(){T((0,i.addHighlightSetting)())}return P}()})})]})}),(0,n.createComponentVNode)(2,l.Divider),(0,n.createComponentVNode)(2,l.Box,{children:[(0,n.createComponentVNode)(2,l.Button,{icon:"check",onClick:function(){function P(){return T((0,h.rebuildChat)())}return P}(),children:"Apply now"}),(0,n.createComponentVNode)(2,l.Box,{inline:!0,fontSize:"0.9em",ml:1,color:"label",children:"Can freeze the chat for a while."})]})]})},I=function(C,y){var b=C.id,T=d(C,p),P=(0,u.useSelector)(y,s.selectHighlightSettingById),N=(0,u.useDispatch)(y),M=P[b],R=M.highlightColor,L=M.highlightText,K=M.highlightWholeMessage,U=M.matchWord,F=M.matchCase;return(0,n.normalizeProps)((0,n.createComponentVNode)(2,l.Stack.Item,Object.assign({},T,{children:[(0,n.createComponentVNode)(2,l.Stack,{mb:1,color:"label",align:"baseline",children:[(0,n.createComponentVNode)(2,l.Stack.Item,{grow:!0,children:(0,n.createComponentVNode)(2,l.Button,{content:"Delete",color:"transparent",icon:"times",onClick:function(){function $(){return N((0,i.removeHighlightSetting)({id:b}))}return $}()})}),(0,n.createComponentVNode)(2,l.Stack.Item,{children:(0,n.createComponentVNode)(2,l.Button.Checkbox,{checked:K,content:"Whole Message",tooltip:"If this option is selected, the entire message will be highlighted in yellow.",onClick:function(){function $(){return N((0,i.updateHighlightSetting)({id:b,highlightWholeMessage:!K}))}return $}()})}),(0,n.createComponentVNode)(2,l.Stack.Item,{children:(0,n.createComponentVNode)(2,l.Button.Checkbox,{content:"Exact",checked:U,tooltipPosition:"bottom-start",tooltip:"If this option is selected, only exact matches (no extra letters before or after) will trigger. Not compatible with punctuation. Overriden if regex is used.",onClick:function(){function $(){return N((0,i.updateHighlightSetting)({id:b,matchWord:!U}))}return $}()})}),(0,n.createComponentVNode)(2,l.Stack.Item,{children:(0,n.createComponentVNode)(2,l.Button.Checkbox,{content:"Case",tooltip:"If this option is selected, the highlight will be case-sensitive.",checked:F,onClick:function(){function $(){return N((0,i.updateHighlightSetting)({id:b,matchCase:!F}))}return $}()})}),(0,n.createComponentVNode)(2,l.Stack.Item,{shrink:0,children:[(0,n.createComponentVNode)(2,l.ColorBox,{mr:1,color:R}),(0,n.createComponentVNode)(2,l.Input,{width:"5em",monospace:!0,placeholder:"#ffffff",value:R,onInput:function(){function $(B,x){return N((0,i.updateHighlightSetting)({id:b,highlightColor:x}))}return $}()})]})]}),(0,n.createComponentVNode)(2,l.TextArea,{height:"3em",value:L,placeholder:"Put terms to highlight here. Separate terms with commas or vertical bars, i.e. (term1 | term2) or (term1, term2). Regex syntax is /[regex]/",onChange:function(){function $(B,x){return N((0,i.updateHighlightSetting)({id:b,highlightText:x}))}return $}()})]})))}},91577:function(E,e,t){"use strict";e.__esModule=!0,e.updateSettings=e.updateHighlightSetting=e.toggleSettings=e.removeHighlightSetting=e.openChatSettings=e.loadSettings=e.changeSettingsTab=e.addHighlightSetting=void 0;var n=t(90816),r=t(13704);/** + */function f(T,C){if(T==null)return{};var S={},y=Object.keys(T),O,A;for(A=0;A<y.length;A++)O=y[A],!(C.indexOf(O)>=0)&&(S[O]=T[O]);return S}var g=e.SettingsPanel=function(){function T(C,S){var y=(0,u.useSelector)(S,s.selectActiveTab),O=(0,u.useDispatch)(S);return(0,n.createComponentVNode)(2,l.Stack,{fill:!0,children:[(0,n.createComponentVNode)(2,l.Stack.Item,{children:(0,n.createComponentVNode)(2,l.Section,{fitted:!0,fill:!0,minHeight:"8em",children:(0,n.createComponentVNode)(2,l.Tabs,{vertical:!0,children:v.SETTINGS_TABS.map(function(A){return(0,n.createComponentVNode)(2,l.Tabs.Tab,{selected:A.id===y,onClick:function(){function N(){return O((0,i.changeSettingsTab)({tabId:A.id}))}return N}(),children:A.name},A.id)})})})}),(0,n.createComponentVNode)(2,l.Stack.Item,{grow:!0,basis:0,children:[y==="general"&&(0,n.createComponentVNode)(2,m),y==="chatPage"&&(0,n.createComponentVNode)(2,c.ChatPageSettings),y==="textHighlight"&&(0,n.createComponentVNode)(2,b)]})]})}return T}(),m=e.SettingsGeneral=function(){function T(C,S){var y=(0,u.useSelector)(S,s.selectSettings),O=y.theme,A=y.fontFamily,N=y.fontSize,M=y.lineHeight,R=(0,u.useDispatch)(S),L=(0,a.useLocalState)(S,"freeFont",!1),x=L[0],F=L[1];return(0,n.createComponentVNode)(2,l.Section,{fill:!0,children:(0,n.createComponentVNode)(2,l.Stack,{fill:!0,vertical:!0,children:[(0,n.createComponentVNode)(2,l.LabeledList,{children:[(0,n.createComponentVNode)(2,l.LabeledList.Item,{label:"Theme",children:d.THEMES.map(function(V){return(0,n.createComponentVNode)(2,l.Button,{content:(0,r.capitalize)(V),selected:O===V,color:"transparent",onClick:function(){function G(){return R((0,i.updateSettings)({theme:V}))}return G}()},V)})}),(0,n.createComponentVNode)(2,l.LabeledList.Item,{label:"Font style",children:(0,n.createComponentVNode)(2,l.Stack.Item,{children:!x&&(0,n.createComponentVNode)(2,l.Collapsible,{title:A,width:"100%",buttons:(0,n.createComponentVNode)(2,l.Button,{content:"Custom font",icon:x?"lock-open":"lock",color:x?"good":"bad",onClick:function(){function V(){F(!x)}return V}()}),children:v.FONTS.map(function(V){return(0,n.createComponentVNode)(2,l.Button,{content:V,fontFamily:V,selected:A===V,color:"transparent",onClick:function(){function G(){return R((0,i.updateSettings)({fontFamily:V}))}return G}()},V)})})||(0,n.createComponentVNode)(2,l.Stack,{children:[(0,n.createComponentVNode)(2,l.Input,{width:"100%",value:A,onChange:function(){function V(G,B){return R((0,i.updateSettings)({fontFamily:B}))}return V}()}),(0,n.createComponentVNode)(2,l.Button,{ml:.5,content:"Custom font",icon:x?"lock-open":"lock",color:x?"good":"bad",onClick:function(){function V(){F(!x)}return V}()})]})})}),(0,n.createComponentVNode)(2,l.LabeledList.Item,{label:"Font size",children:(0,n.createComponentVNode)(2,l.NumberInput,{width:"4.2em",step:1,stepPixelSize:10,minValue:8,maxValue:32,value:N,unit:"px",format:function(){function V(G){return(0,o.toFixed)(G)}return V}(),onChange:function(){function V(G,B){return R((0,i.updateSettings)({fontSize:B}))}return V}()})}),(0,n.createComponentVNode)(2,l.LabeledList.Item,{label:"Line height",children:(0,n.createComponentVNode)(2,l.NumberInput,{width:"4.2em",step:.01,stepPixelSize:2,minValue:.8,maxValue:5,value:M,format:function(){function V(G){return(0,o.toFixed)(G,2)}return V}(),onDrag:function(){function V(G,B){return R((0,i.updateSettings)({lineHeight:B}))}return V}()})})]}),(0,n.createComponentVNode)(2,l.Divider),(0,n.createComponentVNode)(2,l.Stack,{children:[(0,n.createComponentVNode)(2,l.Stack.Item,{grow:!0,children:(0,n.createComponentVNode)(2,l.Button,{content:"Save chat log",icon:"save",tooltip:"Export current tab history into HTML file",onClick:function(){function V(){return R((0,h.saveChatToDisk)())}return V}()})}),(0,n.createComponentVNode)(2,l.Stack.Item,{children:(0,n.createComponentVNode)(2,l.Button.Confirm,{icon:"trash",confirmContent:"Are you sure?",content:"Clear chat",tooltip:"Erase current tab history",onClick:function(){function V(){return R((0,h.clearChat)())}return V}()})})]})]})})}return T}(),b=function(C,S){var y=(0,u.useSelector)(S,s.selectHighlightSettings),O=(0,u.useDispatch)(S);return(0,n.createComponentVNode)(2,l.Section,{fill:!0,scrollable:!0,height:"230px",children:[(0,n.createComponentVNode)(2,l.Section,{children:(0,n.createComponentVNode)(2,l.Stack,{vertical:!0,children:[y.map(function(A,N){return(0,n.createComponentVNode)(2,I,{id:A,mb:N+1===y.length?0:"10px"},N)}),y.length<v.MAX_HIGHLIGHT_SETTINGS&&(0,n.createComponentVNode)(2,l.Stack.Item,{children:(0,n.createComponentVNode)(2,l.Button,{color:"transparent",icon:"plus",content:"Add Highlight Setting",onClick:function(){function A(){O((0,i.addHighlightSetting)())}return A}()})})]})}),(0,n.createComponentVNode)(2,l.Divider),(0,n.createComponentVNode)(2,l.Box,{children:[(0,n.createComponentVNode)(2,l.Button,{icon:"check",onClick:function(){function A(){return O((0,h.rebuildChat)())}return A}(),children:"Apply now"}),(0,n.createComponentVNode)(2,l.Box,{inline:!0,fontSize:"0.9em",ml:1,color:"label",children:"Can freeze the chat for a while."})]})]})},I=function(C,S){var y=C.id,O=f(C,p),A=(0,u.useSelector)(S,s.selectHighlightSettingById),N=(0,u.useDispatch)(S),M=A[y],R=M.highlightColor,L=M.highlightText,x=M.highlightWholeMessage,F=M.matchWord,V=M.matchCase;return(0,n.normalizeProps)((0,n.createComponentVNode)(2,l.Stack.Item,Object.assign({},O,{children:[(0,n.createComponentVNode)(2,l.Stack,{mb:1,color:"label",align:"baseline",children:[(0,n.createComponentVNode)(2,l.Stack.Item,{grow:!0,children:(0,n.createComponentVNode)(2,l.Button,{content:"Delete",color:"transparent",icon:"times",onClick:function(){function G(){return N((0,i.removeHighlightSetting)({id:y}))}return G}()})}),(0,n.createComponentVNode)(2,l.Stack.Item,{children:(0,n.createComponentVNode)(2,l.Button.Checkbox,{checked:x,content:"Whole Message",tooltip:"If this option is selected, the entire message will be highlighted in yellow.",onClick:function(){function G(){return N((0,i.updateHighlightSetting)({id:y,highlightWholeMessage:!x}))}return G}()})}),(0,n.createComponentVNode)(2,l.Stack.Item,{children:(0,n.createComponentVNode)(2,l.Button.Checkbox,{content:"Exact",checked:F,tooltipPosition:"bottom-start",tooltip:"If this option is selected, only exact matches (no extra letters before or after) will trigger. Not compatible with punctuation. Overriden if regex is used.",onClick:function(){function G(){return N((0,i.updateHighlightSetting)({id:y,matchWord:!F}))}return G}()})}),(0,n.createComponentVNode)(2,l.Stack.Item,{children:(0,n.createComponentVNode)(2,l.Button.Checkbox,{content:"Case",tooltip:"If this option is selected, the highlight will be case-sensitive.",checked:V,onClick:function(){function G(){return N((0,i.updateHighlightSetting)({id:y,matchCase:!V}))}return G}()})}),(0,n.createComponentVNode)(2,l.Stack.Item,{shrink:0,children:[(0,n.createComponentVNode)(2,l.ColorBox,{mr:1,color:R}),(0,n.createComponentVNode)(2,l.Input,{width:"5em",monospace:!0,placeholder:"#ffffff",value:R,onInput:function(){function G(B,U){return N((0,i.updateHighlightSetting)({id:y,highlightColor:U}))}return G}()})]})]}),(0,n.createComponentVNode)(2,l.TextArea,{height:"3em",value:L,placeholder:"Put terms to highlight here. Separate terms with commas or vertical bars, i.e. (term1 | term2) or (term1, term2). Regex syntax is /[regex]/",onChange:function(){function G(B,U){return N((0,i.updateHighlightSetting)({id:y,highlightText:U}))}return G}()})]})))}},32421:function(E,e,t){"use strict";e.__esModule=!0,e.updateSettings=e.updateHighlightSetting=e.toggleSettings=e.removeHighlightSetting=e.openChatSettings=e.loadSettings=e.changeSettingsTab=e.addHighlightSetting=void 0;var n=t(88605),r=t(57699);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=e.updateSettings=(0,n.createAction)("settings/update"),a=e.loadSettings=(0,n.createAction)("settings/load"),u=e.changeSettingsTab=(0,n.createAction)("settings/changeTab"),l=e.toggleSettings=(0,n.createAction)("settings/toggle"),c=e.openChatSettings=(0,n.createAction)("settings/openChatTab"),h=e.addHighlightSetting=(0,n.createAction)("settings/addHighlightSetting",function(){return{payload:(0,r.createHighlightSetting)()}}),v=e.removeHighlightSetting=(0,n.createAction)("settings/removeHighlightSetting"),i=e.updateHighlightSetting=(0,n.createAction)("settings/updateHighlightSetting")},95397:function(E,e){"use strict";e.__esModule=!0,e.SETTINGS_TABS=e.MAX_HIGHLIGHT_SETTINGS=e.FONTS_DISABLED=e.FONTS=void 0;/** + */var o=e.updateSettings=(0,n.createAction)("settings/update"),a=e.loadSettings=(0,n.createAction)("settings/load"),u=e.changeSettingsTab=(0,n.createAction)("settings/changeTab"),l=e.toggleSettings=(0,n.createAction)("settings/toggle"),c=e.openChatSettings=(0,n.createAction)("settings/openChatTab"),h=e.addHighlightSetting=(0,n.createAction)("settings/addHighlightSetting",function(){return{payload:(0,r.createHighlightSetting)()}}),d=e.removeHighlightSetting=(0,n.createAction)("settings/removeHighlightSetting"),i=e.updateHighlightSetting=(0,n.createAction)("settings/updateHighlightSetting")},69271:function(E,e){"use strict";e.__esModule=!0,e.SETTINGS_TABS=e.MAX_HIGHLIGHT_SETTINGS=e.FONTS_DISABLED=e.FONTS=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.SETTINGS_TABS=[{id:"general",name:"General"},{id:"textHighlight",name:"Text Highlights"},{id:"chatPage",name:"Chat Tabs"}],n=e.FONTS_DISABLED="Default",r=e.FONTS=[n,"Arial","Arial Black","Comic Sans MS","Impact","Lucida Sans Unicode","Tahoma","Trebuchet MS","Courier New","Lucida Console"],o=e.MAX_HIGHLIGHT_SETTINGS=10},31916:function(E,e,t){"use strict";e.__esModule=!0,e.useSettings=void 0;var n=t(90816),r=t(91577),o=t(65910);/** + */var t=e.SETTINGS_TABS=[{id:"general",name:"General"},{id:"textHighlight",name:"Text Highlights"},{id:"chatPage",name:"Chat Tabs"}],n=e.FONTS_DISABLED="Default",r=e.FONTS=[n,"Arial","Arial Black","Comic Sans MS","Impact","Lucida Sans Unicode","Tahoma","Trebuchet MS","Courier New","Lucida Console"],o=e.MAX_HIGHLIGHT_SETTINGS=10},24466:function(E,e,t){"use strict";e.__esModule=!0,e.useSettings=void 0;var n=t(88605),r=t(32421),o=t(95852);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var a=e.useSettings=function(){function u(l){var c=(0,n.useSelector)(l,o.selectSettings),h=(0,n.useDispatch)(l);return Object.assign({},c,{visible:c.view.visible,toggle:function(){function v(){return h((0,r.toggleSettings)())}return v}(),update:function(){function v(i){return h((0,r.updateSettings)(i))}return v}()})}return u}()},30494:function(E,e,t){"use strict";e.__esModule=!0,e.useSettings=e.settingsReducer=e.settingsMiddleware=e.SettingsPanel=void 0;var n=t(31916);e.useSettings=n.useSettings;var r=t(75159);e.settingsMiddleware=r.settingsMiddleware;var o=t(57691);e.settingsReducer=o.settingsReducer;var a=t(92999);e.SettingsPanel=a.SettingsPanel},75159:function(E,e,t){"use strict";e.__esModule=!0,e.settingsMiddleware=void 0;var n=t(96417),r=t(70450),o=t(91577),a=t(65910),u=t(95397);/** + */var a=e.useSettings=function(){function u(l){var c=(0,n.useSelector)(l,o.selectSettings),h=(0,n.useDispatch)(l);return Object.assign({},c,{visible:c.view.visible,toggle:function(){function d(){return h((0,r.toggleSettings)())}return d}(),update:function(){function d(i){return h((0,r.updateSettings)(i))}return d}()})}return u}()},28486:function(E,e,t){"use strict";e.__esModule=!0,e.useSettings=e.settingsReducer=e.settingsMiddleware=e.SettingsPanel=void 0;var n=t(24466);e.useSettings=n.useSettings;var r=t(69516);e.settingsMiddleware=r.settingsMiddleware;var o=t(58362);e.settingsReducer=o.settingsReducer;var a=t(55511);e.SettingsPanel=a.SettingsPanel},69516:function(E,e,t){"use strict";e.__esModule=!0,e.settingsMiddleware=void 0;var n=t(66450),r=t(1506),o=t(32421),a=t(95852),u=t(69271);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var l=function(i){document.documentElement.style.setProperty("font-size",i+"px"),document.body.style.setProperty("font-size",i+"px")},c=function(i){i===u.FONTS_DISABLED&&(i=null),document.documentElement.style.setProperty("font-family",i),document.body.style.setProperty("font-family",i)},h=e.settingsMiddleware=function(){function v(i){var f=!1;return function(s){return function(p){var d=p.type,g=p.payload;if(f||(f=!0,n.storage.get("panel-settings").then(function(I){i.dispatch((0,o.loadSettings)(I))})),d===o.updateSettings.type||d===o.loadSettings.type||d===o.addHighlightSetting.type||d===o.removeHighlightSetting.type||d===o.updateHighlightSetting.type){var m=g==null?void 0:g.theme;m&&(0,r.setClientTheme)(m),s(p);var S=(0,a.selectSettings)(i.getState());l(S.fontSize),c(S.fontFamily),n.storage.set("panel-settings",S);return}return s(p)}}}return v}()},13704:function(E,e,t){"use strict";e.__esModule=!0,e.createHighlightSetting=e.createDefaultHighlightSetting=void 0;var n=t(56662),r=e.createHighlightSetting=function(){function a(u){return Object.assign({id:(0,n.createUuid)(),highlightText:"",highlightColor:"#ffdd44",highlightWholeMessage:!0,matchWord:!1,matchCase:!1},u)}return a}(),o=e.createDefaultHighlightSetting=function(){function a(u){return r(Object.assign({id:"default"},u))}return a}()},57691:function(E,e,t){"use strict";e.__esModule=!0,e.settingsReducer=void 0;var n=t(91577),r=t(13704),o=t(95397),a=["id"],u;/** + */var l=function(i){document.documentElement.style.setProperty("font-size",i+"px"),document.body.style.setProperty("font-size",i+"px")},c=function(i){i===u.FONTS_DISABLED&&(i=null),document.documentElement.style.setProperty("font-family",i),document.body.style.setProperty("font-family",i)},h=e.settingsMiddleware=function(){function d(i){var v=!1;return function(s){return function(p){var f=p.type,g=p.payload;if(v||(v=!0,n.storage.get("panel-settings").then(function(I){i.dispatch((0,o.loadSettings)(I))})),f===o.updateSettings.type||f===o.loadSettings.type||f===o.addHighlightSetting.type||f===o.removeHighlightSetting.type||f===o.updateHighlightSetting.type){var m=g==null?void 0:g.theme;m&&(0,r.setClientTheme)(m),s(p);var b=(0,a.selectSettings)(i.getState());l(b.fontSize),c(b.fontFamily),n.storage.set("panel-settings",b);return}return s(p)}}}return d}()},57699:function(E,e,t){"use strict";e.__esModule=!0,e.createHighlightSetting=e.createDefaultHighlightSetting=void 0;var n=t(2160),r=e.createHighlightSetting=function(){function a(u){return Object.assign({id:(0,n.createUuid)(),highlightText:"",highlightColor:"#ffdd44",highlightWholeMessage:!0,matchWord:!1,matchCase:!1},u)}return a}(),o=e.createDefaultHighlightSetting=function(){function a(u){return r(Object.assign({id:"default"},u))}return a}()},58362:function(E,e,t){"use strict";e.__esModule=!0,e.settingsReducer=void 0;var n=t(32421),r=t(57699),o=t(69271),a=["id"],u;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function l(i,f){if(i==null)return{};var s={},p=Object.keys(i),d,g;for(g=0;g<p.length;g++)d=p[g],!(f.indexOf(d)>=0)&&(s[d]=i[d]);return s}var c=(0,r.createDefaultHighlightSetting)(),h={version:1,fontSize:13,fontFamily:o.FONTS[0],lineHeight:1.2,theme:"dark",adminMusicVolume:.5,highlightText:"",highlightColor:"#ffdd44",highlightSettings:[c.id],highlightSettingById:(u={},u[c.id]=c,u),view:{visible:!1,activeTab:o.SETTINGS_TABS[0].id}},v=e.settingsReducer=function(){function i(f,s){f===void 0&&(f=h);var p=s.type,d=s.payload;if(p===n.updateSettings.type)return Object.assign({},f,d);if(p===n.loadSettings.type){if(!(d!=null&&d.version))return f;delete d.view;var g=Object.assign({},f,d);g.highlightSettings?g.highlightSettingById[c.id]||(g.highlightSettings=[c.id].concat(g.highlightSettings),g.highlightSettingById[c.id]=c):(g.highlightSettings=[c.id],g.highlightSettingById[c.id]=c);var m=g.highlightSettingById[c.id];return m.highlightColor=g.highlightColor,m.highlightText=g.highlightText,g}if(p===n.toggleSettings.type)return Object.assign({},f,{view:Object.assign({},f.view,{visible:!f.view.visible})});if(p===n.openChatSettings.type)return Object.assign({},f,{view:Object.assign({},f.view,{visible:!0,activeTab:"chatPage"})});if(p===n.changeSettingsTab.type){var S=d.tabId;return Object.assign({},f,{view:Object.assign({},f.view,{activeTab:S})})}if(p===n.addHighlightSetting.type){var I,O=d;return f.highlightSettings.length>=o.MAX_HIGHLIGHT_SETTINGS?f:Object.assign({},f,{highlightSettings:[].concat(f.highlightSettings,[O.id]),highlightSettingById:Object.assign({},f.highlightSettingById,(I={},I[O.id]=O,I))})}if(p===n.removeHighlightSetting.type){var C=d.id,y=Object.assign({},f,{highlightSettings:[].concat(f.highlightSettings),highlightSettingById:Object.assign({},f.highlightSettingById)});return C===c.id?y.highlightSettings[c.id]=c:(delete y.highlightSettingById[C],y.highlightSettings=y.highlightSettings.filter(function(N){return N!==C}),y.highlightSettings.length||(y.highlightSettings.push(c.id),y.highlightSettingById[c.id]=c)),y}if(p===n.updateHighlightSetting.type){var b=d.id,T=l(d,a),P=Object.assign({},f,{highlightSettings:[].concat(f.highlightSettings),highlightSettingById:Object.assign({},f.highlightSettingById)});return b===c.id&&(T.highlightText&&(P.highlightText=T.highlightText),T.highlightColor&&(P.highlightColor=T.highlightColor)),P.highlightSettingById[b]&&(P.highlightSettingById[b]=Object.assign({},P.highlightSettingById[b],T)),P}return f}return i}()},65910:function(E,e){"use strict";e.__esModule=!0,e.selectSettings=e.selectHighlightSettings=e.selectHighlightSettingById=e.selectActiveTab=void 0;/** + */function l(i,v){if(i==null)return{};var s={},p=Object.keys(i),f,g;for(g=0;g<p.length;g++)f=p[g],!(v.indexOf(f)>=0)&&(s[f]=i[f]);return s}var c=(0,r.createDefaultHighlightSetting)(),h={version:1,fontSize:13,fontFamily:o.FONTS[0],lineHeight:1.2,theme:"dark",adminMusicVolume:.5,highlightText:"",highlightColor:"#ffdd44",highlightSettings:[c.id],highlightSettingById:(u={},u[c.id]=c,u),view:{visible:!1,activeTab:o.SETTINGS_TABS[0].id}},d=e.settingsReducer=function(){function i(v,s){v===void 0&&(v=h);var p=s.type,f=s.payload;if(p===n.updateSettings.type)return Object.assign({},v,f);if(p===n.loadSettings.type){if(!(f!=null&&f.version))return v;delete f.view;var g=Object.assign({},v,f);g.highlightSettings?g.highlightSettingById[c.id]||(g.highlightSettings=[c.id].concat(g.highlightSettings),g.highlightSettingById[c.id]=c):(g.highlightSettings=[c.id],g.highlightSettingById[c.id]=c);var m=g.highlightSettingById[c.id];return m.highlightColor=g.highlightColor,m.highlightText=g.highlightText,g}if(p===n.toggleSettings.type)return Object.assign({},v,{view:Object.assign({},v.view,{visible:!v.view.visible})});if(p===n.openChatSettings.type)return Object.assign({},v,{view:Object.assign({},v.view,{visible:!0,activeTab:"chatPage"})});if(p===n.changeSettingsTab.type){var b=f.tabId;return Object.assign({},v,{view:Object.assign({},v.view,{activeTab:b})})}if(p===n.addHighlightSetting.type){var I,T=f;return v.highlightSettings.length>=o.MAX_HIGHLIGHT_SETTINGS?v:Object.assign({},v,{highlightSettings:[].concat(v.highlightSettings,[T.id]),highlightSettingById:Object.assign({},v.highlightSettingById,(I={},I[T.id]=T,I))})}if(p===n.removeHighlightSetting.type){var C=f.id,S=Object.assign({},v,{highlightSettings:[].concat(v.highlightSettings),highlightSettingById:Object.assign({},v.highlightSettingById)});return C===c.id?S.highlightSettings[c.id]=c:(delete S.highlightSettingById[C],S.highlightSettings=S.highlightSettings.filter(function(N){return N!==C}),S.highlightSettings.length||(S.highlightSettings.push(c.id),S.highlightSettingById[c.id]=c)),S}if(p===n.updateHighlightSetting.type){var y=f.id,O=l(f,a),A=Object.assign({},v,{highlightSettings:[].concat(v.highlightSettings),highlightSettingById:Object.assign({},v.highlightSettingById)});return y===c.id&&(O.highlightText&&(A.highlightText=O.highlightText),O.highlightColor&&(A.highlightColor=O.highlightColor)),A.highlightSettingById[y]&&(A.highlightSettingById[y]=Object.assign({},A.highlightSettingById[y],O)),A}return v}return i}()},95852:function(E,e){"use strict";e.__esModule=!0,e.selectSettings=e.selectHighlightSettings=e.selectHighlightSettingById=e.selectActiveTab=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.selectSettings=function(){function a(u){return u.settings}return a}(),n=e.selectActiveTab=function(){function a(u){return u.settings.view.activeTab}return a}(),r=e.selectHighlightSettings=function(){function a(u){return u.settings.highlightSettings}return a}(),o=e.selectHighlightSettingById=function(){function a(u){return u.settings.highlightSettingById}return a}()},23072:function(E,e,t){"use strict";e.__esModule=!0,e.telemetryMiddleware=void 0;var n=t(96417),r=t(50175);function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return f};var i,f={},s=Object.prototype,p=s.hasOwnProperty,d=Object.defineProperty||function(W,X,et){W[X]=et.value},g=typeof Symbol=="function"?Symbol:{},m=g.iterator||"@@iterator",S=g.asyncIterator||"@@asyncIterator",I=g.toStringTag||"@@toStringTag";function O(W,X,et){return Object.defineProperty(W,X,{value:et,enumerable:!0,configurable:!0,writable:!0}),W[X]}try{O({},"")}catch(W){O=function(et,ct,at){return et[ct]=at}}function C(W,X,et,ct){var at=X&&X.prototype instanceof R?X:R,St=Object.create(at.prototype),Pt=new ut(ct||[]);return d(St,"_invoke",{value:G(W,et,Pt)}),St}function y(W,X,et){try{return{type:"normal",arg:W.call(X,et)}}catch(ct){return{type:"throw",arg:ct}}}f.wrap=C;var b="suspendedStart",T="suspendedYield",P="executing",N="completed",M={};function R(){}function L(){}function K(){}var U={};O(U,m,function(){return this});var F=Object.getPrototypeOf,$=F&&F(F(ft([])));$&&$!==s&&p.call($,m)&&(U=$);var B=K.prototype=R.prototype=Object.create(U);function x(W){["next","throw","return"].forEach(function(X){O(W,X,function(et){return this._invoke(X,et)})})}function V(W,X){function et(at,St,Pt,Rt){var Nt=y(W[at],W,St);if(Nt.type!=="throw"){var ht=Nt.arg,dt=ht.value;return dt&&typeof dt=="object"&&p.call(dt,"__await")?X.resolve(dt.__await).then(function(J){et("next",J,Pt,Rt)},function(J){et("throw",J,Pt,Rt)}):X.resolve(dt).then(function(J){ht.value=J,Pt(ht)},function(J){return et("throw",J,Pt,Rt)})}Rt(Nt.arg)}var ct;d(this,"_invoke",{value:function(){function at(St,Pt){function Rt(){return new X(function(Nt,ht){et(St,Pt,Nt,ht)})}return ct=ct?ct.then(Rt,Rt):Rt()}return at}()})}function G(W,X,et){var ct=b;return function(at,St){if(ct===P)throw new Error("Generator is already running");if(ct===N){if(at==="throw")throw St;return{value:i,done:!0}}for(et.method=at,et.arg=St;;){var Pt=et.delegate;if(Pt){var Rt=Y(Pt,et);if(Rt){if(Rt===M)continue;return Rt}}if(et.method==="next")et.sent=et._sent=et.arg;else if(et.method==="throw"){if(ct===b)throw ct=N,et.arg;et.dispatchException(et.arg)}else et.method==="return"&&et.abrupt("return",et.arg);ct=P;var Nt=y(W,X,et);if(Nt.type==="normal"){if(ct=et.done?N:T,Nt.arg===M)continue;return{value:Nt.arg,done:et.done}}Nt.type==="throw"&&(ct=N,et.method="throw",et.arg=Nt.arg)}}}function Y(W,X){var et=X.method,ct=W.iterator[et];if(ct===i)return X.delegate=null,et==="throw"&&W.iterator.return&&(X.method="return",X.arg=i,Y(W,X),X.method==="throw")||et!=="return"&&(X.method="throw",X.arg=new TypeError("The iterator does not provide a '"+et+"' method")),M;var at=y(ct,W.iterator,X.arg);if(at.type==="throw")return X.method="throw",X.arg=at.arg,X.delegate=null,M;var St=at.arg;return St?St.done?(X[W.resultName]=St.value,X.next=W.nextLoc,X.method!=="return"&&(X.method="next",X.arg=i),X.delegate=null,M):St:(X.method="throw",X.arg=new TypeError("iterator result is not an object"),X.delegate=null,M)}function k(W){var X={tryLoc:W[0]};1 in W&&(X.catchLoc=W[1]),2 in W&&(X.finallyLoc=W[2],X.afterLoc=W[3]),this.tryEntries.push(X)}function nt(W){var X=W.completion||{};X.type="normal",delete X.arg,W.completion=X}function ut(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(k,this),this.reset(!0)}function ft(W){if(W||W===""){var X=W[m];if(X)return X.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var et=-1,ct=function(){function at(){for(;++et<W.length;)if(p.call(W,et))return at.value=W[et],at.done=!1,at;return at.value=i,at.done=!0,at}return at}();return ct.next=ct}}throw new TypeError(typeof W+" is not iterable")}return L.prototype=K,d(B,"constructor",{value:K,configurable:!0}),d(K,"constructor",{value:L,configurable:!0}),L.displayName=O(K,I,"GeneratorFunction"),f.isGeneratorFunction=function(W){var X=typeof W=="function"&&W.constructor;return!!X&&(X===L||(X.displayName||X.name)==="GeneratorFunction")},f.mark=function(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,K):(W.__proto__=K,O(W,I,"GeneratorFunction")),W.prototype=Object.create(B),W},f.awrap=function(W){return{__await:W}},x(V.prototype),O(V.prototype,S,function(){return this}),f.AsyncIterator=V,f.async=function(W,X,et,ct,at){at===void 0&&(at=Promise);var St=new V(C(W,X,et,ct),at);return f.isGeneratorFunction(X)?St:St.next().then(function(Pt){return Pt.done?Pt.value:St.next()})},x(B),O(B,I,"Generator"),O(B,m,function(){return this}),O(B,"toString",function(){return"[object Generator]"}),f.keys=function(W){var X=Object(W),et=[];for(var ct in X)et.push(ct);return et.reverse(),function(){function at(){for(;et.length;){var St=et.pop();if(St in X)return at.value=St,at.done=!1,at}return at.done=!0,at}return at}()},f.values=ft,ut.prototype={constructor:ut,reset:function(){function W(X){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(nt),!X)for(var et in this)et.charAt(0)==="t"&&p.call(this,et)&&!isNaN(+et.slice(1))&&(this[et]=i)}return W}(),stop:function(){function W(){this.done=!0;var X=this.tryEntries[0].completion;if(X.type==="throw")throw X.arg;return this.rval}return W}(),dispatchException:function(){function W(X){if(this.done)throw X;var et=this;function ct(ht,dt){return Pt.type="throw",Pt.arg=X,et.next=ht,dt&&(et.method="next",et.arg=i),!!dt}for(var at=this.tryEntries.length-1;at>=0;--at){var St=this.tryEntries[at],Pt=St.completion;if(St.tryLoc==="root")return ct("end");if(St.tryLoc<=this.prev){var Rt=p.call(St,"catchLoc"),Nt=p.call(St,"finallyLoc");if(Rt&&Nt){if(this.prev<St.catchLoc)return ct(St.catchLoc,!0);if(this.prev<St.finallyLoc)return ct(St.finallyLoc)}else if(Rt){if(this.prev<St.catchLoc)return ct(St.catchLoc,!0)}else{if(!Nt)throw new Error("try statement without catch or finally");if(this.prev<St.finallyLoc)return ct(St.finallyLoc)}}}}return W}(),abrupt:function(){function W(X,et){for(var ct=this.tryEntries.length-1;ct>=0;--ct){var at=this.tryEntries[ct];if(at.tryLoc<=this.prev&&p.call(at,"finallyLoc")&&this.prev<at.finallyLoc){var St=at;break}}St&&(X==="break"||X==="continue")&&St.tryLoc<=et&&et<=St.finallyLoc&&(St=null);var Pt=St?St.completion:{};return Pt.type=X,Pt.arg=et,St?(this.method="next",this.next=St.finallyLoc,M):this.complete(Pt)}return W}(),complete:function(){function W(X,et){if(X.type==="throw")throw X.arg;return X.type==="break"||X.type==="continue"?this.next=X.arg:X.type==="return"?(this.rval=this.arg=X.arg,this.method="return",this.next="end"):X.type==="normal"&&et&&(this.next=et),M}return W}(),finish:function(){function W(X){for(var et=this.tryEntries.length-1;et>=0;--et){var ct=this.tryEntries[et];if(ct.finallyLoc===X)return this.complete(ct.completion,ct.afterLoc),nt(ct),M}}return W}(),catch:function(){function W(X){for(var et=this.tryEntries.length-1;et>=0;--et){var ct=this.tryEntries[et];if(ct.tryLoc===X){var at=ct.completion;if(at.type==="throw"){var St=at.arg;nt(ct)}return St}}throw new Error("illegal catch attempt")}return W}(),delegateYield:function(){function W(X,et,ct){return this.delegate={iterator:ft(X),resultName:et,nextLoc:ct},this.method==="next"&&(this.arg=i),M}return W}()},f}function a(i,f,s,p,d,g,m){try{var S=i[g](m),I=S.value}catch(O){s(O);return}S.done?f(I):Promise.resolve(I).then(p,d)}function u(i){return function(){var f=this,s=arguments;return new Promise(function(p,d){var g=i.apply(f,s);function m(I){a(g,p,d,m,S,"next",I)}function S(I){a(g,p,d,m,S,"throw",I)}m(void 0)})}}/** + */var t=e.selectSettings=function(){function a(u){return u.settings}return a}(),n=e.selectActiveTab=function(){function a(u){return u.settings.view.activeTab}return a}(),r=e.selectHighlightSettings=function(){function a(u){return u.settings.highlightSettings}return a}(),o=e.selectHighlightSettingById=function(){function a(u){return u.settings.highlightSettingById}return a}()},40405:function(E,e,t){"use strict";e.__esModule=!0,e.telemetryMiddleware=void 0;var n=t(66450),r=t(81856);function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return v};var i,v={},s=Object.prototype,p=s.hasOwnProperty,f=Object.defineProperty||function(k,X,tt){k[X]=tt.value},g=typeof Symbol=="function"?Symbol:{},m=g.iterator||"@@iterator",b=g.asyncIterator||"@@asyncIterator",I=g.toStringTag||"@@toStringTag";function T(k,X,tt){return Object.defineProperty(k,X,{value:tt,enumerable:!0,configurable:!0,writable:!0}),k[X]}try{T({},"")}catch(k){T=function(tt,ct,at){return tt[ct]=at}}function C(k,X,tt,ct){var at=X&&X.prototype instanceof R?X:R,St=Object.create(at.prototype),Mt=new st(ct||[]);return f(St,"_invoke",{value:K(k,tt,Mt)}),St}function S(k,X,tt){try{return{type:"normal",arg:k.call(X,tt)}}catch(ct){return{type:"throw",arg:ct}}}v.wrap=C;var y="suspendedStart",O="suspendedYield",A="executing",N="completed",M={};function R(){}function L(){}function x(){}var F={};T(F,m,function(){return this});var V=Object.getPrototypeOf,G=V&&V(V(gt([])));G&&G!==s&&p.call(G,m)&&(F=G);var B=x.prototype=R.prototype=Object.create(F);function U(k){["next","throw","return"].forEach(function(X){T(k,X,function(tt){return this._invoke(X,tt)})})}function j(k,X){function tt(at,St,Mt,wt){var Rt=S(k[at],k,St);if(Rt.type!=="throw"){var vt=Rt.arg,ft=vt.value;return ft&&typeof ft=="object"&&p.call(ft,"__await")?X.resolve(ft.__await).then(function(Q){tt("next",Q,Mt,wt)},function(Q){tt("throw",Q,Mt,wt)}):X.resolve(ft).then(function(Q){vt.value=Q,Mt(vt)},function(Q){return tt("throw",Q,Mt,wt)})}wt(Rt.arg)}var ct;f(this,"_invoke",{value:function(){function at(St,Mt){function wt(){return new X(function(Rt,vt){tt(St,Mt,Rt,vt)})}return ct=ct?ct.then(wt,wt):wt()}return at}()})}function K(k,X,tt){var ct=y;return function(at,St){if(ct===A)throw Error("Generator is already running");if(ct===N){if(at==="throw")throw St;return{value:i,done:!0}}for(tt.method=at,tt.arg=St;;){var Mt=tt.delegate;if(Mt){var wt=$(Mt,tt);if(wt){if(wt===M)continue;return wt}}if(tt.method==="next")tt.sent=tt._sent=tt.arg;else if(tt.method==="throw"){if(ct===y)throw ct=N,tt.arg;tt.dispatchException(tt.arg)}else tt.method==="return"&&tt.abrupt("return",tt.arg);ct=A;var Rt=S(k,X,tt);if(Rt.type==="normal"){if(ct=tt.done?N:O,Rt.arg===M)continue;return{value:Rt.arg,done:tt.done}}Rt.type==="throw"&&(ct=N,tt.method="throw",tt.arg=Rt.arg)}}}function $(k,X){var tt=X.method,ct=k.iterator[tt];if(ct===i)return X.delegate=null,tt==="throw"&&k.iterator.return&&(X.method="return",X.arg=i,$(k,X),X.method==="throw")||tt!=="return"&&(X.method="throw",X.arg=new TypeError("The iterator does not provide a '"+tt+"' method")),M;var at=S(ct,k.iterator,X.arg);if(at.type==="throw")return X.method="throw",X.arg=at.arg,X.delegate=null,M;var St=at.arg;return St?St.done?(X[k.resultName]=St.value,X.next=k.nextLoc,X.method!=="return"&&(X.method="next",X.arg=i),X.delegate=null,M):St:(X.method="throw",X.arg=new TypeError("iterator result is not an object"),X.delegate=null,M)}function W(k){var X={tryLoc:k[0]};1 in k&&(X.catchLoc=k[1]),2 in k&&(X.finallyLoc=k[2],X.afterLoc=k[3]),this.tryEntries.push(X)}function nt(k){var X=k.completion||{};X.type="normal",delete X.arg,k.completion=X}function st(k){this.tryEntries=[{tryLoc:"root"}],k.forEach(W,this),this.reset(!0)}function gt(k){if(k||k===""){var X=k[m];if(X)return X.call(k);if(typeof k.next=="function")return k;if(!isNaN(k.length)){var tt=-1,ct=function(){function at(){for(;++tt<k.length;)if(p.call(k,tt))return at.value=k[tt],at.done=!1,at;return at.value=i,at.done=!0,at}return at}();return ct.next=ct}}throw new TypeError(typeof k+" is not iterable")}return L.prototype=x,f(B,"constructor",{value:x,configurable:!0}),f(x,"constructor",{value:L,configurable:!0}),L.displayName=T(x,I,"GeneratorFunction"),v.isGeneratorFunction=function(k){var X=typeof k=="function"&&k.constructor;return!!X&&(X===L||(X.displayName||X.name)==="GeneratorFunction")},v.mark=function(k){return Object.setPrototypeOf?Object.setPrototypeOf(k,x):(k.__proto__=x,T(k,I,"GeneratorFunction")),k.prototype=Object.create(B),k},v.awrap=function(k){return{__await:k}},U(j.prototype),T(j.prototype,b,function(){return this}),v.AsyncIterator=j,v.async=function(k,X,tt,ct,at){at===void 0&&(at=Promise);var St=new j(C(k,X,tt,ct),at);return v.isGeneratorFunction(X)?St:St.next().then(function(Mt){return Mt.done?Mt.value:St.next()})},U(B),T(B,I,"Generator"),T(B,m,function(){return this}),T(B,"toString",function(){return"[object Generator]"}),v.keys=function(k){var X=Object(k),tt=[];for(var ct in X)tt.push(ct);return tt.reverse(),function(){function at(){for(;tt.length;){var St=tt.pop();if(St in X)return at.value=St,at.done=!1,at}return at.done=!0,at}return at}()},v.values=gt,st.prototype={constructor:st,reset:function(){function k(X){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(nt),!X)for(var tt in this)tt.charAt(0)==="t"&&p.call(this,tt)&&!isNaN(+tt.slice(1))&&(this[tt]=i)}return k}(),stop:function(){function k(){this.done=!0;var X=this.tryEntries[0].completion;if(X.type==="throw")throw X.arg;return this.rval}return k}(),dispatchException:function(){function k(X){if(this.done)throw X;var tt=this;function ct(vt,ft){return Mt.type="throw",Mt.arg=X,tt.next=vt,ft&&(tt.method="next",tt.arg=i),!!ft}for(var at=this.tryEntries.length-1;at>=0;--at){var St=this.tryEntries[at],Mt=St.completion;if(St.tryLoc==="root")return ct("end");if(St.tryLoc<=this.prev){var wt=p.call(St,"catchLoc"),Rt=p.call(St,"finallyLoc");if(wt&&Rt){if(this.prev<St.catchLoc)return ct(St.catchLoc,!0);if(this.prev<St.finallyLoc)return ct(St.finallyLoc)}else if(wt){if(this.prev<St.catchLoc)return ct(St.catchLoc,!0)}else{if(!Rt)throw Error("try statement without catch or finally");if(this.prev<St.finallyLoc)return ct(St.finallyLoc)}}}}return k}(),abrupt:function(){function k(X,tt){for(var ct=this.tryEntries.length-1;ct>=0;--ct){var at=this.tryEntries[ct];if(at.tryLoc<=this.prev&&p.call(at,"finallyLoc")&&this.prev<at.finallyLoc){var St=at;break}}St&&(X==="break"||X==="continue")&&St.tryLoc<=tt&&tt<=St.finallyLoc&&(St=null);var Mt=St?St.completion:{};return Mt.type=X,Mt.arg=tt,St?(this.method="next",this.next=St.finallyLoc,M):this.complete(Mt)}return k}(),complete:function(){function k(X,tt){if(X.type==="throw")throw X.arg;return X.type==="break"||X.type==="continue"?this.next=X.arg:X.type==="return"?(this.rval=this.arg=X.arg,this.method="return",this.next="end"):X.type==="normal"&&tt&&(this.next=tt),M}return k}(),finish:function(){function k(X){for(var tt=this.tryEntries.length-1;tt>=0;--tt){var ct=this.tryEntries[tt];if(ct.finallyLoc===X)return this.complete(ct.completion,ct.afterLoc),nt(ct),M}}return k}(),catch:function(){function k(X){for(var tt=this.tryEntries.length-1;tt>=0;--tt){var ct=this.tryEntries[tt];if(ct.tryLoc===X){var at=ct.completion;if(at.type==="throw"){var St=at.arg;nt(ct)}return St}}throw Error("illegal catch attempt")}return k}(),delegateYield:function(){function k(X,tt,ct){return this.delegate={iterator:gt(X),resultName:tt,nextLoc:ct},this.method==="next"&&(this.arg=i),M}return k}()},v}function a(i,v,s,p,f,g,m){try{var b=i[g](m),I=b.value}catch(T){s(T);return}b.done?v(I):Promise.resolve(I).then(p,f)}function u(i){return function(){var v=this,s=arguments;return new Promise(function(p,f){var g=i.apply(v,s);function m(I){a(g,p,f,m,b,"next",I)}function b(I){a(g,p,f,m,b,"throw",I)}m(void 0)})}}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var l=(0,r.createLogger)("telemetry"),c=10,h=function(f,s){return f.ckey===s.ckey&&f.address===s.address&&f.computer_id===s.computer_id},v=e.telemetryMiddleware=function(){function i(f){var s,p;return function(d){return function(g){var m=g.type,S=g.payload;if(m==="telemetry/request"){if(!s){l.debug("deferred"),p=S;return}l.debug("sending");var I=(S==null?void 0:S.limits)||{},O=s.connections.slice(0,I.connections);Byond.sendMessage("telemetry",{connections:O});return}if(m==="backend/update"){d(g),u(o().mark(function(){function C(){var y,b,T,P,N;return o().wrap(function(){function M(R){for(;;)switch(R.prev=R.next){case 0:if(b=S==null||(y=S.config)==null?void 0:y.client,b){R.next=4;break}return l.error("backend/update payload is missing client data!"),R.abrupt("return");case 4:if(s){R.next=13;break}return R.next=7,n.storage.get("telemetry");case 7:if(R.t0=R.sent,R.t0){R.next=10;break}R.t0={};case 10:s=R.t0,s.connections||(s.connections=[]),l.debug("retrieved telemetry from storage",s);case 13:T=!1,P=s.connections.find(function(L){return h(L,b)}),P||(T=!0,s.connections.unshift(b),s.connections.length>c&&s.connections.pop()),T&&(l.debug("saving telemetry to storage",s),n.storage.set("telemetry",s)),p&&(N=p,p=null,f.dispatch({type:"telemetry/request",payload:N}));case 18:case"end":return R.stop()}}return M}(),C)}return C}()))();return}return d(g)}}}return i}()},70450:function(E,e){"use strict";e.__esModule=!0,e.setClientTheme=e.THEMES=void 0;/** +*/var l=(0,r.createLogger)("telemetry"),c=10,h=function(v,s){return v.ckey===s.ckey&&v.address===s.address&&v.computer_id===s.computer_id},d=e.telemetryMiddleware=function(){function i(v){var s,p;return function(f){return function(g){var m=g.type,b=g.payload;if(m==="telemetry/request"){if(!s){l.debug("deferred"),p=b;return}l.debug("sending");var I=(b==null?void 0:b.limits)||{},T=s.connections.slice(0,I.connections);Byond.sendMessage("telemetry",{connections:T});return}if(m==="backend/update"){f(g),u(o().mark(function(){function C(){var S,y,O,A,N;return o().wrap(function(){function M(R){for(;;)switch(R.prev=R.next){case 0:if(y=b==null||(S=b.config)==null?void 0:S.client,y){R.next=4;break}return l.error("backend/update payload is missing client data!"),R.abrupt("return");case 4:if(s){R.next=13;break}return R.next=7,n.storage.get("telemetry");case 7:if(R.t0=R.sent,R.t0){R.next=10;break}R.t0={};case 10:s=R.t0,s.connections||(s.connections=[]),l.debug("retrieved telemetry from storage",s);case 13:O=!1,A=s.connections.find(function(L){return h(L,y)}),A||(O=!0,s.connections.unshift(y),s.connections.length>c&&s.connections.pop()),O&&(l.debug("saving telemetry to storage",s),n.storage.set("telemetry",s)),p&&(N=p,p=null,v.dispatch({type:"telemetry/request",payload:N}));case 18:case"end":return R.stop()}}return M}(),C)}return C}()))();return}return f(g)}}}return i}()},1506:function(E,e){"use strict";e.__esModule=!0,e.setClientTheme=e.THEMES=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.THEMES=["light","dark","ntos","syndicate","paradise"],n="#212020",r="#131313",o="#4C4C4D",a="#A4BAD6",u="#EFEEEE",l="#FFFFFF",c="#EEEEEE",h="#000000",v="#1b2633",i="#121922",f="#384e68",s="#b8cbe6",p="#4d0202",d="#2b0101",g="#397439",m="#ffffff",S="#800448",I="#400125",O="#208080",C="#ffffff",y=null,b=e.setClientTheme=function(){function T(P){if(clearInterval(y),Byond.command(".output statbrowser:set_theme "+P),y=setTimeout(function(){Byond.command(".output statbrowser:set_theme "+P)},1500),P==="light")return Byond.winset({"rpane.textb.background-color":c,"rpane.textb.text-color":h,"rpane.infob.background-color":c,"rpane.infob.text-color":h,"rpane.wikib.background-color":c,"rpane.wikib.text-color":h,"rpane.forumb.background-color":c,"rpane.forumb.text-color":h,"rpane.rulesb.background-color":c,"rpane.rulesb.text-color":h,"rpane.githubb.background-color":c,"rpane.githubb.text-color":h,"rpane.webmap.background-color":c,"rpane.webmap.text-color":h,"rpane.changelog.background-color":c,"rpane.changelog.text-color":h,"mainwindow.background-color":u,"mainwindow.mainvsplit.background-color":"#EFEEEE","mainwindow.tooltip.background-color":u,"outputwindow.background-color":u,"outputwindow.text-color":h,"rpane.background-color":u,"rpane.rpanewindow.background-color":u,"infowindow.background-color":u,"infowindow.text-color":h,"saybutton.background-color":u,"saybutton.text-color":h,"oocbutton.background-color":u,"oocbutton.text-color":h,"mebutton.background-color":u,"mebutton.text-color":h,"asset_cache_browser.background-color":u,"asset_cache_browser.text-color":h,"tooltip.background-color":u,"tooltip.text-color":h,"input.background-color":l,"input.text-color":h});if(P==="dark"&&Byond.winset({"rpane.textb.background-color":o,"rpane.textb.text-color":a,"rpane.infob.background-color":o,"rpane.infob.text-color":a,"rpane.wikib.background-color":o,"rpane.wikib.text-color":a,"rpane.forumb.background-color":o,"rpane.forumb.text-color":a,"rpane.rulesb.background-color":o,"rpane.rulesb.text-color":a,"rpane.githubb.background-color":o,"rpane.githubb.text-color":a,"rpane.webmap.background-color":o,"rpane.webmap.text-color":a,"rpane.changelog.background-color":"#40628A","rpane.changelog.text-color":"#FFFFFF","mainwindow.background-color":r,"mainwindow.mainvsplit.background-color":"#212020","mainwindow.tooltip.background-color":r,"outputwindow.background-color":n,"outputwindow.text-color":a,"rpane.background-color":n,"rpane.rpanewindow.background-color":n,"infowindow.background-color":n,"infowindow.text-color":a,"saybutton.background-color":r,"saybutton.text-color":a,"oocbutton.background-color":r,"oocbutton.text-color":a,"mebutton.background-color":r,"mebutton.text-color":a,"asset_cache_browser.background-color":r,"asset_cache_browser.text-color":a,"tooltip.background-color":r,"tooltip.text-color":a,"input.background-color":r,"input.text-color":a}),P==="ntos")return Byond.winset({"rpane.textb.background-color":f,"rpane.textb.text-color":s,"rpane.infob.background-color":f,"rpane.infob.text-color":s,"rpane.wikib.background-color":f,"rpane.wikib.text-color":s,"rpane.forumb.background-color":f,"rpane.forumb.text-color":s,"rpane.rulesb.background-color":f,"rpane.rulesb.text-color":s,"rpane.githubb.background-color":f,"rpane.githubb.text-color":s,"rpane.webmap.background-color":f,"rpane.webmap.text-color":s,"rpane.changelog.background-color":f,"rpane.changelog.text-color":s,"mainwindow.background-color":v,"mainwindow.mainvsplit.background-color":v,"mainwindow.tooltip.background-color":v,"outputwindow.background-color":v,"outputwindow.text-color":s,"rpane.background-color":v,"rpane.rpanewindow.background-color":v,"infowindow.background-color":v,"infowindow.text-color":s,"saybutton.background-color":v,"saybutton.text-color":s,"oocbutton.background-color":v,"oocbutton.text-color":s,"mebutton.background-color":v,"mebutton.text-color":s,"asset_cache_browser.background-color":v,"asset_cache_browser.text-color":s,"tooltip.background-color":v,"tooltip.text-color":s,"input.background-color":i,"input.text-color":s});if(P==="syndicate")return Byond.winset({"rpane.textb.background-color":g,"rpane.textb.text-color":m,"rpane.infob.background-color":g,"rpane.infob.text-color":m,"rpane.wikib.background-color":g,"rpane.wikib.text-color":m,"rpane.forumb.background-color":g,"rpane.forumb.text-color":m,"rpane.rulesb.background-color":g,"rpane.rulesb.text-color":m,"rpane.githubb.background-color":g,"rpane.githubb.text-color":m,"rpane.webmap.background-color":g,"rpane.webmap.text-color":m,"rpane.changelog.background-color":g,"rpane.changelog.text-color":m,"mainwindow.background-color":p,"mainwindow.mainvsplit.background-color":p,"mainwindow.tooltip.background-color":p,"outputwindow.background-color":p,"outputwindow.text-color":m,"rpane.background-color":p,"rpane.rpanewindow.background-color":p,"infowindow.background-color":p,"infowindow.text-color":m,"saybutton.background-color":p,"saybutton.text-color":m,"oocbutton.background-color":p,"oocbutton.text-color":m,"mebutton.background-color":p,"mebutton.text-color":m,"asset_cache_browser.background-color":p,"asset_cache_browser.text-color":m,"tooltip.background-color":p,"tooltip.text-color":m,"input.background-color":d,"input.text-color":m});if(P==="paradise")return Byond.winset({"rpane.textb.background-color":O,"rpane.textb.text-color":C,"rpane.infob.background-color":O,"rpane.infob.text-color":C,"rpane.wikib.background-color":O,"rpane.wikib.text-color":C,"rpane.forumb.background-color":O,"rpane.forumb.text-color":C,"rpane.rulesb.background-color":O,"rpane.rulesb.text-color":C,"rpane.githubb.background-color":O,"rpane.githubb.text-color":C,"rpane.webmap.background-color":O,"rpane.webmap.text-color":C,"rpane.changelog.background-color":O,"rpane.changelog.text-color":C,"mainwindow.background-color":S,"mainwindow.mainvsplit.background-color":S,"mainwindow.tooltip.background-color":S,"outputwindow.background-color":S,"outputwindow.text-color":C,"rpane.background-color":S,"rpane.rpanewindow.background-color":S,"infowindow.background-color":S,"infowindow.text-color":C,"saybutton.background-color":S,"saybutton.text-color":C,"oocbutton.background-color":S,"oocbutton.text-color":C,"mebutton.background-color":S,"mebutton.text-color":C,"asset_cache_browser.background-color":S,"asset_cache_browser.text-color":C,"tooltip.background-color":S,"tooltip.text-color":C,"input.background-color":I,"input.text-color":C})}return T}()},96820:function(E,e){"use strict";e.__esModule=!0,e.resolveAsset=e.assetMiddleware=void 0;/** + */var t=e.THEMES=["light","dark","ntos","syndicate","paradise"],n="#212020",r="#131313",o="#4C4C4D",a="#A4BAD6",u="#EFEEEE",l="#FFFFFF",c="#EEEEEE",h="#000000",d="#1b2633",i="#121922",v="#384e68",s="#b8cbe6",p="#4d0202",f="#2b0101",g="#397439",m="#ffffff",b="#800448",I="#400125",T="#208080",C="#ffffff",S=null,y=e.setClientTheme=function(){function O(A){if(clearInterval(S),Byond.command(".output statbrowser:set_theme "+A),S=setTimeout(function(){Byond.command(".output statbrowser:set_theme "+A)},1500),A==="light")return Byond.winset({"rpane.textb.background-color":c,"rpane.textb.text-color":h,"rpane.infob.background-color":c,"rpane.infob.text-color":h,"rpane.wikib.background-color":c,"rpane.wikib.text-color":h,"rpane.forumb.background-color":c,"rpane.forumb.text-color":h,"rpane.rulesb.background-color":c,"rpane.rulesb.text-color":h,"rpane.githubb.background-color":c,"rpane.githubb.text-color":h,"rpane.webmap.background-color":c,"rpane.webmap.text-color":h,"rpane.changelog.background-color":c,"rpane.changelog.text-color":h,"mainwindow.background-color":u,"mainwindow.mainvsplit.background-color":"#EFEEEE","mainwindow.tooltip.background-color":u,"outputwindow.background-color":u,"outputwindow.text-color":h,"rpane.background-color":u,"rpane.rpanewindow.background-color":u,"infowindow.background-color":u,"infowindow.text-color":h,"saybutton.background-color":u,"saybutton.text-color":h,"oocbutton.background-color":u,"oocbutton.text-color":h,"mebutton.background-color":u,"mebutton.text-color":h,"asset_cache_browser.background-color":u,"asset_cache_browser.text-color":h,"tooltip.background-color":u,"tooltip.text-color":h,"input.background-color":l,"input.text-color":h});if(A==="dark"&&Byond.winset({"rpane.textb.background-color":o,"rpane.textb.text-color":a,"rpane.infob.background-color":o,"rpane.infob.text-color":a,"rpane.wikib.background-color":o,"rpane.wikib.text-color":a,"rpane.forumb.background-color":o,"rpane.forumb.text-color":a,"rpane.rulesb.background-color":o,"rpane.rulesb.text-color":a,"rpane.githubb.background-color":o,"rpane.githubb.text-color":a,"rpane.webmap.background-color":o,"rpane.webmap.text-color":a,"rpane.changelog.background-color":"#40628A","rpane.changelog.text-color":"#FFFFFF","mainwindow.background-color":r,"mainwindow.mainvsplit.background-color":"#212020","mainwindow.tooltip.background-color":r,"outputwindow.background-color":n,"outputwindow.text-color":a,"rpane.background-color":n,"rpane.rpanewindow.background-color":n,"infowindow.background-color":n,"infowindow.text-color":a,"saybutton.background-color":r,"saybutton.text-color":a,"oocbutton.background-color":r,"oocbutton.text-color":a,"mebutton.background-color":r,"mebutton.text-color":a,"asset_cache_browser.background-color":r,"asset_cache_browser.text-color":a,"tooltip.background-color":r,"tooltip.text-color":a,"input.background-color":r,"input.text-color":a}),A==="ntos")return Byond.winset({"rpane.textb.background-color":v,"rpane.textb.text-color":s,"rpane.infob.background-color":v,"rpane.infob.text-color":s,"rpane.wikib.background-color":v,"rpane.wikib.text-color":s,"rpane.forumb.background-color":v,"rpane.forumb.text-color":s,"rpane.rulesb.background-color":v,"rpane.rulesb.text-color":s,"rpane.githubb.background-color":v,"rpane.githubb.text-color":s,"rpane.webmap.background-color":v,"rpane.webmap.text-color":s,"rpane.changelog.background-color":v,"rpane.changelog.text-color":s,"mainwindow.background-color":d,"mainwindow.mainvsplit.background-color":d,"mainwindow.tooltip.background-color":d,"outputwindow.background-color":d,"outputwindow.text-color":s,"rpane.background-color":d,"rpane.rpanewindow.background-color":d,"infowindow.background-color":d,"infowindow.text-color":s,"saybutton.background-color":d,"saybutton.text-color":s,"oocbutton.background-color":d,"oocbutton.text-color":s,"mebutton.background-color":d,"mebutton.text-color":s,"asset_cache_browser.background-color":d,"asset_cache_browser.text-color":s,"tooltip.background-color":d,"tooltip.text-color":s,"input.background-color":i,"input.text-color":s});if(A==="syndicate")return Byond.winset({"rpane.textb.background-color":g,"rpane.textb.text-color":m,"rpane.infob.background-color":g,"rpane.infob.text-color":m,"rpane.wikib.background-color":g,"rpane.wikib.text-color":m,"rpane.forumb.background-color":g,"rpane.forumb.text-color":m,"rpane.rulesb.background-color":g,"rpane.rulesb.text-color":m,"rpane.githubb.background-color":g,"rpane.githubb.text-color":m,"rpane.webmap.background-color":g,"rpane.webmap.text-color":m,"rpane.changelog.background-color":g,"rpane.changelog.text-color":m,"mainwindow.background-color":p,"mainwindow.mainvsplit.background-color":p,"mainwindow.tooltip.background-color":p,"outputwindow.background-color":p,"outputwindow.text-color":m,"rpane.background-color":p,"rpane.rpanewindow.background-color":p,"infowindow.background-color":p,"infowindow.text-color":m,"saybutton.background-color":p,"saybutton.text-color":m,"oocbutton.background-color":p,"oocbutton.text-color":m,"mebutton.background-color":p,"mebutton.text-color":m,"asset_cache_browser.background-color":p,"asset_cache_browser.text-color":m,"tooltip.background-color":p,"tooltip.text-color":m,"input.background-color":f,"input.text-color":m});if(A==="paradise")return Byond.winset({"rpane.textb.background-color":T,"rpane.textb.text-color":C,"rpane.infob.background-color":T,"rpane.infob.text-color":C,"rpane.wikib.background-color":T,"rpane.wikib.text-color":C,"rpane.forumb.background-color":T,"rpane.forumb.text-color":C,"rpane.rulesb.background-color":T,"rpane.rulesb.text-color":C,"rpane.githubb.background-color":T,"rpane.githubb.text-color":C,"rpane.webmap.background-color":T,"rpane.webmap.text-color":C,"rpane.changelog.background-color":T,"rpane.changelog.text-color":C,"mainwindow.background-color":b,"mainwindow.mainvsplit.background-color":b,"mainwindow.tooltip.background-color":b,"outputwindow.background-color":b,"outputwindow.text-color":C,"rpane.background-color":b,"rpane.rpanewindow.background-color":b,"infowindow.background-color":b,"infowindow.text-color":C,"saybutton.background-color":b,"saybutton.text-color":C,"oocbutton.background-color":b,"oocbutton.text-color":C,"mebutton.background-color":b,"mebutton.text-color":C,"asset_cache_browser.background-color":b,"asset_cache_browser.text-color":C,"tooltip.background-color":b,"tooltip.text-color":C,"input.background-color":I,"input.text-color":C})}return O}()},17442:function(E,e){"use strict";e.__esModule=!0,e.resolveAsset=e.assetMiddleware=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=[/v4shim/i],n={},r=e.resolveAsset=function(){function a(u){return n[u]||u}return a}(),o=e.assetMiddleware=function(){function a(u){return function(l){return function(c){var h=c.type,v=c.payload;if(h==="asset/stylesheet"){Byond.loadCss(v);return}if(h==="asset/mappings"){for(var i=function(){function p(){var d=s[f];if(t.some(function(S){return S.test(d)}))return 1;var g=v[d],m=d.split(".").pop();n[d]=g,m==="css"&&Byond.loadCss(g),m==="js"&&Byond.loadJs(g)}return p}(),f=0,s=Object.keys(v);f<s.length;f++)i();return}l(c)}}}return a}()},91819:function(E,e,t){"use strict";e.__esModule=!0,e.useSharedState=e.useLocalState=e.useBackend=e.sendAct=e.selectBackend=e.backendUpdate=e.backendSuspendSuccess=e.backendSuspendStart=e.backendSetSharedState=e.backendReducer=e.backendMiddleware=void 0;var n=t(60031),r=t(90816),o=t(45360),a=t(16671),u=t(50175),l=t(64960);/** + */var t=[/v4shim/i],n={},r=e.resolveAsset=function(){function a(u){return n[u]||u}return a}(),o=e.assetMiddleware=function(){function a(u){return function(l){return function(c){var h=c.type,d=c.payload;if(h==="asset/stylesheet"){Byond.loadCss(d);return}if(h==="asset/mappings"){for(var i=function(){function p(){var f=s[v];if(t.some(function(b){return b.test(f)}))return 1;var g=d[f],m=f.split(".").pop();n[f]=g,m==="css"&&Byond.loadCss(g),m==="js"&&Byond.loadJs(g)}return p}(),v=0,s=Object.keys(d);v<s.length;v++)i();return}l(c)}}}return a}()},17899:function(E,e,t){"use strict";e.__esModule=!0,e.useSharedState=e.useLocalState=e.useBackend=e.sendAct=e.selectBackend=e.backendUpdate=e.backendSuspendSuccess=e.backendSuspendStart=e.backendSetSharedState=e.backendReducer=e.backendMiddleware=void 0;var n=t(63560),r=t(88605),o=t(83987),a=t(92017),u=t(81856),l=t(7570);/** * This file provides a clear separation layer between backend updates * and what state our React app sees. * @@ -248,257 +248,257 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var c=(0,u.createLogger)("backend"),h=e.backendUpdate=(0,r.createAction)("backend/update"),v=e.backendSetSharedState=(0,r.createAction)("backend/setSharedState"),i=e.backendSuspendStart=(0,r.createAction)("backend/suspendStart"),f=e.backendSuspendSuccess=function(){function C(){return{type:"backend/suspendSuccess",payload:{timestamp:Date.now()}}}return C}(),s={config:{},data:{},shared:{},suspended:Date.now(),suspending:!1},p=e.backendReducer=function(){function C(y,b){y===void 0&&(y=s);var T=b.type,P=b.payload;if(T==="backend/update"){var N=Object.assign({},y.config,P.config),M=Object.assign({},y.data,P.static_data,P.data),R=Object.assign({},y.shared);if(P.shared)for(var L=0,K=Object.keys(P.shared);L<K.length;L++){var U=K[L],F=P.shared[U];F===""?R[U]=void 0:R[U]=JSON.parse(F)}return Object.assign({},y,{config:N,data:M,shared:R,suspended:!1})}if(T==="backend/setSharedState"){var $,B=P.key,x=P.nextState;return Object.assign({},y,{shared:Object.assign({},y.shared,($={},$[B]=x,$))})}if(T==="backend/suspendStart")return Object.assign({},y,{suspending:!0});if(T==="backend/suspendSuccess"){var V=P.timestamp;return Object.assign({},y,{data:{},shared:{},config:Object.assign({},y.config,{title:"",status:1}),suspending:!1,suspended:V})}return y}return C}(),d=e.backendMiddleware=function(){function C(y){var b,T;return function(P){return function(N){var M=m(y.getState()),R=M.suspended,L=N.type,K=N.payload;if(L==="update"){y.dispatch(h(K));return}if(L==="suspend"){y.dispatch(f());return}if(L==="ping"){Byond.sendMessage("ping/reply");return}if(L==="backend/suspendStart"&&!T){c.log("suspending ("+Byond.windowId+")");var U=function(){function B(){return Byond.sendMessage("suspend")}return B}();U(),T=setInterval(U,2e3)}if(L==="backend/suspendSuccess"&&((0,l.suspendRenderer)(),clearInterval(T),T=void 0,Byond.winset(Byond.windowId,{"is-visible":!1}),setImmediate(function(){return(0,a.focusMap)()})),L==="backend/update"){var F,$=(F=K.config)==null||(F=F.window)==null?void 0:F.fancy;b===void 0?b=$:b!==$&&(c.log("changing fancy mode to",$),b=$,Byond.winset(Byond.windowId,{titlebar:!$,"can-resize":!$}))}return L==="backend/update"&&R&&(c.log("backend/update",K),(0,l.resumeRenderer)(),(0,o.setupDrag)(),setImmediate(function(){n.perf.mark("resume/start");var B=m(y.getState()),x=B.suspended;x||(Byond.winset(Byond.windowId,{"is-visible":!0}),n.perf.mark("resume/finish"))})),P(N)}}}return C}(),g=e.sendAct=function(){function C(y,b){b===void 0&&(b={});var T=typeof b=="object"&&b!==null&&!Array.isArray(b);if(!T){c.error("Payload for act() must be an object, got this:",b);return}Byond.sendMessage("act/"+y,b)}return C}(),m=e.selectBackend=function(){function C(y){return y.backend||{}}return C}(),S=e.useBackend=function(){function C(y){var b=y.store,T=m(b.getState());return Object.assign({},T,{act:g})}return C}(),I=e.useLocalState=function(){function C(y,b,T){var P,N=y.store,M=m(N.getState()),R=(P=M.shared)!=null?P:{},L=b in R?R[b]:T;return[L,function(K){N.dispatch(v({key:b,nextState:typeof K=="function"?K(L):K}))}]}return C}(),O=e.useSharedState=function(){function C(y,b,T){var P,N=y.store,M=m(N.getState()),R=(P=M.shared)!=null?P:{},L=b in R?R[b]:T;return[L,function(K){Byond.sendMessage({type:"setSharedState",key:b,value:JSON.stringify(typeof K=="function"?K(L):K)||""})}]}return C}()},15281:function(E,e,t){"use strict";e.__esModule=!0,e.AnimatedNumber=void 0;var n=t(58331),r=t(28823);function o(v,i){v.prototype=Object.create(i.prototype),v.prototype.constructor=v,a(v,i)}function a(v,i){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function f(s,p){return s.__proto__=p,s}return f}(),a(v,i)}/** + */var c=(0,u.createLogger)("backend"),h=e.backendUpdate=(0,r.createAction)("backend/update"),d=e.backendSetSharedState=(0,r.createAction)("backend/setSharedState"),i=e.backendSuspendStart=(0,r.createAction)("backend/suspendStart"),v=e.backendSuspendSuccess=function(){function C(){return{type:"backend/suspendSuccess",payload:{timestamp:Date.now()}}}return C}(),s={config:{},data:{},shared:{},suspended:Date.now(),suspending:!1},p=e.backendReducer=function(){function C(S,y){S===void 0&&(S=s);var O=y.type,A=y.payload;if(O==="backend/update"){var N=Object.assign({},S.config,A.config),M=Object.assign({},S.data,A.static_data,A.data),R=Object.assign({},S.shared);if(A.shared)for(var L=0,x=Object.keys(A.shared);L<x.length;L++){var F=x[L],V=A.shared[F];V===""?R[F]=void 0:R[F]=JSON.parse(V)}return Object.assign({},S,{config:N,data:M,shared:R,suspended:!1})}if(O==="backend/setSharedState"){var G,B=A.key,U=A.nextState;return Object.assign({},S,{shared:Object.assign({},S.shared,(G={},G[B]=U,G))})}if(O==="backend/suspendStart")return Object.assign({},S,{suspending:!0});if(O==="backend/suspendSuccess"){var j=A.timestamp;return Object.assign({},S,{data:{},shared:{},config:Object.assign({},S.config,{title:"",status:1}),suspending:!1,suspended:j})}return S}return C}(),f=e.backendMiddleware=function(){function C(S){var y,O;return function(A){return function(N){var M=m(S.getState()),R=M.suspended,L=N.type,x=N.payload;if(L==="update"){S.dispatch(h(x));return}if(L==="suspend"){S.dispatch(v());return}if(L==="ping"){Byond.sendMessage("ping/reply");return}if(L==="backend/suspendStart"&&!O){c.log("suspending ("+Byond.windowId+")");var F=function(){function B(){return Byond.sendMessage("suspend")}return B}();F(),O=setInterval(F,2e3)}if(L==="backend/suspendSuccess"&&((0,l.suspendRenderer)(),clearInterval(O),O=void 0,Byond.winset(Byond.windowId,{"is-visible":!1}),setTimeout(function(){return(0,a.focusMap)()})),L==="backend/update"){var V,G=(V=x.config)==null||(V=V.window)==null?void 0:V.fancy;y===void 0?y=G:y!==G&&(c.log("changing fancy mode to",G),y=G,Byond.winset(Byond.windowId,{titlebar:!G,"can-resize":!G}))}return L==="backend/update"&&R&&(c.log("backend/update",x),(0,l.resumeRenderer)(),(0,o.setupDrag)(),setTimeout(function(){n.perf.mark("resume/start");var B=m(S.getState()),U=B.suspended;U||(Byond.winset(Byond.windowId,{"is-visible":!0}),n.perf.mark("resume/finish"))})),A(N)}}}return C}(),g=e.sendAct=function(){function C(S,y){y===void 0&&(y={});var O=typeof y=="object"&&y!==null&&!Array.isArray(y);if(!O){c.error("Payload for act() must be an object, got this:",y);return}Byond.sendMessage("act/"+S,y)}return C}(),m=e.selectBackend=function(){function C(S){return S.backend||{}}return C}(),b=e.useBackend=function(){function C(S){var y=S.store,O=m(y.getState());return Object.assign({},O,{act:g})}return C}(),I=e.useLocalState=function(){function C(S,y,O){var A,N=S.store,M=m(N.getState()),R=(A=M.shared)!=null?A:{},L=y in R?R[y]:O;return[L,function(x){N.dispatch(d({key:y,nextState:typeof x=="function"?x(L):x}))}]}return C}(),T=e.useSharedState=function(){function C(S,y,O){var A,N=S.store,M=m(N.getState()),R=(A=M.shared)!=null?A:{},L=y in R?R[y]:O;return[L,function(x){Byond.sendMessage({type:"setSharedState",key:y,value:JSON.stringify(typeof x=="function"?x(L):x)||""})}]}return C}()},65416:function(E,e,t){"use strict";e.__esModule=!0,e.AnimatedNumber=void 0;var n=t(36121),r=t(96524);function o(d,i){d.prototype=Object.create(i.prototype),d.prototype.constructor=d,a(d,i)}function a(d,i){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function v(s,p){return s.__proto__=p,s}return v}(),a(d,i)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var u=20,l=.5,c=function(i){return typeof i=="number"&&Number.isFinite(i)&&!Number.isNaN(i)},h=e.AnimatedNumber=function(v){o(i,v);function i(s){var p;return p=v.call(this,s)||this,p.timer=null,p.state={value:0},c(s.initial)?p.state.value=s.initial:c(s.value)&&(p.state.value=Number(s.value)),p}var f=i.prototype;return f.tick=function(){function s(){var p=this.props,d=this.state,g=Number(d.value),m=Number(p.value);if(c(m)){var S=g*l+m*(1-l);this.setState({value:S})}}return s}(),f.componentDidMount=function(){function s(){var p=this;this.timer=setInterval(function(){return p.tick()},1e3/u)}return s}(),f.componentWillUnmount=function(){function s(){clearTimeout(this.timer)}return s}(),f.render=function(){function s(){var p=this.props,d=this.state,g=p.format,m=p.children,S=d.value,I=p.value;if(!c(I))return I||null;var O=S;if(g)O=g(S);else{var C=String(I).split(".")[1],y=C?C.length:0;O=(0,n.toFixed)(S,(0,n.clamp)(y,0,8))}return typeof m=="function"?m(O,S):O}return s}(),i}(r.Component)},81789:function(E,e,t){"use strict";e.__esModule=!0,e.Autofocus=void 0;var n=t(28823);function r(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,o(u,l)}function o(u,l){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function c(h,v){return h.__proto__=v,h}return c}(),o(u,l)}var a=e.Autofocus=function(u){r(l,u);function l(){for(var h,v=arguments.length,i=new Array(v),f=0;f<v;f++)i[f]=arguments[f];return h=u.call.apply(u,[this].concat(i))||this,h.ref=(0,n.createRef)(),h}var c=l.prototype;return c.componentDidMount=function(){function h(){var v=this;setTimeout(function(){var i;(i=v.ref.current)==null||i.focus()},1)}return h}(),c.render=function(){function h(){return(0,n.createVNode)(1,"div",null,this.props.children,0,{tabIndex:-1},null,this.ref)}return h}(),l}(n.Component)},11316:function(E,e,t){"use strict";e.__esModule=!0,e.Blink=void 0;var n=t(28823);function r(c,h){c.prototype=Object.create(h.prototype),c.prototype.constructor=c,o(c,h)}function o(c,h){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function v(i,f){return i.__proto__=f,i}return v}(),o(c,h)}var a=1e3,u=1e3,l=e.Blink=function(c){r(h,c);function h(){var i;return i=c.call(this)||this,i.state={hidden:!1},i}var v=h.prototype;return v.createTimer=function(){function i(){var f=this,s=this.props,p=s.interval,d=p===void 0?a:p,g=s.time,m=g===void 0?u:g;clearInterval(this.interval),clearTimeout(this.timer),this.setState({hidden:!1}),this.interval=setInterval(function(){f.setState({hidden:!0}),f.timer=setTimeout(function(){f.setState({hidden:!1})},m)},d+m)}return i}(),v.componentDidMount=function(){function i(){this.createTimer()}return i}(),v.componentDidUpdate=function(){function i(f){(f.interval!==this.props.interval||f.time!==this.props.time)&&this.createTimer()}return i}(),v.componentWillUnmount=function(){function i(){clearInterval(this.interval),clearTimeout(this.timer)}return i}(),v.render=function(){function i(f){return(0,n.createVNode)(1,"span",null,f.children,0,{style:{visibility:this.state.hidden?"hidden":"visible"}})}return i}(),h}(n.Component)},26558:function(E,e,t){"use strict";e.__esModule=!0,e.BlockQuote=void 0;var n=t(28823),r=t(66586),o=t(93843),a=["className"];/** +*/var u=20,l=.5,c=function(i){return typeof i=="number"&&Number.isFinite(i)&&!Number.isNaN(i)},h=e.AnimatedNumber=function(d){function i(s){var p;return p=d.call(this,s)||this,p.timer=null,p.state={value:0},c(s.initial)?p.state.value=s.initial:c(s.value)&&(p.state.value=Number(s.value)),p}o(i,d);var v=i.prototype;return v.tick=function(){function s(){var p=this.props,f=this.state,g=Number(f.value),m=Number(p.value);if(c(m)){var b=g*l+m*(1-l);this.setState({value:b})}}return s}(),v.componentDidMount=function(){function s(){var p=this;this.timer=setInterval(function(){return p.tick()},1e3/u)}return s}(),v.componentWillUnmount=function(){function s(){clearTimeout(this.timer)}return s}(),v.render=function(){function s(){var p=this.props,f=this.state,g=p.format,m=p.children,b=f.value,I=p.value;if(!c(I))return I||null;var T=b;if(g)T=g(b);else{var C=String(I).split(".")[1],S=C?C.length:0;T=(0,n.toFixed)(b,(0,n.clamp)(S,0,8))}return typeof m=="function"?m(T,b):T}return s}(),i}(r.Component)},11735:function(E,e,t){"use strict";e.__esModule=!0,e.Autofocus=void 0;var n=t(96524);function r(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,o(u,l)}function o(u,l){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function c(h,d){return h.__proto__=d,h}return c}(),o(u,l)}var a=e.Autofocus=function(u){function l(){for(var h,d=arguments.length,i=new Array(d),v=0;v<d;v++)i[v]=arguments[v];return h=u.call.apply(u,[this].concat(i))||this,h.ref=(0,n.createRef)(),h}r(l,u);var c=l.prototype;return c.componentDidMount=function(){function h(){var d=this;setTimeout(function(){var i;(i=d.ref.current)==null||i.focus()},1)}return h}(),c.render=function(){function h(){return(0,n.createVNode)(1,"div",null,this.props.children,0,{tabIndex:-1},null,this.ref)}return h}(),l}(n.Component)},35436:function(E,e,t){"use strict";e.__esModule=!0,e.Blink=void 0;var n=t(96524);function r(c,h){c.prototype=Object.create(h.prototype),c.prototype.constructor=c,o(c,h)}function o(c,h){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function d(i,v){return i.__proto__=v,i}return d}(),o(c,h)}var a=1e3,u=1e3,l=e.Blink=function(c){function h(){var i;return i=c.call(this)||this,i.state={hidden:!1},i}r(h,c);var d=h.prototype;return d.createTimer=function(){function i(){var v=this,s=this.props,p=s.interval,f=p===void 0?a:p,g=s.time,m=g===void 0?u:g;clearInterval(this.interval),clearTimeout(this.timer),this.setState({hidden:!1}),this.interval=setInterval(function(){v.setState({hidden:!0}),v.timer=setTimeout(function(){v.setState({hidden:!1})},m)},f+m)}return i}(),d.componentDidMount=function(){function i(){this.createTimer()}return i}(),d.componentDidUpdate=function(){function i(v){(v.interval!==this.props.interval||v.time!==this.props.time)&&this.createTimer()}return i}(),d.componentWillUnmount=function(){function i(){clearInterval(this.interval),clearTimeout(this.timer)}return i}(),d.render=function(){function i(v){return(0,n.createVNode)(1,"span",null,v.children,0,{style:{visibility:this.state.hidden?"hidden":"visible"}})}return i}(),h}(n.Component)},55239:function(E,e,t){"use strict";e.__esModule=!0,e.BlockQuote=void 0;var n=t(96524),r=t(28234),o=t(3051),a=["className"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function u(c,h){if(c==null)return{};var v={},i=Object.keys(c),f,s;for(s=0;s<i.length;s++)f=i[s],!(h.indexOf(f)>=0)&&(v[f]=c[f]);return v}var l=e.BlockQuote=function(){function c(h){var v=h.className,i=u(h,a);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({className:(0,r.classes)(["BlockQuote",v])},i)))}return c}()},93843:function(E,e,t){"use strict";e.__esModule=!0,e.unit=e.halfUnit=e.computeBoxProps=e.computeBoxClassName=e.Box=void 0;var n=t(66586),r=t(28823),o=t(32883),a=t(30381),u=["as","className","children"];/** + */function u(c,h){if(c==null)return{};var d={},i=Object.keys(c),v,s;for(s=0;s<i.length;s++)v=i[s],!(h.indexOf(v)>=0)&&(d[v]=c[v]);return d}var l=e.BlockQuote=function(){function c(h){var d=h.className,i=u(h,a);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({className:(0,r.classes)(["BlockQuote",d])},i)))}return c}()},3051:function(E,e,t){"use strict";e.__esModule=!0,e.unit=e.halfUnit=e.computeBoxProps=e.computeBoxClassName=e.Box=void 0;var n=t(28234),r=t(96524),o=t(92572),a=t(38424),u=["as","className","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function l(C,y){if(C==null)return{};var b={},T=Object.keys(C),P,N;for(N=0;N<T.length;N++)P=T[N],!(y.indexOf(P)>=0)&&(b[P]=C[P]);return b}var c=e.unit=function(){function C(y){if(typeof y=="string")return y.endsWith("px")&&!Byond.IS_LTE_IE8?parseFloat(y)/12+"rem":y;if(typeof y=="number")return Byond.IS_LTE_IE8?y*12+"px":y+"rem"}return C}(),h=e.halfUnit=function(){function C(y){if(typeof y=="string")return c(y);if(typeof y=="number")return c(y*.5)}return C}(),v=function(y){return!i(y)},i=function(y){if(typeof y=="string")return a.CSS_COLORS.includes(y)},f=function(y){return function(b,T){(typeof T=="number"||typeof T=="string")&&(b[y]=T)}},s=function(y,b){return function(T,P){(typeof P=="number"||typeof P=="string")&&(T[y]=b(P))}},p=function(y,b){return function(T,P){P&&(T[y]=b)}},d=function(y,b,T){return function(P,N){if(typeof N=="number"||typeof N=="string")for(var M=0;M<T.length;M++)P[y+"-"+T[M]]=b(N)}},g=function(y){return function(b,T){v(T)&&(b[y]=T)}},m={position:f("position"),overflow:f("overflow"),overflowX:f("overflow-x"),overflowY:f("overflow-y"),top:s("top",c),bottom:s("bottom",c),left:s("left",c),right:s("right",c),width:s("width",c),minWidth:s("min-width",c),maxWidth:s("max-width",c),height:s("height",c),minHeight:s("min-height",c),maxHeight:s("max-height",c),fontSize:s("font-size",c),fontFamily:f("font-family"),lineHeight:function(){function C(y,b){typeof b=="number"?y["line-height"]=b:typeof b=="string"&&(y["line-height"]=c(b))}return C}(),opacity:f("opacity"),textAlign:f("text-align"),verticalAlign:f("vertical-align"),inline:p("display","inline-block"),bold:p("font-weight","bold"),italic:p("font-style","italic"),nowrap:p("white-space","nowrap"),preserveWhitespace:p("white-space","pre-wrap"),m:d("margin",h,["top","bottom","left","right"]),mx:d("margin",h,["left","right"]),my:d("margin",h,["top","bottom"]),mt:s("margin-top",h),mb:s("margin-bottom",h),ml:s("margin-left",h),mr:s("margin-right",h),p:d("padding",h,["top","bottom","left","right"]),px:d("padding",h,["left","right"]),py:d("padding",h,["top","bottom"]),pt:s("padding-top",h),pb:s("padding-bottom",h),pl:s("padding-left",h),pr:s("padding-right",h),color:g("color"),textColor:g("color"),backgroundColor:g("background-color"),fillPositionedParent:function(){function C(y,b){b&&(y.position="absolute",y.top=0,y.bottom=0,y.left=0,y.right=0)}return C}()},S=e.computeBoxProps=function(){function C(y){for(var b={},T={},P=0,N=Object.keys(y);P<N.length;P++){var M=N[P];if(M!=="style"){if(Byond.IS_LTE_IE8&&M==="onClick"){b.onclick=y[M];continue}var R=y[M],L=m[M];L?L(T,R):b[M]=R}}for(var K="",U=0,F=Object.keys(T);U<F.length;U++){var $=F[U],B=T[$];K+=$+":"+B+";"}if(y.style)for(var x=0,V=Object.keys(y.style);x<V.length;x++){var G=V[x],Y=y.style[G];K+=G+":"+Y+";"}return K.length>0&&(b.style=K),b}return C}(),I=e.computeBoxClassName=function(){function C(y){var b=y.textColor||y.color,T=y.backgroundColor;return(0,n.classes)([i(b)&&"color-"+b,i(T)&&"color-bg-"+T])}return C}(),O=e.Box=function(){function C(y){var b=y.as,T=b===void 0?"div":b,P=y.className,N=y.children,M=l(y,u);if(typeof N=="function")return N(S(y));var R=typeof P=="string"?P+" "+I(M):I(M),L=S(M);return(0,r.createVNode)(o.VNodeFlags.HtmlElement,T,R,N,o.ChildFlags.UnknownChildren,L)}return C}();O.defaultHooks=n.pureComponentHooks},16699:function(E,e,t){"use strict";e.__esModule=!0,e.ButtonInput=e.ButtonConfirm=e.ButtonCheckbox=e.Button=void 0;var n=t(28823),r=t(66586),o=t(31068),a=t(50175),u=t(93843),l=t(69433),c=t(30341),h=["className","fluid","icon","iconRotation","iconSpin","color","textColor","disabled","selected","tooltip","tooltipPosition","ellipsis","compact","circular","content","iconColor","iconRight","iconStyle","children","onclick","onClick","multiLine"],v=["checked"],i=["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"],f=["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","disabled","placeholder","maxLength","multiLine"];/** + */function l(C,S){if(C==null)return{};var y={},O=Object.keys(C),A,N;for(N=0;N<O.length;N++)A=O[N],!(S.indexOf(A)>=0)&&(y[A]=C[A]);return y}var c=e.unit=function(){function C(S){if(typeof S=="string")return S.endsWith("px")?parseFloat(S)/12+"rem":S;if(typeof S=="number")return S+"rem"}return C}(),h=e.halfUnit=function(){function C(S){if(typeof S=="string")return c(S);if(typeof S=="number")return c(S*.5)}return C}(),d=function(S){return!i(S)},i=function(S){if(typeof S=="string")return a.CSS_COLORS.includes(S)},v=function(S){return function(y,O){(typeof O=="number"||typeof O=="string")&&(y[S]=O)}},s=function(S,y){return function(O,A){(typeof A=="number"||typeof A=="string")&&(O[S]=y(A))}},p=function(S,y){return function(O,A){A&&(O[S]=y)}},f=function(S,y,O){return function(A,N){if(typeof N=="number"||typeof N=="string")for(var M=0;M<O.length;M++)A[S+"-"+O[M]]=y(N)}},g=function(S){return function(y,O){d(O)&&(y[S]=O)}},m={position:v("position"),overflow:v("overflow"),overflowX:v("overflow-x"),overflowY:v("overflow-y"),top:s("top",c),bottom:s("bottom",c),left:s("left",c),right:s("right",c),width:s("width",c),minWidth:s("min-width",c),maxWidth:s("max-width",c),height:s("height",c),minHeight:s("min-height",c),maxHeight:s("max-height",c),fontSize:s("font-size",c),fontFamily:v("font-family"),lineHeight:function(){function C(S,y){typeof y=="number"?S["line-height"]=y:typeof y=="string"&&(S["line-height"]=c(y))}return C}(),opacity:v("opacity"),textAlign:v("text-align"),verticalAlign:v("vertical-align"),inline:p("display","inline-block"),bold:p("font-weight","bold"),italic:p("font-style","italic"),nowrap:p("white-space","nowrap"),preserveWhitespace:p("white-space","pre-wrap"),m:f("margin",h,["top","bottom","left","right"]),mx:f("margin",h,["left","right"]),my:f("margin",h,["top","bottom"]),mt:s("margin-top",h),mb:s("margin-bottom",h),ml:s("margin-left",h),mr:s("margin-right",h),p:f("padding",h,["top","bottom","left","right"]),px:f("padding",h,["left","right"]),py:f("padding",h,["top","bottom"]),pt:s("padding-top",h),pb:s("padding-bottom",h),pl:s("padding-left",h),pr:s("padding-right",h),color:g("color"),textColor:g("color"),backgroundColor:g("background-color"),fillPositionedParent:function(){function C(S,y){y&&(S.position="absolute",S.top=0,S.bottom=0,S.left=0,S.right=0)}return C}()},b=e.computeBoxProps=function(){function C(S){for(var y={},O={},A=0,N=Object.keys(S);A<N.length;A++){var M=N[A];if(M!=="style"){var R=S[M],L=m[M];L?L(O,R):y[M]=R}}for(var x="",F=0,V=Object.keys(O);F<V.length;F++){var G=V[F],B=O[G];x+=G+":"+B+";"}if(S.style)for(var U=0,j=Object.keys(S.style);U<j.length;U++){var K=j[U],$=S.style[K];x+=K+":"+$+";"}return x.length>0&&(y.style=x),y}return C}(),I=e.computeBoxClassName=function(){function C(S){var y=S.textColor||S.color,O=S.backgroundColor;return(0,n.classes)([i(y)&&"color-"+y,i(O)&&"color-bg-"+O])}return C}(),T=e.Box=function(){function C(S){var y=S.as,O=y===void 0?"div":y,A=S.className,N=S.children,M=l(S,u);if(typeof N=="function")return N(b(S));var R=typeof A=="string"?A+" "+I(M):I(M),L=b(M);return(0,r.createVNode)(o.VNodeFlags.HtmlElement,O,R,N,o.ChildFlags.UnknownChildren,L)}return C}();T.defaultHooks=n.pureComponentHooks},91688:function(E,e,t){"use strict";e.__esModule=!0,e.ButtonInput=e.ButtonConfirm=e.ButtonCheckbox=e.Button=void 0;var n=t(96524),r=t(28234),o=t(68100),a=t(81856),u=t(3051),l=t(11253),c=t(58749),h=["className","fluid","icon","iconRotation","iconSpin","color","textColor","disabled","selected","tooltip","tooltipPosition","ellipsis","compact","circular","content","iconColor","iconRight","iconStyle","children","onclick","onClick","multiLine"],d=["checked"],i=["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"],v=["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","disabled","placeholder","maxLength","multiLine"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function s(C,y){C.prototype=Object.create(y.prototype),C.prototype.constructor=C,p(C,y)}function p(C,y){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function b(T,P){return T.__proto__=P,T}return b}(),p(C,y)}function d(C,y){if(C==null)return{};var b={},T=Object.keys(C),P,N;for(N=0;N<T.length;N++)P=T[N],!(y.indexOf(P)>=0)&&(b[P]=C[P]);return b}var g=(0,a.createLogger)("Button"),m=e.Button=function(){function C(y){var b=y.className,T=y.fluid,P=y.icon,N=y.iconRotation,M=y.iconSpin,R=y.color,L=y.textColor,K=y.disabled,U=y.selected,F=y.tooltip,$=y.tooltipPosition,B=y.ellipsis,x=y.compact,V=y.circular,G=y.content,Y=y.iconColor,k=y.iconRight,nt=y.iconStyle,ut=y.children,ft=y.onclick,W=y.onClick,X=y.multiLine,et=d(y,h),ct=!!(G||ut);ft&&g.warn("Lowercase 'onclick' is not supported on Button and lowercase prop names are discouraged in general. Please use a camelCase'onClick' instead and read: https://infernojs.org/docs/guides/event-handling"),et.onClick=function(St){!K&&W&&W(St)},Byond.IS_LTE_IE8&&(et.unselectable=!0);var at=(0,n.normalizeProps)((0,n.createComponentVNode)(2,u.Box,Object.assign({className:(0,r.classes)(["Button",T&&"Button--fluid",K&&"Button--disabled",U&&"Button--selected",ct&&"Button--hasContent",B&&"Button--ellipsis",V&&"Button--circular",x&&"Button--compact",k&&"Button--iconRight",X&&"Button--multiLine",R&&typeof R=="string"?"Button--color--"+R:"Button--color--default",b]),tabIndex:!K&&"0",color:L,onKeyDown:function(){function St(Pt){var Rt=window.event?Pt.which:Pt.keyCode;if(Rt===o.KEY_SPACE||Rt===o.KEY_ENTER){Pt.preventDefault(),!K&&W&&W(Pt);return}if(Rt===o.KEY_ESCAPE){Pt.preventDefault();return}}return St}()},et,{children:[P&&!k&&(0,n.createComponentVNode)(2,l.Icon,{name:P,color:Y,rotation:N,spin:M,style:nt}),G,ut,P&&k&&(0,n.createComponentVNode)(2,l.Icon,{name:P,color:Y,rotation:N,spin:M,style:nt})]})));return F&&(at=(0,n.createComponentVNode)(2,c.Tooltip,{content:F,position:$,children:at})),at}return C}();m.defaultHooks=r.pureComponentHooks;var S=e.ButtonCheckbox=function(){function C(y){var b=y.checked,T=d(y,v);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,m,Object.assign({color:"transparent",icon:b?"check-square-o":"square-o",selected:b},T)))}return C}();m.Checkbox=S;var I=e.ButtonConfirm=function(C){s(y,C);function y(){var T;return T=C.call(this)||this,T.state={clickedOnce:!1},T.handleClick=function(){T.state.clickedOnce&&T.setClickedOnce(!1)},T}var b=y.prototype;return b.setClickedOnce=function(){function T(P){var N=this;this.setState({clickedOnce:P}),P?setTimeout(function(){return window.addEventListener("click",N.handleClick)}):window.removeEventListener("click",this.handleClick)}return T}(),b.render=function(){function T(){var P=this,N=this.props,M=N.confirmContent,R=M===void 0?"Confirm?":M,L=N.confirmColor,K=L===void 0?"bad":L,U=N.confirmIcon,F=N.icon,$=N.color,B=N.content,x=N.onClick,V=d(N,i);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,m,Object.assign({content:this.state.clickedOnce?R:B,icon:this.state.clickedOnce?U:F,color:this.state.clickedOnce?K:$,onClick:function(){function G(){return P.state.clickedOnce?x():P.setClickedOnce(!0)}return G}()},V)))}return T}(),y}(n.Component);m.Confirm=I;var O=e.ButtonInput=function(C){s(y,C);function y(){var T;return T=C.call(this)||this,T.inputRef=(0,n.createRef)(),T.state={inInput:!1},T}var b=y.prototype;return b.setInInput=function(){function T(P){var N=this.props.disabled;if(!N&&(this.setState({inInput:P}),this.inputRef)){var M=this.inputRef.current;if(P){M.value=this.props.currentValue||"";try{M.focus(),M.select()}catch(R){}}}}return T}(),b.commitResult=function(){function T(P){if(this.inputRef){var N=this.inputRef.current,M=N.value!=="";if(M){this.props.onCommit(P,N.value);return}else{if(!this.props.defaultValue)return;this.props.onCommit(P,this.props.defaultValue)}}}return T}(),b.render=function(){function T(){var P=this,N=this.props,M=N.fluid,R=N.content,L=N.icon,K=N.iconRotation,U=N.iconSpin,F=N.tooltip,$=N.tooltipPosition,B=N.color,x=B===void 0?"default":B,V=N.disabled,G=N.placeholder,Y=N.maxLength,k=N.multiLine,nt=d(N,f),ut=(0,n.normalizeProps)((0,n.createComponentVNode)(2,u.Box,Object.assign({className:(0,r.classes)(["Button",M&&"Button--fluid",V&&"Button--disabled","Button--color--"+x,k+"Button--multiLine"])},nt,{onClick:function(){function ft(){return P.setInInput(!0)}return ft}(),children:[L&&(0,n.createComponentVNode)(2,l.Icon,{name:L,rotation:K,spin:U}),(0,n.createVNode)(1,"div",null,R,0),(0,n.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?void 0:"none","text-align":"left"},onBlur:function(){function ft(W){P.state.inInput&&(P.setInInput(!1),P.commitResult(W))}return ft}(),onKeyDown:function(){function ft(W){if(W.keyCode===o.KEY_ENTER){P.setInInput(!1),P.commitResult(W);return}W.keyCode===o.KEY_ESCAPE&&P.setInInput(!1)}return ft}()},null,this.inputRef)]})));return F&&(ut=(0,n.createComponentVNode)(2,c.Tooltip,{content:F,position:$,children:ut})),ut}return T}(),y}(n.Component);m.Input=O},75614:function(E,e,t){"use strict";e.__esModule=!0,e.ByondUi=void 0;var n=t(28823),r=t(66586),o=t(32742),a=t(50175),u=t(93843),l=["params"],c=["params"],h=["parent","params"];function v(I,O){if(I==null)return{};var C={},y=Object.keys(I),b,T;for(T=0;T<y.length;T++)b=y[T],!(O.indexOf(b)>=0)&&(C[b]=I[b]);return C}function i(I,O){I.prototype=Object.create(O.prototype),I.prototype.constructor=I,f(I,O)}function f(I,O){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function C(y,b){return y.__proto__=b,y}return C}(),f(I,O)}/** + */function s(C,S){C.prototype=Object.create(S.prototype),C.prototype.constructor=C,p(C,S)}function p(C,S){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function y(O,A){return O.__proto__=A,O}return y}(),p(C,S)}function f(C,S){if(C==null)return{};var y={},O=Object.keys(C),A,N;for(N=0;N<O.length;N++)A=O[N],!(S.indexOf(A)>=0)&&(y[A]=C[A]);return y}var g=(0,a.createLogger)("Button"),m=e.Button=function(){function C(S){var y=S.className,O=S.fluid,A=S.icon,N=S.iconRotation,M=S.iconSpin,R=S.color,L=S.textColor,x=S.disabled,F=S.selected,V=S.tooltip,G=S.tooltipPosition,B=S.ellipsis,U=S.compact,j=S.circular,K=S.content,$=S.iconColor,W=S.iconRight,nt=S.iconStyle,st=S.children,gt=S.onclick,k=S.onClick,X=S.multiLine,tt=f(S,h),ct=!!(K||st);gt&&g.warn("Lowercase 'onclick' is not supported on Button and lowercase prop names are discouraged in general. Please use a camelCase'onClick' instead and read: https://infernojs.org/docs/guides/event-handling"),tt.onClick=function(St){!x&&k&&k(St)};var at=(0,n.normalizeProps)((0,n.createComponentVNode)(2,u.Box,Object.assign({className:(0,r.classes)(["Button",O&&"Button--fluid",x&&"Button--disabled",F&&"Button--selected",ct&&"Button--hasContent",B&&"Button--ellipsis",j&&"Button--circular",U&&"Button--compact",W&&"Button--iconRight",X&&"Button--multiLine",R&&typeof R=="string"?"Button--color--"+R:"Button--color--default",y]),tabIndex:!x&&"0",color:L,onKeyDown:function(){function St(Mt){var wt=window.event?Mt.which:Mt.keyCode;if(wt===o.KEY_SPACE||wt===o.KEY_ENTER){Mt.preventDefault(),!x&&k&&k(Mt);return}if(wt===o.KEY_ESCAPE){Mt.preventDefault();return}}return St}()},tt,{children:[A&&!W&&(0,n.createComponentVNode)(2,l.Icon,{name:A,color:$,rotation:N,spin:M,style:nt}),K,st,A&&W&&(0,n.createComponentVNode)(2,l.Icon,{name:A,color:$,rotation:N,spin:M,style:nt})]})));return V&&(at=(0,n.createComponentVNode)(2,c.Tooltip,{content:V,position:G,children:at})),at}return C}();m.defaultHooks=r.pureComponentHooks;var b=e.ButtonCheckbox=function(){function C(S){var y=S.checked,O=f(S,d);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,m,Object.assign({color:"transparent",icon:y?"check-square-o":"square-o",selected:y},O)))}return C}();m.Checkbox=b;var I=e.ButtonConfirm=function(C){function S(){var O;return O=C.call(this)||this,O.state={clickedOnce:!1},O.handleClick=function(){O.state.clickedOnce&&O.setClickedOnce(!1)},O}s(S,C);var y=S.prototype;return y.setClickedOnce=function(){function O(A){var N=this;this.setState({clickedOnce:A}),A?setTimeout(function(){return window.addEventListener("click",N.handleClick)}):window.removeEventListener("click",this.handleClick)}return O}(),y.render=function(){function O(){var A=this,N=this.props,M=N.confirmContent,R=M===void 0?"Confirm?":M,L=N.confirmColor,x=L===void 0?"bad":L,F=N.confirmIcon,V=N.icon,G=N.color,B=N.content,U=N.onClick,j=f(N,i);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,m,Object.assign({content:this.state.clickedOnce?R:B,icon:this.state.clickedOnce?F:V,color:this.state.clickedOnce?x:G,onClick:function(){function K(){return A.state.clickedOnce?U():A.setClickedOnce(!0)}return K}()},j)))}return O}(),S}(n.Component);m.Confirm=I;var T=e.ButtonInput=function(C){function S(){var O;return O=C.call(this)||this,O.inputRef=(0,n.createRef)(),O.state={inInput:!1},O}s(S,C);var y=S.prototype;return y.setInInput=function(){function O(A){var N=this.props.disabled;if(!N&&(this.setState({inInput:A}),this.inputRef)){var M=this.inputRef.current;if(A){M.value=this.props.currentValue||"";try{M.focus(),M.select()}catch(R){}}}}return O}(),y.commitResult=function(){function O(A){if(this.inputRef){var N=this.inputRef.current,M=N.value!=="";if(M){this.props.onCommit(A,N.value);return}else{if(!this.props.defaultValue)return;this.props.onCommit(A,this.props.defaultValue)}}}return O}(),y.render=function(){function O(){var A=this,N=this.props,M=N.fluid,R=N.content,L=N.icon,x=N.iconRotation,F=N.iconSpin,V=N.tooltip,G=N.tooltipPosition,B=N.color,U=B===void 0?"default":B,j=N.disabled,K=N.placeholder,$=N.maxLength,W=N.multiLine,nt=f(N,v),st=(0,n.normalizeProps)((0,n.createComponentVNode)(2,u.Box,Object.assign({className:(0,r.classes)(["Button",M&&"Button--fluid",j&&"Button--disabled","Button--color--"+U,W+"Button--multiLine"])},nt,{onClick:function(){function gt(){return A.setInInput(!0)}return gt}(),children:[L&&(0,n.createComponentVNode)(2,l.Icon,{name:L,rotation:x,spin:F}),(0,n.createVNode)(1,"div",null,R,0),(0,n.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?void 0:"none","text-align":"left"},onBlur:function(){function gt(k){A.state.inInput&&(A.setInInput(!1),A.commitResult(k))}return gt}(),onKeyDown:function(){function gt(k){if(k.keyCode===o.KEY_ENTER){A.setInInput(!1),A.commitResult(k);return}k.keyCode===o.KEY_ESCAPE&&A.setInInput(!1)}return gt}()},null,this.inputRef)]})));return V&&(st=(0,n.createComponentVNode)(2,c.Tooltip,{content:V,position:G,children:st})),st}return O}(),S}(n.Component);m.Input=T},42204:function(E,e,t){"use strict";e.__esModule=!0,e.ByondUi=void 0;var n=t(96524),r=t(28234),o=t(56052),a=t(81856),u=t(3051),l=["params"],c=["params"],h=["parent","params"];function d(I,T){if(I==null)return{};var C={},S=Object.keys(I),y,O;for(O=0;O<S.length;O++)y=S[O],!(T.indexOf(y)>=0)&&(C[y]=I[y]);return C}function i(I,T){I.prototype=Object.create(T.prototype),I.prototype.constructor=I,v(I,T)}function v(I,T){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function C(S,y){return S.__proto__=y,S}return C}(),v(I,T)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var s=(0,a.createLogger)("ByondUi"),p=[],d=function(O){var C=p.length;p.push(null);var y=O||"byondui_"+C;return s.log("allocated '"+y+"'"),{render:function(){function b(T){s.log("rendering '"+y+"'"),p[C]=y,Byond.winset(y,T)}return b}(),unmount:function(){function b(){s.log("unmounting '"+y+"'"),p[C]=null,Byond.winset(y,{parent:""})}return b}()}};window.addEventListener("beforeunload",function(){for(var I=0;I<p.length;I++){var O=p[I];typeof O=="string"&&(s.log("unmounting '"+O+"' (beforeunload)"),p[I]=null,Byond.winset(O,{parent:""}))}});var g=function(O){var C=O.getBoundingClientRect();return{pos:[C.left,C.top],size:[C.right-C.left,C.bottom-C.top]}},m=e.ByondUi=function(I){i(O,I);function O(y){var b,T;return T=I.call(this,y)||this,T.containerRef=(0,n.createRef)(),T.byondUiElement=d((b=y.params)==null?void 0:b.id),T.handleResize=(0,o.debounce)(function(){T.forceUpdate()},100),T}var C=O.prototype;return C.shouldComponentUpdate=function(){function y(b){var T=this.props,P=T.params,N=P===void 0?{}:P,M=v(T,l),R=b.params,L=R===void 0?{}:R,K=v(b,c);return(0,r.shallowDiffers)(N,L)||(0,r.shallowDiffers)(M,K)}return y}(),C.componentDidMount=function(){function y(){Byond.IS_LTE_IE10||(window.addEventListener("resize",this.handleResize),this.componentDidUpdate(),this.handleResize())}return y}(),C.componentDidUpdate=function(){function y(){if(!Byond.IS_LTE_IE10){var b=this.props.params,T=b===void 0?{}:b,P=g(this.containerRef.current);s.debug("bounding box",P),this.byondUiElement.render(Object.assign({parent:Byond.windowId},T,{pos:P.pos[0]+","+P.pos[1],size:P.size[0]+"x"+P.size[1]}))}}return y}(),C.componentWillUnmount=function(){function y(){Byond.IS_LTE_IE10||(window.removeEventListener("resize",this.handleResize),this.byondUiElement.unmount())}return y}(),C.render=function(){function y(){var b=this.props,T=b.parent,P=b.params,N=v(b,h),M=(0,u.computeBoxProps)(N);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",null,(0,n.createVNode)(1,"div",null,null,1,{style:{"min-height":"22px"}}),0,Object.assign({},M),null,this.containerRef))}return y}(),O}(n.Component),S=function(){return(0,n.createVNode)(1,"div",null,null,1,{style:{"min-height":"22px"}})}},2909:function(E,e,t){"use strict";e.__esModule=!0,e.Chart=void 0;var n=t(28823),r=t(72026),o=t(66586),a=t(93843),u=["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"];function l(d,g){if(d==null)return{};var m={},S=Object.keys(d),I,O;for(O=0;O<S.length;O++)I=S[O],!(g.indexOf(I)>=0)&&(m[I]=d[I]);return m}function c(d,g){d.prototype=Object.create(g.prototype),d.prototype.constructor=d,h(d,g)}function h(d,g){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function m(S,I){return S.__proto__=I,S}return m}(),h(d,g)}/** +*/var s=(0,a.createLogger)("ByondUi"),p=[],f=function(T){var C=p.length;p.push(null);var S=T||"byondui_"+C;return s.log("allocated '"+S+"'"),{render:function(){function y(O){s.log("rendering '"+S+"'"),p[C]=S,Byond.winset(S,O)}return y}(),unmount:function(){function y(){s.log("unmounting '"+S+"'"),p[C]=null,Byond.winset(S,{parent:""})}return y}()}};window.addEventListener("beforeunload",function(){for(var I=0;I<p.length;I++){var T=p[I];typeof T=="string"&&(s.log("unmounting '"+T+"' (beforeunload)"),p[I]=null,Byond.winset(T,{parent:""}))}});var g=function(T){var C=T.getBoundingClientRect();return{pos:[C.left,C.top],size:[C.right-C.left,C.bottom-C.top]}},m=e.ByondUi=function(I){function T(S){var y,O;return O=I.call(this,S)||this,O.containerRef=(0,n.createRef)(),O.byondUiElement=f((y=S.params)==null?void 0:y.id),O.handleResize=(0,o.debounce)(function(){O.forceUpdate()},100),O}i(T,I);var C=T.prototype;return C.shouldComponentUpdate=function(){function S(y){var O=this.props,A=O.params,N=A===void 0?{}:A,M=d(O,l),R=y.params,L=R===void 0?{}:R,x=d(y,c);return(0,r.shallowDiffers)(N,L)||(0,r.shallowDiffers)(M,x)}return S}(),C.componentDidMount=function(){function S(){window.addEventListener("resize",this.handleResize),this.componentDidUpdate(),this.handleResize()}return S}(),C.componentDidUpdate=function(){function S(){var y=this.props.params,O=y===void 0?{}:y,A=g(this.containerRef.current);s.debug("bounding box",A),this.byondUiElement.render(Object.assign({parent:Byond.windowId},O,{pos:A.pos[0]+","+A.pos[1],size:A.size[0]+"x"+A.size[1]}))}return S}(),C.componentWillUnmount=function(){function S(){window.removeEventListener("resize",this.handleResize),this.byondUiElement.unmount()}return S}(),C.render=function(){function S(){var y=this.props,O=y.parent,A=y.params,N=d(y,h),M=(0,u.computeBoxProps)(N);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",null,(0,n.createVNode)(1,"div",null,null,1,{style:{"min-height":"22px"}}),0,Object.assign({},M),null,this.containerRef))}return S}(),T}(n.Component),b=function(){return(0,n.createVNode)(1,"div",null,null,1,{style:{"min-height":"22px"}})}},41886:function(E,e,t){"use strict";e.__esModule=!0,e.Chart=void 0;var n=t(96524),r=t(50640),o=t(28234),a=t(3051),u=["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"];function l(f,g){if(f==null)return{};var m={},b=Object.keys(f),I,T;for(T=0;T<b.length;T++)I=b[T],!(g.indexOf(I)>=0)&&(m[I]=f[I]);return m}function c(f,g){f.prototype=Object.create(g.prototype),f.prototype.constructor=f,h(f,g)}function h(f,g){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function m(b,I){return b.__proto__=I,b}return m}(),h(f,g)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var v=function(g,m,S,I){if(g.length===0)return[];var O=(0,r.zipWith)(Math.min).apply(void 0,g),C=(0,r.zipWith)(Math.max).apply(void 0,g);S!==void 0&&(O[0]=S[0],C[0]=S[1]),I!==void 0&&(O[1]=I[0],C[1]=I[1]);var y=(0,r.map)(function(b){return(0,r.zipWith)(function(T,P,N,M){return(T-P)/(N-P)*M})(b,O,C,m)})(g);return y},i=function(g){for(var m="",S=0;S<g.length;S++){var I=g[S];m+=I[0]+","+I[1]+" "}return m},f=function(d){c(g,d);function g(S){var I;return I=d.call(this,S)||this,I.ref=(0,n.createRef)(),I.state={viewBox:[600,200]},I.handleResize=function(){var O=I.ref.current;I.setState({viewBox:[O.offsetWidth,O.offsetHeight]})},I}var m=g.prototype;return m.componentDidMount=function(){function S(){window.addEventListener("resize",this.handleResize),this.handleResize()}return S}(),m.componentWillUnmount=function(){function S(){window.removeEventListener("resize",this.handleResize)}return S}(),m.render=function(){function S(){var I=this,O=this.props,C=O.data,y=C===void 0?[]:C,b=O.rangeX,T=O.rangeY,P=O.fillColor,N=P===void 0?"none":P,M=O.strokeColor,R=M===void 0?"#ffffff":M,L=O.strokeWidth,K=L===void 0?2:L,U=l(O,u),F=this.state.viewBox,$=v(y,F,b,T);if($.length>0){var B=$[0],x=$[$.length-1];$.push([F[0]+K,x[1]]),$.push([F[0]+K,-K]),$.push([-K,-K]),$.push([-K,B[1]])}var V=i($);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,a.Box,Object.assign({position:"relative"},U,{children:function(){function G(Y){return(0,n.normalizeProps)((0,n.createVNode)(1,"div",null,(0,n.createVNode)(32,"svg",null,(0,n.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+F[1]+")",fill:N,stroke:R,"stroke-width":K,points:V}),2,{viewBox:"0 0 "+F[0]+" "+F[1],preserveAspectRatio:"none",style:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"}}),2,Object.assign({},Y),null,I.ref))}return G}()})))}return S}(),g}(n.Component);f.defaultHooks=o.pureComponentHooks;var s=function(g){return null},p=e.Chart={Line:Byond.IS_LTE_IE8?s:f}},52760:function(E,e,t){"use strict";e.__esModule=!0,e.Collapsible=void 0;var n=t(28823),r=t(93843),o=t(16699),a=["children","color","title","buttons"];function u(v,i){if(v==null)return{};var f={},s=Object.keys(v),p,d;for(d=0;d<s.length;d++)p=s[d],!(i.indexOf(p)>=0)&&(f[p]=v[p]);return f}function l(v,i){v.prototype=Object.create(i.prototype),v.prototype.constructor=v,c(v,i)}function c(v,i){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function f(s,p){return s.__proto__=p,s}return f}(),c(v,i)}/** +*/var d=function(g,m,b,I){if(g.length===0)return[];var T=(0,r.zipWith)(Math.min).apply(void 0,g),C=(0,r.zipWith)(Math.max).apply(void 0,g);b!==void 0&&(T[0]=b[0],C[0]=b[1]),I!==void 0&&(T[1]=I[0],C[1]=I[1]);var S=(0,r.map)(function(y){return(0,r.zipWith)(function(O,A,N,M){return(O-A)/(N-A)*M})(y,T,C,m)})(g);return S},i=function(g){for(var m="",b=0;b<g.length;b++){var I=g[b];m+=I[0]+","+I[1]+" "}return m},v=function(f){function g(b){var I;return I=f.call(this,b)||this,I.ref=(0,n.createRef)(),I.state={viewBox:[600,200]},I.handleResize=function(){var T=I.ref.current;I.setState({viewBox:[T.offsetWidth,T.offsetHeight]})},I}c(g,f);var m=g.prototype;return m.componentDidMount=function(){function b(){window.addEventListener("resize",this.handleResize),this.handleResize()}return b}(),m.componentWillUnmount=function(){function b(){window.removeEventListener("resize",this.handleResize)}return b}(),m.render=function(){function b(){var I=this,T=this.props,C=T.data,S=C===void 0?[]:C,y=T.rangeX,O=T.rangeY,A=T.fillColor,N=A===void 0?"none":A,M=T.strokeColor,R=M===void 0?"#ffffff":M,L=T.strokeWidth,x=L===void 0?2:L,F=l(T,u),V=this.state.viewBox,G=d(S,V,y,O);if(G.length>0){var B=G[0],U=G[G.length-1];G.push([V[0]+x,U[1]]),G.push([V[0]+x,-x]),G.push([-x,-x]),G.push([-x,B[1]])}var j=i(G);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,a.Box,Object.assign({position:"relative"},F,{children:function(){function K($){return(0,n.normalizeProps)((0,n.createVNode)(1,"div",null,(0,n.createVNode)(32,"svg",null,(0,n.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+V[1]+")",fill:N,stroke:R,"stroke-width":x,points:j}),2,{viewBox:"0 0 "+V[0]+" "+V[1],preserveAspectRatio:"none",style:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"}}),2,Object.assign({},$),null,I.ref))}return K}()})))}return b}(),g}(n.Component);v.defaultHooks=o.pureComponentHooks;var s=function(g){return null},p=e.Chart={Line:v}},83974:function(E,e,t){"use strict";e.__esModule=!0,e.Collapsible=void 0;var n=t(96524),r=t(3051),o=t(91688),a=["children","color","title","buttons"];function u(d,i){if(d==null)return{};var v={},s=Object.keys(d),p,f;for(f=0;f<s.length;f++)p=s[f],!(i.indexOf(p)>=0)&&(v[p]=d[p]);return v}function l(d,i){d.prototype=Object.create(i.prototype),d.prototype.constructor=d,c(d,i)}function c(d,i){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function v(s,p){return s.__proto__=p,s}return v}(),c(d,i)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var h=e.Collapsible=function(v){l(i,v);function i(s){var p;p=v.call(this,s)||this;var d=s.open;return p.state={open:d||!1},p}var f=i.prototype;return f.render=function(){function s(){var p=this,d=this.props,g=this.state.open,m=d.children,S=d.color,I=S===void 0?"default":S,O=d.title,C=d.buttons,y=u(d,a);return(0,n.createComponentVNode)(2,r.Box,{className:"Collapsible",children:[(0,n.createVNode)(1,"div","Table",[(0,n.createVNode)(1,"div","Table__cell",(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Button,Object.assign({fluid:!0,color:I,icon:g?"chevron-down":"chevron-right",onClick:function(){function b(){return p.setState({open:!g})}return b}()},y,{children:O}))),2),C&&(0,n.createVNode)(1,"div","Table__cell Table__cell--collapsing",C,0)],0),g&&(0,n.createComponentVNode)(2,r.Box,{mt:1,children:m})]})}return s}(),i}(n.Component)},25762:function(E,e,t){"use strict";e.__esModule=!0,e.ColorBox=void 0;var n=t(28823),r=t(66586),o=t(93843),a=["content","children","className","color","backgroundColor"];/** +*/var h=e.Collapsible=function(d){function i(s){var p;p=d.call(this,s)||this;var f=s.open;return p.state={open:f||!1},p}l(i,d);var v=i.prototype;return v.render=function(){function s(){var p=this,f=this.props,g=this.state.open,m=f.children,b=f.color,I=b===void 0?"default":b,T=f.title,C=f.buttons,S=u(f,a);return(0,n.createComponentVNode)(2,r.Box,{className:"Collapsible",children:[(0,n.createVNode)(1,"div","Table",[(0,n.createVNode)(1,"div","Table__cell",(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Button,Object.assign({fluid:!0,color:I,icon:g?"chevron-down":"chevron-right",onClick:function(){function y(){return p.setState({open:!g})}return y}()},S,{children:T}))),2),C&&(0,n.createVNode)(1,"div","Table__cell Table__cell--collapsing",C,0)],0),g&&(0,n.createComponentVNode)(2,r.Box,{mt:1,children:m})]})}return s}(),i}(n.Component)},26236:function(E,e,t){"use strict";e.__esModule=!0,e.ColorBox=void 0;var n=t(96524),r=t(28234),o=t(3051),a=["content","children","className","color","backgroundColor"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function u(c,h){if(c==null)return{};var v={},i=Object.keys(c),f,s;for(s=0;s<i.length;s++)f=i[s],!(h.indexOf(f)>=0)&&(v[f]=c[f]);return v}var l=e.ColorBox=function(){function c(h){var v=h.content,i=h.children,f=h.className,s=h.color,p=h.backgroundColor,d=u(h,a);return d.color=v?null:"transparent",d.backgroundColor=s||p,(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["ColorBox",f,(0,o.computeBoxClassName)(d)]),v||".",0,Object.assign({},(0,o.computeBoxProps)(d))))}return c}();l.defaultHooks=r.pureComponentHooks},73712:function(E,e,t){"use strict";e.__esModule=!0,e.Countdown=void 0;var n=t(28823),r=t(93843),o=["format"];function a(h,v){if(h==null)return{};var i={},f=Object.keys(h),s,p;for(p=0;p<f.length;p++)s=f[p],!(v.indexOf(s)>=0)&&(i[s]=h[s]);return i}function u(h,v){h.prototype=Object.create(v.prototype),h.prototype.constructor=h,l(h,v)}function l(h,v){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function i(f,s){return f.__proto__=s,f}return i}(),l(h,v)}var c=e.Countdown=function(h){u(v,h);function v(f){var s;return s=h.call(this,f)||this,s.timer=null,s.state={value:Math.max(f.timeLeft*100,0)},s}var i=v.prototype;return i.tick=function(){function f(){var s=Math.max(this.state.value-this.props.rate,0);s<=0&&clearInterval(this.timer),this.setState(function(p){return{value:s}})}return f}(),i.componentDidMount=function(){function f(){var s=this;this.timer=setInterval(function(){return s.tick()},this.props.rate)}return f}(),i.componentWillUnmount=function(){function f(){clearInterval(this.timer)}return f}(),i.componentDidUpdate=function(){function f(s){var p=this;this.props.current!==s.current&&this.setState(function(d){return{value:Math.max(p.props.timeLeft*100,0)}}),this.timer||this.componentDidMount()}return f}(),i.render=function(){function f(){var s=this.props,p=s.format,d=a(s,o),g=new Date(this.state.value).toISOString().slice(11,19);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,r.Box,Object.assign({as:"span"},d,{children:p?p(this.state.value,g):g})))}return f}(),v}(n.Component);c.defaultProps={rate:1e3}},15148:function(E,e,t){"use strict";e.__esModule=!0,e.Dimmer=void 0;var n=t(28823),r=t(66586),o=t(93843),a=["className","children"];/** + */function u(c,h){if(c==null)return{};var d={},i=Object.keys(c),v,s;for(s=0;s<i.length;s++)v=i[s],!(h.indexOf(v)>=0)&&(d[v]=c[v]);return d}var l=e.ColorBox=function(){function c(h){var d=h.content,i=h.children,v=h.className,s=h.color,p=h.backgroundColor,f=u(h,a);return f.color=d?null:"transparent",f.backgroundColor=s||p,(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["ColorBox",v,(0,o.computeBoxClassName)(f)]),d||".",0,Object.assign({},(0,o.computeBoxProps)(f))))}return c}();l.defaultHooks=r.pureComponentHooks},99509:function(E,e,t){"use strict";e.__esModule=!0,e.Countdown=void 0;var n=t(96524),r=t(3051),o=["format"];function a(h,d){if(h==null)return{};var i={},v=Object.keys(h),s,p;for(p=0;p<v.length;p++)s=v[p],!(d.indexOf(s)>=0)&&(i[s]=h[s]);return i}function u(h,d){h.prototype=Object.create(d.prototype),h.prototype.constructor=h,l(h,d)}function l(h,d){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function i(v,s){return v.__proto__=s,v}return i}(),l(h,d)}var c=e.Countdown=function(h){function d(v){var s;return s=h.call(this,v)||this,s.timer=null,s.state={value:Math.max(v.timeLeft*100,0)},s}u(d,h);var i=d.prototype;return i.tick=function(){function v(){var s=Math.max(this.state.value-this.props.rate,0);s<=0&&clearInterval(this.timer),this.setState(function(p){return{value:s}})}return v}(),i.componentDidMount=function(){function v(){var s=this;this.timer=setInterval(function(){return s.tick()},this.props.rate)}return v}(),i.componentWillUnmount=function(){function v(){clearInterval(this.timer)}return v}(),i.componentDidUpdate=function(){function v(s){var p=this;this.props.current!==s.current&&this.setState(function(f){return{value:Math.max(p.props.timeLeft*100,0)}}),this.timer||this.componentDidMount()}return v}(),i.render=function(){function v(){var s=this.props,p=s.format,f=a(s,o),g=new Date(this.state.value).toISOString().slice(11,19);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,r.Box,Object.assign({as:"span"},f,{children:p?p(this.state.value,g):g})))}return v}(),d}(n.Component);c.defaultProps={rate:1e3}},72358:function(E,e,t){"use strict";e.__esModule=!0,e.Dimmer=void 0;var n=t(96524),r=t(28234),o=t(3051),a=["className","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function u(c,h){if(c==null)return{};var v={},i=Object.keys(c),f,s;for(s=0;s<i.length;s++)f=i[s],!(h.indexOf(f)>=0)&&(v[f]=c[f]);return v}var l=e.Dimmer=function(){function c(h){var v=h.className,i=h.children,f=u(h,a);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({className:(0,r.classes)(["Dimmer"].concat(v))},f,{children:(0,n.createVNode)(1,"div","Dimmer__inner",i,0)})))}return c}()},81878:function(E,e,t){"use strict";e.__esModule=!0,e.Divider=void 0;var n=t(28823),r=t(66586);/** + */function u(c,h){if(c==null)return{};var d={},i=Object.keys(c),v,s;for(s=0;s<i.length;s++)v=i[s],!(h.indexOf(v)>=0)&&(d[v]=c[v]);return d}var l=e.Dimmer=function(){function c(h){var d=h.className,i=h.children,v=u(h,a);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({className:(0,r.classes)(["Dimmer"].concat(d))},v,{children:(0,n.createVNode)(1,"div","Dimmer__inner",i,0)})))}return c}()},31647:function(E,e,t){"use strict";e.__esModule=!0,e.Divider=void 0;var n=t(96524),r=t(28234);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=e.Divider=function(){function a(u){var l=u.vertical,c=u.hidden;return(0,n.createVNode)(1,"div",(0,r.classes)(["Divider",c&&"Divider--hidden",l?"Divider--vertical":"Divider--horizontal"]))}return a}()},41584:function(E,e,t){"use strict";e.__esModule=!0,e.DraggableControl=void 0;var n=t(28823),r=t(58331),o=t(66586),a=t(15281);function u(i,f){i.prototype=Object.create(f.prototype),i.prototype.constructor=i,l(i,f)}function l(i,f){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function s(p,d){return p.__proto__=d,p}return s}(),l(i,f)}var c=400,h=function(f,s){return f.screenX*s[0]+f.screenY*s[1]},v=e.DraggableControl=function(i){u(f,i);function f(p){var d;return d=i.call(this,p)||this,d.inputRef=(0,n.createRef)(),d.state={originalValue:p.value,value:p.value,dragging:!1,editing:!1,origin:null,suppressingFlicker:!1},d.flickerTimer=null,d.suppressFlicker=function(){var g=d.props.suppressFlicker;g>0&&(d.setState({suppressingFlicker:!0}),clearTimeout(d.flickerTimer),d.flickerTimer=setTimeout(function(){return d.setState({suppressingFlicker:!1})},g))},d.handleDragStart=function(g){var m=d.props,S=m.value,I=m.dragMatrix,O=m.disabled,C=d.state.editing;C||O||(document.body.style["pointer-events"]="none",d.ref=g.currentTarget,d.setState({originalValue:S,dragging:!1,value:S,origin:h(g,I)}),d.timer=setTimeout(function(){d.setState({dragging:!0})},250),d.dragInterval=setInterval(function(){var y=d.state,b=y.dragging,T=y.value,P=d.props.onDrag;b&&P&&P(g,T)},d.props.updateRate||c),document.addEventListener("mousemove",d.handleDragMove),document.addEventListener("mouseup",d.handleDragEnd))},d.handleDragMove=function(g){var m,S=d.props,I=S.minValue,O=S.maxValue,C=S.step,y=S.dragMatrix,b=S.disabled;if(!b){var T=d.ref.offsetWidth/((O-I)/C),P=(m=d.props.stepPixelSize)!=null?m:T;typeof P=="function"&&(P=P(T)),d.setState(function(N){var M=Object.assign({},N),R=N.origin,L=h(g,y)-R;if(N.dragging){var K=Math.trunc(L/P);M.value=(0,r.clamp)(Math.floor(M.originalValue/C)*C+K*C,I,O)}else Math.abs(L)>4&&(M.dragging=!0);return M})}},d.handleDragEnd=function(g){var m=d.props,S=m.onChange,I=m.onDrag,O=d.state,C=O.dragging,y=O.value;if(document.body.style["pointer-events"]="auto",clearTimeout(d.timer),clearInterval(d.dragInterval),d.setState({originalValue:null,dragging:!1,editing:!C,origin:null}),document.removeEventListener("mousemove",d.handleDragMove),document.removeEventListener("mouseup",d.handleDragEnd),C)d.suppressFlicker(),S&&S(g,y),I&&I(g,y);else if(d.inputRef){var b=d.inputRef.current;b.value=y;try{b.focus(),b.select()}catch(T){}}},d}var s=f.prototype;return s.render=function(){function p(){var d=this,g=this.state,m=g.dragging,S=g.editing,I=g.value,O=g.suppressingFlicker,C=this.props,y=C.animated,b=C.value,T=C.unit,P=C.minValue,N=C.maxValue,M=C.format,R=C.onChange,L=C.onDrag,K=C.children,U=C.height,F=C.lineHeight,$=C.fontSize,B=C.disabled,x=b;(m||O)&&(x=I);var V=function(){function k(nt){return nt+(T?" "+T:"")}return k}(),G=y&&!m&&!O&&(0,n.createComponentVNode)(2,a.AnimatedNumber,{value:x,format:M,children:V})||V(M?M(x):x),Y=(0,n.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:!S||B?"none":void 0,height:U,"line-height":F,"font-size":$},onBlur:function(){function k(nt){if(S){var ut=(0,r.clamp)(parseFloat(nt.target.value),P,N);if(Number.isNaN(ut)){d.setState({editing:!1});return}d.setState({editing:!1,value:ut}),d.suppressFlicker(),R&&R(nt,ut),L&&L(nt,ut)}}return k}(),onKeyDown:function(){function k(nt){if(nt.keyCode===13){var ut=(0,r.clamp)(parseFloat(nt.target.value),P,N);if(Number.isNaN(ut)){d.setState({editing:!1});return}d.setState({editing:!1,value:ut}),d.suppressFlicker(),R&&R(nt,ut),L&&L(nt,ut);return}if(nt.keyCode===27){d.setState({editing:!1});return}}return k}(),disabled:B},null,this.inputRef);return K({dragging:m,editing:S,value:b,displayValue:x,displayElement:G,inputElement:Y,handleDragStart:this.handleDragStart})}return p}(),f}(n.Component);v.defaultHooks=o.pureComponentHooks,v.defaultProps={minValue:-1/0,maxValue:1/0,step:1,suppressFlicker:50,dragMatrix:[1,0]}},99936:function(E,e,t){"use strict";e.__esModule=!0,e.Dropdown=void 0;var n=t(28823),r=t(60028),o=t(66586),a=t(93843),u=t(69433),l=["icon","iconRotation","iconSpin","clipSelectedText","color","dropdownStyle","over","nochevron","width","onClick","onSelected","selected","disabled","displayText"],c=["className"],h;function v(S,I){if(S==null)return{};var O={},C=Object.keys(S),y,b;for(b=0;b<C.length;b++)y=C[b],!(I.indexOf(y)>=0)&&(O[y]=S[y]);return O}function i(S,I){S.prototype=Object.create(I.prototype),S.prototype.constructor=S,f(S,I)}function f(S,I){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function O(C,y){return C.__proto__=y,C}return O}(),f(S,I)}var s={placement:"left-start",modifiers:[{name:"eventListeners",enabled:!1}]},p={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function S(){return null}return S}()},d="Layout Dropdown__menu",g="Layout Dropdown__menu-scroll",m=e.Dropdown=function(S){i(I,S);function I(C){var y;return y=S.call(this,C)||this,y.menuContents=void 0,y.handleClick=function(){y.state.open&&y.setOpen(!1)},y.state={open:!1,selected:y.props.selected},y.menuContents=null,y}var O=I.prototype;return O.getDOMNode=function(){function C(){return(0,n.findDOMfromVNode)(this.$LI,!0)}return C}(),O.componentDidMount=function(){function C(){var y=this.getDOMNode()}return C}(),O.openMenu=function(){function C(){var y=I.renderedMenu;y===void 0&&(y=document.createElement("div"),y.className=d,document.body.appendChild(y),I.renderedMenu=y);var b=this.getDOMNode();I.currentOpenMenu=b,y.scrollTop=0,y.style.width=this.props.menuWidth||b.offsetWidth+"px",y.style.opacity="1",y.style.pointerEvents="auto",setTimeout(function(){var T;(T=I.renderedMenu)==null||T.focus()},400),this.renderMenuContent()}return C}(),O.closeMenu=function(){function C(){I.currentOpenMenu===this.getDOMNode()&&(I.currentOpenMenu=void 0,I.renderedMenu.style.opacity="0",I.renderedMenu.style.pointerEvents="none")}return C}(),O.componentWillUnmount=function(){function C(){this.closeMenu(),this.setOpen(!1)}return C}(),O.renderMenuContent=function(){function C(){var y=this,b=I.renderedMenu;if(b){b.offsetHeight>200?b.className=g:b.className=d;var T=this.props.options,P=T===void 0?[]:T,N=P.map(function(R){var L,K;return typeof R=="string"?(K=R,L=R):R!==null&&(K=R.displayText,L=R.value),(0,n.createVNode)(1,"div",(0,o.classes)(["Dropdown__menuentry",y.state.selected===L&&"selected"]),K,0,{onClick:function(){function U(){y.setSelected(L)}return U}()},L)}),M=N.length?N:"No Options Found";(0,n.render)((0,n.createVNode)(1,"div",null,M,0),b,function(){var R=I.singletonPopper;R===void 0?(R=(0,r.createPopper)(I.virtualElement,b,Object.assign({},s,{placement:"bottom-start"})),I.singletonPopper=R):(R.setOptions(Object.assign({},s,{placement:"bottom-start"})),R.update())},this.context)}}return C}(),O.setOpen=function(){function C(y){var b=this;this.setState(function(T){return Object.assign({},T,{open:y})}),y?setTimeout(function(){b.openMenu(),window.addEventListener("click",b.handleClick)}):(this.closeMenu(),window.removeEventListener("click",this.handleClick))}return C}(),O.setSelected=function(){function C(y){this.setState(function(b){return Object.assign({},b,{selected:y})}),this.setOpen(!1),this.props.onSelected&&this.props.onSelected(y)}return C}(),O.render=function(){function C(){var y=this,b=this.props,T=b.icon,P=b.iconRotation,N=b.iconSpin,M=b.clipSelectedText,R=M===void 0?!0:M,L=b.color,K=L===void 0?"default":L,U=b.dropdownStyle,F=b.over,$=b.nochevron,B=b.width,x=b.onClick,V=b.onSelected,G=b.selected,Y=b.disabled,k=b.displayText,nt=v(b,l),ut=nt.className,ft=v(nt,c),W=F?!this.state.open:this.state.open;return(0,n.normalizeProps)((0,n.createComponentVNode)(2,a.Box,Object.assign({width:B,className:(0,o.classes)(["Dropdown__control","Button","Button--color--"+K,Y&&"Button--disabled",ut]),onClick:function(){function X(et){Y&&!y.state.open||(y.setOpen(!y.state.open),x&&x(et))}return X}()},ft,{children:[T&&(0,n.createComponentVNode)(2,u.Icon,{name:T,rotation:P,spin:N,mr:1}),(0,n.createVNode)(1,"span","Dropdown__selected-text",k||this.state.selected,0,{style:{overflow:R?"hidden":"visible"}}),$||(0,n.createVNode)(1,"span","Dropdown__arrow-button",(0,n.createComponentVNode)(2,u.Icon,{name:W?"chevron-up":"chevron-down"}),2)]})))}return C}(),I}(n.Component);h=m,m.renderedMenu=void 0,m.singletonPopper=void 0,m.currentOpenMenu=void 0,m.virtualElement={getBoundingClientRect:function(){function S(){var I,O;return(I=(O=h.currentOpenMenu)==null?void 0:O.getBoundingClientRect())!=null?I:p}return S}()}},92462:function(E,e,t){"use strict";e.__esModule=!0,e.computeFlexProps=e.computeFlexItemProps=e.computeFlexItemClassName=e.computeFlexClassName=e.Flex=void 0;var n=t(28823),r=t(66586),o=t(93843),a=["className","direction","wrap","align","justify","inline"],u=["className"],l=["className","style","grow","order","shrink","basis","align"],c=["className"];/** + */var o=e.Divider=function(){function a(u){var l=u.vertical,c=u.hidden;return(0,n.createVNode)(1,"div",(0,r.classes)(["Divider",c&&"Divider--hidden",l?"Divider--vertical":"Divider--horizontal"]))}return a}()},27648:function(E,e,t){"use strict";e.__esModule=!0,e.DraggableControl=void 0;var n=t(96524),r=t(36121),o=t(28234),a=t(65416);function u(i,v){i.prototype=Object.create(v.prototype),i.prototype.constructor=i,l(i,v)}function l(i,v){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function s(p,f){return p.__proto__=f,p}return s}(),l(i,v)}var c=400,h=function(v,s){return v.screenX*s[0]+v.screenY*s[1]},d=e.DraggableControl=function(i){function v(p){var f;return f=i.call(this,p)||this,f.inputRef=(0,n.createRef)(),f.state={originalValue:p.value,value:p.value,dragging:!1,editing:!1,origin:null,suppressingFlicker:!1},f.flickerTimer=null,f.suppressFlicker=function(){var g=f.props.suppressFlicker;g>0&&(f.setState({suppressingFlicker:!0}),clearTimeout(f.flickerTimer),f.flickerTimer=setTimeout(function(){return f.setState({suppressingFlicker:!1})},g))},f.handleDragStart=function(g){var m=f.props,b=m.value,I=m.dragMatrix,T=m.disabled,C=f.state.editing;C||T||(document.body.style["pointer-events"]="none",f.ref=g.currentTarget,f.setState({originalValue:b,dragging:!1,value:b,origin:h(g,I)}),f.timer=setTimeout(function(){f.setState({dragging:!0})},250),f.dragInterval=setInterval(function(){var S=f.state,y=S.dragging,O=S.value,A=f.props.onDrag;y&&A&&A(g,O)},f.props.updateRate||c),document.addEventListener("mousemove",f.handleDragMove),document.addEventListener("mouseup",f.handleDragEnd))},f.handleDragMove=function(g){var m,b=f.props,I=b.minValue,T=b.maxValue,C=b.step,S=b.dragMatrix,y=b.disabled;if(!y){var O=f.ref.offsetWidth/((T-I)/C),A=(m=f.props.stepPixelSize)!=null?m:O;typeof A=="function"&&(A=A(O)),f.setState(function(N){var M=Object.assign({},N),R=N.origin,L=h(g,S)-R;if(N.dragging){var x=Math.trunc(L/A);M.value=(0,r.clamp)(Math.floor(M.originalValue/C)*C+x*C,I,T)}else Math.abs(L)>4&&(M.dragging=!0);return M})}},f.handleDragEnd=function(g){var m=f.props,b=m.onChange,I=m.onDrag,T=f.state,C=T.dragging,S=T.value;if(document.body.style["pointer-events"]="auto",clearTimeout(f.timer),clearInterval(f.dragInterval),f.setState({originalValue:null,dragging:!1,editing:!C,origin:null}),document.removeEventListener("mousemove",f.handleDragMove),document.removeEventListener("mouseup",f.handleDragEnd),C)f.suppressFlicker(),b&&b(g,S),I&&I(g,S);else if(f.inputRef){var y=f.inputRef.current;y.value=S;try{y.focus(),y.select()}catch(O){}}},f}u(v,i);var s=v.prototype;return s.render=function(){function p(){var f=this,g=this.state,m=g.dragging,b=g.editing,I=g.value,T=g.suppressingFlicker,C=this.props,S=C.animated,y=C.value,O=C.unit,A=C.minValue,N=C.maxValue,M=C.format,R=C.onChange,L=C.onDrag,x=C.children,F=C.height,V=C.lineHeight,G=C.fontSize,B=C.disabled,U=y;(m||T)&&(U=I);var j=function(){function W(nt){return nt+(O?" "+O:"")}return W}(),K=S&&!m&&!T&&(0,n.createComponentVNode)(2,a.AnimatedNumber,{value:U,format:M,children:j})||j(M?M(U):U),$=(0,n.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:!b||B?"none":void 0,height:F,"line-height":V,"font-size":G},onBlur:function(){function W(nt){if(b){var st=(0,r.clamp)(parseFloat(nt.target.value),A,N);if(Number.isNaN(st)){f.setState({editing:!1});return}f.setState({editing:!1,value:st}),f.suppressFlicker(),R&&R(nt,st),L&&L(nt,st)}}return W}(),onKeyDown:function(){function W(nt){if(nt.keyCode===13){var st=(0,r.clamp)(parseFloat(nt.target.value),A,N);if(Number.isNaN(st)){f.setState({editing:!1});return}f.setState({editing:!1,value:st}),f.suppressFlicker(),R&&R(nt,st),L&&L(nt,st);return}if(nt.keyCode===27){f.setState({editing:!1});return}}return W}(),disabled:B},null,this.inputRef);return x({dragging:m,editing:b,value:y,displayValue:U,displayElement:K,inputElement:$,handleDragStart:this.handleDragStart})}return p}(),v}(n.Component);d.defaultHooks=o.pureComponentHooks,d.defaultProps={minValue:-1/0,maxValue:1/0,step:1,suppressFlicker:50,dragMatrix:[1,0]}},45293:function(E,e,t){"use strict";e.__esModule=!0,e.Dropdown=void 0;var n=t(96524),r=t(60023),o=t(28234),a=t(3051),u=t(11253),l=["icon","iconRotation","iconSpin","clipSelectedText","color","dropdownStyle","over","nochevron","width","onClick","onSelected","selected","disabled","displayText"],c=["className"],h;function d(b,I){if(b==null)return{};var T={},C=Object.keys(b),S,y;for(y=0;y<C.length;y++)S=C[y],!(I.indexOf(S)>=0)&&(T[S]=b[S]);return T}function i(b,I){b.prototype=Object.create(I.prototype),b.prototype.constructor=b,v(b,I)}function v(b,I){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function T(C,S){return C.__proto__=S,C}return T}(),v(b,I)}var s={placement:"left-start",modifiers:[{name:"eventListeners",enabled:!1}]},p={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function b(){return null}return b}()},f="Layout Dropdown__menu",g="Layout Dropdown__menu-scroll",m=e.Dropdown=function(b){function I(C){var S;return S=b.call(this,C)||this,S.menuContents=void 0,S.handleClick=function(){S.state.open&&S.setOpen(!1)},S.state={open:!1,selected:S.props.selected},S.menuContents=null,S}i(I,b);var T=I.prototype;return T.getDOMNode=function(){function C(){return(0,n.findDOMfromVNode)(this.$LI,!0)}return C}(),T.componentDidMount=function(){function C(){var S=this.getDOMNode()}return C}(),T.openMenu=function(){function C(){var S=I.renderedMenu;S===void 0&&(S=document.createElement("div"),S.className=f,document.body.appendChild(S),I.renderedMenu=S);var y=this.getDOMNode();I.currentOpenMenu=y,S.scrollTop=0,S.style.width=this.props.menuWidth||y.offsetWidth+"px",S.style.opacity="1",S.style.pointerEvents="auto",setTimeout(function(){var O;(O=I.renderedMenu)==null||O.focus()},400),this.renderMenuContent()}return C}(),T.closeMenu=function(){function C(){I.currentOpenMenu===this.getDOMNode()&&(I.currentOpenMenu=void 0,I.renderedMenu.style.opacity="0",I.renderedMenu.style.pointerEvents="none")}return C}(),T.componentWillUnmount=function(){function C(){this.closeMenu(),this.setOpen(!1)}return C}(),T.renderMenuContent=function(){function C(){var S=this,y=I.renderedMenu;if(y){y.offsetHeight>200?y.className=g:y.className=f;var O=this.props.options,A=O===void 0?[]:O,N=A.map(function(R){var L,x;return typeof R=="string"?(x=R,L=R):R!==null&&(x=R.displayText,L=R.value),(0,n.createVNode)(1,"div",(0,o.classes)(["Dropdown__menuentry",S.state.selected===L&&"selected"]),x,0,{onClick:function(){function F(){S.setSelected(L)}return F}()},L)}),M=N.length?N:"No Options Found";(0,n.render)((0,n.createVNode)(1,"div",null,M,0),y,function(){var R=I.singletonPopper;R===void 0?(R=(0,r.createPopper)(I.virtualElement,y,Object.assign({},s,{placement:"bottom-start"})),I.singletonPopper=R):(R.setOptions(Object.assign({},s,{placement:"bottom-start"})),R.update())},this.context)}}return C}(),T.setOpen=function(){function C(S){var y=this;this.setState(function(O){return Object.assign({},O,{open:S})}),S?setTimeout(function(){y.openMenu(),window.addEventListener("click",y.handleClick)}):(this.closeMenu(),window.removeEventListener("click",this.handleClick))}return C}(),T.setSelected=function(){function C(S){this.setState(function(y){return Object.assign({},y,{selected:S})}),this.setOpen(!1),this.props.onSelected&&this.props.onSelected(S)}return C}(),T.render=function(){function C(){var S=this,y=this.props,O=y.icon,A=y.iconRotation,N=y.iconSpin,M=y.clipSelectedText,R=M===void 0?!0:M,L=y.color,x=L===void 0?"default":L,F=y.dropdownStyle,V=y.over,G=y.nochevron,B=y.width,U=y.onClick,j=y.onSelected,K=y.selected,$=y.disabled,W=y.displayText,nt=d(y,l),st=nt.className,gt=d(nt,c),k=V?!this.state.open:this.state.open;return(0,n.normalizeProps)((0,n.createComponentVNode)(2,a.Box,Object.assign({width:B,className:(0,o.classes)(["Dropdown__control","Button","Button--color--"+x,$&&"Button--disabled",st]),onClick:function(){function X(tt){$&&!S.state.open||(S.setOpen(!S.state.open),U&&U(tt))}return X}()},gt,{children:[O&&(0,n.createComponentVNode)(2,u.Icon,{name:O,rotation:A,spin:N,mr:1}),(0,n.createVNode)(1,"span","Dropdown__selected-text",W||this.state.selected,0,{style:{overflow:R?"hidden":"visible"}}),G||(0,n.createVNode)(1,"span","Dropdown__arrow-button",(0,n.createComponentVNode)(2,u.Icon,{name:k?"chevron-up":"chevron-down"}),2)]})))}return C}(),I}(n.Component);h=m,m.renderedMenu=void 0,m.singletonPopper=void 0,m.currentOpenMenu=void 0,m.virtualElement={getBoundingClientRect:function(){function b(){var I,T;return(I=(T=h.currentOpenMenu)==null?void 0:T.getBoundingClientRect())!=null?I:p}return b}()}},18963:function(E,e,t){"use strict";e.__esModule=!0,e.computeFlexProps=e.computeFlexItemProps=e.computeFlexItemClassName=e.computeFlexClassName=e.Flex=void 0;var n=t(96524),r=t(28234),o=t(3051),a=["className","direction","wrap","align","justify","inline"],u=["className"],l=["className","style","grow","order","shrink","basis","align"],c=["className"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function h(g,m){if(g==null)return{};var S={},I=Object.keys(g),O,C;for(C=0;C<I.length;C++)O=I[C],!(m.indexOf(O)>=0)&&(S[O]=g[O]);return S}var v=e.computeFlexClassName=function(){function g(m){return(0,r.classes)(["Flex",m.inline&&"Flex--inline",Byond.IS_LTE_IE10&&"Flex--iefix",Byond.IS_LTE_IE10&&m.direction==="column"&&"Flex--iefix--column",(0,o.computeBoxClassName)(m)])}return g}(),i=e.computeFlexProps=function(){function g(m){var S=m.className,I=m.direction,O=m.wrap,C=m.align,y=m.justify,b=m.inline,T=h(m,a);return(0,o.computeBoxProps)(Object.assign({style:Object.assign({},T.style,{"flex-direction":I,"flex-wrap":O===!0?"wrap":O,"align-items":C,"justify-content":y})},T))}return g}(),f=e.Flex=function(){function g(m){var S=m.className,I=h(m,u);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)([S,v(I)]),null,1,Object.assign({},i(I))))}return g}();f.defaultHooks=r.pureComponentHooks;var s=e.computeFlexItemClassName=function(){function g(m){return(0,r.classes)(["Flex__item",Byond.IS_LTE_IE10&&"Flex__item--iefix",(0,o.computeBoxClassName)(m)])}return g}(),p=e.computeFlexItemProps=function(){function g(m){var S=m.className,I=m.style,O=m.grow,C=m.order,y=m.shrink,b=m.basis,T=b===void 0?m.width:b,P=m.align,N=h(m,l);return(0,o.computeBoxProps)(Object.assign({style:Object.assign({},I,{"flex-grow":O!==void 0&&Number(O),"flex-shrink":y!==void 0&&Number(y),"flex-basis":(0,o.unit)(T),order:C,"align-self":P})},N))}return g}(),d=function(m){var S=m.className,I=h(m,c);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)([S,s(m)]),null,1,Object.assign({},p(I))))};d.defaultHooks=r.pureComponentHooks,f.Item=d},81753:function(E,e,t){"use strict";e.__esModule=!0,e.GridColumn=e.Grid=void 0;var n=t(28823),r=t(99753),o=t(66586),a=["children"],u=["size","style"];/** + */function h(g,m){if(g==null)return{};var b={},I=Object.keys(g),T,C;for(C=0;C<I.length;C++)T=I[C],!(m.indexOf(T)>=0)&&(b[T]=g[T]);return b}var d=e.computeFlexClassName=function(){function g(m){return(0,r.classes)(["Flex",m.inline&&"Flex--inline",(0,o.computeBoxClassName)(m)])}return g}(),i=e.computeFlexProps=function(){function g(m){var b=m.className,I=m.direction,T=m.wrap,C=m.align,S=m.justify,y=m.inline,O=h(m,a);return(0,o.computeBoxProps)(Object.assign({style:Object.assign({},O.style,{"flex-direction":I,"flex-wrap":T===!0?"wrap":T,"align-items":C,"justify-content":S})},O))}return g}(),v=e.Flex=function(){function g(m){var b=m.className,I=h(m,u);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)([b,d(I)]),null,1,Object.assign({},i(I))))}return g}();v.defaultHooks=r.pureComponentHooks;var s=e.computeFlexItemClassName=function(){function g(m){return(0,r.classes)(["Flex__item",(0,o.computeBoxClassName)(m)])}return g}(),p=e.computeFlexItemProps=function(){function g(m){var b=m.className,I=m.style,T=m.grow,C=m.order,S=m.shrink,y=m.basis,O=y===void 0?m.width:y,A=m.align,N=h(m,l);return(0,o.computeBoxProps)(Object.assign({style:Object.assign({},I,{"flex-grow":T!==void 0&&Number(T),"flex-shrink":S!==void 0&&Number(S),"flex-basis":(0,o.unit)(O),order:C,"align-self":A})},N))}return g}(),f=function(m){var b=m.className,I=h(m,c);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)([b,s(m)]),null,1,Object.assign({},p(I))))};f.defaultHooks=r.pureComponentHooks,v.Item=f},17956:function(E,e,t){"use strict";e.__esModule=!0,e.GridColumn=e.Grid=void 0;var n=t(96524),r=t(5126),o=t(28234),a=["children"],u=["size","style"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function l(v,i){if(v==null)return{};var f={},s=Object.keys(v),p,d;for(d=0;d<s.length;d++)p=s[d],!(i.indexOf(p)>=0)&&(f[p]=v[p]);return f}var c=e.Grid=function(){function v(i){var f=i.children,s=l(i,a);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,r.Table,Object.assign({},s,{children:(0,n.createComponentVNode)(2,r.Table.Row,{children:f})})))}return v}();c.defaultHooks=o.pureComponentHooks;var h=e.GridColumn=function(){function v(i){var f=i.size,s=f===void 0?1:f,p=i.style,d=l(i,u);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,r.Table.Cell,Object.assign({style:Object.assign({width:s+"%"},p)},d)))}return v}();c.defaultHooks=o.pureComponentHooks,c.Column=h},69433:function(E,e,t){"use strict";e.__esModule=!0,e.IconStack=e.Icon=void 0;var n=t(28823),r=t(66586),o=t(93843),a=["name","size","spin","className","style","rotation","inverse"],u=["className","style","children"];/** + */function l(d,i){if(d==null)return{};var v={},s=Object.keys(d),p,f;for(f=0;f<s.length;f++)p=s[f],!(i.indexOf(p)>=0)&&(v[p]=d[p]);return v}var c=e.Grid=function(){function d(i){var v=i.children,s=l(i,a);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,r.Table,Object.assign({},s,{children:(0,n.createComponentVNode)(2,r.Table.Row,{children:v})})))}return d}();c.defaultHooks=o.pureComponentHooks;var h=e.GridColumn=function(){function d(i){var v=i.size,s=v===void 0?1:v,p=i.style,f=l(i,u);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,r.Table.Cell,Object.assign({style:Object.assign({width:s+"%"},p)},f)))}return d}();c.defaultHooks=o.pureComponentHooks,c.Column=h},11253:function(E,e,t){"use strict";e.__esModule=!0,e.IconStack=e.Icon=void 0;var n=t(96524),r=t(28234),o=t(3051),a=["name","size","spin","className","style","rotation","inverse"],u=["className","style","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function l(i,f){if(i==null)return{};var s={},p=Object.keys(i),d,g;for(g=0;g<p.length;g++)d=p[g],!(f.indexOf(d)>=0)&&(s[d]=i[d]);return s}var c=/-o$/,h=e.Icon=function(){function i(f){var s=f.name,p=f.size,d=f.spin,g=f.className,m=f.style,S=m===void 0?{}:m,I=f.rotation,O=f.inverse,C=l(f,a);p&&(S["font-size"]=p*100+"%"),typeof I=="number"&&(S.transform="rotate("+I+"deg)");var y=c.test(s),b=s.replace(c,"");return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({as:"i",className:(0,r.classes)(["Icon",g,y?"far":"fas","fa-"+b,d&&"fa-spin"]),style:S},C)))}return i}();h.defaultHooks=r.pureComponentHooks;var v=e.IconStack=function(){function i(f){var s=f.className,p=f.style,d=p===void 0?{}:p,g=f.children,m=l(f,u);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({as:"span",class:(0,r.classes)(["IconStack",s]),style:d},m,{children:g})))}return i}();h.Stack=v},51190:function(E,e,t){"use strict";e.__esModule=!0,e.toInputValue=e.Input=void 0;var n=t(28823),r=t(66586),o=t(93843),a=t(31068),u=["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus","disabled","multiline","cols","rows"],l=["className","fluid","monospace"];function c(s,p){if(s==null)return{};var d={},g=Object.keys(s),m,S;for(S=0;S<g.length;S++)m=g[S],!(p.indexOf(m)>=0)&&(d[m]=s[m]);return d}function h(s,p){s.prototype=Object.create(p.prototype),s.prototype.constructor=s,v(s,p)}function v(s,p){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function d(g,m){return g.__proto__=m,g}return d}(),v(s,p)}/** + */function l(i,v){if(i==null)return{};var s={},p=Object.keys(i),f,g;for(g=0;g<p.length;g++)f=p[g],!(v.indexOf(f)>=0)&&(s[f]=i[f]);return s}var c=/-o$/,h=e.Icon=function(){function i(v){var s=v.name,p=v.size,f=v.spin,g=v.className,m=v.style,b=m===void 0?{}:m,I=v.rotation,T=v.inverse,C=l(v,a);p&&(b["font-size"]=p*100+"%"),typeof I=="number"&&(b.transform="rotate("+I+"deg)");var S=c.test(s),y=s.replace(c,"");return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({as:"i",className:(0,r.classes)(["Icon",g,S?"far":"fas","fa-"+y,f&&"fa-spin"]),style:b},C)))}return i}();h.defaultHooks=r.pureComponentHooks;var d=e.IconStack=function(){function i(v){var s=v.className,p=v.style,f=p===void 0?{}:p,g=v.children,m=l(v,u);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({as:"span",class:(0,r.classes)(["IconStack",s]),style:f},m,{children:g})))}return i}();h.Stack=d},49034:function(E,e,t){"use strict";e.__esModule=!0,e.toInputValue=e.Input=void 0;var n=t(96524),r=t(28234),o=t(3051),a=t(68100),u=["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus","disabled","multiline","cols","rows"],l=["className","fluid","monospace"];function c(s,p){if(s==null)return{};var f={},g=Object.keys(s),m,b;for(b=0;b<g.length;b++)m=g[b],!(p.indexOf(m)>=0)&&(f[m]=s[m]);return f}function h(s,p){s.prototype=Object.create(p.prototype),s.prototype.constructor=s,d(s,p)}function d(s,p){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function f(g,m){return g.__proto__=m,g}return f}(),d(s,p)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var i=e.toInputValue=function(){function s(p){return typeof p!="number"&&typeof p!="string"?"":String(p)}return s}(),f=e.Input=function(s){h(p,s);function p(){var g;return g=s.call(this)||this,g.inputRef=(0,n.createRef)(),g.state={editing:!1},g.handleInput=function(m){var S=g.state.editing,I=g.props.onInput;S||g.setEditing(!0),I&&I(m,m.target.value)},g.handleFocus=function(m){var S=g.state.editing;S||g.setEditing(!0)},g.handleBlur=function(m){var S=g.state.editing,I=g.props.onChange;S&&(g.setEditing(!1),I&&I(m,m.target.value))},g.handleKeyDown=function(m){var S=g.props,I=S.onInput,O=S.onChange,C=S.onEnter;if(m.keyCode===a.KEY_ENTER){g.setEditing(!1),O&&O(m,m.target.value),I&&I(m,m.target.value),C&&C(m,m.target.value),g.props.selfClear?m.target.value="":m.target.blur();return}if(m.keyCode===a.KEY_ESCAPE){g.setEditing(!1),m.target.value=i(g.props.value),m.target.blur();return}},g}var d=p.prototype;return d.componentDidMount=function(){function g(){var m=this,S=this.props.value,I=this.inputRef.current;I&&(I.value=i(S),I.selectionStart=0,I.selectionEnd=I.value.length),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){I.focus(),m.props.autoSelect&&I.select()},1)}return g}(),d.componentDidUpdate=function(){function g(m,S){var I=this.state.editing,O=m.value,C=this.props.value,y=this.inputRef.current;y&&!I&&O!==C&&(y.value=i(C))}return g}(),d.setEditing=function(){function g(m){this.setState({editing:m})}return g}(),d.render=function(){function g(){var m=this.props,S=m.selfClear,I=m.onInput,O=m.onChange,C=m.onEnter,y=m.value,b=m.maxLength,T=m.placeholder,P=m.autofocus,N=m.disabled,M=m.multiline,R=m.cols,L=R===void 0?32:R,K=m.rows,U=K===void 0?4:K,F=c(m,u),$=F.className,B=F.fluid,x=F.monospace,V=c(F,l);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({className:(0,r.classes)(["Input",B&&"Input--fluid",x&&"Input--monospace",N&&"Input--disabled",$])},V,{children:[(0,n.createVNode)(1,"div","Input__baseline",".",16),M?(0,n.createVNode)(128,"textarea","Input__textarea",null,1,{placeholder:T,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:b,cols:L,rows:U,disabled:N},null,this.inputRef):(0,n.createVNode)(64,"input","Input__input",null,1,{placeholder:T,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:b,disabled:N},null,this.inputRef)]})))}return g}(),p}(n.Component)},35095:function(E,e,t){"use strict";e.__esModule=!0,e.Knob=void 0;var n=t(28823),r=t(58331),o=t(66586),a=t(93843),u=t(41584),l=t(43023),c=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"];/** +*/var i=e.toInputValue=function(){function s(p){return typeof p!="number"&&typeof p!="string"?"":String(p)}return s}(),v=e.Input=function(s){function p(){var g;return g=s.call(this)||this,g.inputRef=(0,n.createRef)(),g.state={editing:!1},g.handleInput=function(m){var b=g.state.editing,I=g.props.onInput;b||g.setEditing(!0),I&&I(m,m.target.value)},g.handleFocus=function(m){var b=g.state.editing;b||g.setEditing(!0)},g.handleBlur=function(m){var b=g.state.editing,I=g.props.onChange;b&&(g.setEditing(!1),I&&I(m,m.target.value))},g.handleKeyDown=function(m){var b=g.props,I=b.onInput,T=b.onChange,C=b.onEnter;if(m.keyCode===a.KEY_ENTER){g.setEditing(!1),T&&T(m,m.target.value),I&&I(m,m.target.value),C&&C(m,m.target.value),g.props.selfClear?m.target.value="":m.target.blur();return}if(m.keyCode===a.KEY_ESCAPE){g.setEditing(!1),m.target.value=i(g.props.value),m.target.blur();return}},g}h(p,s);var f=p.prototype;return f.componentDidMount=function(){function g(){var m=this,b=this.props.value,I=this.inputRef.current;I&&(I.value=i(b),I.selectionStart=0,I.selectionEnd=I.value.length),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){I.focus(),m.props.autoSelect&&I.select()},1)}return g}(),f.componentDidUpdate=function(){function g(m,b){var I=this.state.editing,T=m.value,C=this.props.value,S=this.inputRef.current;S&&!I&&T!==C&&(S.value=i(C))}return g}(),f.setEditing=function(){function g(m){this.setState({editing:m})}return g}(),f.render=function(){function g(){var m=this.props,b=m.selfClear,I=m.onInput,T=m.onChange,C=m.onEnter,S=m.value,y=m.maxLength,O=m.placeholder,A=m.autofocus,N=m.disabled,M=m.multiline,R=m.cols,L=R===void 0?32:R,x=m.rows,F=x===void 0?4:x,V=c(m,u),G=V.className,B=V.fluid,U=V.monospace,j=c(V,l);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({className:(0,r.classes)(["Input",B&&"Input--fluid",U&&"Input--monospace",N&&"Input--disabled",G])},j,{children:[(0,n.createVNode)(1,"div","Input__baseline",".",16),M?(0,n.createVNode)(128,"textarea","Input__textarea",null,1,{placeholder:O,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:y,cols:L,rows:F,disabled:N},null,this.inputRef):(0,n.createVNode)(64,"input","Input__input",null,1,{placeholder:O,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:y,disabled:N},null,this.inputRef)]})))}return g}(),p}(n.Component)},9836:function(E,e,t){"use strict";e.__esModule=!0,e.Knob=void 0;var n=t(96524),r=t(36121),o=t(28234),a=t(3051),u=t(27648),l=t(5985),c=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function h(i,f){if(i==null)return{};var s={},p=Object.keys(i),d,g;for(g=0;g<p.length;g++)d=p[g],!(f.indexOf(d)>=0)&&(s[d]=i[d]);return s}var v=e.Knob=function(){function i(f){if(Byond.IS_LTE_IE8)return(0,n.normalizeProps)((0,n.createComponentVNode)(2,l.NumberInput,Object.assign({},f)));var s=f.animated,p=f.format,d=f.maxValue,g=f.minValue,m=f.onChange,S=f.onDrag,I=f.step,O=f.stepPixelSize,C=f.suppressFlicker,y=f.unit,b=f.value,T=f.className,P=f.style,N=f.fillValue,M=f.color,R=f.ranges,L=R===void 0?{}:R,K=f.size,U=K===void 0?1:K,F=f.bipolar,$=f.children,B=f.popUpPosition,x=h(f,c);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,u.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:s,format:p,maxValue:d,minValue:g,onChange:m,onDrag:S,step:I,stepPixelSize:O,suppressFlicker:C,unit:y,value:b},{children:function(){function V(G){var Y=G.dragging,k=G.editing,nt=G.value,ut=G.displayValue,ft=G.displayElement,W=G.inputElement,X=G.handleDragStart,et=(0,r.scale)(N!=null?N:ut,g,d),ct=(0,r.scale)(ut,g,d),at=M||(0,r.keyOfMatchingRange)(N!=null?N:nt,L)||"default",St=(ct-.5)*270;return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,o.classes)(["Knob","Knob--color--"+at,F&&"Knob--bipolar",T,(0,a.computeBoxClassName)(x)]),[(0,n.createVNode)(1,"div","Knob__circle",(0,n.createVNode)(1,"div","Knob__cursorBox",(0,n.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+St+"deg)"}}),2),Y&&(0,n.createVNode)(1,"div",(0,o.classes)(["Knob__popupValue",B&&"Knob__popupValue--"+B]),ft,0),(0,n.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,n.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,n.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,n.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((F?2.75:2)-et*1.5)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),W],0,Object.assign({},(0,a.computeBoxProps)(Object.assign({style:Object.assign({"font-size":U+"em"},P)},x)),{onMouseDown:X})))}return V}()})))}return i}()},36563:function(E,e,t){"use strict";e.__esModule=!0,e.LabeledControls=void 0;var n=t(28823),r=t(92462),o=["children"],a=["label","children"];/** + */function h(i,v){if(i==null)return{};var s={},p=Object.keys(i),f,g;for(g=0;g<p.length;g++)f=p[g],!(v.indexOf(f)>=0)&&(s[f]=i[f]);return s}var d=e.Knob=function(){function i(v){var s=v.animated,p=v.format,f=v.maxValue,g=v.minValue,m=v.onChange,b=v.onDrag,I=v.step,T=v.stepPixelSize,C=v.suppressFlicker,S=v.unit,y=v.value,O=v.className,A=v.style,N=v.fillValue,M=v.color,R=v.ranges,L=R===void 0?{}:R,x=v.size,F=x===void 0?1:x,V=v.bipolar,G=v.children,B=v.popUpPosition,U=h(v,c);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,u.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:s,format:p,maxValue:f,minValue:g,onChange:m,onDrag:b,step:I,stepPixelSize:T,suppressFlicker:C,unit:S,value:y},{children:function(){function j(K){var $=K.dragging,W=K.editing,nt=K.value,st=K.displayValue,gt=K.displayElement,k=K.inputElement,X=K.handleDragStart,tt=(0,r.scale)(N!=null?N:st,g,f),ct=(0,r.scale)(st,g,f),at=M||(0,r.keyOfMatchingRange)(N!=null?N:nt,L)||"default",St=(ct-.5)*270;return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,o.classes)(["Knob","Knob--color--"+at,V&&"Knob--bipolar",O,(0,a.computeBoxClassName)(U)]),[(0,n.createVNode)(1,"div","Knob__circle",(0,n.createVNode)(1,"div","Knob__cursorBox",(0,n.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+St+"deg)"}}),2),$&&(0,n.createVNode)(1,"div",(0,o.classes)(["Knob__popupValue",B&&"Knob__popupValue--"+B]),gt,0),(0,n.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,n.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,n.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,n.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((V?2.75:2)-tt*1.5)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),k],0,Object.assign({},(0,a.computeBoxProps)(Object.assign({style:Object.assign({"font-size":F+"em"},A)},U)),{onMouseDown:X})))}return j}()})))}return i}()},86259:function(E,e,t){"use strict";e.__esModule=!0,e.LabeledControls=void 0;var n=t(96524),r=t(18963),o=["children"],a=["label","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function u(h,v){if(h==null)return{};var i={},f=Object.keys(h),s,p;for(p=0;p<f.length;p++)s=f[p],!(v.indexOf(s)>=0)&&(i[s]=h[s]);return i}var l=e.LabeledControls=function(){function h(v){var i=v.children,f=u(v,o);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,r.Flex,Object.assign({mx:-.5,align:"stretch",justify:"space-between"},f,{children:i})))}return h}(),c=function(v){var i=v.label,f=v.children,s=u(v,a);return(0,n.createComponentVNode)(2,r.Flex.Item,{mx:1,children:(0,n.normalizeProps)((0,n.createComponentVNode)(2,r.Flex,Object.assign({minWidth:"52px",height:"100%",direction:"column",align:"center",textAlign:"center",justify:"space-between"},s,{children:[(0,n.createComponentVNode)(2,r.Flex.Item),(0,n.createComponentVNode)(2,r.Flex.Item,{children:f}),(0,n.createComponentVNode)(2,r.Flex.Item,{color:"label",children:i})]})))})};l.Item=c},88488:function(E,e,t){"use strict";e.__esModule=!0,e.LabeledList=void 0;var n=t(28823),r=t(66586),o=t(93843),a=t(81878),u=t(30341);/** + */function u(h,d){if(h==null)return{};var i={},v=Object.keys(h),s,p;for(p=0;p<v.length;p++)s=v[p],!(d.indexOf(s)>=0)&&(i[s]=h[s]);return i}var l=e.LabeledControls=function(){function h(d){var i=d.children,v=u(d,o);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,r.Flex,Object.assign({mx:-.5,align:"stretch",justify:"space-between"},v,{children:i})))}return h}(),c=function(d){var i=d.label,v=d.children,s=u(d,a);return(0,n.createComponentVNode)(2,r.Flex.Item,{mx:1,children:(0,n.normalizeProps)((0,n.createComponentVNode)(2,r.Flex,Object.assign({minWidth:"52px",height:"100%",direction:"column",align:"center",textAlign:"center",justify:"space-between"},s,{children:[(0,n.createComponentVNode)(2,r.Flex.Item),(0,n.createComponentVNode)(2,r.Flex.Item,{children:v}),(0,n.createComponentVNode)(2,r.Flex.Item,{color:"label",children:i})]})))})};l.Item=c},91097:function(E,e,t){"use strict";e.__esModule=!0,e.LabeledList=void 0;var n=t(96524),r=t(28234),o=t(3051),a=t(31647),u=t(58749);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var l=e.LabeledList=function(){function v(i){var f=i.children;return(0,n.createVNode)(1,"table","LabeledList",f,0)}return v}();l.defaultHooks=r.pureComponentHooks;var c=function(i){var f=i.className,s=i.label,p=i.labelColor,d=p===void 0?"label":p,g=i.color,m=i.textAlign,S=i.buttons,I=i.tooltip,O=i.content,C=i.children,y=(0,n.createVNode)(1,"tr",(0,r.classes)(["LabeledList__row",f]),[(0,n.createComponentVNode)(2,o.Box,{as:"td",color:d,className:(0,r.classes)(["LabeledList__cell","LabeledList__label"]),children:s?s+":":null}),(0,n.createComponentVNode)(2,o.Box,{as:"td",color:g,textAlign:m,className:(0,r.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:S?void 0:2,children:[O,C]}),S&&(0,n.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",S,0)],0);return I&&(y=(0,n.createComponentVNode)(2,u.Tooltip,{content:I,children:y})),y};c.defaultHooks=r.pureComponentHooks;var h=function(i){var f=i.size?(0,o.unit)(Math.max(0,i.size-1)):0;return(0,n.createVNode)(1,"tr","LabeledList__row",(0,n.createVNode)(1,"td",null,(0,n.createComponentVNode)(2,a.Divider),2,{colSpan:3,style:{"padding-top":f,"padding-bottom":f}}),2)};h.defaultHooks=r.pureComponentHooks,l.Item=c,l.Divider=h},59743:function(E,e,t){"use strict";e.__esModule=!0,e.Modal=void 0;var n=t(28823),r=t(66586),o=t(93843),a=t(15148),u=["className","children","onEnter"];/** + */var l=e.LabeledList=function(){function d(i){var v=i.children;return(0,n.createVNode)(1,"table","LabeledList",v,0)}return d}();l.defaultHooks=r.pureComponentHooks;var c=function(i){var v=i.className,s=i.label,p=i.labelColor,f=p===void 0?"label":p,g=i.color,m=i.textAlign,b=i.buttons,I=i.tooltip,T=i.content,C=i.children,S=(0,n.createVNode)(1,"tr",(0,r.classes)(["LabeledList__row",v]),[(0,n.createComponentVNode)(2,o.Box,{as:"td",color:f,className:(0,r.classes)(["LabeledList__cell","LabeledList__label"]),children:s?s+":":null}),(0,n.createComponentVNode)(2,o.Box,{as:"td",color:g,textAlign:m,className:(0,r.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:b?void 0:2,children:[T,C]}),b&&(0,n.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",b,0)],0);return I&&(S=(0,n.createComponentVNode)(2,u.Tooltip,{content:I,children:S})),S};c.defaultHooks=r.pureComponentHooks;var h=function(i){var v=i.size?(0,o.unit)(Math.max(0,i.size-1)):0;return(0,n.createVNode)(1,"tr","LabeledList__row",(0,n.createVNode)(1,"td",null,(0,n.createComponentVNode)(2,a.Divider),2,{colSpan:3,style:{"padding-top":v,"padding-bottom":v}}),2)};h.defaultHooks=r.pureComponentHooks,l.Item=c,l.Divider=h},97539:function(E,e,t){"use strict";e.__esModule=!0,e.Modal=void 0;var n=t(96524),r=t(28234),o=t(3051),a=t(72358),u=["className","children","onEnter"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function l(h,v){if(h==null)return{};var i={},f=Object.keys(h),s,p;for(p=0;p<f.length;p++)s=f[p],!(v.indexOf(s)>=0)&&(i[s]=h[s]);return i}var c=e.Modal=function(){function h(v){var i=v.className,f=v.children,s=v.onEnter,p=l(v,u),d;return s&&(d=function(){function g(m){m.keyCode===13&&s(m)}return g}()),(0,n.createComponentVNode)(2,a.Dimmer,{onKeyDown:d,children:(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Modal",i,(0,o.computeBoxClassName)(p)]),f,0,Object.assign({},(0,o.computeBoxProps)(p))))})}return h}()},94405:function(E,e,t){"use strict";e.__esModule=!0,e.NanoMap=void 0;var n=t(28823),r=t(2971),o=t(91819),a=t(88488),u=t(83611),l=t(96820);function c(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}function h(m,S){m.prototype=Object.create(S.prototype),m.prototype.constructor=m,v(m,S)}function v(m,S){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function I(O,C){return O.__proto__=C,O}return I}(),v(m,S)}var i=function(S){return S.stopPropagation&&S.stopPropagation(),S.preventDefault&&S.preventDefault(),S.cancelBubble=!0,S.returnValue=!1,!1},f=e.NanoMap=function(m){h(S,m);function S(O){var C;C=m.call(this,O)||this;var y=window.innerWidth/2-256,b=window.innerHeight/2-256;return C.state={offsetX:128,offsetY:48,transform:"none",dragging:!1,originX:null,originY:null,zoom:1},C.handleDragStart=function(T){C.ref=T.target,C.setState({dragging:!1,originX:T.screenX,originY:T.screenY}),document.addEventListener("mousemove",C.handleDragMove),document.addEventListener("mouseup",C.handleDragEnd),i(T)},C.handleDragMove=function(T){C.setState(function(P){var N=Object.assign({},P),M=T.screenX-N.originX,R=T.screenY-N.originY;return P.dragging?(N.offsetX+=M,N.offsetY+=R,N.originX=T.screenX,N.originY=T.screenY):N.dragging=!0,N}),i(T)},C.handleDragEnd=function(T){C.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",C.handleDragMove),document.removeEventListener("mouseup",C.handleDragEnd),i(T)},C.handleZoom=function(T,P){C.setState(function(N){var M=Math.min(Math.max(P,1),8),R=(M-N.zoom)*1.5;return N.zoom=M,N.offsetX=N.offsetX-262*R,N.offsetY=N.offsetY-256*R,O.onZoom&&O.onZoom(N.zoom),N})},C}var I=S.prototype;return I.render=function(){function O(){var C=(0,o.useBackend)(this.context),y=C.config,b=this.state,T=b.dragging,P=b.offsetX,N=b.offsetY,M=b.zoom,R=M===void 0?1:M,L=this.props.children,K=y.map+"_nanomap_z1.png",U=510*R+"px",F={width:U,height:U,"margin-top":N+"px","margin-left":P+"px",overflow:"hidden",position:"relative","background-size":"cover","background-repeat":"no-repeat","text-align":"center",cursor:T?"move":"auto"},$={width:"100%",height:"100%",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","-ms-interpolation-mode":"nearest-neighbor"};return(0,n.createComponentVNode)(2,r.Box,{className:"NanoMap__container",children:[(0,n.createComponentVNode)(2,r.Box,{style:F,onMouseDown:this.handleDragStart,children:[(0,n.createVNode)(1,"img",null,null,1,{src:(0,l.resolveAsset)(K),style:$}),(0,n.createComponentVNode)(2,r.Box,{children:L})]}),(0,n.createComponentVNode)(2,p,{zoom:R,onZoom:this.handleZoom})]})}return O}(),S}(n.Component),s=function(S,I){var O=S.x,C=S.y,y=S.zoom,b=y===void 0?1:y,T=S.icon,P=S.tooltip,N=S.color,M=O*2*b-b-3,R=C*2*b-b-3;return(0,n.createVNode)(1,"div",null,(0,n.createComponentVNode)(2,r.Tooltip,{content:P,children:(0,n.createComponentVNode)(2,r.Box,{position:"absolute",className:"NanoMap__marker",lineHeight:"0",bottom:R+"px",left:M+"px",children:(0,n.createComponentVNode)(2,r.Icon,{name:T,color:N,fontSize:"6px"})})}),2)};f.Marker=s;var p=function(S,I){return(0,n.createComponentVNode)(2,r.Box,{className:"NanoMap__zoomer",children:(0,n.createComponentVNode)(2,a.LabeledList,{children:(0,n.createComponentVNode)(2,a.LabeledList.Item,{label:"Zoom",children:(0,n.createComponentVNode)(2,u.Slider,{minValue:1,maxValue:8,stepPixelSize:10,format:function(){function O(C){return C+"x"}return O}(),value:S.zoom,onDrag:function(){function O(C,y){return S.onZoom(C,y)}return O}()})})})})};f.Zoomer=p;var d,g=function(m){h(S,m);function S(O){var C;C=m.call(this,O)||this;var y=(0,o.useBackend)(C.props.context),b=y.act;return C.state={color:C.props.color},C.handleClick=function(T){d!==void 0&&d.setState({color:"blue"}),b("switch_camera",{name:C.props.name}),d=c(C),C.setState({color:"green"})},C}var I=S.prototype;return I.render=function(){function O(){var C=this.props.x*2*this.props.zoom-this.props.zoom-3,y=this.props.y*2*this.props.zoom-this.props.zoom-3;return(0,n.createComponentVNode)(2,r.Button,{onClick:this.handleClick,position:"absolute",className:"NanoMap__button",lineHeight:"0",color:this.props.status?this.state.color:"red",bottom:y+"px",left:C+"px",children:(0,n.createComponentVNode)(2,r.Tooltip,{content:this.props.tooltip})},this.props.key)}return O}(),S}(n.Component);f.NanoButton=g},19153:function(E,e,t){"use strict";e.__esModule=!0,e.NoticeBox=void 0;var n=t(28823),r=t(66586),o=t(93843),a=["className","color","info","warning","success","danger"];/** + */function l(h,d){if(h==null)return{};var i={},v=Object.keys(h),s,p;for(p=0;p<v.length;p++)s=v[p],!(d.indexOf(s)>=0)&&(i[s]=h[s]);return i}var c=e.Modal=function(){function h(d){var i=d.className,v=d.children,s=d.onEnter,p=l(d,u),f;return s&&(f=function(){function g(m){m.keyCode===13&&s(m)}return g}()),(0,n.createComponentVNode)(2,a.Dimmer,{onKeyDown:f,children:(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Modal",i,(0,o.computeBoxClassName)(p)]),v,0,Object.assign({},(0,o.computeBoxProps)(p))))})}return h}()},55830:function(E,e,t){"use strict";e.__esModule=!0,e.NanoMap=void 0;var n=t(96524),r=t(24674),o=t(17899),a=t(91097),u=t(66397),l=t(17442);function c(g,m){g.prototype=Object.create(m.prototype),g.prototype.constructor=g,h(g,m)}function h(g,m){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function b(I,T){return I.__proto__=T,I}return b}(),h(g,m)}var d=function(m){return m.stopPropagation&&m.stopPropagation(),m.preventDefault&&m.preventDefault(),m.cancelBubble=!0,m.returnValue=!1,!1},i=e.NanoMap=function(g){function m(I){var T;T=g.call(this,I)||this;var C=window.innerWidth/2-256,S=window.innerHeight/2-256;return T.state={offsetX:128,offsetY:48,transform:"none",dragging:!1,originX:null,originY:null,zoom:1},T.handleDragStart=function(y){T.ref=y.target,T.setState({dragging:!1,originX:y.screenX,originY:y.screenY}),document.addEventListener("mousemove",T.handleDragMove),document.addEventListener("mouseup",T.handleDragEnd),d(y)},T.handleDragMove=function(y){T.setState(function(O){var A=Object.assign({},O),N=y.screenX-A.originX,M=y.screenY-A.originY;return O.dragging?(A.offsetX+=N,A.offsetY+=M,A.originX=y.screenX,A.originY=y.screenY):A.dragging=!0,A}),d(y)},T.handleDragEnd=function(y){T.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",T.handleDragMove),document.removeEventListener("mouseup",T.handleDragEnd),d(y)},T.handleZoom=function(y,O){T.setState(function(A){var N=Math.min(Math.max(O,1),8),M=(N-A.zoom)*1.5;return A.zoom=N,A.offsetX=A.offsetX-262*M,A.offsetY=A.offsetY-256*M,I.onZoom&&I.onZoom(A.zoom),A})},T}c(m,g);var b=m.prototype;return b.render=function(){function I(){var T=(0,o.useBackend)(this.context),C=T.config,S=this.state,y=S.dragging,O=S.offsetX,A=S.offsetY,N=S.zoom,M=N===void 0?1:N,R=this.props.children,L=C.map+"_nanomap_z1.png",x=510*M+"px",F={width:x,height:x,"margin-top":A+"px","margin-left":O+"px",overflow:"hidden",position:"relative","background-size":"cover","background-repeat":"no-repeat","text-align":"center",cursor:y?"move":"auto"},V={width:"100%",height:"100%",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","-ms-interpolation-mode":"nearest-neighbor"};return(0,n.createComponentVNode)(2,r.Box,{className:"NanoMap__container",children:[(0,n.createComponentVNode)(2,r.Box,{style:F,onMouseDown:this.handleDragStart,children:[(0,n.createVNode)(1,"img",null,null,1,{src:(0,l.resolveAsset)(L),style:V}),(0,n.createComponentVNode)(2,r.Box,{children:R})]}),(0,n.createComponentVNode)(2,s,{zoom:M,onZoom:this.handleZoom})]})}return I}(),m}(n.Component),v=function(m,b){var I=m.x,T=m.y,C=m.zoom,S=C===void 0?1:C,y=m.icon,O=m.tooltip,A=m.color,N=I*2*S-S-3,M=T*2*S-S-3;return(0,n.createVNode)(1,"div",null,(0,n.createComponentVNode)(2,r.Tooltip,{content:O,children:(0,n.createComponentVNode)(2,r.Box,{position:"absolute",className:"NanoMap__marker",lineHeight:"0",bottom:M+"px",left:N+"px",children:(0,n.createComponentVNode)(2,r.Icon,{name:y,color:A,fontSize:"6px"})})}),2)};i.Marker=v;var s=function(m,b){return(0,n.createComponentVNode)(2,r.Box,{className:"NanoMap__zoomer",children:(0,n.createComponentVNode)(2,a.LabeledList,{children:(0,n.createComponentVNode)(2,a.LabeledList.Item,{label:"Zoom",children:(0,n.createComponentVNode)(2,u.Slider,{minValue:1,maxValue:8,stepPixelSize:10,format:function(){function I(T){return T+"x"}return I}(),value:m.zoom,onDrag:function(){function I(T,C){return m.onZoom(T,C)}return I}()})})})})};i.Zoomer=s;var p,f=function(g){function m(I){var T;T=g.call(this,I)||this;var C=(0,o.useBackend)(T.props.context),S=C.act;return T.state={color:T.props.color},T.handleClick=function(y){p!==void 0&&p.setState({color:"blue"}),S("switch_camera",{name:T.props.name}),p=T,T.setState({color:"green"})},T}c(m,g);var b=m.prototype;return b.render=function(){function I(){var T=this.props.x*2*this.props.zoom-this.props.zoom-3,C=this.props.y*2*this.props.zoom-this.props.zoom-3;return(0,n.createComponentVNode)(2,r.Button,{onClick:this.handleClick,position:"absolute",className:"NanoMap__button",lineHeight:"0",color:this.props.status?this.state.color:"red",bottom:C+"px",left:T+"px",children:(0,n.createComponentVNode)(2,r.Tooltip,{content:this.props.tooltip})},this.props.key)}return I}(),m}(n.Component);i.NanoButton=f},14899:function(E,e,t){"use strict";e.__esModule=!0,e.NoticeBox=void 0;var n=t(96524),r=t(28234),o=t(3051),a=["className","color","info","warning","success","danger"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function u(c,h){if(c==null)return{};var v={},i=Object.keys(c),f,s;for(s=0;s<i.length;s++)f=i[s],!(h.indexOf(f)>=0)&&(v[f]=c[f]);return v}var l=e.NoticeBox=function(){function c(h){var v=h.className,i=h.color,f=h.info,s=h.warning,p=h.success,d=h.danger,g=u(h,a);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({className:(0,r.classes)(["NoticeBox",i&&"NoticeBox--color--"+i,f&&"NoticeBox--type--info",p&&"NoticeBox--type--success",d&&"NoticeBox--type--danger",v])},g)))}return c}();l.defaultHooks=r.pureComponentHooks},43023:function(E,e,t){"use strict";e.__esModule=!0,e.NumberInput=void 0;var n=t(28823),r=t(58331),o=t(66586),a=t(15281),u=t(93843);function l(i,f){i.prototype=Object.create(f.prototype),i.prototype.constructor=i,c(i,f)}function c(i,f){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function s(p,d){return p.__proto__=d,p}return s}(),c(i,f)}/** + */function u(c,h){if(c==null)return{};var d={},i=Object.keys(c),v,s;for(s=0;s<i.length;s++)v=i[s],!(h.indexOf(v)>=0)&&(d[v]=c[v]);return d}var l=e.NoticeBox=function(){function c(h){var d=h.className,i=h.color,v=h.info,s=h.warning,p=h.success,f=h.danger,g=u(h,a);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({className:(0,r.classes)(["NoticeBox",i&&"NoticeBox--color--"+i,v&&"NoticeBox--type--info",p&&"NoticeBox--type--success",f&&"NoticeBox--type--danger",d])},g)))}return c}();l.defaultHooks=r.pureComponentHooks},5985:function(E,e,t){"use strict";e.__esModule=!0,e.NumberInput=void 0;var n=t(96524),r=t(36121),o=t(28234),a=t(65416),u=t(3051);function l(i,v){i.prototype=Object.create(v.prototype),i.prototype.constructor=i,c(i,v)}function c(i,v){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function s(p,f){return p.__proto__=f,p}return s}(),c(i,v)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var h=400,v=e.NumberInput=function(i){l(f,i);function f(p){var d;d=i.call(this,p)||this;var g=p.value;return d.inputRef=(0,n.createRef)(),d.state={value:g,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},d.flickerTimer=null,d.suppressFlicker=function(){var m=d.props.suppressFlicker;m>0&&(d.setState({suppressingFlicker:!0}),clearTimeout(d.flickerTimer),d.flickerTimer=setTimeout(function(){return d.setState({suppressingFlicker:!1})},m))},d.handleDragStart=function(m){var S=d.props.value,I=d.state.editing;I||(document.body.style["pointer-events"]="none",d.ref=m.target,d.setState({dragging:!1,origin:m.screenY,value:S,internalValue:S}),d.timer=setTimeout(function(){d.setState({dragging:!0})},250),d.dragInterval=setInterval(function(){var O=d.state,C=O.dragging,y=O.value,b=d.props.onDrag;C&&b&&b(m,y)},d.props.updateRate||h),document.addEventListener("mousemove",d.handleDragMove),document.addEventListener("mouseup",d.handleDragEnd))},d.handleDragMove=function(m){var S=d.props,I=S.minValue,O=S.maxValue,C=S.step,y=S.stepPixelSize;d.setState(function(b){var T=Object.assign({},b),P=T.origin-m.screenY;if(b.dragging){var N=Number.isFinite(I)?I%C:0;T.internalValue=(0,r.clamp)(T.internalValue+P*C/y,I-C,O+C),T.value=(0,r.clamp)(T.internalValue-T.internalValue%C+N,I,O),T.origin=m.screenY}else Math.abs(P)>4&&(T.dragging=!0);return T})},d.handleDragEnd=function(m){var S=d.props,I=S.onChange,O=S.onDrag,C=d.state,y=C.dragging,b=C.value,T=C.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(d.timer),clearInterval(d.dragInterval),d.setState({dragging:!1,editing:!y,origin:null}),document.removeEventListener("mousemove",d.handleDragMove),document.removeEventListener("mouseup",d.handleDragEnd),y)d.suppressFlicker(),I&&I(m,b),O&&O(m,b);else if(d.inputRef){var P=d.inputRef.current;P.value=T;try{P.focus(),P.select()}catch(N){}}},d}var s=f.prototype;return s.render=function(){function p(){var d=this,g=this.state,m=g.dragging,S=g.editing,I=g.value,O=g.suppressingFlicker,C=this.props,y=C.className,b=C.fluid,T=C.animated,P=C.value,N=C.unit,M=C.minValue,R=C.maxValue,L=C.height,K=C.width,U=C.lineHeight,F=C.fontSize,$=C.format,B=C.onChange,x=C.onDrag,V=P;(m||O)&&(V=I);var G=(0,n.createVNode)(1,"div","NumberInput__content",[T&&!m&&!O?(0,n.createComponentVNode)(2,a.AnimatedNumber,{value:V,format:$}):$?$(V):V,N?" "+N:""],0,{unselectable:Byond.IS_LTE_IE8});return(0,n.createComponentVNode)(2,u.Box,{className:(0,o.classes)(["NumberInput",b&&"NumberInput--fluid",y]),minWidth:K,minHeight:L,lineHeight:U,fontSize:F,onMouseDown:this.handleDragStart,children:[(0,n.createVNode)(1,"div","NumberInput__barContainer",(0,n.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,r.clamp)((V-M)/(R-M)*100,0,100)+"%"}}),2),G,(0,n.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:S?void 0:"none",height:L,"line-height":U,"font-size":F},onBlur:function(){function Y(k){if(S){var nt=(0,r.clamp)(parseFloat(k.target.value),M,R);if(Number.isNaN(nt)){d.setState({editing:!1});return}d.setState({editing:!1,value:nt}),d.suppressFlicker(),B&&B(k,nt),x&&x(k,nt)}}return Y}(),onKeyDown:function(){function Y(k){if(k.keyCode===13){var nt=(0,r.clamp)(parseFloat(k.target.value),M,R);if(Number.isNaN(nt)){d.setState({editing:!1});return}d.setState({editing:!1,value:nt}),d.suppressFlicker(),B&&B(k,nt),x&&x(k,nt);return}if(k.keyCode===27){d.setState({editing:!1});return}}return Y}()},null,this.inputRef)]})}return p}(),f}(n.Component);v.defaultHooks=o.pureComponentHooks,v.defaultProps={minValue:-1/0,maxValue:1/0,step:1,stepPixelSize:1,suppressFlicker:50}},21624:function(E,e,t){"use strict";e.__esModule=!0,e.Popper=void 0;var n=t(60028),r=t(28823);function o(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,a(l,c)}function a(l,c){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function h(v,i){return v.__proto__=i,v}return h}(),a(l,c)}var u=e.Popper=function(l){o(c,l);function c(){var v;return v=l.call(this)||this,v.renderedContent=void 0,v.popperInstance=void 0,c.id+=1,v}var h=c.prototype;return h.componentDidMount=function(){function v(){var i=this,f=this.props,s=f.additionalStyles,p=f.options;if(this.renderedContent=document.createElement("div"),s)for(var d=0,g=Object.entries(s);d<g.length;d++){var m=g[d],S=m[0],I=m[1];this.renderedContent.style[S]=I}this.renderPopperContent(function(){document.body.appendChild(i.renderedContent),i.popperInstance=(0,n.createPopper)((0,r.findDOMfromVNode)(i.$LI,!0),i.renderedContent,p)})}return v}(),h.componentDidUpdate=function(){function v(){var i=this;this.renderPopperContent(function(){var f;return(f=i.popperInstance)==null?void 0:f.update()})}return v}(),h.componentWillUnmount=function(){function v(){var i,f=this;(i=this.popperInstance)==null||i.destroy(),(0,r.render)(null,this.renderedContent,function(){f.renderedContent.remove()})}return v}(),h.renderPopperContent=function(){function v(i){(0,r.render)(this.props.popperContent,this.renderedContent,i)}return v}(),h.render=function(){function v(){return this.props.children}return v}(),c}(r.Component);u.id=0},24273:function(E,e,t){"use strict";e.__esModule=!0,e.ProgressBarCountdown=e.ProgressBar=void 0;var n=t(28823),r=t(58331),o=t(66586),a=t(93843),u=["className","value","minValue","maxValue","color","ranges","children","fractionDigits"],l=["start","current","end"];/** +*/var h=400,d=e.NumberInput=function(i){function v(p){var f;f=i.call(this,p)||this;var g=p.value;return f.inputRef=(0,n.createRef)(),f.state={value:g,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},f.flickerTimer=null,f.suppressFlicker=function(){var m=f.props.suppressFlicker;m>0&&(f.setState({suppressingFlicker:!0}),clearTimeout(f.flickerTimer),f.flickerTimer=setTimeout(function(){return f.setState({suppressingFlicker:!1})},m))},f.handleDragStart=function(m){var b=f.props.value,I=f.state.editing;I||(document.body.style["pointer-events"]="none",f.ref=m.target,f.setState({dragging:!1,origin:m.screenY,value:b,internalValue:b}),f.timer=setTimeout(function(){f.setState({dragging:!0})},250),f.dragInterval=setInterval(function(){var T=f.state,C=T.dragging,S=T.value,y=f.props.onDrag;C&&y&&y(m,S)},f.props.updateRate||h),document.addEventListener("mousemove",f.handleDragMove),document.addEventListener("mouseup",f.handleDragEnd))},f.handleDragMove=function(m){var b=f.props,I=b.minValue,T=b.maxValue,C=b.step,S=b.stepPixelSize;f.setState(function(y){var O=Object.assign({},y),A=O.origin-m.screenY;if(y.dragging){var N=Number.isFinite(I)?I%C:0;O.internalValue=(0,r.clamp)(O.internalValue+A*C/S,I-C,T+C),O.value=(0,r.clamp)(O.internalValue-O.internalValue%C+N,I,T),O.origin=m.screenY}else Math.abs(A)>4&&(O.dragging=!0);return O})},f.handleDragEnd=function(m){var b=f.props,I=b.onChange,T=b.onDrag,C=f.state,S=C.dragging,y=C.value,O=C.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(f.timer),clearInterval(f.dragInterval),f.setState({dragging:!1,editing:!S,origin:null}),document.removeEventListener("mousemove",f.handleDragMove),document.removeEventListener("mouseup",f.handleDragEnd),S)f.suppressFlicker(),I&&I(m,y),T&&T(m,y);else if(f.inputRef){var A=f.inputRef.current;A.value=O;try{A.focus(),A.select()}catch(N){}}},f}l(v,i);var s=v.prototype;return s.render=function(){function p(){var f=this,g=this.state,m=g.dragging,b=g.editing,I=g.value,T=g.suppressingFlicker,C=this.props,S=C.className,y=C.fluid,O=C.animated,A=C.value,N=C.unit,M=C.minValue,R=C.maxValue,L=C.height,x=C.width,F=C.lineHeight,V=C.fontSize,G=C.format,B=C.onChange,U=C.onDrag,j=A;(m||T)&&(j=I);var K=(0,n.createVNode)(1,"div","NumberInput__content",[O&&!m&&!T?(0,n.createComponentVNode)(2,a.AnimatedNumber,{value:j,format:G}):G?G(j):j,N?" "+N:""],0);return(0,n.createComponentVNode)(2,u.Box,{className:(0,o.classes)(["NumberInput",y&&"NumberInput--fluid",S]),minWidth:x,minHeight:L,lineHeight:F,fontSize:V,onMouseDown:this.handleDragStart,children:[(0,n.createVNode)(1,"div","NumberInput__barContainer",(0,n.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,r.clamp)((j-M)/(R-M)*100,0,100)+"%"}}),2),K,(0,n.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:b?void 0:"none",height:L,"line-height":F,"font-size":V},onBlur:function(){function $(W){if(b){var nt=(0,r.clamp)(parseFloat(W.target.value),M,R);if(Number.isNaN(nt)){f.setState({editing:!1});return}f.setState({editing:!1,value:nt}),f.suppressFlicker(),B&&B(W,nt),U&&U(W,nt)}}return $}(),onKeyDown:function(){function $(W){if(W.keyCode===13){var nt=(0,r.clamp)(parseFloat(W.target.value),M,R);if(Number.isNaN(nt)){f.setState({editing:!1});return}f.setState({editing:!1,value:nt}),f.suppressFlicker(),B&&B(W,nt),U&&U(W,nt);return}if(W.keyCode===27){f.setState({editing:!1});return}}return $}()},null,this.inputRef)]})}return p}(),v}(n.Component);d.defaultHooks=o.pureComponentHooks,d.defaultProps={minValue:-1/0,maxValue:1/0,step:1,stepPixelSize:1,suppressFlicker:50}},37056:function(E,e,t){"use strict";e.__esModule=!0,e.Popper=void 0;var n=t(60023),r=t(96524);function o(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,a(l,c)}function a(l,c){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function h(d,i){return d.__proto__=i,d}return h}(),a(l,c)}var u=e.Popper=function(l){function c(){var d;return d=l.call(this)||this,d.renderedContent=void 0,d.popperInstance=void 0,c.id+=1,d}o(c,l);var h=c.prototype;return h.componentDidMount=function(){function d(){var i=this,v=this.props,s=v.additionalStyles,p=v.options;if(this.renderedContent=document.createElement("div"),s)for(var f=0,g=Object.entries(s);f<g.length;f++){var m=g[f],b=m[0],I=m[1];this.renderedContent.style[b]=I}this.renderPopperContent(function(){document.body.appendChild(i.renderedContent),i.popperInstance=(0,n.createPopper)((0,r.findDOMfromVNode)(i.$LI,!0),i.renderedContent,p)})}return d}(),h.componentDidUpdate=function(){function d(){var i=this;this.renderPopperContent(function(){var v;return(v=i.popperInstance)==null?void 0:v.update()})}return d}(),h.componentWillUnmount=function(){function d(){var i,v=this;(i=this.popperInstance)==null||i.destroy(),(0,r.render)(null,this.renderedContent,function(){v.renderedContent.remove()})}return d}(),h.renderPopperContent=function(){function d(i){(0,r.render)(this.props.popperContent,this.renderedContent,i)}return d}(),h.render=function(){function d(){return this.props.children}return d}(),c}(r.Component);u.id=0},36146:function(E,e,t){"use strict";e.__esModule=!0,e.ProgressBarCountdown=e.ProgressBar=void 0;var n=t(96524),r=t(36121),o=t(28234),a=t(3051),u=["className","value","minValue","maxValue","color","ranges","children","fractionDigits"],l=["start","current","end"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function c(s,p){s.prototype=Object.create(p.prototype),s.prototype.constructor=s,h(s,p)}function h(s,p){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function d(g,m){return g.__proto__=m,g}return d}(),h(s,p)}function v(s,p){if(s==null)return{};var d={},g=Object.keys(s),m,S;for(S=0;S<g.length;S++)m=g[S],!(p.indexOf(m)>=0)&&(d[m]=s[m]);return d}var i=e.ProgressBar=function(){function s(p){var d=p.className,g=p.value,m=p.minValue,S=m===void 0?0:m,I=p.maxValue,O=I===void 0?1:I,C=p.color,y=p.ranges,b=y===void 0?{}:y,T=p.children,P=p.fractionDigits,N=P===void 0?0:P,M=v(p,u),R=(0,r.scale)(g,S,O),L=T!==void 0,K=C||(0,r.keyOfMatchingRange)(g,b)||"default";return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,o.classes)(["ProgressBar","ProgressBar--color--"+K,d,(0,a.computeBoxClassName)(M)]),[(0,n.createVNode)(1,"div","ProgressBar__fill ProgressBar__fill--animated",null,1,{style:{width:(0,r.clamp01)(R)*100+"%"}}),(0,n.createVNode)(1,"div","ProgressBar__content",L?T:(0,r.toFixed)(R*100,N)+"%",0)],4,Object.assign({},(0,a.computeBoxProps)(M))))}return s}();i.defaultHooks=o.pureComponentHooks;var f=e.ProgressBarCountdown=function(s){c(p,s);function p(g){var m;return m=s.call(this,g)||this,m.timer=null,m.state={value:Math.max(g.current*100,0)},m}var d=p.prototype;return d.tick=function(){function g(){var m=Math.max(this.state.value+this.props.rate,0);m<=0&&clearInterval(this.timer),this.setState(function(S){return{value:m}})}return g}(),d.componentDidMount=function(){function g(){var m=this;this.timer=setInterval(function(){return m.tick()},this.props.rate)}return g}(),d.componentWillUnmount=function(){function g(){clearInterval(this.timer)}return g}(),d.render=function(){function g(){var m=this.props,S=m.start,I=m.current,O=m.end,C=v(m,l),y=(this.state.value/100-S)/(O-S);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,i,Object.assign({value:y},C)))}return g}(),p}(n.Component);f.defaultProps={rate:1e3},i.Countdown=f},49421:function(E,e,t){"use strict";e.__esModule=!0,e.RestrictedInput=void 0;var n=t(28823),r=t(66586),o=t(58331),a=t(93843),u=t(31068),l=["onChange","onEnter","onInput","value"],c=["className","fluid","monospace"];function h(g,m){if(g==null)return{};var S={},I=Object.keys(g),O,C;for(C=0;C<I.length;C++)O=I[C],!(m.indexOf(O)>=0)&&(S[O]=g[O]);return S}function v(g,m){g.prototype=Object.create(m.prototype),g.prototype.constructor=g,i(g,m)}function i(g,m){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function S(I,O){return I.__proto__=O,I}return S}(),i(g,m)}var f=0,s=1e4,p=function(m,S,I,O){var C=S||f,y=I||I===0?I:s;if(!m||!m.length)return String(C);var b=O?parseFloat(m.replace(/[^\-\d.]/g,"")):parseInt(m.replace(/[^\-\d]/g,""),10);return isNaN(b)?String(C):String((0,o.clamp)(b,C,y))},d=e.RestrictedInput=function(g){v(m,g);function m(){var I;return I=g.call(this)||this,I.inputRef=(0,n.createRef)(),I.state={editing:!1},I.handleBlur=function(O){var C=I.state.editing;C&&I.setEditing(!1)},I.handleChange=function(O){var C=I.props,y=C.maxValue,b=C.minValue,T=C.onChange,P=C.allowFloats;O.target.value=p(O.target.value,b,y,P),T&&T(O,+O.target.value)},I.handleFocus=function(O){var C=I.state.editing;C||I.setEditing(!0)},I.handleInput=function(O){var C=I.state.editing,y=I.props.onInput;C||I.setEditing(!0),y&&y(O,+O.target.value)},I.handleKeyDown=function(O){var C=I.props,y=C.maxValue,b=C.minValue,T=C.onChange,P=C.onEnter,N=C.allowFloats;if(O.keyCode===u.KEY_ENTER){var M=p(O.target.value,b,y,N);I.setEditing(!1),T&&T(O,+M),P&&P(O,+M),O.target.blur();return}if(O.keyCode===u.KEY_ESCAPE){if(I.props.onEscape){I.props.onEscape(O);return}I.setEditing(!1),O.target.value=I.props.value,O.target.blur();return}},I}var S=m.prototype;return S.componentDidMount=function(){function I(){var O,C=this,y=this.props,b=y.maxValue,T=y.minValue,P=y.allowFloats,N=(O=this.props.value)==null?void 0:O.toString(),M=this.inputRef.current;M&&(M.value=p(N,T,b,P)),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){M.focus(),C.props.autoSelect&&M.select()},1)}return I}(),S.componentDidUpdate=function(){function I(O,C){var y,b,T=this.props,P=T.maxValue,N=T.minValue,M=T.allowFloats,R=this.state.editing,L=(y=O.value)==null?void 0:y.toString(),K=(b=this.props.value)==null?void 0:b.toString(),U=this.inputRef.current;U&&!R&&K!==L&&K!==U.value&&(U.value=p(K,N,P,M))}return I}(),S.setEditing=function(){function I(O){this.setState({editing:O})}return I}(),S.render=function(){function I(){var O=this.props,C=O.onChange,y=O.onEnter,b=O.onInput,T=O.value,P=h(O,l),N=P.className,M=P.fluid,R=P.monospace,L=h(P,c);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,a.Box,Object.assign({className:(0,r.classes)(["Input",M&&"Input--fluid",R&&"Input--monospace",N])},L,{children:[(0,n.createVNode)(1,"div","Input__baseline",".",16),(0,n.createVNode)(64,"input","Input__input",null,1,{onChange:this.handleChange,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,type:"number"},null,this.inputRef)]})))}return I}(),m}(n.Component)},37479:function(E,e,t){"use strict";e.__esModule=!0,e.RoundGauge=void 0;var n=t(28823),r=t(58331),o=t(66586),a=t(15281),u=t(93843),l=["value","minValue","maxValue","ranges","alertAfter","format","size","className","style"];/** + */function c(s,p){s.prototype=Object.create(p.prototype),s.prototype.constructor=s,h(s,p)}function h(s,p){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function f(g,m){return g.__proto__=m,g}return f}(),h(s,p)}function d(s,p){if(s==null)return{};var f={},g=Object.keys(s),m,b;for(b=0;b<g.length;b++)m=g[b],!(p.indexOf(m)>=0)&&(f[m]=s[m]);return f}var i=e.ProgressBar=function(){function s(p){var f=p.className,g=p.value,m=p.minValue,b=m===void 0?0:m,I=p.maxValue,T=I===void 0?1:I,C=p.color,S=p.ranges,y=S===void 0?{}:S,O=p.children,A=p.fractionDigits,N=A===void 0?0:A,M=d(p,u),R=(0,r.scale)(g,b,T),L=O!==void 0,x=C||(0,r.keyOfMatchingRange)(g,y)||"default";return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,o.classes)(["ProgressBar","ProgressBar--color--"+x,f,(0,a.computeBoxClassName)(M)]),[(0,n.createVNode)(1,"div","ProgressBar__fill ProgressBar__fill--animated",null,1,{style:{width:(0,r.clamp01)(R)*100+"%"}}),(0,n.createVNode)(1,"div","ProgressBar__content",L?O:(0,r.toFixed)(R*100,N)+"%",0)],4,Object.assign({},(0,a.computeBoxProps)(M))))}return s}();i.defaultHooks=o.pureComponentHooks;var v=e.ProgressBarCountdown=function(s){function p(g){var m;return m=s.call(this,g)||this,m.timer=null,m.state={value:Math.max(g.current*100,0)},m}c(p,s);var f=p.prototype;return f.tick=function(){function g(){var m=Math.max(this.state.value+this.props.rate,0);m<=0&&clearInterval(this.timer),this.setState(function(b){return{value:m}})}return g}(),f.componentDidMount=function(){function g(){var m=this;this.timer=setInterval(function(){return m.tick()},this.props.rate)}return g}(),f.componentWillUnmount=function(){function g(){clearInterval(this.timer)}return g}(),f.render=function(){function g(){var m=this.props,b=m.start,I=m.current,T=m.end,C=d(m,l),S=(this.state.value/100-b)/(T-b);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,i,Object.assign({value:S},C)))}return g}(),p}(n.Component);v.defaultProps={rate:1e3},i.Countdown=v},49977:function(E,e,t){"use strict";e.__esModule=!0,e.RestrictedInput=void 0;var n=t(96524),r=t(28234),o=t(36121),a=t(3051),u=t(68100),l=["onChange","onEnter","onInput","value"],c=["className","fluid","monospace"];function h(g,m){if(g==null)return{};var b={},I=Object.keys(g),T,C;for(C=0;C<I.length;C++)T=I[C],!(m.indexOf(T)>=0)&&(b[T]=g[T]);return b}function d(g,m){g.prototype=Object.create(m.prototype),g.prototype.constructor=g,i(g,m)}function i(g,m){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function b(I,T){return I.__proto__=T,I}return b}(),i(g,m)}var v=0,s=1e4,p=function(m,b,I,T){var C=b||v,S=I||I===0?I:s;if(!m||!m.length)return String(C);var y=T?parseFloat(m.replace(/[^\-\d.]/g,"")):parseInt(m.replace(/[^\-\d]/g,""),10);return isNaN(y)?String(C):String((0,o.clamp)(y,C,S))},f=e.RestrictedInput=function(g){function m(){var I;return I=g.call(this)||this,I.inputRef=(0,n.createRef)(),I.state={editing:!1},I.handleBlur=function(T){var C=I.state.editing;C&&I.setEditing(!1)},I.handleChange=function(T){var C=I.props,S=C.maxValue,y=C.minValue,O=C.onChange,A=C.allowFloats;T.target.value=p(T.target.value,y,S,A),O&&O(T,+T.target.value)},I.handleFocus=function(T){var C=I.state.editing;C||I.setEditing(!0)},I.handleInput=function(T){var C=I.state.editing,S=I.props.onInput;C||I.setEditing(!0),S&&S(T,+T.target.value)},I.handleKeyDown=function(T){var C=I.props,S=C.maxValue,y=C.minValue,O=C.onChange,A=C.onEnter,N=C.allowFloats;if(T.keyCode===u.KEY_ENTER){var M=p(T.target.value,y,S,N);I.setEditing(!1),O&&O(T,+M),A&&A(T,+M),T.target.blur();return}if(T.keyCode===u.KEY_ESCAPE){if(I.props.onEscape){I.props.onEscape(T);return}I.setEditing(!1),T.target.value=I.props.value,T.target.blur();return}},I}d(m,g);var b=m.prototype;return b.componentDidMount=function(){function I(){var T,C=this,S=this.props,y=S.maxValue,O=S.minValue,A=S.allowFloats,N=(T=this.props.value)==null?void 0:T.toString(),M=this.inputRef.current;M&&(M.value=p(N,O,y,A)),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){M.focus(),C.props.autoSelect&&M.select()},1)}return I}(),b.componentDidUpdate=function(){function I(T,C){var S,y,O=this.props,A=O.maxValue,N=O.minValue,M=O.allowFloats,R=this.state.editing,L=(S=T.value)==null?void 0:S.toString(),x=(y=this.props.value)==null?void 0:y.toString(),F=this.inputRef.current;F&&!R&&x!==L&&x!==F.value&&(F.value=p(x,N,A,M))}return I}(),b.setEditing=function(){function I(T){this.setState({editing:T})}return I}(),b.render=function(){function I(){var T=this.props,C=T.onChange,S=T.onEnter,y=T.onInput,O=T.value,A=h(T,l),N=A.className,M=A.fluid,R=A.monospace,L=h(A,c);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,a.Box,Object.assign({className:(0,r.classes)(["Input",M&&"Input--fluid",R&&"Input--monospace",N])},L,{children:[(0,n.createVNode)(1,"div","Input__baseline",".",16),(0,n.createVNode)(64,"input","Input__input",null,1,{onChange:this.handleChange,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,type:"number"},null,this.inputRef)]})))}return I}(),m}(n.Component)},2083:function(E,e,t){"use strict";e.__esModule=!0,e.RoundGauge=void 0;var n=t(96524),r=t(36121),o=t(28234),a=t(65416),u=t(3051),l=["value","minValue","maxValue","ranges","alertAfter","format","size","className","style"];/** * @file * @copyright 2020 bobbahbrown (https://github.com/bobbahbrown) * @license MIT - */function c(v,i){if(v==null)return{};var f={},s=Object.keys(v),p,d;for(d=0;d<s.length;d++)p=s[d],!(i.indexOf(p)>=0)&&(f[p]=v[p]);return f}var h=e.RoundGauge=function(){function v(i){if(Byond.IS_LTE_IE8)return(0,n.normalizeProps)((0,n.createComponentVNode)(2,a.AnimatedNumber,Object.assign({},i)));var f=i.value,s=i.minValue,p=s===void 0?1:s,d=i.maxValue,g=d===void 0?1:d,m=i.ranges,S=i.alertAfter,I=i.format,O=i.size,C=O===void 0?1:O,y=i.className,b=i.style,T=c(i,l),P=(0,r.scale)(f,p,g),N=(0,r.clamp01)(P),M=m?{}:{primary:[0,1]};m&&Object.keys(m).forEach(function(L){var K=m[L];M[L]=[(0,r.scale)(K[0],p,g),(0,r.scale)(K[1],p,g)]});var R=null;return S<f&&(R=(0,r.keyOfMatchingRange)(N,M)),(0,n.createComponentVNode)(2,u.Box,{inline:!0,children:[(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,o.classes)(["RoundGauge",y,(0,u.computeBoxClassName)(T)]),(0,n.createVNode)(32,"svg",null,[S&&(0,n.createVNode)(32,"g",(0,o.classes)(["RoundGauge__alert",R?"active RoundGauge__alert--"+R:""]),(0,n.createVNode)(32,"path",null,null,1,{d:"M48.211,14.578C48.55,13.9 49.242,13.472 50,13.472C50.758,13.472 51.45,13.9 51.789,14.578C54.793,20.587 60.795,32.589 63.553,38.106C63.863,38.726 63.83,39.462 63.465,40.051C63.101,40.641 62.457,41 61.764,41C55.996,41 44.004,41 38.236,41C37.543,41 36.899,40.641 36.535,40.051C36.17,39.462 36.137,38.726 36.447,38.106C39.205,32.589 45.207,20.587 48.211,14.578ZM50,34.417C51.426,34.417 52.583,35.574 52.583,37C52.583,38.426 51.426,39.583 50,39.583C48.574,39.583 47.417,38.426 47.417,37C47.417,35.574 48.574,34.417 50,34.417ZM50,32.75C50,32.75 53,31.805 53,22.25C53,20.594 51.656,19.25 50,19.25C48.344,19.25 47,20.594 47,22.25C47,31.805 50,32.75 50,32.75Z"}),2),(0,n.createVNode)(32,"g",null,(0,n.createVNode)(32,"circle","RoundGauge__ringTrack",null,1,{cx:"50",cy:"50",r:"45"}),2),(0,n.createVNode)(32,"g",null,Object.keys(M).map(function(L,K){var U=M[L];return(0,n.createVNode)(32,"circle","RoundGauge__ringFill RoundGauge--color--"+L,null,1,{style:{"stroke-dashoffset":Math.max((2-(U[1]-U[0]))*Math.PI*50,0)},transform:"rotate("+(180+180*U[0])+" 50 50)",cx:"50",cy:"50",r:"45"},K)}),0),(0,n.createVNode)(32,"g","RoundGauge__needle",[(0,n.createVNode)(32,"polygon","RoundGauge__needleLine",null,1,{points:"46,50 50,0 54,50"}),(0,n.createVNode)(32,"circle","RoundGauge__needleMiddle",null,1,{cx:"50",cy:"50",r:"8"})],4,{transform:"rotate("+(N*180-90)+" 50 50)"})],0,{viewBox:"0 0 100 50"}),2,Object.assign({},(0,u.computeBoxProps)(Object.assign({style:Object.assign({"font-size":C+"em"},b)},T))))),(0,n.createComponentVNode)(2,a.AnimatedNumber,{value:f,format:I,size:C})]})}return v}()},43308:function(E,e,t){"use strict";e.__esModule=!0,e.Section=void 0;var n=t(28823),r=t(66586),o=t(33053),a=t(93843),u=["className","title","buttons","fill","fitted","scrollable","children"];function l(i,f){if(i==null)return{};var s={},p=Object.keys(i),d,g;for(g=0;g<p.length;g++)d=p[g],!(f.indexOf(d)>=0)&&(s[d]=i[d]);return s}function c(i,f){i.prototype=Object.create(f.prototype),i.prototype.constructor=i,h(i,f)}function h(i,f){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function s(p,d){return p.__proto__=d,p}return s}(),h(i,f)}/** + */function c(d,i){if(d==null)return{};var v={},s=Object.keys(d),p,f;for(f=0;f<s.length;f++)p=s[f],!(i.indexOf(p)>=0)&&(v[p]=d[p]);return v}var h=e.RoundGauge=function(){function d(i){var v=i.value,s=i.minValue,p=s===void 0?1:s,f=i.maxValue,g=f===void 0?1:f,m=i.ranges,b=i.alertAfter,I=i.format,T=i.size,C=T===void 0?1:T,S=i.className,y=i.style,O=c(i,l),A=(0,r.scale)(v,p,g),N=(0,r.clamp01)(A),M=m?{}:{primary:[0,1]};m&&Object.keys(m).forEach(function(L){var x=m[L];M[L]=[(0,r.scale)(x[0],p,g),(0,r.scale)(x[1],p,g)]});var R=null;return b<v&&(R=(0,r.keyOfMatchingRange)(N,M)),(0,n.createComponentVNode)(2,u.Box,{inline:!0,children:[(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,o.classes)(["RoundGauge",S,(0,u.computeBoxClassName)(O)]),(0,n.createVNode)(32,"svg",null,[b&&(0,n.createVNode)(32,"g",(0,o.classes)(["RoundGauge__alert",R?"active RoundGauge__alert--"+R:""]),(0,n.createVNode)(32,"path",null,null,1,{d:"M48.211,14.578C48.55,13.9 49.242,13.472 50,13.472C50.758,13.472 51.45,13.9 51.789,14.578C54.793,20.587 60.795,32.589 63.553,38.106C63.863,38.726 63.83,39.462 63.465,40.051C63.101,40.641 62.457,41 61.764,41C55.996,41 44.004,41 38.236,41C37.543,41 36.899,40.641 36.535,40.051C36.17,39.462 36.137,38.726 36.447,38.106C39.205,32.589 45.207,20.587 48.211,14.578ZM50,34.417C51.426,34.417 52.583,35.574 52.583,37C52.583,38.426 51.426,39.583 50,39.583C48.574,39.583 47.417,38.426 47.417,37C47.417,35.574 48.574,34.417 50,34.417ZM50,32.75C50,32.75 53,31.805 53,22.25C53,20.594 51.656,19.25 50,19.25C48.344,19.25 47,20.594 47,22.25C47,31.805 50,32.75 50,32.75Z"}),2),(0,n.createVNode)(32,"g",null,(0,n.createVNode)(32,"circle","RoundGauge__ringTrack",null,1,{cx:"50",cy:"50",r:"45"}),2),(0,n.createVNode)(32,"g",null,Object.keys(M).map(function(L,x){var F=M[L];return(0,n.createVNode)(32,"circle","RoundGauge__ringFill RoundGauge--color--"+L,null,1,{style:{"stroke-dashoffset":Math.max((2-(F[1]-F[0]))*Math.PI*50,0)},transform:"rotate("+(180+180*F[0])+" 50 50)",cx:"50",cy:"50",r:"45"},x)}),0),(0,n.createVNode)(32,"g","RoundGauge__needle",[(0,n.createVNode)(32,"polygon","RoundGauge__needleLine",null,1,{points:"46,50 50,0 54,50"}),(0,n.createVNode)(32,"circle","RoundGauge__needleMiddle",null,1,{cx:"50",cy:"50",r:"8"})],4,{transform:"rotate("+(N*180-90)+" 50 50)"})],0,{viewBox:"0 0 100 50"}),2,Object.assign({},(0,u.computeBoxProps)(Object.assign({style:Object.assign({"font-size":C+"em"},y)},O))))),(0,n.createComponentVNode)(2,a.AnimatedNumber,{value:v,format:I,size:C})]})}return d}()},5201:function(E,e,t){"use strict";e.__esModule=!0,e.Section=void 0;var n=t(96524),r=t(28234),o=t(92700),a=t(3051),u=["className","title","buttons","fill","fitted","scrollable","children"];function l(i,v){if(i==null)return{};var s={},p=Object.keys(i),f,g;for(g=0;g<p.length;g++)f=p[g],!(v.indexOf(f)>=0)&&(s[f]=i[f]);return s}function c(i,v){i.prototype=Object.create(v.prototype),i.prototype.constructor=i,h(i,v)}function h(i,v){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function s(p,f){return p.__proto__=f,p}return s}(),h(i,v)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var v=e.Section=function(i){c(f,i);function f(p){var d;return d=i.call(this,p)||this,d.scrollableRef=void 0,d.scrollable=void 0,d.scrollableRef=(0,n.createRef)(),d.scrollable=p.scrollable,d}var s=f.prototype;return s.componentDidMount=function(){function p(){this.scrollable&&(0,o.addScrollableNode)(this.scrollableRef.current)}return p}(),s.componentWillUnmount=function(){function p(){this.scrollable&&(0,o.removeScrollableNode)(this.scrollableRef.current)}return p}(),s.render=function(){function p(){var d=this.props,g=d.className,m=d.title,S=d.buttons,I=d.fill,O=d.fitted,C=d.scrollable,y=d.children,b=l(d,u),T=(0,r.canRender)(m)||(0,r.canRender)(S);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Section",Byond.IS_LTE_IE8&&"Section--iefix",I&&"Section--fill",O&&"Section--fitted",C&&"Section--scrollable",g,(0,a.computeBoxClassName)(b)]),[T&&(0,n.createVNode)(1,"div","Section__title",[(0,n.createVNode)(1,"span","Section__titleText",m,0),(0,n.createVNode)(1,"div","Section__buttons",S,0)],4),(0,n.createVNode)(1,"div","Section__rest",(0,n.createVNode)(1,"div","Section__content",y,0,null,null,this.scrollableRef),2)],0,Object.assign({},(0,a.computeBoxProps)(b))))}return p}(),f}(n.Component)},83611:function(E,e,t){"use strict";e.__esModule=!0,e.Slider=void 0;var n=t(28823),r=t(58331),o=t(66586),a=t(93843),u=t(41584),l=t(43023),c=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","fillValue","color","ranges","children","disabled"];/** +*/var d=e.Section=function(i){function v(p){var f;return f=i.call(this,p)||this,f.scrollableRef=void 0,f.scrollable=void 0,f.scrollableRef=(0,n.createRef)(),f.scrollable=p.scrollable,f}c(v,i);var s=v.prototype;return s.componentDidMount=function(){function p(){this.scrollable&&(0,o.addScrollableNode)(this.scrollableRef.current)}return p}(),s.componentWillUnmount=function(){function p(){this.scrollable&&(0,o.removeScrollableNode)(this.scrollableRef.current)}return p}(),s.render=function(){function p(){var f=this.props,g=f.className,m=f.title,b=f.buttons,I=f.fill,T=f.fitted,C=f.scrollable,S=f.children,y=l(f,u),O=(0,r.canRender)(m)||(0,r.canRender)(b);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Section",I&&"Section--fill",T&&"Section--fitted",C&&"Section--scrollable",g,(0,a.computeBoxClassName)(y)]),[O&&(0,n.createVNode)(1,"div","Section__title",[(0,n.createVNode)(1,"span","Section__titleText",m,0),(0,n.createVNode)(1,"div","Section__buttons",b,0)],4),(0,n.createVNode)(1,"div","Section__rest",(0,n.createVNode)(1,"div","Section__content",S,0,null,null,this.scrollableRef),2)],0,Object.assign({},(0,a.computeBoxProps)(y))))}return p}(),v}(n.Component)},66397:function(E,e,t){"use strict";e.__esModule=!0,e.Slider=void 0;var n=t(96524),r=t(36121),o=t(28234),a=t(3051),u=t(27648),l=t(5985),c=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","fillValue","color","ranges","children","disabled"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function h(i,f){if(i==null)return{};var s={},p=Object.keys(i),d,g;for(g=0;g<p.length;g++)d=p[g],!(f.indexOf(d)>=0)&&(s[d]=i[d]);return s}var v=e.Slider=function(){function i(f){if(Byond.IS_LTE_IE8)return(0,n.normalizeProps)((0,n.createComponentVNode)(2,l.NumberInput,Object.assign({},f)));var s=f.animated,p=f.format,d=f.maxValue,g=f.minValue,m=f.onChange,S=f.onDrag,I=f.step,O=f.stepPixelSize,C=f.suppressFlicker,y=f.unit,b=f.value,T=f.className,P=f.fillValue,N=f.color,M=f.ranges,R=M===void 0?{}:M,L=f.children,K=f.disabled,U=h(f,c),F=L!==void 0;return(0,n.normalizeProps)((0,n.createComponentVNode)(2,u.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:s,format:p,maxValue:d,minValue:g,onChange:m,onDrag:S,step:I,stepPixelSize:O,suppressFlicker:C,unit:y,value:b,disabled:K},{children:function(){function $(B){var x=B.dragging,V=B.editing,G=B.value,Y=B.displayValue,k=B.displayElement,nt=B.inputElement,ut=B.handleDragStart,ft=P!=null,W=(0,r.scale)(G,g,d),X=(0,r.scale)(P!=null?P:Y,g,d),et=(0,r.scale)(Y,g,d),ct=N||(0,r.keyOfMatchingRange)(P!=null?P:G,R)||"default";return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,o.classes)(["Slider",K&&"Slider__disabled","ProgressBar",K?"ProgressBar--color--disabled":"ProgressBar--color--"+ct,T,(0,a.computeBoxClassName)(U)]),[(0,n.createVNode)(1,"div",(0,o.classes)(["ProgressBar__fill",ft&&"ProgressBar__fill--animated"]),null,1,{style:{width:(0,r.clamp01)(X)*100+"%",opacity:.4}}),(0,n.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:(0,r.clamp01)(Math.min(X,et))*100+"%"}}),(0,n.createVNode)(1,"div","Slider__cursorOffset",[(0,n.createVNode)(1,"div","Slider__cursor"),(0,n.createVNode)(1,"div","Slider__pointer"),x&&(0,n.createVNode)(1,"div","Slider__popupValue",k,0)],0,{style:{width:(0,r.clamp01)(et)*100+"%"}}),(0,n.createVNode)(1,"div","ProgressBar__content",F?L:k,0),nt],0,Object.assign({disabled:K},(0,a.computeBoxProps)(U),{onMouseDown:ut})))}return $}()})))}return i}()},78581:function(E,e,t){"use strict";e.__esModule=!0,e.Stack=void 0;var n=t(28823),r=t(66586),o=t(92462),a=["className","vertical","fill"],u=["className","innerRef"],l=["className","hidden"];/** + */function h(i,v){if(i==null)return{};var s={},p=Object.keys(i),f,g;for(g=0;g<p.length;g++)f=p[g],!(v.indexOf(f)>=0)&&(s[f]=i[f]);return s}var d=e.Slider=function(){function i(v){var s=v.animated,p=v.format,f=v.maxValue,g=v.minValue,m=v.onChange,b=v.onDrag,I=v.step,T=v.stepPixelSize,C=v.suppressFlicker,S=v.unit,y=v.value,O=v.className,A=v.fillValue,N=v.color,M=v.ranges,R=M===void 0?{}:M,L=v.children,x=v.disabled,F=h(v,c),V=L!==void 0;return(0,n.normalizeProps)((0,n.createComponentVNode)(2,u.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:s,format:p,maxValue:f,minValue:g,onChange:m,onDrag:b,step:I,stepPixelSize:T,suppressFlicker:C,unit:S,value:y,disabled:x},{children:function(){function G(B){var U=B.dragging,j=B.editing,K=B.value,$=B.displayValue,W=B.displayElement,nt=B.inputElement,st=B.handleDragStart,gt=A!=null,k=(0,r.scale)(K,g,f),X=(0,r.scale)(A!=null?A:$,g,f),tt=(0,r.scale)($,g,f),ct=N||(0,r.keyOfMatchingRange)(A!=null?A:K,R)||"default";return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,o.classes)(["Slider",x&&"Slider__disabled","ProgressBar",x?"ProgressBar--color--disabled":"ProgressBar--color--"+ct,O,(0,a.computeBoxClassName)(F)]),[(0,n.createVNode)(1,"div",(0,o.classes)(["ProgressBar__fill",gt&&"ProgressBar__fill--animated"]),null,1,{style:{width:(0,r.clamp01)(X)*100+"%",opacity:.4}}),(0,n.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:(0,r.clamp01)(Math.min(X,tt))*100+"%"}}),(0,n.createVNode)(1,"div","Slider__cursorOffset",[(0,n.createVNode)(1,"div","Slider__cursor"),(0,n.createVNode)(1,"div","Slider__pointer"),U&&(0,n.createVNode)(1,"div","Slider__popupValue",W,0)],0,{style:{width:(0,r.clamp01)(tt)*100+"%"}}),(0,n.createVNode)(1,"div","ProgressBar__content",V?L:W,0),nt],0,Object.assign({disabled:x},(0,a.computeBoxProps)(F),{onMouseDown:st})))}return G}()})))}return i}()},24800:function(E,e,t){"use strict";e.__esModule=!0,e.Stack=void 0;var n=t(96524),r=t(28234),o=t(18963),a=["className","vertical","fill"],u=["className","innerRef"],l=["className","hidden"];/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */function c(f,s){if(f==null)return{};var p={},d=Object.keys(f),g,m;for(m=0;m<d.length;m++)g=d[m],!(s.indexOf(g)>=0)&&(p[g]=f[g]);return p}var h=e.Stack=function(){function f(s){var p=s.className,d=s.vertical,g=s.fill,m=c(s,a);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Stack",g&&"Stack--fill",d?"Stack--vertical":"Stack--horizontal",p,(0,o.computeFlexClassName)(s)]),null,1,Object.assign({},(0,o.computeFlexProps)(Object.assign({direction:d?"column":"row"},m)))))}return f}(),v=function(s){var p=s.className,d=s.innerRef,g=c(s,u);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Stack__item",p,(0,o.computeFlexItemClassName)(g)]),null,1,Object.assign({},(0,o.computeFlexItemProps)(g)),null,d))};h.Item=v;var i=function(s){var p=s.className,d=s.hidden,g=c(s,l);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Stack__item","Stack__divider",d&&"Stack__divider--hidden",p,(0,o.computeFlexItemClassName)(g)]),null,1,Object.assign({},(0,o.computeFlexItemProps)(g))))};h.Divider=i},99753:function(E,e,t){"use strict";e.__esModule=!0,e.TableRow=e.TableCell=e.Table=void 0;var n=t(28823),r=t(66586),o=t(93843),a=["className","collapsing","children"],u=["className","header"],l=["className","collapsing","header"];/** + */function c(v,s){if(v==null)return{};var p={},f=Object.keys(v),g,m;for(m=0;m<f.length;m++)g=f[m],!(s.indexOf(g)>=0)&&(p[g]=v[g]);return p}var h=e.Stack=function(){function v(s){var p=s.className,f=s.vertical,g=s.fill,m=c(s,a);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Stack",g&&"Stack--fill",f?"Stack--vertical":"Stack--horizontal",p,(0,o.computeFlexClassName)(s)]),null,1,Object.assign({},(0,o.computeFlexProps)(Object.assign({direction:f?"column":"row"},m)))))}return v}(),d=function(s){var p=s.className,f=s.innerRef,g=c(s,u);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Stack__item",p,(0,o.computeFlexItemClassName)(g)]),null,1,Object.assign({},(0,o.computeFlexItemProps)(g)),null,f))};h.Item=d;var i=function(s){var p=s.className,f=s.hidden,g=c(s,l);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Stack__item","Stack__divider",f&&"Stack__divider--hidden",p,(0,o.computeFlexItemClassName)(g)]),null,1,Object.assign({},(0,o.computeFlexItemProps)(g))))};h.Divider=i},5126:function(E,e,t){"use strict";e.__esModule=!0,e.TableRow=e.TableCell=e.Table=void 0;var n=t(96524),r=t(28234),o=t(3051),a=["className","collapsing","children"],u=["className","header"],l=["className","collapsing","header"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function c(f,s){if(f==null)return{};var p={},d=Object.keys(f),g,m;for(m=0;m<d.length;m++)g=d[m],!(s.indexOf(g)>=0)&&(p[g]=f[g]);return p}var h=e.Table=function(){function f(s){var p=s.className,d=s.collapsing,g=s.children,m=c(s,a);return(0,n.normalizeProps)((0,n.createVNode)(1,"table",(0,r.classes)(["Table",d&&"Table--collapsing",p,(0,o.computeBoxClassName)(m)]),(0,n.createVNode)(1,"tbody",null,g,0),2,Object.assign({},(0,o.computeBoxProps)(m))))}return f}();h.defaultHooks=r.pureComponentHooks;var v=e.TableRow=function(){function f(s){var p=s.className,d=s.header,g=c(s,u);return(0,n.normalizeProps)((0,n.createVNode)(1,"tr",(0,r.classes)(["Table__row",d&&"Table__row--header",p,(0,o.computeBoxClassName)(s)]),null,1,Object.assign({},(0,o.computeBoxProps)(g))))}return f}();v.defaultHooks=r.pureComponentHooks;var i=e.TableCell=function(){function f(s){var p=s.className,d=s.collapsing,g=s.header,m=c(s,l);return(0,n.normalizeProps)((0,n.createVNode)(1,"td",(0,r.classes)(["Table__cell",d&&"Table__cell--collapsing",g&&"Table__cell--header",p,(0,o.computeBoxClassName)(s)]),null,1,Object.assign({},(0,o.computeBoxProps)(m))))}return f}();i.defaultHooks=r.pureComponentHooks,h.Row=v,h.Cell=i},96517:function(E,e,t){"use strict";e.__esModule=!0,e.Tabs=void 0;var n=t(28823),r=t(66586),o=t(93843),a=t(69433),u=["className","vertical","fill","fluid","children"],l=["className","selected","color","icon","leftSlot","rightSlot","children"];/** + */function c(v,s){if(v==null)return{};var p={},f=Object.keys(v),g,m;for(m=0;m<f.length;m++)g=f[m],!(s.indexOf(g)>=0)&&(p[g]=v[g]);return p}var h=e.Table=function(){function v(s){var p=s.className,f=s.collapsing,g=s.children,m=c(s,a);return(0,n.normalizeProps)((0,n.createVNode)(1,"table",(0,r.classes)(["Table",f&&"Table--collapsing",p,(0,o.computeBoxClassName)(m)]),(0,n.createVNode)(1,"tbody",null,g,0),2,Object.assign({},(0,o.computeBoxProps)(m))))}return v}();h.defaultHooks=r.pureComponentHooks;var d=e.TableRow=function(){function v(s){var p=s.className,f=s.header,g=c(s,u);return(0,n.normalizeProps)((0,n.createVNode)(1,"tr",(0,r.classes)(["Table__row",f&&"Table__row--header",p,(0,o.computeBoxClassName)(s)]),null,1,Object.assign({},(0,o.computeBoxProps)(g))))}return v}();d.defaultHooks=r.pureComponentHooks;var i=e.TableCell=function(){function v(s){var p=s.className,f=s.collapsing,g=s.header,m=c(s,l);return(0,n.normalizeProps)((0,n.createVNode)(1,"td",(0,r.classes)(["Table__cell",f&&"Table__cell--collapsing",g&&"Table__cell--header",p,(0,o.computeBoxClassName)(s)]),null,1,Object.assign({},(0,o.computeBoxProps)(m))))}return v}();i.defaultHooks=r.pureComponentHooks,h.Row=d,h.Cell=i},26104:function(E,e,t){"use strict";e.__esModule=!0,e.Tabs=void 0;var n=t(96524),r=t(28234),o=t(3051),a=t(11253),u=["className","vertical","fill","fluid","children"],l=["className","selected","color","icon","leftSlot","rightSlot","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function c(i,f){if(i==null)return{};var s={},p=Object.keys(i),d,g;for(g=0;g<p.length;g++)d=p[g],!(f.indexOf(d)>=0)&&(s[d]=i[d]);return s}var h=e.Tabs=function(){function i(f){var s=f.className,p=f.vertical,d=f.fill,g=f.fluid,m=f.children,S=c(f,u);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Tabs",p?"Tabs--vertical":"Tabs--horizontal",d&&"Tabs--fill",g&&"Tabs--fluid",s,(0,o.computeBoxClassName)(S)]),m,0,Object.assign({},(0,o.computeBoxProps)(S))))}return i}(),v=function(f){var s=f.className,p=f.selected,d=f.color,g=f.icon,m=f.leftSlot,S=f.rightSlot,I=f.children,O=c(f,l);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Tab","Tabs__Tab","Tab--color--"+d,p&&"Tab--selected",s,(0,o.computeBoxClassName)(O)]),[(0,r.canRender)(m)&&(0,n.createVNode)(1,"div","Tab__left",m,0)||!!g&&(0,n.createVNode)(1,"div","Tab__left",(0,n.createComponentVNode)(2,a.Icon,{name:g}),2),(0,n.createVNode)(1,"div","Tab__text",I,0),(0,r.canRender)(S)&&(0,n.createVNode)(1,"div","Tab__right",S,0)],0,Object.assign({},(0,o.computeBoxProps)(O))))};h.Tab=v},12764:function(E,e,t){"use strict";e.__esModule=!0,e.TextArea=void 0;var n=t(28823),r=t(66586),o=t(93843),a=t(51190),u=t(31068),l=["onChange","onKeyDown","onKeyPress","onInput","onFocus","onBlur","onEnter","value","maxLength","placeholder"],c=["className","fluid"];function h(s,p){if(s==null)return{};var d={},g=Object.keys(s),m,S;for(S=0;S<g.length;S++)m=g[S],!(p.indexOf(m)>=0)&&(d[m]=s[m]);return d}function v(s,p){s.prototype=Object.create(p.prototype),s.prototype.constructor=s,i(s,p)}function i(s,p){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function d(g,m){return g.__proto__=m,g}return d}(),i(s,p)}/** + */function c(i,v){if(i==null)return{};var s={},p=Object.keys(i),f,g;for(g=0;g<p.length;g++)f=p[g],!(v.indexOf(f)>=0)&&(s[f]=i[f]);return s}var h=e.Tabs=function(){function i(v){var s=v.className,p=v.vertical,f=v.fill,g=v.fluid,m=v.children,b=c(v,u);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Tabs",p?"Tabs--vertical":"Tabs--horizontal",f&&"Tabs--fill",g&&"Tabs--fluid",s,(0,o.computeBoxClassName)(b)]),m,0,Object.assign({},(0,o.computeBoxProps)(b))))}return i}(),d=function(v){var s=v.className,p=v.selected,f=v.color,g=v.icon,m=v.leftSlot,b=v.rightSlot,I=v.children,T=c(v,l);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Tab","Tabs__Tab","Tab--color--"+f,p&&"Tab--selected",s,(0,o.computeBoxClassName)(T)]),[(0,r.canRender)(m)&&(0,n.createVNode)(1,"div","Tab__left",m,0)||!!g&&(0,n.createVNode)(1,"div","Tab__left",(0,n.createComponentVNode)(2,a.Icon,{name:g}),2),(0,n.createVNode)(1,"div","Tab__text",I,0),(0,r.canRender)(b)&&(0,n.createVNode)(1,"div","Tab__right",b,0)],0,Object.assign({},(0,o.computeBoxProps)(T))))};h.Tab=d},67606:function(E,e,t){"use strict";e.__esModule=!0,e.TextArea=void 0;var n=t(96524),r=t(28234),o=t(3051),a=t(49034),u=t(68100),l=["onChange","onKeyDown","onKeyPress","onInput","onFocus","onBlur","onEnter","value","maxLength","placeholder"],c=["className","fluid"];function h(s,p){if(s==null)return{};var f={},g=Object.keys(s),m,b;for(b=0;b<g.length;b++)m=g[b],!(p.indexOf(m)>=0)&&(f[m]=s[m]);return f}function d(s,p){s.prototype=Object.create(p.prototype),s.prototype.constructor=s,i(s,p)}function i(s,p){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function f(g,m){return g.__proto__=m,g}return f}(),i(s,p)}/** * @file * @copyright 2020 Aleksej Komarov * @author Warlockd * @license MIT -*/var f=e.TextArea=function(s){v(p,s);function p(g,m){var S;S=s.call(this,g,m)||this,S.textareaRef=g.innerRef||(0,n.createRef)(),S.fillerRef=(0,n.createRef)(),S.state={editing:!1};var I=g.dontUseTabForIndent,O=I===void 0?!1:I;return S.handleOnInput=function(C){var y=S.state.editing,b=S.props.onInput;y||S.setEditing(!0),b&&b(C,C.target.value)},S.handleOnChange=function(C){var y=S.state.editing,b=S.props.onChange;y&&S.setEditing(!1),b&&b(C,C.target.value)},S.handleKeyPress=function(C){var y=S.state.editing,b=S.props.onKeyPress;y||S.setEditing(!0),b&&b(C,C.target.value)},S.handleKeyDown=function(C){var y=S.state.editing,b=S.props,T=b.onChange,P=b.onInput,N=b.onEnter,M=b.onKeyDown;if(C.keyCode===u.KEY_ENTER){S.setEditing(!1),T&&T(C,C.target.value),P&&P(C,C.target.value),N&&N(C,C.target.value),S.props.selfClear&&(C.target.value="",C.target.blur());return}if(C.keyCode===u.KEY_ESCAPE){S.props.onEscape&&S.props.onEscape(C),S.setEditing(!1),S.props.selfClear?C.target.value="":(C.target.value=(0,a.toInputValue)(S.props.value),C.target.blur());return}if(y||S.setEditing(!0),M&&M(C,C.target.value),!O){var R=C.keyCode||C.which;if(R===u.KEY_TAB){C.preventDefault();var L=C.target,K=L.value,U=L.selectionStart,F=L.selectionEnd;C.target.value=K.substring(0,U)+" "+K.substring(F),C.target.selectionEnd=U+1}}},S.handleFocus=function(C){var y=S.state.editing;y||S.setEditing(!0)},S.handleBlur=function(C){var y=S.state.editing,b=S.props.onChange;y&&(S.setEditing(!1),b&&b(C,C.target.value))},S}var d=p.prototype;return d.componentDidMount=function(){function g(){var m=this,S=this.props.value,I=this.textareaRef.current;I&&(I.value=(0,a.toInputValue)(S)),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){I.focus(),m.props.autoSelect&&I.select()},1)}return g}(),d.componentDidUpdate=function(){function g(m,S){var I=m.value,O=this.props.value,C=this.textareaRef.current;C&&typeof O=="string"&&I!==O&&(C.value=(0,a.toInputValue)(O))}return g}(),d.setEditing=function(){function g(m){this.setState({editing:m})}return g}(),d.getValue=function(){function g(){return this.textareaRef.current&&this.textareaRef.current.value}return g}(),d.render=function(){function g(){var m=this.props,S=m.onChange,I=m.onKeyDown,O=m.onKeyPress,C=m.onInput,y=m.onFocus,b=m.onBlur,T=m.onEnter,P=m.value,N=m.maxLength,M=m.placeholder,R=h(m,l),L=R.className,K=R.fluid,U=h(R,c);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({className:(0,r.classes)(["TextArea",K&&"TextArea--fluid",L])},U,{children:(0,n.createVNode)(128,"textarea","TextArea__textarea",null,1,{placeholder:M,onChange:this.handleOnChange,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onInput:this.handleOnInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:N},null,this.textareaRef)})))}return g}(),p}(n.Component)},71218:function(E,e){"use strict";e.__esModule=!0,e.TimeDisplay=void 0;var t=function(o){(!o||o<0)&&(o=0);var a=Math.floor(o/60).toString(10),u=(Math.floor(o)%60).toString(10);return[a,u].map(function(l){return l.length<2?"0"+l:l}).join(":")},n=e.TimeDisplay=function(){function r(o){var a=o.totalSeconds,u=a===void 0?0:a;return t(u)}return r}()},30341:function(E,e,t){"use strict";e.__esModule=!0,e.Tooltip=void 0;var n=t(28823),r=t(60028),o;function a(v,i){v.prototype=Object.create(i.prototype),v.prototype.constructor=v,u(v,i)}function u(v,i){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function f(s,p){return s.__proto__=p,s}return f}(),u(v,i)}var l={modifiers:[{name:"eventListeners",enabled:!1}]},c={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function v(){return null}return v}()},h=e.Tooltip=function(v){a(i,v);function i(){return v.apply(this,arguments)||this}var f=i.prototype;return f.getDOMNode=function(){function s(){return(0,n.findDOMfromVNode)(this.$LI,!0)}return s}(),f.componentDidMount=function(){function s(){var p=this,d=this.getDOMNode();d&&(d.addEventListener("mouseenter",function(){var g=i.renderedTooltip;g===void 0&&(g=document.createElement("div"),g.className="Tooltip",document.body.appendChild(g),i.renderedTooltip=g),i.currentHoveredElement=d,g.style.opacity="1",p.renderPopperContent()}),d.addEventListener("mouseleave",function(){p.fadeOut()}))}return s}(),f.fadeOut=function(){function s(){i.currentHoveredElement===this.getDOMNode()&&(i.currentHoveredElement=void 0,i.renderedTooltip.style.opacity="0")}return s}(),f.renderPopperContent=function(){function s(){var p=this,d=i.renderedTooltip;d&&(0,n.render)((0,n.createVNode)(1,"span",null,this.props.content,0),d,function(){var g=i.singletonPopper;g===void 0?(g=(0,r.createPopper)(i.virtualElement,d,Object.assign({},l,{placement:p.props.position||"auto"})),i.singletonPopper=g):(g.setOptions(Object.assign({},l,{placement:p.props.position||"auto"})),g.update())},this.context)}return s}(),f.componentDidUpdate=function(){function s(){i.currentHoveredElement===this.getDOMNode()&&this.renderPopperContent()}return s}(),f.componentWillUnmount=function(){function s(){this.fadeOut()}return s}(),f.render=function(){function s(){return this.props.children}return s}(),i}(n.Component);o=h,h.renderedTooltip=void 0,h.singletonPopper=void 0,h.currentHoveredElement=void 0,h.virtualElement={getBoundingClientRect:function(){function v(){var i,f;return(i=(f=o.currentHoveredElement)==null?void 0:f.getBoundingClientRect())!=null?i:c}return v}()}},2971:function(E,e,t){"use strict";e.__esModule=!0,e.Tooltip=e.TimeDisplay=e.TextArea=e.Tabs=e.Table=e.Stack=e.Slider=e.Section=e.RoundGauge=e.RestrictedInput=e.ProgressBar=e.Popper=e.NumberInput=e.NoticeBox=e.NanoMap=e.Modal=e.LabeledList=e.LabeledControls=e.Knob=e.Input=e.Icon=e.Grid=e.Flex=e.Dropdown=e.DraggableControl=e.Divider=e.Dimmer=e.Countdown=e.ColorBox=e.Collapsible=e.Chart=e.ByondUi=e.Button=e.Box=e.BlockQuote=e.Blink=e.Autofocus=e.AnimatedNumber=void 0;var n=t(15281);e.AnimatedNumber=n.AnimatedNumber;var r=t(81789);e.Autofocus=r.Autofocus;var o=t(11316);e.Blink=o.Blink;var a=t(26558);e.BlockQuote=a.BlockQuote;var u=t(93843);e.Box=u.Box;var l=t(16699);e.Button=l.Button;var c=t(75614);e.ByondUi=c.ByondUi;var h=t(2909);e.Chart=h.Chart;var v=t(52760);e.Collapsible=v.Collapsible;var i=t(25762);e.ColorBox=i.ColorBox;var f=t(73712);e.Countdown=f.Countdown;var s=t(15148);e.Dimmer=s.Dimmer;var p=t(81878);e.Divider=p.Divider;var d=t(41584);e.DraggableControl=d.DraggableControl;var g=t(99936);e.Dropdown=g.Dropdown;var m=t(92462);e.Flex=m.Flex;var S=t(81753);e.Grid=S.Grid;var I=t(69433);e.Icon=I.Icon;var O=t(51190);e.Input=O.Input;var C=t(35095);e.Knob=C.Knob;var y=t(36563);e.LabeledControls=y.LabeledControls;var b=t(88488);e.LabeledList=b.LabeledList;var T=t(59743);e.Modal=T.Modal;var P=t(94405);e.NanoMap=P.NanoMap;var N=t(19153);e.NoticeBox=N.NoticeBox;var M=t(43023);e.NumberInput=M.NumberInput;var R=t(21624);e.Popper=R.Popper;var L=t(24273);e.ProgressBar=L.ProgressBar;var K=t(49421);e.RestrictedInput=K.RestrictedInput;var U=t(37479);e.RoundGauge=U.RoundGauge;var F=t(43308);e.Section=F.Section;var $=t(83611);e.Slider=$.Slider;var B=t(78581);e.Stack=B.Stack;var x=t(99753);e.Table=x.Table;var V=t(96517);e.Tabs=V.Tabs;var G=t(12764);e.TextArea=G.TextArea;var Y=t(71218);e.TimeDisplay=Y.TimeDisplay;var k=t(30341);e.Tooltip=k.Tooltip},30381:function(E,e){"use strict";e.__esModule=!0,e.timeAgo=e.getGasLabel=e.getGasColor=e.UI_UPDATE=e.UI_INTERACTIVE=e.UI_DISABLED=e.UI_CLOSE=e.RADIO_CHANNELS=e.CSS_COLORS=e.COLORS=void 0;var t=e.UI_INTERACTIVE=2,n=e.UI_UPDATE=1,r=e.UI_DISABLED=0,o=e.UI_CLOSE=-1,a=e.COLORS={department:{command:"#526aff",security:"#CF0000",medical:"#009190",science:"#993399",engineering:"#A66300",supply:"#9F8545",service:"#80A000",centcom:"#78789B",other:"#C38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}},u=e.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"],l=e.RADIO_CHANNELS=[{name:"Syndicate",freq:1213,color:"#a52a2a"},{name:"SyndTeam",freq:1244,color:"#a52a2a"},{name:"Red Team",freq:1215,color:"#ff4444"},{name:"Blue Team",freq:1217,color:"#3434fd"},{name:"Response Team",freq:1345,color:"#2681a5"},{name:"Special Ops",freq:1341,color:"#2681a5"},{name:"Supply",freq:1347,color:"#b88646"},{name:"Service",freq:1349,color:"#6ca729"},{name:"Science",freq:1351,color:"#c68cfa"},{name:"Command",freq:1353,color:"#5177ff"},{name:"Procedure",freq:1339,color:"#F70285"},{name:"Medical",freq:1355,color:"#57b8f0"},{name:"Medical(I)",freq:1485,color:"#57b8f0"},{name:"Engineering",freq:1357,color:"#f37746"},{name:"Security",freq:1359,color:"#dd3535"},{name:"Security(I)",freq:1475,color:"#dd3535"},{name:"AI Private",freq:1343,color:"#d65d95"},{name:"Common",freq:1459,color:"#1ecc43"}],c=[{id:"o2",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"co2",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"plasma",name:"Plasma",label:"Plasma",color:"pink"},{id:"water_vapor",name:"Water Vapor",label:"H\u2082O",color:"grey"},{id:"nob",name:"Hyper-noblium",label:"Hyper-nob",color:"teal"},{id:"n2o",name:"Nitrous Oxide",label:"N\u2082O",color:"red"},{id:"no2",name:"Nitryl",label:"NO\u2082",color:"brown"},{id:"tritium",name:"Tritium",label:"Tritium",color:"green"},{id:"bz",name:"BZ",label:"BZ",color:"purple"},{id:"stim",name:"Stimulum",label:"Stimulum",color:"purple"},{id:"pluox",name:"Pluoxium",label:"Pluoxium",color:"blue"},{id:"miasma",name:"Miasma",label:"Miasma",color:"olive"},{id:"hydrogen",name:"Hydrogen",label:"H\u2082",color:"white"},{id:"ab",name:"Agent B",label:"Agent B",color:"purple"}],h=e.getGasLabel=function(){function f(s,p){var d=String(s).toLowerCase(),g=c.find(function(m){return m.id===d||m.name.toLowerCase()===d});return g&&g.label||p||s}return f}(),v=e.getGasColor=function(){function f(s){var p=String(s).toLowerCase(),d=c.find(function(g){return g.id===p||g.name.toLowerCase()===p});return d&&d.color}return f}(),i=e.timeAgo=function(){function f(s,p){if(s>p)return"in the future";s=s/10,p=p/10;var d=p-s;if(d>3600){var g=Math.round(d/3600);return g+" hour"+(g===1?"":"s")+" ago"}else if(d>60){var m=Math.round(d/60);return m+" minute"+(m===1?"":"s")+" ago"}else{var S=Math.round(d);return S+" second"+(S===1?"":"s")+" ago"}return"just now"}return f}()},28766:function(E,e,t){"use strict";e.__esModule=!0,e.KitchenSink=void 0;var n=t(28823),r=t(91819),o=t(2971),a=t(84947);/** +*/var v=e.TextArea=function(s){function p(g,m){var b;b=s.call(this,g,m)||this,b.textareaRef=g.innerRef||(0,n.createRef)(),b.fillerRef=(0,n.createRef)(),b.state={editing:!1};var I=g.dontUseTabForIndent,T=I===void 0?!1:I;return b.handleOnInput=function(C){var S=b.state.editing,y=b.props.onInput;S||b.setEditing(!0),y&&y(C,C.target.value)},b.handleOnChange=function(C){var S=b.state.editing,y=b.props.onChange;S&&b.setEditing(!1),y&&y(C,C.target.value)},b.handleKeyPress=function(C){var S=b.state.editing,y=b.props.onKeyPress;S||b.setEditing(!0),y&&y(C,C.target.value)},b.handleKeyDown=function(C){var S=b.state.editing,y=b.props,O=y.onChange,A=y.onInput,N=y.onEnter,M=y.onKeyDown;if(C.keyCode===u.KEY_ENTER){b.setEditing(!1),O&&O(C,C.target.value),A&&A(C,C.target.value),N&&N(C,C.target.value),b.props.selfClear&&(C.target.value="",C.target.blur());return}if(C.keyCode===u.KEY_ESCAPE){b.props.onEscape&&b.props.onEscape(C),b.setEditing(!1),b.props.selfClear?C.target.value="":(C.target.value=(0,a.toInputValue)(b.props.value),C.target.blur());return}if(S||b.setEditing(!0),M&&M(C,C.target.value),!T){var R=C.keyCode||C.which;if(R===u.KEY_TAB){C.preventDefault();var L=C.target,x=L.value,F=L.selectionStart,V=L.selectionEnd;C.target.value=x.substring(0,F)+" "+x.substring(V),C.target.selectionEnd=F+1}}},b.handleFocus=function(C){var S=b.state.editing;S||b.setEditing(!0)},b.handleBlur=function(C){var S=b.state.editing,y=b.props.onChange;S&&(b.setEditing(!1),y&&y(C,C.target.value))},b}d(p,s);var f=p.prototype;return f.componentDidMount=function(){function g(){var m=this,b=this.props.value,I=this.textareaRef.current;I&&(I.value=(0,a.toInputValue)(b)),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){I.focus(),m.props.autoSelect&&I.select()},1)}return g}(),f.componentDidUpdate=function(){function g(m,b){var I=m.value,T=this.props.value,C=this.textareaRef.current;C&&typeof T=="string"&&I!==T&&(C.value=(0,a.toInputValue)(T))}return g}(),f.setEditing=function(){function g(m){this.setState({editing:m})}return g}(),f.getValue=function(){function g(){return this.textareaRef.current&&this.textareaRef.current.value}return g}(),f.render=function(){function g(){var m=this.props,b=m.onChange,I=m.onKeyDown,T=m.onKeyPress,C=m.onInput,S=m.onFocus,y=m.onBlur,O=m.onEnter,A=m.value,N=m.maxLength,M=m.placeholder,R=h(m,l),L=R.className,x=R.fluid,F=h(R,c);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,o.Box,Object.assign({className:(0,r.classes)(["TextArea",x&&"TextArea--fluid",L])},F,{children:(0,n.createVNode)(128,"textarea","TextArea__textarea",null,1,{placeholder:M,onChange:this.handleOnChange,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onInput:this.handleOnInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:N},null,this.textareaRef)})))}return g}(),p}(n.Component)},6303:function(E,e){"use strict";e.__esModule=!0,e.TimeDisplay=void 0;var t=function(o){(!o||o<0)&&(o=0);var a=Math.floor(o/60).toString(10),u=(Math.floor(o)%60).toString(10);return[a,u].map(function(l){return l.length<2?"0"+l:l}).join(":")},n=e.TimeDisplay=function(){function r(o){var a=o.totalSeconds,u=a===void 0?0:a;return t(u)}return r}()},58749:function(E,e,t){"use strict";e.__esModule=!0,e.Tooltip=void 0;var n=t(96524),r=t(60023),o;function a(d,i){d.prototype=Object.create(i.prototype),d.prototype.constructor=d,u(d,i)}function u(d,i){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function v(s,p){return s.__proto__=p,s}return v}(),u(d,i)}var l={modifiers:[{name:"eventListeners",enabled:!1}]},c={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function d(){return null}return d}()},h=e.Tooltip=function(d){function i(){return d.apply(this,arguments)||this}a(i,d);var v=i.prototype;return v.getDOMNode=function(){function s(){return(0,n.findDOMfromVNode)(this.$LI,!0)}return s}(),v.componentDidMount=function(){function s(){var p=this,f=this.getDOMNode();f&&(f.addEventListener("mouseenter",function(){var g=i.renderedTooltip;g===void 0&&(g=document.createElement("div"),g.className="Tooltip",document.body.appendChild(g),i.renderedTooltip=g),i.currentHoveredElement=f,g.style.opacity="1",p.renderPopperContent()}),f.addEventListener("mouseleave",function(){p.fadeOut()}))}return s}(),v.fadeOut=function(){function s(){i.currentHoveredElement===this.getDOMNode()&&(i.currentHoveredElement=void 0,i.renderedTooltip.style.opacity="0")}return s}(),v.renderPopperContent=function(){function s(){var p=this,f=i.renderedTooltip;f&&(0,n.render)((0,n.createVNode)(1,"span",null,this.props.content,0),f,function(){var g=i.singletonPopper;g===void 0?(g=(0,r.createPopper)(i.virtualElement,f,Object.assign({},l,{placement:p.props.position||"auto"})),i.singletonPopper=g):(g.setOptions(Object.assign({},l,{placement:p.props.position||"auto"})),g.update())},this.context)}return s}(),v.componentDidUpdate=function(){function s(){i.currentHoveredElement===this.getDOMNode()&&this.renderPopperContent()}return s}(),v.componentWillUnmount=function(){function s(){this.fadeOut()}return s}(),v.render=function(){function s(){return this.props.children}return s}(),i}(n.Component);o=h,h.renderedTooltip=void 0,h.singletonPopper=void 0,h.currentHoveredElement=void 0,h.virtualElement={getBoundingClientRect:function(){function d(){var i,v;return(i=(v=o.currentHoveredElement)==null?void 0:v.getBoundingClientRect())!=null?i:c}return d}()}},24674:function(E,e,t){"use strict";e.__esModule=!0,e.Tooltip=e.TimeDisplay=e.TextArea=e.Tabs=e.Table=e.Stack=e.Slider=e.Section=e.RoundGauge=e.RestrictedInput=e.ProgressBar=e.Popper=e.NumberInput=e.NoticeBox=e.NanoMap=e.Modal=e.LabeledList=e.LabeledControls=e.Knob=e.Input=e.Icon=e.Grid=e.Flex=e.Dropdown=e.DraggableControl=e.Divider=e.Dimmer=e.Countdown=e.ColorBox=e.Collapsible=e.Chart=e.ByondUi=e.Button=e.Box=e.BlockQuote=e.Blink=e.Autofocus=e.AnimatedNumber=void 0;var n=t(65416);e.AnimatedNumber=n.AnimatedNumber;var r=t(11735);e.Autofocus=r.Autofocus;var o=t(35436);e.Blink=o.Blink;var a=t(55239);e.BlockQuote=a.BlockQuote;var u=t(3051);e.Box=u.Box;var l=t(91688);e.Button=l.Button;var c=t(42204);e.ByondUi=c.ByondUi;var h=t(41886);e.Chart=h.Chart;var d=t(83974);e.Collapsible=d.Collapsible;var i=t(26236);e.ColorBox=i.ColorBox;var v=t(99509);e.Countdown=v.Countdown;var s=t(72358);e.Dimmer=s.Dimmer;var p=t(31647);e.Divider=p.Divider;var f=t(27648);e.DraggableControl=f.DraggableControl;var g=t(45293);e.Dropdown=g.Dropdown;var m=t(18963);e.Flex=m.Flex;var b=t(17956);e.Grid=b.Grid;var I=t(11253);e.Icon=I.Icon;var T=t(49034);e.Input=T.Input;var C=t(9836);e.Knob=C.Knob;var S=t(86259);e.LabeledControls=S.LabeledControls;var y=t(91097);e.LabeledList=y.LabeledList;var O=t(97539);e.Modal=O.Modal;var A=t(55830);e.NanoMap=A.NanoMap;var N=t(14899);e.NoticeBox=N.NoticeBox;var M=t(5985);e.NumberInput=M.NumberInput;var R=t(37056);e.Popper=R.Popper;var L=t(36146);e.ProgressBar=L.ProgressBar;var x=t(49977);e.RestrictedInput=x.RestrictedInput;var F=t(2083);e.RoundGauge=F.RoundGauge;var V=t(5201);e.Section=V.Section;var G=t(66397);e.Slider=G.Slider;var B=t(24800);e.Stack=B.Stack;var U=t(5126);e.Table=U.Table;var j=t(26104);e.Tabs=j.Tabs;var K=t(67606);e.TextArea=K.TextArea;var $=t(6303);e.TimeDisplay=$.TimeDisplay;var W=t(58749);e.Tooltip=W.Tooltip},38424:function(E,e){"use strict";e.__esModule=!0,e.timeAgo=e.getGasLabel=e.getGasColor=e.UI_UPDATE=e.UI_INTERACTIVE=e.UI_DISABLED=e.UI_CLOSE=e.RADIO_CHANNELS=e.CSS_COLORS=e.COLORS=void 0;var t=e.UI_INTERACTIVE=2,n=e.UI_UPDATE=1,r=e.UI_DISABLED=0,o=e.UI_CLOSE=-1,a=e.COLORS={department:{command:"#526aff",security:"#CF0000",medical:"#009190",science:"#993399",engineering:"#A66300",supply:"#9F8545",service:"#80A000",centcom:"#78789B",other:"#C38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}},u=e.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"],l=e.RADIO_CHANNELS=[{name:"Syndicate",freq:1213,color:"#a52a2a"},{name:"SyndTeam",freq:1244,color:"#a52a2a"},{name:"Red Team",freq:1215,color:"#ff4444"},{name:"Blue Team",freq:1217,color:"#3434fd"},{name:"Response Team",freq:1345,color:"#2681a5"},{name:"Special Ops",freq:1341,color:"#2681a5"},{name:"Supply",freq:1347,color:"#b88646"},{name:"Service",freq:1349,color:"#6ca729"},{name:"Science",freq:1351,color:"#c68cfa"},{name:"Command",freq:1353,color:"#5177ff"},{name:"Procedure",freq:1339,color:"#F70285"},{name:"Medical",freq:1355,color:"#57b8f0"},{name:"Medical(I)",freq:1485,color:"#57b8f0"},{name:"Engineering",freq:1357,color:"#f37746"},{name:"Security",freq:1359,color:"#dd3535"},{name:"Security(I)",freq:1475,color:"#dd3535"},{name:"AI Private",freq:1343,color:"#d65d95"},{name:"Common",freq:1459,color:"#1ecc43"}],c=[{id:"o2",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"co2",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"plasma",name:"Plasma",label:"Plasma",color:"pink"},{id:"water_vapor",name:"Water Vapor",label:"H\u2082O",color:"grey"},{id:"nob",name:"Hyper-noblium",label:"Hyper-nob",color:"teal"},{id:"n2o",name:"Nitrous Oxide",label:"N\u2082O",color:"red"},{id:"no2",name:"Nitryl",label:"NO\u2082",color:"brown"},{id:"tritium",name:"Tritium",label:"Tritium",color:"green"},{id:"bz",name:"BZ",label:"BZ",color:"purple"},{id:"stim",name:"Stimulum",label:"Stimulum",color:"purple"},{id:"pluox",name:"Pluoxium",label:"Pluoxium",color:"blue"},{id:"miasma",name:"Miasma",label:"Miasma",color:"olive"},{id:"hydrogen",name:"Hydrogen",label:"H\u2082",color:"white"},{id:"ab",name:"Agent B",label:"Agent B",color:"purple"}],h=e.getGasLabel=function(){function v(s,p){var f=String(s).toLowerCase(),g=c.find(function(m){return m.id===f||m.name.toLowerCase()===f});return g&&g.label||p||s}return v}(),d=e.getGasColor=function(){function v(s){var p=String(s).toLowerCase(),f=c.find(function(g){return g.id===p||g.name.toLowerCase()===p});return f&&f.color}return v}(),i=e.timeAgo=function(){function v(s,p){if(s>p)return"in the future";s=s/10,p=p/10;var f=p-s;if(f>3600){var g=Math.round(f/3600);return g+" hour"+(g===1?"":"s")+" ago"}else if(f>60){var m=Math.round(f/60);return m+" minute"+(m===1?"":"s")+" ago"}else{var b=Math.round(f);return b+" second"+(b===1?"":"s")+" ago"}return"just now"}return v}()},27598:function(E,e,t){"use strict";e.__esModule=!0,e.KitchenSink=void 0;var n=t(96524),r=t(17899),o=t(24674),a=t(45493);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var u=t(69321),l=function(){return u.keys().map(function(v){return u(v)})},c=e.KitchenSink=function(){function h(v,i){var f=v.panel,s=(0,r.useLocalState)(i,"kitchenSinkTheme"),p=s[0],d=(0,r.useLocalState)(i,"pageIndex",0),g=d[0],m=d[1],S=l(),I=S[g],O=f?a.Pane:a.Window;return(0,n.createComponentVNode)(2,O,{title:"Kitchen Sink",width:600,height:500,theme:p,children:(0,n.createComponentVNode)(2,o.Flex,{height:"100%",children:[(0,n.createComponentVNode)(2,o.Flex.Item,{m:1,mr:0,children:(0,n.createComponentVNode)(2,o.Section,{fill:!0,fitted:!0,children:(0,n.createComponentVNode)(2,o.Tabs,{vertical:!0,children:S.map(function(C,y){return(0,n.createComponentVNode)(2,o.Tabs.Tab,{color:"transparent",selected:y===g,onClick:function(){function b(){return m(y)}return b}(),children:C.meta.title},y)})})})}),(0,n.createComponentVNode)(2,o.Flex.Item,{position:"relative",grow:1,children:(0,n.createComponentVNode)(2,O.Content,{scrollable:!0,children:I.meta.render()})})]})})}return h}()},20697:function(E,e,t){"use strict";e.__esModule=!0,e.toggleKitchenSink=e.toggleDebugLayout=e.openExternalBrowser=void 0;var n=t(90816);/** + */var u=t(4085),l=function(){return u.keys().map(function(d){return u(d)})},c=e.KitchenSink=function(){function h(d,i){var v=d.panel,s=(0,r.useLocalState)(i,"kitchenSinkTheme"),p=s[0],f=(0,r.useLocalState)(i,"pageIndex",0),g=f[0],m=f[1],b=l(),I=b[g],T=v?a.Pane:a.Window;return(0,n.createComponentVNode)(2,T,{title:"Kitchen Sink",width:600,height:500,theme:p,children:(0,n.createComponentVNode)(2,o.Flex,{height:"100%",children:[(0,n.createComponentVNode)(2,o.Flex.Item,{m:1,mr:0,children:(0,n.createComponentVNode)(2,o.Section,{fill:!0,fitted:!0,children:(0,n.createComponentVNode)(2,o.Tabs,{vertical:!0,children:b.map(function(C,S){return(0,n.createComponentVNode)(2,o.Tabs.Tab,{color:"transparent",selected:S===g,onClick:function(){function y(){return m(S)}return y}(),children:C.meta.title},S)})})})}),(0,n.createComponentVNode)(2,o.Flex.Item,{position:"relative",grow:1,children:(0,n.createComponentVNode)(2,T.Content,{scrollable:!0,children:I.meta.render()})})]})})}return h}()},82574:function(E,e,t){"use strict";e.__esModule=!0,e.toggleKitchenSink=e.toggleDebugLayout=e.openExternalBrowser=void 0;var n=t(88605);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r=e.toggleKitchenSink=(0,n.createAction)("debug/toggleKitchenSink"),o=e.toggleDebugLayout=(0,n.createAction)("debug/toggleDebugLayout"),a=e.openExternalBrowser=(0,n.createAction)("debug/openExternalBrowser")},72315:function(E,e,t){"use strict";e.__esModule=!0,e.useDebug=void 0;var n=t(90816),r=t(94505);/** + */var r=e.toggleKitchenSink=(0,n.createAction)("debug/toggleKitchenSink"),o=e.toggleDebugLayout=(0,n.createAction)("debug/toggleDebugLayout"),a=e.openExternalBrowser=(0,n.createAction)("debug/openExternalBrowser")},5385:function(E,e,t){"use strict";e.__esModule=!0,e.useDebug=void 0;var n=t(88605),r=t(52991);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=e.useDebug=function(){function a(u){return(0,n.useSelector)(u,r.selectDebug)}return a}()},39241:function(E,e,t){"use strict";e.__esModule=!0,e.useDebug=e.relayMiddleware=e.debugReducer=e.debugMiddleware=e.KitchenSink=void 0;var n=t(72315);e.useDebug=n.useDebug;var r=t(28766);e.KitchenSink=r.KitchenSink;var o=t(57860);e.debugMiddleware=o.debugMiddleware,e.relayMiddleware=o.relayMiddleware;var a=t(42702);e.debugReducer=a.debugReducer},57860:function(E,e,t){"use strict";e.__esModule=!0,e.relayMiddleware=e.debugMiddleware=void 0;var n=t(31068),r=t(33053),o=t(39891),a=t(20697);/** + */var o=e.useDebug=function(){function a(u){return(0,n.useSelector)(u,r.selectDebug)}return a}()},90781:function(E,e,t){"use strict";e.__esModule=!0,e.useDebug=e.relayMiddleware=e.debugReducer=e.debugMiddleware=e.KitchenSink=void 0;var n=t(5385);e.useDebug=n.useDebug;var r=t(27598);e.KitchenSink=r.KitchenSink;var o=t(52785);e.debugMiddleware=o.debugMiddleware,e.relayMiddleware=o.relayMiddleware;var a=t(31125);e.debugReducer=a.debugReducer},52785:function(E,e,t){"use strict";e.__esModule=!0,e.relayMiddleware=e.debugMiddleware=void 0;var n=t(68100),r=t(92700),o=t(39952),a=t(82574);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var u=["backend/update","chat/message"],l=e.debugMiddleware=function(){function h(v){return(0,o.acquireHotKey)(n.KEY_F11),(0,o.acquireHotKey)(n.KEY_F12),r.globalEvents.on("keydown",function(i){i.code===n.KEY_F11&&v.dispatch((0,a.toggleDebugLayout)()),i.code===n.KEY_F12&&v.dispatch((0,a.toggleKitchenSink)()),i.ctrl&&i.alt&&i.code===n.KEY_BACKSPACE&&setTimeout(function(){throw new Error("OOPSIE WOOPSIE!! UwU We made a fucky wucky!! A wittle fucko boingo! The code monkeys at our headquarters are working VEWY HAWD to fix this!")})}),function(i){return function(f){return i(f)}}}return h}(),c=e.relayMiddleware=function(){function h(v){var i=t(87454),f=location.search==="?external";return f?i.subscribe(function(s){var p=s.type,d=s.payload;p==="relay"&&d.windowId===Byond.windowId&&v.dispatch(Object.assign({},d.action,{relayed:!0}))}):((0,o.acquireHotKey)(n.KEY_F10),r.globalEvents.on("keydown",function(s){s===n.KEY_F10&&v.dispatch((0,a.openExternalBrowser)())})),function(s){return function(p){var d=p.type,g=p.payload,m=p.relayed;if(d===a.openExternalBrowser.type){window.open(location.href+"?external","_blank");return}return u.includes(d)&&!m&&!f&&i.sendMessage({type:"relay",payload:{windowId:Byond.windowId,action:p}}),s(p)}}}return h}()},42702:function(E,e){"use strict";e.__esModule=!0,e.debugReducer=void 0;/** + */var u=["backend/update","chat/message"],l=e.debugMiddleware=function(){function h(d){return(0,o.acquireHotKey)(n.KEY_F11),(0,o.acquireHotKey)(n.KEY_F12),r.globalEvents.on("keydown",function(i){i.code===n.KEY_F11&&d.dispatch((0,a.toggleDebugLayout)()),i.code===n.KEY_F12&&d.dispatch((0,a.toggleKitchenSink)()),i.ctrl&&i.alt&&i.code===n.KEY_BACKSPACE&&setTimeout(function(){throw new Error("OOPSIE WOOPSIE!! UwU We made a fucky wucky!! A wittle fucko boingo! The code monkeys at our headquarters are working VEWY HAWD to fix this!")})}),function(i){return function(v){return i(v)}}}return h}(),c=e.relayMiddleware=function(){function h(d){var i=t(50719),v=location.search==="?external";return v?i.subscribe(function(s){var p=s.type,f=s.payload;p==="relay"&&f.windowId===Byond.windowId&&d.dispatch(Object.assign({},f.action,{relayed:!0}))}):((0,o.acquireHotKey)(n.KEY_F10),r.globalEvents.on("keydown",function(s){s===n.KEY_F10&&d.dispatch((0,a.openExternalBrowser)())})),function(s){return function(p){var f=p.type,g=p.payload,m=p.relayed;if(f===a.openExternalBrowser.type){window.open(location.href+"?external","_blank");return}return u.includes(f)&&!m&&!v&&i.sendMessage({type:"relay",payload:{windowId:Byond.windowId,action:p}}),s(p)}}}return h}()},31125:function(E,e){"use strict";e.__esModule=!0,e.debugReducer=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.debugReducer=function(){function n(r,o){r===void 0&&(r={});var a=o.type,u=o.payload;return a==="debug/toggleKitchenSink"?Object.assign({},r,{kitchenSink:!r.kitchenSink}):a==="debug/toggleDebugLayout"?Object.assign({},r,{debugLayout:!r.debugLayout}):r}return n}()},94505:function(E,e){"use strict";e.__esModule=!0,e.selectDebug=void 0;/** + */var t=e.debugReducer=function(){function n(r,o){r===void 0&&(r={});var a=o.type,u=o.payload;return a==="debug/toggleKitchenSink"?Object.assign({},r,{kitchenSink:!r.kitchenSink}):a==="debug/toggleDebugLayout"?Object.assign({},r,{debugLayout:!r.debugLayout}):r}return n}()},52991:function(E,e){"use strict";e.__esModule=!0,e.selectDebug=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.selectDebug=function(){function n(r){return r.debug}return n}()},45360:function(E,e,t){"use strict";e.__esModule=!0,e.storeWindowGeometry=e.setupDrag=e.setWindowSize=e.setWindowPosition=e.setWindowKey=e.resizeStartHandler=e.recallWindowGeometry=e.getWindowSize=e.getWindowPosition=e.getScreenSize=e.getScreenPosition=e.dragStartHandler=void 0;var n=t(96417),r=t(41202),o=t(50175);function a(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return G};var V,G={},Y=Object.prototype,k=Y.hasOwnProperty,nt=Object.defineProperty||function(Tt,lt,mt){Tt[lt]=mt.value},ut=typeof Symbol=="function"?Symbol:{},ft=ut.iterator||"@@iterator",W=ut.asyncIterator||"@@asyncIterator",X=ut.toStringTag||"@@toStringTag";function et(Tt,lt,mt){return Object.defineProperty(Tt,lt,{value:mt,enumerable:!0,configurable:!0,writable:!0}),Tt[lt]}try{et({},"")}catch(Tt){et=function(mt,Ot,bt){return mt[Ot]=bt}}function ct(Tt,lt,mt,Ot){var bt=lt&<.prototype instanceof dt?lt:dt,It=Object.create(bt.prototype),Lt=new xt(Ot||[]);return nt(It,"_invoke",{value:_(Tt,mt,Lt)}),It}function at(Tt,lt,mt){try{return{type:"normal",arg:Tt.call(lt,mt)}}catch(Ot){return{type:"throw",arg:Ot}}}G.wrap=ct;var St="suspendedStart",Pt="suspendedYield",Rt="executing",Nt="completed",ht={};function dt(){}function J(){}function Z(){}var ot={};et(ot,ft,function(){return this});var gt=Object.getPrototypeOf,Et=gt&>(gt(Vt([])));Et&&Et!==Y&&k.call(Et,ft)&&(ot=Et);var it=Z.prototype=dt.prototype=Object.create(ot);function pt(Tt){["next","throw","return"].forEach(function(lt){et(Tt,lt,function(mt){return this._invoke(lt,mt)})})}function rt(Tt,lt){function mt(bt,It,Lt,jt){var $t=at(Tt[bt],Tt,It);if($t.type!=="throw"){var kt=$t.arg,Yt=kt.value;return Yt&&typeof Yt=="object"&&k.call(Yt,"__await")?lt.resolve(Yt.__await).then(function(Ht){mt("next",Ht,Lt,jt)},function(Ht){mt("throw",Ht,Lt,jt)}):lt.resolve(Yt).then(function(Ht){kt.value=Ht,Lt(kt)},function(Ht){return mt("throw",Ht,Lt,jt)})}jt($t.arg)}var Ot;nt(this,"_invoke",{value:function(){function bt(It,Lt){function jt(){return new lt(function($t,kt){mt(It,Lt,$t,kt)})}return Ot=Ot?Ot.then(jt,jt):jt()}return bt}()})}function _(Tt,lt,mt){var Ot=St;return function(bt,It){if(Ot===Rt)throw new Error("Generator is already running");if(Ot===Nt){if(bt==="throw")throw It;return{value:V,done:!0}}for(mt.method=bt,mt.arg=It;;){var Lt=mt.delegate;if(Lt){var jt=yt(Lt,mt);if(jt){if(jt===ht)continue;return jt}}if(mt.method==="next")mt.sent=mt._sent=mt.arg;else if(mt.method==="throw"){if(Ot===St)throw Ot=Nt,mt.arg;mt.dispatchException(mt.arg)}else mt.method==="return"&&mt.abrupt("return",mt.arg);Ot=Rt;var $t=at(Tt,lt,mt);if($t.type==="normal"){if(Ot=mt.done?Nt:Pt,$t.arg===ht)continue;return{value:$t.arg,done:mt.done}}$t.type==="throw"&&(Ot=Nt,mt.method="throw",mt.arg=$t.arg)}}}function yt(Tt,lt){var mt=lt.method,Ot=Tt.iterator[mt];if(Ot===V)return lt.delegate=null,mt==="throw"&&Tt.iterator.return&&(lt.method="return",lt.arg=V,yt(Tt,lt),lt.method==="throw")||mt!=="return"&&(lt.method="throw",lt.arg=new TypeError("The iterator does not provide a '"+mt+"' method")),ht;var bt=at(Ot,Tt.iterator,lt.arg);if(bt.type==="throw")return lt.method="throw",lt.arg=bt.arg,lt.delegate=null,ht;var It=bt.arg;return It?It.done?(lt[Tt.resultName]=It.value,lt.next=Tt.nextLoc,lt.method!=="return"&&(lt.method="next",lt.arg=V),lt.delegate=null,ht):It:(lt.method="throw",lt.arg=new TypeError("iterator result is not an object"),lt.delegate=null,ht)}function Ct(Tt){var lt={tryLoc:Tt[0]};1 in Tt&&(lt.catchLoc=Tt[1]),2 in Tt&&(lt.finallyLoc=Tt[2],lt.afterLoc=Tt[3]),this.tryEntries.push(lt)}function Mt(Tt){var lt=Tt.completion||{};lt.type="normal",delete lt.arg,Tt.completion=lt}function xt(Tt){this.tryEntries=[{tryLoc:"root"}],Tt.forEach(Ct,this),this.reset(!0)}function Vt(Tt){if(Tt||Tt===""){var lt=Tt[ft];if(lt)return lt.call(Tt);if(typeof Tt.next=="function")return Tt;if(!isNaN(Tt.length)){var mt=-1,Ot=function(){function bt(){for(;++mt<Tt.length;)if(k.call(Tt,mt))return bt.value=Tt[mt],bt.done=!1,bt;return bt.value=V,bt.done=!0,bt}return bt}();return Ot.next=Ot}}throw new TypeError(typeof Tt+" is not iterable")}return J.prototype=Z,nt(it,"constructor",{value:Z,configurable:!0}),nt(Z,"constructor",{value:J,configurable:!0}),J.displayName=et(Z,X,"GeneratorFunction"),G.isGeneratorFunction=function(Tt){var lt=typeof Tt=="function"&&Tt.constructor;return!!lt&&(lt===J||(lt.displayName||lt.name)==="GeneratorFunction")},G.mark=function(Tt){return Object.setPrototypeOf?Object.setPrototypeOf(Tt,Z):(Tt.__proto__=Z,et(Tt,X,"GeneratorFunction")),Tt.prototype=Object.create(it),Tt},G.awrap=function(Tt){return{__await:Tt}},pt(rt.prototype),et(rt.prototype,W,function(){return this}),G.AsyncIterator=rt,G.async=function(Tt,lt,mt,Ot,bt){bt===void 0&&(bt=Promise);var It=new rt(ct(Tt,lt,mt,Ot),bt);return G.isGeneratorFunction(lt)?It:It.next().then(function(Lt){return Lt.done?Lt.value:It.next()})},pt(it),et(it,X,"Generator"),et(it,ft,function(){return this}),et(it,"toString",function(){return"[object Generator]"}),G.keys=function(Tt){var lt=Object(Tt),mt=[];for(var Ot in lt)mt.push(Ot);return mt.reverse(),function(){function bt(){for(;mt.length;){var It=mt.pop();if(It in lt)return bt.value=It,bt.done=!1,bt}return bt.done=!0,bt}return bt}()},G.values=Vt,xt.prototype={constructor:xt,reset:function(){function Tt(lt){if(this.prev=0,this.next=0,this.sent=this._sent=V,this.done=!1,this.delegate=null,this.method="next",this.arg=V,this.tryEntries.forEach(Mt),!lt)for(var mt in this)mt.charAt(0)==="t"&&k.call(this,mt)&&!isNaN(+mt.slice(1))&&(this[mt]=V)}return Tt}(),stop:function(){function Tt(){this.done=!0;var lt=this.tryEntries[0].completion;if(lt.type==="throw")throw lt.arg;return this.rval}return Tt}(),dispatchException:function(){function Tt(lt){if(this.done)throw lt;var mt=this;function Ot(kt,Yt){return Lt.type="throw",Lt.arg=lt,mt.next=kt,Yt&&(mt.method="next",mt.arg=V),!!Yt}for(var bt=this.tryEntries.length-1;bt>=0;--bt){var It=this.tryEntries[bt],Lt=It.completion;if(It.tryLoc==="root")return Ot("end");if(It.tryLoc<=this.prev){var jt=k.call(It,"catchLoc"),$t=k.call(It,"finallyLoc");if(jt&&$t){if(this.prev<It.catchLoc)return Ot(It.catchLoc,!0);if(this.prev<It.finallyLoc)return Ot(It.finallyLoc)}else if(jt){if(this.prev<It.catchLoc)return Ot(It.catchLoc,!0)}else{if(!$t)throw new Error("try statement without catch or finally");if(this.prev<It.finallyLoc)return Ot(It.finallyLoc)}}}}return Tt}(),abrupt:function(){function Tt(lt,mt){for(var Ot=this.tryEntries.length-1;Ot>=0;--Ot){var bt=this.tryEntries[Ot];if(bt.tryLoc<=this.prev&&k.call(bt,"finallyLoc")&&this.prev<bt.finallyLoc){var It=bt;break}}It&&(lt==="break"||lt==="continue")&&It.tryLoc<=mt&&mt<=It.finallyLoc&&(It=null);var Lt=It?It.completion:{};return Lt.type=lt,Lt.arg=mt,It?(this.method="next",this.next=It.finallyLoc,ht):this.complete(Lt)}return Tt}(),complete:function(){function Tt(lt,mt){if(lt.type==="throw")throw lt.arg;return lt.type==="break"||lt.type==="continue"?this.next=lt.arg:lt.type==="return"?(this.rval=this.arg=lt.arg,this.method="return",this.next="end"):lt.type==="normal"&&mt&&(this.next=mt),ht}return Tt}(),finish:function(){function Tt(lt){for(var mt=this.tryEntries.length-1;mt>=0;--mt){var Ot=this.tryEntries[mt];if(Ot.finallyLoc===lt)return this.complete(Ot.completion,Ot.afterLoc),Mt(Ot),ht}}return Tt}(),catch:function(){function Tt(lt){for(var mt=this.tryEntries.length-1;mt>=0;--mt){var Ot=this.tryEntries[mt];if(Ot.tryLoc===lt){var bt=Ot.completion;if(bt.type==="throw"){var It=bt.arg;Mt(Ot)}return It}}throw new Error("illegal catch attempt")}return Tt}(),delegateYield:function(){function Tt(lt,mt,Ot){return this.delegate={iterator:Vt(lt),resultName:mt,nextLoc:Ot},this.method==="next"&&(this.arg=V),ht}return Tt}()},G}function u(V,G,Y,k,nt,ut,ft){try{var W=V[ut](ft),X=W.value}catch(et){Y(et);return}W.done?G(X):Promise.resolve(X).then(k,nt)}function l(V){return function(){var G=this,Y=arguments;return new Promise(function(k,nt){var ut=V.apply(G,Y);function ft(X){u(ut,k,nt,ft,W,"next",X)}function W(X){u(ut,k,nt,ft,W,"throw",X)}ft(void 0)})}}/** + */var t=e.selectDebug=function(){function n(r){return r.debug}return n}()},83987:function(E,e,t){"use strict";e.__esModule=!0,e.storeWindowGeometry=e.setupDrag=e.setWindowSize=e.setWindowPosition=e.setWindowKey=e.resizeStartHandler=e.recallWindowGeometry=e.getWindowSize=e.getWindowPosition=e.getScreenSize=e.getScreenPosition=e.dragStartHandler=void 0;var n=t(66450),r=t(73564),o=t(81856);function a(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return K};var j,K={},$=Object.prototype,W=$.hasOwnProperty,nt=Object.defineProperty||function(Tt,it,mt){Tt[it]=mt.value},st=typeof Symbol=="function"?Symbol:{},gt=st.iterator||"@@iterator",k=st.asyncIterator||"@@asyncIterator",X=st.toStringTag||"@@toStringTag";function tt(Tt,it,mt){return Object.defineProperty(Tt,it,{value:mt,enumerable:!0,configurable:!0,writable:!0}),Tt[it]}try{tt({},"")}catch(Tt){tt=function(mt,It,Ct){return mt[It]=Ct}}function ct(Tt,it,mt,It){var Ct=it&&it.prototype instanceof ft?it:ft,Pt=Object.create(Ct.prototype),xt=new Bt(It||[]);return nt(Pt,"_invoke",{value:J(Tt,mt,xt)}),Pt}function at(Tt,it,mt){try{return{type:"normal",arg:Tt.call(it,mt)}}catch(It){return{type:"throw",arg:It}}}K.wrap=ct;var St="suspendedStart",Mt="suspendedYield",wt="executing",Rt="completed",vt={};function ft(){}function Q(){}function Z(){}var et={};tt(et,gt,function(){return this});var ht=Object.getPrototypeOf,Et=ht&&ht(ht(Ut([])));Et&&Et!==$&&W.call(Et,gt)&&(et=Et);var rt=Z.prototype=ft.prototype=Object.create(et);function pt(Tt){["next","throw","return"].forEach(function(it){tt(Tt,it,function(mt){return this._invoke(it,mt)})})}function Nt(Tt,it){function mt(Ct,Pt,xt,jt){var Kt=at(Tt[Ct],Tt,Pt);if(Kt.type!=="throw"){var Wt=Kt.arg,Yt=Wt.value;return Yt&&typeof Yt=="object"&&W.call(Yt,"__await")?it.resolve(Yt.__await).then(function(kt){mt("next",kt,xt,jt)},function(kt){mt("throw",kt,xt,jt)}):it.resolve(Yt).then(function(kt){Wt.value=kt,xt(Wt)},function(kt){return mt("throw",kt,xt,jt)})}jt(Kt.arg)}var It;nt(this,"_invoke",{value:function(){function Ct(Pt,xt){function jt(){return new it(function(Kt,Wt){mt(Pt,xt,Kt,Wt)})}return It=It?It.then(jt,jt):jt()}return Ct}()})}function J(Tt,it,mt){var It=St;return function(Ct,Pt){if(It===wt)throw Error("Generator is already running");if(It===Rt){if(Ct==="throw")throw Pt;return{value:j,done:!0}}for(mt.method=Ct,mt.arg=Pt;;){var xt=mt.delegate;if(xt){var jt=ut(xt,mt);if(jt){if(jt===vt)continue;return jt}}if(mt.method==="next")mt.sent=mt._sent=mt.arg;else if(mt.method==="throw"){if(It===St)throw It=Rt,mt.arg;mt.dispatchException(mt.arg)}else mt.method==="return"&&mt.abrupt("return",mt.arg);It=wt;var Kt=at(Tt,it,mt);if(Kt.type==="normal"){if(It=mt.done?Rt:Mt,Kt.arg===vt)continue;return{value:Kt.arg,done:mt.done}}Kt.type==="throw"&&(It=Rt,mt.method="throw",mt.arg=Kt.arg)}}}function ut(Tt,it){var mt=it.method,It=Tt.iterator[mt];if(It===j)return it.delegate=null,mt==="throw"&&Tt.iterator.return&&(it.method="return",it.arg=j,ut(Tt,it),it.method==="throw")||mt!=="return"&&(it.method="throw",it.arg=new TypeError("The iterator does not provide a '"+mt+"' method")),vt;var Ct=at(It,Tt.iterator,it.arg);if(Ct.type==="throw")return it.method="throw",it.arg=Ct.arg,it.delegate=null,vt;var Pt=Ct.arg;return Pt?Pt.done?(it[Tt.resultName]=Pt.value,it.next=Tt.nextLoc,it.method!=="return"&&(it.method="next",it.arg=j),it.delegate=null,vt):Pt:(it.method="throw",it.arg=new TypeError("iterator result is not an object"),it.delegate=null,vt)}function bt(Tt){var it={tryLoc:Tt[0]};1 in Tt&&(it.catchLoc=Tt[1]),2 in Tt&&(it.finallyLoc=Tt[2],it.afterLoc=Tt[3]),this.tryEntries.push(it)}function At(Tt){var it=Tt.completion||{};it.type="normal",delete it.arg,Tt.completion=it}function Bt(Tt){this.tryEntries=[{tryLoc:"root"}],Tt.forEach(bt,this),this.reset(!0)}function Ut(Tt){if(Tt||Tt===""){var it=Tt[gt];if(it)return it.call(Tt);if(typeof Tt.next=="function")return Tt;if(!isNaN(Tt.length)){var mt=-1,It=function(){function Ct(){for(;++mt<Tt.length;)if(W.call(Tt,mt))return Ct.value=Tt[mt],Ct.done=!1,Ct;return Ct.value=j,Ct.done=!0,Ct}return Ct}();return It.next=It}}throw new TypeError(typeof Tt+" is not iterable")}return Q.prototype=Z,nt(rt,"constructor",{value:Z,configurable:!0}),nt(Z,"constructor",{value:Q,configurable:!0}),Q.displayName=tt(Z,X,"GeneratorFunction"),K.isGeneratorFunction=function(Tt){var it=typeof Tt=="function"&&Tt.constructor;return!!it&&(it===Q||(it.displayName||it.name)==="GeneratorFunction")},K.mark=function(Tt){return Object.setPrototypeOf?Object.setPrototypeOf(Tt,Z):(Tt.__proto__=Z,tt(Tt,X,"GeneratorFunction")),Tt.prototype=Object.create(rt),Tt},K.awrap=function(Tt){return{__await:Tt}},pt(Nt.prototype),tt(Nt.prototype,k,function(){return this}),K.AsyncIterator=Nt,K.async=function(Tt,it,mt,It,Ct){Ct===void 0&&(Ct=Promise);var Pt=new Nt(ct(Tt,it,mt,It),Ct);return K.isGeneratorFunction(it)?Pt:Pt.next().then(function(xt){return xt.done?xt.value:Pt.next()})},pt(rt),tt(rt,X,"Generator"),tt(rt,gt,function(){return this}),tt(rt,"toString",function(){return"[object Generator]"}),K.keys=function(Tt){var it=Object(Tt),mt=[];for(var It in it)mt.push(It);return mt.reverse(),function(){function Ct(){for(;mt.length;){var Pt=mt.pop();if(Pt in it)return Ct.value=Pt,Ct.done=!1,Ct}return Ct.done=!0,Ct}return Ct}()},K.values=Ut,Bt.prototype={constructor:Bt,reset:function(){function Tt(it){if(this.prev=0,this.next=0,this.sent=this._sent=j,this.done=!1,this.delegate=null,this.method="next",this.arg=j,this.tryEntries.forEach(At),!it)for(var mt in this)mt.charAt(0)==="t"&&W.call(this,mt)&&!isNaN(+mt.slice(1))&&(this[mt]=j)}return Tt}(),stop:function(){function Tt(){this.done=!0;var it=this.tryEntries[0].completion;if(it.type==="throw")throw it.arg;return this.rval}return Tt}(),dispatchException:function(){function Tt(it){if(this.done)throw it;var mt=this;function It(Wt,Yt){return xt.type="throw",xt.arg=it,mt.next=Wt,Yt&&(mt.method="next",mt.arg=j),!!Yt}for(var Ct=this.tryEntries.length-1;Ct>=0;--Ct){var Pt=this.tryEntries[Ct],xt=Pt.completion;if(Pt.tryLoc==="root")return It("end");if(Pt.tryLoc<=this.prev){var jt=W.call(Pt,"catchLoc"),Kt=W.call(Pt,"finallyLoc");if(jt&&Kt){if(this.prev<Pt.catchLoc)return It(Pt.catchLoc,!0);if(this.prev<Pt.finallyLoc)return It(Pt.finallyLoc)}else if(jt){if(this.prev<Pt.catchLoc)return It(Pt.catchLoc,!0)}else{if(!Kt)throw Error("try statement without catch or finally");if(this.prev<Pt.finallyLoc)return It(Pt.finallyLoc)}}}}return Tt}(),abrupt:function(){function Tt(it,mt){for(var It=this.tryEntries.length-1;It>=0;--It){var Ct=this.tryEntries[It];if(Ct.tryLoc<=this.prev&&W.call(Ct,"finallyLoc")&&this.prev<Ct.finallyLoc){var Pt=Ct;break}}Pt&&(it==="break"||it==="continue")&&Pt.tryLoc<=mt&&mt<=Pt.finallyLoc&&(Pt=null);var xt=Pt?Pt.completion:{};return xt.type=it,xt.arg=mt,Pt?(this.method="next",this.next=Pt.finallyLoc,vt):this.complete(xt)}return Tt}(),complete:function(){function Tt(it,mt){if(it.type==="throw")throw it.arg;return it.type==="break"||it.type==="continue"?this.next=it.arg:it.type==="return"?(this.rval=this.arg=it.arg,this.method="return",this.next="end"):it.type==="normal"&&mt&&(this.next=mt),vt}return Tt}(),finish:function(){function Tt(it){for(var mt=this.tryEntries.length-1;mt>=0;--mt){var It=this.tryEntries[mt];if(It.finallyLoc===it)return this.complete(It.completion,It.afterLoc),At(It),vt}}return Tt}(),catch:function(){function Tt(it){for(var mt=this.tryEntries.length-1;mt>=0;--mt){var It=this.tryEntries[mt];if(It.tryLoc===it){var Ct=It.completion;if(Ct.type==="throw"){var Pt=Ct.arg;At(It)}return Pt}}throw Error("illegal catch attempt")}return Tt}(),delegateYield:function(){function Tt(it,mt,It){return this.delegate={iterator:Ut(it),resultName:mt,nextLoc:It},this.method==="next"&&(this.arg=j),vt}return Tt}()},K}function u(j,K,$,W,nt,st,gt){try{var k=j[st](gt),X=k.value}catch(tt){$(tt);return}k.done?K(X):Promise.resolve(X).then(W,nt)}function l(j){return function(){var K=this,$=arguments;return new Promise(function(W,nt){var st=j.apply(K,$);function gt(X){u(st,W,nt,gt,k,"next",X)}function k(X){u(st,W,nt,gt,k,"throw",X)}gt(void 0)})}}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var c=(0,o.createLogger)("drag"),h=Byond.windowId,v=!1,i=!1,f=[0,0],s,p,d,g,m,S=e.setWindowKey=function(){function V(G){h=G}return V}(),I=e.getWindowPosition=function(){function V(){return[window.screenLeft,window.screenTop]}return V}(),O=e.getWindowSize=function(){function V(){return[window.innerWidth,window.innerHeight]}return V}(),C=e.setWindowPosition=function(){function V(G){var Y=(0,r.vecAdd)(G,f);return Byond.winset(Byond.windowId,{pos:Y[0]+","+Y[1]})}return V}(),y=e.setWindowSize=function(){function V(G){return Byond.winset(Byond.windowId,{size:G[0]+"x"+G[1]})}return V}(),b=e.getScreenPosition=function(){function V(){return[0-f[0],0-f[1]]}return V}(),T=e.getScreenSize=function(){function V(){return[window.screen.availWidth,window.screen.availHeight]}return V}(),P=function(G,Y,k){k===void 0&&(k=50);for(var nt=[Y],ut,ft=0;ft<G.length;ft++){var W=G[ft];W!==Y&&(nt.length<k?nt.push(W):ut=W)}return[nt,ut]},N=e.storeWindowGeometry=function(){var V=l(a().mark(function(){function G(){var Y,k,nt,ut;return a().wrap(function(){function ft(W){for(;;)switch(W.prev=W.next){case 0:return c.log("storing geometry"),Y={pos:I(),size:O()},n.storage.set(h,Y),W.t0=P,W.next=6,n.storage.get("geometries");case 6:if(W.t1=W.sent,W.t1){W.next=9;break}W.t1=[];case 9:W.t2=W.t1,W.t3=h,k=(0,W.t0)(W.t2,W.t3),nt=k[0],ut=k[1],ut&&n.storage.remove(ut),n.storage.set("geometries",nt);case 16:case"end":return W.stop()}}return ft}(),G)}return G}()));return function(){function G(){return V.apply(this,arguments)}return G}()}(),M=e.recallWindowGeometry=function(){var V=l(a().mark(function(){function G(Y){var k,nt,ut,ft;return a().wrap(function(){function W(X){for(;;)switch(X.prev=X.next){case 0:if(Y===void 0&&(Y={}),X.t0=Y.fancy,!X.t0){X.next=6;break}return X.next=5,n.storage.get(h);case 5:X.t0=X.sent;case 6:return k=X.t0,k&&c.log("recalled geometry:",k),nt=(k==null?void 0:k.pos)||Y.pos,ut=Y.size,X.next=12,s;case 12:ft=[window.screen.availWidth,window.screen.availHeight],ut&&(ut=[Math.min(ft[0],ut[0]),Math.min(ft[1],ut[1])],y(ut)),nt?(ut&&Y.locked&&(nt=L(nt,ut)[1]),C(nt)):ut&&(nt=(0,r.vecAdd)((0,r.vecScale)(ft,.5),(0,r.vecScale)(ut,-.5),(0,r.vecScale)(f,-1)),C(nt));case 15:case"end":return X.stop()}}return W}(),G)}return G}()));return function(){function G(Y){return V.apply(this,arguments)}return G}()}(),R=e.setupDrag=function(){var V=l(a().mark(function(){function G(){return a().wrap(function(){function Y(k){for(;;)switch(k.prev=k.next){case 0:return s=Byond.winget(Byond.windowId,"pos").then(function(nt){return[nt.x-window.screenLeft,nt.y-window.screenTop]}),k.next=3,s;case 3:f=k.sent,c.debug("screen offset",f);case 5:case"end":return k.stop()}}return Y}(),G)}return G}()));return function(){function G(){return V.apply(this,arguments)}return G}()}(),L=function(G,Y){for(var k=b(),nt=T(),ut=[G[0],G[1]],ft=!1,W=0;W<2;W++){var X=k[W],et=k[W]+nt[W];G[W]<X?(ut[W]=X,ft=!0):G[W]+Y[W]>et&&(ut[W]=et-Y[W],ft=!0)}return[ft,ut]},K=e.dragStartHandler=function(){function V(G){c.log("drag start"),v=!0,p=[window.screenLeft-G.screenX,window.screenTop-G.screenY],document.addEventListener("mousemove",F),document.addEventListener("mouseup",U),F(G)}return V}(),U=function V(G){c.log("drag end"),F(G),document.removeEventListener("mousemove",F),document.removeEventListener("mouseup",V),v=!1,N()},F=function(G){v&&(G.preventDefault(),C((0,r.vecAdd)([G.screenX,G.screenY],p)))},$=e.resizeStartHandler=function(){function V(G,Y){return function(k){d=[G,Y],c.log("resize start",d),i=!0,p=[window.screenLeft-k.screenX,window.screenTop-k.screenY],g=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",x),document.addEventListener("mouseup",B),x(k)}}return V}(),B=function V(G){c.log("resize end",m),x(G),document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",V),i=!1,N()},x=function(G){i&&(G.preventDefault(),m=(0,r.vecAdd)(g,(0,r.vecMultiply)(d,(0,r.vecAdd)([G.screenX,G.screenY],(0,r.vecInverse)([window.screenLeft,window.screenTop]),p,[1,1]))),m[0]=Math.max(m[0],150),m[1]=Math.max(m[1],50),y(m))}},33053:function(E,e,t){"use strict";e.__esModule=!0,e.setupGlobalEvents=e.removeScrollableNode=e.globalEvents=e.canStealFocus=e.addScrollableNode=e.KeyEvent=void 0;var n=t(70654),r=t(31068);/** +*/var c=(0,o.createLogger)("drag"),h=Byond.windowId,d=!1,i=!1,v=[0,0],s,p,f,g,m,b=e.setWindowKey=function(){function j(K){h=K}return j}(),I=e.getWindowPosition=function(){function j(){return[window.screenLeft,window.screenTop]}return j}(),T=e.getWindowSize=function(){function j(){return[window.innerWidth,window.innerHeight]}return j}(),C=e.setWindowPosition=function(){function j(K){var $=(0,r.vecAdd)(K,v);return Byond.winset(Byond.windowId,{pos:$[0]+","+$[1]})}return j}(),S=e.setWindowSize=function(){function j(K){return Byond.winset(Byond.windowId,{size:K[0]+"x"+K[1]})}return j}(),y=e.getScreenPosition=function(){function j(){return[0-v[0],0-v[1]]}return j}(),O=e.getScreenSize=function(){function j(){return[window.screen.availWidth,window.screen.availHeight]}return j}(),A=function(K,$,W){W===void 0&&(W=50);for(var nt=[$],st,gt=0;gt<K.length;gt++){var k=K[gt];k!==$&&(nt.length<W?nt.push(k):st=k)}return[nt,st]},N=e.storeWindowGeometry=function(){var j=l(a().mark(function(){function K(){var $,W,nt,st;return a().wrap(function(){function gt(k){for(;;)switch(k.prev=k.next){case 0:return c.log("storing geometry"),$={pos:I(),size:T()},n.storage.set(h,$),k.t0=A,k.next=6,n.storage.get("geometries");case 6:if(k.t1=k.sent,k.t1){k.next=9;break}k.t1=[];case 9:k.t2=k.t1,k.t3=h,W=(0,k.t0)(k.t2,k.t3),nt=W[0],st=W[1],st&&n.storage.remove(st),n.storage.set("geometries",nt);case 16:case"end":return k.stop()}}return gt}(),K)}return K}()));return function(){function K(){return j.apply(this,arguments)}return K}()}(),M=e.recallWindowGeometry=function(){var j=l(a().mark(function(){function K($){var W,nt,st,gt;return a().wrap(function(){function k(X){for(;;)switch(X.prev=X.next){case 0:if($===void 0&&($={}),X.t0=$.fancy,!X.t0){X.next=6;break}return X.next=5,n.storage.get(h);case 5:X.t0=X.sent;case 6:return W=X.t0,W&&c.log("recalled geometry:",W),nt=(W==null?void 0:W.pos)||$.pos,st=$.size,X.next=12,s;case 12:gt=[window.screen.availWidth,window.screen.availHeight],st&&(st=[Math.min(gt[0],st[0]),Math.min(gt[1],st[1])],S(st)),nt?(st&&$.locked&&(nt=L(nt,st)[1]),C(nt)):st&&(nt=(0,r.vecAdd)((0,r.vecScale)(gt,.5),(0,r.vecScale)(st,-.5),(0,r.vecScale)(v,-1)),C(nt));case 15:case"end":return X.stop()}}return k}(),K)}return K}()));return function(){function K($){return j.apply(this,arguments)}return K}()}(),R=e.setupDrag=function(){var j=l(a().mark(function(){function K(){return a().wrap(function(){function $(W){for(;;)switch(W.prev=W.next){case 0:return s=Byond.winget(Byond.windowId,"pos").then(function(nt){return[nt.x-window.screenLeft,nt.y-window.screenTop]}),W.next=3,s;case 3:v=W.sent,c.debug("screen offset",v);case 5:case"end":return W.stop()}}return $}(),K)}return K}()));return function(){function K(){return j.apply(this,arguments)}return K}()}(),L=function(K,$){for(var W=y(),nt=O(),st=[K[0],K[1]],gt=!1,k=0;k<2;k++){var X=W[k],tt=W[k]+nt[k];K[k]<X?(st[k]=X,gt=!0):K[k]+$[k]>tt&&(st[k]=tt-$[k],gt=!0)}return[gt,st]},x=e.dragStartHandler=function(){function j(K){c.log("drag start"),d=!0,p=[window.screenLeft-K.screenX,window.screenTop-K.screenY],document.addEventListener("mousemove",V),document.addEventListener("mouseup",F),V(K)}return j}(),F=function j(K){c.log("drag end"),V(K),document.removeEventListener("mousemove",V),document.removeEventListener("mouseup",j),d=!1,N()},V=function(K){d&&(K.preventDefault(),C((0,r.vecAdd)([K.screenX,K.screenY],p)))},G=e.resizeStartHandler=function(){function j(K,$){return function(W){f=[K,$],c.log("resize start",f),i=!0,p=[window.screenLeft-W.screenX,window.screenTop-W.screenY],g=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",U),document.addEventListener("mouseup",B),U(W)}}return j}(),B=function j(K){c.log("resize end",m),U(K),document.removeEventListener("mousemove",U),document.removeEventListener("mouseup",j),i=!1,N()},U=function(K){i&&(K.preventDefault(),m=(0,r.vecAdd)(g,(0,r.vecMultiply)(f,(0,r.vecAdd)([K.screenX,K.screenY],(0,r.vecInverse)([window.screenLeft,window.screenTop]),p,[1,1]))),m[0]=Math.max(m[0],150),m[1]=Math.max(m[1],50),S(m))}},92700:function(E,e,t){"use strict";e.__esModule=!0,e.setupGlobalEvents=e.removeScrollableNode=e.globalEvents=e.canStealFocus=e.addScrollableNode=e.KeyEvent=void 0;var n=t(22594),r=t(68100);/** * Normalized browser focus events and BYOND-specific focus helpers. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=e.globalEvents=new n.EventEmitter,a=!1,u=e.setupGlobalEvents=function(){function y(b){b===void 0&&(b={}),a=!!b.ignoreWindowFocus}return y}(),l,c=!0,h=function y(b,T){if(a){c=!0;return}if(l&&(clearTimeout(l),l=null),T){l=setTimeout(function(){return y(b)});return}c!==b&&(c=b,o.emit(b?"window-focus":"window-blur"),o.emit("window-focus-change",b))},v=null,i=e.canStealFocus=function(){function y(b){var T=String(b.tagName).toLowerCase();return T==="input"||T==="textarea"}return y}(),f=function(b){s(),v=b,v.addEventListener("blur",s)},s=function y(){v&&(v.removeEventListener("blur",y),v=null)},p=null,d=null,g=[],m=e.addScrollableNode=function(){function y(b){g.push(b)}return y}(),S=e.removeScrollableNode=function(){function y(b){var T=g.indexOf(b);T>=0&&g.splice(T,1)}return y}(),I=function(b){if(!(v||!c))for(var T=document.body;b&&b!==T;){if(g.includes(b)){if(b.contains(p))return;p=b,b.focus();return}b=b.parentNode}};window.addEventListener("mousemove",function(y){var b=y.target;b!==d&&(d=b,I(b))}),window.addEventListener("focusin",function(y){if(d=null,p=y.target,h(!0),i(y.target)){f(y.target);return}}),window.addEventListener("focusout",function(y){d=null,h(!1,!0)}),window.addEventListener("blur",function(y){d=null,h(!1,!0)}),window.addEventListener("beforeunload",function(y){h(!1)});var O={},C=e.KeyEvent=function(){function y(T,P,N){this.event=T,this.type=P,this.code=window.event?T.which:T.keyCode,this.ctrl=T.ctrlKey,this.shift=T.shiftKey,this.alt=T.altKey,this.repeat=!!N}var b=y.prototype;return b.hasModifierKeys=function(){function T(){return this.ctrl||this.alt||this.shift}return T}(),b.isModifierKey=function(){function T(){return this.code===r.KEY_CTRL||this.code===r.KEY_SHIFT||this.code===r.KEY_ALT}return T}(),b.isDown=function(){function T(){return this.type==="keydown"}return T}(),b.isUp=function(){function T(){return this.type==="keyup"}return T}(),b.toString=function(){function T(){return this._str?this._str:(this._str="",this.ctrl&&(this._str+="Ctrl+"),this.alt&&(this._str+="Alt+"),this.shift&&(this._str+="Shift+"),this.code>=48&&this.code<=90?this._str+=String.fromCharCode(this.code):this.code>=r.KEY_F1&&this.code<=r.KEY_F12?this._str+="F"+(this.code-111):this._str+="["+this.code+"]",this._str)}return T}(),y}();document.addEventListener("keydown",function(y){if(!i(y.target)){var b=y.keyCode,T=new C(y,"keydown",O[b]);o.emit("keydown",T),o.emit("key",T),O[b]=!0}}),document.addEventListener("keyup",function(y){if(!i(y.target)){var b=y.keyCode,T=new C(y,"keyup");o.emit("keyup",T),o.emit("key",T),O[b]=!1}})},16671:function(E,e){"use strict";e.__esModule=!0,e.focusWindow=e.focusMap=void 0;/** + */var o=e.globalEvents=new n.EventEmitter,a=!1,u=e.setupGlobalEvents=function(){function S(y){y===void 0&&(y={}),a=!!y.ignoreWindowFocus}return S}(),l,c=!0,h=function S(y,O){if(a){c=!0;return}if(l&&(clearTimeout(l),l=null),O){l=setTimeout(function(){return S(y)});return}c!==y&&(c=y,o.emit(y?"window-focus":"window-blur"),o.emit("window-focus-change",y))},d=null,i=e.canStealFocus=function(){function S(y){var O=String(y.tagName).toLowerCase();return O==="input"||O==="textarea"}return S}(),v=function(y){s(),d=y,d.addEventListener("blur",s)},s=function S(){d&&(d.removeEventListener("blur",S),d=null)},p=null,f=null,g=[],m=e.addScrollableNode=function(){function S(y){g.push(y)}return S}(),b=e.removeScrollableNode=function(){function S(y){var O=g.indexOf(y);O>=0&&g.splice(O,1)}return S}(),I=function(y){if(!(d||!c))for(var O=document.body;y&&y!==O;){if(g.includes(y)){if(y.contains(p))return;p=y,y.focus();return}y=y.parentNode}};window.addEventListener("mousemove",function(S){var y=S.target;y!==f&&(f=y,I(y))}),window.addEventListener("focusin",function(S){if(f=null,p=S.target,h(!0),i(S.target)){v(S.target);return}}),window.addEventListener("focusout",function(S){f=null,h(!1,!0)}),window.addEventListener("blur",function(S){f=null,h(!1,!0)}),window.addEventListener("beforeunload",function(S){h(!1)});var T={},C=e.KeyEvent=function(){function S(O,A,N){this.event=O,this.type=A,this.code=window.event?O.which:O.keyCode,this.ctrl=O.ctrlKey,this.shift=O.shiftKey,this.alt=O.altKey,this.repeat=!!N}var y=S.prototype;return y.hasModifierKeys=function(){function O(){return this.ctrl||this.alt||this.shift}return O}(),y.isModifierKey=function(){function O(){return this.code===r.KEY_CTRL||this.code===r.KEY_SHIFT||this.code===r.KEY_ALT}return O}(),y.isDown=function(){function O(){return this.type==="keydown"}return O}(),y.isUp=function(){function O(){return this.type==="keyup"}return O}(),y.toString=function(){function O(){return this._str?this._str:(this._str="",this.ctrl&&(this._str+="Ctrl+"),this.alt&&(this._str+="Alt+"),this.shift&&(this._str+="Shift+"),this.code>=48&&this.code<=90?this._str+=String.fromCharCode(this.code):this.code>=r.KEY_F1&&this.code<=r.KEY_F12?this._str+="F"+(this.code-111):this._str+="["+this.code+"]",this._str)}return O}(),S}();document.addEventListener("keydown",function(S){if(!i(S.target)){var y=S.keyCode,O=new C(S,"keydown",T[y]);o.emit("keydown",O),o.emit("key",O),T[y]=!0}}),document.addEventListener("keyup",function(S){if(!i(S.target)){var y=S.keyCode,O=new C(S,"keyup");o.emit("keyup",O),o.emit("key",O),T[y]=!1}})},92017:function(E,e){"use strict";e.__esModule=!0,e.focusWindow=e.focusMap=void 0;/** * Various focus helpers. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.focusMap=function(){function r(){Byond.winset("paramapwindow.map",{focus:!0})}return r}(),n=e.focusWindow=function(){function r(){Byond.winset(Byond.windowId,{focus:!0})}return r}()},48300:function(E,e,t){"use strict";e.__esModule=!0,e.formatSiUnit=e.formatPower=e.formatMoney=e.formatDb=void 0;var n=t(58331);/** + */var t=e.focusMap=function(){function r(){Byond.winset("paramapwindow.map",{focus:!0})}return r}(),n=e.focusWindow=function(){function r(){Byond.winset(Byond.windowId,{focus:!0})}return r}()},92986:function(E,e,t){"use strict";e.__esModule=!0,e.formatSiUnit=e.formatPower=e.formatMoney=e.formatDb=void 0;var n=t(36121);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r=["f","p","n","\u03BC","m"," ","k","M","G","T","P","E","Z","Y"],o=r.indexOf(" "),a=e.formatSiUnit=function(){function h(v,i,f){if(i===void 0&&(i=-o),f===void 0&&(f=""),typeof v!="number"||!Number.isFinite(v))return v;var s=Math.floor(Math.log10(v)),p=Math.floor(Math.max(i*3,s)),d=Math.floor(s/3),g=Math.floor(p/3),m=(0,n.clamp)(o+g,0,r.length),S=r[m],I=v/Math.pow(1e3,g),O=d>i?2+g*3-p:0,C=(0,n.toFixed)(I,O)+" "+S+f;return C.trim()}return h}(),u=e.formatPower=function(){function h(v,i){return i===void 0&&(i=0),a(v,i,"W")}return h}(),l=e.formatMoney=function(){function h(v,i){if(i===void 0&&(i=0),!Number.isFinite(v))return v;var f=(0,n.round)(v,i);i>0&&(f=(0,n.toFixed)(v,i)),f=String(f);var s=f.length,p=f.indexOf(".");p===-1&&(p=s);for(var d="",g=0;g<s;g++)g>0&&g<p&&(p-g)%3===0&&(d+="\u2009"),d+=f.charAt(g);return d}return h}(),c=e.formatDb=function(){function h(v){var i=20*Math.log(v)/Math.log(10),f=i>=0?"+":i<0?"\u2013":"",s=Math.abs(i);return s===1/0?s="Inf":s=(0,n.toFixed)(s,2),f+s+" dB"}return h}()},39891:function(E,e,t){"use strict";e.__esModule=!0,e.setupHotKeys=e.releaseHotKey=e.releaseHeldKeys=e.acquireHotKey=void 0;var n=u(t(31068)),r=t(33053),o=t(50175);function a(m){if(typeof WeakMap!="function")return null;var S=new WeakMap,I=new WeakMap;return(a=function(C){return C?I:S})(m)}function u(m,S){if(!S&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var I=a(S);if(I&&I.has(m))return I.get(m);var O={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in m)if(y!=="default"&&Object.prototype.hasOwnProperty.call(m,y)){var b=C?Object.getOwnPropertyDescriptor(m,y):null;b&&(b.get||b.set)?Object.defineProperty(O,y,b):O[y]=m[y]}return O.default=m,I&&I.set(m,O),O}/** + */var r=["f","p","n","\u03BC","m"," ","k","M","G","T","P","E","Z","Y"],o=r.indexOf(" "),a=e.formatSiUnit=function(){function h(d,i,v){if(i===void 0&&(i=-o),v===void 0&&(v=""),typeof d!="number"||!Number.isFinite(d))return d;var s=Math.floor(Math.log10(d)),p=Math.floor(Math.max(i*3,s)),f=Math.floor(s/3),g=Math.floor(p/3),m=(0,n.clamp)(o+g,0,r.length),b=r[m],I=d/Math.pow(1e3,g),T=f>i?2+g*3-p:0,C=(0,n.toFixed)(I,T)+" "+b+v;return C.trim()}return h}(),u=e.formatPower=function(){function h(d,i){return i===void 0&&(i=0),a(d,i,"W")}return h}(),l=e.formatMoney=function(){function h(d,i){if(i===void 0&&(i=0),!Number.isFinite(d))return d;var v=(0,n.round)(d,i);i>0&&(v=(0,n.toFixed)(d,i)),v=String(v);var s=v.length,p=v.indexOf(".");p===-1&&(p=s);for(var f="",g=0;g<s;g++)g>0&&g<p&&(p-g)%3===0&&(f+="\u2009"),f+=v.charAt(g);return f}return h}(),c=e.formatDb=function(){function h(d){var i=20*Math.log(d)/Math.log(10),v=i>=0?"+":i<0?"\u2013":"",s=Math.abs(i);return s===1/0?s="Inf":s=(0,n.toFixed)(s,2),v+s+" dB"}return h}()},39952:function(E,e,t){"use strict";e.__esModule=!0,e.setupHotKeys=e.releaseHotKey=e.releaseHeldKeys=e.acquireHotKey=void 0;var n=u(t(68100)),r=t(92700),o=t(81856);function a(m){if(typeof WeakMap!="function")return null;var b=new WeakMap,I=new WeakMap;return(a=function(C){return C?I:b})(m)}function u(m,b){if(!b&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var I=a(b);if(I&&I.has(m))return I.get(m);var T={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in m)if(S!=="default"&&{}.hasOwnProperty.call(m,S)){var y=C?Object.getOwnPropertyDescriptor(m,S):null;y&&(y.get||y.set)?Object.defineProperty(T,S,y):T[S]=m[S]}return T.default=m,I&&I.set(m,T),T}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var l=(0,o.createLogger)("hotkeys"),c={},h=[n.KEY_ESCAPE,n.KEY_ENTER,n.KEY_SPACE,n.KEY_TAB,n.KEY_CTRL,n.KEY_SHIFT,n.KEY_UP,n.KEY_DOWN,n.KEY_LEFT,n.KEY_RIGHT],v={},i=function(S){if(S===16)return"Shift";if(S===17)return"Ctrl";if(S===18)return"Alt";if(S===33)return"Northeast";if(S===34)return"Southeast";if(S===35)return"Southwest";if(S===36)return"Northwest";if(S===37)return"West";if(S===38)return"North";if(S===39)return"East";if(S===40)return"South";if(S===45)return"Insert";if(S===46)return"Delete";if(S>=48&&S<=57||S>=65&&S<=90)return String.fromCharCode(S);if(S>=96&&S<=105)return"Numpad"+(S-96);if(S>=112&&S<=123)return"F"+(S-111);if(S===188)return",";if(S===189)return"-";if(S===190)return"."},f=function(S){var I=String(S);if(I==="Ctrl+F5"||I==="Ctrl+R"){location.reload();return}if(I!=="Ctrl+F"&&!(S.event.defaultPrevented||S.isModifierKey()||h.includes(S.code))){I==="F5"&&(S.event.preventDefault(),S.event.returnValue=!1);var O=i(S.code);if(O){var C=c[O];if(C)return l.debug("macro",C),Byond.command(C);if(S.isDown()&&!v[O]){v[O]=!0;var y='Key_Down "'+O+'"';return l.debug(y),Byond.command(y)}if(S.isUp()&&v[O]){v[O]=!1;var b='Key_Up "'+O+'"';return l.debug(b),Byond.command(b)}}}},s=e.acquireHotKey=function(){function m(S){h.push(S)}return m}(),p=e.releaseHotKey=function(){function m(S){var I=h.indexOf(S);I>=0&&h.splice(I,1)}return m}(),d=e.releaseHeldKeys=function(){function m(){for(var S=0,I=Object.keys(v);S<I.length;S++){var O=I[S];v[O]&&(v[O]=!1,l.log('releasing key "'+O+'"'),Byond.command('Key_Up "'+O+'"'))}}return m}(),g=e.setupHotKeys=function(){function m(){Byond.winget("default.*").then(function(S){for(var I={},O=0,C=Object.keys(S);O<C.length;O++){var y=C[O],b=y.split("."),T=b[1],P=b[2];T&&P&&(I[T]||(I[T]={}),I[T][P]=S[y])}for(var N=/\\"/g,M=function(){function $(B){return B.substring(1,B.length-1).replace(N,'"')}return $}(),R=0,L=Object.keys(I);R<L.length;R++){var K=L[R],U=I[K],F=M(U.name);c[F]=M(U.command)}l.debug("loaded macros",c)}),r.globalEvents.on("window-blur",function(){d()}),r.globalEvents.on("key",function(S){f(S)})}return m}()},73786:function(E,e,t){"use strict";e.__esModule=!0,e.Layout=void 0;var n=t(28823),r=t(66586),o=t(93843),a=t(33053),u=["className","theme","children"],l=["className","scrollable","children"];/** + */var l=(0,o.createLogger)("hotkeys"),c={},h=[n.KEY_ESCAPE,n.KEY_ENTER,n.KEY_SPACE,n.KEY_TAB,n.KEY_CTRL,n.KEY_SHIFT,n.KEY_UP,n.KEY_DOWN,n.KEY_LEFT,n.KEY_RIGHT],d={},i=function(b){if(b===16)return"Shift";if(b===17)return"Ctrl";if(b===18)return"Alt";if(b===33)return"Northeast";if(b===34)return"Southeast";if(b===35)return"Southwest";if(b===36)return"Northwest";if(b===37)return"West";if(b===38)return"North";if(b===39)return"East";if(b===40)return"South";if(b===45)return"Insert";if(b===46)return"Delete";if(b>=48&&b<=57||b>=65&&b<=90)return String.fromCharCode(b);if(b>=96&&b<=105)return"Numpad"+(b-96);if(b>=112&&b<=123)return"F"+(b-111);if(b===188)return",";if(b===189)return"-";if(b===190)return"."},v=function(b){var I=String(b);if(I==="Ctrl+F5"||I==="Ctrl+R"){location.reload();return}if(I!=="Ctrl+F"&&!(b.event.defaultPrevented||b.isModifierKey()||h.includes(b.code))){I==="F5"&&(b.event.preventDefault(),b.event.returnValue=!1);var T=i(b.code);if(T){var C=c[T];if(C)return l.debug("macro",C),Byond.command(C);if(b.isDown()&&!d[T]){d[T]=!0;var S='Key_Down "'+T+'"';return l.debug(S),Byond.command(S)}if(b.isUp()&&d[T]){d[T]=!1;var y='Key_Up "'+T+'"';return l.debug(y),Byond.command(y)}}}},s=e.acquireHotKey=function(){function m(b){h.push(b)}return m}(),p=e.releaseHotKey=function(){function m(b){var I=h.indexOf(b);I>=0&&h.splice(I,1)}return m}(),f=e.releaseHeldKeys=function(){function m(){for(var b=0,I=Object.keys(d);b<I.length;b++){var T=I[b];d[T]&&(d[T]=!1,l.log('releasing key "'+T+'"'),Byond.command('Key_Up "'+T+'"'))}}return m}(),g=e.setupHotKeys=function(){function m(){Byond.winget("default.*").then(function(b){for(var I={},T=0,C=Object.keys(b);T<C.length;T++){var S=C[T],y=S.split("."),O=y[1],A=y[2];O&&A&&(I[O]||(I[O]={}),I[O][A]=b[S])}for(var N=/\\"/g,M=function(){function G(B){return B.substring(1,B.length-1).replace(N,'"')}return G}(),R=0,L=Object.keys(I);R<L.length;R++){var x=L[R],F=I[x],V=M(F.name);c[V]=M(F.command)}l.debug("loaded macros",c)}),r.globalEvents.on("window-blur",function(){f()}),r.globalEvents.on("key",function(b){v(b)})}return m}()},61255:function(E,e,t){"use strict";e.__esModule=!0,e.Layout=void 0;var n=t(96524),r=t(28234),o=t(3051),a=t(92700),u=["className","theme","children"],l=["className","scrollable","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function c(i,f){if(i==null)return{};var s={},p=Object.keys(i),d,g;for(g=0;g<p.length;g++)d=p[g],!(f.indexOf(d)>=0)&&(s[d]=i[d]);return s}var h=e.Layout=function(){function i(f){var s=f.className,p=f.theme,d=p===void 0?"nanotrasen":p,g=f.children,m=c(f,u);return(0,n.createVNode)(1,"div","theme-"+d,(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Layout",s].concat((0,o.computeBoxClassName)(m))),g,0,Object.assign({},(0,o.computeBoxProps)(m)))),2)}return i}(),v=function(f){var s=f.className,p=f.scrollable,d=f.children,g=c(f,l);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Layout__content",p&&"Layout__content--scrollable",s,(0,o.computeBoxClassName)(g)]),d,0,Object.assign({},(0,o.computeBoxProps)(g))))};v.defaultHooks={onComponentDidMount:function(){function i(f){return(0,a.addScrollableNode)(f)}return i}(),onComponentWillUnmount:function(){function i(f){return(0,a.removeScrollableNode)(f)}return i}()},h.Content=v},55067:function(E,e,t){"use strict";e.__esModule=!0,e.Pane=void 0;var n=t(28823),r=t(66586),o=t(91819),a=t(2971),u=t(39241),l=t(73786),c=["theme","children","className"],h=["className","fitted","children"];/** + */function c(i,v){if(i==null)return{};var s={},p=Object.keys(i),f,g;for(g=0;g<p.length;g++)f=p[g],!(v.indexOf(f)>=0)&&(s[f]=i[f]);return s}var h=e.Layout=function(){function i(v){var s=v.className,p=v.theme,f=p===void 0?"nanotrasen":p,g=v.children,m=c(v,u);return(0,n.createVNode)(1,"div","theme-"+f,(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Layout",s].concat((0,o.computeBoxClassName)(m))),g,0,Object.assign({},(0,o.computeBoxProps)(m)))),2)}return i}(),d=function(v){var s=v.className,p=v.scrollable,f=v.children,g=c(v,l);return(0,n.normalizeProps)((0,n.createVNode)(1,"div",(0,r.classes)(["Layout__content",p&&"Layout__content--scrollable",s,(0,o.computeBoxClassName)(g)]),f,0,Object.assign({},(0,o.computeBoxProps)(g))))};d.defaultHooks={onComponentDidMount:function(){function i(v){return(0,a.addScrollableNode)(v)}return i}(),onComponentWillUnmount:function(){function i(v){return(0,a.removeScrollableNode)(v)}return i}()},h.Content=d},12599:function(E,e,t){"use strict";e.__esModule=!0,e.Pane=void 0;var n=t(96524),r=t(28234),o=t(17899),a=t(24674),u=t(90781),l=t(61255),c=["theme","children","className"],h=["className","fitted","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function v(s,p){if(s==null)return{};var d={},g=Object.keys(s),m,S;for(S=0;S<g.length;S++)m=g[S],!(p.indexOf(m)>=0)&&(d[m]=s[m]);return d}var i=e.Pane=function(){function s(p,d){var g=p.theme,m=p.children,S=p.className,I=v(p,c),O=(0,o.useBackend)(d),C=O.suspended,y=(0,u.useDebug)(d),b=y.debugLayout;return(0,n.normalizeProps)((0,n.createComponentVNode)(2,l.Layout,Object.assign({className:(0,r.classes)(["Window",S]),theme:g},I,{children:(0,n.createComponentVNode)(2,a.Box,{fillPositionedParent:!0,className:b&&"debug-layout",children:!C&&m})})))}return s}(),f=function(p){var d=p.className,g=p.fitted,m=p.children,S=v(p,h);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,l.Layout.Content,Object.assign({className:(0,r.classes)(["Window__content",d])},S,{children:g&&m||(0,n.createVNode)(1,"div","Window__contentPadding",m,0)})))};i.Content=f},82118:function(E,e,t){"use strict";e.__esModule=!0,e.Window=void 0;var n=t(28823),r=t(66586),o=t(90816),a=t(37843),u=t(91819),l=t(2971),c=t(30381),h=t(39241),v=t(20697),i=t(45360),f=t(50175),s=t(73786),p=["className","fitted","children"];function d(T,P){if(T==null)return{};var N={},M=Object.keys(T),R,L;for(L=0;L<M.length;L++)R=M[L],!(P.indexOf(R)>=0)&&(N[R]=T[R]);return N}function g(T,P){T.prototype=Object.create(P.prototype),T.prototype.constructor=T,m(T,P)}function m(T,P){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function N(M,R){return M.__proto__=R,M}return N}(),m(T,P)}/** + */function d(s,p){if(s==null)return{};var f={},g=Object.keys(s),m,b;for(b=0;b<g.length;b++)m=g[b],!(p.indexOf(m)>=0)&&(f[m]=s[m]);return f}var i=e.Pane=function(){function s(p,f){var g=p.theme,m=p.children,b=p.className,I=d(p,c),T=(0,o.useBackend)(f),C=T.suspended,S=(0,u.useDebug)(f),y=S.debugLayout;return(0,n.normalizeProps)((0,n.createComponentVNode)(2,l.Layout,Object.assign({className:(0,r.classes)(["Window",b]),theme:g},I,{children:(0,n.createComponentVNode)(2,a.Box,{fillPositionedParent:!0,className:y&&"debug-layout",children:!C&&m})})))}return s}(),v=function(p){var f=p.className,g=p.fitted,m=p.children,b=d(p,h);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,l.Layout.Content,Object.assign({className:(0,r.classes)(["Window__content",f])},b,{children:g&&m||(0,n.createVNode)(1,"div","Window__contentPadding",m,0)})))};i.Content=v},28861:function(E,e,t){"use strict";e.__esModule=!0,e.Window=void 0;var n=t(96524),r=t(28234),o=t(88605),a=t(78234),u=t(17899),l=t(24674),c=t(38424),h=t(90781),d=t(82574),i=t(83987),v=t(81856),s=t(61255),p=["className","fitted","children"];function f(O,A){if(O==null)return{};var N={},M=Object.keys(O),R,L;for(L=0;L<M.length;L++)R=M[L],!(A.indexOf(R)>=0)&&(N[R]=O[R]);return N}function g(O,A){O.prototype=Object.create(A.prototype),O.prototype.constructor=O,m(O,A)}function m(O,A){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function N(M,R){return M.__proto__=R,M}return N}(),m(O,A)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var S=(0,f.createLogger)("Window"),I=[400,600],O=e.Window=function(T){g(P,T);function P(){return T.apply(this,arguments)||this}var N=P.prototype;return N.componentDidMount=function(){function M(){var R=(0,u.useBackend)(this.context),L=R.suspended;L||(S.log("mounting"),this.updateGeometry())}return M}(),N.componentDidUpdate=function(){function M(R){var L=this.props.width!==R.width||this.props.height!==R.height;L&&this.updateGeometry()}return M}(),N.updateGeometry=function(){function M(){var R,L=(0,u.useBackend)(this.context),K=L.config,U=Object.assign({size:I},K.window);this.props.width&&this.props.height&&(U.size=[this.props.width,this.props.height]),(R=K.window)!=null&&R.key&&(0,i.setWindowKey)(K.window.key),(0,i.recallWindowGeometry)(U)}return M}(),N.render=function(){function M(){var R,L=this.props,K=L.theme,U=L.title,F=L.children,$=(0,u.useBackend)(this.context),B=$.config,x=$.suspended,V=(0,h.useDebug)(this.context),G=V.debugLayout,Y=(0,o.useDispatch)(this.context),k=(R=B.window)==null?void 0:R.fancy,nt=B.user&&(B.user.observer?B.status<c.UI_DISABLED:B.status<c.UI_INTERACTIVE);return(0,n.createComponentVNode)(2,s.Layout,{className:"Window",theme:K,children:[(0,n.createComponentVNode)(2,b,{className:"Window__titleBar",title:!x&&(U||(0,a.decodeHtmlEntities)(B.title)),status:B.status,fancy:k,onDragStart:i.dragStartHandler,onClose:function(){function ut(){S.log("pressed close"),Y((0,u.backendSuspendStart)())}return ut}()}),(0,n.createVNode)(1,"div",(0,r.classes)(["Window__rest",G&&"debug-layout"]),[!x&&F,nt&&(0,n.createVNode)(1,"div","Window__dimmer")],0),k&&(0,n.createFragment)([(0,n.createVNode)(1,"div","Window__resizeHandle__e",null,1,{onMousedown:(0,i.resizeStartHandler)(1,0)}),(0,n.createVNode)(1,"div","Window__resizeHandle__s",null,1,{onMousedown:(0,i.resizeStartHandler)(0,1)}),(0,n.createVNode)(1,"div","Window__resizeHandle__se",null,1,{onMousedown:(0,i.resizeStartHandler)(1,1)})],4)]})}return M}(),P}(n.Component),C=function(P){var N=P.className,M=P.fitted,R=P.children,L=d(P,p);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,s.Layout.Content,Object.assign({className:(0,r.classes)(["Window__content",N])},L,{children:M&&R||(0,n.createVNode)(1,"div","Window__contentPadding",R,0)})))};O.Content=C;var y=function(P){switch(P){case c.UI_INTERACTIVE:return"good";case c.UI_UPDATE:return"average";case c.UI_DISABLED:default:return"bad"}},b=function(P,N){var M=P.className,R=P.title,L=P.status,K=P.fancy,U=P.onDragStart,F=P.onClose,$=(0,o.useDispatch)(N);return(0,n.createVNode)(1,"div",(0,r.classes)(["TitleBar",M]),[L===void 0&&(0,n.createComponentVNode)(2,l.Icon,{className:"TitleBar__statusIcon",name:"tools",opacity:.5})||(0,n.createComponentVNode)(2,l.Icon,{className:"TitleBar__statusIcon",color:y(L),name:"eye"}),(0,n.createVNode)(1,"div","TitleBar__title",typeof R=="string"&&R===R.toLowerCase()&&(0,a.toTitleCase)(R)||R,0),(0,n.createVNode)(1,"div","TitleBar__dragZone",null,1,{onMousedown:function(){function B(x){return K&&U(x)}return B}()}),!1,!!K&&(0,n.createVNode)(1,"div","TitleBar__close TitleBar__clickable",Byond.IS_LTE_IE8?"x":"\xD7",0,{onclick:F})],0)}},84947:function(E,e,t){"use strict";e.__esModule=!0,e.Window=e.Pane=e.Layout=void 0;var n=t(73786);e.Layout=n.Layout;var r=t(55067);e.Pane=r.Pane;var o=t(82118);e.Window=o.Window},85955:function(E,e){"use strict";e.__esModule=!0,e.captureExternalLinks=void 0;/** +*/var b=(0,v.createLogger)("Window"),I=[400,600],T=e.Window=function(O){function A(){return O.apply(this,arguments)||this}g(A,O);var N=A.prototype;return N.componentDidMount=function(){function M(){var R=(0,u.useBackend)(this.context),L=R.suspended;L||(b.log("mounting"),this.updateGeometry())}return M}(),N.componentDidUpdate=function(){function M(R){var L=this.props.width!==R.width||this.props.height!==R.height;L&&this.updateGeometry()}return M}(),N.updateGeometry=function(){function M(){var R,L=(0,u.useBackend)(this.context),x=L.config,F=Object.assign({size:I},x.window);this.props.width&&this.props.height&&(F.size=[this.props.width,this.props.height]),(R=x.window)!=null&&R.key&&(0,i.setWindowKey)(x.window.key),(0,i.recallWindowGeometry)(F)}return M}(),N.render=function(){function M(){var R,L=this.props,x=L.theme,F=L.title,V=L.children,G=(0,u.useBackend)(this.context),B=G.config,U=G.suspended,j=(0,h.useDebug)(this.context),K=j.debugLayout,$=(0,o.useDispatch)(this.context),W=(R=B.window)==null?void 0:R.fancy,nt=B.user&&(B.user.observer?B.status<c.UI_DISABLED:B.status<c.UI_INTERACTIVE);return(0,n.createComponentVNode)(2,s.Layout,{className:"Window",theme:x,children:[(0,n.createComponentVNode)(2,y,{className:"Window__titleBar",title:!U&&(F||(0,a.decodeHtmlEntities)(B.title)),status:B.status,fancy:W,onDragStart:i.dragStartHandler,onClose:function(){function st(){b.log("pressed close"),$((0,u.backendSuspendStart)())}return st}()}),(0,n.createVNode)(1,"div",(0,r.classes)(["Window__rest",K&&"debug-layout"]),[!U&&V,nt&&(0,n.createVNode)(1,"div","Window__dimmer")],0),W&&(0,n.createFragment)([(0,n.createVNode)(1,"div","Window__resizeHandle__e",null,1,{onMousedown:(0,i.resizeStartHandler)(1,0)}),(0,n.createVNode)(1,"div","Window__resizeHandle__s",null,1,{onMousedown:(0,i.resizeStartHandler)(0,1)}),(0,n.createVNode)(1,"div","Window__resizeHandle__se",null,1,{onMousedown:(0,i.resizeStartHandler)(1,1)})],4)]})}return M}(),A}(n.Component),C=function(A){var N=A.className,M=A.fitted,R=A.children,L=f(A,p);return(0,n.normalizeProps)((0,n.createComponentVNode)(2,s.Layout.Content,Object.assign({className:(0,r.classes)(["Window__content",N])},L,{children:M&&R||(0,n.createVNode)(1,"div","Window__contentPadding",R,0)})))};T.Content=C;var S=function(A){switch(A){case c.UI_INTERACTIVE:return"good";case c.UI_UPDATE:return"average";case c.UI_DISABLED:default:return"bad"}},y=function(A,N){var M=A.className,R=A.title,L=A.status,x=A.fancy,F=A.onDragStart,V=A.onClose,G=(0,o.useDispatch)(N);return(0,n.createVNode)(1,"div",(0,r.classes)(["TitleBar",M]),[L===void 0&&(0,n.createComponentVNode)(2,l.Icon,{className:"TitleBar__statusIcon",name:"tools",opacity:.5})||(0,n.createComponentVNode)(2,l.Icon,{className:"TitleBar__statusIcon",color:S(L),name:"eye"}),(0,n.createVNode)(1,"div","TitleBar__title",typeof R=="string"&&R===R.toLowerCase()&&(0,a.toTitleCase)(R)||R,0),(0,n.createVNode)(1,"div","TitleBar__dragZone",null,1,{onMousedown:function(){function B(U){return x&&F(U)}return B}()}),!1,!!x&&(0,n.createVNode)(1,"div","TitleBar__close TitleBar__clickable","\xD7",16,{onclick:V})],0)}},45493:function(E,e,t){"use strict";e.__esModule=!0,e.Window=e.Pane=e.Layout=void 0;var n=t(61255);e.Layout=n.Layout;var r=t(12599);e.Pane=r.Pane;var o=t(28861);e.Window=o.Window},29320:function(E,e){"use strict";e.__esModule=!0,e.captureExternalLinks=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=e.captureExternalLinks=function(){function n(){document.addEventListener("click",function(r){for(var o=r.target;;){if(!o||o===document.body)return;var a=String(o.tagName).toLowerCase();if(a==="a")break;o=o.parentElement}var u=o.getAttribute("href")||"",l=u.charAt(0)==="?"||u.startsWith("byond://");if(!l){r.preventDefault();var c=u;c.toLowerCase().startsWith("www")&&(c="https://"+c),Byond.sendMessage({type:"openLink",url:c})}})}return n}()},50175:function(E,e,t){"use strict";e.__esModule=!0,e.logger=e.createLogger=void 0;var n=t(87454);/** + */var t=e.captureExternalLinks=function(){function n(){document.addEventListener("click",function(r){for(var o=r.target;;){if(!o||o===document.body)return;var a=String(o.tagName).toLowerCase();if(a==="a")break;o=o.parentElement}var u=o.getAttribute("href")||"",l=u.charAt(0)==="?"||u.startsWith("byond://");if(!l){r.preventDefault();var c=u;c.toLowerCase().startsWith("www")&&(c="https://"+c),Byond.sendMessage({type:"openLink",url:c})}})}return n}()},81856:function(E,e,t){"use strict";e.__esModule=!0,e.logger=e.createLogger=void 0;var n=t(50719);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r=0,o=1,a=2,u=3,l=4,c=function(f,s){for(var p=arguments.length,d=new Array(p>2?p-2:0),g=2;g<p;g++)d[g-2]=arguments[g];if(f>=a){var m=[s].concat(d).map(function(S){return typeof S=="string"?S:S instanceof Error?S.stack||String(S):JSON.stringify(S)}).filter(function(S){return S}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",message:m})}},h=e.createLogger=function(){function i(f){return{debug:function(){function s(){for(var p=arguments.length,d=new Array(p),g=0;g<p;g++)d[g]=arguments[g];return c.apply(void 0,[r,f].concat(d))}return s}(),log:function(){function s(){for(var p=arguments.length,d=new Array(p),g=0;g<p;g++)d[g]=arguments[g];return c.apply(void 0,[o,f].concat(d))}return s}(),info:function(){function s(){for(var p=arguments.length,d=new Array(p),g=0;g<p;g++)d[g]=arguments[g];return c.apply(void 0,[a,f].concat(d))}return s}(),warn:function(){function s(){for(var p=arguments.length,d=new Array(p),g=0;g<p;g++)d[g]=arguments[g];return c.apply(void 0,[u,f].concat(d))}return s}(),error:function(){function s(){for(var p=arguments.length,d=new Array(p),g=0;g<p;g++)d[g]=arguments[g];return c.apply(void 0,[l,f].concat(d))}return s}()}}return i}(),v=e.logger=h()},64960:function(E,e,t){"use strict";e.__esModule=!0,e.suspendRenderer=e.resumeRenderer=e.createRenderer=void 0;var n=t(60031),r=t(28823),o=t(50175),a=(0,o.createLogger)("renderer"),u,l=!0,c=!1,h=e.resumeRenderer=function(){function f(){l=l||"resumed",c=!1}return f}(),v=e.suspendRenderer=function(){function f(){c=!0}return f}(),i=e.createRenderer=function(){function f(s){return function(){n.perf.mark("render/start"),u||(u=document.getElementById("react-root")),(0,r.render)(s(),u),n.perf.mark("render/finish"),!c&&l&&(l=!1)}}return f}()},79143:function(E,e,t){"use strict";e.__esModule=!0,e.configureStore=e.StoreProvider=void 0;var n=t(90955),r=t(90816),o=t(28823),a=t(96820),u=t(91819),l=t(39241),c=t(50175);function h(g,m){g.prototype=Object.create(m.prototype),g.prototype.constructor=g,v(g,m)}function v(g,m){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function S(I,O){return I.__proto__=O,I}return S}(),v(g,m)}/** + */var r=0,o=1,a=2,u=3,l=4,c=function(v,s){for(var p=arguments.length,f=new Array(p>2?p-2:0),g=2;g<p;g++)f[g-2]=arguments[g];if(v>=a){var m=[s].concat(f).map(function(b){return typeof b=="string"?b:b instanceof Error?b.stack||String(b):JSON.stringify(b)}).filter(function(b){return b}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",message:m})}},h=e.createLogger=function(){function i(v){return{debug:function(){function s(){for(var p=arguments.length,f=new Array(p),g=0;g<p;g++)f[g]=arguments[g];return c.apply(void 0,[r,v].concat(f))}return s}(),log:function(){function s(){for(var p=arguments.length,f=new Array(p),g=0;g<p;g++)f[g]=arguments[g];return c.apply(void 0,[o,v].concat(f))}return s}(),info:function(){function s(){for(var p=arguments.length,f=new Array(p),g=0;g<p;g++)f[g]=arguments[g];return c.apply(void 0,[a,v].concat(f))}return s}(),warn:function(){function s(){for(var p=arguments.length,f=new Array(p),g=0;g<p;g++)f[g]=arguments[g];return c.apply(void 0,[u,v].concat(f))}return s}(),error:function(){function s(){for(var p=arguments.length,f=new Array(p),g=0;g<p;g++)f[g]=arguments[g];return c.apply(void 0,[l,v].concat(f))}return s}()}}return i}(),d=e.logger=h()},7570:function(E,e,t){"use strict";e.__esModule=!0,e.suspendRenderer=e.resumeRenderer=e.createRenderer=void 0;var n=t(63560),r=t(96524),o=t(81856),a=(0,o.createLogger)("renderer"),u,l=!0,c=!1,h=e.resumeRenderer=function(){function v(){l=l||"resumed",c=!1}return v}(),d=e.suspendRenderer=function(){function v(){c=!0}return v}(),i=e.createRenderer=function(){function v(s){return function(){n.perf.mark("render/start"),u||(u=document.getElementById("react-root")),(0,r.render)(s(),u),n.perf.mark("render/finish"),!c&&l&&(l=!1)}}return v}()},98008:function(E,e,t){"use strict";e.__esModule=!0,e.configureStore=e.StoreProvider=void 0;var n=t(74041),r=t(88605),o=t(96524),a=t(17442),u=t(17899),l=t(90781),c=t(81856);function h(g,m){g.prototype=Object.create(m.prototype),g.prototype.constructor=g,d(g,m)}function d(g,m){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function b(I,T){return I.__proto__=T,I}return b}(),d(g,m)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var i=(0,c.createLogger)("store"),f=e.configureStore=function(){function g(m){var S,I;m===void 0&&(m={});var O=m,C=O.sideEffects,y=C===void 0?!0:C,b=(0,n.flow)([(0,r.combineReducers)({debug:l.debugReducer,backend:u.backendReducer}),m.reducer]),T=y?[].concat(((S=m.middleware)==null?void 0:S.pre)||[],[a.assetMiddleware,u.backendMiddleware],((I=m.middleware)==null?void 0:I.post)||[]):[],P=r.applyMiddleware.apply(void 0,T),N=(0,r.createStore)(b,P);return window.__store__=N,window.__augmentStack__=p(N),N}return g}(),s=function(m){return function(S){return function(I){var O=I.type,C=I.payload;return O==="update"||O==="backend/update"?i.debug("action",{type:O}):i.debug("action",I),S(I)}}},p=function(m){return function(S,I){var O,C;I?typeof I=="object"&&!I.stack&&(I.stack=S):(I=new Error(S.split("\n")[0]),I.stack=S),i.log("FatalError:",I);var y=m.getState(),b=y==null||(O=y.backend)==null?void 0:O.config,T=S;return T+="\nUser Agent: "+navigator.userAgent,T+="\nState: "+JSON.stringify({ckey:b==null||(C=b.client)==null?void 0:C.ckey,interface:b==null?void 0:b.interface,window:b==null?void 0:b.window}),T}},d=e.StoreProvider=function(g){h(m,g);function m(){return g.apply(this,arguments)||this}var S=m.prototype;return S.getChildContext=function(){function I(){var O=this.props.store;return{store:O}}return I}(),S.render=function(){function I(){return this.props.children}return I}(),m}(o.Component)},90969:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(2971);/** +*/var i=(0,c.createLogger)("store"),v=e.configureStore=function(){function g(m){var b,I;m===void 0&&(m={});var T=m,C=T.sideEffects,S=C===void 0?!0:C,y=(0,n.flow)([(0,r.combineReducers)({debug:l.debugReducer,backend:u.backendReducer}),m.reducer]),O=S?[].concat(((b=m.middleware)==null?void 0:b.pre)||[],[a.assetMiddleware,u.backendMiddleware],((I=m.middleware)==null?void 0:I.post)||[]):[],A=r.applyMiddleware.apply(void 0,O),N=(0,r.createStore)(y,A);return window.__store__=N,window.__augmentStack__=p(N),N}return g}(),s=function(m){return function(b){return function(I){var T=I.type,C=I.payload;return T==="update"||T==="backend/update"?i.debug("action",{type:T}):i.debug("action",I),b(I)}}},p=function(m){return function(b,I){var T,C;I?typeof I=="object"&&!I.stack&&(I.stack=b):(I=new Error(b.split("\n")[0]),I.stack=b),i.log("FatalError:",I);var S=m.getState(),y=S==null||(T=S.backend)==null?void 0:T.config,O=b;return O+="\nUser Agent: "+navigator.userAgent,O+="\nState: "+JSON.stringify({ckey:y==null||(C=y.client)==null?void 0:C.ckey,interface:y==null?void 0:y.interface,window:y==null?void 0:y.window}),O}},f=e.StoreProvider=function(g){function m(){return g.apply(this,arguments)||this}h(m,g);var b=m.prototype;return b.getChildContext=function(){function I(){var T=this.props.store;return{store:T}}return I}(),b.render=function(){function I(){return this.props.children}return I}(),m}(o.Component)},61498:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=e.meta={title:"Blink",render:function(){function u(){return(0,n.createComponentVNode)(2,a)}return u}()},a=function(l,c){return(0,n.createComponentVNode)(2,r.Section,{children:(0,n.createComponentVNode)(2,r.Blink,{children:"Blink"})})}},22030:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(2971),o=t(51753);/** + */var o=e.meta={title:"Blink",render:function(){function u(){return(0,n.createComponentVNode)(2,a)}return u}()},a=function(l,c){return(0,n.createComponentVNode)(2,r.Section,{children:(0,n.createComponentVNode)(2,r.Blink,{children:"Blink"})})}},27431:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(24674),o=t(17306);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var a=e.meta={title:"BlockQuote",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(c,h){return(0,n.createComponentVNode)(2,r.Section,{children:(0,n.createComponentVNode)(2,r.BlockQuote,{children:(0,n.createComponentVNode)(2,o.BoxWithSampleText)})})}},35286:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(2971);/** + */var a=e.meta={title:"BlockQuote",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(c,h){return(0,n.createComponentVNode)(2,r.Section,{children:(0,n.createComponentVNode)(2,r.BlockQuote,{children:(0,n.createComponentVNode)(2,o.BoxWithSampleText)})})}},6517:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=e.meta={title:"Box",render:function(){function u(){return(0,n.createComponentVNode)(2,a)}return u}()},a=function(l,c){return(0,n.createComponentVNode)(2,r.Section,{children:[(0,n.createComponentVNode)(2,r.Box,{bold:!0,children:"bold"}),(0,n.createComponentVNode)(2,r.Box,{italic:!0,children:"italic"}),(0,n.createComponentVNode)(2,r.Box,{opacity:.5,children:"opacity 0.5"}),(0,n.createComponentVNode)(2,r.Box,{opacity:.25,children:"opacity 0.25"}),(0,n.createComponentVNode)(2,r.Box,{m:2,children:"m: 2"}),(0,n.createComponentVNode)(2,r.Box,{textAlign:"left",children:"left"}),(0,n.createComponentVNode)(2,r.Box,{textAlign:"center",children:"center"}),(0,n.createComponentVNode)(2,r.Box,{textAlign:"right",children:"right"})]})}},38465:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(2971);/** + */var o=e.meta={title:"Box",render:function(){function u(){return(0,n.createComponentVNode)(2,a)}return u}()},a=function(l,c){return(0,n.createComponentVNode)(2,r.Section,{children:[(0,n.createComponentVNode)(2,r.Box,{bold:!0,children:"bold"}),(0,n.createComponentVNode)(2,r.Box,{italic:!0,children:"italic"}),(0,n.createComponentVNode)(2,r.Box,{opacity:.5,children:"opacity 0.5"}),(0,n.createComponentVNode)(2,r.Box,{opacity:.25,children:"opacity 0.25"}),(0,n.createComponentVNode)(2,r.Box,{m:2,children:"m: 2"}),(0,n.createComponentVNode)(2,r.Box,{textAlign:"left",children:"left"}),(0,n.createComponentVNode)(2,r.Box,{textAlign:"center",children:"center"}),(0,n.createComponentVNode)(2,r.Box,{textAlign:"right",children:"right"})]})}},20648:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=e.meta={title:"Button",render:function(){function c(){return(0,n.createComponentVNode)(2,l)}return c}()},a=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],u=["good","average","bad","black","white"],l=function(h,v){return(0,n.createComponentVNode)(2,r.Section,{children:[(0,n.createComponentVNode)(2,r.Box,{mb:1,children:[(0,n.createComponentVNode)(2,r.Button,{content:"Simple"}),(0,n.createComponentVNode)(2,r.Button,{selected:!0,content:"Selected"}),(0,n.createComponentVNode)(2,r.Button,{altSelected:!0,content:"Alt Selected"}),(0,n.createComponentVNode)(2,r.Button,{disabled:!0,content:"Disabled"}),(0,n.createComponentVNode)(2,r.Button,{color:"transparent",content:"Transparent"}),(0,n.createComponentVNode)(2,r.Button,{icon:"cog",content:"Icon"}),(0,n.createComponentVNode)(2,r.Button,{icon:"power-off"}),(0,n.createComponentVNode)(2,r.Button,{fluid:!0,content:"Fluid"}),(0,n.createComponentVNode)(2,r.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"}),(0,n.createComponentVNode)(2,r.Button,{my:1,lineHeight:2,minWidth:15,color:"translucent",textAlign:"center",content:"Translucent"})]}),(0,n.createComponentVNode)(2,r.Box,{mb:1,children:[u.map(function(i){return(0,n.createComponentVNode)(2,r.Button,{color:i,content:i},i)}),(0,n.createVNode)(1,"br"),a.map(function(i){return(0,n.createComponentVNode)(2,r.Button,{color:i,content:i},i)}),(0,n.createVNode)(1,"br"),a.map(function(i){return(0,n.createComponentVNode)(2,r.Box,{inline:!0,mx:"7px",color:i,children:i},i)})]})]})}},16748:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(91819),o=t(2971),a=t(50175);/** + */var o=e.meta={title:"Button",render:function(){function c(){return(0,n.createComponentVNode)(2,l)}return c}()},a=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],u=["good","average","bad","black","white"],l=function(h,d){return(0,n.createComponentVNode)(2,r.Section,{children:[(0,n.createComponentVNode)(2,r.Box,{mb:1,children:[(0,n.createComponentVNode)(2,r.Button,{content:"Simple"}),(0,n.createComponentVNode)(2,r.Button,{selected:!0,content:"Selected"}),(0,n.createComponentVNode)(2,r.Button,{altSelected:!0,content:"Alt Selected"}),(0,n.createComponentVNode)(2,r.Button,{disabled:!0,content:"Disabled"}),(0,n.createComponentVNode)(2,r.Button,{color:"transparent",content:"Transparent"}),(0,n.createComponentVNode)(2,r.Button,{icon:"cog",content:"Icon"}),(0,n.createComponentVNode)(2,r.Button,{icon:"power-off"}),(0,n.createComponentVNode)(2,r.Button,{fluid:!0,content:"Fluid"}),(0,n.createComponentVNode)(2,r.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"}),(0,n.createComponentVNode)(2,r.Button,{my:1,lineHeight:2,minWidth:15,color:"translucent",textAlign:"center",content:"Translucent"})]}),(0,n.createComponentVNode)(2,r.Box,{mb:1,children:[u.map(function(i){return(0,n.createComponentVNode)(2,r.Button,{color:i,content:i},i)}),(0,n.createVNode)(1,"br"),a.map(function(i){return(0,n.createComponentVNode)(2,r.Button,{color:i,content:i},i)}),(0,n.createVNode)(1,"br"),a.map(function(i){return(0,n.createComponentVNode)(2,r.Box,{inline:!0,mx:"7px",color:i,children:i},i)})]})]})}},14906:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(17899),o=t(24674),a=t(81856);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var u=e.meta={title:"ByondUi",render:function(){function c(){return(0,n.createComponentVNode)(2,l)}return c}()},l=function(h,v){var i=(0,r.useLocalState)(v,"byondUiEvalCode","Byond.winset('"+Byond.windowId+"', {\n 'is-visible': true,\n})"),f=i[0],s=i[1];return(0,n.createFragment)([(0,n.createComponentVNode)(2,o.Section,{title:"Button",children:(0,n.createComponentVNode)(2,o.ByondUi,{params:{type:"button",text:"Button"}})}),(0,n.createComponentVNode)(2,o.Section,{title:"Make BYOND calls",buttons:(0,n.createComponentVNode)(2,o.Button,{icon:"chevron-right",onClick:function(){function p(){return setImmediate(function(){try{var d=new Function("return ("+f+")")();d&&d.then?(a.logger.log("Promise"),d.then(a.logger.log)):a.logger.log(d)}catch(g){a.logger.log(g)}})}return p}(),children:"Evaluate"}),children:(0,n.createComponentVNode)(2,o.Box,{as:"textarea",width:"100%",height:"10em",onChange:function(){function p(d){return s(d.target.value)}return p}(),children:f})})],4)}},76475:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(2971),o=t(51753);/** + */var u=e.meta={title:"ByondUi",render:function(){function c(){return(0,n.createComponentVNode)(2,l)}return c}()},l=function(h,d){var i=(0,r.useLocalState)(d,"byondUiEvalCode","Byond.winset('"+Byond.windowId+"', {\n 'is-visible': true,\n})"),v=i[0],s=i[1];return(0,n.createFragment)([(0,n.createComponentVNode)(2,o.Section,{title:"Button",children:(0,n.createComponentVNode)(2,o.ByondUi,{params:{type:"button",text:"Button"}})}),(0,n.createComponentVNode)(2,o.Section,{title:"Make BYOND calls",buttons:(0,n.createComponentVNode)(2,o.Button,{icon:"chevron-right",onClick:function(){function p(){return setTimeout(function(){try{var f=new Function("return ("+v+")")();f&&f.then?(a.logger.log("Promise"),f.then(a.logger.log)):a.logger.log(f)}catch(g){a.logger.log(g)}})}return p}(),children:"Evaluate"}),children:(0,n.createComponentVNode)(2,o.Box,{as:"textarea",width:"100%",height:"10em",onChange:function(){function p(f){return s(f.target.value)}return p}(),children:v})})],4)}},59948:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(24674),o=t(17306);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var a=e.meta={title:"Collapsible",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(c,h){return(0,n.createComponentVNode)(2,r.Section,{children:(0,n.createComponentVNode)(2,r.Collapsible,{title:"Collapsible Demo",buttons:(0,n.createComponentVNode)(2,r.Button,{icon:"cog"}),children:(0,n.createComponentVNode)(2,o.BoxWithSampleText)})})}},28994:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(91819),o=t(2971);/** + */var a=e.meta={title:"Collapsible",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(c,h){return(0,n.createComponentVNode)(2,r.Section,{children:(0,n.createComponentVNode)(2,r.Collapsible,{title:"Collapsible Demo",buttons:(0,n.createComponentVNode)(2,r.Button,{icon:"cog"}),children:(0,n.createComponentVNode)(2,o.BoxWithSampleText)})})}},37227:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(17899),o=t(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var a=e.meta={title:"Flex & Sections",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(c,h){var v=(0,r.useLocalState)(h,"fs_grow",1),i=v[0],f=v[1],s=(0,r.useLocalState)(h,"fs_direction","column"),p=s[0],d=s[1],g=(0,r.useLocalState)(h,"fs_fill",!0),m=g[0],S=g[1],I=(0,r.useLocalState)(h,"fs_title",!0),O=I[0],C=I[1];return(0,n.createComponentVNode)(2,o.Flex,{height:"100%",direction:"column",children:[(0,n.createComponentVNode)(2,o.Flex.Item,{mb:1,children:(0,n.createComponentVNode)(2,o.Section,{children:[(0,n.createComponentVNode)(2,o.Button,{fluid:!0,onClick:function(){function y(){return d(p==="column"?"row":"column")}return y}(),children:'Flex direction="'+p+'"'}),(0,n.createComponentVNode)(2,o.Button,{fluid:!0,onClick:function(){function y(){return f(+!i)}return y}(),children:"Flex.Item grow={"+i+"}"}),(0,n.createComponentVNode)(2,o.Button,{fluid:!0,onClick:function(){function y(){return S(!m)}return y}(),children:"Section fill={"+String(m)+"}"}),(0,n.createComponentVNode)(2,o.Button,{fluid:!0,selected:O,onClick:function(){function y(){return C(!O)}return y}(),children:"Section title"})]})}),(0,n.createComponentVNode)(2,o.Flex.Item,{grow:1,children:(0,n.createComponentVNode)(2,o.Flex,{height:"100%",direction:p,children:[(0,n.createComponentVNode)(2,o.Flex.Item,{mr:p==="row"&&1,mb:p==="column"&&1,grow:i,children:(0,n.createComponentVNode)(2,o.Section,{title:O&&"Section 1",fill:m,children:"Content"})}),(0,n.createComponentVNode)(2,o.Flex.Item,{grow:i,children:(0,n.createComponentVNode)(2,o.Section,{title:O&&"Section 2",fill:m,children:"Content"})})]})})]})}},25462:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(91819),o=t(2971);/** + */var a=e.meta={title:"Flex & Sections",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(c,h){var d=(0,r.useLocalState)(h,"fs_grow",1),i=d[0],v=d[1],s=(0,r.useLocalState)(h,"fs_direction","column"),p=s[0],f=s[1],g=(0,r.useLocalState)(h,"fs_fill",!0),m=g[0],b=g[1],I=(0,r.useLocalState)(h,"fs_title",!0),T=I[0],C=I[1];return(0,n.createComponentVNode)(2,o.Flex,{height:"100%",direction:"column",children:[(0,n.createComponentVNode)(2,o.Flex.Item,{mb:1,children:(0,n.createComponentVNode)(2,o.Section,{children:[(0,n.createComponentVNode)(2,o.Button,{fluid:!0,onClick:function(){function S(){return f(p==="column"?"row":"column")}return S}(),children:'Flex direction="'+p+'"'}),(0,n.createComponentVNode)(2,o.Button,{fluid:!0,onClick:function(){function S(){return v(+!i)}return S}(),children:"Flex.Item grow={"+i+"}"}),(0,n.createComponentVNode)(2,o.Button,{fluid:!0,onClick:function(){function S(){return b(!m)}return S}(),children:"Section fill={"+String(m)+"}"}),(0,n.createComponentVNode)(2,o.Button,{fluid:!0,selected:T,onClick:function(){function S(){return C(!T)}return S}(),children:"Section title"})]})}),(0,n.createComponentVNode)(2,o.Flex.Item,{grow:1,children:(0,n.createComponentVNode)(2,o.Flex,{height:"100%",direction:p,children:[(0,n.createComponentVNode)(2,o.Flex.Item,{mr:p==="row"&&1,mb:p==="column"&&1,grow:i,children:(0,n.createComponentVNode)(2,o.Section,{title:T&&"Section 1",fill:m,children:"Content"})}),(0,n.createComponentVNode)(2,o.Flex.Item,{grow:i,children:(0,n.createComponentVNode)(2,o.Section,{title:T&&"Section 2",fill:m,children:"Content"})})]})})]})}},32304:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(17899),o=t(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var a=e.meta={title:"Input",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(c,h){var v=(0,r.useLocalState)(h,"number",0),i=v[0],f=v[1],s=(0,r.useLocalState)(h,"text","Sample text"),p=s[0],d=s[1];return(0,n.createComponentVNode)(2,o.Section,{children:(0,n.createComponentVNode)(2,o.LabeledList,{children:[(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Input (onChange)",children:(0,n.createComponentVNode)(2,o.Input,{value:p,onChange:function(){function g(m,S){return d(S)}return g}()})}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Input (onInput)",children:(0,n.createComponentVNode)(2,o.Input,{value:p,onInput:function(){function g(m,S){return d(S)}return g}()})}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,n.createComponentVNode)(2,o.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:i,minValue:-100,maxValue:100,onChange:function(){function g(m,S){return f(S)}return g}()})}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,n.createComponentVNode)(2,o.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:i,minValue:-100,maxValue:100,onDrag:function(){function g(m,S){return f(S)}return g}()})}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Slider (onDrag)",children:(0,n.createComponentVNode)(2,o.Slider,{step:1,stepPixelSize:5,value:i,minValue:-100,maxValue:100,onDrag:function(){function g(m,S){return f(S)}return g}()})}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,n.createComponentVNode)(2,o.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:i,minValue:-100,maxValue:100,onDrag:function(){function g(m,S){return f(S)}return g}()}),(0,n.createComponentVNode)(2,o.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:i,minValue:-100,maxValue:100,onDrag:function(){function g(m,S){return f(S)}return g}()})]}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Rotating Icon",children:(0,n.createComponentVNode)(2,o.Box,{inline:!0,position:"relative",children:(0,n.createComponentVNode)(2,o.DraggableControl,{value:i,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function g(m,S){return f(S)}return g}(),children:function(){function g(m){return(0,n.createComponentVNode)(2,o.Box,{onMouseDown:m.handleDragStart,children:[(0,n.createComponentVNode)(2,o.Icon,{size:4,color:"yellow",name:"times",rotation:m.displayValue*4}),m.inputElement]})}return g}()})})})]})})}},97028:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(2971),o=e.meta={title:"Popper",render:function(){function u(){return(0,n.createComponentVNode)(2,a)}return u}()},a=function(){return(0,n.createFragment)([(0,n.createComponentVNode)(2,r.Popper,{popperContent:(0,n.createComponentVNode)(2,r.Box,{style:{background:"white",border:"2px solid blue"},children:"Loogatme!"}),options:{placement:"bottom"},children:(0,n.createComponentVNode)(2,r.Box,{style:{border:"5px solid white",height:"300px",width:"200px"}})}),(0,n.createComponentVNode)(2,r.Popper,{popperContent:(0,n.createComponentVNode)(2,r.Box,{style:{background:"white",border:"2px solid blue"},children:"I am on the right!"}),options:{placement:"right"},children:(0,n.createComponentVNode)(2,r.Box,{style:{border:"5px solid white",height:"500px",width:"100px"}})})],4)}},85266:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(91819),o=t(2971);/** + */var a=e.meta={title:"Input",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(c,h){var d=(0,r.useLocalState)(h,"number",0),i=d[0],v=d[1],s=(0,r.useLocalState)(h,"text","Sample text"),p=s[0],f=s[1];return(0,n.createComponentVNode)(2,o.Section,{children:(0,n.createComponentVNode)(2,o.LabeledList,{children:[(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Input (onChange)",children:(0,n.createComponentVNode)(2,o.Input,{value:p,onChange:function(){function g(m,b){return f(b)}return g}()})}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Input (onInput)",children:(0,n.createComponentVNode)(2,o.Input,{value:p,onInput:function(){function g(m,b){return f(b)}return g}()})}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,n.createComponentVNode)(2,o.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:i,minValue:-100,maxValue:100,onChange:function(){function g(m,b){return v(b)}return g}()})}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,n.createComponentVNode)(2,o.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:i,minValue:-100,maxValue:100,onDrag:function(){function g(m,b){return v(b)}return g}()})}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Slider (onDrag)",children:(0,n.createComponentVNode)(2,o.Slider,{step:1,stepPixelSize:5,value:i,minValue:-100,maxValue:100,onDrag:function(){function g(m,b){return v(b)}return g}()})}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,n.createComponentVNode)(2,o.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:i,minValue:-100,maxValue:100,onDrag:function(){function g(m,b){return v(b)}return g}()}),(0,n.createComponentVNode)(2,o.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:i,minValue:-100,maxValue:100,onDrag:function(){function g(m,b){return v(b)}return g}()})]}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Rotating Icon",children:(0,n.createComponentVNode)(2,o.Box,{inline:!0,position:"relative",children:(0,n.createComponentVNode)(2,o.DraggableControl,{value:i,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function g(m,b){return v(b)}return g}(),children:function(){function g(m){return(0,n.createComponentVNode)(2,o.Box,{onMouseDown:m.handleDragStart,children:[(0,n.createComponentVNode)(2,o.Icon,{size:4,color:"yellow",name:"times",rotation:m.displayValue*4}),m.inputElement]})}return g}()})})})]})})}},50394:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(24674),o=e.meta={title:"Popper",render:function(){function u(){return(0,n.createComponentVNode)(2,a)}return u}()},a=function(){return(0,n.createFragment)([(0,n.createComponentVNode)(2,r.Popper,{popperContent:(0,n.createComponentVNode)(2,r.Box,{style:{background:"white",border:"2px solid blue"},children:"Loogatme!"}),options:{placement:"bottom"},children:(0,n.createComponentVNode)(2,r.Box,{style:{border:"5px solid white",height:"300px",width:"200px"}})}),(0,n.createComponentVNode)(2,r.Popper,{popperContent:(0,n.createComponentVNode)(2,r.Box,{style:{background:"white",border:"2px solid blue"},children:"I am on the right!"}),options:{placement:"right"},children:(0,n.createComponentVNode)(2,r.Box,{style:{border:"5px solid white",height:"500px",width:"100px"}})})],4)}},75096:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(17899),o=t(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var a=e.meta={title:"ProgressBar",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(c,h){var v=(0,r.useLocalState)(h,"progress",.5),i=v[0],f=v[1];return(0,n.createComponentVNode)(2,o.Section,{children:[(0,n.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[.5,1/0],bad:[-1/0,.1],average:[0,.5]},minValue:-1,maxValue:1,value:i,children:["Value: ",Number(i).toFixed(1)]}),(0,n.createComponentVNode)(2,o.Box,{mt:1,children:[(0,n.createComponentVNode)(2,o.Button,{content:"-0.1",onClick:function(){function s(){return f(i-.1)}return s}()}),(0,n.createComponentVNode)(2,o.Button,{content:"+0.1",onClick:function(){function s(){return f(i+.1)}return s}()})]})]})}},36216:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(2971);/** + */var a=e.meta={title:"ProgressBar",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(c,h){var d=(0,r.useLocalState)(h,"progress",.5),i=d[0],v=d[1];return(0,n.createComponentVNode)(2,o.Section,{children:[(0,n.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[.5,1/0],bad:[-1/0,.1],average:[0,.5]},minValue:-1,maxValue:1,value:i,children:["Value: ",Number(i).toFixed(1)]}),(0,n.createComponentVNode)(2,o.Box,{mt:1,children:[(0,n.createComponentVNode)(2,o.Button,{content:"-0.1",onClick:function(){function s(){return v(i-.1)}return s}()}),(0,n.createComponentVNode)(2,o.Button,{content:"+0.1",onClick:function(){function s(){return v(i+.1)}return s}()})]})]})}},30268:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=e.meta={title:"Stack",render:function(){function c(){return(0,n.createComponentVNode)(2,l)}return c}()},a=function(){return(0,n.createComponentVNode)(2,r.Box,{inline:!0,width:1,height:1,children:"A"})},u=function(){return(0,n.createFragment)([(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,a)}),(0,n.createComponentVNode)(2,r.Stack.Divider),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,a)})],4)},l=function(h,v){return(0,n.createComponentVNode)(2,r.Section,{fill:!0,children:(0,n.createComponentVNode)(2,r.Stack,{fill:!0,className:"debug-layout",children:[(0,n.createComponentVNode)(2,u),(0,n.createComponentVNode)(2,r.Stack.Item,{grow:1,children:(0,n.createComponentVNode)(2,r.Stack,{fill:!0,vertical:!0,zebra:!0,children:[(0,n.createComponentVNode)(2,u),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Stack,{fill:!0,children:[(0,n.createComponentVNode)(2,u),(0,n.createComponentVNode)(2,r.Stack.Item,{grow:1}),(0,n.createComponentVNode)(2,u),(0,n.createComponentVNode)(2,u)]})}),(0,n.createComponentVNode)(2,r.Stack.Item,{grow:1}),(0,n.createComponentVNode)(2,u)]})})]})})}},22338:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(96417),o=t(2971),a=t(48300);/** + */var o=e.meta={title:"Stack",render:function(){function c(){return(0,n.createComponentVNode)(2,l)}return c}()},a=function(){return(0,n.createComponentVNode)(2,r.Box,{inline:!0,width:1,height:1,children:"A"})},u=function(){return(0,n.createFragment)([(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,a)}),(0,n.createComponentVNode)(2,r.Stack.Divider),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,a)})],4)},l=function(h,d){return(0,n.createComponentVNode)(2,r.Section,{fill:!0,children:(0,n.createComponentVNode)(2,r.Stack,{fill:!0,className:"debug-layout",children:[(0,n.createComponentVNode)(2,u),(0,n.createComponentVNode)(2,r.Stack.Item,{grow:1,children:(0,n.createComponentVNode)(2,r.Stack,{fill:!0,vertical:!0,zebra:!0,children:[(0,n.createComponentVNode)(2,u),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Stack,{fill:!0,children:[(0,n.createComponentVNode)(2,u),(0,n.createComponentVNode)(2,r.Stack.Item,{grow:1}),(0,n.createComponentVNode)(2,u),(0,n.createComponentVNode)(2,u)]})}),(0,n.createComponentVNode)(2,r.Stack.Item,{grow:1}),(0,n.createComponentVNode)(2,u)]})})]})})}},22645:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(66450),o=t(24674),a=t(92986);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var u=e.meta={title:"Storage",render:function(){function c(){return(0,n.createComponentVNode)(2,l)}return c}()},l=function(h,v){return window.localStorage?(0,n.createComponentVNode)(2,o.Section,{title:"Local Storage",buttons:(0,n.createComponentVNode)(2,o.Button,{icon:"recycle",onClick:function(){function i(){localStorage.clear(),r.storage.clear()}return i}(),children:"Clear"}),children:(0,n.createComponentVNode)(2,o.LabeledList,{children:[(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Keys in use",children:localStorage.length}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining space",children:(0,a.formatSiUnit)(localStorage.remainingSpace,0,"B")})]})}):(0,n.createComponentVNode)(2,o.NoticeBox,{children:"Local storage is not available."})}},88446:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(91819),o=t(2971);/** + */var u=e.meta={title:"Storage",render:function(){function c(){return(0,n.createComponentVNode)(2,l)}return c}()},l=function(h,d){return window.localStorage?(0,n.createComponentVNode)(2,o.Section,{title:"Local Storage",buttons:(0,n.createComponentVNode)(2,o.Button,{icon:"recycle",onClick:function(){function i(){localStorage.clear(),r.storage.clear()}return i}(),children:"Clear"}),children:(0,n.createComponentVNode)(2,o.LabeledList,{children:[(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Keys in use",children:localStorage.length}),(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining space",children:(0,a.formatSiUnit)(localStorage.remainingSpace,0,"B")})]})}):(0,n.createComponentVNode)(2,o.NoticeBox,{children:"Local storage is not available."})}},42120:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(17899),o=t(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var a=e.meta={title:"Tabs",render:function(){function c(){return(0,n.createComponentVNode)(2,l)}return c}()},u=["Tab #1","Tab #2","Tab #3","Tab #4"],l=function(h,v){var i=(0,r.useLocalState)(v,"tabIndex",0),f=i[0],s=i[1],p=(0,r.useLocalState)(v,"tabProps",{}),d=p[0],g=p[1];return(0,n.createFragment)([(0,n.createComponentVNode)(2,o.Section,{children:[(0,n.createComponentVNode)(2,o.Button.Checkbox,{inline:!0,content:"vertical",checked:d.vertical,onClick:function(){function m(){return g(Object.assign({},d,{vertical:!d.vertical}))}return m}()}),(0,n.createComponentVNode)(2,o.Button.Checkbox,{inline:!0,content:"leftSlot",checked:d.leftSlot,onClick:function(){function m(){return g(Object.assign({},d,{leftSlot:!d.leftSlot}))}return m}()}),(0,n.createComponentVNode)(2,o.Button.Checkbox,{inline:!0,content:"rightSlot",checked:d.rightSlot,onClick:function(){function m(){return g(Object.assign({},d,{rightSlot:!d.rightSlot}))}return m}()}),(0,n.createComponentVNode)(2,o.Button.Checkbox,{inline:!0,content:"icon",checked:d.icon,onClick:function(){function m(){return g(Object.assign({},d,{icon:!d.icon}))}return m}()}),(0,n.createComponentVNode)(2,o.Button.Checkbox,{inline:!0,content:"fluid",checked:d.fluid,onClick:function(){function m(){return g(Object.assign({},d,{fluid:!d.fluid}))}return m}()}),(0,n.createComponentVNode)(2,o.Button.Checkbox,{inline:!0,content:"left aligned",checked:d.leftAligned,onClick:function(){function m(){return g(Object.assign({},d,{leftAligned:!d.leftAligned}))}return m}()})]}),(0,n.createComponentVNode)(2,o.Section,{fitted:!0,children:(0,n.createComponentVNode)(2,o.Tabs,{vertical:d.vertical,fluid:d.fluid,textAlign:d.leftAligned&&"left",children:u.map(function(m,S){return(0,n.createComponentVNode)(2,o.Tabs.Tab,{selected:S===f,icon:d.icon&&"info-circle",leftSlot:d.leftSlot&&(0,n.createComponentVNode)(2,o.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),rightSlot:d.rightSlot&&(0,n.createComponentVNode)(2,o.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),onClick:function(){function I(){return s(S)}return I}(),children:m},S)})})})],4)}},2938:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(91819),o=t(2971);/** + */var a=e.meta={title:"Tabs",render:function(){function c(){return(0,n.createComponentVNode)(2,l)}return c}()},u=["Tab #1","Tab #2","Tab #3","Tab #4"],l=function(h,d){var i=(0,r.useLocalState)(d,"tabIndex",0),v=i[0],s=i[1],p=(0,r.useLocalState)(d,"tabProps",{}),f=p[0],g=p[1];return(0,n.createFragment)([(0,n.createComponentVNode)(2,o.Section,{children:[(0,n.createComponentVNode)(2,o.Button.Checkbox,{inline:!0,content:"vertical",checked:f.vertical,onClick:function(){function m(){return g(Object.assign({},f,{vertical:!f.vertical}))}return m}()}),(0,n.createComponentVNode)(2,o.Button.Checkbox,{inline:!0,content:"leftSlot",checked:f.leftSlot,onClick:function(){function m(){return g(Object.assign({},f,{leftSlot:!f.leftSlot}))}return m}()}),(0,n.createComponentVNode)(2,o.Button.Checkbox,{inline:!0,content:"rightSlot",checked:f.rightSlot,onClick:function(){function m(){return g(Object.assign({},f,{rightSlot:!f.rightSlot}))}return m}()}),(0,n.createComponentVNode)(2,o.Button.Checkbox,{inline:!0,content:"icon",checked:f.icon,onClick:function(){function m(){return g(Object.assign({},f,{icon:!f.icon}))}return m}()}),(0,n.createComponentVNode)(2,o.Button.Checkbox,{inline:!0,content:"fluid",checked:f.fluid,onClick:function(){function m(){return g(Object.assign({},f,{fluid:!f.fluid}))}return m}()}),(0,n.createComponentVNode)(2,o.Button.Checkbox,{inline:!0,content:"left aligned",checked:f.leftAligned,onClick:function(){function m(){return g(Object.assign({},f,{leftAligned:!f.leftAligned}))}return m}()})]}),(0,n.createComponentVNode)(2,o.Section,{fitted:!0,children:(0,n.createComponentVNode)(2,o.Tabs,{vertical:f.vertical,fluid:f.fluid,textAlign:f.leftAligned&&"left",children:u.map(function(m,b){return(0,n.createComponentVNode)(2,o.Tabs.Tab,{selected:b===v,icon:f.icon&&"info-circle",leftSlot:f.leftSlot&&(0,n.createComponentVNode)(2,o.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),rightSlot:f.rightSlot&&(0,n.createComponentVNode)(2,o.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),onClick:function(){function I(){return s(b)}return I}(),children:m},b)})})})],4)}},80254:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(17899),o=t(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var a=e.meta={title:"Themes",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(c,h){var v=(0,r.useLocalState)(h,"kitchenSinkTheme"),i=v[0],f=v[1];return(0,n.createComponentVNode)(2,o.Section,{children:(0,n.createComponentVNode)(2,o.LabeledList,{children:(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Use theme",children:(0,n.createComponentVNode)(2,o.Input,{placeholder:"theme_name",value:i,onInput:function(){function s(p,d){return f(d)}return s}()})})})})}},54212:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(28823),r=t(60028),o=t(2971);/** + */var a=e.meta={title:"Themes",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(c,h){var d=(0,r.useLocalState)(h,"kitchenSinkTheme"),i=d[0],v=d[1];return(0,n.createComponentVNode)(2,o.Section,{children:(0,n.createComponentVNode)(2,o.LabeledList,{children:(0,n.createComponentVNode)(2,o.LabeledList.Item,{label:"Use theme",children:(0,n.createComponentVNode)(2,o.Input,{placeholder:"theme_name",value:i,onInput:function(){function s(p,f){return v(f)}return s}()})})})})}},90823:function(E,e,t){"use strict";e.__esModule=!0,e.meta=void 0;var n=t(96524),r=t(60023),o=t(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var a=e.meta={title:"Tooltip",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(){var c=["top","left","right","bottom","bottom-start","bottom-end"];return(0,n.createComponentVNode)(2,o.Section,{children:[(0,n.createComponentVNode)(2,o.Box,{children:[(0,n.createComponentVNode)(2,o.Tooltip,{content:"Tooltip text.",children:(0,n.createComponentVNode)(2,o.Box,{inline:!0,position:"relative",mr:1,children:"Box (hover me)."})}),(0,n.createComponentVNode)(2,o.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,n.createComponentVNode)(2,o.Box,{mt:1,children:c.map(function(h){return(0,n.createComponentVNode)(2,o.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:h,content:h},h)})})]})}},51753:function(E,e,t){"use strict";e.__esModule=!0,e.BoxWithSampleText=void 0;var n=t(28823),r=t(2971);/** + */var a=e.meta={title:"Tooltip",render:function(){function l(){return(0,n.createComponentVNode)(2,u)}return l}()},u=function(){var c=["top","left","right","bottom","bottom-start","bottom-end"];return(0,n.createComponentVNode)(2,o.Section,{children:[(0,n.createComponentVNode)(2,o.Box,{children:[(0,n.createComponentVNode)(2,o.Tooltip,{content:"Tooltip text.",children:(0,n.createComponentVNode)(2,o.Box,{inline:!0,position:"relative",mr:1,children:"Box (hover me)."})}),(0,n.createComponentVNode)(2,o.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,n.createComponentVNode)(2,o.Box,{mt:1,children:c.map(function(h){return(0,n.createComponentVNode)(2,o.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:h,content:h},h)})})]})}},17306:function(E,e,t){"use strict";e.__esModule=!0,e.BoxWithSampleText=void 0;var n=t(96524),r=t(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=e.BoxWithSampleText=function(){function a(u){return(0,n.normalizeProps)((0,n.createComponentVNode)(2,r.Box,Object.assign({},u,{children:[(0,n.createComponentVNode)(2,r.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,n.createComponentVNode)(2,r.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return a}()},8528:function(){},26355:function(){},34385:function(){},87210:function(){},91035:function(){},69321:function(E,e,t){var n={"./Blink.stories.js":90969,"./BlockQuote.stories.js":22030,"./Box.stories.js":35286,"./Button.stories.js":38465,"./ByondUi.stories.js":16748,"./Collapsible.stories.js":76475,"./Flex.stories.js":28994,"./Input.stories.js":25462,"./Popper.stories.js":97028,"./ProgressBar.stories.js":85266,"./Stack.stories.js":36216,"./Storage.stories.js":22338,"./Tabs.stories.js":88446,"./Themes.stories.js":2938,"./Tooltip.stories.js":54212};function r(a){var u=o(a);return t(u)}function o(a){if(!t.o(n,a)){var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}return n[a]}r.keys=function(){return Object.keys(n)},r.resolve=o,E.exports=r,r.id=69321},79474:function(E,e,t){"use strict";var n=t(53664),r=t(36787),o=TypeError;E.exports=function(a){if(n(a))return a;throw new o(r(a)+" is not a function")}},48218:function(E,e,t){"use strict";var n=t(49632),r=t(36787),o=TypeError;E.exports=function(a){if(n(a))return a;throw new o(r(a)+" is not a constructor")}},30907:function(E,e,t){"use strict";var n=t(62600),r=String,o=TypeError;E.exports=function(a){if(n(a))return a;throw new o("Can't set "+r(a)+" as a prototype")}},98759:function(E,e,t){"use strict";var n=t(95558),r=t(15439),o=t(8165).f,a=n("unscopables"),u=Array.prototype;u[a]===void 0&&o(u,a,{configurable:!0,value:r(null)}),E.exports=function(l){u[a][l]=!0}},47158:function(E,e,t){"use strict";var n=t(13300).charAt;E.exports=function(r,o,a){return o+(a?n(r,o).length:1)}},14434:function(E,e,t){"use strict";var n=t(54341),r=TypeError;E.exports=function(o,a){if(n(a,o))return o;throw new r("Incorrect invocation")}},45418:function(E,e,t){"use strict";var n=t(66379),r=String,o=TypeError;E.exports=function(a){if(n(a))return a;throw new o(r(a)+" is not an object")}},11559:function(E){"use strict";E.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},8685:function(E,e,t){"use strict";var n=t(13586);E.exports=n(function(){if(typeof ArrayBuffer=="function"){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}})},30432:function(E,e,t){"use strict";var n=t(11559),r=t(16361),o=t(26856),a=t(53664),u=t(66379),l=t(3302),c=t(48615),h=t(36787),v=t(21650),i=t(60855),f=t(57301),s=t(54341),p=t(56379),d=t(91420),g=t(95558),m=t(76246),S=t(4471),I=S.enforce,O=S.get,C=o.Int8Array,y=C&&C.prototype,b=o.Uint8ClampedArray,T=b&&b.prototype,P=C&&p(C),N=y&&p(y),M=Object.prototype,R=o.TypeError,L=g("toStringTag"),K=m("TYPED_ARRAY_TAG"),U="TypedArrayConstructor",F=n&&!!d&&c(o.opera)!=="Opera",$=!1,B,x,V,G={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Y={BigInt64Array:8,BigUint64Array:8},k=function(){function ct(at){if(!u(at))return!1;var St=c(at);return St==="DataView"||l(G,St)||l(Y,St)}return ct}(),nt=function ct(at){var St=p(at);if(u(St)){var Pt=O(St);return Pt&&l(Pt,U)?Pt[U]:ct(St)}},ut=function(at){if(!u(at))return!1;var St=c(at);return l(G,St)||l(Y,St)},ft=function(at){if(ut(at))return at;throw new R("Target is not a typed array")},W=function(at){if(a(at)&&(!d||s(P,at)))return at;throw new R(h(at)+" is not a typed array constructor")},X=function(at,St,Pt,Rt){if(r){if(Pt)for(var Nt in G){var ht=o[Nt];if(ht&&l(ht.prototype,at))try{delete ht.prototype[at]}catch(dt){try{ht.prototype[at]=St}catch(J){}}}(!N[at]||Pt)&&i(N,at,Pt?St:F&&y[at]||St,Rt)}},et=function(at,St,Pt){var Rt,Nt;if(r){if(d){if(Pt){for(Rt in G)if(Nt=o[Rt],Nt&&l(Nt,at))try{delete Nt[at]}catch(ht){}}if(!P[at]||Pt)try{return i(P,at,Pt?St:F&&P[at]||St)}catch(ht){}else return}for(Rt in G)Nt=o[Rt],Nt&&(!Nt[at]||Pt)&&i(Nt,at,St)}};for(B in G)x=o[B],V=x&&x.prototype,V?I(V)[U]=x:F=!1;for(B in Y)x=o[B],V=x&&x.prototype,V&&(I(V)[U]=x);if((!F||!a(P)||P===Function.prototype)&&(P=function(){function ct(){throw new R("Incorrect invocation")}return ct}(),F))for(B in G)o[B]&&d(o[B],P);if((!F||!N||N===M)&&(N=P.prototype,F))for(B in G)o[B]&&d(o[B].prototype,N);if(F&&p(T)!==N&&d(T,N),r&&!l(N,L)){$=!0,f(N,L,{configurable:!0,get:function(){function ct(){return u(this)?this[K]:void 0}return ct}()});for(B in G)o[B]&&v(o[B],K,B)}E.exports={NATIVE_ARRAY_BUFFER_VIEWS:F,TYPED_ARRAY_TAG:$&&K,aTypedArray:ft,aTypedArrayConstructor:W,exportTypedArrayMethod:X,exportTypedArrayStaticMethod:et,getTypedArrayConstructor:nt,isView:k,isTypedArray:ut,TypedArray:P,TypedArrayPrototype:N}},31284:function(E,e,t){"use strict";var n=t(26856),r=t(72908),o=t(16361),a=t(11559),u=t(15340),l=t(21650),c=t(57301),h=t(26148),v=t(13586),i=t(14434),f=t(84501),s=t(74369),p=t(28968),d=t(48705),g=t(48350),m=t(56379),S=t(91420),I=t(39948),O=t(31170),C=t(43405),y=t(83826),b=t(15676),T=t(4471),P=u.PROPER,N=u.CONFIGURABLE,M="ArrayBuffer",R="DataView",L="prototype",K="Wrong length",U="Wrong index",F=T.getterFor(M),$=T.getterFor(R),B=T.set,x=n[M],V=x,G=V&&V[L],Y=n[R],k=Y&&Y[L],nt=Object.prototype,ut=n.Array,ft=n.RangeError,W=r(I),X=r([].reverse),et=g.pack,ct=g.unpack,at=function(pt){return[pt&255]},St=function(pt){return[pt&255,pt>>8&255]},Pt=function(pt){return[pt&255,pt>>8&255,pt>>16&255,pt>>24&255]},Rt=function(pt){return pt[3]<<24|pt[2]<<16|pt[1]<<8|pt[0]},Nt=function(pt){return et(d(pt),23,4)},ht=function(pt){return et(pt,52,8)},dt=function(pt,rt,_){c(pt[L],rt,{configurable:!0,get:function(){function yt(){return _(this)[rt]}return yt}()})},J=function(pt,rt,_,yt){var Ct=$(pt),Mt=p(_),xt=!!yt;if(Mt+rt>Ct.byteLength)throw new ft(U);var Vt=Ct.bytes,Tt=Mt+Ct.byteOffset,lt=O(Vt,Tt,Tt+rt);return xt?lt:X(lt)},Z=function(pt,rt,_,yt,Ct,Mt){var xt=$(pt),Vt=p(_),Tt=yt(+Ct),lt=!!Mt;if(Vt+rt>xt.byteLength)throw new ft(U);for(var mt=xt.bytes,Ot=Vt+xt.byteOffset,bt=0;bt<rt;bt++)mt[Ot+bt]=Tt[lt?bt:rt-bt-1]};if(!a)V=function(){function it(pt){i(this,G);var rt=p(pt);B(this,{type:M,bytes:W(ut(rt),0),byteLength:rt}),o||(this.byteLength=rt,this.detached=!1)}return it}(),G=V[L],Y=function(){function it(pt,rt,_){i(this,k),i(pt,G);var yt=F(pt),Ct=yt.byteLength,Mt=f(rt);if(Mt<0||Mt>Ct)throw new ft("Wrong offset");if(_=_===void 0?Ct-Mt:s(_),Mt+_>Ct)throw new ft(K);B(this,{type:R,buffer:pt,byteLength:_,byteOffset:Mt,bytes:yt.bytes}),o||(this.buffer=pt,this.byteLength=_,this.byteOffset=Mt)}return it}(),k=Y[L],o&&(dt(V,"byteLength",F),dt(Y,"buffer",$),dt(Y,"byteLength",$),dt(Y,"byteOffset",$)),h(k,{getInt8:function(){function it(pt){return J(this,1,pt)[0]<<24>>24}return it}(),getUint8:function(){function it(pt){return J(this,1,pt)[0]}return it}(),getInt16:function(){function it(pt){var rt=J(this,2,pt,arguments.length>1?arguments[1]:!1);return(rt[1]<<8|rt[0])<<16>>16}return it}(),getUint16:function(){function it(pt){var rt=J(this,2,pt,arguments.length>1?arguments[1]:!1);return rt[1]<<8|rt[0]}return it}(),getInt32:function(){function it(pt){return Rt(J(this,4,pt,arguments.length>1?arguments[1]:!1))}return it}(),getUint32:function(){function it(pt){return Rt(J(this,4,pt,arguments.length>1?arguments[1]:!1))>>>0}return it}(),getFloat32:function(){function it(pt){return ct(J(this,4,pt,arguments.length>1?arguments[1]:!1),23)}return it}(),getFloat64:function(){function it(pt){return ct(J(this,8,pt,arguments.length>1?arguments[1]:!1),52)}return it}(),setInt8:function(){function it(pt,rt){Z(this,1,pt,at,rt)}return it}(),setUint8:function(){function it(pt,rt){Z(this,1,pt,at,rt)}return it}(),setInt16:function(){function it(pt,rt){Z(this,2,pt,St,rt,arguments.length>2?arguments[2]:!1)}return it}(),setUint16:function(){function it(pt,rt){Z(this,2,pt,St,rt,arguments.length>2?arguments[2]:!1)}return it}(),setInt32:function(){function it(pt,rt){Z(this,4,pt,Pt,rt,arguments.length>2?arguments[2]:!1)}return it}(),setUint32:function(){function it(pt,rt){Z(this,4,pt,Pt,rt,arguments.length>2?arguments[2]:!1)}return it}(),setFloat32:function(){function it(pt,rt){Z(this,4,pt,Nt,rt,arguments.length>2?arguments[2]:!1)}return it}(),setFloat64:function(){function it(pt,rt){Z(this,8,pt,ht,rt,arguments.length>2?arguments[2]:!1)}return it}()});else{var ot=P&&x.name!==M;!v(function(){x(1)})||!v(function(){new x(-1)})||v(function(){return new x,new x(1.5),new x(NaN),x.length!==1||ot&&!N})?(V=function(){function it(pt){return i(this,G),C(new x(p(pt)),this,V)}return it}(),V[L]=G,G.constructor=V,y(V,x)):ot&&N&&l(x,"name",M),S&&m(k)!==nt&&S(k,nt);var gt=new Y(new V(2)),Et=r(k.setInt8);gt.setInt8(0,2147483648),gt.setInt8(1,2147483649),(gt.getInt8(0)||!gt.getInt8(1))&&h(k,{setInt8:function(){function it(pt,rt){Et(this,pt,rt<<24>>24)}return it}(),setUint8:function(){function it(pt,rt){Et(this,pt,rt<<24>>24)}return it}()},{unsafe:!0})}b(V,M),b(Y,R),E.exports={ArrayBuffer:V,DataView:Y}},28332:function(E,e,t){"use strict";var n=t(63549),r=t(39531),o=t(83207),a=t(81245),u=Math.min;E.exports=[].copyWithin||function(){function l(c,h){var v=n(this),i=o(v),f=r(c,i),s=r(h,i),p=arguments.length>2?arguments[2]:void 0,d=u((p===void 0?i:r(p,i))-s,i-f),g=1;for(s<f&&f<s+d&&(g=-1,s+=d-1,f+=d-1);d-- >0;)s in v?v[f]=v[s]:a(v,f),f+=g,s+=g;return v}return l}()},39948:function(E,e,t){"use strict";var n=t(63549),r=t(39531),o=t(83207);E.exports=function(){function a(u){for(var l=n(this),c=o(l),h=arguments.length,v=r(h>1?arguments[1]:void 0,c),i=h>2?arguments[2]:void 0,f=i===void 0?c:r(i,c);f>v;)l[v++]=u;return l}return a}()},16856:function(E,e,t){"use strict";var n=t(18539).forEach,r=t(56127),o=r("forEach");E.exports=o?[].forEach:function(){function a(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}return a}()},21465:function(E,e,t){"use strict";var n=t(83207);E.exports=function(r,o,a){for(var u=0,l=arguments.length>2?a:n(o),c=new r(l);l>u;)c[u]=o[u++];return c}},45056:function(E,e,t){"use strict";var n=t(8942),r=t(20276),o=t(63549),a=t(80002),u=t(48594),l=t(49632),c=t(83207),h=t(80750),v=t(45731),i=t(52984),f=Array;E.exports=function(){function s(p){var d=o(p),g=l(this),m=arguments.length,S=m>1?arguments[1]:void 0,I=S!==void 0;I&&(S=n(S,m>2?arguments[2]:void 0));var O=i(d),C=0,y,b,T,P,N,M;if(O&&!(this===f&&u(O)))for(P=v(d,O),N=P.next,b=g?new this:[];!(T=r(N,P)).done;C++)M=I?a(P,S,[T.value,C],!0):T.value,h(b,C,M);else for(y=c(d),b=g?new this(y):f(y);y>C;C++)M=I?S(d[C],C):d[C],h(b,C,M);return b.length=C,b}return s}()},33483:function(E,e,t){"use strict";var n=t(54292),r=t(39531),o=t(83207),a=function(l){return function(c,h,v){var i=n(c),f=o(i),s=r(v,f),p;if(l&&h!==h){for(;f>s;)if(p=i[s++],p!==p)return!0}else for(;f>s;s++)if((l||s in i)&&i[s]===h)return l||s||0;return!l&&-1}};E.exports={includes:a(!0),indexOf:a(!1)}},18539:function(E,e,t){"use strict";var n=t(8942),r=t(72908),o=t(80689),a=t(63549),u=t(83207),l=t(51582),c=r([].push),h=function(i){var f=i===1,s=i===2,p=i===3,d=i===4,g=i===6,m=i===7,S=i===5||g;return function(I,O,C,y){for(var b=a(I),T=o(b),P=u(T),N=n(O,C),M=0,R=y||l,L=f?R(I,P):s||m?R(I,0):void 0,K,U;P>M;M++)if((S||M in T)&&(K=T[M],U=N(K,M,b),i))if(f)L[M]=U;else if(U)switch(i){case 3:return!0;case 5:return K;case 6:return M;case 2:c(L,K)}else switch(i){case 4:return!1;case 7:c(L,K)}return g?-1:p||d?d:L}};E.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterReject:h(7)}},16400:function(E,e,t){"use strict";var n=t(47244),r=t(54292),o=t(84501),a=t(83207),u=t(56127),l=Math.min,c=[].lastIndexOf,h=!!c&&1/[1].lastIndexOf(1,-0)<0,v=u("lastIndexOf"),i=h||!v;E.exports=i?function(){function f(s){if(h)return n(c,this,arguments)||0;var p=r(this),d=a(p),g=d-1;for(arguments.length>1&&(g=l(g,o(arguments[1]))),g<0&&(g=d+g);g>=0;g--)if(g in p&&p[g]===s)return g||0;return-1}return f}():c},34924:function(E,e,t){"use strict";var n=t(13586),r=t(95558),o=t(43541),a=r("species");E.exports=function(u){return o>=51||!n(function(){var l=[],c=l.constructor={};return c[a]=function(){return{foo:1}},l[u](Boolean).foo!==1})}},56127:function(E,e,t){"use strict";var n=t(13586);E.exports=function(r,o){var a=[][r];return!!a&&n(function(){a.call(null,o||function(){return 1},1)})}},58394:function(E,e,t){"use strict";var n=t(79474),r=t(63549),o=t(80689),a=t(83207),u=TypeError,l=function(h){return function(v,i,f,s){var p=r(v),d=o(p),g=a(p);n(i);var m=h?g-1:0,S=h?-1:1;if(f<2)for(;;){if(m in d){s=d[m],m+=S;break}if(m+=S,h?m<0:g<=m)throw new u("Reduce of empty array with no initial value")}for(;h?m>=0:g>m;m+=S)m in d&&(s=i(s,d[m],m,p));return s}};E.exports={left:l(!1),right:l(!0)}},10779:function(E,e,t){"use strict";var n=t(16361),r=t(59882),o=TypeError,a=Object.getOwnPropertyDescriptor,u=n&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(l){return l instanceof TypeError}}();E.exports=u?function(l,c){if(r(l)&&!a(l,"length").writable)throw new o("Cannot set read only .length");return l.length=c}:function(l,c){return l.length=c}},31170:function(E,e,t){"use strict";var n=t(72908);E.exports=n([].slice)},91183:function(E,e,t){"use strict";var n=t(31170),r=Math.floor,o=function a(u,l){var c=u.length;if(c<8)for(var h=1,v,i;h<c;){for(i=h,v=u[h];i&&l(u[i-1],v)>0;)u[i]=u[--i];i!==h++&&(u[i]=v)}else for(var f=r(c/2),s=a(n(u,0,f),l),p=a(n(u,f),l),d=s.length,g=p.length,m=0,S=0;m<d||S<g;)u[m+S]=m<d&&S<g?l(s[m],p[S])<=0?s[m++]:p[S++]:m<d?s[m++]:p[S++];return u};E.exports=o},6516:function(E,e,t){"use strict";var n=t(59882),r=t(49632),o=t(66379),a=t(95558),u=a("species"),l=Array;E.exports=function(c){var h;return n(c)&&(h=c.constructor,r(h)&&(h===l||n(h.prototype))?h=void 0:o(h)&&(h=h[u],h===null&&(h=void 0))),h===void 0?l:h}},51582:function(E,e,t){"use strict";var n=t(6516);E.exports=function(r,o){return new(n(r))(o===0?0:o)}},80002:function(E,e,t){"use strict";var n=t(45418),r=t(65169);E.exports=function(o,a,u,l){try{return l?a(n(u)[0],u[1]):a(u)}catch(c){r(o,"throw",c)}}},1608:function(E,e,t){"use strict";var n=t(95558),r=n("iterator"),o=!1;try{var a=0,u={next:function(){function l(){return{done:!!a++}}return l}(),return:function(){function l(){o=!0}return l}()};u[r]=function(){return this},Array.from(u,function(){throw 2})}catch(l){}E.exports=function(l,c){try{if(!c&&!o)return!1}catch(i){return!1}var h=!1;try{var v={};v[r]=function(){return{next:function(){function i(){return{done:h=!0}}return i}()}},l(v)}catch(i){}return h}},8649:function(E,e,t){"use strict";var n=t(72908),r=n({}.toString),o=n("".slice);E.exports=function(a){return o(r(a),8,-1)}},48615:function(E,e,t){"use strict";var n=t(41936),r=t(53664),o=t(8649),a=t(95558),u=a("toStringTag"),l=Object,c=o(function(){return arguments}())==="Arguments",h=function(i,f){try{return i[f]}catch(s){}};E.exports=n?o:function(v){var i,f,s;return v===void 0?"Undefined":v===null?"Null":typeof(f=h(i=l(v),u))=="string"?f:c?o(i):(s=o(i))==="Object"&&r(i.callee)?"Arguments":s}},42384:function(E,e,t){"use strict";var n=t(15439),r=t(57301),o=t(26148),a=t(8942),u=t(14434),l=t(62695),c=t(20453),h=t(21436),v=t(32214),i=t(92468),f=t(16361),s=t(66526).fastKey,p=t(4471),d=p.set,g=p.getterFor;E.exports={getConstructor:function(){function m(S,I,O,C){var y=S(function(M,R){u(M,b),d(M,{type:I,index:n(null),first:void 0,last:void 0,size:0}),f||(M.size=0),l(R)||c(R,M[C],{that:M,AS_ENTRIES:O})}),b=y.prototype,T=g(I),P=function(){function M(R,L,K){var U=T(R),F=N(R,L),$,B;return F?F.value=K:(U.last=F={index:B=s(L,!0),key:L,value:K,previous:$=U.last,next:void 0,removed:!1},U.first||(U.first=F),$&&($.next=F),f?U.size++:R.size++,B!=="F"&&(U.index[B]=F)),R}return M}(),N=function(){function M(R,L){var K=T(R),U=s(L),F;if(U!=="F")return K.index[U];for(F=K.first;F;F=F.next)if(F.key===L)return F}return M}();return o(b,{clear:function(){function M(){for(var R=this,L=T(R),K=L.first;K;)K.removed=!0,K.previous&&(K.previous=K.previous.next=void 0),K=K.next;L.first=L.last=void 0,L.index=n(null),f?L.size=0:R.size=0}return M}(),delete:function(){function M(R){var L=this,K=T(L),U=N(L,R);if(U){var F=U.next,$=U.previous;delete K.index[U.index],U.removed=!0,$&&($.next=F),F&&(F.previous=$),K.first===U&&(K.first=F),K.last===U&&(K.last=$),f?K.size--:L.size--}return!!U}return M}(),forEach:function(){function M(R){for(var L=T(this),K=a(R,arguments.length>1?arguments[1]:void 0),U;U=U?U.next:L.first;)for(K(U.value,U.key,this);U&&U.removed;)U=U.previous}return M}(),has:function(){function M(R){return!!N(this,R)}return M}()}),o(b,O?{get:function(){function M(R){var L=N(this,R);return L&&L.value}return M}(),set:function(){function M(R,L){return P(this,R===0?0:R,L)}return M}()}:{add:function(){function M(R){return P(this,R=R===0?0:R,R)}return M}()}),f&&r(b,"size",{configurable:!0,get:function(){function M(){return T(this).size}return M}()}),y}return m}(),setStrong:function(){function m(S,I,O){var C=I+" Iterator",y=g(I),b=g(C);h(S,I,function(T,P){d(this,{type:C,target:T,state:y(T),kind:P,last:void 0})},function(){for(var T=b(this),P=T.kind,N=T.last;N&&N.removed;)N=N.previous;return!T.target||!(T.last=N=N?N.next:T.state.first)?(T.target=void 0,v(void 0,!0)):v(P==="keys"?N.key:P==="values"?N.value:[N.key,N.value],!1)},O?"entries":"values",!O,!0),i(I)}return m}()}},19250:function(E,e,t){"use strict";var n=t(72908),r=t(26148),o=t(66526).getWeakData,a=t(14434),u=t(45418),l=t(62695),c=t(66379),h=t(20453),v=t(18539),i=t(3302),f=t(4471),s=f.set,p=f.getterFor,d=v.find,g=v.findIndex,m=n([].splice),S=0,I=function(b){return b.frozen||(b.frozen=new O)},O=function(){this.entries=[]},C=function(b,T){return d(b.entries,function(P){return P[0]===T})};O.prototype={get:function(){function y(b){var T=C(this,b);if(T)return T[1]}return y}(),has:function(){function y(b){return!!C(this,b)}return y}(),set:function(){function y(b,T){var P=C(this,b);P?P[1]=T:this.entries.push([b,T])}return y}(),delete:function(){function y(b){var T=g(this.entries,function(P){return P[0]===b});return~T&&m(this.entries,T,1),!!~T}return y}()},E.exports={getConstructor:function(){function y(b,T,P,N){var M=b(function(U,F){a(U,R),s(U,{type:T,id:S++,frozen:void 0}),l(F)||h(F,U[N],{that:U,AS_ENTRIES:P})}),R=M.prototype,L=p(T),K=function(){function U(F,$,B){var x=L(F),V=o(u($),!0);return V===!0?I(x).set($,B):V[x.id]=B,F}return U}();return r(R,{delete:function(){function U(F){var $=L(this);if(!c(F))return!1;var B=o(F);return B===!0?I($).delete(F):B&&i(B,$.id)&&delete B[$.id]}return U}(),has:function(){function U(F){var $=L(this);if(!c(F))return!1;var B=o(F);return B===!0?I($).has(F):B&&i(B,$.id)}return U}()}),r(R,P?{get:function(){function U(F){var $=L(this);if(c(F)){var B=o(F);return B===!0?I($).get(F):B?B[$.id]:void 0}}return U}(),set:function(){function U(F,$){return K(this,F,$)}return U}()}:{add:function(){function U(F){return K(this,F,!0)}return U}()}),M}return y}()}},10609:function(E,e,t){"use strict";var n=t(3116),r=t(26856),o=t(72908),a=t(23620),u=t(60855),l=t(66526),c=t(20453),h=t(14434),v=t(53664),i=t(62695),f=t(66379),s=t(13586),p=t(1608),d=t(15676),g=t(43405);E.exports=function(m,S,I){var O=m.indexOf("Map")!==-1,C=m.indexOf("Weak")!==-1,y=O?"set":"add",b=r[m],T=b&&b.prototype,P=b,N={},M=function(x){var V=o(T[x]);u(T,x,x==="add"?function(){function G(Y){return V(this,Y===0?0:Y),this}return G}():x==="delete"?function(G){return C&&!f(G)?!1:V(this,G===0?0:G)}:x==="get"?function(){function G(Y){return C&&!f(Y)?void 0:V(this,Y===0?0:Y)}return G}():x==="has"?function(){function G(Y){return C&&!f(Y)?!1:V(this,Y===0?0:Y)}return G}():function(){function G(Y,k){return V(this,Y===0?0:Y,k),this}return G}())},R=a(m,!v(b)||!(C||T.forEach&&!s(function(){new b().entries().next()})));if(R)P=I.getConstructor(S,m,O,y),l.enable();else if(a(m,!0)){var L=new P,K=L[y](C?{}:-0,1)!==L,U=s(function(){L.has(1)}),F=p(function(B){new b(B)}),$=!C&&s(function(){for(var B=new b,x=5;x--;)B[y](x,x);return!B.has(-0)});F||(P=S(function(B,x){h(B,T);var V=g(new b,B,P);return i(x)||c(x,V[y],{that:V,AS_ENTRIES:O}),V}),P.prototype=T,T.constructor=P),(U||$)&&(M("delete"),M("has"),O&&M("get")),($||K)&&M(y),C&&T.clear&&delete T.clear}return N[m]=P,n({global:!0,constructor:!0,forced:P!==b},N),d(P,m),C||I.setStrong(P,m,O),P}},83826:function(E,e,t){"use strict";var n=t(3302),r=t(53988),o=t(19765),a=t(8165);E.exports=function(u,l,c){for(var h=r(l),v=a.f,i=o.f,f=0;f<h.length;f++){var s=h[f];!n(u,s)&&!(c&&n(c,s))&&v(u,s,i(l,s))}}},46339:function(E,e,t){"use strict";var n=t(95558),r=n("match");E.exports=function(o){var a=/./;try{"/./"[o](a)}catch(u){try{return a[r]=!1,"/./"[o](a)}catch(l){}}return!1}},62297:function(E,e,t){"use strict";var n=t(13586);E.exports=!n(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})},38017:function(E,e,t){"use strict";var n=t(72908),r=t(305),o=t(8758),a=/"/g,u=n("".replace);E.exports=function(l,c,h,v){var i=o(r(l)),f="<"+c;return h!==""&&(f+=" "+h+'="'+u(o(v),a,""")+'"'),f+">"+i+"</"+c+">"}},32214:function(E){"use strict";E.exports=function(e,t){return{value:e,done:t}}},21650:function(E,e,t){"use strict";var n=t(16361),r=t(8165),o=t(73970);E.exports=n?function(a,u,l){return r.f(a,u,o(1,l))}:function(a,u,l){return a[u]=l,a}},73970:function(E){"use strict";E.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}},80750:function(E,e,t){"use strict";var n=t(72445),r=t(8165),o=t(73970);E.exports=function(a,u,l){var c=n(u);c in a?r.f(a,c,o(0,l)):a[c]=l}},20228:function(E,e,t){"use strict";var n=t(72908),r=t(13586),o=t(81290).start,a=RangeError,u=isFinite,l=Math.abs,c=Date.prototype,h=c.toISOString,v=n(c.getTime),i=n(c.getUTCDate),f=n(c.getUTCFullYear),s=n(c.getUTCHours),p=n(c.getUTCMilliseconds),d=n(c.getUTCMinutes),g=n(c.getUTCMonth),m=n(c.getUTCSeconds);E.exports=r(function(){return h.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!r(function(){h.call(new Date(NaN))})?function(){function S(){if(!u(v(this)))throw new a("Invalid time value");var I=this,O=f(I),C=p(I),y=O<0?"-":O>9999?"+":"";return y+o(l(O),y?6:4,0)+"-"+o(g(I)+1,2,0)+"-"+o(i(I),2,0)+"T"+o(s(I),2,0)+":"+o(d(I),2,0)+":"+o(m(I),2,0)+"."+o(C,3,0)+"Z"}return S}():h},81603:function(E,e,t){"use strict";var n=t(45418),r=t(56109),o=TypeError;E.exports=function(a){if(n(this),a==="string"||a==="default")a="string";else if(a!=="number")throw new o("Incorrect hint");return r(this,a)}},57301:function(E,e,t){"use strict";var n=t(40773),r=t(8165);E.exports=function(o,a,u){return u.get&&n(u.get,a,{getter:!0}),u.set&&n(u.set,a,{setter:!0}),r.f(o,a,u)}},60855:function(E,e,t){"use strict";var n=t(53664),r=t(8165),o=t(40773),a=t(17553);E.exports=function(u,l,c,h){h||(h={});var v=h.enumerable,i=h.name!==void 0?h.name:l;if(n(c)&&o(c,i,h),h.global)v?u[l]=c:a(l,c);else{try{h.unsafe?u[l]&&(v=!0):delete u[l]}catch(f){}v?u[l]=c:r.f(u,l,{value:c,enumerable:!1,configurable:!h.nonConfigurable,writable:!h.nonWritable})}return u}},26148:function(E,e,t){"use strict";var n=t(60855);E.exports=function(r,o,a){for(var u in o)n(r,u,o[u],a);return r}},17553:function(E,e,t){"use strict";var n=t(26856),r=Object.defineProperty;E.exports=function(o,a){try{r(n,o,{value:a,configurable:!0,writable:!0})}catch(u){n[o]=a}return a}},81245:function(E,e,t){"use strict";var n=t(36787),r=TypeError;E.exports=function(o,a){if(!delete o[a])throw new r("Cannot delete property "+n(a)+" of "+n(o))}},16361:function(E,e,t){"use strict";var n=t(13586);E.exports=!n(function(){return Object.defineProperty({},1,{get:function(){function r(){return 7}return r}()})[1]!==7})},55642:function(E,e,t){"use strict";var n=t(26856),r=t(66379),o=n.document,a=r(o)&&r(o.createElement);E.exports=function(u){return a?o.createElement(u):{}}},54579:function(E){"use strict";var e=TypeError,t=9007199254740991;E.exports=function(n){if(n>t)throw e("Maximum allowed index exceeded");return n}},31574:function(E,e,t){"use strict";var n=t(74247),r=n.match(/firefox\/(\d+)/i);E.exports=!!r&&+r[1]},52460:function(E,e,t){"use strict";var n=t(53437),r=t(86727);E.exports=!n&&!r&&typeof window=="object"&&typeof document=="object"},68261:function(E){"use strict";E.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},53437:function(E){"use strict";E.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},88836:function(E,e,t){"use strict";var n=t(74247);E.exports=/MSIE|Trident/.test(n)},79034:function(E,e,t){"use strict";var n=t(74247);E.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble!="undefined"},25184:function(E,e,t){"use strict";var n=t(74247);E.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},86727:function(E,e,t){"use strict";var n=t(26856),r=t(8649);E.exports=r(n.process)==="process"},71979:function(E,e,t){"use strict";var n=t(74247);E.exports=/web0s(?!.*chrome)/i.test(n)},74247:function(E){"use strict";E.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},43541:function(E,e,t){"use strict";var n=t(26856),r=t(74247),o=n.process,a=n.Deno,u=o&&o.versions||a&&a.version,l=u&&u.v8,c,h;l&&(c=l.split("."),h=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!h&&r&&(c=r.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=r.match(/Chrome\/(\d+)/),c&&(h=+c[1]))),E.exports=h},27204:function(E,e,t){"use strict";var n=t(74247),r=n.match(/AppleWebKit\/(\d+)\./);E.exports=!!r&&+r[1]},38139:function(E){"use strict";E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3116:function(E,e,t){"use strict";var n=t(26856),r=t(19765).f,o=t(21650),a=t(60855),u=t(17553),l=t(83826),c=t(23620);E.exports=function(h,v){var i=h.target,f=h.global,s=h.stat,p,d,g,m,S,I;if(f?d=n:s?d=n[i]||u(i,{}):d=(n[i]||{}).prototype,d)for(g in v){if(S=v[g],h.dontCallGetSet?(I=r(d,g),m=I&&I.value):m=d[g],p=c(f?g:i+(s?".":"#")+g,h.forced),!p&&m!==void 0){if(typeof S==typeof m)continue;l(S,m)}(h.sham||m&&m.sham)&&o(S,"sham",!0),a(d,g,S,h)}}},13586:function(E){"use strict";E.exports=function(e){try{return!!e()}catch(t){return!0}}},18690:function(E,e,t){"use strict";t(72941);var n=t(69935),r=t(60855),o=t(59049),a=t(13586),u=t(95558),l=t(21650),c=u("species"),h=RegExp.prototype;E.exports=function(v,i,f,s){var p=u(v),d=!a(function(){var I={};return I[p]=function(){return 7},""[v](I)!==7}),g=d&&!a(function(){var I=!1,O=/a/;return v==="split"&&(O={},O.constructor={},O.constructor[c]=function(){return O},O.flags="",O[p]=/./[p]),O.exec=function(){return I=!0,null},O[p](""),!I});if(!d||!g||f){var m=n(/./[p]),S=i(p,""[v],function(I,O,C,y,b){var T=n(I),P=O.exec;return P===o||P===h.exec?d&&!b?{done:!0,value:m(O,C,y)}:{done:!0,value:T(C,O,y)}:{done:!1}});r(String.prototype,v,S[0]),r(h,p,S[1])}s&&l(h[p],"sham",!0)}},73132:function(E,e,t){"use strict";var n=t(59882),r=t(83207),o=t(54579),a=t(8942),u=function l(c,h,v,i,f,s,p,d){for(var g=f,m=0,S=p?a(p,d):!1,I,O;m<i;)m in v&&(I=S?S(v[m],m,h):v[m],s>0&&n(I)?(O=r(I),g=l(c,h,I,O,g,s-1)-1):(o(g+1),c[g]=I),g++),m++;return g};E.exports=u},58199:function(E,e,t){"use strict";var n=t(13586);E.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},47244:function(E,e,t){"use strict";var n=t(86678),r=Function.prototype,o=r.apply,a=r.call;E.exports=typeof Reflect=="object"&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},8942:function(E,e,t){"use strict";var n=t(69935),r=t(79474),o=t(86678),a=n(n.bind);E.exports=function(u,l){return r(u),l===void 0?u:o?a(u,l):function(){return u.apply(l,arguments)}}},86678:function(E,e,t){"use strict";var n=t(13586);E.exports=!n(function(){var r=function(){}.bind();return typeof r!="function"||r.hasOwnProperty("prototype")})},82060:function(E,e,t){"use strict";var n=t(72908),r=t(79474),o=t(66379),a=t(3302),u=t(31170),l=t(86678),c=Function,h=n([].concat),v=n([].join),i={},f=function(p,d,g){if(!a(i,d)){for(var m=[],S=0;S<d;S++)m[S]="a["+S+"]";i[d]=c("C,a","return new C("+v(m,",")+")")}return i[d](p,g)};E.exports=l?c.bind:function(){function s(p){var d=r(this),g=d.prototype,m=u(arguments,1),S=function(){function I(){var O=h(m,u(arguments));return this instanceof S?f(d,O.length,O):d.apply(p,O)}return I}();return o(g)&&(S.prototype=g),S}return s}()},20276:function(E,e,t){"use strict";var n=t(86678),r=Function.prototype.call;E.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},15340:function(E,e,t){"use strict";var n=t(16361),r=t(3302),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=r(o,"name"),l=u&&function(){function h(){}return h}().name==="something",c=u&&(!n||n&&a(o,"name").configurable);E.exports={EXISTS:u,PROPER:l,CONFIGURABLE:c}},53715:function(E,e,t){"use strict";var n=t(72908),r=t(79474);E.exports=function(o,a,u){try{return n(r(Object.getOwnPropertyDescriptor(o,a)[u]))}catch(l){}}},69935:function(E,e,t){"use strict";var n=t(8649),r=t(72908);E.exports=function(o){if(n(o)==="Function")return r(o)}},72908:function(E,e,t){"use strict";var n=t(86678),r=Function.prototype,o=r.call,a=n&&r.bind.bind(o,o);E.exports=n?a:function(u){return function(){return o.apply(u,arguments)}}},22070:function(E,e,t){"use strict";var n=t(26856),r=t(53664),o=function(u){return r(u)?u:void 0};E.exports=function(a,u){return arguments.length<2?o(n[a]):n[a]&&n[a][u]}},52984:function(E,e,t){"use strict";var n=t(48615),r=t(76540),o=t(62695),a=t(47730),u=t(95558),l=u("iterator");E.exports=function(c){if(!o(c))return r(c,l)||r(c,"@@iterator")||a[n(c)]}},45731:function(E,e,t){"use strict";var n=t(20276),r=t(79474),o=t(45418),a=t(36787),u=t(52984),l=TypeError;E.exports=function(c,h){var v=arguments.length<2?u(c):h;if(r(v))return o(n(v,c));throw new l(a(c)+" is not iterable")}},58226:function(E,e,t){"use strict";var n=t(72908),r=t(59882),o=t(53664),a=t(8649),u=t(8758),l=n([].push);E.exports=function(c){if(o(c))return c;if(r(c)){for(var h=c.length,v=[],i=0;i<h;i++){var f=c[i];typeof f=="string"?l(v,f):(typeof f=="number"||a(f)==="Number"||a(f)==="String")&&l(v,u(f))}var s=v.length,p=!0;return function(d,g){if(p)return p=!1,g;if(r(this))return g;for(var m=0;m<s;m++)if(v[m]===d)return g}}}},76540:function(E,e,t){"use strict";var n=t(79474),r=t(62695);E.exports=function(o,a){var u=o[a];return r(u)?void 0:n(u)}},56802:function(E,e,t){"use strict";var n=t(72908),r=t(63549),o=Math.floor,a=n("".charAt),u=n("".replace),l=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,h=/\$([$&'`]|\d{1,2})/g;E.exports=function(v,i,f,s,p,d){var g=f+v.length,m=s.length,S=h;return p!==void 0&&(p=r(p),S=c),u(d,S,function(I,O){var C;switch(a(O,0)){case"$":return"$";case"&":return v;case"`":return l(i,0,f);case"'":return l(i,g);case"<":C=p[l(O,1,-1)];break;default:var y=+O;if(y===0)return I;if(y>m){var b=o(y/10);return b===0?I:b<=m?s[b-1]===void 0?a(O,1):s[b-1]+a(O,1):I}C=s[y-1]}return C===void 0?"":C})}},26856:function(E,e,t){"use strict";var n=function(o){return o&&o.Math===Math&&o};E.exports=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof t.g=="object"&&t.g)||n(!1)||function(){return this}()||Function("return this")()},3302:function(E,e,t){"use strict";var n=t(72908),r=t(63549),o=n({}.hasOwnProperty);E.exports=Object.hasOwn||function(){function a(u,l){return o(r(u),l)}return a}()},51653:function(E){"use strict";E.exports={}},66481:function(E){"use strict";E.exports=function(e,t){try{arguments.length}catch(n){}}},21474:function(E,e,t){"use strict";var n=t(22070);E.exports=n("document","documentElement")},16109:function(E,e,t){"use strict";var n=t(16361),r=t(13586),o=t(55642);E.exports=!n&&!r(function(){return Object.defineProperty(o("div"),"a",{get:function(){function a(){return 7}return a}()}).a!==7})},48350:function(E){"use strict";var e=Array,t=Math.abs,n=Math.pow,r=Math.floor,o=Math.log,a=Math.LN2,u=function(h,v,i){var f=e(i),s=i*8-v-1,p=(1<<s)-1,d=p>>1,g=v===23?n(2,-24)-n(2,-77):0,m=h<0||h===0&&1/h<0?1:0,S=0,I,O,C;for(h=t(h),h!==h||h===1/0?(O=h!==h?1:0,I=p):(I=r(o(h)/a),C=n(2,-I),h*C<1&&(I--,C*=2),I+d>=1?h+=g/C:h+=g*n(2,1-d),h*C>=2&&(I++,C/=2),I+d>=p?(O=0,I=p):I+d>=1?(O=(h*C-1)*n(2,v),I+=d):(O=h*n(2,d-1)*n(2,v),I=0));v>=8;)f[S++]=O&255,O/=256,v-=8;for(I=I<<v|O,s+=v;s>0;)f[S++]=I&255,I/=256,s-=8;return f[--S]|=m*128,f},l=function(h,v){var i=h.length,f=i*8-v-1,s=(1<<f)-1,p=s>>1,d=f-7,g=i-1,m=h[g--],S=m&127,I;for(m>>=7;d>0;)S=S*256+h[g--],d-=8;for(I=S&(1<<-d)-1,S>>=-d,d+=v;d>0;)I=I*256+h[g--],d-=8;if(S===0)S=1-p;else{if(S===s)return I?NaN:m?-1/0:1/0;I+=n(2,v),S-=p}return(m?-1:1)*I*n(2,S-v)};E.exports={pack:u,unpack:l}},80689:function(E,e,t){"use strict";var n=t(72908),r=t(13586),o=t(8649),a=Object,u=n("".split);E.exports=r(function(){return!a("z").propertyIsEnumerable(0)})?function(l){return o(l)==="String"?u(l,""):a(l)}:a},43405:function(E,e,t){"use strict";var n=t(53664),r=t(66379),o=t(91420);E.exports=function(a,u,l){var c,h;return o&&n(c=u.constructor)&&c!==l&&r(h=c.prototype)&&h!==l.prototype&&o(a,h),a}},92004:function(E,e,t){"use strict";var n=t(72908),r=t(53664),o=t(70192),a=n(Function.toString);r(o.inspectSource)||(o.inspectSource=function(u){return a(u)}),E.exports=o.inspectSource},66526:function(E,e,t){"use strict";var n=t(3116),r=t(72908),o=t(51653),a=t(66379),u=t(3302),l=t(8165).f,c=t(60097),h=t(31024),v=t(58221),i=t(76246),f=t(58199),s=!1,p=i("meta"),d=0,g=function(b){l(b,p,{value:{objectID:"O"+d++,weakData:{}}})},m=function(b,T){if(!a(b))return typeof b=="symbol"?b:(typeof b=="string"?"S":"P")+b;if(!u(b,p)){if(!v(b))return"F";if(!T)return"E";g(b)}return b[p].objectID},S=function(b,T){if(!u(b,p)){if(!v(b))return!0;if(!T)return!1;g(b)}return b[p].weakData},I=function(b){return f&&s&&v(b)&&!u(b,p)&&g(b),b},O=function(){C.enable=function(){},s=!0;var b=c.f,T=r([].splice),P={};P[p]=1,b(P).length&&(c.f=function(N){for(var M=b(N),R=0,L=M.length;R<L;R++)if(M[R]===p){T(M,R,1);break}return M},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:h.f}))},C=E.exports={enable:O,fastKey:m,getWeakData:S,onFreeze:I};o[p]=!0},4471:function(E,e,t){"use strict";var n=t(73844),r=t(26856),o=t(66379),a=t(21650),u=t(3302),l=t(70192),c=t(97223),h=t(51653),v="Object already initialized",i=r.TypeError,f=r.WeakMap,s,p,d,g=function(C){return d(C)?p(C):s(C,{})},m=function(C){return function(y){var b;if(!o(y)||(b=p(y)).type!==C)throw new i("Incompatible receiver, "+C+" required");return b}};if(n||l.state){var S=l.state||(l.state=new f);S.get=S.get,S.has=S.has,S.set=S.set,s=function(C,y){if(S.has(C))throw new i(v);return y.facade=C,S.set(C,y),y},p=function(C){return S.get(C)||{}},d=function(C){return S.has(C)}}else{var I=c("state");h[I]=!0,s=function(C,y){if(u(C,I))throw new i(v);return y.facade=C,a(C,I,y),y},p=function(C){return u(C,I)?C[I]:{}},d=function(C){return u(C,I)}}E.exports={set:s,get:p,has:d,enforce:g,getterFor:m}},48594:function(E,e,t){"use strict";var n=t(95558),r=t(47730),o=n("iterator"),a=Array.prototype;E.exports=function(u){return u!==void 0&&(r.Array===u||a[o]===u)}},59882:function(E,e,t){"use strict";var n=t(8649);E.exports=Array.isArray||function(){function r(o){return n(o)==="Array"}return r}()},76567:function(E,e,t){"use strict";var n=t(48615);E.exports=function(r){var o=n(r);return o==="BigInt64Array"||o==="BigUint64Array"}},53664:function(E){"use strict";var e=typeof document=="object"&&document.all;E.exports=typeof e=="undefined"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"}},49632:function(E,e,t){"use strict";var n=t(72908),r=t(13586),o=t(53664),a=t(48615),u=t(22070),l=t(92004),c=function(){},h=[],v=u("Reflect","construct"),i=/^\s*(?:class|function)\b/,f=n(i.exec),s=!i.test(c),p=function(){function g(m){if(!o(m))return!1;try{return v(c,h,m),!0}catch(S){return!1}}return g}(),d=function(){function g(m){if(!o(m))return!1;switch(a(m)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return s||!!f(i,l(m))}catch(S){return!0}}return g}();d.sham=!0,E.exports=!v||r(function(){var g;return p(p.call)||!p(Object)||!p(function(){g=!0})||g})?d:p},75129:function(E,e,t){"use strict";var n=t(3302);E.exports=function(r){return r!==void 0&&(n(r,"value")||n(r,"writable"))}},23620:function(E,e,t){"use strict";var n=t(13586),r=t(53664),o=/#|\.prototype\./,a=function(i,f){var s=l[u(i)];return s===h?!0:s===c?!1:r(f)?n(f):!!f},u=a.normalize=function(v){return String(v).replace(o,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",h=a.POLYFILL="P";E.exports=a},76117:function(E,e,t){"use strict";var n=t(66379),r=Math.floor;E.exports=Number.isInteger||function(){function o(a){return!n(a)&&isFinite(a)&&r(a)===a}return o}()},62695:function(E){"use strict";E.exports=function(e){return e==null}},66379:function(E,e,t){"use strict";var n=t(53664);E.exports=function(r){return typeof r=="object"?r!==null:n(r)}},62600:function(E,e,t){"use strict";var n=t(66379);E.exports=function(r){return n(r)||r===null}},90139:function(E){"use strict";E.exports=!1},28774:function(E,e,t){"use strict";var n=t(66379),r=t(8649),o=t(95558),a=o("match");E.exports=function(u){var l;return n(u)&&((l=u[a])!==void 0?!!l:r(u)==="RegExp")}},43474:function(E,e,t){"use strict";var n=t(22070),r=t(53664),o=t(54341),a=t(95343),u=Object;E.exports=a?function(l){return typeof l=="symbol"}:function(l){var c=n("Symbol");return r(c)&&o(c.prototype,u(l))}},20453:function(E,e,t){"use strict";var n=t(8942),r=t(20276),o=t(45418),a=t(36787),u=t(48594),l=t(83207),c=t(54341),h=t(45731),v=t(52984),i=t(65169),f=TypeError,s=function(g,m){this.stopped=g,this.result=m},p=s.prototype;E.exports=function(d,g,m){var S=m&&m.that,I=!!(m&&m.AS_ENTRIES),O=!!(m&&m.IS_RECORD),C=!!(m&&m.IS_ITERATOR),y=!!(m&&m.INTERRUPTED),b=n(g,S),T,P,N,M,R,L,K,U=function(B){return T&&i(T,"normal",B),new s(!0,B)},F=function(B){return I?(o(B),y?b(B[0],B[1],U):b(B[0],B[1])):y?b(B,U):b(B)};if(O)T=d.iterator;else if(C)T=d;else{if(P=v(d),!P)throw new f(a(d)+" is not iterable");if(u(P)){for(N=0,M=l(d);M>N;N++)if(R=F(d[N]),R&&c(p,R))return R;return new s(!1)}T=h(d,P)}for(L=O?d.next:T.next;!(K=r(L,T)).done;){try{R=F(K.value)}catch($){i(T,"throw",$)}if(typeof R=="object"&&R&&c(p,R))return R}return new s(!1)}},65169:function(E,e,t){"use strict";var n=t(20276),r=t(45418),o=t(76540);E.exports=function(a,u,l){var c,h;r(a);try{if(c=o(a,"return"),!c){if(u==="throw")throw l;return l}c=n(c,a)}catch(v){h=!0,c=v}if(u==="throw")throw l;if(h)throw c;return r(c),l}},41903:function(E,e,t){"use strict";var n=t(83665).IteratorPrototype,r=t(15439),o=t(73970),a=t(15676),u=t(47730),l=function(){return this};E.exports=function(c,h,v,i){var f=h+" Iterator";return c.prototype=r(n,{next:o(+!i,v)}),a(c,f,!1,!0),u[f]=l,c}},21436:function(E,e,t){"use strict";var n=t(3116),r=t(20276),o=t(90139),a=t(15340),u=t(53664),l=t(41903),c=t(56379),h=t(91420),v=t(15676),i=t(21650),f=t(60855),s=t(95558),p=t(47730),d=t(83665),g=a.PROPER,m=a.CONFIGURABLE,S=d.IteratorPrototype,I=d.BUGGY_SAFARI_ITERATORS,O=s("iterator"),C="keys",y="values",b="entries",T=function(){return this};E.exports=function(P,N,M,R,L,K,U){l(M,N,R);var F=function(W){if(W===L&&G)return G;if(!I&&W&&W in x)return x[W];switch(W){case C:return function(){function X(){return new M(this,W)}return X}();case y:return function(){function X(){return new M(this,W)}return X}();case b:return function(){function X(){return new M(this,W)}return X}()}return function(){return new M(this)}},$=N+" Iterator",B=!1,x=P.prototype,V=x[O]||x["@@iterator"]||L&&x[L],G=!I&&V||F(L),Y=N==="Array"&&x.entries||V,k,nt,ut;if(Y&&(k=c(Y.call(new P)),k!==Object.prototype&&k.next&&(!o&&c(k)!==S&&(h?h(k,S):u(k[O])||f(k,O,T)),v(k,$,!0,!0),o&&(p[$]=T))),g&&L===y&&V&&V.name!==y&&(!o&&m?i(x,"name",y):(B=!0,G=function(){function ft(){return r(V,this)}return ft}())),L)if(nt={values:F(y),keys:K?G:F(C),entries:F(b)},U)for(ut in nt)(I||B||!(ut in x))&&f(x,ut,nt[ut]);else n({target:N,proto:!0,forced:I||B},nt);return(!o||U)&&x[O]!==G&&f(x,O,G,{name:L}),p[N]=G,nt}},83665:function(E,e,t){"use strict";var n=t(13586),r=t(53664),o=t(66379),a=t(15439),u=t(56379),l=t(60855),c=t(95558),h=t(90139),v=c("iterator"),i=!1,f,s,p;[].keys&&(p=[].keys(),"next"in p?(s=u(u(p)),s!==Object.prototype&&(f=s)):i=!0);var d=!o(f)||n(function(){var g={};return f[v].call(g)!==g});d?f={}:h&&(f=a(f)),r(f[v])||l(f,v,function(){return this}),E.exports={IteratorPrototype:f,BUGGY_SAFARI_ITERATORS:i}},47730:function(E){"use strict";E.exports={}},83207:function(E,e,t){"use strict";var n=t(74369);E.exports=function(r){return n(r.length)}},40773:function(E,e,t){"use strict";var n=t(72908),r=t(13586),o=t(53664),a=t(3302),u=t(16361),l=t(15340).CONFIGURABLE,c=t(92004),h=t(4471),v=h.enforce,i=h.get,f=String,s=Object.defineProperty,p=n("".slice),d=n("".replace),g=n([].join),m=u&&!r(function(){return s(function(){},"length",{value:8}).length!==8}),S=String(String).split("String"),I=E.exports=function(O,C,y){p(f(C),0,7)==="Symbol("&&(C="["+d(f(C),/^Symbol\(([^)]*)\)/,"$1")+"]"),y&&y.getter&&(C="get "+C),y&&y.setter&&(C="set "+C),(!a(O,"name")||l&&O.name!==C)&&(u?s(O,"name",{value:C,configurable:!0}):O.name=C),m&&y&&a(y,"arity")&&O.length!==y.arity&&s(O,"length",{value:y.arity});try{y&&a(y,"constructor")&&y.constructor?u&&s(O,"prototype",{writable:!1}):O.prototype&&(O.prototype=void 0)}catch(T){}var b=v(O);return a(b,"source")||(b.source=g(S,typeof C=="string"?C:"")),O};Function.prototype.toString=I(function(){function O(){return o(this)&&i(this).source||c(this)}return O}(),"toString")},80563:function(E){"use strict";var e=Math.expm1,t=Math.exp;E.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||e(-2e-17)!==-2e-17?function(){function n(r){var o=+r;return o===0?o:o>-1e-6&&o<1e-6?o+o*o/2:t(o)-1}return n}():e},27509:function(E,e,t){"use strict";var n=t(30585),r=Math.abs,o=2220446049250313e-31,a=1/o,u=function(c){return c+a-a};E.exports=function(l,c,h,v){var i=+l,f=r(i),s=n(i);if(f<v)return s*u(f/v/c)*v*c;var p=(1+c/o)*f,d=p-(p-f);return d>h||d!==d?s*(1/0):s*d}},48705:function(E,e,t){"use strict";var n=t(27509),r=11920928955078125e-23,o=34028234663852886e22,a=11754943508222875e-54;E.exports=Math.fround||function(){function u(l){return n(l,r,o,a)}return u}()},74347:function(E){"use strict";var e=Math.log,t=Math.LOG10E;E.exports=Math.log10||function(){function n(r){return e(r)*t}return n}()},50169:function(E){"use strict";var e=Math.log;E.exports=Math.log1p||function(){function t(n){var r=+n;return r>-1e-8&&r<1e-8?r-r*r/2:e(1+r)}return t}()},30585:function(E){"use strict";E.exports=Math.sign||function(){function e(t){var n=+t;return n===0||n!==n?n:n<0?-1:1}return e}()},54037:function(E){"use strict";var e=Math.ceil,t=Math.floor;E.exports=Math.trunc||function(){function n(r){var o=+r;return(o>0?t:e)(o)}return n}()},60816:function(E,e,t){"use strict";var n=t(26856),r=t(8975),o=t(8942),a=t(87073).set,u=t(8274),l=t(25184),c=t(79034),h=t(71979),v=t(86727),i=n.MutationObserver||n.WebKitMutationObserver,f=n.document,s=n.process,p=n.Promise,d=r("queueMicrotask"),g,m,S,I,O;if(!d){var C=new u,y=function(){var T,P;for(v&&(T=s.domain)&&T.exit();P=C.get();)try{P()}catch(N){throw C.head&&g(),N}T&&T.enter()};!l&&!v&&!h&&i&&f?(m=!0,S=f.createTextNode(""),new i(y).observe(S,{characterData:!0}),g=function(){S.data=m=!m}):!c&&p&&p.resolve?(I=p.resolve(void 0),I.constructor=p,O=o(I.then,I),g=function(){O(y)}):v?g=function(){s.nextTick(y)}:(a=o(a,n),g=function(){a(y)}),d=function(T){C.head||g(),C.add(T)}}E.exports=d},14187:function(E,e,t){"use strict";var n=t(79474),r=TypeError,o=function(u){var l,c;this.promise=new u(function(h,v){if(l!==void 0||c!==void 0)throw new r("Bad Promise constructor");l=h,c=v}),this.resolve=n(l),this.reject=n(c)};E.exports.f=function(a){return new o(a)}},75816:function(E,e,t){"use strict";var n=t(28774),r=TypeError;E.exports=function(o){if(n(o))throw new r("The method doesn't accept regular expressions");return o}},23944:function(E,e,t){"use strict";var n=t(26856),r=n.isFinite;E.exports=Number.isFinite||function(){function o(a){return typeof a=="number"&&r(a)}return o}()},98973:function(E,e,t){"use strict";var n=t(26856),r=t(13586),o=t(72908),a=t(8758),u=t(47913).trim,l=t(47410),c=o("".charAt),h=n.parseFloat,v=n.Symbol,i=v&&v.iterator,f=1/h(l+"-0")!==-1/0||i&&!r(function(){h(Object(i))});E.exports=f?function(){function s(p){var d=u(a(p)),g=h(d);return g===0&&c(d,0)==="-"?-0:g}return s}():h},41148:function(E,e,t){"use strict";var n=t(26856),r=t(13586),o=t(72908),a=t(8758),u=t(47913).trim,l=t(47410),c=n.parseInt,h=n.Symbol,v=h&&h.iterator,i=/^[+-]?0x/i,f=o(i.exec),s=c(l+"08")!==8||c(l+"0x16")!==22||v&&!r(function(){c(Object(v))});E.exports=s?function(){function p(d,g){var m=u(a(d));return c(m,g>>>0||(f(i,m)?16:10))}return p}():c},23554:function(E,e,t){"use strict";var n=t(16361),r=t(72908),o=t(20276),a=t(13586),u=t(99869),l=t(61791),c=t(10409),h=t(63549),v=t(80689),i=Object.assign,f=Object.defineProperty,s=r([].concat);E.exports=!i||a(function(){if(n&&i({b:1},i(f({},"a",{enumerable:!0,get:function(){function S(){f(this,"b",{value:3,enumerable:!1})}return S}()}),{b:2})).b!==1)return!0;var p={},d={},g=Symbol("assign detection"),m="abcdefghijklmnopqrst";return p[g]=7,m.split("").forEach(function(S){d[S]=S}),i({},p)[g]!==7||u(i({},d)).join("")!==m})?function(){function p(d,g){for(var m=h(d),S=arguments.length,I=1,O=l.f,C=c.f;S>I;)for(var y=v(arguments[I++]),b=O?s(u(y),O(y)):u(y),T=b.length,P=0,N;T>P;)N=b[P++],(!n||o(C,y,N))&&(m[N]=y[N]);return m}return p}():i},15439:function(E,e,t){"use strict";var n=t(45418),r=t(55119),o=t(38139),a=t(51653),u=t(21474),l=t(55642),c=t(97223),h=">",v="<",i="prototype",f="script",s=c("IE_PROTO"),p=function(){},d=function(C){return v+f+h+C+v+"/"+f+h},g=function(C){C.write(d("")),C.close();var y=C.parentWindow.Object;return C=null,y},m=function(){var C=l("iframe"),y="java"+f+":",b;return C.style.display="none",u.appendChild(C),C.src=String(y),b=C.contentWindow.document,b.open(),b.write(d("document.F=Object")),b.close(),b.F},S,I=function(){try{S=new ActiveXObject("htmlfile")}catch(y){}I=typeof document!="undefined"?document.domain&&S?g(S):m():g(S);for(var C=o.length;C--;)delete I[i][o[C]];return I()};a[s]=!0,E.exports=Object.create||function(){function O(C,y){var b;return C!==null?(p[i]=n(C),b=new p,p[i]=null,b[s]=C):b=I(),y===void 0?b:r.f(b,y)}return O}()},55119:function(E,e,t){"use strict";var n=t(16361),r=t(87168),o=t(8165),a=t(45418),u=t(54292),l=t(99869);e.f=n&&!r?Object.defineProperties:function(){function c(h,v){a(h);for(var i=u(v),f=l(v),s=f.length,p=0,d;s>p;)o.f(h,d=f[p++],i[d]);return h}return c}()},8165:function(E,e,t){"use strict";var n=t(16361),r=t(16109),o=t(87168),a=t(45418),u=t(72445),l=TypeError,c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,v="enumerable",i="configurable",f="writable";e.f=n?o?function(){function s(p,d,g){if(a(p),d=u(d),a(g),typeof p=="function"&&d==="prototype"&&"value"in g&&f in g&&!g[f]){var m=h(p,d);m&&m[f]&&(p[d]=g.value,g={configurable:i in g?g[i]:m[i],enumerable:v in g?g[v]:m[v],writable:!1})}return c(p,d,g)}return s}():c:function(){function s(p,d,g){if(a(p),d=u(d),a(g),r)try{return c(p,d,g)}catch(m){}if("get"in g||"set"in g)throw new l("Accessors not supported");return"value"in g&&(p[d]=g.value),p}return s}()},19765:function(E,e,t){"use strict";var n=t(16361),r=t(20276),o=t(10409),a=t(73970),u=t(54292),l=t(72445),c=t(3302),h=t(16109),v=Object.getOwnPropertyDescriptor;e.f=n?v:function(){function i(f,s){if(f=u(f),s=l(s),h)try{return v(f,s)}catch(p){}if(c(f,s))return a(!r(o.f,f,s),f[s])}return i}()},31024:function(E,e,t){"use strict";var n=t(8649),r=t(54292),o=t(60097).f,a=t(31170),u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(h){try{return o(h)}catch(v){return a(u)}};E.exports.f=function(){function c(h){return u&&n(h)==="Window"?l(h):o(r(h))}return c}()},60097:function(E,e,t){"use strict";var n=t(49871),r=t(38139),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(){function a(u){return n(u,o)}return a}()},61791:function(E,e){"use strict";e.f=Object.getOwnPropertySymbols},56379:function(E,e,t){"use strict";var n=t(3302),r=t(53664),o=t(63549),a=t(97223),u=t(62297),l=a("IE_PROTO"),c=Object,h=c.prototype;E.exports=u?c.getPrototypeOf:function(v){var i=o(v);if(n(i,l))return i[l];var f=i.constructor;return r(f)&&i instanceof f?f.prototype:i instanceof c?h:null}},58221:function(E,e,t){"use strict";var n=t(13586),r=t(66379),o=t(8649),a=t(8685),u=Object.isExtensible,l=n(function(){u(1)});E.exports=l||a?function(){function c(h){return!r(h)||a&&o(h)==="ArrayBuffer"?!1:u?u(h):!0}return c}():u},54341:function(E,e,t){"use strict";var n=t(72908);E.exports=n({}.isPrototypeOf)},49871:function(E,e,t){"use strict";var n=t(72908),r=t(3302),o=t(54292),a=t(33483).indexOf,u=t(51653),l=n([].push);E.exports=function(c,h){var v=o(c),i=0,f=[],s;for(s in v)!r(u,s)&&r(v,s)&&l(f,s);for(;h.length>i;)r(v,s=h[i++])&&(~a(f,s)||l(f,s));return f}},99869:function(E,e,t){"use strict";var n=t(49871),r=t(38139);E.exports=Object.keys||function(){function o(a){return n(a,r)}return o}()},10409:function(E,e){"use strict";var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(){function o(a){var u=n(this,a);return!!u&&u.enumerable}return o}():t},6205:function(E,e,t){"use strict";var n=t(90139),r=t(26856),o=t(13586),a=t(27204);E.exports=n||!o(function(){if(!(a&&a<535)){var u=Math.random();__defineSetter__.call(null,u,function(){}),delete r[u]}})},91420:function(E,e,t){"use strict";var n=t(53715),r=t(45418),o=t(30907);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var a=!1,u={},l;try{l=n(Object.prototype,"__proto__","set"),l(u,[]),a=u instanceof Array}catch(c){}return function(){function c(h,v){return r(h),o(v),a?l(h,v):h.__proto__=v,h}return c}()}():void 0)},64266:function(E,e,t){"use strict";var n=t(16361),r=t(13586),o=t(72908),a=t(56379),u=t(99869),l=t(54292),c=t(10409).f,h=o(c),v=o([].push),i=n&&r(function(){var s=Object.create(null);return s[2]=2,!h(s,2)}),f=function(p){return function(d){for(var g=l(d),m=u(g),S=i&&a(g)===null,I=m.length,O=0,C=[],y;I>O;)y=m[O++],(!n||(S?y in g:h(g,y)))&&v(C,p?[y,g[y]]:g[y]);return C}};E.exports={entries:f(!0),values:f(!1)}},6625:function(E,e,t){"use strict";var n=t(41936),r=t(48615);E.exports=n?{}.toString:function(){function o(){return"[object "+r(this)+"]"}return o}()},56109:function(E,e,t){"use strict";var n=t(20276),r=t(53664),o=t(66379),a=TypeError;E.exports=function(u,l){var c,h;if(l==="string"&&r(c=u.toString)&&!o(h=n(c,u))||r(c=u.valueOf)&&!o(h=n(c,u))||l!=="string"&&r(c=u.toString)&&!o(h=n(c,u)))return h;throw new a("Can't convert object to primitive value")}},53988:function(E,e,t){"use strict";var n=t(22070),r=t(72908),o=t(60097),a=t(61791),u=t(45418),l=r([].concat);E.exports=n("Reflect","ownKeys")||function(){function c(h){var v=o.f(u(h)),i=a.f;return i?l(v,i(h)):v}return c}()},55601:function(E,e,t){"use strict";var n=t(26856);E.exports=n},73034:function(E){"use strict";E.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},14657:function(E,e,t){"use strict";var n=t(26856),r=t(3e3),o=t(53664),a=t(23620),u=t(92004),l=t(95558),c=t(52460),h=t(53437),v=t(90139),i=t(43541),f=r&&r.prototype,s=l("species"),p=!1,d=o(n.PromiseRejectionEvent),g=a("Promise",function(){var m=u(r),S=m!==String(r);if(!S&&i===66||v&&!(f.catch&&f.finally))return!0;if(!i||i<51||!/native code/.test(m)){var I=new r(function(y){y(1)}),O=function(b){b(function(){},function(){})},C=I.constructor={};if(C[s]=O,p=I.then(function(){})instanceof O,!p)return!0}return!S&&(c||h)&&!d});E.exports={CONSTRUCTOR:g,REJECTION_EVENT:d,SUBCLASSING:p}},3e3:function(E,e,t){"use strict";var n=t(26856);E.exports=n.Promise},61988:function(E,e,t){"use strict";var n=t(45418),r=t(66379),o=t(14187);E.exports=function(a,u){if(n(a),r(u)&&u.constructor===a)return u;var l=o.f(a),c=l.resolve;return c(u),l.promise}},18182:function(E,e,t){"use strict";var n=t(3e3),r=t(1608),o=t(14657).CONSTRUCTOR;E.exports=o||!r(function(a){n.all(a).then(void 0,function(){})})},69713:function(E,e,t){"use strict";var n=t(8165).f;E.exports=function(r,o,a){a in r||n(r,a,{configurable:!0,get:function(){function u(){return o[a]}return u}(),set:function(){function u(l){o[a]=l}return u}()})}},8274:function(E){"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(){function t(n){var r={item:n,next:null},o=this.tail;o?o.next=r:this.head=r,this.tail=r}return t}(),get:function(){function t(){var n=this.head;if(n){var r=this.head=n.next;return r===null&&(this.tail=null),n.item}}return t}()},E.exports=e},59833:function(E,e,t){"use strict";var n=t(20276),r=t(45418),o=t(53664),a=t(8649),u=t(59049),l=TypeError;E.exports=function(c,h){var v=c.exec;if(o(v)){var i=n(v,c,h);return i!==null&&r(i),i}if(a(c)==="RegExp")return n(u,c,h);throw new l("RegExp#exec called on incompatible receiver")}},59049:function(E,e,t){"use strict";var n=t(20276),r=t(72908),o=t(8758),a=t(41913),u=t(96472),l=t(7624),c=t(15439),h=t(4471).get,v=t(18095),i=t(17329),f=l("native-string-replace",String.prototype.replace),s=RegExp.prototype.exec,p=s,d=r("".charAt),g=r("".indexOf),m=r("".replace),S=r("".slice),I=function(){var b=/a/,T=/b*/g;return n(s,b,"a"),n(s,T,"a"),b.lastIndex!==0||T.lastIndex!==0}(),O=u.BROKEN_CARET,C=/()??/.exec("")[1]!==void 0,y=I||C||O||v||i;y&&(p=function(){function b(T){var P=this,N=h(P),M=o(T),R=N.raw,L,K,U,F,$,B,x;if(R)return R.lastIndex=P.lastIndex,L=n(p,R,M),P.lastIndex=R.lastIndex,L;var V=N.groups,G=O&&P.sticky,Y=n(a,P),k=P.source,nt=0,ut=M;if(G&&(Y=m(Y,"y",""),g(Y,"g")===-1&&(Y+="g"),ut=S(M,P.lastIndex),P.lastIndex>0&&(!P.multiline||P.multiline&&d(M,P.lastIndex-1)!=="\n")&&(k="(?: "+k+")",ut=" "+ut,nt++),K=new RegExp("^(?:"+k+")",Y)),C&&(K=new RegExp("^"+k+"$(?!\\s)",Y)),I&&(U=P.lastIndex),F=n(s,G?K:P,ut),G?F?(F.input=S(F.input,nt),F[0]=S(F[0],nt),F.index=P.lastIndex,P.lastIndex+=F[0].length):P.lastIndex=0:I&&F&&(P.lastIndex=P.global?F.index+F[0].length:U),C&&F&&F.length>1&&n(f,F[0],K,function(){for($=1;$<arguments.length-2;$++)arguments[$]===void 0&&(F[$]=void 0)}),F&&V)for(F.groups=B=c(null),$=0;$<V.length;$++)x=V[$],B[x[0]]=F[x[1]];return F}return b}()),E.exports=p},41913:function(E,e,t){"use strict";var n=t(45418);E.exports=function(){var r=n(this),o="";return r.hasIndices&&(o+="d"),r.global&&(o+="g"),r.ignoreCase&&(o+="i"),r.multiline&&(o+="m"),r.dotAll&&(o+="s"),r.unicode&&(o+="u"),r.unicodeSets&&(o+="v"),r.sticky&&(o+="y"),o}},13980:function(E,e,t){"use strict";var n=t(20276),r=t(3302),o=t(54341),a=t(41913),u=RegExp.prototype;E.exports=function(l){var c=l.flags;return c===void 0&&!("flags"in u)&&!r(l,"flags")&&o(u,l)?n(a,l):c}},96472:function(E,e,t){"use strict";var n=t(13586),r=t(26856),o=r.RegExp,a=n(function(){var c=o("a","y");return c.lastIndex=2,c.exec("abcd")!==null}),u=a||n(function(){return!o("a","y").sticky}),l=a||n(function(){var c=o("^r","gy");return c.lastIndex=2,c.exec("str")!==null});E.exports={BROKEN_CARET:l,MISSED_STICKY:u,UNSUPPORTED_Y:a}},18095:function(E,e,t){"use strict";var n=t(13586),r=t(26856),o=r.RegExp;E.exports=n(function(){var a=o(".","s");return!(a.dotAll&&a.test("\n")&&a.flags==="s")})},17329:function(E,e,t){"use strict";var n=t(13586),r=t(26856),o=r.RegExp;E.exports=n(function(){var a=o("(?<a>b)","g");return a.exec("b").groups.a!=="b"||"b".replace(a,"$<a>c")!=="bc"})},305:function(E,e,t){"use strict";var n=t(62695),r=TypeError;E.exports=function(o){if(n(o))throw new r("Can't call method on "+o);return o}},8975:function(E,e,t){"use strict";var n=t(26856),r=t(16361),o=Object.getOwnPropertyDescriptor;E.exports=function(a){if(!r)return n[a];var u=o(n,a);return u&&u.value}},91935:function(E){"use strict";E.exports=Object.is||function(){function e(t,n){return t===n?t!==0||1/t===1/n:t!==t&&n!==n}return e}()},17459:function(E,e,t){"use strict";var n=t(26856),r=t(47244),o=t(53664),a=t(68261),u=t(74247),l=t(31170),c=t(92827),h=n.Function,v=/MSIE .\./.test(u)||a&&function(){var i=n.Bun.version.split(".");return i.length<3||i[0]==="0"&&(i[1]<3||i[1]==="3"&&i[2]==="0")}();E.exports=function(i,f){var s=f?2:1;return v?function(p,d){var g=c(arguments.length,1)>s,m=o(p)?p:h(p),S=g?l(arguments,s):[],I=g?function(){r(m,this,S)}:m;return f?i(I,d):i(I)}:i}},92468:function(E,e,t){"use strict";var n=t(22070),r=t(57301),o=t(95558),a=t(16361),u=o("species");E.exports=function(l){var c=n(l);a&&c&&!c[u]&&r(c,u,{configurable:!0,get:function(){function h(){return this}return h}()})}},15676:function(E,e,t){"use strict";var n=t(8165).f,r=t(3302),o=t(95558),a=o("toStringTag");E.exports=function(u,l,c){u&&!c&&(u=u.prototype),u&&!r(u,a)&&n(u,a,{configurable:!0,value:l})}},97223:function(E,e,t){"use strict";var n=t(7624),r=t(76246),o=n("keys");E.exports=function(a){return o[a]||(o[a]=r(a))}},70192:function(E,e,t){"use strict";var n=t(26856),r=t(17553),o="__core-js_shared__",a=n[o]||r(o,{});E.exports=a},7624:function(E,e,t){"use strict";var n=t(90139),r=t(70192);(E.exports=function(o,a){return r[o]||(r[o]=a!==void 0?a:{})})("versions",[]).push({version:"3.35.0",mode:n?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE",source:"https://github.com/zloirock/core-js"})},83604:function(E,e,t){"use strict";var n=t(45418),r=t(48218),o=t(62695),a=t(95558),u=a("species");E.exports=function(l,c){var h=n(l).constructor,v;return h===void 0||o(v=n(h)[u])?c:r(v)}},81626:function(E,e,t){"use strict";var n=t(13586);E.exports=function(r){return n(function(){var o=""[r]('"');return o!==o.toLowerCase()||o.split('"').length>3})}},13300:function(E,e,t){"use strict";var n=t(72908),r=t(84501),o=t(8758),a=t(305),u=n("".charAt),l=n("".charCodeAt),c=n("".slice),h=function(i){return function(f,s){var p=o(a(f)),d=r(s),g=p.length,m,S;return d<0||d>=g?i?"":void 0:(m=l(p,d),m<55296||m>56319||d+1===g||(S=l(p,d+1))<56320||S>57343?i?u(p,d):m:i?c(p,d,d+2):(m-55296<<10)+(S-56320)+65536)}};E.exports={codeAt:h(!1),charAt:h(!0)}},51468:function(E,e,t){"use strict";var n=t(74247);E.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},81290:function(E,e,t){"use strict";var n=t(72908),r=t(74369),o=t(8758),a=t(75463),u=t(305),l=n(a),c=n("".slice),h=Math.ceil,v=function(f){return function(s,p,d){var g=o(u(s)),m=r(p),S=g.length,I=d===void 0?" ":o(d),O,C;return m<=S||I===""?g:(O=m-S,C=l(I,h(O/I.length)),C.length>O&&(C=c(C,0,O)),f?g+C:C+g)}};E.exports={start:v(!1),end:v(!0)}},75463:function(E,e,t){"use strict";var n=t(84501),r=t(8758),o=t(305),a=RangeError;E.exports=function(){function u(l){var c=r(o(this)),h="",v=n(l);if(v<0||v===1/0)throw new a("Wrong number of repetitions");for(;v>0;(v>>>=1)&&(c+=c))v&1&&(h+=c);return h}return u}()},45745:function(E,e,t){"use strict";var n=t(47913).end,r=t(15677);E.exports=r("trimEnd")?function(){function o(){return n(this)}return o}():"".trimEnd},15677:function(E,e,t){"use strict";var n=t(15340).PROPER,r=t(13586),o=t(47410),a="\u200B\x85\u180E";E.exports=function(u){return r(function(){return!!o[u]()||a[u]()!==a||n&&o[u].name!==u})}},35634:function(E,e,t){"use strict";var n=t(47913).start,r=t(15677);E.exports=r("trimStart")?function(){function o(){return n(this)}return o}():"".trimStart},47913:function(E,e,t){"use strict";var n=t(72908),r=t(305),o=t(8758),a=t(47410),u=n("".replace),l=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),h=function(i){return function(f){var s=o(r(f));return i&1&&(s=u(s,l,"")),i&2&&(s=u(s,c,"$1")),s}};E.exports={start:h(1),end:h(2),trim:h(3)}},61855:function(E,e,t){"use strict";var n=t(43541),r=t(13586),o=t(26856),a=o.String;E.exports=!!Object.getOwnPropertySymbols&&!r(function(){var u=Symbol("symbol detection");return!a(u)||!(Object(u)instanceof Symbol)||!Symbol.sham&&n&&n<41})},28952:function(E,e,t){"use strict";var n=t(20276),r=t(22070),o=t(95558),a=t(60855);E.exports=function(){var u=r("Symbol"),l=u&&u.prototype,c=l&&l.valueOf,h=o("toPrimitive");l&&!l[h]&&a(l,h,function(v){return n(c,this)},{arity:1})}},16010:function(E,e,t){"use strict";var n=t(61855);E.exports=n&&!!Symbol.for&&!!Symbol.keyFor},87073:function(E,e,t){"use strict";var n=t(26856),r=t(47244),o=t(8942),a=t(53664),u=t(3302),l=t(13586),c=t(21474),h=t(31170),v=t(55642),i=t(92827),f=t(25184),s=t(86727),p=n.setImmediate,d=n.clearImmediate,g=n.process,m=n.Dispatch,S=n.Function,I=n.MessageChannel,O=n.String,C=0,y={},b="onreadystatechange",T,P,N,M;l(function(){T=n.location});var R=function($){if(u(y,$)){var B=y[$];delete y[$],B()}},L=function($){return function(){R($)}},K=function($){R($.data)},U=function($){n.postMessage(O($),T.protocol+"//"+T.host)};(!p||!d)&&(p=function(){function F($){i(arguments.length,1);var B=a($)?$:S($),x=h(arguments,1);return y[++C]=function(){r(B,void 0,x)},P(C),C}return F}(),d=function(){function F($){delete y[$]}return F}(),s?P=function($){g.nextTick(L($))}:m&&m.now?P=function($){m.now(L($))}:I&&!f?(N=new I,M=N.port2,N.port1.onmessage=K,P=o(M.postMessage,M)):n.addEventListener&&a(n.postMessage)&&!n.importScripts&&T&&T.protocol!=="file:"&&!l(U)?(P=U,n.addEventListener("message",K,!1)):b in v("script")?P=function($){c.appendChild(v("script"))[b]=function(){c.removeChild(this),R($)}}:P=function($){setTimeout(L($),0)}),E.exports={set:p,clear:d}},7950:function(E,e,t){"use strict";var n=t(72908);E.exports=n(1 .valueOf)},39531:function(E,e,t){"use strict";var n=t(84501),r=Math.max,o=Math.min;E.exports=function(a,u){var l=n(a);return l<0?r(l+u,0):o(l,u)}},73873:function(E,e,t){"use strict";var n=t(9560),r=TypeError;E.exports=function(o){var a=n(o,"number");if(typeof a=="number")throw new r("Can't convert number to bigint");return BigInt(a)}},28968:function(E,e,t){"use strict";var n=t(84501),r=t(74369),o=RangeError;E.exports=function(a){if(a===void 0)return 0;var u=n(a),l=r(u);if(u!==l)throw new o("Wrong length or index");return l}},54292:function(E,e,t){"use strict";var n=t(80689),r=t(305);E.exports=function(o){return n(r(o))}},84501:function(E,e,t){"use strict";var n=t(54037);E.exports=function(r){var o=+r;return o!==o||o===0?0:n(o)}},74369:function(E,e,t){"use strict";var n=t(84501),r=Math.min;E.exports=function(o){return o>0?r(n(o),9007199254740991):0}},63549:function(E,e,t){"use strict";var n=t(305),r=Object;E.exports=function(o){return r(n(o))}},45476:function(E,e,t){"use strict";var n=t(70685),r=RangeError;E.exports=function(o,a){var u=n(o);if(u%a)throw new r("Wrong offset");return u}},70685:function(E,e,t){"use strict";var n=t(84501),r=RangeError;E.exports=function(o){var a=n(o);if(a<0)throw new r("The argument can't be less than 0");return a}},9560:function(E,e,t){"use strict";var n=t(20276),r=t(66379),o=t(43474),a=t(76540),u=t(56109),l=t(95558),c=TypeError,h=l("toPrimitive");E.exports=function(v,i){if(!r(v)||o(v))return v;var f=a(v,h),s;if(f){if(i===void 0&&(i="default"),s=n(f,v,i),!r(s)||o(s))return s;throw new c("Can't convert object to primitive value")}return i===void 0&&(i="number"),u(v,i)}},72445:function(E,e,t){"use strict";var n=t(9560),r=t(43474);E.exports=function(o){var a=n(o,"string");return r(a)?a:a+""}},41936:function(E,e,t){"use strict";var n=t(95558),r=n("toStringTag"),o={};o[r]="z",E.exports=String(o)==="[object z]"},8758:function(E,e,t){"use strict";var n=t(48615),r=String;E.exports=function(o){if(n(o)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return r(o)}},52834:function(E){"use strict";var e=Math.round;E.exports=function(t){var n=e(t);return n<0?0:n>255?255:n&255}},36787:function(E){"use strict";var e=String;E.exports=function(t){try{return e(t)}catch(n){return"Object"}}},43186:function(E,e,t){"use strict";var n=t(3116),r=t(26856),o=t(20276),a=t(16361),u=t(45410),l=t(30432),c=t(31284),h=t(14434),v=t(73970),i=t(21650),f=t(76117),s=t(74369),p=t(28968),d=t(45476),g=t(52834),m=t(72445),S=t(3302),I=t(48615),O=t(66379),C=t(43474),y=t(15439),b=t(54341),T=t(91420),P=t(60097).f,N=t(12778),M=t(18539).forEach,R=t(92468),L=t(57301),K=t(8165),U=t(19765),F=t(21465),$=t(4471),B=t(43405),x=$.get,V=$.set,G=$.enforce,Y=K.f,k=U.f,nt=r.RangeError,ut=c.ArrayBuffer,ft=ut.prototype,W=c.DataView,X=l.NATIVE_ARRAY_BUFFER_VIEWS,et=l.TYPED_ARRAY_TAG,ct=l.TypedArray,at=l.TypedArrayPrototype,St=l.isTypedArray,Pt="BYTES_PER_ELEMENT",Rt="Wrong length",Nt=function(gt,Et){L(gt,Et,{configurable:!0,get:function(){function it(){return x(this)[Et]}return it}()})},ht=function(gt){var Et;return b(ft,gt)||(Et=I(gt))==="ArrayBuffer"||Et==="SharedArrayBuffer"},dt=function(gt,Et){return St(gt)&&!C(Et)&&Et in gt&&f(+Et)&&Et>=0},J=function(){function ot(gt,Et){return Et=m(Et),dt(gt,Et)?v(2,gt[Et]):k(gt,Et)}return ot}(),Z=function(){function ot(gt,Et,it){return Et=m(Et),dt(gt,Et)&&O(it)&&S(it,"value")&&!S(it,"get")&&!S(it,"set")&&!it.configurable&&(!S(it,"writable")||it.writable)&&(!S(it,"enumerable")||it.enumerable)?(gt[Et]=it.value,gt):Y(gt,Et,it)}return ot}();a?(X||(U.f=J,K.f=Z,Nt(at,"buffer"),Nt(at,"byteOffset"),Nt(at,"byteLength"),Nt(at,"length")),n({target:"Object",stat:!0,forced:!X},{getOwnPropertyDescriptor:J,defineProperty:Z}),E.exports=function(ot,gt,Et){var it=ot.match(/\d+/)[0]/8,pt=ot+(Et?"Clamped":"")+"Array",rt="get"+ot,_="set"+ot,yt=r[pt],Ct=yt,Mt=Ct&&Ct.prototype,xt={},Vt=function(bt,It){var Lt=x(bt);return Lt.view[rt](It*it+Lt.byteOffset,!0)},Tt=function(bt,It,Lt){var jt=x(bt);jt.view[_](It*it+jt.byteOffset,Et?g(Lt):Lt,!0)},lt=function(bt,It){Y(bt,It,{get:function(){function Lt(){return Vt(this,It)}return Lt}(),set:function(){function Lt(jt){return Tt(this,It,jt)}return Lt}(),enumerable:!0})};X?u&&(Ct=gt(function(Ot,bt,It,Lt){return h(Ot,Mt),B(function(){return O(bt)?ht(bt)?Lt!==void 0?new yt(bt,d(It,it),Lt):It!==void 0?new yt(bt,d(It,it)):new yt(bt):St(bt)?F(Ct,bt):o(N,Ct,bt):new yt(p(bt))}(),Ot,Ct)}),T&&T(Ct,ct),M(P(yt),function(Ot){Ot in Ct||i(Ct,Ot,yt[Ot])}),Ct.prototype=Mt):(Ct=gt(function(Ot,bt,It,Lt){h(Ot,Mt);var jt=0,$t=0,kt,Yt,Ht;if(!O(bt))Ht=p(bt),Yt=Ht*it,kt=new ut(Yt);else if(ht(bt)){kt=bt,$t=d(It,it);var Jt=bt.byteLength;if(Lt===void 0){if(Jt%it)throw new nt(Rt);if(Yt=Jt-$t,Yt<0)throw new nt(Rt)}else if(Yt=s(Lt)*it,Yt+$t>Jt)throw new nt(Rt);Ht=Yt/it}else return St(bt)?F(Ct,bt):o(N,Ct,bt);for(V(Ot,{buffer:kt,byteOffset:$t,byteLength:Yt,length:Ht,view:new W(kt)});jt<Ht;)lt(Ot,jt++)}),T&&T(Ct,ct),Mt=Ct.prototype=y(at)),Mt.constructor!==Ct&&i(Mt,"constructor",Ct),G(Mt).TypedArrayConstructor=Ct,et&&i(Mt,et,pt);var mt=Ct!==yt;xt[pt]=Ct,n({global:!0,constructor:!0,forced:mt,sham:!X},xt),Pt in Ct||i(Ct,Pt,it),Pt in Mt||i(Mt,Pt,it),R(pt)}):E.exports=function(){}},45410:function(E,e,t){"use strict";var n=t(26856),r=t(13586),o=t(1608),a=t(30432).NATIVE_ARRAY_BUFFER_VIEWS,u=n.ArrayBuffer,l=n.Int8Array;E.exports=!a||!r(function(){l(1)})||!r(function(){new l(-1)})||!o(function(c){new l,new l(null),new l(1.5),new l(c)},!0)||r(function(){return new l(new u(2),1,void 0).length!==1})},85710:function(E,e,t){"use strict";var n=t(21465),r=t(9230);E.exports=function(o,a){return n(r(o),a)}},12778:function(E,e,t){"use strict";var n=t(8942),r=t(20276),o=t(48218),a=t(63549),u=t(83207),l=t(45731),c=t(52984),h=t(48594),v=t(76567),i=t(30432).aTypedArrayConstructor,f=t(73873);E.exports=function(){function s(p){var d=o(this),g=a(p),m=arguments.length,S=m>1?arguments[1]:void 0,I=S!==void 0,O=c(g),C,y,b,T,P,N,M,R;if(O&&!h(O))for(M=l(g,O),R=M.next,g=[];!(N=r(R,M)).done;)g.push(N.value);for(I&&m>2&&(S=n(S,arguments[2])),y=u(g),b=new(i(d))(y),T=v(b),C=0;y>C;C++)P=I?S(g[C],C):g[C],b[C]=T?f(P):+P;return b}return s}()},9230:function(E,e,t){"use strict";var n=t(30432),r=t(83604),o=n.aTypedArrayConstructor,a=n.getTypedArrayConstructor;E.exports=function(u){return o(r(u,a(u)))}},76246:function(E,e,t){"use strict";var n=t(72908),r=0,o=Math.random(),a=n(1 .toString);E.exports=function(u){return"Symbol("+(u===void 0?"":u)+")_"+a(++r+o,36)}},95343:function(E,e,t){"use strict";var n=t(61855);E.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},87168:function(E,e,t){"use strict";var n=t(16361),r=t(13586);E.exports=n&&r(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},92827:function(E){"use strict";var e=TypeError;E.exports=function(t,n){if(t<n)throw new e("Not enough arguments");return t}},73844:function(E,e,t){"use strict";var n=t(26856),r=t(53664),o=n.WeakMap;E.exports=r(o)&&/native code/.test(String(o))},20614:function(E,e,t){"use strict";var n=t(55601),r=t(3302),o=t(15355),a=t(8165).f;E.exports=function(u){var l=n.Symbol||(n.Symbol={});r(l,u)||a(l,u,{value:o.f(u)})}},15355:function(E,e,t){"use strict";var n=t(95558);e.f=n},95558:function(E,e,t){"use strict";var n=t(26856),r=t(7624),o=t(3302),a=t(76246),u=t(61855),l=t(95343),c=n.Symbol,h=r("wks"),v=l?c.for||c:c&&c.withoutSetter||a;E.exports=function(i){return o(h,i)||(h[i]=u&&o(c,i)?c[i]:v("Symbol."+i)),h[i]}},47410:function(E){"use strict";E.exports=" \n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"},41365:function(E,e,t){"use strict";var n=t(3116),r=t(26856),o=t(31284),a=t(92468),u="ArrayBuffer",l=o[u],c=r[u];n({global:!0,constructor:!0,forced:c!==l},{ArrayBuffer:l}),a(u)},58874:function(E,e,t){"use strict";var n=t(3116),r=t(30432),o=r.NATIVE_ARRAY_BUFFER_VIEWS;n({target:"ArrayBuffer",stat:!0,forced:!o},{isView:r.isView})},85806:function(E,e,t){"use strict";var n=t(3116),r=t(69935),o=t(13586),a=t(31284),u=t(45418),l=t(39531),c=t(74369),h=t(83604),v=a.ArrayBuffer,i=a.DataView,f=i.prototype,s=r(v.prototype.slice),p=r(f.getUint8),d=r(f.setUint8),g=o(function(){return!new v(2).slice(1,void 0).byteLength});n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:g},{slice:function(){function m(S,I){if(s&&I===void 0)return s(u(this),S);for(var O=u(this).byteLength,C=l(S,O),y=l(I===void 0?O:I,O),b=new(h(this,v))(c(y-C)),T=new i(this),P=new i(b),N=0;C<y;)d(P,N++,p(T,C++));return b}return m}()})},75836:function(E,e,t){"use strict";var n=t(3116),r=t(13586),o=t(59882),a=t(66379),u=t(63549),l=t(83207),c=t(54579),h=t(80750),v=t(51582),i=t(34924),f=t(95558),s=t(43541),p=f("isConcatSpreadable"),d=s>=51||!r(function(){var S=[];return S[p]=!1,S.concat()[0]!==S}),g=function(I){if(!a(I))return!1;var O=I[p];return O!==void 0?!!O:o(I)},m=!d||!i("concat");n({target:"Array",proto:!0,arity:1,forced:m},{concat:function(){function S(I){var O=u(this),C=v(O,0),y=0,b,T,P,N,M;for(b=-1,P=arguments.length;b<P;b++)if(M=b===-1?O:arguments[b],g(M))for(N=l(M),c(y+N),T=0;T<N;T++,y++)T in M&&h(C,y,M[T]);else c(y+1),h(C,y++,M);return C.length=y,C}return S}()})},33901:function(E,e,t){"use strict";var n=t(3116),r=t(28332),o=t(98759);n({target:"Array",proto:!0},{copyWithin:r}),o("copyWithin")},85803:function(E,e,t){"use strict";var n=t(3116),r=t(18539).every,o=t(56127),a=o("every");n({target:"Array",proto:!0,forced:!a},{every:function(){function u(l){return r(this,l,arguments.length>1?arguments[1]:void 0)}return u}()})},7216:function(E,e,t){"use strict";var n=t(3116),r=t(39948),o=t(98759);n({target:"Array",proto:!0},{fill:r}),o("fill")},50584:function(E,e,t){"use strict";var n=t(3116),r=t(18539).filter,o=t(34924),a=o("filter");n({target:"Array",proto:!0,forced:!a},{filter:function(){function u(l){return r(this,l,arguments.length>1?arguments[1]:void 0)}return u}()})},25972:function(E,e,t){"use strict";var n=t(3116),r=t(18539).findIndex,o=t(98759),a="findIndex",u=!0;a in[]&&Array(1)[a](function(){u=!1}),n({target:"Array",proto:!0,forced:u},{findIndex:function(){function l(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}return l}()}),o(a)},26632:function(E,e,t){"use strict";var n=t(3116),r=t(18539).find,o=t(98759),a="find",u=!0;a in[]&&Array(1)[a](function(){u=!1}),n({target:"Array",proto:!0,forced:u},{find:function(){function l(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}return l}()}),o(a)},14064:function(E,e,t){"use strict";var n=t(3116),r=t(73132),o=t(79474),a=t(63549),u=t(83207),l=t(51582);n({target:"Array",proto:!0},{flatMap:function(){function c(h){var v=a(this),i=u(v),f;return o(h),f=l(v,0),f.length=r(f,v,v,i,0,1,h,arguments.length>1?arguments[1]:void 0),f}return c}()})},55222:function(E,e,t){"use strict";var n=t(3116),r=t(73132),o=t(63549),a=t(83207),u=t(84501),l=t(51582);n({target:"Array",proto:!0},{flat:function(){function c(){var h=arguments.length?arguments[0]:void 0,v=o(this),i=a(v),f=l(v,0);return f.length=r(f,v,v,i,0,h===void 0?1:u(h)),f}return c}()})},68616:function(E,e,t){"use strict";var n=t(3116),r=t(16856);n({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})},45168:function(E,e,t){"use strict";var n=t(3116),r=t(45056),o=t(1608),a=!o(function(u){Array.from(u)});n({target:"Array",stat:!0,forced:a},{from:r})},26088:function(E,e,t){"use strict";var n=t(3116),r=t(33483).includes,o=t(13586),a=t(98759),u=o(function(){return!Array(1).includes()});n({target:"Array",proto:!0,forced:u},{includes:function(){function l(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}return l}()}),a("includes")},92654:function(E,e,t){"use strict";var n=t(3116),r=t(69935),o=t(33483).indexOf,a=t(56127),u=r([].indexOf),l=!!u&&1/u([1],1,-0)<0,c=l||!a("indexOf");n({target:"Array",proto:!0,forced:c},{indexOf:function(){function h(v){var i=arguments.length>1?arguments[1]:void 0;return l?u(this,v,i)||0:o(this,v,i)}return h}()})},58423:function(E,e,t){"use strict";var n=t(3116),r=t(59882);n({target:"Array",stat:!0},{isArray:r})},26017:function(E,e,t){"use strict";var n=t(54292),r=t(98759),o=t(47730),a=t(4471),u=t(8165).f,l=t(21436),c=t(32214),h=t(90139),v=t(16361),i="Array Iterator",f=a.set,s=a.getterFor(i);E.exports=l(Array,"Array",function(d,g){f(this,{type:i,target:n(d),index:0,kind:g})},function(){var d=s(this),g=d.target,m=d.index++;if(!g||m>=g.length)return d.target=void 0,c(void 0,!0);switch(d.kind){case"keys":return c(m,!1);case"values":return c(g[m],!1)}return c([m,g[m]],!1)},"values");var p=o.Arguments=o.Array;if(r("keys"),r("values"),r("entries"),!h&&v&&p.name!=="values")try{u(p,"name",{value:"values"})}catch(d){}},37808:function(E,e,t){"use strict";var n=t(3116),r=t(72908),o=t(80689),a=t(54292),u=t(56127),l=r([].join),c=o!==Object,h=c||!u("join",",");n({target:"Array",proto:!0,forced:h},{join:function(){function v(i){return l(a(this),i===void 0?",":i)}return v}()})},2509:function(E,e,t){"use strict";var n=t(3116),r=t(16400);n({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},2124:function(E,e,t){"use strict";var n=t(3116),r=t(18539).map,o=t(34924),a=o("map");n({target:"Array",proto:!0,forced:!a},{map:function(){function u(l){return r(this,l,arguments.length>1?arguments[1]:void 0)}return u}()})},38196:function(E,e,t){"use strict";var n=t(3116),r=t(13586),o=t(49632),a=t(80750),u=Array,l=r(function(){function c(){}return!(u.of.call(c)instanceof c)});n({target:"Array",stat:!0,forced:l},{of:function(){function c(){for(var h=0,v=arguments.length,i=new(o(this)?this:u)(v);v>h;)a(i,h,arguments[h++]);return i.length=v,i}return c}()})},56913:function(E,e,t){"use strict";var n=t(3116),r=t(58394).right,o=t(56127),a=t(43541),u=t(86727),l=!u&&a>79&&a<83,c=l||!o("reduceRight");n({target:"Array",proto:!0,forced:c},{reduceRight:function(){function h(v){return r(this,v,arguments.length,arguments.length>1?arguments[1]:void 0)}return h}()})},7731:function(E,e,t){"use strict";var n=t(3116),r=t(58394).left,o=t(56127),a=t(43541),u=t(86727),l=!u&&a>79&&a<83,c=l||!o("reduce");n({target:"Array",proto:!0,forced:c},{reduce:function(){function h(v){var i=arguments.length;return r(this,v,i,i>1?arguments[1]:void 0)}return h}()})},48704:function(E,e,t){"use strict";var n=t(3116),r=t(72908),o=t(59882),a=r([].reverse),u=[1,2];n({target:"Array",proto:!0,forced:String(u)===String(u.reverse())},{reverse:function(){function l(){return o(this)&&(this.length=this.length),a(this)}return l}()})},24077:function(E,e,t){"use strict";var n=t(3116),r=t(59882),o=t(49632),a=t(66379),u=t(39531),l=t(83207),c=t(54292),h=t(80750),v=t(95558),i=t(34924),f=t(31170),s=i("slice"),p=v("species"),d=Array,g=Math.max;n({target:"Array",proto:!0,forced:!s},{slice:function(){function m(S,I){var O=c(this),C=l(O),y=u(S,C),b=u(I===void 0?C:I,C),T,P,N;if(r(O)&&(T=O.constructor,o(T)&&(T===d||r(T.prototype))?T=void 0:a(T)&&(T=T[p],T===null&&(T=void 0)),T===d||T===void 0))return f(O,y,b);for(P=new(T===void 0?d:T)(g(b-y,0)),N=0;y<b;y++,N++)y in O&&h(P,N,O[y]);return P.length=N,P}return m}()})},60230:function(E,e,t){"use strict";var n=t(3116),r=t(18539).some,o=t(56127),a=o("some");n({target:"Array",proto:!0,forced:!a},{some:function(){function u(l){return r(this,l,arguments.length>1?arguments[1]:void 0)}return u}()})},43430:function(E,e,t){"use strict";var n=t(3116),r=t(72908),o=t(79474),a=t(63549),u=t(83207),l=t(81245),c=t(8758),h=t(13586),v=t(91183),i=t(56127),f=t(31574),s=t(88836),p=t(43541),d=t(27204),g=[],m=r(g.sort),S=r(g.push),I=h(function(){g.sort(void 0)}),O=h(function(){g.sort(null)}),C=i("sort"),y=!h(function(){if(p)return p<70;if(!(f&&f>3)){if(s)return!0;if(d)return d<603;var P="",N,M,R,L;for(N=65;N<76;N++){switch(M=String.fromCharCode(N),N){case 66:case 69:case 70:case 72:R=3;break;case 68:case 71:R=4;break;default:R=2}for(L=0;L<47;L++)g.push({k:M+L,v:R})}for(g.sort(function(K,U){return U.v-K.v}),L=0;L<g.length;L++)M=g[L].k.charAt(0),P.charAt(P.length-1)!==M&&(P+=M);return P!=="DGBEFHACIJK"}}),b=I||!O||!C||!y,T=function(N){return function(M,R){return R===void 0?-1:M===void 0?1:N!==void 0?+N(M,R)||0:c(M)>c(R)?1:-1}};n({target:"Array",proto:!0,forced:b},{sort:function(){function P(N){N!==void 0&&o(N);var M=a(this);if(y)return N===void 0?m(M):m(M,N);var R=[],L=u(M),K,U;for(U=0;U<L;U++)U in M&&S(R,M[U]);for(v(R,T(N)),K=u(R),U=0;U<K;)M[U]=R[U++];for(;U<L;)l(M,U++);return M}return P}()})},53407:function(E,e,t){"use strict";var n=t(92468);n("Array")},69220:function(E,e,t){"use strict";var n=t(3116),r=t(63549),o=t(39531),a=t(84501),u=t(83207),l=t(10779),c=t(54579),h=t(51582),v=t(80750),i=t(81245),f=t(34924),s=f("splice"),p=Math.max,d=Math.min;n({target:"Array",proto:!0,forced:!s},{splice:function(){function g(m,S){var I=r(this),O=u(I),C=o(m,O),y=arguments.length,b,T,P,N,M,R;for(y===0?b=T=0:y===1?(b=0,T=O-C):(b=y-2,T=d(p(a(S),0),O-C)),c(O+b-T),P=h(I,T),N=0;N<T;N++)M=C+N,M in I&&v(P,N,I[M]);if(P.length=T,b<T){for(N=C;N<O-T;N++)M=N+T,R=N+b,M in I?I[R]=I[M]:i(I,R);for(N=O;N>O-T+b;N--)i(I,N-1)}else if(b>T)for(N=O-T;N>C;N--)M=N+T-1,R=N+b-1,M in I?I[R]=I[M]:i(I,R);for(N=0;N<b;N++)I[N+C]=arguments[N+2];return l(I,O-T+b),P}return g}()})},55784:function(E,e,t){"use strict";var n=t(98759);n("flatMap")},72978:function(E,e,t){"use strict";var n=t(98759);n("flat")},42860:function(E,e,t){"use strict";var n=t(3116),r=t(31284),o=t(11559);n({global:!0,constructor:!0,forced:!o},{DataView:r.DataView})},3521:function(E,e,t){"use strict";t(42860)},94961:function(E,e,t){"use strict";var n=t(3116),r=t(72908),o=Date,a=r(o.prototype.getTime);n({target:"Date",stat:!0},{now:function(){function u(){return a(new o)}return u}()})},91777:function(E,e,t){"use strict";var n=t(3116),r=t(20228);n({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},49615:function(E,e,t){"use strict";var n=t(3116),r=t(13586),o=t(63549),a=t(9560),u=r(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){function l(){return 1}return l}()})!==1});n({target:"Date",proto:!0,arity:1,forced:u},{toJSON:function(){function l(c){var h=o(this),v=a(h,"number");return typeof v=="number"&&!isFinite(v)?null:h.toISOString()}return l}()})},70700:function(E,e,t){"use strict";var n=t(3302),r=t(60855),o=t(81603),a=t(95558),u=a("toPrimitive"),l=Date.prototype;n(l,u)||r(l,u,o)},31032:function(E,e,t){"use strict";var n=t(72908),r=t(60855),o=Date.prototype,a="Invalid Date",u="toString",l=n(o[u]),c=n(o.getTime);String(new Date(NaN))!==a&&r(o,u,function(){function h(){var v=c(this);return v===v?l(this):a}return h}())},83329:function(E,e,t){"use strict";var n=t(3116),r=t(82060);n({target:"Function",proto:!0,forced:Function.bind!==r},{bind:r})},15700:function(E,e,t){"use strict";var n=t(53664),r=t(66379),o=t(8165),a=t(54341),u=t(95558),l=t(40773),c=u("hasInstance"),h=Function.prototype;c in h||o.f(h,c,{value:l(function(v){if(!n(this)||!r(v))return!1;var i=this.prototype;return r(i)?a(i,v):v instanceof this},c)})},85783:function(E,e,t){"use strict";var n=t(16361),r=t(15340).EXISTS,o=t(72908),a=t(57301),u=Function.prototype,l=o(u.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,h=o(c.exec),v="name";n&&!r&&a(u,v,{configurable:!0,get:function(){function i(){try{return h(c,l(this))[1]}catch(f){return""}}return i}()})},34233:function(E,e,t){"use strict";var n=t(3116),r=t(22070),o=t(47244),a=t(20276),u=t(72908),l=t(13586),c=t(53664),h=t(43474),v=t(31170),i=t(58226),f=t(61855),s=String,p=r("JSON","stringify"),d=u(/./.exec),g=u("".charAt),m=u("".charCodeAt),S=u("".replace),I=u(1 .toString),O=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,y=/^[\uDC00-\uDFFF]$/,b=!f||l(function(){var M=r("Symbol")("stringify detection");return p([M])!=="[null]"||p({a:M})!=="{}"||p(Object(M))!=="{}"}),T=l(function(){return p("\uDF06\uD834")!=='"\\udf06\\ud834"'||p("\uDEAD")!=='"\\udead"'}),P=function(R,L){var K=v(arguments),U=i(L);if(!(!c(U)&&(R===void 0||h(R))))return K[1]=function(F,$){if(c(U)&&($=a(U,this,s(F),$)),!h($))return $},o(p,null,K)},N=function(R,L,K){var U=g(K,L-1),F=g(K,L+1);return d(C,R)&&!d(y,F)||d(y,R)&&!d(C,U)?"\\u"+I(m(R,0),16):R};p&&n({target:"JSON",stat:!0,arity:3,forced:b||T},{stringify:function(){function M(R,L,K){var U=v(arguments),F=o(b?P:p,null,U);return T&&typeof F=="string"?S(F,O,N):F}return M}()})},51430:function(E,e,t){"use strict";var n=t(26856),r=t(15676);r(n.JSON,"JSON",!0)},88826:function(E,e,t){"use strict";var n=t(10609),r=t(42384);n("Map",function(o){return function(){function a(){return o(this,arguments.length?arguments[0]:void 0)}return a}()},r)},10944:function(E,e,t){"use strict";t(88826)},36418:function(E,e,t){"use strict";var n=t(3116),r=t(50169),o=Math.acosh,a=Math.log,u=Math.sqrt,l=Math.LN2,c=!o||Math.floor(o(Number.MAX_VALUE))!==710||o(1/0)!==1/0;n({target:"Math",stat:!0,forced:c},{acosh:function(){function h(v){var i=+v;return i<1?NaN:i>9490626562425156e-8?a(i)+l:r(i-1+u(i-1)*u(i+1))}return h}()})},68872:function(E,e,t){"use strict";var n=t(3116),r=Math.asinh,o=Math.log,a=Math.sqrt;function u(c){var h=+c;return!isFinite(h)||h===0?h:h<0?-u(-h):o(h+a(h*h+1))}var l=!(r&&1/r(0)>0);n({target:"Math",stat:!0,forced:l},{asinh:u})},93105:function(E,e,t){"use strict";var n=t(3116),r=Math.atanh,o=Math.log,a=!(r&&1/r(-0)<0);n({target:"Math",stat:!0,forced:a},{atanh:function(){function u(l){var c=+l;return c===0?c:o((1+c)/(1-c))/2}return u}()})},1795:function(E,e,t){"use strict";var n=t(3116),r=t(30585),o=Math.abs,a=Math.pow;n({target:"Math",stat:!0},{cbrt:function(){function u(l){var c=+l;return r(c)*a(o(c),.3333333333333333)}return u}()})},11121:function(E,e,t){"use strict";var n=t(3116),r=Math.floor,o=Math.log,a=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(){function u(l){var c=l>>>0;return c?31-r(o(c+.5)*a):32}return u}()})},18730:function(E,e,t){"use strict";var n=t(3116),r=t(80563),o=Math.cosh,a=Math.abs,u=Math.E,l=!o||o(710)===1/0;n({target:"Math",stat:!0,forced:l},{cosh:function(){function c(h){var v=r(a(h)-1)+1;return(v+1/(v*u*u))*(u/2)}return c}()})},11624:function(E,e,t){"use strict";var n=t(3116),r=t(80563);n({target:"Math",stat:!0,forced:r!==Math.expm1},{expm1:r})},89004:function(E,e,t){"use strict";var n=t(3116),r=t(48705);n({target:"Math",stat:!0},{fround:r})},72680:function(E,e,t){"use strict";var n=t(3116),r=Math.hypot,o=Math.abs,a=Math.sqrt,u=!!r&&r(1/0,NaN)!==1/0;n({target:"Math",stat:!0,arity:2,forced:u},{hypot:function(){function l(c,h){for(var v=0,i=0,f=arguments.length,s=0,p,d;i<f;)p=o(arguments[i++]),s<p?(d=s/p,v=v*d*d+1,s=p):p>0?(d=p/s,v+=d*d):v+=p;return s===1/0?1/0:s*a(v)}return l}()})},75213:function(E,e,t){"use strict";var n=t(3116),r=t(13586),o=Math.imul,a=r(function(){return o(4294967295,5)!==-5||o.length!==2});n({target:"Math",stat:!0,forced:a},{imul:function(){function u(l,c){var h=65535,v=+l,i=+c,f=h&v,s=h&i;return 0|f*s+((h&v>>>16)*s+f*(h&i>>>16)<<16>>>0)}return u}()})},4347:function(E,e,t){"use strict";var n=t(3116),r=t(74347);n({target:"Math",stat:!0},{log10:r})},86433:function(E,e,t){"use strict";var n=t(3116),r=t(50169);n({target:"Math",stat:!0},{log1p:r})},21401:function(E,e,t){"use strict";var n=t(3116),r=Math.log,o=Math.LN2;n({target:"Math",stat:!0},{log2:function(){function a(u){return r(u)/o}return a}()})},54468:function(E,e,t){"use strict";var n=t(3116),r=t(30585);n({target:"Math",stat:!0},{sign:r})},36183:function(E,e,t){"use strict";var n=t(3116),r=t(13586),o=t(80563),a=Math.abs,u=Math.exp,l=Math.E,c=r(function(){return Math.sinh(-2e-17)!==-2e-17});n({target:"Math",stat:!0,forced:c},{sinh:function(){function h(v){var i=+v;return a(i)<1?(o(i)-o(-i))/2:(u(i-1)-u(-i-1))*(l/2)}return h}()})},95499:function(E,e,t){"use strict";var n=t(3116),r=t(80563),o=Math.exp;n({target:"Math",stat:!0},{tanh:function(){function a(u){var l=+u,c=r(l),h=r(-l);return c===1/0?1:h===1/0?-1:(c-h)/(o(l)+o(-l))}return a}()})},50929:function(E,e,t){"use strict";var n=t(15676);n(Math,"Math",!0)},91447:function(E,e,t){"use strict";var n=t(3116),r=t(54037);n({target:"Math",stat:!0},{trunc:r})},84314:function(E,e,t){"use strict";var n=t(3116),r=t(90139),o=t(16361),a=t(26856),u=t(55601),l=t(72908),c=t(23620),h=t(3302),v=t(43405),i=t(54341),f=t(43474),s=t(9560),p=t(13586),d=t(60097).f,g=t(19765).f,m=t(8165).f,S=t(7950),I=t(47913).trim,O="Number",C=a[O],y=u[O],b=C.prototype,T=a.TypeError,P=l("".slice),N=l("".charCodeAt),M=function(B){var x=s(B,"number");return typeof x=="bigint"?x:R(x)},R=function(B){var x=s(B,"number"),V,G,Y,k,nt,ut,ft,W;if(f(x))throw new T("Cannot convert a Symbol value to a number");if(typeof x=="string"&&x.length>2){if(x=I(x),V=N(x,0),V===43||V===45){if(G=N(x,2),G===88||G===120)return NaN}else if(V===48){switch(N(x,1)){case 66:case 98:Y=2,k=49;break;case 79:case 111:Y=8,k=55;break;default:return+x}for(nt=P(x,2),ut=nt.length,ft=0;ft<ut;ft++)if(W=N(nt,ft),W<48||W>k)return NaN;return parseInt(nt,Y)}}return+x},L=c(O,!C(" 0o1")||!C("0b1")||C("+0x1")),K=function(B){return i(b,B)&&p(function(){S(B)})},U=function(){function $(B){var x=arguments.length<1?0:C(M(B));return K(this)?v(Object(x),this,U):x}return $}();U.prototype=b,L&&!r&&(b.constructor=U),n({global:!0,constructor:!0,wrap:!0,forced:L},{Number:U});var F=function(B,x){for(var V=o?d(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),G=0,Y;V.length>G;G++)h(x,Y=V[G])&&!h(B,Y)&&m(B,Y,g(x,Y))};r&&y&&F(u[O],y),(L||r)&&F(u[O],C)},48211:function(E,e,t){"use strict";var n=t(3116);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},52237:function(E,e,t){"use strict";var n=t(3116),r=t(23944);n({target:"Number",stat:!0},{isFinite:r})},306:function(E,e,t){"use strict";var n=t(3116),r=t(76117);n({target:"Number",stat:!0},{isInteger:r})},22509:function(E,e,t){"use strict";var n=t(3116);n({target:"Number",stat:!0},{isNaN:function(){function r(o){return o!==o}return r}()})},84660:function(E,e,t){"use strict";var n=t(3116),r=t(76117),o=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function(){function a(u){return r(u)&&o(u)<=9007199254740991}return a}()})},82678:function(E,e,t){"use strict";var n=t(3116);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},76585:function(E,e,t){"use strict";var n=t(3116);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},21733:function(E,e,t){"use strict";var n=t(3116),r=t(98973);n({target:"Number",stat:!0,forced:Number.parseFloat!==r},{parseFloat:r})},21210:function(E,e,t){"use strict";var n=t(3116),r=t(41148);n({target:"Number",stat:!0,forced:Number.parseInt!==r},{parseInt:r})},10272:function(E,e,t){"use strict";var n=t(3116),r=t(72908),o=t(84501),a=t(7950),u=t(75463),l=t(13586),c=RangeError,h=String,v=Math.floor,i=r(u),f=r("".slice),s=r(1 .toFixed),p=function O(C,y,b){return y===0?b:y%2===1?O(C,y-1,b*C):O(C*C,y/2,b)},d=function(C){for(var y=0,b=C;b>=4096;)y+=12,b/=4096;for(;b>=2;)y+=1,b/=2;return y},g=function(C,y,b){for(var T=-1,P=b;++T<6;)P+=y*C[T],C[T]=P%1e7,P=v(P/1e7)},m=function(C,y){for(var b=6,T=0;--b>=0;)T+=C[b],C[b]=v(T/y),T=T%y*1e7},S=function(C){for(var y=6,b="";--y>=0;)if(b!==""||y===0||C[y]!==0){var T=h(C[y]);b=b===""?T:b+i("0",7-T.length)+T}return b},I=l(function(){return s(8e-5,3)!=="0.000"||s(.9,0)!=="1"||s(1.255,2)!=="1.25"||s(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!l(function(){s({})});n({target:"Number",proto:!0,forced:I},{toFixed:function(){function O(C){var y=a(this),b=o(C),T=[0,0,0,0,0,0],P="",N="0",M,R,L,K;if(b<0||b>20)throw new c("Incorrect fraction digits");if(y!==y)return"NaN";if(y<=-1e21||y>=1e21)return h(y);if(y<0&&(P="-",y=-y),y>1e-21)if(M=d(y*p(2,69,1))-69,R=M<0?y*p(2,-M,1):y/p(2,M,1),R*=4503599627370496,M=52-M,M>0){for(g(T,0,R),L=b;L>=7;)g(T,1e7,0),L-=7;for(g(T,p(10,L,1),0),L=M-1;L>=23;)m(T,8388608),L-=23;m(T,1<<L),g(T,1,1),m(T,2),N=S(T)}else g(T,0,R),g(T,1<<-M,0),N=S(T)+i("0",b);return b>0?(K=N.length,N=P+(K<=b?"0."+i("0",b-K)+N:f(N,0,K-b)+"."+f(N,K-b))):N=P+N,N}return O}()})},83403:function(E,e,t){"use strict";var n=t(3116),r=t(72908),o=t(13586),a=t(7950),u=r(1 .toPrecision),l=o(function(){return u(1,void 0)!=="1"})||!o(function(){u({})});n({target:"Number",proto:!0,forced:l},{toPrecision:function(){function c(h){return h===void 0?u(a(this)):u(a(this),h)}return c}()})},4229:function(E,e,t){"use strict";var n=t(3116),r=t(23554);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},53388:function(E,e,t){"use strict";var n=t(3116),r=t(16361),o=t(15439);n({target:"Object",stat:!0,sham:!r},{create:o})},53121:function(E,e,t){"use strict";var n=t(3116),r=t(16361),o=t(6205),a=t(79474),u=t(63549),l=t(8165);r&&n({target:"Object",proto:!0,forced:o},{__defineGetter__:function(){function c(h,v){l.f(u(this),h,{get:a(v),enumerable:!0,configurable:!0})}return c}()})},53822:function(E,e,t){"use strict";var n=t(3116),r=t(16361),o=t(55119).f;n({target:"Object",stat:!0,forced:Object.defineProperties!==o,sham:!r},{defineProperties:o})},2514:function(E,e,t){"use strict";var n=t(3116),r=t(16361),o=t(8165).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!r},{defineProperty:o})},2218:function(E,e,t){"use strict";var n=t(3116),r=t(16361),o=t(6205),a=t(79474),u=t(63549),l=t(8165);r&&n({target:"Object",proto:!0,forced:o},{__defineSetter__:function(){function c(h,v){l.f(u(this),h,{set:a(v),enumerable:!0,configurable:!0})}return c}()})},14955:function(E,e,t){"use strict";var n=t(3116),r=t(64266).entries;n({target:"Object",stat:!0},{entries:function(){function o(a){return r(a)}return o}()})},79220:function(E,e,t){"use strict";var n=t(3116),r=t(58199),o=t(13586),a=t(66379),u=t(66526).onFreeze,l=Object.freeze,c=o(function(){l(1)});n({target:"Object",stat:!0,forced:c,sham:!r},{freeze:function(){function h(v){return l&&a(v)?l(u(v)):v}return h}()})},81941:function(E,e,t){"use strict";var n=t(3116),r=t(20453),o=t(80750);n({target:"Object",stat:!0},{fromEntries:function(){function a(u){var l={};return r(u,function(c,h){o(l,c,h)},{AS_ENTRIES:!0}),l}return a}()})},37245:function(E,e,t){"use strict";var n=t(3116),r=t(13586),o=t(54292),a=t(19765).f,u=t(16361),l=!u||r(function(){a(1)});n({target:"Object",stat:!0,forced:l,sham:!u},{getOwnPropertyDescriptor:function(){function c(h,v){return a(o(h),v)}return c}()})},8373:function(E,e,t){"use strict";var n=t(3116),r=t(16361),o=t(53988),a=t(54292),u=t(19765),l=t(80750);n({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(){function c(h){for(var v=a(h),i=u.f,f=o(v),s={},p=0,d,g;f.length>p;)g=i(v,d=f[p++]),g!==void 0&&l(s,d,g);return s}return c}()})},81212:function(E,e,t){"use strict";var n=t(3116),r=t(13586),o=t(31024).f,a=r(function(){return!Object.getOwnPropertyNames(1)});n({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:o})},56896:function(E,e,t){"use strict";var n=t(3116),r=t(61855),o=t(13586),a=t(61791),u=t(63549),l=!r||o(function(){a.f(1)});n({target:"Object",stat:!0,forced:l},{getOwnPropertySymbols:function(){function c(h){var v=a.f;return v?v(u(h)):[]}return c}()})},26054:function(E,e,t){"use strict";var n=t(3116),r=t(13586),o=t(63549),a=t(56379),u=t(62297),l=r(function(){a(1)});n({target:"Object",stat:!0,forced:l,sham:!u},{getPrototypeOf:function(){function c(h){return a(o(h))}return c}()})},49611:function(E,e,t){"use strict";var n=t(3116),r=t(58221);n({target:"Object",stat:!0,forced:Object.isExtensible!==r},{isExtensible:r})},98344:function(E,e,t){"use strict";var n=t(3116),r=t(13586),o=t(66379),a=t(8649),u=t(8685),l=Object.isFrozen,c=u||r(function(){l(1)});n({target:"Object",stat:!0,forced:c},{isFrozen:function(){function h(v){return!o(v)||u&&a(v)==="ArrayBuffer"?!0:l?l(v):!1}return h}()})},55750:function(E,e,t){"use strict";var n=t(3116),r=t(13586),o=t(66379),a=t(8649),u=t(8685),l=Object.isSealed,c=u||r(function(){l(1)});n({target:"Object",stat:!0,forced:c},{isSealed:function(){function h(v){return!o(v)||u&&a(v)==="ArrayBuffer"?!0:l?l(v):!1}return h}()})},57745:function(E,e,t){"use strict";var n=t(3116),r=t(91935);n({target:"Object",stat:!0},{is:r})},7340:function(E,e,t){"use strict";var n=t(3116),r=t(63549),o=t(99869),a=t(13586),u=a(function(){o(1)});n({target:"Object",stat:!0,forced:u},{keys:function(){function l(c){return o(r(c))}return l}()})},63429:function(E,e,t){"use strict";var n=t(3116),r=t(16361),o=t(6205),a=t(63549),u=t(72445),l=t(56379),c=t(19765).f;r&&n({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(){function h(v){var i=a(this),f=u(v),s;do if(s=c(i,f))return s.get;while(i=l(i))}return h}()})},9558:function(E,e,t){"use strict";var n=t(3116),r=t(16361),o=t(6205),a=t(63549),u=t(72445),l=t(56379),c=t(19765).f;r&&n({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(){function h(v){var i=a(this),f=u(v),s;do if(s=c(i,f))return s.set;while(i=l(i))}return h}()})},2420:function(E,e,t){"use strict";var n=t(3116),r=t(66379),o=t(66526).onFreeze,a=t(58199),u=t(13586),l=Object.preventExtensions,c=u(function(){l(1)});n({target:"Object",stat:!0,forced:c,sham:!a},{preventExtensions:function(){function h(v){return l&&r(v)?l(o(v)):v}return h}()})},19015:function(E,e,t){"use strict";var n=t(3116),r=t(66379),o=t(66526).onFreeze,a=t(58199),u=t(13586),l=Object.seal,c=u(function(){l(1)});n({target:"Object",stat:!0,forced:c,sham:!a},{seal:function(){function h(v){return l&&r(v)?l(o(v)):v}return h}()})},34137:function(E,e,t){"use strict";var n=t(3116),r=t(91420);n({target:"Object",stat:!0},{setPrototypeOf:r})},24705:function(E,e,t){"use strict";var n=t(41936),r=t(60855),o=t(6625);n||r(Object.prototype,"toString",o,{unsafe:!0})},55318:function(E,e,t){"use strict";var n=t(3116),r=t(64266).values;n({target:"Object",stat:!0},{values:function(){function o(a){return r(a)}return o}()})},49456:function(E,e,t){"use strict";var n=t(3116),r=t(98973);n({global:!0,forced:parseFloat!==r},{parseFloat:r})},12217:function(E,e,t){"use strict";var n=t(3116),r=t(41148);n({global:!0,forced:parseInt!==r},{parseInt:r})},70479:function(E,e,t){"use strict";var n=t(3116),r=t(20276),o=t(79474),a=t(14187),u=t(73034),l=t(20453),c=t(18182);n({target:"Promise",stat:!0,forced:c},{all:function(){function h(v){var i=this,f=a.f(i),s=f.resolve,p=f.reject,d=u(function(){var g=o(i.resolve),m=[],S=0,I=1;l(v,function(O){var C=S++,y=!1;I++,r(g,i,O).then(function(b){y||(y=!0,m[C]=b,--I||s(m))},p)}),--I||s(m)});return d.error&&p(d.value),f.promise}return h}()})},72188:function(E,e,t){"use strict";var n=t(3116),r=t(90139),o=t(14657).CONSTRUCTOR,a=t(3e3),u=t(22070),l=t(53664),c=t(60855),h=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(){function i(f){return this.then(void 0,f)}return i}()}),!r&&l(a)){var v=u("Promise").prototype.catch;h.catch!==v&&c(h,"catch",v,{unsafe:!0})}},13779:function(E,e,t){"use strict";var n=t(3116),r=t(90139),o=t(86727),a=t(26856),u=t(20276),l=t(60855),c=t(91420),h=t(15676),v=t(92468),i=t(79474),f=t(53664),s=t(66379),p=t(14434),d=t(83604),g=t(87073).set,m=t(60816),S=t(66481),I=t(73034),O=t(8274),C=t(4471),y=t(3e3),b=t(14657),T=t(14187),P="Promise",N=b.CONSTRUCTOR,M=b.REJECTION_EVENT,R=b.SUBCLASSING,L=C.getterFor(P),K=C.set,U=y&&y.prototype,F=y,$=U,B=a.TypeError,x=a.document,V=a.process,G=T.f,Y=G,k=!!(x&&x.createEvent&&a.dispatchEvent),nt="unhandledrejection",ut="rejectionhandled",ft=0,W=1,X=2,et=1,ct=2,at,St,Pt,Rt,Nt=function(_){var yt;return s(_)&&f(yt=_.then)?yt:!1},ht=function(_,yt){var Ct=yt.value,Mt=yt.state===W,xt=Mt?_.ok:_.fail,Vt=_.resolve,Tt=_.reject,lt=_.domain,mt,Ot,bt;try{xt?(Mt||(yt.rejection===ct&>(yt),yt.rejection=et),xt===!0?mt=Ct:(lt&<.enter(),mt=xt(Ct),lt&&(lt.exit(),bt=!0)),mt===_.promise?Tt(new B("Promise-chain cycle")):(Ot=Nt(mt))?u(Ot,mt,Vt,Tt):Vt(mt)):Tt(Ct)}catch(It){lt&&!bt&<.exit(),Tt(It)}},dt=function(_,yt){_.notified||(_.notified=!0,m(function(){for(var Ct=_.reactions,Mt;Mt=Ct.get();)ht(Mt,_);_.notified=!1,yt&&!_.rejection&&Z(_)}))},J=function(_,yt,Ct){var Mt,xt;k?(Mt=x.createEvent("Event"),Mt.promise=yt,Mt.reason=Ct,Mt.initEvent(_,!1,!0),a.dispatchEvent(Mt)):Mt={promise:yt,reason:Ct},!M&&(xt=a["on"+_])?xt(Mt):_===nt&&S("Unhandled promise rejection",Ct)},Z=function(_){u(g,a,function(){var yt=_.facade,Ct=_.value,Mt=ot(_),xt;if(Mt&&(xt=I(function(){o?V.emit("unhandledRejection",Ct,yt):J(nt,yt,Ct)}),_.rejection=o||ot(_)?ct:et,xt.error))throw xt.value})},ot=function(_){return _.rejection!==et&&!_.parent},gt=function(_){u(g,a,function(){var yt=_.facade;o?V.emit("rejectionHandled",yt):J(ut,yt,_.value)})},Et=function(_,yt,Ct){return function(Mt){_(yt,Mt,Ct)}},it=function(_,yt,Ct){_.done||(_.done=!0,Ct&&(_=Ct),_.value=yt,_.state=X,dt(_,!0))},pt=function rt(_,yt,Ct){if(!_.done){_.done=!0,Ct&&(_=Ct);try{if(_.facade===yt)throw new B("Promise can't be resolved itself");var Mt=Nt(yt);Mt?m(function(){var xt={done:!1};try{u(Mt,yt,Et(rt,xt,_),Et(it,xt,_))}catch(Vt){it(xt,Vt,_)}}):(_.value=yt,_.state=W,dt(_,!1))}catch(xt){it({done:!1},xt,_)}}};if(N&&(F=function(){function rt(_){p(this,$),i(_),u(at,this);var yt=L(this);try{_(Et(pt,yt),Et(it,yt))}catch(Ct){it(yt,Ct)}}return rt}(),$=F.prototype,at=function(){function rt(_){K(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:ft,value:void 0})}return rt}(),at.prototype=l($,"then",function(){function rt(_,yt){var Ct=L(this),Mt=G(d(this,F));return Ct.parent=!0,Mt.ok=f(_)?_:!0,Mt.fail=f(yt)&&yt,Mt.domain=o?V.domain:void 0,Ct.state===ft?Ct.reactions.add(Mt):m(function(){ht(Mt,Ct)}),Mt.promise}return rt}()),St=function(){var _=new at,yt=L(_);this.promise=_,this.resolve=Et(pt,yt),this.reject=Et(it,yt)},T.f=G=function(_){return _===F||_===Pt?new St(_):Y(_)},!r&&f(y)&&U!==Object.prototype)){Rt=U.then,R||l(U,"then",function(){function rt(_,yt){var Ct=this;return new F(function(Mt,xt){u(Rt,Ct,Mt,xt)}).then(_,yt)}return rt}(),{unsafe:!0});try{delete U.constructor}catch(rt){}c&&c(U,$)}n({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:F}),h(F,P,!1,!0),v(P)},79063:function(E,e,t){"use strict";var n=t(3116),r=t(90139),o=t(3e3),a=t(13586),u=t(22070),l=t(53664),c=t(83604),h=t(61988),v=t(60855),i=o&&o.prototype,f=!!o&&a(function(){i.finally.call({then:function(){function p(){}return p}()},function(){})});if(n({target:"Promise",proto:!0,real:!0,forced:f},{finally:function(){function p(d){var g=c(this,u("Promise")),m=l(d);return this.then(m?function(S){return h(g,d()).then(function(){return S})}:d,m?function(S){return h(g,d()).then(function(){throw S})}:d)}return p}()}),!r&&l(o)){var s=u("Promise").prototype.finally;i.finally!==s&&v(i,"finally",s,{unsafe:!0})}},75795:function(E,e,t){"use strict";t(13779),t(70479),t(72188),t(18199),t(75955),t(39996)},18199:function(E,e,t){"use strict";var n=t(3116),r=t(20276),o=t(79474),a=t(14187),u=t(73034),l=t(20453),c=t(18182);n({target:"Promise",stat:!0,forced:c},{race:function(){function h(v){var i=this,f=a.f(i),s=f.reject,p=u(function(){var d=o(i.resolve);l(v,function(g){r(d,i,g).then(f.resolve,s)})});return p.error&&s(p.value),f.promise}return h}()})},75955:function(E,e,t){"use strict";var n=t(3116),r=t(14187),o=t(14657).CONSTRUCTOR;n({target:"Promise",stat:!0,forced:o},{reject:function(){function a(u){var l=r.f(this),c=l.reject;return c(u),l.promise}return a}()})},39996:function(E,e,t){"use strict";var n=t(3116),r=t(22070),o=t(90139),a=t(3e3),u=t(14657).CONSTRUCTOR,l=t(61988),c=r("Promise"),h=o&&!u;n({target:"Promise",stat:!0,forced:o||u},{resolve:function(){function v(i){return l(h&&this===c?a:this,i)}return v}()})},1210:function(E,e,t){"use strict";var n=t(3116),r=t(47244),o=t(79474),a=t(45418),u=t(13586),l=!u(function(){Reflect.apply(function(){})});n({target:"Reflect",stat:!0,forced:l},{apply:function(){function c(h,v,i){return r(o(h),v,a(i))}return c}()})},91370:function(E,e,t){"use strict";var n=t(3116),r=t(22070),o=t(47244),a=t(82060),u=t(48218),l=t(45418),c=t(66379),h=t(15439),v=t(13586),i=r("Reflect","construct"),f=Object.prototype,s=[].push,p=v(function(){function m(){}return!(i(function(){},[],m)instanceof m)}),d=!v(function(){i(function(){})}),g=p||d;n({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(){function m(S,I){u(S),l(I);var O=arguments.length<3?S:u(arguments[2]);if(d&&!p)return i(S,I,O);if(S===O){switch(I.length){case 0:return new S;case 1:return new S(I[0]);case 2:return new S(I[0],I[1]);case 3:return new S(I[0],I[1],I[2]);case 4:return new S(I[0],I[1],I[2],I[3])}var C=[null];return o(s,C,I),new(o(a,S,C))}var y=O.prototype,b=h(c(y)?y:f),T=o(S,b,I);return c(T)?T:b}return m}()})},17327:function(E,e,t){"use strict";var n=t(3116),r=t(16361),o=t(45418),a=t(72445),u=t(8165),l=t(13586),c=l(function(){Reflect.defineProperty(u.f({},1,{value:1}),1,{value:2})});n({target:"Reflect",stat:!0,forced:c,sham:!r},{defineProperty:function(){function h(v,i,f){o(v);var s=a(i);o(f);try{return u.f(v,s,f),!0}catch(p){return!1}}return h}()})},2679:function(E,e,t){"use strict";var n=t(3116),r=t(45418),o=t(19765).f;n({target:"Reflect",stat:!0},{deleteProperty:function(){function a(u,l){var c=o(r(u),l);return c&&!c.configurable?!1:delete u[l]}return a}()})},27262:function(E,e,t){"use strict";var n=t(3116),r=t(16361),o=t(45418),a=t(19765);n({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(){function u(l,c){return a.f(o(l),c)}return u}()})},47278:function(E,e,t){"use strict";var n=t(3116),r=t(45418),o=t(56379),a=t(62297);n({target:"Reflect",stat:!0,sham:!a},{getPrototypeOf:function(){function u(l){return o(r(l))}return u}()})},60733:function(E,e,t){"use strict";var n=t(3116),r=t(20276),o=t(66379),a=t(45418),u=t(75129),l=t(19765),c=t(56379);function h(v,i){var f=arguments.length<3?v:arguments[2],s,p;if(a(v)===f)return v[i];if(s=l.f(v,i),s)return u(s)?s.value:s.get===void 0?void 0:r(s.get,f);if(o(p=c(v)))return h(p,i,f)}n({target:"Reflect",stat:!0},{get:h})},22547:function(E,e,t){"use strict";var n=t(3116);n({target:"Reflect",stat:!0},{has:function(){function r(o,a){return a in o}return r}()})},92992:function(E,e,t){"use strict";var n=t(3116),r=t(45418),o=t(58221);n({target:"Reflect",stat:!0},{isExtensible:function(){function a(u){return r(u),o(u)}return a}()})},64650:function(E,e,t){"use strict";var n=t(3116),r=t(53988);n({target:"Reflect",stat:!0},{ownKeys:r})},71255:function(E,e,t){"use strict";var n=t(3116),r=t(22070),o=t(45418),a=t(58199);n({target:"Reflect",stat:!0,sham:!a},{preventExtensions:function(){function u(l){o(l);try{var c=r("Object","preventExtensions");return c&&c(l),!0}catch(h){return!1}}return u}()})},65558:function(E,e,t){"use strict";var n=t(3116),r=t(45418),o=t(30907),a=t(91420);a&&n({target:"Reflect",stat:!0},{setPrototypeOf:function(){function u(l,c){r(l),o(c);try{return a(l,c),!0}catch(h){return!1}}return u}()})},97836:function(E,e,t){"use strict";var n=t(3116),r=t(20276),o=t(45418),a=t(66379),u=t(75129),l=t(13586),c=t(8165),h=t(19765),v=t(56379),i=t(73970);function f(p,d,g){var m=arguments.length<4?p:arguments[3],S=h.f(o(p),d),I,O,C;if(!S){if(a(O=v(p)))return f(O,d,g,m);S=i(0)}if(u(S)){if(S.writable===!1||!a(m))return!1;if(I=h.f(m,d)){if(I.get||I.set||I.writable===!1)return!1;I.value=g,c.f(m,d,I)}else c.f(m,d,i(0,g))}else{if(C=S.set,C===void 0)return!1;r(C,m,g)}return!0}var s=l(function(){var p=function(){},d=c.f(new p,"a",{configurable:!0});return Reflect.set(p.prototype,"a",1,d)!==!1});n({target:"Reflect",stat:!0,forced:s},{set:f})},83932:function(E,e,t){"use strict";var n=t(16361),r=t(26856),o=t(72908),a=t(23620),u=t(43405),l=t(21650),c=t(15439),h=t(60097).f,v=t(54341),i=t(28774),f=t(8758),s=t(13980),p=t(96472),d=t(69713),g=t(60855),m=t(13586),S=t(3302),I=t(4471).enforce,O=t(92468),C=t(95558),y=t(18095),b=t(17329),T=C("match"),P=r.RegExp,N=P.prototype,M=r.SyntaxError,R=o(N.exec),L=o("".charAt),K=o("".replace),U=o("".indexOf),F=o("".slice),$=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,B=/a/g,x=/a/g,V=new P(B)!==B,G=p.MISSED_STICKY,Y=p.UNSUPPORTED_Y,k=n&&(!V||G||y||b||m(function(){return x[T]=!1,P(B)!==B||P(x)===x||String(P(B,"i"))!=="/a/i"})),nt=function(ct){for(var at=ct.length,St=0,Pt="",Rt=!1,Nt;St<=at;St++){if(Nt=L(ct,St),Nt==="\\"){Pt+=Nt+L(ct,++St);continue}!Rt&&Nt==="."?Pt+="[\\s\\S]":(Nt==="["?Rt=!0:Nt==="]"&&(Rt=!1),Pt+=Nt)}return Pt},ut=function(ct){for(var at=ct.length,St=0,Pt="",Rt=[],Nt=c(null),ht=!1,dt=!1,J=0,Z="",ot;St<=at;St++){if(ot=L(ct,St),ot==="\\")ot+=L(ct,++St);else if(ot==="]")ht=!1;else if(!ht)switch(!0){case ot==="[":ht=!0;break;case ot==="(":R($,F(ct,St+1))&&(St+=2,dt=!0),Pt+=ot,J++;continue;case(ot===">"&&dt):if(Z===""||S(Nt,Z))throw new M("Invalid capture group name");Nt[Z]=!0,Rt[Rt.length]=[Z,J],dt=!1,Z="";continue}dt?Z+=ot:Pt+=ot}return[Pt,Rt]};if(a("RegExp",k)){for(var ft=function(){function et(ct,at){var St=v(N,this),Pt=i(ct),Rt=at===void 0,Nt=[],ht=ct,dt,J,Z,ot,gt,Et;if(!St&&Pt&&Rt&&ct.constructor===ft)return ct;if((Pt||v(N,ct))&&(ct=ct.source,Rt&&(at=s(ht))),ct=ct===void 0?"":f(ct),at=at===void 0?"":f(at),ht=ct,y&&"dotAll"in B&&(J=!!at&&U(at,"s")>-1,J&&(at=K(at,/s/g,""))),dt=at,G&&"sticky"in B&&(Z=!!at&&U(at,"y")>-1,Z&&Y&&(at=K(at,/y/g,""))),b&&(ot=ut(ct),ct=ot[0],Nt=ot[1]),gt=u(P(ct,at),St?this:N,ft),(J||Z||Nt.length)&&(Et=I(gt),J&&(Et.dotAll=!0,Et.raw=ft(nt(ct),dt)),Z&&(Et.sticky=!0),Nt.length&&(Et.groups=Nt)),ct!==ht)try{l(gt,"source",ht===""?"(?:)":ht)}catch(it){}return gt}return et}(),W=h(P),X=0;W.length>X;)d(ft,P,W[X++]);N.constructor=ft,ft.prototype=N,g(r,"RegExp",ft,{constructor:!0})}O("RegExp")},72941:function(E,e,t){"use strict";var n=t(3116),r=t(59049);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},57918:function(E,e,t){"use strict";var n=t(26856),r=t(16361),o=t(57301),a=t(41913),u=t(13586),l=n.RegExp,c=l.prototype,h=r&&u(function(){var v=!0;try{l(".","d")}catch(S){v=!1}var i={},f="",s=v?"dgimsy":"gimsy",p=function(I,O){Object.defineProperty(i,I,{get:function(){function C(){return f+=O,!0}return C}()})},d={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};v&&(d.hasIndices="d");for(var g in d)p(g,d[g]);var m=Object.getOwnPropertyDescriptor(c,"flags").get.call(i);return m!==s||f!==s});h&&o(c,"flags",{configurable:!0,get:a})},2394:function(E,e,t){"use strict";var n=t(15340).PROPER,r=t(60855),o=t(45418),a=t(8758),u=t(13586),l=t(13980),c="toString",h=RegExp.prototype,v=h[c],i=u(function(){return v.call({source:"a",flags:"b"})!=="/a/b"}),f=n&&v.name!==c;(i||f)&&r(h,c,function(){function s(){var p=o(this),d=a(p.source),g=a(l(p));return"/"+d+"/"+g}return s}(),{unsafe:!0})},98480:function(E,e,t){"use strict";var n=t(10609),r=t(42384);n("Set",function(o){return function(){function a(){return o(this,arguments.length?arguments[0]:void 0)}return a}()},r)},37517:function(E,e,t){"use strict";t(98480)},25492:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("anchor")},{anchor:function(){function a(u){return r(this,"a","name",u)}return a}()})},13684:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("big")},{big:function(){function a(){return r(this,"big","","")}return a}()})},79646:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("blink")},{blink:function(){function a(){return r(this,"blink","","")}return a}()})},98511:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("bold")},{bold:function(){function a(){return r(this,"b","","")}return a}()})},65699:function(E,e,t){"use strict";var n=t(3116),r=t(13300).codeAt;n({target:"String",proto:!0},{codePointAt:function(){function o(a){return r(this,a)}return o}()})},11360:function(E,e,t){"use strict";var n=t(3116),r=t(69935),o=t(19765).f,a=t(74369),u=t(8758),l=t(75816),c=t(305),h=t(46339),v=t(90139),i=r("".slice),f=Math.min,s=h("endsWith"),p=!v&&!s&&!!function(){var d=o(String.prototype,"endsWith");return d&&!d.writable}();n({target:"String",proto:!0,forced:!p&&!s},{endsWith:function(){function d(g){var m=u(c(this));l(g);var S=arguments.length>1?arguments[1]:void 0,I=m.length,O=S===void 0?I:f(a(S),I),C=u(g);return i(m,O-C.length,O)===C}return d}()})},30733:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("fixed")},{fixed:function(){function a(){return r(this,"tt","","")}return a}()})},58683:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("fontcolor")},{fontcolor:function(){function a(u){return r(this,"font","color",u)}return a}()})},70277:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("fontsize")},{fontsize:function(){function a(u){return r(this,"font","size",u)}return a}()})},33683:function(E,e,t){"use strict";var n=t(3116),r=t(72908),o=t(39531),a=RangeError,u=String.fromCharCode,l=String.fromCodePoint,c=r([].join),h=!!l&&l.length!==1;n({target:"String",stat:!0,arity:1,forced:h},{fromCodePoint:function(){function v(i){for(var f=[],s=arguments.length,p=0,d;s>p;){if(d=+arguments[p++],o(d,1114111)!==d)throw new a(d+" is not a valid code point");f[p]=d<65536?u(d):u(((d-=65536)>>10)+55296,d%1024+56320)}return c(f,"")}return v}()})},16792:function(E,e,t){"use strict";var n=t(3116),r=t(72908),o=t(75816),a=t(305),u=t(8758),l=t(46339),c=r("".indexOf);n({target:"String",proto:!0,forced:!l("includes")},{includes:function(){function h(v){return!!~c(u(a(this)),u(o(v)),arguments.length>1?arguments[1]:void 0)}return h}()})},36865:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("italics")},{italics:function(){function a(){return r(this,"i","","")}return a}()})},8:function(E,e,t){"use strict";var n=t(13300).charAt,r=t(8758),o=t(4471),a=t(21436),u=t(32214),l="String Iterator",c=o.set,h=o.getterFor(l);a(String,"String",function(v){c(this,{type:l,string:r(v),index:0})},function(){function v(){var i=h(this),f=i.string,s=i.index,p;return s>=f.length?u(void 0,!0):(p=n(f,s),i.index+=p.length,u(p,!1))}return v}())},13763:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("link")},{link:function(){function a(u){return r(this,"a","href",u)}return a}()})},76015:function(E,e,t){"use strict";var n=t(20276),r=t(18690),o=t(45418),a=t(62695),u=t(74369),l=t(8758),c=t(305),h=t(76540),v=t(47158),i=t(59833);r("match",function(f,s,p){return[function(){function d(g){var m=c(this),S=a(g)?void 0:h(g,f);return S?n(S,g,m):new RegExp(g)[f](l(m))}return d}(),function(d){var g=o(this),m=l(d),S=p(s,g,m);if(S.done)return S.value;if(!g.global)return i(g,m);var I=g.unicode;g.lastIndex=0;for(var O=[],C=0,y;(y=i(g,m))!==null;){var b=l(y[0]);O[C]=b,b===""&&(g.lastIndex=v(m,u(g.lastIndex),I)),C++}return C===0?null:O}]})},57318:function(E,e,t){"use strict";var n=t(3116),r=t(81290).end,o=t(51468);n({target:"String",proto:!0,forced:o},{padEnd:function(){function a(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}return a}()})},33177:function(E,e,t){"use strict";var n=t(3116),r=t(81290).start,o=t(51468);n({target:"String",proto:!0,forced:o},{padStart:function(){function a(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}return a}()})},1429:function(E,e,t){"use strict";var n=t(3116),r=t(72908),o=t(54292),a=t(63549),u=t(8758),l=t(83207),c=r([].push),h=r([].join);n({target:"String",stat:!0},{raw:function(){function v(i){var f=o(a(i).raw),s=l(f);if(!s)return"";for(var p=arguments.length,d=[],g=0;;){if(c(d,u(f[g++])),g===s)return h(d,"");g<p&&c(d,u(arguments[g]))}}return v}()})},56515:function(E,e,t){"use strict";var n=t(3116),r=t(75463);n({target:"String",proto:!0},{repeat:r})},30343:function(E,e,t){"use strict";var n=t(47244),r=t(20276),o=t(72908),a=t(18690),u=t(13586),l=t(45418),c=t(53664),h=t(62695),v=t(84501),i=t(74369),f=t(8758),s=t(305),p=t(47158),d=t(76540),g=t(56802),m=t(59833),S=t(95558),I=S("replace"),O=Math.max,C=Math.min,y=o([].concat),b=o([].push),T=o("".indexOf),P=o("".slice),N=function(U){return U===void 0?U:String(U)},M=function(){return"a".replace(/./,"$0")==="$0"}(),R=function(){return/./[I]?/./[I]("a","$0")==="":!1}(),L=!u(function(){var K=/./;return K.exec=function(){var U=[];return U.groups={a:"7"},U},"".replace(K,"$<a>")!=="7"});a("replace",function(K,U,F){var $=R?"$":"$0";return[function(){function B(x,V){var G=s(this),Y=h(x)?void 0:d(x,I);return Y?r(Y,x,G,V):r(U,f(G),x,V)}return B}(),function(B,x){var V=l(this),G=f(B);if(typeof x=="string"&&T(x,$)===-1&&T(x,"$<")===-1){var Y=F(U,V,G,x);if(Y.done)return Y.value}var k=c(x);k||(x=f(x));var nt=V.global,ut;nt&&(ut=V.unicode,V.lastIndex=0);for(var ft=[],W;W=m(V,G),!(W===null||(b(ft,W),!nt));){var X=f(W[0]);X===""&&(V.lastIndex=p(G,i(V.lastIndex),ut))}for(var et="",ct=0,at=0;at<ft.length;at++){W=ft[at];for(var St=f(W[0]),Pt=O(C(v(W.index),G.length),0),Rt=[],Nt,ht=1;ht<W.length;ht++)b(Rt,N(W[ht]));var dt=W.groups;if(k){var J=y([St],Rt,Pt,G);dt!==void 0&&b(J,dt),Nt=f(n(x,void 0,J))}else Nt=g(St,G,Pt,Rt,dt,x);Pt>=ct&&(et+=P(G,ct,Pt)+Nt,ct=Pt+St.length)}return et+P(G,ct)}]},!L||!M||R)},60981:function(E,e,t){"use strict";var n=t(20276),r=t(18690),o=t(45418),a=t(62695),u=t(305),l=t(91935),c=t(8758),h=t(76540),v=t(59833);r("search",function(i,f,s){return[function(){function p(d){var g=u(this),m=a(d)?void 0:h(d,i);return m?n(m,d,g):new RegExp(d)[i](c(g))}return p}(),function(p){var d=o(this),g=c(p),m=s(f,d,g);if(m.done)return m.value;var S=d.lastIndex;l(S,0)||(d.lastIndex=0);var I=v(d,g);return l(d.lastIndex,S)||(d.lastIndex=S),I===null?-1:I.index}]})},56001:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("small")},{small:function(){function a(){return r(this,"small","","")}return a}()})},96578:function(E,e,t){"use strict";var n=t(47244),r=t(20276),o=t(72908),a=t(18690),u=t(45418),l=t(62695),c=t(28774),h=t(305),v=t(83604),i=t(47158),f=t(74369),s=t(8758),p=t(76540),d=t(31170),g=t(59833),m=t(59049),S=t(96472),I=t(13586),O=S.UNSUPPORTED_Y,C=4294967295,y=Math.min,b=[].push,T=o(/./.exec),P=o(b),N=o("".slice),M=!I(function(){var R=/(?:)/,L=R.exec;R.exec=function(){return L.apply(this,arguments)};var K="ab".split(R);return K.length!==2||K[0]!=="a"||K[1]!=="b"});a("split",function(R,L,K){var U;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?U=function($,B){var x=s(h(this)),V=B===void 0?C:B>>>0;if(V===0)return[];if($===void 0)return[x];if(!c($))return r(L,x,$,V);for(var G=[],Y=($.ignoreCase?"i":"")+($.multiline?"m":"")+($.unicode?"u":"")+($.sticky?"y":""),k=0,nt=new RegExp($.source,Y+"g"),ut,ft,W;(ut=r(m,nt,x))&&(ft=nt.lastIndex,!(ft>k&&(P(G,N(x,k,ut.index)),ut.length>1&&ut.index<x.length&&n(b,G,d(ut,1)),W=ut[0].length,k=ft,G.length>=V)));)nt.lastIndex===ut.index&&nt.lastIndex++;return k===x.length?(W||!T(nt,""))&&P(G,""):P(G,N(x,k)),G.length>V?d(G,0,V):G}:"0".split(void 0,0).length?U=function($,B){return $===void 0&&B===0?[]:r(L,this,$,B)}:U=L,[function(){function F($,B){var x=h(this),V=l($)?void 0:p($,R);return V?r(V,$,x,B):r(U,s(x),$,B)}return F}(),function(F,$){var B=u(this),x=s(F),V=K(U,B,x,$,U!==L);if(V.done)return V.value;var G=v(B,RegExp),Y=B.unicode,k=(B.ignoreCase?"i":"")+(B.multiline?"m":"")+(B.unicode?"u":"")+(O?"g":"y"),nt=new G(O?"^(?:"+B.source+")":B,k),ut=$===void 0?C:$>>>0;if(ut===0)return[];if(x.length===0)return g(nt,x)===null?[x]:[];for(var ft=0,W=0,X=[];W<x.length;){nt.lastIndex=O?0:W;var et=g(nt,O?N(x,W):x),ct;if(et===null||(ct=y(f(nt.lastIndex+(O?W:0)),x.length))===ft)W=i(x,W,Y);else{if(P(X,N(x,ft,W)),X.length===ut)return X;for(var at=1;at<=et.length-1;at++)if(P(X,et[at]),X.length===ut)return X;W=ft=ct}}return P(X,N(x,ft)),X}]},!M,O)},59592:function(E,e,t){"use strict";var n=t(3116),r=t(69935),o=t(19765).f,a=t(74369),u=t(8758),l=t(75816),c=t(305),h=t(46339),v=t(90139),i=r("".slice),f=Math.min,s=h("startsWith"),p=!v&&!s&&!!function(){var d=o(String.prototype,"startsWith");return d&&!d.writable}();n({target:"String",proto:!0,forced:!p&&!s},{startsWith:function(){function d(g){var m=u(c(this));l(g);var S=a(f(arguments.length>1?arguments[1]:void 0,m.length)),I=u(g);return i(m,S,S+I.length)===I}return d}()})},58713:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("strike")},{strike:function(){function a(){return r(this,"strike","","")}return a}()})},41960:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("sub")},{sub:function(){function a(){return r(this,"sub","","")}return a}()})},31772:function(E,e,t){"use strict";var n=t(3116),r=t(38017),o=t(81626);n({target:"String",proto:!0,forced:o("sup")},{sup:function(){function a(){return r(this,"sup","","")}return a}()})},84368:function(E,e,t){"use strict";t(12333);var n=t(3116),r=t(45745);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==r},{trimEnd:r})},81464:function(E,e,t){"use strict";var n=t(3116),r=t(35634);n({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},12333:function(E,e,t){"use strict";var n=t(3116),r=t(45745);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==r},{trimRight:r})},76980:function(E,e,t){"use strict";t(81464);var n=t(3116),r=t(35634);n({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==r},{trimStart:r})},54511:function(E,e,t){"use strict";var n=t(3116),r=t(47913).trim,o=t(15677);n({target:"String",proto:!0,forced:o("trim")},{trim:function(){function a(){return r(this)}return a}()})},65884:function(E,e,t){"use strict";var n=t(20614);n("asyncIterator")},28579:function(E,e,t){"use strict";var n=t(3116),r=t(26856),o=t(20276),a=t(72908),u=t(90139),l=t(16361),c=t(61855),h=t(13586),v=t(3302),i=t(54341),f=t(45418),s=t(54292),p=t(72445),d=t(8758),g=t(73970),m=t(15439),S=t(99869),I=t(60097),O=t(31024),C=t(61791),y=t(19765),b=t(8165),T=t(55119),P=t(10409),N=t(60855),M=t(57301),R=t(7624),L=t(97223),K=t(51653),U=t(76246),F=t(95558),$=t(15355),B=t(20614),x=t(28952),V=t(15676),G=t(4471),Y=t(18539).forEach,k=L("hidden"),nt="Symbol",ut="prototype",ft=G.set,W=G.getterFor(nt),X=Object[ut],et=r.Symbol,ct=et&&et[ut],at=r.RangeError,St=r.TypeError,Pt=r.QObject,Rt=y.f,Nt=b.f,ht=O.f,dt=P.f,J=a([].push),Z=R("symbols"),ot=R("op-symbols"),gt=R("wks"),Et=!Pt||!Pt[ut]||!Pt[ut].findChild,it=function(mt,Ot,bt){var It=Rt(X,Ot);It&&delete X[Ot],Nt(mt,Ot,bt),It&&mt!==X&&Nt(X,Ot,It)},pt=l&&h(function(){return m(Nt({},"a",{get:function(){function lt(){return Nt(this,"a",{value:7}).a}return lt}()})).a!==7})?it:Nt,rt=function(mt,Ot){var bt=Z[mt]=m(ct);return ft(bt,{type:nt,tag:mt,description:Ot}),l||(bt.description=Ot),bt},_=function(){function lt(mt,Ot,bt){mt===X&&_(ot,Ot,bt),f(mt);var It=p(Ot);return f(bt),v(Z,It)?(bt.enumerable?(v(mt,k)&&mt[k][It]&&(mt[k][It]=!1),bt=m(bt,{enumerable:g(0,!1)})):(v(mt,k)||Nt(mt,k,g(1,m(null))),mt[k][It]=!0),pt(mt,It,bt)):Nt(mt,It,bt)}return lt}(),yt=function(){function lt(mt,Ot){f(mt);var bt=s(Ot),It=S(bt).concat(Tt(bt));return Y(It,function(Lt){(!l||o(Mt,bt,Lt))&&_(mt,Lt,bt[Lt])}),mt}return lt}(),Ct=function(){function lt(mt,Ot){return Ot===void 0?m(mt):yt(m(mt),Ot)}return lt}(),Mt=function(){function lt(mt){var Ot=p(mt),bt=o(dt,this,Ot);return this===X&&v(Z,Ot)&&!v(ot,Ot)?!1:bt||!v(this,Ot)||!v(Z,Ot)||v(this,k)&&this[k][Ot]?bt:!0}return lt}(),xt=function(){function lt(mt,Ot){var bt=s(mt),It=p(Ot);if(!(bt===X&&v(Z,It)&&!v(ot,It))){var Lt=Rt(bt,It);return Lt&&v(Z,It)&&!(v(bt,k)&&bt[k][It])&&(Lt.enumerable=!0),Lt}}return lt}(),Vt=function(){function lt(mt){var Ot=ht(s(mt)),bt=[];return Y(Ot,function(It){!v(Z,It)&&!v(K,It)&&J(bt,It)}),bt}return lt}(),Tt=function(mt){var Ot=mt===X,bt=ht(Ot?ot:s(mt)),It=[];return Y(bt,function(Lt){v(Z,Lt)&&(!Ot||v(X,Lt))&&J(It,Z[Lt])}),It};c||(et=function(){function lt(){if(i(ct,this))throw new St("Symbol is not a constructor");var mt=!arguments.length||arguments[0]===void 0?void 0:d(arguments[0]),Ot=U(mt),bt=function(){function It(Lt){var jt=this===void 0?r:this;jt===X&&o(It,ot,Lt),v(jt,k)&&v(jt[k],Ot)&&(jt[k][Ot]=!1);var $t=g(1,Lt);try{pt(jt,Ot,$t)}catch(kt){if(!(kt instanceof at))throw kt;it(jt,Ot,$t)}}return It}();return l&&Et&&pt(X,Ot,{configurable:!0,set:bt}),rt(Ot,mt)}return lt}(),ct=et[ut],N(ct,"toString",function(){function lt(){return W(this).tag}return lt}()),N(et,"withoutSetter",function(lt){return rt(U(lt),lt)}),P.f=Mt,b.f=_,T.f=yt,y.f=xt,I.f=O.f=Vt,C.f=Tt,$.f=function(lt){return rt(F(lt),lt)},l&&(M(ct,"description",{configurable:!0,get:function(){function lt(){return W(this).description}return lt}()}),u||N(X,"propertyIsEnumerable",Mt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:et}),Y(S(gt),function(lt){B(lt)}),n({target:nt,stat:!0,forced:!c},{useSetter:function(){function lt(){Et=!0}return lt}(),useSimple:function(){function lt(){Et=!1}return lt}()}),n({target:"Object",stat:!0,forced:!c,sham:!l},{create:Ct,defineProperty:_,defineProperties:yt,getOwnPropertyDescriptor:xt}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:Vt}),x(),V(et,nt),K[k]=!0},64777:function(E,e,t){"use strict";var n=t(3116),r=t(16361),o=t(26856),a=t(72908),u=t(3302),l=t(53664),c=t(54341),h=t(8758),v=t(57301),i=t(83826),f=o.Symbol,s=f&&f.prototype;if(r&&l(f)&&(!("description"in s)||f().description!==void 0)){var p={},d=function(){function y(){var b=arguments.length<1||arguments[0]===void 0?void 0:h(arguments[0]),T=c(s,this)?new f(b):b===void 0?f():f(b);return b===""&&(p[T]=!0),T}return y}();i(d,f),d.prototype=s,s.constructor=d;var g=String(f("description detection"))==="Symbol(description detection)",m=a(s.valueOf),S=a(s.toString),I=/^Symbol\((.*)\)[^)]+$/,O=a("".replace),C=a("".slice);v(s,"description",{configurable:!0,get:function(){function y(){var b=m(this);if(u(p,b))return"";var T=S(b),P=g?C(T,7,-1):O(T,I,"$1");return P===""?void 0:P}return y}()}),n({global:!0,constructor:!0,forced:!0},{Symbol:d})}},99694:function(E,e,t){"use strict";var n=t(3116),r=t(22070),o=t(3302),a=t(8758),u=t(7624),l=t(16010),c=u("string-to-symbol-registry"),h=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{for:function(){function v(i){var f=a(i);if(o(c,f))return c[f];var s=r("Symbol")(f);return c[f]=s,h[s]=f,s}return v}()})},56564:function(E,e,t){"use strict";var n=t(20614);n("hasInstance")},68981:function(E,e,t){"use strict";var n=t(20614);n("isConcatSpreadable")},27699:function(E,e,t){"use strict";var n=t(20614);n("iterator")},32321:function(E,e,t){"use strict";t(28579),t(99694),t(16184),t(34233),t(56896)},16184:function(E,e,t){"use strict";var n=t(3116),r=t(3302),o=t(43474),a=t(36787),u=t(7624),l=t(16010),c=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{keyFor:function(){function h(v){if(!o(v))throw new TypeError(a(v)+" is not a symbol");if(r(c,v))return c[v]}return h}()})},22905:function(E,e,t){"use strict";var n=t(20614);n("match")},96311:function(E,e,t){"use strict";var n=t(20614);n("replace")},61292:function(E,e,t){"use strict";var n=t(20614);n("search")},75419:function(E,e,t){"use strict";var n=t(20614);n("species")},67638:function(E,e,t){"use strict";var n=t(20614);n("split")},7601:function(E,e,t){"use strict";var n=t(20614),r=t(28952);n("toPrimitive"),r()},89010:function(E,e,t){"use strict";var n=t(22070),r=t(20614),o=t(15676);r("toStringTag"),o(n("Symbol"),"Symbol")},5401:function(E,e,t){"use strict";var n=t(20614);n("unscopables")},76464:function(E,e,t){"use strict";var n=t(72908),r=t(30432),o=t(28332),a=n(o),u=r.aTypedArray,l=r.exportTypedArrayMethod;l("copyWithin",function(){function c(h,v){return a(u(this),h,v,arguments.length>2?arguments[2]:void 0)}return c}())},58549:function(E,e,t){"use strict";var n=t(30432),r=t(18539).every,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("every",function(){function u(l){return r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},42774:function(E,e,t){"use strict";var n=t(30432),r=t(39948),o=t(73873),a=t(48615),u=t(20276),l=t(72908),c=t(13586),h=n.aTypedArray,v=n.exportTypedArrayMethod,i=l("".slice),f=c(function(){var s=0;return new Int8Array(2).fill({valueOf:function(){function p(){return s++}return p}()}),s!==1});v("fill",function(){function s(p){var d=arguments.length;h(this);var g=i(a(this),0,3)==="Big"?o(p):+p;return u(r,this,g,d>1?arguments[1]:void 0,d>2?arguments[2]:void 0)}return s}(),f)},65446:function(E,e,t){"use strict";var n=t(30432),r=t(18539).filter,o=t(85710),a=n.aTypedArray,u=n.exportTypedArrayMethod;u("filter",function(){function l(c){var h=r(a(this),c,arguments.length>1?arguments[1]:void 0);return o(this,h)}return l}())},62243:function(E,e,t){"use strict";var n=t(30432),r=t(18539).findIndex,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("findIndex",function(){function u(l){return r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},21066:function(E,e,t){"use strict";var n=t(30432),r=t(18539).find,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("find",function(){function u(l){return r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},43059:function(E,e,t){"use strict";var n=t(43186);n("Float32",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},97363:function(E,e,t){"use strict";var n=t(43186);n("Float64",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},35249:function(E,e,t){"use strict";var n=t(30432),r=t(18539).forEach,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("forEach",function(){function u(l){r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},68739:function(E,e,t){"use strict";var n=t(45410),r=t(30432).exportTypedArrayStaticMethod,o=t(12778);r("from",o,n)},5723:function(E,e,t){"use strict";var n=t(30432),r=t(33483).includes,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("includes",function(){function u(l){return r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},40353:function(E,e,t){"use strict";var n=t(30432),r=t(33483).indexOf,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("indexOf",function(){function u(l){return r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},33278:function(E,e,t){"use strict";var n=t(43186);n("Int16",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},65331:function(E,e,t){"use strict";var n=t(43186);n("Int32",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},99755:function(E,e,t){"use strict";var n=t(43186);n("Int8",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},87975:function(E,e,t){"use strict";var n=t(26856),r=t(13586),o=t(72908),a=t(30432),u=t(26017),l=t(95558),c=l("iterator"),h=n.Uint8Array,v=o(u.values),i=o(u.keys),f=o(u.entries),s=a.aTypedArray,p=a.exportTypedArrayMethod,d=h&&h.prototype,g=!r(function(){d[c].call([1])}),m=!!d&&d.values&&d[c]===d.values&&d.values.name==="values",S=function(){function I(){return v(s(this))}return I}();p("entries",function(){function I(){return f(s(this))}return I}(),g),p("keys",function(){function I(){return i(s(this))}return I}(),g),p("values",S,g||!m,{name:"values"}),p(c,S,g||!m,{name:"values"})},20812:function(E,e,t){"use strict";var n=t(30432),r=t(72908),o=n.aTypedArray,a=n.exportTypedArrayMethod,u=r([].join);a("join",function(){function l(c){return u(o(this),c)}return l}())},5640:function(E,e,t){"use strict";var n=t(30432),r=t(47244),o=t(16400),a=n.aTypedArray,u=n.exportTypedArrayMethod;u("lastIndexOf",function(){function l(c){var h=arguments.length;return r(o,a(this),h>1?[c,arguments[1]]:[c])}return l}())},47736:function(E,e,t){"use strict";var n=t(30432),r=t(18539).map,o=t(9230),a=n.aTypedArray,u=n.exportTypedArrayMethod;u("map",function(){function l(c){return r(a(this),c,arguments.length>1?arguments[1]:void 0,function(h,v){return new(o(h))(v)})}return l}())},81944:function(E,e,t){"use strict";var n=t(30432),r=t(45410),o=n.aTypedArrayConstructor,a=n.exportTypedArrayStaticMethod;a("of",function(){function u(){for(var l=0,c=arguments.length,h=new(o(this))(c);c>l;)h[l]=arguments[l++];return h}return u}(),r)},72214:function(E,e,t){"use strict";var n=t(30432),r=t(58394).right,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduceRight",function(){function u(l){var c=arguments.length;return r(o(this),l,c,c>1?arguments[1]:void 0)}return u}())},68685:function(E,e,t){"use strict";var n=t(30432),r=t(58394).left,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduce",function(){function u(l){var c=arguments.length;return r(o(this),l,c,c>1?arguments[1]:void 0)}return u}())},48774:function(E,e,t){"use strict";var n=t(30432),r=n.aTypedArray,o=n.exportTypedArrayMethod,a=Math.floor;o("reverse",function(){function u(){for(var l=this,c=r(l).length,h=a(c/2),v=0,i;v<h;)i=l[v],l[v++]=l[--c],l[c]=i;return l}return u}())},2915:function(E,e,t){"use strict";var n=t(26856),r=t(20276),o=t(30432),a=t(83207),u=t(45476),l=t(63549),c=t(13586),h=n.RangeError,v=n.Int8Array,i=v&&v.prototype,f=i&&i.set,s=o.aTypedArray,p=o.exportTypedArrayMethod,d=!c(function(){var m=new Uint8ClampedArray(2);return r(f,m,{length:1,0:3},1),m[1]!==3}),g=d&&o.NATIVE_ARRAY_BUFFER_VIEWS&&c(function(){var m=new v(2);return m.set(1),m.set("2",1),m[0]!==0||m[1]!==2});p("set",function(){function m(S){s(this);var I=u(arguments.length>1?arguments[1]:void 0,1),O=l(S);if(d)return r(f,this,O,I);var C=this.length,y=a(O),b=0;if(y+I>C)throw new h("Wrong length");for(;b<y;)this[I+b]=O[b++]}return m}(),!d||g)},17165:function(E,e,t){"use strict";var n=t(30432),r=t(9230),o=t(13586),a=t(31170),u=n.aTypedArray,l=n.exportTypedArrayMethod,c=o(function(){new Int8Array(1).slice()});l("slice",function(){function h(v,i){for(var f=a(u(this),v,i),s=r(this),p=0,d=f.length,g=new s(d);d>p;)g[p]=f[p++];return g}return h}(),c)},10702:function(E,e,t){"use strict";var n=t(30432),r=t(18539).some,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("some",function(){function u(l){return r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},76622:function(E,e,t){"use strict";var n=t(26856),r=t(69935),o=t(13586),a=t(79474),u=t(91183),l=t(30432),c=t(31574),h=t(88836),v=t(43541),i=t(27204),f=l.aTypedArray,s=l.exportTypedArrayMethod,p=n.Uint16Array,d=p&&r(p.prototype.sort),g=!!d&&!(o(function(){d(new p(2),null)})&&o(function(){d(new p(2),{})})),m=!!d&&!o(function(){if(v)return v<74;if(c)return c<67;if(h)return!0;if(i)return i<602;var I=new p(516),O=Array(516),C,y;for(C=0;C<516;C++)y=C%4,I[C]=515-C,O[C]=C-2*y+3;for(d(I,function(b,T){return(b/4|0)-(T/4|0)}),C=0;C<516;C++)if(I[C]!==O[C])return!0}),S=function(O){return function(C,y){return O!==void 0?+O(C,y)||0:y!==y?-1:C!==C?1:C===0&&y===0?1/C>0&&1/y<0?1:-1:C>y}};s("sort",function(){function I(O){return O!==void 0&&a(O),m?d(this,O):u(f(this),S(O))}return I}(),!m||g)},64408:function(E,e,t){"use strict";var n=t(30432),r=t(74369),o=t(39531),a=t(9230),u=n.aTypedArray,l=n.exportTypedArrayMethod;l("subarray",function(){function c(h,v){var i=u(this),f=i.length,s=o(h,f),p=a(i);return new p(i.buffer,i.byteOffset+s*i.BYTES_PER_ELEMENT,r((v===void 0?f:o(v,f))-s))}return c}())},22306:function(E,e,t){"use strict";var n=t(26856),r=t(47244),o=t(30432),a=t(13586),u=t(31170),l=n.Int8Array,c=o.aTypedArray,h=o.exportTypedArrayMethod,v=[].toLocaleString,i=!!l&&a(function(){v.call(new l(1))}),f=a(function(){return[1,2].toLocaleString()!==new l([1,2]).toLocaleString()})||!a(function(){l.prototype.toLocaleString.call([1,2])});h("toLocaleString",function(){function s(){return r(v,i?u(c(this)):c(this),u(arguments))}return s}(),f)},90334:function(E,e,t){"use strict";var n=t(30432).exportTypedArrayMethod,r=t(13586),o=t(26856),a=t(72908),u=o.Uint8Array,l=u&&u.prototype||{},c=[].toString,h=a([].join);r(function(){c.call({})})&&(c=function(){function i(){return h(this)}return i}());var v=l.toString!==c;n("toString",c,v)},70088:function(E,e,t){"use strict";var n=t(43186);n("Uint16",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},7284:function(E,e,t){"use strict";var n=t(43186);n("Uint32",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},25855:function(E,e,t){"use strict";var n=t(43186);n("Uint8",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},97372:function(E,e,t){"use strict";var n=t(43186);n("Uint8",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()},!0)},84937:function(E,e,t){"use strict";var n=t(58199),r=t(26856),o=t(72908),a=t(26148),u=t(66526),l=t(10609),c=t(19250),h=t(66379),v=t(4471).enforce,i=t(13586),f=t(73844),s=Object,p=Array.isArray,d=s.isExtensible,g=s.isFrozen,m=s.isSealed,S=s.freeze,I=s.seal,O=!r.ActiveXObject&&"ActiveXObject"in r,C,y=function(U){return function(){function F(){return U(this,arguments.length?arguments[0]:void 0)}return F}()},b=l("WeakMap",y,c),T=b.prototype,P=o(T.set),N=function(){return n&&i(function(){var U=S([]);return P(new b,U,1),!g(U)})};if(f)if(O){C=c.getConstructor(y,"WeakMap",!0),u.enable();var M=o(T.delete),R=o(T.has),L=o(T.get);a(T,{delete:function(){function K(U){if(h(U)&&!d(U)){var F=v(this);return F.frozen||(F.frozen=new C),M(this,U)||F.frozen.delete(U)}return M(this,U)}return K}(),has:function(){function K(U){if(h(U)&&!d(U)){var F=v(this);return F.frozen||(F.frozen=new C),R(this,U)||F.frozen.has(U)}return R(this,U)}return K}(),get:function(){function K(U){if(h(U)&&!d(U)){var F=v(this);return F.frozen||(F.frozen=new C),R(this,U)?L(this,U):F.frozen.get(U)}return L(this,U)}return K}(),set:function(){function K(U,F){if(h(U)&&!d(U)){var $=v(this);$.frozen||($.frozen=new C),R(this,U)?P(this,U,F):$.frozen.set(U,F)}else P(this,U,F);return this}return K}()})}else N()&&a(T,{set:function(){function K(U,F){var $;return p(U)&&(g(U)?$=S:m(U)&&($=I)),P(this,U,F),$&&$(U),this}return K}()})},69880:function(E,e,t){"use strict";t(84937)},74764:function(E,e,t){"use strict";var n=t(10609),r=t(19250);n("WeakSet",function(o){return function(){function a(){return o(this,arguments.length?arguments[0]:void 0)}return a}()},r)},37167:function(E,e,t){"use strict";t(74764)},82818:function(E,e,t){"use strict";var n=t(3116),r=t(26856),o=t(87073).clear;n({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==o},{clearImmediate:o})},25109:function(E,e,t){"use strict";t(82818),t(21813)},367:function(E,e,t){"use strict";var n=t(3116),r=t(60816),o=t(79474),a=t(92827);n({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(){function u(l){a(arguments.length,1),r(o(l))}return u}()})},21813:function(E,e,t){"use strict";var n=t(3116),r=t(26856),o=t(87073).set,a=t(17459),u=r.setImmediate?a(o,!1):o;n({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==u},{setImmediate:u})},50943:function(E,e,t){"use strict";var n=t(3116),r=t(26856),o=t(17459),a=o(r.setInterval,!0);n({global:!0,bind:!0,forced:r.setInterval!==a},{setInterval:a})},91851:function(E,e,t){"use strict";var n=t(3116),r=t(26856),o=t(17459),a=o(r.setTimeout,!0);n({global:!0,bind:!0,forced:r.setTimeout!==a},{setTimeout:a})},8459:function(E,e,t){"use strict";t(50943),t(91851)},87454:function(E){"use strict";/** + */var o=e.BoxWithSampleText=function(){function a(u){return(0,n.normalizeProps)((0,n.createComponentVNode)(2,r.Box,Object.assign({},u,{children:[(0,n.createComponentVNode)(2,r.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,n.createComponentVNode)(2,r.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return a}()},70998:function(){},68422:function(){},48998:function(){},67071:function(){},88176:function(){},4085:function(E,e,t){var n={"./Blink.stories.js":61498,"./BlockQuote.stories.js":27431,"./Box.stories.js":6517,"./Button.stories.js":20648,"./ByondUi.stories.js":14906,"./Collapsible.stories.js":59948,"./Flex.stories.js":37227,"./Input.stories.js":32304,"./Popper.stories.js":50394,"./ProgressBar.stories.js":75096,"./Stack.stories.js":30268,"./Storage.stories.js":22645,"./Tabs.stories.js":42120,"./Themes.stories.js":80254,"./Tooltip.stories.js":90823};function r(a){var u=o(a);return t(u)}function o(a){if(!t.o(n,a)){var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}return n[a]}r.keys=function(){return Object.keys(n)},r.resolve=o,E.exports=r,r.id=4085},97361:function(E,e,t){"use strict";var n=t(7532),r=t(62518),o=TypeError;E.exports=function(a){if(n(a))return a;throw new o(r(a)+" is not a function")}},76833:function(E,e,t){"use strict";var n=t(60354),r=t(62518),o=TypeError;E.exports=function(a){if(n(a))return a;throw new o(r(a)+" is not a constructor")}},51689:function(E,e,t){"use strict";var n=t(41224),r=String,o=TypeError;E.exports=function(a){if(n(a))return a;throw new o("Can't set "+r(a)+" as a prototype")}},91138:function(E,e,t){"use strict";var n=t(66266),r=t(28969),o=t(56018).f,a=n("unscopables"),u=Array.prototype;u[a]===void 0&&o(u,a,{configurable:!0,value:r(null)}),E.exports=function(l){u[a][l]=!0}},62970:function(E,e,t){"use strict";var n=t(56852).charAt;E.exports=function(r,o,a){return o+(a?n(r,o).length:1)}},19870:function(E,e,t){"use strict";var n=t(33314),r=TypeError;E.exports=function(o,a){if(n(a,o))return o;throw new r("Incorrect invocation")}},39482:function(E,e,t){"use strict";var n=t(56831),r=String,o=TypeError;E.exports=function(a){if(n(a))return a;throw new o(r(a)+" is not an object")}},67404:function(E){"use strict";E.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},65693:function(E,e,t){"use strict";var n=t(41746);E.exports=n(function(){if(typeof ArrayBuffer=="function"){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}})},72951:function(E,e,t){"use strict";var n=t(67404),r=t(14141),o=t(40224),a=t(7532),u=t(56831),l=t(89458),c=t(27806),h=t(62518),d=t(16216),i=t(59173),v=t(10069),s=t(33314),p=t(31658),f=t(42878),g=t(66266),m=t(33345),b=t(35086),I=b.enforce,T=b.get,C=o.Int8Array,S=C&&C.prototype,y=o.Uint8ClampedArray,O=y&&y.prototype,A=C&&p(C),N=S&&p(S),M=Object.prototype,R=o.TypeError,L=g("toStringTag"),x=m("TYPED_ARRAY_TAG"),F="TypedArrayConstructor",V=n&&!!f&&c(o.opera)!=="Opera",G=!1,B,U,j,K={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},W=function(){function ct(at){if(!u(at))return!1;var St=c(at);return St==="DataView"||l(K,St)||l($,St)}return ct}(),nt=function ct(at){var St=p(at);if(u(St)){var Mt=T(St);return Mt&&l(Mt,F)?Mt[F]:ct(St)}},st=function(at){if(!u(at))return!1;var St=c(at);return l(K,St)||l($,St)},gt=function(at){if(st(at))return at;throw new R("Target is not a typed array")},k=function(at){if(a(at)&&(!f||s(A,at)))return at;throw new R(h(at)+" is not a typed array constructor")},X=function(at,St,Mt,wt){if(r){if(Mt)for(var Rt in K){var vt=o[Rt];if(vt&&l(vt.prototype,at))try{delete vt.prototype[at]}catch(ft){try{vt.prototype[at]=St}catch(Q){}}}(!N[at]||Mt)&&i(N,at,Mt?St:V&&S[at]||St,wt)}},tt=function(at,St,Mt){var wt,Rt;if(r){if(f){if(Mt){for(wt in K)if(Rt=o[wt],Rt&&l(Rt,at))try{delete Rt[at]}catch(vt){}}if(!A[at]||Mt)try{return i(A,at,Mt?St:V&&A[at]||St)}catch(vt){}else return}for(wt in K)Rt=o[wt],Rt&&(!Rt[at]||Mt)&&i(Rt,at,St)}};for(B in K)U=o[B],j=U&&U.prototype,j?I(j)[F]=U:V=!1;for(B in $)U=o[B],j=U&&U.prototype,j&&(I(j)[F]=U);if((!V||!a(A)||A===Function.prototype)&&(A=function(){function ct(){throw new R("Incorrect invocation")}return ct}(),V))for(B in K)o[B]&&f(o[B],A);if((!V||!N||N===M)&&(N=A.prototype,V))for(B in K)o[B]&&f(o[B].prototype,N);if(V&&p(O)!==N&&f(O,N),r&&!l(N,L)){G=!0,v(N,L,{configurable:!0,get:function(){function ct(){return u(this)?this[x]:void 0}return ct}()});for(B in K)o[B]&&d(o[B],x,B)}E.exports={NATIVE_ARRAY_BUFFER_VIEWS:V,TYPED_ARRAY_TAG:G&&x,aTypedArray:gt,aTypedArrayConstructor:k,exportTypedArrayMethod:X,exportTypedArrayStaticMethod:tt,getTypedArrayConstructor:nt,isView:W,isTypedArray:st,TypedArray:A,TypedArrayPrototype:N}},46185:function(E,e,t){"use strict";var n=t(40224),r=t(18161),o=t(14141),a=t(67404),u=t(26463),l=t(16216),c=t(10069),h=t(13648),d=t(41746),i=t(19870),v=t(74952),s=t(10475),p=t(90835),f=t(75988),g=t(62263),m=t(31658),b=t(42878),I=t(59942),T=t(77713),C=t(2566),S=t(70113),y=t(94234),O=t(35086),A=u.PROPER,N=u.CONFIGURABLE,M="ArrayBuffer",R="DataView",L="prototype",x="Wrong length",F="Wrong index",V=O.getterFor(M),G=O.getterFor(R),B=O.set,U=n[M],j=U,K=j&&j[L],$=n[R],W=$&&$[L],nt=Object.prototype,st=n.Array,gt=n.RangeError,k=r(I),X=r([].reverse),tt=g.pack,ct=g.unpack,at=function(pt){return[pt&255]},St=function(pt){return[pt&255,pt>>8&255]},Mt=function(pt){return[pt&255,pt>>8&255,pt>>16&255,pt>>24&255]},wt=function(pt){return pt[3]<<24|pt[2]<<16|pt[1]<<8|pt[0]},Rt=function(pt){return tt(f(pt),23,4)},vt=function(pt){return tt(pt,52,8)},ft=function(pt,Nt,J){c(pt[L],Nt,{configurable:!0,get:function(){function ut(){return J(this)[Nt]}return ut}()})},Q=function(pt,Nt,J,ut){var bt=G(pt),At=p(J),Bt=!!ut;if(At+Nt>bt.byteLength)throw new gt(F);var Ut=bt.bytes,Tt=At+bt.byteOffset,it=T(Ut,Tt,Tt+Nt);return Bt?it:X(it)},Z=function(pt,Nt,J,ut,bt,At){var Bt=G(pt),Ut=p(J),Tt=ut(+bt),it=!!At;if(Ut+Nt>Bt.byteLength)throw new gt(F);for(var mt=Bt.bytes,It=Ut+Bt.byteOffset,Ct=0;Ct<Nt;Ct++)mt[It+Ct]=Tt[it?Ct:Nt-Ct-1]};if(!a)j=function(){function rt(pt){i(this,K);var Nt=p(pt);B(this,{type:M,bytes:k(st(Nt),0),byteLength:Nt}),o||(this.byteLength=Nt,this.detached=!1)}return rt}(),K=j[L],$=function(){function rt(pt,Nt,J){i(this,W),i(pt,K);var ut=V(pt),bt=ut.byteLength,At=v(Nt);if(At<0||At>bt)throw new gt("Wrong offset");if(J=J===void 0?bt-At:s(J),At+J>bt)throw new gt(x);B(this,{type:R,buffer:pt,byteLength:J,byteOffset:At,bytes:ut.bytes}),o||(this.buffer=pt,this.byteLength=J,this.byteOffset=At)}return rt}(),W=$[L],o&&(ft(j,"byteLength",V),ft($,"buffer",G),ft($,"byteLength",G),ft($,"byteOffset",G)),h(W,{getInt8:function(){function rt(pt){return Q(this,1,pt)[0]<<24>>24}return rt}(),getUint8:function(){function rt(pt){return Q(this,1,pt)[0]}return rt}(),getInt16:function(){function rt(pt){var Nt=Q(this,2,pt,arguments.length>1?arguments[1]:!1);return(Nt[1]<<8|Nt[0])<<16>>16}return rt}(),getUint16:function(){function rt(pt){var Nt=Q(this,2,pt,arguments.length>1?arguments[1]:!1);return Nt[1]<<8|Nt[0]}return rt}(),getInt32:function(){function rt(pt){return wt(Q(this,4,pt,arguments.length>1?arguments[1]:!1))}return rt}(),getUint32:function(){function rt(pt){return wt(Q(this,4,pt,arguments.length>1?arguments[1]:!1))>>>0}return rt}(),getFloat32:function(){function rt(pt){return ct(Q(this,4,pt,arguments.length>1?arguments[1]:!1),23)}return rt}(),getFloat64:function(){function rt(pt){return ct(Q(this,8,pt,arguments.length>1?arguments[1]:!1),52)}return rt}(),setInt8:function(){function rt(pt,Nt){Z(this,1,pt,at,Nt)}return rt}(),setUint8:function(){function rt(pt,Nt){Z(this,1,pt,at,Nt)}return rt}(),setInt16:function(){function rt(pt,Nt){Z(this,2,pt,St,Nt,arguments.length>2?arguments[2]:!1)}return rt}(),setUint16:function(){function rt(pt,Nt){Z(this,2,pt,St,Nt,arguments.length>2?arguments[2]:!1)}return rt}(),setInt32:function(){function rt(pt,Nt){Z(this,4,pt,Mt,Nt,arguments.length>2?arguments[2]:!1)}return rt}(),setUint32:function(){function rt(pt,Nt){Z(this,4,pt,Mt,Nt,arguments.length>2?arguments[2]:!1)}return rt}(),setFloat32:function(){function rt(pt,Nt){Z(this,4,pt,Rt,Nt,arguments.length>2?arguments[2]:!1)}return rt}(),setFloat64:function(){function rt(pt,Nt){Z(this,8,pt,vt,Nt,arguments.length>2?arguments[2]:!1)}return rt}()});else{var et=A&&U.name!==M;!d(function(){U(1)})||!d(function(){new U(-1)})||d(function(){return new U,new U(1.5),new U(NaN),U.length!==1||et&&!N})?(j=function(){function rt(pt){return i(this,K),C(new U(p(pt)),this,j)}return rt}(),j[L]=K,K.constructor=j,S(j,U)):et&&N&&l(U,"name",M),b&&m(W)!==nt&&b(W,nt);var ht=new $(new j(2)),Et=r(W.setInt8);ht.setInt8(0,2147483648),ht.setInt8(1,2147483649),(ht.getInt8(0)||!ht.getInt8(1))&&h(W,{setInt8:function(){function rt(pt,Nt){Et(this,pt,Nt<<24>>24)}return rt}(),setUint8:function(){function rt(pt,Nt){Et(this,pt,Nt<<24>>24)}return rt}()},{unsafe:!0})}y(j,M),y($,R),E.exports={ArrayBuffer:j,DataView:$}},42320:function(E,e,t){"use strict";var n=t(40076),r=t(74067),o=t(8333),a=t(58937),u=Math.min;E.exports=[].copyWithin||function(){function l(c,h){var d=n(this),i=o(d),v=r(c,i),s=r(h,i),p=arguments.length>2?arguments[2]:void 0,f=u((p===void 0?i:r(p,i))-s,i-v),g=1;for(s<v&&v<s+f&&(g=-1,s+=f-1,v+=f-1);f-- >0;)s in d?d[v]=d[s]:a(d,v),v+=g,s+=g;return d}return l}()},59942:function(E,e,t){"use strict";var n=t(40076),r=t(74067),o=t(8333);E.exports=function(){function a(u){for(var l=n(this),c=o(l),h=arguments.length,d=r(h>1?arguments[1]:void 0,c),i=h>2?arguments[2]:void 0,v=i===void 0?c:r(i,c);v>d;)l[d++]=u;return l}return a}()},75420:function(E,e,t){"use strict";var n=t(67480).forEach,r=t(42309),o=r("forEach");E.exports=o?[].forEach:function(){function a(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}return a}()},6967:function(E,e,t){"use strict";var n=t(8333);E.exports=function(r,o,a){for(var u=0,l=arguments.length>2?a:n(o),c=new r(l);l>u;)c[u]=o[u++];return c}},80363:function(E,e,t){"use strict";var n=t(4509),r=t(62696),o=t(40076),a=t(17100),u=t(58482),l=t(60354),c=t(8333),h=t(12913),d=t(3438),i=t(76274),v=Array;E.exports=function(){function s(p){var f=o(p),g=l(this),m=arguments.length,b=m>1?arguments[1]:void 0,I=b!==void 0;I&&(b=n(b,m>2?arguments[2]:void 0));var T=i(f),C=0,S,y,O,A,N,M;if(T&&!(this===v&&u(T)))for(y=g?new this:[],A=d(f,T),N=A.next;!(O=r(N,A)).done;C++)M=I?a(A,b,[O.value,C],!0):O.value,h(y,C,M);else for(S=c(f),y=g?new this(S):v(S);S>C;C++)M=I?b(f[C],C):f[C],h(y,C,M);return y.length=C,y}return s}()},64210:function(E,e,t){"use strict";var n=t(96812),r=t(74067),o=t(8333),a=function(l){return function(c,h,d){var i=n(c),v=o(i);if(v===0)return!l&&-1;var s=r(d,v),p;if(l&&h!==h){for(;v>s;)if(p=i[s++],p!==p)return!0}else for(;v>s;s++)if((l||s in i)&&i[s]===h)return l||s||0;return!l&&-1}};E.exports={includes:a(!0),indexOf:a(!1)}},67480:function(E,e,t){"use strict";var n=t(4509),r=t(18161),o=t(26736),a=t(40076),u=t(8333),l=t(32878),c=r([].push),h=function(i){var v=i===1,s=i===2,p=i===3,f=i===4,g=i===6,m=i===7,b=i===5||g;return function(I,T,C,S){for(var y=a(I),O=o(y),A=u(O),N=n(T,C),M=0,R=S||l,L=v?R(I,A):s||m?R(I,0):void 0,x,F;A>M;M++)if((b||M in O)&&(x=O[M],F=N(x,M,y),i))if(v)L[M]=F;else if(F)switch(i){case 3:return!0;case 5:return x;case 6:return M;case 2:c(L,x)}else switch(i){case 4:return!1;case 7:c(L,x)}return g?-1:p||f?f:L}};E.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterReject:h(7)}},16934:function(E,e,t){"use strict";var n=t(70918),r=t(96812),o=t(74952),a=t(8333),u=t(42309),l=Math.min,c=[].lastIndexOf,h=!!c&&1/[1].lastIndexOf(1,-0)<0,d=u("lastIndexOf"),i=h||!d;E.exports=i?function(){function v(s){if(h)return n(c,this,arguments)||0;var p=r(this),f=a(p);if(f===0)return-1;var g=f-1;for(arguments.length>1&&(g=l(g,o(arguments[1]))),g<0&&(g=f+g);g>=0;g--)if(g in p&&p[g]===s)return g||0;return-1}return v}():c},55114:function(E,e,t){"use strict";var n=t(41746),r=t(66266),o=t(82709),a=r("species");E.exports=function(u){return o>=51||!n(function(){var l=[],c=l.constructor={};return c[a]=function(){return{foo:1}},l[u](Boolean).foo!==1})}},42309:function(E,e,t){"use strict";var n=t(41746);E.exports=function(r,o){var a=[][r];return!!a&&n(function(){a.call(null,o||function(){return 1},1)})}},98405:function(E,e,t){"use strict";var n=t(97361),r=t(40076),o=t(26736),a=t(8333),u=TypeError,l="Reduce of empty array with no initial value",c=function(d){return function(i,v,s,p){var f=r(i),g=o(f),m=a(f);if(n(v),m===0&&s<2)throw new u(l);var b=d?m-1:0,I=d?-1:1;if(s<2)for(;;){if(b in g){p=g[b],b+=I;break}if(b+=I,d?b<0:m<=b)throw new u(l)}for(;d?b>=0:m>b;b+=I)b in g&&(p=v(p,g[b],b,f));return p}};E.exports={left:c(!1),right:c(!0)}},72720:function(E,e,t){"use strict";var n=t(14141),r=t(62367),o=TypeError,a=Object.getOwnPropertyDescriptor,u=n&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(l){return l instanceof TypeError}}();E.exports=u?function(l,c){if(r(l)&&!a(l,"length").writable)throw new o("Cannot set read only .length");return l.length=c}:function(l,c){return l.length=c}},77713:function(E,e,t){"use strict";var n=t(18161);E.exports=n([].slice)},44815:function(E,e,t){"use strict";var n=t(77713),r=Math.floor,o=function a(u,l){var c=u.length;if(c<8)for(var h=1,d,i;h<c;){for(i=h,d=u[h];i&&l(u[i-1],d)>0;)u[i]=u[--i];i!==h++&&(u[i]=d)}else for(var v=r(c/2),s=a(n(u,0,v),l),p=a(n(u,v),l),f=s.length,g=p.length,m=0,b=0;m<f||b<g;)u[m+b]=m<f&&b<g?l(s[m],p[b])<=0?s[m++]:p[b++]:m<f?s[m++]:p[b++];return u};E.exports=o},88988:function(E,e,t){"use strict";var n=t(62367),r=t(60354),o=t(56831),a=t(66266),u=a("species"),l=Array;E.exports=function(c){var h;return n(c)&&(h=c.constructor,r(h)&&(h===l||n(h.prototype))?h=void 0:o(h)&&(h=h[u],h===null&&(h=void 0))),h===void 0?l:h}},32878:function(E,e,t){"use strict";var n=t(88988);E.exports=function(r,o){return new(n(r))(o===0?0:o)}},17100:function(E,e,t){"use strict";var n=t(39482),r=t(14868);E.exports=function(o,a,u,l){try{return l?a(n(u)[0],u[1]):a(u)}catch(c){r(o,"throw",c)}}},52019:function(E,e,t){"use strict";var n=t(66266),r=n("iterator"),o=!1;try{var a=0,u={next:function(){function l(){return{done:!!a++}}return l}(),return:function(){function l(){o=!0}return l}()};u[r]=function(){return this},Array.from(u,function(){throw 2})}catch(l){}E.exports=function(l,c){try{if(!c&&!o)return!1}catch(i){return!1}var h=!1;try{var d={};d[r]=function(){return{next:function(){function i(){return{done:h=!0}}return i}()}},l(d)}catch(i){}return h}},38817:function(E,e,t){"use strict";var n=t(18161),r=n({}.toString),o=n("".slice);E.exports=function(a){return o(r(a),8,-1)}},27806:function(E,e,t){"use strict";var n=t(82161),r=t(7532),o=t(38817),a=t(66266),u=a("toStringTag"),l=Object,c=o(function(){return arguments}())==="Arguments",h=function(i,v){try{return i[v]}catch(s){}};E.exports=n?o:function(d){var i,v,s;return d===void 0?"Undefined":d===null?"Null":typeof(v=h(i=l(d),u))=="string"?v:c?o(i):(s=o(i))==="Object"&&r(i.callee)?"Arguments":s}},10623:function(E,e,t){"use strict";var n=t(28969),r=t(10069),o=t(13648),a=t(4509),u=t(19870),l=t(1022),c=t(281),h=t(2449),d=t(77056),i=t(67420),v=t(14141),s=t(29126).fastKey,p=t(35086),f=p.set,g=p.getterFor;E.exports={getConstructor:function(){function m(b,I,T,C){var S=b(function(M,R){u(M,y),f(M,{type:I,index:n(null),first:void 0,last:void 0,size:0}),v||(M.size=0),l(R)||c(R,M[C],{that:M,AS_ENTRIES:T})}),y=S.prototype,O=g(I),A=function(){function M(R,L,x){var F=O(R),V=N(R,L),G,B;return V?V.value=x:(F.last=V={index:B=s(L,!0),key:L,value:x,previous:G=F.last,next:void 0,removed:!1},F.first||(F.first=V),G&&(G.next=V),v?F.size++:R.size++,B!=="F"&&(F.index[B]=V)),R}return M}(),N=function(){function M(R,L){var x=O(R),F=s(L),V;if(F!=="F")return x.index[F];for(V=x.first;V;V=V.next)if(V.key===L)return V}return M}();return o(y,{clear:function(){function M(){for(var R=this,L=O(R),x=L.first;x;)x.removed=!0,x.previous&&(x.previous=x.previous.next=void 0),x=x.next;L.first=L.last=void 0,L.index=n(null),v?L.size=0:R.size=0}return M}(),delete:function(){function M(R){var L=this,x=O(L),F=N(L,R);if(F){var V=F.next,G=F.previous;delete x.index[F.index],F.removed=!0,G&&(G.next=V),V&&(V.previous=G),x.first===F&&(x.first=V),x.last===F&&(x.last=G),v?x.size--:L.size--}return!!F}return M}(),forEach:function(){function M(R){for(var L=O(this),x=a(R,arguments.length>1?arguments[1]:void 0),F;F=F?F.next:L.first;)for(x(F.value,F.key,this);F&&F.removed;)F=F.previous}return M}(),has:function(){function M(R){return!!N(this,R)}return M}()}),o(y,T?{get:function(){function M(R){var L=N(this,R);return L&&L.value}return M}(),set:function(){function M(R,L){return A(this,R===0?0:R,L)}return M}()}:{add:function(){function M(R){return A(this,R=R===0?0:R,R)}return M}()}),v&&r(y,"size",{configurable:!0,get:function(){function M(){return O(this).size}return M}()}),S}return m}(),setStrong:function(){function m(b,I,T){var C=I+" Iterator",S=g(I),y=g(C);h(b,I,function(O,A){f(this,{type:C,target:O,state:S(O),kind:A,last:void 0})},function(){for(var O=y(this),A=O.kind,N=O.last;N&&N.removed;)N=N.previous;return!O.target||!(O.last=N=N?N.next:O.state.first)?(O.target=void 0,d(void 0,!0)):d(A==="keys"?N.key:A==="values"?N.value:[N.key,N.value],!1)},T?"entries":"values",!T,!0),i(I)}return m}()}},32920:function(E,e,t){"use strict";var n=t(18161),r=t(13648),o=t(29126).getWeakData,a=t(19870),u=t(39482),l=t(1022),c=t(56831),h=t(281),d=t(67480),i=t(89458),v=t(35086),s=v.set,p=v.getterFor,f=d.find,g=d.findIndex,m=n([].splice),b=0,I=function(y){return y.frozen||(y.frozen=new T)},T=function(){this.entries=[]},C=function(y,O){return f(y.entries,function(A){return A[0]===O})};T.prototype={get:function(){function S(y){var O=C(this,y);if(O)return O[1]}return S}(),has:function(){function S(y){return!!C(this,y)}return S}(),set:function(){function S(y,O){var A=C(this,y);A?A[1]=O:this.entries.push([y,O])}return S}(),delete:function(){function S(y){var O=g(this.entries,function(A){return A[0]===y});return~O&&m(this.entries,O,1),!!~O}return S}()},E.exports={getConstructor:function(){function S(y,O,A,N){var M=y(function(F,V){a(F,R),s(F,{type:O,id:b++,frozen:void 0}),l(V)||h(V,F[N],{that:F,AS_ENTRIES:A})}),R=M.prototype,L=p(O),x=function(){function F(V,G,B){var U=L(V),j=o(u(G),!0);return j===!0?I(U).set(G,B):j[U.id]=B,V}return F}();return r(R,{delete:function(){function F(V){var G=L(this);if(!c(V))return!1;var B=o(V);return B===!0?I(G).delete(V):B&&i(B,G.id)&&delete B[G.id]}return F}(),has:function(){function F(V){var G=L(this);if(!c(V))return!1;var B=o(V);return B===!0?I(G).has(V):B&&i(B,G.id)}return F}()}),r(R,A?{get:function(){function F(V){var G=L(this);if(c(V)){var B=o(V);return B===!0?I(G).get(V):B?B[G.id]:void 0}}return F}(),set:function(){function F(V,G){return x(this,V,G)}return F}()}:{add:function(){function F(V){return x(this,V,!0)}return F}()}),M}return S}()}},93439:function(E,e,t){"use strict";var n=t(77549),r=t(40224),o=t(18161),a=t(95945),u=t(59173),l=t(29126),c=t(281),h=t(19870),d=t(7532),i=t(1022),v=t(56831),s=t(41746),p=t(52019),f=t(94234),g=t(2566);E.exports=function(m,b,I){var T=m.indexOf("Map")!==-1,C=m.indexOf("Weak")!==-1,S=T?"set":"add",y=r[m],O=y&&y.prototype,A=y,N={},M=function(U){var j=o(O[U]);u(O,U,U==="add"?function(){function K($){return j(this,$===0?0:$),this}return K}():U==="delete"?function(K){return C&&!v(K)?!1:j(this,K===0?0:K)}:U==="get"?function(){function K($){return C&&!v($)?void 0:j(this,$===0?0:$)}return K}():U==="has"?function(){function K($){return C&&!v($)?!1:j(this,$===0?0:$)}return K}():function(){function K($,W){return j(this,$===0?0:$,W),this}return K}())},R=a(m,!d(y)||!(C||O.forEach&&!s(function(){new y().entries().next()})));if(R)A=I.getConstructor(b,m,T,S),l.enable();else if(a(m,!0)){var L=new A,x=L[S](C?{}:-0,1)!==L,F=s(function(){L.has(1)}),V=p(function(B){new y(B)}),G=!C&&s(function(){for(var B=new y,U=5;U--;)B[S](U,U);return!B.has(-0)});V||(A=b(function(B,U){h(B,O);var j=g(new y,B,A);return i(U)||c(U,j[S],{that:j,AS_ENTRIES:T}),j}),A.prototype=O,O.constructor=A),(F||G)&&(M("delete"),M("has"),T&&M("get")),(G||x)&&M(S),C&&O.clear&&delete O.clear}return N[m]=A,n({global:!0,constructor:!0,forced:A!==y},N),f(A,m),C||I.setStrong(A,m,T),A}},70113:function(E,e,t){"use strict";var n=t(89458),r=t(93616),o=t(54168),a=t(56018);E.exports=function(u,l,c){for(var h=r(l),d=a.f,i=o.f,v=0;v<h.length;v++){var s=h[v];!n(u,s)&&!(c&&n(c,s))&&d(u,s,i(l,s))}}},93321:function(E,e,t){"use strict";var n=t(66266),r=n("match");E.exports=function(o){var a=/./;try{"/./"[o](a)}catch(u){try{return a[r]=!1,"/./"[o](a)}catch(l){}}return!1}},58776:function(E,e,t){"use strict";var n=t(41746);E.exports=!n(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})},93677:function(E,e,t){"use strict";var n=t(18161),r=t(91029),o=t(26602),a=/"/g,u=n("".replace);E.exports=function(l,c,h,d){var i=o(r(l)),v="<"+c;return h!==""&&(v+=" "+h+'="'+u(o(d),a,""")+'"'),v+">"+i+"</"+c+">"}},77056:function(E){"use strict";E.exports=function(e,t){return{value:e,done:t}}},16216:function(E,e,t){"use strict";var n=t(14141),r=t(56018),o=t(7539);E.exports=n?function(a,u,l){return r.f(a,u,o(1,l))}:function(a,u,l){return a[u]=l,a}},7539:function(E){"use strict";E.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}},12913:function(E,e,t){"use strict";var n=t(14141),r=t(56018),o=t(7539);E.exports=function(a,u,l){n?r.f(a,u,o(0,l)):a[u]=l}},74003:function(E,e,t){"use strict";var n=t(18161),r=t(41746),o=t(34086).start,a=RangeError,u=isFinite,l=Math.abs,c=Date.prototype,h=c.toISOString,d=n(c.getTime),i=n(c.getUTCDate),v=n(c.getUTCFullYear),s=n(c.getUTCHours),p=n(c.getUTCMilliseconds),f=n(c.getUTCMinutes),g=n(c.getUTCMonth),m=n(c.getUTCSeconds);E.exports=r(function(){return h.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!r(function(){h.call(new Date(NaN))})?function(){function b(){if(!u(d(this)))throw new a("Invalid time value");var I=this,T=v(I),C=p(I),S=T<0?"-":T>9999?"+":"";return S+o(l(T),S?6:4,0)+"-"+o(g(I)+1,2,0)+"-"+o(i(I),2,0)+"T"+o(s(I),2,0)+":"+o(f(I),2,0)+":"+o(m(I),2,0)+"."+o(C,3,0)+"Z"}return b}():h},95865:function(E,e,t){"use strict";var n=t(39482),r=t(14991),o=TypeError;E.exports=function(a){if(n(this),a==="string"||a==="default")a="string";else if(a!=="number")throw new o("Incorrect hint");return r(this,a)}},10069:function(E,e,t){"use strict";var n=t(76130),r=t(56018);E.exports=function(o,a,u){return u.get&&n(u.get,a,{getter:!0}),u.set&&n(u.set,a,{setter:!0}),r.f(o,a,u)}},59173:function(E,e,t){"use strict";var n=t(7532),r=t(56018),o=t(76130),a=t(93422);E.exports=function(u,l,c,h){h||(h={});var d=h.enumerable,i=h.name!==void 0?h.name:l;if(n(c)&&o(c,i,h),h.global)d?u[l]=c:a(l,c);else{try{h.unsafe?u[l]&&(d=!0):delete u[l]}catch(v){}d?u[l]=c:r.f(u,l,{value:c,enumerable:!1,configurable:!h.nonConfigurable,writable:!h.nonWritable})}return u}},13648:function(E,e,t){"use strict";var n=t(59173);E.exports=function(r,o,a){for(var u in o)n(r,u,o[u],a);return r}},93422:function(E,e,t){"use strict";var n=t(40224),r=Object.defineProperty;E.exports=function(o,a){try{r(n,o,{value:a,configurable:!0,writable:!0})}catch(u){n[o]=a}return a}},58937:function(E,e,t){"use strict";var n=t(62518),r=TypeError;E.exports=function(o,a){if(!delete o[a])throw new r("Cannot delete property "+n(a)+" of "+n(o))}},14141:function(E,e,t){"use strict";var n=t(41746);E.exports=!n(function(){return Object.defineProperty({},1,{get:function(){function r(){return 7}return r}()})[1]!==7})},85158:function(E,e,t){"use strict";var n=t(40224),r=t(56831),o=n.document,a=r(o)&&r(o.createElement);E.exports=function(u){return a?o.createElement(u):{}}},72434:function(E){"use strict";var e=TypeError,t=9007199254740991;E.exports=function(n){if(n>t)throw e("Maximum allowed index exceeded");return n}},49847:function(E,e,t){"use strict";var n=t(15837),r=n.match(/firefox\/(\d+)/i);E.exports=!!r&&+r[1]},27955:function(E,e,t){"use strict";var n=t(2971),r=t(95823);E.exports=!n&&!r&&typeof window=="object"&&typeof document=="object"},2178:function(E){"use strict";E.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},2971:function(E){"use strict";E.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},56605:function(E,e,t){"use strict";var n=t(15837);E.exports=/MSIE|Trident/.test(n)},6647:function(E,e,t){"use strict";var n=t(15837);E.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble!="undefined"},52426:function(E,e,t){"use strict";var n=t(15837);E.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},95823:function(E,e,t){"use strict";var n=t(40224),r=t(38817);E.exports=r(n.process)==="process"},25062:function(E,e,t){"use strict";var n=t(15837);E.exports=/web0s(?!.*chrome)/i.test(n)},15837:function(E){"use strict";E.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},82709:function(E,e,t){"use strict";var n=t(40224),r=t(15837),o=n.process,a=n.Deno,u=o&&o.versions||a&&a.version,l=u&&u.v8,c,h;l&&(c=l.split("."),h=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!h&&r&&(c=r.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=r.match(/Chrome\/(\d+)/),c&&(h=+c[1]))),E.exports=h},53125:function(E,e,t){"use strict";var n=t(15837),r=n.match(/AppleWebKit\/(\d+)\./);E.exports=!!r&&+r[1]},90298:function(E){"use strict";E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},77549:function(E,e,t){"use strict";var n=t(40224),r=t(54168).f,o=t(16216),a=t(59173),u=t(93422),l=t(70113),c=t(95945);E.exports=function(h,d){var i=h.target,v=h.global,s=h.stat,p,f,g,m,b,I;if(v?f=n:s?f=n[i]||u(i,{}):f=n[i]&&n[i].prototype,f)for(g in d){if(b=d[g],h.dontCallGetSet?(I=r(f,g),m=I&&I.value):m=f[g],p=c(v?g:i+(s?".":"#")+g,h.forced),!p&&m!==void 0){if(typeof b==typeof m)continue;l(b,m)}(h.sham||m&&m.sham)&&o(b,"sham",!0),a(f,g,b,h)}}},41746:function(E){"use strict";E.exports=function(e){try{return!!e()}catch(t){return!0}}},85427:function(E,e,t){"use strict";t(95880);var n=t(62696),r=t(59173),o=t(72894),a=t(41746),u=t(66266),l=t(16216),c=u("species"),h=RegExp.prototype;E.exports=function(d,i,v,s){var p=u(d),f=!a(function(){var I={};return I[p]=function(){return 7},""[d](I)!==7}),g=f&&!a(function(){var I=!1,T=/a/;return d==="split"&&(T={},T.constructor={},T.constructor[c]=function(){return T},T.flags="",T[p]=/./[p]),T.exec=function(){return I=!0,null},T[p](""),!I});if(!f||!g||v){var m=/./[p],b=i(p,""[d],function(I,T,C,S,y){var O=T.exec;return O===o||O===h.exec?f&&!y?{done:!0,value:n(m,T,C,S)}:{done:!0,value:n(I,C,T,S)}:{done:!1}});r(String.prototype,d,b[0]),r(h,p,b[1])}s&&l(h[p],"sham",!0)}},68864:function(E,e,t){"use strict";var n=t(62367),r=t(8333),o=t(72434),a=t(4509),u=function l(c,h,d,i,v,s,p,f){for(var g=v,m=0,b=p?a(p,f):!1,I,T;m<i;)m in d&&(I=b?b(d[m],m,h):d[m],s>0&&n(I)?(T=r(I),g=l(c,h,I,T,g,s-1)-1):(o(g+1),c[g]=I),g++),m++;return g};E.exports=u},56255:function(E,e,t){"use strict";var n=t(41746);E.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},70918:function(E,e,t){"use strict";var n=t(76799),r=Function.prototype,o=r.apply,a=r.call;E.exports=typeof Reflect=="object"&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},4509:function(E,e,t){"use strict";var n=t(85067),r=t(97361),o=t(76799),a=n(n.bind);E.exports=function(u,l){return r(u),l===void 0?u:o?a(u,l):function(){return u.apply(l,arguments)}}},76799:function(E,e,t){"use strict";var n=t(41746);E.exports=!n(function(){var r=function(){}.bind();return typeof r!="function"||r.hasOwnProperty("prototype")})},9379:function(E,e,t){"use strict";var n=t(18161),r=t(97361),o=t(56831),a=t(89458),u=t(77713),l=t(76799),c=Function,h=n([].concat),d=n([].join),i={},v=function(p,f,g){if(!a(i,f)){for(var m=[],b=0;b<f;b++)m[b]="a["+b+"]";i[f]=c("C,a","return new C("+d(m,",")+")")}return i[f](p,g)};E.exports=l?c.bind:function(){function s(p){var f=r(this),g=f.prototype,m=u(arguments,1),b=function(){function I(){var T=h(m,u(arguments));return this instanceof b?v(f,T.length,T):f.apply(p,T)}return I}();return o(g)&&(b.prototype=g),b}return s}()},62696:function(E,e,t){"use strict";var n=t(76799),r=Function.prototype.call;E.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},26463:function(E,e,t){"use strict";var n=t(14141),r=t(89458),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=r(o,"name"),l=u&&function(){function h(){}return h}().name==="something",c=u&&(!n||n&&a(o,"name").configurable);E.exports={EXISTS:u,PROPER:l,CONFIGURABLE:c}},9553:function(E,e,t){"use strict";var n=t(18161),r=t(97361);E.exports=function(o,a,u){try{return n(r(Object.getOwnPropertyDescriptor(o,a)[u]))}catch(l){}}},85067:function(E,e,t){"use strict";var n=t(38817),r=t(18161);E.exports=function(o){if(n(o)==="Function")return r(o)}},18161:function(E,e,t){"use strict";var n=t(76799),r=Function.prototype,o=r.call,a=n&&r.bind.bind(o,o);E.exports=n?a:function(u){return function(){return o.apply(u,arguments)}}},40164:function(E,e,t){"use strict";var n=t(40224),r=t(7532),o=function(u){return r(u)?u:void 0};E.exports=function(a,u){return arguments.length<2?o(n[a]):n[a]&&n[a][u]}},76274:function(E,e,t){"use strict";var n=t(27806),r=t(4817),o=t(1022),a=t(90604),u=t(66266),l=u("iterator");E.exports=function(c){if(!o(c))return r(c,l)||r(c,"@@iterator")||a[n(c)]}},3438:function(E,e,t){"use strict";var n=t(62696),r=t(97361),o=t(39482),a=t(62518),u=t(76274),l=TypeError;E.exports=function(c,h){var d=arguments.length<2?u(c):h;if(r(d))return o(n(d,c));throw new l(a(c)+" is not iterable")}},5806:function(E,e,t){"use strict";var n=t(18161),r=t(62367),o=t(7532),a=t(38817),u=t(26602),l=n([].push);E.exports=function(c){if(o(c))return c;if(r(c)){for(var h=c.length,d=[],i=0;i<h;i++){var v=c[i];typeof v=="string"?l(d,v):(typeof v=="number"||a(v)==="Number"||a(v)==="String")&&l(d,u(v))}var s=d.length,p=!0;return function(f,g){if(p)return p=!1,g;if(r(this))return g;for(var m=0;m<s;m++)if(d[m]===f)return g}}}},4817:function(E,e,t){"use strict";var n=t(97361),r=t(1022);E.exports=function(o,a){var u=o[a];return r(u)?void 0:n(u)}},81385:function(E,e,t){"use strict";var n=t(18161),r=t(40076),o=Math.floor,a=n("".charAt),u=n("".replace),l=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,h=/\$([$&'`]|\d{1,2})/g;E.exports=function(d,i,v,s,p,f){var g=v+d.length,m=s.length,b=h;return p!==void 0&&(p=r(p),b=c),u(f,b,function(I,T){var C;switch(a(T,0)){case"$":return"$";case"&":return d;case"`":return l(i,0,v);case"'":return l(i,g);case"<":C=p[l(T,1,-1)];break;default:var S=+T;if(S===0)return I;if(S>m){var y=o(S/10);return y===0?I:y<=m?s[y-1]===void 0?a(T,1):s[y-1]+a(T,1):I}C=s[S-1]}return C===void 0?"":C})}},40224:function(E,e,t){"use strict";var n=function(o){return o&&o.Math===Math&&o};E.exports=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof t.g=="object"&&t.g)||n(!1)||function(){return this}()||Function("return this")()},89458:function(E,e,t){"use strict";var n=t(18161),r=t(40076),o=n({}.hasOwnProperty);E.exports=Object.hasOwn||function(){function a(u,l){return o(r(u),l)}return a}()},21124:function(E){"use strict";E.exports={}},46122:function(E){"use strict";E.exports=function(e,t){try{arguments.length}catch(n){}}},54562:function(E,e,t){"use strict";var n=t(40164);E.exports=n("document","documentElement")},1606:function(E,e,t){"use strict";var n=t(14141),r=t(41746),o=t(85158);E.exports=!n&&!r(function(){return Object.defineProperty(o("div"),"a",{get:function(){function a(){return 7}return a}()}).a!==7})},62263:function(E){"use strict";var e=Array,t=Math.abs,n=Math.pow,r=Math.floor,o=Math.log,a=Math.LN2,u=function(h,d,i){var v=e(i),s=i*8-d-1,p=(1<<s)-1,f=p>>1,g=d===23?n(2,-24)-n(2,-77):0,m=h<0||h===0&&1/h<0?1:0,b=0,I,T,C;for(h=t(h),h!==h||h===1/0?(T=h!==h?1:0,I=p):(I=r(o(h)/a),C=n(2,-I),h*C<1&&(I--,C*=2),I+f>=1?h+=g/C:h+=g*n(2,1-f),h*C>=2&&(I++,C/=2),I+f>=p?(T=0,I=p):I+f>=1?(T=(h*C-1)*n(2,d),I+=f):(T=h*n(2,f-1)*n(2,d),I=0));d>=8;)v[b++]=T&255,T/=256,d-=8;for(I=I<<d|T,s+=d;s>0;)v[b++]=I&255,I/=256,s-=8;return v[--b]|=m*128,v},l=function(h,d){var i=h.length,v=i*8-d-1,s=(1<<v)-1,p=s>>1,f=v-7,g=i-1,m=h[g--],b=m&127,I;for(m>>=7;f>0;)b=b*256+h[g--],f-=8;for(I=b&(1<<-f)-1,b>>=-f,f+=d;f>0;)I=I*256+h[g--],f-=8;if(b===0)b=1-p;else{if(b===s)return I?NaN:m?-1/0:1/0;I+=n(2,d),b-=p}return(m?-1:1)*I*n(2,b-d)};E.exports={pack:u,unpack:l}},26736:function(E,e,t){"use strict";var n=t(18161),r=t(41746),o=t(38817),a=Object,u=n("".split);E.exports=r(function(){return!a("z").propertyIsEnumerable(0)})?function(l){return o(l)==="String"?u(l,""):a(l)}:a},2566:function(E,e,t){"use strict";var n=t(7532),r=t(56831),o=t(42878);E.exports=function(a,u,l){var c,h;return o&&n(c=u.constructor)&&c!==l&&r(h=c.prototype)&&h!==l.prototype&&o(a,h),a}},43589:function(E,e,t){"use strict";var n=t(18161),r=t(7532),o=t(95046),a=n(Function.toString);r(o.inspectSource)||(o.inspectSource=function(u){return a(u)}),E.exports=o.inspectSource},29126:function(E,e,t){"use strict";var n=t(77549),r=t(18161),o=t(21124),a=t(56831),u=t(89458),l=t(56018).f,c=t(34813),h=t(63797),d=t(57975),i=t(33345),v=t(56255),s=!1,p=i("meta"),f=0,g=function(y){l(y,p,{value:{objectID:"O"+f++,weakData:{}}})},m=function(y,O){if(!a(y))return typeof y=="symbol"?y:(typeof y=="string"?"S":"P")+y;if(!u(y,p)){if(!d(y))return"F";if(!O)return"E";g(y)}return y[p].objectID},b=function(y,O){if(!u(y,p)){if(!d(y))return!0;if(!O)return!1;g(y)}return y[p].weakData},I=function(y){return v&&s&&d(y)&&!u(y,p)&&g(y),y},T=function(){C.enable=function(){},s=!0;var y=c.f,O=r([].splice),A={};A[p]=1,y(A).length&&(c.f=function(N){for(var M=y(N),R=0,L=M.length;R<L;R++)if(M[R]===p){O(M,R,1);break}return M},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:h.f}))},C=E.exports={enable:T,fastKey:m,getWeakData:b,onFreeze:I};o[p]=!0},35086:function(E,e,t){"use strict";var n=t(90777),r=t(40224),o=t(56831),a=t(16216),u=t(89458),l=t(95046),c=t(5160),h=t(21124),d="Object already initialized",i=r.TypeError,v=r.WeakMap,s,p,f,g=function(C){return f(C)?p(C):s(C,{})},m=function(C){return function(S){var y;if(!o(S)||(y=p(S)).type!==C)throw new i("Incompatible receiver, "+C+" required");return y}};if(n||l.state){var b=l.state||(l.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,s=function(C,S){if(b.has(C))throw new i(d);return S.facade=C,b.set(C,S),S},p=function(C){return b.get(C)||{}},f=function(C){return b.has(C)}}else{var I=c("state");h[I]=!0,s=function(C,S){if(u(C,I))throw new i(d);return S.facade=C,a(C,I,S),S},p=function(C){return u(C,I)?C[I]:{}},f=function(C){return u(C,I)}}E.exports={set:s,get:p,has:f,enforce:g,getterFor:m}},58482:function(E,e,t){"use strict";var n=t(66266),r=t(90604),o=n("iterator"),a=Array.prototype;E.exports=function(u){return u!==void 0&&(r.Array===u||a[o]===u)}},62367:function(E,e,t){"use strict";var n=t(38817);E.exports=Array.isArray||function(){function r(o){return n(o)==="Array"}return r}()},5080:function(E,e,t){"use strict";var n=t(27806);E.exports=function(r){var o=n(r);return o==="BigInt64Array"||o==="BigUint64Array"}},7532:function(E){"use strict";var e=typeof document=="object"&&document.all;E.exports=typeof e=="undefined"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"}},60354:function(E,e,t){"use strict";var n=t(18161),r=t(41746),o=t(7532),a=t(27806),u=t(40164),l=t(43589),c=function(){},h=u("Reflect","construct"),d=/^\s*(?:class|function)\b/,i=n(d.exec),v=!d.test(c),s=function(){function f(g){if(!o(g))return!1;try{return h(c,[],g),!0}catch(m){return!1}}return f}(),p=function(){function f(g){if(!o(g))return!1;switch(a(g)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!i(d,l(g))}catch(m){return!0}}return f}();p.sham=!0,E.exports=!h||r(function(){var f;return s(s.call)||!s(Object)||!s(function(){f=!0})||f})?p:s},35892:function(E,e,t){"use strict";var n=t(89458);E.exports=function(r){return r!==void 0&&(n(r,"value")||n(r,"writable"))}},95945:function(E,e,t){"use strict";var n=t(41746),r=t(7532),o=/#|\.prototype\./,a=function(i,v){var s=l[u(i)];return s===h?!0:s===c?!1:r(v)?n(v):!!v},u=a.normalize=function(d){return String(d).replace(o,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",h=a.POLYFILL="P";E.exports=a},57696:function(E,e,t){"use strict";var n=t(56831),r=Math.floor;E.exports=Number.isInteger||function(){function o(a){return!n(a)&&isFinite(a)&&r(a)===a}return o}()},1022:function(E){"use strict";E.exports=function(e){return e==null}},56831:function(E,e,t){"use strict";var n=t(7532);E.exports=function(r){return typeof r=="object"?r!==null:n(r)}},41224:function(E,e,t){"use strict";var n=t(56831);E.exports=function(r){return n(r)||r===null}},11478:function(E){"use strict";E.exports=!1},80969:function(E,e,t){"use strict";var n=t(56831),r=t(38817),o=t(66266),a=o("match");E.exports=function(u){var l;return n(u)&&((l=u[a])!==void 0?!!l:r(u)==="RegExp")}},74352:function(E,e,t){"use strict";var n=t(40164),r=t(7532),o=t(33314),a=t(81457),u=Object;E.exports=a?function(l){return typeof l=="symbol"}:function(l){var c=n("Symbol");return r(c)&&o(c.prototype,u(l))}},281:function(E,e,t){"use strict";var n=t(4509),r=t(62696),o=t(39482),a=t(62518),u=t(58482),l=t(8333),c=t(33314),h=t(3438),d=t(76274),i=t(14868),v=TypeError,s=function(g,m){this.stopped=g,this.result=m},p=s.prototype;E.exports=function(f,g,m){var b=m&&m.that,I=!!(m&&m.AS_ENTRIES),T=!!(m&&m.IS_RECORD),C=!!(m&&m.IS_ITERATOR),S=!!(m&&m.INTERRUPTED),y=n(g,b),O,A,N,M,R,L,x,F=function(B){return O&&i(O,"normal",B),new s(!0,B)},V=function(B){return I?(o(B),S?y(B[0],B[1],F):y(B[0],B[1])):S?y(B,F):y(B)};if(T)O=f.iterator;else if(C)O=f;else{if(A=d(f),!A)throw new v(a(f)+" is not iterable");if(u(A)){for(N=0,M=l(f);M>N;N++)if(R=V(f[N]),R&&c(p,R))return R;return new s(!1)}O=h(f,A)}for(L=T?f.next:O.next;!(x=r(L,O)).done;){try{R=V(x.value)}catch(G){i(O,"throw",G)}if(typeof R=="object"&&R&&c(p,R))return R}return new s(!1)}},14868:function(E,e,t){"use strict";var n=t(62696),r=t(39482),o=t(4817);E.exports=function(a,u,l){var c,h;r(a);try{if(c=o(a,"return"),!c){if(u==="throw")throw l;return l}c=n(c,a)}catch(d){h=!0,c=d}if(u==="throw")throw l;if(h)throw c;return r(c),l}},42599:function(E,e,t){"use strict";var n=t(85106).IteratorPrototype,r=t(28969),o=t(7539),a=t(94234),u=t(90604),l=function(){return this};E.exports=function(c,h,d,i){var v=h+" Iterator";return c.prototype=r(n,{next:o(+!i,d)}),a(c,v,!1,!0),u[v]=l,c}},2449:function(E,e,t){"use strict";var n=t(77549),r=t(62696),o=t(11478),a=t(26463),u=t(7532),l=t(42599),c=t(31658),h=t(42878),d=t(94234),i=t(16216),v=t(59173),s=t(66266),p=t(90604),f=t(85106),g=a.PROPER,m=a.CONFIGURABLE,b=f.IteratorPrototype,I=f.BUGGY_SAFARI_ITERATORS,T=s("iterator"),C="keys",S="values",y="entries",O=function(){return this};E.exports=function(A,N,M,R,L,x,F){l(M,N,R);var V=function(k){if(k===L&&K)return K;if(!I&&k&&k in U)return U[k];switch(k){case C:return function(){function X(){return new M(this,k)}return X}();case S:return function(){function X(){return new M(this,k)}return X}();case y:return function(){function X(){return new M(this,k)}return X}()}return function(){return new M(this)}},G=N+" Iterator",B=!1,U=A.prototype,j=U[T]||U["@@iterator"]||L&&U[L],K=!I&&j||V(L),$=N==="Array"&&U.entries||j,W,nt,st;if($&&(W=c($.call(new A)),W!==Object.prototype&&W.next&&(!o&&c(W)!==b&&(h?h(W,b):u(W[T])||v(W,T,O)),d(W,G,!0,!0),o&&(p[G]=O))),g&&L===S&&j&&j.name!==S&&(!o&&m?i(U,"name",S):(B=!0,K=function(){function gt(){return r(j,this)}return gt}())),L)if(nt={values:V(S),keys:x?K:V(C),entries:V(y)},F)for(st in nt)(I||B||!(st in U))&&v(U,st,nt[st]);else n({target:N,proto:!0,forced:I||B},nt);return(!o||F)&&U[T]!==K&&v(U,T,K,{name:L}),p[N]=K,nt}},85106:function(E,e,t){"use strict";var n=t(41746),r=t(7532),o=t(56831),a=t(28969),u=t(31658),l=t(59173),c=t(66266),h=t(11478),d=c("iterator"),i=!1,v,s,p;[].keys&&(p=[].keys(),"next"in p?(s=u(u(p)),s!==Object.prototype&&(v=s)):i=!0);var f=!o(v)||n(function(){var g={};return v[d].call(g)!==g});f?v={}:h&&(v=a(v)),r(v[d])||l(v,d,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:i}},90604:function(E){"use strict";E.exports={}},8333:function(E,e,t){"use strict";var n=t(10475);E.exports=function(r){return n(r.length)}},76130:function(E,e,t){"use strict";var n=t(18161),r=t(41746),o=t(7532),a=t(89458),u=t(14141),l=t(26463).CONFIGURABLE,c=t(43589),h=t(35086),d=h.enforce,i=h.get,v=String,s=Object.defineProperty,p=n("".slice),f=n("".replace),g=n([].join),m=u&&!r(function(){return s(function(){},"length",{value:8}).length!==8}),b=String(String).split("String"),I=E.exports=function(T,C,S){p(v(C),0,7)==="Symbol("&&(C="["+f(v(C),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),S&&S.getter&&(C="get "+C),S&&S.setter&&(C="set "+C),(!a(T,"name")||l&&T.name!==C)&&(u?s(T,"name",{value:C,configurable:!0}):T.name=C),m&&S&&a(S,"arity")&&T.length!==S.arity&&s(T,"length",{value:S.arity});try{S&&a(S,"constructor")&&S.constructor?u&&s(T,"prototype",{writable:!1}):T.prototype&&(T.prototype=void 0)}catch(O){}var y=d(T);return a(y,"source")||(y.source=g(b,typeof C=="string"?C:"")),T};Function.prototype.toString=I(function(){function T(){return o(this)&&i(this).source||c(this)}return T}(),"toString")},32813:function(E){"use strict";var e=Math.expm1,t=Math.exp;E.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||e(-2e-17)!==-2e-17?function(){function n(r){var o=+r;return o===0?o:o>-1e-6&&o<1e-6?o+o*o/2:t(o)-1}return n}():e},23207:function(E,e,t){"use strict";var n=t(54307),r=Math.abs,o=2220446049250313e-31,a=1/o,u=function(c){return c+a-a};E.exports=function(l,c,h,d){var i=+l,v=r(i),s=n(i);if(v<d)return s*u(v/d/c)*d*c;var p=(1+c/o)*v,f=p-(p-v);return f>h||f!==f?s*(1/0):s*f}},75988:function(E,e,t){"use strict";var n=t(23207),r=11920928955078125e-23,o=34028234663852886e22,a=11754943508222875e-54;E.exports=Math.fround||function(){function u(l){return n(l,r,o,a)}return u}()},53271:function(E){"use strict";var e=Math.log,t=Math.LOG10E;E.exports=Math.log10||function(){function n(r){return e(r)*t}return n}()},69143:function(E){"use strict";var e=Math.log;E.exports=Math.log1p||function(){function t(n){var r=+n;return r>-1e-8&&r<1e-8?r-r*r/2:e(1+r)}return t}()},54307:function(E){"use strict";E.exports=Math.sign||function(){function e(t){var n=+t;return n===0||n!==n?n:n<0?-1:1}return e}()},34606:function(E){"use strict";var e=Math.ceil,t=Math.floor;E.exports=Math.trunc||function(){function n(r){var o=+r;return(o>0?t:e)(o)}return n}()},27150:function(E,e,t){"use strict";var n=t(40224),r=t(1156),o=t(4509),a=t(91314).set,u=t(23496),l=t(52426),c=t(6647),h=t(25062),d=t(95823),i=n.MutationObserver||n.WebKitMutationObserver,v=n.document,s=n.process,p=n.Promise,f=r("queueMicrotask"),g,m,b,I,T;if(!f){var C=new u,S=function(){var O,A;for(d&&(O=s.domain)&&O.exit();A=C.get();)try{A()}catch(N){throw C.head&&g(),N}O&&O.enter()};!l&&!d&&!h&&i&&v?(m=!0,b=v.createTextNode(""),new i(S).observe(b,{characterData:!0}),g=function(){b.data=m=!m}):!c&&p&&p.resolve?(I=p.resolve(void 0),I.constructor=p,T=o(I.then,I),g=function(){T(S)}):d?g=function(){s.nextTick(S)}:(a=o(a,n),g=function(){a(S)}),f=function(O){C.head||g(),C.add(O)}}E.exports=f},48532:function(E,e,t){"use strict";var n=t(97361),r=TypeError,o=function(u){var l,c;this.promise=new u(function(h,d){if(l!==void 0||c!==void 0)throw new r("Bad Promise constructor");l=h,c=d}),this.resolve=n(l),this.reject=n(c)};E.exports.f=function(a){return new o(a)}},89140:function(E,e,t){"use strict";var n=t(80969),r=TypeError;E.exports=function(o){if(n(o))throw new r("The method doesn't accept regular expressions");return o}},69079:function(E,e,t){"use strict";var n=t(40224),r=n.isFinite;E.exports=Number.isFinite||function(){function o(a){return typeof a=="number"&&r(a)}return o}()},43283:function(E,e,t){"use strict";var n=t(40224),r=t(41746),o=t(18161),a=t(26602),u=t(35171).trim,l=t(137),c=o("".charAt),h=n.parseFloat,d=n.Symbol,i=d&&d.iterator,v=1/h(l+"-0")!==-1/0||i&&!r(function(){h(Object(i))});E.exports=v?function(){function s(p){var f=u(a(p)),g=h(f);return g===0&&c(f,0)==="-"?-0:g}return s}():h},11540:function(E,e,t){"use strict";var n=t(40224),r=t(41746),o=t(18161),a=t(26602),u=t(35171).trim,l=t(137),c=n.parseInt,h=n.Symbol,d=h&&h.iterator,i=/^[+-]?0x/i,v=o(i.exec),s=c(l+"08")!==8||c(l+"0x16")!==22||d&&!r(function(){c(Object(d))});E.exports=s?function(){function p(f,g){var m=u(a(f));return c(m,g>>>0||(v(i,m)?16:10))}return p}():c},12752:function(E,e,t){"use strict";var n=t(14141),r=t(18161),o=t(62696),a=t(41746),u=t(84913),l=t(34220),c=t(9776),h=t(40076),d=t(26736),i=Object.assign,v=Object.defineProperty,s=r([].concat);E.exports=!i||a(function(){if(n&&i({b:1},i(v({},"a",{enumerable:!0,get:function(){function b(){v(this,"b",{value:3,enumerable:!1})}return b}()}),{b:2})).b!==1)return!0;var p={},f={},g=Symbol("assign detection"),m="abcdefghijklmnopqrst";return p[g]=7,m.split("").forEach(function(b){f[b]=b}),i({},p)[g]!==7||u(i({},f)).join("")!==m})?function(){function p(f,g){for(var m=h(f),b=arguments.length,I=1,T=l.f,C=c.f;b>I;)for(var S=d(arguments[I++]),y=T?s(u(S),T(S)):u(S),O=y.length,A=0,N;O>A;)N=y[A++],(!n||o(C,S,N))&&(m[N]=S[N]);return m}return p}():i},28969:function(E,e,t){"use strict";var n=t(39482),r=t(65854),o=t(90298),a=t(21124),u=t(54562),l=t(85158),c=t(5160),h=">",d="<",i="prototype",v="script",s=c("IE_PROTO"),p=function(){},f=function(C){return d+v+h+C+d+"/"+v+h},g=function(C){C.write(f("")),C.close();var S=C.parentWindow.Object;return C=null,S},m=function(){var C=l("iframe"),S="java"+v+":",y;return C.style.display="none",u.appendChild(C),C.src=String(S),y=C.contentWindow.document,y.open(),y.write(f("document.F=Object")),y.close(),y.F},b,I=function(){try{b=new ActiveXObject("htmlfile")}catch(S){}I=typeof document!="undefined"?document.domain&&b?g(b):m():g(b);for(var C=o.length;C--;)delete I[i][o[C]];return I()};a[s]=!0,E.exports=Object.create||function(){function T(C,S){var y;return C!==null?(p[i]=n(C),y=new p,p[i]=null,y[s]=C):y=I(),S===void 0?y:r.f(y,S)}return T}()},65854:function(E,e,t){"use strict";var n=t(14141),r=t(83411),o=t(56018),a=t(39482),u=t(96812),l=t(84913);e.f=n&&!r?Object.defineProperties:function(){function c(h,d){a(h);for(var i=u(d),v=l(d),s=v.length,p=0,f;s>p;)o.f(h,f=v[p++],i[f]);return h}return c}()},56018:function(E,e,t){"use strict";var n=t(14141),r=t(1606),o=t(83411),a=t(39482),u=t(57640),l=TypeError,c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,d="enumerable",i="configurable",v="writable";e.f=n?o?function(){function s(p,f,g){if(a(p),f=u(f),a(g),typeof p=="function"&&f==="prototype"&&"value"in g&&v in g&&!g[v]){var m=h(p,f);m&&m[v]&&(p[f]=g.value,g={configurable:i in g?g[i]:m[i],enumerable:d in g?g[d]:m[d],writable:!1})}return c(p,f,g)}return s}():c:function(){function s(p,f,g){if(a(p),f=u(f),a(g),r)try{return c(p,f,g)}catch(m){}if("get"in g||"set"in g)throw new l("Accessors not supported");return"value"in g&&(p[f]=g.value),p}return s}()},54168:function(E,e,t){"use strict";var n=t(14141),r=t(62696),o=t(9776),a=t(7539),u=t(96812),l=t(57640),c=t(89458),h=t(1606),d=Object.getOwnPropertyDescriptor;e.f=n?d:function(){function i(v,s){if(v=u(v),s=l(s),h)try{return d(v,s)}catch(p){}if(c(v,s))return a(!r(o.f,v,s),v[s])}return i}()},63797:function(E,e,t){"use strict";var n=t(38817),r=t(96812),o=t(34813).f,a=t(77713),u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(h){try{return o(h)}catch(d){return a(u)}};E.exports.f=function(){function c(h){return u&&n(h)==="Window"?l(h):o(r(h))}return c}()},34813:function(E,e,t){"use strict";var n=t(62995),r=t(90298),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(){function a(u){return n(u,o)}return a}()},34220:function(E,e){"use strict";e.f=Object.getOwnPropertySymbols},31658:function(E,e,t){"use strict";var n=t(89458),r=t(7532),o=t(40076),a=t(5160),u=t(58776),l=a("IE_PROTO"),c=Object,h=c.prototype;E.exports=u?c.getPrototypeOf:function(d){var i=o(d);if(n(i,l))return i[l];var v=i.constructor;return r(v)&&i instanceof v?v.prototype:i instanceof c?h:null}},57975:function(E,e,t){"use strict";var n=t(41746),r=t(56831),o=t(38817),a=t(65693),u=Object.isExtensible,l=n(function(){u(1)});E.exports=l||a?function(){function c(h){return!r(h)||a&&o(h)==="ArrayBuffer"?!1:u?u(h):!0}return c}():u},33314:function(E,e,t){"use strict";var n=t(18161);E.exports=n({}.isPrototypeOf)},62995:function(E,e,t){"use strict";var n=t(18161),r=t(89458),o=t(96812),a=t(64210).indexOf,u=t(21124),l=n([].push);E.exports=function(c,h){var d=o(c),i=0,v=[],s;for(s in d)!r(u,s)&&r(d,s)&&l(v,s);for(;h.length>i;)r(d,s=h[i++])&&(~a(v,s)||l(v,s));return v}},84913:function(E,e,t){"use strict";var n=t(62995),r=t(90298);E.exports=Object.keys||function(){function o(a){return n(a,r)}return o}()},9776:function(E,e){"use strict";var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(){function o(a){var u=n(this,a);return!!u&&u.enumerable}return o}():t},33030:function(E,e,t){"use strict";var n=t(11478),r=t(40224),o=t(41746),a=t(53125);E.exports=n||!o(function(){if(!(a&&a<535)){var u=Math.random();__defineSetter__.call(null,u,function(){}),delete r[u]}})},42878:function(E,e,t){"use strict";var n=t(9553),r=t(56831),o=t(91029),a=t(51689);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,l={},c;try{c=n(Object.prototype,"__proto__","set"),c(l,[]),u=l instanceof Array}catch(h){}return function(){function h(d,i){return o(d),a(i),r(d)&&(u?c(d,i):d.__proto__=i),d}return h}()}():void 0)},97452:function(E,e,t){"use strict";var n=t(14141),r=t(41746),o=t(18161),a=t(31658),u=t(84913),l=t(96812),c=t(9776).f,h=o(c),d=o([].push),i=n&&r(function(){var s=Object.create(null);return s[2]=2,!h(s,2)}),v=function(p){return function(f){for(var g=l(f),m=u(g),b=i&&a(g)===null,I=m.length,T=0,C=[],S;I>T;)S=m[T++],(!n||(b?S in g:h(g,S)))&&d(C,p?[S,g[S]]:g[S]);return C}};E.exports={entries:v(!0),values:v(!1)}},66628:function(E,e,t){"use strict";var n=t(82161),r=t(27806);E.exports=n?{}.toString:function(){function o(){return"[object "+r(this)+"]"}return o}()},14991:function(E,e,t){"use strict";var n=t(62696),r=t(7532),o=t(56831),a=TypeError;E.exports=function(u,l){var c,h;if(l==="string"&&r(c=u.toString)&&!o(h=n(c,u))||r(c=u.valueOf)&&!o(h=n(c,u))||l!=="string"&&r(c=u.toString)&&!o(h=n(c,u)))return h;throw new a("Can't convert object to primitive value")}},93616:function(E,e,t){"use strict";var n=t(40164),r=t(18161),o=t(34813),a=t(34220),u=t(39482),l=r([].concat);E.exports=n("Reflect","ownKeys")||function(){function c(h){var d=o.f(u(h)),i=a.f;return i?l(d,i(h)):d}return c}()},5376:function(E,e,t){"use strict";var n=t(40224);E.exports=n},91114:function(E){"use strict";E.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},49669:function(E,e,t){"use strict";var n=t(40224),r=t(35973),o=t(7532),a=t(95945),u=t(43589),l=t(66266),c=t(27955),h=t(2971),d=t(11478),i=t(82709),v=r&&r.prototype,s=l("species"),p=!1,f=o(n.PromiseRejectionEvent),g=a("Promise",function(){var m=u(r),b=m!==String(r);if(!b&&i===66||d&&!(v.catch&&v.finally))return!0;if(!i||i<51||!/native code/.test(m)){var I=new r(function(S){S(1)}),T=function(y){y(function(){},function(){})},C=I.constructor={};if(C[s]=T,p=I.then(function(){})instanceof T,!p)return!0}return!b&&(c||h)&&!f});E.exports={CONSTRUCTOR:g,REJECTION_EVENT:f,SUBCLASSING:p}},35973:function(E,e,t){"use strict";var n=t(40224);E.exports=n.Promise},43827:function(E,e,t){"use strict";var n=t(39482),r=t(56831),o=t(48532);E.exports=function(a,u){if(n(a),r(u)&&u.constructor===a)return u;var l=o.f(a),c=l.resolve;return c(u),l.promise}},95044:function(E,e,t){"use strict";var n=t(35973),r=t(52019),o=t(49669).CONSTRUCTOR;E.exports=o||!r(function(a){n.all(a).then(void 0,function(){})})},77495:function(E,e,t){"use strict";var n=t(56018).f;E.exports=function(r,o,a){a in r||n(r,a,{configurable:!0,get:function(){function u(){return o[a]}return u}(),set:function(){function u(l){o[a]=l}return u}()})}},23496:function(E){"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(){function t(n){var r={item:n,next:null},o=this.tail;o?o.next=r:this.head=r,this.tail=r}return t}(),get:function(){function t(){var n=this.head;if(n){var r=this.head=n.next;return r===null&&(this.tail=null),n.item}}return t}()},E.exports=e},35553:function(E,e,t){"use strict";var n=t(62696),r=t(39482),o=t(7532),a=t(38817),u=t(72894),l=TypeError;E.exports=function(c,h){var d=c.exec;if(o(d)){var i=n(d,c,h);return i!==null&&r(i),i}if(a(c)==="RegExp")return n(u,c,h);throw new l("RegExp#exec called on incompatible receiver")}},72894:function(E,e,t){"use strict";var n=t(62696),r=t(18161),o=t(26602),a=t(65844),u=t(1064),l=t(75130),c=t(28969),h=t(35086).get,d=t(89604),i=t(5489),v=l("native-string-replace",String.prototype.replace),s=RegExp.prototype.exec,p=s,f=r("".charAt),g=r("".indexOf),m=r("".replace),b=r("".slice),I=function(){var y=/a/,O=/b*/g;return n(s,y,"a"),n(s,O,"a"),y.lastIndex!==0||O.lastIndex!==0}(),T=u.BROKEN_CARET,C=/()??/.exec("")[1]!==void 0,S=I||C||T||d||i;S&&(p=function(){function y(O){var A=this,N=h(A),M=o(O),R=N.raw,L,x,F,V,G,B,U;if(R)return R.lastIndex=A.lastIndex,L=n(p,R,M),A.lastIndex=R.lastIndex,L;var j=N.groups,K=T&&A.sticky,$=n(a,A),W=A.source,nt=0,st=M;if(K&&($=m($,"y",""),g($,"g")===-1&&($+="g"),st=b(M,A.lastIndex),A.lastIndex>0&&(!A.multiline||A.multiline&&f(M,A.lastIndex-1)!=="\n")&&(W="(?: "+W+")",st=" "+st,nt++),x=new RegExp("^(?:"+W+")",$)),C&&(x=new RegExp("^"+W+"$(?!\\s)",$)),I&&(F=A.lastIndex),V=n(s,K?x:A,st),K?V?(V.input=b(V.input,nt),V[0]=b(V[0],nt),V.index=A.lastIndex,A.lastIndex+=V[0].length):A.lastIndex=0:I&&V&&(A.lastIndex=A.global?V.index+V[0].length:F),C&&V&&V.length>1&&n(v,V[0],x,function(){for(G=1;G<arguments.length-2;G++)arguments[G]===void 0&&(V[G]=void 0)}),V&&j)for(V.groups=B=c(null),G=0;G<j.length;G++)U=j[G],B[U[0]]=V[U[1]];return V}return y}()),E.exports=p},65844:function(E,e,t){"use strict";var n=t(39482);E.exports=function(){var r=n(this),o="";return r.hasIndices&&(o+="d"),r.global&&(o+="g"),r.ignoreCase&&(o+="i"),r.multiline&&(o+="m"),r.dotAll&&(o+="s"),r.unicode&&(o+="u"),r.unicodeSets&&(o+="v"),r.sticky&&(o+="y"),o}},60425:function(E,e,t){"use strict";var n=t(62696),r=t(89458),o=t(33314),a=t(65844),u=RegExp.prototype;E.exports=function(l){var c=l.flags;return c===void 0&&!("flags"in u)&&!r(l,"flags")&&o(u,l)?n(a,l):c}},1064:function(E,e,t){"use strict";var n=t(41746),r=t(40224),o=r.RegExp,a=n(function(){var c=o("a","y");return c.lastIndex=2,c.exec("abcd")!==null}),u=a||n(function(){return!o("a","y").sticky}),l=a||n(function(){var c=o("^r","gy");return c.lastIndex=2,c.exec("str")!==null});E.exports={BROKEN_CARET:l,MISSED_STICKY:u,UNSUPPORTED_Y:a}},89604:function(E,e,t){"use strict";var n=t(41746),r=t(40224),o=r.RegExp;E.exports=n(function(){var a=o(".","s");return!(a.dotAll&&a.test("\n")&&a.flags==="s")})},5489:function(E,e,t){"use strict";var n=t(41746),r=t(40224),o=r.RegExp;E.exports=n(function(){var a=o("(?<a>b)","g");return a.exec("b").groups.a!=="b"||"b".replace(a,"$<a>c")!=="bc"})},91029:function(E,e,t){"use strict";var n=t(1022),r=TypeError;E.exports=function(o){if(n(o))throw new r("Can't call method on "+o);return o}},1156:function(E,e,t){"use strict";var n=t(40224),r=t(14141),o=Object.getOwnPropertyDescriptor;E.exports=function(a){if(!r)return n[a];var u=o(n,a);return u&&u.value}},37309:function(E){"use strict";E.exports=Object.is||function(){function e(t,n){return t===n?t!==0||1/t===1/n:t!==t&&n!==n}return e}()},83827:function(E,e,t){"use strict";var n=t(40224),r=t(70918),o=t(7532),a=t(2178),u=t(15837),l=t(77713),c=t(22789),h=n.Function,d=/MSIE .\./.test(u)||a&&function(){var i=n.Bun.version.split(".");return i.length<3||i[0]==="0"&&(i[1]<3||i[1]==="3"&&i[2]==="0")}();E.exports=function(i,v){var s=v?2:1;return d?function(p,f){var g=c(arguments.length,1)>s,m=o(p)?p:h(p),b=g?l(arguments,s):[],I=g?function(){r(m,this,b)}:m;return v?i(I,f):i(I)}:i}},67420:function(E,e,t){"use strict";var n=t(40164),r=t(10069),o=t(66266),a=t(14141),u=o("species");E.exports=function(l){var c=n(l);a&&c&&!c[u]&&r(c,u,{configurable:!0,get:function(){function h(){return this}return h}()})}},94234:function(E,e,t){"use strict";var n=t(56018).f,r=t(89458),o=t(66266),a=o("toStringTag");E.exports=function(u,l,c){u&&!c&&(u=u.prototype),u&&!r(u,a)&&n(u,a,{configurable:!0,value:l})}},5160:function(E,e,t){"use strict";var n=t(75130),r=t(33345),o=n("keys");E.exports=function(a){return o[a]||(o[a]=r(a))}},95046:function(E,e,t){"use strict";var n=t(11478),r=t(40224),o=t(93422),a="__core-js_shared__",u=E.exports=r[a]||o(a,{});(u.versions||(u.versions=[])).push({version:"3.36.1",mode:n?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},75130:function(E,e,t){"use strict";var n=t(95046);E.exports=function(r,o){return n[r]||(n[r]=o||{})}},78412:function(E,e,t){"use strict";var n=t(39482),r=t(76833),o=t(1022),a=t(66266),u=a("species");E.exports=function(l,c){var h=n(l).constructor,d;return h===void 0||o(d=n(h)[u])?c:r(d)}},32086:function(E,e,t){"use strict";var n=t(41746);E.exports=function(r){return n(function(){var o=""[r]('"');return o!==o.toLowerCase()||o.split('"').length>3})}},56852:function(E,e,t){"use strict";var n=t(18161),r=t(74952),o=t(26602),a=t(91029),u=n("".charAt),l=n("".charCodeAt),c=n("".slice),h=function(i){return function(v,s){var p=o(a(v)),f=r(s),g=p.length,m,b;return f<0||f>=g?i?"":void 0:(m=l(p,f),m<55296||m>56319||f+1===g||(b=l(p,f+1))<56320||b>57343?i?u(p,f):m:i?c(p,f,f+2):(m-55296<<10)+(b-56320)+65536)}};E.exports={codeAt:h(!1),charAt:h(!0)}},33038:function(E,e,t){"use strict";var n=t(15837);E.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},34086:function(E,e,t){"use strict";var n=t(18161),r=t(10475),o=t(26602),a=t(84948),u=t(91029),l=n(a),c=n("".slice),h=Math.ceil,d=function(v){return function(s,p,f){var g=o(u(s)),m=r(p),b=g.length,I=f===void 0?" ":o(f),T,C;return m<=b||I===""?g:(T=m-b,C=l(I,h(T/I.length)),C.length>T&&(C=c(C,0,T)),v?g+C:C+g)}};E.exports={start:d(!1),end:d(!0)}},84948:function(E,e,t){"use strict";var n=t(74952),r=t(26602),o=t(91029),a=RangeError;E.exports=function(){function u(l){var c=r(o(this)),h="",d=n(l);if(d<0||d===1/0)throw new a("Wrong number of repetitions");for(;d>0;(d>>>=1)&&(c+=c))d&1&&(h+=c);return h}return u}()},11775:function(E,e,t){"use strict";var n=t(35171).end,r=t(93817);E.exports=r("trimEnd")?function(){function o(){return n(this)}return o}():"".trimEnd},93817:function(E,e,t){"use strict";var n=t(26463).PROPER,r=t(41746),o=t(137),a="\u200B\x85\u180E";E.exports=function(u){return r(function(){return!!o[u]()||a[u]()!==a||n&&o[u].name!==u})}},26402:function(E,e,t){"use strict";var n=t(35171).start,r=t(93817);E.exports=r("trimStart")?function(){function o(){return n(this)}return o}():"".trimStart},35171:function(E,e,t){"use strict";var n=t(18161),r=t(91029),o=t(26602),a=t(137),u=n("".replace),l=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),h=function(i){return function(v){var s=o(r(v));return i&1&&(s=u(s,l,"")),i&2&&(s=u(s,c,"$1")),s}};E.exports={start:h(1),end:h(2),trim:h(3)}},70640:function(E,e,t){"use strict";var n=t(82709),r=t(41746),o=t(40224),a=o.String;E.exports=!!Object.getOwnPropertySymbols&&!r(function(){var u=Symbol("symbol detection");return!a(u)||!(Object(u)instanceof Symbol)||!Symbol.sham&&n&&n<41})},75429:function(E,e,t){"use strict";var n=t(62696),r=t(40164),o=t(66266),a=t(59173);E.exports=function(){var u=r("Symbol"),l=u&&u.prototype,c=l&&l.valueOf,h=o("toPrimitive");l&&!l[h]&&a(l,h,function(d){return n(c,this)},{arity:1})}},80353:function(E,e,t){"use strict";var n=t(70640);E.exports=n&&!!Symbol.for&&!!Symbol.keyFor},91314:function(E,e,t){"use strict";var n=t(40224),r=t(70918),o=t(4509),a=t(7532),u=t(89458),l=t(41746),c=t(54562),h=t(77713),d=t(85158),i=t(22789),v=t(52426),s=t(95823),p=n.setImmediate,f=n.clearImmediate,g=n.process,m=n.Dispatch,b=n.Function,I=n.MessageChannel,T=n.String,C=0,S={},y="onreadystatechange",O,A,N,M;l(function(){O=n.location});var R=function(G){if(u(S,G)){var B=S[G];delete S[G],B()}},L=function(G){return function(){R(G)}},x=function(G){R(G.data)},F=function(G){n.postMessage(T(G),O.protocol+"//"+O.host)};(!p||!f)&&(p=function(){function V(G){i(arguments.length,1);var B=a(G)?G:b(G),U=h(arguments,1);return S[++C]=function(){r(B,void 0,U)},A(C),C}return V}(),f=function(){function V(G){delete S[G]}return V}(),s?A=function(G){g.nextTick(L(G))}:m&&m.now?A=function(G){m.now(L(G))}:I&&!v?(N=new I,M=N.port2,N.port1.onmessage=x,A=o(M.postMessage,M)):n.addEventListener&&a(n.postMessage)&&!n.importScripts&&O&&O.protocol!=="file:"&&!l(F)?(A=F,n.addEventListener("message",x,!1)):y in d("script")?A=function(G){c.appendChild(d("script"))[y]=function(){c.removeChild(this),R(G)}}:A=function(G){setTimeout(L(G),0)}),E.exports={set:p,clear:f}},37497:function(E,e,t){"use strict";var n=t(18161);E.exports=n(1 .valueOf)},74067:function(E,e,t){"use strict";var n=t(74952),r=Math.max,o=Math.min;E.exports=function(a,u){var l=n(a);return l<0?r(l+u,0):o(l,u)}},757:function(E,e,t){"use strict";var n=t(4370),r=TypeError;E.exports=function(o){var a=n(o,"number");if(typeof a=="number")throw new r("Can't convert number to bigint");return BigInt(a)}},90835:function(E,e,t){"use strict";var n=t(74952),r=t(10475),o=RangeError;E.exports=function(a){if(a===void 0)return 0;var u=n(a),l=r(u);if(u!==l)throw new o("Wrong length or index");return l}},96812:function(E,e,t){"use strict";var n=t(26736),r=t(91029);E.exports=function(o){return n(r(o))}},74952:function(E,e,t){"use strict";var n=t(34606);E.exports=function(r){var o=+r;return o!==o||o===0?0:n(o)}},10475:function(E,e,t){"use strict";var n=t(74952),r=Math.min;E.exports=function(o){var a=n(o);return a>0?r(a,9007199254740991):0}},40076:function(E,e,t){"use strict";var n=t(91029),r=Object;E.exports=function(o){return r(n(o))}},65264:function(E,e,t){"use strict";var n=t(43627),r=RangeError;E.exports=function(o,a){var u=n(o);if(u%a)throw new r("Wrong offset");return u}},43627:function(E,e,t){"use strict";var n=t(74952),r=RangeError;E.exports=function(o){var a=n(o);if(a<0)throw new r("The argument can't be less than 0");return a}},4370:function(E,e,t){"use strict";var n=t(62696),r=t(56831),o=t(74352),a=t(4817),u=t(14991),l=t(66266),c=TypeError,h=l("toPrimitive");E.exports=function(d,i){if(!r(d)||o(d))return d;var v=a(d,h),s;if(v){if(i===void 0&&(i="default"),s=n(v,d,i),!r(s)||o(s))return s;throw new c("Can't convert object to primitive value")}return i===void 0&&(i="number"),u(d,i)}},57640:function(E,e,t){"use strict";var n=t(4370),r=t(74352);E.exports=function(o){var a=n(o,"string");return r(a)?a:a+""}},82161:function(E,e,t){"use strict";var n=t(66266),r=n("toStringTag"),o={};o[r]="z",E.exports=String(o)==="[object z]"},26602:function(E,e,t){"use strict";var n=t(27806),r=String;E.exports=function(o){if(n(o)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return r(o)}},78828:function(E){"use strict";var e=Math.round;E.exports=function(t){var n=e(t);return n<0?0:n>255?255:n&255}},62518:function(E){"use strict";var e=String;E.exports=function(t){try{return e(t)}catch(n){return"Object"}}},12218:function(E,e,t){"use strict";var n=t(77549),r=t(40224),o=t(62696),a=t(14141),u=t(66220),l=t(72951),c=t(46185),h=t(19870),d=t(7539),i=t(16216),v=t(57696),s=t(10475),p=t(90835),f=t(65264),g=t(78828),m=t(57640),b=t(89458),I=t(27806),T=t(56831),C=t(74352),S=t(28969),y=t(33314),O=t(42878),A=t(34813).f,N=t(7996),M=t(67480).forEach,R=t(67420),L=t(10069),x=t(56018),F=t(54168),V=t(6967),G=t(35086),B=t(2566),U=G.get,j=G.set,K=G.enforce,$=x.f,W=F.f,nt=r.RangeError,st=c.ArrayBuffer,gt=st.prototype,k=c.DataView,X=l.NATIVE_ARRAY_BUFFER_VIEWS,tt=l.TYPED_ARRAY_TAG,ct=l.TypedArray,at=l.TypedArrayPrototype,St=l.isTypedArray,Mt="BYTES_PER_ELEMENT",wt="Wrong length",Rt=function(ht,Et){L(ht,Et,{configurable:!0,get:function(){function rt(){return U(this)[Et]}return rt}()})},vt=function(ht){var Et;return y(gt,ht)||(Et=I(ht))==="ArrayBuffer"||Et==="SharedArrayBuffer"},ft=function(ht,Et){return St(ht)&&!C(Et)&&Et in ht&&v(+Et)&&Et>=0},Q=function(){function et(ht,Et){return Et=m(Et),ft(ht,Et)?d(2,ht[Et]):W(ht,Et)}return et}(),Z=function(){function et(ht,Et,rt){return Et=m(Et),ft(ht,Et)&&T(rt)&&b(rt,"value")&&!b(rt,"get")&&!b(rt,"set")&&!rt.configurable&&(!b(rt,"writable")||rt.writable)&&(!b(rt,"enumerable")||rt.enumerable)?(ht[Et]=rt.value,ht):$(ht,Et,rt)}return et}();a?(X||(F.f=Q,x.f=Z,Rt(at,"buffer"),Rt(at,"byteOffset"),Rt(at,"byteLength"),Rt(at,"length")),n({target:"Object",stat:!0,forced:!X},{getOwnPropertyDescriptor:Q,defineProperty:Z}),E.exports=function(et,ht,Et){var rt=et.match(/\d+/)[0]/8,pt=et+(Et?"Clamped":"")+"Array",Nt="get"+et,J="set"+et,ut=r[pt],bt=ut,At=bt&&bt.prototype,Bt={},Ut=function(Ct,Pt){var xt=U(Ct);return xt.view[Nt](Pt*rt+xt.byteOffset,!0)},Tt=function(Ct,Pt,xt){var jt=U(Ct);jt.view[J](Pt*rt+jt.byteOffset,Et?g(xt):xt,!0)},it=function(Ct,Pt){$(Ct,Pt,{get:function(){function xt(){return Ut(this,Pt)}return xt}(),set:function(){function xt(jt){return Tt(this,Pt,jt)}return xt}(),enumerable:!0})};X?u&&(bt=ht(function(It,Ct,Pt,xt){return h(It,At),B(function(){return T(Ct)?vt(Ct)?xt!==void 0?new ut(Ct,f(Pt,rt),xt):Pt!==void 0?new ut(Ct,f(Pt,rt)):new ut(Ct):St(Ct)?V(bt,Ct):o(N,bt,Ct):new ut(p(Ct))}(),It,bt)}),O&&O(bt,ct),M(A(ut),function(It){It in bt||i(bt,It,ut[It])}),bt.prototype=At):(bt=ht(function(It,Ct,Pt,xt){h(It,At);var jt=0,Kt=0,Wt,Yt,kt;if(!T(Ct))kt=p(Ct),Yt=kt*rt,Wt=new st(Yt);else if(vt(Ct)){Wt=Ct,Kt=f(Pt,rt);var Zt=Ct.byteLength;if(xt===void 0){if(Zt%rt)throw new nt(wt);if(Yt=Zt-Kt,Yt<0)throw new nt(wt)}else if(Yt=s(xt)*rt,Yt+Kt>Zt)throw new nt(wt);kt=Yt/rt}else return St(Ct)?V(bt,Ct):o(N,bt,Ct);for(j(It,{buffer:Wt,byteOffset:Kt,byteLength:Yt,length:kt,view:new k(Wt)});jt<kt;)it(It,jt++)}),O&&O(bt,ct),At=bt.prototype=S(at)),At.constructor!==bt&&i(At,"constructor",bt),K(At).TypedArrayConstructor=bt,tt&&i(At,tt,pt);var mt=bt!==ut;Bt[pt]=bt,n({global:!0,constructor:!0,forced:mt,sham:!X},Bt),Mt in bt||i(bt,Mt,rt),Mt in At||i(At,Mt,rt),R(pt)}):E.exports=function(){}},66220:function(E,e,t){"use strict";var n=t(40224),r=t(41746),o=t(52019),a=t(72951).NATIVE_ARRAY_BUFFER_VIEWS,u=n.ArrayBuffer,l=n.Int8Array;E.exports=!a||!r(function(){l(1)})||!r(function(){new l(-1)})||!o(function(c){new l,new l(null),new l(1.5),new l(c)},!0)||r(function(){return new l(new u(2),1,void 0).length!==1})},80936:function(E,e,t){"use strict";var n=t(6967),r=t(489);E.exports=function(o,a){return n(r(o),a)}},7996:function(E,e,t){"use strict";var n=t(4509),r=t(62696),o=t(76833),a=t(40076),u=t(8333),l=t(3438),c=t(76274),h=t(58482),d=t(5080),i=t(72951).aTypedArrayConstructor,v=t(757);E.exports=function(){function s(p){var f=o(this),g=a(p),m=arguments.length,b=m>1?arguments[1]:void 0,I=b!==void 0,T=c(g),C,S,y,O,A,N,M,R;if(T&&!h(T))for(M=l(g,T),R=M.next,g=[];!(N=r(R,M)).done;)g.push(N.value);for(I&&m>2&&(b=n(b,arguments[2])),S=u(g),y=new(i(f))(S),O=d(y),C=0;S>C;C++)A=I?b(g[C],C):g[C],y[C]=O?v(A):+A;return y}return s}()},489:function(E,e,t){"use strict";var n=t(72951),r=t(78412),o=n.aTypedArrayConstructor,a=n.getTypedArrayConstructor;E.exports=function(u){return o(r(u,a(u)))}},33345:function(E,e,t){"use strict";var n=t(18161),r=0,o=Math.random(),a=n(1 .toString);E.exports=function(u){return"Symbol("+(u===void 0?"":u)+")_"+a(++r+o,36)}},81457:function(E,e,t){"use strict";var n=t(70640);E.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},83411:function(E,e,t){"use strict";var n=t(14141),r=t(41746);E.exports=n&&r(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},22789:function(E){"use strict";var e=TypeError;E.exports=function(t,n){if(t<n)throw new e("Not enough arguments");return t}},90777:function(E,e,t){"use strict";var n=t(40224),r=t(7532),o=n.WeakMap;E.exports=r(o)&&/native code/.test(String(o))},15388:function(E,e,t){"use strict";var n=t(5376),r=t(89458),o=t(32938),a=t(56018).f;E.exports=function(u){var l=n.Symbol||(n.Symbol={});r(l,u)||a(l,u,{value:o.f(u)})}},32938:function(E,e,t){"use strict";var n=t(66266);e.f=n},66266:function(E,e,t){"use strict";var n=t(40224),r=t(75130),o=t(89458),a=t(33345),u=t(70640),l=t(81457),c=n.Symbol,h=r("wks"),d=l?c.for||c:c&&c.withoutSetter||a;E.exports=function(i){return o(h,i)||(h[i]=u&&o(c,i)?c[i]:d("Symbol."+i)),h[i]}},137:function(E){"use strict";E.exports=" \n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"},70238:function(E,e,t){"use strict";var n=t(77549),r=t(40224),o=t(46185),a=t(67420),u="ArrayBuffer",l=o[u],c=r[u];n({global:!0,constructor:!0,forced:c!==l},{ArrayBuffer:l}),a(u)},21664:function(E,e,t){"use strict";var n=t(77549),r=t(72951),o=r.NATIVE_ARRAY_BUFFER_VIEWS;n({target:"ArrayBuffer",stat:!0,forced:!o},{isView:r.isView})},57348:function(E,e,t){"use strict";var n=t(77549),r=t(85067),o=t(41746),a=t(46185),u=t(39482),l=t(74067),c=t(10475),h=t(78412),d=a.ArrayBuffer,i=a.DataView,v=i.prototype,s=r(d.prototype.slice),p=r(v.getUint8),f=r(v.setUint8),g=o(function(){return!new d(2).slice(1,void 0).byteLength});n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:g},{slice:function(){function m(b,I){if(s&&I===void 0)return s(u(this),b);for(var T=u(this).byteLength,C=l(b,T),S=l(I===void 0?T:I,T),y=new(h(this,d))(c(S-C)),O=new i(this),A=new i(y),N=0;C<S;)f(A,N++,p(O,C++));return y}return m}()})},65755:function(E,e,t){"use strict";var n=t(77549),r=t(41746),o=t(62367),a=t(56831),u=t(40076),l=t(8333),c=t(72434),h=t(12913),d=t(32878),i=t(55114),v=t(66266),s=t(82709),p=v("isConcatSpreadable"),f=s>=51||!r(function(){var b=[];return b[p]=!1,b.concat()[0]!==b}),g=function(I){if(!a(I))return!1;var T=I[p];return T!==void 0?!!T:o(I)},m=!f||!i("concat");n({target:"Array",proto:!0,arity:1,forced:m},{concat:function(){function b(I){var T=u(this),C=d(T,0),S=0,y,O,A,N,M;for(y=-1,A=arguments.length;y<A;y++)if(M=y===-1?T:arguments[y],g(M))for(N=l(M),c(S+N),O=0;O<N;O++,S++)O in M&&h(C,S,M[O]);else c(S+1),h(C,S++,M);return C.length=S,C}return b}()})},35496:function(E,e,t){"use strict";var n=t(77549),r=t(42320),o=t(91138);n({target:"Array",proto:!0},{copyWithin:r}),o("copyWithin")},76604:function(E,e,t){"use strict";var n=t(77549),r=t(67480).every,o=t(42309),a=o("every");n({target:"Array",proto:!0,forced:!a},{every:function(){function u(l){return r(this,l,arguments.length>1?arguments[1]:void 0)}return u}()})},24974:function(E,e,t){"use strict";var n=t(77549),r=t(59942),o=t(91138);n({target:"Array",proto:!0},{fill:r}),o("fill")},6297:function(E,e,t){"use strict";var n=t(77549),r=t(67480).filter,o=t(55114),a=o("filter");n({target:"Array",proto:!0,forced:!a},{filter:function(){function u(l){return r(this,l,arguments.length>1?arguments[1]:void 0)}return u}()})},35173:function(E,e,t){"use strict";var n=t(77549),r=t(67480).findIndex,o=t(91138),a="findIndex",u=!0;a in[]&&Array(1)[a](function(){u=!1}),n({target:"Array",proto:!0,forced:u},{findIndex:function(){function l(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}return l}()}),o(a)},5364:function(E,e,t){"use strict";var n=t(77549),r=t(67480).find,o=t(91138),a="find",u=!0;a in[]&&Array(1)[a](function(){u=!1}),n({target:"Array",proto:!0,forced:u},{find:function(){function l(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}return l}()}),o(a)},88707:function(E,e,t){"use strict";var n=t(77549),r=t(68864),o=t(97361),a=t(40076),u=t(8333),l=t(32878);n({target:"Array",proto:!0},{flatMap:function(){function c(h){var d=a(this),i=u(d),v;return o(h),v=l(d,0),v.length=r(v,d,d,i,0,1,h,arguments.length>1?arguments[1]:void 0),v}return c}()})},16576:function(E,e,t){"use strict";var n=t(77549),r=t(68864),o=t(40076),a=t(8333),u=t(74952),l=t(32878);n({target:"Array",proto:!0},{flat:function(){function c(){var h=arguments.length?arguments[0]:void 0,d=o(this),i=a(d),v=l(d,0);return v.length=r(v,d,d,i,0,h===void 0?1:u(h)),v}return c}()})},21508:function(E,e,t){"use strict";var n=t(77549),r=t(75420);n({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})},86339:function(E,e,t){"use strict";var n=t(77549),r=t(80363),o=t(52019),a=!o(function(u){Array.from(u)});n({target:"Array",stat:!0,forced:a},{from:r})},81850:function(E,e,t){"use strict";var n=t(77549),r=t(64210).includes,o=t(41746),a=t(91138),u=o(function(){return!Array(1).includes()});n({target:"Array",proto:!0,forced:u},{includes:function(){function l(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}return l}()}),a("includes")},98661:function(E,e,t){"use strict";var n=t(77549),r=t(85067),o=t(64210).indexOf,a=t(42309),u=r([].indexOf),l=!!u&&1/u([1],1,-0)<0,c=l||!a("indexOf");n({target:"Array",proto:!0,forced:c},{indexOf:function(){function h(d){var i=arguments.length>1?arguments[1]:void 0;return l?u(this,d,i)||0:o(this,d,i)}return h}()})},13431:function(E,e,t){"use strict";var n=t(77549),r=t(62367);n({target:"Array",stat:!0},{isArray:r})},65809:function(E,e,t){"use strict";var n=t(96812),r=t(91138),o=t(90604),a=t(35086),u=t(56018).f,l=t(2449),c=t(77056),h=t(11478),d=t(14141),i="Array Iterator",v=a.set,s=a.getterFor(i);E.exports=l(Array,"Array",function(f,g){v(this,{type:i,target:n(f),index:0,kind:g})},function(){var f=s(this),g=f.target,m=f.index++;if(!g||m>=g.length)return f.target=void 0,c(void 0,!0);switch(f.kind){case"keys":return c(m,!1);case"values":return c(g[m],!1)}return c([m,g[m]],!1)},"values");var p=o.Arguments=o.Array;if(r("keys"),r("values"),r("entries"),!h&&d&&p.name!=="values")try{u(p,"name",{value:"values"})}catch(f){}},8611:function(E,e,t){"use strict";var n=t(77549),r=t(18161),o=t(26736),a=t(96812),u=t(42309),l=r([].join),c=o!==Object,h=c||!u("join",",");n({target:"Array",proto:!0,forced:h},{join:function(){function d(i){return l(a(this),i===void 0?",":i)}return d}()})},97246:function(E,e,t){"use strict";var n=t(77549),r=t(16934);n({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},48741:function(E,e,t){"use strict";var n=t(77549),r=t(67480).map,o=t(55114),a=o("map");n({target:"Array",proto:!0,forced:!a},{map:function(){function u(l){return r(this,l,arguments.length>1?arguments[1]:void 0)}return u}()})},90446:function(E,e,t){"use strict";var n=t(77549),r=t(41746),o=t(60354),a=t(12913),u=Array,l=r(function(){function c(){}return!(u.of.call(c)instanceof c)});n({target:"Array",stat:!0,forced:l},{of:function(){function c(){for(var h=0,d=arguments.length,i=new(o(this)?this:u)(d);d>h;)a(i,h,arguments[h++]);return i.length=d,i}return c}()})},61902:function(E,e,t){"use strict";var n=t(77549),r=t(98405).right,o=t(42309),a=t(82709),u=t(95823),l=!u&&a>79&&a<83,c=l||!o("reduceRight");n({target:"Array",proto:!0,forced:c},{reduceRight:function(){function h(d){return r(this,d,arguments.length,arguments.length>1?arguments[1]:void 0)}return h}()})},509:function(E,e,t){"use strict";var n=t(77549),r=t(98405).left,o=t(42309),a=t(82709),u=t(95823),l=!u&&a>79&&a<83,c=l||!o("reduce");n({target:"Array",proto:!0,forced:c},{reduce:function(){function h(d){var i=arguments.length;return r(this,d,i,i>1?arguments[1]:void 0)}return h}()})},96149:function(E,e,t){"use strict";var n=t(77549),r=t(18161),o=t(62367),a=r([].reverse),u=[1,2];n({target:"Array",proto:!0,forced:String(u)===String(u.reverse())},{reverse:function(){function l(){return o(this)&&(this.length=this.length),a(this)}return l}()})},66617:function(E,e,t){"use strict";var n=t(77549),r=t(62367),o=t(60354),a=t(56831),u=t(74067),l=t(8333),c=t(96812),h=t(12913),d=t(66266),i=t(55114),v=t(77713),s=i("slice"),p=d("species"),f=Array,g=Math.max;n({target:"Array",proto:!0,forced:!s},{slice:function(){function m(b,I){var T=c(this),C=l(T),S=u(b,C),y=u(I===void 0?C:I,C),O,A,N;if(r(T)&&(O=T.constructor,o(O)&&(O===f||r(O.prototype))?O=void 0:a(O)&&(O=O[p],O===null&&(O=void 0)),O===f||O===void 0))return v(T,S,y);for(A=new(O===void 0?f:O)(g(y-S,0)),N=0;S<y;S++,N++)S in T&&h(A,N,T[S]);return A.length=N,A}return m}()})},99883:function(E,e,t){"use strict";var n=t(77549),r=t(67480).some,o=t(42309),a=o("some");n({target:"Array",proto:!0,forced:!a},{some:function(){function u(l){return r(this,l,arguments.length>1?arguments[1]:void 0)}return u}()})},56855:function(E,e,t){"use strict";var n=t(77549),r=t(18161),o=t(97361),a=t(40076),u=t(8333),l=t(58937),c=t(26602),h=t(41746),d=t(44815),i=t(42309),v=t(49847),s=t(56605),p=t(82709),f=t(53125),g=[],m=r(g.sort),b=r(g.push),I=h(function(){g.sort(void 0)}),T=h(function(){g.sort(null)}),C=i("sort"),S=!h(function(){if(p)return p<70;if(!(v&&v>3)){if(s)return!0;if(f)return f<603;var A="",N,M,R,L;for(N=65;N<76;N++){switch(M=String.fromCharCode(N),N){case 66:case 69:case 70:case 72:R=3;break;case 68:case 71:R=4;break;default:R=2}for(L=0;L<47;L++)g.push({k:M+L,v:R})}for(g.sort(function(x,F){return F.v-x.v}),L=0;L<g.length;L++)M=g[L].k.charAt(0),A.charAt(A.length-1)!==M&&(A+=M);return A!=="DGBEFHACIJK"}}),y=I||!T||!C||!S,O=function(N){return function(M,R){return R===void 0?-1:M===void 0?1:N!==void 0?+N(M,R)||0:c(M)>c(R)?1:-1}};n({target:"Array",proto:!0,forced:y},{sort:function(){function A(N){N!==void 0&&o(N);var M=a(this);if(S)return N===void 0?m(M):m(M,N);var R=[],L=u(M),x,F;for(F=0;F<L;F++)F in M&&b(R,M[F]);for(d(R,O(N)),x=u(R),F=0;F<x;)M[F]=R[F++];for(;F<L;)l(M,F++);return M}return A}()})},67869:function(E,e,t){"use strict";var n=t(67420);n("Array")},8291:function(E,e,t){"use strict";var n=t(77549),r=t(40076),o=t(74067),a=t(74952),u=t(8333),l=t(72720),c=t(72434),h=t(32878),d=t(12913),i=t(58937),v=t(55114),s=v("splice"),p=Math.max,f=Math.min;n({target:"Array",proto:!0,forced:!s},{splice:function(){function g(m,b){var I=r(this),T=u(I),C=o(m,T),S=arguments.length,y,O,A,N,M,R;for(S===0?y=O=0:S===1?(y=0,O=T-C):(y=S-2,O=f(p(a(b),0),T-C)),c(T+y-O),A=h(I,O),N=0;N<O;N++)M=C+N,M in I&&d(A,N,I[M]);if(A.length=O,y<O){for(N=C;N<T-O;N++)M=N+O,R=N+y,M in I?I[R]=I[M]:i(I,R);for(N=T;N>T-O+y;N--)i(I,N-1)}else if(y>O)for(N=T-O;N>C;N--)M=N+O-1,R=N+y-1,M in I?I[R]=I[M]:i(I,R);for(N=0;N<y;N++)I[N+C]=arguments[N+2];return l(I,T-O+y),A}return g}()})},97824:function(E,e,t){"use strict";var n=t(91138);n("flatMap")},42811:function(E,e,t){"use strict";var n=t(91138);n("flat")},41576:function(E,e,t){"use strict";var n=t(77549),r=t(46185),o=t(67404);n({global:!0,constructor:!0,forced:!o},{DataView:r.DataView})},98878:function(E,e,t){"use strict";t(41576)},4624:function(E,e,t){"use strict";var n=t(77549),r=t(18161),o=Date,a=r(o.prototype.getTime);n({target:"Date",stat:!0},{now:function(){function u(){return a(new o)}return u}()})},96097:function(E,e,t){"use strict";var n=t(77549),r=t(74003);n({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},45022:function(E,e,t){"use strict";var n=t(77549),r=t(41746),o=t(40076),a=t(4370),u=r(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){function l(){return 1}return l}()})!==1});n({target:"Date",proto:!0,arity:1,forced:u},{toJSON:function(){function l(c){var h=o(this),d=a(h,"number");return typeof d=="number"&&!isFinite(d)?null:h.toISOString()}return l}()})},79155:function(E,e,t){"use strict";var n=t(89458),r=t(59173),o=t(95865),a=t(66266),u=a("toPrimitive"),l=Date.prototype;n(l,u)||r(l,u,o)},53397:function(E,e,t){"use strict";var n=t(18161),r=t(59173),o=Date.prototype,a="Invalid Date",u="toString",l=n(o[u]),c=n(o.getTime);String(new Date(NaN))!==a&&r(o,u,function(){function h(){var d=c(this);return d===d?l(this):a}return h}())},52037:function(E,e,t){"use strict";var n=t(77549),r=t(9379);n({target:"Function",proto:!0,forced:Function.bind!==r},{bind:r})},21698:function(E,e,t){"use strict";var n=t(7532),r=t(56831),o=t(56018),a=t(33314),u=t(66266),l=t(76130),c=u("hasInstance"),h=Function.prototype;c in h||o.f(h,c,{value:l(function(d){if(!n(this)||!r(d))return!1;var i=this.prototype;return r(i)?a(i,d):d instanceof this},c)})},20509:function(E,e,t){"use strict";var n=t(14141),r=t(26463).EXISTS,o=t(18161),a=t(10069),u=Function.prototype,l=o(u.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,h=o(c.exec),d="name";n&&!r&&a(u,d,{configurable:!0,get:function(){function i(){try{return h(c,l(this))[1]}catch(v){return""}}return i}()})},12183:function(E,e,t){"use strict";var n=t(77549),r=t(40164),o=t(70918),a=t(62696),u=t(18161),l=t(41746),c=t(7532),h=t(74352),d=t(77713),i=t(5806),v=t(70640),s=String,p=r("JSON","stringify"),f=u(/./.exec),g=u("".charAt),m=u("".charCodeAt),b=u("".replace),I=u(1 .toString),T=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,y=!v||l(function(){var M=r("Symbol")("stringify detection");return p([M])!=="[null]"||p({a:M})!=="{}"||p(Object(M))!=="{}"}),O=l(function(){return p("\uDF06\uD834")!=='"\\udf06\\ud834"'||p("\uDEAD")!=='"\\udead"'}),A=function(R,L){var x=d(arguments),F=i(L);if(!(!c(F)&&(R===void 0||h(R))))return x[1]=function(V,G){if(c(F)&&(G=a(F,this,s(V),G)),!h(G))return G},o(p,null,x)},N=function(R,L,x){var F=g(x,L-1),V=g(x,L+1);return f(C,R)&&!f(S,V)||f(S,R)&&!f(C,F)?"\\u"+I(m(R,0),16):R};p&&n({target:"JSON",stat:!0,arity:3,forced:y||O},{stringify:function(){function M(R,L,x){var F=d(arguments),V=o(y?A:p,null,F);return O&&typeof V=="string"?b(V,T,N):V}return M}()})},9530:function(E,e,t){"use strict";var n=t(40224),r=t(94234);r(n.JSON,"JSON",!0)},49216:function(E,e,t){"use strict";var n=t(93439),r=t(10623);n("Map",function(o){return function(){function a(){return o(this,arguments.length?arguments[0]:void 0)}return a}()},r)},17814:function(E,e,t){"use strict";t(49216)},37812:function(E,e,t){"use strict";var n=t(77549),r=t(69143),o=Math.acosh,a=Math.log,u=Math.sqrt,l=Math.LN2,c=!o||Math.floor(o(Number.MAX_VALUE))!==710||o(1/0)!==1/0;n({target:"Math",stat:!0,forced:c},{acosh:function(){function h(d){var i=+d;return i<1?NaN:i>9490626562425156e-8?a(i)+l:r(i-1+u(i-1)*u(i+1))}return h}()})},86551:function(E,e,t){"use strict";var n=t(77549),r=Math.asinh,o=Math.log,a=Math.sqrt;function u(c){var h=+c;return!isFinite(h)||h===0?h:h<0?-u(-h):o(h+a(h*h+1))}var l=!(r&&1/r(0)>0);n({target:"Math",stat:!0,forced:l},{asinh:u})},10940:function(E,e,t){"use strict";var n=t(77549),r=Math.atanh,o=Math.log,a=!(r&&1/r(-0)<0);n({target:"Math",stat:!0,forced:a},{atanh:function(){function u(l){var c=+l;return c===0?c:o((1+c)/(1-c))/2}return u}()})},73763:function(E,e,t){"use strict";var n=t(77549),r=t(54307),o=Math.abs,a=Math.pow;n({target:"Math",stat:!0},{cbrt:function(){function u(l){var c=+l;return r(c)*a(o(c),.3333333333333333)}return u}()})},3372:function(E,e,t){"use strict";var n=t(77549),r=Math.floor,o=Math.log,a=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(){function u(l){var c=l>>>0;return c?31-r(o(c+.5)*a):32}return u}()})},51629:function(E,e,t){"use strict";var n=t(77549),r=t(32813),o=Math.cosh,a=Math.abs,u=Math.E,l=!o||o(710)===1/0;n({target:"Math",stat:!0,forced:l},{cosh:function(){function c(h){var d=r(a(h)-1)+1;return(d+1/(d*u*u))*(u/2)}return c}()})},69727:function(E,e,t){"use strict";var n=t(77549),r=t(32813);n({target:"Math",stat:!0,forced:r!==Math.expm1},{expm1:r})},27482:function(E,e,t){"use strict";var n=t(77549),r=t(75988);n({target:"Math",stat:!0},{fround:r})},7108:function(E,e,t){"use strict";var n=t(77549),r=Math.hypot,o=Math.abs,a=Math.sqrt,u=!!r&&r(1/0,NaN)!==1/0;n({target:"Math",stat:!0,arity:2,forced:u},{hypot:function(){function l(c,h){for(var d=0,i=0,v=arguments.length,s=0,p,f;i<v;)p=o(arguments[i++]),s<p?(f=s/p,d=d*f*f+1,s=p):p>0?(f=p/s,d+=f*f):d+=p;return s===1/0?1/0:s*a(d)}return l}()})},4115:function(E,e,t){"use strict";var n=t(77549),r=t(41746),o=Math.imul,a=r(function(){return o(4294967295,5)!==-5||o.length!==2});n({target:"Math",stat:!0,forced:a},{imul:function(){function u(l,c){var h=65535,d=+l,i=+c,v=h&d,s=h&i;return 0|v*s+((h&d>>>16)*s+v*(h&i>>>16)<<16>>>0)}return u}()})},63953:function(E,e,t){"use strict";var n=t(77549),r=t(53271);n({target:"Math",stat:!0},{log10:r})},71377:function(E,e,t){"use strict";var n=t(77549),r=t(69143);n({target:"Math",stat:!0},{log1p:r})},63956:function(E,e,t){"use strict";var n=t(77549),r=Math.log,o=Math.LN2;n({target:"Math",stat:!0},{log2:function(){function a(u){return r(u)/o}return a}()})},90037:function(E,e,t){"use strict";var n=t(77549),r=t(54307);n({target:"Math",stat:!0},{sign:r})},46818:function(E,e,t){"use strict";var n=t(77549),r=t(41746),o=t(32813),a=Math.abs,u=Math.exp,l=Math.E,c=r(function(){return Math.sinh(-2e-17)!==-2e-17});n({target:"Math",stat:!0,forced:c},{sinh:function(){function h(d){var i=+d;return a(i)<1?(o(i)-o(-i))/2:(u(i-1)-u(-i-1))*(l/2)}return h}()})},26681:function(E,e,t){"use strict";var n=t(77549),r=t(32813),o=Math.exp;n({target:"Math",stat:!0},{tanh:function(){function a(u){var l=+u,c=r(l),h=r(-l);return c===1/0?1:h===1/0?-1:(c-h)/(o(l)+o(-l))}return a}()})},83646:function(E,e,t){"use strict";var n=t(94234);n(Math,"Math",!0)},28876:function(E,e,t){"use strict";var n=t(77549),r=t(34606);n({target:"Math",stat:!0},{trunc:r})},36385:function(E,e,t){"use strict";var n=t(77549),r=t(11478),o=t(14141),a=t(40224),u=t(5376),l=t(18161),c=t(95945),h=t(89458),d=t(2566),i=t(33314),v=t(74352),s=t(4370),p=t(41746),f=t(34813).f,g=t(54168).f,m=t(56018).f,b=t(37497),I=t(35171).trim,T="Number",C=a[T],S=u[T],y=C.prototype,O=a.TypeError,A=l("".slice),N=l("".charCodeAt),M=function(B){var U=s(B,"number");return typeof U=="bigint"?U:R(U)},R=function(B){var U=s(B,"number"),j,K,$,W,nt,st,gt,k;if(v(U))throw new O("Cannot convert a Symbol value to a number");if(typeof U=="string"&&U.length>2){if(U=I(U),j=N(U,0),j===43||j===45){if(K=N(U,2),K===88||K===120)return NaN}else if(j===48){switch(N(U,1)){case 66:case 98:$=2,W=49;break;case 79:case 111:$=8,W=55;break;default:return+U}for(nt=A(U,2),st=nt.length,gt=0;gt<st;gt++)if(k=N(nt,gt),k<48||k>W)return NaN;return parseInt(nt,$)}}return+U},L=c(T,!C(" 0o1")||!C("0b1")||C("+0x1")),x=function(B){return i(y,B)&&p(function(){b(B)})},F=function(){function G(B){var U=arguments.length<1?0:C(M(B));return x(this)?d(Object(U),this,F):U}return G}();F.prototype=y,L&&!r&&(y.constructor=F),n({global:!0,constructor:!0,wrap:!0,forced:L},{Number:F});var V=function(B,U){for(var j=o?f(U):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),K=0,$;j.length>K;K++)h(U,$=j[K])&&!h(B,$)&&m(B,$,g(U,$))};r&&S&&V(u[T],S),(L||r)&&V(u[T],C)},84295:function(E,e,t){"use strict";var n=t(77549);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59785:function(E,e,t){"use strict";var n=t(77549),r=t(69079);n({target:"Number",stat:!0},{isFinite:r})},8846:function(E,e,t){"use strict";var n=t(77549),r=t(57696);n({target:"Number",stat:!0},{isInteger:r})},50237:function(E,e,t){"use strict";var n=t(77549);n({target:"Number",stat:!0},{isNaN:function(){function r(o){return o!==o}return r}()})},6436:function(E,e,t){"use strict";var n=t(77549),r=t(57696),o=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function(){function a(u){return r(u)&&o(u)<=9007199254740991}return a}()})},68286:function(E,e,t){"use strict";var n=t(77549);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},23940:function(E,e,t){"use strict";var n=t(77549);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},82425:function(E,e,t){"use strict";var n=t(77549),r=t(43283);n({target:"Number",stat:!0,forced:Number.parseFloat!==r},{parseFloat:r})},82118:function(E,e,t){"use strict";var n=t(77549),r=t(11540);n({target:"Number",stat:!0,forced:Number.parseInt!==r},{parseInt:r})},7419:function(E,e,t){"use strict";var n=t(77549),r=t(18161),o=t(74952),a=t(37497),u=t(84948),l=t(41746),c=RangeError,h=String,d=Math.floor,i=r(u),v=r("".slice),s=r(1 .toFixed),p=function T(C,S,y){return S===0?y:S%2===1?T(C,S-1,y*C):T(C*C,S/2,y)},f=function(C){for(var S=0,y=C;y>=4096;)S+=12,y/=4096;for(;y>=2;)S+=1,y/=2;return S},g=function(C,S,y){for(var O=-1,A=y;++O<6;)A+=S*C[O],C[O]=A%1e7,A=d(A/1e7)},m=function(C,S){for(var y=6,O=0;--y>=0;)O+=C[y],C[y]=d(O/S),O=O%S*1e7},b=function(C){for(var S=6,y="";--S>=0;)if(y!==""||S===0||C[S]!==0){var O=h(C[S]);y=y===""?O:y+i("0",7-O.length)+O}return y},I=l(function(){return s(8e-5,3)!=="0.000"||s(.9,0)!=="1"||s(1.255,2)!=="1.25"||s(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!l(function(){s({})});n({target:"Number",proto:!0,forced:I},{toFixed:function(){function T(C){var S=a(this),y=o(C),O=[0,0,0,0,0,0],A="",N="0",M,R,L,x;if(y<0||y>20)throw new c("Incorrect fraction digits");if(S!==S)return"NaN";if(S<=-1e21||S>=1e21)return h(S);if(S<0&&(A="-",S=-S),S>1e-21)if(M=f(S*p(2,69,1))-69,R=M<0?S*p(2,-M,1):S/p(2,M,1),R*=4503599627370496,M=52-M,M>0){for(g(O,0,R),L=y;L>=7;)g(O,1e7,0),L-=7;for(g(O,p(10,L,1),0),L=M-1;L>=23;)m(O,8388608),L-=23;m(O,1<<L),g(O,1,1),m(O,2),N=b(O)}else g(O,0,R),g(O,1<<-M,0),N=b(O)+i("0",y);return y>0?(x=N.length,N=A+(x<=y?"0."+i("0",y-x)+N:v(N,0,x-y)+"."+v(N,x-y))):N=A+N,N}return T}()})},42409:function(E,e,t){"use strict";var n=t(77549),r=t(18161),o=t(41746),a=t(37497),u=r(1 .toPrecision),l=o(function(){return u(1,void 0)!=="1"})||!o(function(){u({})});n({target:"Number",proto:!0,forced:l},{toPrecision:function(){function c(h){return h===void 0?u(a(this)):u(a(this),h)}return c}()})},29002:function(E,e,t){"use strict";var n=t(77549),r=t(12752);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},85795:function(E,e,t){"use strict";var n=t(77549),r=t(14141),o=t(28969);n({target:"Object",stat:!0,sham:!r},{create:o})},74722:function(E,e,t){"use strict";var n=t(77549),r=t(14141),o=t(33030),a=t(97361),u=t(40076),l=t(56018);r&&n({target:"Object",proto:!0,forced:o},{__defineGetter__:function(){function c(h,d){l.f(u(this),h,{get:a(d),enumerable:!0,configurable:!0})}return c}()})},5300:function(E,e,t){"use strict";var n=t(77549),r=t(14141),o=t(65854).f;n({target:"Object",stat:!0,forced:Object.defineProperties!==o,sham:!r},{defineProperties:o})},85684:function(E,e,t){"use strict";var n=t(77549),r=t(14141),o=t(56018).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!r},{defineProperty:o})},36014:function(E,e,t){"use strict";var n=t(77549),r=t(14141),o=t(33030),a=t(97361),u=t(40076),l=t(56018);r&&n({target:"Object",proto:!0,forced:o},{__defineSetter__:function(){function c(h,d){l.f(u(this),h,{set:a(d),enumerable:!0,configurable:!0})}return c}()})},98551:function(E,e,t){"use strict";var n=t(77549),r=t(97452).entries;n({target:"Object",stat:!0},{entries:function(){function o(a){return r(a)}return o}()})},66288:function(E,e,t){"use strict";var n=t(77549),r=t(56255),o=t(41746),a=t(56831),u=t(29126).onFreeze,l=Object.freeze,c=o(function(){l(1)});n({target:"Object",stat:!0,forced:c,sham:!r},{freeze:function(){function h(d){return l&&a(d)?l(u(d)):d}return h}()})},26862:function(E,e,t){"use strict";var n=t(77549),r=t(281),o=t(12913);n({target:"Object",stat:!0},{fromEntries:function(){function a(u){var l={};return r(u,function(c,h){o(l,c,h)},{AS_ENTRIES:!0}),l}return a}()})},78686:function(E,e,t){"use strict";var n=t(77549),r=t(41746),o=t(96812),a=t(54168).f,u=t(14141),l=!u||r(function(){a(1)});n({target:"Object",stat:!0,forced:l,sham:!u},{getOwnPropertyDescriptor:function(){function c(h,d){return a(o(h),d)}return c}()})},36789:function(E,e,t){"use strict";var n=t(77549),r=t(14141),o=t(93616),a=t(96812),u=t(54168),l=t(12913);n({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(){function c(h){for(var d=a(h),i=u.f,v=o(d),s={},p=0,f,g;v.length>p;)g=i(d,f=v[p++]),g!==void 0&&l(s,f,g);return s}return c}()})},82707:function(E,e,t){"use strict";var n=t(77549),r=t(41746),o=t(63797).f,a=r(function(){return!Object.getOwnPropertyNames(1)});n({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:o})},93146:function(E,e,t){"use strict";var n=t(77549),r=t(70640),o=t(41746),a=t(34220),u=t(40076),l=!r||o(function(){a.f(1)});n({target:"Object",stat:!0,forced:l},{getOwnPropertySymbols:function(){function c(h){var d=a.f;return d?d(u(h)):[]}return c}()})},69740:function(E,e,t){"use strict";var n=t(77549),r=t(41746),o=t(40076),a=t(31658),u=t(58776),l=r(function(){a(1)});n({target:"Object",stat:!0,forced:l,sham:!u},{getPrototypeOf:function(){function c(h){return a(o(h))}return c}()})},54789:function(E,e,t){"use strict";var n=t(77549),r=t(57975);n({target:"Object",stat:!0,forced:Object.isExtensible!==r},{isExtensible:r})},49626:function(E,e,t){"use strict";var n=t(77549),r=t(41746),o=t(56831),a=t(38817),u=t(65693),l=Object.isFrozen,c=u||r(function(){l(1)});n({target:"Object",stat:!0,forced:c},{isFrozen:function(){function h(d){return!o(d)||u&&a(d)==="ArrayBuffer"?!0:l?l(d):!1}return h}()})},67660:function(E,e,t){"use strict";var n=t(77549),r=t(41746),o=t(56831),a=t(38817),u=t(65693),l=Object.isSealed,c=u||r(function(){l(1)});n({target:"Object",stat:!0,forced:c},{isSealed:function(){function h(d){return!o(d)||u&&a(d)==="ArrayBuffer"?!0:l?l(d):!1}return h}()})},87847:function(E,e,t){"use strict";var n=t(77549),r=t(37309);n({target:"Object",stat:!0},{is:r})},43619:function(E,e,t){"use strict";var n=t(77549),r=t(40076),o=t(84913),a=t(41746),u=a(function(){o(1)});n({target:"Object",stat:!0,forced:u},{keys:function(){function l(c){return o(r(c))}return l}()})},42777:function(E,e,t){"use strict";var n=t(77549),r=t(14141),o=t(33030),a=t(40076),u=t(57640),l=t(31658),c=t(54168).f;r&&n({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(){function h(d){var i=a(this),v=u(d),s;do if(s=c(i,v))return s.get;while(i=l(i))}return h}()})},13045:function(E,e,t){"use strict";var n=t(77549),r=t(14141),o=t(33030),a=t(40076),u=t(57640),l=t(31658),c=t(54168).f;r&&n({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(){function h(d){var i=a(this),v=u(d),s;do if(s=c(i,v))return s.set;while(i=l(i))}return h}()})},38664:function(E,e,t){"use strict";var n=t(77549),r=t(56831),o=t(29126).onFreeze,a=t(56255),u=t(41746),l=Object.preventExtensions,c=u(function(){l(1)});n({target:"Object",stat:!0,forced:c,sham:!a},{preventExtensions:function(){function h(d){return l&&r(d)?l(o(d)):d}return h}()})},29650:function(E,e,t){"use strict";var n=t(77549),r=t(56831),o=t(29126).onFreeze,a=t(56255),u=t(41746),l=Object.seal,c=u(function(){l(1)});n({target:"Object",stat:!0,forced:c,sham:!a},{seal:function(){function h(d){return l&&r(d)?l(o(d)):d}return h}()})},58176:function(E,e,t){"use strict";var n=t(77549),r=t(42878);n({target:"Object",stat:!0},{setPrototypeOf:r})},35286:function(E,e,t){"use strict";var n=t(82161),r=t(59173),o=t(66628);n||r(Object.prototype,"toString",o,{unsafe:!0})},13313:function(E,e,t){"use strict";var n=t(77549),r=t(97452).values;n({target:"Object",stat:!0},{values:function(){function o(a){return r(a)}return o}()})},26528:function(E,e,t){"use strict";var n=t(77549),r=t(43283);n({global:!0,forced:parseFloat!==r},{parseFloat:r})},54959:function(E,e,t){"use strict";var n=t(77549),r=t(11540);n({global:!0,forced:parseInt!==r},{parseInt:r})},34344:function(E,e,t){"use strict";var n=t(77549),r=t(62696),o=t(97361),a=t(48532),u=t(91114),l=t(281),c=t(95044);n({target:"Promise",stat:!0,forced:c},{all:function(){function h(d){var i=this,v=a.f(i),s=v.resolve,p=v.reject,f=u(function(){var g=o(i.resolve),m=[],b=0,I=1;l(d,function(T){var C=b++,S=!1;I++,r(g,i,T).then(function(y){S||(S=!0,m[C]=y,--I||s(m))},p)}),--I||s(m)});return f.error&&p(f.value),v.promise}return h}()})},60:function(E,e,t){"use strict";var n=t(77549),r=t(11478),o=t(49669).CONSTRUCTOR,a=t(35973),u=t(40164),l=t(7532),c=t(59173),h=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(){function i(v){return this.then(void 0,v)}return i}()}),!r&&l(a)){var d=u("Promise").prototype.catch;h.catch!==d&&c(h,"catch",d,{unsafe:!0})}},7803:function(E,e,t){"use strict";var n=t(77549),r=t(11478),o=t(95823),a=t(40224),u=t(62696),l=t(59173),c=t(42878),h=t(94234),d=t(67420),i=t(97361),v=t(7532),s=t(56831),p=t(19870),f=t(78412),g=t(91314).set,m=t(27150),b=t(46122),I=t(91114),T=t(23496),C=t(35086),S=t(35973),y=t(49669),O=t(48532),A="Promise",N=y.CONSTRUCTOR,M=y.REJECTION_EVENT,R=y.SUBCLASSING,L=C.getterFor(A),x=C.set,F=S&&S.prototype,V=S,G=F,B=a.TypeError,U=a.document,j=a.process,K=O.f,$=K,W=!!(U&&U.createEvent&&a.dispatchEvent),nt="unhandledrejection",st="rejectionhandled",gt=0,k=1,X=2,tt=1,ct=2,at,St,Mt,wt,Rt=function(J){var ut;return s(J)&&v(ut=J.then)?ut:!1},vt=function(J,ut){var bt=ut.value,At=ut.state===k,Bt=At?J.ok:J.fail,Ut=J.resolve,Tt=J.reject,it=J.domain,mt,It,Ct;try{Bt?(At||(ut.rejection===ct&&ht(ut),ut.rejection=tt),Bt===!0?mt=bt:(it&&it.enter(),mt=Bt(bt),it&&(it.exit(),Ct=!0)),mt===J.promise?Tt(new B("Promise-chain cycle")):(It=Rt(mt))?u(It,mt,Ut,Tt):Ut(mt)):Tt(bt)}catch(Pt){it&&!Ct&&it.exit(),Tt(Pt)}},ft=function(J,ut){J.notified||(J.notified=!0,m(function(){for(var bt=J.reactions,At;At=bt.get();)vt(At,J);J.notified=!1,ut&&!J.rejection&&Z(J)}))},Q=function(J,ut,bt){var At,Bt;W?(At=U.createEvent("Event"),At.promise=ut,At.reason=bt,At.initEvent(J,!1,!0),a.dispatchEvent(At)):At={promise:ut,reason:bt},!M&&(Bt=a["on"+J])?Bt(At):J===nt&&b("Unhandled promise rejection",bt)},Z=function(J){u(g,a,function(){var ut=J.facade,bt=J.value,At=et(J),Bt;if(At&&(Bt=I(function(){o?j.emit("unhandledRejection",bt,ut):Q(nt,ut,bt)}),J.rejection=o||et(J)?ct:tt,Bt.error))throw Bt.value})},et=function(J){return J.rejection!==tt&&!J.parent},ht=function(J){u(g,a,function(){var ut=J.facade;o?j.emit("rejectionHandled",ut):Q(st,ut,J.value)})},Et=function(J,ut,bt){return function(At){J(ut,At,bt)}},rt=function(J,ut,bt){J.done||(J.done=!0,bt&&(J=bt),J.value=ut,J.state=X,ft(J,!0))},pt=function Nt(J,ut,bt){if(!J.done){J.done=!0,bt&&(J=bt);try{if(J.facade===ut)throw new B("Promise can't be resolved itself");var At=Rt(ut);At?m(function(){var Bt={done:!1};try{u(At,ut,Et(Nt,Bt,J),Et(rt,Bt,J))}catch(Ut){rt(Bt,Ut,J)}}):(J.value=ut,J.state=k,ft(J,!1))}catch(Bt){rt({done:!1},Bt,J)}}};if(N&&(V=function(){function Nt(J){p(this,G),i(J),u(at,this);var ut=L(this);try{J(Et(pt,ut),Et(rt,ut))}catch(bt){rt(ut,bt)}}return Nt}(),G=V.prototype,at=function(){function Nt(J){x(this,{type:A,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:gt,value:void 0})}return Nt}(),at.prototype=l(G,"then",function(){function Nt(J,ut){var bt=L(this),At=K(f(this,V));return bt.parent=!0,At.ok=v(J)?J:!0,At.fail=v(ut)&&ut,At.domain=o?j.domain:void 0,bt.state===gt?bt.reactions.add(At):m(function(){vt(At,bt)}),At.promise}return Nt}()),St=function(){var J=new at,ut=L(J);this.promise=J,this.resolve=Et(pt,ut),this.reject=Et(rt,ut)},O.f=K=function(J){return J===V||J===Mt?new St(J):$(J)},!r&&v(S)&&F!==Object.prototype)){wt=F.then,R||l(F,"then",function(){function Nt(J,ut){var bt=this;return new V(function(At,Bt){u(wt,bt,At,Bt)}).then(J,ut)}return Nt}(),{unsafe:!0});try{delete F.constructor}catch(Nt){}c&&c(F,G)}n({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:V}),h(V,A,!1,!0),d(A)},54412:function(E,e,t){"use strict";var n=t(77549),r=t(11478),o=t(35973),a=t(41746),u=t(40164),l=t(7532),c=t(78412),h=t(43827),d=t(59173),i=o&&o.prototype,v=!!o&&a(function(){i.finally.call({then:function(){function p(){}return p}()},function(){})});if(n({target:"Promise",proto:!0,real:!0,forced:v},{finally:function(){function p(f){var g=c(this,u("Promise")),m=l(f);return this.then(m?function(b){return h(g,f()).then(function(){return b})}:f,m?function(b){return h(g,f()).then(function(){throw b})}:f)}return p}()}),!r&&l(o)){var s=u("Promise").prototype.finally;i.finally!==s&&d(i,"finally",s,{unsafe:!0})}},78129:function(E,e,t){"use strict";t(7803),t(34344),t(60),t(61270),t(82248),t(30347)},61270:function(E,e,t){"use strict";var n=t(77549),r=t(62696),o=t(97361),a=t(48532),u=t(91114),l=t(281),c=t(95044);n({target:"Promise",stat:!0,forced:c},{race:function(){function h(d){var i=this,v=a.f(i),s=v.reject,p=u(function(){var f=o(i.resolve);l(d,function(g){r(f,i,g).then(v.resolve,s)})});return p.error&&s(p.value),v.promise}return h}()})},82248:function(E,e,t){"use strict";var n=t(77549),r=t(48532),o=t(49669).CONSTRUCTOR;n({target:"Promise",stat:!0,forced:o},{reject:function(){function a(u){var l=r.f(this),c=l.reject;return c(u),l.promise}return a}()})},30347:function(E,e,t){"use strict";var n=t(77549),r=t(40164),o=t(11478),a=t(35973),u=t(49669).CONSTRUCTOR,l=t(43827),c=r("Promise"),h=o&&!u;n({target:"Promise",stat:!0,forced:o||u},{resolve:function(){function d(i){return l(h&&this===c?a:this,i)}return d}()})},82427:function(E,e,t){"use strict";var n=t(77549),r=t(70918),o=t(97361),a=t(39482),u=t(41746),l=!u(function(){Reflect.apply(function(){})});n({target:"Reflect",stat:!0,forced:l},{apply:function(){function c(h,d,i){return r(o(h),d,a(i))}return c}()})},8390:function(E,e,t){"use strict";var n=t(77549),r=t(40164),o=t(70918),a=t(9379),u=t(76833),l=t(39482),c=t(56831),h=t(28969),d=t(41746),i=r("Reflect","construct"),v=Object.prototype,s=[].push,p=d(function(){function m(){}return!(i(function(){},[],m)instanceof m)}),f=!d(function(){i(function(){})}),g=p||f;n({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(){function m(b,I){u(b),l(I);var T=arguments.length<3?b:u(arguments[2]);if(f&&!p)return i(b,I,T);if(b===T){switch(I.length){case 0:return new b;case 1:return new b(I[0]);case 2:return new b(I[0],I[1]);case 3:return new b(I[0],I[1],I[2]);case 4:return new b(I[0],I[1],I[2],I[3])}var C=[null];return o(s,C,I),new(o(a,b,C))}var S=T.prototype,y=h(c(S)?S:v),O=o(b,y,I);return c(O)?O:y}return m}()})},68260:function(E,e,t){"use strict";var n=t(77549),r=t(14141),o=t(39482),a=t(57640),u=t(56018),l=t(41746),c=l(function(){Reflect.defineProperty(u.f({},1,{value:1}),1,{value:2})});n({target:"Reflect",stat:!0,forced:c,sham:!r},{defineProperty:function(){function h(d,i,v){o(d);var s=a(i);o(v);try{return u.f(d,s,v),!0}catch(p){return!1}}return h}()})},86508:function(E,e,t){"use strict";var n=t(77549),r=t(39482),o=t(54168).f;n({target:"Reflect",stat:!0},{deleteProperty:function(){function a(u,l){var c=o(r(u),l);return c&&!c.configurable?!1:delete u[l]}return a}()})},17134:function(E,e,t){"use strict";var n=t(77549),r=t(14141),o=t(39482),a=t(54168);n({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(){function u(l,c){return a.f(o(l),c)}return u}()})},18972:function(E,e,t){"use strict";var n=t(77549),r=t(39482),o=t(31658),a=t(58776);n({target:"Reflect",stat:!0,sham:!a},{getPrototypeOf:function(){function u(l){return o(r(l))}return u}()})},65971:function(E,e,t){"use strict";var n=t(77549),r=t(62696),o=t(56831),a=t(39482),u=t(35892),l=t(54168),c=t(31658);function h(d,i){var v=arguments.length<3?d:arguments[2],s,p;if(a(d)===v)return d[i];if(s=l.f(d,i),s)return u(s)?s.value:s.get===void 0?void 0:r(s.get,v);if(o(p=c(d)))return h(p,i,v)}n({target:"Reflect",stat:!0},{get:h})},78623:function(E,e,t){"use strict";var n=t(77549);n({target:"Reflect",stat:!0},{has:function(){function r(o,a){return a in o}return r}()})},60149:function(E,e,t){"use strict";var n=t(77549),r=t(39482),o=t(57975);n({target:"Reflect",stat:!0},{isExtensible:function(){function a(u){return r(u),o(u)}return a}()})},56380:function(E,e,t){"use strict";var n=t(77549),r=t(93616);n({target:"Reflect",stat:!0},{ownKeys:r})},72792:function(E,e,t){"use strict";var n=t(77549),r=t(40164),o=t(39482),a=t(56255);n({target:"Reflect",stat:!0,sham:!a},{preventExtensions:function(){function u(l){o(l);try{var c=r("Object","preventExtensions");return c&&c(l),!0}catch(h){return!1}}return u}()})},25168:function(E,e,t){"use strict";var n=t(77549),r=t(39482),o=t(51689),a=t(42878);a&&n({target:"Reflect",stat:!0},{setPrototypeOf:function(){function u(l,c){r(l),o(c);try{return a(l,c),!0}catch(h){return!1}}return u}()})},60631:function(E,e,t){"use strict";var n=t(77549),r=t(62696),o=t(39482),a=t(56831),u=t(35892),l=t(41746),c=t(56018),h=t(54168),d=t(31658),i=t(7539);function v(p,f,g){var m=arguments.length<4?p:arguments[3],b=h.f(o(p),f),I,T,C;if(!b){if(a(T=d(p)))return v(T,f,g,m);b=i(0)}if(u(b)){if(b.writable===!1||!a(m))return!1;if(I=h.f(m,f)){if(I.get||I.set||I.writable===!1)return!1;I.value=g,c.f(m,f,I)}else c.f(m,f,i(0,g))}else{if(C=b.set,C===void 0)return!1;r(C,m,g)}return!0}var s=l(function(){var p=function(){},f=c.f(new p,"a",{configurable:!0});return Reflect.set(p.prototype,"a",1,f)!==!1});n({target:"Reflect",stat:!0,forced:s},{set:v})},85177:function(E,e,t){"use strict";var n=t(14141),r=t(40224),o=t(18161),a=t(95945),u=t(2566),l=t(16216),c=t(28969),h=t(34813).f,d=t(33314),i=t(80969),v=t(26602),s=t(60425),p=t(1064),f=t(77495),g=t(59173),m=t(41746),b=t(89458),I=t(35086).enforce,T=t(67420),C=t(66266),S=t(89604),y=t(5489),O=C("match"),A=r.RegExp,N=A.prototype,M=r.SyntaxError,R=o(N.exec),L=o("".charAt),x=o("".replace),F=o("".indexOf),V=o("".slice),G=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,B=/a/g,U=/a/g,j=new A(B)!==B,K=p.MISSED_STICKY,$=p.UNSUPPORTED_Y,W=n&&(!j||K||S||y||m(function(){return U[O]=!1,A(B)!==B||A(U)===U||String(A(B,"i"))!=="/a/i"})),nt=function(ct){for(var at=ct.length,St=0,Mt="",wt=!1,Rt;St<=at;St++){if(Rt=L(ct,St),Rt==="\\"){Mt+=Rt+L(ct,++St);continue}!wt&&Rt==="."?Mt+="[\\s\\S]":(Rt==="["?wt=!0:Rt==="]"&&(wt=!1),Mt+=Rt)}return Mt},st=function(ct){for(var at=ct.length,St=0,Mt="",wt=[],Rt=c(null),vt=!1,ft=!1,Q=0,Z="",et;St<=at;St++){if(et=L(ct,St),et==="\\")et+=L(ct,++St);else if(et==="]")vt=!1;else if(!vt)switch(!0){case et==="[":vt=!0;break;case et==="(":R(G,V(ct,St+1))&&(St+=2,ft=!0),Mt+=et,Q++;continue;case(et===">"&&ft):if(Z===""||b(Rt,Z))throw new M("Invalid capture group name");Rt[Z]=!0,wt[wt.length]=[Z,Q],ft=!1,Z="";continue}ft?Z+=et:Mt+=et}return[Mt,wt]};if(a("RegExp",W)){for(var gt=function(){function tt(ct,at){var St=d(N,this),Mt=i(ct),wt=at===void 0,Rt=[],vt=ct,ft,Q,Z,et,ht,Et;if(!St&&Mt&&wt&&ct.constructor===gt)return ct;if((Mt||d(N,ct))&&(ct=ct.source,wt&&(at=s(vt))),ct=ct===void 0?"":v(ct),at=at===void 0?"":v(at),vt=ct,S&&"dotAll"in B&&(Q=!!at&&F(at,"s")>-1,Q&&(at=x(at,/s/g,""))),ft=at,K&&"sticky"in B&&(Z=!!at&&F(at,"y")>-1,Z&&$&&(at=x(at,/y/g,""))),y&&(et=st(ct),ct=et[0],Rt=et[1]),ht=u(A(ct,at),St?this:N,gt),(Q||Z||Rt.length)&&(Et=I(ht),Q&&(Et.dotAll=!0,Et.raw=gt(nt(ct),ft)),Z&&(Et.sticky=!0),Rt.length&&(Et.groups=Rt)),ct!==vt)try{l(ht,"source",vt===""?"(?:)":vt)}catch(rt){}return ht}return tt}(),k=h(A),X=0;k.length>X;)f(gt,A,k[X++]);N.constructor=gt,gt.prototype=N,g(r,"RegExp",gt,{constructor:!0})}T("RegExp")},95880:function(E,e,t){"use strict";var n=t(77549),r=t(72894);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},59978:function(E,e,t){"use strict";var n=t(40224),r=t(14141),o=t(10069),a=t(65844),u=t(41746),l=n.RegExp,c=l.prototype,h=r&&u(function(){var d=!0;try{l(".","d")}catch(b){d=!1}var i={},v="",s=d?"dgimsy":"gimsy",p=function(I,T){Object.defineProperty(i,I,{get:function(){function C(){return v+=T,!0}return C}()})},f={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};d&&(f.hasIndices="d");for(var g in f)p(g,f[g]);var m=Object.getOwnPropertyDescriptor(c,"flags").get.call(i);return m!==s||v!==s});h&&o(c,"flags",{configurable:!0,get:a})},96360:function(E,e,t){"use strict";var n=t(26463).PROPER,r=t(59173),o=t(39482),a=t(26602),u=t(41746),l=t(60425),c="toString",h=RegExp.prototype,d=h[c],i=u(function(){return d.call({source:"a",flags:"b"})!=="/a/b"}),v=n&&d.name!==c;(i||v)&&r(h,c,function(){function s(){var p=o(this),f=a(p.source),g=a(l(p));return"/"+f+"/"+g}return s}(),{unsafe:!0})},47338:function(E,e,t){"use strict";var n=t(93439),r=t(10623);n("Set",function(o){return function(){function a(){return o(this,arguments.length?arguments[0]:void 0)}return a}()},r)},43108:function(E,e,t){"use strict";t(47338)},36:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("anchor")},{anchor:function(){function a(u){return r(this,"a","name",u)}return a}()})},30519:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("big")},{big:function(){function a(){return r(this,"big","","")}return a}()})},33547:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("blink")},{blink:function(){function a(){return r(this,"blink","","")}return a}()})},53426:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("bold")},{bold:function(){function a(){return r(this,"b","","")}return a}()})},37801:function(E,e,t){"use strict";var n=t(77549),r=t(56852).codeAt;n({target:"String",proto:!0},{codePointAt:function(){function o(a){return r(this,a)}return o}()})},3044:function(E,e,t){"use strict";var n=t(77549),r=t(85067),o=t(54168).f,a=t(10475),u=t(26602),l=t(89140),c=t(91029),h=t(93321),d=t(11478),i=r("".slice),v=Math.min,s=h("endsWith"),p=!d&&!s&&!!function(){var f=o(String.prototype,"endsWith");return f&&!f.writable}();n({target:"String",proto:!0,forced:!p&&!s},{endsWith:function(){function f(g){var m=u(c(this));l(g);var b=arguments.length>1?arguments[1]:void 0,I=m.length,T=b===void 0?I:v(a(b),I),C=u(g);return i(m,T-C.length,T)===C}return f}()})},32031:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("fixed")},{fixed:function(){function a(){return r(this,"tt","","")}return a}()})},13153:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("fontcolor")},{fontcolor:function(){function a(u){return r(this,"font","color",u)}return a}()})},21953:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("fontsize")},{fontsize:function(){function a(u){return r(this,"font","size",u)}return a}()})},48432:function(E,e,t){"use strict";var n=t(77549),r=t(18161),o=t(74067),a=RangeError,u=String.fromCharCode,l=String.fromCodePoint,c=r([].join),h=!!l&&l.length!==1;n({target:"String",stat:!0,arity:1,forced:h},{fromCodePoint:function(){function d(i){for(var v=[],s=arguments.length,p=0,f;s>p;){if(f=+arguments[p++],o(f,1114111)!==f)throw new a(f+" is not a valid code point");v[p]=f<65536?u(f):u(((f-=65536)>>10)+55296,f%1024+56320)}return c(v,"")}return d}()})},54564:function(E,e,t){"use strict";var n=t(77549),r=t(18161),o=t(89140),a=t(91029),u=t(26602),l=t(93321),c=r("".indexOf);n({target:"String",proto:!0,forced:!l("includes")},{includes:function(){function h(d){return!!~c(u(a(this)),u(o(d)),arguments.length>1?arguments[1]:void 0)}return h}()})},83560:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("italics")},{italics:function(){function a(){return r(this,"i","","")}return a}()})},58179:function(E,e,t){"use strict";var n=t(56852).charAt,r=t(26602),o=t(35086),a=t(2449),u=t(77056),l="String Iterator",c=o.set,h=o.getterFor(l);a(String,"String",function(d){c(this,{type:l,string:r(d),index:0})},function(){function d(){var i=h(this),v=i.string,s=i.index,p;return s>=v.length?u(void 0,!0):(p=n(v,s),i.index+=p.length,u(p,!1))}return d}())},63465:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("link")},{link:function(){function a(u){return r(this,"a","href",u)}return a}()})},68164:function(E,e,t){"use strict";var n=t(62696),r=t(85427),o=t(39482),a=t(1022),u=t(10475),l=t(26602),c=t(91029),h=t(4817),d=t(62970),i=t(35553);r("match",function(v,s,p){return[function(){function f(g){var m=c(this),b=a(g)?void 0:h(g,v);return b?n(b,g,m):new RegExp(g)[v](l(m))}return f}(),function(f){var g=o(this),m=l(f),b=p(s,g,m);if(b.done)return b.value;if(!g.global)return i(g,m);var I=g.unicode;g.lastIndex=0;for(var T=[],C=0,S;(S=i(g,m))!==null;){var y=l(S[0]);T[C]=y,y===""&&(g.lastIndex=d(m,u(g.lastIndex),I)),C++}return C===0?null:T}]})},58880:function(E,e,t){"use strict";var n=t(77549),r=t(34086).end,o=t(33038);n({target:"String",proto:!0,forced:o},{padEnd:function(){function a(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}return a}()})},54465:function(E,e,t){"use strict";var n=t(77549),r=t(34086).start,o=t(33038);n({target:"String",proto:!0,forced:o},{padStart:function(){function a(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}return a}()})},97327:function(E,e,t){"use strict";var n=t(77549),r=t(18161),o=t(96812),a=t(40076),u=t(26602),l=t(8333),c=r([].push),h=r([].join);n({target:"String",stat:!0},{raw:function(){function d(i){var v=o(a(i).raw),s=l(v);if(!s)return"";for(var p=arguments.length,f=[],g=0;;){if(c(f,u(v[g++])),g===s)return h(f,"");g<p&&c(f,u(arguments[g]))}}return d}()})},19114:function(E,e,t){"use strict";var n=t(77549),r=t(84948);n({target:"String",proto:!0},{repeat:r})},23797:function(E,e,t){"use strict";var n=t(70918),r=t(62696),o=t(18161),a=t(85427),u=t(41746),l=t(39482),c=t(7532),h=t(1022),d=t(74952),i=t(10475),v=t(26602),s=t(91029),p=t(62970),f=t(4817),g=t(81385),m=t(35553),b=t(66266),I=b("replace"),T=Math.max,C=Math.min,S=o([].concat),y=o([].push),O=o("".indexOf),A=o("".slice),N=function(F){return F===void 0?F:String(F)},M=function(){return"a".replace(/./,"$0")==="$0"}(),R=function(){return/./[I]?/./[I]("a","$0")==="":!1}(),L=!u(function(){var x=/./;return x.exec=function(){var F=[];return F.groups={a:"7"},F},"".replace(x,"$<a>")!=="7"});a("replace",function(x,F,V){var G=R?"$":"$0";return[function(){function B(U,j){var K=s(this),$=h(U)?void 0:f(U,I);return $?r($,U,K,j):r(F,v(K),U,j)}return B}(),function(B,U){var j=l(this),K=v(B);if(typeof U=="string"&&O(U,G)===-1&&O(U,"$<")===-1){var $=V(F,j,K,U);if($.done)return $.value}var W=c(U);W||(U=v(U));var nt=j.global,st;nt&&(st=j.unicode,j.lastIndex=0);for(var gt=[],k;k=m(j,K),!(k===null||(y(gt,k),!nt));){var X=v(k[0]);X===""&&(j.lastIndex=p(K,i(j.lastIndex),st))}for(var tt="",ct=0,at=0;at<gt.length;at++){k=gt[at];for(var St=v(k[0]),Mt=T(C(d(k.index),K.length),0),wt=[],Rt,vt=1;vt<k.length;vt++)y(wt,N(k[vt]));var ft=k.groups;if(W){var Q=S([St],wt,Mt,K);ft!==void 0&&y(Q,ft),Rt=v(n(U,void 0,Q))}else Rt=g(St,K,Mt,wt,ft,U);Mt>=ct&&(tt+=A(K,ct,Mt)+Rt,ct=Mt+St.length)}return tt+A(K,ct)}]},!L||!M||R)},17337:function(E,e,t){"use strict";var n=t(62696),r=t(85427),o=t(39482),a=t(1022),u=t(91029),l=t(37309),c=t(26602),h=t(4817),d=t(35553);r("search",function(i,v,s){return[function(){function p(f){var g=u(this),m=a(f)?void 0:h(f,i);return m?n(m,f,g):new RegExp(f)[i](c(g))}return p}(),function(p){var f=o(this),g=c(p),m=s(v,f,g);if(m.done)return m.value;var b=f.lastIndex;l(b,0)||(f.lastIndex=0);var I=d(f,g);return l(f.lastIndex,b)||(f.lastIndex=b),I===null?-1:I.index}]})},98998:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("small")},{small:function(){function a(){return r(this,"small","","")}return a}()})},53713:function(E,e,t){"use strict";var n=t(62696),r=t(18161),o=t(85427),a=t(39482),u=t(1022),l=t(91029),c=t(78412),h=t(62970),d=t(10475),i=t(26602),v=t(4817),s=t(35553),p=t(1064),f=t(41746),g=p.UNSUPPORTED_Y,m=4294967295,b=Math.min,I=r([].push),T=r("".slice),C=!f(function(){var y=/(?:)/,O=y.exec;y.exec=function(){return O.apply(this,arguments)};var A="ab".split(y);return A.length!==2||A[0]!=="a"||A[1]!=="b"}),S="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;o("split",function(y,O,A){var N="0".split(void 0,0).length?function(M,R){return M===void 0&&R===0?[]:n(O,this,M,R)}:O;return[function(){function M(R,L){var x=l(this),F=u(R)?void 0:v(R,y);return F?n(F,R,x,L):n(N,i(x),R,L)}return M}(),function(M,R){var L=a(this),x=i(M);if(!S){var F=A(N,L,x,R,N!==O);if(F.done)return F.value}var V=c(L,RegExp),G=L.unicode,B=(L.ignoreCase?"i":"")+(L.multiline?"m":"")+(L.unicode?"u":"")+(g?"g":"y"),U=new V(g?"^(?:"+L.source+")":L,B),j=R===void 0?m:R>>>0;if(j===0)return[];if(x.length===0)return s(U,x)===null?[x]:[];for(var K=0,$=0,W=[];$<x.length;){U.lastIndex=g?0:$;var nt=s(U,g?T(x,$):x),st;if(nt===null||(st=b(d(U.lastIndex+(g?$:0)),x.length))===K)$=h(x,$,G);else{if(I(W,T(x,K,$)),W.length===j)return W;for(var gt=1;gt<=nt.length-1;gt++)if(I(W,nt[gt]),W.length===j)return W;$=K=st}}return I(W,T(x,K)),W}]},S||!C,g)},84469:function(E,e,t){"use strict";var n=t(77549),r=t(85067),o=t(54168).f,a=t(10475),u=t(26602),l=t(89140),c=t(91029),h=t(93321),d=t(11478),i=r("".slice),v=Math.min,s=h("startsWith"),p=!d&&!s&&!!function(){var f=o(String.prototype,"startsWith");return f&&!f.writable}();n({target:"String",proto:!0,forced:!p&&!s},{startsWith:function(){function f(g){var m=u(c(this));l(g);var b=a(v(arguments.length>1?arguments[1]:void 0,m.length)),I=u(g);return i(m,b,b+I.length)===I}return f}()})},96227:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("strike")},{strike:function(){function a(){return r(this,"strike","","")}return a}()})},15483:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("sub")},{sub:function(){function a(){return r(this,"sub","","")}return a}()})},86829:function(E,e,t){"use strict";var n=t(77549),r=t(93677),o=t(32086);n({target:"String",proto:!0,forced:o("sup")},{sup:function(){function a(){return r(this,"sup","","")}return a}()})},93073:function(E,e,t){"use strict";t(17434);var n=t(77549),r=t(11775);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==r},{trimEnd:r})},69107:function(E,e,t){"use strict";var n=t(77549),r=t(26402);n({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},17434:function(E,e,t){"use strict";var n=t(77549),r=t(11775);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==r},{trimRight:r})},50800:function(E,e,t){"use strict";t(69107);var n=t(77549),r=t(26402);n({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==r},{trimStart:r})},11121:function(E,e,t){"use strict";var n=t(77549),r=t(35171).trim,o=t(93817);n({target:"String",proto:!0,forced:o("trim")},{trim:function(){function a(){return r(this)}return a}()})},46951:function(E,e,t){"use strict";var n=t(15388);n("asyncIterator")},9056:function(E,e,t){"use strict";var n=t(77549),r=t(40224),o=t(62696),a=t(18161),u=t(11478),l=t(14141),c=t(70640),h=t(41746),d=t(89458),i=t(33314),v=t(39482),s=t(96812),p=t(57640),f=t(26602),g=t(7539),m=t(28969),b=t(84913),I=t(34813),T=t(63797),C=t(34220),S=t(54168),y=t(56018),O=t(65854),A=t(9776),N=t(59173),M=t(10069),R=t(75130),L=t(5160),x=t(21124),F=t(33345),V=t(66266),G=t(32938),B=t(15388),U=t(75429),j=t(94234),K=t(35086),$=t(67480).forEach,W=L("hidden"),nt="Symbol",st="prototype",gt=K.set,k=K.getterFor(nt),X=Object[st],tt=r.Symbol,ct=tt&&tt[st],at=r.RangeError,St=r.TypeError,Mt=r.QObject,wt=S.f,Rt=y.f,vt=T.f,ft=A.f,Q=a([].push),Z=R("symbols"),et=R("op-symbols"),ht=R("wks"),Et=!Mt||!Mt[st]||!Mt[st].findChild,rt=function(mt,It,Ct){var Pt=wt(X,It);Pt&&delete X[It],Rt(mt,It,Ct),Pt&&mt!==X&&Rt(X,It,Pt)},pt=l&&h(function(){return m(Rt({},"a",{get:function(){function it(){return Rt(this,"a",{value:7}).a}return it}()})).a!==7})?rt:Rt,Nt=function(mt,It){var Ct=Z[mt]=m(ct);return gt(Ct,{type:nt,tag:mt,description:It}),l||(Ct.description=It),Ct},J=function(){function it(mt,It,Ct){mt===X&&J(et,It,Ct),v(mt);var Pt=p(It);return v(Ct),d(Z,Pt)?(Ct.enumerable?(d(mt,W)&&mt[W][Pt]&&(mt[W][Pt]=!1),Ct=m(Ct,{enumerable:g(0,!1)})):(d(mt,W)||Rt(mt,W,g(1,m(null))),mt[W][Pt]=!0),pt(mt,Pt,Ct)):Rt(mt,Pt,Ct)}return it}(),ut=function(){function it(mt,It){v(mt);var Ct=s(It),Pt=b(Ct).concat(Tt(Ct));return $(Pt,function(xt){(!l||o(At,Ct,xt))&&J(mt,xt,Ct[xt])}),mt}return it}(),bt=function(){function it(mt,It){return It===void 0?m(mt):ut(m(mt),It)}return it}(),At=function(){function it(mt){var It=p(mt),Ct=o(ft,this,It);return this===X&&d(Z,It)&&!d(et,It)?!1:Ct||!d(this,It)||!d(Z,It)||d(this,W)&&this[W][It]?Ct:!0}return it}(),Bt=function(){function it(mt,It){var Ct=s(mt),Pt=p(It);if(!(Ct===X&&d(Z,Pt)&&!d(et,Pt))){var xt=wt(Ct,Pt);return xt&&d(Z,Pt)&&!(d(Ct,W)&&Ct[W][Pt])&&(xt.enumerable=!0),xt}}return it}(),Ut=function(){function it(mt){var It=vt(s(mt)),Ct=[];return $(It,function(Pt){!d(Z,Pt)&&!d(x,Pt)&&Q(Ct,Pt)}),Ct}return it}(),Tt=function(mt){var It=mt===X,Ct=vt(It?et:s(mt)),Pt=[];return $(Ct,function(xt){d(Z,xt)&&(!It||d(X,xt))&&Q(Pt,Z[xt])}),Pt};c||(tt=function(){function it(){if(i(ct,this))throw new St("Symbol is not a constructor");var mt=!arguments.length||arguments[0]===void 0?void 0:f(arguments[0]),It=F(mt),Ct=function(){function Pt(xt){var jt=this===void 0?r:this;jt===X&&o(Pt,et,xt),d(jt,W)&&d(jt[W],It)&&(jt[W][It]=!1);var Kt=g(1,xt);try{pt(jt,It,Kt)}catch(Wt){if(!(Wt instanceof at))throw Wt;rt(jt,It,Kt)}}return Pt}();return l&&Et&&pt(X,It,{configurable:!0,set:Ct}),Nt(It,mt)}return it}(),ct=tt[st],N(ct,"toString",function(){function it(){return k(this).tag}return it}()),N(tt,"withoutSetter",function(it){return Nt(F(it),it)}),A.f=At,y.f=J,O.f=ut,S.f=Bt,I.f=T.f=Ut,C.f=Tt,G.f=function(it){return Nt(V(it),it)},l&&(M(ct,"description",{configurable:!0,get:function(){function it(){return k(this).description}return it}()}),u||N(X,"propertyIsEnumerable",At,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:tt}),$(b(ht),function(it){B(it)}),n({target:nt,stat:!0,forced:!c},{useSetter:function(){function it(){Et=!0}return it}(),useSimple:function(){function it(){Et=!1}return it}()}),n({target:"Object",stat:!0,forced:!c,sham:!l},{create:bt,defineProperty:J,defineProperties:ut,getOwnPropertyDescriptor:Bt}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:Ut}),U(),j(tt,nt),x[W]=!0},27718:function(E,e,t){"use strict";var n=t(77549),r=t(14141),o=t(40224),a=t(18161),u=t(89458),l=t(7532),c=t(33314),h=t(26602),d=t(10069),i=t(70113),v=o.Symbol,s=v&&v.prototype;if(r&&l(v)&&(!("description"in s)||v().description!==void 0)){var p={},f=function(){function S(){var y=arguments.length<1||arguments[0]===void 0?void 0:h(arguments[0]),O=c(s,this)?new v(y):y===void 0?v():v(y);return y===""&&(p[O]=!0),O}return S}();i(f,v),f.prototype=s,s.constructor=f;var g=String(v("description detection"))==="Symbol(description detection)",m=a(s.valueOf),b=a(s.toString),I=/^Symbol\((.*)\)[^)]+$/,T=a("".replace),C=a("".slice);d(s,"description",{configurable:!0,get:function(){function S(){var y=m(this);if(u(p,y))return"";var O=b(y),A=g?C(O,7,-1):T(O,I,"$1");return A===""?void 0:A}return S}()}),n({global:!0,constructor:!0,forced:!0},{Symbol:f})}},18611:function(E,e,t){"use strict";var n=t(77549),r=t(40164),o=t(89458),a=t(26602),u=t(75130),l=t(80353),c=u("string-to-symbol-registry"),h=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{for:function(){function d(i){var v=a(i);if(o(c,v))return c[v];var s=r("Symbol")(v);return c[v]=s,h[s]=v,s}return d}()})},86042:function(E,e,t){"use strict";var n=t(15388);n("hasInstance")},93267:function(E,e,t){"use strict";var n=t(15388);n("isConcatSpreadable")},41664:function(E,e,t){"use strict";var n=t(15388);n("iterator")},99414:function(E,e,t){"use strict";t(9056),t(18611),t(30661),t(12183),t(93146)},30661:function(E,e,t){"use strict";var n=t(77549),r=t(89458),o=t(74352),a=t(62518),u=t(75130),l=t(80353),c=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{keyFor:function(){function h(d){if(!o(d))throw new TypeError(a(d)+" is not a symbol");if(r(c,d))return c[d]}return h}()})},48965:function(E,e,t){"use strict";var n=t(15388);n("match")},44844:function(E,e,t){"use strict";var n=t(15388);n("replace")},25030:function(E,e,t){"use strict";var n=t(15388);n("search")},96454:function(E,e,t){"use strict";var n=t(15388);n("species")},77564:function(E,e,t){"use strict";var n=t(15388);n("split")},44875:function(E,e,t){"use strict";var n=t(15388),r=t(75429);n("toPrimitive"),r()},77904:function(E,e,t){"use strict";var n=t(40164),r=t(15388),o=t(94234);r("toStringTag"),o(n("Symbol"),"Symbol")},35723:function(E,e,t){"use strict";var n=t(15388);n("unscopables")},84805:function(E,e,t){"use strict";var n=t(18161),r=t(72951),o=t(42320),a=n(o),u=r.aTypedArray,l=r.exportTypedArrayMethod;l("copyWithin",function(){function c(h,d){return a(u(this),h,d,arguments.length>2?arguments[2]:void 0)}return c}())},79305:function(E,e,t){"use strict";var n=t(72951),r=t(67480).every,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("every",function(){function u(l){return r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},71573:function(E,e,t){"use strict";var n=t(72951),r=t(59942),o=t(757),a=t(27806),u=t(62696),l=t(18161),c=t(41746),h=n.aTypedArray,d=n.exportTypedArrayMethod,i=l("".slice),v=c(function(){var s=0;return new Int8Array(2).fill({valueOf:function(){function p(){return s++}return p}()}),s!==1});d("fill",function(){function s(p){var f=arguments.length;h(this);var g=i(a(this),0,3)==="Big"?o(p):+p;return u(r,this,g,f>1?arguments[1]:void 0,f>2?arguments[2]:void 0)}return s}(),v)},47910:function(E,e,t){"use strict";var n=t(72951),r=t(67480).filter,o=t(80936),a=n.aTypedArray,u=n.exportTypedArrayMethod;u("filter",function(){function l(c){var h=r(a(this),c,arguments.length>1?arguments[1]:void 0);return o(this,h)}return l}())},99662:function(E,e,t){"use strict";var n=t(72951),r=t(67480).findIndex,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("findIndex",function(){function u(l){return r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},48447:function(E,e,t){"use strict";var n=t(72951),r=t(67480).find,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("find",function(){function u(l){return r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},68265:function(E,e,t){"use strict";var n=t(12218);n("Float32",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},36030:function(E,e,t){"use strict";var n=t(12218);n("Float64",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},57371:function(E,e,t){"use strict";var n=t(72951),r=t(67480).forEach,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("forEach",function(){function u(l){r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},68220:function(E,e,t){"use strict";var n=t(66220),r=t(72951).exportTypedArrayStaticMethod,o=t(7996);r("from",o,n)},15745:function(E,e,t){"use strict";var n=t(72951),r=t(64210).includes,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("includes",function(){function u(l){return r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},43398:function(E,e,t){"use strict";var n=t(72951),r=t(64210).indexOf,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("indexOf",function(){function u(l){return r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},25888:function(E,e,t){"use strict";var n=t(12218);n("Int16",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},35718:function(E,e,t){"use strict";var n=t(12218);n("Int32",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},32791:function(E,e,t){"use strict";var n=t(12218);n("Int8",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},97722:function(E,e,t){"use strict";var n=t(40224),r=t(41746),o=t(18161),a=t(72951),u=t(65809),l=t(66266),c=l("iterator"),h=n.Uint8Array,d=o(u.values),i=o(u.keys),v=o(u.entries),s=a.aTypedArray,p=a.exportTypedArrayMethod,f=h&&h.prototype,g=!r(function(){f[c].call([1])}),m=!!f&&f.values&&f[c]===f.values&&f.values.name==="values",b=function(){function I(){return d(s(this))}return I}();p("entries",function(){function I(){return v(s(this))}return I}(),g),p("keys",function(){function I(){return i(s(this))}return I}(),g),p("values",b,g||!m,{name:"values"}),p(c,b,g||!m,{name:"values"})},79088:function(E,e,t){"use strict";var n=t(72951),r=t(18161),o=n.aTypedArray,a=n.exportTypedArrayMethod,u=r([].join);a("join",function(){function l(c){return u(o(this),c)}return l}())},6075:function(E,e,t){"use strict";var n=t(72951),r=t(70918),o=t(16934),a=n.aTypedArray,u=n.exportTypedArrayMethod;u("lastIndexOf",function(){function l(c){var h=arguments.length;return r(o,a(this),h>1?[c,arguments[1]]:[c])}return l}())},46896:function(E,e,t){"use strict";var n=t(72951),r=t(67480).map,o=t(489),a=n.aTypedArray,u=n.exportTypedArrayMethod;u("map",function(){function l(c){return r(a(this),c,arguments.length>1?arguments[1]:void 0,function(h,d){return new(o(h))(d)})}return l}())},47145:function(E,e,t){"use strict";var n=t(72951),r=t(66220),o=n.aTypedArrayConstructor,a=n.exportTypedArrayStaticMethod;a("of",function(){function u(){for(var l=0,c=arguments.length,h=new(o(this))(c);c>l;)h[l]=arguments[l++];return h}return u}(),r)},349:function(E,e,t){"use strict";var n=t(72951),r=t(98405).right,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduceRight",function(){function u(l){var c=arguments.length;return r(o(this),l,c,c>1?arguments[1]:void 0)}return u}())},72606:function(E,e,t){"use strict";var n=t(72951),r=t(98405).left,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduce",function(){function u(l){var c=arguments.length;return r(o(this),l,c,c>1?arguments[1]:void 0)}return u}())},28292:function(E,e,t){"use strict";var n=t(72951),r=n.aTypedArray,o=n.exportTypedArrayMethod,a=Math.floor;o("reverse",function(){function u(){for(var l=this,c=r(l).length,h=a(c/2),d=0,i;d<h;)i=l[d],l[d++]=l[--c],l[c]=i;return l}return u}())},54890:function(E,e,t){"use strict";var n=t(40224),r=t(62696),o=t(72951),a=t(8333),u=t(65264),l=t(40076),c=t(41746),h=n.RangeError,d=n.Int8Array,i=d&&d.prototype,v=i&&i.set,s=o.aTypedArray,p=o.exportTypedArrayMethod,f=!c(function(){var m=new Uint8ClampedArray(2);return r(v,m,{length:1,0:3},1),m[1]!==3}),g=f&&o.NATIVE_ARRAY_BUFFER_VIEWS&&c(function(){var m=new d(2);return m.set(1),m.set("2",1),m[0]!==0||m[1]!==2});p("set",function(){function m(b){s(this);var I=u(arguments.length>1?arguments[1]:void 0,1),T=l(b);if(f)return r(v,this,T,I);var C=this.length,S=a(T),y=0;if(S+I>C)throw new h("Wrong length");for(;y<S;)this[I+y]=T[y++]}return m}(),!f||g)},66368:function(E,e,t){"use strict";var n=t(72951),r=t(489),o=t(41746),a=t(77713),u=n.aTypedArray,l=n.exportTypedArrayMethod,c=o(function(){new Int8Array(1).slice()});l("slice",function(){function h(d,i){for(var v=a(u(this),d,i),s=r(this),p=0,f=v.length,g=new s(f);f>p;)g[p]=v[p++];return g}return h}(),c)},74188:function(E,e,t){"use strict";var n=t(72951),r=t(67480).some,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("some",function(){function u(l){return r(o(this),l,arguments.length>1?arguments[1]:void 0)}return u}())},81976:function(E,e,t){"use strict";var n=t(40224),r=t(85067),o=t(41746),a=t(97361),u=t(44815),l=t(72951),c=t(49847),h=t(56605),d=t(82709),i=t(53125),v=l.aTypedArray,s=l.exportTypedArrayMethod,p=n.Uint16Array,f=p&&r(p.prototype.sort),g=!!f&&!(o(function(){f(new p(2),null)})&&o(function(){f(new p(2),{})})),m=!!f&&!o(function(){if(d)return d<74;if(c)return c<67;if(h)return!0;if(i)return i<602;var I=new p(516),T=Array(516),C,S;for(C=0;C<516;C++)S=C%4,I[C]=515-C,T[C]=C-2*S+3;for(f(I,function(y,O){return(y/4|0)-(O/4|0)}),C=0;C<516;C++)if(I[C]!==T[C])return!0}),b=function(T){return function(C,S){return T!==void 0?+T(C,S)||0:S!==S?-1:C!==C?1:C===0&&S===0?1/C>0&&1/S<0?1:-1:C>S}};s("sort",function(){function I(T){return T!==void 0&&a(T),m?f(this,T):u(v(this),b(T))}return I}(),!m||g)},78651:function(E,e,t){"use strict";var n=t(72951),r=t(10475),o=t(74067),a=t(489),u=n.aTypedArray,l=n.exportTypedArrayMethod;l("subarray",function(){function c(h,d){var i=u(this),v=i.length,s=o(h,v),p=a(i);return new p(i.buffer,i.byteOffset+s*i.BYTES_PER_ELEMENT,r((d===void 0?v:o(d,v))-s))}return c}())},81664:function(E,e,t){"use strict";var n=t(40224),r=t(70918),o=t(72951),a=t(41746),u=t(77713),l=n.Int8Array,c=o.aTypedArray,h=o.exportTypedArrayMethod,d=[].toLocaleString,i=!!l&&a(function(){d.call(new l(1))}),v=a(function(){return[1,2].toLocaleString()!==new l([1,2]).toLocaleString()})||!a(function(){l.prototype.toLocaleString.call([1,2])});h("toLocaleString",function(){function s(){return r(d,i?u(c(this)):c(this),u(arguments))}return s}(),v)},35579:function(E,e,t){"use strict";var n=t(72951).exportTypedArrayMethod,r=t(41746),o=t(40224),a=t(18161),u=o.Uint8Array,l=u&&u.prototype||{},c=[].toString,h=a([].join);r(function(){c.call({})})&&(c=function(){function i(){return h(this)}return i}());var d=l.toString!==c;n("toString",c,d)},99683:function(E,e,t){"use strict";var n=t(12218);n("Uint16",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},80941:function(E,e,t){"use strict";var n=t(12218);n("Uint32",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},45338:function(E,e,t){"use strict";var n=t(12218);n("Uint8",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()})},40737:function(E,e,t){"use strict";var n=t(12218);n("Uint8",function(r){return function(){function o(a,u,l){return r(this,a,u,l)}return o}()},!0)},74283:function(E,e,t){"use strict";var n=t(56255),r=t(40224),o=t(18161),a=t(13648),u=t(29126),l=t(93439),c=t(32920),h=t(56831),d=t(35086).enforce,i=t(41746),v=t(90777),s=Object,p=Array.isArray,f=s.isExtensible,g=s.isFrozen,m=s.isSealed,b=s.freeze,I=s.seal,T=!r.ActiveXObject&&"ActiveXObject"in r,C,S=function(F){return function(){function V(){return F(this,arguments.length?arguments[0]:void 0)}return V}()},y=l("WeakMap",S,c),O=y.prototype,A=o(O.set),N=function(){return n&&i(function(){var F=b([]);return A(new y,F,1),!g(F)})};if(v)if(T){C=c.getConstructor(S,"WeakMap",!0),u.enable();var M=o(O.delete),R=o(O.has),L=o(O.get);a(O,{delete:function(){function x(F){if(h(F)&&!f(F)){var V=d(this);return V.frozen||(V.frozen=new C),M(this,F)||V.frozen.delete(F)}return M(this,F)}return x}(),has:function(){function x(F){if(h(F)&&!f(F)){var V=d(this);return V.frozen||(V.frozen=new C),R(this,F)||V.frozen.has(F)}return R(this,F)}return x}(),get:function(){function x(F){if(h(F)&&!f(F)){var V=d(this);return V.frozen||(V.frozen=new C),R(this,F)?L(this,F):V.frozen.get(F)}return L(this,F)}return x}(),set:function(){function x(F,V){if(h(F)&&!f(F)){var G=d(this);G.frozen||(G.frozen=new C),R(this,F)?A(this,F,V):G.frozen.set(F,V)}else A(this,F,V);return this}return x}()})}else N()&&a(O,{set:function(){function x(F,V){var G;return p(F)&&(g(F)?G=b:m(F)&&(G=I)),A(this,F,V),G&&G(F),this}return x}()})},84033:function(E,e,t){"use strict";t(74283)},82389:function(E,e,t){"use strict";var n=t(93439),r=t(32920);n("WeakSet",function(o){return function(){function a(){return o(this,arguments.length?arguments[0]:void 0)}return a}()},r)},71863:function(E,e,t){"use strict";t(82389)},73993:function(E,e,t){"use strict";var n=t(77549),r=t(40224),o=t(91314).clear;n({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==o},{clearImmediate:o})},55457:function(E,e,t){"use strict";t(73993),t(72532)},57399:function(E,e,t){"use strict";var n=t(77549),r=t(40224),o=t(27150),a=t(97361),u=t(22789),l=t(41746),c=t(14141),h=l(function(){return c&&Object.getOwnPropertyDescriptor(r,"queueMicrotask").value.length!==1});n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:h},{queueMicrotask:function(){function d(i){u(arguments.length,1),o(a(i))}return d}()})},72532:function(E,e,t){"use strict";var n=t(77549),r=t(40224),o=t(91314).set,a=t(83827),u=r.setImmediate?a(o,!1):o;n({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==u},{setImmediate:u})},48112:function(E,e,t){"use strict";var n=t(77549),r=t(40224),o=t(83827),a=o(r.setInterval,!0);n({global:!0,bind:!0,forced:r.setInterval!==a},{setInterval:a})},82274:function(E,e,t){"use strict";var n=t(77549),r=t(40224),o=t(83827),a=o(r.setTimeout,!0);n({global:!0,bind:!0,forced:r.setTimeout!==a},{setTimeout:a})},65836:function(E,e,t){"use strict";t(48112),t(82274)},50719:function(E){"use strict";/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var e,t=[],n=[],r=function(){if(0)var v;window.onunload=function(){return e&&e.close()}},o=function(v){return n.push(v)},a=function(v){var i=[],f=function(g){return typeof g=="number"&&!Number.isFinite(g)?{__number__:String(g)}:typeof g=="undefined"?{__undefined__:!0}:g},s=function(g,m){if(typeof m=="object"){if(m===null)return m;if(i.includes(m))return"[circular ref]";i.push(m);var S=m instanceof Error||m.code&&m.message&&m.message.includes("Error");return S?{__error__:!0,string:String(m),stack:m.stack}:Array.isArray(m)?m.map(f):m}return f(m)},p=JSON.stringify(v,s);return i=null,p},u=function(v){if(0)var i,f,s},l=function(v,i){if(0)var f,s,p},c=function(){};E.exports={subscribe:o,sendMessage:u,sendLogEntry:l,setupHotReloading:c}}},Tn={};function Q(E){var e=Tn[E];if(e!==void 0)return e.exports;var t=Tn[E]={exports:{}};return An[E](t,t.exports,Q),t.exports}(function(){Q.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(E){if(typeof window=="object")return window}}()})(),function(){Q.o=function(E,e){return Object.prototype.hasOwnProperty.call(E,e)}}();var Pn={};(function(){"use strict";Q(32321),Q(64777),Q(65884),Q(56564),Q(68981),Q(27699),Q(22905),Q(96311),Q(61292),Q(75419),Q(67638),Q(7601),Q(89010),Q(5401),Q(75836),Q(33901),Q(85803),Q(7216),Q(50584),Q(26632),Q(25972),Q(55222),Q(14064),Q(68616),Q(45168),Q(26088),Q(92654),Q(58423),Q(26017),Q(37808),Q(2509),Q(2124),Q(38196),Q(7731),Q(56913),Q(48704),Q(24077),Q(60230),Q(43430),Q(53407),Q(69220),Q(72978),Q(55784),Q(41365),Q(58874),Q(85806),Q(3521),Q(94961),Q(91777),Q(49615),Q(70700),Q(31032),Q(83329),Q(15700),Q(85783),Q(51430),Q(10944),Q(36418),Q(68872),Q(93105),Q(1795),Q(11121),Q(18730),Q(11624),Q(89004),Q(72680),Q(75213),Q(4347),Q(86433),Q(21401),Q(54468),Q(36183),Q(95499),Q(50929),Q(91447),Q(84314),Q(48211),Q(52237),Q(306),Q(22509),Q(84660),Q(82678),Q(76585),Q(21733),Q(21210),Q(10272),Q(83403),Q(4229),Q(53388),Q(53121),Q(53822),Q(2514),Q(2218),Q(14955),Q(79220),Q(81941),Q(37245),Q(8373),Q(81212),Q(26054),Q(57745),Q(49611),Q(98344),Q(55750),Q(7340),Q(63429),Q(9558),Q(2420),Q(19015),Q(34137),Q(24705),Q(55318),Q(49456),Q(12217),Q(75795),Q(79063),Q(1210),Q(91370),Q(17327),Q(2679),Q(60733),Q(27262),Q(47278),Q(22547),Q(92992),Q(64650),Q(71255),Q(97836),Q(65558),Q(83932),Q(72941),Q(57918),Q(2394),Q(37517),Q(65699),Q(11360),Q(33683),Q(16792),Q(8),Q(76015),Q(57318),Q(33177),Q(1429),Q(56515),Q(30343),Q(60981),Q(96578),Q(59592),Q(54511),Q(84368),Q(76980),Q(25492),Q(13684),Q(79646),Q(98511),Q(30733),Q(58683),Q(70277),Q(36865),Q(13763),Q(56001),Q(58713),Q(41960),Q(31772),Q(43059),Q(97363),Q(99755),Q(33278),Q(65331),Q(25855),Q(97372),Q(70088),Q(7284),Q(76464),Q(58549),Q(42774),Q(65446),Q(21066),Q(62243),Q(35249),Q(68739),Q(5723),Q(40353),Q(87975),Q(20812),Q(5640),Q(47736),Q(81944),Q(68685),Q(72214),Q(48774),Q(2915),Q(17165),Q(10702),Q(76622),Q(64408),Q(22306),Q(90334),Q(69880),Q(37167),Q(25109),Q(367),Q(8459),Q(16970),Q(11386)})(),function(){"use strict";var E=Q(28823);Q(8528),Q(26355),Q(34385),Q(91035),Q(87210);var e=Q(60031),t=Q(90816),n=Q(87454),r=Q(33053),o=Q(85955),a=Q(64960),u=Q(79143),l=Q(71485),c=Q(23360),h=Q(24362),v=Q(92228),i=Q(30362),f=Q(30494),s=Q(23072),p;/** + */var e,t=[],n=[],r=function(){if(0)var d;window.onunload=function(){return e&&e.close()}},o=function(d){return n.push(d)},a=function(d){var i=[],v=function(g){return typeof g=="number"&&!Number.isFinite(g)?{__number__:String(g)}:typeof g=="undefined"?{__undefined__:!0}:g},s=function(g,m){if(typeof m=="object"){if(m===null)return m;if(i.includes(m))return"[circular ref]";i.push(m);var b=m instanceof Error||m.code&&m.message&&m.message.includes("Error");return b?{__error__:!0,string:String(m),stack:m.stack}:Array.isArray(m)?m.map(v):m}return v(m)},p=JSON.stringify(d,s);return i=null,p},u=function(d){if(0)var i,v,s},l=function(d,i){if(0)var v,s,p},c=function(){};E.exports={subscribe:o,sendMessage:u,sendLogEntry:l,setupHotReloading:c}}},Tn={};function z(E){var e=Tn[E];if(e!==void 0)return e.exports;var t=Tn[E]={exports:{}};return An[E](t,t.exports,z),t.exports}(function(){z.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(E){if(typeof window=="object")return window}}()})(),function(){z.o=function(E,e){return Object.prototype.hasOwnProperty.call(E,e)}}();var Pn={};(function(){"use strict";z(99414),z(27718),z(46951),z(86042),z(93267),z(41664),z(48965),z(44844),z(25030),z(96454),z(77564),z(44875),z(77904),z(35723),z(65755),z(35496),z(76604),z(24974),z(6297),z(5364),z(35173),z(16576),z(88707),z(21508),z(86339),z(81850),z(98661),z(13431),z(65809),z(8611),z(97246),z(48741),z(90446),z(509),z(61902),z(96149),z(66617),z(99883),z(56855),z(67869),z(8291),z(42811),z(97824),z(70238),z(21664),z(57348),z(98878),z(4624),z(96097),z(45022),z(79155),z(53397),z(52037),z(21698),z(20509),z(9530),z(17814),z(37812),z(86551),z(10940),z(73763),z(3372),z(51629),z(69727),z(27482),z(7108),z(4115),z(63953),z(71377),z(63956),z(90037),z(46818),z(26681),z(83646),z(28876),z(36385),z(84295),z(59785),z(8846),z(50237),z(6436),z(68286),z(23940),z(82425),z(82118),z(7419),z(42409),z(29002),z(85795),z(74722),z(5300),z(85684),z(36014),z(98551),z(66288),z(26862),z(78686),z(36789),z(82707),z(69740),z(87847),z(54789),z(49626),z(67660),z(43619),z(42777),z(13045),z(38664),z(29650),z(58176),z(35286),z(13313),z(26528),z(54959),z(78129),z(54412),z(82427),z(8390),z(68260),z(86508),z(65971),z(17134),z(18972),z(78623),z(60149),z(56380),z(72792),z(60631),z(25168),z(85177),z(95880),z(59978),z(96360),z(43108),z(37801),z(3044),z(48432),z(54564),z(58179),z(68164),z(58880),z(54465),z(97327),z(19114),z(23797),z(17337),z(53713),z(84469),z(11121),z(93073),z(50800),z(36),z(30519),z(33547),z(53426),z(32031),z(13153),z(21953),z(83560),z(63465),z(98998),z(96227),z(15483),z(86829),z(68265),z(36030),z(32791),z(25888),z(35718),z(45338),z(40737),z(99683),z(80941),z(84805),z(79305),z(71573),z(47910),z(48447),z(99662),z(57371),z(68220),z(15745),z(43398),z(97722),z(79088),z(6075),z(46896),z(47145),z(72606),z(349),z(28292),z(54890),z(66368),z(74188),z(81976),z(78651),z(81664),z(35579),z(84033),z(71863),z(55457),z(57399),z(65836),z(55776),z(16666)})(),function(){"use strict";var E=z(96524);z(70998),z(68422),z(48998),z(88176),z(67071);var e=z(63560),t=z(88605),n=z(50719),r=z(92700),o=z(29320),a=z(7570),u=z(98008),l=z(93847),c=z(84689),h=z(87405),d=z(26498),i=z(31887),v=z(28486),s=z(40405),p;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */e.perf.mark("inception",(p=window.performance)==null||(p=p.timing)==null?void 0:p.navigationStart),e.perf.mark("init");var d=(0,u.configureStore)({reducer:(0,t.combineReducers)({audio:l.audioReducer,chat:c.chatReducer,game:h.gameReducer,ping:i.pingReducer,settings:f.settingsReducer}),middleware:{pre:[c.chatMiddleware,i.pingMiddleware,s.telemetryMiddleware,f.settingsMiddleware,l.audioMiddleware,h.gameMiddleware]}}),g=(0,a.createRenderer)(function(){var S=Q(5607),I=S.Panel;return(0,E.createComponentVNode)(2,u.StoreProvider,{store:d,children:(0,E.createComponentVNode)(2,I)})}),m=function S(){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",S);return}(0,r.setupGlobalEvents)({ignoreWindowFocus:!0}),(0,v.setupPanelFocusHacks)(),(0,o.captureExternalLinks)(),d.subscribe(g),Byond.subscribe(function(I,O){return d.dispatch({type:I,payload:O})}),Byond.winset("output",{"is-visible":!1,"is-disabled":!0}),Byond.winset("browseroutput",{"is-visible":!0,"is-disabled":!1,pos:"0x0",size:"0x0"}),Byond.winget("output").then(function(I){Byond.winset("browseroutput",{size:I.size})})};m()}()})();})(); + */e.perf.mark("inception",(p=window.performance)==null||(p=p.timing)==null?void 0:p.navigationStart),e.perf.mark("init");var f=(0,u.configureStore)({reducer:(0,t.combineReducers)({audio:l.audioReducer,chat:c.chatReducer,game:h.gameReducer,ping:i.pingReducer,settings:v.settingsReducer}),middleware:{pre:[c.chatMiddleware,i.pingMiddleware,s.telemetryMiddleware,v.settingsMiddleware,l.audioMiddleware,h.gameMiddleware]}}),g=(0,a.createRenderer)(function(){var b=z(12596),I=b.Panel;return(0,E.createComponentVNode)(2,u.StoreProvider,{store:f,children:(0,E.createComponentVNode)(2,I)})}),m=function b(){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",b);return}(0,r.setupGlobalEvents)({ignoreWindowFocus:!0}),(0,d.setupPanelFocusHacks)(),(0,o.captureExternalLinks)(),f.subscribe(g),Byond.subscribe(function(I,T){return f.dispatch({type:I,payload:T})}),Byond.winset("output",{"is-visible":!1,"is-disabled":!0}),Byond.winset("chat_panel",{"is-visible":!0,"is-disabled":!1,pos:"0x0",size:"0x0"}),Byond.winget("output").then(function(I){Byond.winset("chat_panel",{size:I.size})})};m()}()})();})(); diff --git a/tgui/public/tgui-say.bundle.css b/tgui/public/tgui-say.bundle.css index 3994abf40d1c..5c1e2201dd81 100644 --- a/tgui/public/tgui-say.bundle.css +++ b/tgui/public/tgui-say.bundle.css @@ -1 +1 @@ -html,body{box-sizing:border-box;height:100%;margin:0;font-size:12px}html{overflow:hidden;cursor:default}body{overflow:auto;font-family:Verdana,Geneva,sans-serif}*,*:before,*:after{box-sizing:inherit}h1,h2,h3,h4,h5,h6{display:block;margin:0;padding:6px 0;padding:.5rem 0}h1{font-size:18px;font-size:1.5rem}h2{font-size:16px;font-size:1.333rem}h3{font-size:14px;font-size:1.167rem}h4{font-size:12px;font-size:1rem}td,th{vertical-align:baseline;text-align:left}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-baseline{text-align:baseline}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-pre{white-space:pre}.text-bold{font-weight:700}.text-italic{font-style:italic}.text-underline{text-decoration:underline}.Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.Input--fluid{display:block;width:auto}.Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input--monospace .Input__input{font-family:Consolas,monospace}.TextArea{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.TextArea--fluid{display:block;width:auto;height:auto}.TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.button{cursor:alias;align-items:center;background-color:#1f1f1f;border-radius:.3rem;border:thin solid;display:flex;flex-grow:1;font-family:inherit;font-size:.9rem;font-weight:700;justify-content:center;padding:0;width:2.6rem}.button:hover{background-color:#393939}.button-lightMode{background-color:#bbb;border:none;color:#000}.button-lightMode:hover{background-color:#eaeaea}.center{display:flex;flex:1 1 0;height:100%;width:100%}.input{display:flex;flex:1 1 0;height:100%;width:100%;font-family:Consolas,monospace}.dragzone-horizontal{cursor:all-scroll;border-left:.2rem solid;border-right:.2rem solid;color:rgba(0,0,0,0);width:100%;height:.6rem}.dragzone-left{width:1.8rem!important;height:150%!important;margin-top:-.4rem;margin-right:.3rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' opacity='0.4'/%3E%3C/svg%3E");background-size:50%;background-position:center;background-repeat:no-repeat}.dragzone-right{border-right:.2rem solid}.dragzone-vertical{cursor:all-scroll;color:rgba(0,0,0,0);height:100%;width:.6rem}.dragzone-top{border-top:.2rem solid}.dragzone-bottom{border-bottom:.2rem solid}.dragzone-lightMode{border-color:#bbb}.textarea{align-items:center;background:rgba(0,0,0,0);border:none;display:flex;flex-grow:4;font-family:inherit;font-size:1.1rem;overflow:hidden;margin:.1rem 0 0 .4rem}.window{background-color:#131313;display:flex;flex-direction:column;max-width:275px;height:100%;width:100%;overflow:hidden}.window-lightMode{background-color:#fff}.window-30{height:30px}.window-50{height:50px}.window-70{height:70px}.button-AI{border-color:#ff2bca;color:#ff5ed7}.button-AI:hover{border-color:#ff91e4;color:#ff78dd}.dragzone-AI{border-color:#f700ba}.dragzone-left.dragzone-AI{background-color:#f700ba}.textarea-AI{color:#ff5ed7}.button-Admin{border-color:#f8f;color:#fbf}.button-Admin:hover{border-color:#fef;color:#ffd5ff}.dragzone-Admin{border-color:#f5f}.dragzone-left.dragzone-Admin{background-color:#f5f}.textarea-Admin{color:#fbf}.button-Binary{border-color:#0077ea;color:#1e90ff}.button-Binary:hover{border-color:#51a9ff;color:#389dff}.dragzone-Binary{border-color:#005db7}.dragzone-left.dragzone-Binary{background-color:#005db7}.textarea-Binary{color:#1e90ff}.button-Cmd{border-color:#1c617c;color:#2681a5}.button-Cmd:hover{border-color:#30a1ce;color:#2b91ba}.dragzone-Cmd{border-color:#134052}.dragzone-left.dragzone-Cmd{background-color:#134052}.textarea-Cmd{color:#2681a5}.button-Dept{border-color:#732673;color:#939}.button-Dept:hover{border-color:#bf40bf;color:#ac39ac}.dragzone-Dept{border-color:#4d1a4d}.dragzone-left.dragzone-Dept{background-color:#4d1a4d}.textarea-Dept{color:#939}.button-Dsay{border-color:#a067a0;color:#b486b4}.button-Dsay:hover{border-color:#c8a5c8;color:#be96be}.dragzone-Dsay{border-color:#835183}.dragzone-left.dragzone-Dsay{background-color:#835183}.textarea-Dsay{color:#b486b4}.button-ERT{border-color:#1c617c;color:#2681a5}.button-ERT:hover{border-color:#30a1ce;color:#2b91ba}.dragzone-ERT{border-color:#134052}.dragzone-left.dragzone-ERT{background-color:#134052}.textarea-ERT{color:#2681a5}.button-Engi{border-color:#f05416;color:#f37746}.button-Engi:hover{border-color:#f69a76;color:#f5895e}.dragzone-Engi{border-color:#c6410d}.dragzone-left.dragzone-Engi{background-color:#c6410d}.textarea-Engi{color:#f37746}.button-Intercom{border-color:#819fc6;color:#a4bad6}.button-Intercom:hover{border-color:#c7d5e6;color:#b6c7de}.dragzone-Intercom{border-color:#5e85b6}.dragzone-left.dragzone-Intercom{background-color:#5e85b6}.textarea-Intercom{color:#a4bad6}.button-L-Ear{border-color:#819fc6;color:#a4bad6}.button-L-Ear:hover{border-color:#c7d5e6;color:#b6c7de}.dragzone-L-Ear{border-color:#5e85b6}.dragzone-left.dragzone-L-Ear{background-color:#5e85b6}.textarea-L-Ear{color:#a4bad6}.button-LOOC{border-color:#4080bf;color:#69c}.button-LOOC:hover{border-color:#8cb3d9;color:#79a6d2}.dragzone-LOOC{border-color:#369}.dragzone-left.dragzone-LOOC{background-color:#369}.textarea-LOOC{color:#69c}.button-Me{border-color:#2f52d1;color:#5975da}.button-Me:hover{border-color:#8398e3;color:#6e86df}.dragzone-Me{border-color:#2542a8}.dragzone-left.dragzone-Me{background-color:#2542a8}.textarea-Me{color:#5975da}.button-Med{border-color:#28a4ec;color:#57b8f0}.button-Med:hover{border-color:#86ccf4;color:#6ec2f2}.dragzone-Med{border-color:#128acf}.dragzone-left.dragzone-Med{background-color:#128acf}.textarea-Med{color:#57b8f0}.button-Mentor{border-color:#a59506;color:#d6c208}.button-Mentor:hover{border-color:#f6e11b;color:#efd809}.dragzone-Mentor{border-color:#746904}.dragzone-left.dragzone-Mentor{background-color:#746904}.textarea-Mentor{color:#d6c208}.button-OOC{border-color:#997a00;color:#cca300}.button-OOC:hover{border-color:#fc0;color:#e6b700}.dragzone-OOC{border-color:#665200}.dragzone-left.dragzone-OOC{background-color:#665200}.textarea-OOC{color:#cca300}.button-Proc{border-color:#973d76;color:#b84f92}.button-Proc:hover{border-color:#c773a9;color:#bf619d}.dragzone-Proc{border-color:#732e5a}.dragzone-left.dragzone-Proc{background-color:#732e5a}.textarea-Proc{color:#b84f92}.button-R-Ear{border-color:#819fc6;color:#a4bad6}.button-R-Ear:hover{border-color:#c7d5e6;color:#b6c7de}.dragzone-R-Ear{border-color:#5e85b6}.dragzone-left.dragzone-R-Ear{background-color:#5e85b6}.textarea-R-Ear{color:#a4bad6}.button-Radio{border-color:#17a034;color:#1ecc43}.button-Radio:hover{border-color:#3be25e;color:#25df4c}.dragzone-Radio{border-color:#117326}.dragzone-left.dragzone-Radio{background-color:#117326}.textarea-Radio{color:#1ecc43}.button-Say{border-color:#819fc6;color:#a4bad6}.button-Say:hover{border-color:#c7d5e6;color:#b6c7de}.dragzone-Say{border-color:#5e85b6}.dragzone-left.dragzone-Say{background-color:#5e85b6}.textarea-Say{color:#a4bad6}.button-Sci{border-color:#ae5bf8;color:#c68cfa}.button-Sci:hover{border-color:#debdfc;color:#d2a4fb}.dragzone-Sci{border-color:#962af6}.dragzone-left.dragzone-Sci{background-color:#962af6}.textarea-Sci{color:#c68cfa}.button-Sec{border-color:#bf2020;color:#dd3535}.button-Sec:hover{border-color:#e46161;color:#e14b4b}.dragzone-Sec{border-color:#931919}.dragzone-left.dragzone-Sec{background-color:#931919}.textarea-Sec{color:#dd3535}.button-Serv{border-color:#527e1f;color:#6ca729}.button-Serv:hover{border-color:#86ce35;color:#79bb2e}.dragzone-Serv{border-color:#375515}.dragzone-left.dragzone-Serv{background-color:#375515}.textarea-Serv{color:#6ca729}.button-SpecOps{border-color:#1c617c;color:#2681a5}.button-SpecOps:hover{border-color:#30a1ce;color:#2b91ba}.dragzone-SpecOps{border-color:#134052}.dragzone-left.dragzone-SpecOps{background-color:#134052}.textarea-SpecOps{color:#2681a5}.button-Special{border-color:#0077ea;color:#1e90ff}.button-Special:hover{border-color:#51a9ff;color:#389dff}.dragzone-Special{border-color:#005db7}.dragzone-left.dragzone-Special{background-color:#005db7}.textarea-Special{color:#1e90ff}.button-Supp{border-color:#936b38;color:#b88646}.button-Supp:hover{border-color:#c79e6a;color:#bf9258}.dragzone-Supp{border-color:#6e502a}.dragzone-left.dragzone-Supp{background-color:#6e502a}.textarea-Supp{color:#b88646}.button-Synd{border-color:#6d3939;color:#8f4a4b}.button-Synd:hover{border-color:#ac6061;color:#a05354}.dragzone-Synd{border-color:#4c2728}.dragzone-left.dragzone-Synd{background-color:#4c2728}.textarea-Synd{color:#8f4a4b}.button-SyndTeam{border-color:#6d3939;color:#8f4a4b}.button-SyndTeam:hover{border-color:#ac6061;color:#a05354}.dragzone-SyndTeam{border-color:#4c2728}.dragzone-left.dragzone-SyndTeam{background-color:#4c2728}.textarea-SyndTeam{color:#8f4a4b}.button-Whisper{border-color:#819fc6;color:#a4bad6}.button-Whisper:hover{border-color:#c7d5e6;color:#b6c7de}.dragzone-Whisper{border-color:#5e85b6}.dragzone-left.dragzone-Whisper{background-color:#5e85b6}.textarea-Whisper{color:#a4bad6} +html,body{box-sizing:border-box;height:100%;margin:0;font-size:12px}html{overflow:hidden;cursor:default}body{overflow:auto;font-family:Verdana,Geneva,sans-serif}*,*:before,*:after{box-sizing:inherit}h1,h2,h3,h4,h5,h6{display:block;margin:0;padding:6px 0;padding:.5rem 0}h1{font-size:18px;font-size:1.5rem}h2{font-size:16px;font-size:1.333rem}h3{font-size:14px;font-size:1.167rem}h4{font-size:12px;font-size:1rem}td,th{vertical-align:baseline;text-align:left}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-baseline{text-align:baseline}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-pre{white-space:pre}.text-bold{font-weight:700}.text-italic{font-style:italic}.text-underline{text-decoration:underline}.Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.Input--fluid{display:block;width:auto}.Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input--monospace .Input__input{font-family:Consolas,monospace}.TextArea{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.TextArea--fluid{display:block;width:auto;height:auto}.TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.button{cursor:alias;align-items:center;background-color:#1f1f1f;border-radius:.3rem;border:thin solid;display:flex;flex-grow:1;font-family:inherit;font-size:.9rem;font-weight:700;justify-content:center;padding:0;width:2.6rem}.button:hover{background-color:#393939}@supports (not (-webkit-hyphens: none)) and (not (-moz-appearance: none)){.button{outline:none}}.button-lightMode{background-color:#bbb;border:none;color:#000}.button-lightMode:hover{background-color:#eaeaea}.center{display:flex}@supports (not (-webkit-hyphens: none)) and (not (-moz-appearance: none)){.center{flex-grow:1}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.center{height:100%;width:100%;flex:1 1 0}}.input{display:flex;font-family:Consolas,monospace}@supports (not (-webkit-hyphens: none)) and (not (-moz-appearance: none)){.input{flex-grow:1;gap:.2rem}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.input{height:100%;width:100%;flex:1 1 0}}.dragzone-horizontal{cursor:all-scroll;border-left:.2rem solid;border-right:.2rem solid;color:rgba(0,0,0,0);width:100%;height:.3rem}.dragzone-left{width:.9rem!important;height:150%!important;margin-top:-.4rem;margin-right:.3rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' opacity='0.4'/%3E%3C/svg%3E");background-size:50%;background-position:center;background-repeat:no-repeat}.dragzone-right{border-right:.2rem solid}.dragzone-vertical{cursor:all-scroll;color:rgba(0,0,0,0);height:100%;width:.3rem}.dragzone-top{border-top:.2rem solid}.dragzone-bottom{border-bottom:.2rem solid}.dragzone-lightMode{border-color:#bbb}@supports (not (-webkit-hyphens: none)) and (not (-moz-appearance: none)){*::-webkit-scrollbar{width:.8rem}*::-webkit-scrollbar-track{background:#171717}*::-webkit-scrollbar-thumb{background:#353535}}.textarea{background:rgba(0,0,0,0);border:none;font-family:inherit;font-size:1.1rem}@supports (not (-webkit-hyphens: none)) and (not (-moz-appearance: none)){.textarea{flex-grow:8;outline:none;resize:none}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.textarea{align-items:center;display:flex;flex-grow:4;overflow:hidden;margin:.1rem 0 0 .4rem}}.window{background-color:#131313;display:flex;flex-direction:column;max-width:275px;overflow:hidden}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.window{height:100%;width:100%}}.window-lightMode{background-color:#fff}.window-30{height:30px}.window-50{height:50px}.window-70{height:70px}.button-AI{border-color:#ff2bca;color:#ff5ed7}.button-AI:hover{border-color:#ff91e4;color:#ff78dd}.dragzone-AI{border-color:#f700ba}.dragzone-left.dragzone-AI{background-color:#f700ba}.textarea-AI{color:#ff5ed7}.button-Admin{border-color:#f8f;color:#fbf}.button-Admin:hover{border-color:#fef;color:#ffd5ff}.dragzone-Admin{border-color:#f5f}.dragzone-left.dragzone-Admin{background-color:#f5f}.textarea-Admin{color:#fbf}.button-Binary{border-color:#0077ea;color:#1e90ff}.button-Binary:hover{border-color:#51a9ff;color:#389dff}.dragzone-Binary{border-color:#005db7}.dragzone-left.dragzone-Binary{background-color:#005db7}.textarea-Binary{color:#1e90ff}.button-Cmd{border-color:#1c617c;color:#2681a5}.button-Cmd:hover{border-color:#30a1ce;color:#2b91ba}.dragzone-Cmd{border-color:#134052}.dragzone-left.dragzone-Cmd{background-color:#134052}.textarea-Cmd{color:#2681a5}.button-Dept{border-color:#732673;color:#939}.button-Dept:hover{border-color:#bf40bf;color:#ac39ac}.dragzone-Dept{border-color:#4d1a4d}.dragzone-left.dragzone-Dept{background-color:#4d1a4d}.textarea-Dept{color:#939}.button-Dsay{border-color:#a067a0;color:#b486b4}.button-Dsay:hover{border-color:#c8a5c8;color:#be96be}.dragzone-Dsay{border-color:#835183}.dragzone-left.dragzone-Dsay{background-color:#835183}.textarea-Dsay{color:#b486b4}.button-ERT{border-color:#1c617c;color:#2681a5}.button-ERT:hover{border-color:#30a1ce;color:#2b91ba}.dragzone-ERT{border-color:#134052}.dragzone-left.dragzone-ERT{background-color:#134052}.textarea-ERT{color:#2681a5}.button-Engi{border-color:#f05416;color:#f37746}.button-Engi:hover{border-color:#f69a76;color:#f5895e}.dragzone-Engi{border-color:#c6410d}.dragzone-left.dragzone-Engi{background-color:#c6410d}.textarea-Engi{color:#f37746}.button-Intercom{border-color:#819fc6;color:#a4bad6}.button-Intercom:hover{border-color:#c7d5e6;color:#b6c7de}.dragzone-Intercom{border-color:#5e85b6}.dragzone-left.dragzone-Intercom{background-color:#5e85b6}.textarea-Intercom{color:#a4bad6}.button-L-Ear{border-color:#819fc6;color:#a4bad6}.button-L-Ear:hover{border-color:#c7d5e6;color:#b6c7de}.dragzone-L-Ear{border-color:#5e85b6}.dragzone-left.dragzone-L-Ear{background-color:#5e85b6}.textarea-L-Ear{color:#a4bad6}.button-LOOC{border-color:#4080bf;color:#69c}.button-LOOC:hover{border-color:#8cb3d9;color:#79a6d2}.dragzone-LOOC{border-color:#369}.dragzone-left.dragzone-LOOC{background-color:#369}.textarea-LOOC{color:#69c}.button-Me{border-color:#2f52d1;color:#5975da}.button-Me:hover{border-color:#8398e3;color:#6e86df}.dragzone-Me{border-color:#2542a8}.dragzone-left.dragzone-Me{background-color:#2542a8}.textarea-Me{color:#5975da}.button-Med{border-color:#28a4ec;color:#57b8f0}.button-Med:hover{border-color:#86ccf4;color:#6ec2f2}.dragzone-Med{border-color:#128acf}.dragzone-left.dragzone-Med{background-color:#128acf}.textarea-Med{color:#57b8f0}.button-Mentor{border-color:#a59506;color:#d6c208}.button-Mentor:hover{border-color:#f6e11b;color:#efd809}.dragzone-Mentor{border-color:#746904}.dragzone-left.dragzone-Mentor{background-color:#746904}.textarea-Mentor{color:#d6c208}.button-OOC{border-color:#997a00;color:#cca300}.button-OOC:hover{border-color:#fc0;color:#e6b700}.dragzone-OOC{border-color:#665200}.dragzone-left.dragzone-OOC{background-color:#665200}.textarea-OOC{color:#cca300}.button-Proc{border-color:#973d76;color:#b84f92}.button-Proc:hover{border-color:#c773a9;color:#bf619d}.dragzone-Proc{border-color:#732e5a}.dragzone-left.dragzone-Proc{background-color:#732e5a}.textarea-Proc{color:#b84f92}.button-R-Ear{border-color:#819fc6;color:#a4bad6}.button-R-Ear:hover{border-color:#c7d5e6;color:#b6c7de}.dragzone-R-Ear{border-color:#5e85b6}.dragzone-left.dragzone-R-Ear{background-color:#5e85b6}.textarea-R-Ear{color:#a4bad6}.button-Radio{border-color:#17a034;color:#1ecc43}.button-Radio:hover{border-color:#3be25e;color:#25df4c}.dragzone-Radio{border-color:#117326}.dragzone-left.dragzone-Radio{background-color:#117326}.textarea-Radio{color:#1ecc43}.button-Say{border-color:#819fc6;color:#a4bad6}.button-Say:hover{border-color:#c7d5e6;color:#b6c7de}.dragzone-Say{border-color:#5e85b6}.dragzone-left.dragzone-Say{background-color:#5e85b6}.textarea-Say{color:#a4bad6}.button-Sci{border-color:#ae5bf8;color:#c68cfa}.button-Sci:hover{border-color:#debdfc;color:#d2a4fb}.dragzone-Sci{border-color:#962af6}.dragzone-left.dragzone-Sci{background-color:#962af6}.textarea-Sci{color:#c68cfa}.button-Sec{border-color:#bf2020;color:#dd3535}.button-Sec:hover{border-color:#e46161;color:#e14b4b}.dragzone-Sec{border-color:#931919}.dragzone-left.dragzone-Sec{background-color:#931919}.textarea-Sec{color:#dd3535}.button-Serv{border-color:#527e1f;color:#6ca729}.button-Serv:hover{border-color:#86ce35;color:#79bb2e}.dragzone-Serv{border-color:#375515}.dragzone-left.dragzone-Serv{background-color:#375515}.textarea-Serv{color:#6ca729}.button-SpecOps{border-color:#1c617c;color:#2681a5}.button-SpecOps:hover{border-color:#30a1ce;color:#2b91ba}.dragzone-SpecOps{border-color:#134052}.dragzone-left.dragzone-SpecOps{background-color:#134052}.textarea-SpecOps{color:#2681a5}.button-Special{border-color:#0077ea;color:#1e90ff}.button-Special:hover{border-color:#51a9ff;color:#389dff}.dragzone-Special{border-color:#005db7}.dragzone-left.dragzone-Special{background-color:#005db7}.textarea-Special{color:#1e90ff}.button-Supp{border-color:#936b38;color:#b88646}.button-Supp:hover{border-color:#c79e6a;color:#bf9258}.dragzone-Supp{border-color:#6e502a}.dragzone-left.dragzone-Supp{background-color:#6e502a}.textarea-Supp{color:#b88646}.button-Synd{border-color:#6d3939;color:#8f4a4b}.button-Synd:hover{border-color:#ac6061;color:#a05354}.dragzone-Synd{border-color:#4c2728}.dragzone-left.dragzone-Synd{background-color:#4c2728}.textarea-Synd{color:#8f4a4b}.button-SyndTeam{border-color:#6d3939;color:#8f4a4b}.button-SyndTeam:hover{border-color:#ac6061;color:#a05354}.dragzone-SyndTeam{border-color:#4c2728}.dragzone-left.dragzone-SyndTeam{background-color:#4c2728}.textarea-SyndTeam{color:#8f4a4b}.button-Whisper{border-color:#819fc6;color:#a4bad6}.button-Whisper:hover{border-color:#c7d5e6;color:#b6c7de}.dragzone-Whisper{border-color:#5e85b6}.dragzone-left.dragzone-Whisper{background-color:#5e85b6}.textarea-Whisper{color:#a4bad6} diff --git a/tgui/public/tgui-say.bundle.js b/tgui/public/tgui-say.bundle.js index eb14f00be330..138c5ffd5307 100644 --- a/tgui/public/tgui-say.bundle.js +++ b/tgui/public/tgui-say.bundle.js @@ -1,26 +1,18 @@ -(function(){(function(){var Wr={60208:function(u,i){"use strict";i.__esModule=!0,i.Fragment=i.EMPTY_OBJ=i.Component=void 0,i._CI=Rr,i._HI=$t,i._M=Ht,i._MCCC=br,i._ME=Cr,i._MFCC=wr,i._MP=Tr,i._MR=er,i._RFC=hr,i.__render=Lr,i.createComponentVNode=Y,i.createFragment=ft,i.createPortal=St,i.createRef=Jr,i.createRenderer=xn,i.createTextVNode=at,i.createVNode=M,i.directClone=st,i.findDOMfromVNode=I,i.forwardRef=Qr,i.getFlagsForElementVnode=bt,i.linkEvent=h,i.normalizeProps=ht,i.options=void 0,i.render=$r,i.rerender=Nr,i.version=void 0;var t=Array.isArray;function r(f){var p=typeof f;return p==="string"||p==="number"}function n(f){return f==null}function e(f){return f===null||f===!1||f===!0||f===void 0}function a(f){return typeof f=="function"}function o(f){return typeof f=="string"}function s(f){return typeof f=="number"}function c(f){return f===null}function v(f){return f===void 0}function l(f,p){var T={};if(f)for(var w in f)T[w]=f[w];if(p)for(var B in p)T[B]=p[B];return T}function h(f,p){return a(p)?{data:f,event:p}:null}function S(f){return!c(f)&&typeof f=="object"}var E=i.EMPTY_OBJ={},O=i.Fragment="$F";function m(f){return f.substr(2).toLowerCase()}function g(f,p){f.appendChild(p)}function R(f,p,T){c(T)?g(f,p):f.insertBefore(p,T)}function P(f,p){return p?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f)}function A(f,p,T){f.replaceChild(p,T)}function d(f,p){f.removeChild(p)}function y(f){for(var p=0;p<f.length;p++)f[p]()}function x(f,p,T){var w=f.children;return T&4?w.$LI:T&8192?f.childFlags===2?w:w[p?0:w.length-1]:w}function I(f,p){for(var T;f;){if(T=f.flags,T&2033)return f.dom;f=x(f,p,T)}return null}function C(f,p){do{var T=f.flags;if(T&2033){d(p,f.dom);return}var w=f.children;if(T&4&&(f=w.$LI),T&8&&(f=w),T&8192)if(f.childFlags===2)f=w;else{for(var B=0,W=w.length;B<W;++B)C(w[B],p);return}}while(f)}function b(f,p,T){do{var w=f.flags;if(w&2033){R(p,f.dom,T);return}var B=f.children;if(w&4&&(f=B.$LI),w&8&&(f=B),w&8192)if(f.childFlags===2)f=B;else{for(var W=0,z=B.length;W<z;++W)b(B[W],p,T);return}}while(f)}function F(f,p,T){return f.constructor.getDerivedStateFromProps?l(T,f.constructor.getDerivedStateFromProps(p,T)):T}var D={v:!1},U=i.options={componentComparator:null,createVNode:null,renderComplete:null};function K(f,p){f.textContent=p}function _(f,p){return S(f)&&f.event===p.event&&f.data===p.data}function G(f,p){for(var T in p)v(f[T])&&(f[T]=p[T]);return f}function H(f,p){return!!a(f)&&(f(p),!0)}var X="$";function N(f,p,T,w,B,W,z,Q){this.childFlags=f,this.children=p,this.className=T,this.dom=null,this.flags=w,this.key=B===void 0?null:B,this.props=W===void 0?null:W,this.ref=z===void 0?null:z,this.type=Q}function M(f,p,T,w,B,W,z,Q){var xt=B===void 0?1:B,mt=new N(xt,w,T,f,z,W,Q,p);return U.createVNode&&U.createVNode(mt),xt===0&&Mt(mt,mt.children),mt}function L(f,p,T){if(f&4)return T;var w=(f&32768?p.render:p).defaultHooks;return n(w)?T:n(T)?w:G(T,w)}function j(f,p,T){var w=(f&32768?p.render:p).defaultProps;return n(w)?T:n(T)?l(w,null):G(T,w)}function V(f,p){return f&12?f:p.prototype&&p.prototype.render?4:p.render?32776:8}function Y(f,p,T,w,B){f=V(f,p);var W=new N(1,null,null,f,w,j(f,p,T),L(f,p,B),p);return U.createVNode&&U.createVNode(W),W}function at(f,p){return new N(1,n(f)||f===!0||f===!1?"":f,null,16,p,null,null,null)}function ft(f,p,T){var w=M(8192,8192,null,f,p,null,T,null);switch(w.childFlags){case 1:w.children=Rt(),w.childFlags=2;break;case 16:w.children=[at(f)],w.childFlags=4;break}return w}function ht(f){var p=f.props;if(p){var T=f.flags;T&481&&(p.children!==void 0&&n(f.children)&&Mt(f,p.children),p.className!==void 0&&(n(f.className)&&(f.className=p.className||null),p.className=void 0)),p.key!==void 0&&(f.key=p.key,p.key=void 0),p.ref!==void 0&&(T&8?f.ref=l(f.ref,p.ref):f.ref=p.ref,p.ref=void 0)}return f}function nt(f){var p=f.children,T=f.childFlags;return ft(T===2?st(p):p.map(st),T,f.key)}function st(f){var p=f.flags&-16385,T=f.props;if(p&14&&!c(T)){var w=T;T={};for(var B in w)T[B]=w[B]}return p&8192?nt(f):new N(f.childFlags,f.children,f.className,p,f.key,T,f.ref,f.type)}function Rt(){return at("",null)}function St(f,p){var T=$t(f);return M(1024,1024,null,T,0,null,T.key,p)}function gt(f,p,T,w){for(var B=f.length;T<B;T++){var W=f[T];if(!e(W)){var z=w+X+T;if(t(W))gt(W,p,0,z);else{if(r(W))W=at(W,z);else{var Q=W.key,xt=o(Q)&&Q[0]===X;(W.flags&81920||xt)&&(W=st(W)),W.flags|=65536,xt?Q.substring(0,w.length)!==w&&(W.key=w+Q):c(Q)?W.key=z:W.key=w+Q}p.push(W)}}}}function bt(f){switch(f){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case O:return 8192;default:return 1}}function Mt(f,p){var T,w=1;if(e(p))T=p;else if(r(p))w=16,T=p;else if(t(p)){for(var B=p.length,W=0;W<B;++W){var z=p[W];if(e(z)||t(z)){T=T||p.slice(0,W),gt(p,T,W,"");break}else if(r(z))T=T||p.slice(0,W),T.push(at(z,X+W));else{var Q=z.key,xt=(z.flags&81920)>0,mt=c(Q),Ot=o(Q)&&Q[0]===X;xt||mt||Ot?(T=T||p.slice(0,W),(xt||Ot)&&(z=st(z)),(mt||Ot)&&(z.key=X+W),T.push(z)):T&&T.push(z),z.flags|=65536}}T=T||p,T.length===0?w=1:w=8}else T=p,T.flags|=65536,p.flags&81920&&(T=st(p)),w=2;return f.children=T,f.childFlags=w,f}function $t(f){return e(f)||r(f)?at(f,null):t(f)?ft(f,0,null):f.flags&16384?st(f):f}var At="http://www.w3.org/1999/xlink",k="http://www.w3.org/XML/1998/namespace",q={"xlink:actuate":At,"xlink:arcrole":At,"xlink:href":At,"xlink:role":At,"xlink:show":At,"xlink:title":At,"xlink:type":At,"xml:base":k,"xml:lang":k,"xml:space":k};function tt(f){return{onClick:f,onDblClick:f,onFocusIn:f,onFocusOut:f,onKeyDown:f,onKeyPress:f,onKeyUp:f,onMouseDown:f,onMouseMove:f,onMouseUp:f,onTouchEnd:f,onTouchMove:f,onTouchStart:f}}var lt=tt(0),dt=tt(null),pt=tt(!0);function Et(f,p){var T=p.$EV;return T||(T=p.$EV=tt(null)),T[f]||++lt[f]===1&&(dt[f]=J(f)),T}function et(f,p){var T=p.$EV;T&&T[f]&&(--lt[f]===0&&(document.removeEventListener(m(f),dt[f]),dt[f]=null),T[f]=null)}function it(f,p,T,w){if(a(T))Et(f,w)[f]=T;else if(S(T)){if(_(p,T))return;Et(f,w)[f]=T}else et(f,w)}function yt(f){return a(f.composedPath)?f.composedPath()[0]:f.target}function ut(f,p,T,w){var B=yt(f);do{if(p&&B.disabled)return;var W=B.$EV;if(W){var z=W[T];if(z&&(w.dom=B,z.event?z.event(z.data,f):z(f),f.cancelBubble))return}B=B.parentNode}while(!c(B))}function It(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function Tt(){return this.defaultPrevented}function Pt(){return this.cancelBubble}function Dt(f){var p={dom:document};return f.isDefaultPrevented=Tt,f.isPropagationStopped=Pt,f.stopPropagation=It,Object.defineProperty(f,"currentTarget",{configurable:!0,get:function(){function T(){return p.dom}return T}()}),p}function Wt(f){return function(p){if(p.button!==0){p.stopPropagation();return}ut(p,!0,f,Dt(p))}}function vt(f){return function(p){ut(p,!1,f,Dt(p))}}function J(f){var p=f==="onClick"||f==="onDblClick"?Wt(f):vt(f);return document.addEventListener(m(f),p),p}function Z(f,p){var T=document.createElement("i");return T.innerHTML=p,T.innerHTML===f.innerHTML}function ot(f,p,T){if(f[p]){var w=f[p];w.event?w.event(w.data,T):w(T)}else{var B=p.toLowerCase();f[B]&&f[B](T)}}function rt(f,p){var T=function(B){var W=this.$V;if(W){var z=W.props||E,Q=W.dom;if(o(f))ot(z,f,B);else for(var xt=0;xt<f.length;++xt)ot(z,f[xt],B);if(a(p)){var mt=this.$V,Ot=mt.props||E;p(Ot,Q,!1,mt)}}};return Object.defineProperty(T,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),T}function ct(f,p,T){var w="$"+p,B=f[w];if(B){if(B[1].wrapped)return;f.removeEventListener(B[0],B[1]),f[w]=null}a(T)&&(f.addEventListener(p,T),f[w]=[p,T])}function wt(f){return f==="checkbox"||f==="radio"}var jt=rt("onInput",Kt),Ut=rt(["onClick","onChange"],Kt);function zt(f){f.stopPropagation()}zt.wrapped=!0;function Gt(f,p){wt(p.type)?(ct(f,"change",Ut),ct(f,"click",zt)):ct(f,"input",jt)}function Kt(f,p){var T=f.type,w=f.value,B=f.checked,W=f.multiple,z=f.defaultValue,Q=!n(w);T&&T!==p.type&&p.setAttribute("type",T),!n(W)&&W!==p.multiple&&(p.multiple=W),!n(z)&&!Q&&(p.defaultValue=z+""),wt(T)?(Q&&(p.value=w),n(B)||(p.checked=B)):Q&&p.value!==w?(p.defaultValue=w,p.value=w):n(B)||(p.checked=B)}function Zt(f,p){if(f.type==="option")Gr(f,p);else{var T=f.children,w=f.flags;if(w&4)Zt(T.$LI,p);else if(w&8)Zt(T,p);else if(f.childFlags===2)Zt(T,p);else if(f.childFlags&12)for(var B=0,W=T.length;B<W;++B)Zt(T[B],p)}}function Gr(f,p){var T=f.props||E,w=f.dom;w.value=T.value,T.value===p||t(p)&&p.indexOf(T.value)!==-1?w.selected=!0:(!n(p)||!n(T.selected))&&(w.selected=T.selected||!1)}var zr=rt("onChange",Er);function Hr(f){ct(f,"change",zr)}function Er(f,p,T,w){var B=!!f.multiple;!n(f.multiple)&&B!==p.multiple&&(p.multiple=B);var W=f.selectedIndex;W===-1&&(p.selectedIndex=-1);var z=w.childFlags;if(z!==1){var Q=f.value;s(W)&&W>-1&&p.options[W]&&(Q=p.options[W].value),T&&n(Q)&&(Q=f.defaultValue),Zt(w,Q)}}var Kr=rt("onInput",Ir),Yr=rt("onChange");function Vr(f,p){ct(f,"input",Kr),p.onChange&&ct(f,"change",Yr)}function Ir(f,p,T){var w=f.value,B=p.value;if(n(w)){if(T){var W=f.defaultValue;!n(W)&&W!==B&&(p.defaultValue=W,p.value=W)}}else B!==w&&(p.defaultValue=w,p.value=w)}function Or(f,p,T,w,B,W){f&64?Kt(w,T):f&256?Er(w,T,B,p):f&128&&Ir(w,T,B),W&&(T.$V=p)}function Xr(f,p,T){f&64?Gt(p,T):f&256?Hr(p):f&128&&Vr(p,T)}function xr(f){return f.type&&wt(f.type)?!n(f.checked):!n(f.value)}function Jr(){return{current:null}}function Qr(f){return{render:f}}function sr(f){f&&!H(f,null)&&f.current&&(f.current=null)}function er(f,p,T){f&&(a(f)||f.current!==void 0)&&T.push(function(){!H(f,p)&&f.current!==void 0&&(f.current=p)})}function Jt(f,p){kt(f),C(f,p)}function kt(f){var p=f.flags,T=f.children,w;if(p&481){w=f.ref;var B=f.props;sr(w);var W=f.childFlags;if(!c(B))for(var z=Object.keys(B),Q=0,xt=z.length;Q<xt;Q++){var mt=z[Q];pt[mt]&&et(mt,f.dom)}W&12?ar(T):W===2&&kt(T)}else T&&(p&4?(a(T.componentWillUnmount)&&T.componentWillUnmount(),sr(f.ref),T.$UN=!0,kt(T.$LI)):p&8?(w=f.ref,!n(w)&&a(w.onComponentWillUnmount)&&w.onComponentWillUnmount(I(f,!0),f.props||E),kt(T)):p&1024?Jt(T,f.ref):p&8192&&f.childFlags&12&&ar(T))}function ar(f){for(var p=0,T=f.length;p<T;++p)kt(f[p])}function fr(f){f.textContent=""}function cr(f,p,T){ar(T),p.flags&8192?C(p,f):fr(f)}function Zr(f){var p=f.event;return function(T){p(f.data,T)}}function kr(f,p,T,w){if(S(T)){if(_(p,T))return;T=Zr(T)}ct(w,m(f),T)}function qr(f,p,T){if(n(p)){T.removeAttribute("style");return}var w=T.style,B,W;if(o(p)){w.cssText=p;return}if(!n(f)&&!o(f)){for(B in p)W=p[B],W!==f[B]&&w.setProperty(B,W);for(B in f)n(p[B])&&w.removeProperty(B)}else for(B in p)W=p[B],w.setProperty(B,W)}function _r(f,p,T,w){var B=f&&f.__html||"",W=p&&p.__html||"";B!==W&&!n(W)&&!Z(w,W)&&(c(T)||(T.childFlags&12?ar(T.children):T.childFlags===2&&kt(T.children),T.children=null,T.childFlags=1),w.innerHTML=W)}function dr(f,p,T,w,B,W,z){switch(f){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":w.autofocus=!!T;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":w[f]=!!T;break;case"defaultChecked":case"value":case"volume":if(W&&f==="value")break;var Q=n(T)?"":T;w[f]!==Q&&(w[f]=Q);break;case"style":qr(p,T,w);break;case"dangerouslySetInnerHTML":_r(p,T,z,w);break;default:pt[f]?it(f,p,T,w):f.charCodeAt(0)===111&&f.charCodeAt(1)===110?kr(f,p,T,w):n(T)?w.removeAttribute(f):B&&q[f]?w.setAttributeNS(q[f],f,T):w.setAttribute(f,T);break}}function Tr(f,p,T,w,B){var W=!1,z=(p&448)>0;z&&(W=xr(T),W&&Xr(p,w,T));for(var Q in T)dr(Q,null,T[Q],w,B,W,null);z&&Or(p,f,w,T,!0,W)}function Ar(f,p,T){var w=$t(f.render(p,f.state,T)),B=T;return a(f.getChildContext)&&(B=l(T,f.getChildContext())),f.$CX=B,w}function Rr(f,p,T,w,B,W){var z=new p(T,w),Q=z.$N=!!(p.getDerivedStateFromProps||z.getSnapshotBeforeUpdate);if(z.$SVG=B,z.$L=W,f.children=z,z.$BS=!1,z.context=w,z.props===E&&(z.props=T),Q)z.state=F(z,T,z.state);else if(a(z.componentWillMount)){z.$BR=!0,z.componentWillMount();var xt=z.$PS;if(!c(xt)){var mt=z.state;if(c(mt))z.state=xt;else for(var Ot in xt)mt[Ot]=xt[Ot];z.$PS=null}z.$BR=!1}return z.$LI=Ar(z,T,w),z}function hr(f,p){var T=f.props||E;return f.flags&32768?f.type.render(T,f.ref,p):f.type(T,p)}function Ht(f,p,T,w,B,W){var z=f.flags|=16384;z&481?Cr(f,p,T,w,B,W):z&4?nn(f,p,T,w,B,W):z&8?(en(f,p,T,w,B,W),wr(f,W)):z&512||z&16?Pr(f,p,B):z&8192?rn(f,T,p,w,B,W):z&1024&&tn(f,T,p,B,W)}function tn(f,p,T,w,B){Ht(f.children,f.ref,p,!1,null,B);var W=Rt();Pr(W,T,w),f.dom=W.dom}function rn(f,p,T,w,B,W){var z=f.children,Q=f.childFlags;Q&12&&z.length===0&&(Q=f.childFlags=2,z=f.children=Rt()),Q===2?Ht(z,T,p,w,B,W):nr(z,T,p,w,B,W)}function Pr(f,p,T){var w=f.dom=document.createTextNode(f.children);c(p)||R(p,w,T)}function Cr(f,p,T,w,B,W){var z=f.flags,Q=f.props,xt=f.className,mt=f.childFlags,Ot=f.dom=P(f.type,w=w||(z&32)>0),Ct=f.children;if(!n(xt)&&xt!==""&&(w?Ot.setAttribute("class",xt):Ot.className=xt),mt===16)K(Ot,Ct);else if(mt!==1){var Lt=w&&f.type!=="foreignObject";mt===2?(Ct.flags&16384&&(f.children=Ct=st(Ct)),Ht(Ct,Ot,T,Lt,null,W)):(mt===8||mt===4)&&nr(Ct,Ot,T,Lt,null,W)}c(p)||R(p,Ot,B),c(Q)||Tr(f,z,Q,Ot,w),er(f.ref,Ot,W)}function nr(f,p,T,w,B,W){for(var z=0;z<f.length;++z){var Q=f[z];Q.flags&16384&&(f[z]=Q=st(Q)),Ht(Q,p,T,w,B,W)}}function nn(f,p,T,w,B,W){var z=Rr(f,f.type,f.props||E,T,w,W);Ht(z.$LI,p,z.$CX,w,B,W),br(f.ref,z,W)}function en(f,p,T,w,B,W){Ht(f.children=$t(hr(f,T)),p,T,w,B,W)}function an(f){return function(){f.componentDidMount()}}function br(f,p,T){er(f,p,T),a(p.componentDidMount)&&T.push(an(p))}function on(f,p){return function(){f.onComponentDidMount(I(p,!0),p.props||E)}}function wr(f,p){var T=f.ref;n(T)||(H(T.onComponentWillMount,f.props||E),a(T.onComponentDidMount)&&p.push(on(T,f)))}function un(f,p,T,w,B,W){kt(f),p.flags&f.flags&2033?(Ht(p,null,w,B,null,W),A(T,p.dom,f.dom)):(Ht(p,T,w,B,I(f,!0),W),C(f,T))}function qt(f,p,T,w,B,W,z){var Q=p.flags|=16384;f.flags!==Q||f.type!==p.type||f.key!==p.key||Q&2048?f.flags&16384?un(f,p,T,w,B,z):Ht(p,T,w,B,W,z):Q&481?ln(f,p,w,B,Q,z):Q&4?pn(f,p,T,w,B,W,z):Q&8?gn(f,p,T,w,B,W,z):Q&16?yn(f,p):Q&512?p.dom=f.dom:Q&8192?cn(f,p,T,w,B,z):vn(f,p,w,z)}function sn(f,p,T){f!==p&&(f!==""?T.firstChild.nodeValue=p:K(T,p))}function fn(f,p){f.textContent!==p&&(f.textContent=p)}function cn(f,p,T,w,B,W){var z=f.children,Q=p.children,xt=f.childFlags,mt=p.childFlags,Ot=null;mt&12&&Q.length===0&&(mt=p.childFlags=2,Q=p.children=Rt());var Ct=(mt&2)!==0;if(xt&12){var Lt=z.length;(xt&8&&mt&8||Ct||!Ct&&Q.length>Lt)&&(Ot=I(z[Lt-1],!1).nextSibling)}pr(xt,mt,z,Q,T,w,B,Ot,f,W)}function vn(f,p,T,w){var B=f.ref,W=p.ref,z=p.children;if(pr(f.childFlags,p.childFlags,f.children,z,B,T,!1,null,f,w),p.dom=f.dom,B!==W&&!e(z)){var Q=z.dom;d(B,Q),g(W,Q)}}function ln(f,p,T,w,B,W){var z=p.dom=f.dom,Q=f.props,xt=p.props,mt=!1,Ot=!1,Ct;if(w=w||(B&32)>0,Q!==xt){var Lt=Q||E;if(Ct=xt||E,Ct!==E){mt=(B&448)>0,mt&&(Ot=xr(Ct));for(var Bt in Ct){var Ft=Lt[Bt],Yt=Ct[Bt];Ft!==Yt&&dr(Bt,Ft,Yt,z,w,Ot,f)}}if(Lt!==E)for(var Nt in Lt)n(Ct[Nt])&&!n(Lt[Nt])&&dr(Nt,Lt[Nt],null,z,w,Ot,f)}var tr=p.children,Xt=p.className;f.className!==Xt&&(n(Xt)?z.removeAttribute("class"):w?z.setAttribute("class",Xt):z.className=Xt),B&4096?fn(z,tr):pr(f.childFlags,p.childFlags,f.children,tr,z,T,w&&p.type!=="foreignObject",null,f,W),mt&&Or(B,p,z,Ct,!1,Ot);var or=p.ref,Qt=f.ref;Qt!==or&&(sr(Qt),er(or,z,W))}function dn(f,p,T,w,B,W){kt(f),nr(p,T,w,B,I(f,!0),W),C(f,T)}function pr(f,p,T,w,B,W,z,Q,xt,mt){switch(f){case 2:switch(p){case 2:qt(T,w,B,W,z,Q,mt);break;case 1:Jt(T,B);break;case 16:kt(T),K(B,w);break;default:dn(T,w,B,W,z,mt);break}break;case 1:switch(p){case 2:Ht(w,B,W,z,Q,mt);break;case 1:break;case 16:K(B,w);break;default:nr(w,B,W,z,Q,mt);break}break;case 16:switch(p){case 16:sn(T,w,B);break;case 2:fr(B),Ht(w,B,W,z,Q,mt);break;case 1:fr(B);break;default:fr(B),nr(w,B,W,z,Q,mt);break}break;default:switch(p){case 16:ar(T),K(B,w);break;case 2:cr(B,xt,T),Ht(w,B,W,z,Q,mt);break;case 1:cr(B,xt,T);break;default:var Ot=T.length|0,Ct=w.length|0;Ot===0?Ct>0&&nr(w,B,W,z,Q,mt):Ct===0?cr(B,xt,T):p===8&&f===8?Sn(T,w,B,W,z,Ot,Ct,Q,xt,mt):mn(T,w,B,W,z,Ot,Ct,Q,mt);break}break}}function hn(f,p,T,w,B){B.push(function(){f.componentDidUpdate(p,T,w)})}function Mr(f,p,T,w,B,W,z,Q,xt){var mt=f.state,Ot=f.props,Ct=!!f.$N,Lt=a(f.shouldComponentUpdate);if(Ct&&(p=F(f,T,p!==mt?l(mt,p):p)),z||!Lt||Lt&&f.shouldComponentUpdate(T,p,B)){!Ct&&a(f.componentWillUpdate)&&f.componentWillUpdate(T,p,B),f.props=T,f.state=p,f.context=B;var Bt=null,Ft=Ar(f,T,B);Ct&&a(f.getSnapshotBeforeUpdate)&&(Bt=f.getSnapshotBeforeUpdate(Ot,mt)),qt(f.$LI,Ft,w,f.$CX,W,Q,xt),f.$LI=Ft,a(f.componentDidUpdate)&&hn(f,Ot,mt,Bt,xt)}else f.props=T,f.state=p,f.context=B}function pn(f,p,T,w,B,W,z){var Q=p.children=f.children;if(!c(Q)){Q.$L=z;var xt=p.props||E,mt=p.ref,Ot=f.ref,Ct=Q.state;if(!Q.$N){if(a(Q.componentWillReceiveProps)){if(Q.$BR=!0,Q.componentWillReceiveProps(xt,w),Q.$UN)return;Q.$BR=!1}c(Q.$PS)||(Ct=l(Ct,Q.$PS),Q.$PS=null)}Mr(Q,Ct,xt,T,w,B,!1,W,z),Ot!==mt&&(sr(Ot),er(mt,Q,z))}}function gn(f,p,T,w,B,W,z){var Q=!0,xt=p.props||E,mt=p.ref,Ot=f.props,Ct=!n(mt),Lt=f.children;if(Ct&&a(mt.onComponentShouldUpdate)&&(Q=mt.onComponentShouldUpdate(Ot,xt)),Q!==!1){Ct&&a(mt.onComponentWillUpdate)&&mt.onComponentWillUpdate(Ot,xt);var Bt=$t(hr(p,w));qt(Lt,Bt,T,w,B,W,z),p.children=Bt,Ct&&a(mt.onComponentDidUpdate)&&mt.onComponentDidUpdate(Ot,xt)}else p.children=Lt}function yn(f,p){var T=p.children,w=p.dom=f.dom;T!==f.children&&(w.nodeValue=T)}function mn(f,p,T,w,B,W,z,Q,xt){for(var mt=W>z?z:W,Ot=0,Ct,Lt;Ot<mt;++Ot)Ct=p[Ot],Lt=f[Ot],Ct.flags&16384&&(Ct=p[Ot]=st(Ct)),qt(Lt,Ct,T,w,B,Q,xt),f[Ot]=Ct;if(W<z)for(Ot=mt;Ot<z;++Ot)Ct=p[Ot],Ct.flags&16384&&(Ct=p[Ot]=st(Ct)),Ht(Ct,T,w,B,Q,xt);else if(W>z)for(Ot=mt;Ot<W;++Ot)Jt(f[Ot],T)}function Sn(f,p,T,w,B,W,z,Q,xt,mt){var Ot=W-1,Ct=z-1,Lt=0,Bt=f[Lt],Ft=p[Lt],Yt,Nt;t:{for(;Bt.key===Ft.key;){if(Ft.flags&16384&&(p[Lt]=Ft=st(Ft)),qt(Bt,Ft,T,w,B,Q,mt),f[Lt]=Ft,++Lt,Lt>Ot||Lt>Ct)break t;Bt=f[Lt],Ft=p[Lt]}for(Bt=f[Ot],Ft=p[Ct];Bt.key===Ft.key;){if(Ft.flags&16384&&(p[Ct]=Ft=st(Ft)),qt(Bt,Ft,T,w,B,Q,mt),f[Ot]=Ft,Ot--,Ct--,Lt>Ot||Lt>Ct)break t;Bt=f[Ot],Ft=p[Ct]}}if(Lt>Ot){if(Lt<=Ct)for(Yt=Ct+1,Nt=Yt<z?I(p[Yt],!0):Q;Lt<=Ct;)Ft=p[Lt],Ft.flags&16384&&(p[Lt]=Ft=st(Ft)),++Lt,Ht(Ft,T,w,B,Nt,mt)}else if(Lt>Ct)for(;Lt<=Ot;)Jt(f[Lt++],T);else En(f,p,w,W,z,Ot,Ct,Lt,T,B,Q,xt,mt)}function En(f,p,T,w,B,W,z,Q,xt,mt,Ot,Ct,Lt){var Bt,Ft,Yt,Nt=0,tr=Q,Xt=Q,or=W-Q+1,Qt=z-Q+1,ur=new Int32Array(Qt+1),rr=or===w,mr=!1,Vt=0,ir=0;if(B<4||(or|Qt)<32)for(Nt=tr;Nt<=W;++Nt)if(Bt=f[Nt],ir<Qt){for(Q=Xt;Q<=z;Q++)if(Ft=p[Q],Bt.key===Ft.key){if(ur[Q-Xt]=Nt+1,rr)for(rr=!1;tr<Nt;)Jt(f[tr++],xt);Vt>Q?mr=!0:Vt=Q,Ft.flags&16384&&(p[Q]=Ft=st(Ft)),qt(Bt,Ft,xt,T,mt,Ot,Lt),++ir;break}!rr&&Q>z&&Jt(Bt,xt)}else rr||Jt(Bt,xt);else{var Br={};for(Nt=Xt;Nt<=z;++Nt)Br[p[Nt].key]=Nt;for(Nt=tr;Nt<=W;++Nt)if(Bt=f[Nt],ir<Qt)if(Q=Br[Bt.key],Q!==void 0){if(rr)for(rr=!1;Nt>tr;)Jt(f[tr++],xt);ur[Q-Xt]=Nt+1,Vt>Q?mr=!0:Vt=Q,Ft=p[Q],Ft.flags&16384&&(p[Q]=Ft=st(Ft)),qt(Bt,Ft,xt,T,mt,Ot,Lt),++ir}else rr||Jt(Bt,xt);else rr||Jt(Bt,xt)}if(rr)cr(xt,Ct,f),nr(p,xt,T,mt,Ot,Lt);else if(mr){var Ur=In(ur);for(Q=Ur.length-1,Nt=Qt-1;Nt>=0;Nt--)ur[Nt]===0?(Vt=Nt+Xt,Ft=p[Vt],Ft.flags&16384&&(p[Vt]=Ft=st(Ft)),Yt=Vt+1,Ht(Ft,xt,T,mt,Yt<B?I(p[Yt],!0):Ot,Lt)):Q<0||Nt!==Ur[Q]?(Vt=Nt+Xt,Ft=p[Vt],Yt=Vt+1,b(Ft,xt,Yt<B?I(p[Yt],!0):Ot)):Q--}else if(ir!==Qt)for(Nt=Qt-1;Nt>=0;Nt--)ur[Nt]===0&&(Vt=Nt+Xt,Ft=p[Vt],Ft.flags&16384&&(p[Vt]=Ft=st(Ft)),Yt=Vt+1,Ht(Ft,xt,T,mt,Yt<B?I(p[Yt],!0):Ot,Lt))}var _t,vr,Fr=0;function In(f){var p=0,T=0,w=0,B=0,W=0,z=0,Q=0,xt=f.length;for(xt>Fr&&(Fr=xt,_t=new Int32Array(xt),vr=new Int32Array(xt));T<xt;++T)if(p=f[T],p!==0){if(w=_t[B],f[w]<p){vr[T]=w,_t[++B]=T;continue}for(W=0,z=B;W<z;)Q=W+z>>1,f[_t[Q]]<p?W=Q+1:z=Q;p<f[_t[W]]&&(W>0&&(vr[T]=_t[W-1]),_t[W]=T)}W=B+1;var mt=new Int32Array(W);for(z=_t[W-1];W-- >0;)mt[W]=z,z=vr[z],_t[W]=0;return mt}var On=typeof document!="undefined";On&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function Lr(f,p,T,w){var B=[],W=p.$V;D.v=!0,n(W)?n(f)||(f.flags&16384&&(f=st(f)),Ht(f,p,w,!1,null,B),p.$V=f,W=f):n(f)?(Jt(W,p),p.$V=null):(f.flags&16384&&(f=st(f)),qt(W,f,p,w,!1,null,B),W=p.$V=f),y(B),D.v=!1,a(T)&&T(),a(U.renderComplete)&&U.renderComplete(W,p)}function $r(f,p,T,w){T===void 0&&(T=null),w===void 0&&(w=E),Lr(f,p,T,w)}function xn(f){return function(){function p(T,w,B,W){f||(f=T),$r(w,f,B,W)}return p}()}var lr=[],Tn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(f){window.setTimeout(f,0)},gr=!1;function Dr(f,p,T,w){var B=f.$PS;if(a(p)&&(p=p(B?l(f.state,B):f.state,f.props,f.context)),n(B))f.$PS=p;else for(var W in p)B[W]=p[W];if(f.$BR)a(T)&&f.$L.push(T.bind(f));else{if(!D.v&&lr.length===0){jr(f,w),a(T)&&T.call(f);return}if(lr.indexOf(f)===-1&&lr.push(f),w&&(f.$F=!0),gr||(gr=!0,Tn(Nr)),a(T)){var z=f.$QU;z||(z=f.$QU=[]),z.push(T)}}}function An(f){for(var p=f.$QU,T=0;T<p.length;++T)p[T].call(f);f.$QU=null}function Nr(){var f;for(gr=!1;f=lr.shift();)if(!f.$UN){var p=f.$F;f.$F=!1,jr(f,p),f.$QU&&An(f)}}function jr(f,p){if(p||!f.$BR){var T=f.$PS;f.$PS=null;var w=[];D.v=!0,Mr(f,l(f.state,T),f.props,I(f.$LI,!0).parentNode,f.context,f.$SVG,p,null,w),y(w),D.v=!1}else f.state=f.$PS,f.$PS=null}var yr=i.Component=function(){function f(p,T){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=p||E,this.context=T||E}return f}();yr.prototype.forceUpdate=function(){function f(p){this.$UN||Dr(this,{},p,!0)}return f}(),yr.prototype.setState=function(){function f(p,T){this.$UN||this.$BS||Dr(this,p,T,!1)}return f}(),yr.prototype.render=function(){function f(p,T,w){return null}return f}();var Pn=i.version="7.4.11"},28823:function(u,i,t){"use strict";i.__esModule=!0;var r=t(60208);Object.keys(r).forEach(function(n){n==="default"||n==="__esModule"||n in i&&i[n]===r[n]||(i[n]=r[n])})},16970:function(u){"use strict";var i=function(t){"use strict";var r=Object.prototype,n=r.hasOwnProperty,e=Object.defineProperty||function(N,M,L){N[M]=L.value},a,o=typeof Symbol=="function"?Symbol:{},s=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",v=o.toStringTag||"@@toStringTag";function l(N,M,L){return Object.defineProperty(N,M,{value:L,enumerable:!0,configurable:!0,writable:!0}),N[M]}try{l({},"")}catch(N){l=function(L,j,V){return L[j]=V}}function h(N,M,L,j){var V=M&&M.prototype instanceof P?M:P,Y=Object.create(V.prototype),at=new G(j||[]);return e(Y,"_invoke",{value:D(N,L,at)}),Y}t.wrap=h;function S(N,M,L){try{return{type:"normal",arg:N.call(M,L)}}catch(j){return{type:"throw",arg:j}}}var E="suspendedStart",O="suspendedYield",m="executing",g="completed",R={};function P(){}function A(){}function d(){}var y={};l(y,s,function(){return this});var x=Object.getPrototypeOf,I=x&&x(x(H([])));I&&I!==r&&n.call(I,s)&&(y=I);var C=d.prototype=P.prototype=Object.create(y);A.prototype=d,e(C,"constructor",{value:d,configurable:!0}),e(d,"constructor",{value:A,configurable:!0}),A.displayName=l(d,v,"GeneratorFunction");function b(N){["next","throw","return"].forEach(function(M){l(N,M,function(L){return this._invoke(M,L)})})}t.isGeneratorFunction=function(N){var M=typeof N=="function"&&N.constructor;return M?M===A||(M.displayName||M.name)==="GeneratorFunction":!1},t.mark=function(N){return Object.setPrototypeOf?Object.setPrototypeOf(N,d):(N.__proto__=d,l(N,v,"GeneratorFunction")),N.prototype=Object.create(C),N},t.awrap=function(N){return{__await:N}};function F(N,M){function L(Y,at,ft,ht){var nt=S(N[Y],N,at);if(nt.type==="throw")ht(nt.arg);else{var st=nt.arg,Rt=st.value;return Rt&&typeof Rt=="object"&&n.call(Rt,"__await")?M.resolve(Rt.__await).then(function(St){L("next",St,ft,ht)},function(St){L("throw",St,ft,ht)}):M.resolve(Rt).then(function(St){st.value=St,ft(st)},function(St){return L("throw",St,ft,ht)})}}var j;function V(Y,at){function ft(){return new M(function(ht,nt){L(Y,at,ht,nt)})}return j=j?j.then(ft,ft):ft()}e(this,"_invoke",{value:V})}b(F.prototype),l(F.prototype,c,function(){return this}),t.AsyncIterator=F,t.async=function(N,M,L,j,V){V===void 0&&(V=Promise);var Y=new F(h(N,M,L,j),V);return t.isGeneratorFunction(M)?Y:Y.next().then(function(at){return at.done?at.value:Y.next()})};function D(N,M,L){var j=E;return function(){function V(Y,at){if(j===m)throw new Error("Generator is already running");if(j===g){if(Y==="throw")throw at;return X()}for(L.method=Y,L.arg=at;;){var ft=L.delegate;if(ft){var ht=U(ft,L);if(ht){if(ht===R)continue;return ht}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if(j===E)throw j=g,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);j=m;var nt=S(N,M,L);if(nt.type==="normal"){if(j=L.done?g:O,nt.arg===R)continue;return{value:nt.arg,done:L.done}}else nt.type==="throw"&&(j=g,L.method="throw",L.arg=nt.arg)}}return V}()}function U(N,M){var L=M.method,j=N.iterator[L];if(j===a)return M.delegate=null,L==="throw"&&N.iterator.return&&(M.method="return",M.arg=a,U(N,M),M.method==="throw")||L!=="return"&&(M.method="throw",M.arg=new TypeError("The iterator does not provide a '"+L+"' method")),R;var V=S(j,N.iterator,M.arg);if(V.type==="throw")return M.method="throw",M.arg=V.arg,M.delegate=null,R;var Y=V.arg;if(!Y)return M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,R;if(Y.done)M[N.resultName]=Y.value,M.next=N.nextLoc,M.method!=="return"&&(M.method="next",M.arg=a);else return Y;return M.delegate=null,R}b(C),l(C,v,"Generator"),l(C,s,function(){return this}),l(C,"toString",function(){return"[object Generator]"});function K(N){var M={tryLoc:N[0]};1 in N&&(M.catchLoc=N[1]),2 in N&&(M.finallyLoc=N[2],M.afterLoc=N[3]),this.tryEntries.push(M)}function _(N){var M=N.completion||{};M.type="normal",delete M.arg,N.completion=M}function G(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(K,this),this.reset(!0)}t.keys=function(N){var M=Object(N),L=[];for(var j in M)L.push(j);return L.reverse(),function(){function V(){for(;L.length;){var Y=L.pop();if(Y in M)return V.value=Y,V.done=!1,V}return V.done=!0,V}return V}()};function H(N){if(N!=null){var M=N[s];if(M)return M.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var L=-1,j=function(){function V(){for(;++L<N.length;)if(n.call(N,L))return V.value=N[L],V.done=!1,V;return V.value=a,V.done=!0,V}return V}();return j.next=j}}throw new TypeError(typeof N+" is not iterable")}t.values=H;function X(){return{value:a,done:!0}}return G.prototype={constructor:G,reset:function(){function N(M){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(_),!M)for(var L in this)L.charAt(0)==="t"&&n.call(this,L)&&!isNaN(+L.slice(1))&&(this[L]=a)}return N}(),stop:function(){function N(){this.done=!0;var M=this.tryEntries[0],L=M.completion;if(L.type==="throw")throw L.arg;return this.rval}return N}(),dispatchException:function(){function N(M){if(this.done)throw M;var L=this;function j(nt,st){return at.type="throw",at.arg=M,L.next=nt,st&&(L.method="next",L.arg=a),!!st}for(var V=this.tryEntries.length-1;V>=0;--V){var Y=this.tryEntries[V],at=Y.completion;if(Y.tryLoc==="root")return j("end");if(Y.tryLoc<=this.prev){var ft=n.call(Y,"catchLoc"),ht=n.call(Y,"finallyLoc");if(ft&&ht){if(this.prev<Y.catchLoc)return j(Y.catchLoc,!0);if(this.prev<Y.finallyLoc)return j(Y.finallyLoc)}else if(ft){if(this.prev<Y.catchLoc)return j(Y.catchLoc,!0)}else if(ht){if(this.prev<Y.finallyLoc)return j(Y.finallyLoc)}else throw new Error("try statement without catch or finally")}}}return N}(),abrupt:function(){function N(M,L){for(var j=this.tryEntries.length-1;j>=0;--j){var V=this.tryEntries[j];if(V.tryLoc<=this.prev&&n.call(V,"finallyLoc")&&this.prev<V.finallyLoc){var Y=V;break}}Y&&(M==="break"||M==="continue")&&Y.tryLoc<=L&&L<=Y.finallyLoc&&(Y=null);var at=Y?Y.completion:{};return at.type=M,at.arg=L,Y?(this.method="next",this.next=Y.finallyLoc,R):this.complete(at)}return N}(),complete:function(){function N(M,L){if(M.type==="throw")throw M.arg;return M.type==="break"||M.type==="continue"?this.next=M.arg:M.type==="return"?(this.rval=this.arg=M.arg,this.method="return",this.next="end"):M.type==="normal"&&L&&(this.next=L),R}return N}(),finish:function(){function N(M){for(var L=this.tryEntries.length-1;L>=0;--L){var j=this.tryEntries[L];if(j.finallyLoc===M)return this.complete(j.completion,j.afterLoc),_(j),R}}return N}(),catch:function(){function N(M){for(var L=this.tryEntries.length-1;L>=0;--L){var j=this.tryEntries[L];if(j.tryLoc===M){var V=j.completion;if(V.type==="throw"){var Y=V.arg;_(j)}return Y}}throw new Error("illegal catch attempt")}return N}(),delegateYield:function(){function N(M,L,j){return this.delegate={iterator:H(M),resultName:L,nextLoc:j},this.method==="next"&&(this.arg=a),R}return N}()},t}(u.exports);try{regeneratorRuntime=i}catch(t){typeof globalThis=="object"?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},11386:function(){"use strict";self.fetch||(self.fetch=function(u,i){return i=i||{},new Promise(function(t,r){var n=new XMLHttpRequest,e=[],a={},o=function(){function c(){return{ok:(n.status/100|0)==2,statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){function v(){return Promise.resolve(n.responseText)}return v}(),json:function(){function v(){return Promise.resolve(n.responseText).then(JSON.parse)}return v}(),blob:function(){function v(){return Promise.resolve(new Blob([n.response]))}return v}(),clone:c,headers:{keys:function(){function v(){return e}return v}(),entries:function(){function v(){return e.map(function(l){return[l,n.getResponseHeader(l)]})}return v}(),get:function(){function v(l){return n.getResponseHeader(l)}return v}(),has:function(){function v(l){return n.getResponseHeader(l)!=null}return v}()}}}return c}();for(var s in n.open(i.method||"get",u,!0),n.onload=function(){n.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(c,v){a[v]||e.push(a[v]=v)}),t(o())},n.onerror=r,n.withCredentials=i.credentials=="include",i.headers)n.setRequestHeader(s,i.headers[s]);n.send(i.body||null)})})},72026:function(u,i){"use strict";i.__esModule=!0,i.zipWith=i.zip=i.uniqBy=i.uniq=i.toKeyedArray=i.toArray=i.sortBy=i.sort=i.reduce=i.range=i.map=i.filterMap=i.filter=void 0;function t(P,A){var d=typeof Symbol!="undefined"&&P[Symbol.iterator]||P["@@iterator"];if(d)return(d=d.call(P)).next.bind(d);if(Array.isArray(P)||(d=r(P))||A&&P&&typeof P.length=="number"){d&&(P=d);var y=0;return function(){return y>=P.length?{done:!0}:{done:!1,value:P[y++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(P,A){if(P){if(typeof P=="string")return n(P,A);var d=Object.prototype.toString.call(P).slice(8,-1);if(d==="Object"&&P.constructor&&(d=P.constructor.name),d==="Map"||d==="Set")return Array.from(P);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return n(P,A)}}function n(P,A){(A==null||A>P.length)&&(A=P.length);for(var d=0,y=new Array(A);d<A;d++)y[d]=P[d];return y}/** +(function(){(function(){var Wr={63935:function(u,i){"use strict";i.__esModule=!0,i.Fragment=i.EMPTY_OBJ=i.Component=void 0,i._CI=Rr,i._HI=$t,i._M=Ht,i._MCCC=br,i._ME=Cr,i._MFCC=wr,i._MP=Tr,i._MR=er,i._RFC=hr,i.__render=Lr,i.createComponentVNode=Y,i.createFragment=dt,i.createPortal=It,i.createRef=Jr,i.createRenderer=xn,i.createTextVNode=it,i.createVNode=L,i.directClone=lt,i.findDOMfromVNode=E,i.forwardRef=Qr,i.getFlagsForElementVnode=bt,i.linkEvent=h,i.normalizeProps=pt,i.options=void 0,i.render=$r,i.rerender=Nr,i.version=void 0;var t=Array.isArray;function r(f){var p=typeof f;return p==="string"||p==="number"}function n(f){return f==null}function e(f){return f===null||f===!1||f===!0||f===void 0}function a(f){return typeof f=="function"}function o(f){return typeof f=="string"}function s(f){return typeof f=="number"}function c(f){return f===null}function v(f){return f===void 0}function l(f,p){var A={};if(f)for(var w in f)A[w]=f[w];if(p)for(var B in p)A[B]=p[B];return A}function h(f,p){return a(p)?{data:f,event:p}:null}function I(f){return!c(f)&&typeof f=="object"}var S=i.EMPTY_OBJ={},T=i.Fragment="$F";function y(f){return f.substr(2).toLowerCase()}function g(f,p){f.appendChild(p)}function P(f,p,A){c(A)?g(f,p):f.insertBefore(p,A)}function R(f,p){return p?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f)}function x(f,p,A){f.replaceChild(p,A)}function d(f,p){f.removeChild(p)}function m(f){for(var p=0;p<f.length;p++)f[p]()}function O(f,p,A){var w=f.children;return A&4?w.$LI:A&8192?f.childFlags===2?w:w[p?0:w.length-1]:w}function E(f,p){for(var A;f;){if(A=f.flags,A&2033)return f.dom;f=O(f,p,A)}return null}function C(f,p){do{var A=f.flags;if(A&2033){d(p,f.dom);return}var w=f.children;if(A&4&&(f=w.$LI),A&8&&(f=w),A&8192)if(f.childFlags===2)f=w;else{for(var B=0,W=w.length;B<W;++B)C(w[B],p);return}}while(f)}function b(f,p,A){do{var w=f.flags;if(w&2033){P(p,f.dom,A);return}var B=f.children;if(w&4&&(f=B.$LI),w&8&&(f=B),w&8192)if(f.childFlags===2)f=B;else{for(var W=0,H=B.length;W<H;++W)b(B[W],p,A);return}}while(f)}function M(f,p,A){return f.constructor.getDerivedStateFromProps?l(A,f.constructor.getDerivedStateFromProps(p,A)):A}var $={v:!1},N=i.options={componentComparator:null,createVNode:null,renderComplete:null};function z(f,p){f.textContent=p}function Q(f,p){return I(f)&&f.event===p.event&&f.data===p.data}function G(f,p){for(var A in p)v(f[A])&&(f[A]=p[A]);return f}function K(f,p){return!!a(f)&&(f(p),!0)}var _="$";function U(f,p,A,w,B,W,H,J){this.childFlags=f,this.children=p,this.className=A,this.dom=null,this.flags=w,this.key=B===void 0?null:B,this.props=W===void 0?null:W,this.ref=H===void 0?null:H,this.type=J}function L(f,p,A,w,B,W,H,J){var xt=B===void 0?1:B,mt=new U(xt,w,A,f,H,W,J,p);return N.createVNode&&N.createVNode(mt),xt===0&&Mt(mt,mt.children),mt}function F(f,p,A){if(f&4)return A;var w=(f&32768?p.render:p).defaultHooks;return n(w)?A:n(A)?w:G(A,w)}function j(f,p,A){var w=(f&32768?p.render:p).defaultProps;return n(w)?A:n(A)?l(w,null):G(A,w)}function V(f,p){return f&12?f:p.prototype&&p.prototype.render?4:p.render?32776:8}function Y(f,p,A,w,B){f=V(f,p);var W=new U(1,null,null,f,w,j(f,p,A),F(f,p,B),p);return N.createVNode&&N.createVNode(W),W}function it(f,p){return new U(1,n(f)||f===!0||f===!1?"":f,null,16,p,null,null,null)}function dt(f,p,A){var w=L(8192,8192,null,f,p,null,A,null);switch(w.childFlags){case 1:w.children=Ct(),w.childFlags=2;break;case 16:w.children=[it(f)],w.childFlags=4;break}return w}function pt(f){var p=f.props;if(p){var A=f.flags;A&481&&(p.children!==void 0&&n(f.children)&&Mt(f,p.children),p.className!==void 0&&(n(f.className)&&(f.className=p.className||null),p.className=void 0)),p.key!==void 0&&(f.key=p.key,p.key=void 0),p.ref!==void 0&&(A&8?f.ref=l(f.ref,p.ref):f.ref=p.ref,p.ref=void 0)}return f}function ot(f){var p=f.children,A=f.childFlags;return dt(A===2?lt(p):p.map(lt),A,f.key)}function lt(f){var p=f.flags&-16385,A=f.props;if(p&14&&!c(A)){var w=A;A={};for(var B in w)A[B]=w[B]}return p&8192?ot(f):new U(f.childFlags,f.children,f.className,p,f.key,A,f.ref,f.type)}function Ct(){return it("",null)}function It(f,p){var A=$t(f);return L(1024,1024,null,A,0,null,A.key,p)}function yt(f,p,A,w){for(var B=f.length;A<B;A++){var W=f[A];if(!e(W)){var H=w+_+A;if(t(W))yt(W,p,0,H);else{if(r(W))W=it(W,H);else{var J=W.key,xt=o(J)&&J[0]===_;(W.flags&81920||xt)&&(W=lt(W)),W.flags|=65536,xt?J.substring(0,w.length)!==w&&(W.key=w+J):c(J)?W.key=H:W.key=w+J}p.push(W)}}}}function bt(f){switch(f){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case T:return 8192;default:return 1}}function Mt(f,p){var A,w=1;if(e(p))A=p;else if(r(p))w=16,A=p;else if(t(p)){for(var B=p.length,W=0;W<B;++W){var H=p[W];if(e(H)||t(H)){A=A||p.slice(0,W),yt(p,A,W,"");break}else if(r(H))A=A||p.slice(0,W),A.push(it(H,_+W));else{var J=H.key,xt=(H.flags&81920)>0,mt=c(J),Ot=o(J)&&J[0]===_;xt||mt||Ot?(A=A||p.slice(0,W),(xt||Ot)&&(H=lt(H)),(mt||Ot)&&(H.key=_+W),A.push(H)):A&&A.push(H),H.flags|=65536}}A=A||p,A.length===0?w=1:w=8}else A=p,A.flags|=65536,p.flags&81920&&(A=lt(p)),w=2;return f.children=A,f.childFlags=w,f}function $t(f){return e(f)||r(f)?it(f,null):t(f)?dt(f,0,null):f.flags&16384?lt(f):f}var At="http://www.w3.org/1999/xlink",k="http://www.w3.org/XML/1998/namespace",q={"xlink:actuate":At,"xlink:arcrole":At,"xlink:href":At,"xlink:role":At,"xlink:show":At,"xlink:title":At,"xlink:type":At,"xml:base":k,"xml:lang":k,"xml:space":k};function tt(f){return{onClick:f,onDblClick:f,onFocusIn:f,onFocusOut:f,onKeyDown:f,onKeyPress:f,onKeyUp:f,onMouseDown:f,onMouseMove:f,onMouseUp:f,onTouchEnd:f,onTouchMove:f,onTouchStart:f}}var ct=tt(0),vt=tt(null),ht=tt(!0);function St(f,p){var A=p.$EV;return A||(A=p.$EV=tt(null)),A[f]||++ct[f]===1&&(vt[f]=X(f)),A}function nt(f,p){var A=p.$EV;A&&A[f]&&(--ct[f]===0&&(document.removeEventListener(y(f),vt[f]),vt[f]=null),A[f]=null)}function ut(f,p,A,w){if(a(A))St(f,w)[f]=A;else if(I(A)){if(Q(p,A))return;St(f,w)[f]=A}else nt(f,w)}function gt(f){return a(f.composedPath)?f.composedPath()[0]:f.target}function at(f,p,A,w){var B=gt(f);do{if(p&&B.disabled)return;var W=B.$EV;if(W){var H=W[A];if(H&&(w.dom=B,H.event?H.event(H.data,f):H(f),f.cancelBubble))return}B=B.parentNode}while(!c(B))}function Et(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function Tt(){return this.defaultPrevented}function Rt(){return this.cancelBubble}function Dt(f){var p={dom:document};return f.isDefaultPrevented=Tt,f.isPropagationStopped=Rt,f.stopPropagation=Et,Object.defineProperty(f,"currentTarget",{configurable:!0,get:function(){function A(){return p.dom}return A}()}),p}function Wt(f){return function(p){if(p.button!==0){p.stopPropagation();return}at(p,!0,f,Dt(p))}}function ft(f){return function(p){at(p,!1,f,Dt(p))}}function X(f){var p=f==="onClick"||f==="onDblClick"?Wt(f):ft(f);return document.addEventListener(y(f),p),p}function Z(f,p){var A=document.createElement("i");return A.innerHTML=p,A.innerHTML===f.innerHTML}function et(f,p,A){if(f[p]){var w=f[p];w.event?w.event(w.data,A):w(A)}else{var B=p.toLowerCase();f[B]&&f[B](A)}}function rt(f,p){var A=function(B){var W=this.$V;if(W){var H=W.props||S,J=W.dom;if(o(f))et(H,f,B);else for(var xt=0;xt<f.length;++xt)et(H,f[xt],B);if(a(p)){var mt=this.$V,Ot=mt.props||S;p(Ot,J,!1,mt)}}};return Object.defineProperty(A,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),A}function st(f,p,A){var w="$"+p,B=f[w];if(B){if(B[1].wrapped)return;f.removeEventListener(B[0],B[1]),f[w]=null}a(A)&&(f.addEventListener(p,A),f[w]=[p,A])}function wt(f){return f==="checkbox"||f==="radio"}var jt=rt("onInput",Kt),Ut=rt(["onClick","onChange"],Kt);function zt(f){f.stopPropagation()}zt.wrapped=!0;function Gt(f,p){wt(p.type)?(st(f,"change",Ut),st(f,"click",zt)):st(f,"input",jt)}function Kt(f,p){var A=f.type,w=f.value,B=f.checked,W=f.multiple,H=f.defaultValue,J=!n(w);A&&A!==p.type&&p.setAttribute("type",A),!n(W)&&W!==p.multiple&&(p.multiple=W),!n(H)&&!J&&(p.defaultValue=H+""),wt(A)?(J&&(p.value=w),n(B)||(p.checked=B)):J&&p.value!==w?(p.defaultValue=w,p.value=w):n(B)||(p.checked=B)}function Zt(f,p){if(f.type==="option")Gr(f,p);else{var A=f.children,w=f.flags;if(w&4)Zt(A.$LI,p);else if(w&8)Zt(A,p);else if(f.childFlags===2)Zt(A,p);else if(f.childFlags&12)for(var B=0,W=A.length;B<W;++B)Zt(A[B],p)}}function Gr(f,p){var A=f.props||S,w=f.dom;w.value=A.value,A.value===p||t(p)&&p.indexOf(A.value)!==-1?w.selected=!0:(!n(p)||!n(A.selected))&&(w.selected=A.selected||!1)}var zr=rt("onChange",Er);function Hr(f){st(f,"change",zr)}function Er(f,p,A,w){var B=!!f.multiple;!n(f.multiple)&&B!==p.multiple&&(p.multiple=B);var W=f.selectedIndex;W===-1&&(p.selectedIndex=-1);var H=w.childFlags;if(H!==1){var J=f.value;s(W)&&W>-1&&p.options[W]&&(J=p.options[W].value),A&&n(J)&&(J=f.defaultValue),Zt(w,J)}}var Kr=rt("onInput",Ir),Yr=rt("onChange");function Vr(f,p){st(f,"input",Kr),p.onChange&&st(f,"change",Yr)}function Ir(f,p,A){var w=f.value,B=p.value;if(n(w)){if(A){var W=f.defaultValue;!n(W)&&W!==B&&(p.defaultValue=W,p.value=W)}}else B!==w&&(p.defaultValue=w,p.value=w)}function Or(f,p,A,w,B,W){f&64?Kt(w,A):f&256?Er(w,A,B,p):f&128&&Ir(w,A,B),W&&(A.$V=p)}function Xr(f,p,A){f&64?Gt(p,A):f&256?Hr(p):f&128&&Vr(p,A)}function xr(f){return f.type&&wt(f.type)?!n(f.checked):!n(f.value)}function Jr(){return{current:null}}function Qr(f){return{render:f}}function sr(f){f&&!K(f,null)&&f.current&&(f.current=null)}function er(f,p,A){f&&(a(f)||f.current!==void 0)&&A.push(function(){!K(f,p)&&f.current!==void 0&&(f.current=p)})}function Jt(f,p){kt(f),C(f,p)}function kt(f){var p=f.flags,A=f.children,w;if(p&481){w=f.ref;var B=f.props;sr(w);var W=f.childFlags;if(!c(B))for(var H=Object.keys(B),J=0,xt=H.length;J<xt;J++){var mt=H[J];ht[mt]&&nt(mt,f.dom)}W&12?ar(A):W===2&&kt(A)}else A&&(p&4?(a(A.componentWillUnmount)&&A.componentWillUnmount(),sr(f.ref),A.$UN=!0,kt(A.$LI)):p&8?(w=f.ref,!n(w)&&a(w.onComponentWillUnmount)&&w.onComponentWillUnmount(E(f,!0),f.props||S),kt(A)):p&1024?Jt(A,f.ref):p&8192&&f.childFlags&12&&ar(A))}function ar(f){for(var p=0,A=f.length;p<A;++p)kt(f[p])}function fr(f){f.textContent=""}function cr(f,p,A){ar(A),p.flags&8192?C(p,f):fr(f)}function Zr(f){var p=f.event;return function(A){p(f.data,A)}}function kr(f,p,A,w){if(I(A)){if(Q(p,A))return;A=Zr(A)}st(w,y(f),A)}function qr(f,p,A){if(n(p)){A.removeAttribute("style");return}var w=A.style,B,W;if(o(p)){w.cssText=p;return}if(!n(f)&&!o(f)){for(B in p)W=p[B],W!==f[B]&&w.setProperty(B,W);for(B in f)n(p[B])&&w.removeProperty(B)}else for(B in p)W=p[B],w.setProperty(B,W)}function _r(f,p,A,w){var B=f&&f.__html||"",W=p&&p.__html||"";B!==W&&!n(W)&&!Z(w,W)&&(c(A)||(A.childFlags&12?ar(A.children):A.childFlags===2&&kt(A.children),A.children=null,A.childFlags=1),w.innerHTML=W)}function dr(f,p,A,w,B,W,H){switch(f){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":w.autofocus=!!A;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":w[f]=!!A;break;case"defaultChecked":case"value":case"volume":if(W&&f==="value")break;var J=n(A)?"":A;w[f]!==J&&(w[f]=J);break;case"style":qr(p,A,w);break;case"dangerouslySetInnerHTML":_r(p,A,H,w);break;default:ht[f]?ut(f,p,A,w):f.charCodeAt(0)===111&&f.charCodeAt(1)===110?kr(f,p,A,w):n(A)?w.removeAttribute(f):B&&q[f]?w.setAttributeNS(q[f],f,A):w.setAttribute(f,A);break}}function Tr(f,p,A,w,B){var W=!1,H=(p&448)>0;H&&(W=xr(A),W&&Xr(p,w,A));for(var J in A)dr(J,null,A[J],w,B,W,null);H&&Or(p,f,w,A,!0,W)}function Ar(f,p,A){var w=$t(f.render(p,f.state,A)),B=A;return a(f.getChildContext)&&(B=l(A,f.getChildContext())),f.$CX=B,w}function Rr(f,p,A,w,B,W){var H=new p(A,w),J=H.$N=!!(p.getDerivedStateFromProps||H.getSnapshotBeforeUpdate);if(H.$SVG=B,H.$L=W,f.children=H,H.$BS=!1,H.context=w,H.props===S&&(H.props=A),J)H.state=M(H,A,H.state);else if(a(H.componentWillMount)){H.$BR=!0,H.componentWillMount();var xt=H.$PS;if(!c(xt)){var mt=H.state;if(c(mt))H.state=xt;else for(var Ot in xt)mt[Ot]=xt[Ot];H.$PS=null}H.$BR=!1}return H.$LI=Ar(H,A,w),H}function hr(f,p){var A=f.props||S;return f.flags&32768?f.type.render(A,f.ref,p):f.type(A,p)}function Ht(f,p,A,w,B,W){var H=f.flags|=16384;H&481?Cr(f,p,A,w,B,W):H&4?nn(f,p,A,w,B,W):H&8?(en(f,p,A,w,B,W),wr(f,W)):H&512||H&16?Pr(f,p,B):H&8192?rn(f,A,p,w,B,W):H&1024&&tn(f,A,p,B,W)}function tn(f,p,A,w,B){Ht(f.children,f.ref,p,!1,null,B);var W=Ct();Pr(W,A,w),f.dom=W.dom}function rn(f,p,A,w,B,W){var H=f.children,J=f.childFlags;J&12&&H.length===0&&(J=f.childFlags=2,H=f.children=Ct()),J===2?Ht(H,A,p,w,B,W):nr(H,A,p,w,B,W)}function Pr(f,p,A){var w=f.dom=document.createTextNode(f.children);c(p)||P(p,w,A)}function Cr(f,p,A,w,B,W){var H=f.flags,J=f.props,xt=f.className,mt=f.childFlags,Ot=f.dom=R(f.type,w=w||(H&32)>0),Pt=f.children;if(!n(xt)&&xt!==""&&(w?Ot.setAttribute("class",xt):Ot.className=xt),mt===16)z(Ot,Pt);else if(mt!==1){var Lt=w&&f.type!=="foreignObject";mt===2?(Pt.flags&16384&&(f.children=Pt=lt(Pt)),Ht(Pt,Ot,A,Lt,null,W)):(mt===8||mt===4)&&nr(Pt,Ot,A,Lt,null,W)}c(p)||P(p,Ot,B),c(J)||Tr(f,H,J,Ot,w),er(f.ref,Ot,W)}function nr(f,p,A,w,B,W){for(var H=0;H<f.length;++H){var J=f[H];J.flags&16384&&(f[H]=J=lt(J)),Ht(J,p,A,w,B,W)}}function nn(f,p,A,w,B,W){var H=Rr(f,f.type,f.props||S,A,w,W);Ht(H.$LI,p,H.$CX,w,B,W),br(f.ref,H,W)}function en(f,p,A,w,B,W){Ht(f.children=$t(hr(f,A)),p,A,w,B,W)}function an(f){return function(){f.componentDidMount()}}function br(f,p,A){er(f,p,A),a(p.componentDidMount)&&A.push(an(p))}function on(f,p){return function(){f.onComponentDidMount(E(p,!0),p.props||S)}}function wr(f,p){var A=f.ref;n(A)||(K(A.onComponentWillMount,f.props||S),a(A.onComponentDidMount)&&p.push(on(A,f)))}function un(f,p,A,w,B,W){kt(f),p.flags&f.flags&2033?(Ht(p,null,w,B,null,W),x(A,p.dom,f.dom)):(Ht(p,A,w,B,E(f,!0),W),C(f,A))}function qt(f,p,A,w,B,W,H){var J=p.flags|=16384;f.flags!==J||f.type!==p.type||f.key!==p.key||J&2048?f.flags&16384?un(f,p,A,w,B,H):Ht(p,A,w,B,W,H):J&481?ln(f,p,w,B,J,H):J&4?pn(f,p,A,w,B,W,H):J&8?gn(f,p,A,w,B,W,H):J&16?yn(f,p):J&512?p.dom=f.dom:J&8192?cn(f,p,A,w,B,H):vn(f,p,w,H)}function sn(f,p,A){f!==p&&(f!==""?A.firstChild.nodeValue=p:z(A,p))}function fn(f,p){f.textContent!==p&&(f.textContent=p)}function cn(f,p,A,w,B,W){var H=f.children,J=p.children,xt=f.childFlags,mt=p.childFlags,Ot=null;mt&12&&J.length===0&&(mt=p.childFlags=2,J=p.children=Ct());var Pt=(mt&2)!==0;if(xt&12){var Lt=H.length;(xt&8&&mt&8||Pt||!Pt&&J.length>Lt)&&(Ot=E(H[Lt-1],!1).nextSibling)}pr(xt,mt,H,J,A,w,B,Ot,f,W)}function vn(f,p,A,w){var B=f.ref,W=p.ref,H=p.children;if(pr(f.childFlags,p.childFlags,f.children,H,B,A,!1,null,f,w),p.dom=f.dom,B!==W&&!e(H)){var J=H.dom;d(B,J),g(W,J)}}function ln(f,p,A,w,B,W){var H=p.dom=f.dom,J=f.props,xt=p.props,mt=!1,Ot=!1,Pt;if(w=w||(B&32)>0,J!==xt){var Lt=J||S;if(Pt=xt||S,Pt!==S){mt=(B&448)>0,mt&&(Ot=xr(Pt));for(var Bt in Pt){var Ft=Lt[Bt],Yt=Pt[Bt];Ft!==Yt&&dr(Bt,Ft,Yt,H,w,Ot,f)}}if(Lt!==S)for(var Nt in Lt)n(Pt[Nt])&&!n(Lt[Nt])&&dr(Nt,Lt[Nt],null,H,w,Ot,f)}var tr=p.children,Xt=p.className;f.className!==Xt&&(n(Xt)?H.removeAttribute("class"):w?H.setAttribute("class",Xt):H.className=Xt),B&4096?fn(H,tr):pr(f.childFlags,p.childFlags,f.children,tr,H,A,w&&p.type!=="foreignObject",null,f,W),mt&&Or(B,p,H,Pt,!1,Ot);var or=p.ref,Qt=f.ref;Qt!==or&&(sr(Qt),er(or,H,W))}function dn(f,p,A,w,B,W){kt(f),nr(p,A,w,B,E(f,!0),W),C(f,A)}function pr(f,p,A,w,B,W,H,J,xt,mt){switch(f){case 2:switch(p){case 2:qt(A,w,B,W,H,J,mt);break;case 1:Jt(A,B);break;case 16:kt(A),z(B,w);break;default:dn(A,w,B,W,H,mt);break}break;case 1:switch(p){case 2:Ht(w,B,W,H,J,mt);break;case 1:break;case 16:z(B,w);break;default:nr(w,B,W,H,J,mt);break}break;case 16:switch(p){case 16:sn(A,w,B);break;case 2:fr(B),Ht(w,B,W,H,J,mt);break;case 1:fr(B);break;default:fr(B),nr(w,B,W,H,J,mt);break}break;default:switch(p){case 16:ar(A),z(B,w);break;case 2:cr(B,xt,A),Ht(w,B,W,H,J,mt);break;case 1:cr(B,xt,A);break;default:var Ot=A.length|0,Pt=w.length|0;Ot===0?Pt>0&&nr(w,B,W,H,J,mt):Pt===0?cr(B,xt,A):p===8&&f===8?Sn(A,w,B,W,H,Ot,Pt,J,xt,mt):mn(A,w,B,W,H,Ot,Pt,J,mt);break}break}}function hn(f,p,A,w,B){B.push(function(){f.componentDidUpdate(p,A,w)})}function Mr(f,p,A,w,B,W,H,J,xt){var mt=f.state,Ot=f.props,Pt=!!f.$N,Lt=a(f.shouldComponentUpdate);if(Pt&&(p=M(f,A,p!==mt?l(mt,p):p)),H||!Lt||Lt&&f.shouldComponentUpdate(A,p,B)){!Pt&&a(f.componentWillUpdate)&&f.componentWillUpdate(A,p,B),f.props=A,f.state=p,f.context=B;var Bt=null,Ft=Ar(f,A,B);Pt&&a(f.getSnapshotBeforeUpdate)&&(Bt=f.getSnapshotBeforeUpdate(Ot,mt)),qt(f.$LI,Ft,w,f.$CX,W,J,xt),f.$LI=Ft,a(f.componentDidUpdate)&&hn(f,Ot,mt,Bt,xt)}else f.props=A,f.state=p,f.context=B}function pn(f,p,A,w,B,W,H){var J=p.children=f.children;if(!c(J)){J.$L=H;var xt=p.props||S,mt=p.ref,Ot=f.ref,Pt=J.state;if(!J.$N){if(a(J.componentWillReceiveProps)){if(J.$BR=!0,J.componentWillReceiveProps(xt,w),J.$UN)return;J.$BR=!1}c(J.$PS)||(Pt=l(Pt,J.$PS),J.$PS=null)}Mr(J,Pt,xt,A,w,B,!1,W,H),Ot!==mt&&(sr(Ot),er(mt,J,H))}}function gn(f,p,A,w,B,W,H){var J=!0,xt=p.props||S,mt=p.ref,Ot=f.props,Pt=!n(mt),Lt=f.children;if(Pt&&a(mt.onComponentShouldUpdate)&&(J=mt.onComponentShouldUpdate(Ot,xt)),J!==!1){Pt&&a(mt.onComponentWillUpdate)&&mt.onComponentWillUpdate(Ot,xt);var Bt=$t(hr(p,w));qt(Lt,Bt,A,w,B,W,H),p.children=Bt,Pt&&a(mt.onComponentDidUpdate)&&mt.onComponentDidUpdate(Ot,xt)}else p.children=Lt}function yn(f,p){var A=p.children,w=p.dom=f.dom;A!==f.children&&(w.nodeValue=A)}function mn(f,p,A,w,B,W,H,J,xt){for(var mt=W>H?H:W,Ot=0,Pt,Lt;Ot<mt;++Ot)Pt=p[Ot],Lt=f[Ot],Pt.flags&16384&&(Pt=p[Ot]=lt(Pt)),qt(Lt,Pt,A,w,B,J,xt),f[Ot]=Pt;if(W<H)for(Ot=mt;Ot<H;++Ot)Pt=p[Ot],Pt.flags&16384&&(Pt=p[Ot]=lt(Pt)),Ht(Pt,A,w,B,J,xt);else if(W>H)for(Ot=mt;Ot<W;++Ot)Jt(f[Ot],A)}function Sn(f,p,A,w,B,W,H,J,xt,mt){var Ot=W-1,Pt=H-1,Lt=0,Bt=f[Lt],Ft=p[Lt],Yt,Nt;t:{for(;Bt.key===Ft.key;){if(Ft.flags&16384&&(p[Lt]=Ft=lt(Ft)),qt(Bt,Ft,A,w,B,J,mt),f[Lt]=Ft,++Lt,Lt>Ot||Lt>Pt)break t;Bt=f[Lt],Ft=p[Lt]}for(Bt=f[Ot],Ft=p[Pt];Bt.key===Ft.key;){if(Ft.flags&16384&&(p[Pt]=Ft=lt(Ft)),qt(Bt,Ft,A,w,B,J,mt),f[Ot]=Ft,Ot--,Pt--,Lt>Ot||Lt>Pt)break t;Bt=f[Ot],Ft=p[Pt]}}if(Lt>Ot){if(Lt<=Pt)for(Yt=Pt+1,Nt=Yt<H?E(p[Yt],!0):J;Lt<=Pt;)Ft=p[Lt],Ft.flags&16384&&(p[Lt]=Ft=lt(Ft)),++Lt,Ht(Ft,A,w,B,Nt,mt)}else if(Lt>Pt)for(;Lt<=Ot;)Jt(f[Lt++],A);else En(f,p,w,W,H,Ot,Pt,Lt,A,B,J,xt,mt)}function En(f,p,A,w,B,W,H,J,xt,mt,Ot,Pt,Lt){var Bt,Ft,Yt,Nt=0,tr=J,Xt=J,or=W-J+1,Qt=H-J+1,ur=new Int32Array(Qt+1),rr=or===w,mr=!1,Vt=0,ir=0;if(B<4||(or|Qt)<32)for(Nt=tr;Nt<=W;++Nt)if(Bt=f[Nt],ir<Qt){for(J=Xt;J<=H;J++)if(Ft=p[J],Bt.key===Ft.key){if(ur[J-Xt]=Nt+1,rr)for(rr=!1;tr<Nt;)Jt(f[tr++],xt);Vt>J?mr=!0:Vt=J,Ft.flags&16384&&(p[J]=Ft=lt(Ft)),qt(Bt,Ft,xt,A,mt,Ot,Lt),++ir;break}!rr&&J>H&&Jt(Bt,xt)}else rr||Jt(Bt,xt);else{var Br={};for(Nt=Xt;Nt<=H;++Nt)Br[p[Nt].key]=Nt;for(Nt=tr;Nt<=W;++Nt)if(Bt=f[Nt],ir<Qt)if(J=Br[Bt.key],J!==void 0){if(rr)for(rr=!1;Nt>tr;)Jt(f[tr++],xt);ur[J-Xt]=Nt+1,Vt>J?mr=!0:Vt=J,Ft=p[J],Ft.flags&16384&&(p[J]=Ft=lt(Ft)),qt(Bt,Ft,xt,A,mt,Ot,Lt),++ir}else rr||Jt(Bt,xt);else rr||Jt(Bt,xt)}if(rr)cr(xt,Pt,f),nr(p,xt,A,mt,Ot,Lt);else if(mr){var Ur=In(ur);for(J=Ur.length-1,Nt=Qt-1;Nt>=0;Nt--)ur[Nt]===0?(Vt=Nt+Xt,Ft=p[Vt],Ft.flags&16384&&(p[Vt]=Ft=lt(Ft)),Yt=Vt+1,Ht(Ft,xt,A,mt,Yt<B?E(p[Yt],!0):Ot,Lt)):J<0||Nt!==Ur[J]?(Vt=Nt+Xt,Ft=p[Vt],Yt=Vt+1,b(Ft,xt,Yt<B?E(p[Yt],!0):Ot)):J--}else if(ir!==Qt)for(Nt=Qt-1;Nt>=0;Nt--)ur[Nt]===0&&(Vt=Nt+Xt,Ft=p[Vt],Ft.flags&16384&&(p[Vt]=Ft=lt(Ft)),Yt=Vt+1,Ht(Ft,xt,A,mt,Yt<B?E(p[Yt],!0):Ot,Lt))}var _t,vr,Fr=0;function In(f){var p=0,A=0,w=0,B=0,W=0,H=0,J=0,xt=f.length;for(xt>Fr&&(Fr=xt,_t=new Int32Array(xt),vr=new Int32Array(xt));A<xt;++A)if(p=f[A],p!==0){if(w=_t[B],f[w]<p){vr[A]=w,_t[++B]=A;continue}for(W=0,H=B;W<H;)J=W+H>>1,f[_t[J]]<p?W=J+1:H=J;p<f[_t[W]]&&(W>0&&(vr[A]=_t[W-1]),_t[W]=A)}W=B+1;var mt=new Int32Array(W);for(H=_t[W-1];W-- >0;)mt[W]=H,H=vr[H],_t[W]=0;return mt}var On=typeof document!="undefined";On&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function Lr(f,p,A,w){var B=[],W=p.$V;$.v=!0,n(W)?n(f)||(f.flags&16384&&(f=lt(f)),Ht(f,p,w,!1,null,B),p.$V=f,W=f):n(f)?(Jt(W,p),p.$V=null):(f.flags&16384&&(f=lt(f)),qt(W,f,p,w,!1,null,B),W=p.$V=f),m(B),$.v=!1,a(A)&&A(),a(N.renderComplete)&&N.renderComplete(W,p)}function $r(f,p,A,w){A===void 0&&(A=null),w===void 0&&(w=S),Lr(f,p,A,w)}function xn(f){return function(){function p(A,w,B,W){f||(f=A),$r(w,f,B,W)}return p}()}var lr=[],Tn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(f){window.setTimeout(f,0)},gr=!1;function Dr(f,p,A,w){var B=f.$PS;if(a(p)&&(p=p(B?l(f.state,B):f.state,f.props,f.context)),n(B))f.$PS=p;else for(var W in p)B[W]=p[W];if(f.$BR)a(A)&&f.$L.push(A.bind(f));else{if(!$.v&&lr.length===0){jr(f,w),a(A)&&A.call(f);return}if(lr.indexOf(f)===-1&&lr.push(f),w&&(f.$F=!0),gr||(gr=!0,Tn(Nr)),a(A)){var H=f.$QU;H||(H=f.$QU=[]),H.push(A)}}}function An(f){for(var p=f.$QU,A=0;A<p.length;++A)p[A].call(f);f.$QU=null}function Nr(){var f;for(gr=!1;f=lr.shift();)if(!f.$UN){var p=f.$F;f.$F=!1,jr(f,p),f.$QU&&An(f)}}function jr(f,p){if(p||!f.$BR){var A=f.$PS;f.$PS=null;var w=[];$.v=!0,Mr(f,l(f.state,A),f.props,E(f.$LI,!0).parentNode,f.context,f.$SVG,p,null,w),m(w),$.v=!1}else f.state=f.$PS,f.$PS=null}var yr=i.Component=function(){function f(p,A){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=p||S,this.context=A||S}return f}();yr.prototype.forceUpdate=function(){function f(p){this.$UN||Dr(this,{},p,!0)}return f}(),yr.prototype.setState=function(){function f(p,A){this.$UN||this.$BS||Dr(this,p,A,!1)}return f}(),yr.prototype.render=function(){function f(p,A,w){return null}return f}();var Pn=i.version="7.4.11"},96524:function(u,i,t){"use strict";i.__esModule=!0;var r=t(63935);Object.keys(r).forEach(function(n){n==="default"||n==="__esModule"||n in i&&i[n]===r[n]||(i[n]=r[n])})},55776:function(u){"use strict";var i=function(t){"use strict";var r=Object.prototype,n=r.hasOwnProperty,e=Object.defineProperty||function(U,L,F){U[L]=F.value},a,o=typeof Symbol=="function"?Symbol:{},s=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",v=o.toStringTag||"@@toStringTag";function l(U,L,F){return Object.defineProperty(U,L,{value:F,enumerable:!0,configurable:!0,writable:!0}),U[L]}try{l({},"")}catch(U){l=function(F,j,V){return F[j]=V}}function h(U,L,F,j){var V=L&&L.prototype instanceof R?L:R,Y=Object.create(V.prototype),it=new G(j||[]);return e(Y,"_invoke",{value:$(U,F,it)}),Y}t.wrap=h;function I(U,L,F){try{return{type:"normal",arg:U.call(L,F)}}catch(j){return{type:"throw",arg:j}}}var S="suspendedStart",T="suspendedYield",y="executing",g="completed",P={};function R(){}function x(){}function d(){}var m={};l(m,s,function(){return this});var O=Object.getPrototypeOf,E=O&&O(O(K([])));E&&E!==r&&n.call(E,s)&&(m=E);var C=d.prototype=R.prototype=Object.create(m);x.prototype=d,e(C,"constructor",{value:d,configurable:!0}),e(d,"constructor",{value:x,configurable:!0}),x.displayName=l(d,v,"GeneratorFunction");function b(U){["next","throw","return"].forEach(function(L){l(U,L,function(F){return this._invoke(L,F)})})}t.isGeneratorFunction=function(U){var L=typeof U=="function"&&U.constructor;return L?L===x||(L.displayName||L.name)==="GeneratorFunction":!1},t.mark=function(U){return Object.setPrototypeOf?Object.setPrototypeOf(U,d):(U.__proto__=d,l(U,v,"GeneratorFunction")),U.prototype=Object.create(C),U},t.awrap=function(U){return{__await:U}};function M(U,L){function F(Y,it,dt,pt){var ot=I(U[Y],U,it);if(ot.type==="throw")pt(ot.arg);else{var lt=ot.arg,Ct=lt.value;return Ct&&typeof Ct=="object"&&n.call(Ct,"__await")?L.resolve(Ct.__await).then(function(It){F("next",It,dt,pt)},function(It){F("throw",It,dt,pt)}):L.resolve(Ct).then(function(It){lt.value=It,dt(lt)},function(It){return F("throw",It,dt,pt)})}}var j;function V(Y,it){function dt(){return new L(function(pt,ot){F(Y,it,pt,ot)})}return j=j?j.then(dt,dt):dt()}e(this,"_invoke",{value:V})}b(M.prototype),l(M.prototype,c,function(){return this}),t.AsyncIterator=M,t.async=function(U,L,F,j,V){V===void 0&&(V=Promise);var Y=new M(h(U,L,F,j),V);return t.isGeneratorFunction(L)?Y:Y.next().then(function(it){return it.done?it.value:Y.next()})};function $(U,L,F){var j=S;return function(){function V(Y,it){if(j===y)throw new Error("Generator is already running");if(j===g){if(Y==="throw")throw it;return _()}for(F.method=Y,F.arg=it;;){var dt=F.delegate;if(dt){var pt=N(dt,F);if(pt){if(pt===P)continue;return pt}}if(F.method==="next")F.sent=F._sent=F.arg;else if(F.method==="throw"){if(j===S)throw j=g,F.arg;F.dispatchException(F.arg)}else F.method==="return"&&F.abrupt("return",F.arg);j=y;var ot=I(U,L,F);if(ot.type==="normal"){if(j=F.done?g:T,ot.arg===P)continue;return{value:ot.arg,done:F.done}}else ot.type==="throw"&&(j=g,F.method="throw",F.arg=ot.arg)}}return V}()}function N(U,L){var F=L.method,j=U.iterator[F];if(j===a)return L.delegate=null,F==="throw"&&U.iterator.return&&(L.method="return",L.arg=a,N(U,L),L.method==="throw")||F!=="return"&&(L.method="throw",L.arg=new TypeError("The iterator does not provide a '"+F+"' method")),P;var V=I(j,U.iterator,L.arg);if(V.type==="throw")return L.method="throw",L.arg=V.arg,L.delegate=null,P;var Y=V.arg;if(!Y)return L.method="throw",L.arg=new TypeError("iterator result is not an object"),L.delegate=null,P;if(Y.done)L[U.resultName]=Y.value,L.next=U.nextLoc,L.method!=="return"&&(L.method="next",L.arg=a);else return Y;return L.delegate=null,P}b(C),l(C,v,"Generator"),l(C,s,function(){return this}),l(C,"toString",function(){return"[object Generator]"});function z(U){var L={tryLoc:U[0]};1 in U&&(L.catchLoc=U[1]),2 in U&&(L.finallyLoc=U[2],L.afterLoc=U[3]),this.tryEntries.push(L)}function Q(U){var L=U.completion||{};L.type="normal",delete L.arg,U.completion=L}function G(U){this.tryEntries=[{tryLoc:"root"}],U.forEach(z,this),this.reset(!0)}t.keys=function(U){var L=Object(U),F=[];for(var j in L)F.push(j);return F.reverse(),function(){function V(){for(;F.length;){var Y=F.pop();if(Y in L)return V.value=Y,V.done=!1,V}return V.done=!0,V}return V}()};function K(U){if(U!=null){var L=U[s];if(L)return L.call(U);if(typeof U.next=="function")return U;if(!isNaN(U.length)){var F=-1,j=function(){function V(){for(;++F<U.length;)if(n.call(U,F))return V.value=U[F],V.done=!1,V;return V.value=a,V.done=!0,V}return V}();return j.next=j}}throw new TypeError(typeof U+" is not iterable")}t.values=K;function _(){return{value:a,done:!0}}return G.prototype={constructor:G,reset:function(){function U(L){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(Q),!L)for(var F in this)F.charAt(0)==="t"&&n.call(this,F)&&!isNaN(+F.slice(1))&&(this[F]=a)}return U}(),stop:function(){function U(){this.done=!0;var L=this.tryEntries[0],F=L.completion;if(F.type==="throw")throw F.arg;return this.rval}return U}(),dispatchException:function(){function U(L){if(this.done)throw L;var F=this;function j(ot,lt){return it.type="throw",it.arg=L,F.next=ot,lt&&(F.method="next",F.arg=a),!!lt}for(var V=this.tryEntries.length-1;V>=0;--V){var Y=this.tryEntries[V],it=Y.completion;if(Y.tryLoc==="root")return j("end");if(Y.tryLoc<=this.prev){var dt=n.call(Y,"catchLoc"),pt=n.call(Y,"finallyLoc");if(dt&&pt){if(this.prev<Y.catchLoc)return j(Y.catchLoc,!0);if(this.prev<Y.finallyLoc)return j(Y.finallyLoc)}else if(dt){if(this.prev<Y.catchLoc)return j(Y.catchLoc,!0)}else if(pt){if(this.prev<Y.finallyLoc)return j(Y.finallyLoc)}else throw new Error("try statement without catch or finally")}}}return U}(),abrupt:function(){function U(L,F){for(var j=this.tryEntries.length-1;j>=0;--j){var V=this.tryEntries[j];if(V.tryLoc<=this.prev&&n.call(V,"finallyLoc")&&this.prev<V.finallyLoc){var Y=V;break}}Y&&(L==="break"||L==="continue")&&Y.tryLoc<=F&&F<=Y.finallyLoc&&(Y=null);var it=Y?Y.completion:{};return it.type=L,it.arg=F,Y?(this.method="next",this.next=Y.finallyLoc,P):this.complete(it)}return U}(),complete:function(){function U(L,F){if(L.type==="throw")throw L.arg;return L.type==="break"||L.type==="continue"?this.next=L.arg:L.type==="return"?(this.rval=this.arg=L.arg,this.method="return",this.next="end"):L.type==="normal"&&F&&(this.next=F),P}return U}(),finish:function(){function U(L){for(var F=this.tryEntries.length-1;F>=0;--F){var j=this.tryEntries[F];if(j.finallyLoc===L)return this.complete(j.completion,j.afterLoc),Q(j),P}}return U}(),catch:function(){function U(L){for(var F=this.tryEntries.length-1;F>=0;--F){var j=this.tryEntries[F];if(j.tryLoc===L){var V=j.completion;if(V.type==="throw"){var Y=V.arg;Q(j)}return Y}}throw new Error("illegal catch attempt")}return U}(),delegateYield:function(){function U(L,F,j){return this.delegate={iterator:K(L),resultName:F,nextLoc:j},this.method==="next"&&(this.arg=a),P}return U}()},t}(u.exports);try{regeneratorRuntime=i}catch(t){typeof globalThis=="object"?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},16666:function(){"use strict";self.fetch||(self.fetch=function(u,i){return i=i||{},new Promise(function(t,r){var n=new XMLHttpRequest,e=[],a={},o=function(){function c(){return{ok:(n.status/100|0)==2,statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){function v(){return Promise.resolve(n.responseText)}return v}(),json:function(){function v(){return Promise.resolve(n.responseText).then(JSON.parse)}return v}(),blob:function(){function v(){return Promise.resolve(new Blob([n.response]))}return v}(),clone:c,headers:{keys:function(){function v(){return e}return v}(),entries:function(){function v(){return e.map(function(l){return[l,n.getResponseHeader(l)]})}return v}(),get:function(){function v(l){return n.getResponseHeader(l)}return v}(),has:function(){function v(l){return n.getResponseHeader(l)!=null}return v}()}}}return c}();for(var s in n.open(i.method||"get",u,!0),n.onload=function(){n.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(c,v){a[v]||e.push(a[v]=v)}),t(o())},n.onerror=r,n.withCredentials=i.credentials=="include",i.headers)n.setRequestHeader(s,i.headers[s]);n.send(i.body||null)})})},50640:function(u,i){"use strict";i.__esModule=!0,i.zipWith=i.zip=i.uniqBy=i.uniq=i.toKeyedArray=i.toArray=i.sortBy=i.sort=i.reduce=i.range=i.map=i.filterMap=i.filter=void 0;function t(R,x){var d=typeof Symbol!="undefined"&&R[Symbol.iterator]||R["@@iterator"];if(d)return(d=d.call(R)).next.bind(d);if(Array.isArray(R)||(d=r(R))||x&&R&&typeof R.length=="number"){d&&(R=d);var m=0;return function(){return m>=R.length?{done:!0}:{done:!1,value:R[m++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(R,x){if(R){if(typeof R=="string")return n(R,x);var d=Object.prototype.toString.call(R).slice(8,-1);if(d==="Object"&&R.constructor&&(d=R.constructor.name),d==="Map"||d==="Set")return Array.from(R);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return n(R,x)}}function n(R,x){(x==null||x>R.length)&&(x=R.length);for(var d=0,m=new Array(x);d<x;d++)m[d]=R[d];return m}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var e=i.toArray=function(){function P(A){if(Array.isArray(A))return A;if(typeof A=="object"){var d=Object.prototype.hasOwnProperty,y=[];for(var x in A)d.call(A,x)&&y.push(A[x]);return y}return[]}return P}(),a=i.toKeyedArray=function(){function P(A,d){return d===void 0&&(d="key"),s(function(y,x){var I;return Object.assign((I={},I[d]=x,I),y)})(A)}return P}(),o=i.filter=function(){function P(A){return function(d){if(d==null)return d;if(Array.isArray(d)){for(var y=[],x=0;x<d.length;x++){var I=d[x];A(I,x,d)&&y.push(I)}return y}throw new Error("filter() can't iterate on type "+typeof d)}}return P}(),s=i.map=function(){function P(A){return function(d){if(d==null)return d;if(Array.isArray(d)){for(var y=[],x=0;x<d.length;x++)y.push(A(d[x],x,d));return y}if(typeof d=="object"){var I=Object.prototype.hasOwnProperty,C=[];for(var b in d)I.call(d,b)&&C.push(A(d[b],b,d));return C}throw new Error("map() can't iterate on type "+typeof d)}}return P}(),c=i.filterMap=function(){function P(A,d){for(var y=[],x=t(A),I;!(I=x()).done;){var C=I.value,b=d(C);b!==void 0&&y.push(b)}return y}return P}(),v=function(A,d){for(var y=A.criteria,x=d.criteria,I=y.length,C=0;C<I;C++){var b=y[C],F=x[C];if(b<F)return-1;if(b>F)return 1}return 0},l=i.sortBy=function(){function P(){for(var A=arguments.length,d=new Array(A),y=0;y<A;y++)d[y]=arguments[y];return function(x){if(!Array.isArray(x))return x;for(var I=x.length,C=[],b=function(){function D(){var U=x[F];C.push({criteria:d.map(function(K){return K(U)}),value:U})}return D}(),F=0;F<I;F++)b();for(C.sort(v);I--;)C[I]=C[I].value;return C}}return P}(),h=i.sort=l(),S=i.range=function(){function P(A,d){return new Array(d-A).fill(null).map(function(y,x){return x+A})}return P}(),E=i.reduce=function(){function P(A,d){return function(y){var x=y.length,I,C;for(d===void 0?(I=1,C=y[0]):(I=0,C=d);I<x;I++)C=A(C,y[I],I,y);return C}}return P}(),O=i.uniqBy=function(){function P(A){return function(d){var y=d.length,x=[],I=A?[]:x,C=-1;t:for(;++C<y;){var b=d[C],F=A?A(b):b;if(b=b!==0?b:0,F===F){for(var D=I.length;D--;)if(I[D]===F)continue t;A&&I.push(F),x.push(b)}else I.includes(F)||(I!==x&&I.push(F),x.push(b))}return x}}return P}(),m=i.uniq=O(),g=i.zip=function(){function P(){for(var A=arguments.length,d=new Array(A),y=0;y<A;y++)d[y]=arguments[y];if(d.length!==0){for(var x=d.length,I=d[0].length,C=[],b=0;b<I;b++){for(var F=[],D=0;D<x;D++)F.push(d[D][b]);C.push(F)}return C}}return P}(),R=i.zipWith=function(){function P(A){return function(){return s(function(d){return A.apply(void 0,d)})(g.apply(void 0,arguments))}}return P}()},76548:function(u,i){"use strict";i.__esModule=!0,i.KEY=void 0;var t=i.KEY=function(r){return r.Alt="Alt",r.Backspace="Backspace",r.Control="Control",r.Delete="Delete",r.Down="Down",r.End="End",r.Enter="Enter",r.Escape="Esc",r.Home="Home",r.Insert="Insert",r.Left="Left",r.PageDown="PageDown",r.PageUp="PageUp",r.Right="Right",r.Shift="Shift",r.Space=" ",r.Tab="Tab",r.Up="Up",r}({})},60031:function(u,i){"use strict";i.__esModule=!0,i.perf=void 0;var t;/** - * Ghetto performance measurement tools. - * - * Uses NODE_ENV to remove itself from production builds. - * - * @file - * @copyright 2020 Aleksej Komarov - * @license MIT - */var r=60,n=1e3/r,e=!!((t=window.performance)!=null&&t.now),a={},o={},s=function(S,E){},c=function(S,E){if(0)var O,m,g},v=function(S){var E=S/n;return S.toFixed(S<10?1:0)+"ms ("+E.toFixed(2)+" frames)"},l=i.perf={mark:s,measure:c}},96417:function(u,i){"use strict";i.__esModule=!0,i.storage=i.IMPL_MEMORY=i.IMPL_LOCAL_STORAGE=i.IMPL_INDEXED_DB=void 0;function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return y};var d,y={},x=Object.prototype,I=x.hasOwnProperty,C=Object.defineProperty||function(k,q,tt){k[q]=tt.value},b=typeof Symbol=="function"?Symbol:{},F=b.iterator||"@@iterator",D=b.asyncIterator||"@@asyncIterator",U=b.toStringTag||"@@toStringTag";function K(k,q,tt){return Object.defineProperty(k,q,{value:tt,enumerable:!0,configurable:!0,writable:!0}),k[q]}try{K({},"")}catch(k){K=function(tt,lt,dt){return tt[lt]=dt}}function _(k,q,tt,lt){var dt=q&&q.prototype instanceof j?q:j,pt=Object.create(dt.prototype),Et=new $t(lt||[]);return C(pt,"_invoke",{value:St(k,tt,Et)}),pt}function G(k,q,tt){try{return{type:"normal",arg:k.call(q,tt)}}catch(lt){return{type:"throw",arg:lt}}}y.wrap=_;var H="suspendedStart",X="suspendedYield",N="executing",M="completed",L={};function j(){}function V(){}function Y(){}var at={};K(at,F,function(){return this});var ft=Object.getPrototypeOf,ht=ft&&ft(ft(At([])));ht&&ht!==x&&I.call(ht,F)&&(at=ht);var nt=Y.prototype=j.prototype=Object.create(at);function st(k){["next","throw","return"].forEach(function(q){K(k,q,function(tt){return this._invoke(q,tt)})})}function Rt(k,q){function tt(dt,pt,Et,et){var it=G(k[dt],k,pt);if(it.type!=="throw"){var yt=it.arg,ut=yt.value;return ut&&typeof ut=="object"&&I.call(ut,"__await")?q.resolve(ut.__await).then(function(It){tt("next",It,Et,et)},function(It){tt("throw",It,Et,et)}):q.resolve(ut).then(function(It){yt.value=It,Et(yt)},function(It){return tt("throw",It,Et,et)})}et(it.arg)}var lt;C(this,"_invoke",{value:function(){function dt(pt,Et){function et(){return new q(function(it,yt){tt(pt,Et,it,yt)})}return lt=lt?lt.then(et,et):et()}return dt}()})}function St(k,q,tt){var lt=H;return function(dt,pt){if(lt===N)throw new Error("Generator is already running");if(lt===M){if(dt==="throw")throw pt;return{value:d,done:!0}}for(tt.method=dt,tt.arg=pt;;){var Et=tt.delegate;if(Et){var et=gt(Et,tt);if(et){if(et===L)continue;return et}}if(tt.method==="next")tt.sent=tt._sent=tt.arg;else if(tt.method==="throw"){if(lt===H)throw lt=M,tt.arg;tt.dispatchException(tt.arg)}else tt.method==="return"&&tt.abrupt("return",tt.arg);lt=N;var it=G(k,q,tt);if(it.type==="normal"){if(lt=tt.done?M:X,it.arg===L)continue;return{value:it.arg,done:tt.done}}it.type==="throw"&&(lt=M,tt.method="throw",tt.arg=it.arg)}}}function gt(k,q){var tt=q.method,lt=k.iterator[tt];if(lt===d)return q.delegate=null,tt==="throw"&&k.iterator.return&&(q.method="return",q.arg=d,gt(k,q),q.method==="throw")||tt!=="return"&&(q.method="throw",q.arg=new TypeError("The iterator does not provide a '"+tt+"' method")),L;var dt=G(lt,k.iterator,q.arg);if(dt.type==="throw")return q.method="throw",q.arg=dt.arg,q.delegate=null,L;var pt=dt.arg;return pt?pt.done?(q[k.resultName]=pt.value,q.next=k.nextLoc,q.method!=="return"&&(q.method="next",q.arg=d),q.delegate=null,L):pt:(q.method="throw",q.arg=new TypeError("iterator result is not an object"),q.delegate=null,L)}function bt(k){var q={tryLoc:k[0]};1 in k&&(q.catchLoc=k[1]),2 in k&&(q.finallyLoc=k[2],q.afterLoc=k[3]),this.tryEntries.push(q)}function Mt(k){var q=k.completion||{};q.type="normal",delete q.arg,k.completion=q}function $t(k){this.tryEntries=[{tryLoc:"root"}],k.forEach(bt,this),this.reset(!0)}function At(k){if(k||k===""){var q=k[F];if(q)return q.call(k);if(typeof k.next=="function")return k;if(!isNaN(k.length)){var tt=-1,lt=function(){function dt(){for(;++tt<k.length;)if(I.call(k,tt))return dt.value=k[tt],dt.done=!1,dt;return dt.value=d,dt.done=!0,dt}return dt}();return lt.next=lt}}throw new TypeError(typeof k+" is not iterable")}return V.prototype=Y,C(nt,"constructor",{value:Y,configurable:!0}),C(Y,"constructor",{value:V,configurable:!0}),V.displayName=K(Y,U,"GeneratorFunction"),y.isGeneratorFunction=function(k){var q=typeof k=="function"&&k.constructor;return!!q&&(q===V||(q.displayName||q.name)==="GeneratorFunction")},y.mark=function(k){return Object.setPrototypeOf?Object.setPrototypeOf(k,Y):(k.__proto__=Y,K(k,U,"GeneratorFunction")),k.prototype=Object.create(nt),k},y.awrap=function(k){return{__await:k}},st(Rt.prototype),K(Rt.prototype,D,function(){return this}),y.AsyncIterator=Rt,y.async=function(k,q,tt,lt,dt){dt===void 0&&(dt=Promise);var pt=new Rt(_(k,q,tt,lt),dt);return y.isGeneratorFunction(q)?pt:pt.next().then(function(Et){return Et.done?Et.value:pt.next()})},st(nt),K(nt,U,"Generator"),K(nt,F,function(){return this}),K(nt,"toString",function(){return"[object Generator]"}),y.keys=function(k){var q=Object(k),tt=[];for(var lt in q)tt.push(lt);return tt.reverse(),function(){function dt(){for(;tt.length;){var pt=tt.pop();if(pt in q)return dt.value=pt,dt.done=!1,dt}return dt.done=!0,dt}return dt}()},y.values=At,$t.prototype={constructor:$t,reset:function(){function k(q){if(this.prev=0,this.next=0,this.sent=this._sent=d,this.done=!1,this.delegate=null,this.method="next",this.arg=d,this.tryEntries.forEach(Mt),!q)for(var tt in this)tt.charAt(0)==="t"&&I.call(this,tt)&&!isNaN(+tt.slice(1))&&(this[tt]=d)}return k}(),stop:function(){function k(){this.done=!0;var q=this.tryEntries[0].completion;if(q.type==="throw")throw q.arg;return this.rval}return k}(),dispatchException:function(){function k(q){if(this.done)throw q;var tt=this;function lt(yt,ut){return Et.type="throw",Et.arg=q,tt.next=yt,ut&&(tt.method="next",tt.arg=d),!!ut}for(var dt=this.tryEntries.length-1;dt>=0;--dt){var pt=this.tryEntries[dt],Et=pt.completion;if(pt.tryLoc==="root")return lt("end");if(pt.tryLoc<=this.prev){var et=I.call(pt,"catchLoc"),it=I.call(pt,"finallyLoc");if(et&&it){if(this.prev<pt.catchLoc)return lt(pt.catchLoc,!0);if(this.prev<pt.finallyLoc)return lt(pt.finallyLoc)}else if(et){if(this.prev<pt.catchLoc)return lt(pt.catchLoc,!0)}else{if(!it)throw new Error("try statement without catch or finally");if(this.prev<pt.finallyLoc)return lt(pt.finallyLoc)}}}}return k}(),abrupt:function(){function k(q,tt){for(var lt=this.tryEntries.length-1;lt>=0;--lt){var dt=this.tryEntries[lt];if(dt.tryLoc<=this.prev&&I.call(dt,"finallyLoc")&&this.prev<dt.finallyLoc){var pt=dt;break}}pt&&(q==="break"||q==="continue")&&pt.tryLoc<=tt&&tt<=pt.finallyLoc&&(pt=null);var Et=pt?pt.completion:{};return Et.type=q,Et.arg=tt,pt?(this.method="next",this.next=pt.finallyLoc,L):this.complete(Et)}return k}(),complete:function(){function k(q,tt){if(q.type==="throw")throw q.arg;return q.type==="break"||q.type==="continue"?this.next=q.arg:q.type==="return"?(this.rval=this.arg=q.arg,this.method="return",this.next="end"):q.type==="normal"&&tt&&(this.next=tt),L}return k}(),finish:function(){function k(q){for(var tt=this.tryEntries.length-1;tt>=0;--tt){var lt=this.tryEntries[tt];if(lt.finallyLoc===q)return this.complete(lt.completion,lt.afterLoc),Mt(lt),L}}return k}(),catch:function(){function k(q){for(var tt=this.tryEntries.length-1;tt>=0;--tt){var lt=this.tryEntries[tt];if(lt.tryLoc===q){var dt=lt.completion;if(dt.type==="throw"){var pt=dt.arg;Mt(lt)}return pt}}throw new Error("illegal catch attempt")}return k}(),delegateYield:function(){function k(q,tt,lt){return this.delegate={iterator:At(q),resultName:tt,nextLoc:lt},this.method==="next"&&(this.arg=d),L}return k}()},y}function r(d,y,x,I,C,b,F){try{var D=d[b](F),U=D.value}catch(K){x(K);return}D.done?y(U):Promise.resolve(U).then(I,C)}function n(d){return function(){var y=this,x=arguments;return new Promise(function(I,C){var b=d.apply(y,x);function F(U){r(b,I,C,F,D,"next",U)}function D(U){r(b,I,C,F,D,"throw",U)}F(void 0)})}}/** + */var e=i.toArray=function(){function R(x){if(Array.isArray(x))return x;if(typeof x=="object"){var d=Object.prototype.hasOwnProperty,m=[];for(var O in x)d.call(x,O)&&m.push(x[O]);return m}return[]}return R}(),a=i.toKeyedArray=function(){function R(x,d){return d===void 0&&(d="key"),s(function(m,O){var E;return Object.assign((E={},E[d]=O,E),m)})(x)}return R}(),o=i.filter=function(){function R(x){return function(d){if(d==null)return d;if(Array.isArray(d)){for(var m=[],O=0;O<d.length;O++){var E=d[O];x(E,O,d)&&m.push(E)}return m}throw new Error("filter() can't iterate on type "+typeof d)}}return R}(),s=i.map=function(){function R(x){return function(d){if(d==null)return d;if(Array.isArray(d)){for(var m=[],O=0;O<d.length;O++)m.push(x(d[O],O,d));return m}if(typeof d=="object"){var E=Object.prototype.hasOwnProperty,C=[];for(var b in d)E.call(d,b)&&C.push(x(d[b],b,d));return C}throw new Error("map() can't iterate on type "+typeof d)}}return R}(),c=i.filterMap=function(){function R(x,d){for(var m=[],O=t(x),E;!(E=O()).done;){var C=E.value,b=d(C);b!==void 0&&m.push(b)}return m}return R}(),v=function(x,d){for(var m=x.criteria,O=d.criteria,E=m.length,C=0;C<E;C++){var b=m[C],M=O[C];if(b<M)return-1;if(b>M)return 1}return 0},l=i.sortBy=function(){function R(){for(var x=arguments.length,d=new Array(x),m=0;m<x;m++)d[m]=arguments[m];return function(O){if(!Array.isArray(O))return O;for(var E=O.length,C=[],b=function(){function $(){var N=O[M];C.push({criteria:d.map(function(z){return z(N)}),value:N})}return $}(),M=0;M<E;M++)b();for(C.sort(v);E--;)C[E]=C[E].value;return C}}return R}(),h=i.sort=l(),I=i.range=function(){function R(x,d){return new Array(d-x).fill(null).map(function(m,O){return O+x})}return R}(),S=i.reduce=function(){function R(x,d){return function(m){var O=m.length,E,C;for(d===void 0?(E=1,C=m[0]):(E=0,C=d);E<O;E++)C=x(C,m[E],E,m);return C}}return R}(),T=i.uniqBy=function(){function R(x){return function(d){var m=d.length,O=[],E=x?[]:O,C=-1;t:for(;++C<m;){var b=d[C],M=x?x(b):b;if(b=b!==0?b:0,M===M){for(var $=E.length;$--;)if(E[$]===M)continue t;x&&E.push(M),O.push(b)}else E.includes(M)||(E!==O&&E.push(M),O.push(b))}return O}}return R}(),y=i.uniq=T(),g=i.zip=function(){function R(){for(var x=arguments.length,d=new Array(x),m=0;m<x;m++)d[m]=arguments[m];if(d.length!==0){for(var O=d.length,E=d[0].length,C=[],b=0;b<E;b++){for(var M=[],$=0;$<O;$++)M.push(d[$][b]);C.push(M)}return C}}return R}(),P=i.zipWith=function(){function R(x){return function(){return s(function(d){return x.apply(void 0,d)})(g.apply(void 0,arguments))}}return R}()},41161:function(u,i){"use strict";i.__esModule=!0,i.KEY=void 0;var t=i.KEY=function(r){return r.Alt="Alt",r.Backspace="Backspace",r.Control="Control",r.Delete="Delete",r.Down="Down",r.End="End",r.Enter="Enter",r.Escape="Esc",r.Home="Home",r.Insert="Insert",r.Left="Left",r.PageDown="PageDown",r.PageUp="PageUp",r.Right="Right",r.Shift="Shift",r.Space=" ",r.Tab="Tab",r.Up="Up",r}({})},66450:function(u,i){"use strict";i.__esModule=!0,i.storage=i.IMPL_MEMORY=i.IMPL_LOCAL_STORAGE=i.IMPL_INDEXED_DB=void 0;function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return m};var d,m={},O=Object.prototype,E=O.hasOwnProperty,C=Object.defineProperty||function(k,q,tt){k[q]=tt.value},b=typeof Symbol=="function"?Symbol:{},M=b.iterator||"@@iterator",$=b.asyncIterator||"@@asyncIterator",N=b.toStringTag||"@@toStringTag";function z(k,q,tt){return Object.defineProperty(k,q,{value:tt,enumerable:!0,configurable:!0,writable:!0}),k[q]}try{z({},"")}catch(k){z=function(tt,ct,vt){return tt[ct]=vt}}function Q(k,q,tt,ct){var vt=q&&q.prototype instanceof j?q:j,ht=Object.create(vt.prototype),St=new $t(ct||[]);return C(ht,"_invoke",{value:It(k,tt,St)}),ht}function G(k,q,tt){try{return{type:"normal",arg:k.call(q,tt)}}catch(ct){return{type:"throw",arg:ct}}}m.wrap=Q;var K="suspendedStart",_="suspendedYield",U="executing",L="completed",F={};function j(){}function V(){}function Y(){}var it={};z(it,M,function(){return this});var dt=Object.getPrototypeOf,pt=dt&&dt(dt(At([])));pt&&pt!==O&&E.call(pt,M)&&(it=pt);var ot=Y.prototype=j.prototype=Object.create(it);function lt(k){["next","throw","return"].forEach(function(q){z(k,q,function(tt){return this._invoke(q,tt)})})}function Ct(k,q){function tt(vt,ht,St,nt){var ut=G(k[vt],k,ht);if(ut.type!=="throw"){var gt=ut.arg,at=gt.value;return at&&typeof at=="object"&&E.call(at,"__await")?q.resolve(at.__await).then(function(Et){tt("next",Et,St,nt)},function(Et){tt("throw",Et,St,nt)}):q.resolve(at).then(function(Et){gt.value=Et,St(gt)},function(Et){return tt("throw",Et,St,nt)})}nt(ut.arg)}var ct;C(this,"_invoke",{value:function(){function vt(ht,St){function nt(){return new q(function(ut,gt){tt(ht,St,ut,gt)})}return ct=ct?ct.then(nt,nt):nt()}return vt}()})}function It(k,q,tt){var ct=K;return function(vt,ht){if(ct===U)throw Error("Generator is already running");if(ct===L){if(vt==="throw")throw ht;return{value:d,done:!0}}for(tt.method=vt,tt.arg=ht;;){var St=tt.delegate;if(St){var nt=yt(St,tt);if(nt){if(nt===F)continue;return nt}}if(tt.method==="next")tt.sent=tt._sent=tt.arg;else if(tt.method==="throw"){if(ct===K)throw ct=L,tt.arg;tt.dispatchException(tt.arg)}else tt.method==="return"&&tt.abrupt("return",tt.arg);ct=U;var ut=G(k,q,tt);if(ut.type==="normal"){if(ct=tt.done?L:_,ut.arg===F)continue;return{value:ut.arg,done:tt.done}}ut.type==="throw"&&(ct=L,tt.method="throw",tt.arg=ut.arg)}}}function yt(k,q){var tt=q.method,ct=k.iterator[tt];if(ct===d)return q.delegate=null,tt==="throw"&&k.iterator.return&&(q.method="return",q.arg=d,yt(k,q),q.method==="throw")||tt!=="return"&&(q.method="throw",q.arg=new TypeError("The iterator does not provide a '"+tt+"' method")),F;var vt=G(ct,k.iterator,q.arg);if(vt.type==="throw")return q.method="throw",q.arg=vt.arg,q.delegate=null,F;var ht=vt.arg;return ht?ht.done?(q[k.resultName]=ht.value,q.next=k.nextLoc,q.method!=="return"&&(q.method="next",q.arg=d),q.delegate=null,F):ht:(q.method="throw",q.arg=new TypeError("iterator result is not an object"),q.delegate=null,F)}function bt(k){var q={tryLoc:k[0]};1 in k&&(q.catchLoc=k[1]),2 in k&&(q.finallyLoc=k[2],q.afterLoc=k[3]),this.tryEntries.push(q)}function Mt(k){var q=k.completion||{};q.type="normal",delete q.arg,k.completion=q}function $t(k){this.tryEntries=[{tryLoc:"root"}],k.forEach(bt,this),this.reset(!0)}function At(k){if(k||k===""){var q=k[M];if(q)return q.call(k);if(typeof k.next=="function")return k;if(!isNaN(k.length)){var tt=-1,ct=function(){function vt(){for(;++tt<k.length;)if(E.call(k,tt))return vt.value=k[tt],vt.done=!1,vt;return vt.value=d,vt.done=!0,vt}return vt}();return ct.next=ct}}throw new TypeError(typeof k+" is not iterable")}return V.prototype=Y,C(ot,"constructor",{value:Y,configurable:!0}),C(Y,"constructor",{value:V,configurable:!0}),V.displayName=z(Y,N,"GeneratorFunction"),m.isGeneratorFunction=function(k){var q=typeof k=="function"&&k.constructor;return!!q&&(q===V||(q.displayName||q.name)==="GeneratorFunction")},m.mark=function(k){return Object.setPrototypeOf?Object.setPrototypeOf(k,Y):(k.__proto__=Y,z(k,N,"GeneratorFunction")),k.prototype=Object.create(ot),k},m.awrap=function(k){return{__await:k}},lt(Ct.prototype),z(Ct.prototype,$,function(){return this}),m.AsyncIterator=Ct,m.async=function(k,q,tt,ct,vt){vt===void 0&&(vt=Promise);var ht=new Ct(Q(k,q,tt,ct),vt);return m.isGeneratorFunction(q)?ht:ht.next().then(function(St){return St.done?St.value:ht.next()})},lt(ot),z(ot,N,"Generator"),z(ot,M,function(){return this}),z(ot,"toString",function(){return"[object Generator]"}),m.keys=function(k){var q=Object(k),tt=[];for(var ct in q)tt.push(ct);return tt.reverse(),function(){function vt(){for(;tt.length;){var ht=tt.pop();if(ht in q)return vt.value=ht,vt.done=!1,vt}return vt.done=!0,vt}return vt}()},m.values=At,$t.prototype={constructor:$t,reset:function(){function k(q){if(this.prev=0,this.next=0,this.sent=this._sent=d,this.done=!1,this.delegate=null,this.method="next",this.arg=d,this.tryEntries.forEach(Mt),!q)for(var tt in this)tt.charAt(0)==="t"&&E.call(this,tt)&&!isNaN(+tt.slice(1))&&(this[tt]=d)}return k}(),stop:function(){function k(){this.done=!0;var q=this.tryEntries[0].completion;if(q.type==="throw")throw q.arg;return this.rval}return k}(),dispatchException:function(){function k(q){if(this.done)throw q;var tt=this;function ct(gt,at){return St.type="throw",St.arg=q,tt.next=gt,at&&(tt.method="next",tt.arg=d),!!at}for(var vt=this.tryEntries.length-1;vt>=0;--vt){var ht=this.tryEntries[vt],St=ht.completion;if(ht.tryLoc==="root")return ct("end");if(ht.tryLoc<=this.prev){var nt=E.call(ht,"catchLoc"),ut=E.call(ht,"finallyLoc");if(nt&&ut){if(this.prev<ht.catchLoc)return ct(ht.catchLoc,!0);if(this.prev<ht.finallyLoc)return ct(ht.finallyLoc)}else if(nt){if(this.prev<ht.catchLoc)return ct(ht.catchLoc,!0)}else{if(!ut)throw Error("try statement without catch or finally");if(this.prev<ht.finallyLoc)return ct(ht.finallyLoc)}}}}return k}(),abrupt:function(){function k(q,tt){for(var ct=this.tryEntries.length-1;ct>=0;--ct){var vt=this.tryEntries[ct];if(vt.tryLoc<=this.prev&&E.call(vt,"finallyLoc")&&this.prev<vt.finallyLoc){var ht=vt;break}}ht&&(q==="break"||q==="continue")&&ht.tryLoc<=tt&&tt<=ht.finallyLoc&&(ht=null);var St=ht?ht.completion:{};return St.type=q,St.arg=tt,ht?(this.method="next",this.next=ht.finallyLoc,F):this.complete(St)}return k}(),complete:function(){function k(q,tt){if(q.type==="throw")throw q.arg;return q.type==="break"||q.type==="continue"?this.next=q.arg:q.type==="return"?(this.rval=this.arg=q.arg,this.method="return",this.next="end"):q.type==="normal"&&tt&&(this.next=tt),F}return k}(),finish:function(){function k(q){for(var tt=this.tryEntries.length-1;tt>=0;--tt){var ct=this.tryEntries[tt];if(ct.finallyLoc===q)return this.complete(ct.completion,ct.afterLoc),Mt(ct),F}}return k}(),catch:function(){function k(q){for(var tt=this.tryEntries.length-1;tt>=0;--tt){var ct=this.tryEntries[tt];if(ct.tryLoc===q){var vt=ct.completion;if(vt.type==="throw"){var ht=vt.arg;Mt(ct)}return ht}}throw Error("illegal catch attempt")}return k}(),delegateYield:function(){function k(q,tt,ct){return this.delegate={iterator:At(q),resultName:tt,nextLoc:ct},this.method==="next"&&(this.arg=d),F}return k}()},m}function r(d,m,O,E,C,b,M){try{var $=d[b](M),N=$.value}catch(z){O(z);return}$.done?m(N):Promise.resolve(N).then(E,C)}function n(d){return function(){var m=this,O=arguments;return new Promise(function(E,C){var b=d.apply(m,O);function M(N){r(b,E,C,M,$,"next",N)}function $(N){r(b,E,C,M,$,"throw",N)}M(void 0)})}}/** * Browser-agnostic abstraction of key-value web storage. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var e=i.IMPL_MEMORY=0,a=i.IMPL_LOCAL_STORAGE=1,o=i.IMPL_INDEXED_DB=2,s=1,c="para-tgui",v="storage-v1",l="readonly",h="readwrite",S=function(y){return function(){try{return!!y()}catch(x){return!1}}},E=S(function(){return window.localStorage&&window.localStorage.getItem}),O=S(function(){return(window.indexedDB||window.msIndexedDB)&&(window.IDBTransaction||window.msIDBTransaction)}),m=function(){function d(){this.impl=e,this.store={}}var y=d.prototype;return y.get=function(){function x(I){return this.store[I]}return x}(),y.set=function(){function x(I,C){this.store[I]=C}return x}(),y.remove=function(){function x(I){this.store[I]=void 0}return x}(),y.clear=function(){function x(){this.store={}}return x}(),d}(),g=function(){function d(){this.impl=a}var y=d.prototype;return y.get=function(){function x(I){var C=localStorage.getItem(I);if(typeof C=="string")return JSON.parse(C)}return x}(),y.set=function(){function x(I,C){localStorage.setItem(I,JSON.stringify(C))}return x}(),y.remove=function(){function x(I){localStorage.removeItem(I)}return x}(),y.clear=function(){function x(){localStorage.clear()}return x}(),d}(),R=function(){function d(){this.impl=o,this.dbPromise=new Promise(function(x,I){var C=window.indexedDB||window.msIndexedDB,b=C.open(c,s);b.onupgradeneeded=function(){try{b.result.createObjectStore(v)}catch(F){I(new Error("Failed to upgrade IDB: "+b.error))}},b.onsuccess=function(){return x(b.result)},b.onerror=function(){I(new Error("Failed to open IDB: "+b.error))}})}var y=d.prototype;return y.getStore=function(){function x(I){return this.dbPromise.then(function(C){return C.transaction(v,I).objectStore(v)})}return x}(),y.get=function(){var x=n(t().mark(function(){function C(b){var F;return t().wrap(function(){function D(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,this.getStore(l);case 2:return F=U.sent,U.abrupt("return",new Promise(function(K,_){var G=F.get(b);G.onsuccess=function(){return K(G.result)},G.onerror=function(){return _(G.error)}}));case 4:case"end":return U.stop()}}return D}(),C,this)}return C}()));function I(C){return x.apply(this,arguments)}return I}(),y.set=function(){var x=n(t().mark(function(){function C(b,F){var D;return t().wrap(function(){function U(K){for(;;)switch(K.prev=K.next){case 0:return F===null&&(F=void 0),K.next=3,this.getStore(h);case 3:D=K.sent,D.put(F,b);case 5:case"end":return K.stop()}}return U}(),C,this)}return C}()));function I(C,b){return x.apply(this,arguments)}return I}(),y.remove=function(){var x=n(t().mark(function(){function C(b){var F;return t().wrap(function(){function D(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,this.getStore(h);case 2:F=U.sent,F.delete(b);case 4:case"end":return U.stop()}}return D}(),C,this)}return C}()));function I(C){return x.apply(this,arguments)}return I}(),y.clear=function(){var x=n(t().mark(function(){function C(){var b;return t().wrap(function(){function F(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,this.getStore(h);case 2:b=D.sent,b.clear();case 4:case"end":return D.stop()}}return F}(),C,this)}return C}()));function I(){return x.apply(this,arguments)}return I}(),d}(),P=function(){function d(){this.backendPromise=n(t().mark(function(){function x(){var I;return t().wrap(function(){function C(b){for(;;)switch(b.prev=b.next){case 0:if(!O()){b.next=10;break}return b.prev=1,I=new R,b.next=5,I.dbPromise;case 5:return b.abrupt("return",I);case 8:b.prev=8,b.t0=b.catch(1);case 10:if(!E()){b.next=12;break}return b.abrupt("return",new g);case 12:return b.abrupt("return",new m);case 13:case"end":return b.stop()}}return C}(),x,null,[[1,8]])}return x}()))()}var y=d.prototype;return y.get=function(){var x=n(t().mark(function(){function C(b){var F;return t().wrap(function(){function D(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,this.backendPromise;case 2:return F=U.sent,U.abrupt("return",F.get(b));case 4:case"end":return U.stop()}}return D}(),C,this)}return C}()));function I(C){return x.apply(this,arguments)}return I}(),y.set=function(){var x=n(t().mark(function(){function C(b,F){var D;return t().wrap(function(){function U(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,this.backendPromise;case 2:return D=K.sent,K.abrupt("return",D.set(b,F));case 4:case"end":return K.stop()}}return U}(),C,this)}return C}()));function I(C,b){return x.apply(this,arguments)}return I}(),y.remove=function(){var x=n(t().mark(function(){function C(b){var F;return t().wrap(function(){function D(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,this.backendPromise;case 2:return F=U.sent,U.abrupt("return",F.remove(b));case 4:case"end":return U.stop()}}return D}(),C,this)}return C}()));function I(C){return x.apply(this,arguments)}return I}(),y.clear=function(){var x=n(t().mark(function(){function C(){var b;return t().wrap(function(){function F(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,this.backendPromise;case 2:return b=D.sent,D.abrupt("return",b.clear());case 4:case"end":return D.stop()}}return F}(),C,this)}return C}()));function I(){return x.apply(this,arguments)}return I}(),d}(),A=i.storage=new P},32742:function(u,i){"use strict";i.__esModule=!0,i.throttle=i.sleep=i.debounce=void 0;/** + */var e=i.IMPL_MEMORY=0,a=i.IMPL_LOCAL_STORAGE=1,o=i.IMPL_INDEXED_DB=2,s=1,c="para-tgui",v="storage-v1",l="readonly",h="readwrite",I=function(m){return function(){try{return!!m()}catch(O){return!1}}},S=I(function(){return window.localStorage&&window.localStorage.getItem}),T=I(function(){return(window.indexedDB||window.msIndexedDB)&&(window.IDBTransaction||window.msIDBTransaction)}),y=function(){function d(){this.impl=e,this.store={}}var m=d.prototype;return m.get=function(){function O(E){return this.store[E]}return O}(),m.set=function(){function O(E,C){this.store[E]=C}return O}(),m.remove=function(){function O(E){this.store[E]=void 0}return O}(),m.clear=function(){function O(){this.store={}}return O}(),d}(),g=function(){function d(){this.impl=a}var m=d.prototype;return m.get=function(){function O(E){var C=localStorage.getItem(E);if(typeof C=="string")return JSON.parse(C)}return O}(),m.set=function(){function O(E,C){localStorage.setItem(E,JSON.stringify(C))}return O}(),m.remove=function(){function O(E){localStorage.removeItem(E)}return O}(),m.clear=function(){function O(){localStorage.clear()}return O}(),d}(),P=function(){function d(){this.impl=o,this.dbPromise=new Promise(function(O,E){var C=window.indexedDB||window.msIndexedDB,b=C.open(c,s);b.onupgradeneeded=function(){try{b.result.createObjectStore(v)}catch(M){E(new Error("Failed to upgrade IDB: "+b.error))}},b.onsuccess=function(){return O(b.result)},b.onerror=function(){E(new Error("Failed to open IDB: "+b.error))}})}var m=d.prototype;return m.getStore=function(){function O(E){return this.dbPromise.then(function(C){return C.transaction(v,E).objectStore(v)})}return O}(),m.get=function(){var O=n(t().mark(function(){function C(b){var M;return t().wrap(function(){function $(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,this.getStore(l);case 2:return M=N.sent,N.abrupt("return",new Promise(function(z,Q){var G=M.get(b);G.onsuccess=function(){return z(G.result)},G.onerror=function(){return Q(G.error)}}));case 4:case"end":return N.stop()}}return $}(),C,this)}return C}()));function E(C){return O.apply(this,arguments)}return E}(),m.set=function(){var O=n(t().mark(function(){function C(b,M){var $;return t().wrap(function(){function N(z){for(;;)switch(z.prev=z.next){case 0:return M===null&&(M=void 0),z.next=3,this.getStore(h);case 3:$=z.sent,$.put(M,b);case 5:case"end":return z.stop()}}return N}(),C,this)}return C}()));function E(C,b){return O.apply(this,arguments)}return E}(),m.remove=function(){var O=n(t().mark(function(){function C(b){var M;return t().wrap(function(){function $(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,this.getStore(h);case 2:M=N.sent,M.delete(b);case 4:case"end":return N.stop()}}return $}(),C,this)}return C}()));function E(C){return O.apply(this,arguments)}return E}(),m.clear=function(){var O=n(t().mark(function(){function C(){var b;return t().wrap(function(){function M($){for(;;)switch($.prev=$.next){case 0:return $.next=2,this.getStore(h);case 2:b=$.sent,b.clear();case 4:case"end":return $.stop()}}return M}(),C,this)}return C}()));function E(){return O.apply(this,arguments)}return E}(),d}(),R=function(){function d(){this.backendPromise=n(t().mark(function(){function O(){var E;return t().wrap(function(){function C(b){for(;;)switch(b.prev=b.next){case 0:if(!T()){b.next=10;break}return b.prev=1,E=new P,b.next=5,E.dbPromise;case 5:return b.abrupt("return",E);case 8:b.prev=8,b.t0=b.catch(1);case 10:if(!S()){b.next=12;break}return b.abrupt("return",new g);case 12:return b.abrupt("return",new y);case 13:case"end":return b.stop()}}return C}(),O,null,[[1,8]])}return O}()))()}var m=d.prototype;return m.get=function(){var O=n(t().mark(function(){function C(b){var M;return t().wrap(function(){function $(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,this.backendPromise;case 2:return M=N.sent,N.abrupt("return",M.get(b));case 4:case"end":return N.stop()}}return $}(),C,this)}return C}()));function E(C){return O.apply(this,arguments)}return E}(),m.set=function(){var O=n(t().mark(function(){function C(b,M){var $;return t().wrap(function(){function N(z){for(;;)switch(z.prev=z.next){case 0:return z.next=2,this.backendPromise;case 2:return $=z.sent,z.abrupt("return",$.set(b,M));case 4:case"end":return z.stop()}}return N}(),C,this)}return C}()));function E(C,b){return O.apply(this,arguments)}return E}(),m.remove=function(){var O=n(t().mark(function(){function C(b){var M;return t().wrap(function(){function $(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,this.backendPromise;case 2:return M=N.sent,N.abrupt("return",M.remove(b));case 4:case"end":return N.stop()}}return $}(),C,this)}return C}()));function E(C){return O.apply(this,arguments)}return E}(),m.clear=function(){var O=n(t().mark(function(){function C(){var b;return t().wrap(function(){function M($){for(;;)switch($.prev=$.next){case 0:return $.next=2,this.backendPromise;case 2:return b=$.sent,$.abrupt("return",b.clear());case 4:case"end":return $.stop()}}return M}(),C,this)}return C}()));function E(){return O.apply(this,arguments)}return E}(),d}(),x=i.storage=new R},56052:function(u,i){"use strict";i.__esModule=!0,i.throttle=i.sleep=i.debounce=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=i.debounce=function(){function e(a,o,s){s===void 0&&(s=!1);var c;return function(){for(var v=arguments.length,l=new Array(v),h=0;h<v;h++)l[h]=arguments[h];var S=function(){function O(){c=null,s||a.apply(void 0,l)}return O}(),E=s&&!c;clearTimeout(c),c=setTimeout(S,o),E&&a.apply(void 0,l)}}return e}(),r=i.sleep=function(){function e(a){return new Promise(function(o){return setTimeout(o,a)})}return e}(),n=i.throttle=function(){function e(a,o){var s,c;return function(){function v(){for(var l=arguments.length,h=new Array(l),S=0;S<l;S++)h[S]=arguments[S];var E=Date.now();if(c&&clearTimeout(c),!s||E-s>=o)a.apply(null,h),s=E;else{var O;c=setTimeout(function(){return v.apply(void 0,h)},o-(E-((O=s)!=null?O:0)))}}return v}()}return e}()},41202:function(u,i,t){"use strict";i.__esModule=!0,i.vecSubtract=i.vecScale=i.vecNormalize=i.vecMultiply=i.vecLength=i.vecInverse=i.vecDivide=i.vecAdd=void 0;var r=t(72026);/** + */var t=i.debounce=function(){function e(a,o,s){s===void 0&&(s=!1);var c;return function(){for(var v=arguments.length,l=new Array(v),h=0;h<v;h++)l[h]=arguments[h];var I=function(){function T(){c=null,s||a.apply(void 0,l)}return T}(),S=s&&!c;clearTimeout(c),c=setTimeout(I,o),S&&a.apply(void 0,l)}}return e}(),r=i.sleep=function(){function e(a){return new Promise(function(o){return setTimeout(o,a)})}return e}(),n=i.throttle=function(){function e(a,o){var s,c;return function(){function v(){for(var l=arguments.length,h=new Array(l),I=0;I<l;I++)h[I]=arguments[I];var S=Date.now();if(c&&clearTimeout(c),!s||S-s>=o)a.apply(null,h),s=S;else{var T;c=setTimeout(function(){return v.apply(void 0,h)},o-(S-((T=s)!=null?T:0)))}}return v}()}return e}()},73564:function(u,i,t){"use strict";i.__esModule=!0,i.vecSubtract=i.vecScale=i.vecNormalize=i.vecMultiply=i.vecLength=i.vecInverse=i.vecDivide=i.vecAdd=void 0;var r=t(50640);/** * N-dimensional vector manipulation functions. * * Vectors are plain number arrays, i.e. [x, y, z]. @@ -28,16 +20,16 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=function(g,R){return g+R},e=function(g,R){return g-R},a=function(g,R){return g*R},o=function(g,R){return g/R},s=i.vecAdd=function(){function m(){for(var g=arguments.length,R=new Array(g),P=0;P<g;P++)R[P]=arguments[P];return(0,r.reduce)(function(A,d){return(0,r.zipWith)(n)(A,d)})(R)}return m}(),c=i.vecSubtract=function(){function m(){for(var g=arguments.length,R=new Array(g),P=0;P<g;P++)R[P]=arguments[P];return(0,r.reduce)(function(A,d){return(0,r.zipWith)(e)(A,d)})(R)}return m}(),v=i.vecMultiply=function(){function m(){for(var g=arguments.length,R=new Array(g),P=0;P<g;P++)R[P]=arguments[P];return(0,r.reduce)(function(A,d){return(0,r.zipWith)(a)(A,d)})(R)}return m}(),l=i.vecDivide=function(){function m(){for(var g=arguments.length,R=new Array(g),P=0;P<g;P++)R[P]=arguments[P];return(0,r.reduce)(function(A,d){return(0,r.zipWith)(o)(A,d)})(R)}return m}(),h=i.vecScale=function(){function m(g,R){return(0,r.map)(function(P){return P*R})(g)}return m}(),S=i.vecInverse=function(){function m(g){return(0,r.map)(function(R){return-R})(g)}return m}(),E=i.vecLength=function(){function m(g){return Math.sqrt((0,r.reduce)(n)((0,r.zipWith)(a)(g,g)))}return m}(),O=i.vecNormalize=function(){function m(g){return l(g,E(g))}return m}()},17579:function(u,i){"use strict";i.__esModule=!0,i.ChannelIterator=void 0;var t=i.ChannelIterator=function(){function r(){this.index=0,this.channels=["Say","Radio","Whisper","Me","OOC","LOOC","Mentor","Admin","Dsay"],this.blacklist=["Mentor","Admin","Dsay"],this.quiet=["OOC","LOOC","Mentor","Admin","Dsay"]}var n=r.prototype;return n.next=function(){function e(){if(this.blacklist.includes(this.channels[this.index]))return this.channels[this.index];for(var a=1;a<=this.channels.length;a++){var o=(this.index+a)%this.channels.length;if(!this.blacklist.includes(this.channels[o])){this.index=o;break}}return this.channels[this.index]}return e}(),n.isCurrentChannelBlacklisted=function(){function e(){return this.blacklist.includes(this.channels[this.index])}return e}(),n.set=function(){function e(a){this.index=this.channels.indexOf(a)||0}return e}(),n.current=function(){function e(){return this.channels[this.index]}return e}(),n.isMe=function(){function e(){return this.channels[this.index]==="Me"}return e}(),n.isSay=function(){function e(){return this.channels[this.index]==="Say"}return e}(),n.isVisible=function(){function e(){return!this.quiet.includes(this.channels[this.index])}return e}(),n.reset=function(){function e(){this.index=0}return e}(),r}()},21456:function(u,i){"use strict";i.__esModule=!0,i.ChatHistory=void 0;var t=i.ChatHistory=function(){function r(){this.messages=[],this.index=-1,this.temp=null}var n=r.prototype;return n.add=function(){function e(a){this.messages.unshift(a),this.index=-1,this.messages.length>5&&this.messages.pop()}return e}(),n.getIndex=function(){function e(){return this.index+1}return e}(),n.getOlderMessage=function(){function e(){return this.messages.length===0||this.index>=this.messages.length-1?null:(this.index++,this.messages[this.index])}return e}(),n.getNewerMessage=function(){function e(){return this.index<=0?(this.index=-1,null):(this.index--,this.messages[this.index])}return e}(),n.isAtLatest=function(){function e(){return this.index===-1}return e}(),n.saveTemp=function(){function e(a){this.temp=a}return e}(),n.getTemp=function(){function e(){var a=this.temp;return this.temp=null,a}return e}(),n.reset=function(){function e(){this.index=-1,this.temp=null}return e}(),r}()},37994:function(u,i,t){"use strict";i.__esModule=!0,i.TguiSay=void 0;var r=t(28823),n=t(17579),e=t(21456),a=t(54661),o=t(57432),s=t(45360),c=t(36363),v=t(76548);function l(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function h(g,R){g.prototype=Object.create(R.prototype),g.prototype.constructor=g,S(g,R)}function S(g,R){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function P(A,d){return A.__proto__=d,A}return P}(),S(g,R)}var E=/^[:#.][^\s]\s/,O=i.TguiSay=function(g){h(R,g);function R(A){var d;return d=g.call(this,A)||this,d.channelIterator=void 0,d.chatHistory=void 0,d.currentPrefix=void 0,d.innerRef=void 0,d.lightMode=void 0,d.maxLength=void 0,d.messages=void 0,d.state=void 0,d.handleOpen=function(y){setTimeout(function(){var I;(I=d.innerRef.current)==null||I.focus()},0);var x=y.channel;d.channelIterator.isSay()&&d.channelIterator.set(x),d.setState({buttonContent:d.channelIterator.current()}),(0,c.windowOpen)(d.channelIterator.current())},d.handleProps=function(y){var x=y.maxLength,I=y.lightMode;d.maxLength=x,d.lightMode=!!I},d.channelIterator=new n.ChannelIterator,d.chatHistory=new e.ChatHistory,d.currentPrefix=null,d.innerRef=(0,r.createRef)(),d.lightMode=!1,d.maxLength=1024,d.messages=o.byondMessages,d.state={buttonContent:"",size:a.WINDOW_SIZES.small},d.handleArrowKeys=d.handleArrowKeys.bind(l(d)),d.handleBackspaceDelete=d.handleBackspaceDelete.bind(l(d)),d.handleClose=d.handleClose.bind(l(d)),d.handleEnter=d.handleEnter.bind(l(d)),d.handleIncrementChannel=d.handleIncrementChannel.bind(l(d)),d.handleInput=d.handleInput.bind(l(d)),d.handleKeyDown=d.handleKeyDown.bind(l(d)),d.handleOpen=d.handleOpen.bind(l(d)),d.handleProps=d.handleProps.bind(l(d)),d.reset=d.reset.bind(l(d)),d.setSize=d.setSize.bind(l(d)),d.setValue=d.setValue.bind(l(d)),d.handleButtonClick=d.handleButtonClick.bind(l(d)),d}var P=R.prototype;return P.componentDidMount=function(){function A(){Byond.subscribeTo("props",this.handleProps),Byond.subscribeTo("open",this.handleOpen)}return A}(),P.handleArrowKeys=function(){function A(d){var y,x=(y=this.innerRef.current)==null?void 0:y.value;if(d===v.KEY.Up){this.chatHistory.isAtLatest()&&x&&this.chatHistory.saveTemp(x);var I=this.chatHistory.getOlderMessage();I&&(this.setState({buttonContent:this.chatHistory.getIndex()}),this.setSize(I.length),this.setValue(I))}else{var C=this.chatHistory.getNewerMessage()||this.chatHistory.getTemp()||"",b=this.chatHistory.isAtLatest()?this.channelIterator.current():this.chatHistory.getIndex();this.setState({buttonContent:b}),this.setSize(C.length),this.setValue(C)}}return A}(),P.handleBackspaceDelete=function(){function A(){var d,y,x,I=(d=this.innerRef.current)==null?void 0:d.value;if(this.chatHistory.isAtLatest())this.currentPrefix&&this.channelIterator.isSay()&&(I==null?void 0:I.length)===0?(this.currentPrefix=null,this.setState({buttonContent:this.channelIterator.current()})):((y=this.innerRef.current)==null?void 0:y.selectionStart)===0&&((x=this.innerRef.current)==null?void 0:x.selectionEnd)===0&&!this.channelIterator.isCurrentChannelBlacklisted()&&(this.currentPrefix=null,this.channelIterator.set("Say"),this.setState({buttonContent:this.channelIterator.current()}));else{var C;this.chatHistory.reset(),this.setState({buttonContent:(C=this.currentPrefix)!=null?C:this.channelIterator.current()})}this.setSize(I==null?void 0:I.length)}return A}(),P.handleClose=function(){function A(){var d=this.innerRef.current;d&&d.blur(),this.reset(),this.chatHistory.reset(),this.channelIterator.reset(),this.currentPrefix=null,(0,c.windowClose)()}return A}(),P.handleEnter=function(){function A(){var d,y,x=(d=this.currentPrefix)!=null?d:"",I=(y=this.innerRef.current)==null?void 0:y.value;I!=null&&I.length&&I.length<this.maxLength&&(this.chatHistory.add(I),Byond.sendMessage("entry",{channel:this.channelIterator.current(),entry:this.channelIterator.isSay()?x+I:I})),this.handleClose()}return A}(),P.handleIncrementChannel=function(){function A(){this.channelIterator.isSay()&&this.currentPrefix===":b "&&this.messages.channelIncrementMsg(!0),this.currentPrefix=null,this.channelIterator.next(),this.channelIterator.isVisible()||this.messages.channelIncrementMsg(!1),this.setState({buttonContent:this.channelIterator.current()})}return A}(),P.handleButtonClick=function(){function A(d,y){var x;this.handleIncrementChannel();var I=(x=this.innerRef)==null?void 0:x.current;I&&(I.focus(),I.setSelectionRange(d,y))}return A}(),P.handleInput=function(){function A(){var d,y,x=(d=this.innerRef.current)==null?void 0:d.value;if(this.channelIterator.isVisible()&&this.currentPrefix!==":b "&&this.messages.typingMsg(this.channelIterator.isMe()),this.setSize(x==null?void 0:x.length),x&&x.slice(0,2)==="; "){this.channelIterator.set("Radio"),this.currentPrefix=null,this.setValue(x.slice(2)),this.setState({buttonContent:this.channelIterator.current()});return}if(!(!x||x.length<3)&&E.test(x)){var I=(y=x.slice(0,3))==null?void 0:y.toLowerCase();!a.RADIO_PREFIXES[I]||I===this.currentPrefix||(I===":b "&&Byond.sendMessage("thinking",{visible:!1}),this.channelIterator.set("Say"),this.currentPrefix=I,this.setState({buttonContent:a.RADIO_PREFIXES[I]}),this.setValue(x.slice(3)))}}return A}(),P.handleKeyDown=function(){function A(d){switch(d.key){case v.KEY.Up:case v.KEY.Down:d.preventDefault(),this.handleArrowKeys(d.key);break;case v.KEY.Delete:case v.KEY.Backspace:this.handleBackspaceDelete();break;case v.KEY.Enter:d.preventDefault(),this.handleEnter();break;case v.KEY.Tab:d.preventDefault(),this.handleIncrementChannel();break;case v.KEY.Escape:this.handleClose();break}}return A}(),P.reset=function(){function A(){this.setValue(""),this.setSize(),this.setState({buttonContent:this.channelIterator.current()})}return A}(),P.setSize=function(){function A(d){d===void 0&&(d=0);var y;d>a.LINE_LENGTHS.medium?y=a.WINDOW_SIZES.large:d<=a.LINE_LENGTHS.medium&&d>a.LINE_LENGTHS.small?y=a.WINDOW_SIZES.medium:y=a.WINDOW_SIZES.small,this.state.size!==y&&(this.setState({size:y}),(0,c.windowSet)(y))}return A}(),P.setValue=function(){function A(d){var y=this.innerRef.current;y&&(y.value=d)}return A}(),P.render=function(){function A(){var d=this,y=this.lightMode&&"lightMode"||this.currentPrefix&&a.RADIO_PREFIXES[this.currentPrefix]||this.channelIterator.current();return(0,r.createVNode)(1,"div","window window-"+y+" window-"+this.state.size,[(0,r.createComponentVNode)(2,m,{position:"top",theme:y}),(0,r.createVNode)(1,"div","center",[(0,r.createComponentVNode)(2,m,{position:"left",theme:y}),(0,r.createVNode)(1,"div","input",[(0,r.createVNode)(1,"button","button button-"+y,this.state.buttonContent,0,{onClick:function(){function x(){return d.handleButtonClick(d.innerRef.current.selectionStart,d.innerRef.current.selectionEnd)}return x}(),type:"button"}),(0,r.createVNode)(128,"textarea","textarea textarea-"+y,null,1,{maxLength:this.maxLength,onInput:this.handleInput,onKeyDown:this.handleKeyDown},null,this.innerRef)],8),(0,r.createComponentVNode)(2,m,{position:"right",theme:y})],8),(0,r.createComponentVNode)(2,m,{position:"bottom",theme:y})],8)}return A}(),R}(r.Component),m=function(R){var P=R.theme,A=R.position,d=A==="left"||A==="right"?"vertical":"horizontal";return(0,r.createVNode)(1,"div","dragzone-"+d+" dragzone-"+A+" dragzone-"+P,null,1,{onmousedown:s.dragStartHandler})}},54661:function(u,i){"use strict";i.__esModule=!0,i.WINDOW_SIZES=i.RADIO_PREFIXES=i.LINE_LENGTHS=void 0;var t=i.WINDOW_SIZES=function(e){return e[e.small=30]="small",e[e.medium=50]="medium",e[e.large=70]="large",e[e.width=275]="width",e}({}),r=i.LINE_LENGTHS=function(e){return e[e.small=26]="small",e[e.medium=54]="medium",e}({}),n=i.RADIO_PREFIXES={":r ":"R-Ear","#r ":"R-Ear",".r ":"R-Ear",":l ":"L-Ear","#l ":"L-Ear",".l ":"L-Ear",":i ":"Intercom","#i ":"Intercom",".i ":"Intercom",":h ":"Dept","#h ":"Dept",".h ":"Dept",".\u0440 ":"Dept",":\u0440 ":"Dept",":c ":"Cmd","#c ":"Cmd",".c ":"Cmd",".\u0441 ":"Cmd",":\u0441 ":"Cmd",":n ":"Sci","#n ":"Sci",".n ":"Sci",".\u0442 ":"Sci",":\u0442 ":"Sci",":m ":"Med","#m ":"Med",".m ":"Med",".\u044C ":"Med",":\u044C ":"Med",":x ":"Proc",".\u0447 ":"Proc",":\u0447 ":"Proc","#x ":"Proc",".x ":"Proc",":e ":"Engi","#e ":"Engi",".e ":"Engi",".\u0443 ":"Engi",":\u0443 ":"Engi",":s ":"Sec","#s ":"Sec",".s ":"Sec",".\u044B ":"Sec",":\u044B ":"Sec",":t ":"Synd","#t ":"Synd",".t ":"Synd",".\u0435 ":"Synd",":\u0435 ":"Synd",":u ":"Supp","#u ":"Supp",".u ":"Supp",".\u0433 ":"Supp",":\u0433 ":"Supp",":z ":"Serv","#z ":"Serv",".z ":"Serv",".\u044F ":"Serv",":\u044F ":"Serv",":p ":"AI","#p ":"AI",".p ":"AI",".\u0437 ":"AI",":\u0437 ":"AI",":$ ":"ERT","#$ ":"ERT",".$ ":"ERT",":- ":"SpecOps","#- ":"SpecOps",".- ":"SpecOps",":_ ":"SyndTeam","#_ ":"SyndTeam","._ ":"SyndTeam",":+ ":"Special","#+ ":"Special",".+ ":"Special",":b ":"Binary","#b ":"Binary",".b ":"Binary",".\u0438 ":"Binary",":\u0438 ":"Binary"}},36363:function(u,i,t){"use strict";i.__esModule=!0,i.windowSet=i.windowOpen=i.windowClose=void 0;var r=t(54661),n=i.windowOpen=function(){function s(c){o(!0),Byond.sendMessage("open",{channel:c})}return s}(),e=i.windowClose=function(){function s(){o(!1),Byond.winset("map",{focus:!0}),Byond.sendMessage("close")}return s}(),a=i.windowSet=function(){function s(c){c===void 0&&(c=r.WINDOW_SIZES.small);var v=r.WINDOW_SIZES.width+"x"+c;Byond.winset("tgui_say.browser",{size:v}),Byond.winset("tgui_say",{size:v})}return s}(),o=function(c){Byond.winset("tgui_say",{"is-visible":c,size:r.WINDOW_SIZES.width+"x"+r.WINDOW_SIZES.small})}},57432:function(u,i,t){"use strict";i.__esModule=!0,i.byondMessages=void 0;var r=t(32742),n=1e3,e=i.byondMessages={channelIncrementMsg:(0,r.debounce)(function(a){return Byond.sendMessage("thinking",{visible:a})},.4*n),typingMsg:(0,r.throttle)(function(a){return Byond.sendMessage("typing",{isMeChannel:a})},4*n)}},45360:function(u,i,t){"use strict";i.__esModule=!0,i.storeWindowGeometry=i.setupDrag=i.setWindowSize=i.setWindowPosition=i.setWindowKey=i.resizeStartHandler=i.recallWindowGeometry=i.getWindowSize=i.getWindowPosition=i.getScreenSize=i.getScreenPosition=i.dragStartHandler=void 0;var r=t(96417),n=t(41202),e=t(50175);function a(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return j};var L,j={},V=Object.prototype,Y=V.hasOwnProperty,at=Object.defineProperty||function(vt,J,Z){vt[J]=Z.value},ft=typeof Symbol=="function"?Symbol:{},ht=ft.iterator||"@@iterator",nt=ft.asyncIterator||"@@asyncIterator",st=ft.toStringTag||"@@toStringTag";function Rt(vt,J,Z){return Object.defineProperty(vt,J,{value:Z,enumerable:!0,configurable:!0,writable:!0}),vt[J]}try{Rt({},"")}catch(vt){Rt=function(Z,ot,rt){return Z[ot]=rt}}function St(vt,J,Z,ot){var rt=J&&J.prototype instanceof q?J:q,ct=Object.create(rt.prototype),wt=new Dt(ot||[]);return at(ct,"_invoke",{value:ut(vt,Z,wt)}),ct}function gt(vt,J,Z){try{return{type:"normal",arg:vt.call(J,Z)}}catch(ot){return{type:"throw",arg:ot}}}j.wrap=St;var bt="suspendedStart",Mt="suspendedYield",$t="executing",At="completed",k={};function q(){}function tt(){}function lt(){}var dt={};Rt(dt,ht,function(){return this});var pt=Object.getPrototypeOf,Et=pt&&pt(pt(Wt([])));Et&&Et!==V&&Y.call(Et,ht)&&(dt=Et);var et=lt.prototype=q.prototype=Object.create(dt);function it(vt){["next","throw","return"].forEach(function(J){Rt(vt,J,function(Z){return this._invoke(J,Z)})})}function yt(vt,J){function Z(rt,ct,wt,jt){var Ut=gt(vt[rt],vt,ct);if(Ut.type!=="throw"){var zt=Ut.arg,Gt=zt.value;return Gt&&typeof Gt=="object"&&Y.call(Gt,"__await")?J.resolve(Gt.__await).then(function(Kt){Z("next",Kt,wt,jt)},function(Kt){Z("throw",Kt,wt,jt)}):J.resolve(Gt).then(function(Kt){zt.value=Kt,wt(zt)},function(Kt){return Z("throw",Kt,wt,jt)})}jt(Ut.arg)}var ot;at(this,"_invoke",{value:function(){function rt(ct,wt){function jt(){return new J(function(Ut,zt){Z(ct,wt,Ut,zt)})}return ot=ot?ot.then(jt,jt):jt()}return rt}()})}function ut(vt,J,Z){var ot=bt;return function(rt,ct){if(ot===$t)throw new Error("Generator is already running");if(ot===At){if(rt==="throw")throw ct;return{value:L,done:!0}}for(Z.method=rt,Z.arg=ct;;){var wt=Z.delegate;if(wt){var jt=It(wt,Z);if(jt){if(jt===k)continue;return jt}}if(Z.method==="next")Z.sent=Z._sent=Z.arg;else if(Z.method==="throw"){if(ot===bt)throw ot=At,Z.arg;Z.dispatchException(Z.arg)}else Z.method==="return"&&Z.abrupt("return",Z.arg);ot=$t;var Ut=gt(vt,J,Z);if(Ut.type==="normal"){if(ot=Z.done?At:Mt,Ut.arg===k)continue;return{value:Ut.arg,done:Z.done}}Ut.type==="throw"&&(ot=At,Z.method="throw",Z.arg=Ut.arg)}}}function It(vt,J){var Z=J.method,ot=vt.iterator[Z];if(ot===L)return J.delegate=null,Z==="throw"&&vt.iterator.return&&(J.method="return",J.arg=L,It(vt,J),J.method==="throw")||Z!=="return"&&(J.method="throw",J.arg=new TypeError("The iterator does not provide a '"+Z+"' method")),k;var rt=gt(ot,vt.iterator,J.arg);if(rt.type==="throw")return J.method="throw",J.arg=rt.arg,J.delegate=null,k;var ct=rt.arg;return ct?ct.done?(J[vt.resultName]=ct.value,J.next=vt.nextLoc,J.method!=="return"&&(J.method="next",J.arg=L),J.delegate=null,k):ct:(J.method="throw",J.arg=new TypeError("iterator result is not an object"),J.delegate=null,k)}function Tt(vt){var J={tryLoc:vt[0]};1 in vt&&(J.catchLoc=vt[1]),2 in vt&&(J.finallyLoc=vt[2],J.afterLoc=vt[3]),this.tryEntries.push(J)}function Pt(vt){var J=vt.completion||{};J.type="normal",delete J.arg,vt.completion=J}function Dt(vt){this.tryEntries=[{tryLoc:"root"}],vt.forEach(Tt,this),this.reset(!0)}function Wt(vt){if(vt||vt===""){var J=vt[ht];if(J)return J.call(vt);if(typeof vt.next=="function")return vt;if(!isNaN(vt.length)){var Z=-1,ot=function(){function rt(){for(;++Z<vt.length;)if(Y.call(vt,Z))return rt.value=vt[Z],rt.done=!1,rt;return rt.value=L,rt.done=!0,rt}return rt}();return ot.next=ot}}throw new TypeError(typeof vt+" is not iterable")}return tt.prototype=lt,at(et,"constructor",{value:lt,configurable:!0}),at(lt,"constructor",{value:tt,configurable:!0}),tt.displayName=Rt(lt,st,"GeneratorFunction"),j.isGeneratorFunction=function(vt){var J=typeof vt=="function"&&vt.constructor;return!!J&&(J===tt||(J.displayName||J.name)==="GeneratorFunction")},j.mark=function(vt){return Object.setPrototypeOf?Object.setPrototypeOf(vt,lt):(vt.__proto__=lt,Rt(vt,st,"GeneratorFunction")),vt.prototype=Object.create(et),vt},j.awrap=function(vt){return{__await:vt}},it(yt.prototype),Rt(yt.prototype,nt,function(){return this}),j.AsyncIterator=yt,j.async=function(vt,J,Z,ot,rt){rt===void 0&&(rt=Promise);var ct=new yt(St(vt,J,Z,ot),rt);return j.isGeneratorFunction(J)?ct:ct.next().then(function(wt){return wt.done?wt.value:ct.next()})},it(et),Rt(et,st,"Generator"),Rt(et,ht,function(){return this}),Rt(et,"toString",function(){return"[object Generator]"}),j.keys=function(vt){var J=Object(vt),Z=[];for(var ot in J)Z.push(ot);return Z.reverse(),function(){function rt(){for(;Z.length;){var ct=Z.pop();if(ct in J)return rt.value=ct,rt.done=!1,rt}return rt.done=!0,rt}return rt}()},j.values=Wt,Dt.prototype={constructor:Dt,reset:function(){function vt(J){if(this.prev=0,this.next=0,this.sent=this._sent=L,this.done=!1,this.delegate=null,this.method="next",this.arg=L,this.tryEntries.forEach(Pt),!J)for(var Z in this)Z.charAt(0)==="t"&&Y.call(this,Z)&&!isNaN(+Z.slice(1))&&(this[Z]=L)}return vt}(),stop:function(){function vt(){this.done=!0;var J=this.tryEntries[0].completion;if(J.type==="throw")throw J.arg;return this.rval}return vt}(),dispatchException:function(){function vt(J){if(this.done)throw J;var Z=this;function ot(zt,Gt){return wt.type="throw",wt.arg=J,Z.next=zt,Gt&&(Z.method="next",Z.arg=L),!!Gt}for(var rt=this.tryEntries.length-1;rt>=0;--rt){var ct=this.tryEntries[rt],wt=ct.completion;if(ct.tryLoc==="root")return ot("end");if(ct.tryLoc<=this.prev){var jt=Y.call(ct,"catchLoc"),Ut=Y.call(ct,"finallyLoc");if(jt&&Ut){if(this.prev<ct.catchLoc)return ot(ct.catchLoc,!0);if(this.prev<ct.finallyLoc)return ot(ct.finallyLoc)}else if(jt){if(this.prev<ct.catchLoc)return ot(ct.catchLoc,!0)}else{if(!Ut)throw new Error("try statement without catch or finally");if(this.prev<ct.finallyLoc)return ot(ct.finallyLoc)}}}}return vt}(),abrupt:function(){function vt(J,Z){for(var ot=this.tryEntries.length-1;ot>=0;--ot){var rt=this.tryEntries[ot];if(rt.tryLoc<=this.prev&&Y.call(rt,"finallyLoc")&&this.prev<rt.finallyLoc){var ct=rt;break}}ct&&(J==="break"||J==="continue")&&ct.tryLoc<=Z&&Z<=ct.finallyLoc&&(ct=null);var wt=ct?ct.completion:{};return wt.type=J,wt.arg=Z,ct?(this.method="next",this.next=ct.finallyLoc,k):this.complete(wt)}return vt}(),complete:function(){function vt(J,Z){if(J.type==="throw")throw J.arg;return J.type==="break"||J.type==="continue"?this.next=J.arg:J.type==="return"?(this.rval=this.arg=J.arg,this.method="return",this.next="end"):J.type==="normal"&&Z&&(this.next=Z),k}return vt}(),finish:function(){function vt(J){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var ot=this.tryEntries[Z];if(ot.finallyLoc===J)return this.complete(ot.completion,ot.afterLoc),Pt(ot),k}}return vt}(),catch:function(){function vt(J){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var ot=this.tryEntries[Z];if(ot.tryLoc===J){var rt=ot.completion;if(rt.type==="throw"){var ct=rt.arg;Pt(ot)}return ct}}throw new Error("illegal catch attempt")}return vt}(),delegateYield:function(){function vt(J,Z,ot){return this.delegate={iterator:Wt(J),resultName:Z,nextLoc:ot},this.method==="next"&&(this.arg=L),k}return vt}()},j}function o(L,j,V,Y,at,ft,ht){try{var nt=L[ft](ht),st=nt.value}catch(Rt){V(Rt);return}nt.done?j(st):Promise.resolve(st).then(Y,at)}function s(L){return function(){var j=this,V=arguments;return new Promise(function(Y,at){var ft=L.apply(j,V);function ht(st){o(ft,Y,at,ht,nt,"next",st)}function nt(st){o(ft,Y,at,ht,nt,"throw",st)}ht(void 0)})}}/** + */var n=function(g,P){return g+P},e=function(g,P){return g-P},a=function(g,P){return g*P},o=function(g,P){return g/P},s=i.vecAdd=function(){function y(){for(var g=arguments.length,P=new Array(g),R=0;R<g;R++)P[R]=arguments[R];return(0,r.reduce)(function(x,d){return(0,r.zipWith)(n)(x,d)})(P)}return y}(),c=i.vecSubtract=function(){function y(){for(var g=arguments.length,P=new Array(g),R=0;R<g;R++)P[R]=arguments[R];return(0,r.reduce)(function(x,d){return(0,r.zipWith)(e)(x,d)})(P)}return y}(),v=i.vecMultiply=function(){function y(){for(var g=arguments.length,P=new Array(g),R=0;R<g;R++)P[R]=arguments[R];return(0,r.reduce)(function(x,d){return(0,r.zipWith)(a)(x,d)})(P)}return y}(),l=i.vecDivide=function(){function y(){for(var g=arguments.length,P=new Array(g),R=0;R<g;R++)P[R]=arguments[R];return(0,r.reduce)(function(x,d){return(0,r.zipWith)(o)(x,d)})(P)}return y}(),h=i.vecScale=function(){function y(g,P){return(0,r.map)(function(R){return R*P})(g)}return y}(),I=i.vecInverse=function(){function y(g){return(0,r.map)(function(P){return-P})(g)}return y}(),S=i.vecLength=function(){function y(g){return Math.sqrt((0,r.reduce)(n)((0,r.zipWith)(a)(g,g)))}return y}(),T=i.vecNormalize=function(){function y(g){return l(g,S(g))}return y}()},5260:function(u,i){"use strict";i.__esModule=!0,i.ChannelIterator=void 0;var t=i.ChannelIterator=function(){function r(){this.index=0,this.channels=["Say","Radio","Whisper","Me","OOC","LOOC","Mentor","Admin","Dsay"],this.blacklist=["Mentor","Admin","Dsay"],this.quiet=["OOC","LOOC","Mentor","Admin","Dsay"]}var n=r.prototype;return n.next=function(){function e(){if(this.blacklist.includes(this.channels[this.index]))return this.channels[this.index];for(var a=1;a<=this.channels.length;a++){var o=(this.index+a)%this.channels.length;if(!this.blacklist.includes(this.channels[o])){this.index=o;break}}return this.channels[this.index]}return e}(),n.isCurrentChannelBlacklisted=function(){function e(){return this.blacklist.includes(this.channels[this.index])}return e}(),n.set=function(){function e(a){this.index=this.channels.indexOf(a)||0}return e}(),n.current=function(){function e(){return this.channels[this.index]}return e}(),n.isMe=function(){function e(){return this.channels[this.index]==="Me"}return e}(),n.isSay=function(){function e(){return this.channels[this.index]==="Say"}return e}(),n.isVisible=function(){function e(){return!this.quiet.includes(this.channels[this.index])}return e}(),n.reset=function(){function e(){this.index=0}return e}(),r}()},60387:function(u,i){"use strict";i.__esModule=!0,i.ChatHistory=void 0;var t=i.ChatHistory=function(){function r(){this.messages=[],this.index=-1,this.temp=null}var n=r.prototype;return n.add=function(){function e(a){this.messages.unshift(a),this.index=-1,this.messages.length>5&&this.messages.pop()}return e}(),n.getIndex=function(){function e(){return this.index+1}return e}(),n.getOlderMessage=function(){function e(){return this.messages.length===0||this.index>=this.messages.length-1?null:(this.index++,this.messages[this.index])}return e}(),n.getNewerMessage=function(){function e(){return this.index<=0?(this.index=-1,null):(this.index--,this.messages[this.index])}return e}(),n.isAtLatest=function(){function e(){return this.index===-1}return e}(),n.saveTemp=function(){function e(a){this.temp=a}return e}(),n.getTemp=function(){function e(){var a=this.temp;return this.temp=null,a}return e}(),n.reset=function(){function e(){this.index=-1,this.temp=null}return e}(),r}()},33917:function(u,i,t){"use strict";i.__esModule=!0,i.TguiSay=void 0;var r=t(96524),n=t(5260),e=t(60387),a=t(87048),o=t(86195),s=t(83987),c=t(43839),v=t(41161);function l(g,P){g.prototype=Object.create(P.prototype),g.prototype.constructor=g,h(g,P)}function h(g,P){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function R(x,d){return x.__proto__=d,x}return R}(),h(g,P)}var I=/^[:#.][^\s]\s/,S={small:1,medium:2,large:3,width:1},T=i.TguiSay=function(g){function P(x){var d;return d=g.call(this,x)||this,d.channelIterator=void 0,d.chatHistory=void 0,d.currentPrefix=void 0,d.innerRef=void 0,d.lightMode=void 0,d.maxLength=void 0,d.messages=void 0,d.state=void 0,d.handleOpen=function(m){setTimeout(function(){var E;(E=d.innerRef.current)==null||E.focus()},0);var O=m.channel;d.channelIterator.isSay()&&d.channelIterator.set(O),d.setState({buttonContent:d.channelIterator.current()}),(0,c.windowOpen)(d.channelIterator.current())},d.handleProps=function(m){var O=m.maxLength,E=m.lightMode;d.maxLength=O,d.lightMode=!!E},d.channelIterator=new n.ChannelIterator,d.chatHistory=new e.ChatHistory,d.currentPrefix=null,d.innerRef=(0,r.createRef)(),d.lightMode=!1,d.maxLength=1024,d.messages=o.byondMessages,d.state={buttonContent:"",size:a.WINDOW_SIZES.small},d.handleArrowKeys=d.handleArrowKeys.bind(d),d.handleBackspaceDelete=d.handleBackspaceDelete.bind(d),d.handleClose=d.handleClose.bind(d),d.handleEnter=d.handleEnter.bind(d),d.handleIncrementChannel=d.handleIncrementChannel.bind(d),d.handleInput=d.handleInput.bind(d),d.handleKeyDown=d.handleKeyDown.bind(d),d.handleOpen=d.handleOpen.bind(d),d.handleProps=d.handleProps.bind(d),d.reset=d.reset.bind(d),d.setSize=d.setSize.bind(d),d.setValue=d.setValue.bind(d),d.handleButtonClick=d.handleButtonClick.bind(d),d}l(P,g);var R=P.prototype;return R.componentDidMount=function(){function x(){Byond.subscribeTo("props",this.handleProps),Byond.subscribeTo("open",this.handleOpen)}return x}(),R.handleArrowKeys=function(){function x(d){var m,O=(m=this.innerRef.current)==null?void 0:m.value;if(d===v.KEY.Up){this.chatHistory.isAtLatest()&&O&&this.chatHistory.saveTemp(O);var E=this.chatHistory.getOlderMessage();E&&(this.setState({buttonContent:this.chatHistory.getIndex()}),this.setSize(E.length),this.setValue(E))}else{var C=this.chatHistory.getNewerMessage()||this.chatHistory.getTemp()||"",b=this.chatHistory.isAtLatest()?this.channelIterator.current():this.chatHistory.getIndex();this.setState({buttonContent:b}),this.setSize(C.length),this.setValue(C)}}return x}(),R.handleBackspaceDelete=function(){function x(){var d,m,O,E=(d=this.innerRef.current)==null?void 0:d.value;if(this.chatHistory.isAtLatest())this.currentPrefix&&this.channelIterator.isSay()&&(E==null?void 0:E.length)===0?(this.currentPrefix=null,this.setState({buttonContent:this.channelIterator.current()})):((m=this.innerRef.current)==null?void 0:m.selectionStart)===0&&((O=this.innerRef.current)==null?void 0:O.selectionEnd)===0&&!this.channelIterator.isCurrentChannelBlacklisted()&&(this.currentPrefix=null,this.channelIterator.set("Say"),this.setState({buttonContent:this.channelIterator.current()}));else{var C;this.chatHistory.reset(),this.setState({buttonContent:(C=this.currentPrefix)!=null?C:this.channelIterator.current()})}this.setSize(E==null?void 0:E.length)}return x}(),R.handleClose=function(){function x(){var d=this.innerRef.current;d&&d.blur(),this.reset(),this.chatHistory.reset(),this.channelIterator.reset(),this.currentPrefix=null,(0,c.windowClose)()}return x}(),R.handleEnter=function(){function x(){var d,m,O=(d=this.currentPrefix)!=null?d:"",E=(m=this.innerRef.current)==null?void 0:m.value;E!=null&&E.length&&E.length<this.maxLength&&(this.chatHistory.add(E),Byond.sendMessage("entry",{channel:this.channelIterator.current(),entry:this.channelIterator.isSay()?O+E:E})),this.handleClose()}return x}(),R.handleIncrementChannel=function(){function x(){this.channelIterator.isSay()&&this.currentPrefix===":b "&&this.messages.channelIncrementMsg(!0),this.currentPrefix=null,this.channelIterator.next(),this.channelIterator.isVisible()||this.messages.channelIncrementMsg(!1),this.setState({buttonContent:this.channelIterator.current()})}return x}(),R.handleButtonClick=function(){function x(d,m){var O;this.handleIncrementChannel();var E=(O=this.innerRef)==null?void 0:O.current;E&&(E.focus(),E.setSelectionRange(d,m))}return x}(),R.handleInput=function(){function x(){var d,m,O=(d=this.innerRef.current)==null?void 0:d.value;if(this.channelIterator.isVisible()&&this.currentPrefix!==":b "&&this.messages.typingMsg(this.channelIterator.isMe()),this.setSize(O==null?void 0:O.length),O&&O.slice(0,2)==="; "){this.channelIterator.set("Radio"),this.currentPrefix=null,this.setValue(O.slice(2)),this.setState({buttonContent:this.channelIterator.current()});return}if(!(!O||O.length<3)&&I.test(O)){var E=(m=O.slice(0,3))==null?void 0:m.toLowerCase();!a.RADIO_PREFIXES[E]||E===this.currentPrefix||(E===":b "&&Byond.sendMessage("thinking",{visible:!1}),this.channelIterator.set("Say"),this.currentPrefix=E,this.setState({buttonContent:a.RADIO_PREFIXES[E]}),this.setValue(O.slice(3)))}}return x}(),R.handleKeyDown=function(){function x(d){switch(d.key){case v.KEY.Up:case v.KEY.Down:d.preventDefault(),this.handleArrowKeys(d.key);break;case v.KEY.Delete:case v.KEY.Backspace:this.handleBackspaceDelete();break;case v.KEY.Enter:d.preventDefault(),this.handleEnter();break;case v.KEY.Tab:d.preventDefault(),this.handleIncrementChannel();break;case v.KEY.Escape:this.handleClose();break}}return x}(),R.reset=function(){function x(){this.setValue(""),this.setSize(),this.setState({buttonContent:this.channelIterator.current()})}return x}(),R.setSize=function(){function x(d){d===void 0&&(d=0);var m;d>a.LINE_LENGTHS.medium?m=a.WINDOW_SIZES.large:d<=a.LINE_LENGTHS.medium&&d>a.LINE_LENGTHS.small?m=a.WINDOW_SIZES.medium:m=a.WINDOW_SIZES.small,this.state.size!==m&&(this.setState({size:m}),(0,c.windowSet)(m))}return x}(),R.setValue=function(){function x(d){var m=this.innerRef.current;m&&(m.value=d)}return x}(),R.render=function(){function x(){var d=this,m=this.lightMode&&"lightMode"||this.currentPrefix&&a.RADIO_PREFIXES[this.currentPrefix]||this.channelIterator.current();return(0,r.createVNode)(1,"div","window window-"+m+" window-"+this.state.size,[(0,r.createComponentVNode)(2,y,{position:"top",theme:m}),(0,r.createVNode)(1,"div","center",[(0,r.createComponentVNode)(2,y,{position:"left",theme:m}),(0,r.createVNode)(1,"div","input",[(0,r.createVNode)(1,"button","button button-"+m,this.state.buttonContent,0,{onClick:function(){function O(){return d.handleButtonClick(d.innerRef.current.selectionStart,d.innerRef.current.selectionEnd)}return O}(),type:"button"}),(0,r.createVNode)(128,"textarea","textarea textarea-"+m,null,1,{autoCorrect:"off",maxLength:this.maxLength,onInput:this.handleInput,onKeyDown:this.handleKeyDown,spellCheck:!1,rows:S[this.state.size]||1},null,this.innerRef)],8),(0,r.createComponentVNode)(2,y,{position:"right",theme:m})],8),(0,r.createComponentVNode)(2,y,{position:"bottom",theme:m})],8)}return x}(),P}(r.Component),y=function(P){var R=P.theme,x=P.position,d=x==="left"||x==="right"?"vertical":"horizontal";return(0,r.createVNode)(1,"div","dragzone-"+d+" dragzone-"+x+" dragzone-"+R,null,1,{onmousedown:s.dragStartHandler})}},87048:function(u,i){"use strict";i.__esModule=!0,i.WINDOW_SIZES=i.RADIO_PREFIXES=i.LINE_LENGTHS=void 0;var t=i.WINDOW_SIZES=function(e){return e[e.small=30]="small",e[e.medium=50]="medium",e[e.large=70]="large",e[e.width=275]="width",e}({}),r=i.LINE_LENGTHS=function(e){return e[e.small=26]="small",e[e.medium=54]="medium",e}({}),n=i.RADIO_PREFIXES={":r ":"R-Ear","#r ":"R-Ear",".r ":"R-Ear",":l ":"L-Ear","#l ":"L-Ear",".l ":"L-Ear",":i ":"Intercom","#i ":"Intercom",".i ":"Intercom",":h ":"Dept","#h ":"Dept",".h ":"Dept",".\u0440 ":"Dept",":\u0440 ":"Dept",":c ":"Cmd","#c ":"Cmd",".c ":"Cmd",".\u0441 ":"Cmd",":\u0441 ":"Cmd",":n ":"Sci","#n ":"Sci",".n ":"Sci",".\u0442 ":"Sci",":\u0442 ":"Sci",":m ":"Med","#m ":"Med",".m ":"Med",".\u044C ":"Med",":\u044C ":"Med",":x ":"Proc",".\u0447 ":"Proc",":\u0447 ":"Proc","#x ":"Proc",".x ":"Proc",":e ":"Engi","#e ":"Engi",".e ":"Engi",".\u0443 ":"Engi",":\u0443 ":"Engi",":s ":"Sec","#s ":"Sec",".s ":"Sec",".\u044B ":"Sec",":\u044B ":"Sec",":t ":"Synd","#t ":"Synd",".t ":"Synd",".\u0435 ":"Synd",":\u0435 ":"Synd",":u ":"Supp","#u ":"Supp",".u ":"Supp",".\u0433 ":"Supp",":\u0433 ":"Supp",":z ":"Serv","#z ":"Serv",".z ":"Serv",".\u044F ":"Serv",":\u044F ":"Serv",":p ":"AI","#p ":"AI",".p ":"AI",".\u0437 ":"AI",":\u0437 ":"AI",":$ ":"ERT","#$ ":"ERT",".$ ":"ERT",":- ":"SpecOps","#- ":"SpecOps",".- ":"SpecOps",":_ ":"SyndTeam","#_ ":"SyndTeam","._ ":"SyndTeam",":+ ":"Special","#+ ":"Special",".+ ":"Special",":b ":"Binary","#b ":"Binary",".b ":"Binary",".\u0438 ":"Binary",":\u0438 ":"Binary"}},43839:function(u,i,t){"use strict";i.__esModule=!0,i.windowSet=i.windowOpen=i.windowClose=void 0;var r=t(87048),n=i.windowOpen=function(){function s(c){o(!0),Byond.sendMessage("open",{channel:c})}return s}(),e=i.windowClose=function(){function s(){o(!1),Byond.winset("map",{focus:!0}),Byond.sendMessage("close")}return s}(),a=i.windowSet=function(){function s(c){c===void 0&&(c=r.WINDOW_SIZES.small);var v=r.WINDOW_SIZES.width+"x"+c;Byond.winset("tgui_say.browser",{size:v}),Byond.winset("tgui_say",{size:v})}return s}(),o=function(c){Byond.winset("tgui_say",{"is-visible":c,size:r.WINDOW_SIZES.width+"x"+r.WINDOW_SIZES.small})}},86195:function(u,i,t){"use strict";i.__esModule=!0,i.byondMessages=void 0;var r=t(56052),n=1e3,e=i.byondMessages={channelIncrementMsg:(0,r.debounce)(function(a){return Byond.sendMessage("thinking",{visible:a})},.4*n),typingMsg:(0,r.throttle)(function(a){return Byond.sendMessage("typing",{isMeChannel:a})},4*n)}},83987:function(u,i,t){"use strict";i.__esModule=!0,i.storeWindowGeometry=i.setupDrag=i.setWindowSize=i.setWindowPosition=i.setWindowKey=i.resizeStartHandler=i.recallWindowGeometry=i.getWindowSize=i.getWindowPosition=i.getScreenSize=i.getScreenPosition=i.dragStartHandler=void 0;var r=t(66450),n=t(73564),e=t(81856);function a(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return j};var F,j={},V=Object.prototype,Y=V.hasOwnProperty,it=Object.defineProperty||function(ft,X,Z){ft[X]=Z.value},dt=typeof Symbol=="function"?Symbol:{},pt=dt.iterator||"@@iterator",ot=dt.asyncIterator||"@@asyncIterator",lt=dt.toStringTag||"@@toStringTag";function Ct(ft,X,Z){return Object.defineProperty(ft,X,{value:Z,enumerable:!0,configurable:!0,writable:!0}),ft[X]}try{Ct({},"")}catch(ft){Ct=function(Z,et,rt){return Z[et]=rt}}function It(ft,X,Z,et){var rt=X&&X.prototype instanceof q?X:q,st=Object.create(rt.prototype),wt=new Dt(et||[]);return it(st,"_invoke",{value:at(ft,Z,wt)}),st}function yt(ft,X,Z){try{return{type:"normal",arg:ft.call(X,Z)}}catch(et){return{type:"throw",arg:et}}}j.wrap=It;var bt="suspendedStart",Mt="suspendedYield",$t="executing",At="completed",k={};function q(){}function tt(){}function ct(){}var vt={};Ct(vt,pt,function(){return this});var ht=Object.getPrototypeOf,St=ht&&ht(ht(Wt([])));St&&St!==V&&Y.call(St,pt)&&(vt=St);var nt=ct.prototype=q.prototype=Object.create(vt);function ut(ft){["next","throw","return"].forEach(function(X){Ct(ft,X,function(Z){return this._invoke(X,Z)})})}function gt(ft,X){function Z(rt,st,wt,jt){var Ut=yt(ft[rt],ft,st);if(Ut.type!=="throw"){var zt=Ut.arg,Gt=zt.value;return Gt&&typeof Gt=="object"&&Y.call(Gt,"__await")?X.resolve(Gt.__await).then(function(Kt){Z("next",Kt,wt,jt)},function(Kt){Z("throw",Kt,wt,jt)}):X.resolve(Gt).then(function(Kt){zt.value=Kt,wt(zt)},function(Kt){return Z("throw",Kt,wt,jt)})}jt(Ut.arg)}var et;it(this,"_invoke",{value:function(){function rt(st,wt){function jt(){return new X(function(Ut,zt){Z(st,wt,Ut,zt)})}return et=et?et.then(jt,jt):jt()}return rt}()})}function at(ft,X,Z){var et=bt;return function(rt,st){if(et===$t)throw Error("Generator is already running");if(et===At){if(rt==="throw")throw st;return{value:F,done:!0}}for(Z.method=rt,Z.arg=st;;){var wt=Z.delegate;if(wt){var jt=Et(wt,Z);if(jt){if(jt===k)continue;return jt}}if(Z.method==="next")Z.sent=Z._sent=Z.arg;else if(Z.method==="throw"){if(et===bt)throw et=At,Z.arg;Z.dispatchException(Z.arg)}else Z.method==="return"&&Z.abrupt("return",Z.arg);et=$t;var Ut=yt(ft,X,Z);if(Ut.type==="normal"){if(et=Z.done?At:Mt,Ut.arg===k)continue;return{value:Ut.arg,done:Z.done}}Ut.type==="throw"&&(et=At,Z.method="throw",Z.arg=Ut.arg)}}}function Et(ft,X){var Z=X.method,et=ft.iterator[Z];if(et===F)return X.delegate=null,Z==="throw"&&ft.iterator.return&&(X.method="return",X.arg=F,Et(ft,X),X.method==="throw")||Z!=="return"&&(X.method="throw",X.arg=new TypeError("The iterator does not provide a '"+Z+"' method")),k;var rt=yt(et,ft.iterator,X.arg);if(rt.type==="throw")return X.method="throw",X.arg=rt.arg,X.delegate=null,k;var st=rt.arg;return st?st.done?(X[ft.resultName]=st.value,X.next=ft.nextLoc,X.method!=="return"&&(X.method="next",X.arg=F),X.delegate=null,k):st:(X.method="throw",X.arg=new TypeError("iterator result is not an object"),X.delegate=null,k)}function Tt(ft){var X={tryLoc:ft[0]};1 in ft&&(X.catchLoc=ft[1]),2 in ft&&(X.finallyLoc=ft[2],X.afterLoc=ft[3]),this.tryEntries.push(X)}function Rt(ft){var X=ft.completion||{};X.type="normal",delete X.arg,ft.completion=X}function Dt(ft){this.tryEntries=[{tryLoc:"root"}],ft.forEach(Tt,this),this.reset(!0)}function Wt(ft){if(ft||ft===""){var X=ft[pt];if(X)return X.call(ft);if(typeof ft.next=="function")return ft;if(!isNaN(ft.length)){var Z=-1,et=function(){function rt(){for(;++Z<ft.length;)if(Y.call(ft,Z))return rt.value=ft[Z],rt.done=!1,rt;return rt.value=F,rt.done=!0,rt}return rt}();return et.next=et}}throw new TypeError(typeof ft+" is not iterable")}return tt.prototype=ct,it(nt,"constructor",{value:ct,configurable:!0}),it(ct,"constructor",{value:tt,configurable:!0}),tt.displayName=Ct(ct,lt,"GeneratorFunction"),j.isGeneratorFunction=function(ft){var X=typeof ft=="function"&&ft.constructor;return!!X&&(X===tt||(X.displayName||X.name)==="GeneratorFunction")},j.mark=function(ft){return Object.setPrototypeOf?Object.setPrototypeOf(ft,ct):(ft.__proto__=ct,Ct(ft,lt,"GeneratorFunction")),ft.prototype=Object.create(nt),ft},j.awrap=function(ft){return{__await:ft}},ut(gt.prototype),Ct(gt.prototype,ot,function(){return this}),j.AsyncIterator=gt,j.async=function(ft,X,Z,et,rt){rt===void 0&&(rt=Promise);var st=new gt(It(ft,X,Z,et),rt);return j.isGeneratorFunction(X)?st:st.next().then(function(wt){return wt.done?wt.value:st.next()})},ut(nt),Ct(nt,lt,"Generator"),Ct(nt,pt,function(){return this}),Ct(nt,"toString",function(){return"[object Generator]"}),j.keys=function(ft){var X=Object(ft),Z=[];for(var et in X)Z.push(et);return Z.reverse(),function(){function rt(){for(;Z.length;){var st=Z.pop();if(st in X)return rt.value=st,rt.done=!1,rt}return rt.done=!0,rt}return rt}()},j.values=Wt,Dt.prototype={constructor:Dt,reset:function(){function ft(X){if(this.prev=0,this.next=0,this.sent=this._sent=F,this.done=!1,this.delegate=null,this.method="next",this.arg=F,this.tryEntries.forEach(Rt),!X)for(var Z in this)Z.charAt(0)==="t"&&Y.call(this,Z)&&!isNaN(+Z.slice(1))&&(this[Z]=F)}return ft}(),stop:function(){function ft(){this.done=!0;var X=this.tryEntries[0].completion;if(X.type==="throw")throw X.arg;return this.rval}return ft}(),dispatchException:function(){function ft(X){if(this.done)throw X;var Z=this;function et(zt,Gt){return wt.type="throw",wt.arg=X,Z.next=zt,Gt&&(Z.method="next",Z.arg=F),!!Gt}for(var rt=this.tryEntries.length-1;rt>=0;--rt){var st=this.tryEntries[rt],wt=st.completion;if(st.tryLoc==="root")return et("end");if(st.tryLoc<=this.prev){var jt=Y.call(st,"catchLoc"),Ut=Y.call(st,"finallyLoc");if(jt&&Ut){if(this.prev<st.catchLoc)return et(st.catchLoc,!0);if(this.prev<st.finallyLoc)return et(st.finallyLoc)}else if(jt){if(this.prev<st.catchLoc)return et(st.catchLoc,!0)}else{if(!Ut)throw Error("try statement without catch or finally");if(this.prev<st.finallyLoc)return et(st.finallyLoc)}}}}return ft}(),abrupt:function(){function ft(X,Z){for(var et=this.tryEntries.length-1;et>=0;--et){var rt=this.tryEntries[et];if(rt.tryLoc<=this.prev&&Y.call(rt,"finallyLoc")&&this.prev<rt.finallyLoc){var st=rt;break}}st&&(X==="break"||X==="continue")&&st.tryLoc<=Z&&Z<=st.finallyLoc&&(st=null);var wt=st?st.completion:{};return wt.type=X,wt.arg=Z,st?(this.method="next",this.next=st.finallyLoc,k):this.complete(wt)}return ft}(),complete:function(){function ft(X,Z){if(X.type==="throw")throw X.arg;return X.type==="break"||X.type==="continue"?this.next=X.arg:X.type==="return"?(this.rval=this.arg=X.arg,this.method="return",this.next="end"):X.type==="normal"&&Z&&(this.next=Z),k}return ft}(),finish:function(){function ft(X){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var et=this.tryEntries[Z];if(et.finallyLoc===X)return this.complete(et.completion,et.afterLoc),Rt(et),k}}return ft}(),catch:function(){function ft(X){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var et=this.tryEntries[Z];if(et.tryLoc===X){var rt=et.completion;if(rt.type==="throw"){var st=rt.arg;Rt(et)}return st}}throw Error("illegal catch attempt")}return ft}(),delegateYield:function(){function ft(X,Z,et){return this.delegate={iterator:Wt(X),resultName:Z,nextLoc:et},this.method==="next"&&(this.arg=F),k}return ft}()},j}function o(F,j,V,Y,it,dt,pt){try{var ot=F[dt](pt),lt=ot.value}catch(Ct){V(Ct);return}ot.done?j(lt):Promise.resolve(lt).then(Y,it)}function s(F){return function(){var j=this,V=arguments;return new Promise(function(Y,it){var dt=F.apply(j,V);function pt(lt){o(dt,Y,it,pt,ot,"next",lt)}function ot(lt){o(dt,Y,it,pt,ot,"throw",lt)}pt(void 0)})}}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var c=(0,e.createLogger)("drag"),v=Byond.windowId,l=!1,h=!1,S=[0,0],E,O,m,g,R,P=i.setWindowKey=function(){function L(j){v=j}return L}(),A=i.getWindowPosition=function(){function L(){return[window.screenLeft,window.screenTop]}return L}(),d=i.getWindowSize=function(){function L(){return[window.innerWidth,window.innerHeight]}return L}(),y=i.setWindowPosition=function(){function L(j){var V=(0,n.vecAdd)(j,S);return Byond.winset(Byond.windowId,{pos:V[0]+","+V[1]})}return L}(),x=i.setWindowSize=function(){function L(j){return Byond.winset(Byond.windowId,{size:j[0]+"x"+j[1]})}return L}(),I=i.getScreenPosition=function(){function L(){return[0-S[0],0-S[1]]}return L}(),C=i.getScreenSize=function(){function L(){return[window.screen.availWidth,window.screen.availHeight]}return L}(),b=function(j,V,Y){Y===void 0&&(Y=50);for(var at=[V],ft,ht=0;ht<j.length;ht++){var nt=j[ht];nt!==V&&(at.length<Y?at.push(nt):ft=nt)}return[at,ft]},F=i.storeWindowGeometry=function(){var L=s(a().mark(function(){function j(){var V,Y,at,ft;return a().wrap(function(){function ht(nt){for(;;)switch(nt.prev=nt.next){case 0:return c.log("storing geometry"),V={pos:A(),size:d()},r.storage.set(v,V),nt.t0=b,nt.next=6,r.storage.get("geometries");case 6:if(nt.t1=nt.sent,nt.t1){nt.next=9;break}nt.t1=[];case 9:nt.t2=nt.t1,nt.t3=v,Y=(0,nt.t0)(nt.t2,nt.t3),at=Y[0],ft=Y[1],ft&&r.storage.remove(ft),r.storage.set("geometries",at);case 16:case"end":return nt.stop()}}return ht}(),j)}return j}()));return function(){function j(){return L.apply(this,arguments)}return j}()}(),D=i.recallWindowGeometry=function(){var L=s(a().mark(function(){function j(V){var Y,at,ft,ht;return a().wrap(function(){function nt(st){for(;;)switch(st.prev=st.next){case 0:if(V===void 0&&(V={}),st.t0=V.fancy,!st.t0){st.next=6;break}return st.next=5,r.storage.get(v);case 5:st.t0=st.sent;case 6:return Y=st.t0,Y&&c.log("recalled geometry:",Y),at=(Y==null?void 0:Y.pos)||V.pos,ft=V.size,st.next=12,E;case 12:ht=[window.screen.availWidth,window.screen.availHeight],ft&&(ft=[Math.min(ht[0],ft[0]),Math.min(ht[1],ft[1])],x(ft)),at?(ft&&V.locked&&(at=K(at,ft)[1]),y(at)):ft&&(at=(0,n.vecAdd)((0,n.vecScale)(ht,.5),(0,n.vecScale)(ft,-.5),(0,n.vecScale)(S,-1)),y(at));case 15:case"end":return st.stop()}}return nt}(),j)}return j}()));return function(){function j(V){return L.apply(this,arguments)}return j}()}(),U=i.setupDrag=function(){var L=s(a().mark(function(){function j(){return a().wrap(function(){function V(Y){for(;;)switch(Y.prev=Y.next){case 0:return E=Byond.winget(Byond.windowId,"pos").then(function(at){return[at.x-window.screenLeft,at.y-window.screenTop]}),Y.next=3,E;case 3:S=Y.sent,c.debug("screen offset",S);case 5:case"end":return Y.stop()}}return V}(),j)}return j}()));return function(){function j(){return L.apply(this,arguments)}return j}()}(),K=function(j,V){for(var Y=I(),at=C(),ft=[j[0],j[1]],ht=!1,nt=0;nt<2;nt++){var st=Y[nt],Rt=Y[nt]+at[nt];j[nt]<st?(ft[nt]=st,ht=!0):j[nt]+V[nt]>Rt&&(ft[nt]=Rt-V[nt],ht=!0)}return[ht,ft]},_=i.dragStartHandler=function(){function L(j){c.log("drag start"),l=!0,O=[window.screenLeft-j.screenX,window.screenTop-j.screenY],document.addEventListener("mousemove",H),document.addEventListener("mouseup",G),H(j)}return L}(),G=function L(j){c.log("drag end"),H(j),document.removeEventListener("mousemove",H),document.removeEventListener("mouseup",L),l=!1,F()},H=function(j){l&&(j.preventDefault(),y((0,n.vecAdd)([j.screenX,j.screenY],O)))},X=i.resizeStartHandler=function(){function L(j,V){return function(Y){m=[j,V],c.log("resize start",m),h=!0,O=[window.screenLeft-Y.screenX,window.screenTop-Y.screenY],g=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",M),document.addEventListener("mouseup",N),M(Y)}}return L}(),N=function L(j){c.log("resize end",R),M(j),document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",L),h=!1,F()},M=function(j){h&&(j.preventDefault(),R=(0,n.vecAdd)(g,(0,n.vecMultiply)(m,(0,n.vecAdd)([j.screenX,j.screenY],(0,n.vecInverse)([window.screenLeft,window.screenTop]),O,[1,1]))),R[0]=Math.max(R[0],150),R[1]=Math.max(R[1],50),x(R))}},50175:function(u,i,t){"use strict";i.__esModule=!0,i.logger=i.createLogger=void 0;var r=t(87454);/** +*/var c=(0,e.createLogger)("drag"),v=Byond.windowId,l=!1,h=!1,I=[0,0],S,T,y,g,P,R=i.setWindowKey=function(){function F(j){v=j}return F}(),x=i.getWindowPosition=function(){function F(){return[window.screenLeft,window.screenTop]}return F}(),d=i.getWindowSize=function(){function F(){return[window.innerWidth,window.innerHeight]}return F}(),m=i.setWindowPosition=function(){function F(j){var V=(0,n.vecAdd)(j,I);return Byond.winset(Byond.windowId,{pos:V[0]+","+V[1]})}return F}(),O=i.setWindowSize=function(){function F(j){return Byond.winset(Byond.windowId,{size:j[0]+"x"+j[1]})}return F}(),E=i.getScreenPosition=function(){function F(){return[0-I[0],0-I[1]]}return F}(),C=i.getScreenSize=function(){function F(){return[window.screen.availWidth,window.screen.availHeight]}return F}(),b=function(j,V,Y){Y===void 0&&(Y=50);for(var it=[V],dt,pt=0;pt<j.length;pt++){var ot=j[pt];ot!==V&&(it.length<Y?it.push(ot):dt=ot)}return[it,dt]},M=i.storeWindowGeometry=function(){var F=s(a().mark(function(){function j(){var V,Y,it,dt;return a().wrap(function(){function pt(ot){for(;;)switch(ot.prev=ot.next){case 0:return c.log("storing geometry"),V={pos:x(),size:d()},r.storage.set(v,V),ot.t0=b,ot.next=6,r.storage.get("geometries");case 6:if(ot.t1=ot.sent,ot.t1){ot.next=9;break}ot.t1=[];case 9:ot.t2=ot.t1,ot.t3=v,Y=(0,ot.t0)(ot.t2,ot.t3),it=Y[0],dt=Y[1],dt&&r.storage.remove(dt),r.storage.set("geometries",it);case 16:case"end":return ot.stop()}}return pt}(),j)}return j}()));return function(){function j(){return F.apply(this,arguments)}return j}()}(),$=i.recallWindowGeometry=function(){var F=s(a().mark(function(){function j(V){var Y,it,dt,pt;return a().wrap(function(){function ot(lt){for(;;)switch(lt.prev=lt.next){case 0:if(V===void 0&&(V={}),lt.t0=V.fancy,!lt.t0){lt.next=6;break}return lt.next=5,r.storage.get(v);case 5:lt.t0=lt.sent;case 6:return Y=lt.t0,Y&&c.log("recalled geometry:",Y),it=(Y==null?void 0:Y.pos)||V.pos,dt=V.size,lt.next=12,S;case 12:pt=[window.screen.availWidth,window.screen.availHeight],dt&&(dt=[Math.min(pt[0],dt[0]),Math.min(pt[1],dt[1])],O(dt)),it?(dt&&V.locked&&(it=z(it,dt)[1]),m(it)):dt&&(it=(0,n.vecAdd)((0,n.vecScale)(pt,.5),(0,n.vecScale)(dt,-.5),(0,n.vecScale)(I,-1)),m(it));case 15:case"end":return lt.stop()}}return ot}(),j)}return j}()));return function(){function j(V){return F.apply(this,arguments)}return j}()}(),N=i.setupDrag=function(){var F=s(a().mark(function(){function j(){return a().wrap(function(){function V(Y){for(;;)switch(Y.prev=Y.next){case 0:return S=Byond.winget(Byond.windowId,"pos").then(function(it){return[it.x-window.screenLeft,it.y-window.screenTop]}),Y.next=3,S;case 3:I=Y.sent,c.debug("screen offset",I);case 5:case"end":return Y.stop()}}return V}(),j)}return j}()));return function(){function j(){return F.apply(this,arguments)}return j}()}(),z=function(j,V){for(var Y=E(),it=C(),dt=[j[0],j[1]],pt=!1,ot=0;ot<2;ot++){var lt=Y[ot],Ct=Y[ot]+it[ot];j[ot]<lt?(dt[ot]=lt,pt=!0):j[ot]+V[ot]>Ct&&(dt[ot]=Ct-V[ot],pt=!0)}return[pt,dt]},Q=i.dragStartHandler=function(){function F(j){c.log("drag start"),l=!0,T=[window.screenLeft-j.screenX,window.screenTop-j.screenY],document.addEventListener("mousemove",K),document.addEventListener("mouseup",G),K(j)}return F}(),G=function F(j){c.log("drag end"),K(j),document.removeEventListener("mousemove",K),document.removeEventListener("mouseup",F),l=!1,M()},K=function(j){l&&(j.preventDefault(),m((0,n.vecAdd)([j.screenX,j.screenY],T)))},_=i.resizeStartHandler=function(){function F(j,V){return function(Y){y=[j,V],c.log("resize start",y),h=!0,T=[window.screenLeft-Y.screenX,window.screenTop-Y.screenY],g=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",L),document.addEventListener("mouseup",U),L(Y)}}return F}(),U=function F(j){c.log("resize end",P),L(j),document.removeEventListener("mousemove",L),document.removeEventListener("mouseup",F),h=!1,M()},L=function(j){h&&(j.preventDefault(),P=(0,n.vecAdd)(g,(0,n.vecMultiply)(y,(0,n.vecAdd)([j.screenX,j.screenY],(0,n.vecInverse)([window.screenLeft,window.screenTop]),T,[1,1]))),P[0]=Math.max(P[0],150),P[1]=Math.max(P[1],50),O(P))}},81856:function(u,i,t){"use strict";i.__esModule=!0,i.logger=i.createLogger=void 0;var r=t(50719);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=0,e=1,a=2,o=3,s=4,c=function(S,E){for(var O=arguments.length,m=new Array(O>2?O-2:0),g=2;g<O;g++)m[g-2]=arguments[g];if(S>=a){var R=[E].concat(m).map(function(P){return typeof P=="string"?P:P instanceof Error?P.stack||String(P):JSON.stringify(P)}).filter(function(P){return P}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",message:R})}},v=i.createLogger=function(){function h(S){return{debug:function(){function E(){for(var O=arguments.length,m=new Array(O),g=0;g<O;g++)m[g]=arguments[g];return c.apply(void 0,[n,S].concat(m))}return E}(),log:function(){function E(){for(var O=arguments.length,m=new Array(O),g=0;g<O;g++)m[g]=arguments[g];return c.apply(void 0,[e,S].concat(m))}return E}(),info:function(){function E(){for(var O=arguments.length,m=new Array(O),g=0;g<O;g++)m[g]=arguments[g];return c.apply(void 0,[a,S].concat(m))}return E}(),warn:function(){function E(){for(var O=arguments.length,m=new Array(O),g=0;g<O;g++)m[g]=arguments[g];return c.apply(void 0,[o,S].concat(m))}return E}(),error:function(){function E(){for(var O=arguments.length,m=new Array(O),g=0;g<O;g++)m[g]=arguments[g];return c.apply(void 0,[s,S].concat(m))}return E}()}}return h}(),l=i.logger=v()},64960:function(u,i,t){"use strict";i.__esModule=!0,i.suspendRenderer=i.resumeRenderer=i.createRenderer=void 0;var r=t(60031),n=t(28823),e=t(50175),a=(0,e.createLogger)("renderer"),o,s=!0,c=!1,v=i.resumeRenderer=function(){function S(){s=s||"resumed",c=!1}return S}(),l=i.suspendRenderer=function(){function S(){c=!0}return S}(),h=i.createRenderer=function(){function S(E){return function(){r.perf.mark("render/start"),o||(o=document.getElementById("react-root")),(0,n.render)(E(),o),r.perf.mark("render/finish"),!c&&s&&(s=!1)}}return S}()},63457:function(){},79474:function(u,i,t){"use strict";var r=t(53664),n=t(36787),e=TypeError;u.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a function")}},48218:function(u,i,t){"use strict";var r=t(49632),n=t(36787),e=TypeError;u.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a constructor")}},30907:function(u,i,t){"use strict";var r=t(62600),n=String,e=TypeError;u.exports=function(a){if(r(a))return a;throw new e("Can't set "+n(a)+" as a prototype")}},98759:function(u,i,t){"use strict";var r=t(95558),n=t(15439),e=t(8165).f,a=r("unscopables"),o=Array.prototype;o[a]===void 0&&e(o,a,{configurable:!0,value:n(null)}),u.exports=function(s){o[a][s]=!0}},47158:function(u,i,t){"use strict";var r=t(13300).charAt;u.exports=function(n,e,a){return e+(a?r(n,e).length:1)}},14434:function(u,i,t){"use strict";var r=t(54341),n=TypeError;u.exports=function(e,a){if(r(a,e))return e;throw new n("Incorrect invocation")}},45418:function(u,i,t){"use strict";var r=t(66379),n=String,e=TypeError;u.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not an object")}},11559:function(u){"use strict";u.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},8685:function(u,i,t){"use strict";var r=t(13586);u.exports=r(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},30432:function(u,i,t){"use strict";var r=t(11559),n=t(16361),e=t(26856),a=t(53664),o=t(66379),s=t(3302),c=t(48615),v=t(36787),l=t(21650),h=t(60855),S=t(57301),E=t(54341),O=t(56379),m=t(91420),g=t(95558),R=t(76246),P=t(4471),A=P.enforce,d=P.get,y=e.Int8Array,x=y&&y.prototype,I=e.Uint8ClampedArray,C=I&&I.prototype,b=y&&O(y),F=x&&O(x),D=Object.prototype,U=e.TypeError,K=g("toStringTag"),_=R("TYPED_ARRAY_TAG"),G="TypedArrayConstructor",H=r&&!!m&&c(e.opera)!=="Opera",X=!1,N,M,L,j={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},V={BigInt64Array:8,BigUint64Array:8},Y=function(){function St(gt){if(!o(gt))return!1;var bt=c(gt);return bt==="DataView"||s(j,bt)||s(V,bt)}return St}(),at=function St(gt){var bt=O(gt);if(o(bt)){var Mt=d(bt);return Mt&&s(Mt,G)?Mt[G]:St(bt)}},ft=function(gt){if(!o(gt))return!1;var bt=c(gt);return s(j,bt)||s(V,bt)},ht=function(gt){if(ft(gt))return gt;throw new U("Target is not a typed array")},nt=function(gt){if(a(gt)&&(!m||E(b,gt)))return gt;throw new U(v(gt)+" is not a typed array constructor")},st=function(gt,bt,Mt,$t){if(n){if(Mt)for(var At in j){var k=e[At];if(k&&s(k.prototype,gt))try{delete k.prototype[gt]}catch(q){try{k.prototype[gt]=bt}catch(tt){}}}(!F[gt]||Mt)&&h(F,gt,Mt?bt:H&&x[gt]||bt,$t)}},Rt=function(gt,bt,Mt){var $t,At;if(n){if(m){if(Mt){for($t in j)if(At=e[$t],At&&s(At,gt))try{delete At[gt]}catch(k){}}if(!b[gt]||Mt)try{return h(b,gt,Mt?bt:H&&b[gt]||bt)}catch(k){}else return}for($t in j)At=e[$t],At&&(!At[gt]||Mt)&&h(At,gt,bt)}};for(N in j)M=e[N],L=M&&M.prototype,L?A(L)[G]=M:H=!1;for(N in V)M=e[N],L=M&&M.prototype,L&&(A(L)[G]=M);if((!H||!a(b)||b===Function.prototype)&&(b=function(){function St(){throw new U("Incorrect invocation")}return St}(),H))for(N in j)e[N]&&m(e[N],b);if((!H||!F||F===D)&&(F=b.prototype,H))for(N in j)e[N]&&m(e[N].prototype,F);if(H&&O(C)!==F&&m(C,F),n&&!s(F,K)){X=!0,S(F,K,{configurable:!0,get:function(){function St(){return o(this)?this[_]:void 0}return St}()});for(N in j)e[N]&&l(e[N],_,N)}u.exports={NATIVE_ARRAY_BUFFER_VIEWS:H,TYPED_ARRAY_TAG:X&&_,aTypedArray:ht,aTypedArrayConstructor:nt,exportTypedArrayMethod:st,exportTypedArrayStaticMethod:Rt,getTypedArrayConstructor:at,isView:Y,isTypedArray:ft,TypedArray:b,TypedArrayPrototype:F}},31284:function(u,i,t){"use strict";var r=t(26856),n=t(72908),e=t(16361),a=t(11559),o=t(15340),s=t(21650),c=t(57301),v=t(26148),l=t(13586),h=t(14434),S=t(84501),E=t(74369),O=t(28968),m=t(48705),g=t(48350),R=t(56379),P=t(91420),A=t(39948),d=t(31170),y=t(43405),x=t(83826),I=t(15676),C=t(4471),b=o.PROPER,F=o.CONFIGURABLE,D="ArrayBuffer",U="DataView",K="prototype",_="Wrong length",G="Wrong index",H=C.getterFor(D),X=C.getterFor(U),N=C.set,M=r[D],L=M,j=L&&L[K],V=r[U],Y=V&&V[K],at=Object.prototype,ft=r.Array,ht=r.RangeError,nt=n(A),st=n([].reverse),Rt=g.pack,St=g.unpack,gt=function(it){return[it&255]},bt=function(it){return[it&255,it>>8&255]},Mt=function(it){return[it&255,it>>8&255,it>>16&255,it>>24&255]},$t=function(it){return it[3]<<24|it[2]<<16|it[1]<<8|it[0]},At=function(it){return Rt(m(it),23,4)},k=function(it){return Rt(it,52,8)},q=function(it,yt,ut){c(it[K],yt,{configurable:!0,get:function(){function It(){return ut(this)[yt]}return It}()})},tt=function(it,yt,ut,It){var Tt=X(it),Pt=O(ut),Dt=!!It;if(Pt+yt>Tt.byteLength)throw new ht(G);var Wt=Tt.bytes,vt=Pt+Tt.byteOffset,J=d(Wt,vt,vt+yt);return Dt?J:st(J)},lt=function(it,yt,ut,It,Tt,Pt){var Dt=X(it),Wt=O(ut),vt=It(+Tt),J=!!Pt;if(Wt+yt>Dt.byteLength)throw new ht(G);for(var Z=Dt.bytes,ot=Wt+Dt.byteOffset,rt=0;rt<yt;rt++)Z[ot+rt]=vt[J?rt:yt-rt-1]};if(!a)L=function(){function et(it){h(this,j);var yt=O(it);N(this,{type:D,bytes:nt(ft(yt),0),byteLength:yt}),e||(this.byteLength=yt,this.detached=!1)}return et}(),j=L[K],V=function(){function et(it,yt,ut){h(this,Y),h(it,j);var It=H(it),Tt=It.byteLength,Pt=S(yt);if(Pt<0||Pt>Tt)throw new ht("Wrong offset");if(ut=ut===void 0?Tt-Pt:E(ut),Pt+ut>Tt)throw new ht(_);N(this,{type:U,buffer:it,byteLength:ut,byteOffset:Pt,bytes:It.bytes}),e||(this.buffer=it,this.byteLength=ut,this.byteOffset=Pt)}return et}(),Y=V[K],e&&(q(L,"byteLength",H),q(V,"buffer",X),q(V,"byteLength",X),q(V,"byteOffset",X)),v(Y,{getInt8:function(){function et(it){return tt(this,1,it)[0]<<24>>24}return et}(),getUint8:function(){function et(it){return tt(this,1,it)[0]}return et}(),getInt16:function(){function et(it){var yt=tt(this,2,it,arguments.length>1?arguments[1]:!1);return(yt[1]<<8|yt[0])<<16>>16}return et}(),getUint16:function(){function et(it){var yt=tt(this,2,it,arguments.length>1?arguments[1]:!1);return yt[1]<<8|yt[0]}return et}(),getInt32:function(){function et(it){return $t(tt(this,4,it,arguments.length>1?arguments[1]:!1))}return et}(),getUint32:function(){function et(it){return $t(tt(this,4,it,arguments.length>1?arguments[1]:!1))>>>0}return et}(),getFloat32:function(){function et(it){return St(tt(this,4,it,arguments.length>1?arguments[1]:!1),23)}return et}(),getFloat64:function(){function et(it){return St(tt(this,8,it,arguments.length>1?arguments[1]:!1),52)}return et}(),setInt8:function(){function et(it,yt){lt(this,1,it,gt,yt)}return et}(),setUint8:function(){function et(it,yt){lt(this,1,it,gt,yt)}return et}(),setInt16:function(){function et(it,yt){lt(this,2,it,bt,yt,arguments.length>2?arguments[2]:!1)}return et}(),setUint16:function(){function et(it,yt){lt(this,2,it,bt,yt,arguments.length>2?arguments[2]:!1)}return et}(),setInt32:function(){function et(it,yt){lt(this,4,it,Mt,yt,arguments.length>2?arguments[2]:!1)}return et}(),setUint32:function(){function et(it,yt){lt(this,4,it,Mt,yt,arguments.length>2?arguments[2]:!1)}return et}(),setFloat32:function(){function et(it,yt){lt(this,4,it,At,yt,arguments.length>2?arguments[2]:!1)}return et}(),setFloat64:function(){function et(it,yt){lt(this,8,it,k,yt,arguments.length>2?arguments[2]:!1)}return et}()});else{var dt=b&&M.name!==D;!l(function(){M(1)})||!l(function(){new M(-1)})||l(function(){return new M,new M(1.5),new M(NaN),M.length!==1||dt&&!F})?(L=function(){function et(it){return h(this,j),y(new M(O(it)),this,L)}return et}(),L[K]=j,j.constructor=L,x(L,M)):dt&&F&&s(M,"name",D),P&&R(Y)!==at&&P(Y,at);var pt=new V(new L(2)),Et=n(Y.setInt8);pt.setInt8(0,2147483648),pt.setInt8(1,2147483649),(pt.getInt8(0)||!pt.getInt8(1))&&v(Y,{setInt8:function(){function et(it,yt){Et(this,it,yt<<24>>24)}return et}(),setUint8:function(){function et(it,yt){Et(this,it,yt<<24>>24)}return et}()},{unsafe:!0})}I(L,D),I(V,U),u.exports={ArrayBuffer:L,DataView:V}},28332:function(u,i,t){"use strict";var r=t(63549),n=t(39531),e=t(83207),a=t(81245),o=Math.min;u.exports=[].copyWithin||function(){function s(c,v){var l=r(this),h=e(l),S=n(c,h),E=n(v,h),O=arguments.length>2?arguments[2]:void 0,m=o((O===void 0?h:n(O,h))-E,h-S),g=1;for(E<S&&S<E+m&&(g=-1,E+=m-1,S+=m-1);m-- >0;)E in l?l[S]=l[E]:a(l,S),S+=g,E+=g;return l}return s}()},39948:function(u,i,t){"use strict";var r=t(63549),n=t(39531),e=t(83207);u.exports=function(){function a(o){for(var s=r(this),c=e(s),v=arguments.length,l=n(v>1?arguments[1]:void 0,c),h=v>2?arguments[2]:void 0,S=h===void 0?c:n(h,c);S>l;)s[l++]=o;return s}return a}()},16856:function(u,i,t){"use strict";var r=t(18539).forEach,n=t(56127),e=n("forEach");u.exports=e?[].forEach:function(){function a(o){return r(this,o,arguments.length>1?arguments[1]:void 0)}return a}()},21465:function(u,i,t){"use strict";var r=t(83207);u.exports=function(n,e,a){for(var o=0,s=arguments.length>2?a:r(e),c=new n(s);s>o;)c[o]=e[o++];return c}},45056:function(u,i,t){"use strict";var r=t(8942),n=t(20276),e=t(63549),a=t(80002),o=t(48594),s=t(49632),c=t(83207),v=t(80750),l=t(45731),h=t(52984),S=Array;u.exports=function(){function E(O){var m=e(O),g=s(this),R=arguments.length,P=R>1?arguments[1]:void 0,A=P!==void 0;A&&(P=r(P,R>2?arguments[2]:void 0));var d=h(m),y=0,x,I,C,b,F,D;if(d&&!(this===S&&o(d)))for(b=l(m,d),F=b.next,I=g?new this:[];!(C=n(F,b)).done;y++)D=A?a(b,P,[C.value,y],!0):C.value,v(I,y,D);else for(x=c(m),I=g?new this(x):S(x);x>y;y++)D=A?P(m[y],y):m[y],v(I,y,D);return I.length=y,I}return E}()},33483:function(u,i,t){"use strict";var r=t(54292),n=t(39531),e=t(83207),a=function(s){return function(c,v,l){var h=r(c),S=e(h),E=n(l,S),O;if(s&&v!==v){for(;S>E;)if(O=h[E++],O!==O)return!0}else for(;S>E;E++)if((s||E in h)&&h[E]===v)return s||E||0;return!s&&-1}};u.exports={includes:a(!0),indexOf:a(!1)}},18539:function(u,i,t){"use strict";var r=t(8942),n=t(72908),e=t(80689),a=t(63549),o=t(83207),s=t(51582),c=n([].push),v=function(h){var S=h===1,E=h===2,O=h===3,m=h===4,g=h===6,R=h===7,P=h===5||g;return function(A,d,y,x){for(var I=a(A),C=e(I),b=o(C),F=r(d,y),D=0,U=x||s,K=S?U(A,b):E||R?U(A,0):void 0,_,G;b>D;D++)if((P||D in C)&&(_=C[D],G=F(_,D,I),h))if(S)K[D]=G;else if(G)switch(h){case 3:return!0;case 5:return _;case 6:return D;case 2:c(K,_)}else switch(h){case 4:return!1;case 7:c(K,_)}return g?-1:O||m?m:K}};u.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},16400:function(u,i,t){"use strict";var r=t(47244),n=t(54292),e=t(84501),a=t(83207),o=t(56127),s=Math.min,c=[].lastIndexOf,v=!!c&&1/[1].lastIndexOf(1,-0)<0,l=o("lastIndexOf"),h=v||!l;u.exports=h?function(){function S(E){if(v)return r(c,this,arguments)||0;var O=n(this),m=a(O),g=m-1;for(arguments.length>1&&(g=s(g,e(arguments[1]))),g<0&&(g=m+g);g>=0;g--)if(g in O&&O[g]===E)return g||0;return-1}return S}():c},34924:function(u,i,t){"use strict";var r=t(13586),n=t(95558),e=t(43541),a=n("species");u.exports=function(o){return e>=51||!r(function(){var s=[],c=s.constructor={};return c[a]=function(){return{foo:1}},s[o](Boolean).foo!==1})}},56127:function(u,i,t){"use strict";var r=t(13586);u.exports=function(n,e){var a=[][n];return!!a&&r(function(){a.call(null,e||function(){return 1},1)})}},58394:function(u,i,t){"use strict";var r=t(79474),n=t(63549),e=t(80689),a=t(83207),o=TypeError,s=function(v){return function(l,h,S,E){var O=n(l),m=e(O),g=a(O);r(h);var R=v?g-1:0,P=v?-1:1;if(S<2)for(;;){if(R in m){E=m[R],R+=P;break}if(R+=P,v?R<0:g<=R)throw new o("Reduce of empty array with no initial value")}for(;v?R>=0:g>R;R+=P)R in m&&(E=h(E,m[R],R,O));return E}};u.exports={left:s(!1),right:s(!0)}},10779:function(u,i,t){"use strict";var r=t(16361),n=t(59882),e=TypeError,a=Object.getOwnPropertyDescriptor,o=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(s){return s instanceof TypeError}}();u.exports=o?function(s,c){if(n(s)&&!a(s,"length").writable)throw new e("Cannot set read only .length");return s.length=c}:function(s,c){return s.length=c}},31170:function(u,i,t){"use strict";var r=t(72908);u.exports=r([].slice)},91183:function(u,i,t){"use strict";var r=t(31170),n=Math.floor,e=function a(o,s){var c=o.length;if(c<8)for(var v=1,l,h;v<c;){for(h=v,l=o[v];h&&s(o[h-1],l)>0;)o[h]=o[--h];h!==v++&&(o[h]=l)}else for(var S=n(c/2),E=a(r(o,0,S),s),O=a(r(o,S),s),m=E.length,g=O.length,R=0,P=0;R<m||P<g;)o[R+P]=R<m&&P<g?s(E[R],O[P])<=0?E[R++]:O[P++]:R<m?E[R++]:O[P++];return o};u.exports=e},6516:function(u,i,t){"use strict";var r=t(59882),n=t(49632),e=t(66379),a=t(95558),o=a("species"),s=Array;u.exports=function(c){var v;return r(c)&&(v=c.constructor,n(v)&&(v===s||r(v.prototype))?v=void 0:e(v)&&(v=v[o],v===null&&(v=void 0))),v===void 0?s:v}},51582:function(u,i,t){"use strict";var r=t(6516);u.exports=function(n,e){return new(r(n))(e===0?0:e)}},80002:function(u,i,t){"use strict";var r=t(45418),n=t(65169);u.exports=function(e,a,o,s){try{return s?a(r(o)[0],o[1]):a(o)}catch(c){n(e,"throw",c)}}},1608:function(u,i,t){"use strict";var r=t(95558),n=r("iterator"),e=!1;try{var a=0,o={next:function(){function s(){return{done:!!a++}}return s}(),return:function(){function s(){e=!0}return s}()};o[n]=function(){return this},Array.from(o,function(){throw 2})}catch(s){}u.exports=function(s,c){try{if(!c&&!e)return!1}catch(h){return!1}var v=!1;try{var l={};l[n]=function(){return{next:function(){function h(){return{done:v=!0}}return h}()}},s(l)}catch(h){}return v}},8649:function(u,i,t){"use strict";var r=t(72908),n=r({}.toString),e=r("".slice);u.exports=function(a){return e(n(a),8,-1)}},48615:function(u,i,t){"use strict";var r=t(41936),n=t(53664),e=t(8649),a=t(95558),o=a("toStringTag"),s=Object,c=e(function(){return arguments}())==="Arguments",v=function(h,S){try{return h[S]}catch(E){}};u.exports=r?e:function(l){var h,S,E;return l===void 0?"Undefined":l===null?"Null":typeof(S=v(h=s(l),o))=="string"?S:c?e(h):(E=e(h))==="Object"&&n(h.callee)?"Arguments":E}},42384:function(u,i,t){"use strict";var r=t(15439),n=t(57301),e=t(26148),a=t(8942),o=t(14434),s=t(62695),c=t(20453),v=t(21436),l=t(32214),h=t(92468),S=t(16361),E=t(66526).fastKey,O=t(4471),m=O.set,g=O.getterFor;u.exports={getConstructor:function(){function R(P,A,d,y){var x=P(function(D,U){o(D,I),m(D,{type:A,index:r(null),first:void 0,last:void 0,size:0}),S||(D.size=0),s(U)||c(U,D[y],{that:D,AS_ENTRIES:d})}),I=x.prototype,C=g(A),b=function(){function D(U,K,_){var G=C(U),H=F(U,K),X,N;return H?H.value=_:(G.last=H={index:N=E(K,!0),key:K,value:_,previous:X=G.last,next:void 0,removed:!1},G.first||(G.first=H),X&&(X.next=H),S?G.size++:U.size++,N!=="F"&&(G.index[N]=H)),U}return D}(),F=function(){function D(U,K){var _=C(U),G=E(K),H;if(G!=="F")return _.index[G];for(H=_.first;H;H=H.next)if(H.key===K)return H}return D}();return e(I,{clear:function(){function D(){for(var U=this,K=C(U),_=K.first;_;)_.removed=!0,_.previous&&(_.previous=_.previous.next=void 0),_=_.next;K.first=K.last=void 0,K.index=r(null),S?K.size=0:U.size=0}return D}(),delete:function(){function D(U){var K=this,_=C(K),G=F(K,U);if(G){var H=G.next,X=G.previous;delete _.index[G.index],G.removed=!0,X&&(X.next=H),H&&(H.previous=X),_.first===G&&(_.first=H),_.last===G&&(_.last=X),S?_.size--:K.size--}return!!G}return D}(),forEach:function(){function D(U){for(var K=C(this),_=a(U,arguments.length>1?arguments[1]:void 0),G;G=G?G.next:K.first;)for(_(G.value,G.key,this);G&&G.removed;)G=G.previous}return D}(),has:function(){function D(U){return!!F(this,U)}return D}()}),e(I,d?{get:function(){function D(U){var K=F(this,U);return K&&K.value}return D}(),set:function(){function D(U,K){return b(this,U===0?0:U,K)}return D}()}:{add:function(){function D(U){return b(this,U=U===0?0:U,U)}return D}()}),S&&n(I,"size",{configurable:!0,get:function(){function D(){return C(this).size}return D}()}),x}return R}(),setStrong:function(){function R(P,A,d){var y=A+" Iterator",x=g(A),I=g(y);v(P,A,function(C,b){m(this,{type:y,target:C,state:x(C),kind:b,last:void 0})},function(){for(var C=I(this),b=C.kind,F=C.last;F&&F.removed;)F=F.previous;return!C.target||!(C.last=F=F?F.next:C.state.first)?(C.target=void 0,l(void 0,!0)):l(b==="keys"?F.key:b==="values"?F.value:[F.key,F.value],!1)},d?"entries":"values",!d,!0),h(A)}return R}()}},19250:function(u,i,t){"use strict";var r=t(72908),n=t(26148),e=t(66526).getWeakData,a=t(14434),o=t(45418),s=t(62695),c=t(66379),v=t(20453),l=t(18539),h=t(3302),S=t(4471),E=S.set,O=S.getterFor,m=l.find,g=l.findIndex,R=r([].splice),P=0,A=function(I){return I.frozen||(I.frozen=new d)},d=function(){this.entries=[]},y=function(I,C){return m(I.entries,function(b){return b[0]===C})};d.prototype={get:function(){function x(I){var C=y(this,I);if(C)return C[1]}return x}(),has:function(){function x(I){return!!y(this,I)}return x}(),set:function(){function x(I,C){var b=y(this,I);b?b[1]=C:this.entries.push([I,C])}return x}(),delete:function(){function x(I){var C=g(this.entries,function(b){return b[0]===I});return~C&&R(this.entries,C,1),!!~C}return x}()},u.exports={getConstructor:function(){function x(I,C,b,F){var D=I(function(G,H){a(G,U),E(G,{type:C,id:P++,frozen:void 0}),s(H)||v(H,G[F],{that:G,AS_ENTRIES:b})}),U=D.prototype,K=O(C),_=function(){function G(H,X,N){var M=K(H),L=e(o(X),!0);return L===!0?A(M).set(X,N):L[M.id]=N,H}return G}();return n(U,{delete:function(){function G(H){var X=K(this);if(!c(H))return!1;var N=e(H);return N===!0?A(X).delete(H):N&&h(N,X.id)&&delete N[X.id]}return G}(),has:function(){function G(H){var X=K(this);if(!c(H))return!1;var N=e(H);return N===!0?A(X).has(H):N&&h(N,X.id)}return G}()}),n(U,b?{get:function(){function G(H){var X=K(this);if(c(H)){var N=e(H);return N===!0?A(X).get(H):N?N[X.id]:void 0}}return G}(),set:function(){function G(H,X){return _(this,H,X)}return G}()}:{add:function(){function G(H){return _(this,H,!0)}return G}()}),D}return x}()}},10609:function(u,i,t){"use strict";var r=t(3116),n=t(26856),e=t(72908),a=t(23620),o=t(60855),s=t(66526),c=t(20453),v=t(14434),l=t(53664),h=t(62695),S=t(66379),E=t(13586),O=t(1608),m=t(15676),g=t(43405);u.exports=function(R,P,A){var d=R.indexOf("Map")!==-1,y=R.indexOf("Weak")!==-1,x=d?"set":"add",I=n[R],C=I&&I.prototype,b=I,F={},D=function(M){var L=e(C[M]);o(C,M,M==="add"?function(){function j(V){return L(this,V===0?0:V),this}return j}():M==="delete"?function(j){return y&&!S(j)?!1:L(this,j===0?0:j)}:M==="get"?function(){function j(V){return y&&!S(V)?void 0:L(this,V===0?0:V)}return j}():M==="has"?function(){function j(V){return y&&!S(V)?!1:L(this,V===0?0:V)}return j}():function(){function j(V,Y){return L(this,V===0?0:V,Y),this}return j}())},U=a(R,!l(I)||!(y||C.forEach&&!E(function(){new I().entries().next()})));if(U)b=A.getConstructor(P,R,d,x),s.enable();else if(a(R,!0)){var K=new b,_=K[x](y?{}:-0,1)!==K,G=E(function(){K.has(1)}),H=O(function(N){new I(N)}),X=!y&&E(function(){for(var N=new I,M=5;M--;)N[x](M,M);return!N.has(-0)});H||(b=P(function(N,M){v(N,C);var L=g(new I,N,b);return h(M)||c(M,L[x],{that:L,AS_ENTRIES:d}),L}),b.prototype=C,C.constructor=b),(G||X)&&(D("delete"),D("has"),d&&D("get")),(X||_)&&D(x),y&&C.clear&&delete C.clear}return F[R]=b,r({global:!0,constructor:!0,forced:b!==I},F),m(b,R),y||A.setStrong(b,R,d),b}},83826:function(u,i,t){"use strict";var r=t(3302),n=t(53988),e=t(19765),a=t(8165);u.exports=function(o,s,c){for(var v=n(s),l=a.f,h=e.f,S=0;S<v.length;S++){var E=v[S];!r(o,E)&&!(c&&r(c,E))&&l(o,E,h(s,E))}}},46339:function(u,i,t){"use strict";var r=t(95558),n=r("match");u.exports=function(e){var a=/./;try{"/./"[e](a)}catch(o){try{return a[n]=!1,"/./"[e](a)}catch(s){}}return!1}},62297:function(u,i,t){"use strict";var r=t(13586);u.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype})},38017:function(u,i,t){"use strict";var r=t(72908),n=t(305),e=t(8758),a=/"/g,o=r("".replace);u.exports=function(s,c,v,l){var h=e(n(s)),S="<"+c;return v!==""&&(S+=" "+v+'="'+o(e(l),a,""")+'"'),S+">"+h+"</"+c+">"}},32214:function(u){"use strict";u.exports=function(i,t){return{value:i,done:t}}},21650:function(u,i,t){"use strict";var r=t(16361),n=t(8165),e=t(73970);u.exports=r?function(a,o,s){return n.f(a,o,e(1,s))}:function(a,o,s){return a[o]=s,a}},73970:function(u){"use strict";u.exports=function(i,t){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:t}}},80750:function(u,i,t){"use strict";var r=t(72445),n=t(8165),e=t(73970);u.exports=function(a,o,s){var c=r(o);c in a?n.f(a,c,e(0,s)):a[c]=s}},20228:function(u,i,t){"use strict";var r=t(72908),n=t(13586),e=t(81290).start,a=RangeError,o=isFinite,s=Math.abs,c=Date.prototype,v=c.toISOString,l=r(c.getTime),h=r(c.getUTCDate),S=r(c.getUTCFullYear),E=r(c.getUTCHours),O=r(c.getUTCMilliseconds),m=r(c.getUTCMinutes),g=r(c.getUTCMonth),R=r(c.getUTCSeconds);u.exports=n(function(){return v.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!n(function(){v.call(new Date(NaN))})?function(){function P(){if(!o(l(this)))throw new a("Invalid time value");var A=this,d=S(A),y=O(A),x=d<0?"-":d>9999?"+":"";return x+e(s(d),x?6:4,0)+"-"+e(g(A)+1,2,0)+"-"+e(h(A),2,0)+"T"+e(E(A),2,0)+":"+e(m(A),2,0)+":"+e(R(A),2,0)+"."+e(y,3,0)+"Z"}return P}():v},81603:function(u,i,t){"use strict";var r=t(45418),n=t(56109),e=TypeError;u.exports=function(a){if(r(this),a==="string"||a==="default")a="string";else if(a!=="number")throw new e("Incorrect hint");return n(this,a)}},57301:function(u,i,t){"use strict";var r=t(40773),n=t(8165);u.exports=function(e,a,o){return o.get&&r(o.get,a,{getter:!0}),o.set&&r(o.set,a,{setter:!0}),n.f(e,a,o)}},60855:function(u,i,t){"use strict";var r=t(53664),n=t(8165),e=t(40773),a=t(17553);u.exports=function(o,s,c,v){v||(v={});var l=v.enumerable,h=v.name!==void 0?v.name:s;if(r(c)&&e(c,h,v),v.global)l?o[s]=c:a(s,c);else{try{v.unsafe?o[s]&&(l=!0):delete o[s]}catch(S){}l?o[s]=c:n.f(o,s,{value:c,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return o}},26148:function(u,i,t){"use strict";var r=t(60855);u.exports=function(n,e,a){for(var o in e)r(n,o,e[o],a);return n}},17553:function(u,i,t){"use strict";var r=t(26856),n=Object.defineProperty;u.exports=function(e,a){try{n(r,e,{value:a,configurable:!0,writable:!0})}catch(o){r[e]=a}return a}},81245:function(u,i,t){"use strict";var r=t(36787),n=TypeError;u.exports=function(e,a){if(!delete e[a])throw new n("Cannot delete property "+r(a)+" of "+r(e))}},16361:function(u,i,t){"use strict";var r=t(13586);u.exports=!r(function(){return Object.defineProperty({},1,{get:function(){function n(){return 7}return n}()})[1]!==7})},55642:function(u,i,t){"use strict";var r=t(26856),n=t(66379),e=r.document,a=n(e)&&n(e.createElement);u.exports=function(o){return a?e.createElement(o):{}}},54579:function(u){"use strict";var i=TypeError,t=9007199254740991;u.exports=function(r){if(r>t)throw i("Maximum allowed index exceeded");return r}},31574:function(u,i,t){"use strict";var r=t(74247),n=r.match(/firefox\/(\d+)/i);u.exports=!!n&&+n[1]},52460:function(u,i,t){"use strict";var r=t(53437),n=t(86727);u.exports=!r&&!n&&typeof window=="object"&&typeof document=="object"},68261:function(u){"use strict";u.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},53437:function(u){"use strict";u.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},88836:function(u,i,t){"use strict";var r=t(74247);u.exports=/MSIE|Trident/.test(r)},79034:function(u,i,t){"use strict";var r=t(74247);u.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},25184:function(u,i,t){"use strict";var r=t(74247);u.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},86727:function(u,i,t){"use strict";var r=t(26856),n=t(8649);u.exports=n(r.process)==="process"},71979:function(u,i,t){"use strict";var r=t(74247);u.exports=/web0s(?!.*chrome)/i.test(r)},74247:function(u){"use strict";u.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},43541:function(u,i,t){"use strict";var r=t(26856),n=t(74247),e=r.process,a=r.Deno,o=e&&e.versions||a&&a.version,s=o&&o.v8,c,v;s&&(c=s.split("."),v=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!v&&n&&(c=n.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=n.match(/Chrome\/(\d+)/),c&&(v=+c[1]))),u.exports=v},27204:function(u,i,t){"use strict";var r=t(74247),n=r.match(/AppleWebKit\/(\d+)\./);u.exports=!!n&&+n[1]},38139:function(u){"use strict";u.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3116:function(u,i,t){"use strict";var r=t(26856),n=t(19765).f,e=t(21650),a=t(60855),o=t(17553),s=t(83826),c=t(23620);u.exports=function(v,l){var h=v.target,S=v.global,E=v.stat,O,m,g,R,P,A;if(S?m=r:E?m=r[h]||o(h,{}):m=(r[h]||{}).prototype,m)for(g in l){if(P=l[g],v.dontCallGetSet?(A=n(m,g),R=A&&A.value):R=m[g],O=c(S?g:h+(E?".":"#")+g,v.forced),!O&&R!==void 0){if(typeof P==typeof R)continue;s(P,R)}(v.sham||R&&R.sham)&&e(P,"sham",!0),a(m,g,P,v)}}},13586:function(u){"use strict";u.exports=function(i){try{return!!i()}catch(t){return!0}}},18690:function(u,i,t){"use strict";t(72941);var r=t(69935),n=t(60855),e=t(59049),a=t(13586),o=t(95558),s=t(21650),c=o("species"),v=RegExp.prototype;u.exports=function(l,h,S,E){var O=o(l),m=!a(function(){var A={};return A[O]=function(){return 7},""[l](A)!==7}),g=m&&!a(function(){var A=!1,d=/a/;return l==="split"&&(d={},d.constructor={},d.constructor[c]=function(){return d},d.flags="",d[O]=/./[O]),d.exec=function(){return A=!0,null},d[O](""),!A});if(!m||!g||S){var R=r(/./[O]),P=h(O,""[l],function(A,d,y,x,I){var C=r(A),b=d.exec;return b===e||b===v.exec?m&&!I?{done:!0,value:R(d,y,x)}:{done:!0,value:C(y,d,x)}:{done:!1}});n(String.prototype,l,P[0]),n(v,O,P[1])}E&&s(v[O],"sham",!0)}},73132:function(u,i,t){"use strict";var r=t(59882),n=t(83207),e=t(54579),a=t(8942),o=function s(c,v,l,h,S,E,O,m){for(var g=S,R=0,P=O?a(O,m):!1,A,d;R<h;)R in l&&(A=P?P(l[R],R,v):l[R],E>0&&r(A)?(d=n(A),g=s(c,v,A,d,g,E-1)-1):(e(g+1),c[g]=A),g++),R++;return g};u.exports=o},58199:function(u,i,t){"use strict";var r=t(13586);u.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},47244:function(u,i,t){"use strict";var r=t(86678),n=Function.prototype,e=n.apply,a=n.call;u.exports=typeof Reflect=="object"&&Reflect.apply||(r?a.bind(e):function(){return a.apply(e,arguments)})},8942:function(u,i,t){"use strict";var r=t(69935),n=t(79474),e=t(86678),a=r(r.bind);u.exports=function(o,s){return n(o),s===void 0?o:e?a(o,s):function(){return o.apply(s,arguments)}}},86678:function(u,i,t){"use strict";var r=t(13586);u.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},82060:function(u,i,t){"use strict";var r=t(72908),n=t(79474),e=t(66379),a=t(3302),o=t(31170),s=t(86678),c=Function,v=r([].concat),l=r([].join),h={},S=function(O,m,g){if(!a(h,m)){for(var R=[],P=0;P<m;P++)R[P]="a["+P+"]";h[m]=c("C,a","return new C("+l(R,",")+")")}return h[m](O,g)};u.exports=s?c.bind:function(){function E(O){var m=n(this),g=m.prototype,R=o(arguments,1),P=function(){function A(){var d=v(R,o(arguments));return this instanceof P?S(m,d.length,d):m.apply(O,d)}return A}();return e(g)&&(P.prototype=g),P}return E}()},20276:function(u,i,t){"use strict";var r=t(86678),n=Function.prototype.call;u.exports=r?n.bind(n):function(){return n.apply(n,arguments)}},15340:function(u,i,t){"use strict";var r=t(16361),n=t(3302),e=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,o=n(e,"name"),s=o&&function(){function v(){}return v}().name==="something",c=o&&(!r||r&&a(e,"name").configurable);u.exports={EXISTS:o,PROPER:s,CONFIGURABLE:c}},53715:function(u,i,t){"use strict";var r=t(72908),n=t(79474);u.exports=function(e,a,o){try{return r(n(Object.getOwnPropertyDescriptor(e,a)[o]))}catch(s){}}},69935:function(u,i,t){"use strict";var r=t(8649),n=t(72908);u.exports=function(e){if(r(e)==="Function")return n(e)}},72908:function(u,i,t){"use strict";var r=t(86678),n=Function.prototype,e=n.call,a=r&&n.bind.bind(e,e);u.exports=r?a:function(o){return function(){return e.apply(o,arguments)}}},22070:function(u,i,t){"use strict";var r=t(26856),n=t(53664),e=function(o){return n(o)?o:void 0};u.exports=function(a,o){return arguments.length<2?e(r[a]):r[a]&&r[a][o]}},52984:function(u,i,t){"use strict";var r=t(48615),n=t(76540),e=t(62695),a=t(47730),o=t(95558),s=o("iterator");u.exports=function(c){if(!e(c))return n(c,s)||n(c,"@@iterator")||a[r(c)]}},45731:function(u,i,t){"use strict";var r=t(20276),n=t(79474),e=t(45418),a=t(36787),o=t(52984),s=TypeError;u.exports=function(c,v){var l=arguments.length<2?o(c):v;if(n(l))return e(r(l,c));throw new s(a(c)+" is not iterable")}},58226:function(u,i,t){"use strict";var r=t(72908),n=t(59882),e=t(53664),a=t(8649),o=t(8758),s=r([].push);u.exports=function(c){if(e(c))return c;if(n(c)){for(var v=c.length,l=[],h=0;h<v;h++){var S=c[h];typeof S=="string"?s(l,S):(typeof S=="number"||a(S)==="Number"||a(S)==="String")&&s(l,o(S))}var E=l.length,O=!0;return function(m,g){if(O)return O=!1,g;if(n(this))return g;for(var R=0;R<E;R++)if(l[R]===m)return g}}}},76540:function(u,i,t){"use strict";var r=t(79474),n=t(62695);u.exports=function(e,a){var o=e[a];return n(o)?void 0:r(o)}},56802:function(u,i,t){"use strict";var r=t(72908),n=t(63549),e=Math.floor,a=r("".charAt),o=r("".replace),s=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,v=/\$([$&'`]|\d{1,2})/g;u.exports=function(l,h,S,E,O,m){var g=S+l.length,R=E.length,P=v;return O!==void 0&&(O=n(O),P=c),o(m,P,function(A,d){var y;switch(a(d,0)){case"$":return"$";case"&":return l;case"`":return s(h,0,S);case"'":return s(h,g);case"<":y=O[s(d,1,-1)];break;default:var x=+d;if(x===0)return A;if(x>R){var I=e(x/10);return I===0?A:I<=R?E[I-1]===void 0?a(d,1):E[I-1]+a(d,1):A}y=E[x-1]}return y===void 0?"":y})}},26856:function(u,i,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};u.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof t.g=="object"&&t.g)||r(!1)||function(){return this}()||Function("return this")()},3302:function(u,i,t){"use strict";var r=t(72908),n=t(63549),e=r({}.hasOwnProperty);u.exports=Object.hasOwn||function(){function a(o,s){return e(n(o),s)}return a}()},51653:function(u){"use strict";u.exports={}},66481:function(u){"use strict";u.exports=function(i,t){try{arguments.length}catch(r){}}},21474:function(u,i,t){"use strict";var r=t(22070);u.exports=r("document","documentElement")},16109:function(u,i,t){"use strict";var r=t(16361),n=t(13586),e=t(55642);u.exports=!r&&!n(function(){return Object.defineProperty(e("div"),"a",{get:function(){function a(){return 7}return a}()}).a!==7})},48350:function(u){"use strict";var i=Array,t=Math.abs,r=Math.pow,n=Math.floor,e=Math.log,a=Math.LN2,o=function(v,l,h){var S=i(h),E=h*8-l-1,O=(1<<E)-1,m=O>>1,g=l===23?r(2,-24)-r(2,-77):0,R=v<0||v===0&&1/v<0?1:0,P=0,A,d,y;for(v=t(v),v!==v||v===1/0?(d=v!==v?1:0,A=O):(A=n(e(v)/a),y=r(2,-A),v*y<1&&(A--,y*=2),A+m>=1?v+=g/y:v+=g*r(2,1-m),v*y>=2&&(A++,y/=2),A+m>=O?(d=0,A=O):A+m>=1?(d=(v*y-1)*r(2,l),A+=m):(d=v*r(2,m-1)*r(2,l),A=0));l>=8;)S[P++]=d&255,d/=256,l-=8;for(A=A<<l|d,E+=l;E>0;)S[P++]=A&255,A/=256,E-=8;return S[--P]|=R*128,S},s=function(v,l){var h=v.length,S=h*8-l-1,E=(1<<S)-1,O=E>>1,m=S-7,g=h-1,R=v[g--],P=R&127,A;for(R>>=7;m>0;)P=P*256+v[g--],m-=8;for(A=P&(1<<-m)-1,P>>=-m,m+=l;m>0;)A=A*256+v[g--],m-=8;if(P===0)P=1-O;else{if(P===E)return A?NaN:R?-1/0:1/0;A+=r(2,l),P-=O}return(R?-1:1)*A*r(2,P-l)};u.exports={pack:o,unpack:s}},80689:function(u,i,t){"use strict";var r=t(72908),n=t(13586),e=t(8649),a=Object,o=r("".split);u.exports=n(function(){return!a("z").propertyIsEnumerable(0)})?function(s){return e(s)==="String"?o(s,""):a(s)}:a},43405:function(u,i,t){"use strict";var r=t(53664),n=t(66379),e=t(91420);u.exports=function(a,o,s){var c,v;return e&&r(c=o.constructor)&&c!==s&&n(v=c.prototype)&&v!==s.prototype&&e(a,v),a}},92004:function(u,i,t){"use strict";var r=t(72908),n=t(53664),e=t(70192),a=r(Function.toString);n(e.inspectSource)||(e.inspectSource=function(o){return a(o)}),u.exports=e.inspectSource},66526:function(u,i,t){"use strict";var r=t(3116),n=t(72908),e=t(51653),a=t(66379),o=t(3302),s=t(8165).f,c=t(60097),v=t(31024),l=t(58221),h=t(76246),S=t(58199),E=!1,O=h("meta"),m=0,g=function(I){s(I,O,{value:{objectID:"O"+m++,weakData:{}}})},R=function(I,C){if(!a(I))return typeof I=="symbol"?I:(typeof I=="string"?"S":"P")+I;if(!o(I,O)){if(!l(I))return"F";if(!C)return"E";g(I)}return I[O].objectID},P=function(I,C){if(!o(I,O)){if(!l(I))return!0;if(!C)return!1;g(I)}return I[O].weakData},A=function(I){return S&&E&&l(I)&&!o(I,O)&&g(I),I},d=function(){y.enable=function(){},E=!0;var I=c.f,C=n([].splice),b={};b[O]=1,I(b).length&&(c.f=function(F){for(var D=I(F),U=0,K=D.length;U<K;U++)if(D[U]===O){C(D,U,1);break}return D},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:v.f}))},y=u.exports={enable:d,fastKey:R,getWeakData:P,onFreeze:A};e[O]=!0},4471:function(u,i,t){"use strict";var r=t(73844),n=t(26856),e=t(66379),a=t(21650),o=t(3302),s=t(70192),c=t(97223),v=t(51653),l="Object already initialized",h=n.TypeError,S=n.WeakMap,E,O,m,g=function(y){return m(y)?O(y):E(y,{})},R=function(y){return function(x){var I;if(!e(x)||(I=O(x)).type!==y)throw new h("Incompatible receiver, "+y+" required");return I}};if(r||s.state){var P=s.state||(s.state=new S);P.get=P.get,P.has=P.has,P.set=P.set,E=function(y,x){if(P.has(y))throw new h(l);return x.facade=y,P.set(y,x),x},O=function(y){return P.get(y)||{}},m=function(y){return P.has(y)}}else{var A=c("state");v[A]=!0,E=function(y,x){if(o(y,A))throw new h(l);return x.facade=y,a(y,A,x),x},O=function(y){return o(y,A)?y[A]:{}},m=function(y){return o(y,A)}}u.exports={set:E,get:O,has:m,enforce:g,getterFor:R}},48594:function(u,i,t){"use strict";var r=t(95558),n=t(47730),e=r("iterator"),a=Array.prototype;u.exports=function(o){return o!==void 0&&(n.Array===o||a[e]===o)}},59882:function(u,i,t){"use strict";var r=t(8649);u.exports=Array.isArray||function(){function n(e){return r(e)==="Array"}return n}()},76567:function(u,i,t){"use strict";var r=t(48615);u.exports=function(n){var e=r(n);return e==="BigInt64Array"||e==="BigUint64Array"}},53664:function(u){"use strict";var i=typeof document=="object"&&document.all;u.exports=typeof i=="undefined"&&i!==void 0?function(t){return typeof t=="function"||t===i}:function(t){return typeof t=="function"}},49632:function(u,i,t){"use strict";var r=t(72908),n=t(13586),e=t(53664),a=t(48615),o=t(22070),s=t(92004),c=function(){},v=[],l=o("Reflect","construct"),h=/^\s*(?:class|function)\b/,S=r(h.exec),E=!h.test(c),O=function(){function g(R){if(!e(R))return!1;try{return l(c,v,R),!0}catch(P){return!1}}return g}(),m=function(){function g(R){if(!e(R))return!1;switch(a(R)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return E||!!S(h,s(R))}catch(P){return!0}}return g}();m.sham=!0,u.exports=!l||n(function(){var g;return O(O.call)||!O(Object)||!O(function(){g=!0})||g})?m:O},75129:function(u,i,t){"use strict";var r=t(3302);u.exports=function(n){return n!==void 0&&(r(n,"value")||r(n,"writable"))}},23620:function(u,i,t){"use strict";var r=t(13586),n=t(53664),e=/#|\.prototype\./,a=function(h,S){var E=s[o(h)];return E===v?!0:E===c?!1:n(S)?r(S):!!S},o=a.normalize=function(l){return String(l).replace(e,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",v=a.POLYFILL="P";u.exports=a},76117:function(u,i,t){"use strict";var r=t(66379),n=Math.floor;u.exports=Number.isInteger||function(){function e(a){return!r(a)&&isFinite(a)&&n(a)===a}return e}()},62695:function(u){"use strict";u.exports=function(i){return i==null}},66379:function(u,i,t){"use strict";var r=t(53664);u.exports=function(n){return typeof n=="object"?n!==null:r(n)}},62600:function(u,i,t){"use strict";var r=t(66379);u.exports=function(n){return r(n)||n===null}},90139:function(u){"use strict";u.exports=!1},28774:function(u,i,t){"use strict";var r=t(66379),n=t(8649),e=t(95558),a=e("match");u.exports=function(o){var s;return r(o)&&((s=o[a])!==void 0?!!s:n(o)==="RegExp")}},43474:function(u,i,t){"use strict";var r=t(22070),n=t(53664),e=t(54341),a=t(95343),o=Object;u.exports=a?function(s){return typeof s=="symbol"}:function(s){var c=r("Symbol");return n(c)&&e(c.prototype,o(s))}},20453:function(u,i,t){"use strict";var r=t(8942),n=t(20276),e=t(45418),a=t(36787),o=t(48594),s=t(83207),c=t(54341),v=t(45731),l=t(52984),h=t(65169),S=TypeError,E=function(g,R){this.stopped=g,this.result=R},O=E.prototype;u.exports=function(m,g,R){var P=R&&R.that,A=!!(R&&R.AS_ENTRIES),d=!!(R&&R.IS_RECORD),y=!!(R&&R.IS_ITERATOR),x=!!(R&&R.INTERRUPTED),I=r(g,P),C,b,F,D,U,K,_,G=function(N){return C&&h(C,"normal",N),new E(!0,N)},H=function(N){return A?(e(N),x?I(N[0],N[1],G):I(N[0],N[1])):x?I(N,G):I(N)};if(d)C=m.iterator;else if(y)C=m;else{if(b=l(m),!b)throw new S(a(m)+" is not iterable");if(o(b)){for(F=0,D=s(m);D>F;F++)if(U=H(m[F]),U&&c(O,U))return U;return new E(!1)}C=v(m,b)}for(K=d?m.next:C.next;!(_=n(K,C)).done;){try{U=H(_.value)}catch(X){h(C,"throw",X)}if(typeof U=="object"&&U&&c(O,U))return U}return new E(!1)}},65169:function(u,i,t){"use strict";var r=t(20276),n=t(45418),e=t(76540);u.exports=function(a,o,s){var c,v;n(a);try{if(c=e(a,"return"),!c){if(o==="throw")throw s;return s}c=r(c,a)}catch(l){v=!0,c=l}if(o==="throw")throw s;if(v)throw c;return n(c),s}},41903:function(u,i,t){"use strict";var r=t(83665).IteratorPrototype,n=t(15439),e=t(73970),a=t(15676),o=t(47730),s=function(){return this};u.exports=function(c,v,l,h){var S=v+" Iterator";return c.prototype=n(r,{next:e(+!h,l)}),a(c,S,!1,!0),o[S]=s,c}},21436:function(u,i,t){"use strict";var r=t(3116),n=t(20276),e=t(90139),a=t(15340),o=t(53664),s=t(41903),c=t(56379),v=t(91420),l=t(15676),h=t(21650),S=t(60855),E=t(95558),O=t(47730),m=t(83665),g=a.PROPER,R=a.CONFIGURABLE,P=m.IteratorPrototype,A=m.BUGGY_SAFARI_ITERATORS,d=E("iterator"),y="keys",x="values",I="entries",C=function(){return this};u.exports=function(b,F,D,U,K,_,G){s(D,F,U);var H=function(nt){if(nt===K&&j)return j;if(!A&&nt&&nt in M)return M[nt];switch(nt){case y:return function(){function st(){return new D(this,nt)}return st}();case x:return function(){function st(){return new D(this,nt)}return st}();case I:return function(){function st(){return new D(this,nt)}return st}()}return function(){return new D(this)}},X=F+" Iterator",N=!1,M=b.prototype,L=M[d]||M["@@iterator"]||K&&M[K],j=!A&&L||H(K),V=F==="Array"&&M.entries||L,Y,at,ft;if(V&&(Y=c(V.call(new b)),Y!==Object.prototype&&Y.next&&(!e&&c(Y)!==P&&(v?v(Y,P):o(Y[d])||S(Y,d,C)),l(Y,X,!0,!0),e&&(O[X]=C))),g&&K===x&&L&&L.name!==x&&(!e&&R?h(M,"name",x):(N=!0,j=function(){function ht(){return n(L,this)}return ht}())),K)if(at={values:H(x),keys:_?j:H(y),entries:H(I)},G)for(ft in at)(A||N||!(ft in M))&&S(M,ft,at[ft]);else r({target:F,proto:!0,forced:A||N},at);return(!e||G)&&M[d]!==j&&S(M,d,j,{name:K}),O[F]=j,at}},83665:function(u,i,t){"use strict";var r=t(13586),n=t(53664),e=t(66379),a=t(15439),o=t(56379),s=t(60855),c=t(95558),v=t(90139),l=c("iterator"),h=!1,S,E,O;[].keys&&(O=[].keys(),"next"in O?(E=o(o(O)),E!==Object.prototype&&(S=E)):h=!0);var m=!e(S)||r(function(){var g={};return S[l].call(g)!==g});m?S={}:v&&(S=a(S)),n(S[l])||s(S,l,function(){return this}),u.exports={IteratorPrototype:S,BUGGY_SAFARI_ITERATORS:h}},47730:function(u){"use strict";u.exports={}},83207:function(u,i,t){"use strict";var r=t(74369);u.exports=function(n){return r(n.length)}},40773:function(u,i,t){"use strict";var r=t(72908),n=t(13586),e=t(53664),a=t(3302),o=t(16361),s=t(15340).CONFIGURABLE,c=t(92004),v=t(4471),l=v.enforce,h=v.get,S=String,E=Object.defineProperty,O=r("".slice),m=r("".replace),g=r([].join),R=o&&!n(function(){return E(function(){},"length",{value:8}).length!==8}),P=String(String).split("String"),A=u.exports=function(d,y,x){O(S(y),0,7)==="Symbol("&&(y="["+m(S(y),/^Symbol\(([^)]*)\)/,"$1")+"]"),x&&x.getter&&(y="get "+y),x&&x.setter&&(y="set "+y),(!a(d,"name")||s&&d.name!==y)&&(o?E(d,"name",{value:y,configurable:!0}):d.name=y),R&&x&&a(x,"arity")&&d.length!==x.arity&&E(d,"length",{value:x.arity});try{x&&a(x,"constructor")&&x.constructor?o&&E(d,"prototype",{writable:!1}):d.prototype&&(d.prototype=void 0)}catch(C){}var I=l(d);return a(I,"source")||(I.source=g(P,typeof y=="string"?y:"")),d};Function.prototype.toString=A(function(){function d(){return e(this)&&h(this).source||c(this)}return d}(),"toString")},80563:function(u){"use strict";var i=Math.expm1,t=Math.exp;u.exports=!i||i(10)>22025.465794806718||i(10)<22025.465794806718||i(-2e-17)!==-2e-17?function(){function r(n){var e=+n;return e===0?e:e>-1e-6&&e<1e-6?e+e*e/2:t(e)-1}return r}():i},27509:function(u,i,t){"use strict";var r=t(30585),n=Math.abs,e=2220446049250313e-31,a=1/e,o=function(c){return c+a-a};u.exports=function(s,c,v,l){var h=+s,S=n(h),E=r(h);if(S<l)return E*o(S/l/c)*l*c;var O=(1+c/e)*S,m=O-(O-S);return m>v||m!==m?E*(1/0):E*m}},48705:function(u,i,t){"use strict";var r=t(27509),n=11920928955078125e-23,e=34028234663852886e22,a=11754943508222875e-54;u.exports=Math.fround||function(){function o(s){return r(s,n,e,a)}return o}()},74347:function(u){"use strict";var i=Math.log,t=Math.LOG10E;u.exports=Math.log10||function(){function r(n){return i(n)*t}return r}()},50169:function(u){"use strict";var i=Math.log;u.exports=Math.log1p||function(){function t(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:i(1+n)}return t}()},30585:function(u){"use strict";u.exports=Math.sign||function(){function i(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}return i}()},54037:function(u){"use strict";var i=Math.ceil,t=Math.floor;u.exports=Math.trunc||function(){function r(n){var e=+n;return(e>0?t:i)(e)}return r}()},60816:function(u,i,t){"use strict";var r=t(26856),n=t(8975),e=t(8942),a=t(87073).set,o=t(8274),s=t(25184),c=t(79034),v=t(71979),l=t(86727),h=r.MutationObserver||r.WebKitMutationObserver,S=r.document,E=r.process,O=r.Promise,m=n("queueMicrotask"),g,R,P,A,d;if(!m){var y=new o,x=function(){var C,b;for(l&&(C=E.domain)&&C.exit();b=y.get();)try{b()}catch(F){throw y.head&&g(),F}C&&C.enter()};!s&&!l&&!v&&h&&S?(R=!0,P=S.createTextNode(""),new h(x).observe(P,{characterData:!0}),g=function(){P.data=R=!R}):!c&&O&&O.resolve?(A=O.resolve(void 0),A.constructor=O,d=e(A.then,A),g=function(){d(x)}):l?g=function(){E.nextTick(x)}:(a=e(a,r),g=function(){a(x)}),m=function(C){y.head||g(),y.add(C)}}u.exports=m},14187:function(u,i,t){"use strict";var r=t(79474),n=TypeError,e=function(o){var s,c;this.promise=new o(function(v,l){if(s!==void 0||c!==void 0)throw new n("Bad Promise constructor");s=v,c=l}),this.resolve=r(s),this.reject=r(c)};u.exports.f=function(a){return new e(a)}},75816:function(u,i,t){"use strict";var r=t(28774),n=TypeError;u.exports=function(e){if(r(e))throw new n("The method doesn't accept regular expressions");return e}},23944:function(u,i,t){"use strict";var r=t(26856),n=r.isFinite;u.exports=Number.isFinite||function(){function e(a){return typeof a=="number"&&n(a)}return e}()},98973:function(u,i,t){"use strict";var r=t(26856),n=t(13586),e=t(72908),a=t(8758),o=t(47913).trim,s=t(47410),c=e("".charAt),v=r.parseFloat,l=r.Symbol,h=l&&l.iterator,S=1/v(s+"-0")!==-1/0||h&&!n(function(){v(Object(h))});u.exports=S?function(){function E(O){var m=o(a(O)),g=v(m);return g===0&&c(m,0)==="-"?-0:g}return E}():v},41148:function(u,i,t){"use strict";var r=t(26856),n=t(13586),e=t(72908),a=t(8758),o=t(47913).trim,s=t(47410),c=r.parseInt,v=r.Symbol,l=v&&v.iterator,h=/^[+-]?0x/i,S=e(h.exec),E=c(s+"08")!==8||c(s+"0x16")!==22||l&&!n(function(){c(Object(l))});u.exports=E?function(){function O(m,g){var R=o(a(m));return c(R,g>>>0||(S(h,R)?16:10))}return O}():c},23554:function(u,i,t){"use strict";var r=t(16361),n=t(72908),e=t(20276),a=t(13586),o=t(99869),s=t(61791),c=t(10409),v=t(63549),l=t(80689),h=Object.assign,S=Object.defineProperty,E=n([].concat);u.exports=!h||a(function(){if(r&&h({b:1},h(S({},"a",{enumerable:!0,get:function(){function P(){S(this,"b",{value:3,enumerable:!1})}return P}()}),{b:2})).b!==1)return!0;var O={},m={},g=Symbol("assign detection"),R="abcdefghijklmnopqrst";return O[g]=7,R.split("").forEach(function(P){m[P]=P}),h({},O)[g]!==7||o(h({},m)).join("")!==R})?function(){function O(m,g){for(var R=v(m),P=arguments.length,A=1,d=s.f,y=c.f;P>A;)for(var x=l(arguments[A++]),I=d?E(o(x),d(x)):o(x),C=I.length,b=0,F;C>b;)F=I[b++],(!r||e(y,x,F))&&(R[F]=x[F]);return R}return O}():h},15439:function(u,i,t){"use strict";var r=t(45418),n=t(55119),e=t(38139),a=t(51653),o=t(21474),s=t(55642),c=t(97223),v=">",l="<",h="prototype",S="script",E=c("IE_PROTO"),O=function(){},m=function(y){return l+S+v+y+l+"/"+S+v},g=function(y){y.write(m("")),y.close();var x=y.parentWindow.Object;return y=null,x},R=function(){var y=s("iframe"),x="java"+S+":",I;return y.style.display="none",o.appendChild(y),y.src=String(x),I=y.contentWindow.document,I.open(),I.write(m("document.F=Object")),I.close(),I.F},P,A=function(){try{P=new ActiveXObject("htmlfile")}catch(x){}A=typeof document!="undefined"?document.domain&&P?g(P):R():g(P);for(var y=e.length;y--;)delete A[h][e[y]];return A()};a[E]=!0,u.exports=Object.create||function(){function d(y,x){var I;return y!==null?(O[h]=r(y),I=new O,O[h]=null,I[E]=y):I=A(),x===void 0?I:n.f(I,x)}return d}()},55119:function(u,i,t){"use strict";var r=t(16361),n=t(87168),e=t(8165),a=t(45418),o=t(54292),s=t(99869);i.f=r&&!n?Object.defineProperties:function(){function c(v,l){a(v);for(var h=o(l),S=s(l),E=S.length,O=0,m;E>O;)e.f(v,m=S[O++],h[m]);return v}return c}()},8165:function(u,i,t){"use strict";var r=t(16361),n=t(16109),e=t(87168),a=t(45418),o=t(72445),s=TypeError,c=Object.defineProperty,v=Object.getOwnPropertyDescriptor,l="enumerable",h="configurable",S="writable";i.f=r?e?function(){function E(O,m,g){if(a(O),m=o(m),a(g),typeof O=="function"&&m==="prototype"&&"value"in g&&S in g&&!g[S]){var R=v(O,m);R&&R[S]&&(O[m]=g.value,g={configurable:h in g?g[h]:R[h],enumerable:l in g?g[l]:R[l],writable:!1})}return c(O,m,g)}return E}():c:function(){function E(O,m,g){if(a(O),m=o(m),a(g),n)try{return c(O,m,g)}catch(R){}if("get"in g||"set"in g)throw new s("Accessors not supported");return"value"in g&&(O[m]=g.value),O}return E}()},19765:function(u,i,t){"use strict";var r=t(16361),n=t(20276),e=t(10409),a=t(73970),o=t(54292),s=t(72445),c=t(3302),v=t(16109),l=Object.getOwnPropertyDescriptor;i.f=r?l:function(){function h(S,E){if(S=o(S),E=s(E),v)try{return l(S,E)}catch(O){}if(c(S,E))return a(!n(e.f,S,E),S[E])}return h}()},31024:function(u,i,t){"use strict";var r=t(8649),n=t(54292),e=t(60097).f,a=t(31170),o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(v){try{return e(v)}catch(l){return a(o)}};u.exports.f=function(){function c(v){return o&&r(v)==="Window"?s(v):e(n(v))}return c}()},60097:function(u,i,t){"use strict";var r=t(49871),n=t(38139),e=n.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(){function a(o){return r(o,e)}return a}()},61791:function(u,i){"use strict";i.f=Object.getOwnPropertySymbols},56379:function(u,i,t){"use strict";var r=t(3302),n=t(53664),e=t(63549),a=t(97223),o=t(62297),s=a("IE_PROTO"),c=Object,v=c.prototype;u.exports=o?c.getPrototypeOf:function(l){var h=e(l);if(r(h,s))return h[s];var S=h.constructor;return n(S)&&h instanceof S?S.prototype:h instanceof c?v:null}},58221:function(u,i,t){"use strict";var r=t(13586),n=t(66379),e=t(8649),a=t(8685),o=Object.isExtensible,s=r(function(){o(1)});u.exports=s||a?function(){function c(v){return!n(v)||a&&e(v)==="ArrayBuffer"?!1:o?o(v):!0}return c}():o},54341:function(u,i,t){"use strict";var r=t(72908);u.exports=r({}.isPrototypeOf)},49871:function(u,i,t){"use strict";var r=t(72908),n=t(3302),e=t(54292),a=t(33483).indexOf,o=t(51653),s=r([].push);u.exports=function(c,v){var l=e(c),h=0,S=[],E;for(E in l)!n(o,E)&&n(l,E)&&s(S,E);for(;v.length>h;)n(l,E=v[h++])&&(~a(S,E)||s(S,E));return S}},99869:function(u,i,t){"use strict";var r=t(49871),n=t(38139);u.exports=Object.keys||function(){function e(a){return r(a,n)}return e}()},10409:function(u,i){"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);i.f=n?function(){function e(a){var o=r(this,a);return!!o&&o.enumerable}return e}():t},6205:function(u,i,t){"use strict";var r=t(90139),n=t(26856),e=t(13586),a=t(27204);u.exports=r||!e(function(){if(!(a&&a<535)){var o=Math.random();__defineSetter__.call(null,o,function(){}),delete n[o]}})},91420:function(u,i,t){"use strict";var r=t(53715),n=t(45418),e=t(30907);u.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var a=!1,o={},s;try{s=r(Object.prototype,"__proto__","set"),s(o,[]),a=o instanceof Array}catch(c){}return function(){function c(v,l){return n(v),e(l),a?s(v,l):v.__proto__=l,v}return c}()}():void 0)},64266:function(u,i,t){"use strict";var r=t(16361),n=t(13586),e=t(72908),a=t(56379),o=t(99869),s=t(54292),c=t(10409).f,v=e(c),l=e([].push),h=r&&n(function(){var E=Object.create(null);return E[2]=2,!v(E,2)}),S=function(O){return function(m){for(var g=s(m),R=o(g),P=h&&a(g)===null,A=R.length,d=0,y=[],x;A>d;)x=R[d++],(!r||(P?x in g:v(g,x)))&&l(y,O?[x,g[x]]:g[x]);return y}};u.exports={entries:S(!0),values:S(!1)}},6625:function(u,i,t){"use strict";var r=t(41936),n=t(48615);u.exports=r?{}.toString:function(){function e(){return"[object "+n(this)+"]"}return e}()},56109:function(u,i,t){"use strict";var r=t(20276),n=t(53664),e=t(66379),a=TypeError;u.exports=function(o,s){var c,v;if(s==="string"&&n(c=o.toString)&&!e(v=r(c,o))||n(c=o.valueOf)&&!e(v=r(c,o))||s!=="string"&&n(c=o.toString)&&!e(v=r(c,o)))return v;throw new a("Can't convert object to primitive value")}},53988:function(u,i,t){"use strict";var r=t(22070),n=t(72908),e=t(60097),a=t(61791),o=t(45418),s=n([].concat);u.exports=r("Reflect","ownKeys")||function(){function c(v){var l=e.f(o(v)),h=a.f;return h?s(l,h(v)):l}return c}()},55601:function(u,i,t){"use strict";var r=t(26856);u.exports=r},73034:function(u){"use strict";u.exports=function(i){try{return{error:!1,value:i()}}catch(t){return{error:!0,value:t}}}},14657:function(u,i,t){"use strict";var r=t(26856),n=t(3e3),e=t(53664),a=t(23620),o=t(92004),s=t(95558),c=t(52460),v=t(53437),l=t(90139),h=t(43541),S=n&&n.prototype,E=s("species"),O=!1,m=e(r.PromiseRejectionEvent),g=a("Promise",function(){var R=o(n),P=R!==String(n);if(!P&&h===66||l&&!(S.catch&&S.finally))return!0;if(!h||h<51||!/native code/.test(R)){var A=new n(function(x){x(1)}),d=function(I){I(function(){},function(){})},y=A.constructor={};if(y[E]=d,O=A.then(function(){})instanceof d,!O)return!0}return!P&&(c||v)&&!m});u.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:O}},3e3:function(u,i,t){"use strict";var r=t(26856);u.exports=r.Promise},61988:function(u,i,t){"use strict";var r=t(45418),n=t(66379),e=t(14187);u.exports=function(a,o){if(r(a),n(o)&&o.constructor===a)return o;var s=e.f(a),c=s.resolve;return c(o),s.promise}},18182:function(u,i,t){"use strict";var r=t(3e3),n=t(1608),e=t(14657).CONSTRUCTOR;u.exports=e||!n(function(a){r.all(a).then(void 0,function(){})})},69713:function(u,i,t){"use strict";var r=t(8165).f;u.exports=function(n,e,a){a in n||r(n,a,{configurable:!0,get:function(){function o(){return e[a]}return o}(),set:function(){function o(s){e[a]=s}return o}()})}},8274:function(u){"use strict";var i=function(){this.head=null,this.tail=null};i.prototype={add:function(){function t(r){var n={item:r,next:null},e=this.tail;e?e.next=n:this.head=n,this.tail=n}return t}(),get:function(){function t(){var r=this.head;if(r){var n=this.head=r.next;return n===null&&(this.tail=null),r.item}}return t}()},u.exports=i},59833:function(u,i,t){"use strict";var r=t(20276),n=t(45418),e=t(53664),a=t(8649),o=t(59049),s=TypeError;u.exports=function(c,v){var l=c.exec;if(e(l)){var h=r(l,c,v);return h!==null&&n(h),h}if(a(c)==="RegExp")return r(o,c,v);throw new s("RegExp#exec called on incompatible receiver")}},59049:function(u,i,t){"use strict";var r=t(20276),n=t(72908),e=t(8758),a=t(41913),o=t(96472),s=t(7624),c=t(15439),v=t(4471).get,l=t(18095),h=t(17329),S=s("native-string-replace",String.prototype.replace),E=RegExp.prototype.exec,O=E,m=n("".charAt),g=n("".indexOf),R=n("".replace),P=n("".slice),A=function(){var I=/a/,C=/b*/g;return r(E,I,"a"),r(E,C,"a"),I.lastIndex!==0||C.lastIndex!==0}(),d=o.BROKEN_CARET,y=/()??/.exec("")[1]!==void 0,x=A||y||d||l||h;x&&(O=function(){function I(C){var b=this,F=v(b),D=e(C),U=F.raw,K,_,G,H,X,N,M;if(U)return U.lastIndex=b.lastIndex,K=r(O,U,D),b.lastIndex=U.lastIndex,K;var L=F.groups,j=d&&b.sticky,V=r(a,b),Y=b.source,at=0,ft=D;if(j&&(V=R(V,"y",""),g(V,"g")===-1&&(V+="g"),ft=P(D,b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&m(D,b.lastIndex-1)!=="\n")&&(Y="(?: "+Y+")",ft=" "+ft,at++),_=new RegExp("^(?:"+Y+")",V)),y&&(_=new RegExp("^"+Y+"$(?!\\s)",V)),A&&(G=b.lastIndex),H=r(E,j?_:b,ft),j?H?(H.input=P(H.input,at),H[0]=P(H[0],at),H.index=b.lastIndex,b.lastIndex+=H[0].length):b.lastIndex=0:A&&H&&(b.lastIndex=b.global?H.index+H[0].length:G),y&&H&&H.length>1&&r(S,H[0],_,function(){for(X=1;X<arguments.length-2;X++)arguments[X]===void 0&&(H[X]=void 0)}),H&&L)for(H.groups=N=c(null),X=0;X<L.length;X++)M=L[X],N[M[0]]=H[M[1]];return H}return I}()),u.exports=O},41913:function(u,i,t){"use strict";var r=t(45418);u.exports=function(){var n=r(this),e="";return n.hasIndices&&(e+="d"),n.global&&(e+="g"),n.ignoreCase&&(e+="i"),n.multiline&&(e+="m"),n.dotAll&&(e+="s"),n.unicode&&(e+="u"),n.unicodeSets&&(e+="v"),n.sticky&&(e+="y"),e}},13980:function(u,i,t){"use strict";var r=t(20276),n=t(3302),e=t(54341),a=t(41913),o=RegExp.prototype;u.exports=function(s){var c=s.flags;return c===void 0&&!("flags"in o)&&!n(s,"flags")&&e(o,s)?r(a,s):c}},96472:function(u,i,t){"use strict";var r=t(13586),n=t(26856),e=n.RegExp,a=r(function(){var c=e("a","y");return c.lastIndex=2,c.exec("abcd")!==null}),o=a||r(function(){return!e("a","y").sticky}),s=a||r(function(){var c=e("^r","gy");return c.lastIndex=2,c.exec("str")!==null});u.exports={BROKEN_CARET:s,MISSED_STICKY:o,UNSUPPORTED_Y:a}},18095:function(u,i,t){"use strict";var r=t(13586),n=t(26856),e=n.RegExp;u.exports=r(function(){var a=e(".","s");return!(a.dotAll&&a.test("\n")&&a.flags==="s")})},17329:function(u,i,t){"use strict";var r=t(13586),n=t(26856),e=n.RegExp;u.exports=r(function(){var a=e("(?<a>b)","g");return a.exec("b").groups.a!=="b"||"b".replace(a,"$<a>c")!=="bc"})},305:function(u,i,t){"use strict";var r=t(62695),n=TypeError;u.exports=function(e){if(r(e))throw new n("Can't call method on "+e);return e}},8975:function(u,i,t){"use strict";var r=t(26856),n=t(16361),e=Object.getOwnPropertyDescriptor;u.exports=function(a){if(!n)return r[a];var o=e(r,a);return o&&o.value}},91935:function(u){"use strict";u.exports=Object.is||function(){function i(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}return i}()},17459:function(u,i,t){"use strict";var r=t(26856),n=t(47244),e=t(53664),a=t(68261),o=t(74247),s=t(31170),c=t(92827),v=r.Function,l=/MSIE .\./.test(o)||a&&function(){var h=r.Bun.version.split(".");return h.length<3||h[0]==="0"&&(h[1]<3||h[1]==="3"&&h[2]==="0")}();u.exports=function(h,S){var E=S?2:1;return l?function(O,m){var g=c(arguments.length,1)>E,R=e(O)?O:v(O),P=g?s(arguments,E):[],A=g?function(){n(R,this,P)}:R;return S?h(A,m):h(A)}:h}},92468:function(u,i,t){"use strict";var r=t(22070),n=t(57301),e=t(95558),a=t(16361),o=e("species");u.exports=function(s){var c=r(s);a&&c&&!c[o]&&n(c,o,{configurable:!0,get:function(){function v(){return this}return v}()})}},15676:function(u,i,t){"use strict";var r=t(8165).f,n=t(3302),e=t(95558),a=e("toStringTag");u.exports=function(o,s,c){o&&!c&&(o=o.prototype),o&&!n(o,a)&&r(o,a,{configurable:!0,value:s})}},97223:function(u,i,t){"use strict";var r=t(7624),n=t(76246),e=r("keys");u.exports=function(a){return e[a]||(e[a]=n(a))}},70192:function(u,i,t){"use strict";var r=t(26856),n=t(17553),e="__core-js_shared__",a=r[e]||n(e,{});u.exports=a},7624:function(u,i,t){"use strict";var r=t(90139),n=t(70192);(u.exports=function(e,a){return n[e]||(n[e]=a!==void 0?a:{})})("versions",[]).push({version:"3.35.0",mode:r?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE",source:"https://github.com/zloirock/core-js"})},83604:function(u,i,t){"use strict";var r=t(45418),n=t(48218),e=t(62695),a=t(95558),o=a("species");u.exports=function(s,c){var v=r(s).constructor,l;return v===void 0||e(l=r(v)[o])?c:n(l)}},81626:function(u,i,t){"use strict";var r=t(13586);u.exports=function(n){return r(function(){var e=""[n]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},13300:function(u,i,t){"use strict";var r=t(72908),n=t(84501),e=t(8758),a=t(305),o=r("".charAt),s=r("".charCodeAt),c=r("".slice),v=function(h){return function(S,E){var O=e(a(S)),m=n(E),g=O.length,R,P;return m<0||m>=g?h?"":void 0:(R=s(O,m),R<55296||R>56319||m+1===g||(P=s(O,m+1))<56320||P>57343?h?o(O,m):R:h?c(O,m,m+2):(R-55296<<10)+(P-56320)+65536)}};u.exports={codeAt:v(!1),charAt:v(!0)}},51468:function(u,i,t){"use strict";var r=t(74247);u.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},81290:function(u,i,t){"use strict";var r=t(72908),n=t(74369),e=t(8758),a=t(75463),o=t(305),s=r(a),c=r("".slice),v=Math.ceil,l=function(S){return function(E,O,m){var g=e(o(E)),R=n(O),P=g.length,A=m===void 0?" ":e(m),d,y;return R<=P||A===""?g:(d=R-P,y=s(A,v(d/A.length)),y.length>d&&(y=c(y,0,d)),S?g+y:y+g)}};u.exports={start:l(!1),end:l(!0)}},75463:function(u,i,t){"use strict";var r=t(84501),n=t(8758),e=t(305),a=RangeError;u.exports=function(){function o(s){var c=n(e(this)),v="",l=r(s);if(l<0||l===1/0)throw new a("Wrong number of repetitions");for(;l>0;(l>>>=1)&&(c+=c))l&1&&(v+=c);return v}return o}()},45745:function(u,i,t){"use strict";var r=t(47913).end,n=t(15677);u.exports=n("trimEnd")?function(){function e(){return r(this)}return e}():"".trimEnd},15677:function(u,i,t){"use strict";var r=t(15340).PROPER,n=t(13586),e=t(47410),a="\u200B\x85\u180E";u.exports=function(o){return n(function(){return!!e[o]()||a[o]()!==a||r&&e[o].name!==o})}},35634:function(u,i,t){"use strict";var r=t(47913).start,n=t(15677);u.exports=n("trimStart")?function(){function e(){return r(this)}return e}():"".trimStart},47913:function(u,i,t){"use strict";var r=t(72908),n=t(305),e=t(8758),a=t(47410),o=r("".replace),s=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),v=function(h){return function(S){var E=e(n(S));return h&1&&(E=o(E,s,"")),h&2&&(E=o(E,c,"$1")),E}};u.exports={start:v(1),end:v(2),trim:v(3)}},61855:function(u,i,t){"use strict";var r=t(43541),n=t(13586),e=t(26856),a=e.String;u.exports=!!Object.getOwnPropertySymbols&&!n(function(){var o=Symbol("symbol detection");return!a(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41})},28952:function(u,i,t){"use strict";var r=t(20276),n=t(22070),e=t(95558),a=t(60855);u.exports=function(){var o=n("Symbol"),s=o&&o.prototype,c=s&&s.valueOf,v=e("toPrimitive");s&&!s[v]&&a(s,v,function(l){return r(c,this)},{arity:1})}},16010:function(u,i,t){"use strict";var r=t(61855);u.exports=r&&!!Symbol.for&&!!Symbol.keyFor},87073:function(u,i,t){"use strict";var r=t(26856),n=t(47244),e=t(8942),a=t(53664),o=t(3302),s=t(13586),c=t(21474),v=t(31170),l=t(55642),h=t(92827),S=t(25184),E=t(86727),O=r.setImmediate,m=r.clearImmediate,g=r.process,R=r.Dispatch,P=r.Function,A=r.MessageChannel,d=r.String,y=0,x={},I="onreadystatechange",C,b,F,D;s(function(){C=r.location});var U=function(X){if(o(x,X)){var N=x[X];delete x[X],N()}},K=function(X){return function(){U(X)}},_=function(X){U(X.data)},G=function(X){r.postMessage(d(X),C.protocol+"//"+C.host)};(!O||!m)&&(O=function(){function H(X){h(arguments.length,1);var N=a(X)?X:P(X),M=v(arguments,1);return x[++y]=function(){n(N,void 0,M)},b(y),y}return H}(),m=function(){function H(X){delete x[X]}return H}(),E?b=function(X){g.nextTick(K(X))}:R&&R.now?b=function(X){R.now(K(X))}:A&&!S?(F=new A,D=F.port2,F.port1.onmessage=_,b=e(D.postMessage,D)):r.addEventListener&&a(r.postMessage)&&!r.importScripts&&C&&C.protocol!=="file:"&&!s(G)?(b=G,r.addEventListener("message",_,!1)):I in l("script")?b=function(X){c.appendChild(l("script"))[I]=function(){c.removeChild(this),U(X)}}:b=function(X){setTimeout(K(X),0)}),u.exports={set:O,clear:m}},7950:function(u,i,t){"use strict";var r=t(72908);u.exports=r(1 .valueOf)},39531:function(u,i,t){"use strict";var r=t(84501),n=Math.max,e=Math.min;u.exports=function(a,o){var s=r(a);return s<0?n(s+o,0):e(s,o)}},73873:function(u,i,t){"use strict";var r=t(9560),n=TypeError;u.exports=function(e){var a=r(e,"number");if(typeof a=="number")throw new n("Can't convert number to bigint");return BigInt(a)}},28968:function(u,i,t){"use strict";var r=t(84501),n=t(74369),e=RangeError;u.exports=function(a){if(a===void 0)return 0;var o=r(a),s=n(o);if(o!==s)throw new e("Wrong length or index");return s}},54292:function(u,i,t){"use strict";var r=t(80689),n=t(305);u.exports=function(e){return r(n(e))}},84501:function(u,i,t){"use strict";var r=t(54037);u.exports=function(n){var e=+n;return e!==e||e===0?0:r(e)}},74369:function(u,i,t){"use strict";var r=t(84501),n=Math.min;u.exports=function(e){return e>0?n(r(e),9007199254740991):0}},63549:function(u,i,t){"use strict";var r=t(305),n=Object;u.exports=function(e){return n(r(e))}},45476:function(u,i,t){"use strict";var r=t(70685),n=RangeError;u.exports=function(e,a){var o=r(e);if(o%a)throw new n("Wrong offset");return o}},70685:function(u,i,t){"use strict";var r=t(84501),n=RangeError;u.exports=function(e){var a=r(e);if(a<0)throw new n("The argument can't be less than 0");return a}},9560:function(u,i,t){"use strict";var r=t(20276),n=t(66379),e=t(43474),a=t(76540),o=t(56109),s=t(95558),c=TypeError,v=s("toPrimitive");u.exports=function(l,h){if(!n(l)||e(l))return l;var S=a(l,v),E;if(S){if(h===void 0&&(h="default"),E=r(S,l,h),!n(E)||e(E))return E;throw new c("Can't convert object to primitive value")}return h===void 0&&(h="number"),o(l,h)}},72445:function(u,i,t){"use strict";var r=t(9560),n=t(43474);u.exports=function(e){var a=r(e,"string");return n(a)?a:a+""}},41936:function(u,i,t){"use strict";var r=t(95558),n=r("toStringTag"),e={};e[n]="z",u.exports=String(e)==="[object z]"},8758:function(u,i,t){"use strict";var r=t(48615),n=String;u.exports=function(e){if(r(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}},52834:function(u){"use strict";var i=Math.round;u.exports=function(t){var r=i(t);return r<0?0:r>255?255:r&255}},36787:function(u){"use strict";var i=String;u.exports=function(t){try{return i(t)}catch(r){return"Object"}}},43186:function(u,i,t){"use strict";var r=t(3116),n=t(26856),e=t(20276),a=t(16361),o=t(45410),s=t(30432),c=t(31284),v=t(14434),l=t(73970),h=t(21650),S=t(76117),E=t(74369),O=t(28968),m=t(45476),g=t(52834),R=t(72445),P=t(3302),A=t(48615),d=t(66379),y=t(43474),x=t(15439),I=t(54341),C=t(91420),b=t(60097).f,F=t(12778),D=t(18539).forEach,U=t(92468),K=t(57301),_=t(8165),G=t(19765),H=t(21465),X=t(4471),N=t(43405),M=X.get,L=X.set,j=X.enforce,V=_.f,Y=G.f,at=n.RangeError,ft=c.ArrayBuffer,ht=ft.prototype,nt=c.DataView,st=s.NATIVE_ARRAY_BUFFER_VIEWS,Rt=s.TYPED_ARRAY_TAG,St=s.TypedArray,gt=s.TypedArrayPrototype,bt=s.isTypedArray,Mt="BYTES_PER_ELEMENT",$t="Wrong length",At=function(pt,Et){K(pt,Et,{configurable:!0,get:function(){function et(){return M(this)[Et]}return et}()})},k=function(pt){var Et;return I(ht,pt)||(Et=A(pt))==="ArrayBuffer"||Et==="SharedArrayBuffer"},q=function(pt,Et){return bt(pt)&&!y(Et)&&Et in pt&&S(+Et)&&Et>=0},tt=function(){function dt(pt,Et){return Et=R(Et),q(pt,Et)?l(2,pt[Et]):Y(pt,Et)}return dt}(),lt=function(){function dt(pt,Et,et){return Et=R(Et),q(pt,Et)&&d(et)&&P(et,"value")&&!P(et,"get")&&!P(et,"set")&&!et.configurable&&(!P(et,"writable")||et.writable)&&(!P(et,"enumerable")||et.enumerable)?(pt[Et]=et.value,pt):V(pt,Et,et)}return dt}();a?(st||(G.f=tt,_.f=lt,At(gt,"buffer"),At(gt,"byteOffset"),At(gt,"byteLength"),At(gt,"length")),r({target:"Object",stat:!0,forced:!st},{getOwnPropertyDescriptor:tt,defineProperty:lt}),u.exports=function(dt,pt,Et){var et=dt.match(/\d+/)[0]/8,it=dt+(Et?"Clamped":"")+"Array",yt="get"+dt,ut="set"+dt,It=n[it],Tt=It,Pt=Tt&&Tt.prototype,Dt={},Wt=function(rt,ct){var wt=M(rt);return wt.view[yt](ct*et+wt.byteOffset,!0)},vt=function(rt,ct,wt){var jt=M(rt);jt.view[ut](ct*et+jt.byteOffset,Et?g(wt):wt,!0)},J=function(rt,ct){V(rt,ct,{get:function(){function wt(){return Wt(this,ct)}return wt}(),set:function(){function wt(jt){return vt(this,ct,jt)}return wt}(),enumerable:!0})};st?o&&(Tt=pt(function(ot,rt,ct,wt){return v(ot,Pt),N(function(){return d(rt)?k(rt)?wt!==void 0?new It(rt,m(ct,et),wt):ct!==void 0?new It(rt,m(ct,et)):new It(rt):bt(rt)?H(Tt,rt):e(F,Tt,rt):new It(O(rt))}(),ot,Tt)}),C&&C(Tt,St),D(b(It),function(ot){ot in Tt||h(Tt,ot,It[ot])}),Tt.prototype=Pt):(Tt=pt(function(ot,rt,ct,wt){v(ot,Pt);var jt=0,Ut=0,zt,Gt,Kt;if(!d(rt))Kt=O(rt),Gt=Kt*et,zt=new ft(Gt);else if(k(rt)){zt=rt,Ut=m(ct,et);var Zt=rt.byteLength;if(wt===void 0){if(Zt%et)throw new at($t);if(Gt=Zt-Ut,Gt<0)throw new at($t)}else if(Gt=E(wt)*et,Gt+Ut>Zt)throw new at($t);Kt=Gt/et}else return bt(rt)?H(Tt,rt):e(F,Tt,rt);for(L(ot,{buffer:zt,byteOffset:Ut,byteLength:Gt,length:Kt,view:new nt(zt)});jt<Kt;)J(ot,jt++)}),C&&C(Tt,St),Pt=Tt.prototype=x(gt)),Pt.constructor!==Tt&&h(Pt,"constructor",Tt),j(Pt).TypedArrayConstructor=Tt,Rt&&h(Pt,Rt,it);var Z=Tt!==It;Dt[it]=Tt,r({global:!0,constructor:!0,forced:Z,sham:!st},Dt),Mt in Tt||h(Tt,Mt,et),Mt in Pt||h(Pt,Mt,et),U(it)}):u.exports=function(){}},45410:function(u,i,t){"use strict";var r=t(26856),n=t(13586),e=t(1608),a=t(30432).NATIVE_ARRAY_BUFFER_VIEWS,o=r.ArrayBuffer,s=r.Int8Array;u.exports=!a||!n(function(){s(1)})||!n(function(){new s(-1)})||!e(function(c){new s,new s(null),new s(1.5),new s(c)},!0)||n(function(){return new s(new o(2),1,void 0).length!==1})},85710:function(u,i,t){"use strict";var r=t(21465),n=t(9230);u.exports=function(e,a){return r(n(e),a)}},12778:function(u,i,t){"use strict";var r=t(8942),n=t(20276),e=t(48218),a=t(63549),o=t(83207),s=t(45731),c=t(52984),v=t(48594),l=t(76567),h=t(30432).aTypedArrayConstructor,S=t(73873);u.exports=function(){function E(O){var m=e(this),g=a(O),R=arguments.length,P=R>1?arguments[1]:void 0,A=P!==void 0,d=c(g),y,x,I,C,b,F,D,U;if(d&&!v(d))for(D=s(g,d),U=D.next,g=[];!(F=n(U,D)).done;)g.push(F.value);for(A&&R>2&&(P=r(P,arguments[2])),x=o(g),I=new(h(m))(x),C=l(I),y=0;x>y;y++)b=A?P(g[y],y):g[y],I[y]=C?S(b):+b;return I}return E}()},9230:function(u,i,t){"use strict";var r=t(30432),n=t(83604),e=r.aTypedArrayConstructor,a=r.getTypedArrayConstructor;u.exports=function(o){return e(n(o,a(o)))}},76246:function(u,i,t){"use strict";var r=t(72908),n=0,e=Math.random(),a=r(1 .toString);u.exports=function(o){return"Symbol("+(o===void 0?"":o)+")_"+a(++n+e,36)}},95343:function(u,i,t){"use strict";var r=t(61855);u.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},87168:function(u,i,t){"use strict";var r=t(16361),n=t(13586);u.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},92827:function(u){"use strict";var i=TypeError;u.exports=function(t,r){if(t<r)throw new i("Not enough arguments");return t}},73844:function(u,i,t){"use strict";var r=t(26856),n=t(53664),e=r.WeakMap;u.exports=n(e)&&/native code/.test(String(e))},20614:function(u,i,t){"use strict";var r=t(55601),n=t(3302),e=t(15355),a=t(8165).f;u.exports=function(o){var s=r.Symbol||(r.Symbol={});n(s,o)||a(s,o,{value:e.f(o)})}},15355:function(u,i,t){"use strict";var r=t(95558);i.f=r},95558:function(u,i,t){"use strict";var r=t(26856),n=t(7624),e=t(3302),a=t(76246),o=t(61855),s=t(95343),c=r.Symbol,v=n("wks"),l=s?c.for||c:c&&c.withoutSetter||a;u.exports=function(h){return e(v,h)||(v[h]=o&&e(c,h)?c[h]:l("Symbol."+h)),v[h]}},47410:function(u){"use strict";u.exports=" \n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"},41365:function(u,i,t){"use strict";var r=t(3116),n=t(26856),e=t(31284),a=t(92468),o="ArrayBuffer",s=e[o],c=n[o];r({global:!0,constructor:!0,forced:c!==s},{ArrayBuffer:s}),a(o)},58874:function(u,i,t){"use strict";var r=t(3116),n=t(30432),e=n.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!e},{isView:n.isView})},85806:function(u,i,t){"use strict";var r=t(3116),n=t(69935),e=t(13586),a=t(31284),o=t(45418),s=t(39531),c=t(74369),v=t(83604),l=a.ArrayBuffer,h=a.DataView,S=h.prototype,E=n(l.prototype.slice),O=n(S.getUint8),m=n(S.setUint8),g=e(function(){return!new l(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:g},{slice:function(){function R(P,A){if(E&&A===void 0)return E(o(this),P);for(var d=o(this).byteLength,y=s(P,d),x=s(A===void 0?d:A,d),I=new(v(this,l))(c(x-y)),C=new h(this),b=new h(I),F=0;y<x;)m(b,F++,O(C,y++));return I}return R}()})},75836:function(u,i,t){"use strict";var r=t(3116),n=t(13586),e=t(59882),a=t(66379),o=t(63549),s=t(83207),c=t(54579),v=t(80750),l=t(51582),h=t(34924),S=t(95558),E=t(43541),O=S("isConcatSpreadable"),m=E>=51||!n(function(){var P=[];return P[O]=!1,P.concat()[0]!==P}),g=function(A){if(!a(A))return!1;var d=A[O];return d!==void 0?!!d:e(A)},R=!m||!h("concat");r({target:"Array",proto:!0,arity:1,forced:R},{concat:function(){function P(A){var d=o(this),y=l(d,0),x=0,I,C,b,F,D;for(I=-1,b=arguments.length;I<b;I++)if(D=I===-1?d:arguments[I],g(D))for(F=s(D),c(x+F),C=0;C<F;C++,x++)C in D&&v(y,x,D[C]);else c(x+1),v(y,x++,D);return y.length=x,y}return P}()})},33901:function(u,i,t){"use strict";var r=t(3116),n=t(28332),e=t(98759);r({target:"Array",proto:!0},{copyWithin:n}),e("copyWithin")},85803:function(u,i,t){"use strict";var r=t(3116),n=t(18539).every,e=t(56127),a=e("every");r({target:"Array",proto:!0,forced:!a},{every:function(){function o(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}return o}()})},7216:function(u,i,t){"use strict";var r=t(3116),n=t(39948),e=t(98759);r({target:"Array",proto:!0},{fill:n}),e("fill")},50584:function(u,i,t){"use strict";var r=t(3116),n=t(18539).filter,e=t(34924),a=e("filter");r({target:"Array",proto:!0,forced:!a},{filter:function(){function o(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}return o}()})},25972:function(u,i,t){"use strict";var r=t(3116),n=t(18539).findIndex,e=t(98759),a="findIndex",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r({target:"Array",proto:!0,forced:o},{findIndex:function(){function s(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}return s}()}),e(a)},26632:function(u,i,t){"use strict";var r=t(3116),n=t(18539).find,e=t(98759),a="find",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r({target:"Array",proto:!0,forced:o},{find:function(){function s(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}return s}()}),e(a)},14064:function(u,i,t){"use strict";var r=t(3116),n=t(73132),e=t(79474),a=t(63549),o=t(83207),s=t(51582);r({target:"Array",proto:!0},{flatMap:function(){function c(v){var l=a(this),h=o(l),S;return e(v),S=s(l,0),S.length=n(S,l,l,h,0,1,v,arguments.length>1?arguments[1]:void 0),S}return c}()})},55222:function(u,i,t){"use strict";var r=t(3116),n=t(73132),e=t(63549),a=t(83207),o=t(84501),s=t(51582);r({target:"Array",proto:!0},{flat:function(){function c(){var v=arguments.length?arguments[0]:void 0,l=e(this),h=a(l),S=s(l,0);return S.length=n(S,l,l,h,0,v===void 0?1:o(v)),S}return c}()})},68616:function(u,i,t){"use strict";var r=t(3116),n=t(16856);r({target:"Array",proto:!0,forced:[].forEach!==n},{forEach:n})},45168:function(u,i,t){"use strict";var r=t(3116),n=t(45056),e=t(1608),a=!e(function(o){Array.from(o)});r({target:"Array",stat:!0,forced:a},{from:n})},26088:function(u,i,t){"use strict";var r=t(3116),n=t(33483).includes,e=t(13586),a=t(98759),o=e(function(){return!Array(1).includes()});r({target:"Array",proto:!0,forced:o},{includes:function(){function s(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}return s}()}),a("includes")},92654:function(u,i,t){"use strict";var r=t(3116),n=t(69935),e=t(33483).indexOf,a=t(56127),o=n([].indexOf),s=!!o&&1/o([1],1,-0)<0,c=s||!a("indexOf");r({target:"Array",proto:!0,forced:c},{indexOf:function(){function v(l){var h=arguments.length>1?arguments[1]:void 0;return s?o(this,l,h)||0:e(this,l,h)}return v}()})},58423:function(u,i,t){"use strict";var r=t(3116),n=t(59882);r({target:"Array",stat:!0},{isArray:n})},26017:function(u,i,t){"use strict";var r=t(54292),n=t(98759),e=t(47730),a=t(4471),o=t(8165).f,s=t(21436),c=t(32214),v=t(90139),l=t(16361),h="Array Iterator",S=a.set,E=a.getterFor(h);u.exports=s(Array,"Array",function(m,g){S(this,{type:h,target:r(m),index:0,kind:g})},function(){var m=E(this),g=m.target,R=m.index++;if(!g||R>=g.length)return m.target=void 0,c(void 0,!0);switch(m.kind){case"keys":return c(R,!1);case"values":return c(g[R],!1)}return c([R,g[R]],!1)},"values");var O=e.Arguments=e.Array;if(n("keys"),n("values"),n("entries"),!v&&l&&O.name!=="values")try{o(O,"name",{value:"values"})}catch(m){}},37808:function(u,i,t){"use strict";var r=t(3116),n=t(72908),e=t(80689),a=t(54292),o=t(56127),s=n([].join),c=e!==Object,v=c||!o("join",",");r({target:"Array",proto:!0,forced:v},{join:function(){function l(h){return s(a(this),h===void 0?",":h)}return l}()})},2509:function(u,i,t){"use strict";var r=t(3116),n=t(16400);r({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},2124:function(u,i,t){"use strict";var r=t(3116),n=t(18539).map,e=t(34924),a=e("map");r({target:"Array",proto:!0,forced:!a},{map:function(){function o(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}return o}()})},38196:function(u,i,t){"use strict";var r=t(3116),n=t(13586),e=t(49632),a=t(80750),o=Array,s=n(function(){function c(){}return!(o.of.call(c)instanceof c)});r({target:"Array",stat:!0,forced:s},{of:function(){function c(){for(var v=0,l=arguments.length,h=new(e(this)?this:o)(l);l>v;)a(h,v,arguments[v++]);return h.length=l,h}return c}()})},56913:function(u,i,t){"use strict";var r=t(3116),n=t(58394).right,e=t(56127),a=t(43541),o=t(86727),s=!o&&a>79&&a<83,c=s||!e("reduceRight");r({target:"Array",proto:!0,forced:c},{reduceRight:function(){function v(l){return n(this,l,arguments.length,arguments.length>1?arguments[1]:void 0)}return v}()})},7731:function(u,i,t){"use strict";var r=t(3116),n=t(58394).left,e=t(56127),a=t(43541),o=t(86727),s=!o&&a>79&&a<83,c=s||!e("reduce");r({target:"Array",proto:!0,forced:c},{reduce:function(){function v(l){var h=arguments.length;return n(this,l,h,h>1?arguments[1]:void 0)}return v}()})},48704:function(u,i,t){"use strict";var r=t(3116),n=t(72908),e=t(59882),a=n([].reverse),o=[1,2];r({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){function s(){return e(this)&&(this.length=this.length),a(this)}return s}()})},24077:function(u,i,t){"use strict";var r=t(3116),n=t(59882),e=t(49632),a=t(66379),o=t(39531),s=t(83207),c=t(54292),v=t(80750),l=t(95558),h=t(34924),S=t(31170),E=h("slice"),O=l("species"),m=Array,g=Math.max;r({target:"Array",proto:!0,forced:!E},{slice:function(){function R(P,A){var d=c(this),y=s(d),x=o(P,y),I=o(A===void 0?y:A,y),C,b,F;if(n(d)&&(C=d.constructor,e(C)&&(C===m||n(C.prototype))?C=void 0:a(C)&&(C=C[O],C===null&&(C=void 0)),C===m||C===void 0))return S(d,x,I);for(b=new(C===void 0?m:C)(g(I-x,0)),F=0;x<I;x++,F++)x in d&&v(b,F,d[x]);return b.length=F,b}return R}()})},60230:function(u,i,t){"use strict";var r=t(3116),n=t(18539).some,e=t(56127),a=e("some");r({target:"Array",proto:!0,forced:!a},{some:function(){function o(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}return o}()})},43430:function(u,i,t){"use strict";var r=t(3116),n=t(72908),e=t(79474),a=t(63549),o=t(83207),s=t(81245),c=t(8758),v=t(13586),l=t(91183),h=t(56127),S=t(31574),E=t(88836),O=t(43541),m=t(27204),g=[],R=n(g.sort),P=n(g.push),A=v(function(){g.sort(void 0)}),d=v(function(){g.sort(null)}),y=h("sort"),x=!v(function(){if(O)return O<70;if(!(S&&S>3)){if(E)return!0;if(m)return m<603;var b="",F,D,U,K;for(F=65;F<76;F++){switch(D=String.fromCharCode(F),F){case 66:case 69:case 70:case 72:U=3;break;case 68:case 71:U=4;break;default:U=2}for(K=0;K<47;K++)g.push({k:D+K,v:U})}for(g.sort(function(_,G){return G.v-_.v}),K=0;K<g.length;K++)D=g[K].k.charAt(0),b.charAt(b.length-1)!==D&&(b+=D);return b!=="DGBEFHACIJK"}}),I=A||!d||!y||!x,C=function(F){return function(D,U){return U===void 0?-1:D===void 0?1:F!==void 0?+F(D,U)||0:c(D)>c(U)?1:-1}};r({target:"Array",proto:!0,forced:I},{sort:function(){function b(F){F!==void 0&&e(F);var D=a(this);if(x)return F===void 0?R(D):R(D,F);var U=[],K=o(D),_,G;for(G=0;G<K;G++)G in D&&P(U,D[G]);for(l(U,C(F)),_=o(U),G=0;G<_;)D[G]=U[G++];for(;G<K;)s(D,G++);return D}return b}()})},53407:function(u,i,t){"use strict";var r=t(92468);r("Array")},69220:function(u,i,t){"use strict";var r=t(3116),n=t(63549),e=t(39531),a=t(84501),o=t(83207),s=t(10779),c=t(54579),v=t(51582),l=t(80750),h=t(81245),S=t(34924),E=S("splice"),O=Math.max,m=Math.min;r({target:"Array",proto:!0,forced:!E},{splice:function(){function g(R,P){var A=n(this),d=o(A),y=e(R,d),x=arguments.length,I,C,b,F,D,U;for(x===0?I=C=0:x===1?(I=0,C=d-y):(I=x-2,C=m(O(a(P),0),d-y)),c(d+I-C),b=v(A,C),F=0;F<C;F++)D=y+F,D in A&&l(b,F,A[D]);if(b.length=C,I<C){for(F=y;F<d-C;F++)D=F+C,U=F+I,D in A?A[U]=A[D]:h(A,U);for(F=d;F>d-C+I;F--)h(A,F-1)}else if(I>C)for(F=d-C;F>y;F--)D=F+C-1,U=F+I-1,D in A?A[U]=A[D]:h(A,U);for(F=0;F<I;F++)A[F+y]=arguments[F+2];return s(A,d-C+I),b}return g}()})},55784:function(u,i,t){"use strict";var r=t(98759);r("flatMap")},72978:function(u,i,t){"use strict";var r=t(98759);r("flat")},42860:function(u,i,t){"use strict";var r=t(3116),n=t(31284),e=t(11559);r({global:!0,constructor:!0,forced:!e},{DataView:n.DataView})},3521:function(u,i,t){"use strict";t(42860)},94961:function(u,i,t){"use strict";var r=t(3116),n=t(72908),e=Date,a=n(e.prototype.getTime);r({target:"Date",stat:!0},{now:function(){function o(){return a(new e)}return o}()})},91777:function(u,i,t){"use strict";var r=t(3116),n=t(20228);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==n},{toISOString:n})},49615:function(u,i,t){"use strict";var r=t(3116),n=t(13586),e=t(63549),a=t(9560),o=n(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){function s(){return 1}return s}()})!==1});r({target:"Date",proto:!0,arity:1,forced:o},{toJSON:function(){function s(c){var v=e(this),l=a(v,"number");return typeof l=="number"&&!isFinite(l)?null:v.toISOString()}return s}()})},70700:function(u,i,t){"use strict";var r=t(3302),n=t(60855),e=t(81603),a=t(95558),o=a("toPrimitive"),s=Date.prototype;r(s,o)||n(s,o,e)},31032:function(u,i,t){"use strict";var r=t(72908),n=t(60855),e=Date.prototype,a="Invalid Date",o="toString",s=r(e[o]),c=r(e.getTime);String(new Date(NaN))!==a&&n(e,o,function(){function v(){var l=c(this);return l===l?s(this):a}return v}())},83329:function(u,i,t){"use strict";var r=t(3116),n=t(82060);r({target:"Function",proto:!0,forced:Function.bind!==n},{bind:n})},15700:function(u,i,t){"use strict";var r=t(53664),n=t(66379),e=t(8165),a=t(54341),o=t(95558),s=t(40773),c=o("hasInstance"),v=Function.prototype;c in v||e.f(v,c,{value:s(function(l){if(!r(this)||!n(l))return!1;var h=this.prototype;return n(h)?a(h,l):l instanceof this},c)})},85783:function(u,i,t){"use strict";var r=t(16361),n=t(15340).EXISTS,e=t(72908),a=t(57301),o=Function.prototype,s=e(o.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,v=e(c.exec),l="name";r&&!n&&a(o,l,{configurable:!0,get:function(){function h(){try{return v(c,s(this))[1]}catch(S){return""}}return h}()})},34233:function(u,i,t){"use strict";var r=t(3116),n=t(22070),e=t(47244),a=t(20276),o=t(72908),s=t(13586),c=t(53664),v=t(43474),l=t(31170),h=t(58226),S=t(61855),E=String,O=n("JSON","stringify"),m=o(/./.exec),g=o("".charAt),R=o("".charCodeAt),P=o("".replace),A=o(1 .toString),d=/[\uD800-\uDFFF]/g,y=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,I=!S||s(function(){var D=n("Symbol")("stringify detection");return O([D])!=="[null]"||O({a:D})!=="{}"||O(Object(D))!=="{}"}),C=s(function(){return O("\uDF06\uD834")!=='"\\udf06\\ud834"'||O("\uDEAD")!=='"\\udead"'}),b=function(U,K){var _=l(arguments),G=h(K);if(!(!c(G)&&(U===void 0||v(U))))return _[1]=function(H,X){if(c(G)&&(X=a(G,this,E(H),X)),!v(X))return X},e(O,null,_)},F=function(U,K,_){var G=g(_,K-1),H=g(_,K+1);return m(y,U)&&!m(x,H)||m(x,U)&&!m(y,G)?"\\u"+A(R(U,0),16):U};O&&r({target:"JSON",stat:!0,arity:3,forced:I||C},{stringify:function(){function D(U,K,_){var G=l(arguments),H=e(I?b:O,null,G);return C&&typeof H=="string"?P(H,d,F):H}return D}()})},51430:function(u,i,t){"use strict";var r=t(26856),n=t(15676);n(r.JSON,"JSON",!0)},88826:function(u,i,t){"use strict";var r=t(10609),n=t(42384);r("Map",function(e){return function(){function a(){return e(this,arguments.length?arguments[0]:void 0)}return a}()},n)},10944:function(u,i,t){"use strict";t(88826)},36418:function(u,i,t){"use strict";var r=t(3116),n=t(50169),e=Math.acosh,a=Math.log,o=Math.sqrt,s=Math.LN2,c=!e||Math.floor(e(Number.MAX_VALUE))!==710||e(1/0)!==1/0;r({target:"Math",stat:!0,forced:c},{acosh:function(){function v(l){var h=+l;return h<1?NaN:h>9490626562425156e-8?a(h)+s:n(h-1+o(h-1)*o(h+1))}return v}()})},68872:function(u,i,t){"use strict";var r=t(3116),n=Math.asinh,e=Math.log,a=Math.sqrt;function o(c){var v=+c;return!isFinite(v)||v===0?v:v<0?-o(-v):e(v+a(v*v+1))}var s=!(n&&1/n(0)>0);r({target:"Math",stat:!0,forced:s},{asinh:o})},93105:function(u,i,t){"use strict";var r=t(3116),n=Math.atanh,e=Math.log,a=!(n&&1/n(-0)<0);r({target:"Math",stat:!0,forced:a},{atanh:function(){function o(s){var c=+s;return c===0?c:e((1+c)/(1-c))/2}return o}()})},1795:function(u,i,t){"use strict";var r=t(3116),n=t(30585),e=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(){function o(s){var c=+s;return n(c)*a(e(c),.3333333333333333)}return o}()})},11121:function(u,i,t){"use strict";var r=t(3116),n=Math.floor,e=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(){function o(s){var c=s>>>0;return c?31-n(e(c+.5)*a):32}return o}()})},18730:function(u,i,t){"use strict";var r=t(3116),n=t(80563),e=Math.cosh,a=Math.abs,o=Math.E,s=!e||e(710)===1/0;r({target:"Math",stat:!0,forced:s},{cosh:function(){function c(v){var l=n(a(v)-1)+1;return(l+1/(l*o*o))*(o/2)}return c}()})},11624:function(u,i,t){"use strict";var r=t(3116),n=t(80563);r({target:"Math",stat:!0,forced:n!==Math.expm1},{expm1:n})},89004:function(u,i,t){"use strict";var r=t(3116),n=t(48705);r({target:"Math",stat:!0},{fround:n})},72680:function(u,i,t){"use strict";var r=t(3116),n=Math.hypot,e=Math.abs,a=Math.sqrt,o=!!n&&n(1/0,NaN)!==1/0;r({target:"Math",stat:!0,arity:2,forced:o},{hypot:function(){function s(c,v){for(var l=0,h=0,S=arguments.length,E=0,O,m;h<S;)O=e(arguments[h++]),E<O?(m=E/O,l=l*m*m+1,E=O):O>0?(m=O/E,l+=m*m):l+=O;return E===1/0?1/0:E*a(l)}return s}()})},75213:function(u,i,t){"use strict";var r=t(3116),n=t(13586),e=Math.imul,a=n(function(){return e(4294967295,5)!==-5||e.length!==2});r({target:"Math",stat:!0,forced:a},{imul:function(){function o(s,c){var v=65535,l=+s,h=+c,S=v&l,E=v&h;return 0|S*E+((v&l>>>16)*E+S*(v&h>>>16)<<16>>>0)}return o}()})},4347:function(u,i,t){"use strict";var r=t(3116),n=t(74347);r({target:"Math",stat:!0},{log10:n})},86433:function(u,i,t){"use strict";var r=t(3116),n=t(50169);r({target:"Math",stat:!0},{log1p:n})},21401:function(u,i,t){"use strict";var r=t(3116),n=Math.log,e=Math.LN2;r({target:"Math",stat:!0},{log2:function(){function a(o){return n(o)/e}return a}()})},54468:function(u,i,t){"use strict";var r=t(3116),n=t(30585);r({target:"Math",stat:!0},{sign:n})},36183:function(u,i,t){"use strict";var r=t(3116),n=t(13586),e=t(80563),a=Math.abs,o=Math.exp,s=Math.E,c=n(function(){return Math.sinh(-2e-17)!==-2e-17});r({target:"Math",stat:!0,forced:c},{sinh:function(){function v(l){var h=+l;return a(h)<1?(e(h)-e(-h))/2:(o(h-1)-o(-h-1))*(s/2)}return v}()})},95499:function(u,i,t){"use strict";var r=t(3116),n=t(80563),e=Math.exp;r({target:"Math",stat:!0},{tanh:function(){function a(o){var s=+o,c=n(s),v=n(-s);return c===1/0?1:v===1/0?-1:(c-v)/(e(s)+e(-s))}return a}()})},50929:function(u,i,t){"use strict";var r=t(15676);r(Math,"Math",!0)},91447:function(u,i,t){"use strict";var r=t(3116),n=t(54037);r({target:"Math",stat:!0},{trunc:n})},84314:function(u,i,t){"use strict";var r=t(3116),n=t(90139),e=t(16361),a=t(26856),o=t(55601),s=t(72908),c=t(23620),v=t(3302),l=t(43405),h=t(54341),S=t(43474),E=t(9560),O=t(13586),m=t(60097).f,g=t(19765).f,R=t(8165).f,P=t(7950),A=t(47913).trim,d="Number",y=a[d],x=o[d],I=y.prototype,C=a.TypeError,b=s("".slice),F=s("".charCodeAt),D=function(N){var M=E(N,"number");return typeof M=="bigint"?M:U(M)},U=function(N){var M=E(N,"number"),L,j,V,Y,at,ft,ht,nt;if(S(M))throw new C("Cannot convert a Symbol value to a number");if(typeof M=="string"&&M.length>2){if(M=A(M),L=F(M,0),L===43||L===45){if(j=F(M,2),j===88||j===120)return NaN}else if(L===48){switch(F(M,1)){case 66:case 98:V=2,Y=49;break;case 79:case 111:V=8,Y=55;break;default:return+M}for(at=b(M,2),ft=at.length,ht=0;ht<ft;ht++)if(nt=F(at,ht),nt<48||nt>Y)return NaN;return parseInt(at,V)}}return+M},K=c(d,!y(" 0o1")||!y("0b1")||y("+0x1")),_=function(N){return h(I,N)&&O(function(){P(N)})},G=function(){function X(N){var M=arguments.length<1?0:y(D(N));return _(this)?l(Object(M),this,G):M}return X}();G.prototype=I,K&&!n&&(I.constructor=G),r({global:!0,constructor:!0,wrap:!0,forced:K},{Number:G});var H=function(N,M){for(var L=e?m(M):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),j=0,V;L.length>j;j++)v(M,V=L[j])&&!v(N,V)&&R(N,V,g(M,V))};n&&x&&H(o[d],x),(K||n)&&H(o[d],y)},48211:function(u,i,t){"use strict";var r=t(3116);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},52237:function(u,i,t){"use strict";var r=t(3116),n=t(23944);r({target:"Number",stat:!0},{isFinite:n})},306:function(u,i,t){"use strict";var r=t(3116),n=t(76117);r({target:"Number",stat:!0},{isInteger:n})},22509:function(u,i,t){"use strict";var r=t(3116);r({target:"Number",stat:!0},{isNaN:function(){function n(e){return e!==e}return n}()})},84660:function(u,i,t){"use strict";var r=t(3116),n=t(76117),e=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(){function a(o){return n(o)&&e(o)<=9007199254740991}return a}()})},82678:function(u,i,t){"use strict";var r=t(3116);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},76585:function(u,i,t){"use strict";var r=t(3116);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},21733:function(u,i,t){"use strict";var r=t(3116),n=t(98973);r({target:"Number",stat:!0,forced:Number.parseFloat!==n},{parseFloat:n})},21210:function(u,i,t){"use strict";var r=t(3116),n=t(41148);r({target:"Number",stat:!0,forced:Number.parseInt!==n},{parseInt:n})},10272:function(u,i,t){"use strict";var r=t(3116),n=t(72908),e=t(84501),a=t(7950),o=t(75463),s=t(13586),c=RangeError,v=String,l=Math.floor,h=n(o),S=n("".slice),E=n(1 .toFixed),O=function d(y,x,I){return x===0?I:x%2===1?d(y,x-1,I*y):d(y*y,x/2,I)},m=function(y){for(var x=0,I=y;I>=4096;)x+=12,I/=4096;for(;I>=2;)x+=1,I/=2;return x},g=function(y,x,I){for(var C=-1,b=I;++C<6;)b+=x*y[C],y[C]=b%1e7,b=l(b/1e7)},R=function(y,x){for(var I=6,C=0;--I>=0;)C+=y[I],y[I]=l(C/x),C=C%x*1e7},P=function(y){for(var x=6,I="";--x>=0;)if(I!==""||x===0||y[x]!==0){var C=v(y[x]);I=I===""?C:I+h("0",7-C.length)+C}return I},A=s(function(){return E(8e-5,3)!=="0.000"||E(.9,0)!=="1"||E(1.255,2)!=="1.25"||E(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!s(function(){E({})});r({target:"Number",proto:!0,forced:A},{toFixed:function(){function d(y){var x=a(this),I=e(y),C=[0,0,0,0,0,0],b="",F="0",D,U,K,_;if(I<0||I>20)throw new c("Incorrect fraction digits");if(x!==x)return"NaN";if(x<=-1e21||x>=1e21)return v(x);if(x<0&&(b="-",x=-x),x>1e-21)if(D=m(x*O(2,69,1))-69,U=D<0?x*O(2,-D,1):x/O(2,D,1),U*=4503599627370496,D=52-D,D>0){for(g(C,0,U),K=I;K>=7;)g(C,1e7,0),K-=7;for(g(C,O(10,K,1),0),K=D-1;K>=23;)R(C,8388608),K-=23;R(C,1<<K),g(C,1,1),R(C,2),F=P(C)}else g(C,0,U),g(C,1<<-D,0),F=P(C)+h("0",I);return I>0?(_=F.length,F=b+(_<=I?"0."+h("0",I-_)+F:S(F,0,_-I)+"."+S(F,_-I))):F=b+F,F}return d}()})},83403:function(u,i,t){"use strict";var r=t(3116),n=t(72908),e=t(13586),a=t(7950),o=n(1 .toPrecision),s=e(function(){return o(1,void 0)!=="1"})||!e(function(){o({})});r({target:"Number",proto:!0,forced:s},{toPrecision:function(){function c(v){return v===void 0?o(a(this)):o(a(this),v)}return c}()})},4229:function(u,i,t){"use strict";var r=t(3116),n=t(23554);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})},53388:function(u,i,t){"use strict";var r=t(3116),n=t(16361),e=t(15439);r({target:"Object",stat:!0,sham:!n},{create:e})},53121:function(u,i,t){"use strict";var r=t(3116),n=t(16361),e=t(6205),a=t(79474),o=t(63549),s=t(8165);n&&r({target:"Object",proto:!0,forced:e},{__defineGetter__:function(){function c(v,l){s.f(o(this),v,{get:a(l),enumerable:!0,configurable:!0})}return c}()})},53822:function(u,i,t){"use strict";var r=t(3116),n=t(16361),e=t(55119).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==e,sham:!n},{defineProperties:e})},2514:function(u,i,t){"use strict";var r=t(3116),n=t(16361),e=t(8165).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==e,sham:!n},{defineProperty:e})},2218:function(u,i,t){"use strict";var r=t(3116),n=t(16361),e=t(6205),a=t(79474),o=t(63549),s=t(8165);n&&r({target:"Object",proto:!0,forced:e},{__defineSetter__:function(){function c(v,l){s.f(o(this),v,{set:a(l),enumerable:!0,configurable:!0})}return c}()})},14955:function(u,i,t){"use strict";var r=t(3116),n=t(64266).entries;r({target:"Object",stat:!0},{entries:function(){function e(a){return n(a)}return e}()})},79220:function(u,i,t){"use strict";var r=t(3116),n=t(58199),e=t(13586),a=t(66379),o=t(66526).onFreeze,s=Object.freeze,c=e(function(){s(1)});r({target:"Object",stat:!0,forced:c,sham:!n},{freeze:function(){function v(l){return s&&a(l)?s(o(l)):l}return v}()})},81941:function(u,i,t){"use strict";var r=t(3116),n=t(20453),e=t(80750);r({target:"Object",stat:!0},{fromEntries:function(){function a(o){var s={};return n(o,function(c,v){e(s,c,v)},{AS_ENTRIES:!0}),s}return a}()})},37245:function(u,i,t){"use strict";var r=t(3116),n=t(13586),e=t(54292),a=t(19765).f,o=t(16361),s=!o||n(function(){a(1)});r({target:"Object",stat:!0,forced:s,sham:!o},{getOwnPropertyDescriptor:function(){function c(v,l){return a(e(v),l)}return c}()})},8373:function(u,i,t){"use strict";var r=t(3116),n=t(16361),e=t(53988),a=t(54292),o=t(19765),s=t(80750);r({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(){function c(v){for(var l=a(v),h=o.f,S=e(l),E={},O=0,m,g;S.length>O;)g=h(l,m=S[O++]),g!==void 0&&s(E,m,g);return E}return c}()})},81212:function(u,i,t){"use strict";var r=t(3116),n=t(13586),e=t(31024).f,a=n(function(){return!Object.getOwnPropertyNames(1)});r({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:e})},56896:function(u,i,t){"use strict";var r=t(3116),n=t(61855),e=t(13586),a=t(61791),o=t(63549),s=!n||e(function(){a.f(1)});r({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(){function c(v){var l=a.f;return l?l(o(v)):[]}return c}()})},26054:function(u,i,t){"use strict";var r=t(3116),n=t(13586),e=t(63549),a=t(56379),o=t(62297),s=n(function(){a(1)});r({target:"Object",stat:!0,forced:s,sham:!o},{getPrototypeOf:function(){function c(v){return a(e(v))}return c}()})},49611:function(u,i,t){"use strict";var r=t(3116),n=t(58221);r({target:"Object",stat:!0,forced:Object.isExtensible!==n},{isExtensible:n})},98344:function(u,i,t){"use strict";var r=t(3116),n=t(13586),e=t(66379),a=t(8649),o=t(8685),s=Object.isFrozen,c=o||n(function(){s(1)});r({target:"Object",stat:!0,forced:c},{isFrozen:function(){function v(l){return!e(l)||o&&a(l)==="ArrayBuffer"?!0:s?s(l):!1}return v}()})},55750:function(u,i,t){"use strict";var r=t(3116),n=t(13586),e=t(66379),a=t(8649),o=t(8685),s=Object.isSealed,c=o||n(function(){s(1)});r({target:"Object",stat:!0,forced:c},{isSealed:function(){function v(l){return!e(l)||o&&a(l)==="ArrayBuffer"?!0:s?s(l):!1}return v}()})},57745:function(u,i,t){"use strict";var r=t(3116),n=t(91935);r({target:"Object",stat:!0},{is:n})},7340:function(u,i,t){"use strict";var r=t(3116),n=t(63549),e=t(99869),a=t(13586),o=a(function(){e(1)});r({target:"Object",stat:!0,forced:o},{keys:function(){function s(c){return e(n(c))}return s}()})},63429:function(u,i,t){"use strict";var r=t(3116),n=t(16361),e=t(6205),a=t(63549),o=t(72445),s=t(56379),c=t(19765).f;n&&r({target:"Object",proto:!0,forced:e},{__lookupGetter__:function(){function v(l){var h=a(this),S=o(l),E;do if(E=c(h,S))return E.get;while(h=s(h))}return v}()})},9558:function(u,i,t){"use strict";var r=t(3116),n=t(16361),e=t(6205),a=t(63549),o=t(72445),s=t(56379),c=t(19765).f;n&&r({target:"Object",proto:!0,forced:e},{__lookupSetter__:function(){function v(l){var h=a(this),S=o(l),E;do if(E=c(h,S))return E.set;while(h=s(h))}return v}()})},2420:function(u,i,t){"use strict";var r=t(3116),n=t(66379),e=t(66526).onFreeze,a=t(58199),o=t(13586),s=Object.preventExtensions,c=o(function(){s(1)});r({target:"Object",stat:!0,forced:c,sham:!a},{preventExtensions:function(){function v(l){return s&&n(l)?s(e(l)):l}return v}()})},19015:function(u,i,t){"use strict";var r=t(3116),n=t(66379),e=t(66526).onFreeze,a=t(58199),o=t(13586),s=Object.seal,c=o(function(){s(1)});r({target:"Object",stat:!0,forced:c,sham:!a},{seal:function(){function v(l){return s&&n(l)?s(e(l)):l}return v}()})},34137:function(u,i,t){"use strict";var r=t(3116),n=t(91420);r({target:"Object",stat:!0},{setPrototypeOf:n})},24705:function(u,i,t){"use strict";var r=t(41936),n=t(60855),e=t(6625);r||n(Object.prototype,"toString",e,{unsafe:!0})},55318:function(u,i,t){"use strict";var r=t(3116),n=t(64266).values;r({target:"Object",stat:!0},{values:function(){function e(a){return n(a)}return e}()})},49456:function(u,i,t){"use strict";var r=t(3116),n=t(98973);r({global:!0,forced:parseFloat!==n},{parseFloat:n})},12217:function(u,i,t){"use strict";var r=t(3116),n=t(41148);r({global:!0,forced:parseInt!==n},{parseInt:n})},70479:function(u,i,t){"use strict";var r=t(3116),n=t(20276),e=t(79474),a=t(14187),o=t(73034),s=t(20453),c=t(18182);r({target:"Promise",stat:!0,forced:c},{all:function(){function v(l){var h=this,S=a.f(h),E=S.resolve,O=S.reject,m=o(function(){var g=e(h.resolve),R=[],P=0,A=1;s(l,function(d){var y=P++,x=!1;A++,n(g,h,d).then(function(I){x||(x=!0,R[y]=I,--A||E(R))},O)}),--A||E(R)});return m.error&&O(m.value),S.promise}return v}()})},72188:function(u,i,t){"use strict";var r=t(3116),n=t(90139),e=t(14657).CONSTRUCTOR,a=t(3e3),o=t(22070),s=t(53664),c=t(60855),v=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:e,real:!0},{catch:function(){function h(S){return this.then(void 0,S)}return h}()}),!n&&s(a)){var l=o("Promise").prototype.catch;v.catch!==l&&c(v,"catch",l,{unsafe:!0})}},13779:function(u,i,t){"use strict";var r=t(3116),n=t(90139),e=t(86727),a=t(26856),o=t(20276),s=t(60855),c=t(91420),v=t(15676),l=t(92468),h=t(79474),S=t(53664),E=t(66379),O=t(14434),m=t(83604),g=t(87073).set,R=t(60816),P=t(66481),A=t(73034),d=t(8274),y=t(4471),x=t(3e3),I=t(14657),C=t(14187),b="Promise",F=I.CONSTRUCTOR,D=I.REJECTION_EVENT,U=I.SUBCLASSING,K=y.getterFor(b),_=y.set,G=x&&x.prototype,H=x,X=G,N=a.TypeError,M=a.document,L=a.process,j=C.f,V=j,Y=!!(M&&M.createEvent&&a.dispatchEvent),at="unhandledrejection",ft="rejectionhandled",ht=0,nt=1,st=2,Rt=1,St=2,gt,bt,Mt,$t,At=function(ut){var It;return E(ut)&&S(It=ut.then)?It:!1},k=function(ut,It){var Tt=It.value,Pt=It.state===nt,Dt=Pt?ut.ok:ut.fail,Wt=ut.resolve,vt=ut.reject,J=ut.domain,Z,ot,rt;try{Dt?(Pt||(It.rejection===St&&pt(It),It.rejection=Rt),Dt===!0?Z=Tt:(J&&J.enter(),Z=Dt(Tt),J&&(J.exit(),rt=!0)),Z===ut.promise?vt(new N("Promise-chain cycle")):(ot=At(Z))?o(ot,Z,Wt,vt):Wt(Z)):vt(Tt)}catch(ct){J&&!rt&&J.exit(),vt(ct)}},q=function(ut,It){ut.notified||(ut.notified=!0,R(function(){for(var Tt=ut.reactions,Pt;Pt=Tt.get();)k(Pt,ut);ut.notified=!1,It&&!ut.rejection&<(ut)}))},tt=function(ut,It,Tt){var Pt,Dt;Y?(Pt=M.createEvent("Event"),Pt.promise=It,Pt.reason=Tt,Pt.initEvent(ut,!1,!0),a.dispatchEvent(Pt)):Pt={promise:It,reason:Tt},!D&&(Dt=a["on"+ut])?Dt(Pt):ut===at&&P("Unhandled promise rejection",Tt)},lt=function(ut){o(g,a,function(){var It=ut.facade,Tt=ut.value,Pt=dt(ut),Dt;if(Pt&&(Dt=A(function(){e?L.emit("unhandledRejection",Tt,It):tt(at,It,Tt)}),ut.rejection=e||dt(ut)?St:Rt,Dt.error))throw Dt.value})},dt=function(ut){return ut.rejection!==Rt&&!ut.parent},pt=function(ut){o(g,a,function(){var It=ut.facade;e?L.emit("rejectionHandled",It):tt(ft,It,ut.value)})},Et=function(ut,It,Tt){return function(Pt){ut(It,Pt,Tt)}},et=function(ut,It,Tt){ut.done||(ut.done=!0,Tt&&(ut=Tt),ut.value=It,ut.state=st,q(ut,!0))},it=function yt(ut,It,Tt){if(!ut.done){ut.done=!0,Tt&&(ut=Tt);try{if(ut.facade===It)throw new N("Promise can't be resolved itself");var Pt=At(It);Pt?R(function(){var Dt={done:!1};try{o(Pt,It,Et(yt,Dt,ut),Et(et,Dt,ut))}catch(Wt){et(Dt,Wt,ut)}}):(ut.value=It,ut.state=nt,q(ut,!1))}catch(Dt){et({done:!1},Dt,ut)}}};if(F&&(H=function(){function yt(ut){O(this,X),h(ut),o(gt,this);var It=K(this);try{ut(Et(it,It),Et(et,It))}catch(Tt){et(It,Tt)}}return yt}(),X=H.prototype,gt=function(){function yt(ut){_(this,{type:b,done:!1,notified:!1,parent:!1,reactions:new d,rejection:!1,state:ht,value:void 0})}return yt}(),gt.prototype=s(X,"then",function(){function yt(ut,It){var Tt=K(this),Pt=j(m(this,H));return Tt.parent=!0,Pt.ok=S(ut)?ut:!0,Pt.fail=S(It)&&It,Pt.domain=e?L.domain:void 0,Tt.state===ht?Tt.reactions.add(Pt):R(function(){k(Pt,Tt)}),Pt.promise}return yt}()),bt=function(){var ut=new gt,It=K(ut);this.promise=ut,this.resolve=Et(it,It),this.reject=Et(et,It)},C.f=j=function(ut){return ut===H||ut===Mt?new bt(ut):V(ut)},!n&&S(x)&&G!==Object.prototype)){$t=G.then,U||s(G,"then",function(){function yt(ut,It){var Tt=this;return new H(function(Pt,Dt){o($t,Tt,Pt,Dt)}).then(ut,It)}return yt}(),{unsafe:!0});try{delete G.constructor}catch(yt){}c&&c(G,X)}r({global:!0,constructor:!0,wrap:!0,forced:F},{Promise:H}),v(H,b,!1,!0),l(b)},79063:function(u,i,t){"use strict";var r=t(3116),n=t(90139),e=t(3e3),a=t(13586),o=t(22070),s=t(53664),c=t(83604),v=t(61988),l=t(60855),h=e&&e.prototype,S=!!e&&a(function(){h.finally.call({then:function(){function O(){}return O}()},function(){})});if(r({target:"Promise",proto:!0,real:!0,forced:S},{finally:function(){function O(m){var g=c(this,o("Promise")),R=s(m);return this.then(R?function(P){return v(g,m()).then(function(){return P})}:m,R?function(P){return v(g,m()).then(function(){throw P})}:m)}return O}()}),!n&&s(e)){var E=o("Promise").prototype.finally;h.finally!==E&&l(h,"finally",E,{unsafe:!0})}},75795:function(u,i,t){"use strict";t(13779),t(70479),t(72188),t(18199),t(75955),t(39996)},18199:function(u,i,t){"use strict";var r=t(3116),n=t(20276),e=t(79474),a=t(14187),o=t(73034),s=t(20453),c=t(18182);r({target:"Promise",stat:!0,forced:c},{race:function(){function v(l){var h=this,S=a.f(h),E=S.reject,O=o(function(){var m=e(h.resolve);s(l,function(g){n(m,h,g).then(S.resolve,E)})});return O.error&&E(O.value),S.promise}return v}()})},75955:function(u,i,t){"use strict";var r=t(3116),n=t(14187),e=t(14657).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:e},{reject:function(){function a(o){var s=n.f(this),c=s.reject;return c(o),s.promise}return a}()})},39996:function(u,i,t){"use strict";var r=t(3116),n=t(22070),e=t(90139),a=t(3e3),o=t(14657).CONSTRUCTOR,s=t(61988),c=n("Promise"),v=e&&!o;r({target:"Promise",stat:!0,forced:e||o},{resolve:function(){function l(h){return s(v&&this===c?a:this,h)}return l}()})},1210:function(u,i,t){"use strict";var r=t(3116),n=t(47244),e=t(79474),a=t(45418),o=t(13586),s=!o(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:s},{apply:function(){function c(v,l,h){return n(e(v),l,a(h))}return c}()})},91370:function(u,i,t){"use strict";var r=t(3116),n=t(22070),e=t(47244),a=t(82060),o=t(48218),s=t(45418),c=t(66379),v=t(15439),l=t(13586),h=n("Reflect","construct"),S=Object.prototype,E=[].push,O=l(function(){function R(){}return!(h(function(){},[],R)instanceof R)}),m=!l(function(){h(function(){})}),g=O||m;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(){function R(P,A){o(P),s(A);var d=arguments.length<3?P:o(arguments[2]);if(m&&!O)return h(P,A,d);if(P===d){switch(A.length){case 0:return new P;case 1:return new P(A[0]);case 2:return new P(A[0],A[1]);case 3:return new P(A[0],A[1],A[2]);case 4:return new P(A[0],A[1],A[2],A[3])}var y=[null];return e(E,y,A),new(e(a,P,y))}var x=d.prototype,I=v(c(x)?x:S),C=e(P,I,A);return c(C)?C:I}return R}()})},17327:function(u,i,t){"use strict";var r=t(3116),n=t(16361),e=t(45418),a=t(72445),o=t(8165),s=t(13586),c=s(function(){Reflect.defineProperty(o.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:c,sham:!n},{defineProperty:function(){function v(l,h,S){e(l);var E=a(h);e(S);try{return o.f(l,E,S),!0}catch(O){return!1}}return v}()})},2679:function(u,i,t){"use strict";var r=t(3116),n=t(45418),e=t(19765).f;r({target:"Reflect",stat:!0},{deleteProperty:function(){function a(o,s){var c=e(n(o),s);return c&&!c.configurable?!1:delete o[s]}return a}()})},27262:function(u,i,t){"use strict";var r=t(3116),n=t(16361),e=t(45418),a=t(19765);r({target:"Reflect",stat:!0,sham:!n},{getOwnPropertyDescriptor:function(){function o(s,c){return a.f(e(s),c)}return o}()})},47278:function(u,i,t){"use strict";var r=t(3116),n=t(45418),e=t(56379),a=t(62297);r({target:"Reflect",stat:!0,sham:!a},{getPrototypeOf:function(){function o(s){return e(n(s))}return o}()})},60733:function(u,i,t){"use strict";var r=t(3116),n=t(20276),e=t(66379),a=t(45418),o=t(75129),s=t(19765),c=t(56379);function v(l,h){var S=arguments.length<3?l:arguments[2],E,O;if(a(l)===S)return l[h];if(E=s.f(l,h),E)return o(E)?E.value:E.get===void 0?void 0:n(E.get,S);if(e(O=c(l)))return v(O,h,S)}r({target:"Reflect",stat:!0},{get:v})},22547:function(u,i,t){"use strict";var r=t(3116);r({target:"Reflect",stat:!0},{has:function(){function n(e,a){return a in e}return n}()})},92992:function(u,i,t){"use strict";var r=t(3116),n=t(45418),e=t(58221);r({target:"Reflect",stat:!0},{isExtensible:function(){function a(o){return n(o),e(o)}return a}()})},64650:function(u,i,t){"use strict";var r=t(3116),n=t(53988);r({target:"Reflect",stat:!0},{ownKeys:n})},71255:function(u,i,t){"use strict";var r=t(3116),n=t(22070),e=t(45418),a=t(58199);r({target:"Reflect",stat:!0,sham:!a},{preventExtensions:function(){function o(s){e(s);try{var c=n("Object","preventExtensions");return c&&c(s),!0}catch(v){return!1}}return o}()})},65558:function(u,i,t){"use strict";var r=t(3116),n=t(45418),e=t(30907),a=t(91420);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(){function o(s,c){n(s),e(c);try{return a(s,c),!0}catch(v){return!1}}return o}()})},97836:function(u,i,t){"use strict";var r=t(3116),n=t(20276),e=t(45418),a=t(66379),o=t(75129),s=t(13586),c=t(8165),v=t(19765),l=t(56379),h=t(73970);function S(O,m,g){var R=arguments.length<4?O:arguments[3],P=v.f(e(O),m),A,d,y;if(!P){if(a(d=l(O)))return S(d,m,g,R);P=h(0)}if(o(P)){if(P.writable===!1||!a(R))return!1;if(A=v.f(R,m)){if(A.get||A.set||A.writable===!1)return!1;A.value=g,c.f(R,m,A)}else c.f(R,m,h(0,g))}else{if(y=P.set,y===void 0)return!1;n(y,R,g)}return!0}var E=s(function(){var O=function(){},m=c.f(new O,"a",{configurable:!0});return Reflect.set(O.prototype,"a",1,m)!==!1});r({target:"Reflect",stat:!0,forced:E},{set:S})},83932:function(u,i,t){"use strict";var r=t(16361),n=t(26856),e=t(72908),a=t(23620),o=t(43405),s=t(21650),c=t(15439),v=t(60097).f,l=t(54341),h=t(28774),S=t(8758),E=t(13980),O=t(96472),m=t(69713),g=t(60855),R=t(13586),P=t(3302),A=t(4471).enforce,d=t(92468),y=t(95558),x=t(18095),I=t(17329),C=y("match"),b=n.RegExp,F=b.prototype,D=n.SyntaxError,U=e(F.exec),K=e("".charAt),_=e("".replace),G=e("".indexOf),H=e("".slice),X=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,N=/a/g,M=/a/g,L=new b(N)!==N,j=O.MISSED_STICKY,V=O.UNSUPPORTED_Y,Y=r&&(!L||j||x||I||R(function(){return M[C]=!1,b(N)!==N||b(M)===M||String(b(N,"i"))!=="/a/i"})),at=function(St){for(var gt=St.length,bt=0,Mt="",$t=!1,At;bt<=gt;bt++){if(At=K(St,bt),At==="\\"){Mt+=At+K(St,++bt);continue}!$t&&At==="."?Mt+="[\\s\\S]":(At==="["?$t=!0:At==="]"&&($t=!1),Mt+=At)}return Mt},ft=function(St){for(var gt=St.length,bt=0,Mt="",$t=[],At=c(null),k=!1,q=!1,tt=0,lt="",dt;bt<=gt;bt++){if(dt=K(St,bt),dt==="\\")dt+=K(St,++bt);else if(dt==="]")k=!1;else if(!k)switch(!0){case dt==="[":k=!0;break;case dt==="(":U(X,H(St,bt+1))&&(bt+=2,q=!0),Mt+=dt,tt++;continue;case(dt===">"&&q):if(lt===""||P(At,lt))throw new D("Invalid capture group name");At[lt]=!0,$t[$t.length]=[lt,tt],q=!1,lt="";continue}q?lt+=dt:Mt+=dt}return[Mt,$t]};if(a("RegExp",Y)){for(var ht=function(){function Rt(St,gt){var bt=l(F,this),Mt=h(St),$t=gt===void 0,At=[],k=St,q,tt,lt,dt,pt,Et;if(!bt&&Mt&&$t&&St.constructor===ht)return St;if((Mt||l(F,St))&&(St=St.source,$t&&(gt=E(k))),St=St===void 0?"":S(St),gt=gt===void 0?"":S(gt),k=St,x&&"dotAll"in N&&(tt=!!gt&&G(gt,"s")>-1,tt&&(gt=_(gt,/s/g,""))),q=gt,j&&"sticky"in N&&(lt=!!gt&&G(gt,"y")>-1,lt&&V&&(gt=_(gt,/y/g,""))),I&&(dt=ft(St),St=dt[0],At=dt[1]),pt=o(b(St,gt),bt?this:F,ht),(tt||lt||At.length)&&(Et=A(pt),tt&&(Et.dotAll=!0,Et.raw=ht(at(St),q)),lt&&(Et.sticky=!0),At.length&&(Et.groups=At)),St!==k)try{s(pt,"source",k===""?"(?:)":k)}catch(et){}return pt}return Rt}(),nt=v(b),st=0;nt.length>st;)m(ht,b,nt[st++]);F.constructor=ht,ht.prototype=F,g(n,"RegExp",ht,{constructor:!0})}d("RegExp")},72941:function(u,i,t){"use strict";var r=t(3116),n=t(59049);r({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},57918:function(u,i,t){"use strict";var r=t(26856),n=t(16361),e=t(57301),a=t(41913),o=t(13586),s=r.RegExp,c=s.prototype,v=n&&o(function(){var l=!0;try{s(".","d")}catch(P){l=!1}var h={},S="",E=l?"dgimsy":"gimsy",O=function(A,d){Object.defineProperty(h,A,{get:function(){function y(){return S+=d,!0}return y}()})},m={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};l&&(m.hasIndices="d");for(var g in m)O(g,m[g]);var R=Object.getOwnPropertyDescriptor(c,"flags").get.call(h);return R!==E||S!==E});v&&e(c,"flags",{configurable:!0,get:a})},2394:function(u,i,t){"use strict";var r=t(15340).PROPER,n=t(60855),e=t(45418),a=t(8758),o=t(13586),s=t(13980),c="toString",v=RegExp.prototype,l=v[c],h=o(function(){return l.call({source:"a",flags:"b"})!=="/a/b"}),S=r&&l.name!==c;(h||S)&&n(v,c,function(){function E(){var O=e(this),m=a(O.source),g=a(s(O));return"/"+m+"/"+g}return E}(),{unsafe:!0})},98480:function(u,i,t){"use strict";var r=t(10609),n=t(42384);r("Set",function(e){return function(){function a(){return e(this,arguments.length?arguments[0]:void 0)}return a}()},n)},37517:function(u,i,t){"use strict";t(98480)},25492:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("anchor")},{anchor:function(){function a(o){return n(this,"a","name",o)}return a}()})},13684:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("big")},{big:function(){function a(){return n(this,"big","","")}return a}()})},79646:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("blink")},{blink:function(){function a(){return n(this,"blink","","")}return a}()})},98511:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("bold")},{bold:function(){function a(){return n(this,"b","","")}return a}()})},65699:function(u,i,t){"use strict";var r=t(3116),n=t(13300).codeAt;r({target:"String",proto:!0},{codePointAt:function(){function e(a){return n(this,a)}return e}()})},11360:function(u,i,t){"use strict";var r=t(3116),n=t(69935),e=t(19765).f,a=t(74369),o=t(8758),s=t(75816),c=t(305),v=t(46339),l=t(90139),h=n("".slice),S=Math.min,E=v("endsWith"),O=!l&&!E&&!!function(){var m=e(String.prototype,"endsWith");return m&&!m.writable}();r({target:"String",proto:!0,forced:!O&&!E},{endsWith:function(){function m(g){var R=o(c(this));s(g);var P=arguments.length>1?arguments[1]:void 0,A=R.length,d=P===void 0?A:S(a(P),A),y=o(g);return h(R,d-y.length,d)===y}return m}()})},30733:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("fixed")},{fixed:function(){function a(){return n(this,"tt","","")}return a}()})},58683:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("fontcolor")},{fontcolor:function(){function a(o){return n(this,"font","color",o)}return a}()})},70277:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("fontsize")},{fontsize:function(){function a(o){return n(this,"font","size",o)}return a}()})},33683:function(u,i,t){"use strict";var r=t(3116),n=t(72908),e=t(39531),a=RangeError,o=String.fromCharCode,s=String.fromCodePoint,c=n([].join),v=!!s&&s.length!==1;r({target:"String",stat:!0,arity:1,forced:v},{fromCodePoint:function(){function l(h){for(var S=[],E=arguments.length,O=0,m;E>O;){if(m=+arguments[O++],e(m,1114111)!==m)throw new a(m+" is not a valid code point");S[O]=m<65536?o(m):o(((m-=65536)>>10)+55296,m%1024+56320)}return c(S,"")}return l}()})},16792:function(u,i,t){"use strict";var r=t(3116),n=t(72908),e=t(75816),a=t(305),o=t(8758),s=t(46339),c=n("".indexOf);r({target:"String",proto:!0,forced:!s("includes")},{includes:function(){function v(l){return!!~c(o(a(this)),o(e(l)),arguments.length>1?arguments[1]:void 0)}return v}()})},36865:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("italics")},{italics:function(){function a(){return n(this,"i","","")}return a}()})},8:function(u,i,t){"use strict";var r=t(13300).charAt,n=t(8758),e=t(4471),a=t(21436),o=t(32214),s="String Iterator",c=e.set,v=e.getterFor(s);a(String,"String",function(l){c(this,{type:s,string:n(l),index:0})},function(){function l(){var h=v(this),S=h.string,E=h.index,O;return E>=S.length?o(void 0,!0):(O=r(S,E),h.index+=O.length,o(O,!1))}return l}())},13763:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("link")},{link:function(){function a(o){return n(this,"a","href",o)}return a}()})},76015:function(u,i,t){"use strict";var r=t(20276),n=t(18690),e=t(45418),a=t(62695),o=t(74369),s=t(8758),c=t(305),v=t(76540),l=t(47158),h=t(59833);n("match",function(S,E,O){return[function(){function m(g){var R=c(this),P=a(g)?void 0:v(g,S);return P?r(P,g,R):new RegExp(g)[S](s(R))}return m}(),function(m){var g=e(this),R=s(m),P=O(E,g,R);if(P.done)return P.value;if(!g.global)return h(g,R);var A=g.unicode;g.lastIndex=0;for(var d=[],y=0,x;(x=h(g,R))!==null;){var I=s(x[0]);d[y]=I,I===""&&(g.lastIndex=l(R,o(g.lastIndex),A)),y++}return y===0?null:d}]})},57318:function(u,i,t){"use strict";var r=t(3116),n=t(81290).end,e=t(51468);r({target:"String",proto:!0,forced:e},{padEnd:function(){function a(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}return a}()})},33177:function(u,i,t){"use strict";var r=t(3116),n=t(81290).start,e=t(51468);r({target:"String",proto:!0,forced:e},{padStart:function(){function a(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}return a}()})},1429:function(u,i,t){"use strict";var r=t(3116),n=t(72908),e=t(54292),a=t(63549),o=t(8758),s=t(83207),c=n([].push),v=n([].join);r({target:"String",stat:!0},{raw:function(){function l(h){var S=e(a(h).raw),E=s(S);if(!E)return"";for(var O=arguments.length,m=[],g=0;;){if(c(m,o(S[g++])),g===E)return v(m,"");g<O&&c(m,o(arguments[g]))}}return l}()})},56515:function(u,i,t){"use strict";var r=t(3116),n=t(75463);r({target:"String",proto:!0},{repeat:n})},30343:function(u,i,t){"use strict";var r=t(47244),n=t(20276),e=t(72908),a=t(18690),o=t(13586),s=t(45418),c=t(53664),v=t(62695),l=t(84501),h=t(74369),S=t(8758),E=t(305),O=t(47158),m=t(76540),g=t(56802),R=t(59833),P=t(95558),A=P("replace"),d=Math.max,y=Math.min,x=e([].concat),I=e([].push),C=e("".indexOf),b=e("".slice),F=function(G){return G===void 0?G:String(G)},D=function(){return"a".replace(/./,"$0")==="$0"}(),U=function(){return/./[A]?/./[A]("a","$0")==="":!1}(),K=!o(function(){var _=/./;return _.exec=function(){var G=[];return G.groups={a:"7"},G},"".replace(_,"$<a>")!=="7"});a("replace",function(_,G,H){var X=U?"$":"$0";return[function(){function N(M,L){var j=E(this),V=v(M)?void 0:m(M,A);return V?n(V,M,j,L):n(G,S(j),M,L)}return N}(),function(N,M){var L=s(this),j=S(N);if(typeof M=="string"&&C(M,X)===-1&&C(M,"$<")===-1){var V=H(G,L,j,M);if(V.done)return V.value}var Y=c(M);Y||(M=S(M));var at=L.global,ft;at&&(ft=L.unicode,L.lastIndex=0);for(var ht=[],nt;nt=R(L,j),!(nt===null||(I(ht,nt),!at));){var st=S(nt[0]);st===""&&(L.lastIndex=O(j,h(L.lastIndex),ft))}for(var Rt="",St=0,gt=0;gt<ht.length;gt++){nt=ht[gt];for(var bt=S(nt[0]),Mt=d(y(l(nt.index),j.length),0),$t=[],At,k=1;k<nt.length;k++)I($t,F(nt[k]));var q=nt.groups;if(Y){var tt=x([bt],$t,Mt,j);q!==void 0&&I(tt,q),At=S(r(M,void 0,tt))}else At=g(bt,j,Mt,$t,q,M);Mt>=St&&(Rt+=b(j,St,Mt)+At,St=Mt+bt.length)}return Rt+b(j,St)}]},!K||!D||U)},60981:function(u,i,t){"use strict";var r=t(20276),n=t(18690),e=t(45418),a=t(62695),o=t(305),s=t(91935),c=t(8758),v=t(76540),l=t(59833);n("search",function(h,S,E){return[function(){function O(m){var g=o(this),R=a(m)?void 0:v(m,h);return R?r(R,m,g):new RegExp(m)[h](c(g))}return O}(),function(O){var m=e(this),g=c(O),R=E(S,m,g);if(R.done)return R.value;var P=m.lastIndex;s(P,0)||(m.lastIndex=0);var A=l(m,g);return s(m.lastIndex,P)||(m.lastIndex=P),A===null?-1:A.index}]})},56001:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("small")},{small:function(){function a(){return n(this,"small","","")}return a}()})},96578:function(u,i,t){"use strict";var r=t(47244),n=t(20276),e=t(72908),a=t(18690),o=t(45418),s=t(62695),c=t(28774),v=t(305),l=t(83604),h=t(47158),S=t(74369),E=t(8758),O=t(76540),m=t(31170),g=t(59833),R=t(59049),P=t(96472),A=t(13586),d=P.UNSUPPORTED_Y,y=4294967295,x=Math.min,I=[].push,C=e(/./.exec),b=e(I),F=e("".slice),D=!A(function(){var U=/(?:)/,K=U.exec;U.exec=function(){return K.apply(this,arguments)};var _="ab".split(U);return _.length!==2||_[0]!=="a"||_[1]!=="b"});a("split",function(U,K,_){var G;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?G=function(X,N){var M=E(v(this)),L=N===void 0?y:N>>>0;if(L===0)return[];if(X===void 0)return[M];if(!c(X))return n(K,M,X,L);for(var j=[],V=(X.ignoreCase?"i":"")+(X.multiline?"m":"")+(X.unicode?"u":"")+(X.sticky?"y":""),Y=0,at=new RegExp(X.source,V+"g"),ft,ht,nt;(ft=n(R,at,M))&&(ht=at.lastIndex,!(ht>Y&&(b(j,F(M,Y,ft.index)),ft.length>1&&ft.index<M.length&&r(I,j,m(ft,1)),nt=ft[0].length,Y=ht,j.length>=L)));)at.lastIndex===ft.index&&at.lastIndex++;return Y===M.length?(nt||!C(at,""))&&b(j,""):b(j,F(M,Y)),j.length>L?m(j,0,L):j}:"0".split(void 0,0).length?G=function(X,N){return X===void 0&&N===0?[]:n(K,this,X,N)}:G=K,[function(){function H(X,N){var M=v(this),L=s(X)?void 0:O(X,U);return L?n(L,X,M,N):n(G,E(M),X,N)}return H}(),function(H,X){var N=o(this),M=E(H),L=_(G,N,M,X,G!==K);if(L.done)return L.value;var j=l(N,RegExp),V=N.unicode,Y=(N.ignoreCase?"i":"")+(N.multiline?"m":"")+(N.unicode?"u":"")+(d?"g":"y"),at=new j(d?"^(?:"+N.source+")":N,Y),ft=X===void 0?y:X>>>0;if(ft===0)return[];if(M.length===0)return g(at,M)===null?[M]:[];for(var ht=0,nt=0,st=[];nt<M.length;){at.lastIndex=d?0:nt;var Rt=g(at,d?F(M,nt):M),St;if(Rt===null||(St=x(S(at.lastIndex+(d?nt:0)),M.length))===ht)nt=h(M,nt,V);else{if(b(st,F(M,ht,nt)),st.length===ft)return st;for(var gt=1;gt<=Rt.length-1;gt++)if(b(st,Rt[gt]),st.length===ft)return st;nt=ht=St}}return b(st,F(M,ht)),st}]},!D,d)},59592:function(u,i,t){"use strict";var r=t(3116),n=t(69935),e=t(19765).f,a=t(74369),o=t(8758),s=t(75816),c=t(305),v=t(46339),l=t(90139),h=n("".slice),S=Math.min,E=v("startsWith"),O=!l&&!E&&!!function(){var m=e(String.prototype,"startsWith");return m&&!m.writable}();r({target:"String",proto:!0,forced:!O&&!E},{startsWith:function(){function m(g){var R=o(c(this));s(g);var P=a(S(arguments.length>1?arguments[1]:void 0,R.length)),A=o(g);return h(R,P,P+A.length)===A}return m}()})},58713:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("strike")},{strike:function(){function a(){return n(this,"strike","","")}return a}()})},41960:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("sub")},{sub:function(){function a(){return n(this,"sub","","")}return a}()})},31772:function(u,i,t){"use strict";var r=t(3116),n=t(38017),e=t(81626);r({target:"String",proto:!0,forced:e("sup")},{sup:function(){function a(){return n(this,"sup","","")}return a}()})},84368:function(u,i,t){"use strict";t(12333);var r=t(3116),n=t(45745);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==n},{trimEnd:n})},81464:function(u,i,t){"use strict";var r=t(3116),n=t(35634);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==n},{trimLeft:n})},12333:function(u,i,t){"use strict";var r=t(3116),n=t(45745);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==n},{trimRight:n})},76980:function(u,i,t){"use strict";t(81464);var r=t(3116),n=t(35634);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==n},{trimStart:n})},54511:function(u,i,t){"use strict";var r=t(3116),n=t(47913).trim,e=t(15677);r({target:"String",proto:!0,forced:e("trim")},{trim:function(){function a(){return n(this)}return a}()})},65884:function(u,i,t){"use strict";var r=t(20614);r("asyncIterator")},28579:function(u,i,t){"use strict";var r=t(3116),n=t(26856),e=t(20276),a=t(72908),o=t(90139),s=t(16361),c=t(61855),v=t(13586),l=t(3302),h=t(54341),S=t(45418),E=t(54292),O=t(72445),m=t(8758),g=t(73970),R=t(15439),P=t(99869),A=t(60097),d=t(31024),y=t(61791),x=t(19765),I=t(8165),C=t(55119),b=t(10409),F=t(60855),D=t(57301),U=t(7624),K=t(97223),_=t(51653),G=t(76246),H=t(95558),X=t(15355),N=t(20614),M=t(28952),L=t(15676),j=t(4471),V=t(18539).forEach,Y=K("hidden"),at="Symbol",ft="prototype",ht=j.set,nt=j.getterFor(at),st=Object[ft],Rt=n.Symbol,St=Rt&&Rt[ft],gt=n.RangeError,bt=n.TypeError,Mt=n.QObject,$t=x.f,At=I.f,k=d.f,q=b.f,tt=a([].push),lt=U("symbols"),dt=U("op-symbols"),pt=U("wks"),Et=!Mt||!Mt[ft]||!Mt[ft].findChild,et=function(Z,ot,rt){var ct=$t(st,ot);ct&&delete st[ot],At(Z,ot,rt),ct&&Z!==st&&At(st,ot,ct)},it=s&&v(function(){return R(At({},"a",{get:function(){function J(){return At(this,"a",{value:7}).a}return J}()})).a!==7})?et:At,yt=function(Z,ot){var rt=lt[Z]=R(St);return ht(rt,{type:at,tag:Z,description:ot}),s||(rt.description=ot),rt},ut=function(){function J(Z,ot,rt){Z===st&&ut(dt,ot,rt),S(Z);var ct=O(ot);return S(rt),l(lt,ct)?(rt.enumerable?(l(Z,Y)&&Z[Y][ct]&&(Z[Y][ct]=!1),rt=R(rt,{enumerable:g(0,!1)})):(l(Z,Y)||At(Z,Y,g(1,R(null))),Z[Y][ct]=!0),it(Z,ct,rt)):At(Z,ct,rt)}return J}(),It=function(){function J(Z,ot){S(Z);var rt=E(ot),ct=P(rt).concat(vt(rt));return V(ct,function(wt){(!s||e(Pt,rt,wt))&&ut(Z,wt,rt[wt])}),Z}return J}(),Tt=function(){function J(Z,ot){return ot===void 0?R(Z):It(R(Z),ot)}return J}(),Pt=function(){function J(Z){var ot=O(Z),rt=e(q,this,ot);return this===st&&l(lt,ot)&&!l(dt,ot)?!1:rt||!l(this,ot)||!l(lt,ot)||l(this,Y)&&this[Y][ot]?rt:!0}return J}(),Dt=function(){function J(Z,ot){var rt=E(Z),ct=O(ot);if(!(rt===st&&l(lt,ct)&&!l(dt,ct))){var wt=$t(rt,ct);return wt&&l(lt,ct)&&!(l(rt,Y)&&rt[Y][ct])&&(wt.enumerable=!0),wt}}return J}(),Wt=function(){function J(Z){var ot=k(E(Z)),rt=[];return V(ot,function(ct){!l(lt,ct)&&!l(_,ct)&&tt(rt,ct)}),rt}return J}(),vt=function(Z){var ot=Z===st,rt=k(ot?dt:E(Z)),ct=[];return V(rt,function(wt){l(lt,wt)&&(!ot||l(st,wt))&&tt(ct,lt[wt])}),ct};c||(Rt=function(){function J(){if(h(St,this))throw new bt("Symbol is not a constructor");var Z=!arguments.length||arguments[0]===void 0?void 0:m(arguments[0]),ot=G(Z),rt=function(){function ct(wt){var jt=this===void 0?n:this;jt===st&&e(ct,dt,wt),l(jt,Y)&&l(jt[Y],ot)&&(jt[Y][ot]=!1);var Ut=g(1,wt);try{it(jt,ot,Ut)}catch(zt){if(!(zt instanceof gt))throw zt;et(jt,ot,Ut)}}return ct}();return s&&Et&&it(st,ot,{configurable:!0,set:rt}),yt(ot,Z)}return J}(),St=Rt[ft],F(St,"toString",function(){function J(){return nt(this).tag}return J}()),F(Rt,"withoutSetter",function(J){return yt(G(J),J)}),b.f=Pt,I.f=ut,C.f=It,x.f=Dt,A.f=d.f=Wt,y.f=vt,X.f=function(J){return yt(H(J),J)},s&&(D(St,"description",{configurable:!0,get:function(){function J(){return nt(this).description}return J}()}),o||F(st,"propertyIsEnumerable",Pt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Rt}),V(P(pt),function(J){N(J)}),r({target:at,stat:!0,forced:!c},{useSetter:function(){function J(){Et=!0}return J}(),useSimple:function(){function J(){Et=!1}return J}()}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:Tt,defineProperty:ut,defineProperties:It,getOwnPropertyDescriptor:Dt}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:Wt}),M(),L(Rt,at),_[Y]=!0},64777:function(u,i,t){"use strict";var r=t(3116),n=t(16361),e=t(26856),a=t(72908),o=t(3302),s=t(53664),c=t(54341),v=t(8758),l=t(57301),h=t(83826),S=e.Symbol,E=S&&S.prototype;if(n&&s(S)&&(!("description"in E)||S().description!==void 0)){var O={},m=function(){function x(){var I=arguments.length<1||arguments[0]===void 0?void 0:v(arguments[0]),C=c(E,this)?new S(I):I===void 0?S():S(I);return I===""&&(O[C]=!0),C}return x}();h(m,S),m.prototype=E,E.constructor=m;var g=String(S("description detection"))==="Symbol(description detection)",R=a(E.valueOf),P=a(E.toString),A=/^Symbol\((.*)\)[^)]+$/,d=a("".replace),y=a("".slice);l(E,"description",{configurable:!0,get:function(){function x(){var I=R(this);if(o(O,I))return"";var C=P(I),b=g?y(C,7,-1):d(C,A,"$1");return b===""?void 0:b}return x}()}),r({global:!0,constructor:!0,forced:!0},{Symbol:m})}},99694:function(u,i,t){"use strict";var r=t(3116),n=t(22070),e=t(3302),a=t(8758),o=t(7624),s=t(16010),c=o("string-to-symbol-registry"),v=o("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(){function l(h){var S=a(h);if(e(c,S))return c[S];var E=n("Symbol")(S);return c[S]=E,v[E]=S,E}return l}()})},56564:function(u,i,t){"use strict";var r=t(20614);r("hasInstance")},68981:function(u,i,t){"use strict";var r=t(20614);r("isConcatSpreadable")},27699:function(u,i,t){"use strict";var r=t(20614);r("iterator")},32321:function(u,i,t){"use strict";t(28579),t(99694),t(16184),t(34233),t(56896)},16184:function(u,i,t){"use strict";var r=t(3116),n=t(3302),e=t(43474),a=t(36787),o=t(7624),s=t(16010),c=o("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(){function v(l){if(!e(l))throw new TypeError(a(l)+" is not a symbol");if(n(c,l))return c[l]}return v}()})},22905:function(u,i,t){"use strict";var r=t(20614);r("match")},96311:function(u,i,t){"use strict";var r=t(20614);r("replace")},61292:function(u,i,t){"use strict";var r=t(20614);r("search")},75419:function(u,i,t){"use strict";var r=t(20614);r("species")},67638:function(u,i,t){"use strict";var r=t(20614);r("split")},7601:function(u,i,t){"use strict";var r=t(20614),n=t(28952);r("toPrimitive"),n()},89010:function(u,i,t){"use strict";var r=t(22070),n=t(20614),e=t(15676);n("toStringTag"),e(r("Symbol"),"Symbol")},5401:function(u,i,t){"use strict";var r=t(20614);r("unscopables")},76464:function(u,i,t){"use strict";var r=t(72908),n=t(30432),e=t(28332),a=r(e),o=n.aTypedArray,s=n.exportTypedArrayMethod;s("copyWithin",function(){function c(v,l){return a(o(this),v,l,arguments.length>2?arguments[2]:void 0)}return c}())},58549:function(u,i,t){"use strict";var r=t(30432),n=t(18539).every,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("every",function(){function o(s){return n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},42774:function(u,i,t){"use strict";var r=t(30432),n=t(39948),e=t(73873),a=t(48615),o=t(20276),s=t(72908),c=t(13586),v=r.aTypedArray,l=r.exportTypedArrayMethod,h=s("".slice),S=c(function(){var E=0;return new Int8Array(2).fill({valueOf:function(){function O(){return E++}return O}()}),E!==1});l("fill",function(){function E(O){var m=arguments.length;v(this);var g=h(a(this),0,3)==="Big"?e(O):+O;return o(n,this,g,m>1?arguments[1]:void 0,m>2?arguments[2]:void 0)}return E}(),S)},65446:function(u,i,t){"use strict";var r=t(30432),n=t(18539).filter,e=t(85710),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("filter",function(){function s(c){var v=n(a(this),c,arguments.length>1?arguments[1]:void 0);return e(this,v)}return s}())},62243:function(u,i,t){"use strict";var r=t(30432),n=t(18539).findIndex,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("findIndex",function(){function o(s){return n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},21066:function(u,i,t){"use strict";var r=t(30432),n=t(18539).find,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("find",function(){function o(s){return n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},43059:function(u,i,t){"use strict";var r=t(43186);r("Float32",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},97363:function(u,i,t){"use strict";var r=t(43186);r("Float64",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},35249:function(u,i,t){"use strict";var r=t(30432),n=t(18539).forEach,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("forEach",function(){function o(s){n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},68739:function(u,i,t){"use strict";var r=t(45410),n=t(30432).exportTypedArrayStaticMethod,e=t(12778);n("from",e,r)},5723:function(u,i,t){"use strict";var r=t(30432),n=t(33483).includes,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("includes",function(){function o(s){return n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},40353:function(u,i,t){"use strict";var r=t(30432),n=t(33483).indexOf,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("indexOf",function(){function o(s){return n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},33278:function(u,i,t){"use strict";var r=t(43186);r("Int16",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},65331:function(u,i,t){"use strict";var r=t(43186);r("Int32",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},99755:function(u,i,t){"use strict";var r=t(43186);r("Int8",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},87975:function(u,i,t){"use strict";var r=t(26856),n=t(13586),e=t(72908),a=t(30432),o=t(26017),s=t(95558),c=s("iterator"),v=r.Uint8Array,l=e(o.values),h=e(o.keys),S=e(o.entries),E=a.aTypedArray,O=a.exportTypedArrayMethod,m=v&&v.prototype,g=!n(function(){m[c].call([1])}),R=!!m&&m.values&&m[c]===m.values&&m.values.name==="values",P=function(){function A(){return l(E(this))}return A}();O("entries",function(){function A(){return S(E(this))}return A}(),g),O("keys",function(){function A(){return h(E(this))}return A}(),g),O("values",P,g||!R,{name:"values"}),O(c,P,g||!R,{name:"values"})},20812:function(u,i,t){"use strict";var r=t(30432),n=t(72908),e=r.aTypedArray,a=r.exportTypedArrayMethod,o=n([].join);a("join",function(){function s(c){return o(e(this),c)}return s}())},5640:function(u,i,t){"use strict";var r=t(30432),n=t(47244),e=t(16400),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("lastIndexOf",function(){function s(c){var v=arguments.length;return n(e,a(this),v>1?[c,arguments[1]]:[c])}return s}())},47736:function(u,i,t){"use strict";var r=t(30432),n=t(18539).map,e=t(9230),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("map",function(){function s(c){return n(a(this),c,arguments.length>1?arguments[1]:void 0,function(v,l){return new(e(v))(l)})}return s}())},81944:function(u,i,t){"use strict";var r=t(30432),n=t(45410),e=r.aTypedArrayConstructor,a=r.exportTypedArrayStaticMethod;a("of",function(){function o(){for(var s=0,c=arguments.length,v=new(e(this))(c);c>s;)v[s]=arguments[s++];return v}return o}(),n)},72214:function(u,i,t){"use strict";var r=t(30432),n=t(58394).right,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("reduceRight",function(){function o(s){var c=arguments.length;return n(e(this),s,c,c>1?arguments[1]:void 0)}return o}())},68685:function(u,i,t){"use strict";var r=t(30432),n=t(58394).left,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("reduce",function(){function o(s){var c=arguments.length;return n(e(this),s,c,c>1?arguments[1]:void 0)}return o}())},48774:function(u,i,t){"use strict";var r=t(30432),n=r.aTypedArray,e=r.exportTypedArrayMethod,a=Math.floor;e("reverse",function(){function o(){for(var s=this,c=n(s).length,v=a(c/2),l=0,h;l<v;)h=s[l],s[l++]=s[--c],s[c]=h;return s}return o}())},2915:function(u,i,t){"use strict";var r=t(26856),n=t(20276),e=t(30432),a=t(83207),o=t(45476),s=t(63549),c=t(13586),v=r.RangeError,l=r.Int8Array,h=l&&l.prototype,S=h&&h.set,E=e.aTypedArray,O=e.exportTypedArrayMethod,m=!c(function(){var R=new Uint8ClampedArray(2);return n(S,R,{length:1,0:3},1),R[1]!==3}),g=m&&e.NATIVE_ARRAY_BUFFER_VIEWS&&c(function(){var R=new l(2);return R.set(1),R.set("2",1),R[0]!==0||R[1]!==2});O("set",function(){function R(P){E(this);var A=o(arguments.length>1?arguments[1]:void 0,1),d=s(P);if(m)return n(S,this,d,A);var y=this.length,x=a(d),I=0;if(x+A>y)throw new v("Wrong length");for(;I<x;)this[A+I]=d[I++]}return R}(),!m||g)},17165:function(u,i,t){"use strict";var r=t(30432),n=t(9230),e=t(13586),a=t(31170),o=r.aTypedArray,s=r.exportTypedArrayMethod,c=e(function(){new Int8Array(1).slice()});s("slice",function(){function v(l,h){for(var S=a(o(this),l,h),E=n(this),O=0,m=S.length,g=new E(m);m>O;)g[O]=S[O++];return g}return v}(),c)},10702:function(u,i,t){"use strict";var r=t(30432),n=t(18539).some,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("some",function(){function o(s){return n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},76622:function(u,i,t){"use strict";var r=t(26856),n=t(69935),e=t(13586),a=t(79474),o=t(91183),s=t(30432),c=t(31574),v=t(88836),l=t(43541),h=t(27204),S=s.aTypedArray,E=s.exportTypedArrayMethod,O=r.Uint16Array,m=O&&n(O.prototype.sort),g=!!m&&!(e(function(){m(new O(2),null)})&&e(function(){m(new O(2),{})})),R=!!m&&!e(function(){if(l)return l<74;if(c)return c<67;if(v)return!0;if(h)return h<602;var A=new O(516),d=Array(516),y,x;for(y=0;y<516;y++)x=y%4,A[y]=515-y,d[y]=y-2*x+3;for(m(A,function(I,C){return(I/4|0)-(C/4|0)}),y=0;y<516;y++)if(A[y]!==d[y])return!0}),P=function(d){return function(y,x){return d!==void 0?+d(y,x)||0:x!==x?-1:y!==y?1:y===0&&x===0?1/y>0&&1/x<0?1:-1:y>x}};E("sort",function(){function A(d){return d!==void 0&&a(d),R?m(this,d):o(S(this),P(d))}return A}(),!R||g)},64408:function(u,i,t){"use strict";var r=t(30432),n=t(74369),e=t(39531),a=t(9230),o=r.aTypedArray,s=r.exportTypedArrayMethod;s("subarray",function(){function c(v,l){var h=o(this),S=h.length,E=e(v,S),O=a(h);return new O(h.buffer,h.byteOffset+E*h.BYTES_PER_ELEMENT,n((l===void 0?S:e(l,S))-E))}return c}())},22306:function(u,i,t){"use strict";var r=t(26856),n=t(47244),e=t(30432),a=t(13586),o=t(31170),s=r.Int8Array,c=e.aTypedArray,v=e.exportTypedArrayMethod,l=[].toLocaleString,h=!!s&&a(function(){l.call(new s(1))}),S=a(function(){return[1,2].toLocaleString()!==new s([1,2]).toLocaleString()})||!a(function(){s.prototype.toLocaleString.call([1,2])});v("toLocaleString",function(){function E(){return n(l,h?o(c(this)):c(this),o(arguments))}return E}(),S)},90334:function(u,i,t){"use strict";var r=t(30432).exportTypedArrayMethod,n=t(13586),e=t(26856),a=t(72908),o=e.Uint8Array,s=o&&o.prototype||{},c=[].toString,v=a([].join);n(function(){c.call({})})&&(c=function(){function h(){return v(this)}return h}());var l=s.toString!==c;r("toString",c,l)},70088:function(u,i,t){"use strict";var r=t(43186);r("Uint16",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},7284:function(u,i,t){"use strict";var r=t(43186);r("Uint32",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},25855:function(u,i,t){"use strict";var r=t(43186);r("Uint8",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},97372:function(u,i,t){"use strict";var r=t(43186);r("Uint8",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()},!0)},84937:function(u,i,t){"use strict";var r=t(58199),n=t(26856),e=t(72908),a=t(26148),o=t(66526),s=t(10609),c=t(19250),v=t(66379),l=t(4471).enforce,h=t(13586),S=t(73844),E=Object,O=Array.isArray,m=E.isExtensible,g=E.isFrozen,R=E.isSealed,P=E.freeze,A=E.seal,d=!n.ActiveXObject&&"ActiveXObject"in n,y,x=function(G){return function(){function H(){return G(this,arguments.length?arguments[0]:void 0)}return H}()},I=s("WeakMap",x,c),C=I.prototype,b=e(C.set),F=function(){return r&&h(function(){var G=P([]);return b(new I,G,1),!g(G)})};if(S)if(d){y=c.getConstructor(x,"WeakMap",!0),o.enable();var D=e(C.delete),U=e(C.has),K=e(C.get);a(C,{delete:function(){function _(G){if(v(G)&&!m(G)){var H=l(this);return H.frozen||(H.frozen=new y),D(this,G)||H.frozen.delete(G)}return D(this,G)}return _}(),has:function(){function _(G){if(v(G)&&!m(G)){var H=l(this);return H.frozen||(H.frozen=new y),U(this,G)||H.frozen.has(G)}return U(this,G)}return _}(),get:function(){function _(G){if(v(G)&&!m(G)){var H=l(this);return H.frozen||(H.frozen=new y),U(this,G)?K(this,G):H.frozen.get(G)}return K(this,G)}return _}(),set:function(){function _(G,H){if(v(G)&&!m(G)){var X=l(this);X.frozen||(X.frozen=new y),U(this,G)?b(this,G,H):X.frozen.set(G,H)}else b(this,G,H);return this}return _}()})}else F()&&a(C,{set:function(){function _(G,H){var X;return O(G)&&(g(G)?X=P:R(G)&&(X=A)),b(this,G,H),X&&X(G),this}return _}()})},69880:function(u,i,t){"use strict";t(84937)},74764:function(u,i,t){"use strict";var r=t(10609),n=t(19250);r("WeakSet",function(e){return function(){function a(){return e(this,arguments.length?arguments[0]:void 0)}return a}()},n)},37167:function(u,i,t){"use strict";t(74764)},82818:function(u,i,t){"use strict";var r=t(3116),n=t(26856),e=t(87073).clear;r({global:!0,bind:!0,enumerable:!0,forced:n.clearImmediate!==e},{clearImmediate:e})},25109:function(u,i,t){"use strict";t(82818),t(21813)},367:function(u,i,t){"use strict";var r=t(3116),n=t(60816),e=t(79474),a=t(92827);r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(){function o(s){a(arguments.length,1),n(e(s))}return o}()})},21813:function(u,i,t){"use strict";var r=t(3116),n=t(26856),e=t(87073).set,a=t(17459),o=n.setImmediate?a(e,!1):e;r({global:!0,bind:!0,enumerable:!0,forced:n.setImmediate!==o},{setImmediate:o})},50943:function(u,i,t){"use strict";var r=t(3116),n=t(26856),e=t(17459),a=e(n.setInterval,!0);r({global:!0,bind:!0,forced:n.setInterval!==a},{setInterval:a})},91851:function(u,i,t){"use strict";var r=t(3116),n=t(26856),e=t(17459),a=e(n.setTimeout,!0);r({global:!0,bind:!0,forced:n.setTimeout!==a},{setTimeout:a})},8459:function(u,i,t){"use strict";t(50943),t(91851)},87454:function(u){"use strict";/** + */var n=0,e=1,a=2,o=3,s=4,c=function(I,S){for(var T=arguments.length,y=new Array(T>2?T-2:0),g=2;g<T;g++)y[g-2]=arguments[g];if(I>=a){var P=[S].concat(y).map(function(R){return typeof R=="string"?R:R instanceof Error?R.stack||String(R):JSON.stringify(R)}).filter(function(R){return R}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",message:P})}},v=i.createLogger=function(){function h(I){return{debug:function(){function S(){for(var T=arguments.length,y=new Array(T),g=0;g<T;g++)y[g]=arguments[g];return c.apply(void 0,[n,I].concat(y))}return S}(),log:function(){function S(){for(var T=arguments.length,y=new Array(T),g=0;g<T;g++)y[g]=arguments[g];return c.apply(void 0,[e,I].concat(y))}return S}(),info:function(){function S(){for(var T=arguments.length,y=new Array(T),g=0;g<T;g++)y[g]=arguments[g];return c.apply(void 0,[a,I].concat(y))}return S}(),warn:function(){function S(){for(var T=arguments.length,y=new Array(T),g=0;g<T;g++)y[g]=arguments[g];return c.apply(void 0,[o,I].concat(y))}return S}(),error:function(){function S(){for(var T=arguments.length,y=new Array(T),g=0;g<T;g++)y[g]=arguments[g];return c.apply(void 0,[s,I].concat(y))}return S}()}}return h}(),l=i.logger=v()},33643:function(){},97361:function(u,i,t){"use strict";var r=t(7532),n=t(62518),e=TypeError;u.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a function")}},76833:function(u,i,t){"use strict";var r=t(60354),n=t(62518),e=TypeError;u.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a constructor")}},51689:function(u,i,t){"use strict";var r=t(41224),n=String,e=TypeError;u.exports=function(a){if(r(a))return a;throw new e("Can't set "+n(a)+" as a prototype")}},91138:function(u,i,t){"use strict";var r=t(66266),n=t(28969),e=t(56018).f,a=r("unscopables"),o=Array.prototype;o[a]===void 0&&e(o,a,{configurable:!0,value:n(null)}),u.exports=function(s){o[a][s]=!0}},62970:function(u,i,t){"use strict";var r=t(56852).charAt;u.exports=function(n,e,a){return e+(a?r(n,e).length:1)}},19870:function(u,i,t){"use strict";var r=t(33314),n=TypeError;u.exports=function(e,a){if(r(a,e))return e;throw new n("Incorrect invocation")}},39482:function(u,i,t){"use strict";var r=t(56831),n=String,e=TypeError;u.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not an object")}},67404:function(u){"use strict";u.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},65693:function(u,i,t){"use strict";var r=t(41746);u.exports=r(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},72951:function(u,i,t){"use strict";var r=t(67404),n=t(14141),e=t(40224),a=t(7532),o=t(56831),s=t(89458),c=t(27806),v=t(62518),l=t(16216),h=t(59173),I=t(10069),S=t(33314),T=t(31658),y=t(42878),g=t(66266),P=t(33345),R=t(35086),x=R.enforce,d=R.get,m=e.Int8Array,O=m&&m.prototype,E=e.Uint8ClampedArray,C=E&&E.prototype,b=m&&T(m),M=O&&T(O),$=Object.prototype,N=e.TypeError,z=g("toStringTag"),Q=P("TYPED_ARRAY_TAG"),G="TypedArrayConstructor",K=r&&!!y&&c(e.opera)!=="Opera",_=!1,U,L,F,j={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},V={BigInt64Array:8,BigUint64Array:8},Y=function(){function It(yt){if(!o(yt))return!1;var bt=c(yt);return bt==="DataView"||s(j,bt)||s(V,bt)}return It}(),it=function It(yt){var bt=T(yt);if(o(bt)){var Mt=d(bt);return Mt&&s(Mt,G)?Mt[G]:It(bt)}},dt=function(yt){if(!o(yt))return!1;var bt=c(yt);return s(j,bt)||s(V,bt)},pt=function(yt){if(dt(yt))return yt;throw new N("Target is not a typed array")},ot=function(yt){if(a(yt)&&(!y||S(b,yt)))return yt;throw new N(v(yt)+" is not a typed array constructor")},lt=function(yt,bt,Mt,$t){if(n){if(Mt)for(var At in j){var k=e[At];if(k&&s(k.prototype,yt))try{delete k.prototype[yt]}catch(q){try{k.prototype[yt]=bt}catch(tt){}}}(!M[yt]||Mt)&&h(M,yt,Mt?bt:K&&O[yt]||bt,$t)}},Ct=function(yt,bt,Mt){var $t,At;if(n){if(y){if(Mt){for($t in j)if(At=e[$t],At&&s(At,yt))try{delete At[yt]}catch(k){}}if(!b[yt]||Mt)try{return h(b,yt,Mt?bt:K&&b[yt]||bt)}catch(k){}else return}for($t in j)At=e[$t],At&&(!At[yt]||Mt)&&h(At,yt,bt)}};for(U in j)L=e[U],F=L&&L.prototype,F?x(F)[G]=L:K=!1;for(U in V)L=e[U],F=L&&L.prototype,F&&(x(F)[G]=L);if((!K||!a(b)||b===Function.prototype)&&(b=function(){function It(){throw new N("Incorrect invocation")}return It}(),K))for(U in j)e[U]&&y(e[U],b);if((!K||!M||M===$)&&(M=b.prototype,K))for(U in j)e[U]&&y(e[U].prototype,M);if(K&&T(C)!==M&&y(C,M),n&&!s(M,z)){_=!0,I(M,z,{configurable:!0,get:function(){function It(){return o(this)?this[Q]:void 0}return It}()});for(U in j)e[U]&&l(e[U],Q,U)}u.exports={NATIVE_ARRAY_BUFFER_VIEWS:K,TYPED_ARRAY_TAG:_&&Q,aTypedArray:pt,aTypedArrayConstructor:ot,exportTypedArrayMethod:lt,exportTypedArrayStaticMethod:Ct,getTypedArrayConstructor:it,isView:Y,isTypedArray:dt,TypedArray:b,TypedArrayPrototype:M}},46185:function(u,i,t){"use strict";var r=t(40224),n=t(18161),e=t(14141),a=t(67404),o=t(26463),s=t(16216),c=t(10069),v=t(13648),l=t(41746),h=t(19870),I=t(74952),S=t(10475),T=t(90835),y=t(75988),g=t(62263),P=t(31658),R=t(42878),x=t(59942),d=t(77713),m=t(2566),O=t(70113),E=t(94234),C=t(35086),b=o.PROPER,M=o.CONFIGURABLE,$="ArrayBuffer",N="DataView",z="prototype",Q="Wrong length",G="Wrong index",K=C.getterFor($),_=C.getterFor(N),U=C.set,L=r[$],F=L,j=F&&F[z],V=r[N],Y=V&&V[z],it=Object.prototype,dt=r.Array,pt=r.RangeError,ot=n(x),lt=n([].reverse),Ct=g.pack,It=g.unpack,yt=function(ut){return[ut&255]},bt=function(ut){return[ut&255,ut>>8&255]},Mt=function(ut){return[ut&255,ut>>8&255,ut>>16&255,ut>>24&255]},$t=function(ut){return ut[3]<<24|ut[2]<<16|ut[1]<<8|ut[0]},At=function(ut){return Ct(y(ut),23,4)},k=function(ut){return Ct(ut,52,8)},q=function(ut,gt,at){c(ut[z],gt,{configurable:!0,get:function(){function Et(){return at(this)[gt]}return Et}()})},tt=function(ut,gt,at,Et){var Tt=_(ut),Rt=T(at),Dt=!!Et;if(Rt+gt>Tt.byteLength)throw new pt(G);var Wt=Tt.bytes,ft=Rt+Tt.byteOffset,X=d(Wt,ft,ft+gt);return Dt?X:lt(X)},ct=function(ut,gt,at,Et,Tt,Rt){var Dt=_(ut),Wt=T(at),ft=Et(+Tt),X=!!Rt;if(Wt+gt>Dt.byteLength)throw new pt(G);for(var Z=Dt.bytes,et=Wt+Dt.byteOffset,rt=0;rt<gt;rt++)Z[et+rt]=ft[X?rt:gt-rt-1]};if(!a)F=function(){function nt(ut){h(this,j);var gt=T(ut);U(this,{type:$,bytes:ot(dt(gt),0),byteLength:gt}),e||(this.byteLength=gt,this.detached=!1)}return nt}(),j=F[z],V=function(){function nt(ut,gt,at){h(this,Y),h(ut,j);var Et=K(ut),Tt=Et.byteLength,Rt=I(gt);if(Rt<0||Rt>Tt)throw new pt("Wrong offset");if(at=at===void 0?Tt-Rt:S(at),Rt+at>Tt)throw new pt(Q);U(this,{type:N,buffer:ut,byteLength:at,byteOffset:Rt,bytes:Et.bytes}),e||(this.buffer=ut,this.byteLength=at,this.byteOffset=Rt)}return nt}(),Y=V[z],e&&(q(F,"byteLength",K),q(V,"buffer",_),q(V,"byteLength",_),q(V,"byteOffset",_)),v(Y,{getInt8:function(){function nt(ut){return tt(this,1,ut)[0]<<24>>24}return nt}(),getUint8:function(){function nt(ut){return tt(this,1,ut)[0]}return nt}(),getInt16:function(){function nt(ut){var gt=tt(this,2,ut,arguments.length>1?arguments[1]:!1);return(gt[1]<<8|gt[0])<<16>>16}return nt}(),getUint16:function(){function nt(ut){var gt=tt(this,2,ut,arguments.length>1?arguments[1]:!1);return gt[1]<<8|gt[0]}return nt}(),getInt32:function(){function nt(ut){return $t(tt(this,4,ut,arguments.length>1?arguments[1]:!1))}return nt}(),getUint32:function(){function nt(ut){return $t(tt(this,4,ut,arguments.length>1?arguments[1]:!1))>>>0}return nt}(),getFloat32:function(){function nt(ut){return It(tt(this,4,ut,arguments.length>1?arguments[1]:!1),23)}return nt}(),getFloat64:function(){function nt(ut){return It(tt(this,8,ut,arguments.length>1?arguments[1]:!1),52)}return nt}(),setInt8:function(){function nt(ut,gt){ct(this,1,ut,yt,gt)}return nt}(),setUint8:function(){function nt(ut,gt){ct(this,1,ut,yt,gt)}return nt}(),setInt16:function(){function nt(ut,gt){ct(this,2,ut,bt,gt,arguments.length>2?arguments[2]:!1)}return nt}(),setUint16:function(){function nt(ut,gt){ct(this,2,ut,bt,gt,arguments.length>2?arguments[2]:!1)}return nt}(),setInt32:function(){function nt(ut,gt){ct(this,4,ut,Mt,gt,arguments.length>2?arguments[2]:!1)}return nt}(),setUint32:function(){function nt(ut,gt){ct(this,4,ut,Mt,gt,arguments.length>2?arguments[2]:!1)}return nt}(),setFloat32:function(){function nt(ut,gt){ct(this,4,ut,At,gt,arguments.length>2?arguments[2]:!1)}return nt}(),setFloat64:function(){function nt(ut,gt){ct(this,8,ut,k,gt,arguments.length>2?arguments[2]:!1)}return nt}()});else{var vt=b&&L.name!==$;!l(function(){L(1)})||!l(function(){new L(-1)})||l(function(){return new L,new L(1.5),new L(NaN),L.length!==1||vt&&!M})?(F=function(){function nt(ut){return h(this,j),m(new L(T(ut)),this,F)}return nt}(),F[z]=j,j.constructor=F,O(F,L)):vt&&M&&s(L,"name",$),R&&P(Y)!==it&&R(Y,it);var ht=new V(new F(2)),St=n(Y.setInt8);ht.setInt8(0,2147483648),ht.setInt8(1,2147483649),(ht.getInt8(0)||!ht.getInt8(1))&&v(Y,{setInt8:function(){function nt(ut,gt){St(this,ut,gt<<24>>24)}return nt}(),setUint8:function(){function nt(ut,gt){St(this,ut,gt<<24>>24)}return nt}()},{unsafe:!0})}E(F,$),E(V,N),u.exports={ArrayBuffer:F,DataView:V}},42320:function(u,i,t){"use strict";var r=t(40076),n=t(74067),e=t(8333),a=t(58937),o=Math.min;u.exports=[].copyWithin||function(){function s(c,v){var l=r(this),h=e(l),I=n(c,h),S=n(v,h),T=arguments.length>2?arguments[2]:void 0,y=o((T===void 0?h:n(T,h))-S,h-I),g=1;for(S<I&&I<S+y&&(g=-1,S+=y-1,I+=y-1);y-- >0;)S in l?l[I]=l[S]:a(l,I),I+=g,S+=g;return l}return s}()},59942:function(u,i,t){"use strict";var r=t(40076),n=t(74067),e=t(8333);u.exports=function(){function a(o){for(var s=r(this),c=e(s),v=arguments.length,l=n(v>1?arguments[1]:void 0,c),h=v>2?arguments[2]:void 0,I=h===void 0?c:n(h,c);I>l;)s[l++]=o;return s}return a}()},75420:function(u,i,t){"use strict";var r=t(67480).forEach,n=t(42309),e=n("forEach");u.exports=e?[].forEach:function(){function a(o){return r(this,o,arguments.length>1?arguments[1]:void 0)}return a}()},6967:function(u,i,t){"use strict";var r=t(8333);u.exports=function(n,e,a){for(var o=0,s=arguments.length>2?a:r(e),c=new n(s);s>o;)c[o]=e[o++];return c}},80363:function(u,i,t){"use strict";var r=t(4509),n=t(62696),e=t(40076),a=t(17100),o=t(58482),s=t(60354),c=t(8333),v=t(12913),l=t(3438),h=t(76274),I=Array;u.exports=function(){function S(T){var y=e(T),g=s(this),P=arguments.length,R=P>1?arguments[1]:void 0,x=R!==void 0;x&&(R=r(R,P>2?arguments[2]:void 0));var d=h(y),m=0,O,E,C,b,M,$;if(d&&!(this===I&&o(d)))for(E=g?new this:[],b=l(y,d),M=b.next;!(C=n(M,b)).done;m++)$=x?a(b,R,[C.value,m],!0):C.value,v(E,m,$);else for(O=c(y),E=g?new this(O):I(O);O>m;m++)$=x?R(y[m],m):y[m],v(E,m,$);return E.length=m,E}return S}()},64210:function(u,i,t){"use strict";var r=t(96812),n=t(74067),e=t(8333),a=function(s){return function(c,v,l){var h=r(c),I=e(h);if(I===0)return!s&&-1;var S=n(l,I),T;if(s&&v!==v){for(;I>S;)if(T=h[S++],T!==T)return!0}else for(;I>S;S++)if((s||S in h)&&h[S]===v)return s||S||0;return!s&&-1}};u.exports={includes:a(!0),indexOf:a(!1)}},67480:function(u,i,t){"use strict";var r=t(4509),n=t(18161),e=t(26736),a=t(40076),o=t(8333),s=t(32878),c=n([].push),v=function(h){var I=h===1,S=h===2,T=h===3,y=h===4,g=h===6,P=h===7,R=h===5||g;return function(x,d,m,O){for(var E=a(x),C=e(E),b=o(C),M=r(d,m),$=0,N=O||s,z=I?N(x,b):S||P?N(x,0):void 0,Q,G;b>$;$++)if((R||$ in C)&&(Q=C[$],G=M(Q,$,E),h))if(I)z[$]=G;else if(G)switch(h){case 3:return!0;case 5:return Q;case 6:return $;case 2:c(z,Q)}else switch(h){case 4:return!1;case 7:c(z,Q)}return g?-1:T||y?y:z}};u.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},16934:function(u,i,t){"use strict";var r=t(70918),n=t(96812),e=t(74952),a=t(8333),o=t(42309),s=Math.min,c=[].lastIndexOf,v=!!c&&1/[1].lastIndexOf(1,-0)<0,l=o("lastIndexOf"),h=v||!l;u.exports=h?function(){function I(S){if(v)return r(c,this,arguments)||0;var T=n(this),y=a(T);if(y===0)return-1;var g=y-1;for(arguments.length>1&&(g=s(g,e(arguments[1]))),g<0&&(g=y+g);g>=0;g--)if(g in T&&T[g]===S)return g||0;return-1}return I}():c},55114:function(u,i,t){"use strict";var r=t(41746),n=t(66266),e=t(82709),a=n("species");u.exports=function(o){return e>=51||!r(function(){var s=[],c=s.constructor={};return c[a]=function(){return{foo:1}},s[o](Boolean).foo!==1})}},42309:function(u,i,t){"use strict";var r=t(41746);u.exports=function(n,e){var a=[][n];return!!a&&r(function(){a.call(null,e||function(){return 1},1)})}},98405:function(u,i,t){"use strict";var r=t(97361),n=t(40076),e=t(26736),a=t(8333),o=TypeError,s="Reduce of empty array with no initial value",c=function(l){return function(h,I,S,T){var y=n(h),g=e(y),P=a(y);if(r(I),P===0&&S<2)throw new o(s);var R=l?P-1:0,x=l?-1:1;if(S<2)for(;;){if(R in g){T=g[R],R+=x;break}if(R+=x,l?R<0:P<=R)throw new o(s)}for(;l?R>=0:P>R;R+=x)R in g&&(T=I(T,g[R],R,y));return T}};u.exports={left:c(!1),right:c(!0)}},72720:function(u,i,t){"use strict";var r=t(14141),n=t(62367),e=TypeError,a=Object.getOwnPropertyDescriptor,o=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(s){return s instanceof TypeError}}();u.exports=o?function(s,c){if(n(s)&&!a(s,"length").writable)throw new e("Cannot set read only .length");return s.length=c}:function(s,c){return s.length=c}},77713:function(u,i,t){"use strict";var r=t(18161);u.exports=r([].slice)},44815:function(u,i,t){"use strict";var r=t(77713),n=Math.floor,e=function a(o,s){var c=o.length;if(c<8)for(var v=1,l,h;v<c;){for(h=v,l=o[v];h&&s(o[h-1],l)>0;)o[h]=o[--h];h!==v++&&(o[h]=l)}else for(var I=n(c/2),S=a(r(o,0,I),s),T=a(r(o,I),s),y=S.length,g=T.length,P=0,R=0;P<y||R<g;)o[P+R]=P<y&&R<g?s(S[P],T[R])<=0?S[P++]:T[R++]:P<y?S[P++]:T[R++];return o};u.exports=e},88988:function(u,i,t){"use strict";var r=t(62367),n=t(60354),e=t(56831),a=t(66266),o=a("species"),s=Array;u.exports=function(c){var v;return r(c)&&(v=c.constructor,n(v)&&(v===s||r(v.prototype))?v=void 0:e(v)&&(v=v[o],v===null&&(v=void 0))),v===void 0?s:v}},32878:function(u,i,t){"use strict";var r=t(88988);u.exports=function(n,e){return new(r(n))(e===0?0:e)}},17100:function(u,i,t){"use strict";var r=t(39482),n=t(14868);u.exports=function(e,a,o,s){try{return s?a(r(o)[0],o[1]):a(o)}catch(c){n(e,"throw",c)}}},52019:function(u,i,t){"use strict";var r=t(66266),n=r("iterator"),e=!1;try{var a=0,o={next:function(){function s(){return{done:!!a++}}return s}(),return:function(){function s(){e=!0}return s}()};o[n]=function(){return this},Array.from(o,function(){throw 2})}catch(s){}u.exports=function(s,c){try{if(!c&&!e)return!1}catch(h){return!1}var v=!1;try{var l={};l[n]=function(){return{next:function(){function h(){return{done:v=!0}}return h}()}},s(l)}catch(h){}return v}},38817:function(u,i,t){"use strict";var r=t(18161),n=r({}.toString),e=r("".slice);u.exports=function(a){return e(n(a),8,-1)}},27806:function(u,i,t){"use strict";var r=t(82161),n=t(7532),e=t(38817),a=t(66266),o=a("toStringTag"),s=Object,c=e(function(){return arguments}())==="Arguments",v=function(h,I){try{return h[I]}catch(S){}};u.exports=r?e:function(l){var h,I,S;return l===void 0?"Undefined":l===null?"Null":typeof(I=v(h=s(l),o))=="string"?I:c?e(h):(S=e(h))==="Object"&&n(h.callee)?"Arguments":S}},10623:function(u,i,t){"use strict";var r=t(28969),n=t(10069),e=t(13648),a=t(4509),o=t(19870),s=t(1022),c=t(281),v=t(2449),l=t(77056),h=t(67420),I=t(14141),S=t(29126).fastKey,T=t(35086),y=T.set,g=T.getterFor;u.exports={getConstructor:function(){function P(R,x,d,m){var O=R(function($,N){o($,E),y($,{type:x,index:r(null),first:void 0,last:void 0,size:0}),I||($.size=0),s(N)||c(N,$[m],{that:$,AS_ENTRIES:d})}),E=O.prototype,C=g(x),b=function(){function $(N,z,Q){var G=C(N),K=M(N,z),_,U;return K?K.value=Q:(G.last=K={index:U=S(z,!0),key:z,value:Q,previous:_=G.last,next:void 0,removed:!1},G.first||(G.first=K),_&&(_.next=K),I?G.size++:N.size++,U!=="F"&&(G.index[U]=K)),N}return $}(),M=function(){function $(N,z){var Q=C(N),G=S(z),K;if(G!=="F")return Q.index[G];for(K=Q.first;K;K=K.next)if(K.key===z)return K}return $}();return e(E,{clear:function(){function $(){for(var N=this,z=C(N),Q=z.first;Q;)Q.removed=!0,Q.previous&&(Q.previous=Q.previous.next=void 0),Q=Q.next;z.first=z.last=void 0,z.index=r(null),I?z.size=0:N.size=0}return $}(),delete:function(){function $(N){var z=this,Q=C(z),G=M(z,N);if(G){var K=G.next,_=G.previous;delete Q.index[G.index],G.removed=!0,_&&(_.next=K),K&&(K.previous=_),Q.first===G&&(Q.first=K),Q.last===G&&(Q.last=_),I?Q.size--:z.size--}return!!G}return $}(),forEach:function(){function $(N){for(var z=C(this),Q=a(N,arguments.length>1?arguments[1]:void 0),G;G=G?G.next:z.first;)for(Q(G.value,G.key,this);G&&G.removed;)G=G.previous}return $}(),has:function(){function $(N){return!!M(this,N)}return $}()}),e(E,d?{get:function(){function $(N){var z=M(this,N);return z&&z.value}return $}(),set:function(){function $(N,z){return b(this,N===0?0:N,z)}return $}()}:{add:function(){function $(N){return b(this,N=N===0?0:N,N)}return $}()}),I&&n(E,"size",{configurable:!0,get:function(){function $(){return C(this).size}return $}()}),O}return P}(),setStrong:function(){function P(R,x,d){var m=x+" Iterator",O=g(x),E=g(m);v(R,x,function(C,b){y(this,{type:m,target:C,state:O(C),kind:b,last:void 0})},function(){for(var C=E(this),b=C.kind,M=C.last;M&&M.removed;)M=M.previous;return!C.target||!(C.last=M=M?M.next:C.state.first)?(C.target=void 0,l(void 0,!0)):l(b==="keys"?M.key:b==="values"?M.value:[M.key,M.value],!1)},d?"entries":"values",!d,!0),h(x)}return P}()}},32920:function(u,i,t){"use strict";var r=t(18161),n=t(13648),e=t(29126).getWeakData,a=t(19870),o=t(39482),s=t(1022),c=t(56831),v=t(281),l=t(67480),h=t(89458),I=t(35086),S=I.set,T=I.getterFor,y=l.find,g=l.findIndex,P=r([].splice),R=0,x=function(E){return E.frozen||(E.frozen=new d)},d=function(){this.entries=[]},m=function(E,C){return y(E.entries,function(b){return b[0]===C})};d.prototype={get:function(){function O(E){var C=m(this,E);if(C)return C[1]}return O}(),has:function(){function O(E){return!!m(this,E)}return O}(),set:function(){function O(E,C){var b=m(this,E);b?b[1]=C:this.entries.push([E,C])}return O}(),delete:function(){function O(E){var C=g(this.entries,function(b){return b[0]===E});return~C&&P(this.entries,C,1),!!~C}return O}()},u.exports={getConstructor:function(){function O(E,C,b,M){var $=E(function(G,K){a(G,N),S(G,{type:C,id:R++,frozen:void 0}),s(K)||v(K,G[M],{that:G,AS_ENTRIES:b})}),N=$.prototype,z=T(C),Q=function(){function G(K,_,U){var L=z(K),F=e(o(_),!0);return F===!0?x(L).set(_,U):F[L.id]=U,K}return G}();return n(N,{delete:function(){function G(K){var _=z(this);if(!c(K))return!1;var U=e(K);return U===!0?x(_).delete(K):U&&h(U,_.id)&&delete U[_.id]}return G}(),has:function(){function G(K){var _=z(this);if(!c(K))return!1;var U=e(K);return U===!0?x(_).has(K):U&&h(U,_.id)}return G}()}),n(N,b?{get:function(){function G(K){var _=z(this);if(c(K)){var U=e(K);return U===!0?x(_).get(K):U?U[_.id]:void 0}}return G}(),set:function(){function G(K,_){return Q(this,K,_)}return G}()}:{add:function(){function G(K){return Q(this,K,!0)}return G}()}),$}return O}()}},93439:function(u,i,t){"use strict";var r=t(77549),n=t(40224),e=t(18161),a=t(95945),o=t(59173),s=t(29126),c=t(281),v=t(19870),l=t(7532),h=t(1022),I=t(56831),S=t(41746),T=t(52019),y=t(94234),g=t(2566);u.exports=function(P,R,x){var d=P.indexOf("Map")!==-1,m=P.indexOf("Weak")!==-1,O=d?"set":"add",E=n[P],C=E&&E.prototype,b=E,M={},$=function(L){var F=e(C[L]);o(C,L,L==="add"?function(){function j(V){return F(this,V===0?0:V),this}return j}():L==="delete"?function(j){return m&&!I(j)?!1:F(this,j===0?0:j)}:L==="get"?function(){function j(V){return m&&!I(V)?void 0:F(this,V===0?0:V)}return j}():L==="has"?function(){function j(V){return m&&!I(V)?!1:F(this,V===0?0:V)}return j}():function(){function j(V,Y){return F(this,V===0?0:V,Y),this}return j}())},N=a(P,!l(E)||!(m||C.forEach&&!S(function(){new E().entries().next()})));if(N)b=x.getConstructor(R,P,d,O),s.enable();else if(a(P,!0)){var z=new b,Q=z[O](m?{}:-0,1)!==z,G=S(function(){z.has(1)}),K=T(function(U){new E(U)}),_=!m&&S(function(){for(var U=new E,L=5;L--;)U[O](L,L);return!U.has(-0)});K||(b=R(function(U,L){v(U,C);var F=g(new E,U,b);return h(L)||c(L,F[O],{that:F,AS_ENTRIES:d}),F}),b.prototype=C,C.constructor=b),(G||_)&&($("delete"),$("has"),d&&$("get")),(_||Q)&&$(O),m&&C.clear&&delete C.clear}return M[P]=b,r({global:!0,constructor:!0,forced:b!==E},M),y(b,P),m||x.setStrong(b,P,d),b}},70113:function(u,i,t){"use strict";var r=t(89458),n=t(93616),e=t(54168),a=t(56018);u.exports=function(o,s,c){for(var v=n(s),l=a.f,h=e.f,I=0;I<v.length;I++){var S=v[I];!r(o,S)&&!(c&&r(c,S))&&l(o,S,h(s,S))}}},93321:function(u,i,t){"use strict";var r=t(66266),n=r("match");u.exports=function(e){var a=/./;try{"/./"[e](a)}catch(o){try{return a[n]=!1,"/./"[e](a)}catch(s){}}return!1}},58776:function(u,i,t){"use strict";var r=t(41746);u.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype})},93677:function(u,i,t){"use strict";var r=t(18161),n=t(91029),e=t(26602),a=/"/g,o=r("".replace);u.exports=function(s,c,v,l){var h=e(n(s)),I="<"+c;return v!==""&&(I+=" "+v+'="'+o(e(l),a,""")+'"'),I+">"+h+"</"+c+">"}},77056:function(u){"use strict";u.exports=function(i,t){return{value:i,done:t}}},16216:function(u,i,t){"use strict";var r=t(14141),n=t(56018),e=t(7539);u.exports=r?function(a,o,s){return n.f(a,o,e(1,s))}:function(a,o,s){return a[o]=s,a}},7539:function(u){"use strict";u.exports=function(i,t){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:t}}},12913:function(u,i,t){"use strict";var r=t(14141),n=t(56018),e=t(7539);u.exports=function(a,o,s){r?n.f(a,o,e(0,s)):a[o]=s}},74003:function(u,i,t){"use strict";var r=t(18161),n=t(41746),e=t(34086).start,a=RangeError,o=isFinite,s=Math.abs,c=Date.prototype,v=c.toISOString,l=r(c.getTime),h=r(c.getUTCDate),I=r(c.getUTCFullYear),S=r(c.getUTCHours),T=r(c.getUTCMilliseconds),y=r(c.getUTCMinutes),g=r(c.getUTCMonth),P=r(c.getUTCSeconds);u.exports=n(function(){return v.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!n(function(){v.call(new Date(NaN))})?function(){function R(){if(!o(l(this)))throw new a("Invalid time value");var x=this,d=I(x),m=T(x),O=d<0?"-":d>9999?"+":"";return O+e(s(d),O?6:4,0)+"-"+e(g(x)+1,2,0)+"-"+e(h(x),2,0)+"T"+e(S(x),2,0)+":"+e(y(x),2,0)+":"+e(P(x),2,0)+"."+e(m,3,0)+"Z"}return R}():v},95865:function(u,i,t){"use strict";var r=t(39482),n=t(14991),e=TypeError;u.exports=function(a){if(r(this),a==="string"||a==="default")a="string";else if(a!=="number")throw new e("Incorrect hint");return n(this,a)}},10069:function(u,i,t){"use strict";var r=t(76130),n=t(56018);u.exports=function(e,a,o){return o.get&&r(o.get,a,{getter:!0}),o.set&&r(o.set,a,{setter:!0}),n.f(e,a,o)}},59173:function(u,i,t){"use strict";var r=t(7532),n=t(56018),e=t(76130),a=t(93422);u.exports=function(o,s,c,v){v||(v={});var l=v.enumerable,h=v.name!==void 0?v.name:s;if(r(c)&&e(c,h,v),v.global)l?o[s]=c:a(s,c);else{try{v.unsafe?o[s]&&(l=!0):delete o[s]}catch(I){}l?o[s]=c:n.f(o,s,{value:c,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return o}},13648:function(u,i,t){"use strict";var r=t(59173);u.exports=function(n,e,a){for(var o in e)r(n,o,e[o],a);return n}},93422:function(u,i,t){"use strict";var r=t(40224),n=Object.defineProperty;u.exports=function(e,a){try{n(r,e,{value:a,configurable:!0,writable:!0})}catch(o){r[e]=a}return a}},58937:function(u,i,t){"use strict";var r=t(62518),n=TypeError;u.exports=function(e,a){if(!delete e[a])throw new n("Cannot delete property "+r(a)+" of "+r(e))}},14141:function(u,i,t){"use strict";var r=t(41746);u.exports=!r(function(){return Object.defineProperty({},1,{get:function(){function n(){return 7}return n}()})[1]!==7})},85158:function(u,i,t){"use strict";var r=t(40224),n=t(56831),e=r.document,a=n(e)&&n(e.createElement);u.exports=function(o){return a?e.createElement(o):{}}},72434:function(u){"use strict";var i=TypeError,t=9007199254740991;u.exports=function(r){if(r>t)throw i("Maximum allowed index exceeded");return r}},49847:function(u,i,t){"use strict";var r=t(15837),n=r.match(/firefox\/(\d+)/i);u.exports=!!n&&+n[1]},27955:function(u,i,t){"use strict";var r=t(2971),n=t(95823);u.exports=!r&&!n&&typeof window=="object"&&typeof document=="object"},2178:function(u){"use strict";u.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},2971:function(u){"use strict";u.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},56605:function(u,i,t){"use strict";var r=t(15837);u.exports=/MSIE|Trident/.test(r)},6647:function(u,i,t){"use strict";var r=t(15837);u.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},52426:function(u,i,t){"use strict";var r=t(15837);u.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},95823:function(u,i,t){"use strict";var r=t(40224),n=t(38817);u.exports=n(r.process)==="process"},25062:function(u,i,t){"use strict";var r=t(15837);u.exports=/web0s(?!.*chrome)/i.test(r)},15837:function(u){"use strict";u.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},82709:function(u,i,t){"use strict";var r=t(40224),n=t(15837),e=r.process,a=r.Deno,o=e&&e.versions||a&&a.version,s=o&&o.v8,c,v;s&&(c=s.split("."),v=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!v&&n&&(c=n.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=n.match(/Chrome\/(\d+)/),c&&(v=+c[1]))),u.exports=v},53125:function(u,i,t){"use strict";var r=t(15837),n=r.match(/AppleWebKit\/(\d+)\./);u.exports=!!n&&+n[1]},90298:function(u){"use strict";u.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},77549:function(u,i,t){"use strict";var r=t(40224),n=t(54168).f,e=t(16216),a=t(59173),o=t(93422),s=t(70113),c=t(95945);u.exports=function(v,l){var h=v.target,I=v.global,S=v.stat,T,y,g,P,R,x;if(I?y=r:S?y=r[h]||o(h,{}):y=r[h]&&r[h].prototype,y)for(g in l){if(R=l[g],v.dontCallGetSet?(x=n(y,g),P=x&&x.value):P=y[g],T=c(I?g:h+(S?".":"#")+g,v.forced),!T&&P!==void 0){if(typeof R==typeof P)continue;s(R,P)}(v.sham||P&&P.sham)&&e(R,"sham",!0),a(y,g,R,v)}}},41746:function(u){"use strict";u.exports=function(i){try{return!!i()}catch(t){return!0}}},85427:function(u,i,t){"use strict";t(95880);var r=t(62696),n=t(59173),e=t(72894),a=t(41746),o=t(66266),s=t(16216),c=o("species"),v=RegExp.prototype;u.exports=function(l,h,I,S){var T=o(l),y=!a(function(){var x={};return x[T]=function(){return 7},""[l](x)!==7}),g=y&&!a(function(){var x=!1,d=/a/;return l==="split"&&(d={},d.constructor={},d.constructor[c]=function(){return d},d.flags="",d[T]=/./[T]),d.exec=function(){return x=!0,null},d[T](""),!x});if(!y||!g||I){var P=/./[T],R=h(T,""[l],function(x,d,m,O,E){var C=d.exec;return C===e||C===v.exec?y&&!E?{done:!0,value:r(P,d,m,O)}:{done:!0,value:r(x,m,d,O)}:{done:!1}});n(String.prototype,l,R[0]),n(v,T,R[1])}S&&s(v[T],"sham",!0)}},68864:function(u,i,t){"use strict";var r=t(62367),n=t(8333),e=t(72434),a=t(4509),o=function s(c,v,l,h,I,S,T,y){for(var g=I,P=0,R=T?a(T,y):!1,x,d;P<h;)P in l&&(x=R?R(l[P],P,v):l[P],S>0&&r(x)?(d=n(x),g=s(c,v,x,d,g,S-1)-1):(e(g+1),c[g]=x),g++),P++;return g};u.exports=o},56255:function(u,i,t){"use strict";var r=t(41746);u.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},70918:function(u,i,t){"use strict";var r=t(76799),n=Function.prototype,e=n.apply,a=n.call;u.exports=typeof Reflect=="object"&&Reflect.apply||(r?a.bind(e):function(){return a.apply(e,arguments)})},4509:function(u,i,t){"use strict";var r=t(85067),n=t(97361),e=t(76799),a=r(r.bind);u.exports=function(o,s){return n(o),s===void 0?o:e?a(o,s):function(){return o.apply(s,arguments)}}},76799:function(u,i,t){"use strict";var r=t(41746);u.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},9379:function(u,i,t){"use strict";var r=t(18161),n=t(97361),e=t(56831),a=t(89458),o=t(77713),s=t(76799),c=Function,v=r([].concat),l=r([].join),h={},I=function(T,y,g){if(!a(h,y)){for(var P=[],R=0;R<y;R++)P[R]="a["+R+"]";h[y]=c("C,a","return new C("+l(P,",")+")")}return h[y](T,g)};u.exports=s?c.bind:function(){function S(T){var y=n(this),g=y.prototype,P=o(arguments,1),R=function(){function x(){var d=v(P,o(arguments));return this instanceof R?I(y,d.length,d):y.apply(T,d)}return x}();return e(g)&&(R.prototype=g),R}return S}()},62696:function(u,i,t){"use strict";var r=t(76799),n=Function.prototype.call;u.exports=r?n.bind(n):function(){return n.apply(n,arguments)}},26463:function(u,i,t){"use strict";var r=t(14141),n=t(89458),e=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,o=n(e,"name"),s=o&&function(){function v(){}return v}().name==="something",c=o&&(!r||r&&a(e,"name").configurable);u.exports={EXISTS:o,PROPER:s,CONFIGURABLE:c}},9553:function(u,i,t){"use strict";var r=t(18161),n=t(97361);u.exports=function(e,a,o){try{return r(n(Object.getOwnPropertyDescriptor(e,a)[o]))}catch(s){}}},85067:function(u,i,t){"use strict";var r=t(38817),n=t(18161);u.exports=function(e){if(r(e)==="Function")return n(e)}},18161:function(u,i,t){"use strict";var r=t(76799),n=Function.prototype,e=n.call,a=r&&n.bind.bind(e,e);u.exports=r?a:function(o){return function(){return e.apply(o,arguments)}}},40164:function(u,i,t){"use strict";var r=t(40224),n=t(7532),e=function(o){return n(o)?o:void 0};u.exports=function(a,o){return arguments.length<2?e(r[a]):r[a]&&r[a][o]}},76274:function(u,i,t){"use strict";var r=t(27806),n=t(4817),e=t(1022),a=t(90604),o=t(66266),s=o("iterator");u.exports=function(c){if(!e(c))return n(c,s)||n(c,"@@iterator")||a[r(c)]}},3438:function(u,i,t){"use strict";var r=t(62696),n=t(97361),e=t(39482),a=t(62518),o=t(76274),s=TypeError;u.exports=function(c,v){var l=arguments.length<2?o(c):v;if(n(l))return e(r(l,c));throw new s(a(c)+" is not iterable")}},5806:function(u,i,t){"use strict";var r=t(18161),n=t(62367),e=t(7532),a=t(38817),o=t(26602),s=r([].push);u.exports=function(c){if(e(c))return c;if(n(c)){for(var v=c.length,l=[],h=0;h<v;h++){var I=c[h];typeof I=="string"?s(l,I):(typeof I=="number"||a(I)==="Number"||a(I)==="String")&&s(l,o(I))}var S=l.length,T=!0;return function(y,g){if(T)return T=!1,g;if(n(this))return g;for(var P=0;P<S;P++)if(l[P]===y)return g}}}},4817:function(u,i,t){"use strict";var r=t(97361),n=t(1022);u.exports=function(e,a){var o=e[a];return n(o)?void 0:r(o)}},81385:function(u,i,t){"use strict";var r=t(18161),n=t(40076),e=Math.floor,a=r("".charAt),o=r("".replace),s=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,v=/\$([$&'`]|\d{1,2})/g;u.exports=function(l,h,I,S,T,y){var g=I+l.length,P=S.length,R=v;return T!==void 0&&(T=n(T),R=c),o(y,R,function(x,d){var m;switch(a(d,0)){case"$":return"$";case"&":return l;case"`":return s(h,0,I);case"'":return s(h,g);case"<":m=T[s(d,1,-1)];break;default:var O=+d;if(O===0)return x;if(O>P){var E=e(O/10);return E===0?x:E<=P?S[E-1]===void 0?a(d,1):S[E-1]+a(d,1):x}m=S[O-1]}return m===void 0?"":m})}},40224:function(u,i,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};u.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof t.g=="object"&&t.g)||r(!1)||function(){return this}()||Function("return this")()},89458:function(u,i,t){"use strict";var r=t(18161),n=t(40076),e=r({}.hasOwnProperty);u.exports=Object.hasOwn||function(){function a(o,s){return e(n(o),s)}return a}()},21124:function(u){"use strict";u.exports={}},46122:function(u){"use strict";u.exports=function(i,t){try{arguments.length}catch(r){}}},54562:function(u,i,t){"use strict";var r=t(40164);u.exports=r("document","documentElement")},1606:function(u,i,t){"use strict";var r=t(14141),n=t(41746),e=t(85158);u.exports=!r&&!n(function(){return Object.defineProperty(e("div"),"a",{get:function(){function a(){return 7}return a}()}).a!==7})},62263:function(u){"use strict";var i=Array,t=Math.abs,r=Math.pow,n=Math.floor,e=Math.log,a=Math.LN2,o=function(v,l,h){var I=i(h),S=h*8-l-1,T=(1<<S)-1,y=T>>1,g=l===23?r(2,-24)-r(2,-77):0,P=v<0||v===0&&1/v<0?1:0,R=0,x,d,m;for(v=t(v),v!==v||v===1/0?(d=v!==v?1:0,x=T):(x=n(e(v)/a),m=r(2,-x),v*m<1&&(x--,m*=2),x+y>=1?v+=g/m:v+=g*r(2,1-y),v*m>=2&&(x++,m/=2),x+y>=T?(d=0,x=T):x+y>=1?(d=(v*m-1)*r(2,l),x+=y):(d=v*r(2,y-1)*r(2,l),x=0));l>=8;)I[R++]=d&255,d/=256,l-=8;for(x=x<<l|d,S+=l;S>0;)I[R++]=x&255,x/=256,S-=8;return I[--R]|=P*128,I},s=function(v,l){var h=v.length,I=h*8-l-1,S=(1<<I)-1,T=S>>1,y=I-7,g=h-1,P=v[g--],R=P&127,x;for(P>>=7;y>0;)R=R*256+v[g--],y-=8;for(x=R&(1<<-y)-1,R>>=-y,y+=l;y>0;)x=x*256+v[g--],y-=8;if(R===0)R=1-T;else{if(R===S)return x?NaN:P?-1/0:1/0;x+=r(2,l),R-=T}return(P?-1:1)*x*r(2,R-l)};u.exports={pack:o,unpack:s}},26736:function(u,i,t){"use strict";var r=t(18161),n=t(41746),e=t(38817),a=Object,o=r("".split);u.exports=n(function(){return!a("z").propertyIsEnumerable(0)})?function(s){return e(s)==="String"?o(s,""):a(s)}:a},2566:function(u,i,t){"use strict";var r=t(7532),n=t(56831),e=t(42878);u.exports=function(a,o,s){var c,v;return e&&r(c=o.constructor)&&c!==s&&n(v=c.prototype)&&v!==s.prototype&&e(a,v),a}},43589:function(u,i,t){"use strict";var r=t(18161),n=t(7532),e=t(95046),a=r(Function.toString);n(e.inspectSource)||(e.inspectSource=function(o){return a(o)}),u.exports=e.inspectSource},29126:function(u,i,t){"use strict";var r=t(77549),n=t(18161),e=t(21124),a=t(56831),o=t(89458),s=t(56018).f,c=t(34813),v=t(63797),l=t(57975),h=t(33345),I=t(56255),S=!1,T=h("meta"),y=0,g=function(E){s(E,T,{value:{objectID:"O"+y++,weakData:{}}})},P=function(E,C){if(!a(E))return typeof E=="symbol"?E:(typeof E=="string"?"S":"P")+E;if(!o(E,T)){if(!l(E))return"F";if(!C)return"E";g(E)}return E[T].objectID},R=function(E,C){if(!o(E,T)){if(!l(E))return!0;if(!C)return!1;g(E)}return E[T].weakData},x=function(E){return I&&S&&l(E)&&!o(E,T)&&g(E),E},d=function(){m.enable=function(){},S=!0;var E=c.f,C=n([].splice),b={};b[T]=1,E(b).length&&(c.f=function(M){for(var $=E(M),N=0,z=$.length;N<z;N++)if($[N]===T){C($,N,1);break}return $},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:v.f}))},m=u.exports={enable:d,fastKey:P,getWeakData:R,onFreeze:x};e[T]=!0},35086:function(u,i,t){"use strict";var r=t(90777),n=t(40224),e=t(56831),a=t(16216),o=t(89458),s=t(95046),c=t(5160),v=t(21124),l="Object already initialized",h=n.TypeError,I=n.WeakMap,S,T,y,g=function(m){return y(m)?T(m):S(m,{})},P=function(m){return function(O){var E;if(!e(O)||(E=T(O)).type!==m)throw new h("Incompatible receiver, "+m+" required");return E}};if(r||s.state){var R=s.state||(s.state=new I);R.get=R.get,R.has=R.has,R.set=R.set,S=function(m,O){if(R.has(m))throw new h(l);return O.facade=m,R.set(m,O),O},T=function(m){return R.get(m)||{}},y=function(m){return R.has(m)}}else{var x=c("state");v[x]=!0,S=function(m,O){if(o(m,x))throw new h(l);return O.facade=m,a(m,x,O),O},T=function(m){return o(m,x)?m[x]:{}},y=function(m){return o(m,x)}}u.exports={set:S,get:T,has:y,enforce:g,getterFor:P}},58482:function(u,i,t){"use strict";var r=t(66266),n=t(90604),e=r("iterator"),a=Array.prototype;u.exports=function(o){return o!==void 0&&(n.Array===o||a[e]===o)}},62367:function(u,i,t){"use strict";var r=t(38817);u.exports=Array.isArray||function(){function n(e){return r(e)==="Array"}return n}()},5080:function(u,i,t){"use strict";var r=t(27806);u.exports=function(n){var e=r(n);return e==="BigInt64Array"||e==="BigUint64Array"}},7532:function(u){"use strict";var i=typeof document=="object"&&document.all;u.exports=typeof i=="undefined"&&i!==void 0?function(t){return typeof t=="function"||t===i}:function(t){return typeof t=="function"}},60354:function(u,i,t){"use strict";var r=t(18161),n=t(41746),e=t(7532),a=t(27806),o=t(40164),s=t(43589),c=function(){},v=o("Reflect","construct"),l=/^\s*(?:class|function)\b/,h=r(l.exec),I=!l.test(c),S=function(){function y(g){if(!e(g))return!1;try{return v(c,[],g),!0}catch(P){return!1}}return y}(),T=function(){function y(g){if(!e(g))return!1;switch(a(g)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return I||!!h(l,s(g))}catch(P){return!0}}return y}();T.sham=!0,u.exports=!v||n(function(){var y;return S(S.call)||!S(Object)||!S(function(){y=!0})||y})?T:S},35892:function(u,i,t){"use strict";var r=t(89458);u.exports=function(n){return n!==void 0&&(r(n,"value")||r(n,"writable"))}},95945:function(u,i,t){"use strict";var r=t(41746),n=t(7532),e=/#|\.prototype\./,a=function(h,I){var S=s[o(h)];return S===v?!0:S===c?!1:n(I)?r(I):!!I},o=a.normalize=function(l){return String(l).replace(e,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",v=a.POLYFILL="P";u.exports=a},57696:function(u,i,t){"use strict";var r=t(56831),n=Math.floor;u.exports=Number.isInteger||function(){function e(a){return!r(a)&&isFinite(a)&&n(a)===a}return e}()},1022:function(u){"use strict";u.exports=function(i){return i==null}},56831:function(u,i,t){"use strict";var r=t(7532);u.exports=function(n){return typeof n=="object"?n!==null:r(n)}},41224:function(u,i,t){"use strict";var r=t(56831);u.exports=function(n){return r(n)||n===null}},11478:function(u){"use strict";u.exports=!1},80969:function(u,i,t){"use strict";var r=t(56831),n=t(38817),e=t(66266),a=e("match");u.exports=function(o){var s;return r(o)&&((s=o[a])!==void 0?!!s:n(o)==="RegExp")}},74352:function(u,i,t){"use strict";var r=t(40164),n=t(7532),e=t(33314),a=t(81457),o=Object;u.exports=a?function(s){return typeof s=="symbol"}:function(s){var c=r("Symbol");return n(c)&&e(c.prototype,o(s))}},281:function(u,i,t){"use strict";var r=t(4509),n=t(62696),e=t(39482),a=t(62518),o=t(58482),s=t(8333),c=t(33314),v=t(3438),l=t(76274),h=t(14868),I=TypeError,S=function(g,P){this.stopped=g,this.result=P},T=S.prototype;u.exports=function(y,g,P){var R=P&&P.that,x=!!(P&&P.AS_ENTRIES),d=!!(P&&P.IS_RECORD),m=!!(P&&P.IS_ITERATOR),O=!!(P&&P.INTERRUPTED),E=r(g,R),C,b,M,$,N,z,Q,G=function(U){return C&&h(C,"normal",U),new S(!0,U)},K=function(U){return x?(e(U),O?E(U[0],U[1],G):E(U[0],U[1])):O?E(U,G):E(U)};if(d)C=y.iterator;else if(m)C=y;else{if(b=l(y),!b)throw new I(a(y)+" is not iterable");if(o(b)){for(M=0,$=s(y);$>M;M++)if(N=K(y[M]),N&&c(T,N))return N;return new S(!1)}C=v(y,b)}for(z=d?y.next:C.next;!(Q=n(z,C)).done;){try{N=K(Q.value)}catch(_){h(C,"throw",_)}if(typeof N=="object"&&N&&c(T,N))return N}return new S(!1)}},14868:function(u,i,t){"use strict";var r=t(62696),n=t(39482),e=t(4817);u.exports=function(a,o,s){var c,v;n(a);try{if(c=e(a,"return"),!c){if(o==="throw")throw s;return s}c=r(c,a)}catch(l){v=!0,c=l}if(o==="throw")throw s;if(v)throw c;return n(c),s}},42599:function(u,i,t){"use strict";var r=t(85106).IteratorPrototype,n=t(28969),e=t(7539),a=t(94234),o=t(90604),s=function(){return this};u.exports=function(c,v,l,h){var I=v+" Iterator";return c.prototype=n(r,{next:e(+!h,l)}),a(c,I,!1,!0),o[I]=s,c}},2449:function(u,i,t){"use strict";var r=t(77549),n=t(62696),e=t(11478),a=t(26463),o=t(7532),s=t(42599),c=t(31658),v=t(42878),l=t(94234),h=t(16216),I=t(59173),S=t(66266),T=t(90604),y=t(85106),g=a.PROPER,P=a.CONFIGURABLE,R=y.IteratorPrototype,x=y.BUGGY_SAFARI_ITERATORS,d=S("iterator"),m="keys",O="values",E="entries",C=function(){return this};u.exports=function(b,M,$,N,z,Q,G){s($,M,N);var K=function(ot){if(ot===z&&j)return j;if(!x&&ot&&ot in L)return L[ot];switch(ot){case m:return function(){function lt(){return new $(this,ot)}return lt}();case O:return function(){function lt(){return new $(this,ot)}return lt}();case E:return function(){function lt(){return new $(this,ot)}return lt}()}return function(){return new $(this)}},_=M+" Iterator",U=!1,L=b.prototype,F=L[d]||L["@@iterator"]||z&&L[z],j=!x&&F||K(z),V=M==="Array"&&L.entries||F,Y,it,dt;if(V&&(Y=c(V.call(new b)),Y!==Object.prototype&&Y.next&&(!e&&c(Y)!==R&&(v?v(Y,R):o(Y[d])||I(Y,d,C)),l(Y,_,!0,!0),e&&(T[_]=C))),g&&z===O&&F&&F.name!==O&&(!e&&P?h(L,"name",O):(U=!0,j=function(){function pt(){return n(F,this)}return pt}())),z)if(it={values:K(O),keys:Q?j:K(m),entries:K(E)},G)for(dt in it)(x||U||!(dt in L))&&I(L,dt,it[dt]);else r({target:M,proto:!0,forced:x||U},it);return(!e||G)&&L[d]!==j&&I(L,d,j,{name:z}),T[M]=j,it}},85106:function(u,i,t){"use strict";var r=t(41746),n=t(7532),e=t(56831),a=t(28969),o=t(31658),s=t(59173),c=t(66266),v=t(11478),l=c("iterator"),h=!1,I,S,T;[].keys&&(T=[].keys(),"next"in T?(S=o(o(T)),S!==Object.prototype&&(I=S)):h=!0);var y=!e(I)||r(function(){var g={};return I[l].call(g)!==g});y?I={}:v&&(I=a(I)),n(I[l])||s(I,l,function(){return this}),u.exports={IteratorPrototype:I,BUGGY_SAFARI_ITERATORS:h}},90604:function(u){"use strict";u.exports={}},8333:function(u,i,t){"use strict";var r=t(10475);u.exports=function(n){return r(n.length)}},76130:function(u,i,t){"use strict";var r=t(18161),n=t(41746),e=t(7532),a=t(89458),o=t(14141),s=t(26463).CONFIGURABLE,c=t(43589),v=t(35086),l=v.enforce,h=v.get,I=String,S=Object.defineProperty,T=r("".slice),y=r("".replace),g=r([].join),P=o&&!n(function(){return S(function(){},"length",{value:8}).length!==8}),R=String(String).split("String"),x=u.exports=function(d,m,O){T(I(m),0,7)==="Symbol("&&(m="["+y(I(m),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),O&&O.getter&&(m="get "+m),O&&O.setter&&(m="set "+m),(!a(d,"name")||s&&d.name!==m)&&(o?S(d,"name",{value:m,configurable:!0}):d.name=m),P&&O&&a(O,"arity")&&d.length!==O.arity&&S(d,"length",{value:O.arity});try{O&&a(O,"constructor")&&O.constructor?o&&S(d,"prototype",{writable:!1}):d.prototype&&(d.prototype=void 0)}catch(C){}var E=l(d);return a(E,"source")||(E.source=g(R,typeof m=="string"?m:"")),d};Function.prototype.toString=x(function(){function d(){return e(this)&&h(this).source||c(this)}return d}(),"toString")},32813:function(u){"use strict";var i=Math.expm1,t=Math.exp;u.exports=!i||i(10)>22025.465794806718||i(10)<22025.465794806718||i(-2e-17)!==-2e-17?function(){function r(n){var e=+n;return e===0?e:e>-1e-6&&e<1e-6?e+e*e/2:t(e)-1}return r}():i},23207:function(u,i,t){"use strict";var r=t(54307),n=Math.abs,e=2220446049250313e-31,a=1/e,o=function(c){return c+a-a};u.exports=function(s,c,v,l){var h=+s,I=n(h),S=r(h);if(I<l)return S*o(I/l/c)*l*c;var T=(1+c/e)*I,y=T-(T-I);return y>v||y!==y?S*(1/0):S*y}},75988:function(u,i,t){"use strict";var r=t(23207),n=11920928955078125e-23,e=34028234663852886e22,a=11754943508222875e-54;u.exports=Math.fround||function(){function o(s){return r(s,n,e,a)}return o}()},53271:function(u){"use strict";var i=Math.log,t=Math.LOG10E;u.exports=Math.log10||function(){function r(n){return i(n)*t}return r}()},69143:function(u){"use strict";var i=Math.log;u.exports=Math.log1p||function(){function t(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:i(1+n)}return t}()},54307:function(u){"use strict";u.exports=Math.sign||function(){function i(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}return i}()},34606:function(u){"use strict";var i=Math.ceil,t=Math.floor;u.exports=Math.trunc||function(){function r(n){var e=+n;return(e>0?t:i)(e)}return r}()},27150:function(u,i,t){"use strict";var r=t(40224),n=t(1156),e=t(4509),a=t(91314).set,o=t(23496),s=t(52426),c=t(6647),v=t(25062),l=t(95823),h=r.MutationObserver||r.WebKitMutationObserver,I=r.document,S=r.process,T=r.Promise,y=n("queueMicrotask"),g,P,R,x,d;if(!y){var m=new o,O=function(){var C,b;for(l&&(C=S.domain)&&C.exit();b=m.get();)try{b()}catch(M){throw m.head&&g(),M}C&&C.enter()};!s&&!l&&!v&&h&&I?(P=!0,R=I.createTextNode(""),new h(O).observe(R,{characterData:!0}),g=function(){R.data=P=!P}):!c&&T&&T.resolve?(x=T.resolve(void 0),x.constructor=T,d=e(x.then,x),g=function(){d(O)}):l?g=function(){S.nextTick(O)}:(a=e(a,r),g=function(){a(O)}),y=function(C){m.head||g(),m.add(C)}}u.exports=y},48532:function(u,i,t){"use strict";var r=t(97361),n=TypeError,e=function(o){var s,c;this.promise=new o(function(v,l){if(s!==void 0||c!==void 0)throw new n("Bad Promise constructor");s=v,c=l}),this.resolve=r(s),this.reject=r(c)};u.exports.f=function(a){return new e(a)}},89140:function(u,i,t){"use strict";var r=t(80969),n=TypeError;u.exports=function(e){if(r(e))throw new n("The method doesn't accept regular expressions");return e}},69079:function(u,i,t){"use strict";var r=t(40224),n=r.isFinite;u.exports=Number.isFinite||function(){function e(a){return typeof a=="number"&&n(a)}return e}()},43283:function(u,i,t){"use strict";var r=t(40224),n=t(41746),e=t(18161),a=t(26602),o=t(35171).trim,s=t(137),c=e("".charAt),v=r.parseFloat,l=r.Symbol,h=l&&l.iterator,I=1/v(s+"-0")!==-1/0||h&&!n(function(){v(Object(h))});u.exports=I?function(){function S(T){var y=o(a(T)),g=v(y);return g===0&&c(y,0)==="-"?-0:g}return S}():v},11540:function(u,i,t){"use strict";var r=t(40224),n=t(41746),e=t(18161),a=t(26602),o=t(35171).trim,s=t(137),c=r.parseInt,v=r.Symbol,l=v&&v.iterator,h=/^[+-]?0x/i,I=e(h.exec),S=c(s+"08")!==8||c(s+"0x16")!==22||l&&!n(function(){c(Object(l))});u.exports=S?function(){function T(y,g){var P=o(a(y));return c(P,g>>>0||(I(h,P)?16:10))}return T}():c},12752:function(u,i,t){"use strict";var r=t(14141),n=t(18161),e=t(62696),a=t(41746),o=t(84913),s=t(34220),c=t(9776),v=t(40076),l=t(26736),h=Object.assign,I=Object.defineProperty,S=n([].concat);u.exports=!h||a(function(){if(r&&h({b:1},h(I({},"a",{enumerable:!0,get:function(){function R(){I(this,"b",{value:3,enumerable:!1})}return R}()}),{b:2})).b!==1)return!0;var T={},y={},g=Symbol("assign detection"),P="abcdefghijklmnopqrst";return T[g]=7,P.split("").forEach(function(R){y[R]=R}),h({},T)[g]!==7||o(h({},y)).join("")!==P})?function(){function T(y,g){for(var P=v(y),R=arguments.length,x=1,d=s.f,m=c.f;R>x;)for(var O=l(arguments[x++]),E=d?S(o(O),d(O)):o(O),C=E.length,b=0,M;C>b;)M=E[b++],(!r||e(m,O,M))&&(P[M]=O[M]);return P}return T}():h},28969:function(u,i,t){"use strict";var r=t(39482),n=t(65854),e=t(90298),a=t(21124),o=t(54562),s=t(85158),c=t(5160),v=">",l="<",h="prototype",I="script",S=c("IE_PROTO"),T=function(){},y=function(m){return l+I+v+m+l+"/"+I+v},g=function(m){m.write(y("")),m.close();var O=m.parentWindow.Object;return m=null,O},P=function(){var m=s("iframe"),O="java"+I+":",E;return m.style.display="none",o.appendChild(m),m.src=String(O),E=m.contentWindow.document,E.open(),E.write(y("document.F=Object")),E.close(),E.F},R,x=function(){try{R=new ActiveXObject("htmlfile")}catch(O){}x=typeof document!="undefined"?document.domain&&R?g(R):P():g(R);for(var m=e.length;m--;)delete x[h][e[m]];return x()};a[S]=!0,u.exports=Object.create||function(){function d(m,O){var E;return m!==null?(T[h]=r(m),E=new T,T[h]=null,E[S]=m):E=x(),O===void 0?E:n.f(E,O)}return d}()},65854:function(u,i,t){"use strict";var r=t(14141),n=t(83411),e=t(56018),a=t(39482),o=t(96812),s=t(84913);i.f=r&&!n?Object.defineProperties:function(){function c(v,l){a(v);for(var h=o(l),I=s(l),S=I.length,T=0,y;S>T;)e.f(v,y=I[T++],h[y]);return v}return c}()},56018:function(u,i,t){"use strict";var r=t(14141),n=t(1606),e=t(83411),a=t(39482),o=t(57640),s=TypeError,c=Object.defineProperty,v=Object.getOwnPropertyDescriptor,l="enumerable",h="configurable",I="writable";i.f=r?e?function(){function S(T,y,g){if(a(T),y=o(y),a(g),typeof T=="function"&&y==="prototype"&&"value"in g&&I in g&&!g[I]){var P=v(T,y);P&&P[I]&&(T[y]=g.value,g={configurable:h in g?g[h]:P[h],enumerable:l in g?g[l]:P[l],writable:!1})}return c(T,y,g)}return S}():c:function(){function S(T,y,g){if(a(T),y=o(y),a(g),n)try{return c(T,y,g)}catch(P){}if("get"in g||"set"in g)throw new s("Accessors not supported");return"value"in g&&(T[y]=g.value),T}return S}()},54168:function(u,i,t){"use strict";var r=t(14141),n=t(62696),e=t(9776),a=t(7539),o=t(96812),s=t(57640),c=t(89458),v=t(1606),l=Object.getOwnPropertyDescriptor;i.f=r?l:function(){function h(I,S){if(I=o(I),S=s(S),v)try{return l(I,S)}catch(T){}if(c(I,S))return a(!n(e.f,I,S),I[S])}return h}()},63797:function(u,i,t){"use strict";var r=t(38817),n=t(96812),e=t(34813).f,a=t(77713),o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(v){try{return e(v)}catch(l){return a(o)}};u.exports.f=function(){function c(v){return o&&r(v)==="Window"?s(v):e(n(v))}return c}()},34813:function(u,i,t){"use strict";var r=t(62995),n=t(90298),e=n.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(){function a(o){return r(o,e)}return a}()},34220:function(u,i){"use strict";i.f=Object.getOwnPropertySymbols},31658:function(u,i,t){"use strict";var r=t(89458),n=t(7532),e=t(40076),a=t(5160),o=t(58776),s=a("IE_PROTO"),c=Object,v=c.prototype;u.exports=o?c.getPrototypeOf:function(l){var h=e(l);if(r(h,s))return h[s];var I=h.constructor;return n(I)&&h instanceof I?I.prototype:h instanceof c?v:null}},57975:function(u,i,t){"use strict";var r=t(41746),n=t(56831),e=t(38817),a=t(65693),o=Object.isExtensible,s=r(function(){o(1)});u.exports=s||a?function(){function c(v){return!n(v)||a&&e(v)==="ArrayBuffer"?!1:o?o(v):!0}return c}():o},33314:function(u,i,t){"use strict";var r=t(18161);u.exports=r({}.isPrototypeOf)},62995:function(u,i,t){"use strict";var r=t(18161),n=t(89458),e=t(96812),a=t(64210).indexOf,o=t(21124),s=r([].push);u.exports=function(c,v){var l=e(c),h=0,I=[],S;for(S in l)!n(o,S)&&n(l,S)&&s(I,S);for(;v.length>h;)n(l,S=v[h++])&&(~a(I,S)||s(I,S));return I}},84913:function(u,i,t){"use strict";var r=t(62995),n=t(90298);u.exports=Object.keys||function(){function e(a){return r(a,n)}return e}()},9776:function(u,i){"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);i.f=n?function(){function e(a){var o=r(this,a);return!!o&&o.enumerable}return e}():t},33030:function(u,i,t){"use strict";var r=t(11478),n=t(40224),e=t(41746),a=t(53125);u.exports=r||!e(function(){if(!(a&&a<535)){var o=Math.random();__defineSetter__.call(null,o,function(){}),delete n[o]}})},42878:function(u,i,t){"use strict";var r=t(9553),n=t(56831),e=t(91029),a=t(51689);u.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var o=!1,s={},c;try{c=r(Object.prototype,"__proto__","set"),c(s,[]),o=s instanceof Array}catch(v){}return function(){function v(l,h){return e(l),a(h),n(l)&&(o?c(l,h):l.__proto__=h),l}return v}()}():void 0)},97452:function(u,i,t){"use strict";var r=t(14141),n=t(41746),e=t(18161),a=t(31658),o=t(84913),s=t(96812),c=t(9776).f,v=e(c),l=e([].push),h=r&&n(function(){var S=Object.create(null);return S[2]=2,!v(S,2)}),I=function(T){return function(y){for(var g=s(y),P=o(g),R=h&&a(g)===null,x=P.length,d=0,m=[],O;x>d;)O=P[d++],(!r||(R?O in g:v(g,O)))&&l(m,T?[O,g[O]]:g[O]);return m}};u.exports={entries:I(!0),values:I(!1)}},66628:function(u,i,t){"use strict";var r=t(82161),n=t(27806);u.exports=r?{}.toString:function(){function e(){return"[object "+n(this)+"]"}return e}()},14991:function(u,i,t){"use strict";var r=t(62696),n=t(7532),e=t(56831),a=TypeError;u.exports=function(o,s){var c,v;if(s==="string"&&n(c=o.toString)&&!e(v=r(c,o))||n(c=o.valueOf)&&!e(v=r(c,o))||s!=="string"&&n(c=o.toString)&&!e(v=r(c,o)))return v;throw new a("Can't convert object to primitive value")}},93616:function(u,i,t){"use strict";var r=t(40164),n=t(18161),e=t(34813),a=t(34220),o=t(39482),s=n([].concat);u.exports=r("Reflect","ownKeys")||function(){function c(v){var l=e.f(o(v)),h=a.f;return h?s(l,h(v)):l}return c}()},5376:function(u,i,t){"use strict";var r=t(40224);u.exports=r},91114:function(u){"use strict";u.exports=function(i){try{return{error:!1,value:i()}}catch(t){return{error:!0,value:t}}}},49669:function(u,i,t){"use strict";var r=t(40224),n=t(35973),e=t(7532),a=t(95945),o=t(43589),s=t(66266),c=t(27955),v=t(2971),l=t(11478),h=t(82709),I=n&&n.prototype,S=s("species"),T=!1,y=e(r.PromiseRejectionEvent),g=a("Promise",function(){var P=o(n),R=P!==String(n);if(!R&&h===66||l&&!(I.catch&&I.finally))return!0;if(!h||h<51||!/native code/.test(P)){var x=new n(function(O){O(1)}),d=function(E){E(function(){},function(){})},m=x.constructor={};if(m[S]=d,T=x.then(function(){})instanceof d,!T)return!0}return!R&&(c||v)&&!y});u.exports={CONSTRUCTOR:g,REJECTION_EVENT:y,SUBCLASSING:T}},35973:function(u,i,t){"use strict";var r=t(40224);u.exports=r.Promise},43827:function(u,i,t){"use strict";var r=t(39482),n=t(56831),e=t(48532);u.exports=function(a,o){if(r(a),n(o)&&o.constructor===a)return o;var s=e.f(a),c=s.resolve;return c(o),s.promise}},95044:function(u,i,t){"use strict";var r=t(35973),n=t(52019),e=t(49669).CONSTRUCTOR;u.exports=e||!n(function(a){r.all(a).then(void 0,function(){})})},77495:function(u,i,t){"use strict";var r=t(56018).f;u.exports=function(n,e,a){a in n||r(n,a,{configurable:!0,get:function(){function o(){return e[a]}return o}(),set:function(){function o(s){e[a]=s}return o}()})}},23496:function(u){"use strict";var i=function(){this.head=null,this.tail=null};i.prototype={add:function(){function t(r){var n={item:r,next:null},e=this.tail;e?e.next=n:this.head=n,this.tail=n}return t}(),get:function(){function t(){var r=this.head;if(r){var n=this.head=r.next;return n===null&&(this.tail=null),r.item}}return t}()},u.exports=i},35553:function(u,i,t){"use strict";var r=t(62696),n=t(39482),e=t(7532),a=t(38817),o=t(72894),s=TypeError;u.exports=function(c,v){var l=c.exec;if(e(l)){var h=r(l,c,v);return h!==null&&n(h),h}if(a(c)==="RegExp")return r(o,c,v);throw new s("RegExp#exec called on incompatible receiver")}},72894:function(u,i,t){"use strict";var r=t(62696),n=t(18161),e=t(26602),a=t(65844),o=t(1064),s=t(75130),c=t(28969),v=t(35086).get,l=t(89604),h=t(5489),I=s("native-string-replace",String.prototype.replace),S=RegExp.prototype.exec,T=S,y=n("".charAt),g=n("".indexOf),P=n("".replace),R=n("".slice),x=function(){var E=/a/,C=/b*/g;return r(S,E,"a"),r(S,C,"a"),E.lastIndex!==0||C.lastIndex!==0}(),d=o.BROKEN_CARET,m=/()??/.exec("")[1]!==void 0,O=x||m||d||l||h;O&&(T=function(){function E(C){var b=this,M=v(b),$=e(C),N=M.raw,z,Q,G,K,_,U,L;if(N)return N.lastIndex=b.lastIndex,z=r(T,N,$),b.lastIndex=N.lastIndex,z;var F=M.groups,j=d&&b.sticky,V=r(a,b),Y=b.source,it=0,dt=$;if(j&&(V=P(V,"y",""),g(V,"g")===-1&&(V+="g"),dt=R($,b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&y($,b.lastIndex-1)!=="\n")&&(Y="(?: "+Y+")",dt=" "+dt,it++),Q=new RegExp("^(?:"+Y+")",V)),m&&(Q=new RegExp("^"+Y+"$(?!\\s)",V)),x&&(G=b.lastIndex),K=r(S,j?Q:b,dt),j?K?(K.input=R(K.input,it),K[0]=R(K[0],it),K.index=b.lastIndex,b.lastIndex+=K[0].length):b.lastIndex=0:x&&K&&(b.lastIndex=b.global?K.index+K[0].length:G),m&&K&&K.length>1&&r(I,K[0],Q,function(){for(_=1;_<arguments.length-2;_++)arguments[_]===void 0&&(K[_]=void 0)}),K&&F)for(K.groups=U=c(null),_=0;_<F.length;_++)L=F[_],U[L[0]]=K[L[1]];return K}return E}()),u.exports=T},65844:function(u,i,t){"use strict";var r=t(39482);u.exports=function(){var n=r(this),e="";return n.hasIndices&&(e+="d"),n.global&&(e+="g"),n.ignoreCase&&(e+="i"),n.multiline&&(e+="m"),n.dotAll&&(e+="s"),n.unicode&&(e+="u"),n.unicodeSets&&(e+="v"),n.sticky&&(e+="y"),e}},60425:function(u,i,t){"use strict";var r=t(62696),n=t(89458),e=t(33314),a=t(65844),o=RegExp.prototype;u.exports=function(s){var c=s.flags;return c===void 0&&!("flags"in o)&&!n(s,"flags")&&e(o,s)?r(a,s):c}},1064:function(u,i,t){"use strict";var r=t(41746),n=t(40224),e=n.RegExp,a=r(function(){var c=e("a","y");return c.lastIndex=2,c.exec("abcd")!==null}),o=a||r(function(){return!e("a","y").sticky}),s=a||r(function(){var c=e("^r","gy");return c.lastIndex=2,c.exec("str")!==null});u.exports={BROKEN_CARET:s,MISSED_STICKY:o,UNSUPPORTED_Y:a}},89604:function(u,i,t){"use strict";var r=t(41746),n=t(40224),e=n.RegExp;u.exports=r(function(){var a=e(".","s");return!(a.dotAll&&a.test("\n")&&a.flags==="s")})},5489:function(u,i,t){"use strict";var r=t(41746),n=t(40224),e=n.RegExp;u.exports=r(function(){var a=e("(?<a>b)","g");return a.exec("b").groups.a!=="b"||"b".replace(a,"$<a>c")!=="bc"})},91029:function(u,i,t){"use strict";var r=t(1022),n=TypeError;u.exports=function(e){if(r(e))throw new n("Can't call method on "+e);return e}},1156:function(u,i,t){"use strict";var r=t(40224),n=t(14141),e=Object.getOwnPropertyDescriptor;u.exports=function(a){if(!n)return r[a];var o=e(r,a);return o&&o.value}},37309:function(u){"use strict";u.exports=Object.is||function(){function i(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}return i}()},83827:function(u,i,t){"use strict";var r=t(40224),n=t(70918),e=t(7532),a=t(2178),o=t(15837),s=t(77713),c=t(22789),v=r.Function,l=/MSIE .\./.test(o)||a&&function(){var h=r.Bun.version.split(".");return h.length<3||h[0]==="0"&&(h[1]<3||h[1]==="3"&&h[2]==="0")}();u.exports=function(h,I){var S=I?2:1;return l?function(T,y){var g=c(arguments.length,1)>S,P=e(T)?T:v(T),R=g?s(arguments,S):[],x=g?function(){n(P,this,R)}:P;return I?h(x,y):h(x)}:h}},67420:function(u,i,t){"use strict";var r=t(40164),n=t(10069),e=t(66266),a=t(14141),o=e("species");u.exports=function(s){var c=r(s);a&&c&&!c[o]&&n(c,o,{configurable:!0,get:function(){function v(){return this}return v}()})}},94234:function(u,i,t){"use strict";var r=t(56018).f,n=t(89458),e=t(66266),a=e("toStringTag");u.exports=function(o,s,c){o&&!c&&(o=o.prototype),o&&!n(o,a)&&r(o,a,{configurable:!0,value:s})}},5160:function(u,i,t){"use strict";var r=t(75130),n=t(33345),e=r("keys");u.exports=function(a){return e[a]||(e[a]=n(a))}},95046:function(u,i,t){"use strict";var r=t(11478),n=t(40224),e=t(93422),a="__core-js_shared__",o=u.exports=n[a]||e(a,{});(o.versions||(o.versions=[])).push({version:"3.36.1",mode:r?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},75130:function(u,i,t){"use strict";var r=t(95046);u.exports=function(n,e){return r[n]||(r[n]=e||{})}},78412:function(u,i,t){"use strict";var r=t(39482),n=t(76833),e=t(1022),a=t(66266),o=a("species");u.exports=function(s,c){var v=r(s).constructor,l;return v===void 0||e(l=r(v)[o])?c:n(l)}},32086:function(u,i,t){"use strict";var r=t(41746);u.exports=function(n){return r(function(){var e=""[n]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},56852:function(u,i,t){"use strict";var r=t(18161),n=t(74952),e=t(26602),a=t(91029),o=r("".charAt),s=r("".charCodeAt),c=r("".slice),v=function(h){return function(I,S){var T=e(a(I)),y=n(S),g=T.length,P,R;return y<0||y>=g?h?"":void 0:(P=s(T,y),P<55296||P>56319||y+1===g||(R=s(T,y+1))<56320||R>57343?h?o(T,y):P:h?c(T,y,y+2):(P-55296<<10)+(R-56320)+65536)}};u.exports={codeAt:v(!1),charAt:v(!0)}},33038:function(u,i,t){"use strict";var r=t(15837);u.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},34086:function(u,i,t){"use strict";var r=t(18161),n=t(10475),e=t(26602),a=t(84948),o=t(91029),s=r(a),c=r("".slice),v=Math.ceil,l=function(I){return function(S,T,y){var g=e(o(S)),P=n(T),R=g.length,x=y===void 0?" ":e(y),d,m;return P<=R||x===""?g:(d=P-R,m=s(x,v(d/x.length)),m.length>d&&(m=c(m,0,d)),I?g+m:m+g)}};u.exports={start:l(!1),end:l(!0)}},84948:function(u,i,t){"use strict";var r=t(74952),n=t(26602),e=t(91029),a=RangeError;u.exports=function(){function o(s){var c=n(e(this)),v="",l=r(s);if(l<0||l===1/0)throw new a("Wrong number of repetitions");for(;l>0;(l>>>=1)&&(c+=c))l&1&&(v+=c);return v}return o}()},11775:function(u,i,t){"use strict";var r=t(35171).end,n=t(93817);u.exports=n("trimEnd")?function(){function e(){return r(this)}return e}():"".trimEnd},93817:function(u,i,t){"use strict";var r=t(26463).PROPER,n=t(41746),e=t(137),a="\u200B\x85\u180E";u.exports=function(o){return n(function(){return!!e[o]()||a[o]()!==a||r&&e[o].name!==o})}},26402:function(u,i,t){"use strict";var r=t(35171).start,n=t(93817);u.exports=n("trimStart")?function(){function e(){return r(this)}return e}():"".trimStart},35171:function(u,i,t){"use strict";var r=t(18161),n=t(91029),e=t(26602),a=t(137),o=r("".replace),s=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),v=function(h){return function(I){var S=e(n(I));return h&1&&(S=o(S,s,"")),h&2&&(S=o(S,c,"$1")),S}};u.exports={start:v(1),end:v(2),trim:v(3)}},70640:function(u,i,t){"use strict";var r=t(82709),n=t(41746),e=t(40224),a=e.String;u.exports=!!Object.getOwnPropertySymbols&&!n(function(){var o=Symbol("symbol detection");return!a(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41})},75429:function(u,i,t){"use strict";var r=t(62696),n=t(40164),e=t(66266),a=t(59173);u.exports=function(){var o=n("Symbol"),s=o&&o.prototype,c=s&&s.valueOf,v=e("toPrimitive");s&&!s[v]&&a(s,v,function(l){return r(c,this)},{arity:1})}},80353:function(u,i,t){"use strict";var r=t(70640);u.exports=r&&!!Symbol.for&&!!Symbol.keyFor},91314:function(u,i,t){"use strict";var r=t(40224),n=t(70918),e=t(4509),a=t(7532),o=t(89458),s=t(41746),c=t(54562),v=t(77713),l=t(85158),h=t(22789),I=t(52426),S=t(95823),T=r.setImmediate,y=r.clearImmediate,g=r.process,P=r.Dispatch,R=r.Function,x=r.MessageChannel,d=r.String,m=0,O={},E="onreadystatechange",C,b,M,$;s(function(){C=r.location});var N=function(_){if(o(O,_)){var U=O[_];delete O[_],U()}},z=function(_){return function(){N(_)}},Q=function(_){N(_.data)},G=function(_){r.postMessage(d(_),C.protocol+"//"+C.host)};(!T||!y)&&(T=function(){function K(_){h(arguments.length,1);var U=a(_)?_:R(_),L=v(arguments,1);return O[++m]=function(){n(U,void 0,L)},b(m),m}return K}(),y=function(){function K(_){delete O[_]}return K}(),S?b=function(_){g.nextTick(z(_))}:P&&P.now?b=function(_){P.now(z(_))}:x&&!I?(M=new x,$=M.port2,M.port1.onmessage=Q,b=e($.postMessage,$)):r.addEventListener&&a(r.postMessage)&&!r.importScripts&&C&&C.protocol!=="file:"&&!s(G)?(b=G,r.addEventListener("message",Q,!1)):E in l("script")?b=function(_){c.appendChild(l("script"))[E]=function(){c.removeChild(this),N(_)}}:b=function(_){setTimeout(z(_),0)}),u.exports={set:T,clear:y}},37497:function(u,i,t){"use strict";var r=t(18161);u.exports=r(1 .valueOf)},74067:function(u,i,t){"use strict";var r=t(74952),n=Math.max,e=Math.min;u.exports=function(a,o){var s=r(a);return s<0?n(s+o,0):e(s,o)}},757:function(u,i,t){"use strict";var r=t(4370),n=TypeError;u.exports=function(e){var a=r(e,"number");if(typeof a=="number")throw new n("Can't convert number to bigint");return BigInt(a)}},90835:function(u,i,t){"use strict";var r=t(74952),n=t(10475),e=RangeError;u.exports=function(a){if(a===void 0)return 0;var o=r(a),s=n(o);if(o!==s)throw new e("Wrong length or index");return s}},96812:function(u,i,t){"use strict";var r=t(26736),n=t(91029);u.exports=function(e){return r(n(e))}},74952:function(u,i,t){"use strict";var r=t(34606);u.exports=function(n){var e=+n;return e!==e||e===0?0:r(e)}},10475:function(u,i,t){"use strict";var r=t(74952),n=Math.min;u.exports=function(e){var a=r(e);return a>0?n(a,9007199254740991):0}},40076:function(u,i,t){"use strict";var r=t(91029),n=Object;u.exports=function(e){return n(r(e))}},65264:function(u,i,t){"use strict";var r=t(43627),n=RangeError;u.exports=function(e,a){var o=r(e);if(o%a)throw new n("Wrong offset");return o}},43627:function(u,i,t){"use strict";var r=t(74952),n=RangeError;u.exports=function(e){var a=r(e);if(a<0)throw new n("The argument can't be less than 0");return a}},4370:function(u,i,t){"use strict";var r=t(62696),n=t(56831),e=t(74352),a=t(4817),o=t(14991),s=t(66266),c=TypeError,v=s("toPrimitive");u.exports=function(l,h){if(!n(l)||e(l))return l;var I=a(l,v),S;if(I){if(h===void 0&&(h="default"),S=r(I,l,h),!n(S)||e(S))return S;throw new c("Can't convert object to primitive value")}return h===void 0&&(h="number"),o(l,h)}},57640:function(u,i,t){"use strict";var r=t(4370),n=t(74352);u.exports=function(e){var a=r(e,"string");return n(a)?a:a+""}},82161:function(u,i,t){"use strict";var r=t(66266),n=r("toStringTag"),e={};e[n]="z",u.exports=String(e)==="[object z]"},26602:function(u,i,t){"use strict";var r=t(27806),n=String;u.exports=function(e){if(r(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}},78828:function(u){"use strict";var i=Math.round;u.exports=function(t){var r=i(t);return r<0?0:r>255?255:r&255}},62518:function(u){"use strict";var i=String;u.exports=function(t){try{return i(t)}catch(r){return"Object"}}},12218:function(u,i,t){"use strict";var r=t(77549),n=t(40224),e=t(62696),a=t(14141),o=t(66220),s=t(72951),c=t(46185),v=t(19870),l=t(7539),h=t(16216),I=t(57696),S=t(10475),T=t(90835),y=t(65264),g=t(78828),P=t(57640),R=t(89458),x=t(27806),d=t(56831),m=t(74352),O=t(28969),E=t(33314),C=t(42878),b=t(34813).f,M=t(7996),$=t(67480).forEach,N=t(67420),z=t(10069),Q=t(56018),G=t(54168),K=t(6967),_=t(35086),U=t(2566),L=_.get,F=_.set,j=_.enforce,V=Q.f,Y=G.f,it=n.RangeError,dt=c.ArrayBuffer,pt=dt.prototype,ot=c.DataView,lt=s.NATIVE_ARRAY_BUFFER_VIEWS,Ct=s.TYPED_ARRAY_TAG,It=s.TypedArray,yt=s.TypedArrayPrototype,bt=s.isTypedArray,Mt="BYTES_PER_ELEMENT",$t="Wrong length",At=function(ht,St){z(ht,St,{configurable:!0,get:function(){function nt(){return L(this)[St]}return nt}()})},k=function(ht){var St;return E(pt,ht)||(St=x(ht))==="ArrayBuffer"||St==="SharedArrayBuffer"},q=function(ht,St){return bt(ht)&&!m(St)&&St in ht&&I(+St)&&St>=0},tt=function(){function vt(ht,St){return St=P(St),q(ht,St)?l(2,ht[St]):Y(ht,St)}return vt}(),ct=function(){function vt(ht,St,nt){return St=P(St),q(ht,St)&&d(nt)&&R(nt,"value")&&!R(nt,"get")&&!R(nt,"set")&&!nt.configurable&&(!R(nt,"writable")||nt.writable)&&(!R(nt,"enumerable")||nt.enumerable)?(ht[St]=nt.value,ht):V(ht,St,nt)}return vt}();a?(lt||(G.f=tt,Q.f=ct,At(yt,"buffer"),At(yt,"byteOffset"),At(yt,"byteLength"),At(yt,"length")),r({target:"Object",stat:!0,forced:!lt},{getOwnPropertyDescriptor:tt,defineProperty:ct}),u.exports=function(vt,ht,St){var nt=vt.match(/\d+/)[0]/8,ut=vt+(St?"Clamped":"")+"Array",gt="get"+vt,at="set"+vt,Et=n[ut],Tt=Et,Rt=Tt&&Tt.prototype,Dt={},Wt=function(rt,st){var wt=L(rt);return wt.view[gt](st*nt+wt.byteOffset,!0)},ft=function(rt,st,wt){var jt=L(rt);jt.view[at](st*nt+jt.byteOffset,St?g(wt):wt,!0)},X=function(rt,st){V(rt,st,{get:function(){function wt(){return Wt(this,st)}return wt}(),set:function(){function wt(jt){return ft(this,st,jt)}return wt}(),enumerable:!0})};lt?o&&(Tt=ht(function(et,rt,st,wt){return v(et,Rt),U(function(){return d(rt)?k(rt)?wt!==void 0?new Et(rt,y(st,nt),wt):st!==void 0?new Et(rt,y(st,nt)):new Et(rt):bt(rt)?K(Tt,rt):e(M,Tt,rt):new Et(T(rt))}(),et,Tt)}),C&&C(Tt,It),$(b(Et),function(et){et in Tt||h(Tt,et,Et[et])}),Tt.prototype=Rt):(Tt=ht(function(et,rt,st,wt){v(et,Rt);var jt=0,Ut=0,zt,Gt,Kt;if(!d(rt))Kt=T(rt),Gt=Kt*nt,zt=new dt(Gt);else if(k(rt)){zt=rt,Ut=y(st,nt);var Zt=rt.byteLength;if(wt===void 0){if(Zt%nt)throw new it($t);if(Gt=Zt-Ut,Gt<0)throw new it($t)}else if(Gt=S(wt)*nt,Gt+Ut>Zt)throw new it($t);Kt=Gt/nt}else return bt(rt)?K(Tt,rt):e(M,Tt,rt);for(F(et,{buffer:zt,byteOffset:Ut,byteLength:Gt,length:Kt,view:new ot(zt)});jt<Kt;)X(et,jt++)}),C&&C(Tt,It),Rt=Tt.prototype=O(yt)),Rt.constructor!==Tt&&h(Rt,"constructor",Tt),j(Rt).TypedArrayConstructor=Tt,Ct&&h(Rt,Ct,ut);var Z=Tt!==Et;Dt[ut]=Tt,r({global:!0,constructor:!0,forced:Z,sham:!lt},Dt),Mt in Tt||h(Tt,Mt,nt),Mt in Rt||h(Rt,Mt,nt),N(ut)}):u.exports=function(){}},66220:function(u,i,t){"use strict";var r=t(40224),n=t(41746),e=t(52019),a=t(72951).NATIVE_ARRAY_BUFFER_VIEWS,o=r.ArrayBuffer,s=r.Int8Array;u.exports=!a||!n(function(){s(1)})||!n(function(){new s(-1)})||!e(function(c){new s,new s(null),new s(1.5),new s(c)},!0)||n(function(){return new s(new o(2),1,void 0).length!==1})},80936:function(u,i,t){"use strict";var r=t(6967),n=t(489);u.exports=function(e,a){return r(n(e),a)}},7996:function(u,i,t){"use strict";var r=t(4509),n=t(62696),e=t(76833),a=t(40076),o=t(8333),s=t(3438),c=t(76274),v=t(58482),l=t(5080),h=t(72951).aTypedArrayConstructor,I=t(757);u.exports=function(){function S(T){var y=e(this),g=a(T),P=arguments.length,R=P>1?arguments[1]:void 0,x=R!==void 0,d=c(g),m,O,E,C,b,M,$,N;if(d&&!v(d))for($=s(g,d),N=$.next,g=[];!(M=n(N,$)).done;)g.push(M.value);for(x&&P>2&&(R=r(R,arguments[2])),O=o(g),E=new(h(y))(O),C=l(E),m=0;O>m;m++)b=x?R(g[m],m):g[m],E[m]=C?I(b):+b;return E}return S}()},489:function(u,i,t){"use strict";var r=t(72951),n=t(78412),e=r.aTypedArrayConstructor,a=r.getTypedArrayConstructor;u.exports=function(o){return e(n(o,a(o)))}},33345:function(u,i,t){"use strict";var r=t(18161),n=0,e=Math.random(),a=r(1 .toString);u.exports=function(o){return"Symbol("+(o===void 0?"":o)+")_"+a(++n+e,36)}},81457:function(u,i,t){"use strict";var r=t(70640);u.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},83411:function(u,i,t){"use strict";var r=t(14141),n=t(41746);u.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},22789:function(u){"use strict";var i=TypeError;u.exports=function(t,r){if(t<r)throw new i("Not enough arguments");return t}},90777:function(u,i,t){"use strict";var r=t(40224),n=t(7532),e=r.WeakMap;u.exports=n(e)&&/native code/.test(String(e))},15388:function(u,i,t){"use strict";var r=t(5376),n=t(89458),e=t(32938),a=t(56018).f;u.exports=function(o){var s=r.Symbol||(r.Symbol={});n(s,o)||a(s,o,{value:e.f(o)})}},32938:function(u,i,t){"use strict";var r=t(66266);i.f=r},66266:function(u,i,t){"use strict";var r=t(40224),n=t(75130),e=t(89458),a=t(33345),o=t(70640),s=t(81457),c=r.Symbol,v=n("wks"),l=s?c.for||c:c&&c.withoutSetter||a;u.exports=function(h){return e(v,h)||(v[h]=o&&e(c,h)?c[h]:l("Symbol."+h)),v[h]}},137:function(u){"use strict";u.exports=" \n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"},70238:function(u,i,t){"use strict";var r=t(77549),n=t(40224),e=t(46185),a=t(67420),o="ArrayBuffer",s=e[o],c=n[o];r({global:!0,constructor:!0,forced:c!==s},{ArrayBuffer:s}),a(o)},21664:function(u,i,t){"use strict";var r=t(77549),n=t(72951),e=n.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!e},{isView:n.isView})},57348:function(u,i,t){"use strict";var r=t(77549),n=t(85067),e=t(41746),a=t(46185),o=t(39482),s=t(74067),c=t(10475),v=t(78412),l=a.ArrayBuffer,h=a.DataView,I=h.prototype,S=n(l.prototype.slice),T=n(I.getUint8),y=n(I.setUint8),g=e(function(){return!new l(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:g},{slice:function(){function P(R,x){if(S&&x===void 0)return S(o(this),R);for(var d=o(this).byteLength,m=s(R,d),O=s(x===void 0?d:x,d),E=new(v(this,l))(c(O-m)),C=new h(this),b=new h(E),M=0;m<O;)y(b,M++,T(C,m++));return E}return P}()})},65755:function(u,i,t){"use strict";var r=t(77549),n=t(41746),e=t(62367),a=t(56831),o=t(40076),s=t(8333),c=t(72434),v=t(12913),l=t(32878),h=t(55114),I=t(66266),S=t(82709),T=I("isConcatSpreadable"),y=S>=51||!n(function(){var R=[];return R[T]=!1,R.concat()[0]!==R}),g=function(x){if(!a(x))return!1;var d=x[T];return d!==void 0?!!d:e(x)},P=!y||!h("concat");r({target:"Array",proto:!0,arity:1,forced:P},{concat:function(){function R(x){var d=o(this),m=l(d,0),O=0,E,C,b,M,$;for(E=-1,b=arguments.length;E<b;E++)if($=E===-1?d:arguments[E],g($))for(M=s($),c(O+M),C=0;C<M;C++,O++)C in $&&v(m,O,$[C]);else c(O+1),v(m,O++,$);return m.length=O,m}return R}()})},35496:function(u,i,t){"use strict";var r=t(77549),n=t(42320),e=t(91138);r({target:"Array",proto:!0},{copyWithin:n}),e("copyWithin")},76604:function(u,i,t){"use strict";var r=t(77549),n=t(67480).every,e=t(42309),a=e("every");r({target:"Array",proto:!0,forced:!a},{every:function(){function o(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}return o}()})},24974:function(u,i,t){"use strict";var r=t(77549),n=t(59942),e=t(91138);r({target:"Array",proto:!0},{fill:n}),e("fill")},6297:function(u,i,t){"use strict";var r=t(77549),n=t(67480).filter,e=t(55114),a=e("filter");r({target:"Array",proto:!0,forced:!a},{filter:function(){function o(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}return o}()})},35173:function(u,i,t){"use strict";var r=t(77549),n=t(67480).findIndex,e=t(91138),a="findIndex",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r({target:"Array",proto:!0,forced:o},{findIndex:function(){function s(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}return s}()}),e(a)},5364:function(u,i,t){"use strict";var r=t(77549),n=t(67480).find,e=t(91138),a="find",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r({target:"Array",proto:!0,forced:o},{find:function(){function s(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}return s}()}),e(a)},88707:function(u,i,t){"use strict";var r=t(77549),n=t(68864),e=t(97361),a=t(40076),o=t(8333),s=t(32878);r({target:"Array",proto:!0},{flatMap:function(){function c(v){var l=a(this),h=o(l),I;return e(v),I=s(l,0),I.length=n(I,l,l,h,0,1,v,arguments.length>1?arguments[1]:void 0),I}return c}()})},16576:function(u,i,t){"use strict";var r=t(77549),n=t(68864),e=t(40076),a=t(8333),o=t(74952),s=t(32878);r({target:"Array",proto:!0},{flat:function(){function c(){var v=arguments.length?arguments[0]:void 0,l=e(this),h=a(l),I=s(l,0);return I.length=n(I,l,l,h,0,v===void 0?1:o(v)),I}return c}()})},21508:function(u,i,t){"use strict";var r=t(77549),n=t(75420);r({target:"Array",proto:!0,forced:[].forEach!==n},{forEach:n})},86339:function(u,i,t){"use strict";var r=t(77549),n=t(80363),e=t(52019),a=!e(function(o){Array.from(o)});r({target:"Array",stat:!0,forced:a},{from:n})},81850:function(u,i,t){"use strict";var r=t(77549),n=t(64210).includes,e=t(41746),a=t(91138),o=e(function(){return!Array(1).includes()});r({target:"Array",proto:!0,forced:o},{includes:function(){function s(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}return s}()}),a("includes")},98661:function(u,i,t){"use strict";var r=t(77549),n=t(85067),e=t(64210).indexOf,a=t(42309),o=n([].indexOf),s=!!o&&1/o([1],1,-0)<0,c=s||!a("indexOf");r({target:"Array",proto:!0,forced:c},{indexOf:function(){function v(l){var h=arguments.length>1?arguments[1]:void 0;return s?o(this,l,h)||0:e(this,l,h)}return v}()})},13431:function(u,i,t){"use strict";var r=t(77549),n=t(62367);r({target:"Array",stat:!0},{isArray:n})},65809:function(u,i,t){"use strict";var r=t(96812),n=t(91138),e=t(90604),a=t(35086),o=t(56018).f,s=t(2449),c=t(77056),v=t(11478),l=t(14141),h="Array Iterator",I=a.set,S=a.getterFor(h);u.exports=s(Array,"Array",function(y,g){I(this,{type:h,target:r(y),index:0,kind:g})},function(){var y=S(this),g=y.target,P=y.index++;if(!g||P>=g.length)return y.target=void 0,c(void 0,!0);switch(y.kind){case"keys":return c(P,!1);case"values":return c(g[P],!1)}return c([P,g[P]],!1)},"values");var T=e.Arguments=e.Array;if(n("keys"),n("values"),n("entries"),!v&&l&&T.name!=="values")try{o(T,"name",{value:"values"})}catch(y){}},8611:function(u,i,t){"use strict";var r=t(77549),n=t(18161),e=t(26736),a=t(96812),o=t(42309),s=n([].join),c=e!==Object,v=c||!o("join",",");r({target:"Array",proto:!0,forced:v},{join:function(){function l(h){return s(a(this),h===void 0?",":h)}return l}()})},97246:function(u,i,t){"use strict";var r=t(77549),n=t(16934);r({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},48741:function(u,i,t){"use strict";var r=t(77549),n=t(67480).map,e=t(55114),a=e("map");r({target:"Array",proto:!0,forced:!a},{map:function(){function o(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}return o}()})},90446:function(u,i,t){"use strict";var r=t(77549),n=t(41746),e=t(60354),a=t(12913),o=Array,s=n(function(){function c(){}return!(o.of.call(c)instanceof c)});r({target:"Array",stat:!0,forced:s},{of:function(){function c(){for(var v=0,l=arguments.length,h=new(e(this)?this:o)(l);l>v;)a(h,v,arguments[v++]);return h.length=l,h}return c}()})},61902:function(u,i,t){"use strict";var r=t(77549),n=t(98405).right,e=t(42309),a=t(82709),o=t(95823),s=!o&&a>79&&a<83,c=s||!e("reduceRight");r({target:"Array",proto:!0,forced:c},{reduceRight:function(){function v(l){return n(this,l,arguments.length,arguments.length>1?arguments[1]:void 0)}return v}()})},509:function(u,i,t){"use strict";var r=t(77549),n=t(98405).left,e=t(42309),a=t(82709),o=t(95823),s=!o&&a>79&&a<83,c=s||!e("reduce");r({target:"Array",proto:!0,forced:c},{reduce:function(){function v(l){var h=arguments.length;return n(this,l,h,h>1?arguments[1]:void 0)}return v}()})},96149:function(u,i,t){"use strict";var r=t(77549),n=t(18161),e=t(62367),a=n([].reverse),o=[1,2];r({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){function s(){return e(this)&&(this.length=this.length),a(this)}return s}()})},66617:function(u,i,t){"use strict";var r=t(77549),n=t(62367),e=t(60354),a=t(56831),o=t(74067),s=t(8333),c=t(96812),v=t(12913),l=t(66266),h=t(55114),I=t(77713),S=h("slice"),T=l("species"),y=Array,g=Math.max;r({target:"Array",proto:!0,forced:!S},{slice:function(){function P(R,x){var d=c(this),m=s(d),O=o(R,m),E=o(x===void 0?m:x,m),C,b,M;if(n(d)&&(C=d.constructor,e(C)&&(C===y||n(C.prototype))?C=void 0:a(C)&&(C=C[T],C===null&&(C=void 0)),C===y||C===void 0))return I(d,O,E);for(b=new(C===void 0?y:C)(g(E-O,0)),M=0;O<E;O++,M++)O in d&&v(b,M,d[O]);return b.length=M,b}return P}()})},99883:function(u,i,t){"use strict";var r=t(77549),n=t(67480).some,e=t(42309),a=e("some");r({target:"Array",proto:!0,forced:!a},{some:function(){function o(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}return o}()})},56855:function(u,i,t){"use strict";var r=t(77549),n=t(18161),e=t(97361),a=t(40076),o=t(8333),s=t(58937),c=t(26602),v=t(41746),l=t(44815),h=t(42309),I=t(49847),S=t(56605),T=t(82709),y=t(53125),g=[],P=n(g.sort),R=n(g.push),x=v(function(){g.sort(void 0)}),d=v(function(){g.sort(null)}),m=h("sort"),O=!v(function(){if(T)return T<70;if(!(I&&I>3)){if(S)return!0;if(y)return y<603;var b="",M,$,N,z;for(M=65;M<76;M++){switch($=String.fromCharCode(M),M){case 66:case 69:case 70:case 72:N=3;break;case 68:case 71:N=4;break;default:N=2}for(z=0;z<47;z++)g.push({k:$+z,v:N})}for(g.sort(function(Q,G){return G.v-Q.v}),z=0;z<g.length;z++)$=g[z].k.charAt(0),b.charAt(b.length-1)!==$&&(b+=$);return b!=="DGBEFHACIJK"}}),E=x||!d||!m||!O,C=function(M){return function($,N){return N===void 0?-1:$===void 0?1:M!==void 0?+M($,N)||0:c($)>c(N)?1:-1}};r({target:"Array",proto:!0,forced:E},{sort:function(){function b(M){M!==void 0&&e(M);var $=a(this);if(O)return M===void 0?P($):P($,M);var N=[],z=o($),Q,G;for(G=0;G<z;G++)G in $&&R(N,$[G]);for(l(N,C(M)),Q=o(N),G=0;G<Q;)$[G]=N[G++];for(;G<z;)s($,G++);return $}return b}()})},67869:function(u,i,t){"use strict";var r=t(67420);r("Array")},8291:function(u,i,t){"use strict";var r=t(77549),n=t(40076),e=t(74067),a=t(74952),o=t(8333),s=t(72720),c=t(72434),v=t(32878),l=t(12913),h=t(58937),I=t(55114),S=I("splice"),T=Math.max,y=Math.min;r({target:"Array",proto:!0,forced:!S},{splice:function(){function g(P,R){var x=n(this),d=o(x),m=e(P,d),O=arguments.length,E,C,b,M,$,N;for(O===0?E=C=0:O===1?(E=0,C=d-m):(E=O-2,C=y(T(a(R),0),d-m)),c(d+E-C),b=v(x,C),M=0;M<C;M++)$=m+M,$ in x&&l(b,M,x[$]);if(b.length=C,E<C){for(M=m;M<d-C;M++)$=M+C,N=M+E,$ in x?x[N]=x[$]:h(x,N);for(M=d;M>d-C+E;M--)h(x,M-1)}else if(E>C)for(M=d-C;M>m;M--)$=M+C-1,N=M+E-1,$ in x?x[N]=x[$]:h(x,N);for(M=0;M<E;M++)x[M+m]=arguments[M+2];return s(x,d-C+E),b}return g}()})},97824:function(u,i,t){"use strict";var r=t(91138);r("flatMap")},42811:function(u,i,t){"use strict";var r=t(91138);r("flat")},41576:function(u,i,t){"use strict";var r=t(77549),n=t(46185),e=t(67404);r({global:!0,constructor:!0,forced:!e},{DataView:n.DataView})},98878:function(u,i,t){"use strict";t(41576)},4624:function(u,i,t){"use strict";var r=t(77549),n=t(18161),e=Date,a=n(e.prototype.getTime);r({target:"Date",stat:!0},{now:function(){function o(){return a(new e)}return o}()})},96097:function(u,i,t){"use strict";var r=t(77549),n=t(74003);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==n},{toISOString:n})},45022:function(u,i,t){"use strict";var r=t(77549),n=t(41746),e=t(40076),a=t(4370),o=n(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){function s(){return 1}return s}()})!==1});r({target:"Date",proto:!0,arity:1,forced:o},{toJSON:function(){function s(c){var v=e(this),l=a(v,"number");return typeof l=="number"&&!isFinite(l)?null:v.toISOString()}return s}()})},79155:function(u,i,t){"use strict";var r=t(89458),n=t(59173),e=t(95865),a=t(66266),o=a("toPrimitive"),s=Date.prototype;r(s,o)||n(s,o,e)},53397:function(u,i,t){"use strict";var r=t(18161),n=t(59173),e=Date.prototype,a="Invalid Date",o="toString",s=r(e[o]),c=r(e.getTime);String(new Date(NaN))!==a&&n(e,o,function(){function v(){var l=c(this);return l===l?s(this):a}return v}())},52037:function(u,i,t){"use strict";var r=t(77549),n=t(9379);r({target:"Function",proto:!0,forced:Function.bind!==n},{bind:n})},21698:function(u,i,t){"use strict";var r=t(7532),n=t(56831),e=t(56018),a=t(33314),o=t(66266),s=t(76130),c=o("hasInstance"),v=Function.prototype;c in v||e.f(v,c,{value:s(function(l){if(!r(this)||!n(l))return!1;var h=this.prototype;return n(h)?a(h,l):l instanceof this},c)})},20509:function(u,i,t){"use strict";var r=t(14141),n=t(26463).EXISTS,e=t(18161),a=t(10069),o=Function.prototype,s=e(o.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,v=e(c.exec),l="name";r&&!n&&a(o,l,{configurable:!0,get:function(){function h(){try{return v(c,s(this))[1]}catch(I){return""}}return h}()})},12183:function(u,i,t){"use strict";var r=t(77549),n=t(40164),e=t(70918),a=t(62696),o=t(18161),s=t(41746),c=t(7532),v=t(74352),l=t(77713),h=t(5806),I=t(70640),S=String,T=n("JSON","stringify"),y=o(/./.exec),g=o("".charAt),P=o("".charCodeAt),R=o("".replace),x=o(1 .toString),d=/[\uD800-\uDFFF]/g,m=/^[\uD800-\uDBFF]$/,O=/^[\uDC00-\uDFFF]$/,E=!I||s(function(){var $=n("Symbol")("stringify detection");return T([$])!=="[null]"||T({a:$})!=="{}"||T(Object($))!=="{}"}),C=s(function(){return T("\uDF06\uD834")!=='"\\udf06\\ud834"'||T("\uDEAD")!=='"\\udead"'}),b=function(N,z){var Q=l(arguments),G=h(z);if(!(!c(G)&&(N===void 0||v(N))))return Q[1]=function(K,_){if(c(G)&&(_=a(G,this,S(K),_)),!v(_))return _},e(T,null,Q)},M=function(N,z,Q){var G=g(Q,z-1),K=g(Q,z+1);return y(m,N)&&!y(O,K)||y(O,N)&&!y(m,G)?"\\u"+x(P(N,0),16):N};T&&r({target:"JSON",stat:!0,arity:3,forced:E||C},{stringify:function(){function $(N,z,Q){var G=l(arguments),K=e(E?b:T,null,G);return C&&typeof K=="string"?R(K,d,M):K}return $}()})},9530:function(u,i,t){"use strict";var r=t(40224),n=t(94234);n(r.JSON,"JSON",!0)},49216:function(u,i,t){"use strict";var r=t(93439),n=t(10623);r("Map",function(e){return function(){function a(){return e(this,arguments.length?arguments[0]:void 0)}return a}()},n)},17814:function(u,i,t){"use strict";t(49216)},37812:function(u,i,t){"use strict";var r=t(77549),n=t(69143),e=Math.acosh,a=Math.log,o=Math.sqrt,s=Math.LN2,c=!e||Math.floor(e(Number.MAX_VALUE))!==710||e(1/0)!==1/0;r({target:"Math",stat:!0,forced:c},{acosh:function(){function v(l){var h=+l;return h<1?NaN:h>9490626562425156e-8?a(h)+s:n(h-1+o(h-1)*o(h+1))}return v}()})},86551:function(u,i,t){"use strict";var r=t(77549),n=Math.asinh,e=Math.log,a=Math.sqrt;function o(c){var v=+c;return!isFinite(v)||v===0?v:v<0?-o(-v):e(v+a(v*v+1))}var s=!(n&&1/n(0)>0);r({target:"Math",stat:!0,forced:s},{asinh:o})},10940:function(u,i,t){"use strict";var r=t(77549),n=Math.atanh,e=Math.log,a=!(n&&1/n(-0)<0);r({target:"Math",stat:!0,forced:a},{atanh:function(){function o(s){var c=+s;return c===0?c:e((1+c)/(1-c))/2}return o}()})},73763:function(u,i,t){"use strict";var r=t(77549),n=t(54307),e=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(){function o(s){var c=+s;return n(c)*a(e(c),.3333333333333333)}return o}()})},3372:function(u,i,t){"use strict";var r=t(77549),n=Math.floor,e=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(){function o(s){var c=s>>>0;return c?31-n(e(c+.5)*a):32}return o}()})},51629:function(u,i,t){"use strict";var r=t(77549),n=t(32813),e=Math.cosh,a=Math.abs,o=Math.E,s=!e||e(710)===1/0;r({target:"Math",stat:!0,forced:s},{cosh:function(){function c(v){var l=n(a(v)-1)+1;return(l+1/(l*o*o))*(o/2)}return c}()})},69727:function(u,i,t){"use strict";var r=t(77549),n=t(32813);r({target:"Math",stat:!0,forced:n!==Math.expm1},{expm1:n})},27482:function(u,i,t){"use strict";var r=t(77549),n=t(75988);r({target:"Math",stat:!0},{fround:n})},7108:function(u,i,t){"use strict";var r=t(77549),n=Math.hypot,e=Math.abs,a=Math.sqrt,o=!!n&&n(1/0,NaN)!==1/0;r({target:"Math",stat:!0,arity:2,forced:o},{hypot:function(){function s(c,v){for(var l=0,h=0,I=arguments.length,S=0,T,y;h<I;)T=e(arguments[h++]),S<T?(y=S/T,l=l*y*y+1,S=T):T>0?(y=T/S,l+=y*y):l+=T;return S===1/0?1/0:S*a(l)}return s}()})},4115:function(u,i,t){"use strict";var r=t(77549),n=t(41746),e=Math.imul,a=n(function(){return e(4294967295,5)!==-5||e.length!==2});r({target:"Math",stat:!0,forced:a},{imul:function(){function o(s,c){var v=65535,l=+s,h=+c,I=v&l,S=v&h;return 0|I*S+((v&l>>>16)*S+I*(v&h>>>16)<<16>>>0)}return o}()})},63953:function(u,i,t){"use strict";var r=t(77549),n=t(53271);r({target:"Math",stat:!0},{log10:n})},71377:function(u,i,t){"use strict";var r=t(77549),n=t(69143);r({target:"Math",stat:!0},{log1p:n})},63956:function(u,i,t){"use strict";var r=t(77549),n=Math.log,e=Math.LN2;r({target:"Math",stat:!0},{log2:function(){function a(o){return n(o)/e}return a}()})},90037:function(u,i,t){"use strict";var r=t(77549),n=t(54307);r({target:"Math",stat:!0},{sign:n})},46818:function(u,i,t){"use strict";var r=t(77549),n=t(41746),e=t(32813),a=Math.abs,o=Math.exp,s=Math.E,c=n(function(){return Math.sinh(-2e-17)!==-2e-17});r({target:"Math",stat:!0,forced:c},{sinh:function(){function v(l){var h=+l;return a(h)<1?(e(h)-e(-h))/2:(o(h-1)-o(-h-1))*(s/2)}return v}()})},26681:function(u,i,t){"use strict";var r=t(77549),n=t(32813),e=Math.exp;r({target:"Math",stat:!0},{tanh:function(){function a(o){var s=+o,c=n(s),v=n(-s);return c===1/0?1:v===1/0?-1:(c-v)/(e(s)+e(-s))}return a}()})},83646:function(u,i,t){"use strict";var r=t(94234);r(Math,"Math",!0)},28876:function(u,i,t){"use strict";var r=t(77549),n=t(34606);r({target:"Math",stat:!0},{trunc:n})},36385:function(u,i,t){"use strict";var r=t(77549),n=t(11478),e=t(14141),a=t(40224),o=t(5376),s=t(18161),c=t(95945),v=t(89458),l=t(2566),h=t(33314),I=t(74352),S=t(4370),T=t(41746),y=t(34813).f,g=t(54168).f,P=t(56018).f,R=t(37497),x=t(35171).trim,d="Number",m=a[d],O=o[d],E=m.prototype,C=a.TypeError,b=s("".slice),M=s("".charCodeAt),$=function(U){var L=S(U,"number");return typeof L=="bigint"?L:N(L)},N=function(U){var L=S(U,"number"),F,j,V,Y,it,dt,pt,ot;if(I(L))throw new C("Cannot convert a Symbol value to a number");if(typeof L=="string"&&L.length>2){if(L=x(L),F=M(L,0),F===43||F===45){if(j=M(L,2),j===88||j===120)return NaN}else if(F===48){switch(M(L,1)){case 66:case 98:V=2,Y=49;break;case 79:case 111:V=8,Y=55;break;default:return+L}for(it=b(L,2),dt=it.length,pt=0;pt<dt;pt++)if(ot=M(it,pt),ot<48||ot>Y)return NaN;return parseInt(it,V)}}return+L},z=c(d,!m(" 0o1")||!m("0b1")||m("+0x1")),Q=function(U){return h(E,U)&&T(function(){R(U)})},G=function(){function _(U){var L=arguments.length<1?0:m($(U));return Q(this)?l(Object(L),this,G):L}return _}();G.prototype=E,z&&!n&&(E.constructor=G),r({global:!0,constructor:!0,wrap:!0,forced:z},{Number:G});var K=function(U,L){for(var F=e?y(L):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),j=0,V;F.length>j;j++)v(L,V=F[j])&&!v(U,V)&&P(U,V,g(L,V))};n&&O&&K(o[d],O),(z||n)&&K(o[d],m)},84295:function(u,i,t){"use strict";var r=t(77549);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59785:function(u,i,t){"use strict";var r=t(77549),n=t(69079);r({target:"Number",stat:!0},{isFinite:n})},8846:function(u,i,t){"use strict";var r=t(77549),n=t(57696);r({target:"Number",stat:!0},{isInteger:n})},50237:function(u,i,t){"use strict";var r=t(77549);r({target:"Number",stat:!0},{isNaN:function(){function n(e){return e!==e}return n}()})},6436:function(u,i,t){"use strict";var r=t(77549),n=t(57696),e=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(){function a(o){return n(o)&&e(o)<=9007199254740991}return a}()})},68286:function(u,i,t){"use strict";var r=t(77549);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},23940:function(u,i,t){"use strict";var r=t(77549);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},82425:function(u,i,t){"use strict";var r=t(77549),n=t(43283);r({target:"Number",stat:!0,forced:Number.parseFloat!==n},{parseFloat:n})},82118:function(u,i,t){"use strict";var r=t(77549),n=t(11540);r({target:"Number",stat:!0,forced:Number.parseInt!==n},{parseInt:n})},7419:function(u,i,t){"use strict";var r=t(77549),n=t(18161),e=t(74952),a=t(37497),o=t(84948),s=t(41746),c=RangeError,v=String,l=Math.floor,h=n(o),I=n("".slice),S=n(1 .toFixed),T=function d(m,O,E){return O===0?E:O%2===1?d(m,O-1,E*m):d(m*m,O/2,E)},y=function(m){for(var O=0,E=m;E>=4096;)O+=12,E/=4096;for(;E>=2;)O+=1,E/=2;return O},g=function(m,O,E){for(var C=-1,b=E;++C<6;)b+=O*m[C],m[C]=b%1e7,b=l(b/1e7)},P=function(m,O){for(var E=6,C=0;--E>=0;)C+=m[E],m[E]=l(C/O),C=C%O*1e7},R=function(m){for(var O=6,E="";--O>=0;)if(E!==""||O===0||m[O]!==0){var C=v(m[O]);E=E===""?C:E+h("0",7-C.length)+C}return E},x=s(function(){return S(8e-5,3)!=="0.000"||S(.9,0)!=="1"||S(1.255,2)!=="1.25"||S(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!s(function(){S({})});r({target:"Number",proto:!0,forced:x},{toFixed:function(){function d(m){var O=a(this),E=e(m),C=[0,0,0,0,0,0],b="",M="0",$,N,z,Q;if(E<0||E>20)throw new c("Incorrect fraction digits");if(O!==O)return"NaN";if(O<=-1e21||O>=1e21)return v(O);if(O<0&&(b="-",O=-O),O>1e-21)if($=y(O*T(2,69,1))-69,N=$<0?O*T(2,-$,1):O/T(2,$,1),N*=4503599627370496,$=52-$,$>0){for(g(C,0,N),z=E;z>=7;)g(C,1e7,0),z-=7;for(g(C,T(10,z,1),0),z=$-1;z>=23;)P(C,8388608),z-=23;P(C,1<<z),g(C,1,1),P(C,2),M=R(C)}else g(C,0,N),g(C,1<<-$,0),M=R(C)+h("0",E);return E>0?(Q=M.length,M=b+(Q<=E?"0."+h("0",E-Q)+M:I(M,0,Q-E)+"."+I(M,Q-E))):M=b+M,M}return d}()})},42409:function(u,i,t){"use strict";var r=t(77549),n=t(18161),e=t(41746),a=t(37497),o=n(1 .toPrecision),s=e(function(){return o(1,void 0)!=="1"})||!e(function(){o({})});r({target:"Number",proto:!0,forced:s},{toPrecision:function(){function c(v){return v===void 0?o(a(this)):o(a(this),v)}return c}()})},29002:function(u,i,t){"use strict";var r=t(77549),n=t(12752);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})},85795:function(u,i,t){"use strict";var r=t(77549),n=t(14141),e=t(28969);r({target:"Object",stat:!0,sham:!n},{create:e})},74722:function(u,i,t){"use strict";var r=t(77549),n=t(14141),e=t(33030),a=t(97361),o=t(40076),s=t(56018);n&&r({target:"Object",proto:!0,forced:e},{__defineGetter__:function(){function c(v,l){s.f(o(this),v,{get:a(l),enumerable:!0,configurable:!0})}return c}()})},5300:function(u,i,t){"use strict";var r=t(77549),n=t(14141),e=t(65854).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==e,sham:!n},{defineProperties:e})},85684:function(u,i,t){"use strict";var r=t(77549),n=t(14141),e=t(56018).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==e,sham:!n},{defineProperty:e})},36014:function(u,i,t){"use strict";var r=t(77549),n=t(14141),e=t(33030),a=t(97361),o=t(40076),s=t(56018);n&&r({target:"Object",proto:!0,forced:e},{__defineSetter__:function(){function c(v,l){s.f(o(this),v,{set:a(l),enumerable:!0,configurable:!0})}return c}()})},98551:function(u,i,t){"use strict";var r=t(77549),n=t(97452).entries;r({target:"Object",stat:!0},{entries:function(){function e(a){return n(a)}return e}()})},66288:function(u,i,t){"use strict";var r=t(77549),n=t(56255),e=t(41746),a=t(56831),o=t(29126).onFreeze,s=Object.freeze,c=e(function(){s(1)});r({target:"Object",stat:!0,forced:c,sham:!n},{freeze:function(){function v(l){return s&&a(l)?s(o(l)):l}return v}()})},26862:function(u,i,t){"use strict";var r=t(77549),n=t(281),e=t(12913);r({target:"Object",stat:!0},{fromEntries:function(){function a(o){var s={};return n(o,function(c,v){e(s,c,v)},{AS_ENTRIES:!0}),s}return a}()})},78686:function(u,i,t){"use strict";var r=t(77549),n=t(41746),e=t(96812),a=t(54168).f,o=t(14141),s=!o||n(function(){a(1)});r({target:"Object",stat:!0,forced:s,sham:!o},{getOwnPropertyDescriptor:function(){function c(v,l){return a(e(v),l)}return c}()})},36789:function(u,i,t){"use strict";var r=t(77549),n=t(14141),e=t(93616),a=t(96812),o=t(54168),s=t(12913);r({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(){function c(v){for(var l=a(v),h=o.f,I=e(l),S={},T=0,y,g;I.length>T;)g=h(l,y=I[T++]),g!==void 0&&s(S,y,g);return S}return c}()})},82707:function(u,i,t){"use strict";var r=t(77549),n=t(41746),e=t(63797).f,a=n(function(){return!Object.getOwnPropertyNames(1)});r({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:e})},93146:function(u,i,t){"use strict";var r=t(77549),n=t(70640),e=t(41746),a=t(34220),o=t(40076),s=!n||e(function(){a.f(1)});r({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(){function c(v){var l=a.f;return l?l(o(v)):[]}return c}()})},69740:function(u,i,t){"use strict";var r=t(77549),n=t(41746),e=t(40076),a=t(31658),o=t(58776),s=n(function(){a(1)});r({target:"Object",stat:!0,forced:s,sham:!o},{getPrototypeOf:function(){function c(v){return a(e(v))}return c}()})},54789:function(u,i,t){"use strict";var r=t(77549),n=t(57975);r({target:"Object",stat:!0,forced:Object.isExtensible!==n},{isExtensible:n})},49626:function(u,i,t){"use strict";var r=t(77549),n=t(41746),e=t(56831),a=t(38817),o=t(65693),s=Object.isFrozen,c=o||n(function(){s(1)});r({target:"Object",stat:!0,forced:c},{isFrozen:function(){function v(l){return!e(l)||o&&a(l)==="ArrayBuffer"?!0:s?s(l):!1}return v}()})},67660:function(u,i,t){"use strict";var r=t(77549),n=t(41746),e=t(56831),a=t(38817),o=t(65693),s=Object.isSealed,c=o||n(function(){s(1)});r({target:"Object",stat:!0,forced:c},{isSealed:function(){function v(l){return!e(l)||o&&a(l)==="ArrayBuffer"?!0:s?s(l):!1}return v}()})},87847:function(u,i,t){"use strict";var r=t(77549),n=t(37309);r({target:"Object",stat:!0},{is:n})},43619:function(u,i,t){"use strict";var r=t(77549),n=t(40076),e=t(84913),a=t(41746),o=a(function(){e(1)});r({target:"Object",stat:!0,forced:o},{keys:function(){function s(c){return e(n(c))}return s}()})},42777:function(u,i,t){"use strict";var r=t(77549),n=t(14141),e=t(33030),a=t(40076),o=t(57640),s=t(31658),c=t(54168).f;n&&r({target:"Object",proto:!0,forced:e},{__lookupGetter__:function(){function v(l){var h=a(this),I=o(l),S;do if(S=c(h,I))return S.get;while(h=s(h))}return v}()})},13045:function(u,i,t){"use strict";var r=t(77549),n=t(14141),e=t(33030),a=t(40076),o=t(57640),s=t(31658),c=t(54168).f;n&&r({target:"Object",proto:!0,forced:e},{__lookupSetter__:function(){function v(l){var h=a(this),I=o(l),S;do if(S=c(h,I))return S.set;while(h=s(h))}return v}()})},38664:function(u,i,t){"use strict";var r=t(77549),n=t(56831),e=t(29126).onFreeze,a=t(56255),o=t(41746),s=Object.preventExtensions,c=o(function(){s(1)});r({target:"Object",stat:!0,forced:c,sham:!a},{preventExtensions:function(){function v(l){return s&&n(l)?s(e(l)):l}return v}()})},29650:function(u,i,t){"use strict";var r=t(77549),n=t(56831),e=t(29126).onFreeze,a=t(56255),o=t(41746),s=Object.seal,c=o(function(){s(1)});r({target:"Object",stat:!0,forced:c,sham:!a},{seal:function(){function v(l){return s&&n(l)?s(e(l)):l}return v}()})},58176:function(u,i,t){"use strict";var r=t(77549),n=t(42878);r({target:"Object",stat:!0},{setPrototypeOf:n})},35286:function(u,i,t){"use strict";var r=t(82161),n=t(59173),e=t(66628);r||n(Object.prototype,"toString",e,{unsafe:!0})},13313:function(u,i,t){"use strict";var r=t(77549),n=t(97452).values;r({target:"Object",stat:!0},{values:function(){function e(a){return n(a)}return e}()})},26528:function(u,i,t){"use strict";var r=t(77549),n=t(43283);r({global:!0,forced:parseFloat!==n},{parseFloat:n})},54959:function(u,i,t){"use strict";var r=t(77549),n=t(11540);r({global:!0,forced:parseInt!==n},{parseInt:n})},34344:function(u,i,t){"use strict";var r=t(77549),n=t(62696),e=t(97361),a=t(48532),o=t(91114),s=t(281),c=t(95044);r({target:"Promise",stat:!0,forced:c},{all:function(){function v(l){var h=this,I=a.f(h),S=I.resolve,T=I.reject,y=o(function(){var g=e(h.resolve),P=[],R=0,x=1;s(l,function(d){var m=R++,O=!1;x++,n(g,h,d).then(function(E){O||(O=!0,P[m]=E,--x||S(P))},T)}),--x||S(P)});return y.error&&T(y.value),I.promise}return v}()})},60:function(u,i,t){"use strict";var r=t(77549),n=t(11478),e=t(49669).CONSTRUCTOR,a=t(35973),o=t(40164),s=t(7532),c=t(59173),v=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:e,real:!0},{catch:function(){function h(I){return this.then(void 0,I)}return h}()}),!n&&s(a)){var l=o("Promise").prototype.catch;v.catch!==l&&c(v,"catch",l,{unsafe:!0})}},7803:function(u,i,t){"use strict";var r=t(77549),n=t(11478),e=t(95823),a=t(40224),o=t(62696),s=t(59173),c=t(42878),v=t(94234),l=t(67420),h=t(97361),I=t(7532),S=t(56831),T=t(19870),y=t(78412),g=t(91314).set,P=t(27150),R=t(46122),x=t(91114),d=t(23496),m=t(35086),O=t(35973),E=t(49669),C=t(48532),b="Promise",M=E.CONSTRUCTOR,$=E.REJECTION_EVENT,N=E.SUBCLASSING,z=m.getterFor(b),Q=m.set,G=O&&O.prototype,K=O,_=G,U=a.TypeError,L=a.document,F=a.process,j=C.f,V=j,Y=!!(L&&L.createEvent&&a.dispatchEvent),it="unhandledrejection",dt="rejectionhandled",pt=0,ot=1,lt=2,Ct=1,It=2,yt,bt,Mt,$t,At=function(at){var Et;return S(at)&&I(Et=at.then)?Et:!1},k=function(at,Et){var Tt=Et.value,Rt=Et.state===ot,Dt=Rt?at.ok:at.fail,Wt=at.resolve,ft=at.reject,X=at.domain,Z,et,rt;try{Dt?(Rt||(Et.rejection===It&&ht(Et),Et.rejection=Ct),Dt===!0?Z=Tt:(X&&X.enter(),Z=Dt(Tt),X&&(X.exit(),rt=!0)),Z===at.promise?ft(new U("Promise-chain cycle")):(et=At(Z))?o(et,Z,Wt,ft):Wt(Z)):ft(Tt)}catch(st){X&&!rt&&X.exit(),ft(st)}},q=function(at,Et){at.notified||(at.notified=!0,P(function(){for(var Tt=at.reactions,Rt;Rt=Tt.get();)k(Rt,at);at.notified=!1,Et&&!at.rejection&&ct(at)}))},tt=function(at,Et,Tt){var Rt,Dt;Y?(Rt=L.createEvent("Event"),Rt.promise=Et,Rt.reason=Tt,Rt.initEvent(at,!1,!0),a.dispatchEvent(Rt)):Rt={promise:Et,reason:Tt},!$&&(Dt=a["on"+at])?Dt(Rt):at===it&&R("Unhandled promise rejection",Tt)},ct=function(at){o(g,a,function(){var Et=at.facade,Tt=at.value,Rt=vt(at),Dt;if(Rt&&(Dt=x(function(){e?F.emit("unhandledRejection",Tt,Et):tt(it,Et,Tt)}),at.rejection=e||vt(at)?It:Ct,Dt.error))throw Dt.value})},vt=function(at){return at.rejection!==Ct&&!at.parent},ht=function(at){o(g,a,function(){var Et=at.facade;e?F.emit("rejectionHandled",Et):tt(dt,Et,at.value)})},St=function(at,Et,Tt){return function(Rt){at(Et,Rt,Tt)}},nt=function(at,Et,Tt){at.done||(at.done=!0,Tt&&(at=Tt),at.value=Et,at.state=lt,q(at,!0))},ut=function gt(at,Et,Tt){if(!at.done){at.done=!0,Tt&&(at=Tt);try{if(at.facade===Et)throw new U("Promise can't be resolved itself");var Rt=At(Et);Rt?P(function(){var Dt={done:!1};try{o(Rt,Et,St(gt,Dt,at),St(nt,Dt,at))}catch(Wt){nt(Dt,Wt,at)}}):(at.value=Et,at.state=ot,q(at,!1))}catch(Dt){nt({done:!1},Dt,at)}}};if(M&&(K=function(){function gt(at){T(this,_),h(at),o(yt,this);var Et=z(this);try{at(St(ut,Et),St(nt,Et))}catch(Tt){nt(Et,Tt)}}return gt}(),_=K.prototype,yt=function(){function gt(at){Q(this,{type:b,done:!1,notified:!1,parent:!1,reactions:new d,rejection:!1,state:pt,value:void 0})}return gt}(),yt.prototype=s(_,"then",function(){function gt(at,Et){var Tt=z(this),Rt=j(y(this,K));return Tt.parent=!0,Rt.ok=I(at)?at:!0,Rt.fail=I(Et)&&Et,Rt.domain=e?F.domain:void 0,Tt.state===pt?Tt.reactions.add(Rt):P(function(){k(Rt,Tt)}),Rt.promise}return gt}()),bt=function(){var at=new yt,Et=z(at);this.promise=at,this.resolve=St(ut,Et),this.reject=St(nt,Et)},C.f=j=function(at){return at===K||at===Mt?new bt(at):V(at)},!n&&I(O)&&G!==Object.prototype)){$t=G.then,N||s(G,"then",function(){function gt(at,Et){var Tt=this;return new K(function(Rt,Dt){o($t,Tt,Rt,Dt)}).then(at,Et)}return gt}(),{unsafe:!0});try{delete G.constructor}catch(gt){}c&&c(G,_)}r({global:!0,constructor:!0,wrap:!0,forced:M},{Promise:K}),v(K,b,!1,!0),l(b)},54412:function(u,i,t){"use strict";var r=t(77549),n=t(11478),e=t(35973),a=t(41746),o=t(40164),s=t(7532),c=t(78412),v=t(43827),l=t(59173),h=e&&e.prototype,I=!!e&&a(function(){h.finally.call({then:function(){function T(){}return T}()},function(){})});if(r({target:"Promise",proto:!0,real:!0,forced:I},{finally:function(){function T(y){var g=c(this,o("Promise")),P=s(y);return this.then(P?function(R){return v(g,y()).then(function(){return R})}:y,P?function(R){return v(g,y()).then(function(){throw R})}:y)}return T}()}),!n&&s(e)){var S=o("Promise").prototype.finally;h.finally!==S&&l(h,"finally",S,{unsafe:!0})}},78129:function(u,i,t){"use strict";t(7803),t(34344),t(60),t(61270),t(82248),t(30347)},61270:function(u,i,t){"use strict";var r=t(77549),n=t(62696),e=t(97361),a=t(48532),o=t(91114),s=t(281),c=t(95044);r({target:"Promise",stat:!0,forced:c},{race:function(){function v(l){var h=this,I=a.f(h),S=I.reject,T=o(function(){var y=e(h.resolve);s(l,function(g){n(y,h,g).then(I.resolve,S)})});return T.error&&S(T.value),I.promise}return v}()})},82248:function(u,i,t){"use strict";var r=t(77549),n=t(48532),e=t(49669).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:e},{reject:function(){function a(o){var s=n.f(this),c=s.reject;return c(o),s.promise}return a}()})},30347:function(u,i,t){"use strict";var r=t(77549),n=t(40164),e=t(11478),a=t(35973),o=t(49669).CONSTRUCTOR,s=t(43827),c=n("Promise"),v=e&&!o;r({target:"Promise",stat:!0,forced:e||o},{resolve:function(){function l(h){return s(v&&this===c?a:this,h)}return l}()})},82427:function(u,i,t){"use strict";var r=t(77549),n=t(70918),e=t(97361),a=t(39482),o=t(41746),s=!o(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:s},{apply:function(){function c(v,l,h){return n(e(v),l,a(h))}return c}()})},8390:function(u,i,t){"use strict";var r=t(77549),n=t(40164),e=t(70918),a=t(9379),o=t(76833),s=t(39482),c=t(56831),v=t(28969),l=t(41746),h=n("Reflect","construct"),I=Object.prototype,S=[].push,T=l(function(){function P(){}return!(h(function(){},[],P)instanceof P)}),y=!l(function(){h(function(){})}),g=T||y;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(){function P(R,x){o(R),s(x);var d=arguments.length<3?R:o(arguments[2]);if(y&&!T)return h(R,x,d);if(R===d){switch(x.length){case 0:return new R;case 1:return new R(x[0]);case 2:return new R(x[0],x[1]);case 3:return new R(x[0],x[1],x[2]);case 4:return new R(x[0],x[1],x[2],x[3])}var m=[null];return e(S,m,x),new(e(a,R,m))}var O=d.prototype,E=v(c(O)?O:I),C=e(R,E,x);return c(C)?C:E}return P}()})},68260:function(u,i,t){"use strict";var r=t(77549),n=t(14141),e=t(39482),a=t(57640),o=t(56018),s=t(41746),c=s(function(){Reflect.defineProperty(o.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:c,sham:!n},{defineProperty:function(){function v(l,h,I){e(l);var S=a(h);e(I);try{return o.f(l,S,I),!0}catch(T){return!1}}return v}()})},86508:function(u,i,t){"use strict";var r=t(77549),n=t(39482),e=t(54168).f;r({target:"Reflect",stat:!0},{deleteProperty:function(){function a(o,s){var c=e(n(o),s);return c&&!c.configurable?!1:delete o[s]}return a}()})},17134:function(u,i,t){"use strict";var r=t(77549),n=t(14141),e=t(39482),a=t(54168);r({target:"Reflect",stat:!0,sham:!n},{getOwnPropertyDescriptor:function(){function o(s,c){return a.f(e(s),c)}return o}()})},18972:function(u,i,t){"use strict";var r=t(77549),n=t(39482),e=t(31658),a=t(58776);r({target:"Reflect",stat:!0,sham:!a},{getPrototypeOf:function(){function o(s){return e(n(s))}return o}()})},65971:function(u,i,t){"use strict";var r=t(77549),n=t(62696),e=t(56831),a=t(39482),o=t(35892),s=t(54168),c=t(31658);function v(l,h){var I=arguments.length<3?l:arguments[2],S,T;if(a(l)===I)return l[h];if(S=s.f(l,h),S)return o(S)?S.value:S.get===void 0?void 0:n(S.get,I);if(e(T=c(l)))return v(T,h,I)}r({target:"Reflect",stat:!0},{get:v})},78623:function(u,i,t){"use strict";var r=t(77549);r({target:"Reflect",stat:!0},{has:function(){function n(e,a){return a in e}return n}()})},60149:function(u,i,t){"use strict";var r=t(77549),n=t(39482),e=t(57975);r({target:"Reflect",stat:!0},{isExtensible:function(){function a(o){return n(o),e(o)}return a}()})},56380:function(u,i,t){"use strict";var r=t(77549),n=t(93616);r({target:"Reflect",stat:!0},{ownKeys:n})},72792:function(u,i,t){"use strict";var r=t(77549),n=t(40164),e=t(39482),a=t(56255);r({target:"Reflect",stat:!0,sham:!a},{preventExtensions:function(){function o(s){e(s);try{var c=n("Object","preventExtensions");return c&&c(s),!0}catch(v){return!1}}return o}()})},25168:function(u,i,t){"use strict";var r=t(77549),n=t(39482),e=t(51689),a=t(42878);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(){function o(s,c){n(s),e(c);try{return a(s,c),!0}catch(v){return!1}}return o}()})},60631:function(u,i,t){"use strict";var r=t(77549),n=t(62696),e=t(39482),a=t(56831),o=t(35892),s=t(41746),c=t(56018),v=t(54168),l=t(31658),h=t(7539);function I(T,y,g){var P=arguments.length<4?T:arguments[3],R=v.f(e(T),y),x,d,m;if(!R){if(a(d=l(T)))return I(d,y,g,P);R=h(0)}if(o(R)){if(R.writable===!1||!a(P))return!1;if(x=v.f(P,y)){if(x.get||x.set||x.writable===!1)return!1;x.value=g,c.f(P,y,x)}else c.f(P,y,h(0,g))}else{if(m=R.set,m===void 0)return!1;n(m,P,g)}return!0}var S=s(function(){var T=function(){},y=c.f(new T,"a",{configurable:!0});return Reflect.set(T.prototype,"a",1,y)!==!1});r({target:"Reflect",stat:!0,forced:S},{set:I})},85177:function(u,i,t){"use strict";var r=t(14141),n=t(40224),e=t(18161),a=t(95945),o=t(2566),s=t(16216),c=t(28969),v=t(34813).f,l=t(33314),h=t(80969),I=t(26602),S=t(60425),T=t(1064),y=t(77495),g=t(59173),P=t(41746),R=t(89458),x=t(35086).enforce,d=t(67420),m=t(66266),O=t(89604),E=t(5489),C=m("match"),b=n.RegExp,M=b.prototype,$=n.SyntaxError,N=e(M.exec),z=e("".charAt),Q=e("".replace),G=e("".indexOf),K=e("".slice),_=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,U=/a/g,L=/a/g,F=new b(U)!==U,j=T.MISSED_STICKY,V=T.UNSUPPORTED_Y,Y=r&&(!F||j||O||E||P(function(){return L[C]=!1,b(U)!==U||b(L)===L||String(b(U,"i"))!=="/a/i"})),it=function(It){for(var yt=It.length,bt=0,Mt="",$t=!1,At;bt<=yt;bt++){if(At=z(It,bt),At==="\\"){Mt+=At+z(It,++bt);continue}!$t&&At==="."?Mt+="[\\s\\S]":(At==="["?$t=!0:At==="]"&&($t=!1),Mt+=At)}return Mt},dt=function(It){for(var yt=It.length,bt=0,Mt="",$t=[],At=c(null),k=!1,q=!1,tt=0,ct="",vt;bt<=yt;bt++){if(vt=z(It,bt),vt==="\\")vt+=z(It,++bt);else if(vt==="]")k=!1;else if(!k)switch(!0){case vt==="[":k=!0;break;case vt==="(":N(_,K(It,bt+1))&&(bt+=2,q=!0),Mt+=vt,tt++;continue;case(vt===">"&&q):if(ct===""||R(At,ct))throw new $("Invalid capture group name");At[ct]=!0,$t[$t.length]=[ct,tt],q=!1,ct="";continue}q?ct+=vt:Mt+=vt}return[Mt,$t]};if(a("RegExp",Y)){for(var pt=function(){function Ct(It,yt){var bt=l(M,this),Mt=h(It),$t=yt===void 0,At=[],k=It,q,tt,ct,vt,ht,St;if(!bt&&Mt&&$t&&It.constructor===pt)return It;if((Mt||l(M,It))&&(It=It.source,$t&&(yt=S(k))),It=It===void 0?"":I(It),yt=yt===void 0?"":I(yt),k=It,O&&"dotAll"in U&&(tt=!!yt&&G(yt,"s")>-1,tt&&(yt=Q(yt,/s/g,""))),q=yt,j&&"sticky"in U&&(ct=!!yt&&G(yt,"y")>-1,ct&&V&&(yt=Q(yt,/y/g,""))),E&&(vt=dt(It),It=vt[0],At=vt[1]),ht=o(b(It,yt),bt?this:M,pt),(tt||ct||At.length)&&(St=x(ht),tt&&(St.dotAll=!0,St.raw=pt(it(It),q)),ct&&(St.sticky=!0),At.length&&(St.groups=At)),It!==k)try{s(ht,"source",k===""?"(?:)":k)}catch(nt){}return ht}return Ct}(),ot=v(b),lt=0;ot.length>lt;)y(pt,b,ot[lt++]);M.constructor=pt,pt.prototype=M,g(n,"RegExp",pt,{constructor:!0})}d("RegExp")},95880:function(u,i,t){"use strict";var r=t(77549),n=t(72894);r({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},59978:function(u,i,t){"use strict";var r=t(40224),n=t(14141),e=t(10069),a=t(65844),o=t(41746),s=r.RegExp,c=s.prototype,v=n&&o(function(){var l=!0;try{s(".","d")}catch(R){l=!1}var h={},I="",S=l?"dgimsy":"gimsy",T=function(x,d){Object.defineProperty(h,x,{get:function(){function m(){return I+=d,!0}return m}()})},y={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};l&&(y.hasIndices="d");for(var g in y)T(g,y[g]);var P=Object.getOwnPropertyDescriptor(c,"flags").get.call(h);return P!==S||I!==S});v&&e(c,"flags",{configurable:!0,get:a})},96360:function(u,i,t){"use strict";var r=t(26463).PROPER,n=t(59173),e=t(39482),a=t(26602),o=t(41746),s=t(60425),c="toString",v=RegExp.prototype,l=v[c],h=o(function(){return l.call({source:"a",flags:"b"})!=="/a/b"}),I=r&&l.name!==c;(h||I)&&n(v,c,function(){function S(){var T=e(this),y=a(T.source),g=a(s(T));return"/"+y+"/"+g}return S}(),{unsafe:!0})},47338:function(u,i,t){"use strict";var r=t(93439),n=t(10623);r("Set",function(e){return function(){function a(){return e(this,arguments.length?arguments[0]:void 0)}return a}()},n)},43108:function(u,i,t){"use strict";t(47338)},36:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("anchor")},{anchor:function(){function a(o){return n(this,"a","name",o)}return a}()})},30519:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("big")},{big:function(){function a(){return n(this,"big","","")}return a}()})},33547:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("blink")},{blink:function(){function a(){return n(this,"blink","","")}return a}()})},53426:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("bold")},{bold:function(){function a(){return n(this,"b","","")}return a}()})},37801:function(u,i,t){"use strict";var r=t(77549),n=t(56852).codeAt;r({target:"String",proto:!0},{codePointAt:function(){function e(a){return n(this,a)}return e}()})},3044:function(u,i,t){"use strict";var r=t(77549),n=t(85067),e=t(54168).f,a=t(10475),o=t(26602),s=t(89140),c=t(91029),v=t(93321),l=t(11478),h=n("".slice),I=Math.min,S=v("endsWith"),T=!l&&!S&&!!function(){var y=e(String.prototype,"endsWith");return y&&!y.writable}();r({target:"String",proto:!0,forced:!T&&!S},{endsWith:function(){function y(g){var P=o(c(this));s(g);var R=arguments.length>1?arguments[1]:void 0,x=P.length,d=R===void 0?x:I(a(R),x),m=o(g);return h(P,d-m.length,d)===m}return y}()})},32031:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("fixed")},{fixed:function(){function a(){return n(this,"tt","","")}return a}()})},13153:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("fontcolor")},{fontcolor:function(){function a(o){return n(this,"font","color",o)}return a}()})},21953:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("fontsize")},{fontsize:function(){function a(o){return n(this,"font","size",o)}return a}()})},48432:function(u,i,t){"use strict";var r=t(77549),n=t(18161),e=t(74067),a=RangeError,o=String.fromCharCode,s=String.fromCodePoint,c=n([].join),v=!!s&&s.length!==1;r({target:"String",stat:!0,arity:1,forced:v},{fromCodePoint:function(){function l(h){for(var I=[],S=arguments.length,T=0,y;S>T;){if(y=+arguments[T++],e(y,1114111)!==y)throw new a(y+" is not a valid code point");I[T]=y<65536?o(y):o(((y-=65536)>>10)+55296,y%1024+56320)}return c(I,"")}return l}()})},54564:function(u,i,t){"use strict";var r=t(77549),n=t(18161),e=t(89140),a=t(91029),o=t(26602),s=t(93321),c=n("".indexOf);r({target:"String",proto:!0,forced:!s("includes")},{includes:function(){function v(l){return!!~c(o(a(this)),o(e(l)),arguments.length>1?arguments[1]:void 0)}return v}()})},83560:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("italics")},{italics:function(){function a(){return n(this,"i","","")}return a}()})},58179:function(u,i,t){"use strict";var r=t(56852).charAt,n=t(26602),e=t(35086),a=t(2449),o=t(77056),s="String Iterator",c=e.set,v=e.getterFor(s);a(String,"String",function(l){c(this,{type:s,string:n(l),index:0})},function(){function l(){var h=v(this),I=h.string,S=h.index,T;return S>=I.length?o(void 0,!0):(T=r(I,S),h.index+=T.length,o(T,!1))}return l}())},63465:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("link")},{link:function(){function a(o){return n(this,"a","href",o)}return a}()})},68164:function(u,i,t){"use strict";var r=t(62696),n=t(85427),e=t(39482),a=t(1022),o=t(10475),s=t(26602),c=t(91029),v=t(4817),l=t(62970),h=t(35553);n("match",function(I,S,T){return[function(){function y(g){var P=c(this),R=a(g)?void 0:v(g,I);return R?r(R,g,P):new RegExp(g)[I](s(P))}return y}(),function(y){var g=e(this),P=s(y),R=T(S,g,P);if(R.done)return R.value;if(!g.global)return h(g,P);var x=g.unicode;g.lastIndex=0;for(var d=[],m=0,O;(O=h(g,P))!==null;){var E=s(O[0]);d[m]=E,E===""&&(g.lastIndex=l(P,o(g.lastIndex),x)),m++}return m===0?null:d}]})},58880:function(u,i,t){"use strict";var r=t(77549),n=t(34086).end,e=t(33038);r({target:"String",proto:!0,forced:e},{padEnd:function(){function a(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}return a}()})},54465:function(u,i,t){"use strict";var r=t(77549),n=t(34086).start,e=t(33038);r({target:"String",proto:!0,forced:e},{padStart:function(){function a(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}return a}()})},97327:function(u,i,t){"use strict";var r=t(77549),n=t(18161),e=t(96812),a=t(40076),o=t(26602),s=t(8333),c=n([].push),v=n([].join);r({target:"String",stat:!0},{raw:function(){function l(h){var I=e(a(h).raw),S=s(I);if(!S)return"";for(var T=arguments.length,y=[],g=0;;){if(c(y,o(I[g++])),g===S)return v(y,"");g<T&&c(y,o(arguments[g]))}}return l}()})},19114:function(u,i,t){"use strict";var r=t(77549),n=t(84948);r({target:"String",proto:!0},{repeat:n})},23797:function(u,i,t){"use strict";var r=t(70918),n=t(62696),e=t(18161),a=t(85427),o=t(41746),s=t(39482),c=t(7532),v=t(1022),l=t(74952),h=t(10475),I=t(26602),S=t(91029),T=t(62970),y=t(4817),g=t(81385),P=t(35553),R=t(66266),x=R("replace"),d=Math.max,m=Math.min,O=e([].concat),E=e([].push),C=e("".indexOf),b=e("".slice),M=function(G){return G===void 0?G:String(G)},$=function(){return"a".replace(/./,"$0")==="$0"}(),N=function(){return/./[x]?/./[x]("a","$0")==="":!1}(),z=!o(function(){var Q=/./;return Q.exec=function(){var G=[];return G.groups={a:"7"},G},"".replace(Q,"$<a>")!=="7"});a("replace",function(Q,G,K){var _=N?"$":"$0";return[function(){function U(L,F){var j=S(this),V=v(L)?void 0:y(L,x);return V?n(V,L,j,F):n(G,I(j),L,F)}return U}(),function(U,L){var F=s(this),j=I(U);if(typeof L=="string"&&C(L,_)===-1&&C(L,"$<")===-1){var V=K(G,F,j,L);if(V.done)return V.value}var Y=c(L);Y||(L=I(L));var it=F.global,dt;it&&(dt=F.unicode,F.lastIndex=0);for(var pt=[],ot;ot=P(F,j),!(ot===null||(E(pt,ot),!it));){var lt=I(ot[0]);lt===""&&(F.lastIndex=T(j,h(F.lastIndex),dt))}for(var Ct="",It=0,yt=0;yt<pt.length;yt++){ot=pt[yt];for(var bt=I(ot[0]),Mt=d(m(l(ot.index),j.length),0),$t=[],At,k=1;k<ot.length;k++)E($t,M(ot[k]));var q=ot.groups;if(Y){var tt=O([bt],$t,Mt,j);q!==void 0&&E(tt,q),At=I(r(L,void 0,tt))}else At=g(bt,j,Mt,$t,q,L);Mt>=It&&(Ct+=b(j,It,Mt)+At,It=Mt+bt.length)}return Ct+b(j,It)}]},!z||!$||N)},17337:function(u,i,t){"use strict";var r=t(62696),n=t(85427),e=t(39482),a=t(1022),o=t(91029),s=t(37309),c=t(26602),v=t(4817),l=t(35553);n("search",function(h,I,S){return[function(){function T(y){var g=o(this),P=a(y)?void 0:v(y,h);return P?r(P,y,g):new RegExp(y)[h](c(g))}return T}(),function(T){var y=e(this),g=c(T),P=S(I,y,g);if(P.done)return P.value;var R=y.lastIndex;s(R,0)||(y.lastIndex=0);var x=l(y,g);return s(y.lastIndex,R)||(y.lastIndex=R),x===null?-1:x.index}]})},98998:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("small")},{small:function(){function a(){return n(this,"small","","")}return a}()})},53713:function(u,i,t){"use strict";var r=t(62696),n=t(18161),e=t(85427),a=t(39482),o=t(1022),s=t(91029),c=t(78412),v=t(62970),l=t(10475),h=t(26602),I=t(4817),S=t(35553),T=t(1064),y=t(41746),g=T.UNSUPPORTED_Y,P=4294967295,R=Math.min,x=n([].push),d=n("".slice),m=!y(function(){var E=/(?:)/,C=E.exec;E.exec=function(){return C.apply(this,arguments)};var b="ab".split(E);return b.length!==2||b[0]!=="a"||b[1]!=="b"}),O="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;e("split",function(E,C,b){var M="0".split(void 0,0).length?function($,N){return $===void 0&&N===0?[]:r(C,this,$,N)}:C;return[function(){function $(N,z){var Q=s(this),G=o(N)?void 0:I(N,E);return G?r(G,N,Q,z):r(M,h(Q),N,z)}return $}(),function($,N){var z=a(this),Q=h($);if(!O){var G=b(M,z,Q,N,M!==C);if(G.done)return G.value}var K=c(z,RegExp),_=z.unicode,U=(z.ignoreCase?"i":"")+(z.multiline?"m":"")+(z.unicode?"u":"")+(g?"g":"y"),L=new K(g?"^(?:"+z.source+")":z,U),F=N===void 0?P:N>>>0;if(F===0)return[];if(Q.length===0)return S(L,Q)===null?[Q]:[];for(var j=0,V=0,Y=[];V<Q.length;){L.lastIndex=g?0:V;var it=S(L,g?d(Q,V):Q),dt;if(it===null||(dt=R(l(L.lastIndex+(g?V:0)),Q.length))===j)V=v(Q,V,_);else{if(x(Y,d(Q,j,V)),Y.length===F)return Y;for(var pt=1;pt<=it.length-1;pt++)if(x(Y,it[pt]),Y.length===F)return Y;V=j=dt}}return x(Y,d(Q,j)),Y}]},O||!m,g)},84469:function(u,i,t){"use strict";var r=t(77549),n=t(85067),e=t(54168).f,a=t(10475),o=t(26602),s=t(89140),c=t(91029),v=t(93321),l=t(11478),h=n("".slice),I=Math.min,S=v("startsWith"),T=!l&&!S&&!!function(){var y=e(String.prototype,"startsWith");return y&&!y.writable}();r({target:"String",proto:!0,forced:!T&&!S},{startsWith:function(){function y(g){var P=o(c(this));s(g);var R=a(I(arguments.length>1?arguments[1]:void 0,P.length)),x=o(g);return h(P,R,R+x.length)===x}return y}()})},96227:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("strike")},{strike:function(){function a(){return n(this,"strike","","")}return a}()})},15483:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("sub")},{sub:function(){function a(){return n(this,"sub","","")}return a}()})},86829:function(u,i,t){"use strict";var r=t(77549),n=t(93677),e=t(32086);r({target:"String",proto:!0,forced:e("sup")},{sup:function(){function a(){return n(this,"sup","","")}return a}()})},93073:function(u,i,t){"use strict";t(17434);var r=t(77549),n=t(11775);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==n},{trimEnd:n})},69107:function(u,i,t){"use strict";var r=t(77549),n=t(26402);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==n},{trimLeft:n})},17434:function(u,i,t){"use strict";var r=t(77549),n=t(11775);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==n},{trimRight:n})},50800:function(u,i,t){"use strict";t(69107);var r=t(77549),n=t(26402);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==n},{trimStart:n})},11121:function(u,i,t){"use strict";var r=t(77549),n=t(35171).trim,e=t(93817);r({target:"String",proto:!0,forced:e("trim")},{trim:function(){function a(){return n(this)}return a}()})},46951:function(u,i,t){"use strict";var r=t(15388);r("asyncIterator")},9056:function(u,i,t){"use strict";var r=t(77549),n=t(40224),e=t(62696),a=t(18161),o=t(11478),s=t(14141),c=t(70640),v=t(41746),l=t(89458),h=t(33314),I=t(39482),S=t(96812),T=t(57640),y=t(26602),g=t(7539),P=t(28969),R=t(84913),x=t(34813),d=t(63797),m=t(34220),O=t(54168),E=t(56018),C=t(65854),b=t(9776),M=t(59173),$=t(10069),N=t(75130),z=t(5160),Q=t(21124),G=t(33345),K=t(66266),_=t(32938),U=t(15388),L=t(75429),F=t(94234),j=t(35086),V=t(67480).forEach,Y=z("hidden"),it="Symbol",dt="prototype",pt=j.set,ot=j.getterFor(it),lt=Object[dt],Ct=n.Symbol,It=Ct&&Ct[dt],yt=n.RangeError,bt=n.TypeError,Mt=n.QObject,$t=O.f,At=E.f,k=d.f,q=b.f,tt=a([].push),ct=N("symbols"),vt=N("op-symbols"),ht=N("wks"),St=!Mt||!Mt[dt]||!Mt[dt].findChild,nt=function(Z,et,rt){var st=$t(lt,et);st&&delete lt[et],At(Z,et,rt),st&&Z!==lt&&At(lt,et,st)},ut=s&&v(function(){return P(At({},"a",{get:function(){function X(){return At(this,"a",{value:7}).a}return X}()})).a!==7})?nt:At,gt=function(Z,et){var rt=ct[Z]=P(It);return pt(rt,{type:it,tag:Z,description:et}),s||(rt.description=et),rt},at=function(){function X(Z,et,rt){Z===lt&&at(vt,et,rt),I(Z);var st=T(et);return I(rt),l(ct,st)?(rt.enumerable?(l(Z,Y)&&Z[Y][st]&&(Z[Y][st]=!1),rt=P(rt,{enumerable:g(0,!1)})):(l(Z,Y)||At(Z,Y,g(1,P(null))),Z[Y][st]=!0),ut(Z,st,rt)):At(Z,st,rt)}return X}(),Et=function(){function X(Z,et){I(Z);var rt=S(et),st=R(rt).concat(ft(rt));return V(st,function(wt){(!s||e(Rt,rt,wt))&&at(Z,wt,rt[wt])}),Z}return X}(),Tt=function(){function X(Z,et){return et===void 0?P(Z):Et(P(Z),et)}return X}(),Rt=function(){function X(Z){var et=T(Z),rt=e(q,this,et);return this===lt&&l(ct,et)&&!l(vt,et)?!1:rt||!l(this,et)||!l(ct,et)||l(this,Y)&&this[Y][et]?rt:!0}return X}(),Dt=function(){function X(Z,et){var rt=S(Z),st=T(et);if(!(rt===lt&&l(ct,st)&&!l(vt,st))){var wt=$t(rt,st);return wt&&l(ct,st)&&!(l(rt,Y)&&rt[Y][st])&&(wt.enumerable=!0),wt}}return X}(),Wt=function(){function X(Z){var et=k(S(Z)),rt=[];return V(et,function(st){!l(ct,st)&&!l(Q,st)&&tt(rt,st)}),rt}return X}(),ft=function(Z){var et=Z===lt,rt=k(et?vt:S(Z)),st=[];return V(rt,function(wt){l(ct,wt)&&(!et||l(lt,wt))&&tt(st,ct[wt])}),st};c||(Ct=function(){function X(){if(h(It,this))throw new bt("Symbol is not a constructor");var Z=!arguments.length||arguments[0]===void 0?void 0:y(arguments[0]),et=G(Z),rt=function(){function st(wt){var jt=this===void 0?n:this;jt===lt&&e(st,vt,wt),l(jt,Y)&&l(jt[Y],et)&&(jt[Y][et]=!1);var Ut=g(1,wt);try{ut(jt,et,Ut)}catch(zt){if(!(zt instanceof yt))throw zt;nt(jt,et,Ut)}}return st}();return s&&St&&ut(lt,et,{configurable:!0,set:rt}),gt(et,Z)}return X}(),It=Ct[dt],M(It,"toString",function(){function X(){return ot(this).tag}return X}()),M(Ct,"withoutSetter",function(X){return gt(G(X),X)}),b.f=Rt,E.f=at,C.f=Et,O.f=Dt,x.f=d.f=Wt,m.f=ft,_.f=function(X){return gt(K(X),X)},s&&($(It,"description",{configurable:!0,get:function(){function X(){return ot(this).description}return X}()}),o||M(lt,"propertyIsEnumerable",Rt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Ct}),V(R(ht),function(X){U(X)}),r({target:it,stat:!0,forced:!c},{useSetter:function(){function X(){St=!0}return X}(),useSimple:function(){function X(){St=!1}return X}()}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:Tt,defineProperty:at,defineProperties:Et,getOwnPropertyDescriptor:Dt}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:Wt}),L(),F(Ct,it),Q[Y]=!0},27718:function(u,i,t){"use strict";var r=t(77549),n=t(14141),e=t(40224),a=t(18161),o=t(89458),s=t(7532),c=t(33314),v=t(26602),l=t(10069),h=t(70113),I=e.Symbol,S=I&&I.prototype;if(n&&s(I)&&(!("description"in S)||I().description!==void 0)){var T={},y=function(){function O(){var E=arguments.length<1||arguments[0]===void 0?void 0:v(arguments[0]),C=c(S,this)?new I(E):E===void 0?I():I(E);return E===""&&(T[C]=!0),C}return O}();h(y,I),y.prototype=S,S.constructor=y;var g=String(I("description detection"))==="Symbol(description detection)",P=a(S.valueOf),R=a(S.toString),x=/^Symbol\((.*)\)[^)]+$/,d=a("".replace),m=a("".slice);l(S,"description",{configurable:!0,get:function(){function O(){var E=P(this);if(o(T,E))return"";var C=R(E),b=g?m(C,7,-1):d(C,x,"$1");return b===""?void 0:b}return O}()}),r({global:!0,constructor:!0,forced:!0},{Symbol:y})}},18611:function(u,i,t){"use strict";var r=t(77549),n=t(40164),e=t(89458),a=t(26602),o=t(75130),s=t(80353),c=o("string-to-symbol-registry"),v=o("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(){function l(h){var I=a(h);if(e(c,I))return c[I];var S=n("Symbol")(I);return c[I]=S,v[S]=I,S}return l}()})},86042:function(u,i,t){"use strict";var r=t(15388);r("hasInstance")},93267:function(u,i,t){"use strict";var r=t(15388);r("isConcatSpreadable")},41664:function(u,i,t){"use strict";var r=t(15388);r("iterator")},99414:function(u,i,t){"use strict";t(9056),t(18611),t(30661),t(12183),t(93146)},30661:function(u,i,t){"use strict";var r=t(77549),n=t(89458),e=t(74352),a=t(62518),o=t(75130),s=t(80353),c=o("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(){function v(l){if(!e(l))throw new TypeError(a(l)+" is not a symbol");if(n(c,l))return c[l]}return v}()})},48965:function(u,i,t){"use strict";var r=t(15388);r("match")},44844:function(u,i,t){"use strict";var r=t(15388);r("replace")},25030:function(u,i,t){"use strict";var r=t(15388);r("search")},96454:function(u,i,t){"use strict";var r=t(15388);r("species")},77564:function(u,i,t){"use strict";var r=t(15388);r("split")},44875:function(u,i,t){"use strict";var r=t(15388),n=t(75429);r("toPrimitive"),n()},77904:function(u,i,t){"use strict";var r=t(40164),n=t(15388),e=t(94234);n("toStringTag"),e(r("Symbol"),"Symbol")},35723:function(u,i,t){"use strict";var r=t(15388);r("unscopables")},84805:function(u,i,t){"use strict";var r=t(18161),n=t(72951),e=t(42320),a=r(e),o=n.aTypedArray,s=n.exportTypedArrayMethod;s("copyWithin",function(){function c(v,l){return a(o(this),v,l,arguments.length>2?arguments[2]:void 0)}return c}())},79305:function(u,i,t){"use strict";var r=t(72951),n=t(67480).every,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("every",function(){function o(s){return n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},71573:function(u,i,t){"use strict";var r=t(72951),n=t(59942),e=t(757),a=t(27806),o=t(62696),s=t(18161),c=t(41746),v=r.aTypedArray,l=r.exportTypedArrayMethod,h=s("".slice),I=c(function(){var S=0;return new Int8Array(2).fill({valueOf:function(){function T(){return S++}return T}()}),S!==1});l("fill",function(){function S(T){var y=arguments.length;v(this);var g=h(a(this),0,3)==="Big"?e(T):+T;return o(n,this,g,y>1?arguments[1]:void 0,y>2?arguments[2]:void 0)}return S}(),I)},47910:function(u,i,t){"use strict";var r=t(72951),n=t(67480).filter,e=t(80936),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("filter",function(){function s(c){var v=n(a(this),c,arguments.length>1?arguments[1]:void 0);return e(this,v)}return s}())},99662:function(u,i,t){"use strict";var r=t(72951),n=t(67480).findIndex,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("findIndex",function(){function o(s){return n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},48447:function(u,i,t){"use strict";var r=t(72951),n=t(67480).find,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("find",function(){function o(s){return n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},68265:function(u,i,t){"use strict";var r=t(12218);r("Float32",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},36030:function(u,i,t){"use strict";var r=t(12218);r("Float64",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},57371:function(u,i,t){"use strict";var r=t(72951),n=t(67480).forEach,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("forEach",function(){function o(s){n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},68220:function(u,i,t){"use strict";var r=t(66220),n=t(72951).exportTypedArrayStaticMethod,e=t(7996);n("from",e,r)},15745:function(u,i,t){"use strict";var r=t(72951),n=t(64210).includes,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("includes",function(){function o(s){return n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},43398:function(u,i,t){"use strict";var r=t(72951),n=t(64210).indexOf,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("indexOf",function(){function o(s){return n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},25888:function(u,i,t){"use strict";var r=t(12218);r("Int16",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},35718:function(u,i,t){"use strict";var r=t(12218);r("Int32",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},32791:function(u,i,t){"use strict";var r=t(12218);r("Int8",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},97722:function(u,i,t){"use strict";var r=t(40224),n=t(41746),e=t(18161),a=t(72951),o=t(65809),s=t(66266),c=s("iterator"),v=r.Uint8Array,l=e(o.values),h=e(o.keys),I=e(o.entries),S=a.aTypedArray,T=a.exportTypedArrayMethod,y=v&&v.prototype,g=!n(function(){y[c].call([1])}),P=!!y&&y.values&&y[c]===y.values&&y.values.name==="values",R=function(){function x(){return l(S(this))}return x}();T("entries",function(){function x(){return I(S(this))}return x}(),g),T("keys",function(){function x(){return h(S(this))}return x}(),g),T("values",R,g||!P,{name:"values"}),T(c,R,g||!P,{name:"values"})},79088:function(u,i,t){"use strict";var r=t(72951),n=t(18161),e=r.aTypedArray,a=r.exportTypedArrayMethod,o=n([].join);a("join",function(){function s(c){return o(e(this),c)}return s}())},6075:function(u,i,t){"use strict";var r=t(72951),n=t(70918),e=t(16934),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("lastIndexOf",function(){function s(c){var v=arguments.length;return n(e,a(this),v>1?[c,arguments[1]]:[c])}return s}())},46896:function(u,i,t){"use strict";var r=t(72951),n=t(67480).map,e=t(489),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("map",function(){function s(c){return n(a(this),c,arguments.length>1?arguments[1]:void 0,function(v,l){return new(e(v))(l)})}return s}())},47145:function(u,i,t){"use strict";var r=t(72951),n=t(66220),e=r.aTypedArrayConstructor,a=r.exportTypedArrayStaticMethod;a("of",function(){function o(){for(var s=0,c=arguments.length,v=new(e(this))(c);c>s;)v[s]=arguments[s++];return v}return o}(),n)},349:function(u,i,t){"use strict";var r=t(72951),n=t(98405).right,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("reduceRight",function(){function o(s){var c=arguments.length;return n(e(this),s,c,c>1?arguments[1]:void 0)}return o}())},72606:function(u,i,t){"use strict";var r=t(72951),n=t(98405).left,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("reduce",function(){function o(s){var c=arguments.length;return n(e(this),s,c,c>1?arguments[1]:void 0)}return o}())},28292:function(u,i,t){"use strict";var r=t(72951),n=r.aTypedArray,e=r.exportTypedArrayMethod,a=Math.floor;e("reverse",function(){function o(){for(var s=this,c=n(s).length,v=a(c/2),l=0,h;l<v;)h=s[l],s[l++]=s[--c],s[c]=h;return s}return o}())},54890:function(u,i,t){"use strict";var r=t(40224),n=t(62696),e=t(72951),a=t(8333),o=t(65264),s=t(40076),c=t(41746),v=r.RangeError,l=r.Int8Array,h=l&&l.prototype,I=h&&h.set,S=e.aTypedArray,T=e.exportTypedArrayMethod,y=!c(function(){var P=new Uint8ClampedArray(2);return n(I,P,{length:1,0:3},1),P[1]!==3}),g=y&&e.NATIVE_ARRAY_BUFFER_VIEWS&&c(function(){var P=new l(2);return P.set(1),P.set("2",1),P[0]!==0||P[1]!==2});T("set",function(){function P(R){S(this);var x=o(arguments.length>1?arguments[1]:void 0,1),d=s(R);if(y)return n(I,this,d,x);var m=this.length,O=a(d),E=0;if(O+x>m)throw new v("Wrong length");for(;E<O;)this[x+E]=d[E++]}return P}(),!y||g)},66368:function(u,i,t){"use strict";var r=t(72951),n=t(489),e=t(41746),a=t(77713),o=r.aTypedArray,s=r.exportTypedArrayMethod,c=e(function(){new Int8Array(1).slice()});s("slice",function(){function v(l,h){for(var I=a(o(this),l,h),S=n(this),T=0,y=I.length,g=new S(y);y>T;)g[T]=I[T++];return g}return v}(),c)},74188:function(u,i,t){"use strict";var r=t(72951),n=t(67480).some,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("some",function(){function o(s){return n(e(this),s,arguments.length>1?arguments[1]:void 0)}return o}())},81976:function(u,i,t){"use strict";var r=t(40224),n=t(85067),e=t(41746),a=t(97361),o=t(44815),s=t(72951),c=t(49847),v=t(56605),l=t(82709),h=t(53125),I=s.aTypedArray,S=s.exportTypedArrayMethod,T=r.Uint16Array,y=T&&n(T.prototype.sort),g=!!y&&!(e(function(){y(new T(2),null)})&&e(function(){y(new T(2),{})})),P=!!y&&!e(function(){if(l)return l<74;if(c)return c<67;if(v)return!0;if(h)return h<602;var x=new T(516),d=Array(516),m,O;for(m=0;m<516;m++)O=m%4,x[m]=515-m,d[m]=m-2*O+3;for(y(x,function(E,C){return(E/4|0)-(C/4|0)}),m=0;m<516;m++)if(x[m]!==d[m])return!0}),R=function(d){return function(m,O){return d!==void 0?+d(m,O)||0:O!==O?-1:m!==m?1:m===0&&O===0?1/m>0&&1/O<0?1:-1:m>O}};S("sort",function(){function x(d){return d!==void 0&&a(d),P?y(this,d):o(I(this),R(d))}return x}(),!P||g)},78651:function(u,i,t){"use strict";var r=t(72951),n=t(10475),e=t(74067),a=t(489),o=r.aTypedArray,s=r.exportTypedArrayMethod;s("subarray",function(){function c(v,l){var h=o(this),I=h.length,S=e(v,I),T=a(h);return new T(h.buffer,h.byteOffset+S*h.BYTES_PER_ELEMENT,n((l===void 0?I:e(l,I))-S))}return c}())},81664:function(u,i,t){"use strict";var r=t(40224),n=t(70918),e=t(72951),a=t(41746),o=t(77713),s=r.Int8Array,c=e.aTypedArray,v=e.exportTypedArrayMethod,l=[].toLocaleString,h=!!s&&a(function(){l.call(new s(1))}),I=a(function(){return[1,2].toLocaleString()!==new s([1,2]).toLocaleString()})||!a(function(){s.prototype.toLocaleString.call([1,2])});v("toLocaleString",function(){function S(){return n(l,h?o(c(this)):c(this),o(arguments))}return S}(),I)},35579:function(u,i,t){"use strict";var r=t(72951).exportTypedArrayMethod,n=t(41746),e=t(40224),a=t(18161),o=e.Uint8Array,s=o&&o.prototype||{},c=[].toString,v=a([].join);n(function(){c.call({})})&&(c=function(){function h(){return v(this)}return h}());var l=s.toString!==c;r("toString",c,l)},99683:function(u,i,t){"use strict";var r=t(12218);r("Uint16",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},80941:function(u,i,t){"use strict";var r=t(12218);r("Uint32",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},45338:function(u,i,t){"use strict";var r=t(12218);r("Uint8",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()})},40737:function(u,i,t){"use strict";var r=t(12218);r("Uint8",function(n){return function(){function e(a,o,s){return n(this,a,o,s)}return e}()},!0)},74283:function(u,i,t){"use strict";var r=t(56255),n=t(40224),e=t(18161),a=t(13648),o=t(29126),s=t(93439),c=t(32920),v=t(56831),l=t(35086).enforce,h=t(41746),I=t(90777),S=Object,T=Array.isArray,y=S.isExtensible,g=S.isFrozen,P=S.isSealed,R=S.freeze,x=S.seal,d=!n.ActiveXObject&&"ActiveXObject"in n,m,O=function(G){return function(){function K(){return G(this,arguments.length?arguments[0]:void 0)}return K}()},E=s("WeakMap",O,c),C=E.prototype,b=e(C.set),M=function(){return r&&h(function(){var G=R([]);return b(new E,G,1),!g(G)})};if(I)if(d){m=c.getConstructor(O,"WeakMap",!0),o.enable();var $=e(C.delete),N=e(C.has),z=e(C.get);a(C,{delete:function(){function Q(G){if(v(G)&&!y(G)){var K=l(this);return K.frozen||(K.frozen=new m),$(this,G)||K.frozen.delete(G)}return $(this,G)}return Q}(),has:function(){function Q(G){if(v(G)&&!y(G)){var K=l(this);return K.frozen||(K.frozen=new m),N(this,G)||K.frozen.has(G)}return N(this,G)}return Q}(),get:function(){function Q(G){if(v(G)&&!y(G)){var K=l(this);return K.frozen||(K.frozen=new m),N(this,G)?z(this,G):K.frozen.get(G)}return z(this,G)}return Q}(),set:function(){function Q(G,K){if(v(G)&&!y(G)){var _=l(this);_.frozen||(_.frozen=new m),N(this,G)?b(this,G,K):_.frozen.set(G,K)}else b(this,G,K);return this}return Q}()})}else M()&&a(C,{set:function(){function Q(G,K){var _;return T(G)&&(g(G)?_=R:P(G)&&(_=x)),b(this,G,K),_&&_(G),this}return Q}()})},84033:function(u,i,t){"use strict";t(74283)},82389:function(u,i,t){"use strict";var r=t(93439),n=t(32920);r("WeakSet",function(e){return function(){function a(){return e(this,arguments.length?arguments[0]:void 0)}return a}()},n)},71863:function(u,i,t){"use strict";t(82389)},73993:function(u,i,t){"use strict";var r=t(77549),n=t(40224),e=t(91314).clear;r({global:!0,bind:!0,enumerable:!0,forced:n.clearImmediate!==e},{clearImmediate:e})},55457:function(u,i,t){"use strict";t(73993),t(72532)},57399:function(u,i,t){"use strict";var r=t(77549),n=t(40224),e=t(27150),a=t(97361),o=t(22789),s=t(41746),c=t(14141),v=s(function(){return c&&Object.getOwnPropertyDescriptor(n,"queueMicrotask").value.length!==1});r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:v},{queueMicrotask:function(){function l(h){o(arguments.length,1),e(a(h))}return l}()})},72532:function(u,i,t){"use strict";var r=t(77549),n=t(40224),e=t(91314).set,a=t(83827),o=n.setImmediate?a(e,!1):e;r({global:!0,bind:!0,enumerable:!0,forced:n.setImmediate!==o},{setImmediate:o})},48112:function(u,i,t){"use strict";var r=t(77549),n=t(40224),e=t(83827),a=e(n.setInterval,!0);r({global:!0,bind:!0,forced:n.setInterval!==a},{setInterval:a})},82274:function(u,i,t){"use strict";var r=t(77549),n=t(40224),e=t(83827),a=e(n.setTimeout,!0);r({global:!0,bind:!0,forced:n.setTimeout!==a},{setTimeout:a})},65836:function(u,i,t){"use strict";t(48112),t(82274)},50719:function(u){"use strict";/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var i,t=[],r=[],n=function(){if(0)var l;window.onunload=function(){return i&&i.close()}},e=function(l){return r.push(l)},a=function(l){var h=[],S=function(g){return typeof g=="number"&&!Number.isFinite(g)?{__number__:String(g)}:typeof g=="undefined"?{__undefined__:!0}:g},E=function(g,R){if(typeof R=="object"){if(R===null)return R;if(h.includes(R))return"[circular ref]";h.push(R);var P=R instanceof Error||R.code&&R.message&&R.message.includes("Error");return P?{__error__:!0,string:String(R),stack:R.stack}:Array.isArray(R)?R.map(S):R}return S(R)},O=JSON.stringify(l,E);return h=null,O},o=function(l){if(0)var h,S,E},s=function(l,h){if(0)var S,E,O},c=function(){};u.exports={subscribe:e,sendMessage:o,sendLogEntry:s,setupHotReloading:c}}},Sr={};function $(u){var i=Sr[u];if(i!==void 0)return i.exports;var t=Sr[u]={exports:{}};return Wr[u](t,t.exports,$),t.exports}(function(){$.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(u){if(typeof window=="object")return window}}()})();var Rn={};(function(){"use strict";$(32321),$(64777),$(65884),$(56564),$(68981),$(27699),$(22905),$(96311),$(61292),$(75419),$(67638),$(7601),$(89010),$(5401),$(75836),$(33901),$(85803),$(7216),$(50584),$(26632),$(25972),$(55222),$(14064),$(68616),$(45168),$(26088),$(92654),$(58423),$(26017),$(37808),$(2509),$(2124),$(38196),$(7731),$(56913),$(48704),$(24077),$(60230),$(43430),$(53407),$(69220),$(72978),$(55784),$(41365),$(58874),$(85806),$(3521),$(94961),$(91777),$(49615),$(70700),$(31032),$(83329),$(15700),$(85783),$(51430),$(10944),$(36418),$(68872),$(93105),$(1795),$(11121),$(18730),$(11624),$(89004),$(72680),$(75213),$(4347),$(86433),$(21401),$(54468),$(36183),$(95499),$(50929),$(91447),$(84314),$(48211),$(52237),$(306),$(22509),$(84660),$(82678),$(76585),$(21733),$(21210),$(10272),$(83403),$(4229),$(53388),$(53121),$(53822),$(2514),$(2218),$(14955),$(79220),$(81941),$(37245),$(8373),$(81212),$(26054),$(57745),$(49611),$(98344),$(55750),$(7340),$(63429),$(9558),$(2420),$(19015),$(34137),$(24705),$(55318),$(49456),$(12217),$(75795),$(79063),$(1210),$(91370),$(17327),$(2679),$(60733),$(27262),$(47278),$(22547),$(92992),$(64650),$(71255),$(97836),$(65558),$(83932),$(72941),$(57918),$(2394),$(37517),$(65699),$(11360),$(33683),$(16792),$(8),$(76015),$(57318),$(33177),$(1429),$(56515),$(30343),$(60981),$(96578),$(59592),$(54511),$(84368),$(76980),$(25492),$(13684),$(79646),$(98511),$(30733),$(58683),$(70277),$(36865),$(13763),$(56001),$(58713),$(41960),$(31772),$(43059),$(97363),$(99755),$(33278),$(65331),$(25855),$(97372),$(70088),$(7284),$(76464),$(58549),$(42774),$(65446),$(21066),$(62243),$(35249),$(68739),$(5723),$(40353),$(87975),$(20812),$(5640),$(47736),$(81944),$(68685),$(72214),$(48774),$(2915),$(17165),$(10702),$(76622),$(64408),$(22306),$(90334),$(69880),$(37167),$(25109),$(367),$(8459),$(16970),$(11386)})(),function(){"use strict";var u=$(28823);$(63457);var i=$(64960),t=$(37994),r=(0,i.createRenderer)(function(){return(0,u.createComponentVNode)(2,t.TguiSay)}),n=function e(){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",e);return}r()};n()}()})();})(); + */var i,t=[],r=[],n=function(){if(0)var l;window.onunload=function(){return i&&i.close()}},e=function(l){return r.push(l)},a=function(l){var h=[],I=function(g){return typeof g=="number"&&!Number.isFinite(g)?{__number__:String(g)}:typeof g=="undefined"?{__undefined__:!0}:g},S=function(g,P){if(typeof P=="object"){if(P===null)return P;if(h.includes(P))return"[circular ref]";h.push(P);var R=P instanceof Error||P.code&&P.message&&P.message.includes("Error");return R?{__error__:!0,string:String(P),stack:P.stack}:Array.isArray(P)?P.map(I):P}return I(P)},T=JSON.stringify(l,S);return h=null,T},o=function(l){if(0)var h,I,S},s=function(l,h){if(0)var I,S,T},c=function(){};u.exports={subscribe:e,sendMessage:o,sendLogEntry:s,setupHotReloading:c}}},Sr={};function D(u){var i=Sr[u];if(i!==void 0)return i.exports;var t=Sr[u]={exports:{}};return Wr[u](t,t.exports,D),t.exports}(function(){D.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(u){if(typeof window=="object")return window}}()})();var Rn={};(function(){"use strict";D(99414),D(27718),D(46951),D(86042),D(93267),D(41664),D(48965),D(44844),D(25030),D(96454),D(77564),D(44875),D(77904),D(35723),D(65755),D(35496),D(76604),D(24974),D(6297),D(5364),D(35173),D(16576),D(88707),D(21508),D(86339),D(81850),D(98661),D(13431),D(65809),D(8611),D(97246),D(48741),D(90446),D(509),D(61902),D(96149),D(66617),D(99883),D(56855),D(67869),D(8291),D(42811),D(97824),D(70238),D(21664),D(57348),D(98878),D(4624),D(96097),D(45022),D(79155),D(53397),D(52037),D(21698),D(20509),D(9530),D(17814),D(37812),D(86551),D(10940),D(73763),D(3372),D(51629),D(69727),D(27482),D(7108),D(4115),D(63953),D(71377),D(63956),D(90037),D(46818),D(26681),D(83646),D(28876),D(36385),D(84295),D(59785),D(8846),D(50237),D(6436),D(68286),D(23940),D(82425),D(82118),D(7419),D(42409),D(29002),D(85795),D(74722),D(5300),D(85684),D(36014),D(98551),D(66288),D(26862),D(78686),D(36789),D(82707),D(69740),D(87847),D(54789),D(49626),D(67660),D(43619),D(42777),D(13045),D(38664),D(29650),D(58176),D(35286),D(13313),D(26528),D(54959),D(78129),D(54412),D(82427),D(8390),D(68260),D(86508),D(65971),D(17134),D(18972),D(78623),D(60149),D(56380),D(72792),D(60631),D(25168),D(85177),D(95880),D(59978),D(96360),D(43108),D(37801),D(3044),D(48432),D(54564),D(58179),D(68164),D(58880),D(54465),D(97327),D(19114),D(23797),D(17337),D(53713),D(84469),D(11121),D(93073),D(50800),D(36),D(30519),D(33547),D(53426),D(32031),D(13153),D(21953),D(83560),D(63465),D(98998),D(96227),D(15483),D(86829),D(68265),D(36030),D(32791),D(25888),D(35718),D(45338),D(40737),D(99683),D(80941),D(84805),D(79305),D(71573),D(47910),D(48447),D(99662),D(57371),D(68220),D(15745),D(43398),D(97722),D(79088),D(6075),D(46896),D(47145),D(72606),D(349),D(28292),D(54890),D(66368),D(74188),D(81976),D(78651),D(81664),D(35579),D(84033),D(71863),D(55457),D(57399),D(65836),D(55776),D(16666)})(),function(){"use strict";var u=D(96524);D(33643);var i=D(33917);document.onreadystatechange=function(){if(document.readyState!=="complete"){Byond.sendMessage("ready_state_error");return}var t=document.getElementById("react-root");(0,u.render)((0,u.createComponentVNode)(2,i.TguiSay),t)}}()})();})(); diff --git a/tgui/public/tgui.bundle.css b/tgui/public/tgui.bundle.css index 962d1f08c26b..bca7cccb13c7 100644 --- a/tgui/public/tgui.bundle.css +++ b/tgui/public/tgui.bundle.css @@ -1 +1 @@ -html,body{box-sizing:border-box;height:100%;margin:0;font-size:12px}html{overflow:hidden;cursor:default}body{overflow:auto;font-family:Verdana,Geneva,sans-serif}*,*:before,*:after{box-sizing:inherit}h1,h2,h3,h4,h5,h6{display:block;margin:0;padding:6px 0;padding:.5rem 0}h1{font-size:18px;font-size:1.5rem}h2{font-size:16px;font-size:1.333rem}h3{font-size:14px;font-size:1.167rem}h4{font-size:12px;font-size:1rem}td,th{vertical-align:baseline;text-align:left}.candystripe:nth-child(odd){background-color:rgba(0,0,0,.25)}.color-black{color:#1a1a1a!important}.color-white{color:#fff!important}.color-red{color:#df3e3e!important}.color-orange{color:#f37f33!important}.color-yellow{color:#fbda21!important}.color-olive{color:#cbe41c!important}.color-green{color:#25ca4c!important}.color-teal{color:#00d6cc!important}.color-blue{color:#2e93de!important}.color-violet{color:#7349cf!important}.color-purple{color:#ad45d0!important}.color-pink{color:#e34da1!important}.color-brown{color:#b97447!important}.color-grey{color:#848484!important}.color-good{color:#68c22d!important}.color-average{color:#f29a29!important}.color-bad{color:#df3e3e!important}.color-label{color:#8b9bb0!important}.color-bg-black{background-color:#000!important}.color-bg-white{background-color:#d9d9d9!important}.color-bg-red{background-color:#bd2020!important}.color-bg-orange{background-color:#d95e0c!important}.color-bg-yellow{background-color:#d9b804!important}.color-bg-olive{background-color:#9aad14!important}.color-bg-green{background-color:#1b9638!important}.color-bg-teal{background-color:#009a93!important}.color-bg-blue{background-color:#1c71b1!important}.color-bg-violet{background-color:#552dab!important}.color-bg-purple{background-color:#8b2baa!important}.color-bg-pink{background-color:#cf2082!important}.color-bg-brown{background-color:#8c5836!important}.color-bg-grey{background-color:#646464!important}.color-bg-good{background-color:#4d9121!important}.color-bg-average{background-color:#cd7a0d!important}.color-bg-bad{background-color:#bd2020!important}.color-bg-label{background-color:#657a94!important}.debug-layout,.debug-layout *:not(g):not(path){color:rgba(255,255,255,.9)!important;background:rgba(0,0,0,0)!important;outline:1px solid rgba(255,255,255,.5)!important;box-shadow:none!important;filter:none!important}.debug-layout:hover,.debug-layout *:not(g):not(path):hover{outline-color:rgba(255,255,255,.8)!important}.outline-dotted{outline-style:dotted!important}.outline-dashed{outline-style:dashed!important}.outline-solid{outline-style:solid!important}.outline-double{outline-style:double!important}.outline-groove{outline-style:groove!important}.outline-ridge{outline-style:ridge!important}.outline-inset{outline-style:inset!important}.outline-outset{outline-style:outset!important}.outline-color-black{outline:.167rem solid #1a1a1a!important}.outline-color-white{outline:.167rem solid #fff!important}.outline-color-red{outline:.167rem solid #df3e3e!important}.outline-color-orange{outline:.167rem solid #f37f33!important}.outline-color-yellow{outline:.167rem solid #fbda21!important}.outline-color-olive{outline:.167rem solid #cbe41c!important}.outline-color-green{outline:.167rem solid #25ca4c!important}.outline-color-teal{outline:.167rem solid #00d6cc!important}.outline-color-blue{outline:.167rem solid #2e93de!important}.outline-color-violet{outline:.167rem solid #7349cf!important}.outline-color-purple{outline:.167rem solid #ad45d0!important}.outline-color-pink{outline:.167rem solid #e34da1!important}.outline-color-brown{outline:.167rem solid #b97447!important}.outline-color-grey{outline:.167rem solid #848484!important}.outline-color-good{outline:.167rem solid #68c22d!important}.outline-color-average{outline:.167rem solid #f29a29!important}.outline-color-bad{outline:.167rem solid #df3e3e!important}.outline-color-label{outline:.167rem solid #8b9bb0!important}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-baseline{text-align:baseline}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-pre{white-space:pre}.text-bold{font-weight:700}.text-italic{font-style:italic}.text-underline{text-decoration:underline}.BlockQuote{color:#8b9bb0;border-left:.1666666667em solid #8b9bb0;padding-left:.5em;margin-bottom:.5em}.BlockQuote:last-child{margin-bottom:0}.Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.Button:last-child{margin-right:0;margin-bottom:0}.Button .fa,.Button .fas,.Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.Button--hasContent .fa,.Button--hasContent .fas,.Button--hasContent .far{margin-right:.25em}.Button--hasContent.Button--iconRight .fa,.Button--hasContent.Button--iconRight .fas,.Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.Button--fluid{display:block;margin-left:0;margin-right:0}.Button--circular{border-radius:50%}.Button--compact{padding:0 .25em;line-height:1.333em}.Button--multiLine{white-space:normal;word-wrap:break-word}.Button--color--black{transition:color .1s,background-color .1s;background-color:#000;color:#fff}.Button--color--black:focus{transition:color .25s,background-color .25s}.Button--color--black:hover{background-color:#101010;color:#fff}.Button--color--white{transition:color .1s,background-color .1s;background-color:#d9d9d9;color:#000}.Button--color--white:focus{transition:color .25s,background-color .25s}.Button--color--white:hover{background-color:#f8f8f8;color:#000}.Button--color--red{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.Button--color--red:focus{transition:color .25s,background-color .25s}.Button--color--red:hover{background-color:#d93f3f;color:#fff}.Button--color--orange{transition:color .1s,background-color .1s;background-color:#d95e0c;color:#fff}.Button--color--orange:focus{transition:color .25s,background-color .25s}.Button--color--orange:hover{background-color:#ef7e33;color:#fff}.Button--color--yellow{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.Button--color--yellow:focus{transition:color .25s,background-color .25s}.Button--color--yellow:hover{background-color:#f5d523;color:#000}.Button--color--olive{transition:color .1s,background-color .1s;background-color:#9aad14;color:#fff}.Button--color--olive:focus{transition:color .25s,background-color .25s}.Button--color--olive:hover{background-color:#bdd327;color:#fff}.Button--color--green{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.Button--color--green:focus{transition:color .25s,background-color .25s}.Button--color--green:hover{background-color:#2fb94f;color:#fff}.Button--color--teal{transition:color .1s,background-color .1s;background-color:#009a93;color:#fff}.Button--color--teal:focus{transition:color .25s,background-color .25s}.Button--color--teal:hover{background-color:#10bdb6;color:#fff}.Button--color--blue{transition:color .1s,background-color .1s;background-color:#1c71b1;color:#fff}.Button--color--blue:focus{transition:color .25s,background-color .25s}.Button--color--blue:hover{background-color:#308fd6;color:#fff}.Button--color--violet{transition:color .1s,background-color .1s;background-color:#552dab;color:#fff}.Button--color--violet:focus{transition:color .25s,background-color .25s}.Button--color--violet:hover{background-color:#7249ca;color:#fff}.Button--color--purple{transition:color .1s,background-color .1s;background-color:#8b2baa;color:#fff}.Button--color--purple:focus{transition:color .25s,background-color .25s}.Button--color--purple:hover{background-color:#aa46ca;color:#fff}.Button--color--pink{transition:color .1s,background-color .1s;background-color:#cf2082;color:#fff}.Button--color--pink:focus{transition:color .25s,background-color .25s}.Button--color--pink:hover{background-color:#e04ca0;color:#fff}.Button--color--brown{transition:color .1s,background-color .1s;background-color:#8c5836;color:#fff}.Button--color--brown:focus{transition:color .25s,background-color .25s}.Button--color--brown:hover{background-color:#ae724c;color:#fff}.Button--color--grey{transition:color .1s,background-color .1s;background-color:#646464;color:#fff}.Button--color--grey:focus{transition:color .25s,background-color .25s}.Button--color--grey:hover{background-color:#818181;color:#fff}.Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.Button--color--good:focus{transition:color .25s,background-color .25s}.Button--color--good:hover{background-color:#67b335;color:#fff}.Button--color--average{transition:color .1s,background-color .1s;background-color:#cd7a0d;color:#fff}.Button--color--average:focus{transition:color .25s,background-color .25s}.Button--color--average:hover{background-color:#eb972b;color:#fff}.Button--color--bad{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.Button--color--bad:focus{transition:color .25s,background-color .25s}.Button--color--bad:hover{background-color:#d93f3f;color:#fff}.Button--color--label{transition:color .1s,background-color .1s;background-color:#657a94;color:#fff}.Button--color--label:focus{transition:color .25s,background-color .25s}.Button--color--label:hover{background-color:#8a9aae;color:#fff}.Button--color--default{transition:color .1s,background-color .1s;background-color:#3e6189;color:#fff}.Button--color--default:focus{transition:color .25s,background-color .25s}.Button--color--default:hover{background-color:#567daa;color:#fff}.Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.Button--color--caution:focus{transition:color .25s,background-color .25s}.Button--color--caution:hover{background-color:#f5d523;color:#000}.Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.Button--color--danger:focus{transition:color .25s,background-color .25s}.Button--color--danger:hover{background-color:#d93f3f;color:#fff}.Button--color--transparent{transition:color .1s,background-color .1s;background-color:#252525;color:#fff;background-color:rgba(37,37,37,0);color:rgba(255,255,255,.5)}.Button--color--transparent:focus{transition:color .25s,background-color .25s}.Button--color--transparent:hover{background-color:#3a3a3a;color:#fff}.Button--color--translucent{transition:color .1s,background-color .1s;background-color:#252525;color:#fff;background-color:rgba(37,37,37,.6);color:rgba(255,255,255,.5)}.Button--color--translucent:focus{transition:color .25s,background-color .25s}.Button--color--translucent:hover{background-color:#3a3a3a;color:#fff}.Button--disabled{background-color:#999!important}.Button--selected{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.Button--selected:focus{transition:color .25s,background-color .25s}.Button--selected:hover{background-color:#2fb94f;color:#fff}.Button--modal{float:right;z-index:1;margin-top:-.5rem}.Collapsible{margin-bottom:.5rem}.Collapsible:last-child{margin-bottom:0}.ColorBox{display:inline-block;width:1em;height:1em;line-height:1em;text-align:center}.Dimmer{display:flex;justify-content:center;align-items:center;position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.75);z-index:1}.Dropdown{position:relative;align-items:center}.Dropdown__control{display:inline-block;align-items:center;font-family:Verdana,sans-serif;font-size:1em;width:8.3333333333em;line-height:1.3333333333em;-ms-user-select:none;user-select:none}.Dropdown__arrow-button{float:right;padding-left:.35em;width:1.2em;height:1.8333333333em;border-left:.0833333333em solid #000;border-left:.0833333333em solid rgba(0,0,0,.25)}.Dropdown__menu{overflow-y:auto;align-items:center;z-index:5;max-height:16.6666666667em;border-radius:0 0 .1666666667em .1666666667em;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75)}.Dropdown__menu-scroll{overflow-y:scroll}.Dropdown__menuentry{padding:.1666666667em .3333333333em;font-family:Verdana,sans-serif;font-size:1em;line-height:1.4166666667em;transition:background-color .1s ease-out}.Dropdown__menuentry.selected{background-color:rgba(255,255,255,.5)!important;transition:background-color 0ms}.Dropdown__menuentry:hover{background-color:rgba(255,255,255,.2);transition:background-color 0ms}.Dropdown__over{top:auto;bottom:100%}.Dropdown__selected-text{display:inline-block;text-overflow:ellipsis;white-space:nowrap;height:1.4166666667em;width:calc(100% - 1.2em);text-align:left;padding-top:2.5px}.Flex{display:-ms-flexbox;display:flex}.Flex--inline{display:inline-flex}.Flex--iefix{display:block}.Flex--iefix.Flex--inline,.Flex__item--iefix{display:inline-block}.Flex--iefix--column>.Flex__item--iefix{display:block}.IconStack>.Icon{position:absolute;width:100%;text-align:center}.IconStack{position:relative;display:inline-block;height:7em;width:10em;line-height:2em;vertical-align:middle}.IconStack:after{color:rgba(0,0,0,0);content:"."}.Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.Knob__popupValue,.Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.Knob__popupValue--right{top:.25rem;right:-50%}.Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.Knob__ringTrackPivot{transform:rotate(135deg)}.Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.Knob__ringFillPivot{transform:rotate(135deg)}.Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.Knob--color--white .Knob__ringFill{stroke:#fff}.Knob--color--red .Knob__ringFill{stroke:#df3e3e}.Knob--color--orange .Knob__ringFill{stroke:#f37f33}.Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.Knob--color--green .Knob__ringFill{stroke:#25ca4c}.Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.Knob--color--blue .Knob__ringFill{stroke:#2e93de}.Knob--color--violet .Knob__ringFill{stroke:#7349cf}.Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.Knob--color--pink .Knob__ringFill{stroke:#e34da1}.Knob--color--brown .Knob__ringFill{stroke:#b97447}.Knob--color--grey .Knob__ringFill{stroke:#848484}.Knob--color--good .Knob__ringFill{stroke:#68c22d}.Knob--color--average .Knob__ringFill{stroke:#f29a29}.Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.Knob--color--label .Knob__ringFill{stroke:#8b9bb0}.LabeledList{display:table;width:100%;width:calc(100% + 1em);border-collapse:collapse;border-spacing:0;margin:-.25em -.5em 0;padding:0}.LabeledList__row{display:table-row}.LabeledList__row:last-child .LabeledList__cell{padding-bottom:0}.LabeledList__cell{display:table-cell;margin:0;padding:.25em .5em;border:0;text-align:left;vertical-align:baseline}.LabeledList__label{width:1%;white-space:nowrap;min-width:5em}.LabeledList__buttons{width:.1%;white-space:nowrap;text-align:right;padding-top:.0833333333em;padding-bottom:0}.LabeledList__breakContents{word-break:break-all;word-wrap:break-word}.Modal{background-color:#252525;max-width:calc(100% - 1rem);padding:1rem;scrollbar-base-color:#1c1c1c;scrollbar-face-color:#3b3b3b;scrollbar-3dlight-color:#252525;scrollbar-highlight-color:#252525;scrollbar-track-color:#1c1c1c;scrollbar-arrow-color:#929292;scrollbar-shadow-color:#3b3b3b}.NanoMap__container{overflow:hidden;width:100%;z-index:1}.NanoMap__marker{z-index:10;padding:0;margin:0}.NanoMap__button{padding:3px;font-size:12px;border:2px solid #000}.NanoMap__button:hover{background-color:#adff2f}.NanoMap__zoomer{z-index:20;background-color:rgba(0,0,0,.33);position:absolute;top:30px;left:0;padding:.5rem;width:20%}.NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#000;background-color:#bb9b68;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.NoticeBox--color--black{color:#fff;background-color:#000}.NoticeBox--color--white{color:#000;background-color:#b3b3b3}.NoticeBox--color--red{color:#fff;background-color:#701f1f}.NoticeBox--color--orange{color:#fff;background-color:#854114}.NoticeBox--color--yellow{color:#000;background-color:#83710d}.NoticeBox--color--olive{color:#000;background-color:#576015}.NoticeBox--color--green{color:#fff;background-color:#174e24}.NoticeBox--color--teal{color:#fff;background-color:#064845}.NoticeBox--color--blue{color:#fff;background-color:#1b4565}.NoticeBox--color--violet{color:#fff;background-color:#3b2864}.NoticeBox--color--purple{color:#fff;background-color:#542663}.NoticeBox--color--pink{color:#fff;background-color:#802257}.NoticeBox--color--brown{color:#fff;background-color:#4c3729}.NoticeBox--color--grey{color:#fff;background-color:#3e3e3e}.NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.NoticeBox--color--average{color:#fff;background-color:#7b4e13}.NoticeBox--color--bad{color:#fff;background-color:#701f1f}.NoticeBox--color--label{color:#fff;background-color:#53565a}.NoticeBox--type--info{color:#fff;background-color:#235982}.NoticeBox--type--success{color:#fff;background-color:#1e662f}.NoticeBox--type--warning{color:#fff;background-color:#a95219}.NoticeBox--type--danger{color:#fff;background-color:#8f2828}.NumberInput{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;color:#88bfff;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.NumberInput--fluid{display:block}.NumberInput__content{margin-left:.5em}.NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #88bfff;background-color:#88bfff}.NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.ProgressBar__fill--animated{transition:background-color .5s,width .5s}.ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.ProgressBar--color--default{border:.0833333333em solid #3e6189}.ProgressBar--color--default .ProgressBar__fill{background-color:#3e6189}.ProgressBar--color--disabled{border:1px solid #999}.ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.ProgressBar--color--black{border:.0833333333em solid #000!important}.ProgressBar--color--black .ProgressBar__fill{background-color:#000}.ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.ProgressBar--color--grey{border:.0833333333em solid #646464!important}.ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.ProgressBar--color--label{border:.0833333333em solid #657a94!important}.ProgressBar--color--label .ProgressBar__fill{background-color:#657a94}.RoundGauge{font-size:1rem;width:2.6em;height:1.3em;margin:0 auto .2em}.RoundGauge__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:10;stroke-dasharray:157.08;stroke-dashoffset:157.08}.RoundGauge__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:10;stroke-dasharray:314.16;transition:stroke 50ms}.RoundGauge__needle,.RoundGauge__ringFill{transition:transform 50ms ease-in-out}.RoundGauge__needleLine,.RoundGauge__needleMiddle{fill:#db2828}.RoundGauge__alert{fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;fill:rgba(255,255,255,.1)}.RoundGauge__alert.max{fill:#db2828}.RoundGauge--color--black.RoundGauge__ringFill{stroke:#1a1a1a}.RoundGauge--color--white.RoundGauge__ringFill{stroke:#fff}.RoundGauge--color--red.RoundGauge__ringFill{stroke:#df3e3e}.RoundGauge--color--orange.RoundGauge__ringFill{stroke:#f37f33}.RoundGauge--color--yellow.RoundGauge__ringFill{stroke:#fbda21}.RoundGauge--color--olive.RoundGauge__ringFill{stroke:#cbe41c}.RoundGauge--color--green.RoundGauge__ringFill{stroke:#25ca4c}.RoundGauge--color--teal.RoundGauge__ringFill{stroke:#00d6cc}.RoundGauge--color--blue.RoundGauge__ringFill{stroke:#2e93de}.RoundGauge--color--violet.RoundGauge__ringFill{stroke:#7349cf}.RoundGauge--color--purple.RoundGauge__ringFill{stroke:#ad45d0}.RoundGauge--color--pink.RoundGauge__ringFill{stroke:#e34da1}.RoundGauge--color--brown.RoundGauge__ringFill{stroke:#b97447}.RoundGauge--color--grey.RoundGauge__ringFill{stroke:#848484}.RoundGauge--color--good.RoundGauge__ringFill{stroke:#68c22d}.RoundGauge--color--average.RoundGauge__ringFill{stroke:#f29a29}.RoundGauge--color--bad.RoundGauge__ringFill{stroke:#df3e3e}.RoundGauge--color--label.RoundGauge__ringFill{stroke:#8b9bb0}.RoundGauge__alert--black{fill:#1a1a1a;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--white{fill:#fff;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--red{fill:#df3e3e;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--orange{fill:#f37f33;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--yellow{fill:#fbda21;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--olive{fill:#cbe41c;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--green{fill:#25ca4c;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--teal{fill:#00d6cc;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--blue{fill:#2e93de;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--violet{fill:#7349cf;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--purple{fill:#ad45d0;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--pink{fill:#e34da1;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--brown{fill:#b97447;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--grey{fill:#848484;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--good{fill:#68c22d;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--average{fill:#f29a29;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--bad{fill:#df3e3e;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--label{fill:#8b9bb0;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}@keyframes RoundGauge__alertAnim{0%{opacity:.1}50%{opacity:1}to{opacity:.1}}.Section{position:relative;margin-bottom:.5em;background-color:#191919;background-color:rgba(0,0,0,.33);box-sizing:border-box}.Section:last-child{margin-bottom:0}.Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.Section__rest{position:relative}.Section__content{padding:.66em .5em}.Section--fitted>.Section__rest>.Section__content{padding:0}.Section--fill{display:flex;flex-direction:column;height:100%}.Section--fill>.Section__rest{flex-grow:1}.Section--fill>.Section__rest>.Section__content{height:100%}.Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.Section--scrollable{overflow-x:hidden;overflow-y:hidden}.Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.Section .Section:first-child{margin-top:-.5em}.Section .Section .Section__titleText{font-size:1.0833333333em}.Section .Section .Section .Section__titleText{font-size:1em}.Slider:not(.Slider__disabled){cursor:e-resize}.Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.Divider--horizontal{margin:.5em 0}.Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.Divider--vertical{height:100%;margin:0 .5em}.Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.Stack--fill{height:100%}.Stack--horizontal>.Stack__item{margin-left:.5em}.Stack--horizontal>.Stack__item:first-child{margin-left:0}.Stack--vertical>.Stack__item{margin-top:.5em}.Stack--vertical>.Stack__item:first-child{margin-top:0}.Stack--zebra>.Stack__item:nth-child(2n){background-color:rgba(0,0,0,.33)}.Stack--horizontal>.Stack__divider:not(.Stack__divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.Stack--vertical>.Stack__divider:not(.Stack__divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.Table{display:table;width:100%;border-collapse:collapse;border-spacing:0;margin:0}.Table--collapsing{width:auto}.Table__row{display:table-row}.Table__cell{display:table-cell;padding:0 .25em}.Table__cell:first-child{padding-left:0}.Table__cell:last-child{padding-right:0}.Table__row--header .Table__cell,.Table__cell--header{font-weight:700;padding-bottom:.5em}.Table__cell--collapsing{width:1%;white-space:nowrap}.Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:rgba(0,0,0,.33)}.Tabs--fill{height:100%}.Section .Tabs{background-color:rgba(0,0,0,0)}.Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.Tabs--horizontal:last-child{margin-bottom:0}.Tabs__Tab{flex-grow:0}.Tabs--fluid .Tabs__Tab{flex-grow:1}.Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(255,255,255,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.Tab:not(.Tab--selected):hover{background-color:rgba(255,255,255,.075);transition:background-color 0}.Tab--selected{background-color:rgba(255,255,255,.125);color:#dfe7f0}.Tab__text{flex-grow:1;margin:0 .5em}.Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #d4dfec}.Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.Tabs--vertical .Tab--selected{border-left:.1666666667em solid #d4dfec}.Tab--selected.Tab--color--black{color:#535353}.Tabs--horizontal .Tab--selected.Tab--color--black{border-bottom-color:#1a1a1a}.Tabs--vertical .Tab--selected.Tab--color--black{border-left-color:#1a1a1a}.Tab--selected.Tab--color--white{color:#fff}.Tabs--horizontal .Tab--selected.Tab--color--white{border-bottom-color:#fff}.Tabs--vertical .Tab--selected.Tab--color--white{border-left-color:#fff}.Tab--selected.Tab--color--red{color:#e76e6e}.Tabs--horizontal .Tab--selected.Tab--color--red{border-bottom-color:#df3e3e}.Tabs--vertical .Tab--selected.Tab--color--red{border-left-color:#df3e3e}.Tab--selected.Tab--color--orange{color:#f69f66}.Tabs--horizontal .Tab--selected.Tab--color--orange{border-bottom-color:#f37f33}.Tabs--vertical .Tab--selected.Tab--color--orange{border-left-color:#f37f33}.Tab--selected.Tab--color--yellow{color:#fce358}.Tabs--horizontal .Tab--selected.Tab--color--yellow{border-bottom-color:#fbda21}.Tabs--vertical .Tab--selected.Tab--color--yellow{border-left-color:#fbda21}.Tab--selected.Tab--color--olive{color:#d8eb55}.Tabs--horizontal .Tab--selected.Tab--color--olive{border-bottom-color:#cbe41c}.Tabs--vertical .Tab--selected.Tab--color--olive{border-left-color:#cbe41c}.Tab--selected.Tab--color--green{color:#53e074}.Tabs--horizontal .Tab--selected.Tab--color--green{border-bottom-color:#25ca4c}.Tabs--vertical .Tab--selected.Tab--color--green{border-left-color:#25ca4c}.Tab--selected.Tab--color--teal{color:#21fff5}.Tabs--horizontal .Tab--selected.Tab--color--teal{border-bottom-color:#00d6cc}.Tabs--vertical .Tab--selected.Tab--color--teal{border-left-color:#00d6cc}.Tab--selected.Tab--color--blue{color:#62aee6}.Tabs--horizontal .Tab--selected.Tab--color--blue{border-bottom-color:#2e93de}.Tabs--vertical .Tab--selected.Tab--color--blue{border-left-color:#2e93de}.Tab--selected.Tab--color--violet{color:#9676db}.Tabs--horizontal .Tab--selected.Tab--color--violet{border-bottom-color:#7349cf}.Tabs--vertical .Tab--selected.Tab--color--violet{border-left-color:#7349cf}.Tab--selected.Tab--color--purple{color:#c274db}.Tabs--horizontal .Tab--selected.Tab--color--purple{border-bottom-color:#ad45d0}.Tabs--vertical .Tab--selected.Tab--color--purple{border-left-color:#ad45d0}.Tab--selected.Tab--color--pink{color:#ea79b9}.Tabs--horizontal .Tab--selected.Tab--color--pink{border-bottom-color:#e34da1}.Tabs--vertical .Tab--selected.Tab--color--pink{border-left-color:#e34da1}.Tab--selected.Tab--color--brown{color:#ca9775}.Tabs--horizontal .Tab--selected.Tab--color--brown{border-bottom-color:#b97447}.Tabs--vertical .Tab--selected.Tab--color--brown{border-left-color:#b97447}.Tab--selected.Tab--color--grey{color:#a3a3a3}.Tabs--horizontal .Tab--selected.Tab--color--grey{border-bottom-color:#848484}.Tabs--vertical .Tab--selected.Tab--color--grey{border-left-color:#848484}.Tab--selected.Tab--color--good{color:#8cd95a}.Tabs--horizontal .Tab--selected.Tab--color--good{border-bottom-color:#68c22d}.Tabs--vertical .Tab--selected.Tab--color--good{border-left-color:#68c22d}.Tab--selected.Tab--color--average{color:#f5b35e}.Tabs--horizontal .Tab--selected.Tab--color--average{border-bottom-color:#f29a29}.Tabs--vertical .Tab--selected.Tab--color--average{border-left-color:#f29a29}.Tab--selected.Tab--color--bad{color:#e76e6e}.Tabs--horizontal .Tab--selected.Tab--color--bad{border-bottom-color:#df3e3e}.Tabs--vertical .Tab--selected.Tab--color--bad{border-left-color:#df3e3e}.Tab--selected.Tab--color--label{color:#a8b4c4}.Tabs--horizontal .Tab--selected.Tab--color--label{border-bottom-color:#8b9bb0}.Tabs--vertical .Tab--selected.Tab--color--label{border-left-color:#8b9bb0}.Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.Input--fluid{display:block;width:auto}.Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input--monospace .Input__input{font-family:Consolas,monospace}.TextArea{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.TextArea--fluid{display:block;width:auto;height:auto}.TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.Tooltip{z-index:2;padding:.5em .75em;pointer-events:none;text-align:left;transition:opacity .15s ease-out;background-color:#000;color:#fff;box-shadow:.1em .1em 1.25em -.1em rgba(0,0,0,.5);border-radius:.16em;max-width:20.8333333333em}.AccountsUplinkTerminal__list tr>td{text-align:center}.AccountsUplinkTerminal__list tr:not(:first-child){height:24px;line-height:24px;cursor:pointer;transition:background-color 50ms}.AccountsUplinkTerminal__list tr:not(:first-child):hover,.AccountsUplinkTerminal__list tr:not(:first-child):focus{background-color:#252525}.AccountsUplinkTerminal__listRow--SUSPENDED{background-color:#740c20}.AlertModal__Message{text-align:center;justify-content:center}.AlertModal__Buttons{justify-content:center}.AlertModal__Loader{width:100%;position:relative;height:4px}.AlertModal__LoaderProgress{position:absolute;transition:background-color .5s ease-out,width .5s ease-out;background-color:#3e6189;height:100%}.BrigCells__list .Table__row--header,.BrigCells__list .Table__cell{text-align:center}.BrigCells__list .BrigCells__listRow--active .Table__cell{background-color:#890e26}.CameraConsole__left{position:absolute;top:36px;bottom:0;left:0;width:18.9166666667em}.CameraConsole__right{position:absolute;top:0;bottom:0;left:18.3333333333em;right:0;margin:.5em;background-color:rgba(0,0,0,.33)}.CameraConsole__toolbar{position:absolute;top:0;left:0;right:0;height:2em;line-height:2em;margin:.25em 1em 0}.CameraConsole__toolbarRight{position:absolute;top:0;right:0;height:2em;line-height:2em;margin:.33em .5em 0}.CameraConsole__map{position:absolute;top:2.1666666667em;bottom:0;left:0;right:0;margin:.5em;text-align:center}.CameraConsole__map .NoticeBox{margin-top:calc(50% - 2em)}.CameraConsole__right_map{position:relative;display:flex;flex:1;height:90%;bottom:3em;flex-direction:column;background-color:rgba(0,0,0,.33)}.Contractor *{font-family:Courier New,Courier,monospace}.Contractor .Section__titleText{display:inline-block;max-width:70%}.Contractor .Section__titleText>.Flex{width:100%}.Contractor .Section__titleText>.Flex>.Flex__item:first-of-type{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Contractor__Contract .Button{font-size:11px;white-space:normal!important}.Contractor__photoZoom{text-align:center}.Contractor__photoZoom>img{width:96px;-ms-interpolation-mode:nearest-neighbor}.Contractor__photoZoom>.Button{position:absolute}.Exofab .Dropdown__control{margin-bottom:-1px}.Exofab .Dropdown__selected-text{overflow:hidden;text-overflow:ellipsis;width:80%;display:inline-block;margin-bottom:-3px}.Exofab__materials{height:100%;overflow:auto}.Exofab__materials .Section__content{height:calc(100% - 31px)}.Exofab__material:not(.Exofab__material--line){margin-bottom:.25rem}.Exofab__material:not(.Exofab__material--line) .Button{width:28px;margin-right:.5rem}.Exofab__material--line .Button{background-color:rgba(0,0,0,0);width:14px}.Exofab__material--name{color:#7e90a7;text-transform:capitalize}.Exofab__material .Button{margin-bottom:0;padding:0;vertical-align:middle}.Exofab__queue{height:100%}.Exofab__queue--queue .Button{margin:0;transform:scale(.75)}.Exofab__queue--queue .Button:first-of-type{margin-left:.25rem}.Exofab__queue--time{text-align:center;color:#7e90a7}.Exofab__queue--deficit{text-align:center;color:#db2828;font-weight:700}.Exofab__queue--deficit>div:not(.Divider){display:inline-block;margin-bottom:-.75rem}.Exofab__queue .Section__content{height:calc(100% - 31px)}.Exofab__queue .Exofab__material--amount{margin-right:.25rem}.Exofab__design--cost{display:inline-block;vertical-align:middle;margin-top:.25rem}.Exofab__design--cost>div{display:inline-block}.Exofab__design--cost .Exofab__material{margin-left:.25rem}.Exofab__design--time{display:inline-block;margin-left:.5rem;color:#7e90a7}.Exofab__design--time i{margin-right:.25rem}.Exofab__designs .Section__content{height:calc(100% - 31px);overflow:auto}.Exofab__building{height:45px}.Exofab__building .ProgressBar{width:100%;height:75%}.Exofab__building .ProgressBar__content{line-height:26px;text-align:right;font-size:12px;font-weight:700;display:flex;justify-content:flex-end}.Exofab__dropdown{line-height:14px;font-size:12px;width:225px;height:85%;margin-top:1.5px}.Ingredient__Table tr:nth-child(2n){background-color:#333}.Ingredient__Table td{padding:3px}.Library__Booklist tr>td{text-align:center}.Library__Booklist tr:not(:first-child){height:24px;line-height:24px;transition:background-color 50ms}.Library__Booklist tr:not(:first-child):hover,.Library__Booklist tr:not(:first-child):focus{background-color:#252525}.Library__SearchContainer{background-color:rgba(37,37,37,.5)}.Library__SearchContainer tr td:first-child{width:60%}.ListInput__Section .Section__title{flex-shrink:0}.ListInput__Section .Section__titleText{font-size:12px}.ListInput__Loader{width:100%;position:relative;height:4px}.ListInput__LoaderProgress{position:absolute;transition:background-color .5s,width .5s;background-color:#3e6189;height:100%}.Newscaster__menu{width:40px;height:100%;margin-right:.5rem;flex-basis:content}.Newscaster__menu .Section__content{padding-left:0}.Newscaster__menuButton{color:#767676;cursor:pointer;position:relative;margin-left:6px;margin-right:1rem;white-space:nowrap;transition:color .1s}.Newscaster__menuButton--title{width:80%;display:none;overflow:hidden;text-overflow:ellipsis}.Newscaster__menuButton--unread{background-color:#e45e5e;color:#fff;font-size:10px;text-align:center;border-radius:32px;display:inline-block;width:12px;position:absolute;left:16px;margin-top:14px}.Newscaster__menuButton--selected{color:#fff}.Newscaster__menuButton--selected:after{content:"";background-color:#4972a1;width:2px;height:24px;position:absolute;left:-6px}.Newscaster__menuButton--security{color:#4972a1}.Newscaster__menuButton i{width:30px;text-align:center;vertical-align:middle;margin-left:-1px;margin-right:.5rem;margin-top:1px}.Newscaster__menuButton:hover{color:#fff}.Newscaster__menuButton:hover:before{background-color:#fff}.Newscaster__menuButton:not(:last-of-type){margin-bottom:.5rem}.Newscaster__menu--open{width:175px}.Newscaster__menu--open .Newscaster__menuButton--title{display:inline-block}.Newscaster__jobCategory--security .Section__title{color:#a14c49;border-bottom:2px solid #a14c49!important}.Newscaster__jobCategory--engineering .Section__title{color:#a17849;border-bottom:2px solid #a17849!important}.Newscaster__jobCategory--medical .Section__title{color:#499ea1;border-bottom:2px solid #499ea1!important}.Newscaster__jobCategory--science .Section__title{color:#a14972;border-bottom:2px solid #a14972!important}.Newscaster__jobCategory--service .Section__title{color:#a1499e;border-bottom:2px solid #a1499e!important}.Newscaster__jobCategory--supply .Section__title{color:#9ea149;border-bottom:2px solid #9ea149!important}.Newscaster__jobCategory:last-child{margin-bottom:.5rem}.Newscaster__jobOpening--command{font-weight:700}.Newscaster__jobOpening:not(:last-child){margin-bottom:.5rem}.Newscaster__emptyNotice{color:#7e90a7;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translate(-50%)}.Newscaster__emptyNotice i{margin-bottom:.25rem}.Newscaster__photo{cursor:pointer;width:100px;border:1px solid #000;transition:border-color .3s;-ms-interpolation-mode:nearest-neighbor}.Newscaster__photo:hover{border-color:gray}.Newscaster__photoZoom{text-align:center}.Newscaster__photoZoom>img{transform:scale(2);-ms-interpolation-mode:nearest-neighbor}.Newscaster__photoZoom>.Button{position:absolute;width:64px;left:50%;margin-left:-32px;bottom:1rem}.Newscaster__story--wanted{background-color:rgba(219,40,40,.1)}.Newscaster__story--wanted .Section__title{color:#db2828;border-bottom:2px solid #a14c49!important}.Newscaster__story:last-child{margin-bottom:.5rem}.NuclearBomb__displayBox{background-color:#002003;border:.167em inset #e8e4c9;color:#03e017;font-size:2em;font-family:monospace;padding:.25em}.NuclearBomb__Button{outline-width:.25rem!important;border-width:.65rem!important;padding-left:0!important;padding-right:0!important}.NuclearBomb__Button--keypad{background-color:#e8e4c9;border-color:#e8e4c9}.NuclearBomb__Button--keypad:hover{background-color:#f7f6ee!important;border-color:#f7f6ee!important}.NuclearBomb__Button--1{background-color:#d3cfb7!important;border-color:#d3cfb7!important;color:#a9a692!important}.NuclearBomb__Button--E{background-color:#d9b804!important;border-color:#d9b804!important}.NuclearBomb__Button--E:hover{background-color:#f3d00e!important;border-color:#f3d00e!important}.NuclearBomb__Button--C{background-color:#bd2020!important;border-color:#bd2020!important}.NuclearBomb__Button--C:hover{background-color:#d52b2b!important;border-color:#d52b2b!important}.OreRedemption__Ores .OreLine,.OreRedemption__Ores .OreHeader{min-height:32px;padding:0 .5rem}.OreRedemption__Ores .OreHeader{line-height:32px;background-color:rgba(0,0,0,.33);font-weight:700}.OreRedemption__Ores .OreLine:last-of-type{margin-bottom:.5rem}.OreRedemption__Ores .Section__content{padding:0;height:100%;overflow:auto}.PDA__footer{position:fixed;bottom:0%;left:0%;right:0%;height:30px}.PDA__footer__button{text-align:center;padding-top:4px;padding-bottom:2px;font-size:24px}.PdaPainter__list tr>td{text-align:center}.PdaPainter__list tr{height:24px;line-height:24px;cursor:pointer;transition:background-color 50ms}.PdaPainter__list tr:hover,.PdaPainter__list tr:focus{background-color:#252525}.PoolController__Buttons .Button:not(:last-child){margin-bottom:8px}.PrizeCounter__BuyButton{width:64px;height:100%;padding-top:.25em;text-align:center;font-size:1.5rem;font-weight:700;background-color:rgba(64,64,64,.33);color:#bfbfbf;transition:color .1s,background-color .1s}.PrizeCounter__BuyButton:hover{background-color:rgba(84,84,84,.33);color:#fff}.PrizeCounter__BuyButton .fa,.PrizeCounter__BuyButton .fas,.PrizeCounter__BuyButton .far{color:rgba(60,255,60,.66);transform:scale(1.6);position:absolute;top:2.1em;left:1.4em}.PrizeCounter__BuyButton--disabled{background-color:rgba(255,50,50,.1);color:gray}.PrizeCounter__BuyButton--disabled .fa,.PrizeCounter__BuyButton--disabled .fas,.PrizeCounter__BuyButton--disabled .far{color:rgba(255,60,60,.66)}.PrizeCounter__BuyButton--disabled:hover,.PrizeCounter__BuyButton--disabled:focus{background-color:rgba(255,50,50,.1);color:gray}.PrizeCounter__Item{margin-bottom:.5em;background-color:rgba(125,125,125,.05);border:.0833333333em solid rgba(64,64,64,.33)}.RndConsole{position:relative}.RndConsole__Overlay{position:absolute;display:flex;align-items:stretch;justify-content:stretch;top:0;left:0;width:100%;height:100vh}.RndConsole__LatheCategory__MatchingDesigns .Table__cell{padding-bottom:4px}.RndConsole__MainMenu__Buttons .Button:not(:last-child){margin-bottom:4px}.RndConsole__LatheMaterials .Table__cell:nth-child(2){padding-left:16px}.RndConsole__LatheMaterialStorage .Table__cell{padding:4px 0;border-bottom:1px solid #767676}.RndConsole__Overlay__Wrapper{display:flex;align-items:center;justify-content:stretch;flex-grow:1;padding:24px;background-color:rgba(255,255,255,0)}.RndConsole__Overlay__Wrapper .NoticeBox{flex-grow:1;margin-bottom:80px;font-size:18pt;padding:.3em .75em}.RndConsole__RndNavbar .Button{margin-bottom:10px}.Roulette{font-family:Palatino}.Roulette__board{display:table;width:100%;border-collapse:collapse;border:2px solid #fff;margin:0}.Roulette__board-row{padding:0;margin:0}.Roulette__board-cell{display:table-cell;padding:0;margin:0;border:2px solid #fff;font-family:Palatino}.Roulette__board-cell:first-child{padding-left:0}.Roulette__board-cell:last-child{padding-right:0}.Roulette__board-extrabutton{text-align:center;font-size:20px;font-weight:700;height:28px;border:none!important;margin:0!important;padding-top:4px!important;color:#fff!important}.Roulette__lowertable{margin-top:8px;margin-left:80px;margin-right:80px;border-collapse:collapse;border:2px solid #fff;border-spacing:0}.Roulette__lowertable--cell{border:2px solid #fff;padding:0;margin:0}.Roulette__lowertable--betscell{vertical-align:top}.Roulette__lowertable--spinresult{text-align:center;font-size:100px;font-weight:700;vertical-align:middle}.Roulette__lowertable--spinresult-black{background-color:#000}.Roulette__lowertable--spinresult-red{background-color:#db2828}.Roulette__lowertable--spinresult-green{background-color:#20b142}.Roulette__lowertable--spinbutton{margin:0!important;border:none!important;font-size:50px;line-height:60px!important;text-align:center;font-weight:700}.Roulette__lowertable--header{width:1%;text-align:center;font-size:20px;font-weight:700}.Safe--engraving{position:absolute;width:95%;height:96%;left:2.5%;top:2%;border:5px outset #364963;padding:5px;text-align:center}.Safe--engraving--arrow{color:#35435a}.Safe--engraving--hinge{content:" ";background-color:#191f2a;width:25px;height:40px;position:absolute;right:-15px;margin-top:-20px}.Safe--dialer{margin-bottom:.5rem}.Safe--dialer--number{color:#bbb;display:inline;background-color:#191f2a;font-size:1.5rem;font-weight:700;padding:0 .5rem}.Safe--dialer--right .Button i{z-index:-100}.Safe--dialer .Button{width:80px}.Safe--contents{border:10px solid #191f2a;background-color:#0f131a;height:calc(85% + 7.5px);text-align:left;padding:5px}.Safe--help{position:absolute;bottom:30px;left:25px;width:50%}.SecureStorage__displayBox{background-color:#212121;color:#8b8b8b;border:.167em inset #e8e4c9;font-size:375%;font-family:monospace;padding:.25em}.SecureStorage__displayBox--good{background-color:#002003;color:#03e017}.SecureStorage__displayBox--bad{background-color:#210000;color:#e00202}.SecureStorage__Button{outline-width:.25rem!important;border-width:.3rem!important;border:.167em outset #e8e4c9;padding-left:0!important;padding-right:0!important}.SecureStorage__Button--keypad{background-color:#e8e4c9;border-color:#e8e4c9;color:#a9a692}.SecureStorage__Button--keypad:hover{background-color:#f7f6ee;border-color:#f7f6ee;color:#a9a692}.SecureStorage__Button--E{background-color:#d9b804;border-color:#d9b804;color:#fff}.SecureStorage__Button--E:hover{background-color:#f5d317;border-color:#f5d317;color:#fff}.SecureStorage__Button--C{background-color:#bd2020;border-color:#bd2020;color:#fff}.SecureStorage__Button--C:hover{background-color:#d83434;border-color:#d83434;color:#fff}.SecurityRecords__list tr>td{text-align:center}.SecurityRecords__list tr:not(:first-child){height:24px;line-height:24px;cursor:pointer;transition:background-color 50ms}.SecurityRecords__list tr:not(:first-child):hover,.SecurityRecords__list tr:not(:first-child):focus{background-color:#252525}.SecurityRecords__listRow--arrest{background-color:#740c20}.SecurityRecords__listRow--execute{background-color:#683e8c}.SecurityRecords__listRow--incarcerated{background-color:#633203}.SecurityRecords__listRow--parolled{background-color:#006d7b}.SecurityRecords__listRow--released{background-color:#1c5574}.SecurityRecords__listRow--demote{background-color:#155500}.SecurityRecords__listRow--search{background-color:#987a00}.SecurityRecords__listRow--monitor{background-color:#1f1180}.MedicalRecords__list tr>td{text-align:center}.MedicalRecords__list tr:not(:first-child){height:24px;line-height:24px;cursor:pointer;transition:background-color 50ms}.MedicalRecords__list tr:not(:first-child):hover,.MedicalRecords__list tr:not(:first-child):focus{background-color:#252525}.MedicalRecords__listRow--deceased{background-color:#740c20}.MedicalRecords__listRow--ssd{background-color:#006d7b}.MedicalRecords__listRow--physically_unfit{background-color:#987a00}.MedicalRecords__listRow--disabled{background-color:#1f1180}.MedicalRecords__listMedbot--0{background-color:#2b1414}.Layout,.Layout *{scrollbar-base-color:#1c1c1c;scrollbar-face-color:#3b3b3b;scrollbar-3dlight-color:#252525;scrollbar-highlight-color:#252525;scrollbar-track-color:#1c1c1c;scrollbar-arrow-color:#929292;scrollbar-shadow-color:#3b3b3b}.Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.Layout__content--flexRow{display:flex;flex-flow:row}.Layout__content--flexColumn{display:flex;flex-flow:column}.Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.Layout__content--noMargin{margin:0}.TitleBar{background-color:#363636;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#363636;transition:color .25s,background-color .25s}.TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#252525;background-image:linear-gradient(to bottom,#2a2a2a,#202020)}.Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.Window__contentPadding:after{height:0}.Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(62,62,62,.25);pointer-events:none}.Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.Layout__content{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMCIgdmlld0JveD0iMCAwIDQyNSAyMDAiIG9wYWNpdHk9Ii4zMyI+PHBhdGggZD0ibSAxNzguMDAzOTksMC4wMzg2OSAtNzEuMjAzOTMsMCBhIDYuNzYxMzQyMiw2LjAyNTU0OTUgMCAwIDAgLTYuNzYxMzQsNi4wMjU1NSBsIDAsMTg3Ljg3MTQ3IGEgNi43NjEzNDIyLDYuMDI1NTQ5NSAwIDAgMCA2Ljc2MTM0LDYuMDI1NTQgbCA1My4xMDcyLDAgYSA2Ljc2MTM0MjIsNi4wMjU1NDk1IDAgMCAwIDYuNzYxMzUsLTYuMDI1NTQgbCAwLC0xMDEuNTQ0MDE4IDcyLjIxNjI4LDEwNC42OTkzOTggYSA2Ljc2MTM0MjIsNi4wMjU1NDk1IDAgMCAwIDUuNzYwMTUsMi44NzAxNiBsIDczLjU1NDg3LDAgYSA2Ljc2MTM0MjIsNi4wMjU1NDk1IDAgMCAwIDYuNzYxMzUsLTYuMDI1NTQgbCAwLC0xODcuODcxNDcgYSA2Ljc2MTM0MjIsNi4wMjU1NDk1IDAgMCAwIC02Ljc2MTM1LC02LjAyNTU1IGwgLTU0LjcxNjQ0LDAgYSA2Ljc2MTM0MjIsNi4wMjU1NDk1IDAgMCAwIC02Ljc2MTMzLDYuMDI1NTUgbCAwLDEwMi42MTkzNSBMIDE4My43NjQxMywyLjkwODg2IGEgNi43NjEzNDIyLDYuMDI1NTQ5NSAwIDAgMCAtNS43NjAxNCwtMi44NzAxNyB6IiAvPjxwYXRoIGQ9Ik0gNC44NDQ2MzMzLDIyLjEwODc1IEEgMTMuNDEyMDM5LDEyLjUwMTg0MiAwIDAgMSAxMy40Nzc1ODgsMC4wMzkyNCBsIDY2LjExODMxNSwwIGEgNS4zNjQ4MTU4LDUuMDAwNzM3IDAgMCAxIDUuMzY0ODIzLDUuMDAwNzMgbCAwLDc5Ljg3OTMxIHoiIC8+PHBhdGggZD0ibSA0MjAuMTU1MzUsMTc3Ljg5MTE5IGEgMTMuNDEyMDM4LDEyLjUwMTg0MiAwIDAgMSAtOC42MzI5NSwyMi4wNjk1MSBsIC02Ni4xMTgzMiwwIGEgNS4zNjQ4MTUyLDUuMDAwNzM3IDAgMCAxIC01LjM2NDgyLC01LjAwMDc0IGwgMCwtNzkuODc5MzEgeiIgLz48L3N2Zz48IS0tIFRoaXMgd29yayBpcyBsaWNlbnNlZCB1bmRlciBhIENyZWF0aXZlIENvbW1vbnMgQXR0cmlidXRpb24tU2hhcmVBbGlrZSA0LjAgSW50ZXJuYXRpb25hbCBMaWNlbnNlLiAtLT48IS0tIGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LXNhLzQuMC8gLS0+);background-size:70%;background-position:center;background-repeat:no-repeat}.theme-abductor .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:2px;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-abductor .Button:last-child{margin-right:0;margin-bottom:0}.theme-abductor .Button .fa,.theme-abductor .Button .fas,.theme-abductor .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-abductor .Button--hasContent .fa,.theme-abductor .Button--hasContent .fas,.theme-abductor .Button--hasContent .far{margin-right:.25em}.theme-abductor .Button--hasContent.Button--iconRight .fa,.theme-abductor .Button--hasContent.Button--iconRight .fas,.theme-abductor .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-abductor .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-abductor .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-abductor .Button--circular{border-radius:50%}.theme-abductor .Button--compact{padding:0 .25em;line-height:1.333em}.theme-abductor .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-abductor .Button--color--default{transition:color .1s,background-color .1s;background-color:#ad2350;color:#fff}.theme-abductor .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-abductor .Button--color--default:hover{background-color:#d03a6b;color:#fff}.theme-abductor .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-abductor .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-abductor .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-abductor .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-abductor .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-abductor .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-abductor .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#2a314a;color:#fff;background-color:rgba(42,49,74,0);color:rgba(255,255,255,.5)}.theme-abductor .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-abductor .Button--color--transparent:hover{background-color:#404764;color:#fff}.theme-abductor .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#2a314a;color:#fff;background-color:rgba(42,49,74,.6);color:rgba(255,255,255,.5)}.theme-abductor .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-abductor .Button--color--translucent:hover{background-color:#404764;color:#fff}.theme-abductor .Button--disabled{background-color:#363636!important}.theme-abductor .Button--selected{transition:color .1s,background-color .1s;background-color:#465899;color:#fff}.theme-abductor .Button--selected:focus{transition:color .25s,background-color .25s}.theme-abductor .Button--selected:hover{background-color:#6577b5;color:#fff}.theme-abductor .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-abductor .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#fff;background-color:#a82d55;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-abductor .NoticeBox--type--info{color:#fff;background-color:#235982}.theme-abductor .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-abductor .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-abductor .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-abductor .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #404b6e;border:.0833333333em solid rgba(64,75,110,.75);border-radius:2px;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-abductor .Input--disabled{color:#777;border-color:#171717;border-color:rgba(23,23,23,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-abductor .Input--fluid{display:block;width:auto}.theme-abductor .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-abductor .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-abductor .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-abductor .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-abductor .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-abductor .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-abductor .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #404b6e;border:.0833333333em solid rgba(64,75,110,.75);border-radius:2px;color:#404b6e;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-abductor .NumberInput--fluid{display:block}.theme-abductor .NumberInput__content{margin-left:.5em}.theme-abductor .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-abductor .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #404b6e;background-color:#404b6e}.theme-abductor .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-abductor .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:2px;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-abductor .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-abductor .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-abductor .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-abductor .ProgressBar--color--default{border:.0833333333em solid #931e44}.theme-abductor .ProgressBar--color--default .ProgressBar__fill{background-color:#931e44}.theme-abductor .ProgressBar--color--disabled{border:1px solid #363636}.theme-abductor .ProgressBar--color--disabled .ProgressBar__fill{background-color:#363636}.theme-abductor .Section{position:relative;margin-bottom:.5em;background-color:#1c2132;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-abductor .Section:last-child{margin-bottom:0}.theme-abductor .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #ad2350}.theme-abductor .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-abductor .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-abductor .Section__rest{position:relative}.theme-abductor .Section__content{padding:.66em .5em}.theme-abductor .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-abductor .Section--fill{display:flex;flex-direction:column;height:100%}.theme-abductor .Section--fill>.Section__rest{flex-grow:1}.theme-abductor .Section--fill>.Section__rest>.Section__content{height:100%}.theme-abductor .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-abductor .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-abductor .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-abductor .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-abductor .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-abductor .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-abductor .Section .Section:first-child{margin-top:-.5em}.theme-abductor .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-abductor .Section .Section .Section .Section__titleText{font-size:1em}.theme-abductor .Tooltip{z-index:2;padding:.5em .75em;pointer-events:none;text-align:left;transition:opacity .15s ease-out;background-color:#a82d55;color:#fff;box-shadow:.1em .1em 1.25em -.1em rgba(0,0,0,.5);border-radius:2px;max-width:20.8333333333em}.theme-abductor .Layout,.theme-abductor .Layout *{scrollbar-base-color:#202538;scrollbar-face-color:#384263;scrollbar-3dlight-color:#2a314a;scrollbar-highlight-color:#2a314a;scrollbar-track-color:#202538;scrollbar-arrow-color:#818db8;scrollbar-shadow-color:#384263}.theme-abductor .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-abductor .Layout__content--flexRow{display:flex;flex-flow:row}.theme-abductor .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-abductor .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-abductor .Layout__content--noMargin{margin:0}.theme-abductor .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#2a314a;background-image:linear-gradient(to bottom,#353e5e,#1f2436)}.theme-abductor .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-abductor .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-abductor .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-abductor .Window__contentPadding:after{height:0}.theme-abductor .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-abductor .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(68,76,104,.25);pointer-events:none}.theme-abductor .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-abductor .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-abductor .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-abductor .TitleBar{background-color:#9e1b46;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-abductor .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#9e1b46;transition:color .25s,background-color .25s}.theme-abductor .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-abductor .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-abductor .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-abductor .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-abductor .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-abductor .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-abductor .Layout__content{background-image:none}.theme-cardtable .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:0;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-cardtable .Button:last-child{margin-right:0;margin-bottom:0}.theme-cardtable .Button .fa,.theme-cardtable .Button .fas,.theme-cardtable .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-cardtable .Button--hasContent .fa,.theme-cardtable .Button--hasContent .fas,.theme-cardtable .Button--hasContent .far{margin-right:.25em}.theme-cardtable .Button--hasContent.Button--iconRight .fa,.theme-cardtable .Button--hasContent.Button--iconRight .fas,.theme-cardtable .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-cardtable .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-cardtable .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-cardtable .Button--circular{border-radius:50%}.theme-cardtable .Button--compact{padding:0 .25em;line-height:1.333em}.theme-cardtable .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-cardtable .Button--color--default{transition:color .1s,background-color .1s;background-color:#117039;color:#fff}.theme-cardtable .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-cardtable .Button--color--default:hover{background-color:#238e50;color:#fff}.theme-cardtable .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-cardtable .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-cardtable .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-cardtable .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-cardtable .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-cardtable .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-cardtable .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#117039;color:#fff;background-color:rgba(17,112,57,0);color:rgba(255,255,255,.5)}.theme-cardtable .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-cardtable .Button--color--transparent:hover{background-color:#238e50;color:#fff}.theme-cardtable .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#117039;color:#fff;background-color:rgba(17,112,57,.6);color:rgba(255,255,255,.5)}.theme-cardtable .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-cardtable .Button--color--translucent:hover{background-color:#238e50;color:#fff}.theme-cardtable .Button--disabled{background-color:#363636!important}.theme-cardtable .Button--selected{transition:color .1s,background-color .1s;background-color:#9d0808;color:#fff}.theme-cardtable .Button--selected:focus{transition:color .25s,background-color .25s}.theme-cardtable .Button--selected:hover{background-color:#c11919;color:#fff}.theme-cardtable .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-cardtable .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:0;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-cardtable .Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-cardtable .Input--fluid{display:block;width:auto}.theme-cardtable .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-cardtable .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-cardtable .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-cardtable .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-cardtable .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-cardtable .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-cardtable .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #fff;border:.0833333333em solid rgba(255,255,255,.75);border-radius:0;color:#fff;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-cardtable .NumberInput--fluid{display:block}.theme-cardtable .NumberInput__content{margin-left:.5em}.theme-cardtable .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-cardtable .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #fff;background-color:#fff}.theme-cardtable .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-cardtable .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:0;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-cardtable .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-cardtable .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-cardtable .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-cardtable .ProgressBar--color--default{border:.0833333333em solid #000}.theme-cardtable .ProgressBar--color--default .ProgressBar__fill{background-color:#000}.theme-cardtable .ProgressBar--color--disabled{border:1px solid #363636}.theme-cardtable .ProgressBar--color--disabled .ProgressBar__fill{background-color:#363636}.theme-cardtable .Section{position:relative;margin-bottom:.5em;background-color:#0b4b26;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-cardtable .Section:last-child{margin-bottom:0}.theme-cardtable .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #000}.theme-cardtable .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-cardtable .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-cardtable .Section__rest{position:relative}.theme-cardtable .Section__content{padding:.66em .5em}.theme-cardtable .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-cardtable .Section--fill{display:flex;flex-direction:column;height:100%}.theme-cardtable .Section--fill>.Section__rest{flex-grow:1}.theme-cardtable .Section--fill>.Section__rest>.Section__content{height:100%}.theme-cardtable .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-cardtable .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-cardtable .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-cardtable .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-cardtable .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-cardtable .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-cardtable .Section .Section:first-child{margin-top:-.5em}.theme-cardtable .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-cardtable .Section .Section .Section .Section__titleText{font-size:1em}.theme-cardtable .Layout,.theme-cardtable .Layout *{scrollbar-base-color:#0d542b;scrollbar-face-color:#16914a;scrollbar-3dlight-color:#117039;scrollbar-highlight-color:#117039;scrollbar-track-color:#0d542b;scrollbar-arrow-color:#5ae695;scrollbar-shadow-color:#16914a}.theme-cardtable .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-cardtable .Layout__content--flexRow{display:flex;flex-flow:row}.theme-cardtable .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-cardtable .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-cardtable .Layout__content--noMargin{margin:0}.theme-cardtable .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#117039;background-image:linear-gradient(to bottom,#117039,#117039)}.theme-cardtable .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-cardtable .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-cardtable .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-cardtable .Window__contentPadding:after{height:0}.theme-cardtable .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-cardtable .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(39,148,85,.25);pointer-events:none}.theme-cardtable .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-cardtable .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-cardtable .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-cardtable .TitleBar{background-color:#381608;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-cardtable .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#381608;transition:color .25s,background-color .25s}.theme-cardtable .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-cardtable .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-cardtable .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-cardtable .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-cardtable .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-cardtable .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-cardtable .Button{border:.1666666667em solid #fff}.theme-changeling .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:2px;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-changeling .Button:last-child{margin-right:0;margin-bottom:0}.theme-changeling .Button .fa,.theme-changeling .Button .fas,.theme-changeling .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-changeling .Button--hasContent .fa,.theme-changeling .Button--hasContent .fas,.theme-changeling .Button--hasContent .far{margin-right:.25em}.theme-changeling .Button--hasContent.Button--iconRight .fa,.theme-changeling .Button--hasContent.Button--iconRight .fas,.theme-changeling .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-changeling .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-changeling .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-changeling .Button--circular{border-radius:50%}.theme-changeling .Button--compact{padding:0 .25em;line-height:1.333em}.theme-changeling .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-changeling .Button--color--default{transition:color .1s,background-color .1s;background-color:#563d6b;color:#fff}.theme-changeling .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-changeling .Button--color--default:hover{background-color:#715589;color:#fff}.theme-changeling .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-changeling .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-changeling .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-changeling .Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-changeling .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-changeling .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-changeling .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#2e2633;color:#fff;background-color:rgba(46,38,51,0);color:rgba(255,255,255,.5)}.theme-changeling .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-changeling .Button--color--transparent:hover{background-color:#443b4a;color:#fff}.theme-changeling .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#2e2633;color:#fff;background-color:rgba(46,38,51,.6);color:rgba(255,255,255,.5)}.theme-changeling .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-changeling .Button--color--translucent:hover{background-color:#443b4a;color:#fff}.theme-changeling .Button--disabled{background-color:#999!important}.theme-changeling .Button--selected{transition:color .1s,background-color .1s;background-color:#188552;color:#fff}.theme-changeling .Button--selected:focus{transition:color .25s,background-color .25s}.theme-changeling .Button--selected:hover{background-color:#2ba66d;color:#fff}.theme-changeling .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-changeling .Section{position:relative;margin-bottom:.5em;background-color:#1f1922;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-changeling .Section:last-child{margin-bottom:0}.theme-changeling .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #563d6b}.theme-changeling .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-changeling .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-changeling .Section__rest{position:relative}.theme-changeling .Section__content{padding:.66em .5em}.theme-changeling .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-changeling .Section--fill{display:flex;flex-direction:column;height:100%}.theme-changeling .Section--fill>.Section__rest{flex-grow:1}.theme-changeling .Section--fill>.Section__rest>.Section__content{height:100%}.theme-changeling .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-changeling .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-changeling .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-changeling .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-changeling .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-changeling .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-changeling .Section .Section:first-child{margin-top:-.5em}.theme-changeling .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-changeling .Section .Section .Section .Section__titleText{font-size:1em}.theme-changeling .Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:rgba(0,0,0,.33)}.theme-changeling .Tabs--fill{height:100%}.theme-changeling .Section .Tabs{background-color:rgba(0,0,0,0)}.theme-changeling .Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.theme-changeling .Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.theme-changeling .Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.theme-changeling .Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.theme-changeling .Tabs--horizontal:last-child{margin-bottom:0}.theme-changeling .Tabs__Tab{flex-grow:0}.theme-changeling .Tabs--fluid .Tabs__Tab{flex-grow:1}.theme-changeling .Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(255,255,255,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.theme-changeling .Tab:not(.Tab--selected):hover{background-color:rgba(255,255,255,.075);transition:background-color 0}.theme-changeling .Tab--selected{background-color:#563d6b;color:#e3daea}.theme-changeling .Tab__text{flex-grow:1;margin:0 .5em}.theme-changeling .Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.theme-changeling .Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.theme-changeling .Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.theme-changeling .Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #d9cee3}.theme-changeling .Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.theme-changeling .Tabs--vertical .Tab--selected{border-left:.1666666667em solid #d9cee3}.theme-changeling .Layout,.theme-changeling .Layout *{scrollbar-base-color:#231d26;scrollbar-face-color:#44384b;scrollbar-3dlight-color:#2e2633;scrollbar-highlight-color:#2e2633;scrollbar-track-color:#231d26;scrollbar-arrow-color:#9986a5;scrollbar-shadow-color:#44384b}.theme-changeling .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-changeling .Layout__content--flexRow{display:flex;flex-flow:row}.theme-changeling .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-changeling .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-changeling .Layout__content--noMargin{margin:0}.theme-changeling .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#2e2633;background-image:linear-gradient(to bottom,#3e3345,#1e1921)}.theme-changeling .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-changeling .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-changeling .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-changeling .Window__contentPadding:after{height:0}.theme-changeling .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-changeling .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(72,63,78,.25);pointer-events:none}.theme-changeling .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-changeling .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-changeling .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-changeling .TitleBar{background-color:#352d3b;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-changeling .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#352d3b;transition:color .25s,background-color .25s}.theme-changeling .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-changeling .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-changeling .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-changeling .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-changeling .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-changeling .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-changeling .Layout__content{background-image:none}.theme-hackerman .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-hackerman .Button:last-child{margin-right:0;margin-bottom:0}.theme-hackerman .Button .fa,.theme-hackerman .Button .fas,.theme-hackerman .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-hackerman .Button--hasContent .fa,.theme-hackerman .Button--hasContent .fas,.theme-hackerman .Button--hasContent .far{margin-right:.25em}.theme-hackerman .Button--hasContent.Button--iconRight .fa,.theme-hackerman .Button--hasContent.Button--iconRight .fas,.theme-hackerman .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-hackerman .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-hackerman .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-hackerman .Button--circular{border-radius:50%}.theme-hackerman .Button--compact{padding:0 .25em;line-height:1.333em}.theme-hackerman .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-hackerman .Button--color--default{transition:color .1s,background-color .1s;background-color:#0f0;color:#000}.theme-hackerman .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-hackerman .Button--color--default:hover{background-color:#40ff40;color:#000}.theme-hackerman .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-hackerman .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-hackerman .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-hackerman .Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-hackerman .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-hackerman .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-hackerman .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#121b12;color:#fff;background-color:rgba(18,27,18,0);color:rgba(255,255,255,.5)}.theme-hackerman .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-hackerman .Button--color--transparent:hover{background-color:#252f25;color:#fff}.theme-hackerman .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#121b12;color:#fff;background-color:rgba(18,27,18,.6);color:rgba(255,255,255,.5)}.theme-hackerman .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-hackerman .Button--color--translucent:hover{background-color:#252f25;color:#fff}.theme-hackerman .Button--disabled{background-color:#363636!important}.theme-hackerman .Button--selected{transition:color .1s,background-color .1s;background-color:#0f0;color:#000}.theme-hackerman .Button--selected:focus{transition:color .25s,background-color .25s}.theme-hackerman .Button--selected:hover{background-color:#40ff40;color:#000}.theme-hackerman .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-hackerman .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid lime;border:.0833333333em solid rgba(0,255,0,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-hackerman .Input--disabled{color:#777;border-color:#404040;border-color:rgba(64,64,64,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-hackerman .Input--fluid{display:block;width:auto}.theme-hackerman .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-hackerman .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-hackerman .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-hackerman .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-hackerman .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-hackerman .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-hackerman .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-hackerman .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-hackerman .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-hackerman .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-hackerman .ProgressBar--color--default{border:.0833333333em solid #00d900}.theme-hackerman .ProgressBar--color--default .ProgressBar__fill{background-color:#00d900}.theme-hackerman .ProgressBar--color--disabled{border:1px solid #363636}.theme-hackerman .ProgressBar--color--disabled .ProgressBar__fill{background-color:#363636}.theme-hackerman .Modal{background-color:#121b12;max-width:calc(100% - 1rem);padding:1rem;scrollbar-base-color:#0e140e;scrollbar-face-color:#253725;scrollbar-3dlight-color:#121b12;scrollbar-highlight-color:#121b12;scrollbar-track-color:#0e140e;scrollbar-arrow-color:#74a274;scrollbar-shadow-color:#253725}.theme-hackerman .Section{position:relative;margin-bottom:.5em;background-color:#0c120c;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-hackerman .Section:last-child{margin-bottom:0}.theme-hackerman .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid lime}.theme-hackerman .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-hackerman .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-hackerman .Section__rest{position:relative}.theme-hackerman .Section__content{padding:.66em .5em}.theme-hackerman .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-hackerman .Section--fill{display:flex;flex-direction:column;height:100%}.theme-hackerman .Section--fill>.Section__rest{flex-grow:1}.theme-hackerman .Section--fill>.Section__rest>.Section__content{height:100%}.theme-hackerman .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-hackerman .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-hackerman .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-hackerman .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-hackerman .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-hackerman .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-hackerman .Section .Section:first-child{margin-top:-.5em}.theme-hackerman .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-hackerman .Section .Section .Section .Section__titleText{font-size:1em}.theme-hackerman .Layout,.theme-hackerman .Layout *{scrollbar-base-color:#0e140e;scrollbar-face-color:#253725;scrollbar-3dlight-color:#121b12;scrollbar-highlight-color:#121b12;scrollbar-track-color:#0e140e;scrollbar-arrow-color:#74a274;scrollbar-shadow-color:#253725}.theme-hackerman .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-hackerman .Layout__content--flexRow{display:flex;flex-flow:row}.theme-hackerman .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-hackerman .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-hackerman .Layout__content--noMargin{margin:0}.theme-hackerman .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#121b12;background-image:linear-gradient(to bottom,#121b12,#121b12)}.theme-hackerman .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-hackerman .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-hackerman .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-hackerman .Window__contentPadding:after{height:0}.theme-hackerman .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-hackerman .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(40,50,40,.25);pointer-events:none}.theme-hackerman .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-hackerman .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-hackerman .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-hackerman .TitleBar{background-color:#223d22;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-hackerman .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#223d22;transition:color .25s,background-color .25s}.theme-hackerman .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-hackerman .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-hackerman .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-hackerman .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-hackerman .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-hackerman .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-hackerman .Layout__content{background-image:none}.theme-hackerman .Button{font-family:monospace;border-width:.1666666667em;border-style:outset;border-color:#0a0;outline:.0833333333em solid #007a00}.theme-hackerman .candystripe:nth-child(odd){background-color:rgba(0,100,0,.5)}.theme-malfunction .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-malfunction .Button:last-child{margin-right:0;margin-bottom:0}.theme-malfunction .Button .fa,.theme-malfunction .Button .fas,.theme-malfunction .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-malfunction .Button--hasContent .fa,.theme-malfunction .Button--hasContent .fas,.theme-malfunction .Button--hasContent .far{margin-right:.25em}.theme-malfunction .Button--hasContent.Button--iconRight .fa,.theme-malfunction .Button--hasContent.Button--iconRight .fas,.theme-malfunction .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-malfunction .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-malfunction .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-malfunction .Button--circular{border-radius:50%}.theme-malfunction .Button--compact{padding:0 .25em;line-height:1.333em}.theme-malfunction .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-malfunction .Button--color--default{transition:color .1s,background-color .1s;background-color:#910101;color:#fff}.theme-malfunction .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-malfunction .Button--color--default:hover{background-color:#b31111;color:#fff}.theme-malfunction .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-malfunction .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-malfunction .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-malfunction .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-malfunction .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-malfunction .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-malfunction .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#1b3443;color:#fff;background-color:rgba(27,52,67,0);color:rgba(255,255,255,.5)}.theme-malfunction .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-malfunction .Button--color--transparent:hover{background-color:#2f4b5c;color:#fff}.theme-malfunction .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#1b3443;color:#fff;background-color:rgba(27,52,67,.6);color:rgba(255,255,255,.5)}.theme-malfunction .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-malfunction .Button--color--translucent:hover{background-color:#2f4b5c;color:#fff}.theme-malfunction .Button--disabled{background-color:#363636!important}.theme-malfunction .Button--selected{transition:color .1s,background-color .1s;background-color:#1e5881;color:#fff}.theme-malfunction .Button--selected:focus{transition:color .25s,background-color .25s}.theme-malfunction .Button--selected:hover{background-color:#3273a1;color:#fff}.theme-malfunction .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-malfunction .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#fff;background-color:#1a3f57;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-malfunction .NoticeBox--type--info{color:#fff;background-color:#235982}.theme-malfunction .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-malfunction .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-malfunction .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-malfunction .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #910101;border:.0833333333em solid rgba(145,1,1,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-malfunction .Input--disabled{color:#777;border-color:#090909;border-color:rgba(9,9,9,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-malfunction .Input--fluid{display:block;width:auto}.theme-malfunction .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-malfunction .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-malfunction .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-malfunction .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-malfunction .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-malfunction .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-malfunction .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #910101;border:.0833333333em solid rgba(145,1,1,.75);border-radius:.16em;color:#910101;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-malfunction .NumberInput--fluid{display:block}.theme-malfunction .NumberInput__content{margin-left:.5em}.theme-malfunction .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-malfunction .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #910101;background-color:#910101}.theme-malfunction .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-malfunction .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-malfunction .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-malfunction .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-malfunction .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-malfunction .ProgressBar--color--default{border:.0833333333em solid #7b0101}.theme-malfunction .ProgressBar--color--default .ProgressBar__fill{background-color:#7b0101}.theme-malfunction .ProgressBar--color--disabled{border:1px solid #363636}.theme-malfunction .ProgressBar--color--disabled .ProgressBar__fill{background-color:#363636}.theme-malfunction .Section{position:relative;margin-bottom:.5em;background-color:#12232d;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-malfunction .Section:last-child{margin-bottom:0}.theme-malfunction .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #910101}.theme-malfunction .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-malfunction .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-malfunction .Section__rest{position:relative}.theme-malfunction .Section__content{padding:.66em .5em}.theme-malfunction .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-malfunction .Section--fill{display:flex;flex-direction:column;height:100%}.theme-malfunction .Section--fill>.Section__rest{flex-grow:1}.theme-malfunction .Section--fill>.Section__rest>.Section__content{height:100%}.theme-malfunction .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-malfunction .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-malfunction .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-malfunction .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-malfunction .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-malfunction .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-malfunction .Section .Section:first-child{margin-top:-.5em}.theme-malfunction .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-malfunction .Section .Section .Section .Section__titleText{font-size:1em}.theme-malfunction .Tooltip{z-index:2;padding:.5em .75em;pointer-events:none;text-align:left;transition:opacity .15s ease-out;background-color:#235577;color:#fff;box-shadow:.1em .1em 1.25em -.1em rgba(0,0,0,.5);border-radius:.16em;max-width:20.8333333333em}.theme-malfunction .Layout,.theme-malfunction .Layout *{scrollbar-base-color:#142732;scrollbar-face-color:#274b61;scrollbar-3dlight-color:#1b3443;scrollbar-highlight-color:#1b3443;scrollbar-track-color:#142732;scrollbar-arrow-color:#6ba2c3;scrollbar-shadow-color:#274b61}.theme-malfunction .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-malfunction .Layout__content--flexRow{display:flex;flex-flow:row}.theme-malfunction .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-malfunction .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-malfunction .Layout__content--noMargin{margin:0}.theme-malfunction .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#1b3443;background-image:linear-gradient(to bottom,#244559,#12232d)}.theme-malfunction .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-malfunction .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-malfunction .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-malfunction .Window__contentPadding:after{height:0}.theme-malfunction .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-malfunction .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(50,79,96,.25);pointer-events:none}.theme-malfunction .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-malfunction .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-malfunction .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-malfunction .TitleBar{background-color:#1a3f57;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-malfunction .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#1a3f57;transition:color .25s,background-color .25s}.theme-malfunction .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-malfunction .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-malfunction .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-malfunction .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-malfunction .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-malfunction .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-malfunction .Layout__content{background-image:none}.theme-ntos .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-ntos .Button:last-child{margin-right:0;margin-bottom:0}.theme-ntos .Button .fa,.theme-ntos .Button .fas,.theme-ntos .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-ntos .Button--hasContent .fa,.theme-ntos .Button--hasContent .fas,.theme-ntos .Button--hasContent .far{margin-right:.25em}.theme-ntos .Button--hasContent.Button--iconRight .fa,.theme-ntos .Button--hasContent.Button--iconRight .fas,.theme-ntos .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-ntos .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-ntos .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-ntos .Button--circular{border-radius:50%}.theme-ntos .Button--compact{padding:0 .25em;line-height:1.333em}.theme-ntos .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-ntos .Button--color--default{transition:color .1s,background-color .1s;background-color:#384e68;color:#fff}.theme-ntos .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--default:hover{background-color:#4f6885;color:#fff}.theme-ntos .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-ntos .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-ntos .Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-ntos .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#1f2b39;color:#fff;background-color:rgba(31,43,57,0);color:rgba(227,240,255,.75)}.theme-ntos .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--transparent:hover{background-color:#334151;color:#fff}.theme-ntos .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#1f2b39;color:#fff;background-color:rgba(31,43,57,.6);color:rgba(227,240,255,.75)}.theme-ntos .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--translucent:hover{background-color:#334151;color:#fff}.theme-ntos .Button--disabled{background-color:#999!important}.theme-ntos .Button--selected{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-ntos .Button--selected:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--selected:hover{background-color:#2fb94f;color:#fff}.theme-ntos .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-ntos .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-ntos .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-ntos .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-ntos .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-ntos .ProgressBar--color--default{border:.0833333333em solid #384e68}.theme-ntos .ProgressBar--color--default .ProgressBar__fill{background-color:#384e68}.theme-ntos .ProgressBar--color--disabled{border:1px solid #999}.theme-ntos .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-ntos .Section{position:relative;margin-bottom:.5em;background-color:#151d26;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-ntos .Section:last-child{margin-bottom:0}.theme-ntos .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.theme-ntos .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-ntos .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-ntos .Section__rest{position:relative}.theme-ntos .Section__content{padding:.66em .5em}.theme-ntos .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-ntos .Section--fill{display:flex;flex-direction:column;height:100%}.theme-ntos .Section--fill>.Section__rest{flex-grow:1}.theme-ntos .Section--fill>.Section__rest>.Section__content{height:100%}.theme-ntos .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-ntos .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-ntos .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-ntos .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-ntos .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-ntos .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-ntos .Section .Section:first-child{margin-top:-.5em}.theme-ntos .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-ntos .Section .Section .Section .Section__titleText{font-size:1em}.theme-ntos .Layout,.theme-ntos .Layout *{scrollbar-base-color:#17202b;scrollbar-face-color:#2e3f55;scrollbar-3dlight-color:#1f2b39;scrollbar-highlight-color:#1f2b39;scrollbar-track-color:#17202b;scrollbar-arrow-color:#7693b5;scrollbar-shadow-color:#2e3f55}.theme-ntos .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-ntos .Layout__content--flexRow{display:flex;flex-flow:row}.theme-ntos .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-ntos .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-ntos .Layout__content--noMargin{margin:0}.theme-ntos .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#1f2b39;background-image:linear-gradient(to bottom,#223040,#1b2633)}.theme-ntos .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-ntos .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-ntos .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-ntos .Window__contentPadding:after{height:0}.theme-ntos .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-ntos .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,69,85,.25);pointer-events:none}.theme-ntos .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-ntos .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-ntos .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-ntos .TitleBar{background-color:#2a3b4e;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-ntos .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#2a3b4e;transition:color .25s,background-color .25s}.theme-ntos .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-ntos .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-ntos .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-ntos .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-ntos .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-ntos .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-paper .Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:rgba(0,0,0,.33)}.theme-paper .Tabs--fill{height:100%}.theme-paper .Section .Tabs{background-color:rgba(0,0,0,0)}.theme-paper .Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.theme-paper .Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.theme-paper .Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.theme-paper .Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.theme-paper .Tabs--horizontal:last-child{margin-bottom:0}.theme-paper .Tabs__Tab{flex-grow:0}.theme-paper .Tabs--fluid .Tabs__Tab{flex-grow:1}.theme-paper .Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(255,255,255,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.theme-paper .Tab:not(.Tab--selected):hover{background-color:rgba(255,255,255,.075);transition:background-color 0}.theme-paper .Tab--selected{background-color:rgba(255,255,255,.125);color:#fafafa}.theme-paper .Tab__text{flex-grow:1;margin:0 .5em}.theme-paper .Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.theme-paper .Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.theme-paper .Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.theme-paper .Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #f9f9f9}.theme-paper .Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.theme-paper .Tabs--vertical .Tab--selected{border-left:.1666666667em solid #f9f9f9}.theme-paper .Section{position:relative;margin-bottom:.5em;background-color:#e6e6e6;background-color:rgba(0,0,0,.1);box-sizing:border-box}.theme-paper .Section:last-child{margin-bottom:0}.theme-paper .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #fff}.theme-paper .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#000}.theme-paper .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-paper .Section__rest{position:relative}.theme-paper .Section__content{padding:.66em .5em}.theme-paper .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-paper .Section--fill{display:flex;flex-direction:column;height:100%}.theme-paper .Section--fill>.Section__rest{flex-grow:1}.theme-paper .Section--fill>.Section__rest>.Section__content{height:100%}.theme-paper .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-paper .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-paper .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-paper .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-paper .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-paper .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-paper .Section .Section:first-child{margin-top:-.5em}.theme-paper .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-paper .Section .Section .Section .Section__titleText{font-size:1em}.theme-paper .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-paper .Button:last-child{margin-right:0;margin-bottom:0}.theme-paper .Button .fa,.theme-paper .Button .fas,.theme-paper .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-paper .Button--hasContent .fa,.theme-paper .Button--hasContent .fas,.theme-paper .Button--hasContent .far{margin-right:.25em}.theme-paper .Button--hasContent.Button--iconRight .fa,.theme-paper .Button--hasContent.Button--iconRight .fas,.theme-paper .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-paper .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-paper .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-paper .Button--circular{border-radius:50%}.theme-paper .Button--compact{padding:0 .25em;line-height:1.333em}.theme-paper .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-paper .Button--color--default{transition:color .1s,background-color .1s;background-color:#e8e4c9;color:#000}.theme-paper .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-paper .Button--color--default:hover{background-color:#fbfaf5;color:#000}.theme-paper .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-paper .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-paper .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-paper .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-paper .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-paper .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-paper .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#fff;color:#000;background-color:rgba(255,255,255,0);color:rgba(0,0,0,.5)}.theme-paper .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-paper .Button--color--transparent:hover{background-color:#fff;color:#000}.theme-paper .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#fff;color:#000;background-color:rgba(255,255,255,.6);color:rgba(0,0,0,.5)}.theme-paper .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-paper .Button--color--translucent:hover{background-color:#fff;color:#000}.theme-paper .Button--disabled{background-color:#363636!important}.theme-paper .Button--selected{transition:color .1s,background-color .1s;background-color:#9d0808;color:#fff}.theme-paper .Button--selected:focus{transition:color .25s,background-color .25s}.theme-paper .Button--selected:hover{background-color:#c11919;color:#fff}.theme-paper .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-paper .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-paper .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-paper .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-paper .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-paper .ProgressBar--color--default{border:.0833333333em solid #bfbfbf}.theme-paper .ProgressBar--color--default .ProgressBar__fill{background-color:#bfbfbf}.theme-paper .ProgressBar--color--disabled{border:1px solid #363636}.theme-paper .ProgressBar--color--disabled .ProgressBar__fill{background-color:#363636}.theme-paper .Layout,.theme-paper .Layout *{scrollbar-base-color:#bfbfbf;scrollbar-face-color:#fff;scrollbar-3dlight-color:#fff;scrollbar-highlight-color:#fff;scrollbar-track-color:#bfbfbf;scrollbar-arrow-color:#fff;scrollbar-shadow-color:#fff}.theme-paper .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-paper .Layout__content--flexRow{display:flex;flex-flow:row}.theme-paper .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-paper .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-paper .Layout__content--noMargin{margin:0}.theme-paper .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#000;background-color:#fff;background-image:linear-gradient(to bottom,#fff,#fff)}.theme-paper .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-paper .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-paper .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-paper .Window__contentPadding:after{height:0}.theme-paper .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-paper .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(255,255,255,.25);pointer-events:none}.theme-paper .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-paper .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-paper .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-paper .TitleBar{background-color:#fff;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-paper .TitleBar__clickable{color:rgba(0,0,0,.5);background-color:#fff;transition:color .25s,background-color .25s}.theme-paper .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-paper .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(0,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-paper .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-paper .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-paper .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-paper .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-paper .PaperInput{position:relative;display:inline-block;width:120px;border:none;background:rgba(0,0,0,0);border-bottom:1px solid #000;outline:none;background-color:rgba(255,255,62,.8);padding:0 4px;margin-right:2px;line-height:17px;overflow:visible}.theme-paper .PaperInput__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-paper .PaperInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:12px;line-height:17px;height:17px;margin:0;padding:0 6px;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-paper .PaperInput__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paper .Layout__content{background-image:none}.theme-paper .Window{background-image:none;color:#000}.theme-paper .paper-text input:disabled{position:relative;display:inline-block;border:none;background:rgba(0,0,0,0);border-bottom:1px solid #000;outline:none;background-color:rgba(255,255,62,.8);padding:0 4px;margin-right:2px;line-height:17px;overflow:visible}.theme-paper .paper-text input,.theme-paper .paper-field{position:relative;display:inline-block;border:none;background:rgba(0,0,0,0);border-bottom:1px solid #000;outline:none;background-color:rgba(255,255,62,.8);padding:0 4px;margin-right:2px;line-height:17px;overflow:visible}.theme-paper .paper-field input:disabled{position:relative;display:inline-block;border:none;background:rgba(0,0,0,0);border-bottom:1px solid #000;outline:none;background-color:rgba(255,255,62,.8);padding:0 4px;margin-right:2px;line-height:17px;overflow:visible}.theme-retro .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:0;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-retro .Button:last-child{margin-right:0;margin-bottom:0}.theme-retro .Button .fa,.theme-retro .Button .fas,.theme-retro .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-retro .Button--hasContent .fa,.theme-retro .Button--hasContent .fas,.theme-retro .Button--hasContent .far{margin-right:.25em}.theme-retro .Button--hasContent.Button--iconRight .fa,.theme-retro .Button--hasContent.Button--iconRight .fas,.theme-retro .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-retro .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-retro .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-retro .Button--circular{border-radius:50%}.theme-retro .Button--compact{padding:0 .25em;line-height:1.333em}.theme-retro .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-retro .Button--color--default{transition:color .1s,background-color .1s;background-color:#e8e4c9;color:#000}.theme-retro .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-retro .Button--color--default:hover{background-color:#fbfaf5;color:#000}.theme-retro .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-retro .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-retro .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-retro .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-retro .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-retro .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-retro .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#e8e4c9;color:#000;background-color:rgba(232,228,201,0);color:rgba(255,255,255,.5)}.theme-retro .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-retro .Button--color--transparent:hover{background-color:#fbfaf5;color:#000}.theme-retro .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#e8e4c9;color:#000;background-color:rgba(232,228,201,.6);color:rgba(255,255,255,.5)}.theme-retro .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-retro .Button--color--translucent:hover{background-color:#fbfaf5;color:#000}.theme-retro .Button--disabled{background-color:#363636!important}.theme-retro .Button--selected{transition:color .1s,background-color .1s;background-color:#9d0808;color:#fff}.theme-retro .Button--selected:focus{transition:color .25s,background-color .25s}.theme-retro .Button--selected:hover{background-color:#c11919;color:#fff}.theme-retro .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-retro .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:0;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-retro .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-retro .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-retro .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-retro .ProgressBar--color--default{border:.0833333333em solid #000}.theme-retro .ProgressBar--color--default .ProgressBar__fill{background-color:#000}.theme-retro .ProgressBar--color--disabled{border:1px solid #999}.theme-retro .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-retro .Section{position:relative;margin-bottom:.5em;background-color:#9b9987;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-retro .Section:last-child{margin-bottom:0}.theme-retro .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #000}.theme-retro .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-retro .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-retro .Section__rest{position:relative}.theme-retro .Section__content{padding:.66em .5em}.theme-retro .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-retro .Section--fill{display:flex;flex-direction:column;height:100%}.theme-retro .Section--fill>.Section__rest{flex-grow:1}.theme-retro .Section--fill>.Section__rest>.Section__content{height:100%}.theme-retro .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-retro .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-retro .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-retro .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-retro .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-retro .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-retro .Section .Section:first-child{margin-top:-.5em}.theme-retro .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-retro .Section .Section .Section .Section__titleText{font-size:1em}.theme-retro .Layout,.theme-retro .Layout *{scrollbar-base-color:#c8be7d;scrollbar-face-color:#eae7ce;scrollbar-3dlight-color:#e8e4c9;scrollbar-highlight-color:#e8e4c9;scrollbar-track-color:#c8be7d;scrollbar-arrow-color:#f4f2e4;scrollbar-shadow-color:#eae7ce}.theme-retro .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-retro .Layout__content--flexRow{display:flex;flex-flow:row}.theme-retro .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-retro .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-retro .Layout__content--noMargin{margin:0}.theme-retro .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#e8e4c9;background-image:linear-gradient(to bottom,#e8e4c9,#e8e4c9)}.theme-retro .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-retro .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-retro .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-retro .Window__contentPadding:after{height:0}.theme-retro .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-retro .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(251,250,246,.25);pointer-events:none}.theme-retro .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-retro .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-retro .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-retro .TitleBar{background-color:#585337;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-retro .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#585337;transition:color .25s,background-color .25s}.theme-retro .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-retro .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-retro .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-retro .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-retro .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-retro .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-retro .Button{font-family:monospace;color:#161613;border:.1666666667em outset #e8e4c9;outline:.0833333333em solid #161613}.theme-retro .Layout__content{background-image:none}.theme-safe .Section{position:relative;margin-bottom:.5em;background-color:#b2ae74;box-sizing:border-box}.theme-safe .Section:last-child{margin-bottom:0}.theme-safe .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #3d566b}.theme-safe .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-safe .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-safe .Section__rest{position:relative}.theme-safe .Section__content{padding:.66em .5em}.theme-safe .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-safe .Section--fill{display:flex;flex-direction:column;height:100%}.theme-safe .Section--fill>.Section__rest{flex-grow:1}.theme-safe .Section--fill>.Section__rest>.Section__content{height:100%}.theme-safe .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-safe .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-safe .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-safe .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-safe .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-safe .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-safe .Section .Section:first-child{margin-top:-.5em}.theme-safe .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-safe .Section .Section .Section .Section__titleText{font-size:1em}.theme-safe .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#222b3a;background-image:linear-gradient(to bottom,#242d3d,#202937)}.theme-safe .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-safe .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-safe .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-safe .Window__contentPadding:after{height:0}.theme-safe .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-safe .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(58,69,86,.25);pointer-events:none}.theme-safe .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-safe .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-safe .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-safe .TitleBar{background-color:#35435a;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-safe .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#35435a;transition:color .25s,background-color .25s}.theme-safe .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-safe .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-safe .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-safe .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-safe .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-safe .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-safe .Safe--engraving{position:absolute;width:95%;height:96%;left:2.5%;top:2%;border:5px outset #364963;padding:5px;text-align:center}.theme-safe .Safe--engraving--arrow{color:#35435a}.theme-safe .Safe--engraving--hinge{content:" ";background-color:#191f2a;width:25px;height:40px;position:absolute;right:-15px;margin-top:-20px}.theme-safe .Safe--dialer{margin-bottom:.5rem}.theme-safe .Safe--dialer--number{color:#bbb;display:inline;background-color:#191f2a;font-size:1.5rem;font-weight:700;padding:0 .5rem}.theme-safe .Safe--dialer--right .Button i{z-index:-100}.theme-safe .Safe--dialer .Button{width:80px}.theme-safe .Safe--contents{border:10px solid #191f2a;background-color:#0f131a;height:calc(85% + 7.5px);text-align:left;padding:5px}.theme-safe .Safe--help{position:absolute;bottom:30px;left:25px;width:50%}.theme-safe .Layout__content{background-image:none}.theme-safe .Section{font-family:Comic Sans MS,cursive,sans-serif;font-style:italic;color:#000;box-shadow:5px 5px #111;background-image:linear-gradient(to bottom,#b2ae74,#8e8b5d);transform:rotate(-1deg)}.theme-safe .Section__title{padding-bottom:0;border:0}.theme-safe .Section:before{content:" ";display:block;width:24px;height:40px;background-image:linear-gradient(to bottom,transparent 0%,#ffffff 100%);box-shadow:1px 1px #111;opacity:.2;position:absolute;top:-30px;left:calc(50% - 12px);transform:rotate(-5deg)}.theme-securestorage .TitleBar{background-color:#e8e4c9;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-securestorage .TitleBar__clickable{color:rgba(25,25,22,.5);background-color:#e8e4c9;transition:color .25s,background-color .25s}.theme-securestorage .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-securestorage .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:#191916;font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-securestorage .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-securestorage .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-securestorage .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-securestorage .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-securestorage .Layout,.theme-securestorage .Layout *{scrollbar-base-color:#c8be7d;scrollbar-face-color:#eae7ce;scrollbar-3dlight-color:#e8e4c9;scrollbar-highlight-color:#e8e4c9;scrollbar-track-color:#c8be7d;scrollbar-arrow-color:#f4f2e4;scrollbar-shadow-color:#eae7ce}.theme-securestorage .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-securestorage .Layout__content--flexRow{display:flex;flex-flow:row}.theme-securestorage .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-securestorage .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-securestorage .Layout__content--noMargin{margin:0}.theme-securestorage .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#e8e4c9;background-image:linear-gradient(to bottom,#f1efde,#dfd9b4)}.theme-securestorage .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-securestorage .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-securestorage .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-securestorage .Window__contentPadding:after{height:0}.theme-securestorage .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-securestorage .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(251,250,246,.25);pointer-events:none}.theme-securestorage .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-securestorage .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-securestorage .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-securestorage .Section{position:relative;margin-bottom:.5em;background-color:#9b9987;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-securestorage .Section:last-child{margin-bottom:0}.theme-securestorage .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #397439}.theme-securestorage .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-securestorage .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-securestorage .Section__rest{position:relative}.theme-securestorage .Section__content{padding:.66em .5em}.theme-securestorage .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-securestorage .Section--fill{display:flex;flex-direction:column;height:100%}.theme-securestorage .Section--fill>.Section__rest{flex-grow:1}.theme-securestorage .Section--fill>.Section__rest>.Section__content{height:100%}.theme-securestorage .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-securestorage .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-securestorage .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-securestorage .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-securestorage .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-securestorage .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-securestorage .Section .Section:first-child{margin-top:-.5em}.theme-securestorage .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-securestorage .Section .Section .Section .Section__titleText{font-size:1em}.theme-securestorage .Layout__content{background-image:none}.theme-security .color-label{color:#b08e8b!important}.theme-security .color-bg-good{background-color:#4d9121!important}.theme-security .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-security .Button:last-child{margin-right:0;margin-bottom:0}.theme-security .Button .fa,.theme-security .Button .fas,.theme-security .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-security .Button--hasContent .fa,.theme-security .Button--hasContent .fas,.theme-security .Button--hasContent .far{margin-right:.25em}.theme-security .Button--hasContent.Button--iconRight .fa,.theme-security .Button--hasContent.Button--iconRight .fas,.theme-security .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-security .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-security .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-security .Button--circular{border-radius:50%}.theme-security .Button--compact{padding:0 .25em;line-height:1.333em}.theme-security .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-security .Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.theme-security .Button--color--good:focus{transition:color .25s,background-color .25s}.theme-security .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-security .Button--color--default{transition:color .1s,background-color .1s;background-color:#a14c49;color:#fff}.theme-security .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-security .Button--color--default:hover{background-color:#bb6f6d;color:#fff}.theme-security .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-security .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-security .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-security .Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-security .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-security .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-security .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#252525;color:#fff;background-color:rgba(37,37,37,0);color:rgba(255,255,255,.5)}.theme-security .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-security .Button--color--transparent:hover{background-color:#3a3a3a;color:#fff}.theme-security .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#252525;color:#fff;background-color:rgba(37,37,37,.6);color:rgba(255,255,255,.5)}.theme-security .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-security .Button--color--translucent:hover{background-color:#3a3a3a;color:#fff}.theme-security .Button--disabled{background-color:#999!important}.theme-security .Button--selected{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-security .Button--selected:focus{transition:color .25s,background-color .25s}.theme-security .Button--selected:hover{background-color:#2fb94f;color:#fff}.theme-security .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-security .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #ff8d88;border:.0833333333em solid rgba(255,141,136,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-security .Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-security .Input--fluid{display:block;width:auto}.theme-security .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-security .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-security .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-security .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-security .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-security .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-security .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#000;background-color:#bb9b68;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-security .NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.theme-security .NoticeBox--type--info{color:#fff;background-color:#822329}.theme-security .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-security .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-security .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-security .Section{position:relative;margin-bottom:.5em;background-color:#191919;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-security .Section:last-child{margin-bottom:0}.theme-security .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #a14c49}.theme-security .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-security .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-security .Section__rest{position:relative}.theme-security .Section__content{padding:.66em .5em}.theme-security .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-security .Section--fill{display:flex;flex-direction:column;height:100%}.theme-security .Section--fill>.Section__rest{flex-grow:1}.theme-security .Section--fill>.Section__rest>.Section__content{height:100%}.theme-security .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-security .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-security .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-security .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-security .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-security .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-security .Section .Section:first-child{margin-top:-.5em}.theme-security .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-security .Section .Section .Section .Section__titleText{font-size:1em}.theme-security .Newscaster__menu{width:40px;height:100%;margin-right:.5rem;flex-basis:content}.theme-security .Newscaster__menu .Section__content{padding-left:0}.theme-security .Newscaster__menuButton{color:#767676;cursor:pointer;position:relative;margin-left:6px;margin-right:1rem;white-space:nowrap;transition:color .1s}.theme-security .Newscaster__menuButton--title{width:80%;display:none;overflow:hidden;text-overflow:ellipsis}.theme-security .Newscaster__menuButton--unread{background-color:#e45e5e;color:#fff;font-size:10px;text-align:center;border-radius:32px;display:inline-block;width:12px;position:absolute;left:16px;margin-top:14px}.theme-security .Newscaster__menuButton--selected{color:#fff}.theme-security .Newscaster__menuButton--selected:after{content:"";background-color:#a14c49;width:2px;height:24px;position:absolute;left:-6px}.theme-security .Newscaster__menuButton--security{color:#a14c49}.theme-security .Newscaster__menuButton i{width:30px;text-align:center;vertical-align:middle;margin-left:-1px;margin-right:.5rem;margin-top:1px}.theme-security .Newscaster__menuButton:hover{color:#fff}.theme-security .Newscaster__menuButton:hover:before{background-color:#fff}.theme-security .Newscaster__menuButton:not(:last-of-type){margin-bottom:.5rem}.theme-security .Newscaster__menu--open{width:175px}.theme-security .Newscaster__menu--open .Newscaster__menuButton--title{display:inline-block}.theme-security .Newscaster__jobCategory--security .Section__title{color:#a14c49;border-bottom:2px solid #a14c49!important}.theme-security .Newscaster__jobCategory--engineering .Section__title{color:#a17849;border-bottom:2px solid #a17849!important}.theme-security .Newscaster__jobCategory--medical .Section__title{color:#499ea1;border-bottom:2px solid #499ea1!important}.theme-security .Newscaster__jobCategory--science .Section__title{color:#a14972;border-bottom:2px solid #a14972!important}.theme-security .Newscaster__jobCategory--service .Section__title{color:#a1499e;border-bottom:2px solid #a1499e!important}.theme-security .Newscaster__jobCategory--supply .Section__title{color:#9ea149;border-bottom:2px solid #9ea149!important}.theme-security .Newscaster__jobCategory:last-child{margin-bottom:.5rem}.theme-security .Newscaster__jobOpening--command{font-weight:700}.theme-security .Newscaster__jobOpening:not(:last-child){margin-bottom:.5rem}.theme-security .Newscaster__emptyNotice{color:#a7817e;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translate(-50%)}.theme-security .Newscaster__emptyNotice i{margin-bottom:.25rem}.theme-security .Newscaster__photo{cursor:pointer;width:100px;border:1px solid #000;transition:border-color .3s;-ms-interpolation-mode:nearest-neighbor}.theme-security .Newscaster__photo:hover{border-color:gray}.theme-security .Newscaster__photoZoom{text-align:center}.theme-security .Newscaster__photoZoom>img{transform:scale(2);-ms-interpolation-mode:nearest-neighbor}.theme-security .Newscaster__photoZoom>.Button{position:absolute;width:64px;left:50%;margin-left:-32px;bottom:1rem}.theme-security .Newscaster__story--wanted{background-color:rgba(219,40,40,.1)}.theme-security .Newscaster__story--wanted .Section__title{color:#db2828;border-bottom:2px solid #a14c49!important}.theme-security .Newscaster__story:last-child{margin-bottom:.5rem}.theme-syndicate .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-syndicate .Button:last-child{margin-right:0;margin-bottom:0}.theme-syndicate .Button .fa,.theme-syndicate .Button .fas,.theme-syndicate .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-syndicate .Button--hasContent .fa,.theme-syndicate .Button--hasContent .fas,.theme-syndicate .Button--hasContent .far{margin-right:.25em}.theme-syndicate .Button--hasContent.Button--iconRight .fa,.theme-syndicate .Button--hasContent.Button--iconRight .fas,.theme-syndicate .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-syndicate .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-syndicate .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-syndicate .Button--circular{border-radius:50%}.theme-syndicate .Button--compact{padding:0 .25em;line-height:1.333em}.theme-syndicate .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-syndicate .Button--color--default{transition:color .1s,background-color .1s;background-color:#397439;color:#fff}.theme-syndicate .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--default:hover{background-color:#509350;color:#fff}.theme-syndicate .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-syndicate .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-syndicate .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-syndicate .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-syndicate .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#550202;color:#fff;background-color:rgba(85,2,2,0);color:rgba(255,255,255,.5)}.theme-syndicate .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--transparent:hover{background-color:#701313;color:#fff}.theme-syndicate .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#550202;color:#fff;background-color:rgba(85,2,2,.6);color:rgba(255,255,255,.5)}.theme-syndicate .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--translucent:hover{background-color:#701313;color:#fff}.theme-syndicate .Button--disabled{background-color:#363636!important}.theme-syndicate .Button--selected{transition:color .1s,background-color .1s;background-color:#9d0808;color:#fff}.theme-syndicate .Button--selected:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--selected:hover{background-color:#c11919;color:#fff}.theme-syndicate .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-syndicate .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#fff;background-color:#910101;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-syndicate .NoticeBox--type--info{color:#fff;background-color:#235982}.theme-syndicate .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-syndicate .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-syndicate .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-syndicate .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-syndicate .Input--disabled{color:#777;border-color:#6b6b6b;border-color:rgba(107,107,107,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-syndicate .Input--fluid{display:block;width:auto}.theme-syndicate .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-syndicate .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-syndicate .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-syndicate .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-syndicate .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;color:#87ce87;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-syndicate .NumberInput--fluid{display:block}.theme-syndicate .NumberInput__content{margin-left:.5em}.theme-syndicate .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-syndicate .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #87ce87;background-color:#87ce87}.theme-syndicate .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-syndicate .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-syndicate .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-syndicate .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-syndicate .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-syndicate .ProgressBar--color--default{border:.0833333333em solid #306330}.theme-syndicate .ProgressBar--color--default .ProgressBar__fill{background-color:#306330}.theme-syndicate .ProgressBar--color--disabled{border:1px solid #999}.theme-syndicate .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-syndicate .Section{position:relative;margin-bottom:.5em;background-color:#390101;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-syndicate .Section:last-child{margin-bottom:0}.theme-syndicate .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #397439}.theme-syndicate .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-syndicate .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-syndicate .Section__rest{position:relative}.theme-syndicate .Section__content{padding:.66em .5em}.theme-syndicate .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-syndicate .Section--fill{display:flex;flex-direction:column;height:100%}.theme-syndicate .Section--fill>.Section__rest{flex-grow:1}.theme-syndicate .Section--fill>.Section__rest>.Section__content{height:100%}.theme-syndicate .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-syndicate .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-syndicate .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-syndicate .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-syndicate .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-syndicate .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-syndicate .Section .Section:first-child{margin-top:-.5em}.theme-syndicate .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-syndicate .Section .Section .Section .Section__titleText{font-size:1em}.theme-syndicate .Tooltip{z-index:2;padding:.5em .75em;pointer-events:none;text-align:left;transition:opacity .15s ease-out;background-color:#4a0202;color:#fff;box-shadow:.1em .1em 1.25em -.1em rgba(0,0,0,.5);border-radius:.16em;max-width:20.8333333333em}.theme-syndicate .Layout,.theme-syndicate .Layout *{scrollbar-base-color:#400202;scrollbar-face-color:#7e0303;scrollbar-3dlight-color:#550202;scrollbar-highlight-color:#550202;scrollbar-track-color:#400202;scrollbar-arrow-color:#fa3030;scrollbar-shadow-color:#7e0303}.theme-syndicate .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-syndicate .Layout__content--flexRow{display:flex;flex-flow:row}.theme-syndicate .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-syndicate .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-syndicate .Layout__content--noMargin{margin:0}.theme-syndicate .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#550202;background-image:linear-gradient(to bottom,#730303,#370101)}.theme-syndicate .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-syndicate .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-syndicate .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-syndicate .Window__contentPadding:after{height:0}.theme-syndicate .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-syndicate .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(117,22,22,.25);pointer-events:none}.theme-syndicate .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-syndicate .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-syndicate .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-syndicate .TitleBar{background-color:#910101;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-syndicate .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#910101;transition:color .25s,background-color .25s}.theme-syndicate .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-syndicate .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-syndicate .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-syndicate .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-syndicate .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-syndicate .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-syndicate .Layout__content{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMCIgdmlld0JveD0iMCAwIDIwMCAyODkuNzQyIiBvcGFjaXR5PSIuMzMiPjxwYXRoIGQ9Im0gOTMuNTM3Njc3LDAgYyAtMTguMTEzMTI1LDAgLTM0LjIyMDEzMywzLjExMTY0IC00OC4zMjM0ODQsOS4zMzQzNyAtMTMuOTY1MDkyLDYuMjIxNjcgLTI0LjYxMjQ0MiwxNS4wNzExNCAtMzEuOTQwNjUxLDI2LjU0NzEgLTcuMTg5OTM5OCwxMS4zMzc4OSAtMTAuMzAxMjI2NiwyNC43NDkxMSAtMTAuMzAxMjI2Niw0MC4yMzQ3OCAwLDEwLjY0NjYyIDIuNzI1MDAyNiwyMC40NjQ2NSA4LjE3NTExMTYsMjkuNDUyNTggNS42MTUyNzcsOC45ODY4NiAxNC4wMzgyNzcsMTcuMzUyMDQgMjUuMjY4ODIxLDI1LjA5NDM2IDExLjIzMDU0NCw3LjYwNTMxIDI2LjUwNzQyMSwxNS40MTgzNSA0NS44MzA1MTQsMjMuNDM3ODIgMTkuOTgzNzQ4LDguMjk1NTcgMzQuODQ4ODQ4LDE1LjU1NDcxIDQ0LjU5Mjk5OCwyMS43NzYzOCA5Ljc0NDE0LDYuMjIyNzMgMTYuNzYxNywxMi44NTg1IDIxLjA1NTcyLDE5LjkwOTUxIDQuMjk0MDQsNy4wNTIwOCA2LjQ0MTkzLDE1Ljc2NDA4IDYuNDQxOTMsMjYuMTM0NTkgMCwxNi4xNzcwMiAtNS4yMDE5NiwyOC40ODIyMiAtMTUuNjA2NzMsMzYuOTE2ODIgLTEwLjIzOTYsOC40MzQ3IC0yNS4wMjIwMywxMi42NTIzIC00NC4zNDUxNjksMTIuNjUyMyAtMTQuMDM4MTcxLDAgLTI1LjUxNTI0NywtMS42NTk0IC0zNC40MzM2MTgsLTQuOTc3NyAtOC45MTgzNywtMy40NTY2IC0xNi4xODU1NzIsLTguNzExMyAtMjEuODAwODM5LC0xNS43NjMzIC01LjYxNTI3NywtNy4wNTIxIC0xMC4wNzQ3OTUsLTE2LjY2MDg4IC0xMy4zNzc4OTksLTI4LjgyODEyIGwgLTI0Ljc3MzE2MjYyOTM5NDUsMCAwLDU2LjgyNjMyIEMgMzMuODU2NzY5LDI4Ni4wNzYwMSA2My43NDkwNCwyODkuNzQyMDEgODkuNjc4MzgzLDI4OS43NDIwMSBjIDE2LjAyMDAyNywwIDMwLjcxOTc4NywtMS4zODI3IDQ0LjA5NzMzNywtNC4xNDc5IDEzLjU0MjcyLC0yLjkwNDMgMjUuMTA0MSwtNy40Njc2IDM0LjY4MzA5LC0xMy42ODkzIDkuNzQ0MTMsLTYuMzU5NyAxNy4zNDA0MiwtMTQuNTE5NSAyMi43OTA1MiwtMjQuNDc0OCA1LjQ1MDEsLTEwLjA5MzMyIDguMTc1MTEsLTIyLjM5OTU5IDguMTc1MTEsLTM2LjkxNjgyIDAsLTEyLjk5NzY0IC0zLjMwMjEsLTI0LjMzNTM5IC05LjkwODI5LC0zNC4wMTQ2IC02LjQ0MTA1LC05LjgxNzI1IC0xNS41MjU0NSwtMTguNTI3MDcgLTI3LjI1MTQ2LC0yNi4xMzEzMyAtMTEuNTYwODUsLTcuNjA0MjcgLTI3LjkxMDgzLC0xNS44MzE0MiAtNDkuMDUwNjYsLTI0LjY4MDIyIC0xNy41MDY0NCwtNy4xOTAxMiAtMzAuNzE5NjY4LC0xMy42ODk0OCAtMzkuNjM4MDM4LC0xOS40OTcwMSAtOC45MTgzNzEsLTUuODA3NTIgLTE4LjYwNzQ3NCwtMTIuNDM0MDkgLTI0LjA5NjUyNCwtMTguODc0MTcgLTUuNDI2MDQzLC02LjM2NjE2IC05LjY1ODgyNiwtMTUuMDcwMDMgLTkuNjU4ODI2LC0yNC44ODcyOSAwLC05LjI2NDAxIDIuMDc1NDE0LC0xNy4yMTM0NSA2LjIyMzQ1NCwtMjMuODUwMzMgMTEuMDk4Mjk4LC0xNC4zOTc0OCA0MS4yODY2MzgsLTEuNzk1MDcgNDUuMDc1NjA5LDI0LjM0NzYyIDQuODM5MzkyLDYuNzc0OTEgOC44NDkzNSwxNi4yNDcyOSAxMi4wMjk1MTUsMjguNDE1NiBsIDIwLjUzMjM0LDAgMCwtNTUuOTk5NjcgYyAtNC40NzgyNSwtNS45MjQ0OCAtOS45NTQ4OCwtMTAuNjMyMjIgLTE1LjkwODM3LC0xNC4zNzQxMSAxLjY0MDU1LDAuNDc5MDUgMy4xOTAzOSwxLjAyMzc2IDQuNjM4NjUsMS42NDAyNCA2LjQ5ODYxLDIuNjI2MDcgMTIuMTY3OTMsNy4zMjc0NyAxNy4wMDczLDE0LjEwMzQ1IDQuODM5MzksNi43NzQ5MSA4Ljg0OTM1LDE2LjI0NTY3IDEyLjAyOTUyLDI4LjQxMzk3IDAsMCA4LjQ4MTI4LC0wLjEyODk0IDguNDg5NzgsLTAuMDAyIDAuNDE3NzYsNi40MTQ5NCAtMS43NTMzOSw5LjQ1Mjg2IC00LjEyMzQyLDEyLjU2MTA0IC0yLjQxNzQsMy4xNjk3OCAtNS4xNDQ4Niw2Ljc4OTczIC00LjAwMjc4LDEzLjAwMjkgMS41MDc4Niw4LjIwMzE4IDEwLjE4MzU0LDEwLjU5NjQyIDE0LjYyMTk0LDkuMzExNTQgLTMuMzE4NDIsLTAuNDk5MTEgLTUuMzE4NTUsLTEuNzQ5NDggLTUuMzE4NTUsLTEuNzQ5NDggMCwwIDEuODc2NDYsMC45OTg2OCA1LjY1MTE3LC0xLjM1OTgxIC0zLjI3Njk1LDAuOTU1NzEgLTEwLjcwNTI5LC0wLjc5NzM4IC0xMS44MDEyNSwtNi43NjMxMyAtMC45NTc1MiwtNS4yMDg2MSAwLjk0NjU0LC03LjI5NTE0IDMuNDAxMTMsLTEwLjUxNDgyIDIuNDU0NjIsLTMuMjE5NjggNS4yODQyNiwtNi45NTgzMSA0LjY4NDMsLTE0LjQ4ODI0IGwgMC4wMDMsMC4wMDIgOC45MjY3NiwwIDAsLTU1Ljk5OTY3IGMgLTE1LjA3MTI1LC0zLjg3MTY4IC0yNy42NTMxNCwtNi4zNjA0MiAtMzcuNzQ2NzEsLTcuNDY1ODYgLTkuOTU1MzEsLTEuMTA3NTUgLTIwLjE4ODIzLC0xLjY1OTgxIC0zMC42OTY2MTMsLTEuNjU5ODEgeiBtIDcwLjMyMTYwMywxNy4zMDg5MyAwLjIzODA1LDQwLjMwNDkgYyAxLjMxODA4LDEuMjI2NjYgMi40Mzk2NSwyLjI3ODE1IDMuMzQwODEsMy4xMDYwMiA0LjgzOTM5LDYuNzc0OTEgOC44NDkzNCwxNi4yNDU2NiAxMi4wMjk1MSwyOC40MTM5NyBsIDIwLjUzMjM0LDAgMCwtNTUuOTk5NjcgYyAtNi42NzczMSwtNC41OTM4MSAtMTkuODM2NDMsLTEwLjQ3MzA5IC0zNi4xNDA3MSwtMTUuODI1MjIgeiBtIC0yOC4xMjA0OSw1LjYwNTUxIDguNTY0NzksMTcuNzE2NTUgYyAtMTEuOTcwMzcsLTYuNDY2OTcgLTEzLjg0Njc4LC05LjcxNzI2IC04LjU2NDc5LC0xNy43MTY1NSB6IG0gMjIuNzk3MDUsMCBjIDIuNzcxNSw3Ljk5OTI5IDEuNzg3NDEsMTEuMjQ5NTggLTQuNDkzNTQsMTcuNzE2NTUgbCA0LjQ5MzU0LC0xNy43MTY1NSB6IG0gMTUuMjIxOTUsMjQuMDA4NDggOC41NjQ3OSwxNy43MTY1NSBjIC0xMS45NzAzOCwtNi40NjY5NyAtMTMuODQ2NzksLTkuNzE3MjYgLTguNTY0NzksLTE3LjcxNjU1IHogbSAyMi43OTcwNCwwIGMgMi43NzE1LDcuOTk5MjkgMS43ODc0MSwxMS4yNDk1OCAtNC40OTM1NCwxNy43MTY1NSBsIDQuNDkzNTQsLTE3LjcxNjU1IHogbSAtOTkuMTEzODQsMi4yMDc2NCA4LjU2NDc5LDE3LjcxNjU1IGMgLTExLjk3MDM4MiwtNi40NjY5NyAtMTMuODQ2NzgyLC05LjcxNzI2IC04LjU2NDc5LC0xNy43MTY1NSB6IG0gMjIuNzk1NDIsMCBjIDIuNzcxNSw3Ljk5OTI5IDEuNzg3NDEsMTEuMjQ5NTggLTQuNDkzNTQsMTcuNzE2NTUgbCA0LjQ5MzU0LC0xNy43MTY1NSB6IiAvPjwvc3ZnPjwhLS0gVGhpcyB3b3JrIGlzIGxpY2Vuc2VkIHVuZGVyIGEgQ3JlYXRpdmUgQ29tbW9ucyBBdHRyaWJ1dGlvbi1TaGFyZUFsaWtlIDQuMCBJbnRlcm5hdGlvbmFsIExpY2Vuc2UuIC0tPjwhLS0gaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbGljZW5zZXMvYnktc2EvNC4wLyAtLT4=)}.theme-syndicate .candystripe:nth-child(odd){background-color:rgba(0,0,0,.4)}.theme-syndicate .candystripe:nth-child(2n){background-color:rgba(0,0,0,.25)}.theme-nologo .Layout__content{background-image:none} +html,body{box-sizing:border-box;height:100%;margin:0;font-size:12px}html{overflow:hidden;cursor:default}body{overflow:auto;font-family:Verdana,Geneva,sans-serif}*,*:before,*:after{box-sizing:inherit}h1,h2,h3,h4,h5,h6{display:block;margin:0;padding:6px 0;padding:.5rem 0}h1{font-size:18px;font-size:1.5rem}h2{font-size:16px;font-size:1.333rem}h3{font-size:14px;font-size:1.167rem}h4{font-size:12px;font-size:1rem}td,th{vertical-align:baseline;text-align:left}.candystripe:nth-child(odd){background-color:rgba(0,0,0,.25)}.color-black{color:#1a1a1a!important}.color-white{color:#fff!important}.color-red{color:#df3e3e!important}.color-orange{color:#f37f33!important}.color-yellow{color:#fbda21!important}.color-olive{color:#cbe41c!important}.color-green{color:#25ca4c!important}.color-teal{color:#00d6cc!important}.color-blue{color:#2e93de!important}.color-violet{color:#7349cf!important}.color-purple{color:#ad45d0!important}.color-pink{color:#e34da1!important}.color-brown{color:#b97447!important}.color-grey{color:#848484!important}.color-good{color:#68c22d!important}.color-average{color:#f29a29!important}.color-bad{color:#df3e3e!important}.color-label{color:#8b9bb0!important}.color-bg-black{background-color:#000!important}.color-bg-white{background-color:#d9d9d9!important}.color-bg-red{background-color:#bd2020!important}.color-bg-orange{background-color:#d95e0c!important}.color-bg-yellow{background-color:#d9b804!important}.color-bg-olive{background-color:#9aad14!important}.color-bg-green{background-color:#1b9638!important}.color-bg-teal{background-color:#009a93!important}.color-bg-blue{background-color:#1c71b1!important}.color-bg-violet{background-color:#552dab!important}.color-bg-purple{background-color:#8b2baa!important}.color-bg-pink{background-color:#cf2082!important}.color-bg-brown{background-color:#8c5836!important}.color-bg-grey{background-color:#646464!important}.color-bg-good{background-color:#4d9121!important}.color-bg-average{background-color:#cd7a0d!important}.color-bg-bad{background-color:#bd2020!important}.color-bg-label{background-color:#657a94!important}.debug-layout,.debug-layout *:not(g):not(path){color:rgba(255,255,255,.9)!important;background:rgba(0,0,0,0)!important;outline:1px solid rgba(255,255,255,.5)!important;box-shadow:none!important;filter:none!important}.debug-layout:hover,.debug-layout *:not(g):not(path):hover{outline-color:rgba(255,255,255,.8)!important}.outline-dotted{outline-style:dotted!important}.outline-dashed{outline-style:dashed!important}.outline-solid{outline-style:solid!important}.outline-double{outline-style:double!important}.outline-groove{outline-style:groove!important}.outline-ridge{outline-style:ridge!important}.outline-inset{outline-style:inset!important}.outline-outset{outline-style:outset!important}.outline-color-black{outline:.167rem solid #1a1a1a!important}.outline-color-white{outline:.167rem solid #fff!important}.outline-color-red{outline:.167rem solid #df3e3e!important}.outline-color-orange{outline:.167rem solid #f37f33!important}.outline-color-yellow{outline:.167rem solid #fbda21!important}.outline-color-olive{outline:.167rem solid #cbe41c!important}.outline-color-green{outline:.167rem solid #25ca4c!important}.outline-color-teal{outline:.167rem solid #00d6cc!important}.outline-color-blue{outline:.167rem solid #2e93de!important}.outline-color-violet{outline:.167rem solid #7349cf!important}.outline-color-purple{outline:.167rem solid #ad45d0!important}.outline-color-pink{outline:.167rem solid #e34da1!important}.outline-color-brown{outline:.167rem solid #b97447!important}.outline-color-grey{outline:.167rem solid #848484!important}.outline-color-good{outline:.167rem solid #68c22d!important}.outline-color-average{outline:.167rem solid #f29a29!important}.outline-color-bad{outline:.167rem solid #df3e3e!important}.outline-color-label{outline:.167rem solid #8b9bb0!important}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-baseline{text-align:baseline}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-pre{white-space:pre}.text-bold{font-weight:700}.text-italic{font-style:italic}.text-underline{text-decoration:underline}.BlockQuote{color:#8b9bb0;border-left:.1666666667em solid #8b9bb0;padding-left:.5em;margin-bottom:.5em}.BlockQuote:last-child{margin-bottom:0}.Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.Button:last-child{margin-right:0;margin-bottom:0}.Button .fa,.Button .fas,.Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.Button--hasContent .fa,.Button--hasContent .fas,.Button--hasContent .far{margin-right:.25em}.Button--hasContent.Button--iconRight .fa,.Button--hasContent.Button--iconRight .fas,.Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.Button--fluid{display:block;margin-left:0;margin-right:0}.Button--circular{border-radius:50%}.Button--compact{padding:0 .25em;line-height:1.333em}.Button--multiLine{white-space:normal;word-wrap:break-word}.Button--color--black{transition:color .1s,background-color .1s;background-color:#000;color:#fff}.Button--color--black:focus{transition:color .25s,background-color .25s}.Button--color--black:hover{background-color:#101010;color:#fff}.Button--color--white{transition:color .1s,background-color .1s;background-color:#d9d9d9;color:#000}.Button--color--white:focus{transition:color .25s,background-color .25s}.Button--color--white:hover{background-color:#f8f8f8;color:#000}.Button--color--red{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.Button--color--red:focus{transition:color .25s,background-color .25s}.Button--color--red:hover{background-color:#d93f3f;color:#fff}.Button--color--orange{transition:color .1s,background-color .1s;background-color:#d95e0c;color:#fff}.Button--color--orange:focus{transition:color .25s,background-color .25s}.Button--color--orange:hover{background-color:#ef7e33;color:#fff}.Button--color--yellow{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.Button--color--yellow:focus{transition:color .25s,background-color .25s}.Button--color--yellow:hover{background-color:#f5d523;color:#000}.Button--color--olive{transition:color .1s,background-color .1s;background-color:#9aad14;color:#fff}.Button--color--olive:focus{transition:color .25s,background-color .25s}.Button--color--olive:hover{background-color:#bdd327;color:#fff}.Button--color--green{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.Button--color--green:focus{transition:color .25s,background-color .25s}.Button--color--green:hover{background-color:#2fb94f;color:#fff}.Button--color--teal{transition:color .1s,background-color .1s;background-color:#009a93;color:#fff}.Button--color--teal:focus{transition:color .25s,background-color .25s}.Button--color--teal:hover{background-color:#10bdb6;color:#fff}.Button--color--blue{transition:color .1s,background-color .1s;background-color:#1c71b1;color:#fff}.Button--color--blue:focus{transition:color .25s,background-color .25s}.Button--color--blue:hover{background-color:#308fd6;color:#fff}.Button--color--violet{transition:color .1s,background-color .1s;background-color:#552dab;color:#fff}.Button--color--violet:focus{transition:color .25s,background-color .25s}.Button--color--violet:hover{background-color:#7249ca;color:#fff}.Button--color--purple{transition:color .1s,background-color .1s;background-color:#8b2baa;color:#fff}.Button--color--purple:focus{transition:color .25s,background-color .25s}.Button--color--purple:hover{background-color:#aa46ca;color:#fff}.Button--color--pink{transition:color .1s,background-color .1s;background-color:#cf2082;color:#fff}.Button--color--pink:focus{transition:color .25s,background-color .25s}.Button--color--pink:hover{background-color:#e04ca0;color:#fff}.Button--color--brown{transition:color .1s,background-color .1s;background-color:#8c5836;color:#fff}.Button--color--brown:focus{transition:color .25s,background-color .25s}.Button--color--brown:hover{background-color:#ae724c;color:#fff}.Button--color--grey{transition:color .1s,background-color .1s;background-color:#646464;color:#fff}.Button--color--grey:focus{transition:color .25s,background-color .25s}.Button--color--grey:hover{background-color:#818181;color:#fff}.Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.Button--color--good:focus{transition:color .25s,background-color .25s}.Button--color--good:hover{background-color:#67b335;color:#fff}.Button--color--average{transition:color .1s,background-color .1s;background-color:#cd7a0d;color:#fff}.Button--color--average:focus{transition:color .25s,background-color .25s}.Button--color--average:hover{background-color:#eb972b;color:#fff}.Button--color--bad{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.Button--color--bad:focus{transition:color .25s,background-color .25s}.Button--color--bad:hover{background-color:#d93f3f;color:#fff}.Button--color--label{transition:color .1s,background-color .1s;background-color:#657a94;color:#fff}.Button--color--label:focus{transition:color .25s,background-color .25s}.Button--color--label:hover{background-color:#8a9aae;color:#fff}.Button--color--default{transition:color .1s,background-color .1s;background-color:#3e6189;color:#fff}.Button--color--default:focus{transition:color .25s,background-color .25s}.Button--color--default:hover{background-color:#567daa;color:#fff}.Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.Button--color--caution:focus{transition:color .25s,background-color .25s}.Button--color--caution:hover{background-color:#f5d523;color:#000}.Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.Button--color--danger:focus{transition:color .25s,background-color .25s}.Button--color--danger:hover{background-color:#d93f3f;color:#fff}.Button--color--transparent{transition:color .1s,background-color .1s;background-color:#252525;color:#fff;background-color:rgba(37,37,37,0);color:rgba(255,255,255,.5)}.Button--color--transparent:focus{transition:color .25s,background-color .25s}.Button--color--transparent:hover{background-color:#3a3a3a;color:#fff}.Button--color--translucent{transition:color .1s,background-color .1s;background-color:#252525;color:#fff;background-color:rgba(37,37,37,.6);color:rgba(255,255,255,.5)}.Button--color--translucent:focus{transition:color .25s,background-color .25s}.Button--color--translucent:hover{background-color:#3a3a3a;color:#fff}.Button--disabled{background-color:#999!important}.Button--selected{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.Button--selected:focus{transition:color .25s,background-color .25s}.Button--selected:hover{background-color:#2fb94f;color:#fff}.Button--modal{float:right;z-index:1;margin-top:-.5rem}.Collapsible{margin-bottom:.5rem}.Collapsible:last-child{margin-bottom:0}.ColorBox{display:inline-block;width:1em;height:1em;line-height:1em;text-align:center}.Dimmer{display:flex;justify-content:center;align-items:center;position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.75);z-index:1}.Dropdown{position:relative;align-items:center}.Dropdown__control{display:inline-block;align-items:center;font-family:Verdana,sans-serif;font-size:1em;width:8.3333333333em;line-height:1.3333333333em;-ms-user-select:none;user-select:none}.Dropdown__arrow-button{float:right;padding-left:.35em;width:1.2em;height:1.8333333333em;border-left:.0833333333em solid #000;border-left:.0833333333em solid rgba(0,0,0,.25)}.Dropdown__menu{overflow-y:auto;align-items:center;z-index:5;max-height:16.6666666667em;border-radius:0 0 .1666666667em .1666666667em;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75)}.Dropdown__menu-scroll{overflow-y:scroll}.Dropdown__menuentry{padding:.1666666667em .3333333333em;font-family:Verdana,sans-serif;font-size:1em;line-height:1.4166666667em;transition:background-color .1s ease-out}.Dropdown__menuentry.selected{background-color:rgba(255,255,255,.5)!important;transition:background-color 0ms}.Dropdown__menuentry:hover{background-color:rgba(255,255,255,.2);transition:background-color 0ms}.Dropdown__over{top:auto;bottom:100%}.Dropdown__selected-text{display:inline-block;text-overflow:ellipsis;white-space:nowrap;height:1.4166666667em;width:calc(100% - 1.2em);text-align:left;padding-top:2.5px}.Flex{display:-ms-flexbox;display:flex}.Flex--inline{display:inline-flex}.Flex--iefix{display:block}.Flex--iefix.Flex--inline,.Flex__item--iefix{display:inline-block}.Flex--iefix--column>.Flex__item--iefix{display:block}.IconStack>.Icon{position:absolute;width:100%;text-align:center}.IconStack{position:relative;display:inline-block;height:7em;width:10em;line-height:2em;vertical-align:middle}.IconStack:after{color:rgba(0,0,0,0);content:"."}.Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.Knob__popupValue,.Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.Knob__popupValue--right{top:.25rem;right:-50%}.Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.Knob__ringTrackPivot{transform:rotate(135deg)}.Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.Knob__ringFillPivot{transform:rotate(135deg)}.Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.Knob--color--white .Knob__ringFill{stroke:#fff}.Knob--color--red .Knob__ringFill{stroke:#df3e3e}.Knob--color--orange .Knob__ringFill{stroke:#f37f33}.Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.Knob--color--green .Knob__ringFill{stroke:#25ca4c}.Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.Knob--color--blue .Knob__ringFill{stroke:#2e93de}.Knob--color--violet .Knob__ringFill{stroke:#7349cf}.Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.Knob--color--pink .Knob__ringFill{stroke:#e34da1}.Knob--color--brown .Knob__ringFill{stroke:#b97447}.Knob--color--grey .Knob__ringFill{stroke:#848484}.Knob--color--good .Knob__ringFill{stroke:#68c22d}.Knob--color--average .Knob__ringFill{stroke:#f29a29}.Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.Knob--color--label .Knob__ringFill{stroke:#8b9bb0}.LabeledList{display:table;width:100%;width:calc(100% + 1em);border-collapse:collapse;border-spacing:0;margin:-.25em -.5em 0;padding:0}.LabeledList__row{display:table-row}.LabeledList__row:last-child .LabeledList__cell{padding-bottom:0}.LabeledList__cell{display:table-cell;margin:0;padding:.25em .5em;border:0;text-align:left;vertical-align:baseline}.LabeledList__label{width:1%;white-space:nowrap;min-width:5em}.LabeledList__buttons{width:.1%;white-space:nowrap;text-align:right;padding-top:.0833333333em;padding-bottom:0}.LabeledList__breakContents{word-break:break-all;word-wrap:break-word}.Modal{background-color:#252525;max-width:calc(100% - 1rem);padding:1rem;scrollbar-base-color:#1c1c1c;scrollbar-face-color:#3b3b3b;scrollbar-3dlight-color:#252525;scrollbar-highlight-color:#252525;scrollbar-track-color:#1c1c1c;scrollbar-arrow-color:#929292;scrollbar-shadow-color:#3b3b3b}.NanoMap__container{overflow:hidden;width:100%;z-index:1}.NanoMap__marker{z-index:10;padding:0;margin:0}.NanoMap__button{padding:3px;font-size:12px;border:2px solid #000}.NanoMap__button:hover{background-color:#adff2f}.NanoMap__zoomer{z-index:20;background-color:rgba(0,0,0,.33);position:absolute;top:30px;left:0;padding:.5rem;width:20%}.NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#000;background-color:#bb9b68;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.NoticeBox--color--black{color:#fff;background-color:#000}.NoticeBox--color--white{color:#000;background-color:#b3b3b3}.NoticeBox--color--red{color:#fff;background-color:#701f1f}.NoticeBox--color--orange{color:#fff;background-color:#854114}.NoticeBox--color--yellow{color:#000;background-color:#83710d}.NoticeBox--color--olive{color:#000;background-color:#576015}.NoticeBox--color--green{color:#fff;background-color:#174e24}.NoticeBox--color--teal{color:#fff;background-color:#064845}.NoticeBox--color--blue{color:#fff;background-color:#1b4565}.NoticeBox--color--violet{color:#fff;background-color:#3b2864}.NoticeBox--color--purple{color:#fff;background-color:#542663}.NoticeBox--color--pink{color:#fff;background-color:#802257}.NoticeBox--color--brown{color:#fff;background-color:#4c3729}.NoticeBox--color--grey{color:#fff;background-color:#3e3e3e}.NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.NoticeBox--color--average{color:#fff;background-color:#7b4e13}.NoticeBox--color--bad{color:#fff;background-color:#701f1f}.NoticeBox--color--label{color:#fff;background-color:#53565a}.NoticeBox--type--info{color:#fff;background-color:#235982}.NoticeBox--type--success{color:#fff;background-color:#1e662f}.NoticeBox--type--warning{color:#fff;background-color:#a95219}.NoticeBox--type--danger{color:#fff;background-color:#8f2828}.NumberInput{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;color:#88bfff;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.NumberInput--fluid{display:block}.NumberInput__content{margin-left:.5em}.NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #88bfff;background-color:#88bfff}.NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.ProgressBar__fill--animated{transition:background-color .5s,width .5s}.ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.ProgressBar--color--default{border:.0833333333em solid #3e6189}.ProgressBar--color--default .ProgressBar__fill{background-color:#3e6189}.ProgressBar--color--disabled{border:1px solid #999}.ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.ProgressBar--color--black{border:.0833333333em solid #000!important}.ProgressBar--color--black .ProgressBar__fill{background-color:#000}.ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.ProgressBar--color--grey{border:.0833333333em solid #646464!important}.ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.ProgressBar--color--label{border:.0833333333em solid #657a94!important}.ProgressBar--color--label .ProgressBar__fill{background-color:#657a94}.RoundGauge{font-size:1rem;width:2.6em;height:1.3em;margin:0 auto .2em}.RoundGauge__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:10;stroke-dasharray:157.08;stroke-dashoffset:157.08}.RoundGauge__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:10;stroke-dasharray:314.16;transition:stroke 50ms}.RoundGauge__needle,.RoundGauge__ringFill{transition:transform 50ms ease-in-out}.RoundGauge__needleLine,.RoundGauge__needleMiddle{fill:#db2828}.RoundGauge__alert{fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;fill:rgba(255,255,255,.1)}.RoundGauge__alert.max{fill:#db2828}.RoundGauge--color--black.RoundGauge__ringFill{stroke:#1a1a1a}.RoundGauge--color--white.RoundGauge__ringFill{stroke:#fff}.RoundGauge--color--red.RoundGauge__ringFill{stroke:#df3e3e}.RoundGauge--color--orange.RoundGauge__ringFill{stroke:#f37f33}.RoundGauge--color--yellow.RoundGauge__ringFill{stroke:#fbda21}.RoundGauge--color--olive.RoundGauge__ringFill{stroke:#cbe41c}.RoundGauge--color--green.RoundGauge__ringFill{stroke:#25ca4c}.RoundGauge--color--teal.RoundGauge__ringFill{stroke:#00d6cc}.RoundGauge--color--blue.RoundGauge__ringFill{stroke:#2e93de}.RoundGauge--color--violet.RoundGauge__ringFill{stroke:#7349cf}.RoundGauge--color--purple.RoundGauge__ringFill{stroke:#ad45d0}.RoundGauge--color--pink.RoundGauge__ringFill{stroke:#e34da1}.RoundGauge--color--brown.RoundGauge__ringFill{stroke:#b97447}.RoundGauge--color--grey.RoundGauge__ringFill{stroke:#848484}.RoundGauge--color--good.RoundGauge__ringFill{stroke:#68c22d}.RoundGauge--color--average.RoundGauge__ringFill{stroke:#f29a29}.RoundGauge--color--bad.RoundGauge__ringFill{stroke:#df3e3e}.RoundGauge--color--label.RoundGauge__ringFill{stroke:#8b9bb0}.RoundGauge__alert--black{fill:#1a1a1a;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--white{fill:#fff;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--red{fill:#df3e3e;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--orange{fill:#f37f33;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--yellow{fill:#fbda21;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--olive{fill:#cbe41c;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--green{fill:#25ca4c;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--teal{fill:#00d6cc;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--blue{fill:#2e93de;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--violet{fill:#7349cf;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--purple{fill:#ad45d0;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--pink{fill:#e34da1;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--brown{fill:#b97447;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--grey{fill:#848484;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--good{fill:#68c22d;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--average{fill:#f29a29;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--bad{fill:#df3e3e;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}.RoundGauge__alert--label{fill:#8b9bb0;transition:opacity .6s cubic-bezier(.25,1,.5,1);animation:RoundGauge__alertAnim 1s cubic-bezier(.34,1.56,.64,1) infinite}@keyframes RoundGauge__alertAnim{0%{opacity:.1}50%{opacity:1}to{opacity:.1}}.Section{position:relative;margin-bottom:.5em;background-color:#191919;background-color:rgba(0,0,0,.33);box-sizing:border-box}.Section:last-child{margin-bottom:0}.Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.Section__rest{position:relative}.Section__content{padding:.66em .5em}.Section--fitted>.Section__rest>.Section__content{padding:0}.Section--fill{display:flex;flex-direction:column;height:100%}.Section--fill>.Section__rest{flex-grow:1}.Section--fill>.Section__rest>.Section__content{height:100%}.Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.Section--scrollable{overflow-x:hidden;overflow-y:hidden}.Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.Section .Section:first-child{margin-top:-.5em}.Section .Section .Section__titleText{font-size:1.0833333333em}.Section .Section .Section .Section__titleText{font-size:1em}.Slider:not(.Slider__disabled){cursor:e-resize}.Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.Divider--horizontal{margin:.5em 0}.Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.Divider--vertical{height:100%;margin:0 .5em}.Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.Stack--fill{height:100%}.Stack--horizontal>.Stack__item{margin-left:.5em}.Stack--horizontal>.Stack__item:first-child{margin-left:0}.Stack--vertical>.Stack__item{margin-top:.5em}.Stack--vertical>.Stack__item:first-child{margin-top:0}.Stack--zebra>.Stack__item:nth-child(2n){background-color:rgba(0,0,0,.33)}.Stack--horizontal>.Stack__divider:not(.Stack__divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.Stack--vertical>.Stack__divider:not(.Stack__divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.Table{display:table;width:100%;border-collapse:collapse;border-spacing:0;margin:0}.Table--collapsing{width:auto}.Table__row{display:table-row}.Table__cell{display:table-cell;padding:0 .25em}.Table__cell:first-child{padding-left:0}.Table__cell:last-child{padding-right:0}.Table__row--header .Table__cell,.Table__cell--header{font-weight:700;padding-bottom:.5em}.Table__cell--collapsing{width:1%;white-space:nowrap}.Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:rgba(0,0,0,.33)}.Tabs--fill{height:100%}.Section .Tabs{background-color:rgba(0,0,0,0)}.Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.Tabs--horizontal:last-child{margin-bottom:0}.Tabs__Tab{flex-grow:0}.Tabs--fluid .Tabs__Tab{flex-grow:1}.Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(255,255,255,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.Tab:not(.Tab--selected):hover{background-color:rgba(255,255,255,.075);transition:background-color 0}.Tab--selected{background-color:rgba(255,255,255,.125);color:#dfe7f0}.Tab__text{flex-grow:1;margin:0 .5em}.Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #d4dfec}.Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.Tabs--vertical .Tab--selected{border-left:.1666666667em solid #d4dfec}.Tab--selected.Tab--color--black{color:#535353}.Tabs--horizontal .Tab--selected.Tab--color--black{border-bottom-color:#1a1a1a}.Tabs--vertical .Tab--selected.Tab--color--black{border-left-color:#1a1a1a}.Tab--selected.Tab--color--white{color:#fff}.Tabs--horizontal .Tab--selected.Tab--color--white{border-bottom-color:#fff}.Tabs--vertical .Tab--selected.Tab--color--white{border-left-color:#fff}.Tab--selected.Tab--color--red{color:#e76e6e}.Tabs--horizontal .Tab--selected.Tab--color--red{border-bottom-color:#df3e3e}.Tabs--vertical .Tab--selected.Tab--color--red{border-left-color:#df3e3e}.Tab--selected.Tab--color--orange{color:#f69f66}.Tabs--horizontal .Tab--selected.Tab--color--orange{border-bottom-color:#f37f33}.Tabs--vertical .Tab--selected.Tab--color--orange{border-left-color:#f37f33}.Tab--selected.Tab--color--yellow{color:#fce358}.Tabs--horizontal .Tab--selected.Tab--color--yellow{border-bottom-color:#fbda21}.Tabs--vertical .Tab--selected.Tab--color--yellow{border-left-color:#fbda21}.Tab--selected.Tab--color--olive{color:#d8eb55}.Tabs--horizontal .Tab--selected.Tab--color--olive{border-bottom-color:#cbe41c}.Tabs--vertical .Tab--selected.Tab--color--olive{border-left-color:#cbe41c}.Tab--selected.Tab--color--green{color:#53e074}.Tabs--horizontal .Tab--selected.Tab--color--green{border-bottom-color:#25ca4c}.Tabs--vertical .Tab--selected.Tab--color--green{border-left-color:#25ca4c}.Tab--selected.Tab--color--teal{color:#21fff5}.Tabs--horizontal .Tab--selected.Tab--color--teal{border-bottom-color:#00d6cc}.Tabs--vertical .Tab--selected.Tab--color--teal{border-left-color:#00d6cc}.Tab--selected.Tab--color--blue{color:#62aee6}.Tabs--horizontal .Tab--selected.Tab--color--blue{border-bottom-color:#2e93de}.Tabs--vertical .Tab--selected.Tab--color--blue{border-left-color:#2e93de}.Tab--selected.Tab--color--violet{color:#9676db}.Tabs--horizontal .Tab--selected.Tab--color--violet{border-bottom-color:#7349cf}.Tabs--vertical .Tab--selected.Tab--color--violet{border-left-color:#7349cf}.Tab--selected.Tab--color--purple{color:#c274db}.Tabs--horizontal .Tab--selected.Tab--color--purple{border-bottom-color:#ad45d0}.Tabs--vertical .Tab--selected.Tab--color--purple{border-left-color:#ad45d0}.Tab--selected.Tab--color--pink{color:#ea79b9}.Tabs--horizontal .Tab--selected.Tab--color--pink{border-bottom-color:#e34da1}.Tabs--vertical .Tab--selected.Tab--color--pink{border-left-color:#e34da1}.Tab--selected.Tab--color--brown{color:#ca9775}.Tabs--horizontal .Tab--selected.Tab--color--brown{border-bottom-color:#b97447}.Tabs--vertical .Tab--selected.Tab--color--brown{border-left-color:#b97447}.Tab--selected.Tab--color--grey{color:#a3a3a3}.Tabs--horizontal .Tab--selected.Tab--color--grey{border-bottom-color:#848484}.Tabs--vertical .Tab--selected.Tab--color--grey{border-left-color:#848484}.Tab--selected.Tab--color--good{color:#8cd95a}.Tabs--horizontal .Tab--selected.Tab--color--good{border-bottom-color:#68c22d}.Tabs--vertical .Tab--selected.Tab--color--good{border-left-color:#68c22d}.Tab--selected.Tab--color--average{color:#f5b35e}.Tabs--horizontal .Tab--selected.Tab--color--average{border-bottom-color:#f29a29}.Tabs--vertical .Tab--selected.Tab--color--average{border-left-color:#f29a29}.Tab--selected.Tab--color--bad{color:#e76e6e}.Tabs--horizontal .Tab--selected.Tab--color--bad{border-bottom-color:#df3e3e}.Tabs--vertical .Tab--selected.Tab--color--bad{border-left-color:#df3e3e}.Tab--selected.Tab--color--label{color:#a8b4c4}.Tabs--horizontal .Tab--selected.Tab--color--label{border-bottom-color:#8b9bb0}.Tabs--vertical .Tab--selected.Tab--color--label{border-left-color:#8b9bb0}.Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.Input--fluid{display:block;width:auto}.Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input--monospace .Input__input{font-family:Consolas,monospace}.TextArea{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.TextArea--fluid{display:block;width:auto;height:auto}.TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.Tooltip{z-index:2;padding:.5em .75em;pointer-events:none;text-align:left;transition:opacity .15s ease-out;background-color:#000;color:#fff;box-shadow:.1em .1em 1.25em -.1em rgba(0,0,0,.5);border-radius:.16em;max-width:20.8333333333em}.AccountsUplinkTerminal__list tr>td{text-align:center}.AccountsUplinkTerminal__list tr:not(:first-child){height:24px;line-height:24px;cursor:pointer;transition:background-color 50ms}.AccountsUplinkTerminal__list tr:not(:first-child):hover,.AccountsUplinkTerminal__list tr:not(:first-child):focus{background-color:#252525}.AccountsUplinkTerminal__listRow--SUSPENDED{background-color:#740c20}.AlertModal__Message{text-align:center;justify-content:center}.AlertModal__Buttons{justify-content:center}.AlertModal__Loader{width:100%;position:relative;height:4px}.AlertModal__LoaderProgress{position:absolute;transition:background-color .5s ease-out,width .5s ease-out;background-color:#3e6189;height:100%}.BrigCells__list .Table__row--header,.BrigCells__list .Table__cell{text-align:center}.BrigCells__list .BrigCells__listRow--active .Table__cell{background-color:#890e26}.CameraConsole__left{position:absolute;top:36px;bottom:0;left:0;width:18.9166666667em}.CameraConsole__right{position:absolute;top:0;bottom:0;left:18.3333333333em;right:0;margin:.5em;background-color:rgba(0,0,0,.33)}.CameraConsole__toolbar{position:absolute;top:0;left:0;right:0;height:2em;line-height:2em;margin:.25em 1em 0}.CameraConsole__toolbarRight{position:absolute;top:0;right:0;height:2em;line-height:2em;margin:.33em .5em 0}.CameraConsole__map{position:absolute;top:2.1666666667em;bottom:0;left:0;right:0;margin:.5em;text-align:center}.CameraConsole__map .NoticeBox{margin-top:calc(50% - 2em)}.CameraConsole__right_map{position:relative;display:flex;flex:1;height:90%;bottom:3em;flex-direction:column;background-color:rgba(0,0,0,.33)}.Contractor *{font-family:Courier New,Courier,monospace}.Contractor .Section__titleText{display:inline-block;max-width:70%}.Contractor .Section__titleText>.Flex{width:100%}.Contractor .Section__titleText>.Flex>.Flex__item:first-of-type{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Contractor__Contract .Button{font-size:11px;white-space:normal!important}.Contractor__photoZoom{text-align:center}.Contractor__photoZoom>img{width:96px;-ms-interpolation-mode:nearest-neighbor}.Contractor__photoZoom>.Button{position:absolute}.Exofab .Dropdown__control{margin-bottom:-1px}.Exofab .Dropdown__selected-text{overflow:hidden;text-overflow:ellipsis;width:80%;display:inline-block;margin-bottom:-3px}.Exofab__materials{height:100%;overflow:auto}.Exofab__materials .Section__content{height:calc(100% - 31px)}.Exofab__material:not(.Exofab__material--line){margin-bottom:.25rem}.Exofab__material:not(.Exofab__material--line) .Button{width:28px;margin-right:.5rem}.Exofab__material--line .Button{background-color:rgba(0,0,0,0);width:14px}.Exofab__material--name{color:#7e90a7;text-transform:capitalize}.Exofab__material .Button{margin-bottom:0;padding:0;vertical-align:middle}.Exofab__queue{height:100%}.Exofab__queue--queue .Button{margin:0;transform:scale(.75)}.Exofab__queue--queue .Button:first-of-type{margin-left:.25rem}.Exofab__queue--time{text-align:center;color:#7e90a7}.Exofab__queue--deficit{text-align:center;color:#db2828;font-weight:700}.Exofab__queue--deficit>div:not(.Divider){display:inline-block;margin-bottom:-.75rem}.Exofab__queue .Section__content{height:calc(100% - 31px)}.Exofab__queue .Exofab__material--amount{margin-right:.25rem}.Exofab__design--cost{display:inline-block;vertical-align:middle;margin-top:.25rem}.Exofab__design--cost>div{display:inline-block}.Exofab__design--cost .Exofab__material{margin-left:.25rem}.Exofab__design--time{display:inline-block;margin-left:.5rem;color:#7e90a7}.Exofab__design--time i{margin-right:.25rem}.Exofab__designs .Section__content{height:calc(100% - 31px);overflow:auto}.Exofab__building{height:45px}.Exofab__building .ProgressBar{width:100%;height:75%}.Exofab__building .ProgressBar__content{line-height:26px;text-align:right;font-size:12px;font-weight:700;display:flex;justify-content:flex-end}.Exofab__dropdown{line-height:14px;font-size:12px;width:225px;height:85%;margin-top:1.5px}.Ingredient__Table tr:nth-child(2n){background-color:#333}.Ingredient__Table td{padding:3px}.Library__Booklist tr>td{text-align:center}.Library__Booklist tr:not(:first-child){height:24px;line-height:24px;transition:background-color 50ms}.Library__Booklist tr:not(:first-child):hover,.Library__Booklist tr:not(:first-child):focus{background-color:#252525}.Library__SearchContainer{background-color:rgba(37,37,37,.5)}.Library__SearchContainer tr td:first-child{width:60%}.ListInput__Section .Section__title{flex-shrink:0}.ListInput__Section .Section__titleText{font-size:12px}.ListInput__Loader{width:100%;position:relative;height:4px}.ListInput__LoaderProgress{position:absolute;transition:background-color .5s,width .5s;background-color:#3e6189;height:100%}.Newscaster__menu{width:40px;height:100%;margin-right:.5rem;flex-basis:content}.Newscaster__menu .Section__content{padding-left:0}.Newscaster__menuButton{color:#767676;cursor:pointer;position:relative;margin-left:6px;margin-right:1rem;white-space:nowrap;transition:color .1s}.Newscaster__menuButton--title{width:80%;display:none;overflow:hidden;text-overflow:ellipsis}.Newscaster__menuButton--unread{background-color:#e45e5e;color:#fff;font-size:10px;text-align:center;border-radius:32px;display:inline-block;width:12px;position:absolute;left:16px;margin-top:14px}.Newscaster__menuButton--selected{color:#fff}.Newscaster__menuButton--selected:after{content:"";background-color:#4972a1;width:2px;height:24px;position:absolute;left:-6px}.Newscaster__menuButton--security{color:#4972a1}.Newscaster__menuButton i{width:30px;text-align:center;vertical-align:middle;margin-left:-1px;margin-right:.5rem;margin-top:1px}.Newscaster__menuButton:hover{color:#fff}.Newscaster__menuButton:hover:before{background-color:#fff}.Newscaster__menuButton:not(:last-of-type){margin-bottom:.5rem}.Newscaster__menu--open{width:175px}.Newscaster__menu--open .Newscaster__menuButton--title{display:inline-block}.Newscaster__jobCategory--security .Section__title{color:#a14c49;border-bottom:2px solid #a14c49!important}.Newscaster__jobCategory--engineering .Section__title{color:#a17849;border-bottom:2px solid #a17849!important}.Newscaster__jobCategory--medical .Section__title{color:#499ea1;border-bottom:2px solid #499ea1!important}.Newscaster__jobCategory--science .Section__title{color:#a14972;border-bottom:2px solid #a14972!important}.Newscaster__jobCategory--service .Section__title{color:#a1499e;border-bottom:2px solid #a1499e!important}.Newscaster__jobCategory--supply .Section__title{color:#9ea149;border-bottom:2px solid #9ea149!important}.Newscaster__jobCategory:last-child{margin-bottom:.5rem}.Newscaster__jobOpening--command{font-weight:700}.Newscaster__jobOpening:not(:last-child){margin-bottom:.5rem}.Newscaster__emptyNotice{color:#7e90a7;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translate(-50%)}.Newscaster__emptyNotice i{margin-bottom:.25rem}.Newscaster__photo{cursor:pointer;width:100px;border:1px solid #000;transition:border-color .3s;-ms-interpolation-mode:nearest-neighbor}.Newscaster__photo:hover{border-color:gray}.Newscaster__photoZoom{text-align:center}.Newscaster__photoZoom>img{transform:scale(2);-ms-interpolation-mode:nearest-neighbor}.Newscaster__photoZoom>.Button{position:absolute;width:64px;left:50%;margin-left:-32px;bottom:1rem}.Newscaster__story--wanted{background-color:rgba(219,40,40,.1)}.Newscaster__story--wanted .Section__title{color:#db2828;border-bottom:2px solid #a14c49!important}.Newscaster__story:last-child{margin-bottom:.5rem}.NuclearBomb__displayBox{background-color:#002003;border:.167em inset #e8e4c9;color:#03e017;font-size:2em;font-family:monospace;padding:.25em}.NuclearBomb__Button{outline-width:.25rem!important;border-width:.65rem!important;padding-left:0!important;padding-right:0!important}.NuclearBomb__Button--keypad{background-color:#e8e4c9;border-color:#e8e4c9}.NuclearBomb__Button--keypad:hover{background-color:#f7f6ee!important;border-color:#f7f6ee!important}.NuclearBomb__Button--1{background-color:#d3cfb7!important;border-color:#d3cfb7!important;color:#a9a692!important}.NuclearBomb__Button--E{background-color:#d9b804!important;border-color:#d9b804!important}.NuclearBomb__Button--E:hover{background-color:#f3d00e!important;border-color:#f3d00e!important}.NuclearBomb__Button--C{background-color:#bd2020!important;border-color:#bd2020!important}.NuclearBomb__Button--C:hover{background-color:#d52b2b!important;border-color:#d52b2b!important}.OreRedemption__Ores .OreLine,.OreRedemption__Ores .OreHeader{min-height:32px;padding:0 .5rem}.OreRedemption__Ores .OreHeader{line-height:32px;background-color:rgba(0,0,0,.33);font-weight:700}.OreRedemption__Ores .OreLine:last-of-type{margin-bottom:.5rem}.OreRedemption__Ores .Section__content{padding:0;height:100%;overflow:auto}.PDA__footer{position:fixed;bottom:0%;left:0%;right:0%;height:30px}.PDA__footer__button{text-align:center;padding-top:4px;padding-bottom:2px;font-size:24px}.PdaPainter__list tr>td{text-align:center}.PdaPainter__list tr{height:24px;line-height:24px;cursor:pointer;transition:background-color 50ms}.PdaPainter__list tr:hover,.PdaPainter__list tr:focus{background-color:#252525}.PoolController__Buttons .Button:not(:last-child){margin-bottom:8px}.PrizeCounter__BuyButton{width:64px;height:100%;padding-top:.25em;text-align:center;font-size:1.5rem;font-weight:700;background-color:rgba(64,64,64,.33);color:#bfbfbf;transition:color .1s,background-color .1s}.PrizeCounter__BuyButton:hover{background-color:rgba(84,84,84,.33);color:#fff}.PrizeCounter__BuyButton .fa,.PrizeCounter__BuyButton .fas,.PrizeCounter__BuyButton .far{color:rgba(60,255,60,.66);transform:scale(1.6);position:absolute;top:2.1em;left:1.4em}.PrizeCounter__BuyButton--disabled{background-color:rgba(255,50,50,.1);color:gray}.PrizeCounter__BuyButton--disabled .fa,.PrizeCounter__BuyButton--disabled .fas,.PrizeCounter__BuyButton--disabled .far{color:rgba(255,60,60,.66)}.PrizeCounter__BuyButton--disabled:hover,.PrizeCounter__BuyButton--disabled:focus{background-color:rgba(255,50,50,.1);color:gray}.PrizeCounter__Item{margin-bottom:.5em;background-color:rgba(125,125,125,.05);border:.0833333333em solid rgba(64,64,64,.33)}.RndConsole{position:relative}.RndConsole__Overlay{position:absolute;display:flex;align-items:stretch;justify-content:stretch;top:0;left:0;width:100%;height:100vh}.RndConsole__LatheCategory__MatchingDesigns .Table__cell{padding-bottom:4px}.RndConsole__MainMenu__Buttons .Button:not(:last-child){margin-bottom:4px}.RndConsole__LatheMaterials .Table__cell:nth-child(2){padding-left:16px}.RndConsole__LatheMaterialStorage .Table__cell{padding:4px 0;border-bottom:1px solid #767676}.RndConsole__Overlay__Wrapper{display:flex;align-items:center;justify-content:stretch;flex-grow:1;padding:24px;background-color:rgba(255,255,255,0)}.RndConsole__Overlay__Wrapper .NoticeBox{flex-grow:1;margin-bottom:80px;font-size:18pt;padding:.3em .75em}.RndConsole__RndNavbar .Button{margin-bottom:10px}.Roulette{font-family:Palatino}.Roulette__board{display:table;width:100%;border-collapse:collapse;border:2px solid #fff;margin:0}.Roulette__board-row{padding:0;margin:0}.Roulette__board-cell{display:table-cell;padding:0;margin:0;border:2px solid #fff;font-family:Palatino}.Roulette__board-cell:first-child{padding-left:0}.Roulette__board-cell:last-child{padding-right:0}.Roulette__board-extrabutton{text-align:center;font-size:20px;font-weight:700;height:28px;border:none!important;margin:0!important;padding-top:4px!important;color:#fff!important}.Roulette__lowertable{margin-top:8px;margin-left:80px;margin-right:80px;border-collapse:collapse;border:2px solid #fff;border-spacing:0}.Roulette__lowertable--cell{border:2px solid #fff;padding:0;margin:0}.Roulette__lowertable--betscell{vertical-align:top}.Roulette__lowertable--spinresult{text-align:center;font-size:100px;font-weight:700;vertical-align:middle}.Roulette__lowertable--spinresult-black{background-color:#000}.Roulette__lowertable--spinresult-red{background-color:#db2828}.Roulette__lowertable--spinresult-green{background-color:#20b142}.Roulette__lowertable--spinbutton{margin:0!important;border:none!important;font-size:50px;line-height:60px!important;text-align:center;font-weight:700}.Roulette__lowertable--header{width:1%;text-align:center;font-size:20px;font-weight:700}.Safe--engraving{position:absolute;width:95%;height:96%;left:2.5%;top:2%;border:5px outset #364963;padding:5px;text-align:center}.Safe--engraving--arrow{color:#35435a}.Safe--engraving--hinge{content:" ";background-color:#191f2a;width:25px;height:40px;position:absolute;right:-15px;margin-top:-20px}.Safe--dialer{margin-bottom:.5rem}.Safe--dialer--number{color:#bbb;display:inline;background-color:#191f2a;font-size:1.5rem;font-weight:700;padding:0 .5rem}.Safe--dialer--right .Button i{z-index:-100}.Safe--dialer .Button{width:80px}.Safe--contents{border:10px solid #191f2a;background-color:#0f131a;height:calc(85% + 7.5px);text-align:left;padding:5px}.Safe--help{position:absolute;bottom:30px;left:25px;width:50%}.SecureStorage__displayBox{background-color:#212121;color:#8b8b8b;border:.167em inset #e8e4c9;font-size:375%;font-family:monospace;padding:.25em}.SecureStorage__displayBox--good{background-color:#002003;color:#03e017}.SecureStorage__displayBox--bad{background-color:#210000;color:#e00202}.SecureStorage__Button{outline-width:.25rem!important;border-width:.3rem!important;border:.167em outset #e8e4c9;padding-left:0!important;padding-right:0!important}.SecureStorage__Button--keypad{background-color:#e8e4c9;border-color:#e8e4c9;color:#a9a692}.SecureStorage__Button--keypad:hover{background-color:#f7f6ee;border-color:#f7f6ee;color:#a9a692}.SecureStorage__Button--E{background-color:#d9b804;border-color:#d9b804;color:#fff}.SecureStorage__Button--E:hover{background-color:#f5d317;border-color:#f5d317;color:#fff}.SecureStorage__Button--C{background-color:#bd2020;border-color:#bd2020;color:#fff}.SecureStorage__Button--C:hover{background-color:#d83434;border-color:#d83434;color:#fff}.SecurityRecords__list tr>td{text-align:center}.SecurityRecords__list tr:not(:first-child){height:24px;line-height:24px;cursor:pointer;transition:background-color 50ms}.SecurityRecords__list tr:not(:first-child):hover,.SecurityRecords__list tr:not(:first-child):focus{background-color:#252525}.SecurityRecords__listRow--arrest{background-color:#740c20}.SecurityRecords__listRow--execute{background-color:#683e8c}.SecurityRecords__listRow--incarcerated{background-color:#633203}.SecurityRecords__listRow--parolled{background-color:#006d7b}.SecurityRecords__listRow--released{background-color:#1c5574}.SecurityRecords__listRow--demote{background-color:#155500}.SecurityRecords__listRow--search{background-color:#987a00}.SecurityRecords__listRow--monitor{background-color:#1f1180}.SeedExtractor__list tr:not(:first-child){height:24px;line-height:24px;cursor:pointer;transition:background-color 50ms}.SeedExtractor__list tr:not(:first-child):hover,.SeedExtractor__list tr:not(:first-child):focus{background-color:#252525}.MedicalRecords__list tr>td{text-align:center}.MedicalRecords__list tr:not(:first-child){height:24px;line-height:24px;cursor:pointer;transition:background-color 50ms}.MedicalRecords__list tr:not(:first-child):hover,.MedicalRecords__list tr:not(:first-child):focus{background-color:#252525}.MedicalRecords__listRow--deceased{background-color:#740c20}.MedicalRecords__listRow--ssd{background-color:#006d7b}.MedicalRecords__listRow--physically_unfit{background-color:#987a00}.MedicalRecords__listRow--disabled{background-color:#1f1180}.MedicalRecords__listMedbot--0{background-color:#2b1414}.Layout,.Layout *{scrollbar-base-color:#1c1c1c;scrollbar-face-color:#3b3b3b;scrollbar-3dlight-color:#252525;scrollbar-highlight-color:#252525;scrollbar-track-color:#1c1c1c;scrollbar-arrow-color:#929292;scrollbar-shadow-color:#3b3b3b}.Layout::-webkit-scrollbar,.Layout *::-webkit-scrollbar{width:12px}.Layout::-webkit-scrollbar-track,.Layout *::-webkit-scrollbar-track{background:#1c1c1c}.Layout::-webkit-scrollbar-thumb,.Layout *::-webkit-scrollbar-thumb{background:#3b3b3b}.Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.Layout__content--flexRow{display:flex;flex-flow:row}.Layout__content--flexColumn{display:flex;flex-flow:column}.Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.Layout__content--noMargin{margin:0}.TitleBar{background-color:#363636;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#363636;transition:color .25s,background-color .25s}.TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#252525;background-image:linear-gradient(to bottom,#2a2a2a,#202020)}.Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.Window__contentPadding:after{height:0}.Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(62,62,62,.25);pointer-events:none}.Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.Layout__content{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMCIgdmlld0JveD0iMCAwIDQyNSAyMDAiIG9wYWNpdHk9Ii4zMyI+PHBhdGggZD0ibSAxNzguMDAzOTksMC4wMzg2OSAtNzEuMjAzOTMsMCBhIDYuNzYxMzQyMiw2LjAyNTU0OTUgMCAwIDAgLTYuNzYxMzQsNi4wMjU1NSBsIDAsMTg3Ljg3MTQ3IGEgNi43NjEzNDIyLDYuMDI1NTQ5NSAwIDAgMCA2Ljc2MTM0LDYuMDI1NTQgbCA1My4xMDcyLDAgYSA2Ljc2MTM0MjIsNi4wMjU1NDk1IDAgMCAwIDYuNzYxMzUsLTYuMDI1NTQgbCAwLC0xMDEuNTQ0MDE4IDcyLjIxNjI4LDEwNC42OTkzOTggYSA2Ljc2MTM0MjIsNi4wMjU1NDk1IDAgMCAwIDUuNzYwMTUsMi44NzAxNiBsIDczLjU1NDg3LDAgYSA2Ljc2MTM0MjIsNi4wMjU1NDk1IDAgMCAwIDYuNzYxMzUsLTYuMDI1NTQgbCAwLC0xODcuODcxNDcgYSA2Ljc2MTM0MjIsNi4wMjU1NDk1IDAgMCAwIC02Ljc2MTM1LC02LjAyNTU1IGwgLTU0LjcxNjQ0LDAgYSA2Ljc2MTM0MjIsNi4wMjU1NDk1IDAgMCAwIC02Ljc2MTMzLDYuMDI1NTUgbCAwLDEwMi42MTkzNSBMIDE4My43NjQxMywyLjkwODg2IGEgNi43NjEzNDIyLDYuMDI1NTQ5NSAwIDAgMCAtNS43NjAxNCwtMi44NzAxNyB6IiAvPjxwYXRoIGQ9Ik0gNC44NDQ2MzMzLDIyLjEwODc1IEEgMTMuNDEyMDM5LDEyLjUwMTg0MiAwIDAgMSAxMy40Nzc1ODgsMC4wMzkyNCBsIDY2LjExODMxNSwwIGEgNS4zNjQ4MTU4LDUuMDAwNzM3IDAgMCAxIDUuMzY0ODIzLDUuMDAwNzMgbCAwLDc5Ljg3OTMxIHoiIC8+PHBhdGggZD0ibSA0MjAuMTU1MzUsMTc3Ljg5MTE5IGEgMTMuNDEyMDM4LDEyLjUwMTg0MiAwIDAgMSAtOC42MzI5NSwyMi4wNjk1MSBsIC02Ni4xMTgzMiwwIGEgNS4zNjQ4MTUyLDUuMDAwNzM3IDAgMCAxIC01LjM2NDgyLC01LjAwMDc0IGwgMCwtNzkuODc5MzEgeiIgLz48L3N2Zz48IS0tIFRoaXMgd29yayBpcyBsaWNlbnNlZCB1bmRlciBhIENyZWF0aXZlIENvbW1vbnMgQXR0cmlidXRpb24tU2hhcmVBbGlrZSA0LjAgSW50ZXJuYXRpb25hbCBMaWNlbnNlLiAtLT48IS0tIGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LXNhLzQuMC8gLS0+);background-size:70%;background-position:center;background-repeat:no-repeat}.theme-abductor .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:2px;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-abductor .Button:last-child{margin-right:0;margin-bottom:0}.theme-abductor .Button .fa,.theme-abductor .Button .fas,.theme-abductor .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-abductor .Button--hasContent .fa,.theme-abductor .Button--hasContent .fas,.theme-abductor .Button--hasContent .far{margin-right:.25em}.theme-abductor .Button--hasContent.Button--iconRight .fa,.theme-abductor .Button--hasContent.Button--iconRight .fas,.theme-abductor .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-abductor .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-abductor .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-abductor .Button--circular{border-radius:50%}.theme-abductor .Button--compact{padding:0 .25em;line-height:1.333em}.theme-abductor .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-abductor .Button--color--default{transition:color .1s,background-color .1s;background-color:#ad2350;color:#fff}.theme-abductor .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-abductor .Button--color--default:hover{background-color:#d03a6b;color:#fff}.theme-abductor .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-abductor .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-abductor .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-abductor .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-abductor .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-abductor .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-abductor .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#2a314a;color:#fff;background-color:rgba(42,49,74,0);color:rgba(255,255,255,.5)}.theme-abductor .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-abductor .Button--color--transparent:hover{background-color:#404764;color:#fff}.theme-abductor .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#2a314a;color:#fff;background-color:rgba(42,49,74,.6);color:rgba(255,255,255,.5)}.theme-abductor .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-abductor .Button--color--translucent:hover{background-color:#404764;color:#fff}.theme-abductor .Button--disabled{background-color:#363636!important}.theme-abductor .Button--selected{transition:color .1s,background-color .1s;background-color:#465899;color:#fff}.theme-abductor .Button--selected:focus{transition:color .25s,background-color .25s}.theme-abductor .Button--selected:hover{background-color:#6577b5;color:#fff}.theme-abductor .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-abductor .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#fff;background-color:#a82d55;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-abductor .NoticeBox--type--info{color:#fff;background-color:#235982}.theme-abductor .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-abductor .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-abductor .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-abductor .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #404b6e;border:.0833333333em solid rgba(64,75,110,.75);border-radius:2px;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-abductor .Input--disabled{color:#777;border-color:#171717;border-color:rgba(23,23,23,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-abductor .Input--fluid{display:block;width:auto}.theme-abductor .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-abductor .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-abductor .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-abductor .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-abductor .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-abductor .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-abductor .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #404b6e;border:.0833333333em solid rgba(64,75,110,.75);border-radius:2px;color:#404b6e;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-abductor .NumberInput--fluid{display:block}.theme-abductor .NumberInput__content{margin-left:.5em}.theme-abductor .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-abductor .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #404b6e;background-color:#404b6e}.theme-abductor .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-abductor .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:2px;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-abductor .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-abductor .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-abductor .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-abductor .ProgressBar--color--default{border:.0833333333em solid #931e44}.theme-abductor .ProgressBar--color--default .ProgressBar__fill{background-color:#931e44}.theme-abductor .ProgressBar--color--disabled{border:1px solid #363636}.theme-abductor .ProgressBar--color--disabled .ProgressBar__fill{background-color:#363636}.theme-abductor .Section{position:relative;margin-bottom:.5em;background-color:#1c2132;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-abductor .Section:last-child{margin-bottom:0}.theme-abductor .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #ad2350}.theme-abductor .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-abductor .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-abductor .Section__rest{position:relative}.theme-abductor .Section__content{padding:.66em .5em}.theme-abductor .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-abductor .Section--fill{display:flex;flex-direction:column;height:100%}.theme-abductor .Section--fill>.Section__rest{flex-grow:1}.theme-abductor .Section--fill>.Section__rest>.Section__content{height:100%}.theme-abductor .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-abductor .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-abductor .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-abductor .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-abductor .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-abductor .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-abductor .Section .Section:first-child{margin-top:-.5em}.theme-abductor .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-abductor .Section .Section .Section .Section__titleText{font-size:1em}.theme-abductor .Tooltip{z-index:2;padding:.5em .75em;pointer-events:none;text-align:left;transition:opacity .15s ease-out;background-color:#a82d55;color:#fff;box-shadow:.1em .1em 1.25em -.1em rgba(0,0,0,.5);border-radius:2px;max-width:20.8333333333em}.theme-abductor .Layout,.theme-abductor .Layout *{scrollbar-base-color:#202538;scrollbar-face-color:#384263;scrollbar-3dlight-color:#2a314a;scrollbar-highlight-color:#2a314a;scrollbar-track-color:#202538;scrollbar-arrow-color:#818db8;scrollbar-shadow-color:#384263}.theme-abductor .Layout::-webkit-scrollbar,.theme-abductor .Layout *::-webkit-scrollbar{width:12px}.theme-abductor .Layout::-webkit-scrollbar-track,.theme-abductor .Layout *::-webkit-scrollbar-track{background:#202538}.theme-abductor .Layout::-webkit-scrollbar-thumb,.theme-abductor .Layout *::-webkit-scrollbar-thumb{background:#384263}.theme-abductor .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-abductor .Layout__content--flexRow{display:flex;flex-flow:row}.theme-abductor .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-abductor .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-abductor .Layout__content--noMargin{margin:0}.theme-abductor .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#2a314a;background-image:linear-gradient(to bottom,#353e5e,#1f2436)}.theme-abductor .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-abductor .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-abductor .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-abductor .Window__contentPadding:after{height:0}.theme-abductor .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-abductor .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(68,76,104,.25);pointer-events:none}.theme-abductor .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-abductor .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-abductor .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-abductor .TitleBar{background-color:#9e1b46;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-abductor .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#9e1b46;transition:color .25s,background-color .25s}.theme-abductor .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-abductor .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-abductor .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-abductor .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-abductor .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-abductor .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-abductor .Layout__content{background-image:none}.theme-cardtable .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:0;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-cardtable .Button:last-child{margin-right:0;margin-bottom:0}.theme-cardtable .Button .fa,.theme-cardtable .Button .fas,.theme-cardtable .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-cardtable .Button--hasContent .fa,.theme-cardtable .Button--hasContent .fas,.theme-cardtable .Button--hasContent .far{margin-right:.25em}.theme-cardtable .Button--hasContent.Button--iconRight .fa,.theme-cardtable .Button--hasContent.Button--iconRight .fas,.theme-cardtable .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-cardtable .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-cardtable .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-cardtable .Button--circular{border-radius:50%}.theme-cardtable .Button--compact{padding:0 .25em;line-height:1.333em}.theme-cardtable .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-cardtable .Button--color--default{transition:color .1s,background-color .1s;background-color:#117039;color:#fff}.theme-cardtable .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-cardtable .Button--color--default:hover{background-color:#238e50;color:#fff}.theme-cardtable .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-cardtable .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-cardtable .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-cardtable .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-cardtable .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-cardtable .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-cardtable .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#117039;color:#fff;background-color:rgba(17,112,57,0);color:rgba(255,255,255,.5)}.theme-cardtable .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-cardtable .Button--color--transparent:hover{background-color:#238e50;color:#fff}.theme-cardtable .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#117039;color:#fff;background-color:rgba(17,112,57,.6);color:rgba(255,255,255,.5)}.theme-cardtable .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-cardtable .Button--color--translucent:hover{background-color:#238e50;color:#fff}.theme-cardtable .Button--disabled{background-color:#363636!important}.theme-cardtable .Button--selected{transition:color .1s,background-color .1s;background-color:#9d0808;color:#fff}.theme-cardtable .Button--selected:focus{transition:color .25s,background-color .25s}.theme-cardtable .Button--selected:hover{background-color:#c11919;color:#fff}.theme-cardtable .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-cardtable .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:0;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-cardtable .Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-cardtable .Input--fluid{display:block;width:auto}.theme-cardtable .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-cardtable .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-cardtable .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-cardtable .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-cardtable .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-cardtable .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-cardtable .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #fff;border:.0833333333em solid rgba(255,255,255,.75);border-radius:0;color:#fff;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-cardtable .NumberInput--fluid{display:block}.theme-cardtable .NumberInput__content{margin-left:.5em}.theme-cardtable .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-cardtable .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #fff;background-color:#fff}.theme-cardtable .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-cardtable .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:0;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-cardtable .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-cardtable .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-cardtable .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-cardtable .ProgressBar--color--default{border:.0833333333em solid #000}.theme-cardtable .ProgressBar--color--default .ProgressBar__fill{background-color:#000}.theme-cardtable .ProgressBar--color--disabled{border:1px solid #363636}.theme-cardtable .ProgressBar--color--disabled .ProgressBar__fill{background-color:#363636}.theme-cardtable .Section{position:relative;margin-bottom:.5em;background-color:#0b4b26;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-cardtable .Section:last-child{margin-bottom:0}.theme-cardtable .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #000}.theme-cardtable .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-cardtable .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-cardtable .Section__rest{position:relative}.theme-cardtable .Section__content{padding:.66em .5em}.theme-cardtable .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-cardtable .Section--fill{display:flex;flex-direction:column;height:100%}.theme-cardtable .Section--fill>.Section__rest{flex-grow:1}.theme-cardtable .Section--fill>.Section__rest>.Section__content{height:100%}.theme-cardtable .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-cardtable .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-cardtable .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-cardtable .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-cardtable .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-cardtable .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-cardtable .Section .Section:first-child{margin-top:-.5em}.theme-cardtable .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-cardtable .Section .Section .Section .Section__titleText{font-size:1em}.theme-cardtable .Layout,.theme-cardtable .Layout *{scrollbar-base-color:#0d542b;scrollbar-face-color:#16914a;scrollbar-3dlight-color:#117039;scrollbar-highlight-color:#117039;scrollbar-track-color:#0d542b;scrollbar-arrow-color:#5ae695;scrollbar-shadow-color:#16914a}.theme-cardtable .Layout::-webkit-scrollbar,.theme-cardtable .Layout *::-webkit-scrollbar{width:12px}.theme-cardtable .Layout::-webkit-scrollbar-track,.theme-cardtable .Layout *::-webkit-scrollbar-track{background:#0d542b}.theme-cardtable .Layout::-webkit-scrollbar-thumb,.theme-cardtable .Layout *::-webkit-scrollbar-thumb{background:#16914a}.theme-cardtable .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-cardtable .Layout__content--flexRow{display:flex;flex-flow:row}.theme-cardtable .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-cardtable .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-cardtable .Layout__content--noMargin{margin:0}.theme-cardtable .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#117039;background-image:linear-gradient(to bottom,#117039,#117039)}.theme-cardtable .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-cardtable .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-cardtable .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-cardtable .Window__contentPadding:after{height:0}.theme-cardtable .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-cardtable .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(39,148,85,.25);pointer-events:none}.theme-cardtable .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-cardtable .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-cardtable .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-cardtable .TitleBar{background-color:#381608;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-cardtable .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#381608;transition:color .25s,background-color .25s}.theme-cardtable .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-cardtable .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-cardtable .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-cardtable .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-cardtable .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-cardtable .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-cardtable .Button{border:.1666666667em solid #fff}.theme-changeling .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:2px;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-changeling .Button:last-child{margin-right:0;margin-bottom:0}.theme-changeling .Button .fa,.theme-changeling .Button .fas,.theme-changeling .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-changeling .Button--hasContent .fa,.theme-changeling .Button--hasContent .fas,.theme-changeling .Button--hasContent .far{margin-right:.25em}.theme-changeling .Button--hasContent.Button--iconRight .fa,.theme-changeling .Button--hasContent.Button--iconRight .fas,.theme-changeling .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-changeling .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-changeling .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-changeling .Button--circular{border-radius:50%}.theme-changeling .Button--compact{padding:0 .25em;line-height:1.333em}.theme-changeling .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-changeling .Button--color--default{transition:color .1s,background-color .1s;background-color:#563d6b;color:#fff}.theme-changeling .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-changeling .Button--color--default:hover{background-color:#715589;color:#fff}.theme-changeling .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-changeling .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-changeling .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-changeling .Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-changeling .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-changeling .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-changeling .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#2e2633;color:#fff;background-color:rgba(46,38,51,0);color:rgba(255,255,255,.5)}.theme-changeling .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-changeling .Button--color--transparent:hover{background-color:#443b4a;color:#fff}.theme-changeling .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#2e2633;color:#fff;background-color:rgba(46,38,51,.6);color:rgba(255,255,255,.5)}.theme-changeling .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-changeling .Button--color--translucent:hover{background-color:#443b4a;color:#fff}.theme-changeling .Button--disabled{background-color:#999!important}.theme-changeling .Button--selected{transition:color .1s,background-color .1s;background-color:#188552;color:#fff}.theme-changeling .Button--selected:focus{transition:color .25s,background-color .25s}.theme-changeling .Button--selected:hover{background-color:#2ba66d;color:#fff}.theme-changeling .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-changeling .Section{position:relative;margin-bottom:.5em;background-color:#1f1922;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-changeling .Section:last-child{margin-bottom:0}.theme-changeling .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #563d6b}.theme-changeling .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-changeling .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-changeling .Section__rest{position:relative}.theme-changeling .Section__content{padding:.66em .5em}.theme-changeling .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-changeling .Section--fill{display:flex;flex-direction:column;height:100%}.theme-changeling .Section--fill>.Section__rest{flex-grow:1}.theme-changeling .Section--fill>.Section__rest>.Section__content{height:100%}.theme-changeling .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-changeling .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-changeling .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-changeling .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-changeling .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-changeling .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-changeling .Section .Section:first-child{margin-top:-.5em}.theme-changeling .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-changeling .Section .Section .Section .Section__titleText{font-size:1em}.theme-changeling .Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:rgba(0,0,0,.33)}.theme-changeling .Tabs--fill{height:100%}.theme-changeling .Section .Tabs{background-color:rgba(0,0,0,0)}.theme-changeling .Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.theme-changeling .Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.theme-changeling .Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.theme-changeling .Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.theme-changeling .Tabs--horizontal:last-child{margin-bottom:0}.theme-changeling .Tabs__Tab{flex-grow:0}.theme-changeling .Tabs--fluid .Tabs__Tab{flex-grow:1}.theme-changeling .Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(255,255,255,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.theme-changeling .Tab:not(.Tab--selected):hover{background-color:rgba(255,255,255,.075);transition:background-color 0}.theme-changeling .Tab--selected{background-color:#563d6b;color:#e3daea}.theme-changeling .Tab__text{flex-grow:1;margin:0 .5em}.theme-changeling .Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.theme-changeling .Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.theme-changeling .Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.theme-changeling .Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #d9cee3}.theme-changeling .Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.theme-changeling .Tabs--vertical .Tab--selected{border-left:.1666666667em solid #d9cee3}.theme-changeling .Layout,.theme-changeling .Layout *{scrollbar-base-color:#231d26;scrollbar-face-color:#44384b;scrollbar-3dlight-color:#2e2633;scrollbar-highlight-color:#2e2633;scrollbar-track-color:#231d26;scrollbar-arrow-color:#9986a5;scrollbar-shadow-color:#44384b}.theme-changeling .Layout::-webkit-scrollbar,.theme-changeling .Layout *::-webkit-scrollbar{width:12px}.theme-changeling .Layout::-webkit-scrollbar-track,.theme-changeling .Layout *::-webkit-scrollbar-track{background:#231d26}.theme-changeling .Layout::-webkit-scrollbar-thumb,.theme-changeling .Layout *::-webkit-scrollbar-thumb{background:#44384b}.theme-changeling .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-changeling .Layout__content--flexRow{display:flex;flex-flow:row}.theme-changeling .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-changeling .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-changeling .Layout__content--noMargin{margin:0}.theme-changeling .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#2e2633;background-image:linear-gradient(to bottom,#3e3345,#1e1921)}.theme-changeling .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-changeling .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-changeling .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-changeling .Window__contentPadding:after{height:0}.theme-changeling .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-changeling .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(72,63,78,.25);pointer-events:none}.theme-changeling .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-changeling .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-changeling .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-changeling .TitleBar{background-color:#352d3b;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-changeling .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#352d3b;transition:color .25s,background-color .25s}.theme-changeling .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-changeling .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-changeling .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-changeling .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-changeling .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-changeling .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-changeling .Layout__content{background-image:none}.theme-hackerman .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-hackerman .Button:last-child{margin-right:0;margin-bottom:0}.theme-hackerman .Button .fa,.theme-hackerman .Button .fas,.theme-hackerman .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-hackerman .Button--hasContent .fa,.theme-hackerman .Button--hasContent .fas,.theme-hackerman .Button--hasContent .far{margin-right:.25em}.theme-hackerman .Button--hasContent.Button--iconRight .fa,.theme-hackerman .Button--hasContent.Button--iconRight .fas,.theme-hackerman .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-hackerman .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-hackerman .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-hackerman .Button--circular{border-radius:50%}.theme-hackerman .Button--compact{padding:0 .25em;line-height:1.333em}.theme-hackerman .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-hackerman .Button--color--default{transition:color .1s,background-color .1s;background-color:#0f0;color:#000}.theme-hackerman .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-hackerman .Button--color--default:hover{background-color:#40ff40;color:#000}.theme-hackerman .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-hackerman .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-hackerman .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-hackerman .Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-hackerman .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-hackerman .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-hackerman .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#121b12;color:#fff;background-color:rgba(18,27,18,0);color:rgba(255,255,255,.5)}.theme-hackerman .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-hackerman .Button--color--transparent:hover{background-color:#252f25;color:#fff}.theme-hackerman .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#121b12;color:#fff;background-color:rgba(18,27,18,.6);color:rgba(255,255,255,.5)}.theme-hackerman .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-hackerman .Button--color--translucent:hover{background-color:#252f25;color:#fff}.theme-hackerman .Button--disabled{background-color:#363636!important}.theme-hackerman .Button--selected{transition:color .1s,background-color .1s;background-color:#0f0;color:#000}.theme-hackerman .Button--selected:focus{transition:color .25s,background-color .25s}.theme-hackerman .Button--selected:hover{background-color:#40ff40;color:#000}.theme-hackerman .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-hackerman .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid lime;border:.0833333333em solid rgba(0,255,0,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-hackerman .Input--disabled{color:#777;border-color:#404040;border-color:rgba(64,64,64,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-hackerman .Input--fluid{display:block;width:auto}.theme-hackerman .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-hackerman .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-hackerman .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-hackerman .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-hackerman .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-hackerman .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-hackerman .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-hackerman .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-hackerman .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-hackerman .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-hackerman .ProgressBar--color--default{border:.0833333333em solid #00d900}.theme-hackerman .ProgressBar--color--default .ProgressBar__fill{background-color:#00d900}.theme-hackerman .ProgressBar--color--disabled{border:1px solid #363636}.theme-hackerman .ProgressBar--color--disabled .ProgressBar__fill{background-color:#363636}.theme-hackerman .Modal{background-color:#121b12;max-width:calc(100% - 1rem);padding:1rem;scrollbar-base-color:#0e140e;scrollbar-face-color:#253725;scrollbar-3dlight-color:#121b12;scrollbar-highlight-color:#121b12;scrollbar-track-color:#0e140e;scrollbar-arrow-color:#74a274;scrollbar-shadow-color:#253725}.theme-hackerman .Section{position:relative;margin-bottom:.5em;background-color:#0c120c;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-hackerman .Section:last-child{margin-bottom:0}.theme-hackerman .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid lime}.theme-hackerman .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-hackerman .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-hackerman .Section__rest{position:relative}.theme-hackerman .Section__content{padding:.66em .5em}.theme-hackerman .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-hackerman .Section--fill{display:flex;flex-direction:column;height:100%}.theme-hackerman .Section--fill>.Section__rest{flex-grow:1}.theme-hackerman .Section--fill>.Section__rest>.Section__content{height:100%}.theme-hackerman .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-hackerman .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-hackerman .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-hackerman .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-hackerman .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-hackerman .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-hackerman .Section .Section:first-child{margin-top:-.5em}.theme-hackerman .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-hackerman .Section .Section .Section .Section__titleText{font-size:1em}.theme-hackerman .Layout,.theme-hackerman .Layout *{scrollbar-base-color:#0e140e;scrollbar-face-color:#253725;scrollbar-3dlight-color:#121b12;scrollbar-highlight-color:#121b12;scrollbar-track-color:#0e140e;scrollbar-arrow-color:#74a274;scrollbar-shadow-color:#253725}.theme-hackerman .Layout::-webkit-scrollbar,.theme-hackerman .Layout *::-webkit-scrollbar{width:12px}.theme-hackerman .Layout::-webkit-scrollbar-track,.theme-hackerman .Layout *::-webkit-scrollbar-track{background:#0e140e}.theme-hackerman .Layout::-webkit-scrollbar-thumb,.theme-hackerman .Layout *::-webkit-scrollbar-thumb{background:#253725}.theme-hackerman .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-hackerman .Layout__content--flexRow{display:flex;flex-flow:row}.theme-hackerman .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-hackerman .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-hackerman .Layout__content--noMargin{margin:0}.theme-hackerman .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#121b12;background-image:linear-gradient(to bottom,#121b12,#121b12)}.theme-hackerman .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-hackerman .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-hackerman .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-hackerman .Window__contentPadding:after{height:0}.theme-hackerman .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-hackerman .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(40,50,40,.25);pointer-events:none}.theme-hackerman .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-hackerman .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-hackerman .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-hackerman .TitleBar{background-color:#223d22;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-hackerman .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#223d22;transition:color .25s,background-color .25s}.theme-hackerman .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-hackerman .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-hackerman .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-hackerman .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-hackerman .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-hackerman .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-hackerman .Layout__content{background-image:none}.theme-hackerman .Button{font-family:monospace;border-width:.1666666667em;border-style:outset;border-color:#0a0;outline:.0833333333em solid #007a00}.theme-hackerman .candystripe:nth-child(odd){background-color:rgba(0,100,0,.5)}.theme-hydroponics .color-label{color:#8bb08b!important}.theme-hydroponics .color-bg-good{background-color:#4d9121!important}.theme-hydroponics .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-hydroponics .Button:last-child{margin-right:0;margin-bottom:0}.theme-hydroponics .Button .fa,.theme-hydroponics .Button .fas,.theme-hydroponics .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-hydroponics .Button--hasContent .fa,.theme-hydroponics .Button--hasContent .fas,.theme-hydroponics .Button--hasContent .far{margin-right:.25em}.theme-hydroponics .Button--hasContent.Button--iconRight .fa,.theme-hydroponics .Button--hasContent.Button--iconRight .fas,.theme-hydroponics .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-hydroponics .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-hydroponics .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-hydroponics .Button--circular{border-radius:50%}.theme-hydroponics .Button--compact{padding:0 .25em;line-height:1.333em}.theme-hydroponics .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-hydroponics .Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.theme-hydroponics .Button--color--good:focus{transition:color .25s,background-color .25s}.theme-hydroponics .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-hydroponics .Button--color--default{transition:color .1s,background-color .1s;background-color:#49a149;color:#fff}.theme-hydroponics .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-hydroponics .Button--color--default:hover{background-color:#6dbb6d;color:#fff}.theme-hydroponics .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-hydroponics .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-hydroponics .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-hydroponics .Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-hydroponics .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-hydroponics .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-hydroponics .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#252525;color:#fff;background-color:rgba(37,37,37,0);color:rgba(255,255,255,.5)}.theme-hydroponics .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-hydroponics .Button--color--transparent:hover{background-color:#3a3a3a;color:#fff}.theme-hydroponics .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#252525;color:#fff;background-color:rgba(37,37,37,.6);color:rgba(255,255,255,.5)}.theme-hydroponics .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-hydroponics .Button--color--translucent:hover{background-color:#3a3a3a;color:#fff}.theme-hydroponics .Button--disabled{background-color:#999!important}.theme-hydroponics .Button--selected{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-hydroponics .Button--selected:focus{transition:color .25s,background-color .25s}.theme-hydroponics .Button--selected:hover{background-color:#2fb94f;color:#fff}.theme-hydroponics .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-hydroponics .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #8f8;border:.0833333333em solid rgba(136,255,136,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-hydroponics .Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-hydroponics .Input--fluid{display:block;width:auto}.theme-hydroponics .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-hydroponics .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-hydroponics .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-hydroponics .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-hydroponics .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-hydroponics .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-hydroponics .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#000;background-color:#bb9b68;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-hydroponics .NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.theme-hydroponics .NoticeBox--type--info{color:#000;background-color:#238223}.theme-hydroponics .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-hydroponics .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-hydroponics .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-hydroponics .Section{position:relative;margin-bottom:.5em;background-color:#191919;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-hydroponics .Section:last-child{margin-bottom:0}.theme-hydroponics .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #49a149}.theme-hydroponics .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-hydroponics .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-hydroponics .Section__rest{position:relative}.theme-hydroponics .Section__content{padding:.66em .5em}.theme-hydroponics .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-hydroponics .Section--fill{display:flex;flex-direction:column;height:100%}.theme-hydroponics .Section--fill>.Section__rest{flex-grow:1}.theme-hydroponics .Section--fill>.Section__rest>.Section__content{height:100%}.theme-hydroponics .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-hydroponics .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-hydroponics .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-hydroponics .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-hydroponics .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-hydroponics .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-hydroponics .Section .Section:first-child{margin-top:-.5em}.theme-hydroponics .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-hydroponics .Section .Section .Section .Section__titleText{font-size:1em}.theme-hydroponics .Newscaster__menu{width:40px;height:100%;margin-right:.5rem;flex-basis:content}.theme-hydroponics .Newscaster__menu .Section__content{padding-left:0}.theme-hydroponics .Newscaster__menuButton{color:#767676;cursor:pointer;position:relative;margin-left:6px;margin-right:1rem;white-space:nowrap;transition:color .1s}.theme-hydroponics .Newscaster__menuButton--title{width:80%;display:none;overflow:hidden;text-overflow:ellipsis}.theme-hydroponics .Newscaster__menuButton--unread{background-color:#e45e5e;color:#fff;font-size:10px;text-align:center;border-radius:32px;display:inline-block;width:12px;position:absolute;left:16px;margin-top:14px}.theme-hydroponics .Newscaster__menuButton--selected{color:#fff}.theme-hydroponics .Newscaster__menuButton--selected:after{content:"";background-color:#49a149;width:2px;height:24px;position:absolute;left:-6px}.theme-hydroponics .Newscaster__menuButton--security{color:#49a149}.theme-hydroponics .Newscaster__menuButton i{width:30px;text-align:center;vertical-align:middle;margin-left:-1px;margin-right:.5rem;margin-top:1px}.theme-hydroponics .Newscaster__menuButton:hover{color:#fff}.theme-hydroponics .Newscaster__menuButton:hover:before{background-color:#fff}.theme-hydroponics .Newscaster__menuButton:not(:last-of-type){margin-bottom:.5rem}.theme-hydroponics .Newscaster__menu--open{width:175px}.theme-hydroponics .Newscaster__menu--open .Newscaster__menuButton--title{display:inline-block}.theme-hydroponics .Newscaster__jobCategory--security .Section__title{color:#a14c49;border-bottom:2px solid #a14c49!important}.theme-hydroponics .Newscaster__jobCategory--engineering .Section__title{color:#a17849;border-bottom:2px solid #a17849!important}.theme-hydroponics .Newscaster__jobCategory--medical .Section__title{color:#499ea1;border-bottom:2px solid #499ea1!important}.theme-hydroponics .Newscaster__jobCategory--science .Section__title{color:#a14972;border-bottom:2px solid #a14972!important}.theme-hydroponics .Newscaster__jobCategory--service .Section__title{color:#a1499e;border-bottom:2px solid #a1499e!important}.theme-hydroponics .Newscaster__jobCategory--supply .Section__title{color:#9ea149;border-bottom:2px solid #9ea149!important}.theme-hydroponics .Newscaster__jobCategory:last-child{margin-bottom:.5rem}.theme-hydroponics .Newscaster__jobOpening--command{font-weight:700}.theme-hydroponics .Newscaster__jobOpening:not(:last-child){margin-bottom:.5rem}.theme-hydroponics .Newscaster__emptyNotice{color:#7ea77e;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translate(-50%)}.theme-hydroponics .Newscaster__emptyNotice i{margin-bottom:.25rem}.theme-hydroponics .Newscaster__photo{cursor:pointer;width:100px;border:1px solid #000;transition:border-color .3s;-ms-interpolation-mode:nearest-neighbor}.theme-hydroponics .Newscaster__photo:hover{border-color:gray}.theme-hydroponics .Newscaster__photoZoom{text-align:center}.theme-hydroponics .Newscaster__photoZoom>img{transform:scale(2);-ms-interpolation-mode:nearest-neighbor}.theme-hydroponics .Newscaster__photoZoom>.Button{position:absolute;width:64px;left:50%;margin-left:-32px;bottom:1rem}.theme-hydroponics .Newscaster__story--wanted{background-color:rgba(219,40,40,.1)}.theme-hydroponics .Newscaster__story--wanted .Section__title{color:#db2828;border-bottom:2px solid #a14c49!important}.theme-hydroponics .Newscaster__story:last-child{margin-bottom:.5rem}.theme-malfunction .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-malfunction .Button:last-child{margin-right:0;margin-bottom:0}.theme-malfunction .Button .fa,.theme-malfunction .Button .fas,.theme-malfunction .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-malfunction .Button--hasContent .fa,.theme-malfunction .Button--hasContent .fas,.theme-malfunction .Button--hasContent .far{margin-right:.25em}.theme-malfunction .Button--hasContent.Button--iconRight .fa,.theme-malfunction .Button--hasContent.Button--iconRight .fas,.theme-malfunction .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-malfunction .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-malfunction .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-malfunction .Button--circular{border-radius:50%}.theme-malfunction .Button--compact{padding:0 .25em;line-height:1.333em}.theme-malfunction .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-malfunction .Button--color--default{transition:color .1s,background-color .1s;background-color:#910101;color:#fff}.theme-malfunction .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-malfunction .Button--color--default:hover{background-color:#b31111;color:#fff}.theme-malfunction .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-malfunction .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-malfunction .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-malfunction .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-malfunction .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-malfunction .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-malfunction .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#1b3443;color:#fff;background-color:rgba(27,52,67,0);color:rgba(255,255,255,.5)}.theme-malfunction .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-malfunction .Button--color--transparent:hover{background-color:#2f4b5c;color:#fff}.theme-malfunction .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#1b3443;color:#fff;background-color:rgba(27,52,67,.6);color:rgba(255,255,255,.5)}.theme-malfunction .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-malfunction .Button--color--translucent:hover{background-color:#2f4b5c;color:#fff}.theme-malfunction .Button--disabled{background-color:#363636!important}.theme-malfunction .Button--selected{transition:color .1s,background-color .1s;background-color:#1e5881;color:#fff}.theme-malfunction .Button--selected:focus{transition:color .25s,background-color .25s}.theme-malfunction .Button--selected:hover{background-color:#3273a1;color:#fff}.theme-malfunction .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-malfunction .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#fff;background-color:#1a3f57;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-malfunction .NoticeBox--type--info{color:#fff;background-color:#235982}.theme-malfunction .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-malfunction .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-malfunction .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-malfunction .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #910101;border:.0833333333em solid rgba(145,1,1,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-malfunction .Input--disabled{color:#777;border-color:#090909;border-color:rgba(9,9,9,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-malfunction .Input--fluid{display:block;width:auto}.theme-malfunction .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-malfunction .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-malfunction .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-malfunction .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-malfunction .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-malfunction .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-malfunction .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #910101;border:.0833333333em solid rgba(145,1,1,.75);border-radius:.16em;color:#910101;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-malfunction .NumberInput--fluid{display:block}.theme-malfunction .NumberInput__content{margin-left:.5em}.theme-malfunction .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-malfunction .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #910101;background-color:#910101}.theme-malfunction .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-malfunction .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-malfunction .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-malfunction .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-malfunction .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-malfunction .ProgressBar--color--default{border:.0833333333em solid #7b0101}.theme-malfunction .ProgressBar--color--default .ProgressBar__fill{background-color:#7b0101}.theme-malfunction .ProgressBar--color--disabled{border:1px solid #363636}.theme-malfunction .ProgressBar--color--disabled .ProgressBar__fill{background-color:#363636}.theme-malfunction .Section{position:relative;margin-bottom:.5em;background-color:#12232d;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-malfunction .Section:last-child{margin-bottom:0}.theme-malfunction .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #910101}.theme-malfunction .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-malfunction .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-malfunction .Section__rest{position:relative}.theme-malfunction .Section__content{padding:.66em .5em}.theme-malfunction .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-malfunction .Section--fill{display:flex;flex-direction:column;height:100%}.theme-malfunction .Section--fill>.Section__rest{flex-grow:1}.theme-malfunction .Section--fill>.Section__rest>.Section__content{height:100%}.theme-malfunction .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-malfunction .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-malfunction .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-malfunction .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-malfunction .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-malfunction .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-malfunction .Section .Section:first-child{margin-top:-.5em}.theme-malfunction .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-malfunction .Section .Section .Section .Section__titleText{font-size:1em}.theme-malfunction .Tooltip{z-index:2;padding:.5em .75em;pointer-events:none;text-align:left;transition:opacity .15s ease-out;background-color:#235577;color:#fff;box-shadow:.1em .1em 1.25em -.1em rgba(0,0,0,.5);border-radius:.16em;max-width:20.8333333333em}.theme-malfunction .Layout,.theme-malfunction .Layout *{scrollbar-base-color:#142732;scrollbar-face-color:#274b61;scrollbar-3dlight-color:#1b3443;scrollbar-highlight-color:#1b3443;scrollbar-track-color:#142732;scrollbar-arrow-color:#6ba2c3;scrollbar-shadow-color:#274b61}.theme-malfunction .Layout::-webkit-scrollbar,.theme-malfunction .Layout *::-webkit-scrollbar{width:12px}.theme-malfunction .Layout::-webkit-scrollbar-track,.theme-malfunction .Layout *::-webkit-scrollbar-track{background:#142732}.theme-malfunction .Layout::-webkit-scrollbar-thumb,.theme-malfunction .Layout *::-webkit-scrollbar-thumb{background:#274b61}.theme-malfunction .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-malfunction .Layout__content--flexRow{display:flex;flex-flow:row}.theme-malfunction .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-malfunction .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-malfunction .Layout__content--noMargin{margin:0}.theme-malfunction .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#1b3443;background-image:linear-gradient(to bottom,#244559,#12232d)}.theme-malfunction .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-malfunction .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-malfunction .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-malfunction .Window__contentPadding:after{height:0}.theme-malfunction .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-malfunction .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(50,79,96,.25);pointer-events:none}.theme-malfunction .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-malfunction .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-malfunction .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-malfunction .TitleBar{background-color:#1a3f57;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-malfunction .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#1a3f57;transition:color .25s,background-color .25s}.theme-malfunction .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-malfunction .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-malfunction .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-malfunction .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-malfunction .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-malfunction .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-malfunction .Layout__content{background-image:none}.theme-ntos .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-ntos .Button:last-child{margin-right:0;margin-bottom:0}.theme-ntos .Button .fa,.theme-ntos .Button .fas,.theme-ntos .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-ntos .Button--hasContent .fa,.theme-ntos .Button--hasContent .fas,.theme-ntos .Button--hasContent .far{margin-right:.25em}.theme-ntos .Button--hasContent.Button--iconRight .fa,.theme-ntos .Button--hasContent.Button--iconRight .fas,.theme-ntos .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-ntos .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-ntos .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-ntos .Button--circular{border-radius:50%}.theme-ntos .Button--compact{padding:0 .25em;line-height:1.333em}.theme-ntos .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-ntos .Button--color--default{transition:color .1s,background-color .1s;background-color:#384e68;color:#fff}.theme-ntos .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--default:hover{background-color:#4f6885;color:#fff}.theme-ntos .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-ntos .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-ntos .Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-ntos .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#1f2b39;color:#fff;background-color:rgba(31,43,57,0);color:rgba(227,240,255,.75)}.theme-ntos .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--transparent:hover{background-color:#334151;color:#fff}.theme-ntos .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#1f2b39;color:#fff;background-color:rgba(31,43,57,.6);color:rgba(227,240,255,.75)}.theme-ntos .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--color--translucent:hover{background-color:#334151;color:#fff}.theme-ntos .Button--disabled{background-color:#999!important}.theme-ntos .Button--selected{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-ntos .Button--selected:focus{transition:color .25s,background-color .25s}.theme-ntos .Button--selected:hover{background-color:#2fb94f;color:#fff}.theme-ntos .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-ntos .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-ntos .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-ntos .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-ntos .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-ntos .ProgressBar--color--default{border:.0833333333em solid #384e68}.theme-ntos .ProgressBar--color--default .ProgressBar__fill{background-color:#384e68}.theme-ntos .ProgressBar--color--disabled{border:1px solid #999}.theme-ntos .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-ntos .Section{position:relative;margin-bottom:.5em;background-color:#151d26;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-ntos .Section:last-child{margin-bottom:0}.theme-ntos .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.theme-ntos .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-ntos .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-ntos .Section__rest{position:relative}.theme-ntos .Section__content{padding:.66em .5em}.theme-ntos .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-ntos .Section--fill{display:flex;flex-direction:column;height:100%}.theme-ntos .Section--fill>.Section__rest{flex-grow:1}.theme-ntos .Section--fill>.Section__rest>.Section__content{height:100%}.theme-ntos .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-ntos .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-ntos .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-ntos .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-ntos .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-ntos .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-ntos .Section .Section:first-child{margin-top:-.5em}.theme-ntos .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-ntos .Section .Section .Section .Section__titleText{font-size:1em}.theme-ntos .Layout,.theme-ntos .Layout *{scrollbar-base-color:#17202b;scrollbar-face-color:#2e3f55;scrollbar-3dlight-color:#1f2b39;scrollbar-highlight-color:#1f2b39;scrollbar-track-color:#17202b;scrollbar-arrow-color:#7693b5;scrollbar-shadow-color:#2e3f55}.theme-ntos .Layout::-webkit-scrollbar,.theme-ntos .Layout *::-webkit-scrollbar{width:12px}.theme-ntos .Layout::-webkit-scrollbar-track,.theme-ntos .Layout *::-webkit-scrollbar-track{background:#17202b}.theme-ntos .Layout::-webkit-scrollbar-thumb,.theme-ntos .Layout *::-webkit-scrollbar-thumb{background:#2e3f55}.theme-ntos .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-ntos .Layout__content--flexRow{display:flex;flex-flow:row}.theme-ntos .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-ntos .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-ntos .Layout__content--noMargin{margin:0}.theme-ntos .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#1f2b39;background-image:linear-gradient(to bottom,#223040,#1b2633)}.theme-ntos .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-ntos .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-ntos .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-ntos .Window__contentPadding:after{height:0}.theme-ntos .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-ntos .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,69,85,.25);pointer-events:none}.theme-ntos .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-ntos .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-ntos .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-ntos .TitleBar{background-color:#2a3b4e;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-ntos .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#2a3b4e;transition:color .25s,background-color .25s}.theme-ntos .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-ntos .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-ntos .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-ntos .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-ntos .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-ntos .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-paper .Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:rgba(0,0,0,.33)}.theme-paper .Tabs--fill{height:100%}.theme-paper .Section .Tabs{background-color:rgba(0,0,0,0)}.theme-paper .Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.theme-paper .Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.theme-paper .Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.theme-paper .Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.theme-paper .Tabs--horizontal:last-child{margin-bottom:0}.theme-paper .Tabs__Tab{flex-grow:0}.theme-paper .Tabs--fluid .Tabs__Tab{flex-grow:1}.theme-paper .Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(255,255,255,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.theme-paper .Tab:not(.Tab--selected):hover{background-color:rgba(255,255,255,.075);transition:background-color 0}.theme-paper .Tab--selected{background-color:rgba(255,255,255,.125);color:#fafafa}.theme-paper .Tab__text{flex-grow:1;margin:0 .5em}.theme-paper .Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.theme-paper .Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.theme-paper .Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.theme-paper .Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #f9f9f9}.theme-paper .Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.theme-paper .Tabs--vertical .Tab--selected{border-left:.1666666667em solid #f9f9f9}.theme-paper .Section{position:relative;margin-bottom:.5em;background-color:#e6e6e6;background-color:rgba(0,0,0,.1);box-sizing:border-box}.theme-paper .Section:last-child{margin-bottom:0}.theme-paper .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #fff}.theme-paper .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#000}.theme-paper .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-paper .Section__rest{position:relative}.theme-paper .Section__content{padding:.66em .5em}.theme-paper .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-paper .Section--fill{display:flex;flex-direction:column;height:100%}.theme-paper .Section--fill>.Section__rest{flex-grow:1}.theme-paper .Section--fill>.Section__rest>.Section__content{height:100%}.theme-paper .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-paper .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-paper .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-paper .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-paper .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-paper .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-paper .Section .Section:first-child{margin-top:-.5em}.theme-paper .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-paper .Section .Section .Section .Section__titleText{font-size:1em}.theme-paper .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-paper .Button:last-child{margin-right:0;margin-bottom:0}.theme-paper .Button .fa,.theme-paper .Button .fas,.theme-paper .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-paper .Button--hasContent .fa,.theme-paper .Button--hasContent .fas,.theme-paper .Button--hasContent .far{margin-right:.25em}.theme-paper .Button--hasContent.Button--iconRight .fa,.theme-paper .Button--hasContent.Button--iconRight .fas,.theme-paper .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-paper .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-paper .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-paper .Button--circular{border-radius:50%}.theme-paper .Button--compact{padding:0 .25em;line-height:1.333em}.theme-paper .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-paper .Button--color--default{transition:color .1s,background-color .1s;background-color:#e8e4c9;color:#000}.theme-paper .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-paper .Button--color--default:hover{background-color:#fbfaf5;color:#000}.theme-paper .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-paper .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-paper .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-paper .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-paper .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-paper .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-paper .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#fff;color:#000;background-color:rgba(255,255,255,0);color:rgba(0,0,0,.5)}.theme-paper .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-paper .Button--color--transparent:hover{background-color:#fff;color:#000}.theme-paper .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#fff;color:#000;background-color:rgba(255,255,255,.6);color:rgba(0,0,0,.5)}.theme-paper .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-paper .Button--color--translucent:hover{background-color:#fff;color:#000}.theme-paper .Button--disabled{background-color:#363636!important}.theme-paper .Button--selected{transition:color .1s,background-color .1s;background-color:#9d0808;color:#fff}.theme-paper .Button--selected:focus{transition:color .25s,background-color .25s}.theme-paper .Button--selected:hover{background-color:#c11919;color:#fff}.theme-paper .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-paper .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-paper .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-paper .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-paper .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-paper .ProgressBar--color--default{border:.0833333333em solid #bfbfbf}.theme-paper .ProgressBar--color--default .ProgressBar__fill{background-color:#bfbfbf}.theme-paper .ProgressBar--color--disabled{border:1px solid #363636}.theme-paper .ProgressBar--color--disabled .ProgressBar__fill{background-color:#363636}.theme-paper .Layout,.theme-paper .Layout *{scrollbar-base-color:#bfbfbf;scrollbar-face-color:#fff;scrollbar-3dlight-color:#fff;scrollbar-highlight-color:#fff;scrollbar-track-color:#bfbfbf;scrollbar-arrow-color:#fff;scrollbar-shadow-color:#fff}.theme-paper .Layout::-webkit-scrollbar,.theme-paper .Layout *::-webkit-scrollbar{width:12px}.theme-paper .Layout::-webkit-scrollbar-track,.theme-paper .Layout *::-webkit-scrollbar-track{background:#bfbfbf}.theme-paper .Layout::-webkit-scrollbar-thumb,.theme-paper .Layout *::-webkit-scrollbar-thumb{background:#fff}.theme-paper .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-paper .Layout__content--flexRow{display:flex;flex-flow:row}.theme-paper .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-paper .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-paper .Layout__content--noMargin{margin:0}.theme-paper .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#000;background-color:#fff;background-image:linear-gradient(to bottom,#fff,#fff)}.theme-paper .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-paper .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-paper .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-paper .Window__contentPadding:after{height:0}.theme-paper .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-paper .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(255,255,255,.25);pointer-events:none}.theme-paper .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-paper .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-paper .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-paper .TitleBar{background-color:#fff;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-paper .TitleBar__clickable{color:rgba(0,0,0,.5);background-color:#fff;transition:color .25s,background-color .25s}.theme-paper .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-paper .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(0,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-paper .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-paper .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-paper .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-paper .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-paper .PaperInput{position:relative;display:inline-block;width:120px;border:none;background:rgba(0,0,0,0);border-bottom:1px solid #000;outline:none;background-color:rgba(255,255,62,.8);padding:0 4px;margin-right:2px;line-height:17px;overflow:visible}.theme-paper .PaperInput__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-paper .PaperInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:12px;line-height:17px;height:17px;margin:0;padding:0 6px;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-paper .PaperInput__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paper .Layout__content{background-image:none}.theme-paper .Window{background-image:none;color:#000}.theme-paper .paper-text input:disabled{position:relative;display:inline-block;border:none;background:rgba(0,0,0,0);border-bottom:1px solid #000;outline:none;background-color:rgba(255,255,62,.8);padding:0 4px;margin-right:2px;line-height:17px;overflow:visible}.theme-paper .paper-text input,.theme-paper .paper-field{position:relative;display:inline-block;border:none;background:rgba(0,0,0,0);border-bottom:1px solid #000;outline:none;background-color:rgba(255,255,62,.8);padding:0 4px;margin-right:2px;line-height:17px;overflow:visible}.theme-paper .paper-field input:disabled{position:relative;display:inline-block;border:none;background:rgba(0,0,0,0);border-bottom:1px solid #000;outline:none;background-color:rgba(255,255,62,.8);padding:0 4px;margin-right:2px;line-height:17px;overflow:visible}.theme-retro .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:0;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-retro .Button:last-child{margin-right:0;margin-bottom:0}.theme-retro .Button .fa,.theme-retro .Button .fas,.theme-retro .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-retro .Button--hasContent .fa,.theme-retro .Button--hasContent .fas,.theme-retro .Button--hasContent .far{margin-right:.25em}.theme-retro .Button--hasContent.Button--iconRight .fa,.theme-retro .Button--hasContent.Button--iconRight .fas,.theme-retro .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-retro .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-retro .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-retro .Button--circular{border-radius:50%}.theme-retro .Button--compact{padding:0 .25em;line-height:1.333em}.theme-retro .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-retro .Button--color--default{transition:color .1s,background-color .1s;background-color:#e8e4c9;color:#000}.theme-retro .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-retro .Button--color--default:hover{background-color:#fbfaf5;color:#000}.theme-retro .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-retro .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-retro .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-retro .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-retro .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-retro .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-retro .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#e8e4c9;color:#000;background-color:rgba(232,228,201,0);color:rgba(255,255,255,.5)}.theme-retro .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-retro .Button--color--transparent:hover{background-color:#fbfaf5;color:#000}.theme-retro .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#e8e4c9;color:#000;background-color:rgba(232,228,201,.6);color:rgba(255,255,255,.5)}.theme-retro .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-retro .Button--color--translucent:hover{background-color:#fbfaf5;color:#000}.theme-retro .Button--disabled{background-color:#363636!important}.theme-retro .Button--selected{transition:color .1s,background-color .1s;background-color:#9d0808;color:#fff}.theme-retro .Button--selected:focus{transition:color .25s,background-color .25s}.theme-retro .Button--selected:hover{background-color:#c11919;color:#fff}.theme-retro .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-retro .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:0;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-retro .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-retro .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-retro .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-retro .ProgressBar--color--default{border:.0833333333em solid #000}.theme-retro .ProgressBar--color--default .ProgressBar__fill{background-color:#000}.theme-retro .ProgressBar--color--disabled{border:1px solid #999}.theme-retro .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-retro .Section{position:relative;margin-bottom:.5em;background-color:#9b9987;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-retro .Section:last-child{margin-bottom:0}.theme-retro .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #000}.theme-retro .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-retro .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-retro .Section__rest{position:relative}.theme-retro .Section__content{padding:.66em .5em}.theme-retro .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-retro .Section--fill{display:flex;flex-direction:column;height:100%}.theme-retro .Section--fill>.Section__rest{flex-grow:1}.theme-retro .Section--fill>.Section__rest>.Section__content{height:100%}.theme-retro .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-retro .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-retro .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-retro .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-retro .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-retro .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-retro .Section .Section:first-child{margin-top:-.5em}.theme-retro .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-retro .Section .Section .Section .Section__titleText{font-size:1em}.theme-retro .Layout,.theme-retro .Layout *{scrollbar-base-color:#c8be7d;scrollbar-face-color:#eae7ce;scrollbar-3dlight-color:#e8e4c9;scrollbar-highlight-color:#e8e4c9;scrollbar-track-color:#c8be7d;scrollbar-arrow-color:#f4f2e4;scrollbar-shadow-color:#eae7ce}.theme-retro .Layout::-webkit-scrollbar,.theme-retro .Layout *::-webkit-scrollbar{width:12px}.theme-retro .Layout::-webkit-scrollbar-track,.theme-retro .Layout *::-webkit-scrollbar-track{background:#c8be7d}.theme-retro .Layout::-webkit-scrollbar-thumb,.theme-retro .Layout *::-webkit-scrollbar-thumb{background:#eae7ce}.theme-retro .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-retro .Layout__content--flexRow{display:flex;flex-flow:row}.theme-retro .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-retro .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-retro .Layout__content--noMargin{margin:0}.theme-retro .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#e8e4c9;background-image:linear-gradient(to bottom,#e8e4c9,#e8e4c9)}.theme-retro .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-retro .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-retro .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-retro .Window__contentPadding:after{height:0}.theme-retro .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-retro .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(251,250,246,.25);pointer-events:none}.theme-retro .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-retro .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-retro .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-retro .TitleBar{background-color:#585337;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-retro .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#585337;transition:color .25s,background-color .25s}.theme-retro .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-retro .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-retro .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-retro .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-retro .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-retro .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-retro .Button{font-family:monospace;color:#161613;border:.1666666667em outset #e8e4c9;outline:.0833333333em solid #161613}.theme-retro .Layout__content{background-image:none}.theme-safe .Section{position:relative;margin-bottom:.5em;background-color:#b2ae74;box-sizing:border-box}.theme-safe .Section:last-child{margin-bottom:0}.theme-safe .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #3d566b}.theme-safe .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-safe .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-safe .Section__rest{position:relative}.theme-safe .Section__content{padding:.66em .5em}.theme-safe .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-safe .Section--fill{display:flex;flex-direction:column;height:100%}.theme-safe .Section--fill>.Section__rest{flex-grow:1}.theme-safe .Section--fill>.Section__rest>.Section__content{height:100%}.theme-safe .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-safe .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-safe .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-safe .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-safe .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-safe .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-safe .Section .Section:first-child{margin-top:-.5em}.theme-safe .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-safe .Section .Section .Section .Section__titleText{font-size:1em}.theme-safe .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#222b3a;background-image:linear-gradient(to bottom,#242d3d,#202937)}.theme-safe .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-safe .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-safe .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-safe .Window__contentPadding:after{height:0}.theme-safe .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-safe .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(58,69,86,.25);pointer-events:none}.theme-safe .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-safe .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-safe .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-safe .TitleBar{background-color:#35435a;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-safe .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#35435a;transition:color .25s,background-color .25s}.theme-safe .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-safe .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-safe .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-safe .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-safe .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-safe .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-safe .Safe--engraving{position:absolute;width:95%;height:96%;left:2.5%;top:2%;border:5px outset #364963;padding:5px;text-align:center}.theme-safe .Safe--engraving--arrow{color:#35435a}.theme-safe .Safe--engraving--hinge{content:" ";background-color:#191f2a;width:25px;height:40px;position:absolute;right:-15px;margin-top:-20px}.theme-safe .Safe--dialer{margin-bottom:.5rem}.theme-safe .Safe--dialer--number{color:#bbb;display:inline;background-color:#191f2a;font-size:1.5rem;font-weight:700;padding:0 .5rem}.theme-safe .Safe--dialer--right .Button i{z-index:-100}.theme-safe .Safe--dialer .Button{width:80px}.theme-safe .Safe--contents{border:10px solid #191f2a;background-color:#0f131a;height:calc(85% + 7.5px);text-align:left;padding:5px}.theme-safe .Safe--help{position:absolute;bottom:30px;left:25px;width:50%}.theme-safe .Layout__content{background-image:none}.theme-safe .Section{font-family:Comic Sans MS,cursive,sans-serif;font-style:italic;color:#000;box-shadow:5px 5px #111;background-image:linear-gradient(to bottom,#b2ae74,#8e8b5d);transform:rotate(-1deg)}.theme-safe .Section__title{padding-bottom:0;border:0}.theme-safe .Section:before{content:" ";display:block;width:24px;height:40px;background-image:linear-gradient(to bottom,transparent 0%,#ffffff 100%);box-shadow:1px 1px #111;opacity:.2;position:absolute;top:-30px;left:calc(50% - 12px);transform:rotate(-5deg)}.theme-securestorage .TitleBar{background-color:#e8e4c9;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-securestorage .TitleBar__clickable{color:rgba(25,25,22,.5);background-color:#e8e4c9;transition:color .25s,background-color .25s}.theme-securestorage .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-securestorage .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:#191916;font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-securestorage .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-securestorage .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-securestorage .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-securestorage .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-securestorage .Layout,.theme-securestorage .Layout *{scrollbar-base-color:#c8be7d;scrollbar-face-color:#eae7ce;scrollbar-3dlight-color:#e8e4c9;scrollbar-highlight-color:#e8e4c9;scrollbar-track-color:#c8be7d;scrollbar-arrow-color:#f4f2e4;scrollbar-shadow-color:#eae7ce}.theme-securestorage .Layout::-webkit-scrollbar,.theme-securestorage .Layout *::-webkit-scrollbar{width:12px}.theme-securestorage .Layout::-webkit-scrollbar-track,.theme-securestorage .Layout *::-webkit-scrollbar-track{background:#c8be7d}.theme-securestorage .Layout::-webkit-scrollbar-thumb,.theme-securestorage .Layout *::-webkit-scrollbar-thumb{background:#eae7ce}.theme-securestorage .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-securestorage .Layout__content--flexRow{display:flex;flex-flow:row}.theme-securestorage .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-securestorage .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-securestorage .Layout__content--noMargin{margin:0}.theme-securestorage .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#e8e4c9;background-image:linear-gradient(to bottom,#f1efde,#dfd9b4)}.theme-securestorage .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-securestorage .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-securestorage .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-securestorage .Window__contentPadding:after{height:0}.theme-securestorage .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-securestorage .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(251,250,246,.25);pointer-events:none}.theme-securestorage .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-securestorage .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-securestorage .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-securestorage .Section{position:relative;margin-bottom:.5em;background-color:#9b9987;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-securestorage .Section:last-child{margin-bottom:0}.theme-securestorage .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #397439}.theme-securestorage .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-securestorage .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-securestorage .Section__rest{position:relative}.theme-securestorage .Section__content{padding:.66em .5em}.theme-securestorage .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-securestorage .Section--fill{display:flex;flex-direction:column;height:100%}.theme-securestorage .Section--fill>.Section__rest{flex-grow:1}.theme-securestorage .Section--fill>.Section__rest>.Section__content{height:100%}.theme-securestorage .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-securestorage .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-securestorage .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-securestorage .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-securestorage .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-securestorage .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-securestorage .Section .Section:first-child{margin-top:-.5em}.theme-securestorage .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-securestorage .Section .Section .Section .Section__titleText{font-size:1em}.theme-securestorage .Layout__content{background-image:none}.theme-security .color-label{color:#b08e8b!important}.theme-security .color-bg-good{background-color:#4d9121!important}.theme-security .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-security .Button:last-child{margin-right:0;margin-bottom:0}.theme-security .Button .fa,.theme-security .Button .fas,.theme-security .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-security .Button--hasContent .fa,.theme-security .Button--hasContent .fas,.theme-security .Button--hasContent .far{margin-right:.25em}.theme-security .Button--hasContent.Button--iconRight .fa,.theme-security .Button--hasContent.Button--iconRight .fas,.theme-security .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-security .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-security .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-security .Button--circular{border-radius:50%}.theme-security .Button--compact{padding:0 .25em;line-height:1.333em}.theme-security .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-security .Button--color--good{transition:color .1s,background-color .1s;background-color:#4d9121;color:#fff}.theme-security .Button--color--good:focus{transition:color .25s,background-color .25s}.theme-security .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-security .Button--color--default{transition:color .1s,background-color .1s;background-color:#a14c49;color:#fff}.theme-security .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-security .Button--color--default:hover{background-color:#bb6f6d;color:#fff}.theme-security .Button--color--caution{transition:color .1s,background-color .1s;background-color:#d9b804;color:#000}.theme-security .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-security .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-security .Button--color--danger{transition:color .1s,background-color .1s;background-color:#bd2020;color:#fff}.theme-security .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-security .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-security .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#252525;color:#fff;background-color:rgba(37,37,37,0);color:rgba(255,255,255,.5)}.theme-security .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-security .Button--color--transparent:hover{background-color:#3a3a3a;color:#fff}.theme-security .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#252525;color:#fff;background-color:rgba(37,37,37,.6);color:rgba(255,255,255,.5)}.theme-security .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-security .Button--color--translucent:hover{background-color:#3a3a3a;color:#fff}.theme-security .Button--disabled{background-color:#999!important}.theme-security .Button--selected{transition:color .1s,background-color .1s;background-color:#1b9638;color:#fff}.theme-security .Button--selected:focus{transition:color .25s,background-color .25s}.theme-security .Button--selected:hover{background-color:#2fb94f;color:#fff}.theme-security .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-security .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #ff8d88;border:.0833333333em solid rgba(255,141,136,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-security .Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-security .Input--fluid{display:block;width:auto}.theme-security .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-security .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-security .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-security .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-security .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-security .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-security .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#000;background-color:#bb9b68;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-security .NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.theme-security .NoticeBox--type--info{color:#fff;background-color:#822329}.theme-security .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-security .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-security .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-security .Section{position:relative;margin-bottom:.5em;background-color:#191919;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-security .Section:last-child{margin-bottom:0}.theme-security .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #a14c49}.theme-security .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-security .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-security .Section__rest{position:relative}.theme-security .Section__content{padding:.66em .5em}.theme-security .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-security .Section--fill{display:flex;flex-direction:column;height:100%}.theme-security .Section--fill>.Section__rest{flex-grow:1}.theme-security .Section--fill>.Section__rest>.Section__content{height:100%}.theme-security .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-security .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-security .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-security .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-security .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-security .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-security .Section .Section:first-child{margin-top:-.5em}.theme-security .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-security .Section .Section .Section .Section__titleText{font-size:1em}.theme-security .Newscaster__menu{width:40px;height:100%;margin-right:.5rem;flex-basis:content}.theme-security .Newscaster__menu .Section__content{padding-left:0}.theme-security .Newscaster__menuButton{color:#767676;cursor:pointer;position:relative;margin-left:6px;margin-right:1rem;white-space:nowrap;transition:color .1s}.theme-security .Newscaster__menuButton--title{width:80%;display:none;overflow:hidden;text-overflow:ellipsis}.theme-security .Newscaster__menuButton--unread{background-color:#e45e5e;color:#fff;font-size:10px;text-align:center;border-radius:32px;display:inline-block;width:12px;position:absolute;left:16px;margin-top:14px}.theme-security .Newscaster__menuButton--selected{color:#fff}.theme-security .Newscaster__menuButton--selected:after{content:"";background-color:#a14c49;width:2px;height:24px;position:absolute;left:-6px}.theme-security .Newscaster__menuButton--security{color:#a14c49}.theme-security .Newscaster__menuButton i{width:30px;text-align:center;vertical-align:middle;margin-left:-1px;margin-right:.5rem;margin-top:1px}.theme-security .Newscaster__menuButton:hover{color:#fff}.theme-security .Newscaster__menuButton:hover:before{background-color:#fff}.theme-security .Newscaster__menuButton:not(:last-of-type){margin-bottom:.5rem}.theme-security .Newscaster__menu--open{width:175px}.theme-security .Newscaster__menu--open .Newscaster__menuButton--title{display:inline-block}.theme-security .Newscaster__jobCategory--security .Section__title{color:#a14c49;border-bottom:2px solid #a14c49!important}.theme-security .Newscaster__jobCategory--engineering .Section__title{color:#a17849;border-bottom:2px solid #a17849!important}.theme-security .Newscaster__jobCategory--medical .Section__title{color:#499ea1;border-bottom:2px solid #499ea1!important}.theme-security .Newscaster__jobCategory--science .Section__title{color:#a14972;border-bottom:2px solid #a14972!important}.theme-security .Newscaster__jobCategory--service .Section__title{color:#a1499e;border-bottom:2px solid #a1499e!important}.theme-security .Newscaster__jobCategory--supply .Section__title{color:#9ea149;border-bottom:2px solid #9ea149!important}.theme-security .Newscaster__jobCategory:last-child{margin-bottom:.5rem}.theme-security .Newscaster__jobOpening--command{font-weight:700}.theme-security .Newscaster__jobOpening:not(:last-child){margin-bottom:.5rem}.theme-security .Newscaster__emptyNotice{color:#a7817e;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translate(-50%)}.theme-security .Newscaster__emptyNotice i{margin-bottom:.25rem}.theme-security .Newscaster__photo{cursor:pointer;width:100px;border:1px solid #000;transition:border-color .3s;-ms-interpolation-mode:nearest-neighbor}.theme-security .Newscaster__photo:hover{border-color:gray}.theme-security .Newscaster__photoZoom{text-align:center}.theme-security .Newscaster__photoZoom>img{transform:scale(2);-ms-interpolation-mode:nearest-neighbor}.theme-security .Newscaster__photoZoom>.Button{position:absolute;width:64px;left:50%;margin-left:-32px;bottom:1rem}.theme-security .Newscaster__story--wanted{background-color:rgba(219,40,40,.1)}.theme-security .Newscaster__story--wanted .Section__title{color:#db2828;border-bottom:2px solid #a14c49!important}.theme-security .Newscaster__story:last-child{margin-bottom:.5rem}.theme-syndicate .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-syndicate .Button:last-child{margin-right:0;margin-bottom:0}.theme-syndicate .Button .fa,.theme-syndicate .Button .fas,.theme-syndicate .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-syndicate .Button--hasContent .fa,.theme-syndicate .Button--hasContent .fas,.theme-syndicate .Button--hasContent .far{margin-right:.25em}.theme-syndicate .Button--hasContent.Button--iconRight .fa,.theme-syndicate .Button--hasContent.Button--iconRight .fas,.theme-syndicate .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-syndicate .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-syndicate .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-syndicate .Button--circular{border-radius:50%}.theme-syndicate .Button--compact{padding:0 .25em;line-height:1.333em}.theme-syndicate .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-syndicate .Button--color--default{transition:color .1s,background-color .1s;background-color:#397439;color:#fff}.theme-syndicate .Button--color--default:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--default:hover{background-color:#509350;color:#fff}.theme-syndicate .Button--color--caution{transition:color .1s,background-color .1s;background-color:#be6209;color:#fff}.theme-syndicate .Button--color--caution:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-syndicate .Button--color--danger{transition:color .1s,background-color .1s;background-color:#9a9d00;color:#fff}.theme-syndicate .Button--color--danger:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-syndicate .Button--color--transparent{transition:color .1s,background-color .1s;background-color:#550202;color:#fff;background-color:rgba(85,2,2,0);color:rgba(255,255,255,.5)}.theme-syndicate .Button--color--transparent:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--transparent:hover{background-color:#701313;color:#fff}.theme-syndicate .Button--color--translucent{transition:color .1s,background-color .1s;background-color:#550202;color:#fff;background-color:rgba(85,2,2,.6);color:rgba(255,255,255,.5)}.theme-syndicate .Button--color--translucent:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--color--translucent:hover{background-color:#701313;color:#fff}.theme-syndicate .Button--disabled{background-color:#363636!important}.theme-syndicate .Button--selected{transition:color .1s,background-color .1s;background-color:#9d0808;color:#fff}.theme-syndicate .Button--selected:focus{transition:color .25s,background-color .25s}.theme-syndicate .Button--selected:hover{background-color:#c11919;color:#fff}.theme-syndicate .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-syndicate .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#fff;background-color:#910101;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-syndicate .NoticeBox--type--info{color:#fff;background-color:#235982}.theme-syndicate .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-syndicate .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-syndicate .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-syndicate .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-syndicate .Input--disabled{color:#777;border-color:#6b6b6b;border-color:rgba(107,107,107,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-syndicate .Input--fluid{display:block;width:auto}.theme-syndicate .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-syndicate .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-syndicate .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-syndicate .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-syndicate .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;color:#87ce87;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-syndicate .NumberInput--fluid{display:block}.theme-syndicate .NumberInput__content{margin-left:.5em}.theme-syndicate .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-syndicate .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #87ce87;background-color:#87ce87}.theme-syndicate .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-syndicate .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-syndicate .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-syndicate .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-syndicate .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-syndicate .ProgressBar--color--default{border:.0833333333em solid #306330}.theme-syndicate .ProgressBar--color--default .ProgressBar__fill{background-color:#306330}.theme-syndicate .ProgressBar--color--disabled{border:1px solid #999}.theme-syndicate .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-syndicate .Section{position:relative;margin-bottom:.5em;background-color:#390101;background-color:rgba(0,0,0,.33);box-sizing:border-box}.theme-syndicate .Section:last-child{margin-bottom:0}.theme-syndicate .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #397439}.theme-syndicate .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-syndicate .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-syndicate .Section__rest{position:relative}.theme-syndicate .Section__content{padding:.66em .5em}.theme-syndicate .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-syndicate .Section--fill{display:flex;flex-direction:column;height:100%}.theme-syndicate .Section--fill>.Section__rest{flex-grow:1}.theme-syndicate .Section--fill>.Section__rest>.Section__content{height:100%}.theme-syndicate .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-syndicate .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-syndicate .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-syndicate .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-syndicate .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-syndicate .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-syndicate .Section .Section:first-child{margin-top:-.5em}.theme-syndicate .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-syndicate .Section .Section .Section .Section__titleText{font-size:1em}.theme-syndicate .Tooltip{z-index:2;padding:.5em .75em;pointer-events:none;text-align:left;transition:opacity .15s ease-out;background-color:#4a0202;color:#fff;box-shadow:.1em .1em 1.25em -.1em rgba(0,0,0,.5);border-radius:.16em;max-width:20.8333333333em}.theme-syndicate .Layout,.theme-syndicate .Layout *{scrollbar-base-color:#400202;scrollbar-face-color:#7e0303;scrollbar-3dlight-color:#550202;scrollbar-highlight-color:#550202;scrollbar-track-color:#400202;scrollbar-arrow-color:#fa3030;scrollbar-shadow-color:#7e0303}.theme-syndicate .Layout::-webkit-scrollbar,.theme-syndicate .Layout *::-webkit-scrollbar{width:12px}.theme-syndicate .Layout::-webkit-scrollbar-track,.theme-syndicate .Layout *::-webkit-scrollbar-track{background:#400202}.theme-syndicate .Layout::-webkit-scrollbar-thumb,.theme-syndicate .Layout *::-webkit-scrollbar-thumb{background:#7e0303}.theme-syndicate .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-syndicate .Layout__content--flexRow{display:flex;flex-flow:row}.theme-syndicate .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-syndicate .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-syndicate .Layout__content--noMargin{margin:0}.theme-syndicate .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#550202;background-image:linear-gradient(to bottom,#730303,#370101)}.theme-syndicate .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-syndicate .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-syndicate .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-syndicate .Window__contentPadding:after{height:0}.theme-syndicate .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-syndicate .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(117,22,22,.25);pointer-events:none}.theme-syndicate .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-syndicate .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-syndicate .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-syndicate .TitleBar{background-color:#910101;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-syndicate .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#910101;transition:color .25s,background-color .25s}.theme-syndicate .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-syndicate .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-syndicate .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-syndicate .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-syndicate .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-syndicate .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-syndicate .Layout__content{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMCIgdmlld0JveD0iMCAwIDIwMCAyODkuNzQyIiBvcGFjaXR5PSIuMzMiPjxwYXRoIGQ9Im0gOTMuNTM3Njc3LDAgYyAtMTguMTEzMTI1LDAgLTM0LjIyMDEzMywzLjExMTY0IC00OC4zMjM0ODQsOS4zMzQzNyAtMTMuOTY1MDkyLDYuMjIxNjcgLTI0LjYxMjQ0MiwxNS4wNzExNCAtMzEuOTQwNjUxLDI2LjU0NzEgLTcuMTg5OTM5OCwxMS4zMzc4OSAtMTAuMzAxMjI2NiwyNC43NDkxMSAtMTAuMzAxMjI2Niw0MC4yMzQ3OCAwLDEwLjY0NjYyIDIuNzI1MDAyNiwyMC40NjQ2NSA4LjE3NTExMTYsMjkuNDUyNTggNS42MTUyNzcsOC45ODY4NiAxNC4wMzgyNzcsMTcuMzUyMDQgMjUuMjY4ODIxLDI1LjA5NDM2IDExLjIzMDU0NCw3LjYwNTMxIDI2LjUwNzQyMSwxNS40MTgzNSA0NS44MzA1MTQsMjMuNDM3ODIgMTkuOTgzNzQ4LDguMjk1NTcgMzQuODQ4ODQ4LDE1LjU1NDcxIDQ0LjU5Mjk5OCwyMS43NzYzOCA5Ljc0NDE0LDYuMjIyNzMgMTYuNzYxNywxMi44NTg1IDIxLjA1NTcyLDE5LjkwOTUxIDQuMjk0MDQsNy4wNTIwOCA2LjQ0MTkzLDE1Ljc2NDA4IDYuNDQxOTMsMjYuMTM0NTkgMCwxNi4xNzcwMiAtNS4yMDE5NiwyOC40ODIyMiAtMTUuNjA2NzMsMzYuOTE2ODIgLTEwLjIzOTYsOC40MzQ3IC0yNS4wMjIwMywxMi42NTIzIC00NC4zNDUxNjksMTIuNjUyMyAtMTQuMDM4MTcxLDAgLTI1LjUxNTI0NywtMS42NTk0IC0zNC40MzM2MTgsLTQuOTc3NyAtOC45MTgzNywtMy40NTY2IC0xNi4xODU1NzIsLTguNzExMyAtMjEuODAwODM5LC0xNS43NjMzIC01LjYxNTI3NywtNy4wNTIxIC0xMC4wNzQ3OTUsLTE2LjY2MDg4IC0xMy4zNzc4OTksLTI4LjgyODEyIGwgLTI0Ljc3MzE2MjYyOTM5NDUsMCAwLDU2LjgyNjMyIEMgMzMuODU2NzY5LDI4Ni4wNzYwMSA2My43NDkwNCwyODkuNzQyMDEgODkuNjc4MzgzLDI4OS43NDIwMSBjIDE2LjAyMDAyNywwIDMwLjcxOTc4NywtMS4zODI3IDQ0LjA5NzMzNywtNC4xNDc5IDEzLjU0MjcyLC0yLjkwNDMgMjUuMTA0MSwtNy40Njc2IDM0LjY4MzA5LC0xMy42ODkzIDkuNzQ0MTMsLTYuMzU5NyAxNy4zNDA0MiwtMTQuNTE5NSAyMi43OTA1MiwtMjQuNDc0OCA1LjQ1MDEsLTEwLjA5MzMyIDguMTc1MTEsLTIyLjM5OTU5IDguMTc1MTEsLTM2LjkxNjgyIDAsLTEyLjk5NzY0IC0zLjMwMjEsLTI0LjMzNTM5IC05LjkwODI5LC0zNC4wMTQ2IC02LjQ0MTA1LC05LjgxNzI1IC0xNS41MjU0NSwtMTguNTI3MDcgLTI3LjI1MTQ2LC0yNi4xMzEzMyAtMTEuNTYwODUsLTcuNjA0MjcgLTI3LjkxMDgzLC0xNS44MzE0MiAtNDkuMDUwNjYsLTI0LjY4MDIyIC0xNy41MDY0NCwtNy4xOTAxMiAtMzAuNzE5NjY4LC0xMy42ODk0OCAtMzkuNjM4MDM4LC0xOS40OTcwMSAtOC45MTgzNzEsLTUuODA3NTIgLTE4LjYwNzQ3NCwtMTIuNDM0MDkgLTI0LjA5NjUyNCwtMTguODc0MTcgLTUuNDI2MDQzLC02LjM2NjE2IC05LjY1ODgyNiwtMTUuMDcwMDMgLTkuNjU4ODI2LC0yNC44ODcyOSAwLC05LjI2NDAxIDIuMDc1NDE0LC0xNy4yMTM0NSA2LjIyMzQ1NCwtMjMuODUwMzMgMTEuMDk4Mjk4LC0xNC4zOTc0OCA0MS4yODY2MzgsLTEuNzk1MDcgNDUuMDc1NjA5LDI0LjM0NzYyIDQuODM5MzkyLDYuNzc0OTEgOC44NDkzNSwxNi4yNDcyOSAxMi4wMjk1MTUsMjguNDE1NiBsIDIwLjUzMjM0LDAgMCwtNTUuOTk5NjcgYyAtNC40NzgyNSwtNS45MjQ0OCAtOS45NTQ4OCwtMTAuNjMyMjIgLTE1LjkwODM3LC0xNC4zNzQxMSAxLjY0MDU1LDAuNDc5MDUgMy4xOTAzOSwxLjAyMzc2IDQuNjM4NjUsMS42NDAyNCA2LjQ5ODYxLDIuNjI2MDcgMTIuMTY3OTMsNy4zMjc0NyAxNy4wMDczLDE0LjEwMzQ1IDQuODM5MzksNi43NzQ5MSA4Ljg0OTM1LDE2LjI0NTY3IDEyLjAyOTUyLDI4LjQxMzk3IDAsMCA4LjQ4MTI4LC0wLjEyODk0IDguNDg5NzgsLTAuMDAyIDAuNDE3NzYsNi40MTQ5NCAtMS43NTMzOSw5LjQ1Mjg2IC00LjEyMzQyLDEyLjU2MTA0IC0yLjQxNzQsMy4xNjk3OCAtNS4xNDQ4Niw2Ljc4OTczIC00LjAwMjc4LDEzLjAwMjkgMS41MDc4Niw4LjIwMzE4IDEwLjE4MzU0LDEwLjU5NjQyIDE0LjYyMTk0LDkuMzExNTQgLTMuMzE4NDIsLTAuNDk5MTEgLTUuMzE4NTUsLTEuNzQ5NDggLTUuMzE4NTUsLTEuNzQ5NDggMCwwIDEuODc2NDYsMC45OTg2OCA1LjY1MTE3LC0xLjM1OTgxIC0zLjI3Njk1LDAuOTU1NzEgLTEwLjcwNTI5LC0wLjc5NzM4IC0xMS44MDEyNSwtNi43NjMxMyAtMC45NTc1MiwtNS4yMDg2MSAwLjk0NjU0LC03LjI5NTE0IDMuNDAxMTMsLTEwLjUxNDgyIDIuNDU0NjIsLTMuMjE5NjggNS4yODQyNiwtNi45NTgzMSA0LjY4NDMsLTE0LjQ4ODI0IGwgMC4wMDMsMC4wMDIgOC45MjY3NiwwIDAsLTU1Ljk5OTY3IGMgLTE1LjA3MTI1LC0zLjg3MTY4IC0yNy42NTMxNCwtNi4zNjA0MiAtMzcuNzQ2NzEsLTcuNDY1ODYgLTkuOTU1MzEsLTEuMTA3NTUgLTIwLjE4ODIzLC0xLjY1OTgxIC0zMC42OTY2MTMsLTEuNjU5ODEgeiBtIDcwLjMyMTYwMywxNy4zMDg5MyAwLjIzODA1LDQwLjMwNDkgYyAxLjMxODA4LDEuMjI2NjYgMi40Mzk2NSwyLjI3ODE1IDMuMzQwODEsMy4xMDYwMiA0LjgzOTM5LDYuNzc0OTEgOC44NDkzNCwxNi4yNDU2NiAxMi4wMjk1MSwyOC40MTM5NyBsIDIwLjUzMjM0LDAgMCwtNTUuOTk5NjcgYyAtNi42NzczMSwtNC41OTM4MSAtMTkuODM2NDMsLTEwLjQ3MzA5IC0zNi4xNDA3MSwtMTUuODI1MjIgeiBtIC0yOC4xMjA0OSw1LjYwNTUxIDguNTY0NzksMTcuNzE2NTUgYyAtMTEuOTcwMzcsLTYuNDY2OTcgLTEzLjg0Njc4LC05LjcxNzI2IC04LjU2NDc5LC0xNy43MTY1NSB6IG0gMjIuNzk3MDUsMCBjIDIuNzcxNSw3Ljk5OTI5IDEuNzg3NDEsMTEuMjQ5NTggLTQuNDkzNTQsMTcuNzE2NTUgbCA0LjQ5MzU0LC0xNy43MTY1NSB6IG0gMTUuMjIxOTUsMjQuMDA4NDggOC41NjQ3OSwxNy43MTY1NSBjIC0xMS45NzAzOCwtNi40NjY5NyAtMTMuODQ2NzksLTkuNzE3MjYgLTguNTY0NzksLTE3LjcxNjU1IHogbSAyMi43OTcwNCwwIGMgMi43NzE1LDcuOTk5MjkgMS43ODc0MSwxMS4yNDk1OCAtNC40OTM1NCwxNy43MTY1NSBsIDQuNDkzNTQsLTE3LjcxNjU1IHogbSAtOTkuMTEzODQsMi4yMDc2NCA4LjU2NDc5LDE3LjcxNjU1IGMgLTExLjk3MDM4MiwtNi40NjY5NyAtMTMuODQ2NzgyLC05LjcxNzI2IC04LjU2NDc5LC0xNy43MTY1NSB6IG0gMjIuNzk1NDIsMCBjIDIuNzcxNSw3Ljk5OTI5IDEuNzg3NDEsMTEuMjQ5NTggLTQuNDkzNTQsMTcuNzE2NTUgbCA0LjQ5MzU0LC0xNy43MTY1NSB6IiAvPjwvc3ZnPjwhLS0gVGhpcyB3b3JrIGlzIGxpY2Vuc2VkIHVuZGVyIGEgQ3JlYXRpdmUgQ29tbW9ucyBBdHRyaWJ1dGlvbi1TaGFyZUFsaWtlIDQuMCBJbnRlcm5hdGlvbmFsIExpY2Vuc2UuIC0tPjwhLS0gaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbGljZW5zZXMvYnktc2EvNC4wLyAtLT4=)}.theme-syndicate .candystripe:nth-child(odd){background-color:rgba(0,0,0,.4)}.theme-syndicate .candystripe:nth-child(2n){background-color:rgba(0,0,0,.25)}.theme-nologo .Layout__content{background-image:none} diff --git a/tgui/public/tgui.bundle.js b/tgui/public/tgui.bundle.js index 2f56d954a327..d9ad7be70ebc 100644 --- a/tgui/public/tgui.bundle.js +++ b/tgui/public/tgui.bundle.js @@ -1,26 +1,26 @@ -(function(){(function(){var $t={15113:function(L,r,n){"use strict";r.__esModule=!0,r.createPopper=void 0,r.popperGenerator=f;var e=p(n(28770)),a=p(n(12866)),t=p(n(88577)),o=p(n(29727)),m=p(n(13657)),N=p(n(97902)),y=p(n(57547)),S=p(n(4709));r.detectOverflow=S.default;var k=n(65601);function p(u){return u&&u.__esModule?u:{default:u}}var l={placement:"bottom",modifiers:[],strategy:"absolute"};function c(){for(var u=arguments.length,s=new Array(u),d=0;d<u;d++)s[d]=arguments[d];return!s.some(function(C){return!(C&&typeof C.getBoundingClientRect=="function")})}function f(u){u===void 0&&(u={});var s=u,d=s.defaultModifiers,C=d===void 0?[]:d,g=s.defaultOptions,v=g===void 0?l:g;return function(){function h(V,b,B){B===void 0&&(B=v);var I={placement:"bottom",orderedModifiers:[],options:Object.assign({},l,v),modifiersData:{},elements:{reference:V,popper:b},attributes:{},styles:{}},w=[],T=!1,A={state:I,setOptions:function(){function P(D){var M=typeof D=="function"?D(I.options):D;E(),I.options=Object.assign({},v,I.options,M),I.scrollParents={reference:(0,k.isElement)(V)?(0,t.default)(V):V.contextElement?(0,t.default)(V.contextElement):[],popper:(0,t.default)(b)};var O=(0,m.default)((0,y.default)([].concat(C,I.options.modifiers)));return I.orderedModifiers=O.filter(function(j){return j.enabled}),x(),A.update()}return P}(),forceUpdate:function(){function P(){if(!T){var D=I.elements,M=D.reference,O=D.popper;if(c(M,O)){I.rects={reference:(0,e.default)(M,(0,o.default)(O),I.options.strategy==="fixed"),popper:(0,a.default)(O)},I.reset=!1,I.placement=I.options.placement,I.orderedModifiers.forEach(function($){return I.modifiersData[$.name]=Object.assign({},$.data)});for(var j=0;j<I.orderedModifiers.length;j++){if(I.reset===!0){I.reset=!1,j=-1;continue}var F=I.orderedModifiers[j],U=F.fn,_=F.options,z=_===void 0?{}:_,H=F.name;typeof U=="function"&&(I=U({state:I,options:z,name:H,instance:A})||I)}}}}return P}(),update:(0,N.default)(function(){return new Promise(function(P){A.forceUpdate(),P(I)})}),destroy:function(){function P(){E(),T=!0}return P}()};if(!c(V,b))return A;A.setOptions(B).then(function(P){!T&&B.onFirstUpdate&&B.onFirstUpdate(P)});function x(){I.orderedModifiers.forEach(function(P){var D=P.name,M=P.options,O=M===void 0?{}:M,j=P.effect;if(typeof j=="function"){var F=j({state:I,name:D,instance:A,options:O}),U=function(){function _(){}return _}();w.push(F||U)}})}function E(){w.forEach(function(P){return P()}),w=[]}return A}return h}()}var i=r.createPopper=f()},11848:function(L,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(65601);function a(t,o){var m=o.getRootNode&&o.getRootNode();if(t.contains(o))return!0;if(m&&(0,e.isShadowRoot)(m)){var N=o;do{if(N&&t.isSameNode(N))return!0;N=N.parentNode||N.host}while(N)}return!1}},83199:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=n(65601),a=n(79257),t=m(n(44901)),o=m(n(95294));function m(y){return y&&y.__esModule?y:{default:y}}function N(y,S,k){S===void 0&&(S=!1),k===void 0&&(k=!1);var p=y.getBoundingClientRect(),l=1,c=1;S&&(0,e.isHTMLElement)(y)&&(l=y.offsetWidth>0&&(0,a.round)(p.width)/y.offsetWidth||1,c=y.offsetHeight>0&&(0,a.round)(p.height)/y.offsetHeight||1);var f=(0,e.isElement)(y)?(0,t.default)(y):window,i=f.visualViewport,u=!(0,o.default)()&&k,s=(p.left+(u&&i?i.offsetLeft:0))/l,d=(p.top+(u&&i?i.offsetTop:0))/c,C=p.width/l,g=p.height/c;return{width:C,height:g,top:d,right:s+C,bottom:d+g,left:s,x:s,y:d}}},98310:function(L,r,n){"use strict";r.__esModule=!0,r.default=g;var e=n(37802),a=u(n(63064)),t=u(n(16940)),o=u(n(88577)),m=u(n(29727)),N=u(n(9252)),y=u(n(75663)),S=n(65601),k=u(n(83199)),p=u(n(16292)),l=u(n(11848)),c=u(n(1707)),f=u(n(21194)),i=n(79257);function u(v){return v&&v.__esModule?v:{default:v}}function s(v,h){var V=(0,k.default)(v,!1,h==="fixed");return V.top=V.top+v.clientTop,V.left=V.left+v.clientLeft,V.bottom=V.top+v.clientHeight,V.right=V.left+v.clientWidth,V.width=v.clientWidth,V.height=v.clientHeight,V.x=V.left,V.y=V.top,V}function d(v,h,V){return h===e.viewport?(0,f.default)((0,a.default)(v,V)):(0,S.isElement)(h)?s(h,V):(0,f.default)((0,t.default)((0,N.default)(v)))}function C(v){var h=(0,o.default)((0,p.default)(v)),V=["absolute","fixed"].indexOf((0,y.default)(v).position)>=0,b=V&&(0,S.isHTMLElement)(v)?(0,m.default)(v):v;return(0,S.isElement)(b)?h.filter(function(B){return(0,S.isElement)(B)&&(0,l.default)(B,b)&&(0,c.default)(B)!=="body"}):[]}function g(v,h,V,b){var B=h==="clippingParents"?C(v):[].concat(h),I=[].concat(B,[V]),w=I[0],T=I.reduce(function(A,x){var E=d(v,x,b);return A.top=(0,i.max)(E.top,A.top),A.right=(0,i.min)(E.right,A.right),A.bottom=(0,i.min)(E.bottom,A.bottom),A.left=(0,i.max)(E.left,A.left),A},d(v,w,b));return T.width=T.right-T.left,T.height=T.bottom-T.top,T.x=T.left,T.y=T.top,T}},28770:function(L,r,n){"use strict";r.__esModule=!0,r.default=l;var e=k(n(83199)),a=k(n(3107)),t=k(n(1707)),o=n(65601),m=k(n(94889)),N=k(n(9252)),y=k(n(27703)),S=n(79257);function k(c){return c&&c.__esModule?c:{default:c}}function p(c){var f=c.getBoundingClientRect(),i=(0,S.round)(f.width)/c.offsetWidth||1,u=(0,S.round)(f.height)/c.offsetHeight||1;return i!==1||u!==1}function l(c,f,i){i===void 0&&(i=!1);var u=(0,o.isHTMLElement)(f),s=(0,o.isHTMLElement)(f)&&p(f),d=(0,N.default)(f),C=(0,e.default)(c,s,i),g={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(u||!u&&!i)&&(((0,t.default)(f)!=="body"||(0,y.default)(d))&&(g=(0,a.default)(f)),(0,o.isHTMLElement)(f)?(v=(0,e.default)(f,!0),v.x+=f.clientLeft,v.y+=f.clientTop):d&&(v.x=(0,m.default)(d))),{x:C.left+g.scrollLeft-v.x,y:C.top+g.scrollTop-v.y,width:C.width,height:C.height}}},75663:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(44901));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return(0,e.default)(o).getComputedStyle(o)}},9252:function(L,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(65601);function a(t){return(((0,e.isElement)(t)?t.ownerDocument:t.document)||window.document).documentElement}},16940:function(L,r,n){"use strict";r.__esModule=!0,r.default=y;var e=N(n(9252)),a=N(n(75663)),t=N(n(94889)),o=N(n(42532)),m=n(79257);function N(S){return S&&S.__esModule?S:{default:S}}function y(S){var k,p=(0,e.default)(S),l=(0,o.default)(S),c=(k=S.ownerDocument)==null?void 0:k.body,f=(0,m.max)(p.scrollWidth,p.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),i=(0,m.max)(p.scrollHeight,p.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),u=-l.scrollLeft+(0,t.default)(S),s=-l.scrollTop;return(0,a.default)(c||p).direction==="rtl"&&(u+=(0,m.max)(p.clientWidth,c?c.clientWidth:0)-f),{width:f,height:i,x:u,y:s}}},89741:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},12866:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(83199));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var m=(0,e.default)(o),N=o.offsetWidth,y=o.offsetHeight;return Math.abs(m.width-N)<=1&&(N=m.width),Math.abs(m.height-y)<=1&&(y=m.height),{x:o.offsetLeft,y:o.offsetTop,width:N,height:y}}},1707:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e?(e.nodeName||"").toLowerCase():null}},3107:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=m(n(42532)),a=m(n(44901)),t=n(65601),o=m(n(89741));function m(y){return y&&y.__esModule?y:{default:y}}function N(y){return y===(0,a.default)(y)||!(0,t.isHTMLElement)(y)?(0,e.default)(y):(0,o.default)(y)}},29727:function(L,r,n){"use strict";r.__esModule=!0,r.default=l;var e=S(n(44901)),a=S(n(1707)),t=S(n(75663)),o=n(65601),m=S(n(36875)),N=S(n(16292)),y=S(n(88492));function S(c){return c&&c.__esModule?c:{default:c}}function k(c){return!(0,o.isHTMLElement)(c)||(0,t.default)(c).position==="fixed"?null:c.offsetParent}function p(c){var f=/firefox/i.test((0,y.default)()),i=/Trident/i.test((0,y.default)());if(i&&(0,o.isHTMLElement)(c)){var u=(0,t.default)(c);if(u.position==="fixed")return null}var s=(0,N.default)(c);for((0,o.isShadowRoot)(s)&&(s=s.host);(0,o.isHTMLElement)(s)&&["html","body"].indexOf((0,a.default)(s))<0;){var d=(0,t.default)(s);if(d.transform!=="none"||d.perspective!=="none"||d.contain==="paint"||["transform","perspective"].indexOf(d.willChange)!==-1||f&&d.willChange==="filter"||f&&d.filter&&d.filter!=="none")return s;s=s.parentNode}return null}function l(c){for(var f=(0,e.default)(c),i=k(c);i&&(0,m.default)(i)&&(0,t.default)(i).position==="static";)i=k(i);return i&&((0,a.default)(i)==="html"||(0,a.default)(i)==="body"&&(0,t.default)(i).position==="static")?f:i||p(c)||f}},16292:function(L,r,n){"use strict";r.__esModule=!0,r.default=m;var e=o(n(1707)),a=o(n(9252)),t=n(65601);function o(N){return N&&N.__esModule?N:{default:N}}function m(N){return(0,e.default)(N)==="html"?N:N.assignedSlot||N.parentNode||((0,t.isShadowRoot)(N)?N.host:null)||(0,a.default)(N)}},87899:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=m(n(16292)),a=m(n(27703)),t=m(n(1707)),o=n(65601);function m(y){return y&&y.__esModule?y:{default:y}}function N(y){return["html","body","#document"].indexOf((0,t.default)(y))>=0?y.ownerDocument.body:(0,o.isHTMLElement)(y)&&(0,a.default)(y)?y:N((0,e.default)(y))}},63064:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=m(n(44901)),a=m(n(9252)),t=m(n(94889)),o=m(n(95294));function m(y){return y&&y.__esModule?y:{default:y}}function N(y,S){var k=(0,e.default)(y),p=(0,a.default)(y),l=k.visualViewport,c=p.clientWidth,f=p.clientHeight,i=0,u=0;if(l){c=l.width,f=l.height;var s=(0,o.default)();(s||!s&&S==="fixed")&&(i=l.offsetLeft,u=l.offsetTop)}return{width:c,height:f,x:i+(0,t.default)(y),y:u}}},44901:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var a=e.ownerDocument;return a&&a.defaultView||window}return e}},42532:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(44901));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var m=(0,e.default)(o),N=m.pageXOffset,y=m.pageYOffset;return{scrollLeft:N,scrollTop:y}}},94889:function(L,r,n){"use strict";r.__esModule=!0,r.default=m;var e=o(n(83199)),a=o(n(9252)),t=o(n(42532));function o(N){return N&&N.__esModule?N:{default:N}}function m(N){return(0,e.default)((0,a.default)(N)).left+(0,t.default)(N).scrollLeft}},65601:function(L,r,n){"use strict";r.__esModule=!0,r.isElement=t,r.isHTMLElement=o,r.isShadowRoot=m;var e=a(n(44901));function a(N){return N&&N.__esModule?N:{default:N}}function t(N){var y=(0,e.default)(N).Element;return N instanceof y||N instanceof Element}function o(N){var y=(0,e.default)(N).HTMLElement;return N instanceof y||N instanceof HTMLElement}function m(N){if(typeof ShadowRoot=="undefined")return!1;var y=(0,e.default)(N).ShadowRoot;return N instanceof y||N instanceof ShadowRoot}},95294:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(88492));function a(o){return o&&o.__esModule?o:{default:o}}function t(){return!/^((?!chrome|android).)*safari/i.test((0,e.default)())}},27703:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(75663));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var m=(0,e.default)(o),N=m.overflow,y=m.overflowX,S=m.overflowY;return/auto|scroll|overlay|hidden/.test(N+S+y)}},36875:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(1707));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return["table","td","th"].indexOf((0,e.default)(o))>=0}},88577:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=m(n(87899)),a=m(n(16292)),t=m(n(44901)),o=m(n(27703));function m(y){return y&&y.__esModule?y:{default:y}}function N(y,S){var k;S===void 0&&(S=[]);var p=(0,e.default)(y),l=p===((k=y.ownerDocument)==null?void 0:k.body),c=(0,t.default)(p),f=l?[c].concat(c.visualViewport||[],(0,o.default)(p)?p:[]):p,i=S.concat(f);return l?i:i.concat(N((0,a.default)(f)))}},37802:function(L,r){"use strict";r.__esModule=!0,r.write=r.viewport=r.variationPlacements=r.top=r.start=r.right=r.reference=r.read=r.popper=r.placements=r.modifierPhases=r.main=r.left=r.end=r.clippingParents=r.bottom=r.beforeWrite=r.beforeRead=r.beforeMain=r.basePlacements=r.auto=r.afterWrite=r.afterRead=r.afterMain=void 0;var n=r.top="top",e=r.bottom="bottom",a=r.right="right",t=r.left="left",o=r.auto="auto",m=r.basePlacements=[n,e,a,t],N=r.start="start",y=r.end="end",S=r.clippingParents="clippingParents",k=r.viewport="viewport",p=r.popper="popper",l=r.reference="reference",c=r.variationPlacements=m.reduce(function(B,I){return B.concat([I+"-"+N,I+"-"+y])},[]),f=r.placements=[].concat(m,[o]).reduce(function(B,I){return B.concat([I,I+"-"+N,I+"-"+y])},[]),i=r.beforeRead="beforeRead",u=r.read="read",s=r.afterRead="afterRead",d=r.beforeMain="beforeMain",C=r.main="main",g=r.afterMain="afterMain",v=r.beforeWrite="beforeWrite",h=r.write="write",V=r.afterWrite="afterWrite",b=r.modifierPhases=[i,u,s,d,C,g,v,h,V]},60028:function(L,r,n){"use strict";r.__esModule=!0;var e={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};r.popperGenerator=r.detectOverflow=r.createPopperLite=r.createPopperBase=r.createPopper=void 0;var a=n(37802);Object.keys(a).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(e,y)||y in r&&r[y]===a[y]||(r[y]=a[y])});var t=n(16055);Object.keys(t).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(e,y)||y in r&&r[y]===t[y]||(r[y]=t[y])});var o=n(15113);r.popperGenerator=o.popperGenerator,r.detectOverflow=o.detectOverflow,r.createPopperBase=o.createPopper;var m=n(98420);r.createPopper=m.createPopper;var N=n(22008);r.createPopperLite=N.createPopper},20637:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=t(n(1707)),a=n(65601);function t(y){return y&&y.__esModule?y:{default:y}}function o(y){var S=y.state;Object.keys(S.elements).forEach(function(k){var p=S.styles[k]||{},l=S.attributes[k]||{},c=S.elements[k];!(0,a.isHTMLElement)(c)||!(0,e.default)(c)||(Object.assign(c.style,p),Object.keys(l).forEach(function(f){var i=l[f];i===!1?c.removeAttribute(f):c.setAttribute(f,i===!0?"":i)}))})}function m(y){var S=y.state,k={popper:{position:S.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(S.elements.popper.style,k.popper),S.styles=k,S.elements.arrow&&Object.assign(S.elements.arrow.style,k.arrow),function(){Object.keys(S.elements).forEach(function(p){var l=S.elements[p],c=S.attributes[p]||{},f=Object.keys(S.styles.hasOwnProperty(p)?S.styles[p]:k[p]),i=f.reduce(function(u,s){return u[s]="",u},{});!(0,a.isHTMLElement)(l)||!(0,e.default)(l)||(Object.assign(l.style,i),Object.keys(c).forEach(function(u){l.removeAttribute(u)}))})}}var N=r.default={name:"applyStyles",enabled:!0,phase:"write",fn:o,effect:m,requires:["computeStyles"]}},11106:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=p(n(16275)),a=p(n(12866)),t=p(n(11848)),o=p(n(29727)),m=p(n(26608)),N=n(87415),y=p(n(41e3)),S=p(n(62605)),k=n(37802);function p(u){return u&&u.__esModule?u:{default:u}}var l=function(){function u(s,d){return s=typeof s=="function"?s(Object.assign({},d.rects,{placement:d.placement})):s,(0,y.default)(typeof s!="number"?s:(0,S.default)(s,k.basePlacements))}return u}();function c(u){var s,d=u.state,C=u.name,g=u.options,v=d.elements.arrow,h=d.modifiersData.popperOffsets,V=(0,e.default)(d.placement),b=(0,m.default)(V),B=[k.left,k.right].indexOf(V)>=0,I=B?"height":"width";if(!(!v||!h)){var w=l(g.padding,d),T=(0,a.default)(v),A=b==="y"?k.top:k.left,x=b==="y"?k.bottom:k.right,E=d.rects.reference[I]+d.rects.reference[b]-h[b]-d.rects.popper[I],P=h[b]-d.rects.reference[b],D=(0,o.default)(v),M=D?b==="y"?D.clientHeight||0:D.clientWidth||0:0,O=E/2-P/2,j=w[A],F=M-T[I]-w[x],U=M/2-T[I]/2+O,_=(0,N.within)(j,U,F),z=b;d.modifiersData[C]=(s={},s[z]=_,s.centerOffset=_-U,s)}}function f(u){var s=u.state,d=u.options,C=d.element,g=C===void 0?"[data-popper-arrow]":C;g!=null&&(typeof g=="string"&&(g=s.elements.popper.querySelector(g),!g)||(0,t.default)(s.elements.popper,g)&&(s.elements.arrow=g))}var i=r.default={name:"arrow",enabled:!0,phase:"main",fn:c,effect:f,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},85445:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.mapToStyles=c;var e=n(37802),a=k(n(29727)),t=k(n(44901)),o=k(n(9252)),m=k(n(75663)),N=k(n(16275)),y=k(n(56918)),S=n(79257);function k(u){return u&&u.__esModule?u:{default:u}}var p={top:"auto",right:"auto",bottom:"auto",left:"auto"};function l(u,s){var d=u.x,C=u.y,g=s.devicePixelRatio||1;return{x:(0,S.round)(d*g)/g||0,y:(0,S.round)(C*g)/g||0}}function c(u){var s,d=u.popper,C=u.popperRect,g=u.placement,v=u.variation,h=u.offsets,V=u.position,b=u.gpuAcceleration,B=u.adaptive,I=u.roundOffsets,w=u.isFixed,T=h.x,A=T===void 0?0:T,x=h.y,E=x===void 0?0:x,P=typeof I=="function"?I({x:A,y:E}):{x:A,y:E};A=P.x,E=P.y;var D=h.hasOwnProperty("x"),M=h.hasOwnProperty("y"),O=e.left,j=e.top,F=window;if(B){var U=(0,a.default)(d),_="clientHeight",z="clientWidth";if(U===(0,t.default)(d)&&(U=(0,o.default)(d),(0,m.default)(U).position!=="static"&&V==="absolute"&&(_="scrollHeight",z="scrollWidth")),U=U,g===e.top||(g===e.left||g===e.right)&&v===e.end){j=e.bottom;var H=w&&U===F&&F.visualViewport?F.visualViewport.height:U[_];E-=H-C.height,E*=b?1:-1}if(g===e.left||(g===e.top||g===e.bottom)&&v===e.end){O=e.right;var $=w&&U===F&&F.visualViewport?F.visualViewport.width:U[z];A-=$-C.width,A*=b?1:-1}}var Y=Object.assign({position:V},B&&p),X=I===!0?l({x:A,y:E},(0,t.default)(d)):{x:A,y:E};if(A=X.x,E=X.y,b){var re;return Object.assign({},Y,(re={},re[j]=M?"0":"",re[O]=D?"0":"",re.transform=(F.devicePixelRatio||1)<=1?"translate("+A+"px, "+E+"px)":"translate3d("+A+"px, "+E+"px, 0)",re))}return Object.assign({},Y,(s={},s[j]=M?E+"px":"",s[O]=D?A+"px":"",s.transform="",s))}function f(u){var s=u.state,d=u.options,C=d.gpuAcceleration,g=C===void 0?!0:C,v=d.adaptive,h=v===void 0?!0:v,V=d.roundOffsets,b=V===void 0?!0:V,B={placement:(0,N.default)(s.placement),variation:(0,y.default)(s.placement),popper:s.elements.popper,popperRect:s.rects.popper,gpuAcceleration:g,isFixed:s.options.strategy==="fixed"};s.modifiersData.popperOffsets!=null&&(s.styles.popper=Object.assign({},s.styles.popper,c(Object.assign({},B,{offsets:s.modifiersData.popperOffsets,position:s.options.strategy,adaptive:h,roundOffsets:b})))),s.modifiersData.arrow!=null&&(s.styles.arrow=Object.assign({},s.styles.arrow,c(Object.assign({},B,{offsets:s.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:b})))),s.attributes.popper=Object.assign({},s.attributes.popper,{"data-popper-placement":s.placement})}var i=r.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:f,data:{}}},21068:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(44901));function a(N){return N&&N.__esModule?N:{default:N}}var t={passive:!0};function o(N){var y=N.state,S=N.instance,k=N.options,p=k.scroll,l=p===void 0?!0:p,c=k.resize,f=c===void 0?!0:c,i=(0,e.default)(y.elements.popper),u=[].concat(y.scrollParents.reference,y.scrollParents.popper);return l&&u.forEach(function(s){s.addEventListener("scroll",S.update,t)}),f&&i.addEventListener("resize",S.update,t),function(){l&&u.forEach(function(s){s.removeEventListener("scroll",S.update,t)}),f&&i.removeEventListener("resize",S.update,t)}}var m=r.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function N(){}return N}(),effect:o,data:{}}},51825:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=S(n(96346)),a=S(n(16275)),t=S(n(15022)),o=S(n(4709)),m=S(n(36705)),N=n(37802),y=S(n(56918));function S(c){return c&&c.__esModule?c:{default:c}}function k(c){if((0,a.default)(c)===N.auto)return[];var f=(0,e.default)(c);return[(0,t.default)(c),f,(0,t.default)(f)]}function p(c){var f=c.state,i=c.options,u=c.name;if(!f.modifiersData[u]._skip){for(var s=i.mainAxis,d=s===void 0?!0:s,C=i.altAxis,g=C===void 0?!0:C,v=i.fallbackPlacements,h=i.padding,V=i.boundary,b=i.rootBoundary,B=i.altBoundary,I=i.flipVariations,w=I===void 0?!0:I,T=i.allowedAutoPlacements,A=f.options.placement,x=(0,a.default)(A),E=x===A,P=v||(E||!w?[(0,e.default)(A)]:k(A)),D=[A].concat(P).reduce(function(Z,q){return Z.concat((0,a.default)(q)===N.auto?(0,m.default)(f,{placement:q,boundary:V,rootBoundary:b,padding:h,flipVariations:w,allowedAutoPlacements:T}):q)},[]),M=f.rects.reference,O=f.rects.popper,j=new Map,F=!0,U=D[0],_=0;_<D.length;_++){var z=D[_],H=(0,a.default)(z),$=(0,y.default)(z)===N.start,Y=[N.top,N.bottom].indexOf(H)>=0,X=Y?"width":"height",re=(0,o.default)(f,{placement:z,boundary:V,rootBoundary:b,altBoundary:B,padding:h}),ae=Y?$?N.right:N.left:$?N.bottom:N.top;M[X]>O[X]&&(ae=(0,e.default)(ae));var se=(0,e.default)(ae),pe=[];if(d&&pe.push(re[H]<=0),g&&pe.push(re[ae]<=0,re[se]<=0),pe.every(function(Z){return Z})){U=z,F=!1;break}j.set(z,pe)}if(F)for(var ye=w?3:1,Be=function(){function Z(q){var ue=D.find(function(me){var ne=j.get(me);if(ne)return ne.slice(0,q).every(function(be){return be})});if(ue)return U=ue,"break"}return Z}(),he=ye;he>0;he--){var oe=Be(he);if(oe==="break")break}f.placement!==U&&(f.modifiersData[u]._skip=!0,f.placement=U,f.reset=!0)}}var l=r.default={name:"flip",enabled:!0,phase:"main",fn:p,requiresIfExists:["offset"],data:{_skip:!1}}},44677:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(37802),a=t(n(4709));function t(S){return S&&S.__esModule?S:{default:S}}function o(S,k,p){return p===void 0&&(p={x:0,y:0}),{top:S.top-k.height-p.y,right:S.right-k.width+p.x,bottom:S.bottom-k.height+p.y,left:S.left-k.width-p.x}}function m(S){return[e.top,e.right,e.bottom,e.left].some(function(k){return S[k]>=0})}function N(S){var k=S.state,p=S.name,l=k.rects.reference,c=k.rects.popper,f=k.modifiersData.preventOverflow,i=(0,a.default)(k,{elementContext:"reference"}),u=(0,a.default)(k,{altBoundary:!0}),s=o(i,l),d=o(u,c,f),C=m(s),g=m(d);k.modifiersData[p]={referenceClippingOffsets:s,popperEscapeOffsets:d,isReferenceHidden:C,hasPopperEscaped:g},k.attributes.popper=Object.assign({},k.attributes.popper,{"data-popper-reference-hidden":C,"data-popper-escaped":g})}var y=r.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:N}},16055:function(L,r,n){"use strict";r.__esModule=!0,r.preventOverflow=r.popperOffsets=r.offset=r.hide=r.flip=r.eventListeners=r.computeStyles=r.arrow=r.applyStyles=void 0;var e=p(n(20637));r.applyStyles=e.default;var a=p(n(11106));r.arrow=a.default;var t=p(n(85445));r.computeStyles=t.default;var o=p(n(21068));r.eventListeners=o.default;var m=p(n(51825));r.flip=m.default;var N=p(n(44677));r.hide=N.default;var y=p(n(34331));r.offset=y.default;var S=p(n(56154));r.popperOffsets=S.default;var k=p(n(69770));r.preventOverflow=k.default;function p(l){return l&&l.__esModule?l:{default:l}}},34331:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.distanceAndSkiddingToXY=o;var e=t(n(16275)),a=n(37802);function t(y){return y&&y.__esModule?y:{default:y}}function o(y,S,k){var p=(0,e.default)(y),l=[a.left,a.top].indexOf(p)>=0?-1:1,c=typeof k=="function"?k(Object.assign({},S,{placement:y})):k,f=c[0],i=c[1];return f=f||0,i=(i||0)*l,[a.left,a.right].indexOf(p)>=0?{x:i,y:f}:{x:f,y:i}}function m(y){var S=y.state,k=y.options,p=y.name,l=k.offset,c=l===void 0?[0,0]:l,f=a.placements.reduce(function(d,C){return d[C]=o(C,S.rects,c),d},{}),i=f[S.placement],u=i.x,s=i.y;S.modifiersData.popperOffsets!=null&&(S.modifiersData.popperOffsets.x+=u,S.modifiersData.popperOffsets.y+=s),S.modifiersData[p]=f}var N=r.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:m}},56154:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(49306));function a(m){return m&&m.__esModule?m:{default:m}}function t(m){var N=m.state,y=m.name;N.modifiersData[y]=(0,e.default)({reference:N.rects.reference,element:N.rects.popper,strategy:"absolute",placement:N.placement})}var o=r.default={name:"popperOffsets",enabled:!0,phase:"read",fn:t,data:{}}},69770:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(37802),a=c(n(16275)),t=c(n(26608)),o=c(n(49903)),m=n(87415),N=c(n(12866)),y=c(n(29727)),S=c(n(4709)),k=c(n(56918)),p=c(n(26143)),l=n(79257);function c(u){return u&&u.__esModule?u:{default:u}}function f(u){var s=u.state,d=u.options,C=u.name,g=d.mainAxis,v=g===void 0?!0:g,h=d.altAxis,V=h===void 0?!1:h,b=d.boundary,B=d.rootBoundary,I=d.altBoundary,w=d.padding,T=d.tether,A=T===void 0?!0:T,x=d.tetherOffset,E=x===void 0?0:x,P=(0,S.default)(s,{boundary:b,rootBoundary:B,padding:w,altBoundary:I}),D=(0,a.default)(s.placement),M=(0,k.default)(s.placement),O=!M,j=(0,t.default)(D),F=(0,o.default)(j),U=s.modifiersData.popperOffsets,_=s.rects.reference,z=s.rects.popper,H=typeof E=="function"?E(Object.assign({},s.rects,{placement:s.placement})):E,$=typeof H=="number"?{mainAxis:H,altAxis:H}:Object.assign({mainAxis:0,altAxis:0},H),Y=s.modifiersData.offset?s.modifiersData.offset[s.placement]:null,X={x:0,y:0};if(U){if(v){var re,ae=j==="y"?e.top:e.left,se=j==="y"?e.bottom:e.right,pe=j==="y"?"height":"width",ye=U[j],Be=ye+P[ae],he=ye-P[se],oe=A?-z[pe]/2:0,Z=M===e.start?_[pe]:z[pe],q=M===e.start?-z[pe]:-_[pe],ue=s.elements.arrow,me=A&&ue?(0,N.default)(ue):{width:0,height:0},ne=s.modifiersData["arrow#persistent"]?s.modifiersData["arrow#persistent"].padding:(0,p.default)(),be=ne[ae],fe=ne[se],ge=(0,m.within)(0,_[pe],me[pe]),ke=O?_[pe]/2-oe-ge-be-$.mainAxis:Z-ge-be-$.mainAxis,ve=O?-_[pe]/2+oe+ge+fe+$.mainAxis:q+ge+fe+$.mainAxis,Se=s.elements.arrow&&(0,y.default)(s.elements.arrow),we=Se?j==="y"?Se.clientTop||0:Se.clientLeft||0:0,xe=(re=Y==null?void 0:Y[j])!=null?re:0,Oe=ye+ke-xe-we,We=ye+ve-xe,Ve=(0,m.within)(A?(0,l.min)(Be,Oe):Be,ye,A?(0,l.max)(he,We):he);U[j]=Ve,X[j]=Ve-ye}if(V){var ce,le=j==="x"?e.top:e.left,Ce=j==="x"?e.bottom:e.right,de=U[F],Ne=F==="y"?"height":"width",Ae=de+P[le],De=de-P[Ce],je=[e.top,e.left].indexOf(D)!==-1,_e=(ce=Y==null?void 0:Y[F])!=null?ce:0,Ue=je?Ae:de-_[Ne]-z[Ne]-_e+$.altAxis,Ke=je?de+_[Ne]+z[Ne]-_e-$.altAxis:De,Ge=A&&je?(0,m.withinMaxClamp)(Ue,de,Ke):(0,m.within)(A?Ue:Ae,de,A?Ke:De);U[F]=Ge,X[F]=Ge-de}s.modifiersData[C]=X}}var i=r.default={name:"preventOverflow",enabled:!0,phase:"main",fn:f,requiresIfExists:["offset"]}},22008:function(L,r,n){"use strict";r.__esModule=!0,r.defaultModifiers=r.createPopper=void 0;var e=n(15113);r.popperGenerator=e.popperGenerator,r.detectOverflow=e.detectOverflow;var a=N(n(21068)),t=N(n(56154)),o=N(n(85445)),m=N(n(20637));function N(k){return k&&k.__esModule?k:{default:k}}var y=r.defaultModifiers=[a.default,t.default,o.default,m.default],S=r.createPopper=(0,e.popperGenerator)({defaultModifiers:y})},98420:function(L,r,n){"use strict";r.__esModule=!0;var e={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};r.defaultModifiers=r.createPopperLite=r.createPopper=void 0;var a=n(15113);r.popperGenerator=a.popperGenerator,r.detectOverflow=a.detectOverflow;var t=i(n(21068)),o=i(n(56154)),m=i(n(85445)),N=i(n(20637)),y=i(n(34331)),S=i(n(51825)),k=i(n(69770)),p=i(n(11106)),l=i(n(44677)),c=n(22008);r.createPopperLite=c.createPopper;var f=n(16055);Object.keys(f).forEach(function(d){d==="default"||d==="__esModule"||Object.prototype.hasOwnProperty.call(e,d)||d in r&&r[d]===f[d]||(r[d]=f[d])});function i(d){return d&&d.__esModule?d:{default:d}}var u=r.defaultModifiers=[t.default,o.default,m.default,N.default,y.default,S.default,k.default,p.default,l.default],s=r.createPopperLite=r.createPopper=(0,a.popperGenerator)({defaultModifiers:u})},36705:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=m(n(56918)),a=n(37802),t=m(n(4709)),o=m(n(16275));function m(y){return y&&y.__esModule?y:{default:y}}function N(y,S){S===void 0&&(S={});var k=S,p=k.placement,l=k.boundary,c=k.rootBoundary,f=k.padding,i=k.flipVariations,u=k.allowedAutoPlacements,s=u===void 0?a.placements:u,d=(0,e.default)(p),C=d?i?a.variationPlacements:a.variationPlacements.filter(function(h){return(0,e.default)(h)===d}):a.basePlacements,g=C.filter(function(h){return s.indexOf(h)>=0});g.length===0&&(g=C);var v=g.reduce(function(h,V){return h[V]=(0,t.default)(y,{placement:V,boundary:l,rootBoundary:c,padding:f})[(0,o.default)(V)],h},{});return Object.keys(v).sort(function(h,V){return v[h]-v[V]})}},49306:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=m(n(16275)),a=m(n(56918)),t=m(n(26608)),o=n(37802);function m(y){return y&&y.__esModule?y:{default:y}}function N(y){var S=y.reference,k=y.element,p=y.placement,l=p?(0,e.default)(p):null,c=p?(0,a.default)(p):null,f=S.x+S.width/2-k.width/2,i=S.y+S.height/2-k.height/2,u;switch(l){case o.top:u={x:f,y:S.y-k.height};break;case o.bottom:u={x:f,y:S.y+S.height};break;case o.right:u={x:S.x+S.width,y:i};break;case o.left:u={x:S.x-k.width,y:i};break;default:u={x:S.x,y:S.y}}var s=l?(0,t.default)(l):null;if(s!=null){var d=s==="y"?"height":"width";switch(c){case o.start:u[s]=u[s]-(S[d]/2-k[d]/2);break;case o.end:u[s]=u[s]+(S[d]/2-k[d]/2);break;default:}}return u}},97902:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a;return function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(e())})})),a}}},4709:function(L,r,n){"use strict";r.__esModule=!0,r.default=l;var e=p(n(98310)),a=p(n(9252)),t=p(n(83199)),o=p(n(49306)),m=p(n(21194)),N=n(37802),y=n(65601),S=p(n(41e3)),k=p(n(62605));function p(c){return c&&c.__esModule?c:{default:c}}function l(c,f){f===void 0&&(f={});var i=f,u=i.placement,s=u===void 0?c.placement:u,d=i.strategy,C=d===void 0?c.strategy:d,g=i.boundary,v=g===void 0?N.clippingParents:g,h=i.rootBoundary,V=h===void 0?N.viewport:h,b=i.elementContext,B=b===void 0?N.popper:b,I=i.altBoundary,w=I===void 0?!1:I,T=i.padding,A=T===void 0?0:T,x=(0,S.default)(typeof A!="number"?A:(0,k.default)(A,N.basePlacements)),E=B===N.popper?N.reference:N.popper,P=c.rects.popper,D=c.elements[w?E:B],M=(0,e.default)((0,y.isElement)(D)?D:D.contextElement||(0,a.default)(c.elements.popper),v,V,C),O=(0,t.default)(c.elements.reference),j=(0,o.default)({reference:O,element:P,strategy:"absolute",placement:s}),F=(0,m.default)(Object.assign({},P,j)),U=B===N.popper?F:O,_={top:M.top-U.top+x.top,bottom:U.bottom-M.bottom+x.bottom,left:M.left-U.left+x.left,right:U.right-M.right+x.right},z=c.modifiersData.offset;if(B===N.popper&&z){var H=z[s];Object.keys(_).forEach(function($){var Y=[N.right,N.bottom].indexOf($)>=0?1:-1,X=[N.top,N.bottom].indexOf($)>=0?"y":"x";_[$]+=H[X]*Y})}return _}},62605:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e,a){return a.reduce(function(t,o){return t[o]=e,t},{})}},49903:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e==="x"?"y":"x"}},16275:function(L,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(37802);function a(t){return t.split("-")[0]}},26143:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(){return{top:0,right:0,bottom:0,left:0}}},26608:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},96346:function(L,r){"use strict";r.__esModule=!0,r.default=e;var n={left:"right",right:"left",bottom:"top",top:"bottom"};function e(a){return a.replace(/left|right|bottom|top/g,function(t){return n[t]})}},15022:function(L,r){"use strict";r.__esModule=!0,r.default=e;var n={start:"end",end:"start"};function e(a){return a.replace(/start|end/g,function(t){return n[t]})}},56918:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e.split("-")[1]}},79257:function(L,r){"use strict";r.__esModule=!0,r.round=r.min=r.max=void 0;var n=r.max=Math.max,e=r.min=Math.min,a=r.round=Math.round},57547:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a=e.reduce(function(t,o){var m=t[o.name];return t[o.name]=m?Object.assign({},m,o,{options:Object.assign({},m.options,o.options),data:Object.assign({},m.data,o.data)}):o,t},{});return Object.keys(a).map(function(t){return a[t]})}},41e3:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(26143));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return Object.assign({},(0,e.default)(),o)}},13657:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=n(37802);function a(o){var m=new Map,N=new Set,y=[];o.forEach(function(k){m.set(k.name,k)});function S(k){N.add(k.name);var p=[].concat(k.requires||[],k.requiresIfExists||[]);p.forEach(function(l){if(!N.has(l)){var c=m.get(l);c&&S(c)}}),y.push(k)}return o.forEach(function(k){N.has(k.name)||S(k)}),y}function t(o){var m=a(o);return e.modifierPhases.reduce(function(N,y){return N.concat(m.filter(function(S){return S.phase===y}))},[])}},21194:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},88492:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}},87415:function(L,r,n){"use strict";r.__esModule=!0,r.within=a,r.withinMaxClamp=t;var e=n(79257);function a(o,m,N){return(0,e.max)(o,(0,e.min)(m,N))}function t(o,m,N){var y=a(o,m,N);return y>N?N:y}},60208:function(L,r){"use strict";r.__esModule=!0,r.Fragment=r.EMPTY_OBJ=r.Component=void 0,r._CI=Et,r._HI=Be,r._M=ze,r._MCCC=Ot,r._ME=Pt,r._MFCC=Rt,r._MP=xt,r._MR=ot,r._RFC=Ct,r.__render=Ft,r.createComponentVNode=_,r.createFragment=H,r.createPortal=ae,r.createRef=Yt,r.createRenderer=kn,r.createTextVNode=z,r.createVNode=O,r.directClone=X,r.findDOMfromVNode=V,r.forwardRef=Xt,r.getFlagsForElementVnode=pe,r.linkEvent=p,r.normalizeProps=$,r.options=void 0,r.render=Wt,r.rerender=_t,r.version=void 0;var n=Array.isArray;function e(R){var W=typeof R;return W==="string"||W==="number"}function a(R){return R==null}function t(R){return R===null||R===!1||R===!0||R===void 0}function o(R){return typeof R=="function"}function m(R){return typeof R=="string"}function N(R){return typeof R=="number"}function y(R){return R===null}function S(R){return R===void 0}function k(R,W){var K={};if(R)for(var G in R)K[G]=R[G];if(W)for(var Q in W)K[Q]=W[Q];return K}function p(R,W){return o(W)?{data:R,event:W}:null}function l(R){return!y(R)&&typeof R=="object"}var c=r.EMPTY_OBJ={},f=r.Fragment="$F";function i(R){return R.substr(2).toLowerCase()}function u(R,W){R.appendChild(W)}function s(R,W,K){y(K)?u(R,W):R.insertBefore(W,K)}function d(R,W){return W?document.createElementNS("http://www.w3.org/2000/svg",R):document.createElement(R)}function C(R,W,K){R.replaceChild(W,K)}function g(R,W){R.removeChild(W)}function v(R){for(var W=0;W<R.length;W++)R[W]()}function h(R,W,K){var G=R.children;return K&4?G.$LI:K&8192?R.childFlags===2?G:G[W?0:G.length-1]:G}function V(R,W){for(var K;R;){if(K=R.flags,K&2033)return R.dom;R=h(R,W,K)}return null}function b(R,W){do{var K=R.flags;if(K&2033){g(W,R.dom);return}var G=R.children;if(K&4&&(R=G.$LI),K&8&&(R=G),K&8192)if(R.childFlags===2)R=G;else{for(var Q=0,ee=G.length;Q<ee;++Q)b(G[Q],W);return}}while(R)}function B(R,W,K){do{var G=R.flags;if(G&2033){s(W,R.dom,K);return}var Q=R.children;if(G&4&&(R=Q.$LI),G&8&&(R=Q),G&8192)if(R.childFlags===2)R=Q;else{for(var ee=0,te=Q.length;ee<te;++ee)B(Q[ee],W,K);return}}while(R)}function I(R,W,K){return R.constructor.getDerivedStateFromProps?k(K,R.constructor.getDerivedStateFromProps(W,K)):K}var w={v:!1},T=r.options={componentComparator:null,createVNode:null,renderComplete:null};function A(R,W){R.textContent=W}function x(R,W){return l(R)&&R.event===W.event&&R.data===W.data}function E(R,W){for(var K in W)S(R[K])&&(R[K]=W[K]);return R}function P(R,W){return!!o(R)&&(R(W),!0)}var D="$";function M(R,W,K,G,Q,ee,te,ie){this.childFlags=R,this.children=W,this.className=K,this.dom=null,this.flags=G,this.key=Q===void 0?null:Q,this.props=ee===void 0?null:ee,this.ref=te===void 0?null:te,this.type=ie}function O(R,W,K,G,Q,ee,te,ie){var Te=Q===void 0?1:Q,Ie=new M(Te,G,K,R,te,ee,ie,W);return T.createVNode&&T.createVNode(Ie),Te===0&&ye(Ie,Ie.children),Ie}function j(R,W,K){if(R&4)return K;var G=(R&32768?W.render:W).defaultHooks;return a(G)?K:a(K)?G:E(K,G)}function F(R,W,K){var G=(R&32768?W.render:W).defaultProps;return a(G)?K:a(K)?k(G,null):E(K,G)}function U(R,W){return R&12?R:W.prototype&&W.prototype.render?4:W.render?32776:8}function _(R,W,K,G,Q){R=U(R,W);var ee=new M(1,null,null,R,G,F(R,W,K),j(R,W,Q),W);return T.createVNode&&T.createVNode(ee),ee}function z(R,W){return new M(1,a(R)||R===!0||R===!1?"":R,null,16,W,null,null,null)}function H(R,W,K){var G=O(8192,8192,null,R,W,null,K,null);switch(G.childFlags){case 1:G.children=re(),G.childFlags=2;break;case 16:G.children=[z(R)],G.childFlags=4;break}return G}function $(R){var W=R.props;if(W){var K=R.flags;K&481&&(W.children!==void 0&&a(R.children)&&ye(R,W.children),W.className!==void 0&&(a(R.className)&&(R.className=W.className||null),W.className=void 0)),W.key!==void 0&&(R.key=W.key,W.key=void 0),W.ref!==void 0&&(K&8?R.ref=k(R.ref,W.ref):R.ref=W.ref,W.ref=void 0)}return R}function Y(R){var W=R.children,K=R.childFlags;return H(K===2?X(W):W.map(X),K,R.key)}function X(R){var W=R.flags&-16385,K=R.props;if(W&14&&!y(K)){var G=K;K={};for(var Q in G)K[Q]=G[Q]}return W&8192?Y(R):new M(R.childFlags,R.children,R.className,W,R.key,K,R.ref,R.type)}function re(){return z("",null)}function ae(R,W){var K=Be(R);return O(1024,1024,null,K,0,null,K.key,W)}function se(R,W,K,G){for(var Q=R.length;K<Q;K++){var ee=R[K];if(!t(ee)){var te=G+D+K;if(n(ee))se(ee,W,0,te);else{if(e(ee))ee=z(ee,te);else{var ie=ee.key,Te=m(ie)&&ie[0]===D;(ee.flags&81920||Te)&&(ee=X(ee)),ee.flags|=65536,Te?ie.substring(0,G.length)!==G&&(ee.key=G+ie):y(ie)?ee.key=te:ee.key=G+ie}W.push(ee)}}}}function pe(R){switch(R){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case f:return 8192;default:return 1}}function ye(R,W){var K,G=1;if(t(W))K=W;else if(e(W))G=16,K=W;else if(n(W)){for(var Q=W.length,ee=0;ee<Q;++ee){var te=W[ee];if(t(te)||n(te)){K=K||W.slice(0,ee),se(W,K,ee,"");break}else if(e(te))K=K||W.slice(0,ee),K.push(z(te,D+ee));else{var ie=te.key,Te=(te.flags&81920)>0,Ie=y(ie),Le=m(ie)&&ie[0]===D;Te||Ie||Le?(K=K||W.slice(0,ee),(Te||Le)&&(te=X(te)),(Ie||Le)&&(te.key=D+ee),K.push(te)):K&&K.push(te),te.flags|=65536}}K=K||W,K.length===0?G=1:G=8}else K=W,K.flags|=65536,W.flags&81920&&(K=X(W)),G=2;return R.children=K,R.childFlags=G,R}function Be(R){return t(R)||e(R)?z(R,null):n(R)?H(R,0,null):R.flags&16384?X(R):R}var he="http://www.w3.org/1999/xlink",oe="http://www.w3.org/XML/1998/namespace",Z={"xlink:actuate":he,"xlink:arcrole":he,"xlink:href":he,"xlink:role":he,"xlink:show":he,"xlink:title":he,"xlink:type":he,"xml:base":oe,"xml:lang":oe,"xml:space":oe};function q(R){return{onClick:R,onDblClick:R,onFocusIn:R,onFocusOut:R,onKeyDown:R,onKeyPress:R,onKeyUp:R,onMouseDown:R,onMouseMove:R,onMouseUp:R,onTouchEnd:R,onTouchMove:R,onTouchStart:R}}var ue=q(0),me=q(null),ne=q(!0);function be(R,W){var K=W.$EV;return K||(K=W.$EV=q(null)),K[R]||++ue[R]===1&&(me[R]=ce(R)),K}function fe(R,W){var K=W.$EV;K&&K[R]&&(--ue[R]===0&&(document.removeEventListener(i(R),me[R]),me[R]=null),K[R]=null)}function ge(R,W,K,G){if(o(K))be(R,G)[R]=K;else if(l(K)){if(x(W,K))return;be(R,G)[R]=K}else fe(R,G)}function ke(R){return o(R.composedPath)?R.composedPath()[0]:R.target}function ve(R,W,K,G){var Q=ke(R);do{if(W&&Q.disabled)return;var ee=Q.$EV;if(ee){var te=ee[K];if(te&&(G.dom=Q,te.event?te.event(te.data,R):te(R),R.cancelBubble))return}Q=Q.parentNode}while(!y(Q))}function Se(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function we(){return this.defaultPrevented}function xe(){return this.cancelBubble}function Oe(R){var W={dom:document};return R.isDefaultPrevented=we,R.isPropagationStopped=xe,R.stopPropagation=Se,Object.defineProperty(R,"currentTarget",{configurable:!0,get:function(){function K(){return W.dom}return K}()}),W}function We(R){return function(W){if(W.button!==0){W.stopPropagation();return}ve(W,!0,R,Oe(W))}}function Ve(R){return function(W){ve(W,!1,R,Oe(W))}}function ce(R){var W=R==="onClick"||R==="onDblClick"?We(R):Ve(R);return document.addEventListener(i(R),W),W}function le(R,W){var K=document.createElement("i");return K.innerHTML=W,K.innerHTML===R.innerHTML}function Ce(R,W,K){if(R[W]){var G=R[W];G.event?G.event(G.data,K):G(K)}else{var Q=W.toLowerCase();R[Q]&&R[Q](K)}}function de(R,W){var K=function(Q){var ee=this.$V;if(ee){var te=ee.props||c,ie=ee.dom;if(m(R))Ce(te,R,Q);else for(var Te=0;Te<R.length;++Te)Ce(te,R[Te],Q);if(o(W)){var Ie=this.$V,Le=Ie.props||c;W(Le,ie,!1,Ie)}}};return Object.defineProperty(K,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),K}function Ne(R,W,K){var G="$"+W,Q=R[G];if(Q){if(Q[1].wrapped)return;R.removeEventListener(Q[0],Q[1]),R[G]=null}o(K)&&(R.addEventListener(W,K),R[G]=[W,K])}function Ae(R){return R==="checkbox"||R==="radio"}var De=de("onInput",Ke),je=de(["onClick","onChange"],Ke);function _e(R){R.stopPropagation()}_e.wrapped=!0;function Ue(R,W){Ae(W.type)?(Ne(R,"change",je),Ne(R,"click",_e)):Ne(R,"input",De)}function Ke(R,W){var K=R.type,G=R.value,Q=R.checked,ee=R.multiple,te=R.defaultValue,ie=!a(G);K&&K!==W.type&&W.setAttribute("type",K),!a(ee)&&ee!==W.multiple&&(W.multiple=ee),!a(te)&&!ie&&(W.defaultValue=te+""),Ae(K)?(ie&&(W.value=G),a(Q)||(W.checked=Q)):ie&&W.value!==G?(W.defaultValue=G,W.value=G):a(Q)||(W.checked=Q)}function Ge(R,W){if(R.type==="option")yt(R,W);else{var K=R.children,G=R.flags;if(G&4)Ge(K.$LI,W);else if(G&8)Ge(K,W);else if(R.childFlags===2)Ge(K,W);else if(R.childFlags&12)for(var Q=0,ee=K.length;Q<ee;++Q)Ge(K[Q],W)}}function yt(R,W){var K=R.props||c,G=R.dom;G.value=K.value,K.value===W||n(W)&&W.indexOf(K.value)!==-1?G.selected=!0:(!a(W)||!a(K.selected))&&(G.selected=K.selected||!1)}var kt=de("onChange",ft);function St(R){Ne(R,"change",kt)}function ft(R,W,K,G){var Q=!!R.multiple;!a(R.multiple)&&Q!==W.multiple&&(W.multiple=Q);var ee=R.selectedIndex;ee===-1&&(W.selectedIndex=-1);var te=G.childFlags;if(te!==1){var ie=R.value;N(ee)&&ee>-1&&W.options[ee]&&(ie=W.options[ee].value),K&&a(ie)&&(ie=R.defaultValue),Ge(G,ie)}}var Bt=de("onInput",pt),It=de("onChange");function Lt(R,W){Ne(R,"input",Bt),W.onChange&&Ne(R,"change",It)}function pt(R,W,K){var G=R.value,Q=W.value;if(a(G)){if(K){var ee=R.defaultValue;!a(ee)&&ee!==Q&&(W.defaultValue=ee,W.value=ee)}}else Q!==G&&(W.defaultValue=G,W.value=G)}function wt(R,W,K,G,Q,ee){R&64?Ke(G,K):R&256?ft(G,K,Q,W):R&128&&pt(G,K,Q),ee&&(K.$V=W)}function Gt(R,W,K){R&64?Ue(W,K):R&256?St(W):R&128&&Lt(W,K)}function Tt(R){return R.type&&Ae(R.type)?!a(R.checked):!a(R.value)}function Yt(){return{current:null}}function Xt(R){return{render:R}}function lt(R){R&&!P(R,null)&&R.current&&(R.current=null)}function ot(R,W,K){R&&(o(R)||R.current!==void 0)&&K.push(function(){!P(R,W)&&R.current!==void 0&&(R.current=W)})}function Xe(R,W){Qe(R),b(R,W)}function Qe(R){var W=R.flags,K=R.children,G;if(W&481){G=R.ref;var Q=R.props;lt(G);var ee=R.childFlags;if(!y(Q))for(var te=Object.keys(Q),ie=0,Te=te.length;ie<Te;ie++){var Ie=te[ie];ne[Ie]&&fe(Ie,R.dom)}ee&12?rt(K):ee===2&&Qe(K)}else K&&(W&4?(o(K.componentWillUnmount)&&K.componentWillUnmount(),lt(R.ref),K.$UN=!0,Qe(K.$LI)):W&8?(G=R.ref,!a(G)&&o(G.onComponentWillUnmount)&&G.onComponentWillUnmount(V(R,!0),R.props||c),Qe(K)):W&1024?Xe(K,R.ref):W&8192&&R.childFlags&12&&rt(K))}function rt(R){for(var W=0,K=R.length;W<K;++W)Qe(R[W])}function ut(R){R.textContent=""}function dt(R,W,K){rt(K),W.flags&8192?b(W,R):ut(R)}function Jt(R){var W=R.event;return function(K){W(R.data,K)}}function Qt(R,W,K,G){if(l(K)){if(x(W,K))return;K=Jt(K)}Ne(G,i(R),K)}function Zt(R,W,K){if(a(W)){K.removeAttribute("style");return}var G=K.style,Q,ee;if(m(W)){G.cssText=W;return}if(!a(R)&&!m(R)){for(Q in W)ee=W[Q],ee!==R[Q]&&G.setProperty(Q,ee);for(Q in R)a(W[Q])&&G.removeProperty(Q)}else for(Q in W)ee=W[Q],G.setProperty(Q,ee)}function qt(R,W,K,G){var Q=R&&R.__html||"",ee=W&&W.__html||"";Q!==ee&&!a(ee)&&!le(G,ee)&&(y(K)||(K.childFlags&12?rt(K.children):K.childFlags===2&&Qe(K.children),K.children=null,K.childFlags=1),G.innerHTML=ee)}function ht(R,W,K,G,Q,ee,te){switch(R){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":G.autofocus=!!K;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":G[R]=!!K;break;case"defaultChecked":case"value":case"volume":if(ee&&R==="value")break;var ie=a(K)?"":K;G[R]!==ie&&(G[R]=ie);break;case"style":Zt(W,K,G);break;case"dangerouslySetInnerHTML":qt(W,K,te,G);break;default:ne[R]?ge(R,W,K,G):R.charCodeAt(0)===111&&R.charCodeAt(1)===110?Qt(R,W,K,G):a(K)?G.removeAttribute(R):Q&&Z[R]?G.setAttributeNS(Z[R],R,K):G.setAttribute(R,K);break}}function xt(R,W,K,G,Q){var ee=!1,te=(W&448)>0;te&&(ee=Tt(K),ee&&Gt(W,G,K));for(var ie in K)ht(ie,null,K[ie],G,Q,ee,null);te&&wt(W,R,G,K,!0,ee)}function At(R,W,K){var G=Be(R.render(W,R.state,K)),Q=K;return o(R.getChildContext)&&(Q=k(K,R.getChildContext())),R.$CX=Q,G}function Et(R,W,K,G,Q,ee){var te=new W(K,G),ie=te.$N=!!(W.getDerivedStateFromProps||te.getSnapshotBeforeUpdate);if(te.$SVG=Q,te.$L=ee,R.children=te,te.$BS=!1,te.context=G,te.props===c&&(te.props=K),ie)te.state=I(te,K,te.state);else if(o(te.componentWillMount)){te.$BR=!0,te.componentWillMount();var Te=te.$PS;if(!y(Te)){var Ie=te.state;if(y(Ie))te.state=Te;else for(var Le in Te)Ie[Le]=Te[Le];te.$PS=null}te.$BR=!1}return te.$LI=At(te,K,G),te}function Ct(R,W){var K=R.props||c;return R.flags&32768?R.type.render(K,R.ref,W):R.type(K,W)}function ze(R,W,K,G,Q,ee){var te=R.flags|=16384;te&481?Pt(R,W,K,G,Q,ee):te&4?nn(R,W,K,G,Q,ee):te&8?(on(R,W,K,G,Q,ee),Rt(R,ee)):te&512||te&16?Mt(R,W,Q):te&8192?tn(R,K,W,G,Q,ee):te&1024&&en(R,K,W,Q,ee)}function en(R,W,K,G,Q){ze(R.children,R.ref,W,!1,null,Q);var ee=re();Mt(ee,K,G),R.dom=ee.dom}function tn(R,W,K,G,Q,ee){var te=R.children,ie=R.childFlags;ie&12&&te.length===0&&(ie=R.childFlags=2,te=R.children=re()),ie===2?ze(te,K,W,G,Q,ee):nt(te,K,W,G,Q,ee)}function Mt(R,W,K){var G=R.dom=document.createTextNode(R.children);y(W)||s(W,G,K)}function Pt(R,W,K,G,Q,ee){var te=R.flags,ie=R.props,Te=R.className,Ie=R.childFlags,Le=R.dom=d(R.type,G=G||(te&32)>0),Ee=R.children;if(!a(Te)&&Te!==""&&(G?Le.setAttribute("class",Te):Le.className=Te),Ie===16)A(Le,Ee);else if(Ie!==1){var Pe=G&&R.type!=="foreignObject";Ie===2?(Ee.flags&16384&&(R.children=Ee=X(Ee)),ze(Ee,Le,K,Pe,null,ee)):(Ie===8||Ie===4)&&nt(Ee,Le,K,Pe,null,ee)}y(W)||s(W,Le,Q),y(ie)||xt(R,te,ie,Le,G),ot(R.ref,Le,ee)}function nt(R,W,K,G,Q,ee){for(var te=0;te<R.length;++te){var ie=R[te];ie.flags&16384&&(R[te]=ie=X(ie)),ze(ie,W,K,G,Q,ee)}}function nn(R,W,K,G,Q,ee){var te=Et(R,R.type,R.props||c,K,G,ee);ze(te.$LI,W,te.$CX,G,Q,ee),Ot(R.ref,te,ee)}function on(R,W,K,G,Q,ee){ze(R.children=Be(Ct(R,K)),W,K,G,Q,ee)}function rn(R){return function(){R.componentDidMount()}}function Ot(R,W,K){ot(R,W,K),o(W.componentDidMount)&&K.push(rn(W))}function an(R,W){return function(){R.onComponentDidMount(V(W,!0),W.props||c)}}function Rt(R,W){var K=R.ref;a(K)||(P(K.onComponentWillMount,R.props||c),o(K.onComponentDidMount)&&W.push(an(K,R)))}function cn(R,W,K,G,Q,ee){Qe(R),W.flags&R.flags&2033?(ze(W,null,G,Q,null,ee),C(K,W.dom,R.dom)):(ze(W,K,G,Q,V(R,!0),ee),b(R,K))}function Ze(R,W,K,G,Q,ee,te){var ie=W.flags|=16384;R.flags!==ie||R.type!==W.type||R.key!==W.key||ie&2048?R.flags&16384?cn(R,W,K,G,Q,te):ze(W,K,G,Q,ee,te):ie&481?mn(R,W,G,Q,ie,te):ie&4?hn(R,W,K,G,Q,ee,te):ie&8?Cn(R,W,K,G,Q,ee,te):ie&16?vn(R,W):ie&512?W.dom=R.dom:ie&8192?dn(R,W,K,G,Q,te):sn(R,W,G,te)}function ln(R,W,K){R!==W&&(R!==""?K.firstChild.nodeValue=W:A(K,W))}function un(R,W){R.textContent!==W&&(R.textContent=W)}function dn(R,W,K,G,Q,ee){var te=R.children,ie=W.children,Te=R.childFlags,Ie=W.childFlags,Le=null;Ie&12&&ie.length===0&&(Ie=W.childFlags=2,ie=W.children=re());var Ee=(Ie&2)!==0;if(Te&12){var Pe=te.length;(Te&8&&Ie&8||Ee||!Ee&&ie.length>Pe)&&(Le=V(te[Pe-1],!1).nextSibling)}vt(Te,Ie,te,ie,K,G,Q,Le,R,ee)}function sn(R,W,K,G){var Q=R.ref,ee=W.ref,te=W.children;if(vt(R.childFlags,W.childFlags,R.children,te,Q,K,!1,null,R,G),W.dom=R.dom,Q!==ee&&!t(te)){var ie=te.dom;g(Q,ie),u(ee,ie)}}function mn(R,W,K,G,Q,ee){var te=W.dom=R.dom,ie=R.props,Te=W.props,Ie=!1,Le=!1,Ee;if(G=G||(Q&32)>0,ie!==Te){var Pe=ie||c;if(Ee=Te||c,Ee!==c){Ie=(Q&448)>0,Ie&&(Le=Tt(Ee));for(var Fe in Ee){var Me=Pe[Fe],He=Ee[Fe];Me!==He&&ht(Fe,Me,He,te,G,Le,R)}}if(Pe!==c)for(var Re in Pe)a(Ee[Re])&&!a(Pe[Re])&&ht(Re,Pe[Re],null,te,G,Le,R)}var et=W.children,Ye=W.className;R.className!==Ye&&(a(Ye)?te.removeAttribute("class"):G?te.setAttribute("class",Ye):te.className=Ye),Q&4096?un(te,et):vt(R.childFlags,W.childFlags,R.children,et,te,K,G&&W.type!=="foreignObject",null,R,ee),Ie&&wt(Q,W,te,Ee,!1,Le);var at=W.ref,Je=R.ref;Je!==at&&(lt(Je),ot(at,te,ee))}function fn(R,W,K,G,Q,ee){Qe(R),nt(W,K,G,Q,V(R,!0),ee),b(R,K)}function vt(R,W,K,G,Q,ee,te,ie,Te,Ie){switch(R){case 2:switch(W){case 2:Ze(K,G,Q,ee,te,ie,Ie);break;case 1:Xe(K,Q);break;case 16:Qe(K),A(Q,G);break;default:fn(K,G,Q,ee,te,Ie);break}break;case 1:switch(W){case 2:ze(G,Q,ee,te,ie,Ie);break;case 1:break;case 16:A(Q,G);break;default:nt(G,Q,ee,te,ie,Ie);break}break;case 16:switch(W){case 16:ln(K,G,Q);break;case 2:ut(Q),ze(G,Q,ee,te,ie,Ie);break;case 1:ut(Q);break;default:ut(Q),nt(G,Q,ee,te,ie,Ie);break}break;default:switch(W){case 16:rt(K),A(Q,G);break;case 2:dt(Q,Te,K),ze(G,Q,ee,te,ie,Ie);break;case 1:dt(Q,Te,K);break;default:var Le=K.length|0,Ee=G.length|0;Le===0?Ee>0&&nt(G,Q,ee,te,ie,Ie):Ee===0?dt(Q,Te,K):W===8&&R===8?Nn(K,G,Q,ee,te,Le,Ee,ie,Te,Ie):gn(K,G,Q,ee,te,Le,Ee,ie,Ie);break}break}}function pn(R,W,K,G,Q){Q.push(function(){R.componentDidUpdate(W,K,G)})}function Dt(R,W,K,G,Q,ee,te,ie,Te){var Ie=R.state,Le=R.props,Ee=!!R.$N,Pe=o(R.shouldComponentUpdate);if(Ee&&(W=I(R,K,W!==Ie?k(Ie,W):W)),te||!Pe||Pe&&R.shouldComponentUpdate(K,W,Q)){!Ee&&o(R.componentWillUpdate)&&R.componentWillUpdate(K,W,Q),R.props=K,R.state=W,R.context=Q;var Fe=null,Me=At(R,K,Q);Ee&&o(R.getSnapshotBeforeUpdate)&&(Fe=R.getSnapshotBeforeUpdate(Le,Ie)),Ze(R.$LI,Me,G,R.$CX,ee,ie,Te),R.$LI=Me,o(R.componentDidUpdate)&&pn(R,Le,Ie,Fe,Te)}else R.props=K,R.state=W,R.context=Q}function hn(R,W,K,G,Q,ee,te){var ie=W.children=R.children;if(!y(ie)){ie.$L=te;var Te=W.props||c,Ie=W.ref,Le=R.ref,Ee=ie.state;if(!ie.$N){if(o(ie.componentWillReceiveProps)){if(ie.$BR=!0,ie.componentWillReceiveProps(Te,G),ie.$UN)return;ie.$BR=!1}y(ie.$PS)||(Ee=k(Ee,ie.$PS),ie.$PS=null)}Dt(ie,Ee,Te,K,G,Q,!1,ee,te),Le!==Ie&&(lt(Le),ot(Ie,ie,te))}}function Cn(R,W,K,G,Q,ee,te){var ie=!0,Te=W.props||c,Ie=W.ref,Le=R.props,Ee=!a(Ie),Pe=R.children;if(Ee&&o(Ie.onComponentShouldUpdate)&&(ie=Ie.onComponentShouldUpdate(Le,Te)),ie!==!1){Ee&&o(Ie.onComponentWillUpdate)&&Ie.onComponentWillUpdate(Le,Te);var Fe=Be(Ct(W,G));Ze(Pe,Fe,K,G,Q,ee,te),W.children=Fe,Ee&&o(Ie.onComponentDidUpdate)&&Ie.onComponentDidUpdate(Le,Te)}else W.children=Pe}function vn(R,W){var K=W.children,G=W.dom=R.dom;K!==R.children&&(G.nodeValue=K)}function gn(R,W,K,G,Q,ee,te,ie,Te){for(var Ie=ee>te?te:ee,Le=0,Ee,Pe;Le<Ie;++Le)Ee=W[Le],Pe=R[Le],Ee.flags&16384&&(Ee=W[Le]=X(Ee)),Ze(Pe,Ee,K,G,Q,ie,Te),R[Le]=Ee;if(ee<te)for(Le=Ie;Le<te;++Le)Ee=W[Le],Ee.flags&16384&&(Ee=W[Le]=X(Ee)),ze(Ee,K,G,Q,ie,Te);else if(ee>te)for(Le=Ie;Le<ee;++Le)Xe(R[Le],K)}function Nn(R,W,K,G,Q,ee,te,ie,Te,Ie){var Le=ee-1,Ee=te-1,Pe=0,Fe=R[Pe],Me=W[Pe],He,Re;e:{for(;Fe.key===Me.key;){if(Me.flags&16384&&(W[Pe]=Me=X(Me)),Ze(Fe,Me,K,G,Q,ie,Ie),R[Pe]=Me,++Pe,Pe>Le||Pe>Ee)break e;Fe=R[Pe],Me=W[Pe]}for(Fe=R[Le],Me=W[Ee];Fe.key===Me.key;){if(Me.flags&16384&&(W[Ee]=Me=X(Me)),Ze(Fe,Me,K,G,Q,ie,Ie),R[Le]=Me,Le--,Ee--,Pe>Le||Pe>Ee)break e;Fe=R[Le],Me=W[Ee]}}if(Pe>Le){if(Pe<=Ee)for(He=Ee+1,Re=He<te?V(W[He],!0):ie;Pe<=Ee;)Me=W[Pe],Me.flags&16384&&(W[Pe]=Me=X(Me)),++Pe,ze(Me,K,G,Q,Re,Ie)}else if(Pe>Ee)for(;Pe<=Le;)Xe(R[Pe++],K);else Vn(R,W,G,ee,te,Le,Ee,Pe,K,Q,ie,Te,Ie)}function Vn(R,W,K,G,Q,ee,te,ie,Te,Ie,Le,Ee,Pe){var Fe,Me,He,Re=0,et=ie,Ye=ie,at=ee-ie+1,Je=te-ie+1,ct=new Int32Array(Je+1),tt=at===G,Vt=!1,$e=0,it=0;if(Q<4||(at|Je)<32)for(Re=et;Re<=ee;++Re)if(Fe=R[Re],it<Je){for(ie=Ye;ie<=te;ie++)if(Me=W[ie],Fe.key===Me.key){if(ct[ie-Ye]=Re+1,tt)for(tt=!1;et<Re;)Xe(R[et++],Te);$e>ie?Vt=!0:$e=ie,Me.flags&16384&&(W[ie]=Me=X(Me)),Ze(Fe,Me,Te,K,Ie,Le,Pe),++it;break}!tt&&ie>te&&Xe(Fe,Te)}else tt||Xe(Fe,Te);else{var zt={};for(Re=Ye;Re<=te;++Re)zt[W[Re].key]=Re;for(Re=et;Re<=ee;++Re)if(Fe=R[Re],it<Je)if(ie=zt[Fe.key],ie!==void 0){if(tt)for(tt=!1;Re>et;)Xe(R[et++],Te);ct[ie-Ye]=Re+1,$e>ie?Vt=!0:$e=ie,Me=W[ie],Me.flags&16384&&(W[ie]=Me=X(Me)),Ze(Fe,Me,Te,K,Ie,Le,Pe),++it}else tt||Xe(Fe,Te);else tt||Xe(Fe,Te)}if(tt)dt(Te,Ee,R),nt(W,Te,K,Ie,Le,Pe);else if(Vt){var Ht=bn(ct);for(ie=Ht.length-1,Re=Je-1;Re>=0;Re--)ct[Re]===0?($e=Re+Ye,Me=W[$e],Me.flags&16384&&(W[$e]=Me=X(Me)),He=$e+1,ze(Me,Te,K,Ie,He<Q?V(W[He],!0):Le,Pe)):ie<0||Re!==Ht[ie]?($e=Re+Ye,Me=W[$e],He=$e+1,B(Me,Te,He<Q?V(W[He],!0):Le)):ie--}else if(it!==Je)for(Re=Je-1;Re>=0;Re--)ct[Re]===0&&($e=Re+Ye,Me=W[$e],Me.flags&16384&&(W[$e]=Me=X(Me)),He=$e+1,ze(Me,Te,K,Ie,He<Q?V(W[He],!0):Le,Pe))}var qe,st,jt=0;function bn(R){var W=0,K=0,G=0,Q=0,ee=0,te=0,ie=0,Te=R.length;for(Te>jt&&(jt=Te,qe=new Int32Array(Te),st=new Int32Array(Te));K<Te;++K)if(W=R[K],W!==0){if(G=qe[Q],R[G]<W){st[K]=G,qe[++Q]=K;continue}for(ee=0,te=Q;ee<te;)ie=ee+te>>1,R[qe[ie]]<W?ee=ie+1:te=ie;W<R[qe[ee]]&&(ee>0&&(st[K]=qe[ee-1]),qe[ee]=K)}ee=Q+1;var Ie=new Int32Array(ee);for(te=qe[ee-1];ee-- >0;)Ie[ee]=te,te=st[te],qe[ee]=0;return Ie}var yn=typeof document!="undefined";yn&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function Ft(R,W,K,G){var Q=[],ee=W.$V;w.v=!0,a(ee)?a(R)||(R.flags&16384&&(R=X(R)),ze(R,W,G,!1,null,Q),W.$V=R,ee=R):a(R)?(Xe(ee,W),W.$V=null):(R.flags&16384&&(R=X(R)),Ze(ee,R,W,G,!1,null,Q),ee=W.$V=R),v(Q),w.v=!1,o(K)&&K(),o(T.renderComplete)&&T.renderComplete(ee,W)}function Wt(R,W,K,G){K===void 0&&(K=null),G===void 0&&(G=c),Ft(R,W,K,G)}function kn(R){return function(){function W(K,G,Q,ee){R||(R=K),Wt(G,R,Q,ee)}return W}()}var mt=[],Sn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(R){window.setTimeout(R,0)},gt=!1;function Ut(R,W,K,G){var Q=R.$PS;if(o(W)&&(W=W(Q?k(R.state,Q):R.state,R.props,R.context)),a(Q))R.$PS=W;else for(var ee in W)Q[ee]=W[ee];if(R.$BR)o(K)&&R.$L.push(K.bind(R));else{if(!w.v&&mt.length===0){Kt(R,G),o(K)&&K.call(R);return}if(mt.indexOf(R)===-1&&mt.push(R),G&&(R.$F=!0),gt||(gt=!0,Sn(_t)),o(K)){var te=R.$QU;te||(te=R.$QU=[]),te.push(K)}}}function Bn(R){for(var W=R.$QU,K=0;K<W.length;++K)W[K].call(R);R.$QU=null}function _t(){var R;for(gt=!1;R=mt.shift();)if(!R.$UN){var W=R.$F;R.$F=!1,Kt(R,W),R.$QU&&Bn(R)}}function Kt(R,W){if(W||!R.$BR){var K=R.$PS;R.$PS=null;var G=[];w.v=!0,Dt(R,k(R.state,K),R.props,V(R.$LI,!0).parentNode,R.context,R.$SVG,W,null,G),v(G),w.v=!1}else R.state=R.$PS,R.$PS=null}var Nt=r.Component=function(){function R(W,K){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=W||c,this.context=K||c}return R}();Nt.prototype.forceUpdate=function(){function R(W){this.$UN||Ut(this,{},W,!0)}return R}(),Nt.prototype.setState=function(){function R(W,K){this.$UN||this.$BS||Ut(this,W,K,!1)}return R}(),Nt.prototype.render=function(){function R(W,K,G){return null}return R}();var Ln=r.version="7.4.11"},28823:function(L,r,n){"use strict";r.__esModule=!0;var e=n(60208);Object.keys(e).forEach(function(a){a==="default"||a==="__esModule"||a in r&&r[a]===e[a]||(r[a]=e[a])})},32883:function(L,r){"use strict";r.__esModule=!0,r.VNodeFlags=r.ChildFlags=void 0;var n;(function(a){a[a.HtmlElement=1]="HtmlElement",a[a.ComponentUnknown=2]="ComponentUnknown",a[a.ComponentClass=4]="ComponentClass",a[a.ComponentFunction=8]="ComponentFunction",a[a.Text=16]="Text",a[a.SvgElement=32]="SvgElement",a[a.InputElement=64]="InputElement",a[a.TextareaElement=128]="TextareaElement",a[a.SelectElement=256]="SelectElement",a[a.Void=512]="Void",a[a.Portal=1024]="Portal",a[a.ReCreate=2048]="ReCreate",a[a.ContentEditable=4096]="ContentEditable",a[a.Fragment=8192]="Fragment",a[a.InUse=16384]="InUse",a[a.ForwardRef=32768]="ForwardRef",a[a.Normalized=65536]="Normalized",a[a.ForwardRefComponent=32776]="ForwardRefComponent",a[a.FormElement=448]="FormElement",a[a.Element=481]="Element",a[a.Component=14]="Component",a[a.DOMRef=2033]="DOMRef",a[a.InUseOrNormalized=81920]="InUseOrNormalized",a[a.ClearInUse=-16385]="ClearInUse",a[a.ComponentKnown=12]="ComponentKnown"})(n||(r.VNodeFlags=n={}));var e;(function(a){a[a.UnknownChildren=0]="UnknownChildren",a[a.HasInvalidChildren=1]="HasInvalidChildren",a[a.HasVNodeChildren=2]="HasVNodeChildren",a[a.HasNonKeyedChildren=4]="HasNonKeyedChildren",a[a.HasKeyedChildren=8]="HasKeyedChildren",a[a.HasTextChildren=16]="HasTextChildren",a[a.MultipleChildren=12]="MultipleChildren"})(e||(r.ChildFlags=e={}))},34793:function(L,r,n){"use strict";var e=n(33436);function a(){}function t(){}t.resetWarningCache=a,L.exports=function(){function o(y,S,k,p,l,c){if(c!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}o.isRequired=o;function m(){return o}var N={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:m,element:o,elementType:o,instanceOf:m,node:o,objectOf:m,oneOf:m,oneOfType:m,shape:m,exact:m,checkPropTypes:t,resetWarningCache:a};return N.PropTypes=N,N}},64635:function(L,r,n){"use strict";if(0)var e,a;else L.exports=n(34793)()},33436:function(L){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";L.exports=r},16970:function(L){"use strict";var r=function(n){"use strict";var e=Object.prototype,a=e.hasOwnProperty,t=Object.defineProperty||function(M,O,j){M[O]=j.value},o,m=typeof Symbol=="function"?Symbol:{},N=m.iterator||"@@iterator",y=m.asyncIterator||"@@asyncIterator",S=m.toStringTag||"@@toStringTag";function k(M,O,j){return Object.defineProperty(M,O,{value:j,enumerable:!0,configurable:!0,writable:!0}),M[O]}try{k({},"")}catch(M){k=function(j,F,U){return j[F]=U}}function p(M,O,j,F){var U=O&&O.prototype instanceof d?O:d,_=Object.create(U.prototype),z=new E(F||[]);return t(_,"_invoke",{value:w(M,j,z)}),_}n.wrap=p;function l(M,O,j){try{return{type:"normal",arg:M.call(O,j)}}catch(F){return{type:"throw",arg:F}}}var c="suspendedStart",f="suspendedYield",i="executing",u="completed",s={};function d(){}function C(){}function g(){}var v={};k(v,N,function(){return this});var h=Object.getPrototypeOf,V=h&&h(h(P([])));V&&V!==e&&a.call(V,N)&&(v=V);var b=g.prototype=d.prototype=Object.create(v);C.prototype=g,t(b,"constructor",{value:g,configurable:!0}),t(g,"constructor",{value:C,configurable:!0}),C.displayName=k(g,S,"GeneratorFunction");function B(M){["next","throw","return"].forEach(function(O){k(M,O,function(j){return this._invoke(O,j)})})}n.isGeneratorFunction=function(M){var O=typeof M=="function"&&M.constructor;return O?O===C||(O.displayName||O.name)==="GeneratorFunction":!1},n.mark=function(M){return Object.setPrototypeOf?Object.setPrototypeOf(M,g):(M.__proto__=g,k(M,S,"GeneratorFunction")),M.prototype=Object.create(b),M},n.awrap=function(M){return{__await:M}};function I(M,O){function j(_,z,H,$){var Y=l(M[_],M,z);if(Y.type==="throw")$(Y.arg);else{var X=Y.arg,re=X.value;return re&&typeof re=="object"&&a.call(re,"__await")?O.resolve(re.__await).then(function(ae){j("next",ae,H,$)},function(ae){j("throw",ae,H,$)}):O.resolve(re).then(function(ae){X.value=ae,H(X)},function(ae){return j("throw",ae,H,$)})}}var F;function U(_,z){function H(){return new O(function($,Y){j(_,z,$,Y)})}return F=F?F.then(H,H):H()}t(this,"_invoke",{value:U})}B(I.prototype),k(I.prototype,y,function(){return this}),n.AsyncIterator=I,n.async=function(M,O,j,F,U){U===void 0&&(U=Promise);var _=new I(p(M,O,j,F),U);return n.isGeneratorFunction(O)?_:_.next().then(function(z){return z.done?z.value:_.next()})};function w(M,O,j){var F=c;return function(){function U(_,z){if(F===i)throw new Error("Generator is already running");if(F===u){if(_==="throw")throw z;return D()}for(j.method=_,j.arg=z;;){var H=j.delegate;if(H){var $=T(H,j);if($){if($===s)continue;return $}}if(j.method==="next")j.sent=j._sent=j.arg;else if(j.method==="throw"){if(F===c)throw F=u,j.arg;j.dispatchException(j.arg)}else j.method==="return"&&j.abrupt("return",j.arg);F=i;var Y=l(M,O,j);if(Y.type==="normal"){if(F=j.done?u:f,Y.arg===s)continue;return{value:Y.arg,done:j.done}}else Y.type==="throw"&&(F=u,j.method="throw",j.arg=Y.arg)}}return U}()}function T(M,O){var j=O.method,F=M.iterator[j];if(F===o)return O.delegate=null,j==="throw"&&M.iterator.return&&(O.method="return",O.arg=o,T(M,O),O.method==="throw")||j!=="return"&&(O.method="throw",O.arg=new TypeError("The iterator does not provide a '"+j+"' method")),s;var U=l(F,M.iterator,O.arg);if(U.type==="throw")return O.method="throw",O.arg=U.arg,O.delegate=null,s;var _=U.arg;if(!_)return O.method="throw",O.arg=new TypeError("iterator result is not an object"),O.delegate=null,s;if(_.done)O[M.resultName]=_.value,O.next=M.nextLoc,O.method!=="return"&&(O.method="next",O.arg=o);else return _;return O.delegate=null,s}B(b),k(b,S,"Generator"),k(b,N,function(){return this}),k(b,"toString",function(){return"[object Generator]"});function A(M){var O={tryLoc:M[0]};1 in M&&(O.catchLoc=M[1]),2 in M&&(O.finallyLoc=M[2],O.afterLoc=M[3]),this.tryEntries.push(O)}function x(M){var O=M.completion||{};O.type="normal",delete O.arg,M.completion=O}function E(M){this.tryEntries=[{tryLoc:"root"}],M.forEach(A,this),this.reset(!0)}n.keys=function(M){var O=Object(M),j=[];for(var F in O)j.push(F);return j.reverse(),function(){function U(){for(;j.length;){var _=j.pop();if(_ in O)return U.value=_,U.done=!1,U}return U.done=!0,U}return U}()};function P(M){if(M!=null){var O=M[N];if(O)return O.call(M);if(typeof M.next=="function")return M;if(!isNaN(M.length)){var j=-1,F=function(){function U(){for(;++j<M.length;)if(a.call(M,j))return U.value=M[j],U.done=!1,U;return U.value=o,U.done=!0,U}return U}();return F.next=F}}throw new TypeError(typeof M+" is not iterable")}n.values=P;function D(){return{value:o,done:!0}}return E.prototype={constructor:E,reset:function(){function M(O){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(x),!O)for(var j in this)j.charAt(0)==="t"&&a.call(this,j)&&!isNaN(+j.slice(1))&&(this[j]=o)}return M}(),stop:function(){function M(){this.done=!0;var O=this.tryEntries[0],j=O.completion;if(j.type==="throw")throw j.arg;return this.rval}return M}(),dispatchException:function(){function M(O){if(this.done)throw O;var j=this;function F(Y,X){return z.type="throw",z.arg=O,j.next=Y,X&&(j.method="next",j.arg=o),!!X}for(var U=this.tryEntries.length-1;U>=0;--U){var _=this.tryEntries[U],z=_.completion;if(_.tryLoc==="root")return F("end");if(_.tryLoc<=this.prev){var H=a.call(_,"catchLoc"),$=a.call(_,"finallyLoc");if(H&&$){if(this.prev<_.catchLoc)return F(_.catchLoc,!0);if(this.prev<_.finallyLoc)return F(_.finallyLoc)}else if(H){if(this.prev<_.catchLoc)return F(_.catchLoc,!0)}else if($){if(this.prev<_.finallyLoc)return F(_.finallyLoc)}else throw new Error("try statement without catch or finally")}}}return M}(),abrupt:function(){function M(O,j){for(var F=this.tryEntries.length-1;F>=0;--F){var U=this.tryEntries[F];if(U.tryLoc<=this.prev&&a.call(U,"finallyLoc")&&this.prev<U.finallyLoc){var _=U;break}}_&&(O==="break"||O==="continue")&&_.tryLoc<=j&&j<=_.finallyLoc&&(_=null);var z=_?_.completion:{};return z.type=O,z.arg=j,_?(this.method="next",this.next=_.finallyLoc,s):this.complete(z)}return M}(),complete:function(){function M(O,j){if(O.type==="throw")throw O.arg;return O.type==="break"||O.type==="continue"?this.next=O.arg:O.type==="return"?(this.rval=this.arg=O.arg,this.method="return",this.next="end"):O.type==="normal"&&j&&(this.next=j),s}return M}(),finish:function(){function M(O){for(var j=this.tryEntries.length-1;j>=0;--j){var F=this.tryEntries[j];if(F.finallyLoc===O)return this.complete(F.completion,F.afterLoc),x(F),s}}return M}(),catch:function(){function M(O){for(var j=this.tryEntries.length-1;j>=0;--j){var F=this.tryEntries[j];if(F.tryLoc===O){var U=F.completion;if(U.type==="throw"){var _=U.arg;x(F)}return _}}throw new Error("illegal catch attempt")}return M}(),delegateYield:function(){function M(O,j,F){return this.delegate={iterator:P(O),resultName:j,nextLoc:F},this.method==="next"&&(this.arg=o),s}return M}()},n}(L.exports);try{regeneratorRuntime=r}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},11386:function(){"use strict";self.fetch||(self.fetch=function(L,r){return r=r||{},new Promise(function(n,e){var a=new XMLHttpRequest,t=[],o={},m=function(){function y(){return{ok:(a.status/100|0)==2,statusText:a.statusText,status:a.status,url:a.responseURL,text:function(){function S(){return Promise.resolve(a.responseText)}return S}(),json:function(){function S(){return Promise.resolve(a.responseText).then(JSON.parse)}return S}(),blob:function(){function S(){return Promise.resolve(new Blob([a.response]))}return S}(),clone:y,headers:{keys:function(){function S(){return t}return S}(),entries:function(){function S(){return t.map(function(k){return[k,a.getResponseHeader(k)]})}return S}(),get:function(){function S(k){return a.getResponseHeader(k)}return S}(),has:function(){function S(k){return a.getResponseHeader(k)!=null}return S}()}}}return y}();for(var N in a.open(r.method||"get",L,!0),a.onload=function(){a.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(y,S){o[S]||t.push(o[S]=S)}),n(m())},a.onerror=e,a.withCredentials=r.credentials=="include",r.headers)a.setRequestHeader(N,r.headers[N]);a.send(r.body||null)})})},72026:function(L,r){"use strict";r.__esModule=!0,r.zipWith=r.zip=r.uniqBy=r.uniq=r.toKeyedArray=r.toArray=r.sortBy=r.sort=r.reduce=r.range=r.map=r.filterMap=r.filter=void 0;function n(d,C){var g=typeof Symbol!="undefined"&&d[Symbol.iterator]||d["@@iterator"];if(g)return(g=g.call(d)).next.bind(g);if(Array.isArray(d)||(g=e(d))||C&&d&&typeof d.length=="number"){g&&(d=g);var v=0;return function(){return v>=d.length?{done:!0}:{done:!1,value:d[v++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(d,C){if(d){if(typeof d=="string")return a(d,C);var g=Object.prototype.toString.call(d).slice(8,-1);if(g==="Object"&&d.constructor&&(g=d.constructor.name),g==="Map"||g==="Set")return Array.from(d);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return a(d,C)}}function a(d,C){(C==null||C>d.length)&&(C=d.length);for(var g=0,v=new Array(C);g<C;g++)v[g]=d[g];return v}/** +(function(){(function(){var $t={66641:function(L,r,n){"use strict";r.__esModule=!0,r.createPopper=void 0,r.popperGenerator=f;var e=p(n(8823)),a=p(n(19820)),t=p(n(54826)),o=p(n(43243)),m=p(n(17859)),N=p(n(80798)),y=p(n(46343)),S=p(n(31584));r.detectOverflow=S.default;var k=n(72600);function p(i){return i&&i.__esModule?i:{default:i}}var l={placement:"bottom",modifiers:[],strategy:"absolute"};function c(){for(var i=arguments.length,s=new Array(i),d=0;d<i;d++)s[d]=arguments[d];return!s.some(function(h){return!(h&&typeof h.getBoundingClientRect=="function")})}function f(i){i===void 0&&(i={});var s=i,d=s.defaultModifiers,h=d===void 0?[]:d,v=s.defaultOptions,g=v===void 0?l:v;return function(){function C(V,b,B){B===void 0&&(B=g);var I={placement:"bottom",orderedModifiers:[],options:Object.assign({},l,g),modifiersData:{},elements:{reference:V,popper:b},attributes:{},styles:{}},w=[],T=!1,A={state:I,setOptions:function(){function M(j){var P=typeof j=="function"?j(I.options):j;E(),I.options=Object.assign({},g,I.options,P),I.scrollParents={reference:(0,k.isElement)(V)?(0,t.default)(V):V.contextElement?(0,t.default)(V.contextElement):[],popper:(0,t.default)(b)};var R=(0,m.default)((0,y.default)([].concat(h,I.options.modifiers)));return I.orderedModifiers=R.filter(function(D){return D.enabled}),x(),A.update()}return M}(),forceUpdate:function(){function M(){if(!T){var j=I.elements,P=j.reference,R=j.popper;if(c(P,R)){I.rects={reference:(0,e.default)(P,(0,o.default)(R),I.options.strategy==="fixed"),popper:(0,a.default)(R)},I.reset=!1,I.placement=I.options.placement,I.orderedModifiers.forEach(function($){return I.modifiersData[$.name]=Object.assign({},$.data)});for(var D=0;D<I.orderedModifiers.length;D++){if(I.reset===!0){I.reset=!1,D=-1;continue}var F=I.orderedModifiers[D],W=F.fn,_=F.options,H=_===void 0?{}:_,z=F.name;typeof W=="function"&&(I=W({state:I,options:H,name:z,instance:A})||I)}}}}return M}(),update:(0,N.default)(function(){return new Promise(function(M){A.forceUpdate(),M(I)})}),destroy:function(){function M(){E(),T=!0}return M}()};if(!c(V,b))return A;A.setOptions(B).then(function(M){!T&&B.onFirstUpdate&&B.onFirstUpdate(M)});function x(){I.orderedModifiers.forEach(function(M){var j=M.name,P=M.options,R=P===void 0?{}:P,D=M.effect;if(typeof D=="function"){var F=D({state:I,name:j,instance:A,options:R}),W=function(){function _(){}return _}();w.push(F||W)}})}function E(){w.forEach(function(M){return M()}),w=[]}return A}return C}()}var u=r.createPopper=f()},96343:function(L,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(72600);function a(t,o){var m=o.getRootNode&&o.getRootNode();if(t.contains(o))return!0;if(m&&(0,e.isShadowRoot)(m)){var N=o;do{if(N&&t.isSameNode(N))return!0;N=N.parentNode||N.host}while(N)}return!1}},32125:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=n(72600),a=n(69031),t=m(n(81020)),o=m(n(14894));function m(y){return y&&y.__esModule?y:{default:y}}function N(y,S,k){S===void 0&&(S=!1),k===void 0&&(k=!1);var p=y.getBoundingClientRect(),l=1,c=1;S&&(0,e.isHTMLElement)(y)&&(l=y.offsetWidth>0&&(0,a.round)(p.width)/y.offsetWidth||1,c=y.offsetHeight>0&&(0,a.round)(p.height)/y.offsetHeight||1);var f=(0,e.isElement)(y)?(0,t.default)(y):window,u=f.visualViewport,i=!(0,o.default)()&&k,s=(p.left+(i&&u?u.offsetLeft:0))/l,d=(p.top+(i&&u?u.offsetTop:0))/c,h=p.width/l,v=p.height/c;return{width:h,height:v,top:d,right:s+h,bottom:d+v,left:s,x:s,y:d}}},86380:function(L,r,n){"use strict";r.__esModule=!0,r.default=v;var e=n(41521),a=i(n(2868)),t=i(n(39799)),o=i(n(54826)),m=i(n(43243)),N=i(n(33733)),y=i(n(14522)),S=n(72600),k=i(n(32125)),p=i(n(34972)),l=i(n(96343)),c=i(n(13203)),f=i(n(31855)),u=n(69031);function i(g){return g&&g.__esModule?g:{default:g}}function s(g,C){var V=(0,k.default)(g,!1,C==="fixed");return V.top=V.top+g.clientTop,V.left=V.left+g.clientLeft,V.bottom=V.top+g.clientHeight,V.right=V.left+g.clientWidth,V.width=g.clientWidth,V.height=g.clientHeight,V.x=V.left,V.y=V.top,V}function d(g,C,V){return C===e.viewport?(0,f.default)((0,a.default)(g,V)):(0,S.isElement)(C)?s(C,V):(0,f.default)((0,t.default)((0,N.default)(g)))}function h(g){var C=(0,o.default)((0,p.default)(g)),V=["absolute","fixed"].indexOf((0,y.default)(g).position)>=0,b=V&&(0,S.isHTMLElement)(g)?(0,m.default)(g):g;return(0,S.isElement)(b)?C.filter(function(B){return(0,S.isElement)(B)&&(0,l.default)(B,b)&&(0,c.default)(B)!=="body"}):[]}function v(g,C,V,b){var B=C==="clippingParents"?h(g):[].concat(C),I=[].concat(B,[V]),w=I[0],T=I.reduce(function(A,x){var E=d(g,x,b);return A.top=(0,u.max)(E.top,A.top),A.right=(0,u.min)(E.right,A.right),A.bottom=(0,u.min)(E.bottom,A.bottom),A.left=(0,u.max)(E.left,A.left),A},d(g,w,b));return T.width=T.right-T.left,T.height=T.bottom-T.top,T.x=T.left,T.y=T.top,T}},8823:function(L,r,n){"use strict";r.__esModule=!0,r.default=l;var e=k(n(32125)),a=k(n(45401)),t=k(n(13203)),o=n(72600),m=k(n(85750)),N=k(n(33733)),y=k(n(44011)),S=n(69031);function k(c){return c&&c.__esModule?c:{default:c}}function p(c){var f=c.getBoundingClientRect(),u=(0,S.round)(f.width)/c.offsetWidth||1,i=(0,S.round)(f.height)/c.offsetHeight||1;return u!==1||i!==1}function l(c,f,u){u===void 0&&(u=!1);var i=(0,o.isHTMLElement)(f),s=(0,o.isHTMLElement)(f)&&p(f),d=(0,N.default)(f),h=(0,e.default)(c,s,u),v={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(i||!i&&!u)&&(((0,t.default)(f)!=="body"||(0,y.default)(d))&&(v=(0,a.default)(f)),(0,o.isHTMLElement)(f)?(g=(0,e.default)(f,!0),g.x+=f.clientLeft,g.y+=f.clientTop):d&&(g.x=(0,m.default)(d))),{x:h.left+v.scrollLeft-g.x,y:h.top+v.scrollTop-g.y,width:h.width,height:h.height}}},14522:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(81020));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return(0,e.default)(o).getComputedStyle(o)}},33733:function(L,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(72600);function a(t){return(((0,e.isElement)(t)?t.ownerDocument:t.document)||window.document).documentElement}},39799:function(L,r,n){"use strict";r.__esModule=!0,r.default=y;var e=N(n(33733)),a=N(n(14522)),t=N(n(85750)),o=N(n(79569)),m=n(69031);function N(S){return S&&S.__esModule?S:{default:S}}function y(S){var k,p=(0,e.default)(S),l=(0,o.default)(S),c=(k=S.ownerDocument)==null?void 0:k.body,f=(0,m.max)(p.scrollWidth,p.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),u=(0,m.max)(p.scrollHeight,p.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),i=-l.scrollLeft+(0,t.default)(S),s=-l.scrollTop;return(0,a.default)(c||p).direction==="rtl"&&(i+=(0,m.max)(p.clientWidth,c?c.clientWidth:0)-f),{width:f,height:u,x:i,y:s}}},75680:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},19820:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(32125));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var m=(0,e.default)(o),N=o.offsetWidth,y=o.offsetHeight;return Math.abs(m.width-N)<=1&&(N=m.width),Math.abs(m.height-y)<=1&&(y=m.height),{x:o.offsetLeft,y:o.offsetTop,width:N,height:y}}},13203:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e?(e.nodeName||"").toLowerCase():null}},45401:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=m(n(79569)),a=m(n(81020)),t=n(72600),o=m(n(75680));function m(y){return y&&y.__esModule?y:{default:y}}function N(y){return y===(0,a.default)(y)||!(0,t.isHTMLElement)(y)?(0,e.default)(y):(0,o.default)(y)}},43243:function(L,r,n){"use strict";r.__esModule=!0,r.default=l;var e=S(n(81020)),a=S(n(13203)),t=S(n(14522)),o=n(72600),m=S(n(25658)),N=S(n(34972)),y=S(n(97353));function S(c){return c&&c.__esModule?c:{default:c}}function k(c){return!(0,o.isHTMLElement)(c)||(0,t.default)(c).position==="fixed"?null:c.offsetParent}function p(c){var f=/firefox/i.test((0,y.default)()),u=/Trident/i.test((0,y.default)());if(u&&(0,o.isHTMLElement)(c)){var i=(0,t.default)(c);if(i.position==="fixed")return null}var s=(0,N.default)(c);for((0,o.isShadowRoot)(s)&&(s=s.host);(0,o.isHTMLElement)(s)&&["html","body"].indexOf((0,a.default)(s))<0;){var d=(0,t.default)(s);if(d.transform!=="none"||d.perspective!=="none"||d.contain==="paint"||["transform","perspective"].indexOf(d.willChange)!==-1||f&&d.willChange==="filter"||f&&d.filter&&d.filter!=="none")return s;s=s.parentNode}return null}function l(c){for(var f=(0,e.default)(c),u=k(c);u&&(0,m.default)(u)&&(0,t.default)(u).position==="static";)u=k(u);return u&&((0,a.default)(u)==="html"||(0,a.default)(u)==="body"&&(0,t.default)(u).position==="static")?f:u||p(c)||f}},34972:function(L,r,n){"use strict";r.__esModule=!0,r.default=m;var e=o(n(13203)),a=o(n(33733)),t=n(72600);function o(N){return N&&N.__esModule?N:{default:N}}function m(N){return(0,e.default)(N)==="html"?N:N.assignedSlot||N.parentNode||((0,t.isShadowRoot)(N)?N.host:null)||(0,a.default)(N)}},65329:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=m(n(34972)),a=m(n(44011)),t=m(n(13203)),o=n(72600);function m(y){return y&&y.__esModule?y:{default:y}}function N(y){return["html","body","#document"].indexOf((0,t.default)(y))>=0?y.ownerDocument.body:(0,o.isHTMLElement)(y)&&(0,a.default)(y)?y:N((0,e.default)(y))}},2868:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=m(n(81020)),a=m(n(33733)),t=m(n(85750)),o=m(n(14894));function m(y){return y&&y.__esModule?y:{default:y}}function N(y,S){var k=(0,e.default)(y),p=(0,a.default)(y),l=k.visualViewport,c=p.clientWidth,f=p.clientHeight,u=0,i=0;if(l){c=l.width,f=l.height;var s=(0,o.default)();(s||!s&&S==="fixed")&&(u=l.offsetLeft,i=l.offsetTop)}return{width:c,height:f,x:u+(0,t.default)(y),y:i}}},81020:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var a=e.ownerDocument;return a&&a.defaultView||window}return e}},79569:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(81020));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var m=(0,e.default)(o),N=m.pageXOffset,y=m.pageYOffset;return{scrollLeft:N,scrollTop:y}}},85750:function(L,r,n){"use strict";r.__esModule=!0,r.default=m;var e=o(n(32125)),a=o(n(33733)),t=o(n(79569));function o(N){return N&&N.__esModule?N:{default:N}}function m(N){return(0,e.default)((0,a.default)(N)).left+(0,t.default)(N).scrollLeft}},72600:function(L,r,n){"use strict";r.__esModule=!0,r.isElement=t,r.isHTMLElement=o,r.isShadowRoot=m;var e=a(n(81020));function a(N){return N&&N.__esModule?N:{default:N}}function t(N){var y=(0,e.default)(N).Element;return N instanceof y||N instanceof Element}function o(N){var y=(0,e.default)(N).HTMLElement;return N instanceof y||N instanceof HTMLElement}function m(N){if(typeof ShadowRoot=="undefined")return!1;var y=(0,e.default)(N).ShadowRoot;return N instanceof y||N instanceof ShadowRoot}},14894:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(97353));function a(o){return o&&o.__esModule?o:{default:o}}function t(){return!/^((?!chrome|android).)*safari/i.test((0,e.default)())}},44011:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(14522));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var m=(0,e.default)(o),N=m.overflow,y=m.overflowX,S=m.overflowY;return/auto|scroll|overlay|hidden/.test(N+S+y)}},25658:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(13203));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return["table","td","th"].indexOf((0,e.default)(o))>=0}},54826:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=m(n(65329)),a=m(n(34972)),t=m(n(81020)),o=m(n(44011));function m(y){return y&&y.__esModule?y:{default:y}}function N(y,S){var k;S===void 0&&(S=[]);var p=(0,e.default)(y),l=p===((k=y.ownerDocument)==null?void 0:k.body),c=(0,t.default)(p),f=l?[c].concat(c.visualViewport||[],(0,o.default)(p)?p:[]):p,u=S.concat(f);return l?u:u.concat(N((0,a.default)(f)))}},41521:function(L,r){"use strict";r.__esModule=!0,r.write=r.viewport=r.variationPlacements=r.top=r.start=r.right=r.reference=r.read=r.popper=r.placements=r.modifierPhases=r.main=r.left=r.end=r.clippingParents=r.bottom=r.beforeWrite=r.beforeRead=r.beforeMain=r.basePlacements=r.auto=r.afterWrite=r.afterRead=r.afterMain=void 0;var n=r.top="top",e=r.bottom="bottom",a=r.right="right",t=r.left="left",o=r.auto="auto",m=r.basePlacements=[n,e,a,t],N=r.start="start",y=r.end="end",S=r.clippingParents="clippingParents",k=r.viewport="viewport",p=r.popper="popper",l=r.reference="reference",c=r.variationPlacements=m.reduce(function(B,I){return B.concat([I+"-"+N,I+"-"+y])},[]),f=r.placements=[].concat(m,[o]).reduce(function(B,I){return B.concat([I,I+"-"+N,I+"-"+y])},[]),u=r.beforeRead="beforeRead",i=r.read="read",s=r.afterRead="afterRead",d=r.beforeMain="beforeMain",h=r.main="main",v=r.afterMain="afterMain",g=r.beforeWrite="beforeWrite",C=r.write="write",V=r.afterWrite="afterWrite",b=r.modifierPhases=[u,i,s,d,h,v,g,C,V]},60023:function(L,r,n){"use strict";r.__esModule=!0;var e={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};r.popperGenerator=r.detectOverflow=r.createPopperLite=r.createPopperBase=r.createPopper=void 0;var a=n(41521);Object.keys(a).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(e,y)||y in r&&r[y]===a[y]||(r[y]=a[y])});var t=n(91078);Object.keys(t).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(e,y)||y in r&&r[y]===t[y]||(r[y]=t[y])});var o=n(66641);r.popperGenerator=o.popperGenerator,r.detectOverflow=o.detectOverflow,r.createPopperBase=o.createPopper;var m=n(7925);r.createPopper=m.createPopper;var N=n(62642);r.createPopperLite=N.createPopper},56304:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=t(n(13203)),a=n(72600);function t(y){return y&&y.__esModule?y:{default:y}}function o(y){var S=y.state;Object.keys(S.elements).forEach(function(k){var p=S.styles[k]||{},l=S.attributes[k]||{},c=S.elements[k];!(0,a.isHTMLElement)(c)||!(0,e.default)(c)||(Object.assign(c.style,p),Object.keys(l).forEach(function(f){var u=l[f];u===!1?c.removeAttribute(f):c.setAttribute(f,u===!0?"":u)}))})}function m(y){var S=y.state,k={popper:{position:S.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(S.elements.popper.style,k.popper),S.styles=k,S.elements.arrow&&Object.assign(S.elements.arrow.style,k.arrow),function(){Object.keys(S.elements).forEach(function(p){var l=S.elements[p],c=S.attributes[p]||{},f=Object.keys(S.styles.hasOwnProperty(p)?S.styles[p]:k[p]),u=f.reduce(function(i,s){return i[s]="",i},{});!(0,a.isHTMLElement)(l)||!(0,e.default)(l)||(Object.assign(l.style,u),Object.keys(c).forEach(function(i){l.removeAttribute(i)}))})}}var N=r.default={name:"applyStyles",enabled:!0,phase:"write",fn:o,effect:m,requires:["computeStyles"]}},57243:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=p(n(38141)),a=p(n(19820)),t=p(n(96343)),o=p(n(43243)),m=p(n(7770)),N=n(76770),y=p(n(77631)),S=p(n(54824)),k=n(41521);function p(i){return i&&i.__esModule?i:{default:i}}var l=function(){function i(s,d){return s=typeof s=="function"?s(Object.assign({},d.rects,{placement:d.placement})):s,(0,y.default)(typeof s!="number"?s:(0,S.default)(s,k.basePlacements))}return i}();function c(i){var s,d=i.state,h=i.name,v=i.options,g=d.elements.arrow,C=d.modifiersData.popperOffsets,V=(0,e.default)(d.placement),b=(0,m.default)(V),B=[k.left,k.right].indexOf(V)>=0,I=B?"height":"width";if(!(!g||!C)){var w=l(v.padding,d),T=(0,a.default)(g),A=b==="y"?k.top:k.left,x=b==="y"?k.bottom:k.right,E=d.rects.reference[I]+d.rects.reference[b]-C[b]-d.rects.popper[I],M=C[b]-d.rects.reference[b],j=(0,o.default)(g),P=j?b==="y"?j.clientHeight||0:j.clientWidth||0:0,R=E/2-M/2,D=w[A],F=P-T[I]-w[x],W=P/2-T[I]/2+R,_=(0,N.within)(D,W,F),H=b;d.modifiersData[h]=(s={},s[H]=_,s.centerOffset=_-W,s)}}function f(i){var s=i.state,d=i.options,h=d.element,v=h===void 0?"[data-popper-arrow]":h;v!=null&&(typeof v=="string"&&(v=s.elements.popper.querySelector(v),!v)||(0,t.default)(s.elements.popper,v)&&(s.elements.arrow=v))}var u=r.default={name:"arrow",enabled:!0,phase:"main",fn:c,effect:f,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},60421:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.mapToStyles=c;var e=n(41521),a=k(n(43243)),t=k(n(81020)),o=k(n(33733)),m=k(n(14522)),N=k(n(38141)),y=k(n(14380)),S=n(69031);function k(i){return i&&i.__esModule?i:{default:i}}var p={top:"auto",right:"auto",bottom:"auto",left:"auto"};function l(i,s){var d=i.x,h=i.y,v=s.devicePixelRatio||1;return{x:(0,S.round)(d*v)/v||0,y:(0,S.round)(h*v)/v||0}}function c(i){var s,d=i.popper,h=i.popperRect,v=i.placement,g=i.variation,C=i.offsets,V=i.position,b=i.gpuAcceleration,B=i.adaptive,I=i.roundOffsets,w=i.isFixed,T=C.x,A=T===void 0?0:T,x=C.y,E=x===void 0?0:x,M=typeof I=="function"?I({x:A,y:E}):{x:A,y:E};A=M.x,E=M.y;var j=C.hasOwnProperty("x"),P=C.hasOwnProperty("y"),R=e.left,D=e.top,F=window;if(B){var W=(0,a.default)(d),_="clientHeight",H="clientWidth";if(W===(0,t.default)(d)&&(W=(0,o.default)(d),(0,m.default)(W).position!=="static"&&V==="absolute"&&(_="scrollHeight",H="scrollWidth")),W=W,v===e.top||(v===e.left||v===e.right)&&g===e.end){D=e.bottom;var z=w&&W===F&&F.visualViewport?F.visualViewport.height:W[_];E-=z-h.height,E*=b?1:-1}if(v===e.left||(v===e.top||v===e.bottom)&&g===e.end){R=e.right;var $=w&&W===F&&F.visualViewport?F.visualViewport.width:W[H];A-=$-h.width,A*=b?1:-1}}var X=Object.assign({position:V},B&&p),J=I===!0?l({x:A,y:E},(0,t.default)(d)):{x:A,y:E};if(A=J.x,E=J.y,b){var ce;return Object.assign({},X,(ce={},ce[D]=P?"0":"",ce[R]=j?"0":"",ce.transform=(F.devicePixelRatio||1)<=1?"translate("+A+"px, "+E+"px)":"translate3d("+A+"px, "+E+"px, 0)",ce))}return Object.assign({},X,(s={},s[D]=P?E+"px":"",s[R]=j?A+"px":"",s.transform="",s))}function f(i){var s=i.state,d=i.options,h=d.gpuAcceleration,v=h===void 0?!0:h,g=d.adaptive,C=g===void 0?!0:g,V=d.roundOffsets,b=V===void 0?!0:V,B={placement:(0,N.default)(s.placement),variation:(0,y.default)(s.placement),popper:s.elements.popper,popperRect:s.rects.popper,gpuAcceleration:v,isFixed:s.options.strategy==="fixed"};s.modifiersData.popperOffsets!=null&&(s.styles.popper=Object.assign({},s.styles.popper,c(Object.assign({},B,{offsets:s.modifiersData.popperOffsets,position:s.options.strategy,adaptive:C,roundOffsets:b})))),s.modifiersData.arrow!=null&&(s.styles.arrow=Object.assign({},s.styles.arrow,c(Object.assign({},B,{offsets:s.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:b})))),s.attributes.popper=Object.assign({},s.attributes.popper,{"data-popper-placement":s.placement})}var u=r.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:f,data:{}}},84601:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(81020));function a(N){return N&&N.__esModule?N:{default:N}}var t={passive:!0};function o(N){var y=N.state,S=N.instance,k=N.options,p=k.scroll,l=p===void 0?!0:p,c=k.resize,f=c===void 0?!0:c,u=(0,e.default)(y.elements.popper),i=[].concat(y.scrollParents.reference,y.scrollParents.popper);return l&&i.forEach(function(s){s.addEventListener("scroll",S.update,t)}),f&&u.addEventListener("resize",S.update,t),function(){l&&i.forEach(function(s){s.removeEventListener("scroll",S.update,t)}),f&&u.removeEventListener("resize",S.update,t)}}var m=r.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function N(){}return N}(),effect:o,data:{}}},17267:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=S(n(79641)),a=S(n(38141)),t=S(n(71976)),o=S(n(31584)),m=S(n(44744)),N=n(41521),y=S(n(14380));function S(c){return c&&c.__esModule?c:{default:c}}function k(c){if((0,a.default)(c)===N.auto)return[];var f=(0,e.default)(c);return[(0,t.default)(c),f,(0,t.default)(f)]}function p(c){var f=c.state,u=c.options,i=c.name;if(!f.modifiersData[i]._skip){for(var s=u.mainAxis,d=s===void 0?!0:s,h=u.altAxis,v=h===void 0?!0:h,g=u.fallbackPlacements,C=u.padding,V=u.boundary,b=u.rootBoundary,B=u.altBoundary,I=u.flipVariations,w=I===void 0?!0:I,T=u.allowedAutoPlacements,A=f.options.placement,x=(0,a.default)(A),E=x===A,M=g||(E||!w?[(0,e.default)(A)]:k(A)),j=[A].concat(M).reduce(function(Z,q){return Z.concat((0,a.default)(q)===N.auto?(0,m.default)(f,{placement:q,boundary:V,rootBoundary:b,padding:C,flipVariations:w,allowedAutoPlacements:T}):q)},[]),P=f.rects.reference,R=f.rects.popper,D=new Map,F=!0,W=j[0],_=0;_<j.length;_++){var H=j[_],z=(0,a.default)(H),$=(0,y.default)(H)===N.start,X=[N.top,N.bottom].indexOf(z)>=0,J=X?"width":"height",ce=(0,o.default)(f,{placement:H,boundary:V,rootBoundary:b,altBoundary:B,padding:C}),re=X?$?N.right:N.left:$?N.bottom:N.top;P[J]>R[J]&&(re=(0,e.default)(re));var me=(0,e.default)(re),pe=[];if(d&&pe.push(ce[z]<=0),v&&pe.push(ce[re]<=0,ce[me]<=0),pe.every(function(Z){return Z})){W=H,F=!1;break}D.set(H,pe)}if(F)for(var ye=w?3:1,Be=function(){function Z(q){var ue=j.find(function(se){var ne=D.get(se);if(ne)return ne.slice(0,q).every(function(be){return be})});if(ue)return W=ue,"break"}return Z}(),he=ye;he>0;he--){var oe=Be(he);if(oe==="break")break}f.placement!==W&&(f.modifiersData[i]._skip=!0,f.placement=W,f.reset=!0)}}var l=r.default={name:"flip",enabled:!0,phase:"main",fn:p,requiresIfExists:["offset"],data:{_skip:!1}}},88476:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(41521),a=t(n(31584));function t(S){return S&&S.__esModule?S:{default:S}}function o(S,k,p){return p===void 0&&(p={x:0,y:0}),{top:S.top-k.height-p.y,right:S.right-k.width+p.x,bottom:S.bottom-k.height+p.y,left:S.left-k.width-p.x}}function m(S){return[e.top,e.right,e.bottom,e.left].some(function(k){return S[k]>=0})}function N(S){var k=S.state,p=S.name,l=k.rects.reference,c=k.rects.popper,f=k.modifiersData.preventOverflow,u=(0,a.default)(k,{elementContext:"reference"}),i=(0,a.default)(k,{altBoundary:!0}),s=o(u,l),d=o(i,c,f),h=m(s),v=m(d);k.modifiersData[p]={referenceClippingOffsets:s,popperEscapeOffsets:d,isReferenceHidden:h,hasPopperEscaped:v},k.attributes.popper=Object.assign({},k.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":v})}var y=r.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:N}},91078:function(L,r,n){"use strict";r.__esModule=!0,r.preventOverflow=r.popperOffsets=r.offset=r.hide=r.flip=r.eventListeners=r.computeStyles=r.arrow=r.applyStyles=void 0;var e=p(n(56304));r.applyStyles=e.default;var a=p(n(57243));r.arrow=a.default;var t=p(n(60421));r.computeStyles=t.default;var o=p(n(84601));r.eventListeners=o.default;var m=p(n(17267));r.flip=m.default;var N=p(n(88476));r.hide=N.default;var y=p(n(36707));r.offset=y.default;var S=p(n(98916));r.popperOffsets=S.default;var k=p(n(44454));r.preventOverflow=k.default;function p(l){return l&&l.__esModule?l:{default:l}}},36707:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.distanceAndSkiddingToXY=o;var e=t(n(38141)),a=n(41521);function t(y){return y&&y.__esModule?y:{default:y}}function o(y,S,k){var p=(0,e.default)(y),l=[a.left,a.top].indexOf(p)>=0?-1:1,c=typeof k=="function"?k(Object.assign({},S,{placement:y})):k,f=c[0],u=c[1];return f=f||0,u=(u||0)*l,[a.left,a.right].indexOf(p)>=0?{x:u,y:f}:{x:f,y:u}}function m(y){var S=y.state,k=y.options,p=y.name,l=k.offset,c=l===void 0?[0,0]:l,f=a.placements.reduce(function(d,h){return d[h]=o(h,S.rects,c),d},{}),u=f[S.placement],i=u.x,s=u.y;S.modifiersData.popperOffsets!=null&&(S.modifiersData.popperOffsets.x+=i,S.modifiersData.popperOffsets.y+=s),S.modifiersData[p]=f}var N=r.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:m}},98916:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(47566));function a(m){return m&&m.__esModule?m:{default:m}}function t(m){var N=m.state,y=m.name;N.modifiersData[y]=(0,e.default)({reference:N.rects.reference,element:N.rects.popper,strategy:"absolute",placement:N.placement})}var o=r.default={name:"popperOffsets",enabled:!0,phase:"read",fn:t,data:{}}},44454:function(L,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(41521),a=c(n(38141)),t=c(n(7770)),o=c(n(39571)),m=n(76770),N=c(n(19820)),y=c(n(43243)),S=c(n(31584)),k=c(n(14380)),p=c(n(92385)),l=n(69031);function c(i){return i&&i.__esModule?i:{default:i}}function f(i){var s=i.state,d=i.options,h=i.name,v=d.mainAxis,g=v===void 0?!0:v,C=d.altAxis,V=C===void 0?!1:C,b=d.boundary,B=d.rootBoundary,I=d.altBoundary,w=d.padding,T=d.tether,A=T===void 0?!0:T,x=d.tetherOffset,E=x===void 0?0:x,M=(0,S.default)(s,{boundary:b,rootBoundary:B,padding:w,altBoundary:I}),j=(0,a.default)(s.placement),P=(0,k.default)(s.placement),R=!P,D=(0,t.default)(j),F=(0,o.default)(D),W=s.modifiersData.popperOffsets,_=s.rects.reference,H=s.rects.popper,z=typeof E=="function"?E(Object.assign({},s.rects,{placement:s.placement})):E,$=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),X=s.modifiersData.offset?s.modifiersData.offset[s.placement]:null,J={x:0,y:0};if(W){if(g){var ce,re=D==="y"?e.top:e.left,me=D==="y"?e.bottom:e.right,pe=D==="y"?"height":"width",ye=W[D],Be=ye+M[re],he=ye-M[me],oe=A?-H[pe]/2:0,Z=P===e.start?_[pe]:H[pe],q=P===e.start?-H[pe]:-_[pe],ue=s.elements.arrow,se=A&&ue?(0,N.default)(ue):{width:0,height:0},ne=s.modifiersData["arrow#persistent"]?s.modifiersData["arrow#persistent"].padding:(0,p.default)(),be=ne[re],fe=ne[me],ge=(0,m.within)(0,_[pe],se[pe]),ke=R?_[pe]/2-oe-ge-be-$.mainAxis:Z-ge-be-$.mainAxis,ve=R?-_[pe]/2+oe+ge+fe+$.mainAxis:q+ge+fe+$.mainAxis,Se=s.elements.arrow&&(0,y.default)(s.elements.arrow),we=Se?D==="y"?Se.clientTop||0:Se.clientLeft||0:0,xe=(ce=X==null?void 0:X[D])!=null?ce:0,Oe=ye+ke-xe-we,We=ye+ve-xe,Ve=(0,m.within)(A?(0,l.min)(Be,Oe):Be,ye,A?(0,l.max)(he,We):he);W[D]=Ve,J[D]=Ve-ye}if(V){var ae,le=D==="x"?e.top:e.left,Ce=D==="x"?e.bottom:e.right,de=W[F],Ne=F==="y"?"height":"width",Ae=de+M[le],De=de-M[Ce],je=[e.top,e.left].indexOf(j)!==-1,_e=(ae=X==null?void 0:X[F])!=null?ae:0,Ue=je?Ae:de-_[Ne]-H[Ne]-_e+$.altAxis,Ke=je?de+_[Ne]+H[Ne]-_e-$.altAxis:De,Ge=A&&je?(0,m.withinMaxClamp)(Ue,de,Ke):(0,m.within)(A?Ue:Ae,de,A?Ke:De);W[F]=Ge,J[F]=Ge-de}s.modifiersData[h]=J}}var u=r.default={name:"preventOverflow",enabled:!0,phase:"main",fn:f,requiresIfExists:["offset"]}},62642:function(L,r,n){"use strict";r.__esModule=!0,r.defaultModifiers=r.createPopper=void 0;var e=n(66641);r.popperGenerator=e.popperGenerator,r.detectOverflow=e.detectOverflow;var a=N(n(84601)),t=N(n(98916)),o=N(n(60421)),m=N(n(56304));function N(k){return k&&k.__esModule?k:{default:k}}var y=r.defaultModifiers=[a.default,t.default,o.default,m.default],S=r.createPopper=(0,e.popperGenerator)({defaultModifiers:y})},7925:function(L,r,n){"use strict";r.__esModule=!0;var e={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};r.defaultModifiers=r.createPopperLite=r.createPopper=void 0;var a=n(66641);r.popperGenerator=a.popperGenerator,r.detectOverflow=a.detectOverflow;var t=u(n(84601)),o=u(n(98916)),m=u(n(60421)),N=u(n(56304)),y=u(n(36707)),S=u(n(17267)),k=u(n(44454)),p=u(n(57243)),l=u(n(88476)),c=n(62642);r.createPopperLite=c.createPopper;var f=n(91078);Object.keys(f).forEach(function(d){d==="default"||d==="__esModule"||Object.prototype.hasOwnProperty.call(e,d)||d in r&&r[d]===f[d]||(r[d]=f[d])});function u(d){return d&&d.__esModule?d:{default:d}}var i=r.defaultModifiers=[t.default,o.default,m.default,N.default,y.default,S.default,k.default,p.default,l.default],s=r.createPopperLite=r.createPopper=(0,a.popperGenerator)({defaultModifiers:i})},44744:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=m(n(14380)),a=n(41521),t=m(n(31584)),o=m(n(38141));function m(y){return y&&y.__esModule?y:{default:y}}function N(y,S){S===void 0&&(S={});var k=S,p=k.placement,l=k.boundary,c=k.rootBoundary,f=k.padding,u=k.flipVariations,i=k.allowedAutoPlacements,s=i===void 0?a.placements:i,d=(0,e.default)(p),h=d?u?a.variationPlacements:a.variationPlacements.filter(function(C){return(0,e.default)(C)===d}):a.basePlacements,v=h.filter(function(C){return s.indexOf(C)>=0});v.length===0&&(v=h);var g=v.reduce(function(C,V){return C[V]=(0,t.default)(y,{placement:V,boundary:l,rootBoundary:c,padding:f})[(0,o.default)(V)],C},{});return Object.keys(g).sort(function(C,V){return g[C]-g[V]})}},47566:function(L,r,n){"use strict";r.__esModule=!0,r.default=N;var e=m(n(38141)),a=m(n(14380)),t=m(n(7770)),o=n(41521);function m(y){return y&&y.__esModule?y:{default:y}}function N(y){var S=y.reference,k=y.element,p=y.placement,l=p?(0,e.default)(p):null,c=p?(0,a.default)(p):null,f=S.x+S.width/2-k.width/2,u=S.y+S.height/2-k.height/2,i;switch(l){case o.top:i={x:f,y:S.y-k.height};break;case o.bottom:i={x:f,y:S.y+S.height};break;case o.right:i={x:S.x+S.width,y:u};break;case o.left:i={x:S.x-k.width,y:u};break;default:i={x:S.x,y:S.y}}var s=l?(0,t.default)(l):null;if(s!=null){var d=s==="y"?"height":"width";switch(c){case o.start:i[s]=i[s]-(S[d]/2-k[d]/2);break;case o.end:i[s]=i[s]+(S[d]/2-k[d]/2);break;default:}}return i}},80798:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a;return function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(e())})})),a}}},31584:function(L,r,n){"use strict";r.__esModule=!0,r.default=l;var e=p(n(86380)),a=p(n(33733)),t=p(n(32125)),o=p(n(47566)),m=p(n(31855)),N=n(41521),y=n(72600),S=p(n(77631)),k=p(n(54824));function p(c){return c&&c.__esModule?c:{default:c}}function l(c,f){f===void 0&&(f={});var u=f,i=u.placement,s=i===void 0?c.placement:i,d=u.strategy,h=d===void 0?c.strategy:d,v=u.boundary,g=v===void 0?N.clippingParents:v,C=u.rootBoundary,V=C===void 0?N.viewport:C,b=u.elementContext,B=b===void 0?N.popper:b,I=u.altBoundary,w=I===void 0?!1:I,T=u.padding,A=T===void 0?0:T,x=(0,S.default)(typeof A!="number"?A:(0,k.default)(A,N.basePlacements)),E=B===N.popper?N.reference:N.popper,M=c.rects.popper,j=c.elements[w?E:B],P=(0,e.default)((0,y.isElement)(j)?j:j.contextElement||(0,a.default)(c.elements.popper),g,V,h),R=(0,t.default)(c.elements.reference),D=(0,o.default)({reference:R,element:M,strategy:"absolute",placement:s}),F=(0,m.default)(Object.assign({},M,D)),W=B===N.popper?F:R,_={top:P.top-W.top+x.top,bottom:W.bottom-P.bottom+x.bottom,left:P.left-W.left+x.left,right:W.right-P.right+x.right},H=c.modifiersData.offset;if(B===N.popper&&H){var z=H[s];Object.keys(_).forEach(function($){var X=[N.right,N.bottom].indexOf($)>=0?1:-1,J=[N.top,N.bottom].indexOf($)>=0?"y":"x";_[$]+=z[J]*X})}return _}},54824:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e,a){return a.reduce(function(t,o){return t[o]=e,t},{})}},39571:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e==="x"?"y":"x"}},38141:function(L,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(41521);function a(t){return t.split("-")[0]}},92385:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(){return{top:0,right:0,bottom:0,left:0}}},7770:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},79641:function(L,r){"use strict";r.__esModule=!0,r.default=e;var n={left:"right",right:"left",bottom:"top",top:"bottom"};function e(a){return a.replace(/left|right|bottom|top/g,function(t){return n[t]})}},71976:function(L,r){"use strict";r.__esModule=!0,r.default=e;var n={start:"end",end:"start"};function e(a){return a.replace(/start|end/g,function(t){return n[t]})}},14380:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e.split("-")[1]}},69031:function(L,r){"use strict";r.__esModule=!0,r.round=r.min=r.max=void 0;var n=r.max=Math.max,e=r.min=Math.min,a=r.round=Math.round},46343:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a=e.reduce(function(t,o){var m=t[o.name];return t[o.name]=m?Object.assign({},m,o,{options:Object.assign({},m.options,o.options),data:Object.assign({},m.data,o.data)}):o,t},{});return Object.keys(a).map(function(t){return a[t]})}},77631:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(92385));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return Object.assign({},(0,e.default)(),o)}},17859:function(L,r,n){"use strict";r.__esModule=!0,r.default=t;var e=n(41521);function a(o){var m=new Map,N=new Set,y=[];o.forEach(function(k){m.set(k.name,k)});function S(k){N.add(k.name);var p=[].concat(k.requires||[],k.requiresIfExists||[]);p.forEach(function(l){if(!N.has(l)){var c=m.get(l);c&&S(c)}}),y.push(k)}return o.forEach(function(k){N.has(k.name)||S(k)}),y}function t(o){var m=a(o);return e.modifierPhases.reduce(function(N,y){return N.concat(m.filter(function(S){return S.phase===y}))},[])}},31855:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},97353:function(L,r){"use strict";r.__esModule=!0,r.default=n;function n(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}},76770:function(L,r,n){"use strict";r.__esModule=!0,r.within=a,r.withinMaxClamp=t;var e=n(69031);function a(o,m,N){return(0,e.max)(o,(0,e.min)(m,N))}function t(o,m,N){var y=a(o,m,N);return y>N?N:y}},63935:function(L,r){"use strict";r.__esModule=!0,r.Fragment=r.EMPTY_OBJ=r.Component=void 0,r._CI=Et,r._HI=Be,r._M=He,r._MCCC=Ot,r._ME=Pt,r._MFCC=Rt,r._MP=xt,r._MR=ot,r._RFC=Ct,r.__render=Ft,r.createComponentVNode=_,r.createFragment=z,r.createPortal=re,r.createRef=Yt,r.createRenderer=kn,r.createTextVNode=H,r.createVNode=R,r.directClone=J,r.findDOMfromVNode=V,r.forwardRef=Xt,r.getFlagsForElementVnode=pe,r.linkEvent=p,r.normalizeProps=$,r.options=void 0,r.render=Wt,r.rerender=_t,r.version=void 0;var n=Array.isArray;function e(O){var U=typeof O;return U==="string"||U==="number"}function a(O){return O==null}function t(O){return O===null||O===!1||O===!0||O===void 0}function o(O){return typeof O=="function"}function m(O){return typeof O=="string"}function N(O){return typeof O=="number"}function y(O){return O===null}function S(O){return O===void 0}function k(O,U){var K={};if(O)for(var G in O)K[G]=O[G];if(U)for(var Q in U)K[Q]=U[Q];return K}function p(O,U){return o(U)?{data:O,event:U}:null}function l(O){return!y(O)&&typeof O=="object"}var c=r.EMPTY_OBJ={},f=r.Fragment="$F";function u(O){return O.substr(2).toLowerCase()}function i(O,U){O.appendChild(U)}function s(O,U,K){y(K)?i(O,U):O.insertBefore(U,K)}function d(O,U){return U?document.createElementNS("http://www.w3.org/2000/svg",O):document.createElement(O)}function h(O,U,K){O.replaceChild(U,K)}function v(O,U){O.removeChild(U)}function g(O){for(var U=0;U<O.length;U++)O[U]()}function C(O,U,K){var G=O.children;return K&4?G.$LI:K&8192?O.childFlags===2?G:G[U?0:G.length-1]:G}function V(O,U){for(var K;O;){if(K=O.flags,K&2033)return O.dom;O=C(O,U,K)}return null}function b(O,U){do{var K=O.flags;if(K&2033){v(U,O.dom);return}var G=O.children;if(K&4&&(O=G.$LI),K&8&&(O=G),K&8192)if(O.childFlags===2)O=G;else{for(var Q=0,ee=G.length;Q<ee;++Q)b(G[Q],U);return}}while(O)}function B(O,U,K){do{var G=O.flags;if(G&2033){s(U,O.dom,K);return}var Q=O.children;if(G&4&&(O=Q.$LI),G&8&&(O=Q),G&8192)if(O.childFlags===2)O=Q;else{for(var ee=0,te=Q.length;ee<te;++ee)B(Q[ee],U,K);return}}while(O)}function I(O,U,K){return O.constructor.getDerivedStateFromProps?k(K,O.constructor.getDerivedStateFromProps(U,K)):K}var w={v:!1},T=r.options={componentComparator:null,createVNode:null,renderComplete:null};function A(O,U){O.textContent=U}function x(O,U){return l(O)&&O.event===U.event&&O.data===U.data}function E(O,U){for(var K in U)S(O[K])&&(O[K]=U[K]);return O}function M(O,U){return!!o(O)&&(O(U),!0)}var j="$";function P(O,U,K,G,Q,ee,te,ie){this.childFlags=O,this.children=U,this.className=K,this.dom=null,this.flags=G,this.key=Q===void 0?null:Q,this.props=ee===void 0?null:ee,this.ref=te===void 0?null:te,this.type=ie}function R(O,U,K,G,Q,ee,te,ie){var Te=Q===void 0?1:Q,Ie=new P(Te,G,K,O,te,ee,ie,U);return T.createVNode&&T.createVNode(Ie),Te===0&&ye(Ie,Ie.children),Ie}function D(O,U,K){if(O&4)return K;var G=(O&32768?U.render:U).defaultHooks;return a(G)?K:a(K)?G:E(K,G)}function F(O,U,K){var G=(O&32768?U.render:U).defaultProps;return a(G)?K:a(K)?k(G,null):E(K,G)}function W(O,U){return O&12?O:U.prototype&&U.prototype.render?4:U.render?32776:8}function _(O,U,K,G,Q){O=W(O,U);var ee=new P(1,null,null,O,G,F(O,U,K),D(O,U,Q),U);return T.createVNode&&T.createVNode(ee),ee}function H(O,U){return new P(1,a(O)||O===!0||O===!1?"":O,null,16,U,null,null,null)}function z(O,U,K){var G=R(8192,8192,null,O,U,null,K,null);switch(G.childFlags){case 1:G.children=ce(),G.childFlags=2;break;case 16:G.children=[H(O)],G.childFlags=4;break}return G}function $(O){var U=O.props;if(U){var K=O.flags;K&481&&(U.children!==void 0&&a(O.children)&&ye(O,U.children),U.className!==void 0&&(a(O.className)&&(O.className=U.className||null),U.className=void 0)),U.key!==void 0&&(O.key=U.key,U.key=void 0),U.ref!==void 0&&(K&8?O.ref=k(O.ref,U.ref):O.ref=U.ref,U.ref=void 0)}return O}function X(O){var U=O.children,K=O.childFlags;return z(K===2?J(U):U.map(J),K,O.key)}function J(O){var U=O.flags&-16385,K=O.props;if(U&14&&!y(K)){var G=K;K={};for(var Q in G)K[Q]=G[Q]}return U&8192?X(O):new P(O.childFlags,O.children,O.className,U,O.key,K,O.ref,O.type)}function ce(){return H("",null)}function re(O,U){var K=Be(O);return R(1024,1024,null,K,0,null,K.key,U)}function me(O,U,K,G){for(var Q=O.length;K<Q;K++){var ee=O[K];if(!t(ee)){var te=G+j+K;if(n(ee))me(ee,U,0,te);else{if(e(ee))ee=H(ee,te);else{var ie=ee.key,Te=m(ie)&&ie[0]===j;(ee.flags&81920||Te)&&(ee=J(ee)),ee.flags|=65536,Te?ie.substring(0,G.length)!==G&&(ee.key=G+ie):y(ie)?ee.key=te:ee.key=G+ie}U.push(ee)}}}}function pe(O){switch(O){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case f:return 8192;default:return 1}}function ye(O,U){var K,G=1;if(t(U))K=U;else if(e(U))G=16,K=U;else if(n(U)){for(var Q=U.length,ee=0;ee<Q;++ee){var te=U[ee];if(t(te)||n(te)){K=K||U.slice(0,ee),me(U,K,ee,"");break}else if(e(te))K=K||U.slice(0,ee),K.push(H(te,j+ee));else{var ie=te.key,Te=(te.flags&81920)>0,Ie=y(ie),Le=m(ie)&&ie[0]===j;Te||Ie||Le?(K=K||U.slice(0,ee),(Te||Le)&&(te=J(te)),(Ie||Le)&&(te.key=j+ee),K.push(te)):K&&K.push(te),te.flags|=65536}}K=K||U,K.length===0?G=1:G=8}else K=U,K.flags|=65536,U.flags&81920&&(K=J(U)),G=2;return O.children=K,O.childFlags=G,O}function Be(O){return t(O)||e(O)?H(O,null):n(O)?z(O,0,null):O.flags&16384?J(O):O}var he="http://www.w3.org/1999/xlink",oe="http://www.w3.org/XML/1998/namespace",Z={"xlink:actuate":he,"xlink:arcrole":he,"xlink:href":he,"xlink:role":he,"xlink:show":he,"xlink:title":he,"xlink:type":he,"xml:base":oe,"xml:lang":oe,"xml:space":oe};function q(O){return{onClick:O,onDblClick:O,onFocusIn:O,onFocusOut:O,onKeyDown:O,onKeyPress:O,onKeyUp:O,onMouseDown:O,onMouseMove:O,onMouseUp:O,onTouchEnd:O,onTouchMove:O,onTouchStart:O}}var ue=q(0),se=q(null),ne=q(!0);function be(O,U){var K=U.$EV;return K||(K=U.$EV=q(null)),K[O]||++ue[O]===1&&(se[O]=ae(O)),K}function fe(O,U){var K=U.$EV;K&&K[O]&&(--ue[O]===0&&(document.removeEventListener(u(O),se[O]),se[O]=null),K[O]=null)}function ge(O,U,K,G){if(o(K))be(O,G)[O]=K;else if(l(K)){if(x(U,K))return;be(O,G)[O]=K}else fe(O,G)}function ke(O){return o(O.composedPath)?O.composedPath()[0]:O.target}function ve(O,U,K,G){var Q=ke(O);do{if(U&&Q.disabled)return;var ee=Q.$EV;if(ee){var te=ee[K];if(te&&(G.dom=Q,te.event?te.event(te.data,O):te(O),O.cancelBubble))return}Q=Q.parentNode}while(!y(Q))}function Se(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function we(){return this.defaultPrevented}function xe(){return this.cancelBubble}function Oe(O){var U={dom:document};return O.isDefaultPrevented=we,O.isPropagationStopped=xe,O.stopPropagation=Se,Object.defineProperty(O,"currentTarget",{configurable:!0,get:function(){function K(){return U.dom}return K}()}),U}function We(O){return function(U){if(U.button!==0){U.stopPropagation();return}ve(U,!0,O,Oe(U))}}function Ve(O){return function(U){ve(U,!1,O,Oe(U))}}function ae(O){var U=O==="onClick"||O==="onDblClick"?We(O):Ve(O);return document.addEventListener(u(O),U),U}function le(O,U){var K=document.createElement("i");return K.innerHTML=U,K.innerHTML===O.innerHTML}function Ce(O,U,K){if(O[U]){var G=O[U];G.event?G.event(G.data,K):G(K)}else{var Q=U.toLowerCase();O[Q]&&O[Q](K)}}function de(O,U){var K=function(Q){var ee=this.$V;if(ee){var te=ee.props||c,ie=ee.dom;if(m(O))Ce(te,O,Q);else for(var Te=0;Te<O.length;++Te)Ce(te,O[Te],Q);if(o(U)){var Ie=this.$V,Le=Ie.props||c;U(Le,ie,!1,Ie)}}};return Object.defineProperty(K,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),K}function Ne(O,U,K){var G="$"+U,Q=O[G];if(Q){if(Q[1].wrapped)return;O.removeEventListener(Q[0],Q[1]),O[G]=null}o(K)&&(O.addEventListener(U,K),O[G]=[U,K])}function Ae(O){return O==="checkbox"||O==="radio"}var De=de("onInput",Ke),je=de(["onClick","onChange"],Ke);function _e(O){O.stopPropagation()}_e.wrapped=!0;function Ue(O,U){Ae(U.type)?(Ne(O,"change",je),Ne(O,"click",_e)):Ne(O,"input",De)}function Ke(O,U){var K=O.type,G=O.value,Q=O.checked,ee=O.multiple,te=O.defaultValue,ie=!a(G);K&&K!==U.type&&U.setAttribute("type",K),!a(ee)&&ee!==U.multiple&&(U.multiple=ee),!a(te)&&!ie&&(U.defaultValue=te+""),Ae(K)?(ie&&(U.value=G),a(Q)||(U.checked=Q)):ie&&U.value!==G?(U.defaultValue=G,U.value=G):a(Q)||(U.checked=Q)}function Ge(O,U){if(O.type==="option")yt(O,U);else{var K=O.children,G=O.flags;if(G&4)Ge(K.$LI,U);else if(G&8)Ge(K,U);else if(O.childFlags===2)Ge(K,U);else if(O.childFlags&12)for(var Q=0,ee=K.length;Q<ee;++Q)Ge(K[Q],U)}}function yt(O,U){var K=O.props||c,G=O.dom;G.value=K.value,K.value===U||n(U)&&U.indexOf(K.value)!==-1?G.selected=!0:(!a(U)||!a(K.selected))&&(G.selected=K.selected||!1)}var kt=de("onChange",ft);function St(O){Ne(O,"change",kt)}function ft(O,U,K,G){var Q=!!O.multiple;!a(O.multiple)&&Q!==U.multiple&&(U.multiple=Q);var ee=O.selectedIndex;ee===-1&&(U.selectedIndex=-1);var te=G.childFlags;if(te!==1){var ie=O.value;N(ee)&&ee>-1&&U.options[ee]&&(ie=U.options[ee].value),K&&a(ie)&&(ie=O.defaultValue),Ge(G,ie)}}var Bt=de("onInput",pt),It=de("onChange");function Lt(O,U){Ne(O,"input",Bt),U.onChange&&Ne(O,"change",It)}function pt(O,U,K){var G=O.value,Q=U.value;if(a(G)){if(K){var ee=O.defaultValue;!a(ee)&&ee!==Q&&(U.defaultValue=ee,U.value=ee)}}else Q!==G&&(U.defaultValue=G,U.value=G)}function wt(O,U,K,G,Q,ee){O&64?Ke(G,K):O&256?ft(G,K,Q,U):O&128&&pt(G,K,Q),ee&&(K.$V=U)}function Gt(O,U,K){O&64?Ue(U,K):O&256?St(U):O&128&&Lt(U,K)}function Tt(O){return O.type&&Ae(O.type)?!a(O.checked):!a(O.value)}function Yt(){return{current:null}}function Xt(O){return{render:O}}function lt(O){O&&!M(O,null)&&O.current&&(O.current=null)}function ot(O,U,K){O&&(o(O)||O.current!==void 0)&&K.push(function(){!M(O,U)&&O.current!==void 0&&(O.current=U)})}function Xe(O,U){Qe(O),b(O,U)}function Qe(O){var U=O.flags,K=O.children,G;if(U&481){G=O.ref;var Q=O.props;lt(G);var ee=O.childFlags;if(!y(Q))for(var te=Object.keys(Q),ie=0,Te=te.length;ie<Te;ie++){var Ie=te[ie];ne[Ie]&&fe(Ie,O.dom)}ee&12?rt(K):ee===2&&Qe(K)}else K&&(U&4?(o(K.componentWillUnmount)&&K.componentWillUnmount(),lt(O.ref),K.$UN=!0,Qe(K.$LI)):U&8?(G=O.ref,!a(G)&&o(G.onComponentWillUnmount)&&G.onComponentWillUnmount(V(O,!0),O.props||c),Qe(K)):U&1024?Xe(K,O.ref):U&8192&&O.childFlags&12&&rt(K))}function rt(O){for(var U=0,K=O.length;U<K;++U)Qe(O[U])}function ut(O){O.textContent=""}function dt(O,U,K){rt(K),U.flags&8192?b(U,O):ut(O)}function Jt(O){var U=O.event;return function(K){U(O.data,K)}}function Qt(O,U,K,G){if(l(K)){if(x(U,K))return;K=Jt(K)}Ne(G,u(O),K)}function Zt(O,U,K){if(a(U)){K.removeAttribute("style");return}var G=K.style,Q,ee;if(m(U)){G.cssText=U;return}if(!a(O)&&!m(O)){for(Q in U)ee=U[Q],ee!==O[Q]&&G.setProperty(Q,ee);for(Q in O)a(U[Q])&&G.removeProperty(Q)}else for(Q in U)ee=U[Q],G.setProperty(Q,ee)}function qt(O,U,K,G){var Q=O&&O.__html||"",ee=U&&U.__html||"";Q!==ee&&!a(ee)&&!le(G,ee)&&(y(K)||(K.childFlags&12?rt(K.children):K.childFlags===2&&Qe(K.children),K.children=null,K.childFlags=1),G.innerHTML=ee)}function ht(O,U,K,G,Q,ee,te){switch(O){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":G.autofocus=!!K;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":G[O]=!!K;break;case"defaultChecked":case"value":case"volume":if(ee&&O==="value")break;var ie=a(K)?"":K;G[O]!==ie&&(G[O]=ie);break;case"style":Zt(U,K,G);break;case"dangerouslySetInnerHTML":qt(U,K,te,G);break;default:ne[O]?ge(O,U,K,G):O.charCodeAt(0)===111&&O.charCodeAt(1)===110?Qt(O,U,K,G):a(K)?G.removeAttribute(O):Q&&Z[O]?G.setAttributeNS(Z[O],O,K):G.setAttribute(O,K);break}}function xt(O,U,K,G,Q){var ee=!1,te=(U&448)>0;te&&(ee=Tt(K),ee&&Gt(U,G,K));for(var ie in K)ht(ie,null,K[ie],G,Q,ee,null);te&&wt(U,O,G,K,!0,ee)}function At(O,U,K){var G=Be(O.render(U,O.state,K)),Q=K;return o(O.getChildContext)&&(Q=k(K,O.getChildContext())),O.$CX=Q,G}function Et(O,U,K,G,Q,ee){var te=new U(K,G),ie=te.$N=!!(U.getDerivedStateFromProps||te.getSnapshotBeforeUpdate);if(te.$SVG=Q,te.$L=ee,O.children=te,te.$BS=!1,te.context=G,te.props===c&&(te.props=K),ie)te.state=I(te,K,te.state);else if(o(te.componentWillMount)){te.$BR=!0,te.componentWillMount();var Te=te.$PS;if(!y(Te)){var Ie=te.state;if(y(Ie))te.state=Te;else for(var Le in Te)Ie[Le]=Te[Le];te.$PS=null}te.$BR=!1}return te.$LI=At(te,K,G),te}function Ct(O,U){var K=O.props||c;return O.flags&32768?O.type.render(K,O.ref,U):O.type(K,U)}function He(O,U,K,G,Q,ee){var te=O.flags|=16384;te&481?Pt(O,U,K,G,Q,ee):te&4?nn(O,U,K,G,Q,ee):te&8?(on(O,U,K,G,Q,ee),Rt(O,ee)):te&512||te&16?Mt(O,U,Q):te&8192?tn(O,K,U,G,Q,ee):te&1024&&en(O,K,U,Q,ee)}function en(O,U,K,G,Q){He(O.children,O.ref,U,!1,null,Q);var ee=ce();Mt(ee,K,G),O.dom=ee.dom}function tn(O,U,K,G,Q,ee){var te=O.children,ie=O.childFlags;ie&12&&te.length===0&&(ie=O.childFlags=2,te=O.children=ce()),ie===2?He(te,K,U,G,Q,ee):nt(te,K,U,G,Q,ee)}function Mt(O,U,K){var G=O.dom=document.createTextNode(O.children);y(U)||s(U,G,K)}function Pt(O,U,K,G,Q,ee){var te=O.flags,ie=O.props,Te=O.className,Ie=O.childFlags,Le=O.dom=d(O.type,G=G||(te&32)>0),Ee=O.children;if(!a(Te)&&Te!==""&&(G?Le.setAttribute("class",Te):Le.className=Te),Ie===16)A(Le,Ee);else if(Ie!==1){var Pe=G&&O.type!=="foreignObject";Ie===2?(Ee.flags&16384&&(O.children=Ee=J(Ee)),He(Ee,Le,K,Pe,null,ee)):(Ie===8||Ie===4)&&nt(Ee,Le,K,Pe,null,ee)}y(U)||s(U,Le,Q),y(ie)||xt(O,te,ie,Le,G),ot(O.ref,Le,ee)}function nt(O,U,K,G,Q,ee){for(var te=0;te<O.length;++te){var ie=O[te];ie.flags&16384&&(O[te]=ie=J(ie)),He(ie,U,K,G,Q,ee)}}function nn(O,U,K,G,Q,ee){var te=Et(O,O.type,O.props||c,K,G,ee);He(te.$LI,U,te.$CX,G,Q,ee),Ot(O.ref,te,ee)}function on(O,U,K,G,Q,ee){He(O.children=Be(Ct(O,K)),U,K,G,Q,ee)}function rn(O){return function(){O.componentDidMount()}}function Ot(O,U,K){ot(O,U,K),o(U.componentDidMount)&&K.push(rn(U))}function an(O,U){return function(){O.onComponentDidMount(V(U,!0),U.props||c)}}function Rt(O,U){var K=O.ref;a(K)||(M(K.onComponentWillMount,O.props||c),o(K.onComponentDidMount)&&U.push(an(K,O)))}function cn(O,U,K,G,Q,ee){Qe(O),U.flags&O.flags&2033?(He(U,null,G,Q,null,ee),h(K,U.dom,O.dom)):(He(U,K,G,Q,V(O,!0),ee),b(O,K))}function Ze(O,U,K,G,Q,ee,te){var ie=U.flags|=16384;O.flags!==ie||O.type!==U.type||O.key!==U.key||ie&2048?O.flags&16384?cn(O,U,K,G,Q,te):He(U,K,G,Q,ee,te):ie&481?mn(O,U,G,Q,ie,te):ie&4?hn(O,U,K,G,Q,ee,te):ie&8?Cn(O,U,K,G,Q,ee,te):ie&16?vn(O,U):ie&512?U.dom=O.dom:ie&8192?dn(O,U,K,G,Q,te):sn(O,U,G,te)}function ln(O,U,K){O!==U&&(O!==""?K.firstChild.nodeValue=U:A(K,U))}function un(O,U){O.textContent!==U&&(O.textContent=U)}function dn(O,U,K,G,Q,ee){var te=O.children,ie=U.children,Te=O.childFlags,Ie=U.childFlags,Le=null;Ie&12&&ie.length===0&&(Ie=U.childFlags=2,ie=U.children=ce());var Ee=(Ie&2)!==0;if(Te&12){var Pe=te.length;(Te&8&&Ie&8||Ee||!Ee&&ie.length>Pe)&&(Le=V(te[Pe-1],!1).nextSibling)}vt(Te,Ie,te,ie,K,G,Q,Le,O,ee)}function sn(O,U,K,G){var Q=O.ref,ee=U.ref,te=U.children;if(vt(O.childFlags,U.childFlags,O.children,te,Q,K,!1,null,O,G),U.dom=O.dom,Q!==ee&&!t(te)){var ie=te.dom;v(Q,ie),i(ee,ie)}}function mn(O,U,K,G,Q,ee){var te=U.dom=O.dom,ie=O.props,Te=U.props,Ie=!1,Le=!1,Ee;if(G=G||(Q&32)>0,ie!==Te){var Pe=ie||c;if(Ee=Te||c,Ee!==c){Ie=(Q&448)>0,Ie&&(Le=Tt(Ee));for(var Fe in Ee){var Me=Pe[Fe],ze=Ee[Fe];Me!==ze&&ht(Fe,Me,ze,te,G,Le,O)}}if(Pe!==c)for(var Re in Pe)a(Ee[Re])&&!a(Pe[Re])&&ht(Re,Pe[Re],null,te,G,Le,O)}var et=U.children,Ye=U.className;O.className!==Ye&&(a(Ye)?te.removeAttribute("class"):G?te.setAttribute("class",Ye):te.className=Ye),Q&4096?un(te,et):vt(O.childFlags,U.childFlags,O.children,et,te,K,G&&U.type!=="foreignObject",null,O,ee),Ie&&wt(Q,U,te,Ee,!1,Le);var at=U.ref,Je=O.ref;Je!==at&&(lt(Je),ot(at,te,ee))}function fn(O,U,K,G,Q,ee){Qe(O),nt(U,K,G,Q,V(O,!0),ee),b(O,K)}function vt(O,U,K,G,Q,ee,te,ie,Te,Ie){switch(O){case 2:switch(U){case 2:Ze(K,G,Q,ee,te,ie,Ie);break;case 1:Xe(K,Q);break;case 16:Qe(K),A(Q,G);break;default:fn(K,G,Q,ee,te,Ie);break}break;case 1:switch(U){case 2:He(G,Q,ee,te,ie,Ie);break;case 1:break;case 16:A(Q,G);break;default:nt(G,Q,ee,te,ie,Ie);break}break;case 16:switch(U){case 16:ln(K,G,Q);break;case 2:ut(Q),He(G,Q,ee,te,ie,Ie);break;case 1:ut(Q);break;default:ut(Q),nt(G,Q,ee,te,ie,Ie);break}break;default:switch(U){case 16:rt(K),A(Q,G);break;case 2:dt(Q,Te,K),He(G,Q,ee,te,ie,Ie);break;case 1:dt(Q,Te,K);break;default:var Le=K.length|0,Ee=G.length|0;Le===0?Ee>0&&nt(G,Q,ee,te,ie,Ie):Ee===0?dt(Q,Te,K):U===8&&O===8?Nn(K,G,Q,ee,te,Le,Ee,ie,Te,Ie):gn(K,G,Q,ee,te,Le,Ee,ie,Ie);break}break}}function pn(O,U,K,G,Q){Q.push(function(){O.componentDidUpdate(U,K,G)})}function Dt(O,U,K,G,Q,ee,te,ie,Te){var Ie=O.state,Le=O.props,Ee=!!O.$N,Pe=o(O.shouldComponentUpdate);if(Ee&&(U=I(O,K,U!==Ie?k(Ie,U):U)),te||!Pe||Pe&&O.shouldComponentUpdate(K,U,Q)){!Ee&&o(O.componentWillUpdate)&&O.componentWillUpdate(K,U,Q),O.props=K,O.state=U,O.context=Q;var Fe=null,Me=At(O,K,Q);Ee&&o(O.getSnapshotBeforeUpdate)&&(Fe=O.getSnapshotBeforeUpdate(Le,Ie)),Ze(O.$LI,Me,G,O.$CX,ee,ie,Te),O.$LI=Me,o(O.componentDidUpdate)&&pn(O,Le,Ie,Fe,Te)}else O.props=K,O.state=U,O.context=Q}function hn(O,U,K,G,Q,ee,te){var ie=U.children=O.children;if(!y(ie)){ie.$L=te;var Te=U.props||c,Ie=U.ref,Le=O.ref,Ee=ie.state;if(!ie.$N){if(o(ie.componentWillReceiveProps)){if(ie.$BR=!0,ie.componentWillReceiveProps(Te,G),ie.$UN)return;ie.$BR=!1}y(ie.$PS)||(Ee=k(Ee,ie.$PS),ie.$PS=null)}Dt(ie,Ee,Te,K,G,Q,!1,ee,te),Le!==Ie&&(lt(Le),ot(Ie,ie,te))}}function Cn(O,U,K,G,Q,ee,te){var ie=!0,Te=U.props||c,Ie=U.ref,Le=O.props,Ee=!a(Ie),Pe=O.children;if(Ee&&o(Ie.onComponentShouldUpdate)&&(ie=Ie.onComponentShouldUpdate(Le,Te)),ie!==!1){Ee&&o(Ie.onComponentWillUpdate)&&Ie.onComponentWillUpdate(Le,Te);var Fe=Be(Ct(U,G));Ze(Pe,Fe,K,G,Q,ee,te),U.children=Fe,Ee&&o(Ie.onComponentDidUpdate)&&Ie.onComponentDidUpdate(Le,Te)}else U.children=Pe}function vn(O,U){var K=U.children,G=U.dom=O.dom;K!==O.children&&(G.nodeValue=K)}function gn(O,U,K,G,Q,ee,te,ie,Te){for(var Ie=ee>te?te:ee,Le=0,Ee,Pe;Le<Ie;++Le)Ee=U[Le],Pe=O[Le],Ee.flags&16384&&(Ee=U[Le]=J(Ee)),Ze(Pe,Ee,K,G,Q,ie,Te),O[Le]=Ee;if(ee<te)for(Le=Ie;Le<te;++Le)Ee=U[Le],Ee.flags&16384&&(Ee=U[Le]=J(Ee)),He(Ee,K,G,Q,ie,Te);else if(ee>te)for(Le=Ie;Le<ee;++Le)Xe(O[Le],K)}function Nn(O,U,K,G,Q,ee,te,ie,Te,Ie){var Le=ee-1,Ee=te-1,Pe=0,Fe=O[Pe],Me=U[Pe],ze,Re;e:{for(;Fe.key===Me.key;){if(Me.flags&16384&&(U[Pe]=Me=J(Me)),Ze(Fe,Me,K,G,Q,ie,Ie),O[Pe]=Me,++Pe,Pe>Le||Pe>Ee)break e;Fe=O[Pe],Me=U[Pe]}for(Fe=O[Le],Me=U[Ee];Fe.key===Me.key;){if(Me.flags&16384&&(U[Ee]=Me=J(Me)),Ze(Fe,Me,K,G,Q,ie,Ie),O[Le]=Me,Le--,Ee--,Pe>Le||Pe>Ee)break e;Fe=O[Le],Me=U[Ee]}}if(Pe>Le){if(Pe<=Ee)for(ze=Ee+1,Re=ze<te?V(U[ze],!0):ie;Pe<=Ee;)Me=U[Pe],Me.flags&16384&&(U[Pe]=Me=J(Me)),++Pe,He(Me,K,G,Q,Re,Ie)}else if(Pe>Ee)for(;Pe<=Le;)Xe(O[Pe++],K);else Vn(O,U,G,ee,te,Le,Ee,Pe,K,Q,ie,Te,Ie)}function Vn(O,U,K,G,Q,ee,te,ie,Te,Ie,Le,Ee,Pe){var Fe,Me,ze,Re=0,et=ie,Ye=ie,at=ee-ie+1,Je=te-ie+1,ct=new Int32Array(Je+1),tt=at===G,Vt=!1,$e=0,it=0;if(Q<4||(at|Je)<32)for(Re=et;Re<=ee;++Re)if(Fe=O[Re],it<Je){for(ie=Ye;ie<=te;ie++)if(Me=U[ie],Fe.key===Me.key){if(ct[ie-Ye]=Re+1,tt)for(tt=!1;et<Re;)Xe(O[et++],Te);$e>ie?Vt=!0:$e=ie,Me.flags&16384&&(U[ie]=Me=J(Me)),Ze(Fe,Me,Te,K,Ie,Le,Pe),++it;break}!tt&&ie>te&&Xe(Fe,Te)}else tt||Xe(Fe,Te);else{var Ht={};for(Re=Ye;Re<=te;++Re)Ht[U[Re].key]=Re;for(Re=et;Re<=ee;++Re)if(Fe=O[Re],it<Je)if(ie=Ht[Fe.key],ie!==void 0){if(tt)for(tt=!1;Re>et;)Xe(O[et++],Te);ct[ie-Ye]=Re+1,$e>ie?Vt=!0:$e=ie,Me=U[ie],Me.flags&16384&&(U[ie]=Me=J(Me)),Ze(Fe,Me,Te,K,Ie,Le,Pe),++it}else tt||Xe(Fe,Te);else tt||Xe(Fe,Te)}if(tt)dt(Te,Ee,O),nt(U,Te,K,Ie,Le,Pe);else if(Vt){var zt=bn(ct);for(ie=zt.length-1,Re=Je-1;Re>=0;Re--)ct[Re]===0?($e=Re+Ye,Me=U[$e],Me.flags&16384&&(U[$e]=Me=J(Me)),ze=$e+1,He(Me,Te,K,Ie,ze<Q?V(U[ze],!0):Le,Pe)):ie<0||Re!==zt[ie]?($e=Re+Ye,Me=U[$e],ze=$e+1,B(Me,Te,ze<Q?V(U[ze],!0):Le)):ie--}else if(it!==Je)for(Re=Je-1;Re>=0;Re--)ct[Re]===0&&($e=Re+Ye,Me=U[$e],Me.flags&16384&&(U[$e]=Me=J(Me)),ze=$e+1,He(Me,Te,K,Ie,ze<Q?V(U[ze],!0):Le,Pe))}var qe,st,jt=0;function bn(O){var U=0,K=0,G=0,Q=0,ee=0,te=0,ie=0,Te=O.length;for(Te>jt&&(jt=Te,qe=new Int32Array(Te),st=new Int32Array(Te));K<Te;++K)if(U=O[K],U!==0){if(G=qe[Q],O[G]<U){st[K]=G,qe[++Q]=K;continue}for(ee=0,te=Q;ee<te;)ie=ee+te>>1,O[qe[ie]]<U?ee=ie+1:te=ie;U<O[qe[ee]]&&(ee>0&&(st[K]=qe[ee-1]),qe[ee]=K)}ee=Q+1;var Ie=new Int32Array(ee);for(te=qe[ee-1];ee-- >0;)Ie[ee]=te,te=st[te],qe[ee]=0;return Ie}var yn=typeof document!="undefined";yn&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function Ft(O,U,K,G){var Q=[],ee=U.$V;w.v=!0,a(ee)?a(O)||(O.flags&16384&&(O=J(O)),He(O,U,G,!1,null,Q),U.$V=O,ee=O):a(O)?(Xe(ee,U),U.$V=null):(O.flags&16384&&(O=J(O)),Ze(ee,O,U,G,!1,null,Q),ee=U.$V=O),g(Q),w.v=!1,o(K)&&K(),o(T.renderComplete)&&T.renderComplete(ee,U)}function Wt(O,U,K,G){K===void 0&&(K=null),G===void 0&&(G=c),Ft(O,U,K,G)}function kn(O){return function(){function U(K,G,Q,ee){O||(O=K),Wt(G,O,Q,ee)}return U}()}var mt=[],Sn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(O){window.setTimeout(O,0)},gt=!1;function Ut(O,U,K,G){var Q=O.$PS;if(o(U)&&(U=U(Q?k(O.state,Q):O.state,O.props,O.context)),a(Q))O.$PS=U;else for(var ee in U)Q[ee]=U[ee];if(O.$BR)o(K)&&O.$L.push(K.bind(O));else{if(!w.v&&mt.length===0){Kt(O,G),o(K)&&K.call(O);return}if(mt.indexOf(O)===-1&&mt.push(O),G&&(O.$F=!0),gt||(gt=!0,Sn(_t)),o(K)){var te=O.$QU;te||(te=O.$QU=[]),te.push(K)}}}function Bn(O){for(var U=O.$QU,K=0;K<U.length;++K)U[K].call(O);O.$QU=null}function _t(){var O;for(gt=!1;O=mt.shift();)if(!O.$UN){var U=O.$F;O.$F=!1,Kt(O,U),O.$QU&&Bn(O)}}function Kt(O,U){if(U||!O.$BR){var K=O.$PS;O.$PS=null;var G=[];w.v=!0,Dt(O,k(O.state,K),O.props,V(O.$LI,!0).parentNode,O.context,O.$SVG,U,null,G),g(G),w.v=!1}else O.state=O.$PS,O.$PS=null}var Nt=r.Component=function(){function O(U,K){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=U||c,this.context=K||c}return O}();Nt.prototype.forceUpdate=function(){function O(U){this.$UN||Ut(this,{},U,!0)}return O}(),Nt.prototype.setState=function(){function O(U,K){this.$UN||this.$BS||Ut(this,U,K,!1)}return O}(),Nt.prototype.render=function(){function O(U,K,G){return null}return O}();var Ln=r.version="7.4.11"},96524:function(L,r,n){"use strict";r.__esModule=!0;var e=n(63935);Object.keys(e).forEach(function(a){a==="default"||a==="__esModule"||a in r&&r[a]===e[a]||(r[a]=e[a])})},92572:function(L,r){"use strict";r.__esModule=!0,r.VNodeFlags=r.ChildFlags=void 0;var n;(function(a){a[a.HtmlElement=1]="HtmlElement",a[a.ComponentUnknown=2]="ComponentUnknown",a[a.ComponentClass=4]="ComponentClass",a[a.ComponentFunction=8]="ComponentFunction",a[a.Text=16]="Text",a[a.SvgElement=32]="SvgElement",a[a.InputElement=64]="InputElement",a[a.TextareaElement=128]="TextareaElement",a[a.SelectElement=256]="SelectElement",a[a.Void=512]="Void",a[a.Portal=1024]="Portal",a[a.ReCreate=2048]="ReCreate",a[a.ContentEditable=4096]="ContentEditable",a[a.Fragment=8192]="Fragment",a[a.InUse=16384]="InUse",a[a.ForwardRef=32768]="ForwardRef",a[a.Normalized=65536]="Normalized",a[a.ForwardRefComponent=32776]="ForwardRefComponent",a[a.FormElement=448]="FormElement",a[a.Element=481]="Element",a[a.Component=14]="Component",a[a.DOMRef=2033]="DOMRef",a[a.InUseOrNormalized=81920]="InUseOrNormalized",a[a.ClearInUse=-16385]="ClearInUse",a[a.ComponentKnown=12]="ComponentKnown"})(n||(r.VNodeFlags=n={}));var e;(function(a){a[a.UnknownChildren=0]="UnknownChildren",a[a.HasInvalidChildren=1]="HasInvalidChildren",a[a.HasVNodeChildren=2]="HasVNodeChildren",a[a.HasNonKeyedChildren=4]="HasNonKeyedChildren",a[a.HasKeyedChildren=8]="HasKeyedChildren",a[a.HasTextChildren=16]="HasTextChildren",a[a.MultipleChildren=12]="MultipleChildren"})(e||(r.ChildFlags=e={}))},21599:function(L,r,n){"use strict";var e=n(58120);function a(){}function t(){}t.resetWarningCache=a,L.exports=function(){function o(y,S,k,p,l,c){if(c!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}o.isRequired=o;function m(){return o}var N={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:m,element:o,elementType:o,instanceOf:m,node:o,objectOf:m,oneOf:m,oneOfType:m,shape:m,exact:m,checkPropTypes:t,resetWarningCache:a};return N.PropTypes=N,N}},56099:function(L,r,n){"use strict";if(0)var e,a;else L.exports=n(21599)()},58120:function(L){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";L.exports=r},55776:function(L){"use strict";var r=function(n){"use strict";var e=Object.prototype,a=e.hasOwnProperty,t=Object.defineProperty||function(P,R,D){P[R]=D.value},o,m=typeof Symbol=="function"?Symbol:{},N=m.iterator||"@@iterator",y=m.asyncIterator||"@@asyncIterator",S=m.toStringTag||"@@toStringTag";function k(P,R,D){return Object.defineProperty(P,R,{value:D,enumerable:!0,configurable:!0,writable:!0}),P[R]}try{k({},"")}catch(P){k=function(D,F,W){return D[F]=W}}function p(P,R,D,F){var W=R&&R.prototype instanceof d?R:d,_=Object.create(W.prototype),H=new E(F||[]);return t(_,"_invoke",{value:w(P,D,H)}),_}n.wrap=p;function l(P,R,D){try{return{type:"normal",arg:P.call(R,D)}}catch(F){return{type:"throw",arg:F}}}var c="suspendedStart",f="suspendedYield",u="executing",i="completed",s={};function d(){}function h(){}function v(){}var g={};k(g,N,function(){return this});var C=Object.getPrototypeOf,V=C&&C(C(M([])));V&&V!==e&&a.call(V,N)&&(g=V);var b=v.prototype=d.prototype=Object.create(g);h.prototype=v,t(b,"constructor",{value:v,configurable:!0}),t(v,"constructor",{value:h,configurable:!0}),h.displayName=k(v,S,"GeneratorFunction");function B(P){["next","throw","return"].forEach(function(R){k(P,R,function(D){return this._invoke(R,D)})})}n.isGeneratorFunction=function(P){var R=typeof P=="function"&&P.constructor;return R?R===h||(R.displayName||R.name)==="GeneratorFunction":!1},n.mark=function(P){return Object.setPrototypeOf?Object.setPrototypeOf(P,v):(P.__proto__=v,k(P,S,"GeneratorFunction")),P.prototype=Object.create(b),P},n.awrap=function(P){return{__await:P}};function I(P,R){function D(_,H,z,$){var X=l(P[_],P,H);if(X.type==="throw")$(X.arg);else{var J=X.arg,ce=J.value;return ce&&typeof ce=="object"&&a.call(ce,"__await")?R.resolve(ce.__await).then(function(re){D("next",re,z,$)},function(re){D("throw",re,z,$)}):R.resolve(ce).then(function(re){J.value=re,z(J)},function(re){return D("throw",re,z,$)})}}var F;function W(_,H){function z(){return new R(function($,X){D(_,H,$,X)})}return F=F?F.then(z,z):z()}t(this,"_invoke",{value:W})}B(I.prototype),k(I.prototype,y,function(){return this}),n.AsyncIterator=I,n.async=function(P,R,D,F,W){W===void 0&&(W=Promise);var _=new I(p(P,R,D,F),W);return n.isGeneratorFunction(R)?_:_.next().then(function(H){return H.done?H.value:_.next()})};function w(P,R,D){var F=c;return function(){function W(_,H){if(F===u)throw new Error("Generator is already running");if(F===i){if(_==="throw")throw H;return j()}for(D.method=_,D.arg=H;;){var z=D.delegate;if(z){var $=T(z,D);if($){if($===s)continue;return $}}if(D.method==="next")D.sent=D._sent=D.arg;else if(D.method==="throw"){if(F===c)throw F=i,D.arg;D.dispatchException(D.arg)}else D.method==="return"&&D.abrupt("return",D.arg);F=u;var X=l(P,R,D);if(X.type==="normal"){if(F=D.done?i:f,X.arg===s)continue;return{value:X.arg,done:D.done}}else X.type==="throw"&&(F=i,D.method="throw",D.arg=X.arg)}}return W}()}function T(P,R){var D=R.method,F=P.iterator[D];if(F===o)return R.delegate=null,D==="throw"&&P.iterator.return&&(R.method="return",R.arg=o,T(P,R),R.method==="throw")||D!=="return"&&(R.method="throw",R.arg=new TypeError("The iterator does not provide a '"+D+"' method")),s;var W=l(F,P.iterator,R.arg);if(W.type==="throw")return R.method="throw",R.arg=W.arg,R.delegate=null,s;var _=W.arg;if(!_)return R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,s;if(_.done)R[P.resultName]=_.value,R.next=P.nextLoc,R.method!=="return"&&(R.method="next",R.arg=o);else return _;return R.delegate=null,s}B(b),k(b,S,"Generator"),k(b,N,function(){return this}),k(b,"toString",function(){return"[object Generator]"});function A(P){var R={tryLoc:P[0]};1 in P&&(R.catchLoc=P[1]),2 in P&&(R.finallyLoc=P[2],R.afterLoc=P[3]),this.tryEntries.push(R)}function x(P){var R=P.completion||{};R.type="normal",delete R.arg,P.completion=R}function E(P){this.tryEntries=[{tryLoc:"root"}],P.forEach(A,this),this.reset(!0)}n.keys=function(P){var R=Object(P),D=[];for(var F in R)D.push(F);return D.reverse(),function(){function W(){for(;D.length;){var _=D.pop();if(_ in R)return W.value=_,W.done=!1,W}return W.done=!0,W}return W}()};function M(P){if(P!=null){var R=P[N];if(R)return R.call(P);if(typeof P.next=="function")return P;if(!isNaN(P.length)){var D=-1,F=function(){function W(){for(;++D<P.length;)if(a.call(P,D))return W.value=P[D],W.done=!1,W;return W.value=o,W.done=!0,W}return W}();return F.next=F}}throw new TypeError(typeof P+" is not iterable")}n.values=M;function j(){return{value:o,done:!0}}return E.prototype={constructor:E,reset:function(){function P(R){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(x),!R)for(var D in this)D.charAt(0)==="t"&&a.call(this,D)&&!isNaN(+D.slice(1))&&(this[D]=o)}return P}(),stop:function(){function P(){this.done=!0;var R=this.tryEntries[0],D=R.completion;if(D.type==="throw")throw D.arg;return this.rval}return P}(),dispatchException:function(){function P(R){if(this.done)throw R;var D=this;function F(X,J){return H.type="throw",H.arg=R,D.next=X,J&&(D.method="next",D.arg=o),!!J}for(var W=this.tryEntries.length-1;W>=0;--W){var _=this.tryEntries[W],H=_.completion;if(_.tryLoc==="root")return F("end");if(_.tryLoc<=this.prev){var z=a.call(_,"catchLoc"),$=a.call(_,"finallyLoc");if(z&&$){if(this.prev<_.catchLoc)return F(_.catchLoc,!0);if(this.prev<_.finallyLoc)return F(_.finallyLoc)}else if(z){if(this.prev<_.catchLoc)return F(_.catchLoc,!0)}else if($){if(this.prev<_.finallyLoc)return F(_.finallyLoc)}else throw new Error("try statement without catch or finally")}}}return P}(),abrupt:function(){function P(R,D){for(var F=this.tryEntries.length-1;F>=0;--F){var W=this.tryEntries[F];if(W.tryLoc<=this.prev&&a.call(W,"finallyLoc")&&this.prev<W.finallyLoc){var _=W;break}}_&&(R==="break"||R==="continue")&&_.tryLoc<=D&&D<=_.finallyLoc&&(_=null);var H=_?_.completion:{};return H.type=R,H.arg=D,_?(this.method="next",this.next=_.finallyLoc,s):this.complete(H)}return P}(),complete:function(){function P(R,D){if(R.type==="throw")throw R.arg;return R.type==="break"||R.type==="continue"?this.next=R.arg:R.type==="return"?(this.rval=this.arg=R.arg,this.method="return",this.next="end"):R.type==="normal"&&D&&(this.next=D),s}return P}(),finish:function(){function P(R){for(var D=this.tryEntries.length-1;D>=0;--D){var F=this.tryEntries[D];if(F.finallyLoc===R)return this.complete(F.completion,F.afterLoc),x(F),s}}return P}(),catch:function(){function P(R){for(var D=this.tryEntries.length-1;D>=0;--D){var F=this.tryEntries[D];if(F.tryLoc===R){var W=F.completion;if(W.type==="throw"){var _=W.arg;x(F)}return _}}throw new Error("illegal catch attempt")}return P}(),delegateYield:function(){function P(R,D,F){return this.delegate={iterator:M(R),resultName:D,nextLoc:F},this.method==="next"&&(this.arg=o),s}return P}()},n}(L.exports);try{regeneratorRuntime=r}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},16666:function(){"use strict";self.fetch||(self.fetch=function(L,r){return r=r||{},new Promise(function(n,e){var a=new XMLHttpRequest,t=[],o={},m=function(){function y(){return{ok:(a.status/100|0)==2,statusText:a.statusText,status:a.status,url:a.responseURL,text:function(){function S(){return Promise.resolve(a.responseText)}return S}(),json:function(){function S(){return Promise.resolve(a.responseText).then(JSON.parse)}return S}(),blob:function(){function S(){return Promise.resolve(new Blob([a.response]))}return S}(),clone:y,headers:{keys:function(){function S(){return t}return S}(),entries:function(){function S(){return t.map(function(k){return[k,a.getResponseHeader(k)]})}return S}(),get:function(){function S(k){return a.getResponseHeader(k)}return S}(),has:function(){function S(k){return a.getResponseHeader(k)!=null}return S}()}}}return y}();for(var N in a.open(r.method||"get",L,!0),a.onload=function(){a.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(y,S){o[S]||t.push(o[S]=S)}),n(m())},a.onerror=e,a.withCredentials=r.credentials=="include",r.headers)a.setRequestHeader(N,r.headers[N]);a.send(r.body||null)})})},50640:function(L,r){"use strict";r.__esModule=!0,r.zipWith=r.zip=r.uniqBy=r.uniq=r.toKeyedArray=r.toArray=r.sortBy=r.sort=r.reduce=r.range=r.map=r.filterMap=r.filter=void 0;function n(d,h){var v=typeof Symbol!="undefined"&&d[Symbol.iterator]||d["@@iterator"];if(v)return(v=v.call(d)).next.bind(v);if(Array.isArray(d)||(v=e(d))||h&&d&&typeof d.length=="number"){v&&(d=v);var g=0;return function(){return g>=d.length?{done:!0}:{done:!1,value:d[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(d,h){if(d){if(typeof d=="string")return a(d,h);var v=Object.prototype.toString.call(d).slice(8,-1);if(v==="Object"&&d.constructor&&(v=d.constructor.name),v==="Map"||v==="Set")return Array.from(d);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return a(d,h)}}function a(d,h){(h==null||h>d.length)&&(h=d.length);for(var v=0,g=new Array(h);v<h;v++)g[v]=d[v];return g}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=r.toArray=function(){function d(C){if(Array.isArray(C))return C;if(typeof C=="object"){var g=Object.prototype.hasOwnProperty,v=[];for(var h in C)g.call(C,h)&&v.push(C[h]);return v}return[]}return d}(),o=r.toKeyedArray=function(){function d(C,g){return g===void 0&&(g="key"),N(function(v,h){var V;return Object.assign((V={},V[g]=h,V),v)})(C)}return d}(),m=r.filter=function(){function d(C){return function(g){if(g==null)return g;if(Array.isArray(g)){for(var v=[],h=0;h<g.length;h++){var V=g[h];C(V,h,g)&&v.push(V)}return v}throw new Error("filter() can't iterate on type "+typeof g)}}return d}(),N=r.map=function(){function d(C){return function(g){if(g==null)return g;if(Array.isArray(g)){for(var v=[],h=0;h<g.length;h++)v.push(C(g[h],h,g));return v}if(typeof g=="object"){var V=Object.prototype.hasOwnProperty,b=[];for(var B in g)V.call(g,B)&&b.push(C(g[B],B,g));return b}throw new Error("map() can't iterate on type "+typeof g)}}return d}(),y=r.filterMap=function(){function d(C,g){for(var v=[],h=n(C),V;!(V=h()).done;){var b=V.value,B=g(b);B!==void 0&&v.push(B)}return v}return d}(),S=function(C,g){for(var v=C.criteria,h=g.criteria,V=v.length,b=0;b<V;b++){var B=v[b],I=h[b];if(B<I)return-1;if(B>I)return 1}return 0},k=r.sortBy=function(){function d(){for(var C=arguments.length,g=new Array(C),v=0;v<C;v++)g[v]=arguments[v];return function(h){if(!Array.isArray(h))return h;for(var V=h.length,b=[],B=function(){function w(){var T=h[I];b.push({criteria:g.map(function(A){return A(T)}),value:T})}return w}(),I=0;I<V;I++)B();for(b.sort(S);V--;)b[V]=b[V].value;return b}}return d}(),p=r.sort=k(),l=r.range=function(){function d(C,g){return new Array(g-C).fill(null).map(function(v,h){return h+C})}return d}(),c=r.reduce=function(){function d(C,g){return function(v){var h=v.length,V,b;for(g===void 0?(V=1,b=v[0]):(V=0,b=g);V<h;V++)b=C(b,v[V],V,v);return b}}return d}(),f=r.uniqBy=function(){function d(C){return function(g){var v=g.length,h=[],V=C?[]:h,b=-1;e:for(;++b<v;){var B=g[b],I=C?C(B):B;if(B=B!==0?B:0,I===I){for(var w=V.length;w--;)if(V[w]===I)continue e;C&&V.push(I),h.push(B)}else V.includes(I)||(V!==h&&V.push(I),h.push(B))}return h}}return d}(),i=r.uniq=f(),u=r.zip=function(){function d(){for(var C=arguments.length,g=new Array(C),v=0;v<C;v++)g[v]=arguments[v];if(g.length!==0){for(var h=g.length,V=g[0].length,b=[],B=0;B<V;B++){for(var I=[],w=0;w<h;w++)I.push(g[w][B]);b.push(I)}return b}}return d}(),s=r.zipWith=function(){function d(C){return function(){return N(function(g){return C.apply(void 0,g)})(u.apply(void 0,arguments))}}return d}()},70654:function(L,r){"use strict";r.__esModule=!0,r.EventEmitter=void 0;/** + */var t=r.toArray=function(){function d(h){if(Array.isArray(h))return h;if(typeof h=="object"){var v=Object.prototype.hasOwnProperty,g=[];for(var C in h)v.call(h,C)&&g.push(h[C]);return g}return[]}return d}(),o=r.toKeyedArray=function(){function d(h,v){return v===void 0&&(v="key"),N(function(g,C){var V;return Object.assign((V={},V[v]=C,V),g)})(h)}return d}(),m=r.filter=function(){function d(h){return function(v){if(v==null)return v;if(Array.isArray(v)){for(var g=[],C=0;C<v.length;C++){var V=v[C];h(V,C,v)&&g.push(V)}return g}throw new Error("filter() can't iterate on type "+typeof v)}}return d}(),N=r.map=function(){function d(h){return function(v){if(v==null)return v;if(Array.isArray(v)){for(var g=[],C=0;C<v.length;C++)g.push(h(v[C],C,v));return g}if(typeof v=="object"){var V=Object.prototype.hasOwnProperty,b=[];for(var B in v)V.call(v,B)&&b.push(h(v[B],B,v));return b}throw new Error("map() can't iterate on type "+typeof v)}}return d}(),y=r.filterMap=function(){function d(h,v){for(var g=[],C=n(h),V;!(V=C()).done;){var b=V.value,B=v(b);B!==void 0&&g.push(B)}return g}return d}(),S=function(h,v){for(var g=h.criteria,C=v.criteria,V=g.length,b=0;b<V;b++){var B=g[b],I=C[b];if(B<I)return-1;if(B>I)return 1}return 0},k=r.sortBy=function(){function d(){for(var h=arguments.length,v=new Array(h),g=0;g<h;g++)v[g]=arguments[g];return function(C){if(!Array.isArray(C))return C;for(var V=C.length,b=[],B=function(){function w(){var T=C[I];b.push({criteria:v.map(function(A){return A(T)}),value:T})}return w}(),I=0;I<V;I++)B();for(b.sort(S);V--;)b[V]=b[V].value;return b}}return d}(),p=r.sort=k(),l=r.range=function(){function d(h,v){return new Array(v-h).fill(null).map(function(g,C){return C+h})}return d}(),c=r.reduce=function(){function d(h,v){return function(g){var C=g.length,V,b;for(v===void 0?(V=1,b=g[0]):(V=0,b=v);V<C;V++)b=h(b,g[V],V,g);return b}}return d}(),f=r.uniqBy=function(){function d(h){return function(v){var g=v.length,C=[],V=h?[]:C,b=-1;e:for(;++b<g;){var B=v[b],I=h?h(B):B;if(B=B!==0?B:0,I===I){for(var w=V.length;w--;)if(V[w]===I)continue e;h&&V.push(I),C.push(B)}else V.includes(I)||(V!==C&&V.push(I),C.push(B))}return C}}return d}(),u=r.uniq=f(),i=r.zip=function(){function d(){for(var h=arguments.length,v=new Array(h),g=0;g<h;g++)v[g]=arguments[g];if(v.length!==0){for(var C=v.length,V=v[0].length,b=[],B=0;B<V;B++){for(var I=[],w=0;w<C;w++)I.push(v[w][B]);b.push(I)}return b}}return d}(),s=r.zipWith=function(){function d(h){return function(){return N(function(v){return h.apply(void 0,v)})(i.apply(void 0,arguments))}}return d}()},22594:function(L,r){"use strict";r.__esModule=!0,r.EventEmitter=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.EventEmitter=function(){function e(){this.listeners={}}var a=e.prototype;return a.on=function(){function t(o,m){this.listeners[o]=this.listeners[o]||[],this.listeners[o].push(m)}return t}(),a.off=function(){function t(o,m){var N=this.listeners[o];if(!N)throw new Error('There is no listeners for "'+o+'"');this.listeners[o]=N.filter(function(y){return y!==m})}return t}(),a.emit=function(){function t(o){var m=this.listeners[o];if(m){for(var N=arguments.length,y=new Array(N>1?N-1:0),S=1;S<N;S++)y[S-1]=arguments[S];for(var k=0,p=m.length;k<p;k+=1){var l=m[k];l.apply(void 0,y)}}}return t}(),a.clear=function(){function t(){this.listeners={}}return t}(),e}()},98644:function(L,r){"use strict";r.__esModule=!0,r.exhaustiveCheck=void 0;var n=r.exhaustiveCheck=function(){function e(a){throw new Error("Unhandled case: "+a)}return e}()},90955:function(L,r){"use strict";r.__esModule=!0,r.flow=r.compose=void 0;/** + */var n=r.EventEmitter=function(){function e(){this.listeners={}}var a=e.prototype;return a.on=function(){function t(o,m){this.listeners[o]=this.listeners[o]||[],this.listeners[o].push(m)}return t}(),a.off=function(){function t(o,m){var N=this.listeners[o];if(!N)throw new Error('There is no listeners for "'+o+'"');this.listeners[o]=N.filter(function(y){return y!==m})}return t}(),a.emit=function(){function t(o){var m=this.listeners[o];if(m){for(var N=arguments.length,y=new Array(N>1?N-1:0),S=1;S<N;S++)y[S-1]=arguments[S];for(var k=0,p=m.length;k<p;k+=1){var l=m[k];l.apply(void 0,y)}}}return t}(),a.clear=function(){function t(){this.listeners={}}return t}(),e}()},67765:function(L,r){"use strict";r.__esModule=!0,r.exhaustiveCheck=void 0;var n=r.exhaustiveCheck=function(){function e(a){throw new Error("Unhandled case: "+a)}return e}()},74041:function(L,r){"use strict";r.__esModule=!0,r.flow=r.compose=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.flow=function(){function a(){for(var t=arguments.length,o=new Array(t),m=0;m<t;m++)o[m]=arguments[m];return function(N){for(var y=N,S=arguments.length,k=new Array(S>1?S-1:0),p=1;p<S;p++)k[p-1]=arguments[p];for(var l=0,c=o;l<c.length;l++){var f=c[l];Array.isArray(f)?y=a.apply(void 0,f).apply(void 0,[y].concat(k)):f&&(y=f.apply(void 0,[y].concat(k)))}return y}}return a}(),e=r.compose=function(){function a(){for(var t=arguments.length,o=new Array(t),m=0;m<t;m++)o[m]=arguments[m];return o.length===0?function(N){return N}:o.length===1?o[0]:o.reduce(function(N,y){return function(S){for(var k=arguments.length,p=new Array(k>1?k-1:0),l=1;l<k;l++)p[l-1]=arguments[l];return N.apply(void 0,[y.apply(void 0,[S].concat(p))].concat(p))}})}return a}()},31068:function(L,r){"use strict";r.__esModule=!0,r.KEY_Z=r.KEY_Y=r.KEY_X=r.KEY_W=r.KEY_V=r.KEY_UP=r.KEY_U=r.KEY_TAB=r.KEY_T=r.KEY_SPACE=r.KEY_SLASH=r.KEY_SHIFT=r.KEY_SEMICOLON=r.KEY_S=r.KEY_RIGHT_BRACKET=r.KEY_RIGHT=r.KEY_R=r.KEY_QUOTE=r.KEY_Q=r.KEY_PERIOD=r.KEY_PAUSE=r.KEY_PAGEUP=r.KEY_PAGEDOWN=r.KEY_P=r.KEY_O=r.KEY_NUMPAD_9=r.KEY_NUMPAD_8=r.KEY_NUMPAD_7=r.KEY_NUMPAD_6=r.KEY_NUMPAD_5=r.KEY_NUMPAD_4=r.KEY_NUMPAD_3=r.KEY_NUMPAD_2=r.KEY_NUMPAD_1=r.KEY_NUMPAD_0=r.KEY_N=r.KEY_MINUS=r.KEY_M=r.KEY_LEFT_BRACKET=r.KEY_LEFT=r.KEY_L=r.KEY_K=r.KEY_J=r.KEY_INSERT=r.KEY_I=r.KEY_HOME=r.KEY_H=r.KEY_G=r.KEY_F9=r.KEY_F8=r.KEY_F7=r.KEY_F6=r.KEY_F5=r.KEY_F4=r.KEY_F3=r.KEY_F2=r.KEY_F12=r.KEY_F11=r.KEY_F10=r.KEY_F1=r.KEY_F=r.KEY_ESCAPE=r.KEY_EQUAL=r.KEY_ENTER=r.KEY_END=r.KEY_E=r.KEY_DOWN=r.KEY_DELETE=r.KEY_D=r.KEY_CTRL=r.KEY_COMMA=r.KEY_CAPSLOCK=r.KEY_C=r.KEY_BACKSPACE=r.KEY_BACKSLASH=r.KEY_B=r.KEY_ALT=r.KEY_A=r.KEY_9=r.KEY_8=r.KEY_7=r.KEY_6=r.KEY_5=r.KEY_4=r.KEY_3=r.KEY_2=r.KEY_1=r.KEY_0=void 0;/** + */var n=r.flow=function(){function a(){for(var t=arguments.length,o=new Array(t),m=0;m<t;m++)o[m]=arguments[m];return function(N){for(var y=N,S=arguments.length,k=new Array(S>1?S-1:0),p=1;p<S;p++)k[p-1]=arguments[p];for(var l=0,c=o;l<c.length;l++){var f=c[l];Array.isArray(f)?y=a.apply(void 0,f).apply(void 0,[y].concat(k)):f&&(y=f.apply(void 0,[y].concat(k)))}return y}}return a}(),e=r.compose=function(){function a(){for(var t=arguments.length,o=new Array(t),m=0;m<t;m++)o[m]=arguments[m];return o.length===0?function(N){return N}:o.length===1?o[0]:o.reduce(function(N,y){return function(S){for(var k=arguments.length,p=new Array(k>1?k-1:0),l=1;l<k;l++)p[l-1]=arguments[l];return N.apply(void 0,[y.apply(void 0,[S].concat(p))].concat(p))}})}return a}()},68100:function(L,r){"use strict";r.__esModule=!0,r.KEY_Z=r.KEY_Y=r.KEY_X=r.KEY_W=r.KEY_V=r.KEY_UP=r.KEY_U=r.KEY_TAB=r.KEY_T=r.KEY_SPACE=r.KEY_SLASH=r.KEY_SHIFT=r.KEY_SEMICOLON=r.KEY_S=r.KEY_RIGHT_BRACKET=r.KEY_RIGHT=r.KEY_R=r.KEY_QUOTE=r.KEY_Q=r.KEY_PERIOD=r.KEY_PAUSE=r.KEY_PAGEUP=r.KEY_PAGEDOWN=r.KEY_P=r.KEY_O=r.KEY_NUMPAD_9=r.KEY_NUMPAD_8=r.KEY_NUMPAD_7=r.KEY_NUMPAD_6=r.KEY_NUMPAD_5=r.KEY_NUMPAD_4=r.KEY_NUMPAD_3=r.KEY_NUMPAD_2=r.KEY_NUMPAD_1=r.KEY_NUMPAD_0=r.KEY_N=r.KEY_MINUS=r.KEY_M=r.KEY_LEFT_BRACKET=r.KEY_LEFT=r.KEY_L=r.KEY_K=r.KEY_J=r.KEY_INSERT=r.KEY_I=r.KEY_HOME=r.KEY_H=r.KEY_G=r.KEY_F9=r.KEY_F8=r.KEY_F7=r.KEY_F6=r.KEY_F5=r.KEY_F4=r.KEY_F3=r.KEY_F2=r.KEY_F12=r.KEY_F11=r.KEY_F10=r.KEY_F1=r.KEY_F=r.KEY_ESCAPE=r.KEY_EQUAL=r.KEY_ENTER=r.KEY_END=r.KEY_E=r.KEY_DOWN=r.KEY_DELETE=r.KEY_D=r.KEY_CTRL=r.KEY_COMMA=r.KEY_CAPSLOCK=r.KEY_C=r.KEY_BACKSPACE=r.KEY_BACKSLASH=r.KEY_B=r.KEY_ALT=r.KEY_A=r.KEY_9=r.KEY_8=r.KEY_7=r.KEY_6=r.KEY_5=r.KEY_4=r.KEY_3=r.KEY_2=r.KEY_1=r.KEY_0=void 0;/** * All possible browser keycodes, in one file. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.KEY_BACKSPACE=8,e=r.KEY_TAB=9,a=r.KEY_ENTER=13,t=r.KEY_SHIFT=16,o=r.KEY_CTRL=17,m=r.KEY_ALT=18,N=r.KEY_PAUSE=19,y=r.KEY_CAPSLOCK=20,S=r.KEY_ESCAPE=27,k=r.KEY_SPACE=32,p=r.KEY_PAGEUP=33,l=r.KEY_PAGEDOWN=34,c=r.KEY_END=35,f=r.KEY_HOME=36,i=r.KEY_LEFT=37,u=r.KEY_UP=38,s=r.KEY_RIGHT=39,d=r.KEY_DOWN=40,C=r.KEY_INSERT=45,g=r.KEY_DELETE=46,v=r.KEY_0=48,h=r.KEY_1=49,V=r.KEY_2=50,b=r.KEY_3=51,B=r.KEY_4=52,I=r.KEY_5=53,w=r.KEY_6=54,T=r.KEY_7=55,A=r.KEY_8=56,x=r.KEY_9=57,E=r.KEY_A=65,P=r.KEY_B=66,D=r.KEY_C=67,M=r.KEY_D=68,O=r.KEY_E=69,j=r.KEY_F=70,F=r.KEY_G=71,U=r.KEY_H=72,_=r.KEY_I=73,z=r.KEY_J=74,H=r.KEY_K=75,$=r.KEY_L=76,Y=r.KEY_M=77,X=r.KEY_N=78,re=r.KEY_O=79,ae=r.KEY_P=80,se=r.KEY_Q=81,pe=r.KEY_R=82,ye=r.KEY_S=83,Be=r.KEY_T=84,he=r.KEY_U=85,oe=r.KEY_V=86,Z=r.KEY_W=87,q=r.KEY_X=88,ue=r.KEY_Y=89,me=r.KEY_Z=90,ne=r.KEY_NUMPAD_0=96,be=r.KEY_NUMPAD_1=97,fe=r.KEY_NUMPAD_2=98,ge=r.KEY_NUMPAD_3=99,ke=r.KEY_NUMPAD_4=100,ve=r.KEY_NUMPAD_5=101,Se=r.KEY_NUMPAD_6=102,we=r.KEY_NUMPAD_7=103,xe=r.KEY_NUMPAD_8=104,Oe=r.KEY_NUMPAD_9=105,We=r.KEY_F1=112,Ve=r.KEY_F2=113,ce=r.KEY_F3=114,le=r.KEY_F4=115,Ce=r.KEY_F5=116,de=r.KEY_F6=117,Ne=r.KEY_F7=118,Ae=r.KEY_F8=119,De=r.KEY_F9=120,je=r.KEY_F10=121,_e=r.KEY_F11=122,Ue=r.KEY_F12=123,Ke=r.KEY_SEMICOLON=186,Ge=r.KEY_EQUAL=187,yt=r.KEY_COMMA=188,kt=r.KEY_MINUS=189,St=r.KEY_PERIOD=190,ft=r.KEY_SLASH=191,Bt=r.KEY_LEFT_BRACKET=219,It=r.KEY_BACKSLASH=220,Lt=r.KEY_RIGHT_BRACKET=221,pt=r.KEY_QUOTE=222},58331:function(L,r){"use strict";r.__esModule=!0,r.toFixed=r.scale=r.round=r.rad2deg=r.keyOfMatchingRange=r.inRange=r.clamp01=r.clamp=void 0;/** + */var n=r.KEY_BACKSPACE=8,e=r.KEY_TAB=9,a=r.KEY_ENTER=13,t=r.KEY_SHIFT=16,o=r.KEY_CTRL=17,m=r.KEY_ALT=18,N=r.KEY_PAUSE=19,y=r.KEY_CAPSLOCK=20,S=r.KEY_ESCAPE=27,k=r.KEY_SPACE=32,p=r.KEY_PAGEUP=33,l=r.KEY_PAGEDOWN=34,c=r.KEY_END=35,f=r.KEY_HOME=36,u=r.KEY_LEFT=37,i=r.KEY_UP=38,s=r.KEY_RIGHT=39,d=r.KEY_DOWN=40,h=r.KEY_INSERT=45,v=r.KEY_DELETE=46,g=r.KEY_0=48,C=r.KEY_1=49,V=r.KEY_2=50,b=r.KEY_3=51,B=r.KEY_4=52,I=r.KEY_5=53,w=r.KEY_6=54,T=r.KEY_7=55,A=r.KEY_8=56,x=r.KEY_9=57,E=r.KEY_A=65,M=r.KEY_B=66,j=r.KEY_C=67,P=r.KEY_D=68,R=r.KEY_E=69,D=r.KEY_F=70,F=r.KEY_G=71,W=r.KEY_H=72,_=r.KEY_I=73,H=r.KEY_J=74,z=r.KEY_K=75,$=r.KEY_L=76,X=r.KEY_M=77,J=r.KEY_N=78,ce=r.KEY_O=79,re=r.KEY_P=80,me=r.KEY_Q=81,pe=r.KEY_R=82,ye=r.KEY_S=83,Be=r.KEY_T=84,he=r.KEY_U=85,oe=r.KEY_V=86,Z=r.KEY_W=87,q=r.KEY_X=88,ue=r.KEY_Y=89,se=r.KEY_Z=90,ne=r.KEY_NUMPAD_0=96,be=r.KEY_NUMPAD_1=97,fe=r.KEY_NUMPAD_2=98,ge=r.KEY_NUMPAD_3=99,ke=r.KEY_NUMPAD_4=100,ve=r.KEY_NUMPAD_5=101,Se=r.KEY_NUMPAD_6=102,we=r.KEY_NUMPAD_7=103,xe=r.KEY_NUMPAD_8=104,Oe=r.KEY_NUMPAD_9=105,We=r.KEY_F1=112,Ve=r.KEY_F2=113,ae=r.KEY_F3=114,le=r.KEY_F4=115,Ce=r.KEY_F5=116,de=r.KEY_F6=117,Ne=r.KEY_F7=118,Ae=r.KEY_F8=119,De=r.KEY_F9=120,je=r.KEY_F10=121,_e=r.KEY_F11=122,Ue=r.KEY_F12=123,Ke=r.KEY_SEMICOLON=186,Ge=r.KEY_EQUAL=187,yt=r.KEY_COMMA=188,kt=r.KEY_MINUS=189,St=r.KEY_PERIOD=190,ft=r.KEY_SLASH=191,Bt=r.KEY_LEFT_BRACKET=219,It=r.KEY_BACKSLASH=220,Lt=r.KEY_RIGHT_BRACKET=221,pt=r.KEY_QUOTE=222},36121:function(L,r){"use strict";r.__esModule=!0,r.toFixed=r.scale=r.round=r.rad2deg=r.keyOfMatchingRange=r.inRange=r.clamp01=r.clamp=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.clamp=function(){function S(k,p,l){return k<p?p:k>l?l:k}return S}(),e=r.clamp01=function(){function S(k){return k<0?0:k>1?1:k}return S}(),a=r.scale=function(){function S(k,p,l){return(k-p)/(l-p)}return S}(),t=r.round=function(){function S(k,p){if(!k||isNaN(k))return k;var l,c,f,i;return p|=0,l=Math.pow(10,p),k*=l,i=+(k>0)|-(k<0),f=Math.abs(k%1)>=.4999999999854481,c=Math.floor(k),f&&(k=c+(i>0)),(f?k:Math.round(k))/l}return S}(),o=r.toFixed=function(){function S(k,p){return p===void 0&&(p=0),Number(k).toFixed(Math.max(p,0))}return S}(),m=r.inRange=function(){function S(k,p){return p&&k>=p[0]&&k<=p[1]}return S}(),N=r.keyOfMatchingRange=function(){function S(k,p){for(var l=0,c=Object.keys(p);l<c.length;l++){var f=c[l],i=p[f];if(m(k,i))return f}}return S}(),y=r.rad2deg=function(){function S(k){return k*(180/Math.PI)}return S}()},60031:function(L,r){"use strict";r.__esModule=!0,r.perf=void 0;var n;/** + */var n=r.clamp=function(){function S(k,p,l){return k<p?p:k>l?l:k}return S}(),e=r.clamp01=function(){function S(k){return k<0?0:k>1?1:k}return S}(),a=r.scale=function(){function S(k,p,l){return(k-p)/(l-p)}return S}(),t=r.round=function(){function S(k,p){if(!k||isNaN(k))return k;var l,c,f,u;return p|=0,l=Math.pow(10,p),k*=l,u=+(k>0)|-(k<0),f=Math.abs(k%1)>=.4999999999854481,c=Math.floor(k),f&&(k=c+(u>0)),(f?k:Math.round(k))/l}return S}(),o=r.toFixed=function(){function S(k,p){return p===void 0&&(p=0),Number(k).toFixed(Math.max(p,0))}return S}(),m=r.inRange=function(){function S(k,p){return p&&k>=p[0]&&k<=p[1]}return S}(),N=r.keyOfMatchingRange=function(){function S(k,p){for(var l=0,c=Object.keys(p);l<c.length;l++){var f=c[l],u=p[f];if(m(k,u))return f}}return S}(),y=r.rad2deg=function(){function S(k){return k*(180/Math.PI)}return S}()},63560:function(L,r){"use strict";r.__esModule=!0,r.perf=void 0;var n;/** * Ghetto performance measurement tools. * * Uses NODE_ENV to remove itself from production builds. @@ -28,29 +28,29 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var e=60,a=1e3/e,t=!!((n=window.performance)!=null&&n.now),o={},m={},N=function(l,c){},y=function(l,c){if(0)var f,i,u},S=function(l){var c=l/a;return l.toFixed(l<10?1:0)+"ms ("+c.toFixed(2)+" frames)"},k=r.perf={mark:N,measure:y}},66586:function(L,r){"use strict";r.__esModule=!0,r.shallowDiffers=r.pureComponentHooks=r.normalizeChildren=r.classes=r.canRender=void 0;/** + */var e=60,a=1e3/e,t=!!((n=window.performance)!=null&&n.now),o={},m={},N=function(l,c){},y=function(l,c){if(0)var f,u,i},S=function(l){var c=l/a;return l.toFixed(l<10?1:0)+"ms ("+c.toFixed(2)+" frames)"},k=r.perf={mark:N,measure:y}},28234:function(L,r){"use strict";r.__esModule=!0,r.shallowDiffers=r.pureComponentHooks=r.normalizeChildren=r.classes=r.canRender=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.classes=function(){function m(N){for(var y="",S=0;S<N.length;S++){var k=N[S];typeof k=="string"&&(y+=k+" ")}return y}return m}(),e=r.normalizeChildren=function(){function m(N){return Array.isArray(N)?N.flat().filter(function(y){return y}):typeof N=="object"?[N]:[]}return m}(),a=r.shallowDiffers=function(){function m(N,y){var S;for(S in N)if(!(S in y))return!0;for(S in y)if(N[S]!==y[S])return!0;return!1}return m}(),t=r.pureComponentHooks={onComponentShouldUpdate:function(){function m(N,y){return a(N,y)}return m}()},o=r.canRender=function(){function m(N){return N!=null&&typeof N!="boolean"}return m}()},90816:function(L,r,n){"use strict";r.__esModule=!0,r.useSelector=r.useDispatch=r.createStore=r.createAction=r.combineReducers=r.applyMiddleware=void 0;var e=n(90955);/** + */var n=r.classes=function(){function m(N){for(var y="",S=0;S<N.length;S++){var k=N[S];typeof k=="string"&&(y+=k+" ")}return y}return m}(),e=r.normalizeChildren=function(){function m(N){return Array.isArray(N)?N.flat().filter(function(y){return y}):typeof N=="object"?[N]:[]}return m}(),a=r.shallowDiffers=function(){function m(N,y){var S;for(S in N)if(!(S in y))return!0;for(S in y)if(N[S]!==y[S])return!0;return!1}return m}(),t=r.pureComponentHooks={onComponentShouldUpdate:function(){function m(N,y){return a(N,y)}return m}()},o=r.canRender=function(){function m(N){return N!=null&&typeof N!="boolean"}return m}()},88605:function(L,r,n){"use strict";r.__esModule=!0,r.useSelector=r.useDispatch=r.createStore=r.createAction=r.combineReducers=r.applyMiddleware=void 0;var e=n(74041);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var a=r.createStore=function(){function S(k,p){if(p)return p(S)(k);var l,c=[],f=function(){function s(){return l}return s}(),i=function(){function s(d){c.push(d)}return s}(),u=function(){function s(d){l=k(l,d);for(var C=0;C<c.length;C++)c[C]()}return s}();return u({type:"@@INIT"}),{dispatch:u,subscribe:i,getState:f}}return S}(),t=r.applyMiddleware=function(){function S(){for(var k=arguments.length,p=new Array(k),l=0;l<k;l++)p[l]=arguments[l];return function(c){return function(f){for(var i=arguments.length,u=new Array(i>1?i-1:0),s=1;s<i;s++)u[s-1]=arguments[s];var d=c.apply(void 0,[f].concat(u)),C=function(){function h(){throw new Error("Dispatching while constructing your middleware is not allowed.")}return h}(),g={getState:d.getState,dispatch:function(){function h(V){for(var b=arguments.length,B=new Array(b>1?b-1:0),I=1;I<b;I++)B[I-1]=arguments[I];return C.apply(void 0,[V].concat(B))}return h}()},v=p.map(function(h){return h(g)});return C=e.compose.apply(void 0,v)(d.dispatch),Object.assign({},d,{dispatch:C})}}}return S}(),o=r.combineReducers=function(){function S(k){var p=Object.keys(k),l=!1;return function(c,f){c===void 0&&(c={});for(var i=Object.assign({},c),u=0,s=p;u<s.length;u++){var d=s[u],C=k[d],g=c[d],v=C(g,f);g!==v&&(l=!0,i[d]=v)}return l?i:c}}return S}(),m=r.createAction=function(){function S(k,p){p===void 0&&(p=null);var l=function(){function c(){if(!p)return{type:k,payload:arguments.length<=0?void 0:arguments[0]};var f=p.apply(void 0,arguments);if(!f)throw new Error("prepare function did not return an object");var i={type:k};return"payload"in f&&(i.payload=f.payload),"meta"in f&&(i.meta=f.meta),i}return c}();return l.toString=function(){return""+k},l.type=k,l.match=function(c){return c.type===k},l}return S}(),N=r.useDispatch=function(){function S(k){return k.store.dispatch}return S}(),y=r.useSelector=function(){function S(k,p){return p(k.store.getState())}return S}()},96417:function(L,r){"use strict";r.__esModule=!0,r.storage=r.IMPL_MEMORY=r.IMPL_LOCAL_STORAGE=r.IMPL_INDEXED_DB=void 0;function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return v};var g,v={},h=Object.prototype,V=h.hasOwnProperty,b=Object.defineProperty||function(oe,Z,q){oe[Z]=q.value},B=typeof Symbol=="function"?Symbol:{},I=B.iterator||"@@iterator",w=B.asyncIterator||"@@asyncIterator",T=B.toStringTag||"@@toStringTag";function A(oe,Z,q){return Object.defineProperty(oe,Z,{value:q,enumerable:!0,configurable:!0,writable:!0}),oe[Z]}try{A({},"")}catch(oe){A=function(q,ue,me){return q[ue]=me}}function x(oe,Z,q,ue){var me=Z&&Z.prototype instanceof F?Z:F,ne=Object.create(me.prototype),be=new Be(ue||[]);return b(ne,"_invoke",{value:ae(oe,q,be)}),ne}function E(oe,Z,q){try{return{type:"normal",arg:oe.call(Z,q)}}catch(ue){return{type:"throw",arg:ue}}}v.wrap=x;var P="suspendedStart",D="suspendedYield",M="executing",O="completed",j={};function F(){}function U(){}function _(){}var z={};A(z,I,function(){return this});var H=Object.getPrototypeOf,$=H&&H(H(he([])));$&&$!==h&&V.call($,I)&&(z=$);var Y=_.prototype=F.prototype=Object.create(z);function X(oe){["next","throw","return"].forEach(function(Z){A(oe,Z,function(q){return this._invoke(Z,q)})})}function re(oe,Z){function q(me,ne,be,fe){var ge=E(oe[me],oe,ne);if(ge.type!=="throw"){var ke=ge.arg,ve=ke.value;return ve&&typeof ve=="object"&&V.call(ve,"__await")?Z.resolve(ve.__await).then(function(Se){q("next",Se,be,fe)},function(Se){q("throw",Se,be,fe)}):Z.resolve(ve).then(function(Se){ke.value=Se,be(ke)},function(Se){return q("throw",Se,be,fe)})}fe(ge.arg)}var ue;b(this,"_invoke",{value:function(){function me(ne,be){function fe(){return new Z(function(ge,ke){q(ne,be,ge,ke)})}return ue=ue?ue.then(fe,fe):fe()}return me}()})}function ae(oe,Z,q){var ue=P;return function(me,ne){if(ue===M)throw new Error("Generator is already running");if(ue===O){if(me==="throw")throw ne;return{value:g,done:!0}}for(q.method=me,q.arg=ne;;){var be=q.delegate;if(be){var fe=se(be,q);if(fe){if(fe===j)continue;return fe}}if(q.method==="next")q.sent=q._sent=q.arg;else if(q.method==="throw"){if(ue===P)throw ue=O,q.arg;q.dispatchException(q.arg)}else q.method==="return"&&q.abrupt("return",q.arg);ue=M;var ge=E(oe,Z,q);if(ge.type==="normal"){if(ue=q.done?O:D,ge.arg===j)continue;return{value:ge.arg,done:q.done}}ge.type==="throw"&&(ue=O,q.method="throw",q.arg=ge.arg)}}}function se(oe,Z){var q=Z.method,ue=oe.iterator[q];if(ue===g)return Z.delegate=null,q==="throw"&&oe.iterator.return&&(Z.method="return",Z.arg=g,se(oe,Z),Z.method==="throw")||q!=="return"&&(Z.method="throw",Z.arg=new TypeError("The iterator does not provide a '"+q+"' method")),j;var me=E(ue,oe.iterator,Z.arg);if(me.type==="throw")return Z.method="throw",Z.arg=me.arg,Z.delegate=null,j;var ne=me.arg;return ne?ne.done?(Z[oe.resultName]=ne.value,Z.next=oe.nextLoc,Z.method!=="return"&&(Z.method="next",Z.arg=g),Z.delegate=null,j):ne:(Z.method="throw",Z.arg=new TypeError("iterator result is not an object"),Z.delegate=null,j)}function pe(oe){var Z={tryLoc:oe[0]};1 in oe&&(Z.catchLoc=oe[1]),2 in oe&&(Z.finallyLoc=oe[2],Z.afterLoc=oe[3]),this.tryEntries.push(Z)}function ye(oe){var Z=oe.completion||{};Z.type="normal",delete Z.arg,oe.completion=Z}function Be(oe){this.tryEntries=[{tryLoc:"root"}],oe.forEach(pe,this),this.reset(!0)}function he(oe){if(oe||oe===""){var Z=oe[I];if(Z)return Z.call(oe);if(typeof oe.next=="function")return oe;if(!isNaN(oe.length)){var q=-1,ue=function(){function me(){for(;++q<oe.length;)if(V.call(oe,q))return me.value=oe[q],me.done=!1,me;return me.value=g,me.done=!0,me}return me}();return ue.next=ue}}throw new TypeError(typeof oe+" is not iterable")}return U.prototype=_,b(Y,"constructor",{value:_,configurable:!0}),b(_,"constructor",{value:U,configurable:!0}),U.displayName=A(_,T,"GeneratorFunction"),v.isGeneratorFunction=function(oe){var Z=typeof oe=="function"&&oe.constructor;return!!Z&&(Z===U||(Z.displayName||Z.name)==="GeneratorFunction")},v.mark=function(oe){return Object.setPrototypeOf?Object.setPrototypeOf(oe,_):(oe.__proto__=_,A(oe,T,"GeneratorFunction")),oe.prototype=Object.create(Y),oe},v.awrap=function(oe){return{__await:oe}},X(re.prototype),A(re.prototype,w,function(){return this}),v.AsyncIterator=re,v.async=function(oe,Z,q,ue,me){me===void 0&&(me=Promise);var ne=new re(x(oe,Z,q,ue),me);return v.isGeneratorFunction(Z)?ne:ne.next().then(function(be){return be.done?be.value:ne.next()})},X(Y),A(Y,T,"Generator"),A(Y,I,function(){return this}),A(Y,"toString",function(){return"[object Generator]"}),v.keys=function(oe){var Z=Object(oe),q=[];for(var ue in Z)q.push(ue);return q.reverse(),function(){function me(){for(;q.length;){var ne=q.pop();if(ne in Z)return me.value=ne,me.done=!1,me}return me.done=!0,me}return me}()},v.values=he,Be.prototype={constructor:Be,reset:function(){function oe(Z){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(ye),!Z)for(var q in this)q.charAt(0)==="t"&&V.call(this,q)&&!isNaN(+q.slice(1))&&(this[q]=g)}return oe}(),stop:function(){function oe(){this.done=!0;var Z=this.tryEntries[0].completion;if(Z.type==="throw")throw Z.arg;return this.rval}return oe}(),dispatchException:function(){function oe(Z){if(this.done)throw Z;var q=this;function ue(ke,ve){return be.type="throw",be.arg=Z,q.next=ke,ve&&(q.method="next",q.arg=g),!!ve}for(var me=this.tryEntries.length-1;me>=0;--me){var ne=this.tryEntries[me],be=ne.completion;if(ne.tryLoc==="root")return ue("end");if(ne.tryLoc<=this.prev){var fe=V.call(ne,"catchLoc"),ge=V.call(ne,"finallyLoc");if(fe&&ge){if(this.prev<ne.catchLoc)return ue(ne.catchLoc,!0);if(this.prev<ne.finallyLoc)return ue(ne.finallyLoc)}else if(fe){if(this.prev<ne.catchLoc)return ue(ne.catchLoc,!0)}else{if(!ge)throw new Error("try statement without catch or finally");if(this.prev<ne.finallyLoc)return ue(ne.finallyLoc)}}}}return oe}(),abrupt:function(){function oe(Z,q){for(var ue=this.tryEntries.length-1;ue>=0;--ue){var me=this.tryEntries[ue];if(me.tryLoc<=this.prev&&V.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var ne=me;break}}ne&&(Z==="break"||Z==="continue")&&ne.tryLoc<=q&&q<=ne.finallyLoc&&(ne=null);var be=ne?ne.completion:{};return be.type=Z,be.arg=q,ne?(this.method="next",this.next=ne.finallyLoc,j):this.complete(be)}return oe}(),complete:function(){function oe(Z,q){if(Z.type==="throw")throw Z.arg;return Z.type==="break"||Z.type==="continue"?this.next=Z.arg:Z.type==="return"?(this.rval=this.arg=Z.arg,this.method="return",this.next="end"):Z.type==="normal"&&q&&(this.next=q),j}return oe}(),finish:function(){function oe(Z){for(var q=this.tryEntries.length-1;q>=0;--q){var ue=this.tryEntries[q];if(ue.finallyLoc===Z)return this.complete(ue.completion,ue.afterLoc),ye(ue),j}}return oe}(),catch:function(){function oe(Z){for(var q=this.tryEntries.length-1;q>=0;--q){var ue=this.tryEntries[q];if(ue.tryLoc===Z){var me=ue.completion;if(me.type==="throw"){var ne=me.arg;ye(ue)}return ne}}throw new Error("illegal catch attempt")}return oe}(),delegateYield:function(){function oe(Z,q,ue){return this.delegate={iterator:he(Z),resultName:q,nextLoc:ue},this.method==="next"&&(this.arg=g),j}return oe}()},v}function e(g,v,h,V,b,B,I){try{var w=g[B](I),T=w.value}catch(A){h(A);return}w.done?v(T):Promise.resolve(T).then(V,b)}function a(g){return function(){var v=this,h=arguments;return new Promise(function(V,b){var B=g.apply(v,h);function I(T){e(B,V,b,I,w,"next",T)}function w(T){e(B,V,b,I,w,"throw",T)}I(void 0)})}}/** + */var a=r.createStore=function(){function S(k,p){if(p)return p(S)(k);var l,c=[],f=function(){function s(){return l}return s}(),u=function(){function s(d){c.push(d)}return s}(),i=function(){function s(d){l=k(l,d);for(var h=0;h<c.length;h++)c[h]()}return s}();return i({type:"@@INIT"}),{dispatch:i,subscribe:u,getState:f}}return S}(),t=r.applyMiddleware=function(){function S(){for(var k=arguments.length,p=new Array(k),l=0;l<k;l++)p[l]=arguments[l];return function(c){return function(f){for(var u=arguments.length,i=new Array(u>1?u-1:0),s=1;s<u;s++)i[s-1]=arguments[s];var d=c.apply(void 0,[f].concat(i)),h=function(){function C(){throw new Error("Dispatching while constructing your middleware is not allowed.")}return C}(),v={getState:d.getState,dispatch:function(){function C(V){for(var b=arguments.length,B=new Array(b>1?b-1:0),I=1;I<b;I++)B[I-1]=arguments[I];return h.apply(void 0,[V].concat(B))}return C}()},g=p.map(function(C){return C(v)});return h=e.compose.apply(void 0,g)(d.dispatch),Object.assign({},d,{dispatch:h})}}}return S}(),o=r.combineReducers=function(){function S(k){var p=Object.keys(k),l=!1;return function(c,f){c===void 0&&(c={});for(var u=Object.assign({},c),i=0,s=p;i<s.length;i++){var d=s[i],h=k[d],v=c[d],g=h(v,f);v!==g&&(l=!0,u[d]=g)}return l?u:c}}return S}(),m=r.createAction=function(){function S(k,p){p===void 0&&(p=null);var l=function(){function c(){if(!p)return{type:k,payload:arguments.length<=0?void 0:arguments[0]};var f=p.apply(void 0,arguments);if(!f)throw new Error("prepare function did not return an object");var u={type:k};return"payload"in f&&(u.payload=f.payload),"meta"in f&&(u.meta=f.meta),u}return c}();return l.toString=function(){return""+k},l.type=k,l.match=function(c){return c.type===k},l}return S}(),N=r.useDispatch=function(){function S(k){return k.store.dispatch}return S}(),y=r.useSelector=function(){function S(k,p){return p(k.store.getState())}return S}()},66450:function(L,r){"use strict";r.__esModule=!0,r.storage=r.IMPL_MEMORY=r.IMPL_LOCAL_STORAGE=r.IMPL_INDEXED_DB=void 0;function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return g};var v,g={},C=Object.prototype,V=C.hasOwnProperty,b=Object.defineProperty||function(oe,Z,q){oe[Z]=q.value},B=typeof Symbol=="function"?Symbol:{},I=B.iterator||"@@iterator",w=B.asyncIterator||"@@asyncIterator",T=B.toStringTag||"@@toStringTag";function A(oe,Z,q){return Object.defineProperty(oe,Z,{value:q,enumerable:!0,configurable:!0,writable:!0}),oe[Z]}try{A({},"")}catch(oe){A=function(q,ue,se){return q[ue]=se}}function x(oe,Z,q,ue){var se=Z&&Z.prototype instanceof F?Z:F,ne=Object.create(se.prototype),be=new Be(ue||[]);return b(ne,"_invoke",{value:re(oe,q,be)}),ne}function E(oe,Z,q){try{return{type:"normal",arg:oe.call(Z,q)}}catch(ue){return{type:"throw",arg:ue}}}g.wrap=x;var M="suspendedStart",j="suspendedYield",P="executing",R="completed",D={};function F(){}function W(){}function _(){}var H={};A(H,I,function(){return this});var z=Object.getPrototypeOf,$=z&&z(z(he([])));$&&$!==C&&V.call($,I)&&(H=$);var X=_.prototype=F.prototype=Object.create(H);function J(oe){["next","throw","return"].forEach(function(Z){A(oe,Z,function(q){return this._invoke(Z,q)})})}function ce(oe,Z){function q(se,ne,be,fe){var ge=E(oe[se],oe,ne);if(ge.type!=="throw"){var ke=ge.arg,ve=ke.value;return ve&&typeof ve=="object"&&V.call(ve,"__await")?Z.resolve(ve.__await).then(function(Se){q("next",Se,be,fe)},function(Se){q("throw",Se,be,fe)}):Z.resolve(ve).then(function(Se){ke.value=Se,be(ke)},function(Se){return q("throw",Se,be,fe)})}fe(ge.arg)}var ue;b(this,"_invoke",{value:function(){function se(ne,be){function fe(){return new Z(function(ge,ke){q(ne,be,ge,ke)})}return ue=ue?ue.then(fe,fe):fe()}return se}()})}function re(oe,Z,q){var ue=M;return function(se,ne){if(ue===P)throw Error("Generator is already running");if(ue===R){if(se==="throw")throw ne;return{value:v,done:!0}}for(q.method=se,q.arg=ne;;){var be=q.delegate;if(be){var fe=me(be,q);if(fe){if(fe===D)continue;return fe}}if(q.method==="next")q.sent=q._sent=q.arg;else if(q.method==="throw"){if(ue===M)throw ue=R,q.arg;q.dispatchException(q.arg)}else q.method==="return"&&q.abrupt("return",q.arg);ue=P;var ge=E(oe,Z,q);if(ge.type==="normal"){if(ue=q.done?R:j,ge.arg===D)continue;return{value:ge.arg,done:q.done}}ge.type==="throw"&&(ue=R,q.method="throw",q.arg=ge.arg)}}}function me(oe,Z){var q=Z.method,ue=oe.iterator[q];if(ue===v)return Z.delegate=null,q==="throw"&&oe.iterator.return&&(Z.method="return",Z.arg=v,me(oe,Z),Z.method==="throw")||q!=="return"&&(Z.method="throw",Z.arg=new TypeError("The iterator does not provide a '"+q+"' method")),D;var se=E(ue,oe.iterator,Z.arg);if(se.type==="throw")return Z.method="throw",Z.arg=se.arg,Z.delegate=null,D;var ne=se.arg;return ne?ne.done?(Z[oe.resultName]=ne.value,Z.next=oe.nextLoc,Z.method!=="return"&&(Z.method="next",Z.arg=v),Z.delegate=null,D):ne:(Z.method="throw",Z.arg=new TypeError("iterator result is not an object"),Z.delegate=null,D)}function pe(oe){var Z={tryLoc:oe[0]};1 in oe&&(Z.catchLoc=oe[1]),2 in oe&&(Z.finallyLoc=oe[2],Z.afterLoc=oe[3]),this.tryEntries.push(Z)}function ye(oe){var Z=oe.completion||{};Z.type="normal",delete Z.arg,oe.completion=Z}function Be(oe){this.tryEntries=[{tryLoc:"root"}],oe.forEach(pe,this),this.reset(!0)}function he(oe){if(oe||oe===""){var Z=oe[I];if(Z)return Z.call(oe);if(typeof oe.next=="function")return oe;if(!isNaN(oe.length)){var q=-1,ue=function(){function se(){for(;++q<oe.length;)if(V.call(oe,q))return se.value=oe[q],se.done=!1,se;return se.value=v,se.done=!0,se}return se}();return ue.next=ue}}throw new TypeError(typeof oe+" is not iterable")}return W.prototype=_,b(X,"constructor",{value:_,configurable:!0}),b(_,"constructor",{value:W,configurable:!0}),W.displayName=A(_,T,"GeneratorFunction"),g.isGeneratorFunction=function(oe){var Z=typeof oe=="function"&&oe.constructor;return!!Z&&(Z===W||(Z.displayName||Z.name)==="GeneratorFunction")},g.mark=function(oe){return Object.setPrototypeOf?Object.setPrototypeOf(oe,_):(oe.__proto__=_,A(oe,T,"GeneratorFunction")),oe.prototype=Object.create(X),oe},g.awrap=function(oe){return{__await:oe}},J(ce.prototype),A(ce.prototype,w,function(){return this}),g.AsyncIterator=ce,g.async=function(oe,Z,q,ue,se){se===void 0&&(se=Promise);var ne=new ce(x(oe,Z,q,ue),se);return g.isGeneratorFunction(Z)?ne:ne.next().then(function(be){return be.done?be.value:ne.next()})},J(X),A(X,T,"Generator"),A(X,I,function(){return this}),A(X,"toString",function(){return"[object Generator]"}),g.keys=function(oe){var Z=Object(oe),q=[];for(var ue in Z)q.push(ue);return q.reverse(),function(){function se(){for(;q.length;){var ne=q.pop();if(ne in Z)return se.value=ne,se.done=!1,se}return se.done=!0,se}return se}()},g.values=he,Be.prototype={constructor:Be,reset:function(){function oe(Z){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(ye),!Z)for(var q in this)q.charAt(0)==="t"&&V.call(this,q)&&!isNaN(+q.slice(1))&&(this[q]=v)}return oe}(),stop:function(){function oe(){this.done=!0;var Z=this.tryEntries[0].completion;if(Z.type==="throw")throw Z.arg;return this.rval}return oe}(),dispatchException:function(){function oe(Z){if(this.done)throw Z;var q=this;function ue(ke,ve){return be.type="throw",be.arg=Z,q.next=ke,ve&&(q.method="next",q.arg=v),!!ve}for(var se=this.tryEntries.length-1;se>=0;--se){var ne=this.tryEntries[se],be=ne.completion;if(ne.tryLoc==="root")return ue("end");if(ne.tryLoc<=this.prev){var fe=V.call(ne,"catchLoc"),ge=V.call(ne,"finallyLoc");if(fe&&ge){if(this.prev<ne.catchLoc)return ue(ne.catchLoc,!0);if(this.prev<ne.finallyLoc)return ue(ne.finallyLoc)}else if(fe){if(this.prev<ne.catchLoc)return ue(ne.catchLoc,!0)}else{if(!ge)throw Error("try statement without catch or finally");if(this.prev<ne.finallyLoc)return ue(ne.finallyLoc)}}}}return oe}(),abrupt:function(){function oe(Z,q){for(var ue=this.tryEntries.length-1;ue>=0;--ue){var se=this.tryEntries[ue];if(se.tryLoc<=this.prev&&V.call(se,"finallyLoc")&&this.prev<se.finallyLoc){var ne=se;break}}ne&&(Z==="break"||Z==="continue")&&ne.tryLoc<=q&&q<=ne.finallyLoc&&(ne=null);var be=ne?ne.completion:{};return be.type=Z,be.arg=q,ne?(this.method="next",this.next=ne.finallyLoc,D):this.complete(be)}return oe}(),complete:function(){function oe(Z,q){if(Z.type==="throw")throw Z.arg;return Z.type==="break"||Z.type==="continue"?this.next=Z.arg:Z.type==="return"?(this.rval=this.arg=Z.arg,this.method="return",this.next="end"):Z.type==="normal"&&q&&(this.next=q),D}return oe}(),finish:function(){function oe(Z){for(var q=this.tryEntries.length-1;q>=0;--q){var ue=this.tryEntries[q];if(ue.finallyLoc===Z)return this.complete(ue.completion,ue.afterLoc),ye(ue),D}}return oe}(),catch:function(){function oe(Z){for(var q=this.tryEntries.length-1;q>=0;--q){var ue=this.tryEntries[q];if(ue.tryLoc===Z){var se=ue.completion;if(se.type==="throw"){var ne=se.arg;ye(ue)}return ne}}throw Error("illegal catch attempt")}return oe}(),delegateYield:function(){function oe(Z,q,ue){return this.delegate={iterator:he(Z),resultName:q,nextLoc:ue},this.method==="next"&&(this.arg=v),D}return oe}()},g}function e(v,g,C,V,b,B,I){try{var w=v[B](I),T=w.value}catch(A){C(A);return}w.done?g(T):Promise.resolve(T).then(V,b)}function a(v){return function(){var g=this,C=arguments;return new Promise(function(V,b){var B=v.apply(g,C);function I(T){e(B,V,b,I,w,"next",T)}function w(T){e(B,V,b,I,w,"throw",T)}I(void 0)})}}/** * Browser-agnostic abstraction of key-value web storage. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=r.IMPL_MEMORY=0,o=r.IMPL_LOCAL_STORAGE=1,m=r.IMPL_INDEXED_DB=2,N=1,y="para-tgui",S="storage-v1",k="readonly",p="readwrite",l=function(v){return function(){try{return!!v()}catch(h){return!1}}},c=l(function(){return window.localStorage&&window.localStorage.getItem}),f=l(function(){return(window.indexedDB||window.msIndexedDB)&&(window.IDBTransaction||window.msIDBTransaction)}),i=function(){function g(){this.impl=t,this.store={}}var v=g.prototype;return v.get=function(){function h(V){return this.store[V]}return h}(),v.set=function(){function h(V,b){this.store[V]=b}return h}(),v.remove=function(){function h(V){this.store[V]=void 0}return h}(),v.clear=function(){function h(){this.store={}}return h}(),g}(),u=function(){function g(){this.impl=o}var v=g.prototype;return v.get=function(){function h(V){var b=localStorage.getItem(V);if(typeof b=="string")return JSON.parse(b)}return h}(),v.set=function(){function h(V,b){localStorage.setItem(V,JSON.stringify(b))}return h}(),v.remove=function(){function h(V){localStorage.removeItem(V)}return h}(),v.clear=function(){function h(){localStorage.clear()}return h}(),g}(),s=function(){function g(){this.impl=m,this.dbPromise=new Promise(function(h,V){var b=window.indexedDB||window.msIndexedDB,B=b.open(y,N);B.onupgradeneeded=function(){try{B.result.createObjectStore(S)}catch(I){V(new Error("Failed to upgrade IDB: "+B.error))}},B.onsuccess=function(){return h(B.result)},B.onerror=function(){V(new Error("Failed to open IDB: "+B.error))}})}var v=g.prototype;return v.getStore=function(){function h(V){return this.dbPromise.then(function(b){return b.transaction(S,V).objectStore(S)})}return h}(),v.get=function(){var h=a(n().mark(function(){function b(B){var I;return n().wrap(function(){function w(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,this.getStore(k);case 2:return I=T.sent,T.abrupt("return",new Promise(function(A,x){var E=I.get(B);E.onsuccess=function(){return A(E.result)},E.onerror=function(){return x(E.error)}}));case 4:case"end":return T.stop()}}return w}(),b,this)}return b}()));function V(b){return h.apply(this,arguments)}return V}(),v.set=function(){var h=a(n().mark(function(){function b(B,I){var w;return n().wrap(function(){function T(A){for(;;)switch(A.prev=A.next){case 0:return I===null&&(I=void 0),A.next=3,this.getStore(p);case 3:w=A.sent,w.put(I,B);case 5:case"end":return A.stop()}}return T}(),b,this)}return b}()));function V(b,B){return h.apply(this,arguments)}return V}(),v.remove=function(){var h=a(n().mark(function(){function b(B){var I;return n().wrap(function(){function w(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,this.getStore(p);case 2:I=T.sent,I.delete(B);case 4:case"end":return T.stop()}}return w}(),b,this)}return b}()));function V(b){return h.apply(this,arguments)}return V}(),v.clear=function(){var h=a(n().mark(function(){function b(){var B;return n().wrap(function(){function I(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.getStore(p);case 2:B=w.sent,B.clear();case 4:case"end":return w.stop()}}return I}(),b,this)}return b}()));function V(){return h.apply(this,arguments)}return V}(),g}(),d=function(){function g(){this.backendPromise=a(n().mark(function(){function h(){var V;return n().wrap(function(){function b(B){for(;;)switch(B.prev=B.next){case 0:if(!f()){B.next=10;break}return B.prev=1,V=new s,B.next=5,V.dbPromise;case 5:return B.abrupt("return",V);case 8:B.prev=8,B.t0=B.catch(1);case 10:if(!c()){B.next=12;break}return B.abrupt("return",new u);case 12:return B.abrupt("return",new i);case 13:case"end":return B.stop()}}return b}(),h,null,[[1,8]])}return h}()))()}var v=g.prototype;return v.get=function(){var h=a(n().mark(function(){function b(B){var I;return n().wrap(function(){function w(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,this.backendPromise;case 2:return I=T.sent,T.abrupt("return",I.get(B));case 4:case"end":return T.stop()}}return w}(),b,this)}return b}()));function V(b){return h.apply(this,arguments)}return V}(),v.set=function(){var h=a(n().mark(function(){function b(B,I){var w;return n().wrap(function(){function T(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this.backendPromise;case 2:return w=A.sent,A.abrupt("return",w.set(B,I));case 4:case"end":return A.stop()}}return T}(),b,this)}return b}()));function V(b,B){return h.apply(this,arguments)}return V}(),v.remove=function(){var h=a(n().mark(function(){function b(B){var I;return n().wrap(function(){function w(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,this.backendPromise;case 2:return I=T.sent,T.abrupt("return",I.remove(B));case 4:case"end":return T.stop()}}return w}(),b,this)}return b}()));function V(b){return h.apply(this,arguments)}return V}(),v.clear=function(){var h=a(n().mark(function(){function b(){var B;return n().wrap(function(){function I(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.backendPromise;case 2:return B=w.sent,w.abrupt("return",B.clear());case 4:case"end":return w.stop()}}return I}(),b,this)}return b}()));function V(){return h.apply(this,arguments)}return V}(),g}(),C=r.storage=new d},37843:function(L,r){"use strict";r.__esModule=!0,r.toTitleCase=r.multiline=r.decodeHtmlEntities=r.createSearch=r.createGlobPattern=r.capitalize=r.buildQueryString=void 0;function n(p,l){var c=typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(c)return(c=c.call(p)).next.bind(c);if(Array.isArray(p)||(c=e(p))||l&&p&&typeof p.length=="number"){c&&(p=c);var f=0;return function(){return f>=p.length?{done:!0}:{done:!1,value:p[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(p,l){if(p){if(typeof p=="string")return a(p,l);var c=Object.prototype.toString.call(p).slice(8,-1);if(c==="Object"&&p.constructor&&(c=p.constructor.name),c==="Map"||c==="Set")return Array.from(p);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return a(p,l)}}function a(p,l){(l==null||l>p.length)&&(l=p.length);for(var c=0,f=new Array(l);c<l;c++)f[c]=p[c];return f}/** + */var t=r.IMPL_MEMORY=0,o=r.IMPL_LOCAL_STORAGE=1,m=r.IMPL_INDEXED_DB=2,N=1,y="para-tgui",S="storage-v1",k="readonly",p="readwrite",l=function(g){return function(){try{return!!g()}catch(C){return!1}}},c=l(function(){return window.localStorage&&window.localStorage.getItem}),f=l(function(){return(window.indexedDB||window.msIndexedDB)&&(window.IDBTransaction||window.msIDBTransaction)}),u=function(){function v(){this.impl=t,this.store={}}var g=v.prototype;return g.get=function(){function C(V){return this.store[V]}return C}(),g.set=function(){function C(V,b){this.store[V]=b}return C}(),g.remove=function(){function C(V){this.store[V]=void 0}return C}(),g.clear=function(){function C(){this.store={}}return C}(),v}(),i=function(){function v(){this.impl=o}var g=v.prototype;return g.get=function(){function C(V){var b=localStorage.getItem(V);if(typeof b=="string")return JSON.parse(b)}return C}(),g.set=function(){function C(V,b){localStorage.setItem(V,JSON.stringify(b))}return C}(),g.remove=function(){function C(V){localStorage.removeItem(V)}return C}(),g.clear=function(){function C(){localStorage.clear()}return C}(),v}(),s=function(){function v(){this.impl=m,this.dbPromise=new Promise(function(C,V){var b=window.indexedDB||window.msIndexedDB,B=b.open(y,N);B.onupgradeneeded=function(){try{B.result.createObjectStore(S)}catch(I){V(new Error("Failed to upgrade IDB: "+B.error))}},B.onsuccess=function(){return C(B.result)},B.onerror=function(){V(new Error("Failed to open IDB: "+B.error))}})}var g=v.prototype;return g.getStore=function(){function C(V){return this.dbPromise.then(function(b){return b.transaction(S,V).objectStore(S)})}return C}(),g.get=function(){var C=a(n().mark(function(){function b(B){var I;return n().wrap(function(){function w(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,this.getStore(k);case 2:return I=T.sent,T.abrupt("return",new Promise(function(A,x){var E=I.get(B);E.onsuccess=function(){return A(E.result)},E.onerror=function(){return x(E.error)}}));case 4:case"end":return T.stop()}}return w}(),b,this)}return b}()));function V(b){return C.apply(this,arguments)}return V}(),g.set=function(){var C=a(n().mark(function(){function b(B,I){var w;return n().wrap(function(){function T(A){for(;;)switch(A.prev=A.next){case 0:return I===null&&(I=void 0),A.next=3,this.getStore(p);case 3:w=A.sent,w.put(I,B);case 5:case"end":return A.stop()}}return T}(),b,this)}return b}()));function V(b,B){return C.apply(this,arguments)}return V}(),g.remove=function(){var C=a(n().mark(function(){function b(B){var I;return n().wrap(function(){function w(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,this.getStore(p);case 2:I=T.sent,I.delete(B);case 4:case"end":return T.stop()}}return w}(),b,this)}return b}()));function V(b){return C.apply(this,arguments)}return V}(),g.clear=function(){var C=a(n().mark(function(){function b(){var B;return n().wrap(function(){function I(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.getStore(p);case 2:B=w.sent,B.clear();case 4:case"end":return w.stop()}}return I}(),b,this)}return b}()));function V(){return C.apply(this,arguments)}return V}(),v}(),d=function(){function v(){this.backendPromise=a(n().mark(function(){function C(){var V;return n().wrap(function(){function b(B){for(;;)switch(B.prev=B.next){case 0:if(!f()){B.next=10;break}return B.prev=1,V=new s,B.next=5,V.dbPromise;case 5:return B.abrupt("return",V);case 8:B.prev=8,B.t0=B.catch(1);case 10:if(!c()){B.next=12;break}return B.abrupt("return",new i);case 12:return B.abrupt("return",new u);case 13:case"end":return B.stop()}}return b}(),C,null,[[1,8]])}return C}()))()}var g=v.prototype;return g.get=function(){var C=a(n().mark(function(){function b(B){var I;return n().wrap(function(){function w(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,this.backendPromise;case 2:return I=T.sent,T.abrupt("return",I.get(B));case 4:case"end":return T.stop()}}return w}(),b,this)}return b}()));function V(b){return C.apply(this,arguments)}return V}(),g.set=function(){var C=a(n().mark(function(){function b(B,I){var w;return n().wrap(function(){function T(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this.backendPromise;case 2:return w=A.sent,A.abrupt("return",w.set(B,I));case 4:case"end":return A.stop()}}return T}(),b,this)}return b}()));function V(b,B){return C.apply(this,arguments)}return V}(),g.remove=function(){var C=a(n().mark(function(){function b(B){var I;return n().wrap(function(){function w(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,this.backendPromise;case 2:return I=T.sent,T.abrupt("return",I.remove(B));case 4:case"end":return T.stop()}}return w}(),b,this)}return b}()));function V(b){return C.apply(this,arguments)}return V}(),g.clear=function(){var C=a(n().mark(function(){function b(){var B;return n().wrap(function(){function I(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.backendPromise;case 2:return B=w.sent,w.abrupt("return",B.clear());case 4:case"end":return w.stop()}}return I}(),b,this)}return b}()));function V(){return C.apply(this,arguments)}return V}(),v}(),h=r.storage=new d},78234:function(L,r){"use strict";r.__esModule=!0,r.toTitleCase=r.multiline=r.decodeHtmlEntities=r.createSearch=r.createGlobPattern=r.capitalize=r.buildQueryString=void 0;function n(p,l){var c=typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(c)return(c=c.call(p)).next.bind(c);if(Array.isArray(p)||(c=e(p))||l&&p&&typeof p.length=="number"){c&&(p=c);var f=0;return function(){return f>=p.length?{done:!0}:{done:!1,value:p[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(p,l){if(p){if(typeof p=="string")return a(p,l);var c=Object.prototype.toString.call(p).slice(8,-1);if(c==="Object"&&p.constructor&&(c=p.constructor.name),c==="Map"||c==="Set")return Array.from(p);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return a(p,l)}}function a(p,l){(l==null||l>p.length)&&(l=p.length);for(var c=0,f=new Array(l);c<l;c++)f[c]=p[c];return f}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=r.multiline=function(){function p(l){if(Array.isArray(l))return p(l.join(""));for(var c=l.split("\n"),f,i=n(c),u;!(u=i()).done;)for(var s=u.value,d=0;d<s.length;d++){var C=s[d];if(C!==" "){(f===void 0||d<f)&&(f=d);break}}return f||(f=0),c.map(function(g){return g.substr(f).trimRight()}).join("\n").trim()}return p}(),o=r.createGlobPattern=function(){function p(l){var c=function(){function i(u){return u.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}return i}(),f=new RegExp("^"+l.split(/\*+/).map(c).join(".*")+"$");return function(i){return f.test(i)}}return p}(),m=r.createSearch=function(){function p(l,c){var f=l.toLowerCase().trim();return function(i){if(!f)return!0;var u=c?c(i):i;return u?u.toLowerCase().includes(f):!1}}return p}(),N=r.capitalize=function(){function p(l){return Array.isArray(l)?l.map(p):l.charAt(0).toUpperCase()+l.slice(1).toLowerCase()}return p}(),y=r.toTitleCase=function(){function p(l){if(Array.isArray(l))return l.map(p);if(typeof l!="string")return l;for(var c=["Id","Tv"],f=["A","An","And","As","At","But","By","For","For","From","In","Into","Near","Nor","Of","On","Onto","Or","The","To","With"],i=l.replace(/([^\W_]+[^\s-]*) */g,function(b){return b.charAt(0).toUpperCase()+b.substr(1).toLowerCase()}),u=0,s=f;u<s.length;u++){var d=s[u],C=new RegExp("\\s"+d+"\\s","g");i=i.replace(C,function(b){return b.toLowerCase()})}for(var g=0,v=c;g<v.length;g++){var h=v[g],V=new RegExp("\\b"+h+"\\b","g");i=i.replace(V,function(b){return b.toLowerCase()})}return i}return p}(),S=r.decodeHtmlEntities=function(){function p(l){if(!l)return l;var c=/&(nbsp|amp|quot|lt|gt|apos);/g,f={nbsp:" ",amp:"&",quot:'"',lt:"<",gt:">",apos:"'"};return l.replace(/<br>/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(c,function(i,u){return f[u]}).replace(/&#?([0-9]+);/gi,function(i,u){var s=parseInt(u,10);return String.fromCharCode(s)}).replace(/&#x?([0-9a-f]+);/gi,function(i,u){var s=parseInt(u,16);return String.fromCharCode(s)})}return p}(),k=r.buildQueryString=function(){function p(l){return Object.keys(l).map(function(c){return encodeURIComponent(c)+"="+encodeURIComponent(l[c])}).join("&")}return p}()},32742:function(L,r){"use strict";r.__esModule=!0,r.throttle=r.sleep=r.debounce=void 0;/** + */var t=r.multiline=function(){function p(l){if(Array.isArray(l))return p(l.join(""));for(var c=l.split("\n"),f,u=n(c),i;!(i=u()).done;)for(var s=i.value,d=0;d<s.length;d++){var h=s[d];if(h!==" "){(f===void 0||d<f)&&(f=d);break}}return f||(f=0),c.map(function(v){return v.substr(f).trimRight()}).join("\n").trim()}return p}(),o=r.createGlobPattern=function(){function p(l){var c=function(){function u(i){return i.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}return u}(),f=new RegExp("^"+l.split(/\*+/).map(c).join(".*")+"$");return function(u){return f.test(u)}}return p}(),m=r.createSearch=function(){function p(l,c){var f=l.toLowerCase().trim();return function(u){if(!f)return!0;var i=c?c(u):u;return i?i.toLowerCase().includes(f):!1}}return p}(),N=r.capitalize=function(){function p(l){return Array.isArray(l)?l.map(p):l.charAt(0).toUpperCase()+l.slice(1).toLowerCase()}return p}(),y=r.toTitleCase=function(){function p(l){if(Array.isArray(l))return l.map(p);if(typeof l!="string")return l;for(var c=["Id","Tv"],f=["A","An","And","As","At","But","By","For","For","From","In","Into","Near","Nor","Of","On","Onto","Or","The","To","With"],u=l.replace(/([^\W_]+[^\s-]*) */g,function(b){return b.charAt(0).toUpperCase()+b.substr(1).toLowerCase()}),i=0,s=f;i<s.length;i++){var d=s[i],h=new RegExp("\\s"+d+"\\s","g");u=u.replace(h,function(b){return b.toLowerCase()})}for(var v=0,g=c;v<g.length;v++){var C=g[v],V=new RegExp("\\b"+C+"\\b","g");u=u.replace(V,function(b){return b.toLowerCase()})}return u}return p}(),S=r.decodeHtmlEntities=function(){function p(l){if(!l)return l;var c=/&(nbsp|amp|quot|lt|gt|apos);/g,f={nbsp:" ",amp:"&",quot:'"',lt:"<",gt:">",apos:"'"};return l.replace(/<br>/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(c,function(u,i){return f[i]}).replace(/&#?([0-9]+);/gi,function(u,i){var s=parseInt(i,10);return String.fromCharCode(s)}).replace(/&#x?([0-9a-f]+);/gi,function(u,i){var s=parseInt(i,16);return String.fromCharCode(s)})}return p}(),k=r.buildQueryString=function(){function p(l){return Object.keys(l).map(function(c){return encodeURIComponent(c)+"="+encodeURIComponent(l[c])}).join("&")}return p}()},56052:function(L,r){"use strict";r.__esModule=!0,r.throttle=r.sleep=r.debounce=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.debounce=function(){function t(o,m,N){N===void 0&&(N=!1);var y;return function(){for(var S=arguments.length,k=new Array(S),p=0;p<S;p++)k[p]=arguments[p];var l=function(){function f(){y=null,N||o.apply(void 0,k)}return f}(),c=N&&!y;clearTimeout(y),y=setTimeout(l,m),c&&o.apply(void 0,k)}}return t}(),e=r.sleep=function(){function t(o){return new Promise(function(m){return setTimeout(m,o)})}return t}(),a=r.throttle=function(){function t(o,m){var N,y;return function(){function S(){for(var k=arguments.length,p=new Array(k),l=0;l<k;l++)p[l]=arguments[l];var c=Date.now();if(y&&clearTimeout(y),!N||c-N>=m)o.apply(null,p),N=c;else{var f;y=setTimeout(function(){return S.apply(void 0,p)},m-(c-((f=N)!=null?f:0)))}}return S}()}return t}()},41202:function(L,r,n){"use strict";r.__esModule=!0,r.vecSubtract=r.vecScale=r.vecNormalize=r.vecMultiply=r.vecLength=r.vecInverse=r.vecDivide=r.vecAdd=void 0;var e=n(72026);/** + */var n=r.debounce=function(){function t(o,m,N){N===void 0&&(N=!1);var y;return function(){for(var S=arguments.length,k=new Array(S),p=0;p<S;p++)k[p]=arguments[p];var l=function(){function f(){y=null,N||o.apply(void 0,k)}return f}(),c=N&&!y;clearTimeout(y),y=setTimeout(l,m),c&&o.apply(void 0,k)}}return t}(),e=r.sleep=function(){function t(o){return new Promise(function(m){return setTimeout(m,o)})}return t}(),a=r.throttle=function(){function t(o,m){var N,y;return function(){function S(){for(var k=arguments.length,p=new Array(k),l=0;l<k;l++)p[l]=arguments[l];var c=Date.now();if(y&&clearTimeout(y),!N||c-N>=m)o.apply(null,p),N=c;else{var f;y=setTimeout(function(){return S.apply(void 0,p)},m-(c-((f=N)!=null?f:0)))}}return S}()}return t}()},73564:function(L,r,n){"use strict";r.__esModule=!0,r.vecSubtract=r.vecScale=r.vecNormalize=r.vecMultiply=r.vecLength=r.vecInverse=r.vecDivide=r.vecAdd=void 0;var e=n(50640);/** * N-dimensional vector manipulation functions. * * Vectors are plain number arrays, i.e. [x, y, z]. @@ -58,11 +58,11 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var a=function(u,s){return u+s},t=function(u,s){return u-s},o=function(u,s){return u*s},m=function(u,s){return u/s},N=r.vecAdd=function(){function i(){for(var u=arguments.length,s=new Array(u),d=0;d<u;d++)s[d]=arguments[d];return(0,e.reduce)(function(C,g){return(0,e.zipWith)(a)(C,g)})(s)}return i}(),y=r.vecSubtract=function(){function i(){for(var u=arguments.length,s=new Array(u),d=0;d<u;d++)s[d]=arguments[d];return(0,e.reduce)(function(C,g){return(0,e.zipWith)(t)(C,g)})(s)}return i}(),S=r.vecMultiply=function(){function i(){for(var u=arguments.length,s=new Array(u),d=0;d<u;d++)s[d]=arguments[d];return(0,e.reduce)(function(C,g){return(0,e.zipWith)(o)(C,g)})(s)}return i}(),k=r.vecDivide=function(){function i(){for(var u=arguments.length,s=new Array(u),d=0;d<u;d++)s[d]=arguments[d];return(0,e.reduce)(function(C,g){return(0,e.zipWith)(m)(C,g)})(s)}return i}(),p=r.vecScale=function(){function i(u,s){return(0,e.map)(function(d){return d*s})(u)}return i}(),l=r.vecInverse=function(){function i(u){return(0,e.map)(function(s){return-s})(u)}return i}(),c=r.vecLength=function(){function i(u){return Math.sqrt((0,e.reduce)(a)((0,e.zipWith)(o)(u,u)))}return i}(),f=r.vecNormalize=function(){function i(u){return k(u,c(u))}return i}()},96820:function(L,r){"use strict";r.__esModule=!0,r.resolveAsset=r.assetMiddleware=void 0;/** + */var a=function(i,s){return i+s},t=function(i,s){return i-s},o=function(i,s){return i*s},m=function(i,s){return i/s},N=r.vecAdd=function(){function u(){for(var i=arguments.length,s=new Array(i),d=0;d<i;d++)s[d]=arguments[d];return(0,e.reduce)(function(h,v){return(0,e.zipWith)(a)(h,v)})(s)}return u}(),y=r.vecSubtract=function(){function u(){for(var i=arguments.length,s=new Array(i),d=0;d<i;d++)s[d]=arguments[d];return(0,e.reduce)(function(h,v){return(0,e.zipWith)(t)(h,v)})(s)}return u}(),S=r.vecMultiply=function(){function u(){for(var i=arguments.length,s=new Array(i),d=0;d<i;d++)s[d]=arguments[d];return(0,e.reduce)(function(h,v){return(0,e.zipWith)(o)(h,v)})(s)}return u}(),k=r.vecDivide=function(){function u(){for(var i=arguments.length,s=new Array(i),d=0;d<i;d++)s[d]=arguments[d];return(0,e.reduce)(function(h,v){return(0,e.zipWith)(m)(h,v)})(s)}return u}(),p=r.vecScale=function(){function u(i,s){return(0,e.map)(function(d){return d*s})(i)}return u}(),l=r.vecInverse=function(){function u(i){return(0,e.map)(function(s){return-s})(i)}return u}(),c=r.vecLength=function(){function u(i){return Math.sqrt((0,e.reduce)(a)((0,e.zipWith)(o)(i,i)))}return u}(),f=r.vecNormalize=function(){function u(i){return k(i,c(i))}return u}()},17442:function(L,r){"use strict";r.__esModule=!0,r.resolveAsset=r.assetMiddleware=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=[/v4shim/i],e={},a=r.resolveAsset=function(){function o(m){return e[m]||m}return o}(),t=r.assetMiddleware=function(){function o(m){return function(N){return function(y){var S=y.type,k=y.payload;if(S==="asset/stylesheet"){Byond.loadCss(k);return}if(S==="asset/mappings"){for(var p=function(){function f(){var i=c[l];if(n.some(function(d){return d.test(i)}))return 1;var u=k[i],s=i.split(".").pop();e[i]=u,s==="css"&&Byond.loadCss(u),s==="js"&&Byond.loadJs(u)}return f}(),l=0,c=Object.keys(k);l<c.length;l++)p();return}N(y)}}}return o}()},91819:function(L,r,n){"use strict";r.__esModule=!0,r.useSharedState=r.useLocalState=r.useBackend=r.sendAct=r.selectBackend=r.backendUpdate=r.backendSuspendSuccess=r.backendSuspendStart=r.backendSetSharedState=r.backendReducer=r.backendMiddleware=void 0;var e=n(60031),a=n(90816),t=n(45360),o=n(16671),m=n(50175),N=n(64960);/** + */var n=[/v4shim/i],e={},a=r.resolveAsset=function(){function o(m){return e[m]||m}return o}(),t=r.assetMiddleware=function(){function o(m){return function(N){return function(y){var S=y.type,k=y.payload;if(S==="asset/stylesheet"){Byond.loadCss(k);return}if(S==="asset/mappings"){for(var p=function(){function f(){var u=c[l];if(n.some(function(d){return d.test(u)}))return 1;var i=k[u],s=u.split(".").pop();e[u]=i,s==="css"&&Byond.loadCss(i),s==="js"&&Byond.loadJs(i)}return f}(),l=0,c=Object.keys(k);l<c.length;l++)p();return}N(y)}}}return o}()},17899:function(L,r,n){"use strict";r.__esModule=!0,r.useSharedState=r.useLocalState=r.useBackend=r.sendAct=r.selectBackend=r.backendUpdate=r.backendSuspendSuccess=r.backendSuspendStart=r.backendSetSharedState=r.backendReducer=r.backendMiddleware=void 0;var e=n(63560),a=n(88605),t=n(83987),o=n(92017),m=n(81856),N=n(7570);/** * This file provides a clear separation layer between backend updates * and what state our React app sees. * @@ -73,261 +73,261 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var y=(0,m.createLogger)("backend"),S=r.backendUpdate=(0,a.createAction)("backend/update"),k=r.backendSetSharedState=(0,a.createAction)("backend/setSharedState"),p=r.backendSuspendStart=(0,a.createAction)("backend/suspendStart"),l=r.backendSuspendSuccess=function(){function v(){return{type:"backend/suspendSuccess",payload:{timestamp:Date.now()}}}return v}(),c={config:{},data:{},shared:{},suspended:Date.now(),suspending:!1},f=r.backendReducer=function(){function v(h,V){h===void 0&&(h=c);var b=V.type,B=V.payload;if(b==="backend/update"){var I=Object.assign({},h.config,B.config),w=Object.assign({},h.data,B.static_data,B.data),T=Object.assign({},h.shared);if(B.shared)for(var A=0,x=Object.keys(B.shared);A<x.length;A++){var E=x[A],P=B.shared[E];P===""?T[E]=void 0:T[E]=JSON.parse(P)}return Object.assign({},h,{config:I,data:w,shared:T,suspended:!1})}if(b==="backend/setSharedState"){var D,M=B.key,O=B.nextState;return Object.assign({},h,{shared:Object.assign({},h.shared,(D={},D[M]=O,D))})}if(b==="backend/suspendStart")return Object.assign({},h,{suspending:!0});if(b==="backend/suspendSuccess"){var j=B.timestamp;return Object.assign({},h,{data:{},shared:{},config:Object.assign({},h.config,{title:"",status:1}),suspending:!1,suspended:j})}return h}return v}(),i=r.backendMiddleware=function(){function v(h){var V,b;return function(B){return function(I){var w=s(h.getState()),T=w.suspended,A=I.type,x=I.payload;if(A==="update"){h.dispatch(S(x));return}if(A==="suspend"){h.dispatch(l());return}if(A==="ping"){Byond.sendMessage("ping/reply");return}if(A==="backend/suspendStart"&&!b){y.log("suspending ("+Byond.windowId+")");var E=function(){function M(){return Byond.sendMessage("suspend")}return M}();E(),b=setInterval(E,2e3)}if(A==="backend/suspendSuccess"&&((0,N.suspendRenderer)(),clearInterval(b),b=void 0,Byond.winset(Byond.windowId,{"is-visible":!1}),setImmediate(function(){return(0,o.focusMap)()})),A==="backend/update"){var P,D=(P=x.config)==null||(P=P.window)==null?void 0:P.fancy;V===void 0?V=D:V!==D&&(y.log("changing fancy mode to",D),V=D,Byond.winset(Byond.windowId,{titlebar:!D,"can-resize":!D}))}return A==="backend/update"&&T&&(y.log("backend/update",x),(0,N.resumeRenderer)(),(0,t.setupDrag)(),setImmediate(function(){e.perf.mark("resume/start");var M=s(h.getState()),O=M.suspended;O||(Byond.winset(Byond.windowId,{"is-visible":!0}),e.perf.mark("resume/finish"))})),B(I)}}}return v}(),u=r.sendAct=function(){function v(h,V){V===void 0&&(V={});var b=typeof V=="object"&&V!==null&&!Array.isArray(V);if(!b){y.error("Payload for act() must be an object, got this:",V);return}Byond.sendMessage("act/"+h,V)}return v}(),s=r.selectBackend=function(){function v(h){return h.backend||{}}return v}(),d=r.useBackend=function(){function v(h){var V=h.store,b=s(V.getState());return Object.assign({},b,{act:u})}return v}(),C=r.useLocalState=function(){function v(h,V,b){var B,I=h.store,w=s(I.getState()),T=(B=w.shared)!=null?B:{},A=V in T?T[V]:b;return[A,function(x){I.dispatch(k({key:V,nextState:typeof x=="function"?x(A):x}))}]}return v}(),g=r.useSharedState=function(){function v(h,V,b){var B,I=h.store,w=s(I.getState()),T=(B=w.shared)!=null?B:{},A=V in T?T[V]:b;return[A,function(x){Byond.sendMessage({type:"setSharedState",key:V,value:JSON.stringify(typeof x=="function"?x(A):x)||""})}]}return v}()},15281:function(L,r,n){"use strict";r.__esModule=!0,r.AnimatedNumber=void 0;var e=n(58331),a=n(28823);function t(k,p){k.prototype=Object.create(p.prototype),k.prototype.constructor=k,o(k,p)}function o(k,p){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function l(c,f){return c.__proto__=f,c}return l}(),o(k,p)}/** + */var y=(0,m.createLogger)("backend"),S=r.backendUpdate=(0,a.createAction)("backend/update"),k=r.backendSetSharedState=(0,a.createAction)("backend/setSharedState"),p=r.backendSuspendStart=(0,a.createAction)("backend/suspendStart"),l=r.backendSuspendSuccess=function(){function g(){return{type:"backend/suspendSuccess",payload:{timestamp:Date.now()}}}return g}(),c={config:{},data:{},shared:{},suspended:Date.now(),suspending:!1},f=r.backendReducer=function(){function g(C,V){C===void 0&&(C=c);var b=V.type,B=V.payload;if(b==="backend/update"){var I=Object.assign({},C.config,B.config),w=Object.assign({},C.data,B.static_data,B.data),T=Object.assign({},C.shared);if(B.shared)for(var A=0,x=Object.keys(B.shared);A<x.length;A++){var E=x[A],M=B.shared[E];M===""?T[E]=void 0:T[E]=JSON.parse(M)}return Object.assign({},C,{config:I,data:w,shared:T,suspended:!1})}if(b==="backend/setSharedState"){var j,P=B.key,R=B.nextState;return Object.assign({},C,{shared:Object.assign({},C.shared,(j={},j[P]=R,j))})}if(b==="backend/suspendStart")return Object.assign({},C,{suspending:!0});if(b==="backend/suspendSuccess"){var D=B.timestamp;return Object.assign({},C,{data:{},shared:{},config:Object.assign({},C.config,{title:"",status:1}),suspending:!1,suspended:D})}return C}return g}(),u=r.backendMiddleware=function(){function g(C){var V,b;return function(B){return function(I){var w=s(C.getState()),T=w.suspended,A=I.type,x=I.payload;if(A==="update"){C.dispatch(S(x));return}if(A==="suspend"){C.dispatch(l());return}if(A==="ping"){Byond.sendMessage("ping/reply");return}if(A==="backend/suspendStart"&&!b){y.log("suspending ("+Byond.windowId+")");var E=function(){function P(){return Byond.sendMessage("suspend")}return P}();E(),b=setInterval(E,2e3)}if(A==="backend/suspendSuccess"&&((0,N.suspendRenderer)(),clearInterval(b),b=void 0,Byond.winset(Byond.windowId,{"is-visible":!1}),setTimeout(function(){return(0,o.focusMap)()})),A==="backend/update"){var M,j=(M=x.config)==null||(M=M.window)==null?void 0:M.fancy;V===void 0?V=j:V!==j&&(y.log("changing fancy mode to",j),V=j,Byond.winset(Byond.windowId,{titlebar:!j,"can-resize":!j}))}return A==="backend/update"&&T&&(y.log("backend/update",x),(0,N.resumeRenderer)(),(0,t.setupDrag)(),setTimeout(function(){e.perf.mark("resume/start");var P=s(C.getState()),R=P.suspended;R||(Byond.winset(Byond.windowId,{"is-visible":!0}),e.perf.mark("resume/finish"))})),B(I)}}}return g}(),i=r.sendAct=function(){function g(C,V){V===void 0&&(V={});var b=typeof V=="object"&&V!==null&&!Array.isArray(V);if(!b){y.error("Payload for act() must be an object, got this:",V);return}Byond.sendMessage("act/"+C,V)}return g}(),s=r.selectBackend=function(){function g(C){return C.backend||{}}return g}(),d=r.useBackend=function(){function g(C){var V=C.store,b=s(V.getState());return Object.assign({},b,{act:i})}return g}(),h=r.useLocalState=function(){function g(C,V,b){var B,I=C.store,w=s(I.getState()),T=(B=w.shared)!=null?B:{},A=V in T?T[V]:b;return[A,function(x){I.dispatch(k({key:V,nextState:typeof x=="function"?x(A):x}))}]}return g}(),v=r.useSharedState=function(){function g(C,V,b){var B,I=C.store,w=s(I.getState()),T=(B=w.shared)!=null?B:{},A=V in T?T[V]:b;return[A,function(x){Byond.sendMessage({type:"setSharedState",key:V,value:JSON.stringify(typeof x=="function"?x(A):x)||""})}]}return g}()},65416:function(L,r,n){"use strict";r.__esModule=!0,r.AnimatedNumber=void 0;var e=n(36121),a=n(96524);function t(k,p){k.prototype=Object.create(p.prototype),k.prototype.constructor=k,o(k,p)}function o(k,p){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function l(c,f){return c.__proto__=f,c}return l}(),o(k,p)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var m=20,N=.5,y=function(p){return typeof p=="number"&&Number.isFinite(p)&&!Number.isNaN(p)},S=r.AnimatedNumber=function(k){t(p,k);function p(c){var f;return f=k.call(this,c)||this,f.timer=null,f.state={value:0},y(c.initial)?f.state.value=c.initial:y(c.value)&&(f.state.value=Number(c.value)),f}var l=p.prototype;return l.tick=function(){function c(){var f=this.props,i=this.state,u=Number(i.value),s=Number(f.value);if(y(s)){var d=u*N+s*(1-N);this.setState({value:d})}}return c}(),l.componentDidMount=function(){function c(){var f=this;this.timer=setInterval(function(){return f.tick()},1e3/m)}return c}(),l.componentWillUnmount=function(){function c(){clearTimeout(this.timer)}return c}(),l.render=function(){function c(){var f=this.props,i=this.state,u=f.format,s=f.children,d=i.value,C=f.value;if(!y(C))return C||null;var g=d;if(u)g=u(d);else{var v=String(C).split(".")[1],h=v?v.length:0;g=(0,e.toFixed)(d,(0,e.clamp)(h,0,8))}return typeof s=="function"?s(g,d):g}return c}(),p}(a.Component)},81789:function(L,r,n){"use strict";r.__esModule=!0,r.Autofocus=void 0;var e=n(28823);function a(m,N){m.prototype=Object.create(N.prototype),m.prototype.constructor=m,t(m,N)}function t(m,N){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function y(S,k){return S.__proto__=k,S}return y}(),t(m,N)}var o=r.Autofocus=function(m){a(N,m);function N(){for(var S,k=arguments.length,p=new Array(k),l=0;l<k;l++)p[l]=arguments[l];return S=m.call.apply(m,[this].concat(p))||this,S.ref=(0,e.createRef)(),S}var y=N.prototype;return y.componentDidMount=function(){function S(){var k=this;setTimeout(function(){var p;(p=k.ref.current)==null||p.focus()},1)}return S}(),y.render=function(){function S(){return(0,e.createVNode)(1,"div",null,this.props.children,0,{tabIndex:-1},null,this.ref)}return S}(),N}(e.Component)},11316:function(L,r,n){"use strict";r.__esModule=!0,r.Blink=void 0;var e=n(28823);function a(y,S){y.prototype=Object.create(S.prototype),y.prototype.constructor=y,t(y,S)}function t(y,S){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function k(p,l){return p.__proto__=l,p}return k}(),t(y,S)}var o=1e3,m=1e3,N=r.Blink=function(y){a(S,y);function S(){var p;return p=y.call(this)||this,p.state={hidden:!1},p}var k=S.prototype;return k.createTimer=function(){function p(){var l=this,c=this.props,f=c.interval,i=f===void 0?o:f,u=c.time,s=u===void 0?m:u;clearInterval(this.interval),clearTimeout(this.timer),this.setState({hidden:!1}),this.interval=setInterval(function(){l.setState({hidden:!0}),l.timer=setTimeout(function(){l.setState({hidden:!1})},s)},i+s)}return p}(),k.componentDidMount=function(){function p(){this.createTimer()}return p}(),k.componentDidUpdate=function(){function p(l){(l.interval!==this.props.interval||l.time!==this.props.time)&&this.createTimer()}return p}(),k.componentWillUnmount=function(){function p(){clearInterval(this.interval),clearTimeout(this.timer)}return p}(),k.render=function(){function p(l){return(0,e.createVNode)(1,"span",null,l.children,0,{style:{visibility:this.state.hidden?"hidden":"visible"}})}return p}(),S}(e.Component)},26558:function(L,r,n){"use strict";r.__esModule=!0,r.BlockQuote=void 0;var e=n(28823),a=n(66586),t=n(93843),o=["className"];/** +*/var m=20,N=.5,y=function(p){return typeof p=="number"&&Number.isFinite(p)&&!Number.isNaN(p)},S=r.AnimatedNumber=function(k){function p(c){var f;return f=k.call(this,c)||this,f.timer=null,f.state={value:0},y(c.initial)?f.state.value=c.initial:y(c.value)&&(f.state.value=Number(c.value)),f}t(p,k);var l=p.prototype;return l.tick=function(){function c(){var f=this.props,u=this.state,i=Number(u.value),s=Number(f.value);if(y(s)){var d=i*N+s*(1-N);this.setState({value:d})}}return c}(),l.componentDidMount=function(){function c(){var f=this;this.timer=setInterval(function(){return f.tick()},1e3/m)}return c}(),l.componentWillUnmount=function(){function c(){clearTimeout(this.timer)}return c}(),l.render=function(){function c(){var f=this.props,u=this.state,i=f.format,s=f.children,d=u.value,h=f.value;if(!y(h))return h||null;var v=d;if(i)v=i(d);else{var g=String(h).split(".")[1],C=g?g.length:0;v=(0,e.toFixed)(d,(0,e.clamp)(C,0,8))}return typeof s=="function"?s(v,d):v}return c}(),p}(a.Component)},11735:function(L,r,n){"use strict";r.__esModule=!0,r.Autofocus=void 0;var e=n(96524);function a(m,N){m.prototype=Object.create(N.prototype),m.prototype.constructor=m,t(m,N)}function t(m,N){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function y(S,k){return S.__proto__=k,S}return y}(),t(m,N)}var o=r.Autofocus=function(m){function N(){for(var S,k=arguments.length,p=new Array(k),l=0;l<k;l++)p[l]=arguments[l];return S=m.call.apply(m,[this].concat(p))||this,S.ref=(0,e.createRef)(),S}a(N,m);var y=N.prototype;return y.componentDidMount=function(){function S(){var k=this;setTimeout(function(){var p;(p=k.ref.current)==null||p.focus()},1)}return S}(),y.render=function(){function S(){return(0,e.createVNode)(1,"div",null,this.props.children,0,{tabIndex:-1},null,this.ref)}return S}(),N}(e.Component)},35436:function(L,r,n){"use strict";r.__esModule=!0,r.Blink=void 0;var e=n(96524);function a(y,S){y.prototype=Object.create(S.prototype),y.prototype.constructor=y,t(y,S)}function t(y,S){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function k(p,l){return p.__proto__=l,p}return k}(),t(y,S)}var o=1e3,m=1e3,N=r.Blink=function(y){function S(){var p;return p=y.call(this)||this,p.state={hidden:!1},p}a(S,y);var k=S.prototype;return k.createTimer=function(){function p(){var l=this,c=this.props,f=c.interval,u=f===void 0?o:f,i=c.time,s=i===void 0?m:i;clearInterval(this.interval),clearTimeout(this.timer),this.setState({hidden:!1}),this.interval=setInterval(function(){l.setState({hidden:!0}),l.timer=setTimeout(function(){l.setState({hidden:!1})},s)},u+s)}return p}(),k.componentDidMount=function(){function p(){this.createTimer()}return p}(),k.componentDidUpdate=function(){function p(l){(l.interval!==this.props.interval||l.time!==this.props.time)&&this.createTimer()}return p}(),k.componentWillUnmount=function(){function p(){clearInterval(this.interval),clearTimeout(this.timer)}return p}(),k.render=function(){function p(l){return(0,e.createVNode)(1,"span",null,l.children,0,{style:{visibility:this.state.hidden?"hidden":"visible"}})}return p}(),S}(e.Component)},55239:function(L,r,n){"use strict";r.__esModule=!0,r.BlockQuote=void 0;var e=n(96524),a=n(28234),t=n(3051),o=["className"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function m(y,S){if(y==null)return{};var k={},p=Object.keys(y),l,c;for(c=0;c<p.length;c++)l=p[c],!(S.indexOf(l)>=0)&&(k[l]=y[l]);return k}var N=r.BlockQuote=function(){function y(S){var k=S.className,p=m(S,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["BlockQuote",k])},p)))}return y}()},93843:function(L,r,n){"use strict";r.__esModule=!0,r.unit=r.halfUnit=r.computeBoxProps=r.computeBoxClassName=r.Box=void 0;var e=n(66586),a=n(28823),t=n(32883),o=n(30381),m=["as","className","children"];/** + */function m(y,S){if(y==null)return{};var k={},p=Object.keys(y),l,c;for(c=0;c<p.length;c++)l=p[c],!(S.indexOf(l)>=0)&&(k[l]=y[l]);return k}var N=r.BlockQuote=function(){function y(S){var k=S.className,p=m(S,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["BlockQuote",k])},p)))}return y}()},3051:function(L,r,n){"use strict";r.__esModule=!0,r.unit=r.halfUnit=r.computeBoxProps=r.computeBoxClassName=r.Box=void 0;var e=n(28234),a=n(96524),t=n(92572),o=n(38424),m=["as","className","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function N(v,h){if(v==null)return{};var V={},b=Object.keys(v),B,I;for(I=0;I<b.length;I++)B=b[I],!(h.indexOf(B)>=0)&&(V[B]=v[B]);return V}var y=r.unit=function(){function v(h){if(typeof h=="string")return h.endsWith("px")&&!Byond.IS_LTE_IE8?parseFloat(h)/12+"rem":h;if(typeof h=="number")return Byond.IS_LTE_IE8?h*12+"px":h+"rem"}return v}(),S=r.halfUnit=function(){function v(h){if(typeof h=="string")return y(h);if(typeof h=="number")return y(h*.5)}return v}(),k=function(h){return!p(h)},p=function(h){if(typeof h=="string")return o.CSS_COLORS.includes(h)},l=function(h){return function(V,b){(typeof b=="number"||typeof b=="string")&&(V[h]=b)}},c=function(h,V){return function(b,B){(typeof B=="number"||typeof B=="string")&&(b[h]=V(B))}},f=function(h,V){return function(b,B){B&&(b[h]=V)}},i=function(h,V,b){return function(B,I){if(typeof I=="number"||typeof I=="string")for(var w=0;w<b.length;w++)B[h+"-"+b[w]]=V(I)}},u=function(h){return function(V,b){k(b)&&(V[h]=b)}},s={position:l("position"),overflow:l("overflow"),overflowX:l("overflow-x"),overflowY:l("overflow-y"),top:c("top",y),bottom:c("bottom",y),left:c("left",y),right:c("right",y),width:c("width",y),minWidth:c("min-width",y),maxWidth:c("max-width",y),height:c("height",y),minHeight:c("min-height",y),maxHeight:c("max-height",y),fontSize:c("font-size",y),fontFamily:l("font-family"),lineHeight:function(){function v(h,V){typeof V=="number"?h["line-height"]=V:typeof V=="string"&&(h["line-height"]=y(V))}return v}(),opacity:l("opacity"),textAlign:l("text-align"),verticalAlign:l("vertical-align"),inline:f("display","inline-block"),bold:f("font-weight","bold"),italic:f("font-style","italic"),nowrap:f("white-space","nowrap"),preserveWhitespace:f("white-space","pre-wrap"),m:i("margin",S,["top","bottom","left","right"]),mx:i("margin",S,["left","right"]),my:i("margin",S,["top","bottom"]),mt:c("margin-top",S),mb:c("margin-bottom",S),ml:c("margin-left",S),mr:c("margin-right",S),p:i("padding",S,["top","bottom","left","right"]),px:i("padding",S,["left","right"]),py:i("padding",S,["top","bottom"]),pt:c("padding-top",S),pb:c("padding-bottom",S),pl:c("padding-left",S),pr:c("padding-right",S),color:u("color"),textColor:u("color"),backgroundColor:u("background-color"),fillPositionedParent:function(){function v(h,V){V&&(h.position="absolute",h.top=0,h.bottom=0,h.left=0,h.right=0)}return v}()},d=r.computeBoxProps=function(){function v(h){for(var V={},b={},B=0,I=Object.keys(h);B<I.length;B++){var w=I[B];if(w!=="style"){if(Byond.IS_LTE_IE8&&w==="onClick"){V.onclick=h[w];continue}var T=h[w],A=s[w];A?A(b,T):V[w]=T}}for(var x="",E=0,P=Object.keys(b);E<P.length;E++){var D=P[E],M=b[D];x+=D+":"+M+";"}if(h.style)for(var O=0,j=Object.keys(h.style);O<j.length;O++){var F=j[O],U=h.style[F];x+=F+":"+U+";"}return x.length>0&&(V.style=x),V}return v}(),C=r.computeBoxClassName=function(){function v(h){var V=h.textColor||h.color,b=h.backgroundColor;return(0,e.classes)([p(V)&&"color-"+V,p(b)&&"color-bg-"+b])}return v}(),g=r.Box=function(){function v(h){var V=h.as,b=V===void 0?"div":V,B=h.className,I=h.children,w=N(h,m);if(typeof I=="function")return I(d(h));var T=typeof B=="string"?B+" "+C(w):C(w),A=d(w);return(0,a.createVNode)(t.VNodeFlags.HtmlElement,b,T,I,t.ChildFlags.UnknownChildren,A)}return v}();g.defaultHooks=e.pureComponentHooks},16699:function(L,r,n){"use strict";r.__esModule=!0,r.ButtonInput=r.ButtonConfirm=r.ButtonCheckbox=r.Button=void 0;var e=n(28823),a=n(66586),t=n(31068),o=n(50175),m=n(93843),N=n(69433),y=n(30341),S=["className","fluid","icon","iconRotation","iconSpin","color","textColor","disabled","selected","tooltip","tooltipPosition","ellipsis","compact","circular","content","iconColor","iconRight","iconStyle","children","onclick","onClick","multiLine"],k=["checked"],p=["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"],l=["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","disabled","placeholder","maxLength","multiLine"];/** + */function N(g,C){if(g==null)return{};var V={},b=Object.keys(g),B,I;for(I=0;I<b.length;I++)B=b[I],!(C.indexOf(B)>=0)&&(V[B]=g[B]);return V}var y=r.unit=function(){function g(C){if(typeof C=="string")return C.endsWith("px")?parseFloat(C)/12+"rem":C;if(typeof C=="number")return C+"rem"}return g}(),S=r.halfUnit=function(){function g(C){if(typeof C=="string")return y(C);if(typeof C=="number")return y(C*.5)}return g}(),k=function(C){return!p(C)},p=function(C){if(typeof C=="string")return o.CSS_COLORS.includes(C)},l=function(C){return function(V,b){(typeof b=="number"||typeof b=="string")&&(V[C]=b)}},c=function(C,V){return function(b,B){(typeof B=="number"||typeof B=="string")&&(b[C]=V(B))}},f=function(C,V){return function(b,B){B&&(b[C]=V)}},u=function(C,V,b){return function(B,I){if(typeof I=="number"||typeof I=="string")for(var w=0;w<b.length;w++)B[C+"-"+b[w]]=V(I)}},i=function(C){return function(V,b){k(b)&&(V[C]=b)}},s={position:l("position"),overflow:l("overflow"),overflowX:l("overflow-x"),overflowY:l("overflow-y"),top:c("top",y),bottom:c("bottom",y),left:c("left",y),right:c("right",y),width:c("width",y),minWidth:c("min-width",y),maxWidth:c("max-width",y),height:c("height",y),minHeight:c("min-height",y),maxHeight:c("max-height",y),fontSize:c("font-size",y),fontFamily:l("font-family"),lineHeight:function(){function g(C,V){typeof V=="number"?C["line-height"]=V:typeof V=="string"&&(C["line-height"]=y(V))}return g}(),opacity:l("opacity"),textAlign:l("text-align"),verticalAlign:l("vertical-align"),inline:f("display","inline-block"),bold:f("font-weight","bold"),italic:f("font-style","italic"),nowrap:f("white-space","nowrap"),preserveWhitespace:f("white-space","pre-wrap"),m:u("margin",S,["top","bottom","left","right"]),mx:u("margin",S,["left","right"]),my:u("margin",S,["top","bottom"]),mt:c("margin-top",S),mb:c("margin-bottom",S),ml:c("margin-left",S),mr:c("margin-right",S),p:u("padding",S,["top","bottom","left","right"]),px:u("padding",S,["left","right"]),py:u("padding",S,["top","bottom"]),pt:c("padding-top",S),pb:c("padding-bottom",S),pl:c("padding-left",S),pr:c("padding-right",S),color:i("color"),textColor:i("color"),backgroundColor:i("background-color"),fillPositionedParent:function(){function g(C,V){V&&(C.position="absolute",C.top=0,C.bottom=0,C.left=0,C.right=0)}return g}()},d=r.computeBoxProps=function(){function g(C){for(var V={},b={},B=0,I=Object.keys(C);B<I.length;B++){var w=I[B];if(w!=="style"){var T=C[w],A=s[w];A?A(b,T):V[w]=T}}for(var x="",E=0,M=Object.keys(b);E<M.length;E++){var j=M[E],P=b[j];x+=j+":"+P+";"}if(C.style)for(var R=0,D=Object.keys(C.style);R<D.length;R++){var F=D[R],W=C.style[F];x+=F+":"+W+";"}return x.length>0&&(V.style=x),V}return g}(),h=r.computeBoxClassName=function(){function g(C){var V=C.textColor||C.color,b=C.backgroundColor;return(0,e.classes)([p(V)&&"color-"+V,p(b)&&"color-bg-"+b])}return g}(),v=r.Box=function(){function g(C){var V=C.as,b=V===void 0?"div":V,B=C.className,I=C.children,w=N(C,m);if(typeof I=="function")return I(d(C));var T=typeof B=="string"?B+" "+h(w):h(w),A=d(w);return(0,a.createVNode)(t.VNodeFlags.HtmlElement,b,T,I,t.ChildFlags.UnknownChildren,A)}return g}();v.defaultHooks=e.pureComponentHooks},91688:function(L,r,n){"use strict";r.__esModule=!0,r.ButtonInput=r.ButtonConfirm=r.ButtonCheckbox=r.Button=void 0;var e=n(96524),a=n(28234),t=n(68100),o=n(81856),m=n(3051),N=n(11253),y=n(58749),S=["className","fluid","icon","iconRotation","iconSpin","color","textColor","disabled","selected","tooltip","tooltipPosition","ellipsis","compact","circular","content","iconColor","iconRight","iconStyle","children","onclick","onClick","multiLine"],k=["checked"],p=["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"],l=["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","disabled","placeholder","maxLength","multiLine"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function c(v,h){v.prototype=Object.create(h.prototype),v.prototype.constructor=v,f(v,h)}function f(v,h){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function V(b,B){return b.__proto__=B,b}return V}(),f(v,h)}function i(v,h){if(v==null)return{};var V={},b=Object.keys(v),B,I;for(I=0;I<b.length;I++)B=b[I],!(h.indexOf(B)>=0)&&(V[B]=v[B]);return V}var u=(0,o.createLogger)("Button"),s=r.Button=function(){function v(h){var V=h.className,b=h.fluid,B=h.icon,I=h.iconRotation,w=h.iconSpin,T=h.color,A=h.textColor,x=h.disabled,E=h.selected,P=h.tooltip,D=h.tooltipPosition,M=h.ellipsis,O=h.compact,j=h.circular,F=h.content,U=h.iconColor,_=h.iconRight,z=h.iconStyle,H=h.children,$=h.onclick,Y=h.onClick,X=h.multiLine,re=i(h,S),ae=!!(F||H);$&&u.warn("Lowercase 'onclick' is not supported on Button and lowercase prop names are discouraged in general. Please use a camelCase'onClick' instead and read: https://infernojs.org/docs/guides/event-handling"),re.onClick=function(pe){!x&&Y&&Y(pe)},Byond.IS_LTE_IE8&&(re.unselectable=!0);var se=(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.Box,Object.assign({className:(0,a.classes)(["Button",b&&"Button--fluid",x&&"Button--disabled",E&&"Button--selected",ae&&"Button--hasContent",M&&"Button--ellipsis",j&&"Button--circular",O&&"Button--compact",_&&"Button--iconRight",X&&"Button--multiLine",T&&typeof T=="string"?"Button--color--"+T:"Button--color--default",V]),tabIndex:!x&&"0",color:A,onKeyDown:function(){function pe(ye){var Be=window.event?ye.which:ye.keyCode;if(Be===t.KEY_SPACE||Be===t.KEY_ENTER){ye.preventDefault(),!x&&Y&&Y(ye);return}if(Be===t.KEY_ESCAPE){ye.preventDefault();return}}return pe}()},re,{children:[B&&!_&&(0,e.createComponentVNode)(2,N.Icon,{name:B,color:U,rotation:I,spin:w,style:z}),F,H,B&&_&&(0,e.createComponentVNode)(2,N.Icon,{name:B,color:U,rotation:I,spin:w,style:z})]})));return P&&(se=(0,e.createComponentVNode)(2,y.Tooltip,{content:P,position:D,children:se})),se}return v}();s.defaultHooks=a.pureComponentHooks;var d=r.ButtonCheckbox=function(){function v(h){var V=h.checked,b=i(h,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({color:"transparent",icon:V?"check-square-o":"square-o",selected:V},b)))}return v}();s.Checkbox=d;var C=r.ButtonConfirm=function(v){c(h,v);function h(){var b;return b=v.call(this)||this,b.state={clickedOnce:!1},b.handleClick=function(){b.state.clickedOnce&&b.setClickedOnce(!1)},b}var V=h.prototype;return V.setClickedOnce=function(){function b(B){var I=this;this.setState({clickedOnce:B}),B?setTimeout(function(){return window.addEventListener("click",I.handleClick)}):window.removeEventListener("click",this.handleClick)}return b}(),V.render=function(){function b(){var B=this,I=this.props,w=I.confirmContent,T=w===void 0?"Confirm?":w,A=I.confirmColor,x=A===void 0?"bad":A,E=I.confirmIcon,P=I.icon,D=I.color,M=I.content,O=I.onClick,j=i(I,p);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({content:this.state.clickedOnce?T:M,icon:this.state.clickedOnce?E:P,color:this.state.clickedOnce?x:D,onClick:function(){function F(){return B.state.clickedOnce?O():B.setClickedOnce(!0)}return F}()},j)))}return b}(),h}(e.Component);s.Confirm=C;var g=r.ButtonInput=function(v){c(h,v);function h(){var b;return b=v.call(this)||this,b.inputRef=(0,e.createRef)(),b.state={inInput:!1},b}var V=h.prototype;return V.setInInput=function(){function b(B){var I=this.props.disabled;if(!I&&(this.setState({inInput:B}),this.inputRef)){var w=this.inputRef.current;if(B){w.value=this.props.currentValue||"";try{w.focus(),w.select()}catch(T){}}}}return b}(),V.commitResult=function(){function b(B){if(this.inputRef){var I=this.inputRef.current,w=I.value!=="";if(w){this.props.onCommit(B,I.value);return}else{if(!this.props.defaultValue)return;this.props.onCommit(B,this.props.defaultValue)}}}return b}(),V.render=function(){function b(){var B=this,I=this.props,w=I.fluid,T=I.content,A=I.icon,x=I.iconRotation,E=I.iconSpin,P=I.tooltip,D=I.tooltipPosition,M=I.color,O=M===void 0?"default":M,j=I.disabled,F=I.placeholder,U=I.maxLength,_=I.multiLine,z=i(I,l),H=(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.Box,Object.assign({className:(0,a.classes)(["Button",w&&"Button--fluid",j&&"Button--disabled","Button--color--"+O,_+"Button--multiLine"])},z,{onClick:function(){function $(){return B.setInInput(!0)}return $}(),children:[A&&(0,e.createComponentVNode)(2,N.Icon,{name:A,rotation:x,spin:E}),(0,e.createVNode)(1,"div",null,T,0),(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?void 0:"none","text-align":"left"},onBlur:function(){function $(Y){B.state.inInput&&(B.setInInput(!1),B.commitResult(Y))}return $}(),onKeyDown:function(){function $(Y){if(Y.keyCode===t.KEY_ENTER){B.setInInput(!1),B.commitResult(Y);return}Y.keyCode===t.KEY_ESCAPE&&B.setInInput(!1)}return $}()},null,this.inputRef)]})));return P&&(H=(0,e.createComponentVNode)(2,y.Tooltip,{content:P,position:D,children:H})),H}return b}(),h}(e.Component);s.Input=g},75614:function(L,r,n){"use strict";r.__esModule=!0,r.ByondUi=void 0;var e=n(28823),a=n(66586),t=n(32742),o=n(50175),m=n(93843),N=["params"],y=["params"],S=["parent","params"];function k(C,g){if(C==null)return{};var v={},h=Object.keys(C),V,b;for(b=0;b<h.length;b++)V=h[b],!(g.indexOf(V)>=0)&&(v[V]=C[V]);return v}function p(C,g){C.prototype=Object.create(g.prototype),C.prototype.constructor=C,l(C,g)}function l(C,g){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function v(h,V){return h.__proto__=V,h}return v}(),l(C,g)}/** + */function c(g,C){g.prototype=Object.create(C.prototype),g.prototype.constructor=g,f(g,C)}function f(g,C){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function V(b,B){return b.__proto__=B,b}return V}(),f(g,C)}function u(g,C){if(g==null)return{};var V={},b=Object.keys(g),B,I;for(I=0;I<b.length;I++)B=b[I],!(C.indexOf(B)>=0)&&(V[B]=g[B]);return V}var i=(0,o.createLogger)("Button"),s=r.Button=function(){function g(C){var V=C.className,b=C.fluid,B=C.icon,I=C.iconRotation,w=C.iconSpin,T=C.color,A=C.textColor,x=C.disabled,E=C.selected,M=C.tooltip,j=C.tooltipPosition,P=C.ellipsis,R=C.compact,D=C.circular,F=C.content,W=C.iconColor,_=C.iconRight,H=C.iconStyle,z=C.children,$=C.onclick,X=C.onClick,J=C.multiLine,ce=u(C,S),re=!!(F||z);$&&i.warn("Lowercase 'onclick' is not supported on Button and lowercase prop names are discouraged in general. Please use a camelCase'onClick' instead and read: https://infernojs.org/docs/guides/event-handling"),ce.onClick=function(pe){!x&&X&&X(pe)};var me=(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.Box,Object.assign({className:(0,a.classes)(["Button",b&&"Button--fluid",x&&"Button--disabled",E&&"Button--selected",re&&"Button--hasContent",P&&"Button--ellipsis",D&&"Button--circular",R&&"Button--compact",_&&"Button--iconRight",J&&"Button--multiLine",T&&typeof T=="string"?"Button--color--"+T:"Button--color--default",V]),tabIndex:!x&&"0",color:A,onKeyDown:function(){function pe(ye){var Be=window.event?ye.which:ye.keyCode;if(Be===t.KEY_SPACE||Be===t.KEY_ENTER){ye.preventDefault(),!x&&X&&X(ye);return}if(Be===t.KEY_ESCAPE){ye.preventDefault();return}}return pe}()},ce,{children:[B&&!_&&(0,e.createComponentVNode)(2,N.Icon,{name:B,color:W,rotation:I,spin:w,style:H}),F,z,B&&_&&(0,e.createComponentVNode)(2,N.Icon,{name:B,color:W,rotation:I,spin:w,style:H})]})));return M&&(me=(0,e.createComponentVNode)(2,y.Tooltip,{content:M,position:j,children:me})),me}return g}();s.defaultHooks=a.pureComponentHooks;var d=r.ButtonCheckbox=function(){function g(C){var V=C.checked,b=u(C,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({color:"transparent",icon:V?"check-square-o":"square-o",selected:V},b)))}return g}();s.Checkbox=d;var h=r.ButtonConfirm=function(g){function C(){var b;return b=g.call(this)||this,b.state={clickedOnce:!1},b.handleClick=function(){b.state.clickedOnce&&b.setClickedOnce(!1)},b}c(C,g);var V=C.prototype;return V.setClickedOnce=function(){function b(B){var I=this;this.setState({clickedOnce:B}),B?setTimeout(function(){return window.addEventListener("click",I.handleClick)}):window.removeEventListener("click",this.handleClick)}return b}(),V.render=function(){function b(){var B=this,I=this.props,w=I.confirmContent,T=w===void 0?"Confirm?":w,A=I.confirmColor,x=A===void 0?"bad":A,E=I.confirmIcon,M=I.icon,j=I.color,P=I.content,R=I.onClick,D=u(I,p);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({content:this.state.clickedOnce?T:P,icon:this.state.clickedOnce?E:M,color:this.state.clickedOnce?x:j,onClick:function(){function F(){return B.state.clickedOnce?R():B.setClickedOnce(!0)}return F}()},D)))}return b}(),C}(e.Component);s.Confirm=h;var v=r.ButtonInput=function(g){function C(){var b;return b=g.call(this)||this,b.inputRef=(0,e.createRef)(),b.state={inInput:!1},b}c(C,g);var V=C.prototype;return V.setInInput=function(){function b(B){var I=this.props.disabled;if(!I&&(this.setState({inInput:B}),this.inputRef)){var w=this.inputRef.current;if(B){w.value=this.props.currentValue||"";try{w.focus(),w.select()}catch(T){}}}}return b}(),V.commitResult=function(){function b(B){if(this.inputRef){var I=this.inputRef.current,w=I.value!=="";if(w){this.props.onCommit(B,I.value);return}else{if(!this.props.defaultValue)return;this.props.onCommit(B,this.props.defaultValue)}}}return b}(),V.render=function(){function b(){var B=this,I=this.props,w=I.fluid,T=I.content,A=I.icon,x=I.iconRotation,E=I.iconSpin,M=I.tooltip,j=I.tooltipPosition,P=I.color,R=P===void 0?"default":P,D=I.disabled,F=I.placeholder,W=I.maxLength,_=I.multiLine,H=u(I,l),z=(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.Box,Object.assign({className:(0,a.classes)(["Button",w&&"Button--fluid",D&&"Button--disabled","Button--color--"+R,_+"Button--multiLine"])},H,{onClick:function(){function $(){return B.setInInput(!0)}return $}(),children:[A&&(0,e.createComponentVNode)(2,N.Icon,{name:A,rotation:x,spin:E}),(0,e.createVNode)(1,"div",null,T,0),(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?void 0:"none","text-align":"left"},onBlur:function(){function $(X){B.state.inInput&&(B.setInInput(!1),B.commitResult(X))}return $}(),onKeyDown:function(){function $(X){if(X.keyCode===t.KEY_ENTER){B.setInInput(!1),B.commitResult(X);return}X.keyCode===t.KEY_ESCAPE&&B.setInInput(!1)}return $}()},null,this.inputRef)]})));return M&&(z=(0,e.createComponentVNode)(2,y.Tooltip,{content:M,position:j,children:z})),z}return b}(),C}(e.Component);s.Input=v},42204:function(L,r,n){"use strict";r.__esModule=!0,r.ByondUi=void 0;var e=n(96524),a=n(28234),t=n(56052),o=n(81856),m=n(3051),N=["params"],y=["params"],S=["parent","params"];function k(h,v){if(h==null)return{};var g={},C=Object.keys(h),V,b;for(b=0;b<C.length;b++)V=C[b],!(v.indexOf(V)>=0)&&(g[V]=h[V]);return g}function p(h,v){h.prototype=Object.create(v.prototype),h.prototype.constructor=h,l(h,v)}function l(h,v){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function g(C,V){return C.__proto__=V,C}return g}(),l(h,v)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var c=(0,o.createLogger)("ByondUi"),f=[],i=function(g){var v=f.length;f.push(null);var h=g||"byondui_"+v;return c.log("allocated '"+h+"'"),{render:function(){function V(b){c.log("rendering '"+h+"'"),f[v]=h,Byond.winset(h,b)}return V}(),unmount:function(){function V(){c.log("unmounting '"+h+"'"),f[v]=null,Byond.winset(h,{parent:""})}return V}()}};window.addEventListener("beforeunload",function(){for(var C=0;C<f.length;C++){var g=f[C];typeof g=="string"&&(c.log("unmounting '"+g+"' (beforeunload)"),f[C]=null,Byond.winset(g,{parent:""}))}});var u=function(g){var v=g.getBoundingClientRect();return{pos:[v.left,v.top],size:[v.right-v.left,v.bottom-v.top]}},s=r.ByondUi=function(C){p(g,C);function g(h){var V,b;return b=C.call(this,h)||this,b.containerRef=(0,e.createRef)(),b.byondUiElement=i((V=h.params)==null?void 0:V.id),b.handleResize=(0,t.debounce)(function(){b.forceUpdate()},100),b}var v=g.prototype;return v.shouldComponentUpdate=function(){function h(V){var b=this.props,B=b.params,I=B===void 0?{}:B,w=k(b,N),T=V.params,A=T===void 0?{}:T,x=k(V,y);return(0,a.shallowDiffers)(I,A)||(0,a.shallowDiffers)(w,x)}return h}(),v.componentDidMount=function(){function h(){Byond.IS_LTE_IE10||(window.addEventListener("resize",this.handleResize),this.componentDidUpdate(),this.handleResize())}return h}(),v.componentDidUpdate=function(){function h(){if(!Byond.IS_LTE_IE10){var V=this.props.params,b=V===void 0?{}:V,B=u(this.containerRef.current);c.debug("bounding box",B),this.byondUiElement.render(Object.assign({parent:Byond.windowId},b,{pos:B.pos[0]+","+B.pos[1],size:B.size[0]+"x"+B.size[1]}))}}return h}(),v.componentWillUnmount=function(){function h(){Byond.IS_LTE_IE10||(window.removeEventListener("resize",this.handleResize),this.byondUiElement.unmount())}return h}(),v.render=function(){function h(){var V=this.props,b=V.parent,B=V.params,I=k(V,S),w=(0,m.computeBoxProps)(I);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",null,(0,e.createVNode)(1,"div",null,null,1,{style:{"min-height":"22px"}}),0,Object.assign({},w),null,this.containerRef))}return h}(),g}(e.Component),d=function(){return(0,e.createVNode)(1,"div",null,null,1,{style:{"min-height":"22px"}})}},2909:function(L,r,n){"use strict";r.__esModule=!0,r.Chart=void 0;var e=n(28823),a=n(72026),t=n(66586),o=n(93843),m=["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"];function N(i,u){if(i==null)return{};var s={},d=Object.keys(i),C,g;for(g=0;g<d.length;g++)C=d[g],!(u.indexOf(C)>=0)&&(s[C]=i[C]);return s}function y(i,u){i.prototype=Object.create(u.prototype),i.prototype.constructor=i,S(i,u)}function S(i,u){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function s(d,C){return d.__proto__=C,d}return s}(),S(i,u)}/** +*/var c=(0,o.createLogger)("ByondUi"),f=[],u=function(v){var g=f.length;f.push(null);var C=v||"byondui_"+g;return c.log("allocated '"+C+"'"),{render:function(){function V(b){c.log("rendering '"+C+"'"),f[g]=C,Byond.winset(C,b)}return V}(),unmount:function(){function V(){c.log("unmounting '"+C+"'"),f[g]=null,Byond.winset(C,{parent:""})}return V}()}};window.addEventListener("beforeunload",function(){for(var h=0;h<f.length;h++){var v=f[h];typeof v=="string"&&(c.log("unmounting '"+v+"' (beforeunload)"),f[h]=null,Byond.winset(v,{parent:""}))}});var i=function(v){var g=v.getBoundingClientRect();return{pos:[g.left,g.top],size:[g.right-g.left,g.bottom-g.top]}},s=r.ByondUi=function(h){function v(C){var V,b;return b=h.call(this,C)||this,b.containerRef=(0,e.createRef)(),b.byondUiElement=u((V=C.params)==null?void 0:V.id),b.handleResize=(0,t.debounce)(function(){b.forceUpdate()},100),b}p(v,h);var g=v.prototype;return g.shouldComponentUpdate=function(){function C(V){var b=this.props,B=b.params,I=B===void 0?{}:B,w=k(b,N),T=V.params,A=T===void 0?{}:T,x=k(V,y);return(0,a.shallowDiffers)(I,A)||(0,a.shallowDiffers)(w,x)}return C}(),g.componentDidMount=function(){function C(){window.addEventListener("resize",this.handleResize),this.componentDidUpdate(),this.handleResize()}return C}(),g.componentDidUpdate=function(){function C(){var V=this.props.params,b=V===void 0?{}:V,B=i(this.containerRef.current);c.debug("bounding box",B),this.byondUiElement.render(Object.assign({parent:Byond.windowId},b,{pos:B.pos[0]+","+B.pos[1],size:B.size[0]+"x"+B.size[1]}))}return C}(),g.componentWillUnmount=function(){function C(){window.removeEventListener("resize",this.handleResize),this.byondUiElement.unmount()}return C}(),g.render=function(){function C(){var V=this.props,b=V.parent,B=V.params,I=k(V,S),w=(0,m.computeBoxProps)(I);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",null,(0,e.createVNode)(1,"div",null,null,1,{style:{"min-height":"22px"}}),0,Object.assign({},w),null,this.containerRef))}return C}(),v}(e.Component),d=function(){return(0,e.createVNode)(1,"div",null,null,1,{style:{"min-height":"22px"}})}},41886:function(L,r,n){"use strict";r.__esModule=!0,r.Chart=void 0;var e=n(96524),a=n(50640),t=n(28234),o=n(3051),m=["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"];function N(u,i){if(u==null)return{};var s={},d=Object.keys(u),h,v;for(v=0;v<d.length;v++)h=d[v],!(i.indexOf(h)>=0)&&(s[h]=u[h]);return s}function y(u,i){u.prototype=Object.create(i.prototype),u.prototype.constructor=u,S(u,i)}function S(u,i){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function s(d,h){return d.__proto__=h,d}return s}(),S(u,i)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var k=function(u,s,d,C){if(u.length===0)return[];var g=(0,a.zipWith)(Math.min).apply(void 0,u),v=(0,a.zipWith)(Math.max).apply(void 0,u);d!==void 0&&(g[0]=d[0],v[0]=d[1]),C!==void 0&&(g[1]=C[0],v[1]=C[1]);var h=(0,a.map)(function(V){return(0,a.zipWith)(function(b,B,I,w){return(b-B)/(I-B)*w})(V,g,v,s)})(u);return h},p=function(u){for(var s="",d=0;d<u.length;d++){var C=u[d];s+=C[0]+","+C[1]+" "}return s},l=function(i){y(u,i);function u(d){var C;return C=i.call(this,d)||this,C.ref=(0,e.createRef)(),C.state={viewBox:[600,200]},C.handleResize=function(){var g=C.ref.current;C.setState({viewBox:[g.offsetWidth,g.offsetHeight]})},C}var s=u.prototype;return s.componentDidMount=function(){function d(){window.addEventListener("resize",this.handleResize),this.handleResize()}return d}(),s.componentWillUnmount=function(){function d(){window.removeEventListener("resize",this.handleResize)}return d}(),s.render=function(){function d(){var C=this,g=this.props,v=g.data,h=v===void 0?[]:v,V=g.rangeX,b=g.rangeY,B=g.fillColor,I=B===void 0?"none":B,w=g.strokeColor,T=w===void 0?"#ffffff":w,A=g.strokeWidth,x=A===void 0?2:A,E=N(g,m),P=this.state.viewBox,D=k(h,P,V,b);if(D.length>0){var M=D[0],O=D[D.length-1];D.push([P[0]+x,O[1]]),D.push([P[0]+x,-x]),D.push([-x,-x]),D.push([-x,M[1]])}var j=p(D);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({position:"relative"},E,{children:function(){function F(U){return(0,e.normalizeProps)((0,e.createVNode)(1,"div",null,(0,e.createVNode)(32,"svg",null,(0,e.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+P[1]+")",fill:I,stroke:T,"stroke-width":x,points:j}),2,{viewBox:"0 0 "+P[0]+" "+P[1],preserveAspectRatio:"none",style:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"}}),2,Object.assign({},U),null,C.ref))}return F}()})))}return d}(),u}(e.Component);l.defaultHooks=t.pureComponentHooks;var c=function(u){return null},f=r.Chart={Line:Byond.IS_LTE_IE8?c:l}},52760:function(L,r,n){"use strict";r.__esModule=!0,r.Collapsible=void 0;var e=n(28823),a=n(93843),t=n(16699),o=["children","color","title","buttons"];function m(k,p){if(k==null)return{};var l={},c=Object.keys(k),f,i;for(i=0;i<c.length;i++)f=c[i],!(p.indexOf(f)>=0)&&(l[f]=k[f]);return l}function N(k,p){k.prototype=Object.create(p.prototype),k.prototype.constructor=k,y(k,p)}function y(k,p){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function l(c,f){return c.__proto__=f,c}return l}(),y(k,p)}/** +*/var k=function(i,s,d,h){if(i.length===0)return[];var v=(0,a.zipWith)(Math.min).apply(void 0,i),g=(0,a.zipWith)(Math.max).apply(void 0,i);d!==void 0&&(v[0]=d[0],g[0]=d[1]),h!==void 0&&(v[1]=h[0],g[1]=h[1]);var C=(0,a.map)(function(V){return(0,a.zipWith)(function(b,B,I,w){return(b-B)/(I-B)*w})(V,v,g,s)})(i);return C},p=function(i){for(var s="",d=0;d<i.length;d++){var h=i[d];s+=h[0]+","+h[1]+" "}return s},l=function(u){function i(d){var h;return h=u.call(this,d)||this,h.ref=(0,e.createRef)(),h.state={viewBox:[600,200]},h.handleResize=function(){var v=h.ref.current;h.setState({viewBox:[v.offsetWidth,v.offsetHeight]})},h}y(i,u);var s=i.prototype;return s.componentDidMount=function(){function d(){window.addEventListener("resize",this.handleResize),this.handleResize()}return d}(),s.componentWillUnmount=function(){function d(){window.removeEventListener("resize",this.handleResize)}return d}(),s.render=function(){function d(){var h=this,v=this.props,g=v.data,C=g===void 0?[]:g,V=v.rangeX,b=v.rangeY,B=v.fillColor,I=B===void 0?"none":B,w=v.strokeColor,T=w===void 0?"#ffffff":w,A=v.strokeWidth,x=A===void 0?2:A,E=N(v,m),M=this.state.viewBox,j=k(C,M,V,b);if(j.length>0){var P=j[0],R=j[j.length-1];j.push([M[0]+x,R[1]]),j.push([M[0]+x,-x]),j.push([-x,-x]),j.push([-x,P[1]])}var D=p(j);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({position:"relative"},E,{children:function(){function F(W){return(0,e.normalizeProps)((0,e.createVNode)(1,"div",null,(0,e.createVNode)(32,"svg",null,(0,e.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+M[1]+")",fill:I,stroke:T,"stroke-width":x,points:D}),2,{viewBox:"0 0 "+M[0]+" "+M[1],preserveAspectRatio:"none",style:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"}}),2,Object.assign({},W),null,h.ref))}return F}()})))}return d}(),i}(e.Component);l.defaultHooks=t.pureComponentHooks;var c=function(i){return null},f=r.Chart={Line:l}},83974:function(L,r,n){"use strict";r.__esModule=!0,r.Collapsible=void 0;var e=n(96524),a=n(3051),t=n(91688),o=["children","color","title","buttons"];function m(k,p){if(k==null)return{};var l={},c=Object.keys(k),f,u;for(u=0;u<c.length;u++)f=c[u],!(p.indexOf(f)>=0)&&(l[f]=k[f]);return l}function N(k,p){k.prototype=Object.create(p.prototype),k.prototype.constructor=k,y(k,p)}function y(k,p){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function l(c,f){return c.__proto__=f,c}return l}(),y(k,p)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var S=r.Collapsible=function(k){N(p,k);function p(c){var f;f=k.call(this,c)||this;var i=c.open;return f.state={open:i||!1},f}var l=p.prototype;return l.render=function(){function c(){var f=this,i=this.props,u=this.state.open,s=i.children,d=i.color,C=d===void 0?"default":d,g=i.title,v=i.buttons,h=m(i,o);return(0,e.createComponentVNode)(2,a.Box,{className:"Collapsible",children:[(0,e.createVNode)(1,"div","Table",[(0,e.createVNode)(1,"div","Table__cell",(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({fluid:!0,color:C,icon:u?"chevron-down":"chevron-right",onClick:function(){function V(){return f.setState({open:!u})}return V}()},h,{children:g}))),2),v&&(0,e.createVNode)(1,"div","Table__cell Table__cell--collapsing",v,0)],0),u&&(0,e.createComponentVNode)(2,a.Box,{mt:1,children:s})]})}return c}(),p}(e.Component)},25762:function(L,r,n){"use strict";r.__esModule=!0,r.ColorBox=void 0;var e=n(28823),a=n(66586),t=n(93843),o=["content","children","className","color","backgroundColor"];/** +*/var S=r.Collapsible=function(k){function p(c){var f;f=k.call(this,c)||this;var u=c.open;return f.state={open:u||!1},f}N(p,k);var l=p.prototype;return l.render=function(){function c(){var f=this,u=this.props,i=this.state.open,s=u.children,d=u.color,h=d===void 0?"default":d,v=u.title,g=u.buttons,C=m(u,o);return(0,e.createComponentVNode)(2,a.Box,{className:"Collapsible",children:[(0,e.createVNode)(1,"div","Table",[(0,e.createVNode)(1,"div","Table__cell",(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({fluid:!0,color:h,icon:i?"chevron-down":"chevron-right",onClick:function(){function V(){return f.setState({open:!i})}return V}()},C,{children:v}))),2),g&&(0,e.createVNode)(1,"div","Table__cell Table__cell--collapsing",g,0)],0),i&&(0,e.createComponentVNode)(2,a.Box,{mt:1,children:s})]})}return c}(),p}(e.Component)},26236:function(L,r,n){"use strict";r.__esModule=!0,r.ColorBox=void 0;var e=n(96524),a=n(28234),t=n(3051),o=["content","children","className","color","backgroundColor"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function m(y,S){if(y==null)return{};var k={},p=Object.keys(y),l,c;for(c=0;c<p.length;c++)l=p[c],!(S.indexOf(l)>=0)&&(k[l]=y[l]);return k}var N=r.ColorBox=function(){function y(S){var k=S.content,p=S.children,l=S.className,c=S.color,f=S.backgroundColor,i=m(S,o);return i.color=k?null:"transparent",i.backgroundColor=c||f,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["ColorBox",l,(0,t.computeBoxClassName)(i)]),k||".",0,Object.assign({},(0,t.computeBoxProps)(i))))}return y}();N.defaultHooks=a.pureComponentHooks},73712:function(L,r,n){"use strict";r.__esModule=!0,r.Countdown=void 0;var e=n(28823),a=n(93843),t=["format"];function o(S,k){if(S==null)return{};var p={},l=Object.keys(S),c,f;for(f=0;f<l.length;f++)c=l[f],!(k.indexOf(c)>=0)&&(p[c]=S[c]);return p}function m(S,k){S.prototype=Object.create(k.prototype),S.prototype.constructor=S,N(S,k)}function N(S,k){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function p(l,c){return l.__proto__=c,l}return p}(),N(S,k)}var y=r.Countdown=function(S){m(k,S);function k(l){var c;return c=S.call(this,l)||this,c.timer=null,c.state={value:Math.max(l.timeLeft*100,0)},c}var p=k.prototype;return p.tick=function(){function l(){var c=Math.max(this.state.value-this.props.rate,0);c<=0&&clearInterval(this.timer),this.setState(function(f){return{value:c}})}return l}(),p.componentDidMount=function(){function l(){var c=this;this.timer=setInterval(function(){return c.tick()},this.props.rate)}return l}(),p.componentWillUnmount=function(){function l(){clearInterval(this.timer)}return l}(),p.componentDidUpdate=function(){function l(c){var f=this;this.props.current!==c.current&&this.setState(function(i){return{value:Math.max(f.props.timeLeft*100,0)}}),this.timer||this.componentDidMount()}return l}(),p.render=function(){function l(){var c=this.props,f=c.format,i=o(c,t),u=new Date(this.state.value).toISOString().slice(11,19);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({as:"span"},i,{children:f?f(this.state.value,u):u})))}return l}(),k}(e.Component);y.defaultProps={rate:1e3}},15148:function(L,r,n){"use strict";r.__esModule=!0,r.Dimmer=void 0;var e=n(28823),a=n(66586),t=n(93843),o=["className","children"];/** + */function m(y,S){if(y==null)return{};var k={},p=Object.keys(y),l,c;for(c=0;c<p.length;c++)l=p[c],!(S.indexOf(l)>=0)&&(k[l]=y[l]);return k}var N=r.ColorBox=function(){function y(S){var k=S.content,p=S.children,l=S.className,c=S.color,f=S.backgroundColor,u=m(S,o);return u.color=k?null:"transparent",u.backgroundColor=c||f,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["ColorBox",l,(0,t.computeBoxClassName)(u)]),k||".",0,Object.assign({},(0,t.computeBoxProps)(u))))}return y}();N.defaultHooks=a.pureComponentHooks},99509:function(L,r,n){"use strict";r.__esModule=!0,r.Countdown=void 0;var e=n(96524),a=n(3051),t=["format"];function o(S,k){if(S==null)return{};var p={},l=Object.keys(S),c,f;for(f=0;f<l.length;f++)c=l[f],!(k.indexOf(c)>=0)&&(p[c]=S[c]);return p}function m(S,k){S.prototype=Object.create(k.prototype),S.prototype.constructor=S,N(S,k)}function N(S,k){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function p(l,c){return l.__proto__=c,l}return p}(),N(S,k)}var y=r.Countdown=function(S){function k(l){var c;return c=S.call(this,l)||this,c.timer=null,c.state={value:Math.max(l.timeLeft*100,0)},c}m(k,S);var p=k.prototype;return p.tick=function(){function l(){var c=Math.max(this.state.value-this.props.rate,0);c<=0&&clearInterval(this.timer),this.setState(function(f){return{value:c}})}return l}(),p.componentDidMount=function(){function l(){var c=this;this.timer=setInterval(function(){return c.tick()},this.props.rate)}return l}(),p.componentWillUnmount=function(){function l(){clearInterval(this.timer)}return l}(),p.componentDidUpdate=function(){function l(c){var f=this;this.props.current!==c.current&&this.setState(function(u){return{value:Math.max(f.props.timeLeft*100,0)}}),this.timer||this.componentDidMount()}return l}(),p.render=function(){function l(){var c=this.props,f=c.format,u=o(c,t),i=new Date(this.state.value).toISOString().slice(11,19);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({as:"span"},u,{children:f?f(this.state.value,i):i})))}return l}(),k}(e.Component);y.defaultProps={rate:1e3}},72358:function(L,r,n){"use strict";r.__esModule=!0,r.Dimmer=void 0;var e=n(96524),a=n(28234),t=n(3051),o=["className","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function m(y,S){if(y==null)return{};var k={},p=Object.keys(y),l,c;for(c=0;c<p.length;c++)l=p[c],!(S.indexOf(l)>=0)&&(k[l]=y[l]);return k}var N=r.Dimmer=function(){function y(S){var k=S.className,p=S.children,l=m(S,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["Dimmer"].concat(k))},l,{children:(0,e.createVNode)(1,"div","Dimmer__inner",p,0)})))}return y}()},81878:function(L,r,n){"use strict";r.__esModule=!0,r.Divider=void 0;var e=n(28823),a=n(66586);/** + */function m(y,S){if(y==null)return{};var k={},p=Object.keys(y),l,c;for(c=0;c<p.length;c++)l=p[c],!(S.indexOf(l)>=0)&&(k[l]=y[l]);return k}var N=r.Dimmer=function(){function y(S){var k=S.className,p=S.children,l=m(S,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["Dimmer"].concat(k))},l,{children:(0,e.createVNode)(1,"div","Dimmer__inner",p,0)})))}return y}()},31647:function(L,r,n){"use strict";r.__esModule=!0,r.Divider=void 0;var e=n(96524),a=n(28234);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=r.Divider=function(){function o(m){var N=m.vertical,y=m.hidden;return(0,e.createVNode)(1,"div",(0,a.classes)(["Divider",y&&"Divider--hidden",N?"Divider--vertical":"Divider--horizontal"]))}return o}()},41584:function(L,r,n){"use strict";r.__esModule=!0,r.DraggableControl=void 0;var e=n(28823),a=n(58331),t=n(66586),o=n(15281);function m(p,l){p.prototype=Object.create(l.prototype),p.prototype.constructor=p,N(p,l)}function N(p,l){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function c(f,i){return f.__proto__=i,f}return c}(),N(p,l)}var y=400,S=function(l,c){return l.screenX*c[0]+l.screenY*c[1]},k=r.DraggableControl=function(p){m(l,p);function l(f){var i;return i=p.call(this,f)||this,i.inputRef=(0,e.createRef)(),i.state={originalValue:f.value,value:f.value,dragging:!1,editing:!1,origin:null,suppressingFlicker:!1},i.flickerTimer=null,i.suppressFlicker=function(){var u=i.props.suppressFlicker;u>0&&(i.setState({suppressingFlicker:!0}),clearTimeout(i.flickerTimer),i.flickerTimer=setTimeout(function(){return i.setState({suppressingFlicker:!1})},u))},i.handleDragStart=function(u){var s=i.props,d=s.value,C=s.dragMatrix,g=s.disabled,v=i.state.editing;v||g||(document.body.style["pointer-events"]="none",i.ref=u.currentTarget,i.setState({originalValue:d,dragging:!1,value:d,origin:S(u,C)}),i.timer=setTimeout(function(){i.setState({dragging:!0})},250),i.dragInterval=setInterval(function(){var h=i.state,V=h.dragging,b=h.value,B=i.props.onDrag;V&&B&&B(u,b)},i.props.updateRate||y),document.addEventListener("mousemove",i.handleDragMove),document.addEventListener("mouseup",i.handleDragEnd))},i.handleDragMove=function(u){var s,d=i.props,C=d.minValue,g=d.maxValue,v=d.step,h=d.dragMatrix,V=d.disabled;if(!V){var b=i.ref.offsetWidth/((g-C)/v),B=(s=i.props.stepPixelSize)!=null?s:b;typeof B=="function"&&(B=B(b)),i.setState(function(I){var w=Object.assign({},I),T=I.origin,A=S(u,h)-T;if(I.dragging){var x=Math.trunc(A/B);w.value=(0,a.clamp)(Math.floor(w.originalValue/v)*v+x*v,C,g)}else Math.abs(A)>4&&(w.dragging=!0);return w})}},i.handleDragEnd=function(u){var s=i.props,d=s.onChange,C=s.onDrag,g=i.state,v=g.dragging,h=g.value;if(document.body.style["pointer-events"]="auto",clearTimeout(i.timer),clearInterval(i.dragInterval),i.setState({originalValue:null,dragging:!1,editing:!v,origin:null}),document.removeEventListener("mousemove",i.handleDragMove),document.removeEventListener("mouseup",i.handleDragEnd),v)i.suppressFlicker(),d&&d(u,h),C&&C(u,h);else if(i.inputRef){var V=i.inputRef.current;V.value=h;try{V.focus(),V.select()}catch(b){}}},i}var c=l.prototype;return c.render=function(){function f(){var i=this,u=this.state,s=u.dragging,d=u.editing,C=u.value,g=u.suppressingFlicker,v=this.props,h=v.animated,V=v.value,b=v.unit,B=v.minValue,I=v.maxValue,w=v.format,T=v.onChange,A=v.onDrag,x=v.children,E=v.height,P=v.lineHeight,D=v.fontSize,M=v.disabled,O=V;(s||g)&&(O=C);var j=function(){function _(z){return z+(b?" "+b:"")}return _}(),F=h&&!s&&!g&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:O,format:w,children:j})||j(w?w(O):O),U=(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:!d||M?"none":void 0,height:E,"line-height":P,"font-size":D},onBlur:function(){function _(z){if(d){var H=(0,a.clamp)(parseFloat(z.target.value),B,I);if(Number.isNaN(H)){i.setState({editing:!1});return}i.setState({editing:!1,value:H}),i.suppressFlicker(),T&&T(z,H),A&&A(z,H)}}return _}(),onKeyDown:function(){function _(z){if(z.keyCode===13){var H=(0,a.clamp)(parseFloat(z.target.value),B,I);if(Number.isNaN(H)){i.setState({editing:!1});return}i.setState({editing:!1,value:H}),i.suppressFlicker(),T&&T(z,H),A&&A(z,H);return}if(z.keyCode===27){i.setState({editing:!1});return}}return _}(),disabled:M},null,this.inputRef);return x({dragging:s,editing:d,value:V,displayValue:O,displayElement:F,inputElement:U,handleDragStart:this.handleDragStart})}return f}(),l}(e.Component);k.defaultHooks=t.pureComponentHooks,k.defaultProps={minValue:-1/0,maxValue:1/0,step:1,suppressFlicker:50,dragMatrix:[1,0]}},99936:function(L,r,n){"use strict";r.__esModule=!0,r.Dropdown=void 0;var e=n(28823),a=n(60028),t=n(66586),o=n(93843),m=n(69433),N=["icon","iconRotation","iconSpin","clipSelectedText","color","dropdownStyle","over","nochevron","width","onClick","onSelected","selected","disabled","displayText"],y=["className"],S;function k(d,C){if(d==null)return{};var g={},v=Object.keys(d),h,V;for(V=0;V<v.length;V++)h=v[V],!(C.indexOf(h)>=0)&&(g[h]=d[h]);return g}function p(d,C){d.prototype=Object.create(C.prototype),d.prototype.constructor=d,l(d,C)}function l(d,C){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function g(v,h){return v.__proto__=h,v}return g}(),l(d,C)}var c={placement:"left-start",modifiers:[{name:"eventListeners",enabled:!1}]},f={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function d(){return null}return d}()},i="Layout Dropdown__menu",u="Layout Dropdown__menu-scroll",s=r.Dropdown=function(d){p(C,d);function C(v){var h;return h=d.call(this,v)||this,h.menuContents=void 0,h.handleClick=function(){h.state.open&&h.setOpen(!1)},h.state={open:!1,selected:h.props.selected},h.menuContents=null,h}var g=C.prototype;return g.getDOMNode=function(){function v(){return(0,e.findDOMfromVNode)(this.$LI,!0)}return v}(),g.componentDidMount=function(){function v(){var h=this.getDOMNode()}return v}(),g.openMenu=function(){function v(){var h=C.renderedMenu;h===void 0&&(h=document.createElement("div"),h.className=i,document.body.appendChild(h),C.renderedMenu=h);var V=this.getDOMNode();C.currentOpenMenu=V,h.scrollTop=0,h.style.width=this.props.menuWidth||V.offsetWidth+"px",h.style.opacity="1",h.style.pointerEvents="auto",setTimeout(function(){var b;(b=C.renderedMenu)==null||b.focus()},400),this.renderMenuContent()}return v}(),g.closeMenu=function(){function v(){C.currentOpenMenu===this.getDOMNode()&&(C.currentOpenMenu=void 0,C.renderedMenu.style.opacity="0",C.renderedMenu.style.pointerEvents="none")}return v}(),g.componentWillUnmount=function(){function v(){this.closeMenu(),this.setOpen(!1)}return v}(),g.renderMenuContent=function(){function v(){var h=this,V=C.renderedMenu;if(V){V.offsetHeight>200?V.className=u:V.className=i;var b=this.props.options,B=b===void 0?[]:b,I=B.map(function(T){var A,x;return typeof T=="string"?(x=T,A=T):T!==null&&(x=T.displayText,A=T.value),(0,e.createVNode)(1,"div",(0,t.classes)(["Dropdown__menuentry",h.state.selected===A&&"selected"]),x,0,{onClick:function(){function E(){h.setSelected(A)}return E}()},A)}),w=I.length?I:"No Options Found";(0,e.render)((0,e.createVNode)(1,"div",null,w,0),V,function(){var T=C.singletonPopper;T===void 0?(T=(0,a.createPopper)(C.virtualElement,V,Object.assign({},c,{placement:"bottom-start"})),C.singletonPopper=T):(T.setOptions(Object.assign({},c,{placement:"bottom-start"})),T.update())},this.context)}}return v}(),g.setOpen=function(){function v(h){var V=this;this.setState(function(b){return Object.assign({},b,{open:h})}),h?setTimeout(function(){V.openMenu(),window.addEventListener("click",V.handleClick)}):(this.closeMenu(),window.removeEventListener("click",this.handleClick))}return v}(),g.setSelected=function(){function v(h){this.setState(function(V){return Object.assign({},V,{selected:h})}),this.setOpen(!1),this.props.onSelected&&this.props.onSelected(h)}return v}(),g.render=function(){function v(){var h=this,V=this.props,b=V.icon,B=V.iconRotation,I=V.iconSpin,w=V.clipSelectedText,T=w===void 0?!0:w,A=V.color,x=A===void 0?"default":A,E=V.dropdownStyle,P=V.over,D=V.nochevron,M=V.width,O=V.onClick,j=V.onSelected,F=V.selected,U=V.disabled,_=V.displayText,z=k(V,N),H=z.className,$=k(z,y),Y=P?!this.state.open:this.state.open;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({width:M,className:(0,t.classes)(["Dropdown__control","Button","Button--color--"+x,U&&"Button--disabled",H]),onClick:function(){function X(re){U&&!h.state.open||(h.setOpen(!h.state.open),O&&O(re))}return X}()},$,{children:[b&&(0,e.createComponentVNode)(2,m.Icon,{name:b,rotation:B,spin:I,mr:1}),(0,e.createVNode)(1,"span","Dropdown__selected-text",_||this.state.selected,0,{style:{overflow:T?"hidden":"visible"}}),D||(0,e.createVNode)(1,"span","Dropdown__arrow-button",(0,e.createComponentVNode)(2,m.Icon,{name:Y?"chevron-up":"chevron-down"}),2)]})))}return v}(),C}(e.Component);S=s,s.renderedMenu=void 0,s.singletonPopper=void 0,s.currentOpenMenu=void 0,s.virtualElement={getBoundingClientRect:function(){function d(){var C,g;return(C=(g=S.currentOpenMenu)==null?void 0:g.getBoundingClientRect())!=null?C:f}return d}()}},92462:function(L,r,n){"use strict";r.__esModule=!0,r.computeFlexProps=r.computeFlexItemProps=r.computeFlexItemClassName=r.computeFlexClassName=r.Flex=void 0;var e=n(28823),a=n(66586),t=n(93843),o=["className","direction","wrap","align","justify","inline"],m=["className"],N=["className","style","grow","order","shrink","basis","align"],y=["className"];/** + */var t=r.Divider=function(){function o(m){var N=m.vertical,y=m.hidden;return(0,e.createVNode)(1,"div",(0,a.classes)(["Divider",y&&"Divider--hidden",N?"Divider--vertical":"Divider--horizontal"]))}return o}()},27648:function(L,r,n){"use strict";r.__esModule=!0,r.DraggableControl=void 0;var e=n(96524),a=n(36121),t=n(28234),o=n(65416);function m(p,l){p.prototype=Object.create(l.prototype),p.prototype.constructor=p,N(p,l)}function N(p,l){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function c(f,u){return f.__proto__=u,f}return c}(),N(p,l)}var y=400,S=function(l,c){return l.screenX*c[0]+l.screenY*c[1]},k=r.DraggableControl=function(p){function l(f){var u;return u=p.call(this,f)||this,u.inputRef=(0,e.createRef)(),u.state={originalValue:f.value,value:f.value,dragging:!1,editing:!1,origin:null,suppressingFlicker:!1},u.flickerTimer=null,u.suppressFlicker=function(){var i=u.props.suppressFlicker;i>0&&(u.setState({suppressingFlicker:!0}),clearTimeout(u.flickerTimer),u.flickerTimer=setTimeout(function(){return u.setState({suppressingFlicker:!1})},i))},u.handleDragStart=function(i){var s=u.props,d=s.value,h=s.dragMatrix,v=s.disabled,g=u.state.editing;g||v||(document.body.style["pointer-events"]="none",u.ref=i.currentTarget,u.setState({originalValue:d,dragging:!1,value:d,origin:S(i,h)}),u.timer=setTimeout(function(){u.setState({dragging:!0})},250),u.dragInterval=setInterval(function(){var C=u.state,V=C.dragging,b=C.value,B=u.props.onDrag;V&&B&&B(i,b)},u.props.updateRate||y),document.addEventListener("mousemove",u.handleDragMove),document.addEventListener("mouseup",u.handleDragEnd))},u.handleDragMove=function(i){var s,d=u.props,h=d.minValue,v=d.maxValue,g=d.step,C=d.dragMatrix,V=d.disabled;if(!V){var b=u.ref.offsetWidth/((v-h)/g),B=(s=u.props.stepPixelSize)!=null?s:b;typeof B=="function"&&(B=B(b)),u.setState(function(I){var w=Object.assign({},I),T=I.origin,A=S(i,C)-T;if(I.dragging){var x=Math.trunc(A/B);w.value=(0,a.clamp)(Math.floor(w.originalValue/g)*g+x*g,h,v)}else Math.abs(A)>4&&(w.dragging=!0);return w})}},u.handleDragEnd=function(i){var s=u.props,d=s.onChange,h=s.onDrag,v=u.state,g=v.dragging,C=v.value;if(document.body.style["pointer-events"]="auto",clearTimeout(u.timer),clearInterval(u.dragInterval),u.setState({originalValue:null,dragging:!1,editing:!g,origin:null}),document.removeEventListener("mousemove",u.handleDragMove),document.removeEventListener("mouseup",u.handleDragEnd),g)u.suppressFlicker(),d&&d(i,C),h&&h(i,C);else if(u.inputRef){var V=u.inputRef.current;V.value=C;try{V.focus(),V.select()}catch(b){}}},u}m(l,p);var c=l.prototype;return c.render=function(){function f(){var u=this,i=this.state,s=i.dragging,d=i.editing,h=i.value,v=i.suppressingFlicker,g=this.props,C=g.animated,V=g.value,b=g.unit,B=g.minValue,I=g.maxValue,w=g.format,T=g.onChange,A=g.onDrag,x=g.children,E=g.height,M=g.lineHeight,j=g.fontSize,P=g.disabled,R=V;(s||v)&&(R=h);var D=function(){function _(H){return H+(b?" "+b:"")}return _}(),F=C&&!s&&!v&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:R,format:w,children:D})||D(w?w(R):R),W=(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:!d||P?"none":void 0,height:E,"line-height":M,"font-size":j},onBlur:function(){function _(H){if(d){var z=(0,a.clamp)(parseFloat(H.target.value),B,I);if(Number.isNaN(z)){u.setState({editing:!1});return}u.setState({editing:!1,value:z}),u.suppressFlicker(),T&&T(H,z),A&&A(H,z)}}return _}(),onKeyDown:function(){function _(H){if(H.keyCode===13){var z=(0,a.clamp)(parseFloat(H.target.value),B,I);if(Number.isNaN(z)){u.setState({editing:!1});return}u.setState({editing:!1,value:z}),u.suppressFlicker(),T&&T(H,z),A&&A(H,z);return}if(H.keyCode===27){u.setState({editing:!1});return}}return _}(),disabled:P},null,this.inputRef);return x({dragging:s,editing:d,value:V,displayValue:R,displayElement:F,inputElement:W,handleDragStart:this.handleDragStart})}return f}(),l}(e.Component);k.defaultHooks=t.pureComponentHooks,k.defaultProps={minValue:-1/0,maxValue:1/0,step:1,suppressFlicker:50,dragMatrix:[1,0]}},45293:function(L,r,n){"use strict";r.__esModule=!0,r.Dropdown=void 0;var e=n(96524),a=n(60023),t=n(28234),o=n(3051),m=n(11253),N=["icon","iconRotation","iconSpin","clipSelectedText","color","dropdownStyle","over","nochevron","width","onClick","onSelected","selected","disabled","displayText"],y=["className"],S;function k(d,h){if(d==null)return{};var v={},g=Object.keys(d),C,V;for(V=0;V<g.length;V++)C=g[V],!(h.indexOf(C)>=0)&&(v[C]=d[C]);return v}function p(d,h){d.prototype=Object.create(h.prototype),d.prototype.constructor=d,l(d,h)}function l(d,h){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function v(g,C){return g.__proto__=C,g}return v}(),l(d,h)}var c={placement:"left-start",modifiers:[{name:"eventListeners",enabled:!1}]},f={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function d(){return null}return d}()},u="Layout Dropdown__menu",i="Layout Dropdown__menu-scroll",s=r.Dropdown=function(d){function h(g){var C;return C=d.call(this,g)||this,C.menuContents=void 0,C.handleClick=function(){C.state.open&&C.setOpen(!1)},C.state={open:!1,selected:C.props.selected},C.menuContents=null,C}p(h,d);var v=h.prototype;return v.getDOMNode=function(){function g(){return(0,e.findDOMfromVNode)(this.$LI,!0)}return g}(),v.componentDidMount=function(){function g(){var C=this.getDOMNode()}return g}(),v.openMenu=function(){function g(){var C=h.renderedMenu;C===void 0&&(C=document.createElement("div"),C.className=u,document.body.appendChild(C),h.renderedMenu=C);var V=this.getDOMNode();h.currentOpenMenu=V,C.scrollTop=0,C.style.width=this.props.menuWidth||V.offsetWidth+"px",C.style.opacity="1",C.style.pointerEvents="auto",setTimeout(function(){var b;(b=h.renderedMenu)==null||b.focus()},400),this.renderMenuContent()}return g}(),v.closeMenu=function(){function g(){h.currentOpenMenu===this.getDOMNode()&&(h.currentOpenMenu=void 0,h.renderedMenu.style.opacity="0",h.renderedMenu.style.pointerEvents="none")}return g}(),v.componentWillUnmount=function(){function g(){this.closeMenu(),this.setOpen(!1)}return g}(),v.renderMenuContent=function(){function g(){var C=this,V=h.renderedMenu;if(V){V.offsetHeight>200?V.className=i:V.className=u;var b=this.props.options,B=b===void 0?[]:b,I=B.map(function(T){var A,x;return typeof T=="string"?(x=T,A=T):T!==null&&(x=T.displayText,A=T.value),(0,e.createVNode)(1,"div",(0,t.classes)(["Dropdown__menuentry",C.state.selected===A&&"selected"]),x,0,{onClick:function(){function E(){C.setSelected(A)}return E}()},A)}),w=I.length?I:"No Options Found";(0,e.render)((0,e.createVNode)(1,"div",null,w,0),V,function(){var T=h.singletonPopper;T===void 0?(T=(0,a.createPopper)(h.virtualElement,V,Object.assign({},c,{placement:"bottom-start"})),h.singletonPopper=T):(T.setOptions(Object.assign({},c,{placement:"bottom-start"})),T.update())},this.context)}}return g}(),v.setOpen=function(){function g(C){var V=this;this.setState(function(b){return Object.assign({},b,{open:C})}),C?setTimeout(function(){V.openMenu(),window.addEventListener("click",V.handleClick)}):(this.closeMenu(),window.removeEventListener("click",this.handleClick))}return g}(),v.setSelected=function(){function g(C){this.setState(function(V){return Object.assign({},V,{selected:C})}),this.setOpen(!1),this.props.onSelected&&this.props.onSelected(C)}return g}(),v.render=function(){function g(){var C=this,V=this.props,b=V.icon,B=V.iconRotation,I=V.iconSpin,w=V.clipSelectedText,T=w===void 0?!0:w,A=V.color,x=A===void 0?"default":A,E=V.dropdownStyle,M=V.over,j=V.nochevron,P=V.width,R=V.onClick,D=V.onSelected,F=V.selected,W=V.disabled,_=V.displayText,H=k(V,N),z=H.className,$=k(H,y),X=M?!this.state.open:this.state.open;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({width:P,className:(0,t.classes)(["Dropdown__control","Button","Button--color--"+x,W&&"Button--disabled",z]),onClick:function(){function J(ce){W&&!C.state.open||(C.setOpen(!C.state.open),R&&R(ce))}return J}()},$,{children:[b&&(0,e.createComponentVNode)(2,m.Icon,{name:b,rotation:B,spin:I,mr:1}),(0,e.createVNode)(1,"span","Dropdown__selected-text",_||this.state.selected,0,{style:{overflow:T?"hidden":"visible"}}),j||(0,e.createVNode)(1,"span","Dropdown__arrow-button",(0,e.createComponentVNode)(2,m.Icon,{name:X?"chevron-up":"chevron-down"}),2)]})))}return g}(),h}(e.Component);S=s,s.renderedMenu=void 0,s.singletonPopper=void 0,s.currentOpenMenu=void 0,s.virtualElement={getBoundingClientRect:function(){function d(){var h,v;return(h=(v=S.currentOpenMenu)==null?void 0:v.getBoundingClientRect())!=null?h:f}return d}()}},18963:function(L,r,n){"use strict";r.__esModule=!0,r.computeFlexProps=r.computeFlexItemProps=r.computeFlexItemClassName=r.computeFlexClassName=r.Flex=void 0;var e=n(96524),a=n(28234),t=n(3051),o=["className","direction","wrap","align","justify","inline"],m=["className"],N=["className","style","grow","order","shrink","basis","align"],y=["className"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function S(u,s){if(u==null)return{};var d={},C=Object.keys(u),g,v;for(v=0;v<C.length;v++)g=C[v],!(s.indexOf(g)>=0)&&(d[g]=u[g]);return d}var k=r.computeFlexClassName=function(){function u(s){return(0,a.classes)(["Flex",s.inline&&"Flex--inline",Byond.IS_LTE_IE10&&"Flex--iefix",Byond.IS_LTE_IE10&&s.direction==="column"&&"Flex--iefix--column",(0,t.computeBoxClassName)(s)])}return u}(),p=r.computeFlexProps=function(){function u(s){var d=s.className,C=s.direction,g=s.wrap,v=s.align,h=s.justify,V=s.inline,b=S(s,o);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},b.style,{"flex-direction":C,"flex-wrap":g===!0?"wrap":g,"align-items":v,"justify-content":h})},b))}return u}(),l=r.Flex=function(){function u(s){var d=s.className,C=S(s,m);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([d,k(C)]),null,1,Object.assign({},p(C))))}return u}();l.defaultHooks=a.pureComponentHooks;var c=r.computeFlexItemClassName=function(){function u(s){return(0,a.classes)(["Flex__item",Byond.IS_LTE_IE10&&"Flex__item--iefix",(0,t.computeBoxClassName)(s)])}return u}(),f=r.computeFlexItemProps=function(){function u(s){var d=s.className,C=s.style,g=s.grow,v=s.order,h=s.shrink,V=s.basis,b=V===void 0?s.width:V,B=s.align,I=S(s,N);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},C,{"flex-grow":g!==void 0&&Number(g),"flex-shrink":h!==void 0&&Number(h),"flex-basis":(0,t.unit)(b),order:v,"align-self":B})},I))}return u}(),i=function(s){var d=s.className,C=S(s,y);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([d,c(s)]),null,1,Object.assign({},f(C))))};i.defaultHooks=a.pureComponentHooks,l.Item=i},81753:function(L,r,n){"use strict";r.__esModule=!0,r.GridColumn=r.Grid=void 0;var e=n(28823),a=n(99753),t=n(66586),o=["children"],m=["size","style"];/** + */function S(i,s){if(i==null)return{};var d={},h=Object.keys(i),v,g;for(g=0;g<h.length;g++)v=h[g],!(s.indexOf(v)>=0)&&(d[v]=i[v]);return d}var k=r.computeFlexClassName=function(){function i(s){return(0,a.classes)(["Flex",s.inline&&"Flex--inline",(0,t.computeBoxClassName)(s)])}return i}(),p=r.computeFlexProps=function(){function i(s){var d=s.className,h=s.direction,v=s.wrap,g=s.align,C=s.justify,V=s.inline,b=S(s,o);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},b.style,{"flex-direction":h,"flex-wrap":v===!0?"wrap":v,"align-items":g,"justify-content":C})},b))}return i}(),l=r.Flex=function(){function i(s){var d=s.className,h=S(s,m);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([d,k(h)]),null,1,Object.assign({},p(h))))}return i}();l.defaultHooks=a.pureComponentHooks;var c=r.computeFlexItemClassName=function(){function i(s){return(0,a.classes)(["Flex__item",(0,t.computeBoxClassName)(s)])}return i}(),f=r.computeFlexItemProps=function(){function i(s){var d=s.className,h=s.style,v=s.grow,g=s.order,C=s.shrink,V=s.basis,b=V===void 0?s.width:V,B=s.align,I=S(s,N);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},h,{"flex-grow":v!==void 0&&Number(v),"flex-shrink":C!==void 0&&Number(C),"flex-basis":(0,t.unit)(b),order:g,"align-self":B})},I))}return i}(),u=function(s){var d=s.className,h=S(s,y);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([d,c(s)]),null,1,Object.assign({},f(h))))};u.defaultHooks=a.pureComponentHooks,l.Item=u},17956:function(L,r,n){"use strict";r.__esModule=!0,r.GridColumn=r.Grid=void 0;var e=n(96524),a=n(5126),t=n(28234),o=["children"],m=["size","style"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function N(k,p){if(k==null)return{};var l={},c=Object.keys(k),f,i;for(i=0;i<c.length;i++)f=c[i],!(p.indexOf(f)>=0)&&(l[f]=k[f]);return l}var y=r.Grid=function(){function k(p){var l=p.children,c=N(p,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table,Object.assign({},c,{children:(0,e.createComponentVNode)(2,a.Table.Row,{children:l})})))}return k}();y.defaultHooks=t.pureComponentHooks;var S=r.GridColumn=function(){function k(p){var l=p.size,c=l===void 0?1:l,f=p.style,i=N(p,m);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table.Cell,Object.assign({style:Object.assign({width:c+"%"},f)},i)))}return k}();y.defaultHooks=t.pureComponentHooks,y.Column=S},69433:function(L,r,n){"use strict";r.__esModule=!0,r.IconStack=r.Icon=void 0;var e=n(28823),a=n(66586),t=n(93843),o=["name","size","spin","className","style","rotation","inverse"],m=["className","style","children"];/** + */function N(k,p){if(k==null)return{};var l={},c=Object.keys(k),f,u;for(u=0;u<c.length;u++)f=c[u],!(p.indexOf(f)>=0)&&(l[f]=k[f]);return l}var y=r.Grid=function(){function k(p){var l=p.children,c=N(p,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table,Object.assign({},c,{children:(0,e.createComponentVNode)(2,a.Table.Row,{children:l})})))}return k}();y.defaultHooks=t.pureComponentHooks;var S=r.GridColumn=function(){function k(p){var l=p.size,c=l===void 0?1:l,f=p.style,u=N(p,m);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table.Cell,Object.assign({style:Object.assign({width:c+"%"},f)},u)))}return k}();y.defaultHooks=t.pureComponentHooks,y.Column=S},11253:function(L,r,n){"use strict";r.__esModule=!0,r.IconStack=r.Icon=void 0;var e=n(96524),a=n(28234),t=n(3051),o=["name","size","spin","className","style","rotation","inverse"],m=["className","style","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function N(p,l){if(p==null)return{};var c={},f=Object.keys(p),i,u;for(u=0;u<f.length;u++)i=f[u],!(l.indexOf(i)>=0)&&(c[i]=p[i]);return c}var y=/-o$/,S=r.Icon=function(){function p(l){var c=l.name,f=l.size,i=l.spin,u=l.className,s=l.style,d=s===void 0?{}:s,C=l.rotation,g=l.inverse,v=N(l,o);f&&(d["font-size"]=f*100+"%"),typeof C=="number"&&(d.transform="rotate("+C+"deg)");var h=y.test(c),V=c.replace(y,"");return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"i",className:(0,a.classes)(["Icon",u,h?"far":"fas","fa-"+V,i&&"fa-spin"]),style:d},v)))}return p}();S.defaultHooks=a.pureComponentHooks;var k=r.IconStack=function(){function p(l){var c=l.className,f=l.style,i=f===void 0?{}:f,u=l.children,s=N(l,m);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"span",class:(0,a.classes)(["IconStack",c]),style:i},s,{children:u})))}return p}();S.Stack=k},51190:function(L,r,n){"use strict";r.__esModule=!0,r.toInputValue=r.Input=void 0;var e=n(28823),a=n(66586),t=n(93843),o=n(31068),m=["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus","disabled","multiline","cols","rows"],N=["className","fluid","monospace"];function y(c,f){if(c==null)return{};var i={},u=Object.keys(c),s,d;for(d=0;d<u.length;d++)s=u[d],!(f.indexOf(s)>=0)&&(i[s]=c[s]);return i}function S(c,f){c.prototype=Object.create(f.prototype),c.prototype.constructor=c,k(c,f)}function k(c,f){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function i(u,s){return u.__proto__=s,u}return i}(),k(c,f)}/** + */function N(p,l){if(p==null)return{};var c={},f=Object.keys(p),u,i;for(i=0;i<f.length;i++)u=f[i],!(l.indexOf(u)>=0)&&(c[u]=p[u]);return c}var y=/-o$/,S=r.Icon=function(){function p(l){var c=l.name,f=l.size,u=l.spin,i=l.className,s=l.style,d=s===void 0?{}:s,h=l.rotation,v=l.inverse,g=N(l,o);f&&(d["font-size"]=f*100+"%"),typeof h=="number"&&(d.transform="rotate("+h+"deg)");var C=y.test(c),V=c.replace(y,"");return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"i",className:(0,a.classes)(["Icon",i,C?"far":"fas","fa-"+V,u&&"fa-spin"]),style:d},g)))}return p}();S.defaultHooks=a.pureComponentHooks;var k=r.IconStack=function(){function p(l){var c=l.className,f=l.style,u=f===void 0?{}:f,i=l.children,s=N(l,m);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"span",class:(0,a.classes)(["IconStack",c]),style:u},s,{children:i})))}return p}();S.Stack=k},49034:function(L,r,n){"use strict";r.__esModule=!0,r.toInputValue=r.Input=void 0;var e=n(96524),a=n(28234),t=n(3051),o=n(68100),m=["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus","disabled","multiline","cols","rows"],N=["className","fluid","monospace"];function y(c,f){if(c==null)return{};var u={},i=Object.keys(c),s,d;for(d=0;d<i.length;d++)s=i[d],!(f.indexOf(s)>=0)&&(u[s]=c[s]);return u}function S(c,f){c.prototype=Object.create(f.prototype),c.prototype.constructor=c,k(c,f)}function k(c,f){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function u(i,s){return i.__proto__=s,i}return u}(),k(c,f)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var p=r.toInputValue=function(){function c(f){return typeof f!="number"&&typeof f!="string"?"":String(f)}return c}(),l=r.Input=function(c){S(f,c);function f(){var u;return u=c.call(this)||this,u.inputRef=(0,e.createRef)(),u.state={editing:!1},u.handleInput=function(s){var d=u.state.editing,C=u.props.onInput;d||u.setEditing(!0),C&&C(s,s.target.value)},u.handleFocus=function(s){var d=u.state.editing;d||u.setEditing(!0)},u.handleBlur=function(s){var d=u.state.editing,C=u.props.onChange;d&&(u.setEditing(!1),C&&C(s,s.target.value))},u.handleKeyDown=function(s){var d=u.props,C=d.onInput,g=d.onChange,v=d.onEnter;if(s.keyCode===o.KEY_ENTER){u.setEditing(!1),g&&g(s,s.target.value),C&&C(s,s.target.value),v&&v(s,s.target.value),u.props.selfClear?s.target.value="":s.target.blur();return}if(s.keyCode===o.KEY_ESCAPE){u.setEditing(!1),s.target.value=p(u.props.value),s.target.blur();return}},u}var i=f.prototype;return i.componentDidMount=function(){function u(){var s=this,d=this.props.value,C=this.inputRef.current;C&&(C.value=p(d),C.selectionStart=0,C.selectionEnd=C.value.length),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){C.focus(),s.props.autoSelect&&C.select()},1)}return u}(),i.componentDidUpdate=function(){function u(s,d){var C=this.state.editing,g=s.value,v=this.props.value,h=this.inputRef.current;h&&!C&&g!==v&&(h.value=p(v))}return u}(),i.setEditing=function(){function u(s){this.setState({editing:s})}return u}(),i.render=function(){function u(){var s=this.props,d=s.selfClear,C=s.onInput,g=s.onChange,v=s.onEnter,h=s.value,V=s.maxLength,b=s.placeholder,B=s.autofocus,I=s.disabled,w=s.multiline,T=s.cols,A=T===void 0?32:T,x=s.rows,E=x===void 0?4:x,P=y(s,m),D=P.className,M=P.fluid,O=P.monospace,j=y(P,N);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["Input",M&&"Input--fluid",O&&"Input--monospace",I&&"Input--disabled",D])},j,{children:[(0,e.createVNode)(1,"div","Input__baseline",".",16),w?(0,e.createVNode)(128,"textarea","Input__textarea",null,1,{placeholder:b,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:V,cols:A,rows:E,disabled:I},null,this.inputRef):(0,e.createVNode)(64,"input","Input__input",null,1,{placeholder:b,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:V,disabled:I},null,this.inputRef)]})))}return u}(),f}(e.Component)},35095:function(L,r,n){"use strict";r.__esModule=!0,r.Knob=void 0;var e=n(28823),a=n(58331),t=n(66586),o=n(93843),m=n(41584),N=n(43023),y=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"];/** +*/var p=r.toInputValue=function(){function c(f){return typeof f!="number"&&typeof f!="string"?"":String(f)}return c}(),l=r.Input=function(c){function f(){var i;return i=c.call(this)||this,i.inputRef=(0,e.createRef)(),i.state={editing:!1},i.handleInput=function(s){var d=i.state.editing,h=i.props.onInput;d||i.setEditing(!0),h&&h(s,s.target.value)},i.handleFocus=function(s){var d=i.state.editing;d||i.setEditing(!0)},i.handleBlur=function(s){var d=i.state.editing,h=i.props.onChange;d&&(i.setEditing(!1),h&&h(s,s.target.value))},i.handleKeyDown=function(s){var d=i.props,h=d.onInput,v=d.onChange,g=d.onEnter;if(s.keyCode===o.KEY_ENTER){i.setEditing(!1),v&&v(s,s.target.value),h&&h(s,s.target.value),g&&g(s,s.target.value),i.props.selfClear?s.target.value="":s.target.blur();return}if(s.keyCode===o.KEY_ESCAPE){i.setEditing(!1),s.target.value=p(i.props.value),s.target.blur();return}},i}S(f,c);var u=f.prototype;return u.componentDidMount=function(){function i(){var s=this,d=this.props.value,h=this.inputRef.current;h&&(h.value=p(d),h.selectionStart=0,h.selectionEnd=h.value.length),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){h.focus(),s.props.autoSelect&&h.select()},1)}return i}(),u.componentDidUpdate=function(){function i(s,d){var h=this.state.editing,v=s.value,g=this.props.value,C=this.inputRef.current;C&&!h&&v!==g&&(C.value=p(g))}return i}(),u.setEditing=function(){function i(s){this.setState({editing:s})}return i}(),u.render=function(){function i(){var s=this.props,d=s.selfClear,h=s.onInput,v=s.onChange,g=s.onEnter,C=s.value,V=s.maxLength,b=s.placeholder,B=s.autofocus,I=s.disabled,w=s.multiline,T=s.cols,A=T===void 0?32:T,x=s.rows,E=x===void 0?4:x,M=y(s,m),j=M.className,P=M.fluid,R=M.monospace,D=y(M,N);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["Input",P&&"Input--fluid",R&&"Input--monospace",I&&"Input--disabled",j])},D,{children:[(0,e.createVNode)(1,"div","Input__baseline",".",16),w?(0,e.createVNode)(128,"textarea","Input__textarea",null,1,{placeholder:b,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:V,cols:A,rows:E,disabled:I},null,this.inputRef):(0,e.createVNode)(64,"input","Input__input",null,1,{placeholder:b,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:V,disabled:I},null,this.inputRef)]})))}return i}(),f}(e.Component)},9836:function(L,r,n){"use strict";r.__esModule=!0,r.Knob=void 0;var e=n(96524),a=n(36121),t=n(28234),o=n(3051),m=n(27648),N=n(5985),y=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function S(p,l){if(p==null)return{};var c={},f=Object.keys(p),i,u;for(u=0;u<f.length;u++)i=f[u],!(l.indexOf(i)>=0)&&(c[i]=p[i]);return c}var k=r.Knob=function(){function p(l){if(Byond.IS_LTE_IE8)return(0,e.normalizeProps)((0,e.createComponentVNode)(2,N.NumberInput,Object.assign({},l)));var c=l.animated,f=l.format,i=l.maxValue,u=l.minValue,s=l.onChange,d=l.onDrag,C=l.step,g=l.stepPixelSize,v=l.suppressFlicker,h=l.unit,V=l.value,b=l.className,B=l.style,I=l.fillValue,w=l.color,T=l.ranges,A=T===void 0?{}:T,x=l.size,E=x===void 0?1:x,P=l.bipolar,D=l.children,M=l.popUpPosition,O=S(l,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:c,format:f,maxValue:i,minValue:u,onChange:s,onDrag:d,step:C,stepPixelSize:g,suppressFlicker:v,unit:h,value:V},{children:function(){function j(F){var U=F.dragging,_=F.editing,z=F.value,H=F.displayValue,$=F.displayElement,Y=F.inputElement,X=F.handleDragStart,re=(0,a.scale)(I!=null?I:H,u,i),ae=(0,a.scale)(H,u,i),se=w||(0,a.keyOfMatchingRange)(I!=null?I:z,A)||"default",pe=(ae-.5)*270;return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["Knob","Knob--color--"+se,P&&"Knob--bipolar",b,(0,o.computeBoxClassName)(O)]),[(0,e.createVNode)(1,"div","Knob__circle",(0,e.createVNode)(1,"div","Knob__cursorBox",(0,e.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+pe+"deg)"}}),2),U&&(0,e.createVNode)(1,"div",(0,t.classes)(["Knob__popupValue",M&&"Knob__popupValue--"+M]),$,0),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,e.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,e.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((P?2.75:2)-re*1.5)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),Y],0,Object.assign({},(0,o.computeBoxProps)(Object.assign({style:Object.assign({"font-size":E+"em"},B)},O)),{onMouseDown:X})))}return j}()})))}return p}()},36563:function(L,r,n){"use strict";r.__esModule=!0,r.LabeledControls=void 0;var e=n(28823),a=n(92462),t=["children"],o=["label","children"];/** + */function S(p,l){if(p==null)return{};var c={},f=Object.keys(p),u,i;for(i=0;i<f.length;i++)u=f[i],!(l.indexOf(u)>=0)&&(c[u]=p[u]);return c}var k=r.Knob=function(){function p(l){var c=l.animated,f=l.format,u=l.maxValue,i=l.minValue,s=l.onChange,d=l.onDrag,h=l.step,v=l.stepPixelSize,g=l.suppressFlicker,C=l.unit,V=l.value,b=l.className,B=l.style,I=l.fillValue,w=l.color,T=l.ranges,A=T===void 0?{}:T,x=l.size,E=x===void 0?1:x,M=l.bipolar,j=l.children,P=l.popUpPosition,R=S(l,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:c,format:f,maxValue:u,minValue:i,onChange:s,onDrag:d,step:h,stepPixelSize:v,suppressFlicker:g,unit:C,value:V},{children:function(){function D(F){var W=F.dragging,_=F.editing,H=F.value,z=F.displayValue,$=F.displayElement,X=F.inputElement,J=F.handleDragStart,ce=(0,a.scale)(I!=null?I:z,i,u),re=(0,a.scale)(z,i,u),me=w||(0,a.keyOfMatchingRange)(I!=null?I:H,A)||"default",pe=(re-.5)*270;return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["Knob","Knob--color--"+me,M&&"Knob--bipolar",b,(0,o.computeBoxClassName)(R)]),[(0,e.createVNode)(1,"div","Knob__circle",(0,e.createVNode)(1,"div","Knob__cursorBox",(0,e.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+pe+"deg)"}}),2),W&&(0,e.createVNode)(1,"div",(0,t.classes)(["Knob__popupValue",P&&"Knob__popupValue--"+P]),$,0),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,e.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,e.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((M?2.75:2)-ce*1.5)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),X],0,Object.assign({},(0,o.computeBoxProps)(Object.assign({style:Object.assign({"font-size":E+"em"},B)},R)),{onMouseDown:J})))}return D}()})))}return p}()},86259:function(L,r,n){"use strict";r.__esModule=!0,r.LabeledControls=void 0;var e=n(96524),a=n(18963),t=["children"],o=["label","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function m(S,k){if(S==null)return{};var p={},l=Object.keys(S),c,f;for(f=0;f<l.length;f++)c=l[f],!(k.indexOf(c)>=0)&&(p[c]=S[c]);return p}var N=r.LabeledControls=function(){function S(k){var p=k.children,l=m(k,t);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Flex,Object.assign({mx:-.5,align:"stretch",justify:"space-between"},l,{children:p})))}return S}(),y=function(k){var p=k.label,l=k.children,c=m(k,o);return(0,e.createComponentVNode)(2,a.Flex.Item,{mx:1,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Flex,Object.assign({minWidth:"52px",height:"100%",direction:"column",align:"center",textAlign:"center",justify:"space-between"},c,{children:[(0,e.createComponentVNode)(2,a.Flex.Item),(0,e.createComponentVNode)(2,a.Flex.Item,{children:l}),(0,e.createComponentVNode)(2,a.Flex.Item,{color:"label",children:p})]})))})};N.Item=y},88488:function(L,r,n){"use strict";r.__esModule=!0,r.LabeledList=void 0;var e=n(28823),a=n(66586),t=n(93843),o=n(81878),m=n(30341);/** + */function m(S,k){if(S==null)return{};var p={},l=Object.keys(S),c,f;for(f=0;f<l.length;f++)c=l[f],!(k.indexOf(c)>=0)&&(p[c]=S[c]);return p}var N=r.LabeledControls=function(){function S(k){var p=k.children,l=m(k,t);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Flex,Object.assign({mx:-.5,align:"stretch",justify:"space-between"},l,{children:p})))}return S}(),y=function(k){var p=k.label,l=k.children,c=m(k,o);return(0,e.createComponentVNode)(2,a.Flex.Item,{mx:1,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Flex,Object.assign({minWidth:"52px",height:"100%",direction:"column",align:"center",textAlign:"center",justify:"space-between"},c,{children:[(0,e.createComponentVNode)(2,a.Flex.Item),(0,e.createComponentVNode)(2,a.Flex.Item,{children:l}),(0,e.createComponentVNode)(2,a.Flex.Item,{color:"label",children:p})]})))})};N.Item=y},91097:function(L,r,n){"use strict";r.__esModule=!0,r.LabeledList=void 0;var e=n(96524),a=n(28234),t=n(3051),o=n(31647),m=n(58749);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var N=r.LabeledList=function(){function k(p){var l=p.children;return(0,e.createVNode)(1,"table","LabeledList",l,0)}return k}();N.defaultHooks=a.pureComponentHooks;var y=function(p){var l=p.className,c=p.label,f=p.labelColor,i=f===void 0?"label":f,u=p.color,s=p.textAlign,d=p.buttons,C=p.tooltip,g=p.content,v=p.children,h=(0,e.createVNode)(1,"tr",(0,a.classes)(["LabeledList__row",l]),[(0,e.createComponentVNode)(2,t.Box,{as:"td",color:i,className:(0,a.classes)(["LabeledList__cell","LabeledList__label"]),children:c?c+":":null}),(0,e.createComponentVNode)(2,t.Box,{as:"td",color:u,textAlign:s,className:(0,a.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:d?void 0:2,children:[g,v]}),d&&(0,e.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",d,0)],0);return C&&(h=(0,e.createComponentVNode)(2,m.Tooltip,{content:C,children:h})),h};y.defaultHooks=a.pureComponentHooks;var S=function(p){var l=p.size?(0,t.unit)(Math.max(0,p.size-1)):0;return(0,e.createVNode)(1,"tr","LabeledList__row",(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,o.Divider),2,{colSpan:3,style:{"padding-top":l,"padding-bottom":l}}),2)};S.defaultHooks=a.pureComponentHooks,N.Item=y,N.Divider=S},59743:function(L,r,n){"use strict";r.__esModule=!0,r.Modal=void 0;var e=n(28823),a=n(66586),t=n(93843),o=n(15148),m=["className","children","onEnter"];/** + */var N=r.LabeledList=function(){function k(p){var l=p.children;return(0,e.createVNode)(1,"table","LabeledList",l,0)}return k}();N.defaultHooks=a.pureComponentHooks;var y=function(p){var l=p.className,c=p.label,f=p.labelColor,u=f===void 0?"label":f,i=p.color,s=p.textAlign,d=p.buttons,h=p.tooltip,v=p.content,g=p.children,C=(0,e.createVNode)(1,"tr",(0,a.classes)(["LabeledList__row",l]),[(0,e.createComponentVNode)(2,t.Box,{as:"td",color:u,className:(0,a.classes)(["LabeledList__cell","LabeledList__label"]),children:c?c+":":null}),(0,e.createComponentVNode)(2,t.Box,{as:"td",color:i,textAlign:s,className:(0,a.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:d?void 0:2,children:[v,g]}),d&&(0,e.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",d,0)],0);return h&&(C=(0,e.createComponentVNode)(2,m.Tooltip,{content:h,children:C})),C};y.defaultHooks=a.pureComponentHooks;var S=function(p){var l=p.size?(0,t.unit)(Math.max(0,p.size-1)):0;return(0,e.createVNode)(1,"tr","LabeledList__row",(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,o.Divider),2,{colSpan:3,style:{"padding-top":l,"padding-bottom":l}}),2)};S.defaultHooks=a.pureComponentHooks,N.Item=y,N.Divider=S},97539:function(L,r,n){"use strict";r.__esModule=!0,r.Modal=void 0;var e=n(96524),a=n(28234),t=n(3051),o=n(72358),m=["className","children","onEnter"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function N(S,k){if(S==null)return{};var p={},l=Object.keys(S),c,f;for(f=0;f<l.length;f++)c=l[f],!(k.indexOf(c)>=0)&&(p[c]=S[c]);return p}var y=r.Modal=function(){function S(k){var p=k.className,l=k.children,c=k.onEnter,f=N(k,m),i;return c&&(i=function(){function u(s){s.keyCode===13&&c(s)}return u}()),(0,e.createComponentVNode)(2,o.Dimmer,{onKeyDown:i,children:(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Modal",p,(0,t.computeBoxClassName)(f)]),l,0,Object.assign({},(0,t.computeBoxProps)(f))))})}return S}()},94405:function(L,r,n){"use strict";r.__esModule=!0,r.NanoMap=void 0;var e=n(28823),a=n(2971),t=n(91819),o=n(88488),m=n(83611),N=n(96820);function y(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function S(s,d){s.prototype=Object.create(d.prototype),s.prototype.constructor=s,k(s,d)}function k(s,d){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function C(g,v){return g.__proto__=v,g}return C}(),k(s,d)}var p=function(d){return d.stopPropagation&&d.stopPropagation(),d.preventDefault&&d.preventDefault(),d.cancelBubble=!0,d.returnValue=!1,!1},l=r.NanoMap=function(s){S(d,s);function d(g){var v;v=s.call(this,g)||this;var h=window.innerWidth/2-256,V=window.innerHeight/2-256;return v.state={offsetX:128,offsetY:48,transform:"none",dragging:!1,originX:null,originY:null,zoom:1},v.handleDragStart=function(b){v.ref=b.target,v.setState({dragging:!1,originX:b.screenX,originY:b.screenY}),document.addEventListener("mousemove",v.handleDragMove),document.addEventListener("mouseup",v.handleDragEnd),p(b)},v.handleDragMove=function(b){v.setState(function(B){var I=Object.assign({},B),w=b.screenX-I.originX,T=b.screenY-I.originY;return B.dragging?(I.offsetX+=w,I.offsetY+=T,I.originX=b.screenX,I.originY=b.screenY):I.dragging=!0,I}),p(b)},v.handleDragEnd=function(b){v.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",v.handleDragMove),document.removeEventListener("mouseup",v.handleDragEnd),p(b)},v.handleZoom=function(b,B){v.setState(function(I){var w=Math.min(Math.max(B,1),8),T=(w-I.zoom)*1.5;return I.zoom=w,I.offsetX=I.offsetX-262*T,I.offsetY=I.offsetY-256*T,g.onZoom&&g.onZoom(I.zoom),I})},v}var C=d.prototype;return C.render=function(){function g(){var v=(0,t.useBackend)(this.context),h=v.config,V=this.state,b=V.dragging,B=V.offsetX,I=V.offsetY,w=V.zoom,T=w===void 0?1:w,A=this.props.children,x=h.map+"_nanomap_z1.png",E=510*T+"px",P={width:E,height:E,"margin-top":I+"px","margin-left":B+"px",overflow:"hidden",position:"relative","background-size":"cover","background-repeat":"no-repeat","text-align":"center",cursor:b?"move":"auto"},D={width:"100%",height:"100%",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","-ms-interpolation-mode":"nearest-neighbor"};return(0,e.createComponentVNode)(2,a.Box,{className:"NanoMap__container",children:[(0,e.createComponentVNode)(2,a.Box,{style:P,onMouseDown:this.handleDragStart,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,N.resolveAsset)(x),style:D}),(0,e.createComponentVNode)(2,a.Box,{children:A})]}),(0,e.createComponentVNode)(2,f,{zoom:T,onZoom:this.handleZoom})]})}return g}(),d}(e.Component),c=function(d,C){var g=d.x,v=d.y,h=d.zoom,V=h===void 0?1:h,b=d.icon,B=d.tooltip,I=d.color,w=g*2*V-V-3,T=v*2*V-V-3;return(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,a.Tooltip,{content:B,children:(0,e.createComponentVNode)(2,a.Box,{position:"absolute",className:"NanoMap__marker",lineHeight:"0",bottom:T+"px",left:w+"px",children:(0,e.createComponentVNode)(2,a.Icon,{name:b,color:I,fontSize:"6px"})})}),2)};l.Marker=c;var f=function(d,C){return(0,e.createComponentVNode)(2,a.Box,{className:"NanoMap__zoomer",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Zoom",children:(0,e.createComponentVNode)(2,m.Slider,{minValue:1,maxValue:8,stepPixelSize:10,format:function(){function g(v){return v+"x"}return g}(),value:d.zoom,onDrag:function(){function g(v,h){return d.onZoom(v,h)}return g}()})})})})};l.Zoomer=f;var i,u=function(s){S(d,s);function d(g){var v;v=s.call(this,g)||this;var h=(0,t.useBackend)(v.props.context),V=h.act;return v.state={color:v.props.color},v.handleClick=function(b){i!==void 0&&i.setState({color:"blue"}),V("switch_camera",{name:v.props.name}),i=y(v),v.setState({color:"green"})},v}var C=d.prototype;return C.render=function(){function g(){var v=this.props.x*2*this.props.zoom-this.props.zoom-3,h=this.props.y*2*this.props.zoom-this.props.zoom-3;return(0,e.createComponentVNode)(2,a.Button,{onClick:this.handleClick,position:"absolute",className:"NanoMap__button",lineHeight:"0",color:this.props.status?this.state.color:"red",bottom:h+"px",left:v+"px",children:(0,e.createComponentVNode)(2,a.Tooltip,{content:this.props.tooltip})},this.props.key)}return g}(),d}(e.Component);l.NanoButton=u},19153:function(L,r,n){"use strict";r.__esModule=!0,r.NoticeBox=void 0;var e=n(28823),a=n(66586),t=n(93843),o=["className","color","info","warning","success","danger"];/** + */function N(S,k){if(S==null)return{};var p={},l=Object.keys(S),c,f;for(f=0;f<l.length;f++)c=l[f],!(k.indexOf(c)>=0)&&(p[c]=S[c]);return p}var y=r.Modal=function(){function S(k){var p=k.className,l=k.children,c=k.onEnter,f=N(k,m),u;return c&&(u=function(){function i(s){s.keyCode===13&&c(s)}return i}()),(0,e.createComponentVNode)(2,o.Dimmer,{onKeyDown:u,children:(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Modal",p,(0,t.computeBoxClassName)(f)]),l,0,Object.assign({},(0,t.computeBoxProps)(f))))})}return S}()},55830:function(L,r,n){"use strict";r.__esModule=!0,r.NanoMap=void 0;var e=n(96524),a=n(24674),t=n(17899),o=n(91097),m=n(66397),N=n(17442);function y(i,s){i.prototype=Object.create(s.prototype),i.prototype.constructor=i,S(i,s)}function S(i,s){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function d(h,v){return h.__proto__=v,h}return d}(),S(i,s)}var k=function(s){return s.stopPropagation&&s.stopPropagation(),s.preventDefault&&s.preventDefault(),s.cancelBubble=!0,s.returnValue=!1,!1},p=r.NanoMap=function(i){function s(h){var v;v=i.call(this,h)||this;var g=window.innerWidth/2-256,C=window.innerHeight/2-256;return v.state={offsetX:128,offsetY:48,transform:"none",dragging:!1,originX:null,originY:null,zoom:1},v.handleDragStart=function(V){v.ref=V.target,v.setState({dragging:!1,originX:V.screenX,originY:V.screenY}),document.addEventListener("mousemove",v.handleDragMove),document.addEventListener("mouseup",v.handleDragEnd),k(V)},v.handleDragMove=function(V){v.setState(function(b){var B=Object.assign({},b),I=V.screenX-B.originX,w=V.screenY-B.originY;return b.dragging?(B.offsetX+=I,B.offsetY+=w,B.originX=V.screenX,B.originY=V.screenY):B.dragging=!0,B}),k(V)},v.handleDragEnd=function(V){v.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",v.handleDragMove),document.removeEventListener("mouseup",v.handleDragEnd),k(V)},v.handleZoom=function(V,b){v.setState(function(B){var I=Math.min(Math.max(b,1),8),w=(I-B.zoom)*1.5;return B.zoom=I,B.offsetX=B.offsetX-262*w,B.offsetY=B.offsetY-256*w,h.onZoom&&h.onZoom(B.zoom),B})},v}y(s,i);var d=s.prototype;return d.render=function(){function h(){var v=(0,t.useBackend)(this.context),g=v.config,C=this.state,V=C.dragging,b=C.offsetX,B=C.offsetY,I=C.zoom,w=I===void 0?1:I,T=this.props.children,A=g.map+"_nanomap_z1.png",x=510*w+"px",E={width:x,height:x,"margin-top":B+"px","margin-left":b+"px",overflow:"hidden",position:"relative","background-size":"cover","background-repeat":"no-repeat","text-align":"center",cursor:V?"move":"auto"},M={width:"100%",height:"100%",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","-ms-interpolation-mode":"nearest-neighbor"};return(0,e.createComponentVNode)(2,a.Box,{className:"NanoMap__container",children:[(0,e.createComponentVNode)(2,a.Box,{style:E,onMouseDown:this.handleDragStart,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,N.resolveAsset)(A),style:M}),(0,e.createComponentVNode)(2,a.Box,{children:T})]}),(0,e.createComponentVNode)(2,c,{zoom:w,onZoom:this.handleZoom})]})}return h}(),s}(e.Component),l=function(s,d){var h=s.x,v=s.y,g=s.zoom,C=g===void 0?1:g,V=s.icon,b=s.tooltip,B=s.color,I=h*2*C-C-3,w=v*2*C-C-3;return(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,a.Tooltip,{content:b,children:(0,e.createComponentVNode)(2,a.Box,{position:"absolute",className:"NanoMap__marker",lineHeight:"0",bottom:w+"px",left:I+"px",children:(0,e.createComponentVNode)(2,a.Icon,{name:V,color:B,fontSize:"6px"})})}),2)};p.Marker=l;var c=function(s,d){return(0,e.createComponentVNode)(2,a.Box,{className:"NanoMap__zoomer",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Zoom",children:(0,e.createComponentVNode)(2,m.Slider,{minValue:1,maxValue:8,stepPixelSize:10,format:function(){function h(v){return v+"x"}return h}(),value:s.zoom,onDrag:function(){function h(v,g){return s.onZoom(v,g)}return h}()})})})})};p.Zoomer=c;var f,u=function(i){function s(h){var v;v=i.call(this,h)||this;var g=(0,t.useBackend)(v.props.context),C=g.act;return v.state={color:v.props.color},v.handleClick=function(V){f!==void 0&&f.setState({color:"blue"}),C("switch_camera",{name:v.props.name}),f=v,v.setState({color:"green"})},v}y(s,i);var d=s.prototype;return d.render=function(){function h(){var v=this.props.x*2*this.props.zoom-this.props.zoom-3,g=this.props.y*2*this.props.zoom-this.props.zoom-3;return(0,e.createComponentVNode)(2,a.Button,{onClick:this.handleClick,position:"absolute",className:"NanoMap__button",lineHeight:"0",color:this.props.status?this.state.color:"red",bottom:g+"px",left:v+"px",children:(0,e.createComponentVNode)(2,a.Tooltip,{content:this.props.tooltip})},this.props.key)}return h}(),s}(e.Component);p.NanoButton=u},14899:function(L,r,n){"use strict";r.__esModule=!0,r.NoticeBox=void 0;var e=n(96524),a=n(28234),t=n(3051),o=["className","color","info","warning","success","danger"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function m(y,S){if(y==null)return{};var k={},p=Object.keys(y),l,c;for(c=0;c<p.length;c++)l=p[c],!(S.indexOf(l)>=0)&&(k[l]=y[l]);return k}var N=r.NoticeBox=function(){function y(S){var k=S.className,p=S.color,l=S.info,c=S.warning,f=S.success,i=S.danger,u=m(S,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["NoticeBox",p&&"NoticeBox--color--"+p,l&&"NoticeBox--type--info",f&&"NoticeBox--type--success",i&&"NoticeBox--type--danger",k])},u)))}return y}();N.defaultHooks=a.pureComponentHooks},43023:function(L,r,n){"use strict";r.__esModule=!0,r.NumberInput=void 0;var e=n(28823),a=n(58331),t=n(66586),o=n(15281),m=n(93843);function N(p,l){p.prototype=Object.create(l.prototype),p.prototype.constructor=p,y(p,l)}function y(p,l){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function c(f,i){return f.__proto__=i,f}return c}(),y(p,l)}/** + */function m(y,S){if(y==null)return{};var k={},p=Object.keys(y),l,c;for(c=0;c<p.length;c++)l=p[c],!(S.indexOf(l)>=0)&&(k[l]=y[l]);return k}var N=r.NoticeBox=function(){function y(S){var k=S.className,p=S.color,l=S.info,c=S.warning,f=S.success,u=S.danger,i=m(S,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["NoticeBox",p&&"NoticeBox--color--"+p,l&&"NoticeBox--type--info",f&&"NoticeBox--type--success",u&&"NoticeBox--type--danger",k])},i)))}return y}();N.defaultHooks=a.pureComponentHooks},5985:function(L,r,n){"use strict";r.__esModule=!0,r.NumberInput=void 0;var e=n(96524),a=n(36121),t=n(28234),o=n(65416),m=n(3051);function N(p,l){p.prototype=Object.create(l.prototype),p.prototype.constructor=p,y(p,l)}function y(p,l){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function c(f,u){return f.__proto__=u,f}return c}(),y(p,l)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var S=400,k=r.NumberInput=function(p){N(l,p);function l(f){var i;i=p.call(this,f)||this;var u=f.value;return i.inputRef=(0,e.createRef)(),i.state={value:u,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},i.flickerTimer=null,i.suppressFlicker=function(){var s=i.props.suppressFlicker;s>0&&(i.setState({suppressingFlicker:!0}),clearTimeout(i.flickerTimer),i.flickerTimer=setTimeout(function(){return i.setState({suppressingFlicker:!1})},s))},i.handleDragStart=function(s){var d=i.props.value,C=i.state.editing;C||(document.body.style["pointer-events"]="none",i.ref=s.target,i.setState({dragging:!1,origin:s.screenY,value:d,internalValue:d}),i.timer=setTimeout(function(){i.setState({dragging:!0})},250),i.dragInterval=setInterval(function(){var g=i.state,v=g.dragging,h=g.value,V=i.props.onDrag;v&&V&&V(s,h)},i.props.updateRate||S),document.addEventListener("mousemove",i.handleDragMove),document.addEventListener("mouseup",i.handleDragEnd))},i.handleDragMove=function(s){var d=i.props,C=d.minValue,g=d.maxValue,v=d.step,h=d.stepPixelSize;i.setState(function(V){var b=Object.assign({},V),B=b.origin-s.screenY;if(V.dragging){var I=Number.isFinite(C)?C%v:0;b.internalValue=(0,a.clamp)(b.internalValue+B*v/h,C-v,g+v),b.value=(0,a.clamp)(b.internalValue-b.internalValue%v+I,C,g),b.origin=s.screenY}else Math.abs(B)>4&&(b.dragging=!0);return b})},i.handleDragEnd=function(s){var d=i.props,C=d.onChange,g=d.onDrag,v=i.state,h=v.dragging,V=v.value,b=v.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(i.timer),clearInterval(i.dragInterval),i.setState({dragging:!1,editing:!h,origin:null}),document.removeEventListener("mousemove",i.handleDragMove),document.removeEventListener("mouseup",i.handleDragEnd),h)i.suppressFlicker(),C&&C(s,V),g&&g(s,V);else if(i.inputRef){var B=i.inputRef.current;B.value=b;try{B.focus(),B.select()}catch(I){}}},i}var c=l.prototype;return c.render=function(){function f(){var i=this,u=this.state,s=u.dragging,d=u.editing,C=u.value,g=u.suppressingFlicker,v=this.props,h=v.className,V=v.fluid,b=v.animated,B=v.value,I=v.unit,w=v.minValue,T=v.maxValue,A=v.height,x=v.width,E=v.lineHeight,P=v.fontSize,D=v.format,M=v.onChange,O=v.onDrag,j=B;(s||g)&&(j=C);var F=(0,e.createVNode)(1,"div","NumberInput__content",[b&&!s&&!g?(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:j,format:D}):D?D(j):j,I?" "+I:""],0,{unselectable:Byond.IS_LTE_IE8});return(0,e.createComponentVNode)(2,m.Box,{className:(0,t.classes)(["NumberInput",V&&"NumberInput--fluid",h]),minWidth:x,minHeight:A,lineHeight:E,fontSize:P,onMouseDown:this.handleDragStart,children:[(0,e.createVNode)(1,"div","NumberInput__barContainer",(0,e.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,a.clamp)((j-w)/(T-w)*100,0,100)+"%"}}),2),F,(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:d?void 0:"none",height:A,"line-height":E,"font-size":P},onBlur:function(){function U(_){if(d){var z=(0,a.clamp)(parseFloat(_.target.value),w,T);if(Number.isNaN(z)){i.setState({editing:!1});return}i.setState({editing:!1,value:z}),i.suppressFlicker(),M&&M(_,z),O&&O(_,z)}}return U}(),onKeyDown:function(){function U(_){if(_.keyCode===13){var z=(0,a.clamp)(parseFloat(_.target.value),w,T);if(Number.isNaN(z)){i.setState({editing:!1});return}i.setState({editing:!1,value:z}),i.suppressFlicker(),M&&M(_,z),O&&O(_,z);return}if(_.keyCode===27){i.setState({editing:!1});return}}return U}()},null,this.inputRef)]})}return f}(),l}(e.Component);k.defaultHooks=t.pureComponentHooks,k.defaultProps={minValue:-1/0,maxValue:1/0,step:1,stepPixelSize:1,suppressFlicker:50}},21624:function(L,r,n){"use strict";r.__esModule=!0,r.Popper=void 0;var e=n(60028),a=n(28823);function t(N,y){N.prototype=Object.create(y.prototype),N.prototype.constructor=N,o(N,y)}function o(N,y){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function S(k,p){return k.__proto__=p,k}return S}(),o(N,y)}var m=r.Popper=function(N){t(y,N);function y(){var k;return k=N.call(this)||this,k.renderedContent=void 0,k.popperInstance=void 0,y.id+=1,k}var S=y.prototype;return S.componentDidMount=function(){function k(){var p=this,l=this.props,c=l.additionalStyles,f=l.options;if(this.renderedContent=document.createElement("div"),c)for(var i=0,u=Object.entries(c);i<u.length;i++){var s=u[i],d=s[0],C=s[1];this.renderedContent.style[d]=C}this.renderPopperContent(function(){document.body.appendChild(p.renderedContent),p.popperInstance=(0,e.createPopper)((0,a.findDOMfromVNode)(p.$LI,!0),p.renderedContent,f)})}return k}(),S.componentDidUpdate=function(){function k(){var p=this;this.renderPopperContent(function(){var l;return(l=p.popperInstance)==null?void 0:l.update()})}return k}(),S.componentWillUnmount=function(){function k(){var p,l=this;(p=this.popperInstance)==null||p.destroy(),(0,a.render)(null,this.renderedContent,function(){l.renderedContent.remove()})}return k}(),S.renderPopperContent=function(){function k(p){(0,a.render)(this.props.popperContent,this.renderedContent,p)}return k}(),S.render=function(){function k(){return this.props.children}return k}(),y}(a.Component);m.id=0},24273:function(L,r,n){"use strict";r.__esModule=!0,r.ProgressBarCountdown=r.ProgressBar=void 0;var e=n(28823),a=n(58331),t=n(66586),o=n(93843),m=["className","value","minValue","maxValue","color","ranges","children","fractionDigits"],N=["start","current","end"];/** +*/var S=400,k=r.NumberInput=function(p){function l(f){var u;u=p.call(this,f)||this;var i=f.value;return u.inputRef=(0,e.createRef)(),u.state={value:i,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},u.flickerTimer=null,u.suppressFlicker=function(){var s=u.props.suppressFlicker;s>0&&(u.setState({suppressingFlicker:!0}),clearTimeout(u.flickerTimer),u.flickerTimer=setTimeout(function(){return u.setState({suppressingFlicker:!1})},s))},u.handleDragStart=function(s){var d=u.props.value,h=u.state.editing;h||(document.body.style["pointer-events"]="none",u.ref=s.target,u.setState({dragging:!1,origin:s.screenY,value:d,internalValue:d}),u.timer=setTimeout(function(){u.setState({dragging:!0})},250),u.dragInterval=setInterval(function(){var v=u.state,g=v.dragging,C=v.value,V=u.props.onDrag;g&&V&&V(s,C)},u.props.updateRate||S),document.addEventListener("mousemove",u.handleDragMove),document.addEventListener("mouseup",u.handleDragEnd))},u.handleDragMove=function(s){var d=u.props,h=d.minValue,v=d.maxValue,g=d.step,C=d.stepPixelSize;u.setState(function(V){var b=Object.assign({},V),B=b.origin-s.screenY;if(V.dragging){var I=Number.isFinite(h)?h%g:0;b.internalValue=(0,a.clamp)(b.internalValue+B*g/C,h-g,v+g),b.value=(0,a.clamp)(b.internalValue-b.internalValue%g+I,h,v),b.origin=s.screenY}else Math.abs(B)>4&&(b.dragging=!0);return b})},u.handleDragEnd=function(s){var d=u.props,h=d.onChange,v=d.onDrag,g=u.state,C=g.dragging,V=g.value,b=g.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(u.timer),clearInterval(u.dragInterval),u.setState({dragging:!1,editing:!C,origin:null}),document.removeEventListener("mousemove",u.handleDragMove),document.removeEventListener("mouseup",u.handleDragEnd),C)u.suppressFlicker(),h&&h(s,V),v&&v(s,V);else if(u.inputRef){var B=u.inputRef.current;B.value=b;try{B.focus(),B.select()}catch(I){}}},u}N(l,p);var c=l.prototype;return c.render=function(){function f(){var u=this,i=this.state,s=i.dragging,d=i.editing,h=i.value,v=i.suppressingFlicker,g=this.props,C=g.className,V=g.fluid,b=g.animated,B=g.value,I=g.unit,w=g.minValue,T=g.maxValue,A=g.height,x=g.width,E=g.lineHeight,M=g.fontSize,j=g.format,P=g.onChange,R=g.onDrag,D=B;(s||v)&&(D=h);var F=(0,e.createVNode)(1,"div","NumberInput__content",[b&&!s&&!v?(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:D,format:j}):j?j(D):D,I?" "+I:""],0);return(0,e.createComponentVNode)(2,m.Box,{className:(0,t.classes)(["NumberInput",V&&"NumberInput--fluid",C]),minWidth:x,minHeight:A,lineHeight:E,fontSize:M,onMouseDown:this.handleDragStart,children:[(0,e.createVNode)(1,"div","NumberInput__barContainer",(0,e.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,a.clamp)((D-w)/(T-w)*100,0,100)+"%"}}),2),F,(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:d?void 0:"none",height:A,"line-height":E,"font-size":M},onBlur:function(){function W(_){if(d){var H=(0,a.clamp)(parseFloat(_.target.value),w,T);if(Number.isNaN(H)){u.setState({editing:!1});return}u.setState({editing:!1,value:H}),u.suppressFlicker(),P&&P(_,H),R&&R(_,H)}}return W}(),onKeyDown:function(){function W(_){if(_.keyCode===13){var H=(0,a.clamp)(parseFloat(_.target.value),w,T);if(Number.isNaN(H)){u.setState({editing:!1});return}u.setState({editing:!1,value:H}),u.suppressFlicker(),P&&P(_,H),R&&R(_,H);return}if(_.keyCode===27){u.setState({editing:!1});return}}return W}()},null,this.inputRef)]})}return f}(),l}(e.Component);k.defaultHooks=t.pureComponentHooks,k.defaultProps={minValue:-1/0,maxValue:1/0,step:1,stepPixelSize:1,suppressFlicker:50}},37056:function(L,r,n){"use strict";r.__esModule=!0,r.Popper=void 0;var e=n(60023),a=n(96524);function t(N,y){N.prototype=Object.create(y.prototype),N.prototype.constructor=N,o(N,y)}function o(N,y){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function S(k,p){return k.__proto__=p,k}return S}(),o(N,y)}var m=r.Popper=function(N){function y(){var k;return k=N.call(this)||this,k.renderedContent=void 0,k.popperInstance=void 0,y.id+=1,k}t(y,N);var S=y.prototype;return S.componentDidMount=function(){function k(){var p=this,l=this.props,c=l.additionalStyles,f=l.options;if(this.renderedContent=document.createElement("div"),c)for(var u=0,i=Object.entries(c);u<i.length;u++){var s=i[u],d=s[0],h=s[1];this.renderedContent.style[d]=h}this.renderPopperContent(function(){document.body.appendChild(p.renderedContent),p.popperInstance=(0,e.createPopper)((0,a.findDOMfromVNode)(p.$LI,!0),p.renderedContent,f)})}return k}(),S.componentDidUpdate=function(){function k(){var p=this;this.renderPopperContent(function(){var l;return(l=p.popperInstance)==null?void 0:l.update()})}return k}(),S.componentWillUnmount=function(){function k(){var p,l=this;(p=this.popperInstance)==null||p.destroy(),(0,a.render)(null,this.renderedContent,function(){l.renderedContent.remove()})}return k}(),S.renderPopperContent=function(){function k(p){(0,a.render)(this.props.popperContent,this.renderedContent,p)}return k}(),S.render=function(){function k(){return this.props.children}return k}(),y}(a.Component);m.id=0},36146:function(L,r,n){"use strict";r.__esModule=!0,r.ProgressBarCountdown=r.ProgressBar=void 0;var e=n(96524),a=n(36121),t=n(28234),o=n(3051),m=["className","value","minValue","maxValue","color","ranges","children","fractionDigits"],N=["start","current","end"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function y(c,f){c.prototype=Object.create(f.prototype),c.prototype.constructor=c,S(c,f)}function S(c,f){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function i(u,s){return u.__proto__=s,u}return i}(),S(c,f)}function k(c,f){if(c==null)return{};var i={},u=Object.keys(c),s,d;for(d=0;d<u.length;d++)s=u[d],!(f.indexOf(s)>=0)&&(i[s]=c[s]);return i}var p=r.ProgressBar=function(){function c(f){var i=f.className,u=f.value,s=f.minValue,d=s===void 0?0:s,C=f.maxValue,g=C===void 0?1:C,v=f.color,h=f.ranges,V=h===void 0?{}:h,b=f.children,B=f.fractionDigits,I=B===void 0?0:B,w=k(f,m),T=(0,a.scale)(u,d,g),A=b!==void 0,x=v||(0,a.keyOfMatchingRange)(u,V)||"default";return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["ProgressBar","ProgressBar--color--"+x,i,(0,o.computeBoxClassName)(w)]),[(0,e.createVNode)(1,"div","ProgressBar__fill ProgressBar__fill--animated",null,1,{style:{width:(0,a.clamp01)(T)*100+"%"}}),(0,e.createVNode)(1,"div","ProgressBar__content",A?b:(0,a.toFixed)(T*100,I)+"%",0)],4,Object.assign({},(0,o.computeBoxProps)(w))))}return c}();p.defaultHooks=t.pureComponentHooks;var l=r.ProgressBarCountdown=function(c){y(f,c);function f(u){var s;return s=c.call(this,u)||this,s.timer=null,s.state={value:Math.max(u.current*100,0)},s}var i=f.prototype;return i.tick=function(){function u(){var s=Math.max(this.state.value+this.props.rate,0);s<=0&&clearInterval(this.timer),this.setState(function(d){return{value:s}})}return u}(),i.componentDidMount=function(){function u(){var s=this;this.timer=setInterval(function(){return s.tick()},this.props.rate)}return u}(),i.componentWillUnmount=function(){function u(){clearInterval(this.timer)}return u}(),i.render=function(){function u(){var s=this.props,d=s.start,C=s.current,g=s.end,v=k(s,N),h=(this.state.value/100-d)/(g-d);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,p,Object.assign({value:h},v)))}return u}(),f}(e.Component);l.defaultProps={rate:1e3},p.Countdown=l},49421:function(L,r,n){"use strict";r.__esModule=!0,r.RestrictedInput=void 0;var e=n(28823),a=n(66586),t=n(58331),o=n(93843),m=n(31068),N=["onChange","onEnter","onInput","value"],y=["className","fluid","monospace"];function S(u,s){if(u==null)return{};var d={},C=Object.keys(u),g,v;for(v=0;v<C.length;v++)g=C[v],!(s.indexOf(g)>=0)&&(d[g]=u[g]);return d}function k(u,s){u.prototype=Object.create(s.prototype),u.prototype.constructor=u,p(u,s)}function p(u,s){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function d(C,g){return C.__proto__=g,C}return d}(),p(u,s)}var l=0,c=1e4,f=function(s,d,C,g){var v=d||l,h=C||C===0?C:c;if(!s||!s.length)return String(v);var V=g?parseFloat(s.replace(/[^\-\d.]/g,"")):parseInt(s.replace(/[^\-\d]/g,""),10);return isNaN(V)?String(v):String((0,t.clamp)(V,v,h))},i=r.RestrictedInput=function(u){k(s,u);function s(){var C;return C=u.call(this)||this,C.inputRef=(0,e.createRef)(),C.state={editing:!1},C.handleBlur=function(g){var v=C.state.editing;v&&C.setEditing(!1)},C.handleChange=function(g){var v=C.props,h=v.maxValue,V=v.minValue,b=v.onChange,B=v.allowFloats;g.target.value=f(g.target.value,V,h,B),b&&b(g,+g.target.value)},C.handleFocus=function(g){var v=C.state.editing;v||C.setEditing(!0)},C.handleInput=function(g){var v=C.state.editing,h=C.props.onInput;v||C.setEditing(!0),h&&h(g,+g.target.value)},C.handleKeyDown=function(g){var v=C.props,h=v.maxValue,V=v.minValue,b=v.onChange,B=v.onEnter,I=v.allowFloats;if(g.keyCode===m.KEY_ENTER){var w=f(g.target.value,V,h,I);C.setEditing(!1),b&&b(g,+w),B&&B(g,+w),g.target.blur();return}if(g.keyCode===m.KEY_ESCAPE){if(C.props.onEscape){C.props.onEscape(g);return}C.setEditing(!1),g.target.value=C.props.value,g.target.blur();return}},C}var d=s.prototype;return d.componentDidMount=function(){function C(){var g,v=this,h=this.props,V=h.maxValue,b=h.minValue,B=h.allowFloats,I=(g=this.props.value)==null?void 0:g.toString(),w=this.inputRef.current;w&&(w.value=f(I,b,V,B)),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){w.focus(),v.props.autoSelect&&w.select()},1)}return C}(),d.componentDidUpdate=function(){function C(g,v){var h,V,b=this.props,B=b.maxValue,I=b.minValue,w=b.allowFloats,T=this.state.editing,A=(h=g.value)==null?void 0:h.toString(),x=(V=this.props.value)==null?void 0:V.toString(),E=this.inputRef.current;E&&!T&&x!==A&&x!==E.value&&(E.value=f(x,I,B,w))}return C}(),d.setEditing=function(){function C(g){this.setState({editing:g})}return C}(),d.render=function(){function C(){var g=this.props,v=g.onChange,h=g.onEnter,V=g.onInput,b=g.value,B=S(g,N),I=B.className,w=B.fluid,T=B.monospace,A=S(B,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Input",w&&"Input--fluid",T&&"Input--monospace",I])},A,{children:[(0,e.createVNode)(1,"div","Input__baseline",".",16),(0,e.createVNode)(64,"input","Input__input",null,1,{onChange:this.handleChange,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,type:"number"},null,this.inputRef)]})))}return C}(),s}(e.Component)},37479:function(L,r,n){"use strict";r.__esModule=!0,r.RoundGauge=void 0;var e=n(28823),a=n(58331),t=n(66586),o=n(15281),m=n(93843),N=["value","minValue","maxValue","ranges","alertAfter","format","size","className","style"];/** + */function y(c,f){c.prototype=Object.create(f.prototype),c.prototype.constructor=c,S(c,f)}function S(c,f){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function u(i,s){return i.__proto__=s,i}return u}(),S(c,f)}function k(c,f){if(c==null)return{};var u={},i=Object.keys(c),s,d;for(d=0;d<i.length;d++)s=i[d],!(f.indexOf(s)>=0)&&(u[s]=c[s]);return u}var p=r.ProgressBar=function(){function c(f){var u=f.className,i=f.value,s=f.minValue,d=s===void 0?0:s,h=f.maxValue,v=h===void 0?1:h,g=f.color,C=f.ranges,V=C===void 0?{}:C,b=f.children,B=f.fractionDigits,I=B===void 0?0:B,w=k(f,m),T=(0,a.scale)(i,d,v),A=b!==void 0,x=g||(0,a.keyOfMatchingRange)(i,V)||"default";return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["ProgressBar","ProgressBar--color--"+x,u,(0,o.computeBoxClassName)(w)]),[(0,e.createVNode)(1,"div","ProgressBar__fill ProgressBar__fill--animated",null,1,{style:{width:(0,a.clamp01)(T)*100+"%"}}),(0,e.createVNode)(1,"div","ProgressBar__content",A?b:(0,a.toFixed)(T*100,I)+"%",0)],4,Object.assign({},(0,o.computeBoxProps)(w))))}return c}();p.defaultHooks=t.pureComponentHooks;var l=r.ProgressBarCountdown=function(c){function f(i){var s;return s=c.call(this,i)||this,s.timer=null,s.state={value:Math.max(i.current*100,0)},s}y(f,c);var u=f.prototype;return u.tick=function(){function i(){var s=Math.max(this.state.value+this.props.rate,0);s<=0&&clearInterval(this.timer),this.setState(function(d){return{value:s}})}return i}(),u.componentDidMount=function(){function i(){var s=this;this.timer=setInterval(function(){return s.tick()},this.props.rate)}return i}(),u.componentWillUnmount=function(){function i(){clearInterval(this.timer)}return i}(),u.render=function(){function i(){var s=this.props,d=s.start,h=s.current,v=s.end,g=k(s,N),C=(this.state.value/100-d)/(v-d);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,p,Object.assign({value:C},g)))}return i}(),f}(e.Component);l.defaultProps={rate:1e3},p.Countdown=l},49977:function(L,r,n){"use strict";r.__esModule=!0,r.RestrictedInput=void 0;var e=n(96524),a=n(28234),t=n(36121),o=n(3051),m=n(68100),N=["onChange","onEnter","onInput","value"],y=["className","fluid","monospace"];function S(i,s){if(i==null)return{};var d={},h=Object.keys(i),v,g;for(g=0;g<h.length;g++)v=h[g],!(s.indexOf(v)>=0)&&(d[v]=i[v]);return d}function k(i,s){i.prototype=Object.create(s.prototype),i.prototype.constructor=i,p(i,s)}function p(i,s){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function d(h,v){return h.__proto__=v,h}return d}(),p(i,s)}var l=0,c=1e4,f=function(s,d,h,v){var g=d||l,C=h||h===0?h:c;if(!s||!s.length)return String(g);var V=v?parseFloat(s.replace(/[^\-\d.]/g,"")):parseInt(s.replace(/[^\-\d]/g,""),10);return isNaN(V)?String(g):String((0,t.clamp)(V,g,C))},u=r.RestrictedInput=function(i){function s(){var h;return h=i.call(this)||this,h.inputRef=(0,e.createRef)(),h.state={editing:!1},h.handleBlur=function(v){var g=h.state.editing;g&&h.setEditing(!1)},h.handleChange=function(v){var g=h.props,C=g.maxValue,V=g.minValue,b=g.onChange,B=g.allowFloats;v.target.value=f(v.target.value,V,C,B),b&&b(v,+v.target.value)},h.handleFocus=function(v){var g=h.state.editing;g||h.setEditing(!0)},h.handleInput=function(v){var g=h.state.editing,C=h.props.onInput;g||h.setEditing(!0),C&&C(v,+v.target.value)},h.handleKeyDown=function(v){var g=h.props,C=g.maxValue,V=g.minValue,b=g.onChange,B=g.onEnter,I=g.allowFloats;if(v.keyCode===m.KEY_ENTER){var w=f(v.target.value,V,C,I);h.setEditing(!1),b&&b(v,+w),B&&B(v,+w),v.target.blur();return}if(v.keyCode===m.KEY_ESCAPE){if(h.props.onEscape){h.props.onEscape(v);return}h.setEditing(!1),v.target.value=h.props.value,v.target.blur();return}},h}k(s,i);var d=s.prototype;return d.componentDidMount=function(){function h(){var v,g=this,C=this.props,V=C.maxValue,b=C.minValue,B=C.allowFloats,I=(v=this.props.value)==null?void 0:v.toString(),w=this.inputRef.current;w&&(w.value=f(I,b,V,B)),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){w.focus(),g.props.autoSelect&&w.select()},1)}return h}(),d.componentDidUpdate=function(){function h(v,g){var C,V,b=this.props,B=b.maxValue,I=b.minValue,w=b.allowFloats,T=this.state.editing,A=(C=v.value)==null?void 0:C.toString(),x=(V=this.props.value)==null?void 0:V.toString(),E=this.inputRef.current;E&&!T&&x!==A&&x!==E.value&&(E.value=f(x,I,B,w))}return h}(),d.setEditing=function(){function h(v){this.setState({editing:v})}return h}(),d.render=function(){function h(){var v=this.props,g=v.onChange,C=v.onEnter,V=v.onInput,b=v.value,B=S(v,N),I=B.className,w=B.fluid,T=B.monospace,A=S(B,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Input",w&&"Input--fluid",T&&"Input--monospace",I])},A,{children:[(0,e.createVNode)(1,"div","Input__baseline",".",16),(0,e.createVNode)(64,"input","Input__input",null,1,{onChange:this.handleChange,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,type:"number"},null,this.inputRef)]})))}return h}(),s}(e.Component)},2083:function(L,r,n){"use strict";r.__esModule=!0,r.RoundGauge=void 0;var e=n(96524),a=n(36121),t=n(28234),o=n(65416),m=n(3051),N=["value","minValue","maxValue","ranges","alertAfter","format","size","className","style"];/** * @file * @copyright 2020 bobbahbrown (https://github.com/bobbahbrown) * @license MIT - */function y(k,p){if(k==null)return{};var l={},c=Object.keys(k),f,i;for(i=0;i<c.length;i++)f=c[i],!(p.indexOf(f)>=0)&&(l[f]=k[f]);return l}var S=r.RoundGauge=function(){function k(p){if(Byond.IS_LTE_IE8)return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.AnimatedNumber,Object.assign({},p)));var l=p.value,c=p.minValue,f=c===void 0?1:c,i=p.maxValue,u=i===void 0?1:i,s=p.ranges,d=p.alertAfter,C=p.format,g=p.size,v=g===void 0?1:g,h=p.className,V=p.style,b=y(p,N),B=(0,a.scale)(l,f,u),I=(0,a.clamp01)(B),w=s?{}:{primary:[0,1]};s&&Object.keys(s).forEach(function(A){var x=s[A];w[A]=[(0,a.scale)(x[0],f,u),(0,a.scale)(x[1],f,u)]});var T=null;return d<l&&(T=(0,a.keyOfMatchingRange)(I,w)),(0,e.createComponentVNode)(2,m.Box,{inline:!0,children:[(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["RoundGauge",h,(0,m.computeBoxClassName)(b)]),(0,e.createVNode)(32,"svg",null,[d&&(0,e.createVNode)(32,"g",(0,t.classes)(["RoundGauge__alert",T?"active RoundGauge__alert--"+T:""]),(0,e.createVNode)(32,"path",null,null,1,{d:"M48.211,14.578C48.55,13.9 49.242,13.472 50,13.472C50.758,13.472 51.45,13.9 51.789,14.578C54.793,20.587 60.795,32.589 63.553,38.106C63.863,38.726 63.83,39.462 63.465,40.051C63.101,40.641 62.457,41 61.764,41C55.996,41 44.004,41 38.236,41C37.543,41 36.899,40.641 36.535,40.051C36.17,39.462 36.137,38.726 36.447,38.106C39.205,32.589 45.207,20.587 48.211,14.578ZM50,34.417C51.426,34.417 52.583,35.574 52.583,37C52.583,38.426 51.426,39.583 50,39.583C48.574,39.583 47.417,38.426 47.417,37C47.417,35.574 48.574,34.417 50,34.417ZM50,32.75C50,32.75 53,31.805 53,22.25C53,20.594 51.656,19.25 50,19.25C48.344,19.25 47,20.594 47,22.25C47,31.805 50,32.75 50,32.75Z"}),2),(0,e.createVNode)(32,"g",null,(0,e.createVNode)(32,"circle","RoundGauge__ringTrack",null,1,{cx:"50",cy:"50",r:"45"}),2),(0,e.createVNode)(32,"g",null,Object.keys(w).map(function(A,x){var E=w[A];return(0,e.createVNode)(32,"circle","RoundGauge__ringFill RoundGauge--color--"+A,null,1,{style:{"stroke-dashoffset":Math.max((2-(E[1]-E[0]))*Math.PI*50,0)},transform:"rotate("+(180+180*E[0])+" 50 50)",cx:"50",cy:"50",r:"45"},x)}),0),(0,e.createVNode)(32,"g","RoundGauge__needle",[(0,e.createVNode)(32,"polygon","RoundGauge__needleLine",null,1,{points:"46,50 50,0 54,50"}),(0,e.createVNode)(32,"circle","RoundGauge__needleMiddle",null,1,{cx:"50",cy:"50",r:"8"})],4,{transform:"rotate("+(I*180-90)+" 50 50)"})],0,{viewBox:"0 0 100 50"}),2,Object.assign({},(0,m.computeBoxProps)(Object.assign({style:Object.assign({"font-size":v+"em"},V)},b))))),(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:l,format:C,size:v})]})}return k}()},43308:function(L,r,n){"use strict";r.__esModule=!0,r.Section=void 0;var e=n(28823),a=n(66586),t=n(33053),o=n(93843),m=["className","title","buttons","fill","fitted","scrollable","children"];function N(p,l){if(p==null)return{};var c={},f=Object.keys(p),i,u;for(u=0;u<f.length;u++)i=f[u],!(l.indexOf(i)>=0)&&(c[i]=p[i]);return c}function y(p,l){p.prototype=Object.create(l.prototype),p.prototype.constructor=p,S(p,l)}function S(p,l){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function c(f,i){return f.__proto__=i,f}return c}(),S(p,l)}/** + */function y(k,p){if(k==null)return{};var l={},c=Object.keys(k),f,u;for(u=0;u<c.length;u++)f=c[u],!(p.indexOf(f)>=0)&&(l[f]=k[f]);return l}var S=r.RoundGauge=function(){function k(p){var l=p.value,c=p.minValue,f=c===void 0?1:c,u=p.maxValue,i=u===void 0?1:u,s=p.ranges,d=p.alertAfter,h=p.format,v=p.size,g=v===void 0?1:v,C=p.className,V=p.style,b=y(p,N),B=(0,a.scale)(l,f,i),I=(0,a.clamp01)(B),w=s?{}:{primary:[0,1]};s&&Object.keys(s).forEach(function(A){var x=s[A];w[A]=[(0,a.scale)(x[0],f,i),(0,a.scale)(x[1],f,i)]});var T=null;return d<l&&(T=(0,a.keyOfMatchingRange)(I,w)),(0,e.createComponentVNode)(2,m.Box,{inline:!0,children:[(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["RoundGauge",C,(0,m.computeBoxClassName)(b)]),(0,e.createVNode)(32,"svg",null,[d&&(0,e.createVNode)(32,"g",(0,t.classes)(["RoundGauge__alert",T?"active RoundGauge__alert--"+T:""]),(0,e.createVNode)(32,"path",null,null,1,{d:"M48.211,14.578C48.55,13.9 49.242,13.472 50,13.472C50.758,13.472 51.45,13.9 51.789,14.578C54.793,20.587 60.795,32.589 63.553,38.106C63.863,38.726 63.83,39.462 63.465,40.051C63.101,40.641 62.457,41 61.764,41C55.996,41 44.004,41 38.236,41C37.543,41 36.899,40.641 36.535,40.051C36.17,39.462 36.137,38.726 36.447,38.106C39.205,32.589 45.207,20.587 48.211,14.578ZM50,34.417C51.426,34.417 52.583,35.574 52.583,37C52.583,38.426 51.426,39.583 50,39.583C48.574,39.583 47.417,38.426 47.417,37C47.417,35.574 48.574,34.417 50,34.417ZM50,32.75C50,32.75 53,31.805 53,22.25C53,20.594 51.656,19.25 50,19.25C48.344,19.25 47,20.594 47,22.25C47,31.805 50,32.75 50,32.75Z"}),2),(0,e.createVNode)(32,"g",null,(0,e.createVNode)(32,"circle","RoundGauge__ringTrack",null,1,{cx:"50",cy:"50",r:"45"}),2),(0,e.createVNode)(32,"g",null,Object.keys(w).map(function(A,x){var E=w[A];return(0,e.createVNode)(32,"circle","RoundGauge__ringFill RoundGauge--color--"+A,null,1,{style:{"stroke-dashoffset":Math.max((2-(E[1]-E[0]))*Math.PI*50,0)},transform:"rotate("+(180+180*E[0])+" 50 50)",cx:"50",cy:"50",r:"45"},x)}),0),(0,e.createVNode)(32,"g","RoundGauge__needle",[(0,e.createVNode)(32,"polygon","RoundGauge__needleLine",null,1,{points:"46,50 50,0 54,50"}),(0,e.createVNode)(32,"circle","RoundGauge__needleMiddle",null,1,{cx:"50",cy:"50",r:"8"})],4,{transform:"rotate("+(I*180-90)+" 50 50)"})],0,{viewBox:"0 0 100 50"}),2,Object.assign({},(0,m.computeBoxProps)(Object.assign({style:Object.assign({"font-size":g+"em"},V)},b))))),(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:l,format:h,size:g})]})}return k}()},5201:function(L,r,n){"use strict";r.__esModule=!0,r.Section=void 0;var e=n(96524),a=n(28234),t=n(92700),o=n(3051),m=["className","title","buttons","fill","fitted","scrollable","children"];function N(p,l){if(p==null)return{};var c={},f=Object.keys(p),u,i;for(i=0;i<f.length;i++)u=f[i],!(l.indexOf(u)>=0)&&(c[u]=p[u]);return c}function y(p,l){p.prototype=Object.create(l.prototype),p.prototype.constructor=p,S(p,l)}function S(p,l){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function c(f,u){return f.__proto__=u,f}return c}(),S(p,l)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var k=r.Section=function(p){y(l,p);function l(f){var i;return i=p.call(this,f)||this,i.scrollableRef=void 0,i.scrollable=void 0,i.scrollableRef=(0,e.createRef)(),i.scrollable=f.scrollable,i}var c=l.prototype;return c.componentDidMount=function(){function f(){this.scrollable&&(0,t.addScrollableNode)(this.scrollableRef.current)}return f}(),c.componentWillUnmount=function(){function f(){this.scrollable&&(0,t.removeScrollableNode)(this.scrollableRef.current)}return f}(),c.render=function(){function f(){var i=this.props,u=i.className,s=i.title,d=i.buttons,C=i.fill,g=i.fitted,v=i.scrollable,h=i.children,V=N(i,m),b=(0,a.canRender)(s)||(0,a.canRender)(d);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Section",Byond.IS_LTE_IE8&&"Section--iefix",C&&"Section--fill",g&&"Section--fitted",v&&"Section--scrollable",u,(0,o.computeBoxClassName)(V)]),[b&&(0,e.createVNode)(1,"div","Section__title",[(0,e.createVNode)(1,"span","Section__titleText",s,0),(0,e.createVNode)(1,"div","Section__buttons",d,0)],4),(0,e.createVNode)(1,"div","Section__rest",(0,e.createVNode)(1,"div","Section__content",h,0,null,null,this.scrollableRef),2)],0,Object.assign({},(0,o.computeBoxProps)(V))))}return f}(),l}(e.Component)},83611:function(L,r,n){"use strict";r.__esModule=!0,r.Slider=void 0;var e=n(28823),a=n(58331),t=n(66586),o=n(93843),m=n(41584),N=n(43023),y=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","fillValue","color","ranges","children","disabled"];/** +*/var k=r.Section=function(p){function l(f){var u;return u=p.call(this,f)||this,u.scrollableRef=void 0,u.scrollable=void 0,u.scrollableRef=(0,e.createRef)(),u.scrollable=f.scrollable,u}y(l,p);var c=l.prototype;return c.componentDidMount=function(){function f(){this.scrollable&&(0,t.addScrollableNode)(this.scrollableRef.current)}return f}(),c.componentWillUnmount=function(){function f(){this.scrollable&&(0,t.removeScrollableNode)(this.scrollableRef.current)}return f}(),c.render=function(){function f(){var u=this.props,i=u.className,s=u.title,d=u.buttons,h=u.fill,v=u.fitted,g=u.scrollable,C=u.children,V=N(u,m),b=(0,a.canRender)(s)||(0,a.canRender)(d);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Section",h&&"Section--fill",v&&"Section--fitted",g&&"Section--scrollable",i,(0,o.computeBoxClassName)(V)]),[b&&(0,e.createVNode)(1,"div","Section__title",[(0,e.createVNode)(1,"span","Section__titleText",s,0),(0,e.createVNode)(1,"div","Section__buttons",d,0)],4),(0,e.createVNode)(1,"div","Section__rest",(0,e.createVNode)(1,"div","Section__content",C,0,null,null,this.scrollableRef),2)],0,Object.assign({},(0,o.computeBoxProps)(V))))}return f}(),l}(e.Component)},66397:function(L,r,n){"use strict";r.__esModule=!0,r.Slider=void 0;var e=n(96524),a=n(36121),t=n(28234),o=n(3051),m=n(27648),N=n(5985),y=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","fillValue","color","ranges","children","disabled"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function S(p,l){if(p==null)return{};var c={},f=Object.keys(p),i,u;for(u=0;u<f.length;u++)i=f[u],!(l.indexOf(i)>=0)&&(c[i]=p[i]);return c}var k=r.Slider=function(){function p(l){if(Byond.IS_LTE_IE8)return(0,e.normalizeProps)((0,e.createComponentVNode)(2,N.NumberInput,Object.assign({},l)));var c=l.animated,f=l.format,i=l.maxValue,u=l.minValue,s=l.onChange,d=l.onDrag,C=l.step,g=l.stepPixelSize,v=l.suppressFlicker,h=l.unit,V=l.value,b=l.className,B=l.fillValue,I=l.color,w=l.ranges,T=w===void 0?{}:w,A=l.children,x=l.disabled,E=S(l,y),P=A!==void 0;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:c,format:f,maxValue:i,minValue:u,onChange:s,onDrag:d,step:C,stepPixelSize:g,suppressFlicker:v,unit:h,value:V,disabled:x},{children:function(){function D(M){var O=M.dragging,j=M.editing,F=M.value,U=M.displayValue,_=M.displayElement,z=M.inputElement,H=M.handleDragStart,$=B!=null,Y=(0,a.scale)(F,u,i),X=(0,a.scale)(B!=null?B:U,u,i),re=(0,a.scale)(U,u,i),ae=I||(0,a.keyOfMatchingRange)(B!=null?B:F,T)||"default";return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["Slider",x&&"Slider__disabled","ProgressBar",x?"ProgressBar--color--disabled":"ProgressBar--color--"+ae,b,(0,o.computeBoxClassName)(E)]),[(0,e.createVNode)(1,"div",(0,t.classes)(["ProgressBar__fill",$&&"ProgressBar__fill--animated"]),null,1,{style:{width:(0,a.clamp01)(X)*100+"%",opacity:.4}}),(0,e.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:(0,a.clamp01)(Math.min(X,re))*100+"%"}}),(0,e.createVNode)(1,"div","Slider__cursorOffset",[(0,e.createVNode)(1,"div","Slider__cursor"),(0,e.createVNode)(1,"div","Slider__pointer"),O&&(0,e.createVNode)(1,"div","Slider__popupValue",_,0)],0,{style:{width:(0,a.clamp01)(re)*100+"%"}}),(0,e.createVNode)(1,"div","ProgressBar__content",P?A:_,0),z],0,Object.assign({disabled:x},(0,o.computeBoxProps)(E),{onMouseDown:H})))}return D}()})))}return p}()},78581:function(L,r,n){"use strict";r.__esModule=!0,r.Stack=void 0;var e=n(28823),a=n(66586),t=n(92462),o=["className","vertical","fill"],m=["className","innerRef"],N=["className","hidden"];/** + */function S(p,l){if(p==null)return{};var c={},f=Object.keys(p),u,i;for(i=0;i<f.length;i++)u=f[i],!(l.indexOf(u)>=0)&&(c[u]=p[u]);return c}var k=r.Slider=function(){function p(l){var c=l.animated,f=l.format,u=l.maxValue,i=l.minValue,s=l.onChange,d=l.onDrag,h=l.step,v=l.stepPixelSize,g=l.suppressFlicker,C=l.unit,V=l.value,b=l.className,B=l.fillValue,I=l.color,w=l.ranges,T=w===void 0?{}:w,A=l.children,x=l.disabled,E=S(l,y),M=A!==void 0;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:c,format:f,maxValue:u,minValue:i,onChange:s,onDrag:d,step:h,stepPixelSize:v,suppressFlicker:g,unit:C,value:V,disabled:x},{children:function(){function j(P){var R=P.dragging,D=P.editing,F=P.value,W=P.displayValue,_=P.displayElement,H=P.inputElement,z=P.handleDragStart,$=B!=null,X=(0,a.scale)(F,i,u),J=(0,a.scale)(B!=null?B:W,i,u),ce=(0,a.scale)(W,i,u),re=I||(0,a.keyOfMatchingRange)(B!=null?B:F,T)||"default";return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["Slider",x&&"Slider__disabled","ProgressBar",x?"ProgressBar--color--disabled":"ProgressBar--color--"+re,b,(0,o.computeBoxClassName)(E)]),[(0,e.createVNode)(1,"div",(0,t.classes)(["ProgressBar__fill",$&&"ProgressBar__fill--animated"]),null,1,{style:{width:(0,a.clamp01)(J)*100+"%",opacity:.4}}),(0,e.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:(0,a.clamp01)(Math.min(J,ce))*100+"%"}}),(0,e.createVNode)(1,"div","Slider__cursorOffset",[(0,e.createVNode)(1,"div","Slider__cursor"),(0,e.createVNode)(1,"div","Slider__pointer"),R&&(0,e.createVNode)(1,"div","Slider__popupValue",_,0)],0,{style:{width:(0,a.clamp01)(ce)*100+"%"}}),(0,e.createVNode)(1,"div","ProgressBar__content",M?A:_,0),H],0,Object.assign({disabled:x},(0,o.computeBoxProps)(E),{onMouseDown:z})))}return j}()})))}return p}()},24800:function(L,r,n){"use strict";r.__esModule=!0,r.Stack=void 0;var e=n(96524),a=n(28234),t=n(18963),o=["className","vertical","fill"],m=["className","innerRef"],N=["className","hidden"];/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */function y(l,c){if(l==null)return{};var f={},i=Object.keys(l),u,s;for(s=0;s<i.length;s++)u=i[s],!(c.indexOf(u)>=0)&&(f[u]=l[u]);return f}var S=r.Stack=function(){function l(c){var f=c.className,i=c.vertical,u=c.fill,s=y(c,o);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Stack",u&&"Stack--fill",i?"Stack--vertical":"Stack--horizontal",f,(0,t.computeFlexClassName)(c)]),null,1,Object.assign({},(0,t.computeFlexProps)(Object.assign({direction:i?"column":"row"},s)))))}return l}(),k=function(c){var f=c.className,i=c.innerRef,u=y(c,m);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Stack__item",f,(0,t.computeFlexItemClassName)(u)]),null,1,Object.assign({},(0,t.computeFlexItemProps)(u)),null,i))};S.Item=k;var p=function(c){var f=c.className,i=c.hidden,u=y(c,N);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Stack__item","Stack__divider",i&&"Stack__divider--hidden",f,(0,t.computeFlexItemClassName)(u)]),null,1,Object.assign({},(0,t.computeFlexItemProps)(u))))};S.Divider=p},99753:function(L,r,n){"use strict";r.__esModule=!0,r.TableRow=r.TableCell=r.Table=void 0;var e=n(28823),a=n(66586),t=n(93843),o=["className","collapsing","children"],m=["className","header"],N=["className","collapsing","header"];/** + */function y(l,c){if(l==null)return{};var f={},u=Object.keys(l),i,s;for(s=0;s<u.length;s++)i=u[s],!(c.indexOf(i)>=0)&&(f[i]=l[i]);return f}var S=r.Stack=function(){function l(c){var f=c.className,u=c.vertical,i=c.fill,s=y(c,o);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Stack",i&&"Stack--fill",u?"Stack--vertical":"Stack--horizontal",f,(0,t.computeFlexClassName)(c)]),null,1,Object.assign({},(0,t.computeFlexProps)(Object.assign({direction:u?"column":"row"},s)))))}return l}(),k=function(c){var f=c.className,u=c.innerRef,i=y(c,m);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Stack__item",f,(0,t.computeFlexItemClassName)(i)]),null,1,Object.assign({},(0,t.computeFlexItemProps)(i)),null,u))};S.Item=k;var p=function(c){var f=c.className,u=c.hidden,i=y(c,N);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Stack__item","Stack__divider",u&&"Stack__divider--hidden",f,(0,t.computeFlexItemClassName)(i)]),null,1,Object.assign({},(0,t.computeFlexItemProps)(i))))};S.Divider=p},5126:function(L,r,n){"use strict";r.__esModule=!0,r.TableRow=r.TableCell=r.Table=void 0;var e=n(96524),a=n(28234),t=n(3051),o=["className","collapsing","children"],m=["className","header"],N=["className","collapsing","header"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function y(l,c){if(l==null)return{};var f={},i=Object.keys(l),u,s;for(s=0;s<i.length;s++)u=i[s],!(c.indexOf(u)>=0)&&(f[u]=l[u]);return f}var S=r.Table=function(){function l(c){var f=c.className,i=c.collapsing,u=c.children,s=y(c,o);return(0,e.normalizeProps)((0,e.createVNode)(1,"table",(0,a.classes)(["Table",i&&"Table--collapsing",f,(0,t.computeBoxClassName)(s)]),(0,e.createVNode)(1,"tbody",null,u,0),2,Object.assign({},(0,t.computeBoxProps)(s))))}return l}();S.defaultHooks=a.pureComponentHooks;var k=r.TableRow=function(){function l(c){var f=c.className,i=c.header,u=y(c,m);return(0,e.normalizeProps)((0,e.createVNode)(1,"tr",(0,a.classes)(["Table__row",i&&"Table__row--header",f,(0,t.computeBoxClassName)(c)]),null,1,Object.assign({},(0,t.computeBoxProps)(u))))}return l}();k.defaultHooks=a.pureComponentHooks;var p=r.TableCell=function(){function l(c){var f=c.className,i=c.collapsing,u=c.header,s=y(c,N);return(0,e.normalizeProps)((0,e.createVNode)(1,"td",(0,a.classes)(["Table__cell",i&&"Table__cell--collapsing",u&&"Table__cell--header",f,(0,t.computeBoxClassName)(c)]),null,1,Object.assign({},(0,t.computeBoxProps)(s))))}return l}();p.defaultHooks=a.pureComponentHooks,S.Row=k,S.Cell=p},96517:function(L,r,n){"use strict";r.__esModule=!0,r.Tabs=void 0;var e=n(28823),a=n(66586),t=n(93843),o=n(69433),m=["className","vertical","fill","fluid","children"],N=["className","selected","color","icon","leftSlot","rightSlot","children"];/** + */function y(l,c){if(l==null)return{};var f={},u=Object.keys(l),i,s;for(s=0;s<u.length;s++)i=u[s],!(c.indexOf(i)>=0)&&(f[i]=l[i]);return f}var S=r.Table=function(){function l(c){var f=c.className,u=c.collapsing,i=c.children,s=y(c,o);return(0,e.normalizeProps)((0,e.createVNode)(1,"table",(0,a.classes)(["Table",u&&"Table--collapsing",f,(0,t.computeBoxClassName)(s)]),(0,e.createVNode)(1,"tbody",null,i,0),2,Object.assign({},(0,t.computeBoxProps)(s))))}return l}();S.defaultHooks=a.pureComponentHooks;var k=r.TableRow=function(){function l(c){var f=c.className,u=c.header,i=y(c,m);return(0,e.normalizeProps)((0,e.createVNode)(1,"tr",(0,a.classes)(["Table__row",u&&"Table__row--header",f,(0,t.computeBoxClassName)(c)]),null,1,Object.assign({},(0,t.computeBoxProps)(i))))}return l}();k.defaultHooks=a.pureComponentHooks;var p=r.TableCell=function(){function l(c){var f=c.className,u=c.collapsing,i=c.header,s=y(c,N);return(0,e.normalizeProps)((0,e.createVNode)(1,"td",(0,a.classes)(["Table__cell",u&&"Table__cell--collapsing",i&&"Table__cell--header",f,(0,t.computeBoxClassName)(c)]),null,1,Object.assign({},(0,t.computeBoxProps)(s))))}return l}();p.defaultHooks=a.pureComponentHooks,S.Row=k,S.Cell=p},26104:function(L,r,n){"use strict";r.__esModule=!0,r.Tabs=void 0;var e=n(96524),a=n(28234),t=n(3051),o=n(11253),m=["className","vertical","fill","fluid","children"],N=["className","selected","color","icon","leftSlot","rightSlot","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function y(p,l){if(p==null)return{};var c={},f=Object.keys(p),i,u;for(u=0;u<f.length;u++)i=f[u],!(l.indexOf(i)>=0)&&(c[i]=p[i]);return c}var S=r.Tabs=function(){function p(l){var c=l.className,f=l.vertical,i=l.fill,u=l.fluid,s=l.children,d=y(l,m);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Tabs",f?"Tabs--vertical":"Tabs--horizontal",i&&"Tabs--fill",u&&"Tabs--fluid",c,(0,t.computeBoxClassName)(d)]),s,0,Object.assign({},(0,t.computeBoxProps)(d))))}return p}(),k=function(l){var c=l.className,f=l.selected,i=l.color,u=l.icon,s=l.leftSlot,d=l.rightSlot,C=l.children,g=y(l,N);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Tab","Tabs__Tab","Tab--color--"+i,f&&"Tab--selected",c,(0,t.computeBoxClassName)(g)]),[(0,a.canRender)(s)&&(0,e.createVNode)(1,"div","Tab__left",s,0)||!!u&&(0,e.createVNode)(1,"div","Tab__left",(0,e.createComponentVNode)(2,o.Icon,{name:u}),2),(0,e.createVNode)(1,"div","Tab__text",C,0),(0,a.canRender)(d)&&(0,e.createVNode)(1,"div","Tab__right",d,0)],0,Object.assign({},(0,t.computeBoxProps)(g))))};S.Tab=k},12764:function(L,r,n){"use strict";r.__esModule=!0,r.TextArea=void 0;var e=n(28823),a=n(66586),t=n(93843),o=n(51190),m=n(31068),N=["onChange","onKeyDown","onKeyPress","onInput","onFocus","onBlur","onEnter","value","maxLength","placeholder"],y=["className","fluid"];function S(c,f){if(c==null)return{};var i={},u=Object.keys(c),s,d;for(d=0;d<u.length;d++)s=u[d],!(f.indexOf(s)>=0)&&(i[s]=c[s]);return i}function k(c,f){c.prototype=Object.create(f.prototype),c.prototype.constructor=c,p(c,f)}function p(c,f){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function i(u,s){return u.__proto__=s,u}return i}(),p(c,f)}/** + */function y(p,l){if(p==null)return{};var c={},f=Object.keys(p),u,i;for(i=0;i<f.length;i++)u=f[i],!(l.indexOf(u)>=0)&&(c[u]=p[u]);return c}var S=r.Tabs=function(){function p(l){var c=l.className,f=l.vertical,u=l.fill,i=l.fluid,s=l.children,d=y(l,m);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Tabs",f?"Tabs--vertical":"Tabs--horizontal",u&&"Tabs--fill",i&&"Tabs--fluid",c,(0,t.computeBoxClassName)(d)]),s,0,Object.assign({},(0,t.computeBoxProps)(d))))}return p}(),k=function(l){var c=l.className,f=l.selected,u=l.color,i=l.icon,s=l.leftSlot,d=l.rightSlot,h=l.children,v=y(l,N);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Tab","Tabs__Tab","Tab--color--"+u,f&&"Tab--selected",c,(0,t.computeBoxClassName)(v)]),[(0,a.canRender)(s)&&(0,e.createVNode)(1,"div","Tab__left",s,0)||!!i&&(0,e.createVNode)(1,"div","Tab__left",(0,e.createComponentVNode)(2,o.Icon,{name:i}),2),(0,e.createVNode)(1,"div","Tab__text",h,0),(0,a.canRender)(d)&&(0,e.createVNode)(1,"div","Tab__right",d,0)],0,Object.assign({},(0,t.computeBoxProps)(v))))};S.Tab=k},67606:function(L,r,n){"use strict";r.__esModule=!0,r.TextArea=void 0;var e=n(96524),a=n(28234),t=n(3051),o=n(49034),m=n(68100),N=["onChange","onKeyDown","onKeyPress","onInput","onFocus","onBlur","onEnter","value","maxLength","placeholder"],y=["className","fluid"];function S(c,f){if(c==null)return{};var u={},i=Object.keys(c),s,d;for(d=0;d<i.length;d++)s=i[d],!(f.indexOf(s)>=0)&&(u[s]=c[s]);return u}function k(c,f){c.prototype=Object.create(f.prototype),c.prototype.constructor=c,p(c,f)}function p(c,f){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function u(i,s){return i.__proto__=s,i}return u}(),p(c,f)}/** * @file * @copyright 2020 Aleksej Komarov * @author Warlockd * @license MIT -*/var l=r.TextArea=function(c){k(f,c);function f(u,s){var d;d=c.call(this,u,s)||this,d.textareaRef=u.innerRef||(0,e.createRef)(),d.fillerRef=(0,e.createRef)(),d.state={editing:!1};var C=u.dontUseTabForIndent,g=C===void 0?!1:C;return d.handleOnInput=function(v){var h=d.state.editing,V=d.props.onInput;h||d.setEditing(!0),V&&V(v,v.target.value)},d.handleOnChange=function(v){var h=d.state.editing,V=d.props.onChange;h&&d.setEditing(!1),V&&V(v,v.target.value)},d.handleKeyPress=function(v){var h=d.state.editing,V=d.props.onKeyPress;h||d.setEditing(!0),V&&V(v,v.target.value)},d.handleKeyDown=function(v){var h=d.state.editing,V=d.props,b=V.onChange,B=V.onInput,I=V.onEnter,w=V.onKeyDown;if(v.keyCode===m.KEY_ENTER){d.setEditing(!1),b&&b(v,v.target.value),B&&B(v,v.target.value),I&&I(v,v.target.value),d.props.selfClear&&(v.target.value="",v.target.blur());return}if(v.keyCode===m.KEY_ESCAPE){d.props.onEscape&&d.props.onEscape(v),d.setEditing(!1),d.props.selfClear?v.target.value="":(v.target.value=(0,o.toInputValue)(d.props.value),v.target.blur());return}if(h||d.setEditing(!0),w&&w(v,v.target.value),!g){var T=v.keyCode||v.which;if(T===m.KEY_TAB){v.preventDefault();var A=v.target,x=A.value,E=A.selectionStart,P=A.selectionEnd;v.target.value=x.substring(0,E)+" "+x.substring(P),v.target.selectionEnd=E+1}}},d.handleFocus=function(v){var h=d.state.editing;h||d.setEditing(!0)},d.handleBlur=function(v){var h=d.state.editing,V=d.props.onChange;h&&(d.setEditing(!1),V&&V(v,v.target.value))},d}var i=f.prototype;return i.componentDidMount=function(){function u(){var s=this,d=this.props.value,C=this.textareaRef.current;C&&(C.value=(0,o.toInputValue)(d)),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){C.focus(),s.props.autoSelect&&C.select()},1)}return u}(),i.componentDidUpdate=function(){function u(s,d){var C=s.value,g=this.props.value,v=this.textareaRef.current;v&&typeof g=="string"&&C!==g&&(v.value=(0,o.toInputValue)(g))}return u}(),i.setEditing=function(){function u(s){this.setState({editing:s})}return u}(),i.getValue=function(){function u(){return this.textareaRef.current&&this.textareaRef.current.value}return u}(),i.render=function(){function u(){var s=this.props,d=s.onChange,C=s.onKeyDown,g=s.onKeyPress,v=s.onInput,h=s.onFocus,V=s.onBlur,b=s.onEnter,B=s.value,I=s.maxLength,w=s.placeholder,T=S(s,N),A=T.className,x=T.fluid,E=S(T,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["TextArea",x&&"TextArea--fluid",A])},E,{children:(0,e.createVNode)(128,"textarea","TextArea__textarea",null,1,{placeholder:w,onChange:this.handleOnChange,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onInput:this.handleOnInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:I},null,this.textareaRef)})))}return u}(),f}(e.Component)},71218:function(L,r){"use strict";r.__esModule=!0,r.TimeDisplay=void 0;var n=function(t){(!t||t<0)&&(t=0);var o=Math.floor(t/60).toString(10),m=(Math.floor(t)%60).toString(10);return[o,m].map(function(N){return N.length<2?"0"+N:N}).join(":")},e=r.TimeDisplay=function(){function a(t){var o=t.totalSeconds,m=o===void 0?0:o;return n(m)}return a}()},30341:function(L,r,n){"use strict";r.__esModule=!0,r.Tooltip=void 0;var e=n(28823),a=n(60028),t;function o(k,p){k.prototype=Object.create(p.prototype),k.prototype.constructor=k,m(k,p)}function m(k,p){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function l(c,f){return c.__proto__=f,c}return l}(),m(k,p)}var N={modifiers:[{name:"eventListeners",enabled:!1}]},y={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function k(){return null}return k}()},S=r.Tooltip=function(k){o(p,k);function p(){return k.apply(this,arguments)||this}var l=p.prototype;return l.getDOMNode=function(){function c(){return(0,e.findDOMfromVNode)(this.$LI,!0)}return c}(),l.componentDidMount=function(){function c(){var f=this,i=this.getDOMNode();i&&(i.addEventListener("mouseenter",function(){var u=p.renderedTooltip;u===void 0&&(u=document.createElement("div"),u.className="Tooltip",document.body.appendChild(u),p.renderedTooltip=u),p.currentHoveredElement=i,u.style.opacity="1",f.renderPopperContent()}),i.addEventListener("mouseleave",function(){f.fadeOut()}))}return c}(),l.fadeOut=function(){function c(){p.currentHoveredElement===this.getDOMNode()&&(p.currentHoveredElement=void 0,p.renderedTooltip.style.opacity="0")}return c}(),l.renderPopperContent=function(){function c(){var f=this,i=p.renderedTooltip;i&&(0,e.render)((0,e.createVNode)(1,"span",null,this.props.content,0),i,function(){var u=p.singletonPopper;u===void 0?(u=(0,a.createPopper)(p.virtualElement,i,Object.assign({},N,{placement:f.props.position||"auto"})),p.singletonPopper=u):(u.setOptions(Object.assign({},N,{placement:f.props.position||"auto"})),u.update())},this.context)}return c}(),l.componentDidUpdate=function(){function c(){p.currentHoveredElement===this.getDOMNode()&&this.renderPopperContent()}return c}(),l.componentWillUnmount=function(){function c(){this.fadeOut()}return c}(),l.render=function(){function c(){return this.props.children}return c}(),p}(e.Component);t=S,S.renderedTooltip=void 0,S.singletonPopper=void 0,S.currentHoveredElement=void 0,S.virtualElement={getBoundingClientRect:function(){function k(){var p,l;return(p=(l=t.currentHoveredElement)==null?void 0:l.getBoundingClientRect())!=null?p:y}return k}()}},2971:function(L,r,n){"use strict";r.__esModule=!0,r.Tooltip=r.TimeDisplay=r.TextArea=r.Tabs=r.Table=r.Stack=r.Slider=r.Section=r.RoundGauge=r.RestrictedInput=r.ProgressBar=r.Popper=r.NumberInput=r.NoticeBox=r.NanoMap=r.Modal=r.LabeledList=r.LabeledControls=r.Knob=r.Input=r.Icon=r.Grid=r.Flex=r.Dropdown=r.DraggableControl=r.Divider=r.Dimmer=r.Countdown=r.ColorBox=r.Collapsible=r.Chart=r.ByondUi=r.Button=r.Box=r.BlockQuote=r.Blink=r.Autofocus=r.AnimatedNumber=void 0;var e=n(15281);r.AnimatedNumber=e.AnimatedNumber;var a=n(81789);r.Autofocus=a.Autofocus;var t=n(11316);r.Blink=t.Blink;var o=n(26558);r.BlockQuote=o.BlockQuote;var m=n(93843);r.Box=m.Box;var N=n(16699);r.Button=N.Button;var y=n(75614);r.ByondUi=y.ByondUi;var S=n(2909);r.Chart=S.Chart;var k=n(52760);r.Collapsible=k.Collapsible;var p=n(25762);r.ColorBox=p.ColorBox;var l=n(73712);r.Countdown=l.Countdown;var c=n(15148);r.Dimmer=c.Dimmer;var f=n(81878);r.Divider=f.Divider;var i=n(41584);r.DraggableControl=i.DraggableControl;var u=n(99936);r.Dropdown=u.Dropdown;var s=n(92462);r.Flex=s.Flex;var d=n(81753);r.Grid=d.Grid;var C=n(69433);r.Icon=C.Icon;var g=n(51190);r.Input=g.Input;var v=n(35095);r.Knob=v.Knob;var h=n(36563);r.LabeledControls=h.LabeledControls;var V=n(88488);r.LabeledList=V.LabeledList;var b=n(59743);r.Modal=b.Modal;var B=n(94405);r.NanoMap=B.NanoMap;var I=n(19153);r.NoticeBox=I.NoticeBox;var w=n(43023);r.NumberInput=w.NumberInput;var T=n(21624);r.Popper=T.Popper;var A=n(24273);r.ProgressBar=A.ProgressBar;var x=n(49421);r.RestrictedInput=x.RestrictedInput;var E=n(37479);r.RoundGauge=E.RoundGauge;var P=n(43308);r.Section=P.Section;var D=n(83611);r.Slider=D.Slider;var M=n(78581);r.Stack=M.Stack;var O=n(99753);r.Table=O.Table;var j=n(96517);r.Tabs=j.Tabs;var F=n(12764);r.TextArea=F.TextArea;var U=n(71218);r.TimeDisplay=U.TimeDisplay;var _=n(30341);r.Tooltip=_.Tooltip},30381:function(L,r){"use strict";r.__esModule=!0,r.timeAgo=r.getGasLabel=r.getGasColor=r.UI_UPDATE=r.UI_INTERACTIVE=r.UI_DISABLED=r.UI_CLOSE=r.RADIO_CHANNELS=r.CSS_COLORS=r.COLORS=void 0;var n=r.UI_INTERACTIVE=2,e=r.UI_UPDATE=1,a=r.UI_DISABLED=0,t=r.UI_CLOSE=-1,o=r.COLORS={department:{command:"#526aff",security:"#CF0000",medical:"#009190",science:"#993399",engineering:"#A66300",supply:"#9F8545",service:"#80A000",centcom:"#78789B",other:"#C38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}},m=r.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"],N=r.RADIO_CHANNELS=[{name:"Syndicate",freq:1213,color:"#a52a2a"},{name:"SyndTeam",freq:1244,color:"#a52a2a"},{name:"Red Team",freq:1215,color:"#ff4444"},{name:"Blue Team",freq:1217,color:"#3434fd"},{name:"Response Team",freq:1345,color:"#2681a5"},{name:"Special Ops",freq:1341,color:"#2681a5"},{name:"Supply",freq:1347,color:"#b88646"},{name:"Service",freq:1349,color:"#6ca729"},{name:"Science",freq:1351,color:"#c68cfa"},{name:"Command",freq:1353,color:"#5177ff"},{name:"Procedure",freq:1339,color:"#F70285"},{name:"Medical",freq:1355,color:"#57b8f0"},{name:"Medical(I)",freq:1485,color:"#57b8f0"},{name:"Engineering",freq:1357,color:"#f37746"},{name:"Security",freq:1359,color:"#dd3535"},{name:"Security(I)",freq:1475,color:"#dd3535"},{name:"AI Private",freq:1343,color:"#d65d95"},{name:"Common",freq:1459,color:"#1ecc43"}],y=[{id:"o2",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"co2",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"plasma",name:"Plasma",label:"Plasma",color:"pink"},{id:"water_vapor",name:"Water Vapor",label:"H\u2082O",color:"grey"},{id:"nob",name:"Hyper-noblium",label:"Hyper-nob",color:"teal"},{id:"n2o",name:"Nitrous Oxide",label:"N\u2082O",color:"red"},{id:"no2",name:"Nitryl",label:"NO\u2082",color:"brown"},{id:"tritium",name:"Tritium",label:"Tritium",color:"green"},{id:"bz",name:"BZ",label:"BZ",color:"purple"},{id:"stim",name:"Stimulum",label:"Stimulum",color:"purple"},{id:"pluox",name:"Pluoxium",label:"Pluoxium",color:"blue"},{id:"miasma",name:"Miasma",label:"Miasma",color:"olive"},{id:"hydrogen",name:"Hydrogen",label:"H\u2082",color:"white"},{id:"ab",name:"Agent B",label:"Agent B",color:"purple"}],S=r.getGasLabel=function(){function l(c,f){var i=String(c).toLowerCase(),u=y.find(function(s){return s.id===i||s.name.toLowerCase()===i});return u&&u.label||f||c}return l}(),k=r.getGasColor=function(){function l(c){var f=String(c).toLowerCase(),i=y.find(function(u){return u.id===f||u.name.toLowerCase()===f});return i&&i.color}return l}(),p=r.timeAgo=function(){function l(c,f){if(c>f)return"in the future";c=c/10,f=f/10;var i=f-c;if(i>3600){var u=Math.round(i/3600);return u+" hour"+(u===1?"":"s")+" ago"}else if(i>60){var s=Math.round(i/60);return s+" minute"+(s===1?"":"s")+" ago"}else{var d=Math.round(i);return d+" second"+(d===1?"":"s")+" ago"}return"just now"}return l}()},28766:function(L,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947);/** +*/var l=r.TextArea=function(c){function f(i,s){var d;d=c.call(this,i,s)||this,d.textareaRef=i.innerRef||(0,e.createRef)(),d.fillerRef=(0,e.createRef)(),d.state={editing:!1};var h=i.dontUseTabForIndent,v=h===void 0?!1:h;return d.handleOnInput=function(g){var C=d.state.editing,V=d.props.onInput;C||d.setEditing(!0),V&&V(g,g.target.value)},d.handleOnChange=function(g){var C=d.state.editing,V=d.props.onChange;C&&d.setEditing(!1),V&&V(g,g.target.value)},d.handleKeyPress=function(g){var C=d.state.editing,V=d.props.onKeyPress;C||d.setEditing(!0),V&&V(g,g.target.value)},d.handleKeyDown=function(g){var C=d.state.editing,V=d.props,b=V.onChange,B=V.onInput,I=V.onEnter,w=V.onKeyDown;if(g.keyCode===m.KEY_ENTER){d.setEditing(!1),b&&b(g,g.target.value),B&&B(g,g.target.value),I&&I(g,g.target.value),d.props.selfClear&&(g.target.value="",g.target.blur());return}if(g.keyCode===m.KEY_ESCAPE){d.props.onEscape&&d.props.onEscape(g),d.setEditing(!1),d.props.selfClear?g.target.value="":(g.target.value=(0,o.toInputValue)(d.props.value),g.target.blur());return}if(C||d.setEditing(!0),w&&w(g,g.target.value),!v){var T=g.keyCode||g.which;if(T===m.KEY_TAB){g.preventDefault();var A=g.target,x=A.value,E=A.selectionStart,M=A.selectionEnd;g.target.value=x.substring(0,E)+" "+x.substring(M),g.target.selectionEnd=E+1}}},d.handleFocus=function(g){var C=d.state.editing;C||d.setEditing(!0)},d.handleBlur=function(g){var C=d.state.editing,V=d.props.onChange;C&&(d.setEditing(!1),V&&V(g,g.target.value))},d}k(f,c);var u=f.prototype;return u.componentDidMount=function(){function i(){var s=this,d=this.props.value,h=this.textareaRef.current;h&&(h.value=(0,o.toInputValue)(d)),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){h.focus(),s.props.autoSelect&&h.select()},1)}return i}(),u.componentDidUpdate=function(){function i(s,d){var h=s.value,v=this.props.value,g=this.textareaRef.current;g&&typeof v=="string"&&h!==v&&(g.value=(0,o.toInputValue)(v))}return i}(),u.setEditing=function(){function i(s){this.setState({editing:s})}return i}(),u.getValue=function(){function i(){return this.textareaRef.current&&this.textareaRef.current.value}return i}(),u.render=function(){function i(){var s=this.props,d=s.onChange,h=s.onKeyDown,v=s.onKeyPress,g=s.onInput,C=s.onFocus,V=s.onBlur,b=s.onEnter,B=s.value,I=s.maxLength,w=s.placeholder,T=S(s,N),A=T.className,x=T.fluid,E=S(T,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["TextArea",x&&"TextArea--fluid",A])},E,{children:(0,e.createVNode)(128,"textarea","TextArea__textarea",null,1,{placeholder:w,onChange:this.handleOnChange,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onInput:this.handleOnInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:I},null,this.textareaRef)})))}return i}(),f}(e.Component)},6303:function(L,r){"use strict";r.__esModule=!0,r.TimeDisplay=void 0;var n=function(t){(!t||t<0)&&(t=0);var o=Math.floor(t/60).toString(10),m=(Math.floor(t)%60).toString(10);return[o,m].map(function(N){return N.length<2?"0"+N:N}).join(":")},e=r.TimeDisplay=function(){function a(t){var o=t.totalSeconds,m=o===void 0?0:o;return n(m)}return a}()},58749:function(L,r,n){"use strict";r.__esModule=!0,r.Tooltip=void 0;var e=n(96524),a=n(60023),t;function o(k,p){k.prototype=Object.create(p.prototype),k.prototype.constructor=k,m(k,p)}function m(k,p){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function l(c,f){return c.__proto__=f,c}return l}(),m(k,p)}var N={modifiers:[{name:"eventListeners",enabled:!1}]},y={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function k(){return null}return k}()},S=r.Tooltip=function(k){function p(){return k.apply(this,arguments)||this}o(p,k);var l=p.prototype;return l.getDOMNode=function(){function c(){return(0,e.findDOMfromVNode)(this.$LI,!0)}return c}(),l.componentDidMount=function(){function c(){var f=this,u=this.getDOMNode();u&&(u.addEventListener("mouseenter",function(){var i=p.renderedTooltip;i===void 0&&(i=document.createElement("div"),i.className="Tooltip",document.body.appendChild(i),p.renderedTooltip=i),p.currentHoveredElement=u,i.style.opacity="1",f.renderPopperContent()}),u.addEventListener("mouseleave",function(){f.fadeOut()}))}return c}(),l.fadeOut=function(){function c(){p.currentHoveredElement===this.getDOMNode()&&(p.currentHoveredElement=void 0,p.renderedTooltip.style.opacity="0")}return c}(),l.renderPopperContent=function(){function c(){var f=this,u=p.renderedTooltip;u&&(0,e.render)((0,e.createVNode)(1,"span",null,this.props.content,0),u,function(){var i=p.singletonPopper;i===void 0?(i=(0,a.createPopper)(p.virtualElement,u,Object.assign({},N,{placement:f.props.position||"auto"})),p.singletonPopper=i):(i.setOptions(Object.assign({},N,{placement:f.props.position||"auto"})),i.update())},this.context)}return c}(),l.componentDidUpdate=function(){function c(){p.currentHoveredElement===this.getDOMNode()&&this.renderPopperContent()}return c}(),l.componentWillUnmount=function(){function c(){this.fadeOut()}return c}(),l.render=function(){function c(){return this.props.children}return c}(),p}(e.Component);t=S,S.renderedTooltip=void 0,S.singletonPopper=void 0,S.currentHoveredElement=void 0,S.virtualElement={getBoundingClientRect:function(){function k(){var p,l;return(p=(l=t.currentHoveredElement)==null?void 0:l.getBoundingClientRect())!=null?p:y}return k}()}},24674:function(L,r,n){"use strict";r.__esModule=!0,r.Tooltip=r.TimeDisplay=r.TextArea=r.Tabs=r.Table=r.Stack=r.Slider=r.Section=r.RoundGauge=r.RestrictedInput=r.ProgressBar=r.Popper=r.NumberInput=r.NoticeBox=r.NanoMap=r.Modal=r.LabeledList=r.LabeledControls=r.Knob=r.Input=r.Icon=r.Grid=r.Flex=r.Dropdown=r.DraggableControl=r.Divider=r.Dimmer=r.Countdown=r.ColorBox=r.Collapsible=r.Chart=r.ByondUi=r.Button=r.Box=r.BlockQuote=r.Blink=r.Autofocus=r.AnimatedNumber=void 0;var e=n(65416);r.AnimatedNumber=e.AnimatedNumber;var a=n(11735);r.Autofocus=a.Autofocus;var t=n(35436);r.Blink=t.Blink;var o=n(55239);r.BlockQuote=o.BlockQuote;var m=n(3051);r.Box=m.Box;var N=n(91688);r.Button=N.Button;var y=n(42204);r.ByondUi=y.ByondUi;var S=n(41886);r.Chart=S.Chart;var k=n(83974);r.Collapsible=k.Collapsible;var p=n(26236);r.ColorBox=p.ColorBox;var l=n(99509);r.Countdown=l.Countdown;var c=n(72358);r.Dimmer=c.Dimmer;var f=n(31647);r.Divider=f.Divider;var u=n(27648);r.DraggableControl=u.DraggableControl;var i=n(45293);r.Dropdown=i.Dropdown;var s=n(18963);r.Flex=s.Flex;var d=n(17956);r.Grid=d.Grid;var h=n(11253);r.Icon=h.Icon;var v=n(49034);r.Input=v.Input;var g=n(9836);r.Knob=g.Knob;var C=n(86259);r.LabeledControls=C.LabeledControls;var V=n(91097);r.LabeledList=V.LabeledList;var b=n(97539);r.Modal=b.Modal;var B=n(55830);r.NanoMap=B.NanoMap;var I=n(14899);r.NoticeBox=I.NoticeBox;var w=n(5985);r.NumberInput=w.NumberInput;var T=n(37056);r.Popper=T.Popper;var A=n(36146);r.ProgressBar=A.ProgressBar;var x=n(49977);r.RestrictedInput=x.RestrictedInput;var E=n(2083);r.RoundGauge=E.RoundGauge;var M=n(5201);r.Section=M.Section;var j=n(66397);r.Slider=j.Slider;var P=n(24800);r.Stack=P.Stack;var R=n(5126);r.Table=R.Table;var D=n(26104);r.Tabs=D.Tabs;var F=n(67606);r.TextArea=F.TextArea;var W=n(6303);r.TimeDisplay=W.TimeDisplay;var _=n(58749);r.Tooltip=_.Tooltip},38424:function(L,r){"use strict";r.__esModule=!0,r.timeAgo=r.getGasLabel=r.getGasColor=r.UI_UPDATE=r.UI_INTERACTIVE=r.UI_DISABLED=r.UI_CLOSE=r.RADIO_CHANNELS=r.CSS_COLORS=r.COLORS=void 0;var n=r.UI_INTERACTIVE=2,e=r.UI_UPDATE=1,a=r.UI_DISABLED=0,t=r.UI_CLOSE=-1,o=r.COLORS={department:{command:"#526aff",security:"#CF0000",medical:"#009190",science:"#993399",engineering:"#A66300",supply:"#9F8545",service:"#80A000",centcom:"#78789B",other:"#C38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}},m=r.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"],N=r.RADIO_CHANNELS=[{name:"Syndicate",freq:1213,color:"#a52a2a"},{name:"SyndTeam",freq:1244,color:"#a52a2a"},{name:"Red Team",freq:1215,color:"#ff4444"},{name:"Blue Team",freq:1217,color:"#3434fd"},{name:"Response Team",freq:1345,color:"#2681a5"},{name:"Special Ops",freq:1341,color:"#2681a5"},{name:"Supply",freq:1347,color:"#b88646"},{name:"Service",freq:1349,color:"#6ca729"},{name:"Science",freq:1351,color:"#c68cfa"},{name:"Command",freq:1353,color:"#5177ff"},{name:"Procedure",freq:1339,color:"#F70285"},{name:"Medical",freq:1355,color:"#57b8f0"},{name:"Medical(I)",freq:1485,color:"#57b8f0"},{name:"Engineering",freq:1357,color:"#f37746"},{name:"Security",freq:1359,color:"#dd3535"},{name:"Security(I)",freq:1475,color:"#dd3535"},{name:"AI Private",freq:1343,color:"#d65d95"},{name:"Common",freq:1459,color:"#1ecc43"}],y=[{id:"o2",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"co2",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"plasma",name:"Plasma",label:"Plasma",color:"pink"},{id:"water_vapor",name:"Water Vapor",label:"H\u2082O",color:"grey"},{id:"nob",name:"Hyper-noblium",label:"Hyper-nob",color:"teal"},{id:"n2o",name:"Nitrous Oxide",label:"N\u2082O",color:"red"},{id:"no2",name:"Nitryl",label:"NO\u2082",color:"brown"},{id:"tritium",name:"Tritium",label:"Tritium",color:"green"},{id:"bz",name:"BZ",label:"BZ",color:"purple"},{id:"stim",name:"Stimulum",label:"Stimulum",color:"purple"},{id:"pluox",name:"Pluoxium",label:"Pluoxium",color:"blue"},{id:"miasma",name:"Miasma",label:"Miasma",color:"olive"},{id:"hydrogen",name:"Hydrogen",label:"H\u2082",color:"white"},{id:"ab",name:"Agent B",label:"Agent B",color:"purple"}],S=r.getGasLabel=function(){function l(c,f){var u=String(c).toLowerCase(),i=y.find(function(s){return s.id===u||s.name.toLowerCase()===u});return i&&i.label||f||c}return l}(),k=r.getGasColor=function(){function l(c){var f=String(c).toLowerCase(),u=y.find(function(i){return i.id===f||i.name.toLowerCase()===f});return u&&u.color}return l}(),p=r.timeAgo=function(){function l(c,f){if(c>f)return"in the future";c=c/10,f=f/10;var u=f-c;if(u>3600){var i=Math.round(u/3600);return i+" hour"+(i===1?"":"s")+" ago"}else if(u>60){var s=Math.round(u/60);return s+" minute"+(s===1?"":"s")+" ago"}else{var d=Math.round(u);return d+" second"+(d===1?"":"s")+" ago"}return"just now"}return l}()},27598:function(L,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var m=n(69321),N=function(){return m.keys().map(function(k){return m(k)})},y=r.KitchenSink=function(){function S(k,p){var l=k.panel,c=(0,a.useLocalState)(p,"kitchenSinkTheme"),f=c[0],i=(0,a.useLocalState)(p,"pageIndex",0),u=i[0],s=i[1],d=N(),C=d[u],g=l?o.Pane:o.Window;return(0,e.createComponentVNode)(2,g,{title:"Kitchen Sink",width:600,height:500,theme:f,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{m:1,mr:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:!0,children:d.map(function(v,h){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{color:"transparent",selected:h===u,onClick:function(){function V(){return s(h)}return V}(),children:v.meta.title},h)})})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{position:"relative",grow:1,children:(0,e.createComponentVNode)(2,g.Content,{scrollable:!0,children:C.meta.render()})})]})})}return S}()},20697:function(L,r,n){"use strict";r.__esModule=!0,r.toggleKitchenSink=r.toggleDebugLayout=r.openExternalBrowser=void 0;var e=n(90816);/** + */var m=n(4085),N=function(){return m.keys().map(function(k){return m(k)})},y=r.KitchenSink=function(){function S(k,p){var l=k.panel,c=(0,a.useLocalState)(p,"kitchenSinkTheme"),f=c[0],u=(0,a.useLocalState)(p,"pageIndex",0),i=u[0],s=u[1],d=N(),h=d[i],v=l?o.Pane:o.Window;return(0,e.createComponentVNode)(2,v,{title:"Kitchen Sink",width:600,height:500,theme:f,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{m:1,mr:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:!0,children:d.map(function(g,C){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{color:"transparent",selected:C===i,onClick:function(){function V(){return s(C)}return V}(),children:g.meta.title},C)})})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{position:"relative",grow:1,children:(0,e.createComponentVNode)(2,v.Content,{scrollable:!0,children:h.meta.render()})})]})})}return S}()},82574:function(L,r,n){"use strict";r.__esModule=!0,r.toggleKitchenSink=r.toggleDebugLayout=r.openExternalBrowser=void 0;var e=n(88605);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var a=r.toggleKitchenSink=(0,e.createAction)("debug/toggleKitchenSink"),t=r.toggleDebugLayout=(0,e.createAction)("debug/toggleDebugLayout"),o=r.openExternalBrowser=(0,e.createAction)("debug/openExternalBrowser")},72315:function(L,r,n){"use strict";r.__esModule=!0,r.useDebug=void 0;var e=n(90816),a=n(94505);/** + */var a=r.toggleKitchenSink=(0,e.createAction)("debug/toggleKitchenSink"),t=r.toggleDebugLayout=(0,e.createAction)("debug/toggleDebugLayout"),o=r.openExternalBrowser=(0,e.createAction)("debug/openExternalBrowser")},5385:function(L,r,n){"use strict";r.__esModule=!0,r.useDebug=void 0;var e=n(88605),a=n(52991);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=r.useDebug=function(){function o(m){return(0,e.useSelector)(m,a.selectDebug)}return o}()},39241:function(L,r,n){"use strict";r.__esModule=!0,r.useDebug=r.relayMiddleware=r.debugReducer=r.debugMiddleware=r.KitchenSink=void 0;var e=n(72315);r.useDebug=e.useDebug;var a=n(28766);r.KitchenSink=a.KitchenSink;var t=n(57860);r.debugMiddleware=t.debugMiddleware,r.relayMiddleware=t.relayMiddleware;var o=n(42702);r.debugReducer=o.debugReducer},57860:function(L,r,n){"use strict";r.__esModule=!0,r.relayMiddleware=r.debugMiddleware=void 0;var e=n(31068),a=n(33053),t=n(39891),o=n(20697);/** + */var t=r.useDebug=function(){function o(m){return(0,e.useSelector)(m,a.selectDebug)}return o}()},90781:function(L,r,n){"use strict";r.__esModule=!0,r.useDebug=r.relayMiddleware=r.debugReducer=r.debugMiddleware=r.KitchenSink=void 0;var e=n(5385);r.useDebug=e.useDebug;var a=n(27598);r.KitchenSink=a.KitchenSink;var t=n(52785);r.debugMiddleware=t.debugMiddleware,r.relayMiddleware=t.relayMiddleware;var o=n(31125);r.debugReducer=o.debugReducer},52785:function(L,r,n){"use strict";r.__esModule=!0,r.relayMiddleware=r.debugMiddleware=void 0;var e=n(68100),a=n(92700),t=n(39952),o=n(82574);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var m=["backend/update","chat/message"],N=r.debugMiddleware=function(){function S(k){return(0,t.acquireHotKey)(e.KEY_F11),(0,t.acquireHotKey)(e.KEY_F12),a.globalEvents.on("keydown",function(p){p.code===e.KEY_F11&&k.dispatch((0,o.toggleDebugLayout)()),p.code===e.KEY_F12&&k.dispatch((0,o.toggleKitchenSink)()),p.ctrl&&p.alt&&p.code===e.KEY_BACKSPACE&&setTimeout(function(){throw new Error("OOPSIE WOOPSIE!! UwU We made a fucky wucky!! A wittle fucko boingo! The code monkeys at our headquarters are working VEWY HAWD to fix this!")})}),function(p){return function(l){return p(l)}}}return S}(),y=r.relayMiddleware=function(){function S(k){var p=n(87454),l=location.search==="?external";return l?p.subscribe(function(c){var f=c.type,i=c.payload;f==="relay"&&i.windowId===Byond.windowId&&k.dispatch(Object.assign({},i.action,{relayed:!0}))}):((0,t.acquireHotKey)(e.KEY_F10),a.globalEvents.on("keydown",function(c){c===e.KEY_F10&&k.dispatch((0,o.openExternalBrowser)())})),function(c){return function(f){var i=f.type,u=f.payload,s=f.relayed;if(i===o.openExternalBrowser.type){window.open(location.href+"?external","_blank");return}return m.includes(i)&&!s&&!l&&p.sendMessage({type:"relay",payload:{windowId:Byond.windowId,action:f}}),c(f)}}}return S}()},42702:function(L,r){"use strict";r.__esModule=!0,r.debugReducer=void 0;/** + */var m=["backend/update","chat/message"],N=r.debugMiddleware=function(){function S(k){return(0,t.acquireHotKey)(e.KEY_F11),(0,t.acquireHotKey)(e.KEY_F12),a.globalEvents.on("keydown",function(p){p.code===e.KEY_F11&&k.dispatch((0,o.toggleDebugLayout)()),p.code===e.KEY_F12&&k.dispatch((0,o.toggleKitchenSink)()),p.ctrl&&p.alt&&p.code===e.KEY_BACKSPACE&&setTimeout(function(){throw new Error("OOPSIE WOOPSIE!! UwU We made a fucky wucky!! A wittle fucko boingo! The code monkeys at our headquarters are working VEWY HAWD to fix this!")})}),function(p){return function(l){return p(l)}}}return S}(),y=r.relayMiddleware=function(){function S(k){var p=n(50719),l=location.search==="?external";return l?p.subscribe(function(c){var f=c.type,u=c.payload;f==="relay"&&u.windowId===Byond.windowId&&k.dispatch(Object.assign({},u.action,{relayed:!0}))}):((0,t.acquireHotKey)(e.KEY_F10),a.globalEvents.on("keydown",function(c){c===e.KEY_F10&&k.dispatch((0,o.openExternalBrowser)())})),function(c){return function(f){var u=f.type,i=f.payload,s=f.relayed;if(u===o.openExternalBrowser.type){window.open(location.href+"?external","_blank");return}return m.includes(u)&&!s&&!l&&p.sendMessage({type:"relay",payload:{windowId:Byond.windowId,action:f}}),c(f)}}}return S}()},31125:function(L,r){"use strict";r.__esModule=!0,r.debugReducer=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.debugReducer=function(){function e(a,t){a===void 0&&(a={});var o=t.type,m=t.payload;return o==="debug/toggleKitchenSink"?Object.assign({},a,{kitchenSink:!a.kitchenSink}):o==="debug/toggleDebugLayout"?Object.assign({},a,{debugLayout:!a.debugLayout}):a}return e}()},94505:function(L,r){"use strict";r.__esModule=!0,r.selectDebug=void 0;/** + */var n=r.debugReducer=function(){function e(a,t){a===void 0&&(a={});var o=t.type,m=t.payload;return o==="debug/toggleKitchenSink"?Object.assign({},a,{kitchenSink:!a.kitchenSink}):o==="debug/toggleDebugLayout"?Object.assign({},a,{debugLayout:!a.debugLayout}):a}return e}()},52991:function(L,r){"use strict";r.__esModule=!0,r.selectDebug=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.selectDebug=function(){function e(a){return a.debug}return e}()},45360:function(L,r,n){"use strict";r.__esModule=!0,r.storeWindowGeometry=r.setupDrag=r.setWindowSize=r.setWindowPosition=r.setWindowKey=r.resizeStartHandler=r.recallWindowGeometry=r.getWindowSize=r.getWindowPosition=r.getScreenSize=r.getScreenPosition=r.dragStartHandler=void 0;var e=n(96417),a=n(41202),t=n(50175);function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return F};var j,F={},U=Object.prototype,_=U.hasOwnProperty,z=Object.defineProperty||function(Ve,ce,le){Ve[ce]=le.value},H=typeof Symbol=="function"?Symbol:{},$=H.iterator||"@@iterator",Y=H.asyncIterator||"@@asyncIterator",X=H.toStringTag||"@@toStringTag";function re(Ve,ce,le){return Object.defineProperty(Ve,ce,{value:le,enumerable:!0,configurable:!0,writable:!0}),Ve[ce]}try{re({},"")}catch(Ve){re=function(le,Ce,de){return le[Ce]=de}}function ae(Ve,ce,le,Ce){var de=ce&&ce.prototype instanceof Z?ce:Z,Ne=Object.create(de.prototype),Ae=new Oe(Ce||[]);return z(Ne,"_invoke",{value:ve(Ve,le,Ae)}),Ne}function se(Ve,ce,le){try{return{type:"normal",arg:Ve.call(ce,le)}}catch(Ce){return{type:"throw",arg:Ce}}}F.wrap=ae;var pe="suspendedStart",ye="suspendedYield",Be="executing",he="completed",oe={};function Z(){}function q(){}function ue(){}var me={};re(me,$,function(){return this});var ne=Object.getPrototypeOf,be=ne&&ne(ne(We([])));be&&be!==U&&_.call(be,$)&&(me=be);var fe=ue.prototype=Z.prototype=Object.create(me);function ge(Ve){["next","throw","return"].forEach(function(ce){re(Ve,ce,function(le){return this._invoke(ce,le)})})}function ke(Ve,ce){function le(de,Ne,Ae,De){var je=se(Ve[de],Ve,Ne);if(je.type!=="throw"){var _e=je.arg,Ue=_e.value;return Ue&&typeof Ue=="object"&&_.call(Ue,"__await")?ce.resolve(Ue.__await).then(function(Ke){le("next",Ke,Ae,De)},function(Ke){le("throw",Ke,Ae,De)}):ce.resolve(Ue).then(function(Ke){_e.value=Ke,Ae(_e)},function(Ke){return le("throw",Ke,Ae,De)})}De(je.arg)}var Ce;z(this,"_invoke",{value:function(){function de(Ne,Ae){function De(){return new ce(function(je,_e){le(Ne,Ae,je,_e)})}return Ce=Ce?Ce.then(De,De):De()}return de}()})}function ve(Ve,ce,le){var Ce=pe;return function(de,Ne){if(Ce===Be)throw new Error("Generator is already running");if(Ce===he){if(de==="throw")throw Ne;return{value:j,done:!0}}for(le.method=de,le.arg=Ne;;){var Ae=le.delegate;if(Ae){var De=Se(Ae,le);if(De){if(De===oe)continue;return De}}if(le.method==="next")le.sent=le._sent=le.arg;else if(le.method==="throw"){if(Ce===pe)throw Ce=he,le.arg;le.dispatchException(le.arg)}else le.method==="return"&&le.abrupt("return",le.arg);Ce=Be;var je=se(Ve,ce,le);if(je.type==="normal"){if(Ce=le.done?he:ye,je.arg===oe)continue;return{value:je.arg,done:le.done}}je.type==="throw"&&(Ce=he,le.method="throw",le.arg=je.arg)}}}function Se(Ve,ce){var le=ce.method,Ce=Ve.iterator[le];if(Ce===j)return ce.delegate=null,le==="throw"&&Ve.iterator.return&&(ce.method="return",ce.arg=j,Se(Ve,ce),ce.method==="throw")||le!=="return"&&(ce.method="throw",ce.arg=new TypeError("The iterator does not provide a '"+le+"' method")),oe;var de=se(Ce,Ve.iterator,ce.arg);if(de.type==="throw")return ce.method="throw",ce.arg=de.arg,ce.delegate=null,oe;var Ne=de.arg;return Ne?Ne.done?(ce[Ve.resultName]=Ne.value,ce.next=Ve.nextLoc,ce.method!=="return"&&(ce.method="next",ce.arg=j),ce.delegate=null,oe):Ne:(ce.method="throw",ce.arg=new TypeError("iterator result is not an object"),ce.delegate=null,oe)}function we(Ve){var ce={tryLoc:Ve[0]};1 in Ve&&(ce.catchLoc=Ve[1]),2 in Ve&&(ce.finallyLoc=Ve[2],ce.afterLoc=Ve[3]),this.tryEntries.push(ce)}function xe(Ve){var ce=Ve.completion||{};ce.type="normal",delete ce.arg,Ve.completion=ce}function Oe(Ve){this.tryEntries=[{tryLoc:"root"}],Ve.forEach(we,this),this.reset(!0)}function We(Ve){if(Ve||Ve===""){var ce=Ve[$];if(ce)return ce.call(Ve);if(typeof Ve.next=="function")return Ve;if(!isNaN(Ve.length)){var le=-1,Ce=function(){function de(){for(;++le<Ve.length;)if(_.call(Ve,le))return de.value=Ve[le],de.done=!1,de;return de.value=j,de.done=!0,de}return de}();return Ce.next=Ce}}throw new TypeError(typeof Ve+" is not iterable")}return q.prototype=ue,z(fe,"constructor",{value:ue,configurable:!0}),z(ue,"constructor",{value:q,configurable:!0}),q.displayName=re(ue,X,"GeneratorFunction"),F.isGeneratorFunction=function(Ve){var ce=typeof Ve=="function"&&Ve.constructor;return!!ce&&(ce===q||(ce.displayName||ce.name)==="GeneratorFunction")},F.mark=function(Ve){return Object.setPrototypeOf?Object.setPrototypeOf(Ve,ue):(Ve.__proto__=ue,re(Ve,X,"GeneratorFunction")),Ve.prototype=Object.create(fe),Ve},F.awrap=function(Ve){return{__await:Ve}},ge(ke.prototype),re(ke.prototype,Y,function(){return this}),F.AsyncIterator=ke,F.async=function(Ve,ce,le,Ce,de){de===void 0&&(de=Promise);var Ne=new ke(ae(Ve,ce,le,Ce),de);return F.isGeneratorFunction(ce)?Ne:Ne.next().then(function(Ae){return Ae.done?Ae.value:Ne.next()})},ge(fe),re(fe,X,"Generator"),re(fe,$,function(){return this}),re(fe,"toString",function(){return"[object Generator]"}),F.keys=function(Ve){var ce=Object(Ve),le=[];for(var Ce in ce)le.push(Ce);return le.reverse(),function(){function de(){for(;le.length;){var Ne=le.pop();if(Ne in ce)return de.value=Ne,de.done=!1,de}return de.done=!0,de}return de}()},F.values=We,Oe.prototype={constructor:Oe,reset:function(){function Ve(ce){if(this.prev=0,this.next=0,this.sent=this._sent=j,this.done=!1,this.delegate=null,this.method="next",this.arg=j,this.tryEntries.forEach(xe),!ce)for(var le in this)le.charAt(0)==="t"&&_.call(this,le)&&!isNaN(+le.slice(1))&&(this[le]=j)}return Ve}(),stop:function(){function Ve(){this.done=!0;var ce=this.tryEntries[0].completion;if(ce.type==="throw")throw ce.arg;return this.rval}return Ve}(),dispatchException:function(){function Ve(ce){if(this.done)throw ce;var le=this;function Ce(_e,Ue){return Ae.type="throw",Ae.arg=ce,le.next=_e,Ue&&(le.method="next",le.arg=j),!!Ue}for(var de=this.tryEntries.length-1;de>=0;--de){var Ne=this.tryEntries[de],Ae=Ne.completion;if(Ne.tryLoc==="root")return Ce("end");if(Ne.tryLoc<=this.prev){var De=_.call(Ne,"catchLoc"),je=_.call(Ne,"finallyLoc");if(De&&je){if(this.prev<Ne.catchLoc)return Ce(Ne.catchLoc,!0);if(this.prev<Ne.finallyLoc)return Ce(Ne.finallyLoc)}else if(De){if(this.prev<Ne.catchLoc)return Ce(Ne.catchLoc,!0)}else{if(!je)throw new Error("try statement without catch or finally");if(this.prev<Ne.finallyLoc)return Ce(Ne.finallyLoc)}}}}return Ve}(),abrupt:function(){function Ve(ce,le){for(var Ce=this.tryEntries.length-1;Ce>=0;--Ce){var de=this.tryEntries[Ce];if(de.tryLoc<=this.prev&&_.call(de,"finallyLoc")&&this.prev<de.finallyLoc){var Ne=de;break}}Ne&&(ce==="break"||ce==="continue")&&Ne.tryLoc<=le&&le<=Ne.finallyLoc&&(Ne=null);var Ae=Ne?Ne.completion:{};return Ae.type=ce,Ae.arg=le,Ne?(this.method="next",this.next=Ne.finallyLoc,oe):this.complete(Ae)}return Ve}(),complete:function(){function Ve(ce,le){if(ce.type==="throw")throw ce.arg;return ce.type==="break"||ce.type==="continue"?this.next=ce.arg:ce.type==="return"?(this.rval=this.arg=ce.arg,this.method="return",this.next="end"):ce.type==="normal"&&le&&(this.next=le),oe}return Ve}(),finish:function(){function Ve(ce){for(var le=this.tryEntries.length-1;le>=0;--le){var Ce=this.tryEntries[le];if(Ce.finallyLoc===ce)return this.complete(Ce.completion,Ce.afterLoc),xe(Ce),oe}}return Ve}(),catch:function(){function Ve(ce){for(var le=this.tryEntries.length-1;le>=0;--le){var Ce=this.tryEntries[le];if(Ce.tryLoc===ce){var de=Ce.completion;if(de.type==="throw"){var Ne=de.arg;xe(Ce)}return Ne}}throw new Error("illegal catch attempt")}return Ve}(),delegateYield:function(){function Ve(ce,le,Ce){return this.delegate={iterator:We(ce),resultName:le,nextLoc:Ce},this.method==="next"&&(this.arg=j),oe}return Ve}()},F}function m(j,F,U,_,z,H,$){try{var Y=j[H]($),X=Y.value}catch(re){U(re);return}Y.done?F(X):Promise.resolve(X).then(_,z)}function N(j){return function(){var F=this,U=arguments;return new Promise(function(_,z){var H=j.apply(F,U);function $(X){m(H,_,z,$,Y,"next",X)}function Y(X){m(H,_,z,$,Y,"throw",X)}$(void 0)})}}/** + */var n=r.selectDebug=function(){function e(a){return a.debug}return e}()},83987:function(L,r,n){"use strict";r.__esModule=!0,r.storeWindowGeometry=r.setupDrag=r.setWindowSize=r.setWindowPosition=r.setWindowKey=r.resizeStartHandler=r.recallWindowGeometry=r.getWindowSize=r.getWindowPosition=r.getScreenSize=r.getScreenPosition=r.dragStartHandler=void 0;var e=n(66450),a=n(73564),t=n(81856);function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return F};var D,F={},W=Object.prototype,_=W.hasOwnProperty,H=Object.defineProperty||function(Ve,ae,le){Ve[ae]=le.value},z=typeof Symbol=="function"?Symbol:{},$=z.iterator||"@@iterator",X=z.asyncIterator||"@@asyncIterator",J=z.toStringTag||"@@toStringTag";function ce(Ve,ae,le){return Object.defineProperty(Ve,ae,{value:le,enumerable:!0,configurable:!0,writable:!0}),Ve[ae]}try{ce({},"")}catch(Ve){ce=function(le,Ce,de){return le[Ce]=de}}function re(Ve,ae,le,Ce){var de=ae&&ae.prototype instanceof Z?ae:Z,Ne=Object.create(de.prototype),Ae=new Oe(Ce||[]);return H(Ne,"_invoke",{value:ve(Ve,le,Ae)}),Ne}function me(Ve,ae,le){try{return{type:"normal",arg:Ve.call(ae,le)}}catch(Ce){return{type:"throw",arg:Ce}}}F.wrap=re;var pe="suspendedStart",ye="suspendedYield",Be="executing",he="completed",oe={};function Z(){}function q(){}function ue(){}var se={};ce(se,$,function(){return this});var ne=Object.getPrototypeOf,be=ne&&ne(ne(We([])));be&&be!==W&&_.call(be,$)&&(se=be);var fe=ue.prototype=Z.prototype=Object.create(se);function ge(Ve){["next","throw","return"].forEach(function(ae){ce(Ve,ae,function(le){return this._invoke(ae,le)})})}function ke(Ve,ae){function le(de,Ne,Ae,De){var je=me(Ve[de],Ve,Ne);if(je.type!=="throw"){var _e=je.arg,Ue=_e.value;return Ue&&typeof Ue=="object"&&_.call(Ue,"__await")?ae.resolve(Ue.__await).then(function(Ke){le("next",Ke,Ae,De)},function(Ke){le("throw",Ke,Ae,De)}):ae.resolve(Ue).then(function(Ke){_e.value=Ke,Ae(_e)},function(Ke){return le("throw",Ke,Ae,De)})}De(je.arg)}var Ce;H(this,"_invoke",{value:function(){function de(Ne,Ae){function De(){return new ae(function(je,_e){le(Ne,Ae,je,_e)})}return Ce=Ce?Ce.then(De,De):De()}return de}()})}function ve(Ve,ae,le){var Ce=pe;return function(de,Ne){if(Ce===Be)throw Error("Generator is already running");if(Ce===he){if(de==="throw")throw Ne;return{value:D,done:!0}}for(le.method=de,le.arg=Ne;;){var Ae=le.delegate;if(Ae){var De=Se(Ae,le);if(De){if(De===oe)continue;return De}}if(le.method==="next")le.sent=le._sent=le.arg;else if(le.method==="throw"){if(Ce===pe)throw Ce=he,le.arg;le.dispatchException(le.arg)}else le.method==="return"&&le.abrupt("return",le.arg);Ce=Be;var je=me(Ve,ae,le);if(je.type==="normal"){if(Ce=le.done?he:ye,je.arg===oe)continue;return{value:je.arg,done:le.done}}je.type==="throw"&&(Ce=he,le.method="throw",le.arg=je.arg)}}}function Se(Ve,ae){var le=ae.method,Ce=Ve.iterator[le];if(Ce===D)return ae.delegate=null,le==="throw"&&Ve.iterator.return&&(ae.method="return",ae.arg=D,Se(Ve,ae),ae.method==="throw")||le!=="return"&&(ae.method="throw",ae.arg=new TypeError("The iterator does not provide a '"+le+"' method")),oe;var de=me(Ce,Ve.iterator,ae.arg);if(de.type==="throw")return ae.method="throw",ae.arg=de.arg,ae.delegate=null,oe;var Ne=de.arg;return Ne?Ne.done?(ae[Ve.resultName]=Ne.value,ae.next=Ve.nextLoc,ae.method!=="return"&&(ae.method="next",ae.arg=D),ae.delegate=null,oe):Ne:(ae.method="throw",ae.arg=new TypeError("iterator result is not an object"),ae.delegate=null,oe)}function we(Ve){var ae={tryLoc:Ve[0]};1 in Ve&&(ae.catchLoc=Ve[1]),2 in Ve&&(ae.finallyLoc=Ve[2],ae.afterLoc=Ve[3]),this.tryEntries.push(ae)}function xe(Ve){var ae=Ve.completion||{};ae.type="normal",delete ae.arg,Ve.completion=ae}function Oe(Ve){this.tryEntries=[{tryLoc:"root"}],Ve.forEach(we,this),this.reset(!0)}function We(Ve){if(Ve||Ve===""){var ae=Ve[$];if(ae)return ae.call(Ve);if(typeof Ve.next=="function")return Ve;if(!isNaN(Ve.length)){var le=-1,Ce=function(){function de(){for(;++le<Ve.length;)if(_.call(Ve,le))return de.value=Ve[le],de.done=!1,de;return de.value=D,de.done=!0,de}return de}();return Ce.next=Ce}}throw new TypeError(typeof Ve+" is not iterable")}return q.prototype=ue,H(fe,"constructor",{value:ue,configurable:!0}),H(ue,"constructor",{value:q,configurable:!0}),q.displayName=ce(ue,J,"GeneratorFunction"),F.isGeneratorFunction=function(Ve){var ae=typeof Ve=="function"&&Ve.constructor;return!!ae&&(ae===q||(ae.displayName||ae.name)==="GeneratorFunction")},F.mark=function(Ve){return Object.setPrototypeOf?Object.setPrototypeOf(Ve,ue):(Ve.__proto__=ue,ce(Ve,J,"GeneratorFunction")),Ve.prototype=Object.create(fe),Ve},F.awrap=function(Ve){return{__await:Ve}},ge(ke.prototype),ce(ke.prototype,X,function(){return this}),F.AsyncIterator=ke,F.async=function(Ve,ae,le,Ce,de){de===void 0&&(de=Promise);var Ne=new ke(re(Ve,ae,le,Ce),de);return F.isGeneratorFunction(ae)?Ne:Ne.next().then(function(Ae){return Ae.done?Ae.value:Ne.next()})},ge(fe),ce(fe,J,"Generator"),ce(fe,$,function(){return this}),ce(fe,"toString",function(){return"[object Generator]"}),F.keys=function(Ve){var ae=Object(Ve),le=[];for(var Ce in ae)le.push(Ce);return le.reverse(),function(){function de(){for(;le.length;){var Ne=le.pop();if(Ne in ae)return de.value=Ne,de.done=!1,de}return de.done=!0,de}return de}()},F.values=We,Oe.prototype={constructor:Oe,reset:function(){function Ve(ae){if(this.prev=0,this.next=0,this.sent=this._sent=D,this.done=!1,this.delegate=null,this.method="next",this.arg=D,this.tryEntries.forEach(xe),!ae)for(var le in this)le.charAt(0)==="t"&&_.call(this,le)&&!isNaN(+le.slice(1))&&(this[le]=D)}return Ve}(),stop:function(){function Ve(){this.done=!0;var ae=this.tryEntries[0].completion;if(ae.type==="throw")throw ae.arg;return this.rval}return Ve}(),dispatchException:function(){function Ve(ae){if(this.done)throw ae;var le=this;function Ce(_e,Ue){return Ae.type="throw",Ae.arg=ae,le.next=_e,Ue&&(le.method="next",le.arg=D),!!Ue}for(var de=this.tryEntries.length-1;de>=0;--de){var Ne=this.tryEntries[de],Ae=Ne.completion;if(Ne.tryLoc==="root")return Ce("end");if(Ne.tryLoc<=this.prev){var De=_.call(Ne,"catchLoc"),je=_.call(Ne,"finallyLoc");if(De&&je){if(this.prev<Ne.catchLoc)return Ce(Ne.catchLoc,!0);if(this.prev<Ne.finallyLoc)return Ce(Ne.finallyLoc)}else if(De){if(this.prev<Ne.catchLoc)return Ce(Ne.catchLoc,!0)}else{if(!je)throw Error("try statement without catch or finally");if(this.prev<Ne.finallyLoc)return Ce(Ne.finallyLoc)}}}}return Ve}(),abrupt:function(){function Ve(ae,le){for(var Ce=this.tryEntries.length-1;Ce>=0;--Ce){var de=this.tryEntries[Ce];if(de.tryLoc<=this.prev&&_.call(de,"finallyLoc")&&this.prev<de.finallyLoc){var Ne=de;break}}Ne&&(ae==="break"||ae==="continue")&&Ne.tryLoc<=le&&le<=Ne.finallyLoc&&(Ne=null);var Ae=Ne?Ne.completion:{};return Ae.type=ae,Ae.arg=le,Ne?(this.method="next",this.next=Ne.finallyLoc,oe):this.complete(Ae)}return Ve}(),complete:function(){function Ve(ae,le){if(ae.type==="throw")throw ae.arg;return ae.type==="break"||ae.type==="continue"?this.next=ae.arg:ae.type==="return"?(this.rval=this.arg=ae.arg,this.method="return",this.next="end"):ae.type==="normal"&&le&&(this.next=le),oe}return Ve}(),finish:function(){function Ve(ae){for(var le=this.tryEntries.length-1;le>=0;--le){var Ce=this.tryEntries[le];if(Ce.finallyLoc===ae)return this.complete(Ce.completion,Ce.afterLoc),xe(Ce),oe}}return Ve}(),catch:function(){function Ve(ae){for(var le=this.tryEntries.length-1;le>=0;--le){var Ce=this.tryEntries[le];if(Ce.tryLoc===ae){var de=Ce.completion;if(de.type==="throw"){var Ne=de.arg;xe(Ce)}return Ne}}throw Error("illegal catch attempt")}return Ve}(),delegateYield:function(){function Ve(ae,le,Ce){return this.delegate={iterator:We(ae),resultName:le,nextLoc:Ce},this.method==="next"&&(this.arg=D),oe}return Ve}()},F}function m(D,F,W,_,H,z,$){try{var X=D[z]($),J=X.value}catch(ce){W(ce);return}X.done?F(J):Promise.resolve(J).then(_,H)}function N(D){return function(){var F=this,W=arguments;return new Promise(function(_,H){var z=D.apply(F,W);function $(J){m(z,_,H,$,X,"next",J)}function X(J){m(z,_,H,$,X,"throw",J)}$(void 0)})}}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var y=(0,t.createLogger)("drag"),S=Byond.windowId,k=!1,p=!1,l=[0,0],c,f,i,u,s,d=r.setWindowKey=function(){function j(F){S=F}return j}(),C=r.getWindowPosition=function(){function j(){return[window.screenLeft,window.screenTop]}return j}(),g=r.getWindowSize=function(){function j(){return[window.innerWidth,window.innerHeight]}return j}(),v=r.setWindowPosition=function(){function j(F){var U=(0,a.vecAdd)(F,l);return Byond.winset(Byond.windowId,{pos:U[0]+","+U[1]})}return j}(),h=r.setWindowSize=function(){function j(F){return Byond.winset(Byond.windowId,{size:F[0]+"x"+F[1]})}return j}(),V=r.getScreenPosition=function(){function j(){return[0-l[0],0-l[1]]}return j}(),b=r.getScreenSize=function(){function j(){return[window.screen.availWidth,window.screen.availHeight]}return j}(),B=function(F,U,_){_===void 0&&(_=50);for(var z=[U],H,$=0;$<F.length;$++){var Y=F[$];Y!==U&&(z.length<_?z.push(Y):H=Y)}return[z,H]},I=r.storeWindowGeometry=function(){var j=N(o().mark(function(){function F(){var U,_,z,H;return o().wrap(function(){function $(Y){for(;;)switch(Y.prev=Y.next){case 0:return y.log("storing geometry"),U={pos:C(),size:g()},e.storage.set(S,U),Y.t0=B,Y.next=6,e.storage.get("geometries");case 6:if(Y.t1=Y.sent,Y.t1){Y.next=9;break}Y.t1=[];case 9:Y.t2=Y.t1,Y.t3=S,_=(0,Y.t0)(Y.t2,Y.t3),z=_[0],H=_[1],H&&e.storage.remove(H),e.storage.set("geometries",z);case 16:case"end":return Y.stop()}}return $}(),F)}return F}()));return function(){function F(){return j.apply(this,arguments)}return F}()}(),w=r.recallWindowGeometry=function(){var j=N(o().mark(function(){function F(U){var _,z,H,$;return o().wrap(function(){function Y(X){for(;;)switch(X.prev=X.next){case 0:if(U===void 0&&(U={}),X.t0=U.fancy,!X.t0){X.next=6;break}return X.next=5,e.storage.get(S);case 5:X.t0=X.sent;case 6:return _=X.t0,_&&y.log("recalled geometry:",_),z=(_==null?void 0:_.pos)||U.pos,H=U.size,X.next=12,c;case 12:$=[window.screen.availWidth,window.screen.availHeight],H&&(H=[Math.min($[0],H[0]),Math.min($[1],H[1])],h(H)),z?(H&&U.locked&&(z=A(z,H)[1]),v(z)):H&&(z=(0,a.vecAdd)((0,a.vecScale)($,.5),(0,a.vecScale)(H,-.5),(0,a.vecScale)(l,-1)),v(z));case 15:case"end":return X.stop()}}return Y}(),F)}return F}()));return function(){function F(U){return j.apply(this,arguments)}return F}()}(),T=r.setupDrag=function(){var j=N(o().mark(function(){function F(){return o().wrap(function(){function U(_){for(;;)switch(_.prev=_.next){case 0:return c=Byond.winget(Byond.windowId,"pos").then(function(z){return[z.x-window.screenLeft,z.y-window.screenTop]}),_.next=3,c;case 3:l=_.sent,y.debug("screen offset",l);case 5:case"end":return _.stop()}}return U}(),F)}return F}()));return function(){function F(){return j.apply(this,arguments)}return F}()}(),A=function(F,U){for(var _=V(),z=b(),H=[F[0],F[1]],$=!1,Y=0;Y<2;Y++){var X=_[Y],re=_[Y]+z[Y];F[Y]<X?(H[Y]=X,$=!0):F[Y]+U[Y]>re&&(H[Y]=re-U[Y],$=!0)}return[$,H]},x=r.dragStartHandler=function(){function j(F){y.log("drag start"),k=!0,f=[window.screenLeft-F.screenX,window.screenTop-F.screenY],document.addEventListener("mousemove",P),document.addEventListener("mouseup",E),P(F)}return j}(),E=function j(F){y.log("drag end"),P(F),document.removeEventListener("mousemove",P),document.removeEventListener("mouseup",j),k=!1,I()},P=function(F){k&&(F.preventDefault(),v((0,a.vecAdd)([F.screenX,F.screenY],f)))},D=r.resizeStartHandler=function(){function j(F,U){return function(_){i=[F,U],y.log("resize start",i),p=!0,f=[window.screenLeft-_.screenX,window.screenTop-_.screenY],u=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",O),document.addEventListener("mouseup",M),O(_)}}return j}(),M=function j(F){y.log("resize end",s),O(F),document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",j),p=!1,I()},O=function(F){p&&(F.preventDefault(),s=(0,a.vecAdd)(u,(0,a.vecMultiply)(i,(0,a.vecAdd)([F.screenX,F.screenY],(0,a.vecInverse)([window.screenLeft,window.screenTop]),f,[1,1]))),s[0]=Math.max(s[0],150),s[1]=Math.max(s[1],50),h(s))}},33053:function(L,r,n){"use strict";r.__esModule=!0,r.setupGlobalEvents=r.removeScrollableNode=r.globalEvents=r.canStealFocus=r.addScrollableNode=r.KeyEvent=void 0;var e=n(70654),a=n(31068);/** +*/var y=(0,t.createLogger)("drag"),S=Byond.windowId,k=!1,p=!1,l=[0,0],c,f,u,i,s,d=r.setWindowKey=function(){function D(F){S=F}return D}(),h=r.getWindowPosition=function(){function D(){return[window.screenLeft,window.screenTop]}return D}(),v=r.getWindowSize=function(){function D(){return[window.innerWidth,window.innerHeight]}return D}(),g=r.setWindowPosition=function(){function D(F){var W=(0,a.vecAdd)(F,l);return Byond.winset(Byond.windowId,{pos:W[0]+","+W[1]})}return D}(),C=r.setWindowSize=function(){function D(F){return Byond.winset(Byond.windowId,{size:F[0]+"x"+F[1]})}return D}(),V=r.getScreenPosition=function(){function D(){return[0-l[0],0-l[1]]}return D}(),b=r.getScreenSize=function(){function D(){return[window.screen.availWidth,window.screen.availHeight]}return D}(),B=function(F,W,_){_===void 0&&(_=50);for(var H=[W],z,$=0;$<F.length;$++){var X=F[$];X!==W&&(H.length<_?H.push(X):z=X)}return[H,z]},I=r.storeWindowGeometry=function(){var D=N(o().mark(function(){function F(){var W,_,H,z;return o().wrap(function(){function $(X){for(;;)switch(X.prev=X.next){case 0:return y.log("storing geometry"),W={pos:h(),size:v()},e.storage.set(S,W),X.t0=B,X.next=6,e.storage.get("geometries");case 6:if(X.t1=X.sent,X.t1){X.next=9;break}X.t1=[];case 9:X.t2=X.t1,X.t3=S,_=(0,X.t0)(X.t2,X.t3),H=_[0],z=_[1],z&&e.storage.remove(z),e.storage.set("geometries",H);case 16:case"end":return X.stop()}}return $}(),F)}return F}()));return function(){function F(){return D.apply(this,arguments)}return F}()}(),w=r.recallWindowGeometry=function(){var D=N(o().mark(function(){function F(W){var _,H,z,$;return o().wrap(function(){function X(J){for(;;)switch(J.prev=J.next){case 0:if(W===void 0&&(W={}),J.t0=W.fancy,!J.t0){J.next=6;break}return J.next=5,e.storage.get(S);case 5:J.t0=J.sent;case 6:return _=J.t0,_&&y.log("recalled geometry:",_),H=(_==null?void 0:_.pos)||W.pos,z=W.size,J.next=12,c;case 12:$=[window.screen.availWidth,window.screen.availHeight],z&&(z=[Math.min($[0],z[0]),Math.min($[1],z[1])],C(z)),H?(z&&W.locked&&(H=A(H,z)[1]),g(H)):z&&(H=(0,a.vecAdd)((0,a.vecScale)($,.5),(0,a.vecScale)(z,-.5),(0,a.vecScale)(l,-1)),g(H));case 15:case"end":return J.stop()}}return X}(),F)}return F}()));return function(){function F(W){return D.apply(this,arguments)}return F}()}(),T=r.setupDrag=function(){var D=N(o().mark(function(){function F(){return o().wrap(function(){function W(_){for(;;)switch(_.prev=_.next){case 0:return c=Byond.winget(Byond.windowId,"pos").then(function(H){return[H.x-window.screenLeft,H.y-window.screenTop]}),_.next=3,c;case 3:l=_.sent,y.debug("screen offset",l);case 5:case"end":return _.stop()}}return W}(),F)}return F}()));return function(){function F(){return D.apply(this,arguments)}return F}()}(),A=function(F,W){for(var _=V(),H=b(),z=[F[0],F[1]],$=!1,X=0;X<2;X++){var J=_[X],ce=_[X]+H[X];F[X]<J?(z[X]=J,$=!0):F[X]+W[X]>ce&&(z[X]=ce-W[X],$=!0)}return[$,z]},x=r.dragStartHandler=function(){function D(F){y.log("drag start"),k=!0,f=[window.screenLeft-F.screenX,window.screenTop-F.screenY],document.addEventListener("mousemove",M),document.addEventListener("mouseup",E),M(F)}return D}(),E=function D(F){y.log("drag end"),M(F),document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",D),k=!1,I()},M=function(F){k&&(F.preventDefault(),g((0,a.vecAdd)([F.screenX,F.screenY],f)))},j=r.resizeStartHandler=function(){function D(F,W){return function(_){u=[F,W],y.log("resize start",u),p=!0,f=[window.screenLeft-_.screenX,window.screenTop-_.screenY],i=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",R),document.addEventListener("mouseup",P),R(_)}}return D}(),P=function D(F){y.log("resize end",s),R(F),document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",D),p=!1,I()},R=function(F){p&&(F.preventDefault(),s=(0,a.vecAdd)(i,(0,a.vecMultiply)(u,(0,a.vecAdd)([F.screenX,F.screenY],(0,a.vecInverse)([window.screenLeft,window.screenTop]),f,[1,1]))),s[0]=Math.max(s[0],150),s[1]=Math.max(s[1],50),C(s))}},92700:function(L,r,n){"use strict";r.__esModule=!0,r.setupGlobalEvents=r.removeScrollableNode=r.globalEvents=r.canStealFocus=r.addScrollableNode=r.KeyEvent=void 0;var e=n(22594),a=n(68100);/** * Normalized browser focus events and BYOND-specific focus helpers. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=r.globalEvents=new e.EventEmitter,o=!1,m=r.setupGlobalEvents=function(){function h(V){V===void 0&&(V={}),o=!!V.ignoreWindowFocus}return h}(),N,y=!0,S=function h(V,b){if(o){y=!0;return}if(N&&(clearTimeout(N),N=null),b){N=setTimeout(function(){return h(V)});return}y!==V&&(y=V,t.emit(V?"window-focus":"window-blur"),t.emit("window-focus-change",V))},k=null,p=r.canStealFocus=function(){function h(V){var b=String(V.tagName).toLowerCase();return b==="input"||b==="textarea"}return h}(),l=function(V){c(),k=V,k.addEventListener("blur",c)},c=function h(){k&&(k.removeEventListener("blur",h),k=null)},f=null,i=null,u=[],s=r.addScrollableNode=function(){function h(V){u.push(V)}return h}(),d=r.removeScrollableNode=function(){function h(V){var b=u.indexOf(V);b>=0&&u.splice(b,1)}return h}(),C=function(V){if(!(k||!y))for(var b=document.body;V&&V!==b;){if(u.includes(V)){if(V.contains(f))return;f=V,V.focus();return}V=V.parentNode}};window.addEventListener("mousemove",function(h){var V=h.target;V!==i&&(i=V,C(V))}),window.addEventListener("focusin",function(h){if(i=null,f=h.target,S(!0),p(h.target)){l(h.target);return}}),window.addEventListener("focusout",function(h){i=null,S(!1,!0)}),window.addEventListener("blur",function(h){i=null,S(!1,!0)}),window.addEventListener("beforeunload",function(h){S(!1)});var g={},v=r.KeyEvent=function(){function h(b,B,I){this.event=b,this.type=B,this.code=window.event?b.which:b.keyCode,this.ctrl=b.ctrlKey,this.shift=b.shiftKey,this.alt=b.altKey,this.repeat=!!I}var V=h.prototype;return V.hasModifierKeys=function(){function b(){return this.ctrl||this.alt||this.shift}return b}(),V.isModifierKey=function(){function b(){return this.code===a.KEY_CTRL||this.code===a.KEY_SHIFT||this.code===a.KEY_ALT}return b}(),V.isDown=function(){function b(){return this.type==="keydown"}return b}(),V.isUp=function(){function b(){return this.type==="keyup"}return b}(),V.toString=function(){function b(){return this._str?this._str:(this._str="",this.ctrl&&(this._str+="Ctrl+"),this.alt&&(this._str+="Alt+"),this.shift&&(this._str+="Shift+"),this.code>=48&&this.code<=90?this._str+=String.fromCharCode(this.code):this.code>=a.KEY_F1&&this.code<=a.KEY_F12?this._str+="F"+(this.code-111):this._str+="["+this.code+"]",this._str)}return b}(),h}();document.addEventListener("keydown",function(h){if(!p(h.target)){var V=h.keyCode,b=new v(h,"keydown",g[V]);t.emit("keydown",b),t.emit("key",b),g[V]=!0}}),document.addEventListener("keyup",function(h){if(!p(h.target)){var V=h.keyCode,b=new v(h,"keyup");t.emit("keyup",b),t.emit("key",b),g[V]=!1}})},16671:function(L,r){"use strict";r.__esModule=!0,r.focusWindow=r.focusMap=void 0;/** + */var t=r.globalEvents=new e.EventEmitter,o=!1,m=r.setupGlobalEvents=function(){function C(V){V===void 0&&(V={}),o=!!V.ignoreWindowFocus}return C}(),N,y=!0,S=function C(V,b){if(o){y=!0;return}if(N&&(clearTimeout(N),N=null),b){N=setTimeout(function(){return C(V)});return}y!==V&&(y=V,t.emit(V?"window-focus":"window-blur"),t.emit("window-focus-change",V))},k=null,p=r.canStealFocus=function(){function C(V){var b=String(V.tagName).toLowerCase();return b==="input"||b==="textarea"}return C}(),l=function(V){c(),k=V,k.addEventListener("blur",c)},c=function C(){k&&(k.removeEventListener("blur",C),k=null)},f=null,u=null,i=[],s=r.addScrollableNode=function(){function C(V){i.push(V)}return C}(),d=r.removeScrollableNode=function(){function C(V){var b=i.indexOf(V);b>=0&&i.splice(b,1)}return C}(),h=function(V){if(!(k||!y))for(var b=document.body;V&&V!==b;){if(i.includes(V)){if(V.contains(f))return;f=V,V.focus();return}V=V.parentNode}};window.addEventListener("mousemove",function(C){var V=C.target;V!==u&&(u=V,h(V))}),window.addEventListener("focusin",function(C){if(u=null,f=C.target,S(!0),p(C.target)){l(C.target);return}}),window.addEventListener("focusout",function(C){u=null,S(!1,!0)}),window.addEventListener("blur",function(C){u=null,S(!1,!0)}),window.addEventListener("beforeunload",function(C){S(!1)});var v={},g=r.KeyEvent=function(){function C(b,B,I){this.event=b,this.type=B,this.code=window.event?b.which:b.keyCode,this.ctrl=b.ctrlKey,this.shift=b.shiftKey,this.alt=b.altKey,this.repeat=!!I}var V=C.prototype;return V.hasModifierKeys=function(){function b(){return this.ctrl||this.alt||this.shift}return b}(),V.isModifierKey=function(){function b(){return this.code===a.KEY_CTRL||this.code===a.KEY_SHIFT||this.code===a.KEY_ALT}return b}(),V.isDown=function(){function b(){return this.type==="keydown"}return b}(),V.isUp=function(){function b(){return this.type==="keyup"}return b}(),V.toString=function(){function b(){return this._str?this._str:(this._str="",this.ctrl&&(this._str+="Ctrl+"),this.alt&&(this._str+="Alt+"),this.shift&&(this._str+="Shift+"),this.code>=48&&this.code<=90?this._str+=String.fromCharCode(this.code):this.code>=a.KEY_F1&&this.code<=a.KEY_F12?this._str+="F"+(this.code-111):this._str+="["+this.code+"]",this._str)}return b}(),C}();document.addEventListener("keydown",function(C){if(!p(C.target)){var V=C.keyCode,b=new g(C,"keydown",v[V]);t.emit("keydown",b),t.emit("key",b),v[V]=!0}}),document.addEventListener("keyup",function(C){if(!p(C.target)){var V=C.keyCode,b=new g(C,"keyup");t.emit("keyup",b),t.emit("key",b),v[V]=!1}})},92017:function(L,r){"use strict";r.__esModule=!0,r.focusWindow=r.focusMap=void 0;/** * Various focus helpers. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.focusMap=function(){function a(){Byond.winset("paramapwindow.map",{focus:!0})}return a}(),e=r.focusWindow=function(){function a(){Byond.winset(Byond.windowId,{focus:!0})}return a}()},48300:function(L,r,n){"use strict";r.__esModule=!0,r.formatSiUnit=r.formatPower=r.formatMoney=r.formatDb=void 0;var e=n(58331);/** + */var n=r.focusMap=function(){function a(){Byond.winset("paramapwindow.map",{focus:!0})}return a}(),e=r.focusWindow=function(){function a(){Byond.winset(Byond.windowId,{focus:!0})}return a}()},92986:function(L,r,n){"use strict";r.__esModule=!0,r.formatSiUnit=r.formatPower=r.formatMoney=r.formatDb=void 0;var e=n(36121);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var a=["f","p","n","\u03BC","m"," ","k","M","G","T","P","E","Z","Y"],t=a.indexOf(" "),o=r.formatSiUnit=function(){function S(k,p,l){if(p===void 0&&(p=-t),l===void 0&&(l=""),typeof k!="number"||!Number.isFinite(k))return k;var c=Math.floor(Math.log10(k)),f=Math.floor(Math.max(p*3,c)),i=Math.floor(c/3),u=Math.floor(f/3),s=(0,e.clamp)(t+u,0,a.length),d=a[s],C=k/Math.pow(1e3,u),g=i>p?2+u*3-f:0,v=(0,e.toFixed)(C,g)+" "+d+l;return v.trim()}return S}(),m=r.formatPower=function(){function S(k,p){return p===void 0&&(p=0),o(k,p,"W")}return S}(),N=r.formatMoney=function(){function S(k,p){if(p===void 0&&(p=0),!Number.isFinite(k))return k;var l=(0,e.round)(k,p);p>0&&(l=(0,e.toFixed)(k,p)),l=String(l);var c=l.length,f=l.indexOf(".");f===-1&&(f=c);for(var i="",u=0;u<c;u++)u>0&&u<f&&(f-u)%3===0&&(i+="\u2009"),i+=l.charAt(u);return i}return S}(),y=r.formatDb=function(){function S(k){var p=20*Math.log(k)/Math.log(10),l=p>=0?"+":p<0?"\u2013":"",c=Math.abs(p);return c===1/0?c="Inf":c=(0,e.toFixed)(c,2),l+c+" dB"}return S}()},39891:function(L,r,n){"use strict";r.__esModule=!0,r.setupHotKeys=r.releaseHotKey=r.releaseHeldKeys=r.acquireHotKey=void 0;var e=m(n(31068)),a=n(33053),t=n(50175);function o(s){if(typeof WeakMap!="function")return null;var d=new WeakMap,C=new WeakMap;return(o=function(v){return v?C:d})(s)}function m(s,d){if(!d&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var C=o(d);if(C&&C.has(s))return C.get(s);var g={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in s)if(h!=="default"&&Object.prototype.hasOwnProperty.call(s,h)){var V=v?Object.getOwnPropertyDescriptor(s,h):null;V&&(V.get||V.set)?Object.defineProperty(g,h,V):g[h]=s[h]}return g.default=s,C&&C.set(s,g),g}/** + */var a=["f","p","n","\u03BC","m"," ","k","M","G","T","P","E","Z","Y"],t=a.indexOf(" "),o=r.formatSiUnit=function(){function S(k,p,l){if(p===void 0&&(p=-t),l===void 0&&(l=""),typeof k!="number"||!Number.isFinite(k))return k;var c=Math.floor(Math.log10(k)),f=Math.floor(Math.max(p*3,c)),u=Math.floor(c/3),i=Math.floor(f/3),s=(0,e.clamp)(t+i,0,a.length),d=a[s],h=k/Math.pow(1e3,i),v=u>p?2+i*3-f:0,g=(0,e.toFixed)(h,v)+" "+d+l;return g.trim()}return S}(),m=r.formatPower=function(){function S(k,p){return p===void 0&&(p=0),o(k,p,"W")}return S}(),N=r.formatMoney=function(){function S(k,p){if(p===void 0&&(p=0),!Number.isFinite(k))return k;var l=(0,e.round)(k,p);p>0&&(l=(0,e.toFixed)(k,p)),l=String(l);var c=l.length,f=l.indexOf(".");f===-1&&(f=c);for(var u="",i=0;i<c;i++)i>0&&i<f&&(f-i)%3===0&&(u+="\u2009"),u+=l.charAt(i);return u}return S}(),y=r.formatDb=function(){function S(k){var p=20*Math.log(k)/Math.log(10),l=p>=0?"+":p<0?"\u2013":"",c=Math.abs(p);return c===1/0?c="Inf":c=(0,e.toFixed)(c,2),l+c+" dB"}return S}()},39952:function(L,r,n){"use strict";r.__esModule=!0,r.setupHotKeys=r.releaseHotKey=r.releaseHeldKeys=r.acquireHotKey=void 0;var e=m(n(68100)),a=n(92700),t=n(81856);function o(s){if(typeof WeakMap!="function")return null;var d=new WeakMap,h=new WeakMap;return(o=function(g){return g?h:d})(s)}function m(s,d){if(!d&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var h=o(d);if(h&&h.has(s))return h.get(s);var v={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in s)if(C!=="default"&&{}.hasOwnProperty.call(s,C)){var V=g?Object.getOwnPropertyDescriptor(s,C):null;V&&(V.get||V.set)?Object.defineProperty(v,C,V):v[C]=s[C]}return v.default=s,h&&h.set(s,v),v}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var N=(0,t.createLogger)("hotkeys"),y={},S=[e.KEY_ESCAPE,e.KEY_ENTER,e.KEY_SPACE,e.KEY_TAB,e.KEY_CTRL,e.KEY_SHIFT,e.KEY_UP,e.KEY_DOWN,e.KEY_LEFT,e.KEY_RIGHT],k={},p=function(d){if(d===16)return"Shift";if(d===17)return"Ctrl";if(d===18)return"Alt";if(d===33)return"Northeast";if(d===34)return"Southeast";if(d===35)return"Southwest";if(d===36)return"Northwest";if(d===37)return"West";if(d===38)return"North";if(d===39)return"East";if(d===40)return"South";if(d===45)return"Insert";if(d===46)return"Delete";if(d>=48&&d<=57||d>=65&&d<=90)return String.fromCharCode(d);if(d>=96&&d<=105)return"Numpad"+(d-96);if(d>=112&&d<=123)return"F"+(d-111);if(d===188)return",";if(d===189)return"-";if(d===190)return"."},l=function(d){var C=String(d);if(C==="Ctrl+F5"||C==="Ctrl+R"){location.reload();return}if(C!=="Ctrl+F"&&!(d.event.defaultPrevented||d.isModifierKey()||S.includes(d.code))){C==="F5"&&(d.event.preventDefault(),d.event.returnValue=!1);var g=p(d.code);if(g){var v=y[g];if(v)return N.debug("macro",v),Byond.command(v);if(d.isDown()&&!k[g]){k[g]=!0;var h='Key_Down "'+g+'"';return N.debug(h),Byond.command(h)}if(d.isUp()&&k[g]){k[g]=!1;var V='Key_Up "'+g+'"';return N.debug(V),Byond.command(V)}}}},c=r.acquireHotKey=function(){function s(d){S.push(d)}return s}(),f=r.releaseHotKey=function(){function s(d){var C=S.indexOf(d);C>=0&&S.splice(C,1)}return s}(),i=r.releaseHeldKeys=function(){function s(){for(var d=0,C=Object.keys(k);d<C.length;d++){var g=C[d];k[g]&&(k[g]=!1,N.log('releasing key "'+g+'"'),Byond.command('Key_Up "'+g+'"'))}}return s}(),u=r.setupHotKeys=function(){function s(){Byond.winget("default.*").then(function(d){for(var C={},g=0,v=Object.keys(d);g<v.length;g++){var h=v[g],V=h.split("."),b=V[1],B=V[2];b&&B&&(C[b]||(C[b]={}),C[b][B]=d[h])}for(var I=/\\"/g,w=function(){function D(M){return M.substring(1,M.length-1).replace(I,'"')}return D}(),T=0,A=Object.keys(C);T<A.length;T++){var x=A[T],E=C[x],P=w(E.name);y[P]=w(E.command)}N.debug("loaded macros",y)}),a.globalEvents.on("window-blur",function(){i()}),a.globalEvents.on("key",function(d){l(d)})}return s}()},89163:function(L,r,n){"use strict";r.__esModule=!0,r.AICard=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.AICard=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;if(l.has_ai===0)return(0,e.createComponentVNode)(2,o.Window,{width:250,height:120,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var c=null;return l.integrity>=75?c="green":l.integrity>=25?c="yellow":c="red",(0,e.createComponentVNode)(2,o.Window,{width:600,height:420,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:l.name,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:c,value:l.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,l.flushing===1?"Wipe of AI in progress...":"",0)})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!l.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:l.laws.map(function(f,i){return(0,e.createComponentVNode)(2,t.Box,{children:f},i)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:l.wireless?"check":"times",content:l.wireless?"Enabled":"Disabled",color:l.wireless?"green":"red",onClick:function(){function f(){return p("wireless")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:l.radio?"check":"times",content:l.radio?"Enabled":"Disabled",color:l.radio?"green":"red",onClick:function(){function f(){return p("radio")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wipe",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:l.flushing||l.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function f(){return p("wipe")}return f}()})})]})})})]})})})}return N}()},46817:function(L,r,n){"use strict";r.__esModule=!0,r.AIFixer=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.AIFixer=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;if(l.occupant===null)return(0,e.createComponentVNode)(2,o.Window,{width:550,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"robot",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No Artificial Intelligence detected.",16)]})})})})});var c=!0;(l.stat===2||l.stat===null)&&(c=!1);var f=null;l.integrity>=75?f="green":l.integrity>=25?f="yellow":f="red";var i=!0;return l.integrity>=100&&l.stat!==2&&(i=!1),(0,e.createComponentVNode)(2,o.Window,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:l.occupant,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:f,value:l.integrity/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:c?"green":"red",children:c?"Functional":"Non-Functional"})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!l.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:l.laws.map(function(u,s){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:u},s)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.wireless?"times":"check",content:l.wireless?"Disabled":"Enabled",color:l.wireless?"red":"green",onClick:function(){function u(){return p("wireless")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.radio?"times":"check",content:l.radio?"Disabled":"Enabled",color:l.radio?"red":"green",onClick:function(){function u(){return p("radio")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!i||l.active,content:!i||l.active?"Already Repaired":"Repair",onClick:function(){function u(){return p("fix")}return u}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:l.active?"Reconstruction in progress.":""})]})})]})})})}return N}()},20420:function(L,r,n){"use strict";r.__esModule=!0,r.APC=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(29723),N=r.APC=function(){function p(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:510,height:435,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,k)})})}return p}(),y={2:{color:"good",externalPowerText:"External Power",chargingText:"Fully Charged"},1:{color:"average",externalPowerText:"Low External Power",chargingText:"Charging"},0:{color:"bad",externalPowerText:"No External Power",chargingText:"Not Charging"}},S={1:{icon:"terminal",content:"Override Programming",action:"hack"},2:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"},3:{icon:"caret-square-left",content:"Return to Main Core",action:"deoccupy"},4:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"}},k=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.locked&&!u.siliconUser,d=u.normallyLocked,C=y[u.externalPower]||y[0],g=y[u.chargingStatus]||y[0],v=u.powerChannels||[],h=S[u.malfStatus]||S[0],V=u.powerCellStatus/100;return(0,e.createFragment)([(0,e.createComponentVNode)(2,m.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main Breaker",color:C.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:u.isOperating?"power-off":"times",content:u.isOperating?"On":"Off",selected:u.isOperating&&!s,color:u.isOperating?"":"bad",disabled:s,onClick:function(){function b(){return i("breaker")}return b}()}),children:["[ ",C.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:V})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color:g.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:u.chargeMode?"sync":"times",content:u.chargeMode?"Auto":"Off",selected:u.chargeMode,disabled:s,onClick:function(){function b(){return i("charge")}return b}()}),children:["[ ",g.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[v.map(function(b){var B=b.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:b.status>=2?"good":"bad",children:b.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!s&&(b.status===1||b.status===3),disabled:s,onClick:function(){function I(){return i("channel",B.auto)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!s&&b.status===2,disabled:s,onClick:function(){function I(){return i("channel",B.on)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!s&&b.status===0,disabled:s,onClick:function(){function I(){return i("channel",B.off)}return I}()})],4),children:[b.powerLoad," W"]},b.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[u.totalLoad,(0,e.createTextVNode)(" W")],0)})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc",buttons:!!u.siliconUser&&(0,e.createFragment)([!!u.malfStatus&&(0,e.createComponentVNode)(2,t.Button,{icon:h.icon,content:h.content,color:"bad",onClick:function(){function b(){return i(h.action)}return b}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function b(){return i("overload")}return b}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.4,icon:u.coverLocked?"lock":"unlock",content:u.coverLocked?"Engaged":"Disengaged",disabled:s,onClick:function(){function b(){return i("cover")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:u.emergencyLights?"Enabled":"Disabled",disabled:s,onClick:function(){function b(){return i("emergency_lighting")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:u.nightshiftLights?"Enabled":"Disabled",onClick:function(){function b(){return i("toggle_nightshift")}return b}()})})]})})],4)}},16822:function(L,r,n){"use strict";r.__esModule=!0,r.ATM=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.ATM=function(){function f(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=C.view_screen,v=C.authenticated_account,h=C.ticks_left_locked_down,V=C.linked_db,b;if(h>0)b=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(!V)b=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});else if(v)switch(g){case 1:b=(0,e.createComponentVNode)(2,y);break;case 2:b=(0,e.createComponentVNode)(2,S);break;case 3:b=(0,e.createComponentVNode)(2,l);break;default:b=(0,e.createComponentVNode)(2,k)}else b=(0,e.createComponentVNode)(2,p);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,t.Section,{children:b})]})})}return f}(),N=function(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=C.machine_id,v=C.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Nanotrasen Automatic Teller Machine",children:[(0,e.createComponentVNode)(2,t.Box,{children:"For all your monetary needs!"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card",children:(0,e.createComponentVNode)(2,t.Button,{content:v,icon:"eject",onClick:function(){function h(){return d("insert_card")}return h}()})})})]})},y=function(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=C.security_level;return(0,e.createComponentVNode)(2,t.Section,{title:"Select a new security level for this account",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Number",icon:"unlock",selected:g===0,onClick:function(){function v(){return d("change_security_level",{new_security_level:1})}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Pin",icon:"unlock",selected:g===2,onClick:function(){function v(){return d("change_security_level",{new_security_level:2})}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number and pin must be manually entered to access this account and process transactions."})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},S=function(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=(0,a.useLocalState)(u,"targetAccNumber",0),v=g[0],h=g[1],V=(0,a.useLocalState)(u,"fundsAmount",0),b=V[0],B=V[1],I=(0,a.useLocalState)(u,"purpose",0),w=I[0],T=I[1],A=C.money;return(0,e.createComponentVNode)(2,t.Section,{title:"Transfer Fund",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",A]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Account Number",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"7 Digit Number",onInput:function(){function x(E,P){return h(P)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Funds to Transfer",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function x(E,P){return B(P)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,t.Input,{fluid:!0,onInput:function(){function x(E,P){return T(P)}return x}()})})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sign-out-alt",onClick:function(){function x(){return d("transfer",{target_acc_number:v,funds_amount:b,purpose:w})}return x}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},k=function(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=(0,a.useLocalState)(u,"fundsAmount",0),v=g[0],h=g[1],V=C.owner_name,b=C.money;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+V,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function B(){return d("logout")}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",b]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function B(I,w){return h(w)}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function B(){return d("withdrawal",{funds_amount:v})}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Menu",children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Change account security level",icon:"lock",onClick:function(){function B(){return d("view_screen",{view_screen:1})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Make transfer",icon:"exchange-alt",onClick:function(){function B(){return d("view_screen",{view_screen:2})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View transaction log",icon:"list",onClick:function(){function B(){return d("view_screen",{view_screen:3})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print balance statement",icon:"print",onClick:function(){function B(){return d("balance_statement")}return B}()})})]})],4)},p=function(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=(0,a.useLocalState)(u,"accountID",null),v=g[0],h=g[1],V=(0,a.useLocalState)(u,"accountPin",null),b=V[0],B=V[1],I=C.machine_id,w=C.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Insert card or enter ID and pin to login",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account ID",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function T(A,x){return h(x)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function T(A,x){return B(x)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Login",icon:"sign-in-alt",onClick:function(){function T(){return d("attempt_auth",{account_num:v,account_pin:b})}return T}()})})]})})},l=function(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=C.transaction_log;return(0,e.createComponentVNode)(2,t.Section,{title:"Transactions",children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Terminal"})]}),g.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.purpose}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:v.is_deposit?"green":"red",children:["$",v.amount]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.target_name})]},v)})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},c=function(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function g(){return d("view_screen",{view_screen:0})}return g}()})}},90698:function(L,r,n){"use strict";r.__esModule=!0,r.AccountsUplinkTerminal=void 0;var e=n(28823),a=n(37843),t=n(91819),o=n(2971),m=n(99753),N=n(84947),y=n(51185),S=n(69774),k=r.AccountsUplinkTerminal=function(){function C(g,v){var h=(0,t.useBackend)(v),V=h.act,b=h.data,B=b.loginState,I=b.currentPage,w;if(B.logged_in)I===1?w=(0,e.createComponentVNode)(2,l):I===2?w=(0,e.createComponentVNode)(2,s):I===3&&(w=(0,e.createComponentVNode)(2,d));else return(0,e.createComponentVNode)(2,N.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S.LoginScreen)})})});return(0,e.createComponentVNode)(2,N.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,N.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:w})]})})})}return C}(),p=function(g,v){var h=(0,t.useBackend)(v),V=h.data,b=(0,t.useLocalState)(v,"tabIndex",0),B=b[0],I=b[1],w=V.login_state;return(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,mb:1,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===0,onClick:function(){function T(){return I(0)}return T}(),children:"User Accounts"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===1,onClick:function(){function T(){return I(1)}return T}(),children:"Department Accounts"})]})})})},l=function(g,v){var h=(0,t.useLocalState)(v,"tabIndex",0),V=h[0];switch(V){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,f);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},c=function(g,v){var h=(0,t.useBackend)(v),V=h.act,b=h.data,B=b.accounts,I=(0,t.useLocalState)(v,"searchText",""),w=I[0],T=I[1],A=(0,t.useLocalState)(v,"sortId","owner_name"),x=A[0],E=A[1],P=(0,t.useLocalState)(v,"sortOrder",!0),D=P[0],M=P[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,i,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,i,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,i,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,i,{id:"money",children:"Account Balance"})]}),B.filter((0,a.createSearch)(w,function(O){return O.owner_name+"|"+O.account_number+"|"+O.suspended+"|"+O.money})).sort(function(O,j){var F=D?1:-1;return O[x].localeCompare(j[x])*F}).map(function(O){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+O.suspended,onClick:function(){function j(){return V("view_account_detail",{account_num:O.account_number})}return j}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",O.owner_name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",O.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.money})]},O.account_number)})]})})})]})},f=function(g,v){var h=(0,t.useBackend)(v),V=h.act,b=h.data,B=b.department_accounts;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,m.TableCell,{children:"Department Name"}),(0,e.createComponentVNode)(2,m.TableCell,{children:"Account Number"}),(0,e.createComponentVNode)(2,m.TableCell,{children:"Account Status"}),(0,e.createComponentVNode)(2,m.TableCell,{children:"Account Balance"})]}),B.map(function(I){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+I.suspended,onClick:function(){function w(){return V("view_account_detail",{account_num:I.account_number})}return w}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wallet"})," ",I.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",I.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.money})]},I.account_number)})]})})})})},i=function(g,v){var h=(0,t.useLocalState)(v,"sortId","name"),V=h[0],b=h[1],B=(0,t.useLocalState)(v,"sortOrder",!0),I=B[0],w=B[1],T=g.id,A=g.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:V!==T&&"transparent",width:"100%",onClick:function(){function x(){V===T?w(!I):(b(T),w(!0))}return x}(),children:[A,V===T&&(0,e.createComponentVNode)(2,o.Icon,{name:I?"sort-up":"sort-down",ml:"0.25rem;"})]})})},u=function(g,v){var h=(0,t.useBackend)(v),V=h.act,b=h.data,B=b.is_printing,I=(0,t.useLocalState)(v,"searchText",""),w=I[0],T=I[1];return(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"New Account",icon:"plus",onClick:function(){function A(){return V("create_new_account")}return A}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account holder, number, status",width:"100%",onInput:function(){function A(x,E){return T(E)}return A}()})})]})},s=function(g,v){var h=(0,t.useBackend)(v),V=h.act,b=h.data,B=b.account_number,I=b.owner_name,w=b.money,T=b.suspended,A=b.transactions,x=b.account_pin,E=b.is_department_account;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"#"+B+" / "+I,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function P(){return V("back")}return P}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",B]}),!!E&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin",children:x}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin Actions",children:(0,e.createComponentVNode)(2,o.Button,{ml:1,icon:"user-cog",content:"Set New Pin",disabled:!!E,onClick:function(){function P(){return V("set_account_pin",{account_number:B})}return P}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:I}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:w}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:T?"red":"green",children:[T?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:T?"Unsuspend":"Suspend",icon:T?"unlock":"lock",onClick:function(){function P(){return V("toggle_suspension")}return P}()})]})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Transactions",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),A.map(function(P){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:P.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:P.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:P.is_deposit?"green":"red",children:["$",P.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:P.target_name})]},P)})]})})})]})},d=function(g,v){var h=(0,t.useBackend)(v),V=h.act,b=h.data,B=(0,t.useLocalState)(v,"accName",""),I=B[0],w=B[1],T=(0,t.useLocalState)(v,"accDeposit",""),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Create Account",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function E(){return V("back")}return E}()}),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Name Here",onChange:function(){function E(P,D){return w(D)}return E}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Initial Deposit",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"0",onChange:function(){function E(P,D){return x(D)}return E}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function E(){return V("finalise_create_account",{holder_name:I,starting_funds:A})}return E}()})]})}},66895:function(L,r,n){"use strict";r.__esModule=!0,r.AgentCardInfo=r.AgentCardAppearances=r.AgentCard=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.AgentCard=function(){function S(k,p){var l=(0,a.useLocalState)(p,"tabIndex",0),c=l[0],f=l[1],i=function(){function u(s){switch(s){case 0:return(0,e.createComponentVNode)(2,N);case 1:return(0,e.createComponentVNode)(2,y);default:return(0,e.createComponentVNode)(2,N)}}return u}();return(0,e.createComponentVNode)(2,o.Window,{width:425,height:500,theme:"syndicate",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:c===0,onClick:function(){function u(){return f(0)}return u}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Card Info"]},"Card Info"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:c===1,onClick:function(){function u(){return f(1)}return u}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card"})," Appearance"]},"Appearance")]})}),i(c)]})})})}return S}(),N=r.AgentCardInfo=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.registered_name,u=f.sex,s=f.age,d=f.assignment,C=f.associated_account_number,g=f.blood_type,v=f.dna_hash,h=f.fingerprint_hash,V=f.photo,b=f.ai_tracking;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Card Info",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,t.Button,{content:i||"[UNSET]",onClick:function(){function B(){return c("change_name")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sex",children:(0,e.createComponentVNode)(2,t.Button,{iconRight:!1,content:u||"[UNSET]",onClick:function(){function B(){return c("change_sex")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Age",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"[UNSET]",onClick:function(){function B(){return c("change_age")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rank",children:(0,e.createComponentVNode)(2,t.Button,{content:d||"[UNSET]",onClick:function(){function B(){return c("change_occupation")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fingerprints",children:(0,e.createComponentVNode)(2,t.Button,{content:h||"[UNSET]",onClick:function(){function B(){return c("change_fingerprints")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood Type",children:(0,e.createComponentVNode)(2,t.Button,{content:g||"[UNSET]",onClick:function(){function B(){return c("change_blood_type")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"DNA Hash",children:(0,e.createComponentVNode)(2,t.Button,{content:v||"[UNSET]",onClick:function(){function B(){return c("change_dna_hash")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Money Account",children:(0,e.createComponentVNode)(2,t.Button,{content:C||"[UNSET]",onClick:function(){function B(){return c("change_money_account")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Photo",children:(0,e.createComponentVNode)(2,t.Button,{content:V?"Update":"[UNSET]",onClick:function(){function B(){return c("change_photo")}return B}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Card Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card Info",children:(0,e.createComponentVNode)(2,t.Button,{content:"Delete Card Info",onClick:function(){function B(){return c("delete_info")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access",children:(0,e.createComponentVNode)(2,t.Button,{content:"Reset Access",onClick:function(){function B(){return c("clear_access")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"AI Tracking",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"Untrackable":"Trackable",onClick:function(){function B(){return c("change_ai_tracking")}return B}()})})]})})})],4)}return S}(),y=r.AgentCardAppearances=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=(0,a.useLocalState)(p,"selectedAppearance",null),u=i[0],s=i[1],d=f.appearances;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Card Appearance",children:d.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{compact:!0,m:.5,color:"translucent",selected:C===u,content:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jped;base64,"+C.image,style:{width:"64px","vertical-align":"middle","-ms-interpolation-mode":"nearest-neighbor"},onClick:function(){function g(){s(C),c("change_appearance",{new_appearance:C.name})}return g}()})},C.name)})})})}return S}()},26354:function(L,r,n){"use strict";r.__esModule=!0,r.AiAirlock=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},N=r.AiAirlock=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=m[c.power.main]||m[0],i=m[c.power.backup]||m[0],u=m[c.shock]||m[0];return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main",color:f.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){function s(){return l("disrupt-main")}return s}()}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"["+c.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:i.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){function s(){return l("disrupt-backup")}return s}()}),children:[c.power.backup?"Online":"Offline"," ",!c.wires.backup_power&&"[Wires have been cut!]"||c.power.backup_timeleft>0&&"["+c.power.backup_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Electrify",color:u.color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"wrench",disabled:!(c.wires.shock&&c.shock!==2),content:"Restore",onClick:function(){function s(){return l("shock-restore")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"bolt",disabled:!c.wires.shock,content:"Temporary",onClick:function(){function s(){return l("shock-temp")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bolt",disabled:!c.wires.shock||c.shock===0,content:"Permanent",onClick:function(){function s(){return l("shock-perm")}return s}()})],4),children:[c.shock===2?"Safe":"Electrified"," ",!c.wires.shock&&"[Wires have been cut!]"||c.shock_timeleft>0&&"["+c.shock_timeleft+"s]"||c.shock_timeleft===-1&&"[Permanent]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Access and Door Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.id_scanner?"power-off":"times",content:c.id_scanner?"Enabled":"Disabled",selected:c.id_scanner,disabled:!c.wires.id_scanner,onClick:function(){function s(){return l("idscan-toggle")}return s}()}),children:!c.wires.id_scanner&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Access",buttons:(0,e.createComponentVNode)(2,t.Button,{width:6.5,icon:c.emergency?"power-off":"times",content:c.emergency?"Enabled":"Disabled",selected:c.emergency,onClick:function(){function s(){return l("emergency-toggle")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:c.locked?"lock":"unlock",content:c.locked?"Lowered":"Raised",selected:c.locked,disabled:!c.wires.bolts,onClick:function(){function s(){return l("bolt-toggle")}return s}()}),children:!c.wires.bolts&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.lights?"power-off":"times",content:c.lights?"Enabled":"Disabled",selected:c.lights,disabled:!c.wires.lights,onClick:function(){function s(){return l("light-toggle")}return s}()}),children:!c.wires.lights&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.safe?"power-off":"times",content:c.safe?"Enabled":"Disabled",selected:c.safe,disabled:!c.wires.safe,onClick:function(){function s(){return l("safe-toggle")}return s}()}),children:!c.wires.safe&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.speed?"power-off":"times",content:c.speed?"Enabled":"Disabled",selected:c.speed,disabled:!c.wires.timing,onClick:function(){function s(){return l("speed-toggle")}return s}()}),children:!c.wires.timing&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c.opened?"sign-out-alt":"sign-in-alt",content:c.opened?"Open":"Closed",selected:c.opened,disabled:c.locked||c.welded,onClick:function(){function s(){return l("open-close")}return s}()}),children:!!(c.locked||c.welded)&&(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("[Door is "),c.locked?"bolted":"",c.locked&&c.welded?" and ":"",c.welded?"welded":"",(0,e.createTextVNode)("!]")],0)})]})})]})})}return y}()},26673:function(L,r,n){"use strict";r.__esModule=!0,r.AirAlarm=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(29723),N=r.AirAlarm=function(){function u(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.locked;return(0,e.createComponentVNode)(2,o.Window,{width:570,height:h?310:755,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,m.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,S),!h&&(0,e.createFragment)([(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,p)],4)]})})}return u}(),y=function(s){return s===0?"green":s===1?"orange":"red"},S=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.air,V=v.mode,b=v.atmos_alarm,B=v.locked,I=v.alarmActivated,w=v.rcon,T=v.target_temp,A;return h.danger.overall===0?b===0?A="Optimal":A="Caution: Atmos alert in area":h.danger.overall===1?A="Caution":A="DANGER: Internals Required",(0,e.createComponentVNode)(2,t.Section,{title:"Air Status",children:h?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:y(h.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.pressure})," kPa",!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:V===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:V===3,icon:"exclamation-triangle",onClick:function(){function x(){return g("mode",{mode:V===3?1:3})}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.oxygen/100,fractionDigits:"1",color:y(h.danger.oxygen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.nitrogen/100,fractionDigits:"1",color:y(h.danger.nitrogen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.co2/100,fractionDigits:"1",color:y(h.danger.co2)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxins",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.plasma/100,fractionDigits:"1",color:y(h.danger.plasma)})}),h.contents.n2o>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.n2o/100,fractionDigits:"1",color:y(h.danger.n2o)})}),h.contents.other>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.other/100,fractionDigits:"1",color:y(h.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:y(h.danger.temperature),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.temperature})," K /"," ",(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.temperature_c})," C\xA0",(0,e.createComponentVNode)(2,t.Button,{icon:"thermometer-full",content:T+" C",onClick:function(){function x(){return g("temperature")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:h.thermostat_state?"On":"Off",selected:h.thermostat_state,icon:"power-off",onClick:function(){function x(){return g("thermostat_state")}return x}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Local Status",children:(0,e.createComponentVNode)(2,t.Box,{color:y(h.danger.overall),children:[A,!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:I?"Reset Alarm":"Activate Alarm",selected:I,onClick:function(){function x(){return g(I?"atmos_reset":"atmos_alarm")}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Control Settings",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Off",selected:w===1,onClick:function(){function x(){return g("set_rcon",{rcon:1})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:w===2,onClick:function(){function x(){return g("set_rcon",{rcon:2})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:w===3,onClick:function(){function x(){return g("set_rcon",{rcon:3})}return x}()})]})]}):(0,e.createComponentVNode)(2,t.Box,{children:"Unable to acquire air sample!"})})},k=function(s,d){var C=(0,a.useLocalState)(d,"tabIndex",0),g=C[0],v=C[1];return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===0,onClick:function(){function h(){return v(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-out-alt"})," Vent Control"]},"Vents"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===1,onClick:function(){function h(){return v(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-in-alt"})," Scrubber Control"]},"Scrubbers"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===2,onClick:function(){function h(){return v(2)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog"})," Mode"]},"Mode"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===3,onClick:function(){function h(){return v(3)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},p=function(s,d){var C=(0,a.useLocalState)(d,"tabIndex",0),g=C[0],v=C[1];switch(g){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,f);case 3:return(0,e.createComponentVNode)(2,i);default:return"WE SHOULDN'T BE HERE!"}},l=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.vents;return h.map(function(V){return(0,e.createComponentVNode)(2,t.Section,{title:V.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:V.power?"On":"Off",selected:V.power,icon:"power-off",onClick:function(){function b(){return g("command",{cmd:"power",val:!V.power,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:V.direction?"Blowing":"Siphoning",icon:V.direction?"sign-out-alt":"sign-in-alt",onClick:function(){function b(){return g("command",{cmd:"direction",val:!V.direction,id_tag:V.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:V.checks===1,onClick:function(){function b(){return g("command",{cmd:"checks",val:1,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:V.checks===2,onClick:function(){function b(){return g("command",{cmd:"checks",val:2,id_tag:V.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:V.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function b(){return g("command",{cmd:"set_external_pressure",id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function b(){return g("command",{cmd:"set_external_pressure",val:101.325,id_tag:V.id_tag})}return b}()})]})]})},V.name)})},c=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.scrubbers;return h.map(function(V){return(0,e.createComponentVNode)(2,t.Section,{title:V.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:V.power?"On":"Off",selected:V.power,icon:"power-off",onClick:function(){function b(){return g("command",{cmd:"power",val:!V.power,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:V.scrubbing?"Scrubbing":"Siphoning",icon:V.scrubbing?"filter":"sign-in-alt",onClick:function(){function b(){return g("command",{cmd:"scrubbing",val:!V.scrubbing,id_tag:V.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:V.widenet?"Extended":"Normal",selected:V.widenet,icon:"expand-arrows-alt",onClick:function(){function b(){return g("command",{cmd:"widenet",val:!V.widenet,id_tag:V.id_tag})}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:V.filter_co2,onClick:function(){function b(){return g("command",{cmd:"co2_scrub",val:!V.filter_co2,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:V.filter_toxins,onClick:function(){function b(){return g("command",{cmd:"tox_scrub",val:!V.filter_toxins,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:V.filter_n2o,onClick:function(){function b(){return g("command",{cmd:"n2o_scrub",val:!V.filter_n2o,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:V.filter_o2,onClick:function(){function b(){return g("command",{cmd:"o2_scrub",val:!V.filter_o2,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:V.filter_n2,onClick:function(){function b(){return g("command",{cmd:"n2_scrub",val:!V.filter_n2,id_tag:V.id_tag})}return b}()})]})]})},V.name)})},f=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.modes,V=v.presets,b=v.emagged,B=v.mode,I=v.preset;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"System Mode",children:(0,e.createComponentVNode)(2,t.Table,{children:h.map(function(w){return(!w.emagonly||w.emagonly&&!!b)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:w.name,icon:"cog",selected:w.id===B,onClick:function(){function T(){return g("mode",{mode:w.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:w.desc})]},w.name)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"System Presets",children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,e.createComponentVNode)(2,t.Table,{mt:1,children:V.map(function(w){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:w.name,icon:"cog",selected:w.id===I,onClick:function(){function T(){return g("preset",{preset:w.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:w.desc})]},w.name)})})]})],4)},i=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.thresholds;return(0,e.createComponentVNode)(2,t.Section,{title:"Alarm Thresholds",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Max"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Max"})]}),h.map(function(V){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:V.name}),V.settings.map(function(b){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:b.selected===-1?"Off":b.selected,onClick:function(){function B(){return g("command",{cmd:"set_threshold",env:b.env,var:b.val})}return B}()})},b.val)})]},V.name)})]})})}},98565:function(L,r,n){"use strict";r.__esModule=!0,r.AirlockAccessController=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.AirlockAccessController=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.exterior_status,f=l.interior_status,i=l.processing,u,s;return c==="open"?u=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:i,onClick:function(){function d(){return p("force_ext")}return d}()}):u=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:i,onClick:function(){function d(){return p("cycle_ext_door")}return d}()}),f==="open"?s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:i,color:f==="open"?"red":i?"yellow":null,onClick:function(){function d(){return p("force_int")}return d}()}):s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:i,onClick:function(){function d(){return p("cycle_int_door")}return d}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:c==="closed"?"Locked":"Open"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Door Status",children:f==="closed"?"Locked":"Open"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.Box,{children:[u,s]})})]})})}return N}()},76385:function(L,r,n){"use strict";r.__esModule=!0,r.AirlockElectronics=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(14635),N=1,y=2,S=4,k=8,p=r.AirlockElectronics=function(){function f(i,u){return(0,e.createComponentVNode)(2,o.Window,{width:450,height:565,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})})}return f}(),l=function(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=C.unrestricted_dir;return(0,e.createComponentVNode)(2,t.Section,{title:"Access Control",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,mb:1,children:"Unrestricted Access From:"}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-left",content:"East",selected:g&S?"selected":null,onClick:function(){function v(){return d("unrestricted_access",{unres_dir:S})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-up",content:"South",selected:g&y?"selected":null,onClick:function(){function v(){return d("unrestricted_access",{unres_dir:y})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:g&k?"selected":null,onClick:function(){function v(){return d("unrestricted_access",{unres_dir:k})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-down",content:"North",selected:g&N?"selected":null,onClick:function(){function v(){return d("unrestricted_access",{unres_dir:N})}return v}()})})]})]})})},c=function(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=C.selected_accesses,v=C.one_access,h=C.regions;return(0,e.createComponentVNode)(2,m.AccessList,{usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:v,content:"One",onClick:function(){function V(){return d("set_one_access",{access:"one"})}return V}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!v,content:"All",onClick:function(){function V(){return d("set_one_access",{access:"all"})}return V}()})],4),accesses:h,selectedList:g,accessMod:function(){function V(b){return d("set",{access:b})}return V}(),grantAll:function(){function V(){return d("grant_all")}return V}(),denyAll:function(){function V(){return d("clear_all")}return V}(),grantDep:function(){function V(b){return d("grant_region",{region:b})}return V}(),denyDep:function(){function V(b){return d("deny_region",{region:b})}return V}()})}},55666:function(L,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(28823),a=n(2146),t=n(91819),o=n(31068),m=n(2971),N=n(84947),y=-1,S=1,k=r.AlertModal=function(){function c(f,i){var u=(0,t.useBackend)(i),s=u.act,d=u.data,C=d.autofocus,g=d.buttons,v=g===void 0?[]:g,h=d.large_buttons,V=d.message,b=V===void 0?"":V,B=d.timeout,I=d.title,w=(0,t.useLocalState)(i,"selected",0),T=w[0],A=w[1],x=110+(b.length>30?Math.ceil(b.length/4):0)+(b.length&&h?5:0),E=325+(v.length>2?100:0),P=function(){function D(M){T===0&&M===y?A(v.length-1):T===v.length-1&&M===S?A(0):A(T+M)}return D}();return(0,e.createComponentVNode)(2,N.Window,{title:I,height:x,width:E,children:[!!B&&(0,e.createComponentVNode)(2,a.Loader,{value:B}),(0,e.createComponentVNode)(2,N.Window.Content,{onKeyDown:function(){function D(M){var O=window.event?M.which:M.keyCode;O===o.KEY_SPACE||O===o.KEY_ENTER?s("choose",{choice:v[T]}):O===o.KEY_ESCAPE?s("cancel"):O===o.KEY_LEFT?(M.preventDefault(),P(y)):(O===o.KEY_TAB||O===o.KEY_RIGHT)&&(M.preventDefault(),P(S))}return D}(),children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,m:1,children:(0,e.createComponentVNode)(2,m.Box,{color:"label",overflow:"hidden",children:b})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:[!!C&&(0,e.createComponentVNode)(2,m.Autofocus),(0,e.createComponentVNode)(2,p,{selected:T})]})]})})})]})}return c}(),p=function(f,i){var u=(0,t.useBackend)(i),s=u.data,d=s.buttons,C=d===void 0?[]:d,g=s.large_buttons,v=s.swapped_buttons,h=f.selected;return(0,e.createComponentVNode)(2,m.Flex,{fill:!0,align:"center",direction:v?"row":"row-reverse",justify:"space-around",wrap:!0,children:C==null?void 0:C.map(function(V,b){return g&&C.length<3?(0,e.createComponentVNode)(2,m.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l,{button:V,id:b.toString(),selected:h===b})},b):(0,e.createComponentVNode)(2,m.Flex.Item,{grow:g?1:0,children:(0,e.createComponentVNode)(2,l,{button:V,id:b.toString(),selected:h===b})},b)})})},l=function(f,i){var u=(0,t.useBackend)(i),s=u.act,d=u.data,C=d.large_buttons,g=f.button,v=f.selected,h=g.length>7?"100%":7;return(0,e.createComponentVNode)(2,m.Button,{mx:C?1:0,pt:C?.33:0,content:g,fluid:!!C,onClick:function(){function V(){return s("choose",{choice:g})}return V}(),selected:v,textAlign:"center",height:!!C&&2,width:!C&&h})}},16504:function(L,r,n){"use strict";r.__esModule=!0,r.AppearanceChanger=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.AppearanceChanger=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.change_race,i=c.species,u=c.specimen,s=c.change_gender,d=c.gender,C=c.has_gender,g=c.change_eye_color,v=c.change_skin_tone,h=c.change_skin_color,V=c.change_head_accessory_color,b=c.change_hair_color,B=c.change_secondary_hair_color,I=c.change_facial_hair_color,w=c.change_secondary_facial_hair_color,T=c.change_head_marking_color,A=c.change_body_marking_color,x=c.change_tail_marking_color,E=c.change_head_accessory,P=c.head_accessory_styles,D=c.head_accessory_style,M=c.change_hair,O=c.hair_styles,j=c.hair_style,F=c.change_hair_gradient,U=c.change_facial_hair,_=c.facial_hair_styles,z=c.facial_hair_style,H=c.change_head_markings,$=c.head_marking_styles,Y=c.head_marking_style,X=c.change_body_markings,re=c.body_marking_styles,ae=c.body_marking_style,se=c.change_tail_markings,pe=c.tail_marking_styles,ye=c.tail_marking_style,Be=c.change_body_accessory,he=c.body_accessory_styles,oe=c.body_accessory_style,Z=c.change_alt_head,q=c.alt_head_styles,ue=c.alt_head_style,me=!1;return(g||v||h||V||b||B||I||w||T||A||x)&&(me=!0),(0,e.createComponentVNode)(2,o.Window,{width:800,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:i.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.specimen,selected:ne.specimen===u,onClick:function(){function be(){return l("race",{race:ne.specimen})}return be}()},ne.specimen)})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:d==="male",onClick:function(){function ne(){return l("gender",{gender:"male"})}return ne}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:d==="female",onClick:function(){function ne(){return l("gender",{gender:"female"})}return ne}()}),!C&&(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:d==="plural",onClick:function(){function ne(){return l("gender",{gender:"plural"})}return ne}()})]}),!!me&&(0,e.createComponentVNode)(2,N),!!E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:P.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.headaccessorystyle,selected:ne.headaccessorystyle===D,onClick:function(){function be(){return l("head_accessory",{head_accessory:ne.headaccessorystyle})}return be}()},ne.headaccessorystyle)})}),!!M&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:O.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.hairstyle,selected:ne.hairstyle===j,onClick:function(){function be(){return l("hair",{hair:ne.hairstyle})}return be}()},ne.hairstyle)})}),!!F&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function ne(){return l("hair_gradient")}return ne}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function ne(){return l("hair_gradient_offset")}return ne}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function ne(){return l("hair_gradient_colour")}return ne}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function ne(){return l("hair_gradient_alpha")}return ne}()})]}),!!U&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:_.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.facialhairstyle,selected:ne.facialhairstyle===z,onClick:function(){function be(){return l("facial_hair",{facial_hair:ne.facialhairstyle})}return be}()},ne.facialhairstyle)})}),!!H&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:$.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.headmarkingstyle,selected:ne.headmarkingstyle===Y,onClick:function(){function be(){return l("head_marking",{head_marking:ne.headmarkingstyle})}return be}()},ne.headmarkingstyle)})}),!!X&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:re.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.bodymarkingstyle,selected:ne.bodymarkingstyle===ae,onClick:function(){function be(){return l("body_marking",{body_marking:ne.bodymarkingstyle})}return be}()},ne.bodymarkingstyle)})}),!!se&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:pe.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.tailmarkingstyle,selected:ne.tailmarkingstyle===ye,onClick:function(){function be(){return l("tail_marking",{tail_marking:ne.tailmarkingstyle})}return be}()},ne.tailmarkingstyle)})}),!!Be&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:he.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.bodyaccessorystyle,selected:ne.bodyaccessorystyle===oe,onClick:function(){function be(){return l("body_accessory",{body_accessory:ne.bodyaccessorystyle})}return be}()},ne.bodyaccessorystyle)})}),!!Z&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:q.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.altheadstyle,selected:ne.altheadstyle===ue,onClick:function(){function be(){return l("alt_head",{alt_head:ne.altheadstyle})}return be}()},ne.altheadstyle)})})]})})})}return y}(),N=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=[{key:"change_eye_color",text:"Change eye color",action:"eye_color"},{key:"change_skin_tone",text:"Change skin tone",action:"skin_tone"},{key:"change_skin_color",text:"Change skin color",action:"skin_color"},{key:"change_head_accessory_color",text:"Change head accessory color",action:"head_accessory_color"},{key:"change_hair_color",text:"Change hair color",action:"hair_color"},{key:"change_secondary_hair_color",text:"Change secondary hair color",action:"secondary_hair_color"},{key:"change_facial_hair_color",text:"Change facial hair color",action:"facial_hair_color"},{key:"change_secondary_facial_hair_color",text:"Change secondary facial hair color",action:"secondary_facial_hair_color"},{key:"change_head_marking_color",text:"Change head marking color",action:"head_marking_color"},{key:"change_body_marking_color",text:"Change body marking color",action:"body_marking_color"},{key:"change_tail_marking_color",text:"Change tail marking color",action:"tail_marking_color"}];return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Colors",children:f.map(function(i){return!!c[i.key]&&(0,e.createComponentVNode)(2,t.Button,{content:i.text,onClick:function(){function u(){return l(i.action)}return u}()},i.key)})})}},77280:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosAlertConsole=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.AtmosAlertConsole=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.priority||[],f=l.minor||[];return(0,e.createComponentVNode)(2,o.Window,{width:350,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Alarms",children:(0,e.createVNode)(1,"ul",null,[c.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),c.map(function(i){return(0,e.createVNode)(1,"li","color-bad",i,0,null,i)}),f.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),f.map(function(i){return(0,e.createVNode)(1,"li","color-average",i,0,null,i)})],0)})})})}return N}()},66274:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosControl=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(99753),m=n(84947),N=function(c){if(c===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(c===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(c===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},y=function(c){if(c===0)return"green";if(c===1)return"orange";if(c===2)return"red"},S=r.AtmosControl=function(){function l(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=(0,a.useLocalState)(f,"tabIndex",0),C=d[0],g=d[1],v=function(){function h(V){switch(V){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,p);default:return"WE SHOULDN'T BE HERE!"}}return h}();return(0,e.createComponentVNode)(2,m.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:C===0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===0,onClick:function(){function h(){return g(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Data View"]},"DataView"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===1,onClick:function(){function h(){return g(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),v(C)]})})})}return l}(),k=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.alarms;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Access"})]}),d.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,o.TableCell,{children:C.name}),(0,e.createComponentVNode)(2,o.TableCell,{children:N(C.danger)}),(0,e.createComponentVNode)(2,o.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Access",onClick:function(){function g(){return u("open_alarm",{aref:C.ref})}return g}()})})]},C.name)})]})})},p=function(c,f){var i=(0,a.useBackend)(f),u=i.data,s=(0,a.useLocalState)(f,"zoom",1),d=s[0],C=s[1],g=u.alarms;return(0,e.createComponentVNode)(2,t.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,t.NanoMap,{onZoom:function(){function v(h){return C(h)}return v}(),children:g.filter(function(v){return v.z===3}).map(function(v){return(0,e.createComponentVNode)(2,t.NanoMap.Marker,{x:v.x,y:v.y,zoom:d,icon:"circle",tooltip:v.name,color:y(v.danger)},v.ref)})})})}},90588:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosFilter=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.AtmosFilter=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.on,f=l.pressure,i=l.max_pressure,u=l.filter_type,s=l.filter_type_list;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:140,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function d(){return p("power")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:f===0,width:2.2,onClick:function(){function d(){return p("min_pressure")}return d}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:i,value:f,onDrag:function(){function d(C,g){return p("custom_pressure",{pressure:g})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:f===i,width:2.2,onClick:function(){function d(){return p("max_pressure")}return d}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:s.map(function(d){return(0,e.createComponentVNode)(2,t.Button,{selected:d.gas_type===u,content:d.label,onClick:function(){function C(){return p("set_filter",{filter:d.gas_type})}return C}()},d.label)})})]})})})})}return N}()},87486:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosMixer=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.AtmosMixer=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.on,i=c.pressure,u=c.max_pressure,s=c.node1_concentration,d=c.node2_concentration;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:f?"On":"Off",color:f?null:"red",selected:f,onClick:function(){function C(){return l("power")}return C}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:i===0,width:2.2,onClick:function(){function C(){return l("min_pressure")}return C}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:u,value:i,onDrag:function(){function C(g,v){return l("custom_pressure",{pressure:v})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:i===u,width:2.2,onClick:function(){function C(){return l("max_pressure")}return C}()})]}),(0,e.createComponentVNode)(2,N,{node_name:"Node 1",node_ref:s}),(0,e.createComponentVNode)(2,N,{node_name:"Node 2",node_ref:d})]})})})})}return y}(),N=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=S.node_name,i=S.node_ref;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:f,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:i===0,onClick:function(){function u(){return l("set_node",{node_name:f,concentration:(i-10)/100})}return u}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,stepPixelSize:10,minValue:0,maxValue:100,value:i,onChange:function(){function u(s,d){return l("set_node",{node_name:f,concentration:d/100})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:i===100,onClick:function(){function u(){return l("set_node",{node_name:f,concentration:(i+10)/100})}return u}()})]})}},46714:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosPump=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.AtmosPump=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.on,f=l.rate,i=l.max_rate,u=l.gas_unit,s=l.step;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:110,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function d(){return p("power")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:f===0,width:2.2,onClick:function(){function d(){return p("min_rate")}return d}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:u,width:6.1,lineHeight:1.5,step:s,minValue:0,maxValue:i,value:f,onDrag:function(){function d(C,g){return p("custom_rate",{rate:g})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:f===i,width:2.2,onClick:function(){function d(){return p("max_rate")}return d}()})]})]})})})})}return N}()},66032:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosTankControl=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(58331),m=n(30381),N=n(84947),y=r.AtmosTankControl=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.sensors||{};return(0,e.createComponentVNode)(2,N.Window,{width:400,height:400,children:(0,e.createComponentVNode)(2,N.Window.Content,{scrollable:!0,children:[Object.keys(i).map(function(u){return(0,e.createComponentVNode)(2,t.Section,{title:u,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[Object.keys(i[u]).indexOf("pressure")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:[i[u].pressure," kpa"]}):"",Object.keys(i[u]).indexOf("temperature")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[i[u].temperature," K"]}):"",["o2","n2","plasma","co2","n2o"].map(function(s){return Object.keys(i[u]).indexOf(s)>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:(0,m.getGasLabel)(s),children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:(0,m.getGasColor)(s),value:i[u][s],minValue:0,maxValue:100,children:(0,o.toFixed)(i[u][s],2)+"%"})},(0,m.getGasLabel)(s)):""})]})},u)}),f.inlet&&Object.keys(f.inlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Inlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(f.inlet.on,"power-off"),content:f.inlet.on?"On":"Off",color:f.inlet.on?null:"red",selected:f.inlet.on,onClick:function(){function u(){return c("toggle_active",{dev:"inlet"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"L/s",width:6.1,lineHeight:1.5,step:1,minValue:0,maxValue:50,value:f.inlet.rate,onDrag:function(){function u(s,d){return c("set_pressure",{dev:"inlet",val:d})}return u}()})})]})}):"",f.outlet&&Object.keys(f.outlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Outlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(f.outlet.on,"power-off"),content:f.outlet.on?"On":"Off",color:f.outlet.on?null:"red",selected:f.outlet.on,onClick:function(){function u(){return c("toggle_active",{dev:"outlet"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:5066,value:f.outlet.rate,onDrag:function(){function u(s,d){return c("set_pressure",{dev:"outlet",val:d})}return u}()})})]})}):""]})})}return S}()},62343:function(L,r,n){"use strict";r.__esModule=!0,r.Autolathe=void 0;var e=n(28823),a=n(90955),t=n(72026),o=n(91819),m=n(2971),N=n(84947),y=n(37843),S=function(l,c,f,i){return l.requirements===null?!0:!(l.requirements.metal*i>c||l.requirements.glass*i>f)},k=r.Autolathe=function(){function p(l,c){var f=(0,o.useBackend)(c),i=f.act,u=f.data,s=u.total_amount,d=u.max_amount,C=u.metal_amount,g=u.glass_amount,v=u.busyname,h=u.busyamt,V=u.showhacked,b=u.buildQueue,B=u.buildQueueLen,I=u.recipes,w=u.categories,T=(0,o.useSharedState)(c,"category",0),A=T[0],x=T[1];A===0&&(A="Tools");var E=C.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),P=g.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),D=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),M=(0,o.useSharedState)(c,"search_text",""),O=M[0],j=M[1],F=(0,y.createSearch)(O,function(H){return H.name}),U="";B>0&&(U=b.map(function(H,$){return(0,e.createComponentVNode)(2,m.Box,{children:(0,e.createComponentVNode)(2,m.Button,{fluid:!0,icon:"times",color:"transparent",content:b[$][0],onClick:function(){function Y(){return i("remove_from_queue",{remove_from_queue:b.indexOf(H)+1})}return Y}()},H)},$)}));var _=(0,a.flow)([(0,t.filter)(function(H){return(H.category.indexOf(A)>-1||O)&&(u.showhacked||!H.hacked)}),O&&(0,t.filter)(F),(0,t.sortBy)(function(H){return H.name.toLowerCase()})])(I),z="Build";return O?z="Results for: '"+O+"':":A&&(z="Build ("+A+")"),(0,e.createComponentVNode)(2,N.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,N.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{width:"70%",children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,title:z,buttons:(0,e.createComponentVNode)(2,m.Dropdown,{width:"150px",options:w,selected:A,onSelected:function(){function H($){return x($)}return H}()}),children:[(0,e.createComponentVNode)(2,m.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function H($,Y){return j(Y)}return H}(),mb:1}),_.map(function(H){return(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+H.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,m.Button,{mr:1,icon:"hammer",selected:u.busyname===H.name&&u.busyamt===1,disabled:!S(H,u.metal_amount,u.glass_amount,1),onClick:function(){function $(){return i("make",{make:H.uid,multiplier:1})}return $}(),children:(0,y.toTitleCase)(H.name)}),H.max_multiplier>=10&&(0,e.createComponentVNode)(2,m.Button,{mr:1,icon:"hammer",selected:u.busyname===H.name&&u.busyamt===10,disabled:!S(H,u.metal_amount,u.glass_amount,10),onClick:function(){function $(){return i("make",{make:H.uid,multiplier:10})}return $}(),children:"10x"}),H.max_multiplier>=25&&(0,e.createComponentVNode)(2,m.Button,{mr:1,icon:"hammer",selected:u.busyname===H.name&&u.busyamt===25,disabled:!S(H,u.metal_amount,u.glass_amount,25),onClick:function(){function $(){return i("make",{make:H.uid,multiplier:25})}return $}(),children:"25x"}),H.max_multiplier>25&&(0,e.createComponentVNode)(2,m.Button,{mr:1,icon:"hammer",selected:u.busyname===H.name&&u.busyamt===H.max_multiplier,disabled:!S(H,u.metal_amount,u.glass_amount,H.max_multiplier),onClick:function(){function $(){return i("make",{make:H.uid,multiplier:H.max_multiplier})}return $}(),children:[H.max_multiplier,"x"]}),H.requirements&&Object.keys(H.requirements).map(function($){return(0,y.toTitleCase)($)+": "+H.requirements[$]}).join(", ")||(0,e.createComponentVNode)(2,m.Box,{children:"No resources required."})]},H.ref)})]})}),(0,e.createComponentVNode)(2,m.Stack.Item,{width:"30%",children:[(0,e.createComponentVNode)(2,m.Section,{title:"Materials",children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Metal",children:E}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Glass",children:P}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Total",children:D}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Storage",children:[u.fill_percent,"% Full"]})]})}),(0,e.createComponentVNode)(2,m.Section,{title:"Building",children:(0,e.createComponentVNode)(2,m.Box,{color:v?"green":"",children:v||"Nothing"})}),(0,e.createComponentVNode)(2,m.Section,{title:"Build Queue",height:23.7,children:[U,(0,e.createComponentVNode)(2,m.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!u.buildQueueLen,onClick:function(){function H(){return i("clear_queue")}return H}()})]})]})]})})})}return p}()},13940:function(L,r,n){"use strict";r.__esModule=!0,r.BioChipPad=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.BioChipPad=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.implant,f=l.contains_case;return(0,e.createComponentVNode)(2,o.Window,{width:410,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Bio-chip Mini-Computer",children:[c&&f?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+c.image,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),c.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:c.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:c.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:c.function})]})],4):f?(0,e.createComponentVNode)(2,t.Box,{children:"This bio-chip case has no implant!"}):(0,e.createComponentVNode)(2,t.Box,{children:"Please insert a bio-chip casing!"}),(0,e.createComponentVNode)(2,t.Button,{mt:2,content:"Eject Case",icon:"eject",disabled:!f,onClick:function(){function i(){return p("eject_case")}return i}()})]})})})}return N}()},55295:function(L,r,n){"use strict";r.__esModule=!0,r.Biogenerator=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(48154),N=r.Biogenerator=function(){function l(c,f){var i=(0,a.useBackend)(f),u=i.data,s=i.config,d=u.container,C=u.processing,g=s.title;return(0,e.createComponentVNode)(2,o.Window,{width:390,height:595,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Operating,{operating:C,name:g}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k),d?(0,e.createComponentVNode)(2,p):(0,e.createComponentVNode)(2,y)]})})})}return l}(),y=function(c,f){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The biogenerator is missing a container."]})})})},S=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.biomass,C=s.container,g=s.container_curr_reagents,v=s.container_max_reagents;return(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"20px",color:"silver",children:"Biomass:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"5px",children:d}),(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"21px",mt:"8px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"10px",color:"silver",children:"Container:"}),C?(0,e.createComponentVNode)(2,t.ProgressBar,{value:g,maxValue:v,children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:g+" / "+v+" units"})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"None"})]})]})},k=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.has_plants,C=s.container;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:!d,tooltip:d?"":"There are no plants in the biogenerator.",tooltipPosition:"top-start",content:"Activate",onClick:function(){function g(){return u("activate")}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"flask",disabled:!C,tooltip:C?"":"The biogenerator does not have a container.",tooltipPosition:"top",content:"Detach Container",onClick:function(){function g(){return u("detach_container")}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:!d,tooltip:d?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function g(){return u("eject_plants")}return g}()})})]})})},p=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.biomass,C=s.product_list,g=(0,a.useSharedState)(f,"vendAmount",1),v=g[0],h=g[1],V=Object.entries(C).map(function(b,B){var I=Object.entries(b[1]).map(function(w){return w[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:b[0],open:!0,children:I.map(function(w){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",ml:"2px",children:w.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"20%",children:[w.cost*v,(0,e.createComponentVNode)(2,t.Icon,{ml:"5px",name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{content:"Vend",disabled:d<w.cost*v,icon:"arrow-circle-down",onClick:function(){function T(){return u("create",{id:w.id,amount:v})}return T}()})})]},w)})},b[0])});return(0,e.createComponentVNode)(2,t.Section,{title:"Products",fill:!0,scrollable:!0,height:32,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mr:"5px",color:"silver",children:"Amount to vend:"}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:v,width:"32px",minValue:1,maxValue:10,stepPixelSize:7,onChange:function(){function b(B,I){return h(I)}return b}()})],4),children:V})}},92247:function(L,r,n){"use strict";r.__esModule=!0,r.BlueSpaceArtilleryControl=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.BlueSpaceArtilleryControl=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c;return l.ready?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"green",children:"Ready"}):l.reloadtime_text?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reloading In",color:"red",children:l.reloadtime_text}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"red",children:"No cannon connected!"}),(0,e.createComponentVNode)(2,o.Window,{width:400,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[l.notice&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:l.notice}),c,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,t.Button,{icon:"crosshairs",content:l.target?l.target:"None",onClick:function(){function f(){return p("recalibrate")}return f}()})}),l.ready===1&&!!l.target&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Firing",children:(0,e.createComponentVNode)(2,t.Button,{icon:"skull",content:"FIRE!",color:"red",onClick:function(){function f(){return p("fire")}return f}()})}),!l.connected&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",content:"Complete Deployment",onClick:function(){function f(){return p("build")}return f}()})})]})})})})})})}return N}()},74594:function(L,r,n){"use strict";r.__esModule=!0,r.BluespaceTap=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(48300),N=r.BluespaceTap=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.product||[],i=c.desiredLevel,u=c.inputLevel,s=c.points,d=c.totalPoints,C=c.powerUse,g=c.availablePower,v=c.maxLevel,h=c.emagged,V=c.safeLevels,b=c.nextLevelPower,B=i>u&&"bad"||"good";return(0,e.createComponentVNode)(2,o.Window,{width:650,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!h&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Safety Protocols disabled"}),u>V&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"High Power, Instability likely"}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Input Management",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Level",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Desired Level",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:i===0,tooltip:"Set to 0",onClick:function(){function I(){return l("set",{set_level:0})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:i===0,onClick:function(){function I(){return l("set",{set_level:u})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:i===0,tooltip:"Decrease one step",onClick:function(){function I(){return l("decrease")}return I}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{value:i,fillValue:u,minValue:0,color:B,maxValue:v,stepPixelSize:20,step:1,onChange:function(){function I(w,T){return l("set",{set_level:T})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:i===v,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function I(){return l("increase")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:i===v,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function I(){return l("set",{set_level:v})}return I}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Power Use",children:(0,m.formatPower)(C)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power for next level",children:(0,m.formatPower)(b)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,m.formatPower)(g)})]})})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Points",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Points",children:d})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:f.map(function(I){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:I.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:I.price>=s,onClick:function(){function w(){return l("vend",{target:I.key})}return w}(),content:I.price})},I.key)})})})})]})})]})})})}return y}()},31876:function(L,r,n){"use strict";r.__esModule=!0,r.BodyScanner=void 0;var e=n(28823),a=n(58331),t=n(37843),o=n(91819),m=n(2971),N=n(84947),y=[["good","Alive"],["average","Critical"],["bad","DEAD"]],S=[["hasVirus","bad","Viral pathogen detected in blood stream."],["blind","average","Cataracts detected."],["colourblind","average","Photoreceptor abnormalities detected."],["nearsighted","average","Retinal misalignment detected."]],k=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Cellular","cloneLoss"],["Burn","fireLoss"],["Inebriation","drunkenness"]],p={average:[.25,.5],bad:[.5,1/0]},l=function(B,I){for(var w=[],T=0;T<B.length;T+=2)w.push(I(B[T],B[T+1],T));return w},c=function(B){return B.length>0?B.filter(function(I){return!!I}).reduce(function(I,w){return(0,e.createFragment)([I,(0,e.createComponentVNode)(2,m.Box,{children:w},w)],0)},null):null},f=function(B){if(B>100){if(B<300)return"mild infection";if(B<400)return"mild infection+";if(B<500)return"mild infection++";if(B<700)return"acute infection";if(B<800)return"acute infection+";if(B<900)return"acute infection++";if(B>=900)return"septic"}return""},i=r.BodyScanner=function(){function b(B,I){var w=(0,o.useBackend)(I),T=w.data,A=T.occupied,x=T.occupant,E=x===void 0?{}:x,P=A?(0,e.createComponentVNode)(2,u,{occupant:E}):(0,e.createComponentVNode)(2,V);return(0,e.createComponentVNode)(2,N.Window,{width:700,height:600,title:"Body Scanner",children:(0,e.createComponentVNode)(2,N.Window.Content,{scrollable:!0,children:P})})}return b}(),u=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,s,{occupant:I}),(0,e.createComponentVNode)(2,d,{occupant:I}),(0,e.createComponentVNode)(2,C,{occupant:I}),(0,e.createComponentVNode)(2,v,{organs:I.extOrgan}),(0,e.createComponentVNode)(2,h,{organs:I.intOrgan})]})},s=function(B,I){var w=(0,o.useBackend)(I),T=w.act,A=w.data,x=A.occupant;return(0,e.createComponentVNode)(2,m.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Button,{icon:"print",onClick:function(){function E(){return T("print_p")}return E}(),children:"Print Report"}),(0,e.createComponentVNode)(2,m.Button,{icon:"user-slash",onClick:function(){function E(){return T("ejectify")}return E}(),children:"Eject"})],4),children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:x.maxHealth,value:x.health/x.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Status",color:y[x.stat][0],children:y[x.stat][1]}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,m.AnimatedNumber,{value:(0,a.round)(x.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,m.AnimatedNumber,{value:(0,a.round)(x.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Implants",children:x.implant_len?(0,e.createComponentVNode)(2,m.Box,{children:x.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"None"})})]})})},d=function(B){var I=B.occupant;return I.hasBorer||I.blind||I.colourblind||I.nearsighted||I.hasVirus?(0,e.createComponentVNode)(2,m.Section,{title:"Abnormalities",children:S.map(function(w,T){if(I[w[0]])return(0,e.createComponentVNode)(2,m.Box,{color:w[1],bold:w[1]==="bad",children:w[2]},w[2])})}):(0,e.createComponentVNode)(2,m.Section,{title:"Abnormalities",children:(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"No abnormalities found."})})},C=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,m.Section,{title:"Damage",children:(0,e.createComponentVNode)(2,m.Table,{children:l(k,function(w,T,A){return(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Table.Row,{color:"label",children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:[w[0],":"]}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:!!T&&T[0]+":"})]}),(0,e.createComponentVNode)(2,m.Table.Row,{children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:(0,e.createComponentVNode)(2,g,{value:I[w[1]],marginBottom:A<k.length-2})}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:!!T&&(0,e.createComponentVNode)(2,g,{value:I[T[1]]})})]})],4)})})})},g=function(B){return(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:"100",value:B.value/100,mt:"0.5rem",mb:!!B.marginBottom&&"0.5rem",ranges:p,children:(0,a.round)(B.value)})},v=function(B){return B.organs.length===0?(0,e.createComponentVNode)(2,m.Section,{title:"External Organs",children:(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,m.Section,{title:"External Organs",children:(0,e.createComponentVNode)(2,m.Table,{children:[(0,e.createComponentVNode)(2,m.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",children:"Injuries"})]}),B.organs.map(function(I,w){return(0,e.createComponentVNode)(2,m.Table.Row,{children:[(0,e.createComponentVNode)(2,m.Table.Cell,{color:!!I.status.dead&&"bad"||(!!I.internalBleeding||!!I.burnWound||!!I.lungRuptured||!!I.status.broken||!!I.open||I.germ_level>100)&&"average"||!!I.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,m.ProgressBar,{m:-.5,min:"0",max:I.maxHealth,mt:w>0&&"0.5rem",value:I.totalLoss/I.maxHealth,ranges:p,children:(0,e.createComponentVNode)(2,m.Stack,{children:[(0,e.createComponentVNode)(2,m.Tooltip,{content:"Total damage",children:(0,e.createComponentVNode)(2,m.Stack.Item,{children:[(0,e.createComponentVNode)(2,m.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(I.totalLoss)]})}),!!I.bruteLoss&&(0,e.createComponentVNode)(2,m.Tooltip,{content:"Brute damage",children:(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,m.Icon,{name:"bone",mr:.5}),(0,a.round)(I.bruteLoss)]})}),!!I.fireLoss&&(0,e.createComponentVNode)(2,m.Tooltip,{content:"Burn damage",children:(0,e.createComponentVNode)(2,m.Stack.Item,{children:[(0,e.createComponentVNode)(2,m.Icon,{name:"fire",mr:.5}),(0,a.round)(I.fireLoss)]})})]})})}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:w>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,m.Box,{color:"average",inline:!0,children:c([!!I.internalBleeding&&"Internal bleeding",!!I.burnWound&&"Critical tissue burns",!!I.lungRuptured&&"Ruptured lung",!!I.status.broken&&I.status.broken,f(I.germ_level),!!I.open&&"Open incision"])}),(0,e.createComponentVNode)(2,m.Box,{inline:!0,children:[c([!!I.status.splinted&&(0,e.createComponentVNode)(2,m.Box,{color:"good",children:"Splinted"}),!!I.status.robotic&&(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"Robotic"}),!!I.status.dead&&(0,e.createComponentVNode)(2,m.Box,{color:"bad",bold:!0,children:"DEAD"})]),c(I.shrapnel.map(function(T){return T.known?T.name:"Unknown object"}))]})]})]},w)})]})})},h=function(B){return B.organs.length===0?(0,e.createComponentVNode)(2,m.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,m.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,m.Table,{children:[(0,e.createComponentVNode)(2,m.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",children:"Injuries"})]}),B.organs.map(function(I,w){return(0,e.createComponentVNode)(2,m.Table.Row,{children:[(0,e.createComponentVNode)(2,m.Table.Cell,{color:!!I.dead&&"bad"||I.germ_level>100&&"average"||I.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:I.maxHealth,value:I.damage/I.maxHealth,mt:w>0&&"0.5rem",ranges:p,children:(0,a.round)(I.damage)})}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:w>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,m.Box,{color:"average",inline:!0,children:c([f(I.germ_level)])}),(0,e.createComponentVNode)(2,m.Box,{inline:!0,children:c([I.robotic===1&&(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"Robotic"}),I.robotic===2&&(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"Assisted"}),!!I.dead&&(0,e.createComponentVNode)(2,m.Box,{color:"bad",bold:!0,children:"DEAD"})])})]})]},w)})]})})},V=function(){return(0,e.createComponentVNode)(2,m.Section,{fill:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,m.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},73440:function(L,r,n){"use strict";r.__esModule=!0,r.BookBinder=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(22677),N=n(92462),y=r.BookBinder=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.selectedbook,u=f.book_categories,s=[];return u.map(function(d){return s[d.description]=d.category_id}),(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Book Binder",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",width:"auto",content:"Print Book",onClick:function(){function d(){return c("print_book")}return d}()}),children:[(0,e.createComponentVNode)(2,t.Box,{ml:10,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:"1rem"}),"Book Binder"]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:i.title,onClick:function(){function d(){return(0,m.modalOpen)(p,"edit_selected_title")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:i.author,onClick:function(){function d(){return(0,m.modalOpen)(p,"edit_selected_author")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"190px",options:u.map(function(d){return d.description}),onSelected:function(){function d(C){return c("toggle_binder_category",{category_id:s[C]})}return d}()})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",content:"Edit Summary",onClick:function(){function d(){return(0,m.modalOpen)(p,"edit_selected_summary")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:i.summary})]}),(0,e.createVNode)(1,"br"),u.filter(function(d){return i.categories.includes(d.category_id)}).map(function(d){return(0,e.createComponentVNode)(2,t.Button,{content:d.description,selected:!0,icon:"unlink",onClick:function(){function C(){return c("toggle_binder_category",{category_id:d.category_id})}return C}()},d.category_id)})]})})]})})})]})}return S}()},40730:function(L,r,n){"use strict";r.__esModule=!0,r.BotClean=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(86041),N=r.BotClean=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.locked,i=c.noaccess,u=c.maintpanel,s=c.on,d=c.autopatrol,C=c.canhack,g=c.emagged,v=c.remote_disabled,h=c.painame,V=c.cleanblood,b=c.area;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,m.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Cleaning Settings",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:V,content:"Clean Blood",disabled:i,onClick:function(){function B(){return l("blood")}return B}()})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc Settings",children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:b?"Reset Area Selection":"Restrict to Current Area",onClick:function(){function B(){return l("area")}return B}()}),b!==null&&(0,e.createComponentVNode)(2,t.LabeledList,{mb:1,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Locked Area",children:b})})]}),h&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:h,disabled:i,onClick:function(){function B(){return l("ejectpai")}return B}()})})]})})}return y}()},36078:function(L,r,n){"use strict";r.__esModule=!0,r.BotFloor=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(86041),N=r.BotFloor=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.noaccess,i=c.painame,u=c.hullplating,s=c.replace,d=c.eat,C=c.make,g=c.fixfloor,v=c.nag_empty,h=c.magnet,V=c.tiles_amount;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,m.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Floor Settings",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"5px",children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tiles Left",children:V})}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:u,content:"Add tiles to new hull plating",tooltip:"Fixing a plating requires the removal of floor tile. This will place it back after repairing. Same goes for hull breaches",disabled:f,onClick:function(){function b(){return l("autotile")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Add floor tiles on exposed hull plating",tooltip:"Example: It will add tiles to maintenance",disabled:f,onClick:function(){function b(){return l("replacetiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Repair damaged tiles and platings",disabled:f,onClick:function(){function b(){return l("fixfloors")}return b}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Miscellaneous",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:d,content:"Finds tiles",disabled:f,onClick:function(){function b(){return l("eattiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:C,content:"Make pieces of metal into tiles when empty",disabled:f,onClick:function(){function b(){return l("maketiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Transmit notice when empty",disabled:f,onClick:function(){function b(){return l("nagonempty")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Traction Magnets",disabled:f,onClick:function(){function b(){return l("anchored")}return b}()})]}),i&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,icon:"eject",content:i,disabled:f,onClick:function(){function b(){return l("ejectpai")}return b}()})})]})})}return y}()},89121:function(L,r,n){"use strict";r.__esModule=!0,r.BotHonk=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(86041),N=r.BotHonk=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:220,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,m.BotStatus)})})}return y}()},39805:function(L,r,n){"use strict";r.__esModule=!0,r.BotMed=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(86041),N=r.BotMed=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.locked,i=c.noaccess,u=c.maintpanel,s=c.on,d=c.autopatrol,C=c.canhack,g=c.emagged,v=c.remote_disabled,h=c.painame,V=c.shut_up,b=c.declare_crit,B=c.stationary_mode,I=c.heal_threshold,w=c.injection_amount,T=c.use_beaker,A=c.treat_virus,x=c.reagent_glass;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Communication Settings",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Speaker",checked:!V,disabled:i,onClick:function(){function E(){return l("toggle_speaker")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Critical Patient Alerts",checked:b,disabled:i,onClick:function(){function E(){return l("toggle_critical_alerts")}return E}()})]}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Treatment Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Healing Threshold",children:(0,e.createComponentVNode)(2,t.Slider,{value:I.value,minValue:I.min,maxValue:I.max,step:5,disabled:i,onChange:function(){function E(P,D){return l("set_heal_threshold",{target:D})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Injection Level",children:(0,e.createComponentVNode)(2,t.Slider,{value:w.value,minValue:w.min,maxValue:w.max,step:5,format:function(){function E(P){return P+"u"}return E}(),disabled:i,onChange:function(){function E(P,D){return l("set_injection_amount",{target:D})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagent Source",children:(0,e.createComponentVNode)(2,t.Button,{content:T?"Beaker":"Internal Synthesizer",icon:T?"flask":"cogs",disabled:i,onClick:function(){function E(){return l("toggle_use_beaker")}return E}()})}),x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:x.amount,minValue:0,maxValue:x.max_amount,children:[x.amount," / ",x.max_amount]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{ml:1,children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",disabled:i,onClick:function(){function E(){return l("eject_reagent_glass")}return E}()})})]})})]}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{mt:1,fluid:!0,content:"Treat Viral Infections",checked:A,disabled:i,onClick:function(){function E(){return l("toggle_treat_viral")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Stationary Mode",checked:B,disabled:i,onClick:function(){function E(){return l("toggle_stationary_mode")}return E}()})]}),h&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:h,disabled:i,onClick:function(){function E(){return l("ejectpai")}return E}()})})]})})})}return y}()},35519:function(L,r,n){"use strict";r.__esModule=!0,r.BotSecurity=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(86041),N=r.BotSecurity=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.noaccess,i=c.painame,u=c.check_id,s=c.check_weapons,d=c.check_warrant,C=c.arrest_mode,g=c.arrest_declare;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:445,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,m.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Who To Arrest",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:u,content:"Unidentifiable Persons",disabled:f,onClick:function(){function v(){return l("authid")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Unauthorized Weapons",disabled:f,onClick:function(){function v(){return l("authweapon")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:d,content:"Wanted Criminals",disabled:f,onClick:function(){function v(){return l("authwarrant")}return v}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Arrest Procedure",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:C,content:"Detain Targets Indefinitely",disabled:f,onClick:function(){function v(){return l("arrtype")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Announce Arrests On Radio",disabled:f,onClick:function(){function v(){return l("arrdeclare")}return v}()})]}),i&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:i,disabled:f,onClick:function(){function v(){return l("ejectpai")}return v}()})})]})})}return y}()},71169:function(L,r,n){"use strict";r.__esModule=!0,r.BrigCells=void 0;var e=n(28823),a=n(84947),t=n(2971),o=n(91819),m=function(k,p){var l=k.cell,c=(0,o.useBackend)(p),f=c.act,i=l.cell_id,u=l.occupant,s=l.crimes,d=l.brigged_by,C=l.time_left_seconds,g=l.time_set_seconds,v=l.ref,h="";C>0&&(h+=" BrigCells__listRow--active");var V=function(){f("release",{ref:v})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:h,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:g})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:C})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{type:"button",onClick:V,children:"Release"})})]})},N=function(k){var p=k.cells;return(0,e.createComponentVNode)(2,t.Table,{className:"BrigCells__list",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Cell"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Occupant"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Crimes"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Brigged By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Brigged For"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Release"})]}),p.map(function(l){return(0,e.createComponentVNode)(2,m,{cell:l},l.ref)})]})},y=r.BrigCells=function(){function S(k,p){var l=(0,o.useBackend)(p),c=l.act,f=l.data,i=f.cells;return(0,e.createComponentVNode)(2,a.Window,{theme:"security",width:800,height:400,children:(0,e.createComponentVNode)(2,a.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,N,{cells:i})})})})})}return S}()},19070:function(L,r,n){"use strict";r.__esModule=!0,r.BrigTimer=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.BrigTimer=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;l.nameText=l.occupant,l.timing&&(l.prisoner_hasrec?l.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l.occupant}):l.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:l.occupant}));var c="pencil-alt";l.prisoner_name&&(l.prisoner_hasrec||(c="exclamation-triangle"));var f=[],i=0;for(i=0;i<l.spns.length;i++)f.push(l.spns[i]);return(0,e.createComponentVNode)(2,o.Window,{width:500,height:l.timing?237:396,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cell Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell ID",children:l.cell_id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:l.nameText}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Crimes",children:l.crimes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brigged By",children:l.brigged_by}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Brigged For",children:l.time_set}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:l.time_left}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Flash",disabled:!l.isAllowed,onClick:function(){function u(){return p("flash")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Reset Timer",disabled:!l.timing||!l.isAllowed,onClick:function(){function u(){return p("restart_timer")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Release Prisoner",disabled:!l.timing||!l.isAllowed,onClick:function(){function u(){return p("stop")}return u}()})],4)})]})}),!l.timing&&(0,e.createComponentVNode)(2,t.Section,{title:"New Prisoner",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prisoner Name",children:[(0,e.createComponentVNode)(2,t.Button,{icon:c,content:l.prisoner_name?l.prisoner_name:"-----",disabled:!l.isAllowed,onClick:function(){function u(){return p("prisoner_name")}return u}()}),!!l.spns.length&&(0,e.createComponentVNode)(2,t.Dropdown,{disabled:!l.isAllowed||!l.spns.length,options:l.spns,width:"250px",onSelected:function(){function u(s){return p("prisoner_name",{prisoner_name:s})}return u}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prisoner Crimes",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:l.prisoner_charge?l.prisoner_charge:"-----",disabled:!l.isAllowed,onClick:function(){function u(){return p("prisoner_charge")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prisoner Time",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:l.prisoner_time?l.prisoner_time:"-----",disabled:!l.isAllowed,onClick:function(){function u(){return p("prisoner_time")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start",children:(0,e.createComponentVNode)(2,t.Button,{icon:"gavel",content:"Start Sentence",disabled:!l.prisoner_name||!l.prisoner_charge||!l.prisoner_time||!l.isAllowed,onClick:function(){function u(){return p("start")}return u}()})})]})})]})})}return N}()},59681:function(L,r,n){"use strict";r.__esModule=!0,r.CameraConsoleContent=r.CameraConsole=void 0;var e=n(28823),a=n(72026),t=n(90955),o=n(66586),m=n(37843),N=n(91819),y=n(2971),S=n(84947);String.prototype.trimLongStr=function(f){return this.length>f?this.substring(0,f)+"...":this};var k=function(i,u){var s,d;if(!u)return[];var C=i.findIndex(function(g){return g.name===u.name});return[(s=i[C-1])==null?void 0:s.name,(d=i[C+1])==null?void 0:d.name]},p=function(i,u){u===void 0&&(u="");var s=(0,m.createSearch)(u,function(d){return d.name});return(0,t.flow)([(0,a.filter)(function(d){return d==null?void 0:d.name}),u&&(0,a.filter)(s),(0,a.sortBy)(function(d){return d.name})])(i)},l=r.CameraConsole=function(){function f(i,u){var s=(0,N.useBackend)(u),d=s.act,C=s.data,g=s.config,v=C.mapRef,h=C.activeCamera,V=p(C.cameras),b=k(V,h),B=b[0],I=b[1];return(0,e.createComponentVNode)(2,S.Window,{width:870,height:708,children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,c)})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),h&&h.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!B,onClick:function(){function w(){return d("switch_camera",{name:B})}return w}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!I,onClick:function(){function w(){return d("switch_camera",{name:I})}return w}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:v,type:"map"}})],4)]})}return f}(),c=r.CameraConsoleContent=function(){function f(i,u){var s=(0,N.useBackend)(u),d=s.act,C=s.data,g=(0,N.useLocalState)(u,"searchText",""),v=g[0],h=g[1],V=C.activeCamera,b=p(C.cameras,v);return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function B(I,w){return h(w)}return B}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:b.map(function(B){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",V&&B.name===V.name&&"Button--selected"]),B.name.trimLongStr(23),0,{title:B.name,onClick:function(){function I(){return d("switch_camera",{name:B.name})}return I}()},B.name)})})})]})}return f}()},64487:function(L,r,n){"use strict";r.__esModule=!0,r.CameraConsoleOldContent=r.CameraConsoleMapContent=r.CameraConsole220=void 0;var e=n(28823),a=n(72026),t=n(90955),o=n(66586),m=n(37843),N=n(91819),y=n(2971),S=n(84947),k=function(u,s){var d,C;if(!s)return[];var g=u.findIndex(function(v){return v.name===s.name});return[(d=u[g-1])==null?void 0:d.name,(C=u[g+1])==null?void 0:C.name]},p=function(u,s){s===void 0&&(s="");var d=(0,m.createSearch)(s,function(C){return C.name});return(0,t.flow)([(0,a.filter)(function(C){return C==null?void 0:C.name}),s&&(0,a.filter)(d),(0,a.sortBy)(function(C){return C.name})])(u)},l=r.CameraConsole220=function(){function i(u,s){var d=(0,N.useLocalState)(s,"tabIndex",0),C=d[0],g=d[1],v=function(){function h(V){switch(V){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,f);default:return"WE SHOULDN'T BE HERE!"}}return h}();return(0,e.createComponentVNode)(2,S.Window,{width:1170,height:755,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{children:(0,e.createComponentVNode)(2,y.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{width:C===1?"222px":"475px",textAlign:"center",children:(0,e.createComponentVNode)(2,y.Tabs,{fluid:!0,ml:C===1?1:0,mt:C===1?1:0,children:[(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:C===0,onClick:function(){function h(){return g(0)}return h}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"map-marked-alt"})," \u041A\u0430\u0440\u0442\u0430"]},"Map"),(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:C===1,onClick:function(){function h(){return g(1)}return h}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"table"})," \u0421\u043F\u0438\u0441\u043E\u043A"]},"List")]})}),v(C)]})})})})}return i}(),c=r.CameraConsoleMapContent=function(){function i(u,s){var d=(0,N.useBackend)(s),C=d.act,g=d.data,v=d.config,h=p(g.cameras),V=(0,N.useLocalState)(s,"zoom",1),b=V[0],B=V[1],I=g.mapRef,w=g.activeCamera,T=g.stationLevel,A=k(h,w),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,style:{display:"flex"},children:[(0,e.createComponentVNode)(2,y.Stack.Item,{height:"100%",style:{display:"flex",flex:"0 0 475px"},children:(0,e.createComponentVNode)(2,y.NanoMap,{onZoom:function(){function P(D){return B(D)}return P}(),children:h.filter(function(P){return P.z===T}).map(function(P){return(0,e.createComponentVNode)(2,y.NanoMap.NanoButton,{activeCamera:w,x:P.x,y:P.y,context:s,zoom:b,icon:"circle",tooltip:P.name,name:P.name,color:"blue",status:P.status},P.ref)})})}),(0,e.createComponentVNode)(2,y.Stack.Item,{height:"100%",resizable:!0,className:"CameraConsole__right_map",children:[(0,e.createVNode)(1,"div","CameraConsole__header",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043C\u0435\u0440\u0430: ",16),w&&w.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!x,onClick:function(){function P(){return C("switch_camera",{name:x})}return P}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!E,onClick:function(){function P(){return C("switch_camera",{name:E})}return P}()})],4)],4),(0,e.createComponentVNode)(2,y.ByondUi,{resizable:!0,className:"CameraConsole__map",overflow:"hidden",params:{id:I,type:"map"}})]})]})}return i}(),f=r.CameraConsoleOldContent=function(){function i(u,s){var d=(0,N.useBackend)(s),C=d.act,g=d.data,v=d.config,h=g.mapRef,V=g.activeCamera,b=(0,N.useLocalState)(s,"searchText",""),B=b[0],I=b[1],w=p(g.cameras,B),T=k(w,V),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,y.Stack.Item,{children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{width:"215px",placeholder:"\u041D\u0430\u0439\u0442\u0438 \u043A\u0430\u043C\u0435\u0440\u0443",onInput:function(){function E(P,D){return I(D)}return E}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:w.map(function(E){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid",E.status?"Button--color--transparent":"Button--color--danger","Button--ellipsis",V&&E.name===V.name&&"Button--selected"]),E.name,0,{title:E.name,onClick:function(){function P(){return C("switch_camera",{name:E.name})}return P}()},E.name)})})})]})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043C\u0435\u0440\u0430: ",16),V&&V.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!A,onClick:function(){function E(){return C("switch_camera",{name:A})}return E}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!x,onClick:function(){function E(){return C("switch_camera",{name:x})}return E}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:h,type:"map"}})],4)]})}return i}()},21348:function(L,r,n){"use strict";r.__esModule=!0,r.Canister=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=n(48300),N=n(84947),y=r.Canister=function(){function S(k,p){var l=(0,t.useBackend)(p),c=l.act,f=l.data,i=f.portConnected,u=f.tankPressure,s=f.releasePressure,d=f.defaultReleasePressure,C=f.minReleasePressure,g=f.maxReleasePressure,v=f.valveOpen,h=f.name,V=f.canLabel,b=f.colorContainer,B=f.color_index,I=f.hasHoldingTank,w=f.holdingTank,T="";B.prim&&(T=b.prim.options[B.prim].name);var A="";B.sec&&(A=b.sec.options[B.sec].name);var x="";B.ter&&(x=b.ter.options[B.ter].name);var E="";B.quart&&(E=b.quart.options[B.quart].name);var P=[],D=[],M=[],O=[],j=0;for(j=0;j<b.prim.options.length;j++)P.push(b.prim.options[j].name);for(j=0;j<b.sec.options.length;j++)D.push(b.sec.options[j].name);for(j=0;j<b.ter.options.length;j++)M.push(b.ter.options[j].name);for(j=0;j<b.quart.options.length;j++)O.push(b.quart.options[j].name);var F="";return V&&(F=(0,e.createComponentVNode)(2,o.Section,{title:"Paint",children:(0,e.createComponentVNode)(2,o.LabeledControls,{children:[(0,e.createComponentVNode)(2,o.LabeledControls.Item,{minWidth:"110px",label:b.prim.name,children:(0,e.createComponentVNode)(2,o.Dropdown,{over:!0,selected:T,disabled:!V,options:P,width:"110px",onSelected:function(){function U(_){return c("recolor",{nc:P.indexOf(_),ctype:"prim"})}return U}()})}),(0,e.createComponentVNode)(2,o.LabeledControls.Item,{minWidth:"110px",label:b.sec.name,children:(0,e.createComponentVNode)(2,o.Dropdown,{over:!0,selected:A,disabled:!V,options:D,width:"110px",onSelected:function(){function U(_){return c("recolor",{nc:D.indexOf(_),ctype:"sec"})}return U}()})}),(0,e.createComponentVNode)(2,o.LabeledControls.Item,{minWidth:"110px",label:b.ter.name,children:(0,e.createComponentVNode)(2,o.Dropdown,{over:!0,selected:x,disabled:!V,options:M,width:"110px",onSelected:function(){function U(_){return c("recolor",{nc:M.indexOf(_),ctype:"ter"})}return U}()})}),(0,e.createComponentVNode)(2,o.LabeledControls.Item,{minWidth:"110px",label:b.quart.name,children:(0,e.createComponentVNode)(2,o.Dropdown,{over:!0,selected:E,disabled:!V,options:O,width:"110px",onSelected:function(){function U(_){return c("recolor",{nc:O.indexOf(_),ctype:"quart"})}return U}()})})]})})),(0,e.createComponentVNode)(2,N.Window,{width:600,height:V?300:230,children:(0,e.createComponentVNode)(2,N.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{title:h,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pencil-alt",content:"Relabel",disabled:!V,onClick:function(){function U(){return c("relabel")}return U}()}),children:(0,e.createComponentVNode)(2,o.LabeledControls,{children:[(0,e.createComponentVNode)(2,o.LabeledControls.Item,{minWidth:"66px",label:"Pressure",children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:u,format:function(){function U(_){return _<1e4?(0,a.toFixed)(_)+" kPa":(0,m.formatSiUnit)(_*1e3,1,"Pa")}return U}()})}),(0,e.createComponentVNode)(2,o.LabeledControls.Item,{label:"Regulator",children:(0,e.createComponentVNode)(2,o.Box,{position:"relative",left:"-8px",children:[(0,e.createComponentVNode)(2,o.Knob,{size:1.25,color:!!v&&"yellow",value:s,unit:"kPa",minValue:C,maxValue:g,step:5,stepPixelSize:1,onDrag:function(){function U(_,z){return c("pressure",{pressure:z})}return U}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,position:"absolute",top:"-2px",right:"-20px",color:"transparent",icon:"fast-forward",tooltip:"Max Release Pressure",onClick:function(){function U(){return c("pressure",{pressure:g})}return U}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,position:"absolute",top:"16px",right:"-20px",color:"transparent",icon:"undo",tooltip:"Reset Release Pressure",onClick:function(){function U(){return c("pressure",{pressure:d})}return U}()})]})}),(0,e.createComponentVNode)(2,o.LabeledControls.Item,{label:"Valve",children:(0,e.createComponentVNode)(2,o.Button,{my:.5,width:"50px",lineHeight:2,fontSize:"11px",color:v?I?"caution":"danger":null,content:v?"Open":"Closed",onClick:function(){function U(){return c("valve")}return U}()})}),(0,e.createComponentVNode)(2,o.LabeledControls.Item,{mr:1,label:"Port",children:(0,e.createComponentVNode)(2,o.Tooltip,{content:i?"Connected":"Disconnected",position:"top",children:(0,e.createComponentVNode)(2,o.Box,{position:"relative",children:(0,e.createComponentVNode)(2,o.Icon,{size:1.25,name:i?"plug":"times",color:i?"good":"bad"})})})})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Holding Tank",buttons:!!I&&(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function U(){return c("eject")}return U}()}),children:[!!I&&(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Label",children:w.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pressure",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:w.tankPressure})," kPa"]})]}),!I&&(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"No Holding Tank"})]}),F]})})}return S}()},13944:function(L,r,n){"use strict";r.__esModule=!0,r.CardComputerNoRecords=r.CardComputerNoCard=r.CardComputerLoginWarning=r.CardComputer=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(14635),N=n(30381),y=N.COLORS.department,S=r.CardComputerLoginWarning=function(){function c(){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Warning",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Not logged in"]})})})}return c}(),k=r.CardComputerNoCard=function(){function c(){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Card Missing",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No card to modify"]})})})}return c}(),p=r.CardComputerNoRecords=function(){function c(){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Records",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No records"]})})})}return c}(),l=r.CardComputer=function(){function c(f,i){var u=(0,a.useBackend)(i),s=u.act,d=u.data,C=(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:d.mode===0,onClick:function(){function h(){return s("mode",{mode:0})}return h}(),children:"Job Transfers"}),!d.target_dept&&(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:d.mode===2,onClick:function(){function h(){return s("mode",{mode:2})}return h}(),children:"Access Modification"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"folder-open",selected:d.mode===1,onClick:function(){function h(){return s("mode",{mode:1})}return h}(),children:"Job Management"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"scroll",selected:d.mode===3,onClick:function(){function h(){return s("mode",{mode:3})}return h}(),children:"Records"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"users",selected:d.mode===4,onClick:function(){function h(){return s("mode",{mode:4})}return h}(),children:"Department"})]}),g=(0,e.createComponentVNode)(2,t.Section,{title:"Authentication",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Login/Logout",children:(0,e.createComponentVNode)(2,t.Button,{icon:d.scan_name?"sign-out-alt":"id-card",selected:d.scan_name,content:d.scan_name?"Log Out: "+d.scan_name:"-----",onClick:function(){function h(){return s("scan")}return h}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card To Modify",children:(0,e.createComponentVNode)(2,t.Button,{icon:d.modify_name?"eject":"id-card",selected:d.modify_name,content:d.modify_name?"Remove Card: "+d.modify_name:"-----",onClick:function(){function h(){return s("modify")}return h}()})})]})}),v;switch(d.mode){case 0:!d.authenticated||!d.scan_name?v=(0,e.createComponentVNode)(2,S):d.modify_name?v=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Card Information",children:[!d.target_dept&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Registered Name",children:(0,e.createComponentVNode)(2,t.Button,{icon:!d.modify_owner||d.modify_owner==="Unknown"?"exclamation-triangle":"pencil-alt",selected:d.modify_name,content:d.modify_owner,onClick:function(){function h(){return s("reg")}return h}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Number",children:(0,e.createComponentVNode)(2,t.Button,{icon:d.account_number?"pencil-alt":"exclamation-triangle",selected:d.account_number,content:d.account_number?d.account_number:"None",onClick:function(){function h(){return s("account")}return h}()})})],4),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Latest Transfer",children:d.modify_lastlog||"---"})]}),(0,e.createComponentVNode)(2,t.Section,{title:d.target_dept?"Department Job Transfer":"Job Transfer",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[d.target_dept?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department",children:d.jobs_dept.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===h,content:h,color:d.jobFormats[h]?d.jobFormats[h]:"",onClick:function(){function V(){return s("assign",{assign_target:h})}return V}()},h)})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special",children:d.jobs_top.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===h,content:h,color:d.jobFormats[h]?d.jobFormats[h]:"",onClick:function(){function V(){return s("assign",{assign_target:h})}return V}()},h)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Engineering",labelColor:y.engineering,children:d.jobs_engineering.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===h,content:h,color:d.jobFormats[h]?d.jobFormats[h]:"",onClick:function(){function V(){return s("assign",{assign_target:h})}return V}()},h)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Medical",labelColor:y.medical,children:d.jobs_medical.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===h,content:h,color:d.jobFormats[h]?d.jobFormats[h]:"",onClick:function(){function V(){return s("assign",{assign_target:h})}return V}()},h)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Science",labelColor:y.science,children:d.jobs_science.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===h,content:h,color:d.jobFormats[h]?d.jobFormats[h]:"",onClick:function(){function V(){return s("assign",{assign_target:h})}return V}()},h)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Security",labelColor:y.security,children:d.jobs_security.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===h,content:h,color:d.jobFormats[h]?d.jobFormats[h]:"",onClick:function(){function V(){return s("assign",{assign_target:h})}return V}()},h)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Service",labelColor:y.service,children:d.jobs_service.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===h,content:h,color:d.jobFormats[h]?d.jobFormats[h]:"",onClick:function(){function V(){return s("assign",{assign_target:h})}return V}()},h)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supply",labelColor:y.supply,children:d.jobs_supply.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===h,content:h,color:d.jobFormats[h]?d.jobFormats[h]:"",onClick:function(){function V(){return s("assign",{assign_target:h})}return V}()},h)})})],4),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Retirement",children:d.jobs_assistant.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===h,content:h,color:d.jobFormats[h]?d.jobFormats[h]:"",onClick:function(){function V(){return s("assign",{assign_target:h})}return V}()},h)})}),!!d.iscentcom&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"CentCom",labelColor:y.centcom,children:d.jobs_centcom.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===h,content:h,color:d.jobFormats[h]?d.jobFormats[h]:"purple",onClick:function(){function V(){return s("assign",{assign_target:h})}return V}()},h)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Demotion",children:(0,e.createComponentVNode)(2,t.Button,{disabled:d.modify_assignment==="Demoted"||d.modify_assignment==="Terminated",content:"Demoted",tooltip:"Assistant access, 'demoted' title.",color:"red",icon:"times",onClick:function(){function h(){return s("demote")}return h}()},"Demoted")}),!!d.canterminate&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Non-Crew",children:(0,e.createComponentVNode)(2,t.Button,{disabled:d.modify_assignment==="Terminated",content:"Terminated",tooltip:"Zero access. Not crew.",color:"red",icon:"eraser",onClick:function(){function h(){return s("terminate")}return h}()},"Terminate")})]})}),!d.target_dept&&(0,e.createComponentVNode)(2,t.Section,{title:"Card Skins",children:[d.card_skins.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{selected:d.current_skin===h.skin,content:h.display_name,onClick:function(){function V(){return s("skin",{skin_target:h.skin})}return V}()},h.skin)}),!!d.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:d.all_centcom_skins.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{selected:d.current_skin===h.skin,content:h.display_name,color:"purple",onClick:function(){function V(){return s("skin",{skin_target:h.skin})}return V}()},h.skin)})})]})],0):v=(0,e.createComponentVNode)(2,k);break;case 1:d.auth_or_ghost?v=(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{color:d.cooldown_time?"red":"",children:["Next Change Available:",d.cooldown_time?d.cooldown_time:"Now"]}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Job Slots",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Used Slots"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Total Slots"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Free Slots"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Close Slot"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Open Slot"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Priority"})]}),d.job_slots.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Box,{color:h.is_priority?"green":"",children:h.title})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:h.current_positions}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:h.total_positions}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:h.total_positions>h.current_positions&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:h.total_positions-h.current_positions})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"0"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"-",disabled:d.cooldown_time||!h.can_close,onClick:function(){function V(){return s("make_job_unavailable",{job:h.title})}return V}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:d.cooldown_time||!h.can_open,onClick:function(){function V(){return s("make_job_available",{job:h.title})}return V}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:d.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:d.priority_jobs.indexOf(h.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:h.is_priority?"Yes":"No",selected:h.is_priority,disabled:d.cooldown_time||!h.can_prioritize,onClick:function(){function V(){return s("prioritize_job",{job:h.title})}return V}()})})]},h.title)})]})})]}):v=(0,e.createComponentVNode)(2,S);break;case 2:!d.authenticated||!d.scan_name?v=(0,e.createComponentVNode)(2,S):d.modify_name?v=(0,e.createComponentVNode)(2,m.AccessList,{accesses:d.regions,selectedList:d.selectedAccess,accessMod:function(){function h(V){return s("set",{access:V})}return h}(),grantAll:function(){function h(){return s("grant_all")}return h}(),denyAll:function(){function h(){return s("clear_all")}return h}(),grantDep:function(){function h(V){return s("grant_region",{region:V})}return h}(),denyDep:function(){function h(V){return s("deny_region",{region:V})}return h}()}):v=(0,e.createComponentVNode)(2,k);break;case 3:d.authenticated?d.records.length?v=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Records",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Delete All Records",disabled:!d.authenticated||d.records.length===0||d.target_dept,onClick:function(){function h(){return s("wipe_all_logs")}return h}()}),children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Crewman"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Old Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"New Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Authorized By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Reason"}),!!d.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),d.records.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.transferee}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.oldvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.newvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.whodidit}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.timestamp}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.reason}),!!d.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.deletedby})]},h.timestamp)})]}),!!d.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!d.authenticated||d.records.length===0,onClick:function(){function h(){return s("wipe_my_logs")}return h}()})})]}):v=(0,e.createComponentVNode)(2,p):v=(0,e.createComponentVNode)(2,S);break;case 4:!d.authenticated||!d.scan_name?v=(0,e.createComponentVNode)(2,S):v=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Your Team",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Sec Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Actions"})]}),d.people_dept.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.crimstat}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:h.buttontext,disabled:!h.demotable,onClick:function(){function V(){return s("remote_demote",{remote_demote:h.name})}return V}()})})]},h.title)})]})});break;default:v=(0,e.createComponentVNode)(2,t.Section,{title:"Warning",color:"red",children:"ERROR: Unknown Mode."})}return(0,e.createComponentVNode)(2,o.Window,{width:800,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:g}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:C}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:v})]})})})}return c}()},62486:function(L,r,n){"use strict";r.__esModule=!0,r.CargoConsole=void 0;var e=n(28823),a=n(90955),t=n(72026),o=n(91819),m=n(2971),N=n(84947),y=n(37843),S=r.CargoConsole=function(){function u(s,d){return(0,e.createComponentVNode)(2,N.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,i)]})})})}return u}(),k=function(s,d){var C=(0,o.useLocalState)(d,"contentsModal",null),g=C[0],v=C[1],h=(0,o.useLocalState)(d,"contentsModalTitle",null),V=h[0],b=h[1];if(g!==null&&V!==null)return(0,e.createComponentVNode)(2,m.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,m.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[V,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,m.Box,{children:g.map(function(B){return(0,e.createComponentVNode)(2,m.Box,{children:["- ",B]},B)})}),(0,e.createComponentVNode)(2,m.Box,{m:2,children:(0,e.createComponentVNode)(2,m.Button,{content:"Close",onClick:function(){function B(){v(null),b(null)}return B}()})})]})},p=function(s,d){var C=(0,o.useBackend)(d),g=C.act,v=C.data,h=v.is_public,V=v.timeleft,b=v.moving,B=v.at_station,I,w;return!b&&!B?(I="Docked off-station",w="Call Shuttle"):!b&&B?(I="Docked at the station",w="Return Shuttle"):b&&(w="In Transit...",V!==1?I="Shuttle is en route (ETA: "+V+" minutes)":I="Shuttle is en route (ETA: "+V+" minute)"),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{title:"Status",children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Shuttle Status",children:I}),h===0&&(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,m.Button,{content:w,disabled:b,onClick:function(){function T(){return g("moveShuttle")}return T}()}),(0,e.createComponentVNode)(2,m.Button,{content:"View Central Command Messages",onClick:function(){function T(){return g("showMessages")}return T}()})]})]})})})},l=function(s,d){var C,g=(0,o.useBackend)(d),v=g.act,h=g.data,V=h.accounts,b=(0,o.useLocalState)(d,"selectedAccount"),B=b[0],I=b[1],w=[];return V.map(function(T){return w[T.name]=T.account_UID}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{title:"Payment",children:[(0,e.createComponentVNode)(2,m.Dropdown,{width:"190px",options:V.map(function(T){return T.name}),selected:(C=V.filter(function(T){return T.account_UID===B})[0])==null?void 0:C.name,onSelected:function(){function T(A){return I(w[A])}return T}()}),V.filter(function(T){return T.account_UID===B}).map(function(T){return(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Account Name",children:(0,e.createComponentVNode)(2,m.Stack.Item,{mt:1,children:T.name})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Balance",children:(0,e.createComponentVNode)(2,m.Stack.Item,{children:T.balance})})]},T.account_UID)})]})})},c=function(s,d){var C=(0,o.useBackend)(d),g=C.act,v=C.data,h=v.requests,V=v.categories,b=v.supply_packs,B=(0,o.useSharedState)(d,"category","Emergency"),I=B[0],w=B[1],T=(0,o.useSharedState)(d,"search_text",""),A=T[0],x=T[1],E=(0,o.useLocalState)(d,"contentsModal",null),P=E[0],D=E[1],M=(0,o.useLocalState)(d,"contentsModalTitle",null),O=M[0],j=M[1],F=(0,y.createSearch)(A,function(Y){return Y.name}),U=(0,o.useLocalState)(d,"selectedAccount"),_=U[0],z=U[1],H=(0,a.flow)([(0,t.filter)(function(Y){return Y.cat===V.filter(function(X){return X.name===I})[0].category||A}),A&&(0,t.filter)(F),(0,t.sortBy)(function(Y){return Y.name.toLowerCase()})])(b),$="Crate Catalogue";return A?$="Results for '"+A+"':":I&&($="Browsing "+I),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{title:$,buttons:(0,e.createComponentVNode)(2,m.Dropdown,{width:"190px",options:V.map(function(Y){return Y.name}),selected:I,onSelected:function(){function Y(X){return w(X)}return Y}()}),children:[(0,e.createComponentVNode)(2,m.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function Y(X,re){return x(re)}return Y}(),mb:1}),(0,e.createComponentVNode)(2,m.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:H.map(function(Y){return(0,e.createComponentVNode)(2,m.Table.Row,{children:[(0,e.createComponentVNode)(2,m.Table.Cell,{bold:!0,children:[Y.name," (",Y.cost," Credits)"]}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,m.Button,{content:"Order 1",icon:"shopping-cart",disabled:!_,onClick:function(){function X(){return g("order",{crate:Y.ref,multiple:!1,account:_})}return X}()}),(0,e.createComponentVNode)(2,m.Button,{content:"Order Multiple",icon:"cart-plus",disabled:!_||Y.singleton,onClick:function(){function X(){return g("order",{crate:Y.ref,multiple:!0,account:_})}return X}()}),(0,e.createComponentVNode)(2,m.Button,{content:"View Contents",icon:"search",onClick:function(){function X(){D(Y.contents),j(Y.name)}return X}()})]})]},Y.name)})})})]})})},f=function(s,d){var C=s.request,g,v;switch(C.department){case"Engineering":v="CE",g="orange";break;case"Medical":v="CMO",g="teal";break;case"Science":v="RD",g="purple";break;case"Supply":v="CT",g="brown";break;case"Service":v="HOP",g="olive";break;case"Security":v="HOS",g="red";break;case"Command":v="CAP",g="blue";break;case"Assistant":v="Any Head",g="grey";break}return(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{mt:.5,children:"Approval Required:"}),!!C.req_cargo_approval&&(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button,{color:"brown",content:"QM",icon:"user-tie",tooltip:"This Order requires approval from the QM still"})}),!!C.req_head_approval&&(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button,{color:g,content:v,disabled:C.req_cargo_approval,icon:"user-tie",tooltip:C.req_cargo_approval?"This Order first requires approval from the QM before the "+v+" can approve it":"This Order requires approval from the "+v+" still"})})]})},i=function(s,d){var C=(0,o.useBackend)(d),g=C.act,v=C.data,h=v.requests,V=v.orders,b=v.shipments;return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,title:"Orders",children:[(0,e.createComponentVNode)(2,m.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,m.Table,{children:h.map(function(B){return(0,e.createComponentVNode)(2,m.Table.Row,{className:"Cargo_RequestList",children:[(0,e.createComponentVNode)(2,m.Table.Cell,{mb:1,children:[(0,e.createComponentVNode)(2,m.Box,{children:["Order #",B.ordernum,": ",B.supply_type," (",B.cost," credits) for"," ",(0,e.createVNode)(1,"b",null,B.orderedby,0)," with"," ",B.department?"The "+B.department+" Department":"Their Personal"," ","Account"]}),(0,e.createComponentVNode)(2,m.Box,{italic:!0,children:["Reason: ",B.comment]}),(0,e.createComponentVNode)(2,f,{request:B})]}),(0,e.createComponentVNode)(2,m.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,m.Button,{content:"Approve",color:"green",disabled:!B.can_approve,onClick:function(){function I(){return g("approve",{ordernum:B.ordernum})}return I}()}),(0,e.createComponentVNode)(2,m.Button,{content:"Deny",color:"red",disabled:!B.can_deny,onClick:function(){function I(){return g("deny",{ordernum:B.ordernum})}return I}()})]})]},B.ordernum)})}),(0,e.createComponentVNode)(2,m.Box,{bold:!0,children:"Orders Awaiting Delivery"}),(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:V.map(function(B){return(0,e.createComponentVNode)(2,m.Table.Row,{children:(0,e.createComponentVNode)(2,m.Table.Cell,{children:[(0,e.createComponentVNode)(2,m.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,m.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})}),(0,e.createComponentVNode)(2,m.Box,{bold:!0,children:"Order in Transit"}),(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:b.map(function(B){return(0,e.createComponentVNode)(2,m.Table.Row,{children:(0,e.createComponentVNode)(2,m.Table.Cell,{children:[(0,e.createComponentVNode)(2,m.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,m.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})})]})}},86885:function(L,r,n){"use strict";r.__esModule=!0,r.ChangelogView=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.ChangelogView=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=(0,a.useLocalState)(S,"onlyRecent",0),f=c[0],i=c[1],u=l.cl_data,s=l.last_cl,d={FIX:(0,e.createComponentVNode)(2,t.Icon,{name:"tools",title:"Fix"}),WIP:(0,e.createComponentVNode)(2,t.Icon,{name:"hard-hat",title:"WIP",color:"orange"}),TWEAK:(0,e.createComponentVNode)(2,t.Icon,{name:"sliders-h",title:"Tweak"}),SOUNDADD:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",title:"Sound Added",color:"green"}),SOUNDDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-mute",title:"Sound Removed",color:"red"}),CODEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",title:"Code Addition",color:"green"}),CODEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"minus",title:"Code Removal",color:"red"}),IMAGEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-plus",title:"Sprite Addition",color:"green"}),IMAGEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-minus",title:"Sprite Removal",color:"red"}),SPELLCHECK:(0,e.createComponentVNode)(2,t.Icon,{name:"font",title:"Spelling/Grammar Fix"}),EXPERIMENT:(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle",title:"Experimental",color:"orange"})},C=function(){function g(v){return v in d?d[v]:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",color:"green"})}return g}();return(0,e.createComponentVNode)(2,o.Window,{width:750,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"ParadiseSS13 Changelog",mt:2,buttons:(0,e.createComponentVNode)(2,t.Button,{content:f?"Showing all changes":"Showing changes since last connection",onClick:function(){function g(){return i(!f)}return g}()}),children:u.map(function(g){return!f&&g.merge_ts<=s||(0,e.createComponentVNode)(2,t.Section,{mb:2,title:g.author+" - Merged on "+g.merge_date,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"#"+g.num,onClick:function(){function v(){return p("open_pr",{pr_number:g.num})}return v}()}),children:g.entries.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:[C(v.etype)," ",v.etext]},v)})},g)})})})})}return N}()},56975:function(L,r,n){"use strict";r.__esModule=!0,r.ChemDispenser=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(83326),m=n(84947),N=[1,5,10,20,30,50],y=[1,5,10],S=r.ChemDispenser=function(){function c(f,i){var u=(0,a.useBackend)(i),s=u.act,d=u.data,C=d.chemicals;return(0,e.createComponentVNode)(2,m.Window,{width:400,height:400+C.length*8,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,l)]})})})}return c}(),k=function(f,i){var u=(0,a.useBackend)(i),s=u.act,d=u.data,C=d.amount,g=d.energy,v=d.maxEnergy;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:g,minValue:0,maxValue:v,ranges:{good:[v*.5,1/0],average:[v*.25,v*.5],bad:[-1/0,v*.25]},children:[g," / ",v," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:N.map(function(h,V){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:C===h,content:h,onClick:function(){function b(){return s("amount",{amount:h})}return b}()})},V)})})})]})})})},p=function(f,i){for(var u=(0,a.useBackend)(i),s=u.act,d=u.data,C=d.chemicals,g=C===void 0?[]:C,v=[],h=0;h<(g.length+1)%3;h++)v.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:d.glass?"Drink Dispenser":"Chemical Dispenser",children:[g.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:V.title,style:{"margin-left":"2px"},onClick:function(){function B(){return s("dispense",{reagent:V.id})}return B}()},b)}),v.map(function(V,b){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},b)})]})})},l=function(f,i){var u=(0,a.useBackend)(i),s=u.act,d=u.data,C=d.isBeakerLoaded,g=d.beakerCurrentVolume,v=d.beakerMaxVolume,h=d.beakerContents,V=h===void 0?[]:h;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:d.glass?"Glass":"Beaker",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{children:[!!C&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[g," / ",v," units"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!C,onClick:function(){function b(){return s("ejectBeaker")}return b}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:C,beakerContents:V,buttons:function(){function b(B){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:-1})}return I}()}),y.map(function(I,w){return(0,e.createComponentVNode)(2,t.Button,{content:I,onClick:function(){function T(){return s("remove",{reagent:B.id,amount:I})}return T}()},w)}),(0,e.createComponentVNode)(2,t.Button,{content:"ALL",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:B.volume})}return I}()})],0)}return b}()})})})}},48734:function(L,r,n){"use strict";r.__esModule=!0,r.ChemHeater=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=n(83326),N=n(84947),y=r.ChemHeater=function(){function p(l,c){return(0,e.createComponentVNode)(2,N.Window,{width:350,height:275,children:(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k)]})})})}return p}(),S=function(l,c){var f=(0,t.useBackend)(c),i=f.act,u=f.data,s=u.targetTemp,d=u.targetTempReached,C=u.autoEject,g=u.isActive,v=u.currentTemp,h=u.isBeakerLoaded;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Settings",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Auto-eject",icon:C?"toggle-on":"toggle-off",selected:C,onClick:function(){function V(){return i("toggle_autoeject")}return V}()}),(0,e.createComponentVNode)(2,o.Button,{content:g?"On":"Off",icon:"power-off",selected:g,disabled:!h,onClick:function(){function V(){return i("toggle_on")}return V}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,a.round)(s,0),minValue:0,maxValue:1e3,onDrag:function(){function V(b,B){return i("adjust_temperature",{target:B})}return V}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Reading",color:d?"good":"average",children:h&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:v,format:function(){function V(b){return(0,a.toFixed)(b)+" K"}return V}()})||"\u2014"})]})})})},k=function(l,c){var f=(0,t.useBackend)(c),i=f.act,u=f.data,s=u.isBeakerLoaded,d=u.beakerCurrentVolume,C=u.beakerMaxVolume,g=u.beakerContents;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:!!s&&(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",mr:2,children:[d," / ",C," units"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function v(){return i("eject_beaker")}return v}()})]}),children:(0,e.createComponentVNode)(2,m.BeakerContents,{beakerLoaded:s,beakerContents:g})})})}},35918:function(L,r,n){"use strict";r.__esModule=!0,r.ChemMaster=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(83326),N=n(22677),y=n(66586),S=n(50175),k=["icon"];function p(x,E){if(x==null)return{};var P={},D=Object.keys(x),M,O;for(O=0;O<D.length;O++)M=D[O],!(E.indexOf(M)>=0)&&(P[M]=x[M]);return P}function l(x,E){x.prototype=Object.create(E.prototype),x.prototype.constructor=x,c(x,E)}function c(x,E){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function P(D,M){return D.__proto__=M,D}return P}(),c(x,E)}var f=(0,S.createLogger)("ChemMaster"),i=[1,5,10],u=function(E,P){var D=(0,a.useBackend)(P),M=D.act,O=D.data,j=E.args.analysis;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:O.condi?"Condiment Analysis":"Reagent Analysis",children:(0,e.createComponentVNode)(2,t.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:j.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:(j.desc||"").length>0?j.desc:"N/A"}),j.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood type",children:j.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:j.blood_dna})],4),!O.condi&&(0,e.createComponentVNode)(2,t.Button,{icon:O.printing?"spinner":"print",disabled:O.printing,iconSpin:!!O.printing,ml:"0.5rem",content:"Print",onClick:function(){function F(){return M("print",{idx:j.idx,beaker:E.args.beaker})}return F}()})]})})})})},s=r.ChemMaster=function(){function x(E,P){var D=(0,a.useBackend)(P),M=D.data,O=M.condi,j=M.beaker,F=M.beaker_reagents,U=F===void 0?[]:F,_=M.buffer_reagents,z=_===void 0?[]:_,H=M.mode;return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,N.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,d,{beaker:j,beakerReagents:U,bufferNonEmpty:z.length>0}),(0,e.createComponentVNode)(2,C,{mode:H,bufferReagents:z}),(0,e.createComponentVNode)(2,g,{isCondiment:O,bufferNonEmpty:z.length>0}),(0,e.createComponentVNode)(2,A)]})})]})}return x}(),d=function(E,P){var D=(0,a.useBackend)(P),M=D.act,O=E.beaker,j=E.beakerReagents,F=E.bufferNonEmpty;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:F?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!O,content:"Eject and Clear Buffer",onClick:function(){function U(){return M("eject")}return U}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!O,content:"Eject and Clear Buffer",onClick:function(){function U(){return M("eject")}return U}()}),children:O?(0,e.createComponentVNode)(2,m.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function U(_,z){return(0,e.createComponentVNode)(2,t.Box,{mb:z<j.length-1&&"2px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Analyze",mb:"0",onClick:function(){function H(){return(0,N.modalOpen)(P,"analyze",{idx:z+1,beaker:1})}return H}()}),i.map(function(H,$){return(0,e.createComponentVNode)(2,t.Button,{content:H,mb:"0",onClick:function(){function Y(){return M("add",{id:_.id,amount:H})}return Y}()},$)}),(0,e.createComponentVNode)(2,t.Button,{content:"All",mb:"0",onClick:function(){function H(){return M("add",{id:_.id,amount:_.volume})}return H}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Custom..",mb:"0",onClick:function(){function H(){return(0,N.modalOpen)(P,"addcustom",{id:_.id})}return H}()})]})}return U}()}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No beaker loaded."})})})},C=function(E,P){var D=(0,a.useBackend)(P),M=D.act,O=E.mode,j=E.bufferReagents,F=j===void 0?[]:j;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Buffer",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{color:"label",children:["Transferring to\xA0",(0,e.createComponentVNode)(2,t.Button,{icon:O?"flask":"trash",color:!O&&"bad",content:O?"Beaker":"Disposal",onClick:function(){function U(){return M("toggle")}return U}()})]}),children:F.length>0?(0,e.createComponentVNode)(2,m.BeakerContents,{beakerLoaded:!0,beakerContents:F,buttons:function(){function U(_,z){return(0,e.createComponentVNode)(2,t.Box,{mb:z<F.length-1&&"2px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Analyze",mb:"0",onClick:function(){function H(){return(0,N.modalOpen)(P,"analyze",{idx:z+1,beaker:0})}return H}()}),i.map(function(H,$){return(0,e.createComponentVNode)(2,t.Button,{content:H,mb:"0",onClick:function(){function Y(){return M("remove",{id:_.id,amount:H})}return Y}()},$)}),(0,e.createComponentVNode)(2,t.Button,{content:"All",mb:"0",onClick:function(){function H(){return M("remove",{id:_.id,amount:_.volume})}return H}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Custom..",mb:"0",onClick:function(){function H(){return(0,N.modalOpen)(P,"removecustom",{id:_.id})}return H}()})]})}return U}()}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Buffer is empty."})})})},g=function(E,P){var D=(0,a.useBackend)(P),M=D.act;return!E.bufferNonEmpty&&E.isCondiment?(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Production",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tint-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"Buffer is empty."]})})})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Production",children:E.isCondiment?(0,e.createComponentVNode)(2,T):(0,e.createComponentVNode)(2,v)})})},v=function(E,P){var D=(0,a.useBackend)(P),M=D.act,O=D.data,j=[{name:"Pills",icon:"pills"},{name:"Patches",icon:"plus-square"},{name:"Bottles",icon:"wine-bottle"}],F=function(_){switch(_){case 1:return(0,e.createComponentVNode)(2,B);case 2:return(0,e.createComponentVNode)(2,I);case 3:return(0,e.createComponentVNode)(2,w);default:return"UNKNOWN INTERFACE"}};return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Tabs,{children:j.map(function(U,_){return _+=1,(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:U.icon,selected:O.production_mode===_,onClick:function(){function z(){return M("set_production_mode",{mode:_})}return z}(),children:U.name},_)})}),F(O.production_mode)],0)},h=function(x){l(E,x);function E(){var D;return D=x.call(this)||this,D.handleMouseUp=function(M){var O=D.props,j=O.placeholder,F=O.onMouseUp;M.button===1&&(M.target.value=j,M.target.select()),F&&F(M)},D}var P=E.prototype;return P.render=function(){function D(){var M=(0,a.useBackend)(this.context),O=M.data,j=O.maxnamelength;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Input,Object.assign({maxLength:j,onMouseUp:this.handleMouseUp},this.props)))}return D}(),E}(e.Component),V=function(E,P){var D=(0,a.useBackend)(P),M=D.act,O=D.data,j=E.children,F=E.maxQuantity,U=E.medicineName,_=E.placeholderName,z=E.productionType,H=E.quantity,$=O.buffer_reagents,Y=$===void 0?[]:$;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[j,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Quantity",children:(0,e.createComponentVNode)(2,t.Slider,{value:H,minValue:1,maxValue:F,onChange:function(){function X(re,ae){return M("set_"+z+"_amount",{amount:ae})}return X}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,h,{fluid:!0,value:U,placeholder:_,onChange:function(){function X(re,ae){return M("set_"+z+"_name",{name:ae})}return X}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Create",color:"green",disabled:Y.length<=0,onClick:function(){function X(){return M("create_"+z)}return X}()})})]})},b=function(E,P){var D=E.icon,M=p(E,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({style:{padding:0,"line-height":0}},M,{children:(0,e.createComponentVNode)(2,t.Box,{className:(0,y.classes)(["chem_master32x32",D])})})))},B=function(E,P){var D=(0,a.useBackend)(P),M=D.act,O=D.data,j=O.maxpills,F=O.pillamount,U=O.pillname,_=O.pillplaceholdername,z=O.pillsprite,H=O.pillstyles,$=H.map(function(Y){var X=Y.id,re=Y.sprite;return(0,e.createComponentVNode)(2,b,{icon:re,color:"translucent",onClick:function(){function ae(){return M("set_pills_style",{style:X})}return ae}(),selected:z===X},X)});return(0,e.createComponentVNode)(2,V,{maxQuantity:j,medicineName:U,placeholderName:_,productionType:"pills",quantity:F,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:$})})},I=function(E,P){var D=(0,a.useBackend)(P),M=D.act,O=D.data,j=O.maxpatches,F=O.patchamount,U=O.patchname,_=O.patchplaceholdername;return(0,e.createComponentVNode)(2,V,{maxQuantity:j,medicineName:U,placeholderName:_,productionType:"patches",quantity:F})},w=function(E,P){var D=(0,a.useBackend)(P),M=D.act,O=D.data,j=O.bottlesprite,F=O.maxbottles,U=O.bottleamount,_=O.bottlename,z=O.bottleplaceholdername,H=O.bottlestyles,$=H.map(function(Y){var X=Y.id,re=Y.sprite;return(0,e.createComponentVNode)(2,b,{icon:re,color:"translucent",onClick:function(){function ae(){return M("set_bottles_style",{style:X})}return ae}(),selected:j===X},X)});return(0,e.createComponentVNode)(2,V,{maxQuantity:F,medicineName:_,placeholderName:z,productionType:"bottles",quantity:U,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:$})})},T=function(E,P){var D=(0,a.useBackend)(P),M=D.act;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"box",content:"Create condiment pack (10u max)",mb:"0.5rem",onClick:function(){function O(){return(0,N.modalOpen)(P,"create_condi_pack")}return O}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"wine-bottle",content:"Create bottle (50u max)",mb:"0",onClick:function(){function O(){return M("create_condi_bottle")}return O}()})],4)},A=function(E,P){var D=(0,a.useBackend)(P),M=D.act,O=D.data,j=O.loaded_pill_bottle_style,F=O.containerstyles,U=O.loaded_pill_bottle,_={width:"20px",height:"20px"},z=F.map(function(H){var $=H.color,Y=H.name,X=j===$;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:_.width,height:_.height},onClick:function(){function re(){return M("set_container_style",{style:$})}return re}(),icon:X&&"check",iconStyle:{position:"relative","z-index":1},tooltip:Y,tooltipPosition:"top",children:[!X&&(0,e.createVNode)(1,"div",null,null,1,{style:{display:"inline-block"}}),(0,e.createVNode)(1,"span","Button",null,1,{style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:_.width,height:_.height,"background-color":$,opacity:.6,filter:"alpha(opacity=60)"}})]},$)});return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Container Customization",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!U,content:"Eject Container",onClick:function(){function H(){return M("ejectp")}return H}()}),children:U?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",style:{position:"relative"},children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:_.width,height:_.height},icon:"tint-slash",onClick:function(){function H(){return M("clear_container_style")}return H}(),selected:!j,tooltip:"Default",tooltipPosition:"top"}),z]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,N.modalRegisterBodyOverride)("analyze",u)},8573:function(L,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(96820),N=1,y=32,S=128,k=r.CloningConsole=function(){function u(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.tab,V=v.has_scanner,b=v.pod_amount;return(0,e.createComponentVNode)(2,o.Window,{width:640,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cloning Console",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected scanner",children:V?"Online":"Missing"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected pods",children:b})]})}),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===1,icon:"home",onClick:function(){function B(){return g("menu",{tab:1})}return B}(),children:"Main Menu"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===2,icon:"user",onClick:function(){function B(){return g("menu",{tab:2})}return B}(),children:"Damage Configuration"})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,p)})]})})}return u}(),p=function(s,d){var C=(0,a.useBackend)(d),g=C.data,v=g.tab,h;return v===1?h=(0,e.createComponentVNode)(2,l):v===2&&(h=(0,e.createComponentVNode)(2,c)),h},l=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.pods,V=v.pod_amount,b=v.selected_pod_UID;return(0,e.createComponentVNode)(2,t.Box,{children:[!V&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No pods connected."}),!!V&&h.map(function(B,I){return(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Pod "+(I+1),children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"96px",shrink:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,m.resolveAsset)("pod_"+(B.cloning?"cloning":"idle")+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,e.createComponentVNode)(2,t.Button,{selected:b===B.uid,onClick:function(){function w(){return g("select_pod",{uid:B.uid})}return w}(),children:"Select"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Progress",children:[!B.cloning&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Pod is inactive."}),!!B.cloning&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.clone_progress,maxValue:100,color:"good"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.biomass,ranges:{good:[2*B.biomass_storage_capacity/3,B.biomass_storage_capacity],average:[B.biomass_storage_capacity/3,2*B.biomass_storage_capacity/3],bad:[0,B.biomass_storage_capacity/3]},minValue:0,maxValue:B.biomass_storage_capacity,children:[B.biomass,"/",B.biomass_storage_capacity+" ("+100*B.biomass/B.biomass_storage_capacity+"%)"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sanguine Reagent",children:B.sanguine_reagent}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Osseous Reagent",children:B.osseous_reagent})]})})]})},B)})]})},c=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.selected_pod_data,V=v.has_scanned,b=v.scanner_has_patient,B=v.feedback,I=v.scan_successful,w=v.cloning_cost,T=v.has_scanner;return(0,e.createComponentVNode)(2,t.Box,{children:[!T&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No scanner connected."}),!!T&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Scanner Info",buttons:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hourglass-half",onClick:function(){function A(){return g("scan")}return A}(),children:"Scan"}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function A(){return g("eject")}return A}(),children:"Eject Patient"})]}),children:[!V&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:b?"No scan detected for current patient.":"No patient is in the scanner."}),!!V&&(0,e.createComponentVNode)(2,t.Box,{color:B.color,children:B.text})]}),(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Damages Breakdown",children:(0,e.createComponentVNode)(2,t.Box,{children:[(!I||!V)&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No valid scan detected."}),!!I&&!!V&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function A(){return g("fix_all")}return A}(),children:"Repair All Damages"}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function A(){return g("fix_none")}return A}(),children:"Repair No Damages"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function A(){return g("clone")}return A}(),children:"Clone"})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w[0],maxValue:h.biomass_storage_capacity,ranges:{bad:[2*h.biomass_storage_capacity/3,h.biomass_storage_capacity],average:[h.biomass_storage_capacity/3,2*h.biomass_storage_capacity/3],good:[0,h.biomass_storage_capacity/3]},color:w[0]>h.biomass?"bad":null,children:["Biomass: ",w[0],"/",h.biomass,"/",h.biomass_storage_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w[1],maxValue:h.max_reagent_capacity,ranges:{bad:[2*h.max_reagent_capacity/3,h.max_reagent_capacity],average:[h.max_reagent_capacity/3,2*h.max_reagent_capacity/3],good:[0,h.max_reagent_capacity/3]},color:w[1]>h.sanguine_reagent?"bad":"good",children:["Sanguine: ",w[1],"/",h.sanguine_reagent,"/",h.max_reagent_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w[2],maxValue:h.max_reagent_capacity,ranges:{bad:[2*h.max_reagent_capacity/3,h.max_reagent_capacity],average:[h.max_reagent_capacity/3,2*h.max_reagent_capacity/3],good:[0,h.max_reagent_capacity/3]},color:w[2]>h.osseous_reagent?"bad":"good",children:["Osseous: ",w[2],"/",h.osseous_reagent,"/",h.max_reagent_capacity]})})]}),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,i)]})]})})]})]})},f=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.patient_limb_data,V=v.limb_list,b=v.desired_limb_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Limbs",children:V.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"15%",height:"20px",children:[h[B][4],":"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),h[B][3]===0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:b[B][0]+b[B][1],maxValue:h[B][5],ranges:{good:[0,h[B][5]/3],average:[h[B][5]/3,2*h[B][5]/3],bad:[2*h[B][5]/3,h[B][5]]},children:["Post-Cloning Damage: ",(0,e.createComponentVNode)(2,t.Icon,{name:"bone"})," "+b[B][0]+" / ",(0,e.createComponentVNode)(2,t.Icon,{name:"fire"})," "+b[B][1]]})}),h[B][3]!==0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",h[B][4]," is missing!"]})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[!!h[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!b[B][3],onClick:function(){function w(){return g("toggle_limb_repair",{limb:B,type:"replace"})}return w}(),children:"Replace Limb"})}),!h[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(h[B][0]||h[B][1]),checked:!(b[B][0]||b[B][1]),onClick:function(){function w(){return g("toggle_limb_repair",{limb:B,type:"damage"})}return w}(),children:"Repair Damages"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(h[B][2]&N),checked:!(b[B][2]&N),onClick:function(){function w(){return g("toggle_limb_repair",{limb:B,type:"bone"})}return w}(),children:"Mend Bone"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(h[B][2]&y),checked:!(b[B][2]&y),onClick:function(){function w(){return g("toggle_limb_repair",{limb:B,type:"ib"})}return w}(),children:"Mend IB"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(h[B][2]&S),checked:!(b[B][2]&S),onClick:function(){function w(){return g("toggle_limb_repair",{limb:B,type:"critburn"})}return w}(),children:"Mend Critical Burn"})]})]})]},B)})})},i=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.patient_organ_data,V=v.organ_list,b=v.desired_organ_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Organs",children:V.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"20%",height:"20px",children:[h[B][3],":"," "]}),h[B][5]!=="heart"&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!!h[B][2]&&(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!b[B][2]&&!b[B][1],onClick:function(){function w(){return g("toggle_organ_repair",{organ:B,type:"replace"})}return w}(),children:"Replace Organ"}),!h[B][2]&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!h[B][0],checked:!b[B][0],onClick:function(){function w(){return g("toggle_organ_repair",{organ:B,type:"damage"})}return w}(),children:"Repair Damages"})})]})}),h[B][5]==="heart"&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Heart replacement is required for cloning."}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[!!h[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",h[B][3]," is missing!"]}),!h[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:b[B][0],maxValue:h[B][4],ranges:{good:[0,h[B][4]/3],average:[h[B][4]/3,2*h[B][4]/3],bad:[2*h[B][4]/3,h[B][4]]},children:"Post-Cloning Damage: "+b[B][0]})]})]})},B)})})}},58378:function(L,r,n){"use strict";r.__esModule=!0,r.CloningPod=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.CloningPod=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.biomass,f=l.biomass_storage_capacity,i=l.sanguine_reagent,u=l.osseous_reagent,s=l.organs,d=l.currently_cloning;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Liquid Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Biomass:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:c,ranges:{good:[2*f/3,f],average:[f/3,2*f/3],bad:[0,f/3]},minValue:0,maxValue:f})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Sanguine Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:i+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:i,step:1,unit:"units",onChange:function(){function C(g,v){return p("remove_reagent",{reagent:"sanguine_reagent",amount:v})}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function C(){return p("purge_reagent",{reagent:"sanguine_reagent"})}return C}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Osseous Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:u+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:u,step:1,unit:"units",onChange:function(){function C(g,v){return p("remove_reagent",{reagent:"osseous_reagent",amount:v})}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function C(){return p("purge_reagent",{reagent:"osseous_reagent"})}return C}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Organ Storage",children:[!d&&(0,e.createComponentVNode)(2,t.Box,{children:[!s&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No organs loaded."}),!!s&&s.map(function(C){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:C.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",onClick:function(){function g(){return p("eject_organ",{organ_ref:C.ref})}return g}()})})]},C)})]}),!!d&&(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Unable to access organ storage while cloning."]})})]})]})})}return N}()},14283:function(L,r,n){"use strict";r.__esModule=!0,r.ColourMatrixTester=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.ColourMatrixTester=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.colour_data,f=[[{name:"RR",idx:0},{name:"RG",idx:1},{name:"RB",idx:2},{name:"RA",idx:3}],[{name:"GR",idx:4},{name:"GG",idx:5},{name:"GB",idx:6},{name:"GA",idx:7}],[{name:"BR",idx:8},{name:"BG",idx:9},{name:"BB",idx:10},{name:"BA",idx:11}],[{name:"AR",idx:12},{name:"AG",idx:13},{name:"AB",idx:14},{name:"AA",idx:15}]];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:190,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Matrix",children:f.map(function(i){return(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",textColor:"label",children:i.map(function(u){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:1,children:[u.name,":\xA0",(0,e.createComponentVNode)(2,t.NumberInput,{width:4,value:c[u.idx],step:.05,minValue:-5,maxValue:5,stepPixelSize:5,onChange:function(){function s(d,C){return p("setvalue",{idx:u.idx+1,value:C})}return s}()})]},u.name)})},i)})})})})})}return N}()},98577:function(L,r,n){"use strict";r.__esModule=!0,r.CommunicationsComputer=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=function(s){switch(s){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,l);case 3:return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,c)})});case 4:return(0,e.createComponentVNode)(2,i);default:return"ERROR. Unknown menu_state. Please contact NT Technical Support."}},N=r.CommunicationsComputer=function(){function u(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.menu_state;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y),m(h)]})})})}return u}(),y=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.authenticated,V=v.noauthbutton,b=v.esc_section,B=v.esc_callable,I=v.esc_recallable,w=v.esc_status,T=v.authhead,A=v.is_ai,x=v.lastCallLoc,E=!1,P;return h?h===1?P="Command":h===2?P="Captain":h===3?P="CentComm Officer":h===4?(P="CentComm Secure Connection",E=!0):P="ERROR: Report This Bug!":P="Not Logged In",(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authentication",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access",children:P})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{icon:h?"sign-out-alt":"id-card",selected:h,disabled:V,content:h?"Log Out ("+P+")":"Log In",onClick:function(){function D(){return g("auth")}return D}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!b&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Escape Shuttle",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!w&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:w}),!!B&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"Call Shuttle",disabled:!T,onClick:function(){function D(){return g("callshuttle")}return D}()})}),!!I&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Recall Shuttle",disabled:!T||A,onClick:function(){function D(){return g("cancelshuttle")}return D}()})}),!!x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Last Call/Recall From",children:x})]})})})],4)},S=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.is_admin;return h?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,p)},k=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.is_admin,V=v.gamma_armory_location,b=v.admin_levels,B=v.authenticated,I=v.ert_allowed;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"CentComm Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,f,{levels:b,required_access:h,use_confirm:1})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:"Make Central Announcement",disabled:!h,onClick:function(){function w(){return g("send_to_cc_announcement_page")}return w}()}),B===4&&(0,e.createComponentVNode)(2,t.Button,{icon:"plus",content:"Make Other Announcement",disabled:!h,onClick:function(){function w(){return g("make_other_announcement")}return w}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Response Team",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"Dispatch ERT",disabled:!h,onClick:function(){function w(){return g("dispatch_ert")}return w}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:I,content:I?"ERT calling enabled":"ERT calling disabled",tooltip:I?"Command can request an ERT":"ERTs cannot be requested",disabled:!h,onClick:function(){function w(){return g("toggle_ert_allowed")}return w}(),selected:null})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Get Authentication Codes",disabled:!h,onClick:function(){function w(){return g("send_nuke_codes")}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gamma Armory",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"biohazard",content:V?"Send Gamma Armory":"Recall Gamma Armory",disabled:!h,onClick:function(){function w(){return g("move_gamma_armory")}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"coins",content:"View Economy",disabled:!h,onClick:function(){function w(){return g("view_econ")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fax",content:"Fax Manager",disabled:!h,onClick:function(){function w(){return g("view_fax")}return w}()})]})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"View Command accessible controls",children:(0,e.createComponentVNode)(2,p)})]})},p=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.msg_cooldown,V=v.emagged,b=v.cc_cooldown,B=v.security_level_color,I=v.str_security_level,w=v.levels,T=v.authcapt,A=v.authhead,x=v.messages,E="Make Priority Announcement";h>0&&(E+=" ("+h+"s)");var P=V?"Message [UNKNOWN]":"Message CentComm",D="Request Authentication Codes";return b>0&&(P+=" ("+b+"s)",D+=" ("+b+"s)"),(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Captain-Only Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:B,children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,f,{levels:w,required_access:T})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:E,disabled:!T||h>0,onClick:function(){function M(){return g("announce")}return M}()})}),!!V&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:P,disabled:!T||b>0,onClick:function(){function M(){return g("MessageSyndicate")}return M}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!T,onClick:function(){function M(){return g("RestoreBackup")}return M}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:P,disabled:!T||b>0,onClick:function(){function M(){return g("MessageCentcomm")}return M}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:D,disabled:!T||b>0,onClick:function(){function M(){return g("nukerequest")}return M}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Command Staff Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Displays",children:(0,e.createComponentVNode)(2,t.Button,{icon:"tv",content:"Change Status Displays",disabled:!A,onClick:function(){function M(){return g("status")}return M}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Incoming Messages",children:(0,e.createComponentVNode)(2,t.Button,{icon:"folder-open",content:"View ("+x.length+")",disabled:!A,onClick:function(){function M(){return g("messagelist")}return M}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Misc",children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Restart Nano-Mob Hunter GO! Server",disabled:!A,onClick:function(){function M(){return g("RestartNanoMob")}return M}()})})]})})})],4)},l=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.stat_display,V=v.authhead,b=v.current_message_title,B=h.presets.map(function(w){return(0,e.createComponentVNode)(2,t.Button,{content:w.label,selected:w.name===h.type,disabled:!V,onClick:function(){function T(){return g("setstat",{statdisp:w.name})}return T}()},w.name)}),I=h.alerts.map(function(w){return(0,e.createComponentVNode)(2,t.Button,{content:w.label,selected:w.alert===h.icon,disabled:!V,onClick:function(){function T(){return g("setstat",{statdisp:3,alert:w.alert})}return T}()},w.alert)});return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Status Screens",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function w(){return g("main")}return w}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Presets",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alerts",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:h.line_1,disabled:!V,onClick:function(){function w(){return g("setmsg1")}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:h.line_2,disabled:!V,onClick:function(){function w(){return g("setmsg2")}return w}()})})]})})})},c=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.authhead,V=v.current_message_title,b=v.current_message,B=v.messages,I=v.security_level,w;if(V)w=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:V,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Return To Message List",disabled:!h,onClick:function(){function A(){return g("messagelist")}return A}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:b})})});else{var T=B.map(function(A){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:A.title,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eye",content:"View",disabled:!h||V===A.title,onClick:function(){function x(){return g("messagelist",{msgid:A.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"times",content:"Delete",disabled:!h,onClick:function(){function x(){return g("delmessage",{msgid:A.id})}return x}()})]},A.id)});w=(0,e.createComponentVNode)(2,t.Section,{title:"Messages Received",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function A(){return g("main")}return A}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:T})})}return(0,e.createComponentVNode)(2,t.Box,{children:w})},f=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=s.levels,V=s.required_access,b=s.use_confirm,B=v.security_level;return b?h.map(function(I){return(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:I.icon,content:I.name,disabled:!V||I.id===B,tooltip:I.tooltip,onClick:function(){function w(){return g("newalertlevel",{level:I.id})}return w}()},I.name)}):h.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{icon:I.icon,content:I.name,disabled:!V||I.id===B,tooltip:I.tooltip,onClick:function(){function w(){return g("newalertlevel",{level:I.id})}return w}()},I.name)})},i=function(s,d){var C=(0,a.useBackend)(d),g=C.act,v=C.data,h=v.is_admin,V=v.possible_cc_sounds;if(!h)return g("main");var b=(0,a.useLocalState)(d,"subtitle",""),B=b[0],I=b[1],w=(0,a.useLocalState)(d,"text",""),T=w[0],A=w[1],x=(0,a.useLocalState)(d,"classified",0),E=x[0],P=x[1],D=(0,a.useLocalState)(d,"beepsound","Beep"),M=D[0],O=D[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Central Command Report",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function j(){return g("main")}return j}()}),children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Subtitle here.",fluid:!0,value:B,onChange:function(){function j(F,U){return I(U)}return j}(),mb:"5px"}),(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Announcement here,\nMultiline input is accepted.",rows:10,fluid:!0,multiline:1,value:T,onChange:function(){function j(F,U){return A(U)}return j}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Send Announcement",fluid:!0,icon:"paper-plane",center:!0,mt:"5px",textAlign:"center",onClick:function(){function j(){return g("make_cc_announcement",{subtitle:B,text:T,classified:E,beepsound:M})}return j}()}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"260px",height:"20px",options:V,selected:M,onSelected:function(){function j(F){return O(F)}return j}(),disabled:E})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"volume-up",mx:"5px",disabled:E,tooltip:"Test sound",onClick:function(){function j(){return g("test_sound",{sound:M})}return j}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:E,content:"Classified",fluid:!0,tooltip:E?"Sent to station communications consoles":"Publically announced",onClick:function(){function j(){return P(!E)}return j}()})})]})]})})}},70611:function(L,r,n){"use strict";r.__esModule=!0,r.CompostBin=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.CompostBin=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.biomass,f=l.compost,i=l.biomass_capacity,u=l.compost_capacity,s=(0,a.useSharedState)(S,"vendAmount",1),d=s[0],C=s[1];return(0,e.createComponentVNode)(2,o.Window,{width:300,height:175,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{label:"Resources",children:[(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:1,width:17,value:c,minValue:0,maxValue:i,ranges:{good:[i*.5,1/0],average:[i*.25,i*.5],bad:[-1/0,i*.25]},children:[c," / ",i," Units"]})})})}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compost",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:17,value:f,minValue:0,maxValue:u,ranges:{good:[u*.5,1/0],average:[u*.25,u*.5],bad:[-1/0,u*.25]},children:[f," / ",u," Units"]})})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mr:"5px",color:"silver",children:"Soil clumps to make:"}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:d,width:"32px",minValue:1,maxValue:10,stepPixelSize:7,onChange:function(){function g(v,h){return C(h)}return g}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,align:"center",content:"Make Soil",disabled:f<25*d,icon:"arrow-circle-down",onClick:function(){function g(){return p("create",{amount:d})}return g}()})})})]})})})}return N}()},73744:function(L,r,n){"use strict";r.__esModule=!0,r.Contractor=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=n(73712),N=n(84947);function y(g,v){g.prototype=Object.create(v.prototype),g.prototype.constructor=g,S(g,v)}function S(g,v){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function h(V,b){return V.__proto__=b,V}return h}(),S(g,v)}var k={1:["ACTIVE","good"],2:["COMPLETED","good"],3:["FAILED","bad"]},p=["Recording biometric data...","Analyzing embedded syndicate info...","STATUS CONFIRMED","Contacting Syndicate database...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Response received, ack 4851234...","CONFIRM ACC "+Math.round(Math.random()*2e4),"Setting up private accounts...","CONTRACTOR ACCOUNT CREATED","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","CONTRACTS FOUND","WELCOME, AGENT"],l=r.Contractor=function(){function g(v,h){var V=(0,t.useBackend)(h),b=V.act,B=V.data,I;B.unauthorized?I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,d,{height:"100%",allMessages:["ERROR: UNAUTHORIZED USER"],finishedTimeout:100,onFinished:function(){function x(){}return x}()})}):B.load_animation_completed?I=(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",mt:"0.5rem",children:(0,e.createComponentVNode)(2,f)}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",overflow:"hidden",children:B.page===1?(0,e.createComponentVNode)(2,i,{height:"100%"}):(0,e.createComponentVNode)(2,s,{height:"100%"})})],4):I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,d,{height:"100%",allMessages:p,finishedTimeout:3e3,onFinished:function(){function x(){return b("complete_load_animation")}return x}()})});var w=(0,t.useLocalState)(h,"viewingPhoto",""),T=w[0],A=w[1];return(0,e.createComponentVNode)(2,N.Window,{theme:"syndicate",width:500,height:600,children:[T&&(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,N.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:I})})]})}return g}(),c=function(v,h){var V=(0,t.useBackend)(h),b=V.act,B=V.data,I=B.tc_available,w=B.tc_paid_out,T=B.completed_contracts,A=B.rep;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Summary",buttons:(0,e.createComponentVNode)(2,o.Box,{verticalAlign:"middle",mt:"0.25rem",children:[A," Rep"]})},v,{children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Available",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",children:[I," TC"]}),(0,e.createComponentVNode)(2,o.Button,{disabled:I<=0,content:"Claim",mx:"0.75rem",mb:"0",flexBasis:"content",onClick:function(){function x(){return b("claim")}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Earned",children:[w," TC"]})]})}),(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contracts Completed",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Box,{height:"20px",lineHeight:"20px",inline:!0,children:T})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},f=function(v,h){var V=(0,t.useBackend)(h),b=V.act,B=V.data,I=B.page;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Tabs,Object.assign({},v,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===1,onClick:function(){function w(){return b("page",{page:1})}return w}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===2,onClick:function(){function w(){return b("page",{page:2})}return w}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},i=function(v,h){var V=(0,t.useBackend)(h),b=V.act,B=V.data,I=B.contracts,w=B.contract_active,T=B.can_extract,A=!!w&&I.filter(function(M){return M.status===1})[0],x=A&&A.time_left>0,E=(0,t.useLocalState)(h,"viewingPhoto",""),P=E[0],D=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Contracts",overflow:"auto",buttons:(0,e.createComponentVNode)(2,o.Button,{disabled:!T||x,icon:"parachute-box",content:["Call Extraction",x&&(0,e.createComponentVNode)(2,m.Countdown,{timeLeft:A.time_left,format:function(){function M(O,j){return" ("+j.substr(3)+")"}return M}()})],onClick:function(){function M(){return b("extract")}return M}()})},v,{children:I.slice().sort(function(M,O){return M.status===1?-1:O.status===1?1:M.status-O.status}).map(function(M){var O;return(0,e.createComponentVNode)(2,o.Section,{title:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",color:M.status===1&&"good",children:M.target_name}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:M.has_photo&&(0,e.createComponentVNode)(2,o.Button,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){function j(){return D("target_photo_"+M.uid+".png")}return j}()})})]}),className:"Contractor__Contract",buttons:(0,e.createComponentVNode)(2,o.Box,{width:"100%",children:[!!k[M.status]&&(0,e.createComponentVNode)(2,o.Box,{color:k[M.status][1],inline:!0,mt:M.status!==1&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:k[M.status][0]}),M.status===1&&(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){function j(){return b("abort")}return j}()})]}),children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"2",mr:"0.5rem",children:[M.fluff_message,!!M.completed_time&&(0,e.createComponentVNode)(2,o.Box,{color:"good",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"check",mr:"0.5rem"}),"Contract completed at ",M.completed_time]}),!!M.dead_extraction&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",mt:"0.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"Telecrystals reward reduced drastically as the target was dead during extraction."]}),!!M.fail_reason&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"times",mr:"0.5rem"}),"Contract failed: ",M.fail_reason]})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{flexBasis:"100%",children:[(0,e.createComponentVNode)(2,o.Flex,{mb:"0.5rem",color:"label",children:["Extraction Zone:\xA0",u(M)]}),(O=M.difficulties)==null?void 0:O.map(function(j,F){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!w,content:j.name+" ("+j.reward+" TC)",onClick:function(){function U(){return b("activate",{uid:M.uid,difficulty:F+1})}return U}()},F)}),!!M.objective&&(0,e.createComponentVNode)(2,o.Box,{color:"white",bold:!0,children:[M.objective.extraction_name,(0,e.createVNode)(1,"br"),"(",(M.objective.rewards.tc||0)+" TC",",\xA0",(M.objective.rewards.credits||0)+" Credits",")"]})]})]})},M.uid)})})))},u=function(v){if(!(!v.objective||v.status>1)){var h=v.objective.locs.user_area_id,V=v.objective.locs.user_coords,b=v.objective.locs.target_area_id,B=v.objective.locs.target_coords,I=h===b;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:I?"dot-circle-o":"arrow-alt-circle-right-o",color:I?"green":"yellow",rotation:I?null:-(0,a.rad2deg)(Math.atan2(B[1]-V[1],B[0]-V[0])),lineHeight:I?null:"0.85",size:"1.5"})})}},s=function(v,h){var V=(0,t.useBackend)(h),b=V.act,B=V.data,I=B.rep,w=B.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},v,{children:w.map(function(T){return(0,e.createComponentVNode)(2,o.Section,{title:T.name,children:[T.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:I<T.cost||T.stock===0,icon:"shopping-cart",content:"Buy ("+T.cost+" Rep)",mt:"0.5rem",onClick:function(){function A(){return b("purchase",{uid:T.uid})}return A}()}),T.stock>-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:T.stock===0?"bad":"good",ml:"0.5rem",children:[T.stock," in stock"]})]},T.uid)})})))},d=function(g){y(v,g);function v(V){var b;return b=g.call(this,V)||this,b.timer=null,b.state={currentIndex:0,currentDisplay:[]},b}var h=v.prototype;return h.tick=function(){function V(){var b=this.props,B=this.state;if(B.currentIndex<=b.allMessages.length){this.setState(function(w){return{currentIndex:w.currentIndex+1}});var I=B.currentDisplay;I.push(b.allMessages[B.currentIndex])}else clearTimeout(this.timer),setTimeout(b.onFinished,b.finishedTimeout)}return V}(),h.componentDidMount=function(){function V(){var b=this,B=this.props.linesPerSecond,I=B===void 0?2.5:B;this.timer=setInterval(function(){return b.tick()},1e3/I)}return V}(),h.componentWillUnmount=function(){function V(){clearTimeout(this.timer)}return V}(),h.render=function(){function V(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(b){return(0,e.createFragment)([b,(0,e.createVNode)(1,"br")],0,b)})})}return V}(),v}(e.Component),C=function(v,h){var V=(0,t.useLocalState)(h,"viewingPhoto",""),b=V[0],B=V[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:b}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function I(){return B("")}return I}()})]})}},57392:function(L,r,n){"use strict";r.__esModule=!0,r.ConveyorSwitch=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.ConveyorSwitch=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.slowFactor,f=l.oneWay,i=l.position;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lever position",children:i>0?"forward":i<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!f,onClick:function(){function u(){return p("toggleOneWay")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slowdown factor",children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",onClick:function(){function u(){return p("slowFactor",{value:c-5})}return u}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-left",onClick:function(){function u(){return p("slowFactor",{value:c-1})}return u}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{width:"100px",mx:"1px",value:c,fillValue:c,minValue:1,maxValue:50,step:1,format:function(){function u(s){return s+"x"}return u}(),onChange:function(){function u(s,d){return p("slowFactor",{value:d})}return u}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-right",onClick:function(){function u(){return p("slowFactor",{value:c+1})}return u}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",onClick:function(){function u(){return p("slowFactor",{value:c+5})}return u}()})," "]})]})})]})})})})}return N}()},91413:function(L,r,n){"use strict";r.__esModule=!0,r.CrewMonitor=void 0;var e=n(28823),a=n(72026),t=n(37843),o=n(91819),m=n(2971),N=n(99753),y=n(30381),S=n(84947),k=function(u,s){return u.dead?"Deceased":parseInt(u.health,10)<=s?"Critical":parseInt(u.stat,10)===1?"Unconscious":"Living"},p=function(u,s){return u.dead?"red":parseInt(u.health,10)<=s?"orange":parseInt(u.stat,10)===1?"blue":"green"},l=r.CrewMonitor=function(){function i(u,s){var d=(0,o.useBackend)(s),C=d.act,g=d.data,v=(0,o.useLocalState)(s,"tabIndex",0),h=v[0],V=v[1],b=function(){function B(I){switch(I){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,f);default:return"WE SHOULDN'T BE HERE!"}}return B}();return(0,e.createComponentVNode)(2,S.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Tabs,{children:[(0,e.createComponentVNode)(2,m.Tabs.Tab,{icon:"table",selected:h===0,onClick:function(){function B(){return V(0)}return B}(),children:"Data View"},"DataView"),(0,e.createComponentVNode)(2,m.Tabs.Tab,{icon:"map-marked-alt",selected:h===1,onClick:function(){function B(){return V(1)}return B}(),children:"Map View"},"MapView")]})}),b(h)]})})})}return i}(),c=function(u,s){var d=(0,o.useBackend)(s),C=d.act,g=d.data,v=(0,a.sortBy)(function(A){return A.name})(g.crewmembers||[]),h=g.possible_levels,V=g.viewing_current_z_level,b=g.is_advanced,B=(0,o.useLocalState)(s,"search",""),I=B[0],w=B[1],T=(0,t.createSearch)(I,function(A){return A.name+"|"+A.assignment+"|"+A.area});return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,backgroundColor:"transparent",children:[(0,e.createComponentVNode)(2,m.Stack,{children:[(0,e.createComponentVNode)(2,m.Stack.Item,{width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,m.Input,{placeholder:"Search by name, assignment or location..",width:"100%",onInput:function(){function A(x,E){return w(E)}return A}()})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:b?(0,e.createComponentVNode)(2,m.Dropdown,{mr:"5px",width:"50px",options:h,selected:V,onSelected:function(){function A(x){return C("switch_level",{new_level:x})}return A}()}):null})]}),(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,m.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Location"})]}),v.filter(T).map(function(A){return(0,e.createComponentVNode)(2,m.Table.Row,{bold:!!A.is_command,children:[(0,e.createComponentVNode)(2,N.TableCell,{children:[A.name," (",A.assignment,")"]}),(0,e.createComponentVNode)(2,N.TableCell,{children:[(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:p(A,g.critThreshold),children:k(A,g.critThreshold)}),A.sensor_type>=2||g.ignoreSensors?(0,e.createComponentVNode)(2,m.Box,{inline:!0,ml:1,children:["(",(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:y.COLORS.damageType.oxy,children:A.oxy}),"|",(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:y.COLORS.damageType.toxin,children:A.tox}),"|",(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:y.COLORS.damageType.burn,children:A.fire}),"|",(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:y.COLORS.damageType.brute,children:A.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,N.TableCell,{children:A.sensor_type===3||g.ignoreSensors?g.isAI||g.isObserver?(0,e.createComponentVNode)(2,m.Button,{fluid:!0,icon:"location-arrow",content:A.area+" ("+A.x+", "+A.y+")",onClick:function(){function x(){return C("track",{track:A.ref})}return x}()}):A.area+" ("+A.x+", "+A.y+")":(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:"grey",children:"Not Available"})})]},A.name)})]})]})},f=function(u,s){var d=(0,o.useBackend)(s),C=d.act,g=d.data,v=(0,o.useLocalState)(s,"zoom",1),h=v[0],V=v[1];return(0,e.createComponentVNode)(2,m.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,m.NanoMap,{onZoom:function(){function b(B){return V(B)}return b}(),children:g.crewmembers.filter(function(b){return b.sensor_type===3||g.ignoreSensors}).map(function(b){return(0,e.createComponentVNode)(2,m.NanoMap.Marker,{x:b.x,y:b.y,zoom:h,icon:"circle",tooltip:b.name+" ("+b.assignment+")",color:p(b,g.critThreshold),onClick:function(){function B(){return g.isObserver?C("track",{track:b.ref}):null}return B}()},b.ref)})})})}},55104:function(L,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],N=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],y=r.Cryo=function(){function p(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:520,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S)})})})}return p}(),S=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.isOperating,d=u.hasOccupant,C=u.occupant,g=C===void 0?[]:C,v=u.cellTemperature,h=u.cellTemperatureStatus,V=u.isBeakerLoaded,b=u.cooldownProgress,B=u.auto_eject_healthy,I=u.auto_eject_dead;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",onClick:function(){function w(){return i("ejectOccupant")}return w}(),disabled:!d,children:"Eject"}),children:d?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:g.name||"Unknown"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:g.health,max:g.maxHealth,value:g.health/g.maxHealth,color:g.health>0?"good":"average",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(g.health)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:N[g.stat][0],children:N[g.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(g.bodyTemperature)})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),m.map(function(w){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:w.label,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:g[w.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(g[w.type])})})},w.id)})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Cell",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function w(){return i("ejectBeaker")}return w}(),disabled:!V,children:"Eject Beaker"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",onClick:function(){function w(){return i(s?"switchOff":"switchOn")}return w}(),selected:s,children:s?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",color:h,children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:v})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dosage interval",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{average:[-1/0,99],good:[99,1/0]},color:!V&&"average",value:b,minValue:0,maxValue:100})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject healthy occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:B?"toggle-on":"toggle-off",selected:B,onClick:function(){function w(){return i(B?"auto_eject_healthy_off":"auto_eject_healthy_on")}return w}(),children:B?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject dead occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"toggle-on":"toggle-off",selected:I,onClick:function(){function w(){return i(I?"auto_eject_dead_off":"auto_eject_dead_on")}return w}(),children:I?"On":"Off"})})]})})})],4)},k=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.isBeakerLoaded,d=u.beakerLabel,C=u.beakerVolume;return s?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!d&&"average",children:[d||"No label",":"]}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!C&&"bad",ml:1,children:C?(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:C,format:function(){function g(v){return Math.round(v)+" units remaining"}return g}()}):"Beaker is empty"})],4):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"bad",children:"No beaker loaded"})}},1763:function(L,r,n){"use strict";r.__esModule=!0,r.CryopodConsole=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(37843),N=r.CryopodConsole=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.data,i=f.account_name,u=f.allow_items;return(0,e.createComponentVNode)(2,o.Window,{title:"Cryopod Console",width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(i||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,y),!!u&&(0,e.createComponentVNode)(2,S)]})})}return k}(),y=function(p,l){var c=(0,a.useBackend)(l),f=c.data,i=f.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:i.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:i.map(function(u,s){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:u.name,children:u.rank},s)})})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored crew!"})})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.frozen_items,s=function(C){var g=C.toString();return g.startsWith("the ")&&(g=g.slice(4,g.length)),(0,m.toTitleCase)(g)};return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Items",children:u.length?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s(d.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function C(){return f("one_item",{item:d.uid})}return C}()})},d)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function d(){return f("all_items")}return d}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},69055:function(L,r,n){"use strict";r.__esModule=!0,r.DNAModifier=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(22677),N=[["good","Alive"],["average","Critical"],["bad","DEAD"]],y=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],S=[5,10,20,30,50],k=r.DNAModifier=function(){function h(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.irradiating,A=w.dnaBlockSize,x=w.occupant;b.dnaBlockSize=A,b.isDNAInvalid=!x.isViableSubject||!x.uniqueIdentity||!x.structuralEnzymes;var E;return T&&(E=(0,e.createComponentVNode)(2,g,{duration:T})),(0,e.createComponentVNode)(2,o.Window,{width:660,height:775,children:[(0,e.createComponentVNode)(2,m.ComplexModal),E,(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,p)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l)})]})})]})}return h}(),p=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.locked,A=w.hasOccupant,x=w.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A,selected:T,icon:T?"toggle-on":"toggle-off",content:T?"Engaged":"Disengaged",onClick:function(){function E(){return I("toggleLock")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A||T,icon:"user-slash",content:"Eject",onClick:function(){function E(){return I("ejectOccupant")}return E}()})],4),children:A?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:x.minHealth,max:x.maxHealth,value:x.health/x.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:N[x.stat][0],children:N[x.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),b.isDNAInvalid?(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radiation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:"0",max:"100",value:x.radiationLevel/100,color:"average"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:w.occupant.uniqueEnzymes?w.occupant.uniqueEnzymes:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 Unknown"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Cell unoccupied."})})},l=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.selectedMenuKey,A=w.hasOccupant,x=w.occupant;if(A){if(b.isDNAInvalid)return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No operation possible on this subject."]})})})}else return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant in DNA modifier."]})})});var E;return T==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,i)],4):T==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,i)],4):T==="buffer"?E=(0,e.createComponentVNode)(2,u):T==="rejuvenators"&&(E=(0,e.createComponentVNode)(2,C)),(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:y.map(function(P,D){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:P[2],selected:T===P[0],onClick:function(){function M(){return I("selectMenuKey",{key:P[0]})}return M}(),children:P[1]},D)})}),E]})},c=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.selectedUIBlock,A=w.selectedUISubBlock,x=w.selectedUITarget,E=w.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Unique Identifier",children:[(0,e.createComponentVNode)(2,v,{dnaString:E.uniqueIdentity,selectedBlock:T,selectedSubblock:A,blockSize:b.dnaBlockSize,action:"selectUIBlock"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:15,stepPixelSize:"20",value:x,format:function(){function P(D){return D.toString(16).toUpperCase()}return P}(),ml:"0",onChange:function(){function P(D,M){return I("changeUITarget",{value:M})}return P}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){function P(){return I("pulseUIRadiation")}return P}()})]})},f=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.selectedSEBlock,A=w.selectedSESubBlock,x=w.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Structural Enzymes",children:[(0,e.createComponentVNode)(2,v,{dnaString:x.structuralEnzymes,selectedBlock:T,selectedSubblock:A,blockSize:b.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){function E(){return I("pulseSERadiation")}return E}()})]})},i=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.radiationIntensity,A=w.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Emitter",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Intensity",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:T,popUpPosition:"right",ml:"0",onChange:function(){function x(E,P){return I("radiationIntensity",{value:P})}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:A,popUpPosition:"right",ml:"0",onChange:function(){function x(E,P){return I("radiationDuration",{value:P})}return x}()})})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-start",mt:"0.5rem",onClick:function(){function x(){return I("pulseRadiation")}return x}()})]})},u=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.buffers,A=T.map(function(x,E){return(0,e.createComponentVNode)(2,s,{id:E+1,name:"Buffer "+(E+1),buffer:x},E)});return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{height:"75%",mt:1,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Buffers",children:A})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,d)})]})},s=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=V.id,A=V.name,x=V.buffer,E=w.isInjectorReady,P=A+(x.data?" - "+x.label:"");return(0,e.createComponentVNode)(2,t.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,t.Section,{title:P,mx:"0",lineHeight:"18px",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!x.data,icon:"trash",content:"Clear",onClick:function(){function D(){return I("bufferOption",{option:"clear",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x.data,icon:"pen",content:"Rename",onClick:function(){function D(){return I("bufferOption",{option:"changeLabel",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x.data||!w.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-start",onClick:function(){function D(){return I("bufferOption",{option:"saveDisk",id:T})}return D}()})],4),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Write",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"saveUI",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"saveUIAndUE",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"saveSE",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!w.hasDisk||!w.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"loadDisk",id:T})}return D}()})]}),!!x.data&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:x.owner||(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[x.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!x.ue&&" and Unique Enzymes"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transfer to",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Injector",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"createInjector",id:T})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Block Injector",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"createInjector",id:T,block:1})}return D}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){function D(){return I("bufferOption",{option:"transfer",id:T})}return D}()})]})],4)]}),!x.data&&(0,e.createComponentVNode)(2,t.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},d=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.hasDisk,A=w.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!T||!A.data,icon:"trash",content:"Wipe",onClick:function(){function x(){return I("wipeDisk")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function x(){return I("ejectDisk")}return x}()})],4),children:T?A.data?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Label",children:A.label?A.label:"No label"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:A.owner?A.owner:(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[A.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!A.ue&&" and Unique Enzymes"]})]}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Disk is blank."}):(0,e.createComponentVNode)(2,t.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"save-o",size:"4"}),(0,e.createVNode)(1,"br"),"No disk inserted."]})})},C=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.isBeakerLoaded,A=w.beakerVolume,x=w.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function E(){return I("ejectBeaker")}return E}()}),children:T?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inject",children:[S.map(function(E,P){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>A,icon:"syringe",content:E,onClick:function(){function D(){return I("injectRejuvenators",{amount:E})}return D}()},P)}),(0,e.createComponentVNode)(2,t.Button,{disabled:A<=0,icon:"syringe",content:"All",onClick:function(){function E(){return I("injectRejuvenators",{amount:A})}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"0.5rem",children:x||"No label"}),A?(0,e.createComponentVNode)(2,t.Box,{color:"good",children:[A," unit",A===1?"":"s"," remaining"]}):(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Empty"})]})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No beaker loaded.",16)]})})})},g=function(V,b){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"average",children:(0,e.createVNode)(1,"h1",null,[(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"}),(0,e.createTextVNode)("\xA0Irradiating occupant\xA0"),(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"})],4)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,[(0,e.createTextVNode)("For "),V.duration,(0,e.createTextVNode)(" second"),V.duration===1?"":"s"],0)})]})},v=function(V,b){for(var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=V.dnaString,A=V.selectedBlock,x=V.selectedSubblock,E=V.blockSize,P=V.action,D=T.split(""),M=0,O=[],j=function(){for(var _=F/E+1,z=[],H=function(){var X=$+1;z.push((0,e.createComponentVNode)(2,t.Button,{selected:A===_&&x===X,content:D[F+$],mb:"0",onClick:function(){function re(){return I(P,{block:_,subblock:X})}return re}()}))},$=0;$<E;$++)H();O.push((0,e.createComponentVNode)(2,t.Stack.Item,{mb:"1rem",mr:"1rem",width:7.8,textAlign:"right",children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,mr:"0.5rem",fontFamily:"monospace",children:_}),z]}))},F=0;F<D.length;F+=E)j();return(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:O})}},94406:function(L,r,n){"use strict";r.__esModule=!0,r.DestinationTagger=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.DestinationTagger=function(){function N(y,S){var k,p=(0,a.useBackend)(S),l=p.act,c=p.data,f=c.destinations,i=c.selected_destination_id,u=f[i-1];return(0,e.createComponentVNode)(2,o.Window,{width:355,height:330,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,textAlign:"center",title:"TagMaster 3.1",children:[(0,e.createComponentVNode)(2,t.Box,{width:"100%",textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,children:"Selected:"})," ",(k=u.name)!=null?k:"None"]}),(0,e.createComponentVNode)(2,t.Box,{mt:1.5,children:(0,e.createComponentVNode)(2,t.Stack,{overflowY:"auto",wrap:"wrap",align:"center",justify:"space-evenly",direction:"row",children:f.map(function(s,d){return(0,e.createComponentVNode)(2,t.Stack.Item,{m:"2px",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",width:"105px",textAlign:"center",content:s.name,selected:s.id===i,onClick:function(){function C(){return l("select_destination",{destination:s.id})}return C}()})},d)})})})]})})})})}return N}()},17585:function(L,r,n){"use strict";r.__esModule=!0,r.DisposalBin=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.DisposalBin=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c,f;return l.mode===2?(c="good",f="Ready"):l.mode<=0?(c="bad",f="N/A"):l.mode===1?(c="average",f="Pressurizing"):(c="average",f="Idle"),(0,e.createComponentVNode)(2,o.Window,{width:300,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State",color:c,children:f}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{bad:[-1/0,0],average:[0,99],good:[99,1/0]},value:l.pressure,minValue:0,maxValue:100})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Handle",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"toggle-off",disabled:l.isAI||l.panel_open,content:"Disengaged",selected:l.flushing?null:"selected",onClick:function(){function i(){return p("disengageHandle")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"toggle-on",disabled:l.isAI||l.panel_open,content:"Engaged",selected:l.flushing?"selected":null,onClick:function(){function i(){return p("engageHandle")}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"toggle-off",disabled:l.mode===-1,content:"Off",selected:l.mode?null:"selected",onClick:function(){function i(){return p("pumpOff")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"toggle-on",disabled:l.mode===-1,content:"On",selected:l.mode?"selected":null,onClick:function(){function i(){return p("pumpOn")}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Eject",children:(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",disabled:l.isAI,content:"Eject Contents",onClick:function(){function i(){return p("eject")}return i}()})})]})})]})})}return N}()},64636:function(L,r,n){"use strict";r.__esModule=!0,r.DnaVault=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.DnaVault=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.completed;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:270,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N),!!i&&(0,e.createComponentVNode)(2,y)]})})})}return S}(),N=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.dna,u=f.dna_max,s=f.plants,d=f.plants_max,C=f.animals,g=f.animals_max,v=.66,h=.33;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"DNA Vault Database",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Human DNA",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i/u,ranges:{good:[v,1/0],average:[h,v],bad:[-1/0,h]},children:i+" / "+u+" Samples"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plant DNA",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:s/d,ranges:{good:[v,1/0],average:[h,v],bad:[-1/0,h]},children:s+" / "+d+" Samples"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Animal DNA",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:C/g,ranges:{good:[v,1/0],average:[h,v],bad:[-1/0,h]},children:C+" / "+g+" Samples"})})]})})})},y=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.choiceA,u=f.choiceB,s=f.used;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Personal Gene Therapy",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,textAlign:"center",mb:1,children:"Applicable Gene Therapy Treatments"}),!s&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,bold:!0,content:i,textAlign:"center",onClick:function(){function d(){return c("gene",{choice:i})}return d}()})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,bold:!0,content:u,textAlign:"center",onClick:function(){function d(){return c("gene",{choice:u})}return d}()})})]})||(0,e.createComponentVNode)(2,t.Box,{bold:!0,textAlign:"center",mb:1,children:"Users DNA deemed unstable. Unable to provide more upgrades."})]})})}},13015:function(L,r,n){"use strict";r.__esModule=!0,r.DroneConsole=void 0;var e=n(28823),a=n(37843),t=n(91819),o=n(2971),m=n(84947),N=r.DroneConsole=function(){function k(p,l){return(0,e.createComponentVNode)(2,m.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,S)]})})}return k}(),y=function(p,l){var c=(0,t.useBackend)(l),f=c.act,i=c.data,u=i.drone_fab,s=i.fab_power,d=i.drone_prod,C=i.drone_progress,g=function(){return u?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"External Power",children:(0,e.createComponentVNode)(2,o.Box,{color:s?"good":"bad",children:["[ ",s?"Online":"Offline"," ]"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Drone Production",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:C/100,ranges:{good:[.7,1/0],average:[.4,.7],bad:[-1/0,.4]}})})]}):(0,e.createComponentVNode)(2,o.NoticeBox,{textAlign:"center",danger:1,children:(0,e.createComponentVNode)(2,o.Flex,{inline:1,direction:"column",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{children:"FABRICATOR NOT DETECTED."}),(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"search",content:"Search",onClick:function(){function h(){return f("find_fab")}return h}()})})]})})};return(0,e.createComponentVNode)(2,o.Section,{title:"Drone Fabricator",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",content:d?"Online":"Offline",color:d?"green":"red",onClick:function(){function v(){return f("toggle_fab")}return v}()}),children:g()})},S=function(p,l){var c=(0,t.useBackend)(l),f=c.act,i=c.data,u=i.drones,s=i.area_list,d=i.selected_area,C=i.ping_cd,g=function(V,b){var B,I;return V===2?(B="bad",I="Disabled"):V===1||!b?(B="average",I="Inactive"):(B="good",I="Active"),(0,e.createComponentVNode)(2,o.Box,{color:B,children:I})},v=function(){if(u.length)return(0,e.createComponentVNode)(2,o.Box,{py:.2,children:(0,e.createComponentVNode)(2,o.Divider)})};return(0,e.createComponentVNode)(2,o.Section,{title:"Maintenance Units",children:[(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{children:"Request Drone presence in area:\xA0"}),(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Dropdown,{options:s,selected:d,width:"125px",onSelected:function(){function h(V){return f("set_area",{area:V})}return h}()})})]}),(0,e.createComponentVNode)(2,o.Button,{content:"Send Ping",icon:"broadcast-tower",disabled:C||!u.length,title:u.length?null:"No active drones!",fluid:1,textAlign:"center",py:.4,mt:.6,onClick:function(){function h(){return f("ping")}return h}()}),(0,e.createComponentVNode)(2,v),u.map(function(h){return(0,e.createComponentVNode)(2,o.Section,{title:(0,a.toTitleCase)(h.name),buttons:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Resync",disabled:h.stat===2||h.sync_cd,onClick:function(){function V(){return f("resync",{uid:h.uid})}return V}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"power-off",content:"Recall",disabled:h.stat===2||h.pathfinding,tooltip:h.pathfinding?"This drone is currently pathfinding, please wait.":null,tooltipPosition:"left",color:"bad",onClick:function(){function V(){return f("recall",{uid:h.uid})}return V}()})})]}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:g(h.stat,h.client)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:h.health,ranges:{good:[.7,1/0],average:[.4,.7],bad:[-1/0,.4]}})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Charge",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:h.charge,ranges:{good:[.7,1/0],average:[.4,.7],bad:[-1/0,.4]}})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:h.location})]})},h.name)})]})}},97673:function(L,r,n){"use strict";r.__esModule=!0,r.EFTPOS=void 0;var e=n(28823),a=n(37843),t=n(91819),o=n(2971),m=n(84947),N=r.EFTPOS=function(){function k(p,l){var c=(0,t.useBackend)(l),f=c.act,i=c.data,u=i.transaction_locked,s=i.machine_name;return(0,e.createComponentVNode)(2,m.Window,{width:500,height:250,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{title:"POS Terminal "+s,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:u?"Unlock EFTPOS":"Lock EFTPOS",tooltip:"Enter pin to modify transactions and EFTPOS settings",icon:u?"lock-open":"lock",onClick:function(){function d(){return f("toggle_lock")}return d}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Reset EFTPOS",tooltip:"Requires Captain, HoP or CC access",icon:"sync",onClick:function(){function d(){return f("reset")}return d}()})],4),children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,S)})})})}return k}(),y=function(p,l){var c=(0,t.useBackend)(l),f=c.act,i=c.data,u=i.transaction_amount,s=i.transaction_paid;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{mt:2,bold:!0,width:"100%",fontSize:"3rem",color:s?"green":"red",align:"center",justify:"center",children:["Payment ",s?"Accepted":"Due",": $",u]}),(0,e.createComponentVNode)(2,o.Box,{mt:.5,fontSize:"1.25rem",align:"center",justify:"center",children:s?"This transaction has been processed successfully ":"Swipe your card to finish this transaction."})],4)},S=function(p,l){var c,f=(0,t.useBackend)(l),i=f.act,u=f.data,s=(0,t.useLocalState)(l,"searchText",""),d=s[0],C=s[1],g=u.transaction_purpose,v=u.transaction_amount,h=u.linked_account,V=u.available_accounts,b=[];return V.map(function(B){return b[B.name]=B.UID}),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,o.Button,{content:g,icon:"edit",onClick:function(){function B(){return i("trans_purpose")}return B}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Value",children:(0,e.createComponentVNode)(2,o.Button,{content:v?"$"+v:"$0",icon:"edit",onClick:function(){function B(){return i("trans_value")}return B}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Linked Account",children:[(0,e.createComponentVNode)(2,o.Box,{mb:.5,children:h.name}),(0,e.createComponentVNode)(2,o.Input,{width:"190px",placeholder:"Search by name",onInput:function(){function B(I,w){return C(w)}return B}()}),(0,e.createComponentVNode)(2,o.Dropdown,{mt:.6,width:"190px",options:V.filter((0,a.createSearch)(d,function(B){return B.name})).map(function(B){return B.name}),selected:(c=V.filter(function(B){return B.UID===h.UID})[0])==null?void 0:c.name,onSelected:function(){function B(I){return i("link_account",{account:b[I]})}return B}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,o.Button,{content:"Change access code",icon:"key",onClick:function(){function B(){return i("change_code")}return B}()})})]})}},29206:function(L,r,n){"use strict";r.__esModule=!0,r.ERTOverview=r.ERTManager=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(37843),N=function(f){switch(f){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,p);case 2:return(0,e.createComponentVNode)(2,l);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP, WAIT YOU'RE AN ADMIN, OH FUUUUCK! call a coder or something"}},y=r.ERTManager=function(){function c(f,i){var u=(0,a.useBackend)(i),s=u.act,d=u.data,C=(0,a.useLocalState)(i,"tabIndex",0),g=C[0],v=C[1];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:505,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===0,onClick:function(){function h(){v(0)}return h}(),icon:"ambulance",children:"Send ERT"},"SendERT"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===1,onClick:function(){function h(){v(1)}return h}(),icon:"book",children:"Read ERT Requests"},"ReadERTRequests"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===2,onClick:function(){function h(){v(2)}return h}(),icon:"times",children:"Deny ERT"},"DenyERT")]})}),N(g)]})})})}return c}(),S=r.ERTOverview=function(){function c(f,i){var u=(0,a.useBackend)(i),s=u.act,d=u.data,C=d.security_level_color,g=d.str_security_level,v=d.ert_request_answered;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Overview",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:C,children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT Request",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:v,textColor:v?null:"bad",content:v?"Answered":"Unanswered",onClick:function(){function h(){return s("toggle_ert_request_answered")}return h}(),tooltip:"Checking this box will disable the next ERT reminder notification",selected:null})})]})})})}return c}(),k=function(f,i){var u=(0,a.useBackend)(i),s=u.act,d=u.data,C=[0,1,2,3,4,5],g=(0,a.useLocalState)(i,"silentERT",!1),v=g[0],h=g[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Send ERT",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{width:5,content:"Amber",textAlign:"center",color:d.ert_type==="Amber"?"orange":"",onClick:function(){function V(){return s("ert_type",{ert_type:"Amber"})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,content:"Red",textAlign:"center",color:d.ert_type==="Red"?"red":"",onClick:function(){function V(){return s("ert_type",{ert_type:"Red"})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,content:"Gamma",textAlign:"center",color:d.ert_type==="Gamma"?"purple":"",onClick:function(){function V(){return s("ert_type",{ert_type:"Gamma"})}return V}()})],4),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Commander",children:(0,e.createComponentVNode)(2,t.Button,{icon:d.com?"toggle-on":"toggle-off",selected:d.com,content:d.com?"Yes":"No",onClick:function(){function V(){return s("toggle_com")}return V}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Security",children:C.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{selected:d.sec===V,content:V,onClick:function(){function B(){return s("set_sec",{set_sec:V})}return B}()},"sec"+V)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Medical",children:C.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{selected:d.med===V,content:V,onClick:function(){function B(){return s("set_med",{set_med:V})}return B}()},"med"+V)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Engineering",children:C.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{selected:d.eng===V,content:V,onClick:function(){function B(){return s("set_eng",{set_eng:V})}return B}()},"eng"+V)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Paranormal",children:C.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{selected:d.par===V,content:V,onClick:function(){function B(){return s("set_par",{set_par:V})}return B}()},"par"+V)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitor",children:C.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{selected:d.jan===V,content:V,onClick:function(){function B(){return s("set_jan",{set_jan:V})}return B}()},"jan"+V)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cyborg",children:C.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{selected:d.cyb===V,content:V,onClick:function(){function B(){return s("set_cyb",{set_cyb:V})}return B}()},"cyb"+V)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Security Module",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,disabled:d.ert_type!=="Red"||!d.cyb,icon:d.secborg?"toggle-on":"toggle-off",color:d.secborg?"red":"",content:d.secborg?"Enabled":d.ert_type!=="Red"?"Unavailable":"Disabled",textAlign:"center",onClick:function(){function V(){return s("toggle_secborg")}return V}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Silent ERT",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,icon:v?"microphone-slash":"microphone",content:v?"Silenced":"Public",textAlign:"center",selected:v,onClick:function(){function V(){return h(!v)}return V}(),tooltip:v?"This ERT will not be announced to the station":"This ERT will be announced to the station on dispatch",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Slots",children:(0,e.createComponentVNode)(2,t.Box,{color:d.total>d.spawnpoints?"red":"green",children:[d.total," total, versus ",d.spawnpoints," spawnpoints"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispatch",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,textAlign:"center",icon:"ambulance",content:"Send ERT",onClick:function(){function V(){return s("dispatch_ert",{silent:v})}return V}()})})]})})})},p=function(f,i){var u=(0,a.useBackend)(i),s=u.act,d=u.data,C=d.ert_request_messages;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:C&&C.length?C.map(function(g){return(0,e.createComponentVNode)(2,t.Section,{title:g.time,buttons:(0,e.createComponentVNode)(2,t.Button,{content:g.sender_real_name,onClick:function(){function v(){return s("view_player_panel",{uid:g.sender_uid})}return v}(),tooltip:"View player panel"}),children:g.message},(0,m.decodeHtmlEntities)(g.time))}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"broadcast-tower",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No ERT requests."]})})})})},l=function(f,i){var u=(0,a.useBackend)(i),s=u.act,d=u.data,C=(0,a.useLocalState)(i,"text",""),g=C[0],v=C[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter ERT denial reason here,\nMultiline input is accepted.",rows:19,fluid:!0,multiline:1,value:g,onChange:function(){function h(V,b){return v(b)}return h}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Deny ERT",fluid:!0,icon:"times",center:!0,mt:2,textAlign:"center",onClick:function(){function h(){return s("deny_ert",{reason:g})}return h}()})]})})}},77877:function(L,r,n){"use strict";r.__esModule=!0,r.EconomyManager=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(22677),N=r.EconomyManager=function(){function S(k,p){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:350,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})]})}return S}(),y=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.next_payroll_time;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"coins",verticalAlign:"middle",size:3,mr:"1rem"}),"Economy Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{label:"Pay Bonuses and Deductions",children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Global",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Global Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"global"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Account Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"department"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Members",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Members Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"department_members"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Single Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Crew Member Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"crew_member"})}return u}()})})]}),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Box,{mb:.5,children:["Next Payroll in: ",i," Minutes"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",width:"auto",color:"bad",content:"Delay Payroll",onClick:function(){function u(){return c("delay_payroll")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{width:"auto",content:"Set Payroll Time",onClick:function(){function u(){return c("set_payroll")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",width:"auto",color:"good",content:"Accelerate Payroll",onClick:function(){function u(){return c("accelerate_payroll")}return u}()})]}),(0,e.createComponentVNode)(2,t.NoticeBox,{children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," You take full responsibility for unbalancing the economy with these buttons"]})],4)}},10707:function(L,r,n){"use strict";r.__esModule=!0,r.Electropack=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=n(84947),N=r.Electropack=function(){function y(S,k){var p=(0,t.useBackend)(k),l=p.act,c=p.data,f=c.power,i=c.code,u=c.frequency,s=c.minFrequency,d=c.maxFrequency;return(0,e.createComponentVNode)(2,m.Window,{width:360,height:135,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,o.Button,{icon:f?"power-off":"times",content:f?"On":"Off",selected:f,onClick:function(){function C(){return l("power")}return C}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function C(){return l("reset",{reset:"freq"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:s/10,maxValue:d/10,value:u/10,format:function(){function C(g){return(0,a.toFixed)(g,1)}return C}(),width:"80px",onChange:function(){function C(g,v){return l("freq",{freq:v})}return C}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function C(){return l("reset",{reset:"code"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:i,width:"80px",onChange:function(){function C(g,v){return l("code",{code:v})}return C}()})})]})})})})}return y}()},85307:function(L,r,n){"use strict";r.__esModule=!0,r.EmotePanelContent=r.EmotePanel=void 0;var e=n(28823),a=n(91819),t=n(84947),o=n(2971),m=n(37843),N=r.EmotePanel=function(){function S(k,p){return(0,e.createComponentVNode)(2,t.Window,{width:500,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,y)})})})}return S}(),y=r.EmotePanelContent=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.emotes,u=(0,a.useLocalState)(p,"searchText",""),s=u[0],d=u[1],C=(0,a.useLocalState)(p,"filterVisible",""),g=C[0],v=C[1],h=(0,a.useLocalState)(p,"filterAudible",""),V=h[0],b=h[1],B=(0,a.useLocalState)(p,"filterSound",""),I=B[0],w=B[1],T=(0,a.useLocalState)(p,"filterHands",""),A=T[0],x=T[1],E=(0,a.useLocalState)(p,"filterTargettable",""),P=E[0],D=E[1],M=(0,a.useLocalState)(p,"useTarget",""),O=M[0],j=M[1],F=(0,e.createComponentVNode)(2,o.Input,{placeholder:"\u0418\u0441\u043A\u0430\u0442\u044C \u044D\u043C\u043E\u0446\u0438\u044E...",fluid:!0,onInput:function(){function U(_,z){return d(z)}return U}()});return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",buttons:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Button,{icon:"eye",align:"center",tooltip:"\u0412\u0438\u0434\u0438\u043C\u044B\u0439",selected:g,onClick:function(){function U(){return v(!g)}return U}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",align:"center",tooltip:"\u0421\u043B\u044B\u0448\u0438\u043C\u044B\u0439",selected:V,onClick:function(){function U(){return b(!V)}return U}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"volume-up",align:"center",tooltip:"\u0417\u0432\u0443\u043A",selected:I,onClick:function(){function U(){return w(!I)}return U}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"hand-paper",align:"center",tooltip:"\u0420\u0443\u043A\u0438",selected:A,onClick:function(){function U(){return x(!A)}return U}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"crosshairs",height:"100%",align:"center",tooltip:"\u0426\u0435\u043B\u044C",selected:P,onClick:function(){function U(){return D(!P)}return U}()})]}),children:F})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s.length>0?'\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 "'+s+'"':"\u0412\u0441\u0435 \u044D\u043C\u043E\u0446\u0438\u0438",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"crosshairs",selected:O,onClick:function(){function U(){return j(!O)}return U}(),children:"\u0412\u044B\u0431\u0438\u0440\u0430\u0442\u044C \u0446\u0435\u043B\u044C"}),children:(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:i.filter(function(U){return U.key&&(s.length>0?U.key.toLowerCase().includes(s.toLowerCase())||U.name.toLowerCase().includes(s.toLowerCase()):!0)&&(g?U.visible:!0)&&(V?U.audible:!0)&&(I?U.sound:!0)&&(A?U.hands:!0)&&(P?U.targettable:!0)}).map(function(U){return(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function _(){return c("play_emote",{emote_key:U.key,useTarget:O})}return _}(),children:[U.visible?(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}):"",U.audible?(0,e.createComponentVNode)(2,o.Icon,{name:"comment"}):"",U.sound?(0,e.createComponentVNode)(2,o.Icon,{name:"volume-up"}):"",U.hands?(0,e.createComponentVNode)(2,o.Icon,{name:"hand-paper"}):"",U.targettable?(0,e.createComponentVNode)(2,o.Icon,{name:"crosshairs"}):"",U.name]},U.name)})})})})})],4)}return S}()},52640:function(L,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(28823),a=n(37843),t=n(91819),o=n(2971),m=n(84947),N=n(90955),y=n(72026),S=r.EvolutionMenu=function(){function l(c,f){return(0,e.createComponentVNode)(2,m.Window,{width:480,height:580,theme:"changeling",children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,p)]})})})}return l}(),k=function(c,f){var i=(0,t.useBackend)(f),u=i.act,s=i.data,d=s.evo_points,C=s.can_respec;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Evolution Points",height:5.5,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,color:"label",children:"Points remaining:"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,ml:2,bold:!0,color:"#1b945c",children:d}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Button,{ml:2.5,disabled:!C,content:"Readapt",icon:"sync",onClick:function(){function g(){return u("readapt")}return g}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"By transforming a humanoid into a husk, we gain the ability to readapt our chosen evolutions.",tooltipPosition:"bottom",icon:"question-circle"})]})]})})})},p=function(c,f){var i=(0,t.useBackend)(f),u=i.act,s=i.data,d=s.evo_points,C=s.ability_tabs,g=s.purchased_abilities,v=s.view_mode,h=(0,t.useLocalState)(f,"selectedTab",C[0]),V=h[0],b=h[1],B=(0,t.useLocalState)(f,"searchText",""),I=B[0],w=B[1],T=(0,t.useLocalState)(f,"ability_tabs",C[0].abilities),A=T[0],x=T[1],E=function(O,j){if(j===void 0&&(j=""),!O||O.length===0)return[];var F=(0,a.createSearch)(j,function(U){return U.name+"|"+U.description});return(0,N.flow)([(0,y.filter)(function(U){return U==null?void 0:U.name}),(0,y.filter)(F),(0,y.sortBy)(function(U){return U==null?void 0:U.name})])(O)},P=function(O){if(w(O),O==="")return x(V.abilities);x(E(C.map(function(j){return j.abilities}).flat(),O))},D=function(O){b(O),x(O.abilities),w("")};return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Abilities",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{width:"200px",placeholder:"Search Abilities",onInput:function(){function M(O,j){P(j)}return M}(),value:I}),(0,e.createComponentVNode)(2,o.Button,{icon:v?"square-o":"check-square-o",selected:!v,content:"Compact",onClick:function(){function M(){return u("set_view_mode",{mode:0})}return M}()}),(0,e.createComponentVNode)(2,o.Button,{icon:v?"check-square-o":"square-o",selected:v,content:"Expanded",onClick:function(){function M(){return u("set_view_mode",{mode:1})}return M}()})],4),children:[(0,e.createComponentVNode)(2,o.Tabs,{children:C.map(function(M){return(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===""&&V===M,onClick:function(){function O(){D(M)}return O}(),children:M.category},M)})}),A.map(function(M,O){return(0,e.createComponentVNode)(2,o.Box,{p:.5,mx:-1,className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{ml:.5,color:"#dedede",children:M.name}),g.includes(M.power_path)&&(0,e.createComponentVNode)(2,o.Stack.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mr:3,textAlign:"right",grow:1,children:[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:["Cost:"," "]}),(0,e.createComponentVNode)(2,o.Box,{as:"span",bold:!0,color:"#1b945c",children:M.cost})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,o.Button,{mr:.5,disabled:M.cost>d||g.includes(M.power_path),content:"Evolve",onClick:function(){function j(){return u("purchase",{power_path:M.power_path})}return j}()})})]}),!!v&&(0,e.createComponentVNode)(2,o.Stack,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:M.description+" "+M.helptext})]},O)})]})})}},70672:function(L,r,n){"use strict";r.__esModule=!0,r.ExosuitFabricator=void 0;var e=n(28823),a=n(66586),t=n(37843),o=n(91819),m=n(2971),N=n(73712),y=n(84947),S=["id","amount","lineDisplay","onClick"];function k(g,v){if(g==null)return{};var h={},V=Object.keys(g),b,B;for(B=0;B<V.length;B++)b=V[B],!(v.indexOf(b)>=0)&&(h[b]=g[b]);return h}var p=2e3,l={bananium:"clown",tranquillite:"mime"},c=r.ExosuitFabricator=function(){function g(v,h){var V=(0,o.useBackend)(h),b=V.act,B=V.data,I=B.building;return(0,e.createComponentVNode)(2,y.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,y.Window.Content,{className:"Exofab",children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i)}),I&&(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,u)})]})}),(0,e.createComponentVNode)(2,m.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f)}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s)})]})})]})})})}return g}(),f=function(v,h){var V=(0,o.useBackend)(h),b=V.act,B=V.data,I=B.materials,w=B.capacity,T=Object.values(I).reduce(function(A,x){return A+x},0);return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,title:"Materials",className:"Exofab__materials",buttons:(0,e.createComponentVNode)(2,m.Box,{color:"label",mt:"0.25rem",children:[(T/w*100).toPrecision(3),"% full"]}),children:["metal","glass","silver","gold","uranium","titanium","plasma","diamond","bluespace","bananium","tranquillite","plastic"].map(function(A){return(0,e.createComponentVNode)(2,d,{mt:-2,id:A,bold:A==="metal"||A==="glass",onClick:function(){function x(){return b("withdraw",{id:A})}return x}()},A)})})},i=function(v,h){var V=(0,o.useBackend)(h),b=V.act,B=V.data,I=B.curCategory,w=B.categories,T=B.designs,A=B.syncing,x=(0,o.useLocalState)(h,"searchText",""),E=x[0],P=x[1],D=(0,t.createSearch)(E,function(O){return O.name}),M=T.filter(D);return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,className:"Exofab__designs",title:(0,e.createComponentVNode)(2,m.Dropdown,{className:"Exofab__dropdown",selected:I,options:w,onSelected:function(){function O(j){return b("category",{cat:j})}return O}()}),buttons:(0,e.createComponentVNode)(2,m.Box,{mt:"2px",children:[(0,e.createComponentVNode)(2,m.Button,{icon:"plus",content:"Queue all",onClick:function(){function O(){return b("queueall")}return O}()}),(0,e.createComponentVNode)(2,m.Button,{disabled:A,iconSpin:A,icon:"sync-alt",content:A?"Synchronizing...":"Synchronize with R&D servers",onClick:function(){function O(){return b("sync")}return O}()})]}),children:[(0,e.createComponentVNode)(2,m.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function O(j,F){return P(F)}return O}()}),M.map(function(O){return(0,e.createComponentVNode)(2,C,{design:O},O.id)}),M.length===0&&(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"No designs found."})]})},u=function(v,h){var V=(0,o.useBackend)(h),b=V.act,B=V.data,I=B.building,w=B.buildStart,T=B.buildEnd,A=B.worldTime;return(0,e.createComponentVNode)(2,m.Section,{className:"Exofab__building",stretchContents:!0,children:(0,e.createComponentVNode)(2,m.ProgressBar.Countdown,{start:w,current:A,end:T,children:(0,e.createComponentVNode)(2,m.Stack,{children:[(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Icon,{name:"cog",spin:!0})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:["Building ",I,"\xA0(",(0,e.createComponentVNode)(2,N.Countdown,{current:A,timeLeft:T-A,format:function(){function x(E,P){return P.substr(3)}return x}()}),")"]})]})})})},s=function(v,h){var V=(0,o.useBackend)(h),b=V.act,B=V.data,I=B.queue,w=B.processingQueue,T=Object.entries(B.queueDeficit).filter(function(x){return x[1]<0}),A=I.reduce(function(x,E){return x+E.time},0);return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,className:"Exofab__queue",title:"Queue",buttons:(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,m.Button,{selected:w,icon:w?"toggle-on":"toggle-off",content:"Process",onClick:function(){function x(){return b("process")}return x}()}),(0,e.createComponentVNode)(2,m.Button,{disabled:I.length===0,icon:"eraser",content:"Clear",onClick:function(){function x(){return b("unqueueall")}return x}()})]}),children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:I.length===0?(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"The queue is empty."}):(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Stack.Item,{className:"Exofab__queue--queue",grow:!0,overflow:"auto",children:I.map(function(x,E){return(0,e.createComponentVNode)(2,m.Box,{color:x.notEnough&&"bad",children:[E+1,". ",x.name,E>0&&(0,e.createComponentVNode)(2,m.Button,{icon:"arrow-up",onClick:function(){function P(){return b("queueswap",{from:E+1,to:E})}return P}()}),E<I.length-1&&(0,e.createComponentVNode)(2,m.Button,{icon:"arrow-down",onClick:function(){function P(){return b("queueswap",{from:E+1,to:E+2})}return P}()}),(0,e.createComponentVNode)(2,m.Button,{icon:"times",color:"red",onClick:function(){function P(){return b("unqueue",{index:E+1})}return P}()})]},E)})}),A>0&&(0,e.createComponentVNode)(2,m.Stack.Item,{className:"Exofab__queue--time",children:[(0,e.createComponentVNode)(2,m.Divider),"Processing time:",(0,e.createComponentVNode)(2,m.Icon,{name:"clock",mx:"0.5rem"}),(0,e.createComponentVNode)(2,m.Box,{inline:!0,bold:!0,children:new Date(A/10*1e3).toISOString().substr(14,5)})]}),Object.keys(T).length>0&&(0,e.createComponentVNode)(2,m.Stack.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,e.createComponentVNode)(2,m.Divider),"Lacking materials to complete:",T.map(function(x){return(0,e.createComponentVNode)(2,m.Box,{children:(0,e.createComponentVNode)(2,d,{id:x[0],amount:-x[1],lineDisplay:!0})},x[0])})]})],0)})})},d=function(v,h){var V=(0,o.useBackend)(h),b=V.act,B=V.data,I=v.id,w=v.amount,T=v.lineDisplay,A=v.onClick,x=k(v,S),E=B.materials[I]||0,P=w||E;if(!(P<=0&&!(I==="metal"||I==="glass"))){var D=w&&w>E;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",T&&"Exofab__material--line"])},x,{children:T?(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Stack.Item,{className:(0,a.classes)(["materials32x32",I])}),(0,e.createComponentVNode)(2,m.Stack.Item,{className:"Exofab__material--amount",color:D&&"bad",ml:0,mr:1,children:P.toLocaleString("en-US")})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Stack.Item,{basis:"content",children:(0,e.createComponentVNode)(2,m.Button,{width:"85%",color:"transparent",onClick:A,children:(0,e.createComponentVNode)(2,m.Box,{mt:1,className:(0,a.classes)(["materials32x32",I])})})}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,m.Box,{className:"Exofab__material--name",children:I}),(0,e.createComponentVNode)(2,m.Box,{className:"Exofab__material--amount",children:[P.toLocaleString("en-US")," cm\xB3 (",Math.round(P/p*10)/10," ","sheets)"]})]})],4)})))}},C=function(v,h){var V=(0,o.useBackend)(h),b=V.act,B=V.data,I=v.design;return(0,e.createComponentVNode)(2,m.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,m.Button,{disabled:I.notEnough||B.building,icon:"cog",content:I.name,onClick:function(){function w(){return b("build",{id:I.id})}return w}()}),(0,e.createComponentVNode)(2,m.Button,{icon:"plus-circle",onClick:function(){function w(){return b("queue",{id:I.id})}return w}()}),(0,e.createComponentVNode)(2,m.Box,{className:"Exofab__design--cost",children:Object.entries(I.cost).map(function(w){return(0,e.createComponentVNode)(2,m.Box,{children:(0,e.createComponentVNode)(2,d,{id:w[0],amount:w[1],lineDisplay:!0})},w[0])})}),(0,e.createComponentVNode)(2,m.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,m.Stack.Item,{children:[(0,e.createComponentVNode)(2,m.Icon,{name:"clock"}),I.time>0?(0,e.createFragment)([I.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})}},25627:function(L,r,n){"use strict";r.__esModule=!0,r.ExperimentConsole=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=new Map([[0,{text:"Conscious",color:"good"}],[1,{text:"Unconscious",color:"average"}],[2,{text:"Deceased",color:"bad"}]]),N=new Map([[0,{label:"Probe",icon:"thermometer"}],[1,{label:"Dissect",icon:"brain"}],[2,{label:"Analyze",icon:"search"}]]),y=r.ExperimentConsole=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.open,u=f.feedback,s=f.occupant,d=f.occupant_name,C=f.occupant_status,g=function(){function h(){if(!s)return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No specimen detected."});var V=function(){function B(){return m.get(C)}return B}(),b=V();return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:b.color,children:b.text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Experiments",children:[0,1,2].map(function(B){return(0,e.createComponentVNode)(2,t.Button,{icon:N.get(B).icon,content:N.get(B).label,onClick:function(){function I(){return c("experiment",{experiment_type:B})}return I}()},B)})})]})}return h}(),v=g();return(0,e.createComponentVNode)(2,o.Window,{theme:"abductor",width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:u})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Scanner",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!i,onClick:function(){function h(){return c("door")}return h}()}),children:v})]})})}return S}()},14172:function(L,r,n){"use strict";r.__esModule=!0,r.ExternalAirlockController=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=0,N=1013,y=function(p){var l="good",c=80,f=95,i=110,u=120;return p<c?l="bad":p<f||p>i?l="average":p>u&&(l="bad"),l},S=r.ExternalAirlockController=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.chamber_pressure,s=i.exterior_status,d=i.interior_status,C=i.processing;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:205,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:y(u),value:u,minValue:m,maxValue:N,children:[u," kPa"]})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Abort",icon:"ban",color:"red",disabled:!C,onClick:function(){function g(){return f("abort")}return g}()}),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:C,onClick:function(){function g(){return f("cycle_ext")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:C,onClick:function(){function g(){return f("cycle_int")}return g}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Force Exterior Door",icon:"exclamation-triangle",color:d==="open"?"red":C?"yellow":null,onClick:function(){function g(){return f("force_ext")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Force Interior Door",icon:"exclamation-triangle",color:d==="open"?"red":C?"yellow":null,onClick:function(){function g(){return f("force_int")}return g}()})]})]})]})})}return k}()},61893:function(L,r,n){"use strict";r.__esModule=!0,r.FaxMachine=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.FaxMachine=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;return(0,e.createComponentVNode)(2,o.Window,{width:540,height:295,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.scan_name?"eject":"id-card",selected:l.scan_name,content:l.scan_name?l.scan_name:"-----",tooltip:l.scan_name?"Eject ID":"Insert ID",onClick:function(){function c(){return p("scan")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.authenticated?"sign-out-alt":"id-card",selected:l.authenticated,disabled:l.nologin,content:l.realauth?"Log Out":"Log In",onClick:function(){function c(){return p("auth")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fax Menu",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network",children:l.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:l.paper?"eject":"paperclip",disabled:!l.authenticated&&!l.paper,content:l.paper?l.paper:"-----",onClick:function(){function c(){return p("paper")}return c}()}),!!l.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function c(){return p("rename")}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:l.destination?l.destination:"-----",disabled:!l.authenticated,onClick:function(){function c(){return p("dept")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:l.sendError?l.sendError:"Send",disabled:!l.paper||!l.destination||!l.authenticated||l.sendError,onClick:function(){function c(){return p("send")}return c}()})})]})})]})})}return N}()},80031:function(L,r,n){"use strict";r.__esModule=!0,r.FilingCabinet=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.FilingCabinet=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=k.config,f=l.contents,i=c.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Contents",children:[!f&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"folder-open",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"The ",i," is empty."]})}),!!f&&f.slice().map(function(u){return(0,e.createComponentVNode)(2,t.Stack,{mt:.5,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"80%",children:u.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Retrieve",onClick:function(){function s(){return p("retrieve",{index:u.index})}return s}()})})]},u)})]})})})})}return N}()},39552:function(L,r,n){"use strict";r.__esModule=!0,r.FloorPainter=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=S.image,i=S.isSelected,u=S.onSelect;return(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+f,style:{"border-style":i&&"solid"||"none","border-width":"2px","border-color":"orange",padding:i&&"2px"||"4px"},onClick:u})},N=r.FloorPainter=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.availableStyles,i=c.selectedStyle,u=c.selectedDir,s=c.directionsPreview,d=c.allStylesPreview;return(0,e.createComponentVNode)(2,o.Window,{width:405,height:475,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Decal setup",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",onClick:function(){function C(){return l("cycle_style",{offset:-1})}return C}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:f,selected:i,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function C(g){return l("select_style",{style:g})}return C}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function C(){return l("cycle_style",{offset:1})}return C}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",mb:"5px",children:(0,e.createComponentVNode)(2,t.Flex,{overflowY:"auto",maxHeight:"220px",wrap:"wrap",children:f.map(function(C){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,m,{image:d[C],isSelected:i===C,onSelect:function(){function g(){return l("select_style",{style:C})}return g}()})},"{style}")})})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Direction",children:(0,e.createComponentVNode)(2,t.Table,{style:{display:"inline"},children:["north","","south"].map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[C+"west",C,C+"east"].map(function(g){return(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"vertical-align":"middle","text-align":"center"},children:g===""?(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt",size:3}):(0,e.createComponentVNode)(2,m,{image:s[g],isSelected:g===u,onSelect:function(){function v(){return l("select_direction",{direction:g})}return v}()})},g)})},C)})})})})]})})})}return y}()},5090:function(L,r,n){"use strict";r.__esModule=!0,r.GPS=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=n(84947),N=function(i){return i?"("+i.join(", ")+")":"ERROR"},y=function(i,u){if(!(!i||!u)){if(i[2]!==u[2])return null;var s=Math.atan2(u[1]-i[1],u[0]-i[0]),d=Math.sqrt(Math.pow(u[1]-i[1],2)+Math.pow(u[0]-i[0],2));return{angle:(0,a.rad2deg)(s),distance:d}}},S=r.GPS=function(){function f(i,u){var s=(0,t.useBackend)(u),d=s.data,C=d.emped,g=d.active,v=d.area,h=d.position,V=d.saved;return(0,e.createComponentVNode)(2,m.Window,{width:400,height:600,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:C?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,k,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,p)}),g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{area:v,position:h})}),V&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{title:"Saved Position",position:V})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,c,{height:"100%"})})],0):(0,e.createComponentVNode)(2,k)],0)})})})}return f}(),k=function(i,u){var s=i.emp;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:s?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),s?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},p=function(i,u){var s=(0,t.useBackend)(u),d=s.act,C=s.data,g=C.active,v=C.tag,h=C.same_z,V=(0,t.useLocalState)(u,"newTag",v),b=V[0],B=V[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Settings",buttons:(0,e.createComponentVNode)(2,o.Button,{selected:g,icon:g?"toggle-on":"toggle-off",content:g?"On":"Off",onClick:function(){function I(){return d("toggle")}return I}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,o.Input,{width:"5rem",value:v,onEnter:function(){function I(){return d("tag",{newtag:b})}return I}(),onInput:function(){function I(w,T){return B(T)}return I}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:v===b,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function I(){return d("tag",{newtag:b})}return I}(),children:(0,e.createComponentVNode)(2,o.Icon,{name:"pen"})})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,o.Button,{selected:!h,icon:h?"compress":"expand",content:h?"Local Sector":"Global",onClick:function(){function I(){return d("same_z")}return I}()})})]})})},l=function(i,u){var s=i.title,d=i.area,C=i.position;return(0,e.createComponentVNode)(2,o.Section,{title:s||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[d&&(0,e.createFragment)([d,(0,e.createVNode)(1,"br")],0),N(C)]})})},c=function(i,u){var s=(0,t.useBackend)(u),d=s.data,C=d.position,g=d.signals;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,title:"Signals"},i,{children:(0,e.createComponentVNode)(2,o.Table,{children:g.map(function(v){return Object.assign({},v,y(C,v.position))}).map(function(v,h){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:h%2===0&&"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,o.Table.Cell,{width:"30%",verticalAlign:"middle",color:"label",p:"0.25rem",bold:!0,children:v.tag}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",color:"grey",children:v.area}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:v.distance!==void 0&&(0,e.createComponentVNode)(2,o.Box,{opacity:Math.max(1-Math.min(v.distance,100)/100,.5),children:[(0,e.createComponentVNode)(2,o.Icon,{name:v.distance>0?"arrow-right":"circle",rotation:-v.angle}),"\xA0",Math.floor(v.distance)+"m"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:N(v.position)})]},h)})})})))}},1055:function(L,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(22677),m=n(84947),N=r.GeneModder=function(){function i(u,s){var d=(0,a.useBackend)(s),C=d.data,g=C.has_seed;return(0,e.createComponentVNode)(2,m.Window,{width:500,height:650,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,o.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),g===0?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,y)]})})})}return i}(),y=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Genes",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Insert Gene from Disk",disabled:!v||!v.can_insert||v.is_core,icon:"arrow-circle-down",onClick:function(){function h(){return C("insert")}return h}()}),children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})},S=function(u,s){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:"85%",children:(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The plant DNA manipulator is missing a seed."]})})})},k=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.has_seed,h=g.seed,V=g.has_disk,b=g.disk,B,I;return v?B=(0,e.createComponentVNode)(2,t.Stack.Item,{mb:"-6px",mt:"-4px",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+h.image,style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,t.Button,{content:h.name,onClick:function(){function w(){return C("eject_seed")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function w(){return C("variant_name")}return w}()})]}):B=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:"None",onClick:function(){function w(){return C("eject_seed")}return w}()})}),V?I=b.name:I="None",(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plant Sample",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Disk",children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:I,onClick:function(){function w(){return C("eject_disk")}return w}()})})})]})})},p=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.disk,h=g.core_genes;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core Genes",open:!0,children:h.map(function(V){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:V.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(v!=null&&v.can_extract),icon:"save",onClick:function(){function b(){return C("extract",{id:V.id})}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Replace",disabled:!V.is_type||!v.can_insert,icon:"arrow-circle-down",onClick:function(){function b(){return C("replace",{id:V.id})}return b}()})})]},V)})},"Core Genes")},l=function(u,s){var d=(0,a.useBackend)(s),C=d.data,g=C.reagent_genes,v=C.has_reagent;return(0,e.createComponentVNode)(2,f,{title:"Reagent Genes",gene_set:g,do_we_show:v})},c=function(u,s){var d=(0,a.useBackend)(s),C=d.data,g=C.trait_genes,v=C.has_trait;return(0,e.createComponentVNode)(2,f,{title:"Trait Genes",gene_set:g,do_we_show:v})},f=function(u,s){var d=u.title,C=u.gene_set,g=u.do_we_show,v=(0,a.useBackend)(s),h=v.act,V=v.data,b=V.disk;return(0,e.createComponentVNode)(2,t.Collapsible,{title:d,open:!0,children:g?C.map(function(B){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:B.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(b!=null&&b.can_extract),icon:"save",onClick:function(){function I(){return h("extract",{id:B.id})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"times",onClick:function(){function I(){return h("remove",{id:B.id})}return I}()})})]},B)}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"No Genes Detected"})},d)}},14232:function(L,r,n){"use strict";r.__esModule=!0,r.GenericCrewManifest=void 0;var e=n(28823),a=n(2971),t=n(84947),o=n(692),m=r.GenericCrewManifest=function(){function N(y,S){return(0,e.createComponentVNode)(2,t.Window,{theme:"nologo",width:588,height:510,children:(0,e.createComponentVNode)(2,t.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:(0,e.createComponentVNode)(2,o.CrewManifest)})})})}return N}()},86268:function(L,r,n){"use strict";r.__esModule=!0,r.GhostHudPanel=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.GhostHudPanel=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.data,c=l.security,f=l.medical,i=l.diagnostic,u=l.radioactivity,s=l.ahud;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:207,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,N,{label:"Medical",type:"medical",is_active:f}),(0,e.createComponentVNode)(2,N,{label:"Security",type:"security",is_active:c}),(0,e.createComponentVNode)(2,N,{label:"Diagnostic",type:"diagnostic",is_active:i}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,N,{label:"Radioactivity",type:"radioactivity",is_active:u,act_on:"rads_on",act_off:"rads_off"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,N,{label:"Antag HUD",is_active:s,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return y}(),N=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=S.label,f=S.type,i=f===void 0?null:f,u=S.is_active,s=S.act_on,d=s===void 0?"hud_on":s,C=S.act_off,g=C===void 0?"hud_off":C;return(0,e.createComponentVNode)(2,t.Flex,{pt:.3,color:"label",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{pl:.5,align:"center",width:"80%",children:c}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:.6,content:u?"On":"Off",icon:u?"toggle-on":"toggle-off",selected:u,onClick:function(){function v(){return l(u?g:d,{hud_type:i})}return v}()})})]})}},8977:function(L,r,n){"use strict";r.__esModule=!0,r.GlandDispenser=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.GlandDispenser=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.glands,f=c===void 0?[]:c;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:338,theme:"abductor",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:f.map(function(i){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:i.color,content:i.amount||"0",disabled:!i.amount,onClick:function(){function u(){return p("dispense",{gland_id:i.id})}return u}()},i.id)})})})})}return N}()},70309:function(L,r,n){"use strict";r.__esModule=!0,r.GravityGen=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.GravityGen=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.charging_state,f=l.charge_count,i=l.breaker,u=l.ext_power,s=function(){function C(g){return g>0?(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"average",children:["[ ",g===1?"Charging":"Discharging"," ]"]}):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:u?"good":"bad",children:["[ ",u?"Powered":"Unpowered"," ]"]})}return C}(),d=function(){function C(g){if(g>0)return(0,e.createComponentVNode)(2,t.NoticeBox,{danger:!0,p:1.5,children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," Radiation Detected!"]})}return C}();return(0,e.createComponentVNode)(2,o.Window,{width:350,height:170,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[d(c),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Generator Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:i?"power-off":"times",content:i?"Online":"Offline",color:i?"green":"red",px:1.5,onClick:function(){function C(){return p("breaker")}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Status",color:u?"good":"bad",children:s(c)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gravity Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:f/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})})]})})]})})})}return N}()},64769:function(L,r,n){"use strict";r.__esModule=!0,r.GuestPass=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(14635),N=r.GuestPass=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:690,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:!c.showlogs,onClick:function(){function f(){return l("mode",{mode:0})}return f}(),children:"Issue Pass"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"scroll",selected:c.showlogs,onClick:function(){function f(){return l("mode",{mode:1})}return f}(),children:["Records (",c.issue_log.length,")"]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.scan_name?"eject":"id-card",selected:c.scan_name,content:c.scan_name?c.scan_name:"-----",tooltip:c.scan_name?"Eject ID":"Insert ID",onClick:function(){function f(){return l("scan")}return f}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!c.showlogs&&(0,e.createComponentVNode)(2,t.Section,{title:"Issue Guest Pass",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Issue To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.giv_name?c.giv_name:"-----",disabled:!c.scan_name,onClick:function(){function f(){return l("giv_name")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reason",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.reason?c.reason:"-----",disabled:!c.scan_name,onClick:function(){function f(){return l("reason")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.duration?c.duration:"-----",disabled:!c.scan_name,onClick:function(){function f(){return l("duration")}return f}()})})]})})}),!c.showlogs&&(c.scan_name?(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:c.printmsg,disabled:!c.canprint,onClick:function(){function f(){return l("issue")}return f}()}),grantableList:c.grantableList,accesses:c.regions,selectedList:c.selectedAccess,accessMod:function(){function f(i){return l("access",{access:i})}return f}(),grantAll:function(){function f(){return l("grant_all")}return f}(),denyAll:function(){function f(){return l("clear_all")}return f}(),grantDep:function(){function f(i){return l("grant_region",{region:i})}return f}(),denyDep:function(){function f(i){return l("deny_region",{region:i})}return f}()})}):(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Please, insert ID Card"]})})})})),!!c.showlogs&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Issuance Log",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:!c.scan_name,onClick:function(){function f(){return l("print")}return f}()}),children:!!c.issue_log.length&&(0,e.createComponentVNode)(2,t.LabeledList,{children:c.issue_log.map(function(f,i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:f},i)})})||(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No logs"]})})})})]})})})}return y}()},12219:function(L,r,n){"use strict";r.__esModule=!0,r.HandheldChemDispenser=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=[1,5,10,20,30,50],N=null,y=r.HandheldChemDispenser=function(){function p(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:390,height:430,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k)]})})})}return p}(),S=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.amount,d=u.energy,C=u.maxEnergy,g=u.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:d,minValue:0,maxValue:C,ranges:{good:[C*.5,1/0],average:[C*.25,C*.5],bad:[-1/0,C*.25]},children:[d," / ",C," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Amount",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:m.map(function(v,h){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:s===v,content:v,onClick:function(){function V(){return i("amount",{amount:v})}return V}()})},h)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:g==="dispense",content:"Dispense",m:"0",width:"32%",onClick:function(){function v(){return i("mode",{mode:"dispense"})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:g==="remove",content:"Remove",m:"0",width:"32%",onClick:function(){function v(){return i("mode",{mode:"remove"})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:g==="isolate",content:"Isolate",m:"0",width:"32%",onClick:function(){function v(){return i("mode",{mode:"isolate"})}return v}()})]})})]})})})},k=function(l,c){for(var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.chemicals,d=s===void 0?[]:s,C=u.current_reagent,g=[],v=0;v<(d.length+1)%3;v++)g.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,height:"18%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:u.glass?"Drink Selector":"Chemical Selector",children:[d.map(function(h,V){return(0,e.createComponentVNode)(2,t.Button,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:C===h.id,content:h.title,style:{"margin-left":"2px"},onClick:function(){function b(){return i("dispense",{reagent:h.id})}return b}()},V)}),g.map(function(h,V){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},V)})]})})}},53917:function(L,r,n){"use strict";r.__esModule=!0,r.HealthSensor=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=n(84947),N=r.HealthSensor=function(){function S(k,p){var l=(0,t.useBackend)(p),c=l.act,f=l.data,i=f.on,u=f.user_health,s=f.minHealth,d=f.maxHealth,C=f.alarm_health;return(0,e.createComponentVNode)(2,m.Window,{width:300,height:125,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scanning",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",content:i?"On":"Off",color:i?null:"red",selected:i,onClick:function(){function g(){return c("scan_toggle")}return g}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health activation",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:2,stepPixelSize:6,minValue:s,maxValue:d,value:C,format:function(){function g(v){return(0,a.toFixed)(v,1)}return g}(),width:"80px",onDrag:function(){function g(v,h){return c("alarm_health",{alarm_health:h})}return g}()})}),u!==null&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"User health",children:(0,e.createComponentVNode)(2,o.Box,{color:y(u),bold:u>=100,children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:u})})})]})})})})}return S}(),y=function(k){return k>50?"green":k>0?"orange":"red"}},93116:function(L,r,n){"use strict";r.__esModule=!0,r.Holodeck=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.Holodeck=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=(0,a.useLocalState)(k,"currentDeck",""),i=f[0],u=f[1],s=(0,a.useLocalState)(k,"showReload",!1),d=s[0],C=s[1],g=c.decks,v=c.ai_override,h=c.emagged,V=function(){function b(B){l("select_deck",{deck:B}),u(B),C(!0),setTimeout(function(){C(!1)},3e3)}return b}();return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:[d&&(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Holodeck Control System",children:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"b",null,"Currently Loaded Program:",16)," ",i]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Available Programs",children:[g.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{width:15.5,color:"transparent",content:b,selected:b===i,onClick:function(){function B(){return V(b)}return B}()},b)}),(0,e.createVNode)(1,"hr",null,null,1,{color:"gray"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!v&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Override Protocols",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"Turn On":"Turn Off",color:h?"good":"bad",onClick:function(){function b(){return l("ai_override")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety Protocols",children:(0,e.createComponentVNode)(2,t.Box,{color:h?"bad":"good",children:[h?"Off":"On",!!h&&(0,e.createComponentVNode)(2,t.Button,{ml:9.5,width:15.5,color:"red",content:"Wildlife Simulation",onClick:function(){function b(){return l("wildlifecarp")}return b}()})]})})]})]})})]})})]})}return y}(),N=function(S,k){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"white",children:(0,e.createVNode)(1,"h1",null,"\xA0Recalibrating projection apparatus.\xA0",16)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,"Please, wait for 3 seconds.",16)})]})}},77209:function(L,r,n){"use strict";r.__esModule=!0,r.Instrument=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=n(84947),N=r.Instrument=function(){function l(c,f){var i=(0,t.useBackend)(f),u=i.act,s=i.data;return(0,e.createComponentVNode)(2,m.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p)]})})]})}return l}(),y=function(c,f){var i=(0,t.useBackend)(f),u=i.act,s=i.data,d=s.help;if(d)return(0,e.createComponentVNode)(2,o.Modal,{maxWidth:"75%",height:window.innerHeight*.75+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{px:"0.5rem",mt:"-0.5rem",children:[(0,e.createVNode)(1,"h1",null,"Making a Song",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"h1",null,"Instrument Advanced Settings",16),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Type:"}),(0,e.createTextVNode)("\xA0Whether the instrument is legacy or synthesized."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Legacy instruments have a collection of sounds that are selectively used depending on the note to play."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Synthesized instruments use a base sound and change its pitch to match the note to play.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Current:"}),(0,e.createTextVNode)("\xA0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),(0,e.createTextVNode)("\xA0The pitch to apply to all notes of the song.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain Mode:"}),(0,e.createTextVNode)("\xA0How a played note fades out."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Linear sustain means a note will fade out at a constant rate."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Exponential sustain means a note will fade out at an exponential rate, sounding smoother.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),(0,e.createTextVNode)("\xA0The volume threshold at which a note is fully stopped.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),(0,e.createTextVNode)("\xA0Whether the last note should be sustained indefinitely.")],4)],4),(0,e.createComponentVNode)(2,o.Button,{color:"grey",content:"Close",onClick:function(){function C(){return u("help")}return C}()})]})})})},S=function(c,f){var i=(0,t.useBackend)(f),u=i.act,s=i.data,d=s.lines,C=s.playing,g=s.repeat,v=s.maxRepeats,h=s.tempo,V=s.minTempo,b=s.maxTempo,B=s.tickLag,I=s.volume,w=s.minVolume,T=s.maxVolume,A=s.ready;return(0,e.createComponentVNode)(2,o.Section,{title:"Instrument",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"info",content:"Help",onClick:function(){function x(){return u("help")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file",content:"New",onClick:function(){function x(){return u("newsong")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"upload",content:"Import",onClick:function(){function x(){return u("import")}return x}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Playback",children:[(0,e.createComponentVNode)(2,o.Button,{selected:C,disabled:d.length===0||g<0,icon:"play",content:"Play",onClick:function(){function x(){return u("play")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!C,icon:"stop",content:"Stop",onClick:function(){function x(){return u("stop")}return x}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Repeat",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:0,maxValue:v,value:g,stepPixelSize:59,onChange:function(){function x(E,P){return u("repeat",{new:P})}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tempo",children:(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:h>=b,content:"-",as:"span",mr:"0.5rem",onClick:function(){function x(){return u("tempo",{new:h+B})}return x}()}),(0,a.round)(600/h)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:h<=V,content:"+",as:"span",ml:"0.5rem",onClick:function(){function x(){return u("tempo",{new:h-B})}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:w,maxValue:T,value:I,stepPixelSize:6,onDrag:function(){function x(E,P){return u("setvolume",{new:P})}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:A?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Ready"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Instrument Definition Error!"})})]}),(0,e.createComponentVNode)(2,k)]})},k=function(c,f){var i=(0,t.useBackend)(f),u=i.act,s=i.data,d=s.allowedInstrumentNames,C=s.instrumentLoaded,g=s.instrument,v=s.canNoteShift,h=s.noteShift,V=s.noteShiftMin,b=s.noteShiftMax,B=s.sustainMode,I=s.sustainLinearDuration,w=s.sustainExponentialDropoff,T=s.legacy,A=s.sustainDropoffVolume,x=s.sustainHeldNote,E,P;return B===1?(E="Linear",P=(0,e.createComponentVNode)(2,o.Slider,{minValue:.1,maxValue:5,value:I,step:.5,stepPixelSize:85,format:function(){function D(M){return(0,a.round)(M*100)/100+" seconds"}return D}(),onChange:function(){function D(M,O){return u("setlinearfalloff",{new:O/10})}return D}()})):B===2&&(E="Exponential",P=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:w,step:.01,format:function(){function D(M){return(0,a.round)(M*1e3)/1e3+"% per decisecond"}return D}(),onChange:function(){function D(M,O){return u("setexpfalloff",{new:O})}return D}()})),d.sort(),(0,e.createComponentVNode)(2,o.Box,{my:-1,children:(0,e.createComponentVNode)(2,o.Collapsible,{mt:"1rem",mb:"0",title:"Advanced",children:(0,e.createComponentVNode)(2,o.Section,{mt:-1,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Type",children:T?"Legacy":"Synthesized"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current",children:C?(0,e.createComponentVNode)(2,o.Dropdown,{options:d,selected:g,width:"50%",onSelected:function(){function D(M){return u("switchinstrument",{name:M})}return D}()}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None!"})}),!!(!T&&v)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Note Shift/Note Transpose",children:(0,e.createComponentVNode)(2,o.Slider,{minValue:V,maxValue:b,value:h,stepPixelSize:2,format:function(){function D(M){return M+" keys / "+(0,a.round)(M/12*100)/100+" octaves"}return D}(),onChange:function(){function D(M,O){return u("setnoteshift",{new:O})}return D}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain Mode",children:[(0,e.createComponentVNode)(2,o.Dropdown,{options:["Linear","Exponential"],selected:E,onSelected:function(){function D(M){return u("setsustainmode",{new:M})}return D}()}),P]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume Dropoff Threshold",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:.01,maxValue:100,value:A,stepPixelSize:6,onChange:function(){function D(M,O){return u("setdropoffvolume",{new:O})}return D}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain indefinitely last held note",children:(0,e.createComponentVNode)(2,o.Button,{selected:x,icon:x?"toggle-on":"toggle-off",content:x?"Yes":"No",onClick:function(){function D(){return u("togglesustainhold")}return D}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function D(){return u("reset")}return D}()})]})})})},p=function(c,f){var i=(0,t.useBackend)(f),u=i.act,s=i.data,d=s.playing,C=s.lines,g=s.editing;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!g||d,icon:"plus",content:"Add Line",onClick:function(){function v(){return u("newline",{line:C.length+1})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{selected:!g,icon:g?"chevron-up":"chevron-down",onClick:function(){function v(){return u("edit")}return v}()})],4),children:!!g&&(C.length>0?(0,e.createComponentVNode)(2,o.LabeledList,{children:C.map(function(v,h){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:h+1,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:d,icon:"pen",onClick:function(){function V(){return u("modifyline",{line:h+1})}return V}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:d,icon:"trash",onClick:function(){function V(){return u("deleteline",{line:h+1})}return V}()})],4),children:v},h)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},28847:function(L,r,n){"use strict";r.__esModule=!0,r.Jukebox=void 0;var e=n(28823),a=n(72026),t=n(90955),o=n(91819),m=n(2971),N=n(84947),y=r.Jukebox=function(){function p(l,c){var f=(0,o.useBackend)(c),i=f.act,u=f.data,s=u.active,d=u.looping,C=u.track_selected,g=u.volume,v=u.max_volume,h=u.songs,V=u.startTime,b=u.endTime,B=u.worldTime,I=u.need_coin,w=u.payment,T=u.advanced_admin,A=35,x=!w&&I&&!T,E=(0,t.flow)([(0,a.sortBy)(function(F){return F.name})])(h),P=h.find(function(F){return F.name===C}),D=E.length,M=P?E.findIndex(function(F){return F.name===P.name})+1:0,O=function(){function F(U){var _=Math.floor(U/60),z=U%60,H=String(_).padStart(2,"0")+":"+String(z).padStart(2,"0");return H}return F}(),j=(0,e.createComponentVNode)(2,m.Box,{textAlign:"center",children:[s?d?"\u221E":O(Math.round((B-V)/10)):d?"\u221E":O(P.length)," ","/ ",d?"\u221E":O(P.length)]});return(0,e.createComponentVNode)(2,N.Window,{width:350,height:435,title:"\u041C\u0443\u0437\u044B\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442",children:[x?(0,e.createComponentVNode)(2,k):null,(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack,{children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,title:"\u041F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{bold:!0,maxWidth:"240px",children:P.name.length>A?(0,e.createVNode)(1,"marquee",null,P.name,0):P.name}),(0,e.createComponentVNode)(2,m.Stack,{fill:!0,mt:1.5,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,m.Button,{fluid:!0,icon:s?"pause":"play",color:"transparent",content:s?"\u0421\u0442\u043E\u043F":"\u0421\u0442\u0430\u0440\u0442",selected:s,onClick:function(){function F(){return i("toggle")}return F}()})}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,m.Button.Checkbox,{fluid:!0,icon:"undo",content:"\u041F\u043E\u0432\u0442\u043E\u0440",disabled:s||I&&!T,tooltip:I&&!T?"\u0412\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440 \u0437\u0430 \u043C\u043E\u043D\u0435\u0442\u043A\u0443":null,checked:d,onClick:function(){function F(){return i("loop",{looping:!d})}return F}()})})]}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.ProgressBar.Countdown,{start:V,current:d?b:B,end:b,children:j})})]})})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{children:[s?(0,e.createComponentVNode)(2,S):null,(0,e.createComponentVNode)(2,m.Stack,{fill:!0,mb:1.5,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,m.Button,{color:"transparent",icon:"fast-backward",onClick:function(){function F(){return i("set_volume",{volume:"min"})}return F}()})}),(0,e.createComponentVNode)(2,m.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,m.Button,{color:"transparent",icon:"undo",onClick:function(){function F(){return i("set_volume",{volume:"reset"})}return F}()})}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,m:0,textAlign:"right",children:(0,e.createComponentVNode)(2,m.Button,{color:"transparent",icon:"fast-forward",onClick:function(){function F(){return i("set_volume",{volume:"max"})}return F}()})})]}),(0,e.createComponentVNode)(2,m.Stack.Item,{textAlign:"center",textColor:"label",children:[(0,e.createComponentVNode)(2,m.Knob,{size:2,color:g<=25?"green":g<=50?"":g<=75?"orange":"red",value:g,unit:"%",minValue:0,maxValue:v,step:1,stepPixelSize:5,onDrag:function(){function F(U,_){return i("set_volume",{volume:_})}return F}()}),"Volume"]})]})})]}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,title:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0442\u0440\u0435\u043A\u0438",buttons:(0,e.createComponentVNode)(2,m.Button,{bold:!0,icon:"random",color:"transparent",content:M+"/"+D,tooltip:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0439 \u0442\u0440\u0435\u043A",tooltipPosition:"top-end",onClick:function(){function F(){var U=Math.floor(Math.random()*D),_=E[U];i("select_track",{track:_.name})}return F}()}),children:E.map(function(F){return(0,e.createComponentVNode)(2,m.Stack.Item,{mb:.5,textAlign:"left",children:(0,e.createComponentVNode)(2,m.Button,{fluid:!0,selected:P.name===F.name,color:"translucent",content:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:F.name}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:O(F.length)})]}),onClick:function(){function U(){i("select_track",{track:F.name})}return U}()})},F.name)})})})]})})]})}return p}(),S=function(){return(0,e.createComponentVNode)(2,m.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,m.Icon,{name:"music",size:"3",color:"gray",mb:1}),(0,e.createComponentVNode)(2,m.Box,{color:"label",bold:!0,children:"\u0418\u0433\u0440\u0430\u0435\u0442 \u043C\u0443\u0437\u044B\u043A\u0430"})]})},k=function(){return(0,e.createComponentVNode)(2,m.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,m.Icon,{name:"coins",size:"6",color:"gold",mr:1}),(0,e.createComponentVNode)(2,m.Box,{color:"label",bold:!0,mt:5,fontSize:2,children:"\u0412\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043C\u043E\u043D\u0435\u0442\u043A\u0443"})]})}},64261:function(L,r,n){"use strict";r.__esModule=!0,r.KeycardAuth=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.KeycardAuth=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=(0,e.createComponentVNode)(2,t.Section,{title:"Keycard Authentication Device",children:(0,e.createComponentVNode)(2,t.Box,{children:"This device is used to trigger certain high security events. It requires the simultaneous swipe of two high-level ID cards."})});if(!l.swiping&&!l.busy)return(0,e.createComponentVNode)(2,o.Window,{width:540,height:280,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,(0,e.createComponentVNode)(2,t.Section,{title:"Choose Action",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Red Alert",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",disabled:!l.redAvailable,onClick:function(){function i(){return p("triggerevent",{triggerevent:"Red Alert"})}return i}(),content:"Red Alert"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",onClick:function(){function i(){return p("triggerevent",{triggerevent:"Emergency Response Team"})}return i}(),content:"Call ERT"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Maint Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function i(){return p("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return i}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function i(){return p("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return i}(),content:"Revoke"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Station-Wide Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function i(){return p("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return i}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function i(){return p("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return i}(),content:"Revoke"})]})]})})]})});var f=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!l.hasSwiped&&!l.ertreason&&l.event==="Emergency Response Team"?f=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):l.hasConfirm?f=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):l.isRemote?f=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):l.hasSwiped&&(f=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Waiting for second person to confirm..."})),(0,e.createComponentVNode)(2,o.Window,{width:540,height:265,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,l.event==="Emergency Response Team"&&(0,e.createComponentVNode)(2,t.Section,{title:"Reason for ERT Call",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{color:l.ertreason?"":"red",icon:l.ertreason?"check":"pencil-alt",content:l.ertreason?l.ertreason:"-----",disabled:l.busy,onClick:function(){function i(){return p("ert")}return i}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:l.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:l.busy||l.hasConfirm,onClick:function(){function i(){return p("reset")}return i}()}),children:f})]})})}return N}()},34898:function(L,r,n){"use strict";r.__esModule=!0,r.KitchenMachine=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(48154),N=r.KitchenMachine=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.data,f=l.config,i=c.ingredients,u=c.operating,s=f.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Operating,{operating:u,name:s}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,y)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Ingredients",children:(0,e.createComponentVNode)(2,t.Table,{className:"Ingredient__Table",children:i.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{tr:5,children:[(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:d.name}),2),(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:[d.amount," ",d.units]}),2)]},d.name)})})})})]})})})}return S}(),y=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.inactive,u=f.tooltip;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:i,tooltip:i?u:"",tooltipPosition:"bottom",content:"Activate",onClick:function(){function s(){return c("cook")}return s}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:i,tooltip:i?u:"",tooltipPosition:"bottom",content:"Eject Contents",onClick:function(){function s(){return c("eject")}return s}()})})]})})}},52564:function(L,r,n){"use strict";r.__esModule=!0,r.LawManager=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.LawManager=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.isAdmin,s=i.isSlaved,d=i.isMalf,C=i.isAIMalf,g=i.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:d?620:365,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!(u&&s)&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:["This unit is slaved to ",s,"."]}),!!(d||C)&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Law Management",selected:g===0,onClick:function(){function v(){return f("set_view",{set_view:0})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:g===1,onClick:function(){function v(){return f("set_view",{set_view:1})}return v}()})]}),g===0&&(0,e.createComponentVNode)(2,N),g===1&&(0,e.createComponentVNode)(2,y)]})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.has_zeroth_laws,s=i.zeroth_laws,d=i.has_ion_laws,C=i.ion_laws,g=i.ion_law_nr,v=i.has_inherent_laws,h=i.inherent_laws,V=i.has_supplied_laws,b=i.supplied_laws,B=i.channels,I=i.channel,w=i.isMalf,T=i.isAdmin,A=i.zeroth_law,x=i.ion_law,E=i.inherent_law,P=i.supplied_law,D=i.supplied_law_position;return(0,e.createFragment)([!!u&&(0,e.createComponentVNode)(2,S,{title:"ERR_NULL_VALUE",laws:s,ctx:l}),!!d&&(0,e.createComponentVNode)(2,S,{title:g,laws:C,ctx:l}),!!v&&(0,e.createComponentVNode)(2,S,{title:"Inherent",laws:h,ctx:l}),!!V&&(0,e.createComponentVNode)(2,S,{title:"Supplied",laws:b,ctx:l}),(0,e.createComponentVNode)(2,t.Section,{title:"Statement Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Statement Channel",children:B.map(function(M){return(0,e.createComponentVNode)(2,t.Button,{content:M.channel,selected:M.channel===I,onClick:function(){function O(){return f("law_channel",{law_channel:M.channel})}return O}()},M.channel)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State Laws",children:(0,e.createComponentVNode)(2,t.Button,{content:"State Laws",onClick:function(){function M(){return f("state_laws")}return M}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Law Notification",children:(0,e.createComponentVNode)(2,t.Button,{content:"Notify",onClick:function(){function M(){return f("notify_laws")}return M}()})})]})}),!!w&&(0,e.createComponentVNode)(2,t.Section,{title:"Add Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"60%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Actions"})]}),!!(T&&!u)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Zero"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:A}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function M(){return f("change_zeroth_law")}return M}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function M(){return f("add_zeroth_law")}return M}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ion"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function M(){return f("change_ion_law")}return M}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function M(){return f("add_ion_law")}return M}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Inherent"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:E}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function M(){return f("change_inherent_law")}return M}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function M(){return f("add_inherent_law")}return M}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Supplied"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:P}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:D,onClick:function(){function M(){return f("change_supplied_law_position")}return M}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function M(){return f("change_supplied_law")}return M}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function M(){return f("add_supplied_law")}return M}()})]})]})]})})],0)},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.law_sets;return(0,e.createComponentVNode)(2,t.Box,{children:u.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name+" - "+s.header,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Load Laws",icon:"download",onClick:function(){function d(){return f("transfer_laws",{transfer_laws:s.ref})}return d}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.laws.has_ion_laws>0&&s.laws.ion_laws.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.index,children:d.law},d.index)}),s.laws.has_zeroth_laws>0&&s.laws.zeroth_laws.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.index,children:d.law},d.index)}),s.laws.has_inherent_laws>0&&s.laws.inherent_laws.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.index,children:d.law},d.index)}),s.laws.has_supplied_laws>0&&s.laws.inherent_laws.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.index,children:d.law},d.index)})]})},s.name)})})},S=function(p,l){var c=(0,a.useBackend)(p.ctx),f=c.act,i=c.data,u=i.isMalf;return(0,e.createComponentVNode)(2,t.Section,{title:p.title+" Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"69%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"21%",children:"State?"})]}),p.laws.map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.index}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.law}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:s.state?"Yes":"No",selected:s.state,onClick:function(){function d(){return f("state_law",{ref:s.ref,state_law:s.state?0:1})}return d}()}),!!u&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function d(){return f("edit_law",{edit_law:s.ref})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function d(){return f("delete_law",{delete_law:s.ref})}return d}()})],4)]})]},s.law)})]})})}},55499:function(L,r,n){"use strict";r.__esModule=!0,r.LibraryComputer=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(22677),N=r.LibraryComputer=function(){function g(v,h){return(0,e.createComponentVNode)(2,o.Window,{width:1050,height:600,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})]})}return g}(),y=function(v,h){var V=(0,a.useBackend)(h),b=V.act,B=V.data,I=v.args,w=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:I.summary}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",verticalAlign:"top"})]}),!I.isProgrammatic&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Categories",children:I.categories.join(", ")})]}),(0,e.createVNode)(1,"br"),w===I.ckey&&(0,e.createComponentVNode)(2,t.Button,{content:"Delete Book",icon:"trash",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return b("delete_book",{bookid:I.id,user_ckey:w})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Report Book",icon:"flag",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,m.modalOpen)(h,"report_book",{bookid:I.id})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Rate Book",icon:"star",color:"caution",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,m.modalOpen)(h,"rate_info",{bookid:I.id})}return T}()})]})},S=function(v,h){var V=(0,a.useBackend)(h),b=V.act,B=V.data,I=v.args,w=B.selected_report,T=B.report_categories,A=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",title:"Report this book for Rule Violations",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reasons",children:(0,e.createComponentVNode)(2,t.Box,{children:T.map(function(x,E){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:x.description,selected:x.category_id===w,onClick:function(){function P(){return b("set_report",{report_type:x.category_id})}return P}()}),(0,e.createVNode)(1,"br")],4,E)})})})]}),(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,icon:"paper-plane",content:"Submit Report",onClick:function(){function x(){return b("submit_report",{bookid:I.id,user_ckey:A})}return x}()})]})},k=function(v,h){var V=(0,a.useBackend)(h),b=V.act,B=V.data,I=B.selected_rating,w=Array(10).fill().map(function(T,A){return 1+A});return(0,e.createComponentVNode)(2,t.Stack,{children:[w.map(function(T,A){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{bold:!0,icon:"star",color:I>=T?"caution":"default",onClick:function(){function x(){return b("set_rating",{rating_value:T})}return x}()})},A)}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,ml:2,fontSize:"150%",children:[I+"/10",(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"top"})]})]})},p=function(v,h){var V=(0,a.useBackend)(h),b=V.act,B=V.data,I=v.args,w=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.current_rating?I.current_rating:0,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Ratings",children:I.total_ratings?I.total_ratings:0})]}),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Button.Confirm,{mt:2,content:"Submit",icon:"paper-plane",onClick:function(){function T(){return b("rate_book",{bookid:I.id,user_ckey:w})}return T}()})]})},l=function(v,h){var V=(0,a.useBackend)(h),b=V.data,B=(0,a.useLocalState)(h,"tabIndex",0),I=B[0],w=B[1],T=b.login_state;return(0,e.createComponentVNode)(2,t.Stack.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===0,onClick:function(){function A(){return w(0)}return A}(),children:"Book Archives"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===1,onClick:function(){function A(){return w(1)}return A}(),children:"Corporate Literature"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===2,onClick:function(){function A(){return w(2)}return A}(),children:"Upload Book"}),T===1&&(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===3,onClick:function(){function A(){return w(3)}return A}(),children:"Patron Manager"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===4,onClick:function(){function A(){return w(4)}return A}(),children:"Inventory"})]})})},c=function(v,h){var V=(0,a.useLocalState)(h,"tabIndex",0),b=V[0];switch(b){case 0:return(0,e.createComponentVNode)(2,i);case 1:return(0,e.createComponentVNode)(2,u);case 2:return(0,e.createComponentVNode)(2,s);case 3:return(0,e.createComponentVNode)(2,d);case 4:return(0,e.createComponentVNode)(2,C);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},f=function(v,h){var V=(0,a.useBackend)(h),b=V.act,B=V.data,I=B.searchcontent,w=B.book_categories,T=B.user_ckey,A=[];return w.map(function(x){return A[x.description]=x.category_id}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"edit",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Inputs"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.title||"Input Title",onClick:function(){function x(){return(0,m.modalOpen)(h,"edit_search_title")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.author||"Input Author",onClick:function(){function x(){return(0,m.modalOpen)(h,"edit_search_author")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Ratings",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:1,width:"min-content",content:I.ratingmin,onClick:function(){function x(){return(0,m.modalOpen)(h,"edit_search_ratingmin")}return x}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:"To"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:1,width:"min-content",content:I.ratingmax,onClick:function(){function x(){return(0,m.modalOpen)(h,"edit_search_ratingmax")}return x}()})})]})})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"clipboard-list",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Book Categories"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Dropdown,{mt:.6,width:"190px",options:w.map(function(x){return x.description}),onSelected:function(){function x(E){return b("toggle_search_category",{category_id:A[E]})}return x}()})})})}),(0,e.createVNode)(1,"br"),w.filter(function(x){return I.categories.includes(x.category_id)}).map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.description,selected:!0,icon:"unlink",onClick:function(){function E(){return b("toggle_search_category",{category_id:x.category_id})}return E}()},x.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Actions"]}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Search",icon:"eraser",onClick:function(){function x(){return b("clear_search")}return x}()}),I.ckey?(0,e.createComponentVNode)(2,t.Button,{mb:.5,content:"Stop Showing My Books",color:"bad",icon:"search",onClick:function(){function x(){return b("clear_ckey_search")}return x}()}):(0,e.createComponentVNode)(2,t.Button,{content:"Find My Books",icon:"search",onClick:function(){function x(){return b("find_users_books",{user_ckey:T})}return x}()})]})]})},i=function(v,h){var V=(0,a.useBackend)(h),b=V.act,B=V.data,I=B.external_booklist,w=B.archive_pagenumber,T=B.num_pages,A=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Access",buttons:(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",disabled:w===1,onClick:function(){function x(){return b("deincrementpagemax")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",disabled:w===1,onClick:function(){function x(){return b("deincrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{bold:!0,content:w,onClick:function(){function x(){return(0,m.modalOpen)(h,"setpagenumber")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",disabled:w===T,onClick:function(){function x(){return b("incrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",disabled:w===T,onClick:function(){function x(){return b("incrementpagemax")}return x}()})],4),children:[(0,e.createComponentVNode)(2,f),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ratings"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Category"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(x){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:x.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:.5}),x.title.length>45?x.title.substr(0,45)+"...":x.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:x.author.length>30?x.author.substr(0,30)+"...":x.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[x.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",ml:.5,color:"yellow",verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x.categories.join(", ").substr(0,45)}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[A===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function E(){return b("order_external_book",{bookid:x.id})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function E(){return(0,m.modalOpen)(h,"expand_info",{bookid:x.id})}return E}()})]})]},x.id)})]})]})},u=function(v,h){var V=(0,a.useBackend)(h),b=V.act,B=V.data,I=B.programmatic_booklist,w=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Corporate Book Catalog",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(T,A){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:T.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:2}),T.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:T.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[w===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function x(){return b("order_programmatic_book",{bookid:T.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function x(){return(0,m.modalOpen)(h,"expand_info",{bookid:T.id})}return x}()})]})]},A)})]})})},s=function(v,h){var V=(0,a.useBackend)(h),b=V.act,B=V.data,I=B.selectedbook,w=B.book_categories,T=B.user_ckey,A=[];return w.map(function(x){return A[x.description]=x.category_id}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Upload",buttons:(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,width:9.5,icon:"upload",disabled:I.copyright,content:"Upload Book",onClick:function(){function x(){return b("uploadbook",{user_ckey:T})}return x}()}),children:[I.copyright?(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"WARNING: You cannot upload or modify the attributes of a copyrighted book"}):(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{ml:15,mb:3,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:2}),"Book Uploader"]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.title,onClick:function(){function x(){return(0,m.modalOpen)(h,"edit_selected_title")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.author,onClick:function(){function x(){return(0,m.modalOpen)(h,"edit_selected_author")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"240px",options:w.map(function(x){return x.description}),onSelected:function(){function x(E){return b("toggle_upload_category",{category_id:A[E]})}return x}()})})})]}),(0,e.createVNode)(1,"br"),w.filter(function(x){return I.categories.includes(x.category_id)}).map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.description,disabled:I.copyright,selected:!0,icon:"unlink",onClick:function(){function E(){return b("toggle_upload_category",{category_id:x.category_id})}return E}()},x.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:75,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",disabled:I.copyright,content:"Edit Summary",onClick:function(){function x(){return(0,m.modalOpen)(h,"edit_selected_summary")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:I.summary})]})})]})]})},d=function(v,h){var V=(0,a.useBackend)(h),b=V.act,B=V.data,I=B.checkout_data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Checked Out Books",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Patron"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actions"})]}),I.map(function(w,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-tag"}),w.patron_name]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:w.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:w.timeleft>=0?w.timeleft:"LATE"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:(0,e.createComponentVNode)(2,t.Button,{content:"Mark Lost",icon:"flag",color:"bad",disabled:w.timeleft>=0,onClick:function(){function A(){return b("reportlost",{libraryid:w.libraryid})}return A}()})})]},T)})]})})},C=function(v,h){var V=(0,a.useBackend)(h),b=V.act,B=V.data,I=B.inventory_list;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Library Inventory",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"LIB ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"})]}),I.map(function(w,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:w.libraryid}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"})," ",w.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:w.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:w.checked_out?"Checked Out":"Available"})]},T)})]})})};(0,m.modalRegisterBodyOverride)("expand_info",y),(0,m.modalRegisterBodyOverride)("report_book",S),(0,m.modalRegisterBodyOverride)("rate_info",p)},92682:function(L,r,n){"use strict";r.__esModule=!0,r.LibraryManager=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(22677),N=r.LibraryManager=function(){function l(c,f){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:600,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})]})}return l}(),y=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.pagestate;switch(d){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,p);case 3:return(0,e.createComponentVNode)(2,k);default:return"WE SHOULDN'T BE HERE!"}},S=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-shield",verticalAlign:"middle",size:3,mr:"1rem"}),"Library Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",width:"auto",color:"danger",content:"Delete Book by SSID",onClick:function(){function d(){return(0,m.modalOpen)(f,"specify_ssid_delete")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",width:"auto",color:"danger",content:"Delete All Books By CKEY",onClick:function(){function d(){return(0,m.modalOpen)(f,"specify_ckey_delete")}return d}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Books By CKEY",onClick:function(){function d(){return(0,m.modalOpen)(f,"specify_ckey_search")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Reported Books",onClick:function(){function d(){return u("view_reported_books")}return d}()})]})},k=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.reports;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-secret",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"All Reported Books",(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function C(){return u("return")}return C}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Uploader CKEY"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Report Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reporter Ckey"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),d.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:C.uploader_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),C.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:C.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:C.report_description}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:C.reporter_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",onClick:function(){function g(){return u("delete_book",{bookid:C.id})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Unflag",icon:"flag",color:"caution",onClick:function(){function g(){return u("unflag_book",{bookid:C.id})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function g(){return u("view_book",{bookid:C.id})}return g}()})]})]},C.id)})]})})},p=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.ckey,C=s.booklist;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"Books uploaded by ",d,(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function g(){return u("return")}return g}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),C.map(function(g){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),g.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:g.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",color:"bad",onClick:function(){function v(){return u("delete_book",{bookid:g.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function v(){return u("view_book",{bookid:g.id})}return v}()})]})]},g.id)})]})})}},68e3:function(L,r,n){"use strict";r.__esModule=!0,r.ListInputModal=void 0;var e=n(28823),a=n(2146),t=n(98658),o=n(2971),m=n(91819),N=n(31068),y=n(84947),S=r.ListInputModal=function(){function l(c,f){var i=(0,m.useBackend)(f),u=i.act,s=i.data,d=s.items,C=d===void 0?[]:d,g=s.message,v=g===void 0?"":g,h=s.init_value,V=s.timeout,b=s.title,B=(0,m.useLocalState)(f,"selected",C.indexOf(h)),I=B[0],w=B[1],T=(0,m.useLocalState)(f,"searchBarVisible",C.length>10),A=T[0],x=T[1],E=(0,m.useLocalState)(f,"searchQuery",""),P=E[0],D=E[1],M=function(){function $(Y){var X=z.length-1;if(Y===N.KEY_DOWN)if(I===null||I===X){var re;w(0),(re=document.getElementById("0"))==null||re.scrollIntoView()}else{var ae;w(I+1),(ae=document.getElementById((I+1).toString()))==null||ae.scrollIntoView()}else if(Y===N.KEY_UP)if(I===null||I===0){var se;w(X),(se=document.getElementById(X.toString()))==null||se.scrollIntoView()}else{var pe;w(I-1),(pe=document.getElementById((I-1).toString()))==null||pe.scrollIntoView()}}return $}(),O=function(){function $(Y){Y!==I&&w(Y)}return $}(),j=function(){function $(){x(!1),x(!0)}return $}(),F=function(){function $(Y){var X=String.fromCharCode(Y),re=C.find(function(pe){return pe==null?void 0:pe.toLowerCase().startsWith(X==null?void 0:X.toLowerCase())});if(re){var ae,se=C.indexOf(re);w(se),(ae=document.getElementById(se.toString()))==null||ae.scrollIntoView()}}return $}(),U=function(){function $(Y){var X;Y!==P&&(D(Y),w(0),(X=document.getElementById("0"))==null||X.scrollIntoView())}return $}(),_=function(){function $(){x(!A),D("")}return $}(),z=C.filter(function($){return $==null?void 0:$.toLowerCase().includes(P.toLowerCase())}),H=330+Math.ceil(v.length/3);return A||setTimeout(function(){var $;return($=document.getElementById(I.toString()))==null?void 0:$.focus()},1),(0,e.createComponentVNode)(2,y.Window,{title:b,width:325,height:H,children:[V&&(0,e.createComponentVNode)(2,a.Loader,{value:V}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function $(Y){var X=window.event?Y.which:Y.keyCode;(X===N.KEY_DOWN||X===N.KEY_UP)&&(Y.preventDefault(),M(X)),X===N.KEY_ENTER&&(Y.preventDefault(),u("submit",{entry:z[I]})),!A&&X>=N.KEY_A&&X<=N.KEY_Z&&(Y.preventDefault(),F(X)),X===N.KEY_ESCAPE&&(Y.preventDefault(),u("cancel"))}return $}(),children:(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{compact:!0,icon:A?"search":"font",selected:!0,tooltip:A?"Search Mode. Type to search or use arrow keys to select manually.":"Hotkey Mode. Type a letter to jump to the first match. Enter to select.",tooltipPosition:"left",onClick:function(){function $(){return _()}return $}()}),className:"ListInput__Section",fill:!0,title:v,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,k,{filteredItems:z,onClick:O,onFocusSearch:j,searchBarVisible:A,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:A&&(0,e.createComponentVNode)(2,p,{filteredItems:z,onSearch:U,searchQuery:P,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:z[I]})})]})})})]})}return l}(),k=function(c,f){var i=(0,m.useBackend)(f),u=i.act,s=c.filteredItems,d=c.onClick,C=c.onFocusSearch,g=c.searchBarVisible,v=c.selected;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:s.map(function(h,V){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:V,onClick:function(){function b(){return d(V)}return b}(),onDblClick:function(){function b(B){B.preventDefault(),u("submit",{entry:s[v]})}return b}(),onKeyDown:function(){function b(B){var I=window.event?B.which:B.keyCode;g&&I>=N.KEY_A&&I<=N.KEY_Z&&(B.preventDefault(),C())}return b}(),selected:V===v,style:{animation:"none",transition:"none"},children:h.replace(/^\w/,function(b){return b.toUpperCase()})},V)})})},p=function(c,f){var i=(0,m.useBackend)(f),u=i.act,s=c.filteredItems,d=c.onSearch,C=c.searchQuery,g=c.selected;return(0,e.createComponentVNode)(2,o.Input,{width:"100%",autoFocus:!0,autoSelect:!0,onEnter:function(){function v(h){h.preventDefault(),u("submit",{entry:s[g]})}return v}(),onInput:function(){function v(h,V){return d(V)}return v}(),placeholder:"Search...",value:C})}},75965:function(L,r,n){"use strict";r.__esModule=!0,r.MODsuitContent=r.MODsuit=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=function(I,w){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(w),P=E.act;return(0,e.createComponentVNode)(2,t.NumberInput,{value:A,minValue:-50,maxValue:50,stepPixelSize:5,width:"39px",onChange:function(){function D(M,O){return P("configure",{key:T,value:O,ref:x})}return D}()})},N=function(I,w){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(w),P=E.act;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:A,onClick:function(){function D(){return P("configure",{key:T,value:!A,ref:x})}return D}()})},y=function(I,w){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(w),P=E.act;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"paint-brush",onClick:function(){function D(){return P("configure",{key:T,ref:x})}return D}()}),(0,e.createComponentVNode)(2,t.ColorBox,{color:A,mr:.5})],4)},S=function(I,w){var T=I.name,A=I.value,x=I.values,E=I.module_ref,P=(0,a.useBackend)(w),D=P.act;return(0,e.createComponentVNode)(2,t.Dropdown,{displayText:A,options:x,onSelected:function(){function M(O){return D("configure",{key:T,value:O,ref:E})}return M}()})},k=function(I,w){var T=I.name,A=I.display_name,x=I.type,E=I.value,P=I.values,D=I.module_ref,M={number:(0,e.normalizeProps)((0,e.createComponentVNode)(2,m,Object.assign({},I))),bool:(0,e.normalizeProps)((0,e.createComponentVNode)(2,N,Object.assign({},I))),color:(0,e.normalizeProps)((0,e.createComponentVNode)(2,y,Object.assign({},I))),list:(0,e.normalizeProps)((0,e.createComponentVNode)(2,S,Object.assign({},I)))};return(0,e.createComponentVNode)(2,t.Box,{children:[A,": ",M[x]]})},p=function(I,w){var T=I.active,A=I.userradiated,x=I.usertoxins,E=I.usermaxtoxins,P=I.threatlevel;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Level",color:T&&A?"bad":"good",children:T&&A?"IRRADIATED!":"RADIATION-FREE"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxins Level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?x/E:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:x})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Hazard Level",color:T&&P?"bad":"good",bold:!0,children:T&&P?P:0})})]})},l=function(I,w){var T=I.active,A=I.userhealth,x=I.usermaxhealth,E=I.userbrute,P=I.userburn,D=I.usertoxin,M=I.useroxy;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?A/x:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?A:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?E/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?E:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?P/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?P:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?D/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?D:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?M/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?M:0})})})})]})],4)},c=function(I,w){var T=I.active,A=I.statustime,x=I.statusid,E=I.statushealth,P=I.statusmaxhealth,D=I.statusbrute,M=I.statusburn,O=I.statustoxin,j=I.statusoxy,F=I.statustemp,U=I.statusnutrition,_=I.statusfingerprints,z=I.statusdna,H=I.statusviruses;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Time",children:T?A:"00:00:00"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Number",children:T?x||"0":"???"})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?E/P:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?E:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?D/P:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?D:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?M/P:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?M:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?O/P:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:O})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?j/P:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:j})})})})]}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Body Temperature",children:T?F:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Nutrition Status",children:T?U:0})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"DNA",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fingerprints",children:T?_:"???"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:T?z:"???"})]})}),!!T&&!!H&&(0,e.createComponentVNode)(2,t.Section,{title:"Diseases",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"signature",tooltip:"Name",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"wind",tooltip:"Type",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Stage",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"flask",tooltip:"Cure",tooltipPosition:"top"})})]}),H.map(function($){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:$.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:$.type}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[$.stage,"/",$.maxstage]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:$.cure})]},$.name)})]})})],0)},f={rad_counter:p,health_analyzer:l,status_readout:c},i=function(){return(0,e.createComponentVNode)(2,t.Section,{align:"center",fill:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{color:"red",name:"exclamation-triangle",size:15}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"30px",color:"red",children:"ERROR: INTERFACE UNRESPONSIVE"})]})},u=function(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data;return(0,e.createComponentVNode)(2,t.Dimmer,{children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"16px",color:"blue",children:"SUIT UNPOWERED"})})})},s=function(I,w){var T=I.configuration_data,A=I.module_ref,x=Object.keys(T);return(0,e.createComponentVNode)(2,t.Dimmer,{backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[x.map(function(E){var P=T[E];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k,{name:E,display_name:P.display_name,type:P.type,value:P.value,values:P.values,module_ref:A})},P.key)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:I.onExit,icon:"times",textAlign:"center",children:"Exit"})})})]})})},d=function(I){switch(I){case 1:return"Use";case 2:return"Toggle";case 3:return"Select"}},C=function(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data,E=x.active,P=x.malfunctioning,D=x.locked,M=x.open,O=x.selected_module,j=x.complexity,F=x.complexity_max,U=x.wearer_name,_=x.wearer_job,z=P?"Malfunctioning":E?"Active":"Inactive";return(0,e.createComponentVNode)(2,t.Section,{title:"Parameters",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:E?"Deactivate":"Activate",onClick:function(){function H(){return A("activate")}return H}()}),children:z}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:D?"lock-open":"lock",content:D?"Unlock":"Lock",onClick:function(){function H(){return A("lock")}return H}()}),children:D?"Locked":"Unlocked"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover",children:M?"Open":"Closed"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Selected Module",children:O||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Complexity",children:[j," (",F,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:[U,", ",_]})]})})},g=function(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data,E=x.active,P=x.control,D=x.helmet,M=x.chestplate,O=x.gauntlets,j=x.boots,F=x.core,U=x.charge;return(0,e.createComponentVNode)(2,t.Section,{title:"Hardware",children:[(0,e.createComponentVNode)(2,t.Collapsible,{title:"Parts",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Control Unit",children:P}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Helmet",children:D||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chestplate",children:M||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gauntlets",children:O||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Boots",children:j||"None"})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core",children:F&&(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Type",children:F}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:U/100,content:U+"%",ranges:{good:[.6,1/0],average:[.3,.6],bad:[-1/0,.3]}})})]})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",textAlign:"center",children:"No Core Detected"})})]})},v=function(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data,E=x.active,P=x.modules,D=P.filter(function(M){return!!M.id});return(0,e.createComponentVNode)(2,t.Section,{title:"Info",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:D.length!==0&&D.map(function(M){var O=f[M.id];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!E&&(0,e.createComponentVNode)(2,u),(0,e.normalizeProps)((0,e.createComponentVNode)(2,O,Object.assign({},M,{active:E})))]},M.ref)})||(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Info Modules Detected"})})})},h=function(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data,E=x.complexity_max,P=x.modules,D=(0,a.useLocalState)(w,"module_configuration",null),M=D[0],O=D[1];return(0,e.createComponentVNode)(2,t.Section,{title:"Modules",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:P.length!==0&&P.map(function(j){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Collapsible,{title:j.module_name,children:(0,e.createComponentVNode)(2,t.Section,{children:[M===j.ref&&(0,e.createComponentVNode)(2,s,{configuration_data:j.configuration_data,module_ref:j.ref,onExit:function(){function F(){return O(null)}return F}()}),(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"save",tooltip:"Complexity",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"plug",tooltip:"Idle Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lightbulb",tooltip:"Active Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Use Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"hourglass-half",tooltip:"Cooldown",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"tasks",tooltip:"Actions",tooltipPosition:"top"})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[j.module_complexity,"/",E]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:j.idle_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:j.active_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:j.use_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[j.cooldown>0&&j.cooldown/10||"0","/",j.cooldown_time/10,"s"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return A("select",{ref:j.ref})}return F}(),icon:"bullseye",selected:j.module_active,tooltip:d(j.module_type),tooltipPosition:"left",disabled:!j.module_type}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return O(j.ref)}return F}(),icon:"cog",selected:M===j.ref,tooltip:"Configure",tooltipPosition:"left",disabled:j.configuration_data.length===0}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return A("pin",{ref:j.ref})}return F}(),icon:"thumbtack",selected:j.pinned,tooltip:"Pin",tooltipPosition:"left",disabled:!j.module_type})]})]})]}),(0,e.createComponentVNode)(2,t.Box,{children:j.description})]})})},j.ref)})||(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Modules Detected"})})})})},V=r.MODsuitContent=function(){function B(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data,E=x.ui_theme,P=x.interface_break;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!P,children:!!P&&(0,e.createComponentVNode)(2,i)||(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,C)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,g)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,v)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,h)})]})})}return B}(),b=r.MODsuit=function(){function B(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data,E=x.ui_theme,P=x.interface_break;return(0,e.createComponentVNode)(2,o.Window,{theme:E,width:400,height:620,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,V)})})})}return B}()},86322:function(L,r,n){"use strict";r.__esModule=!0,r.MagnetController=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=n(84947),N=n(22677),y=new Map([["n",{icon:"arrow-up",tooltip:"Move North"}],["e",{icon:"arrow-right",tooltip:"Move East"}],["s",{icon:"arrow-down",tooltip:"Move South"}],["w",{icon:"arrow-left",tooltip:"Move West"}],["c",{icon:"crosshairs",tooltip:"Move to Magnet"}],["r",{icon:"dice",tooltip:"Move Randomly"}]]),S=r.MagnetController=function(){function k(p,l){var c=(0,t.useBackend)(l),f=c.act,i=c.data,u=i.autolink,s=i.code,d=i.frequency,C=i.linkedMagnets,g=i.magnetConfiguration,v=i.path,h=i.pathPosition,V=i.probing,b=i.powerState,B=i.speed;return(0,e.createComponentVNode)(2,m.Window,{width:400,height:600,children:[(0,e.createComponentVNode)(2,N.ComplexModal),(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:[!u&&(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Probe",icon:V?"spinner":"sync",iconSpin:!!V,disabled:V,onClick:function(){function I(){return f("probe_magnets")}return I}()}),title:"Magnet Linking",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,a.toFixed)(d/10,1)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:s})]})}),(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{icon:b?"power-off":"times",content:b?"On":"Off",selected:b,onClick:function(){function I(){return f("toggle_power")}return I}()}),title:"Controller Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:B.value,minValue:B.min,maxValue:B.max,onChange:function(){function I(w,T){return f("set_speed",{speed:T})}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Path",children:[Array.from(y.entries()).map(function(I){var w=I[0],T=I[1],A=T.icon,x=T.tooltip;return(0,e.createComponentVNode)(2,o.Button,{icon:A,tooltip:x,onClick:function(){function E(){return f("path_add",{code:w})}return E}()},w)}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",confirmIcon:"trash",confirmContent:"",float:"right",tooltip:"Reset Path",tooltipPosition:"left",onClick:function(){function I(){return f("path_clear")}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file-import",float:"right",tooltip:"Manually input path",tooltipPosition:"left",onClick:function(){function I(){return(0,N.modalOpen)(l,"path_custom_input")}return I}()}),(0,e.createComponentVNode)(2,o.BlockQuote,{children:v.map(function(I,w){var T=y.get(I)||{icon:"question"},A=T.icon,x=T.tooltip;return(0,e.createComponentVNode)(2,o.Button.Confirm,{selected:w+2===h,icon:A,confirmIcon:A,confirmContent:"",tooltip:x,onClick:function(){function E(){return f("path_remove",{index:w+1,code:I})}return E}()},w)})})]})]})}),C.map(function(I,w){var T=I.uid,A=I.powerState,x=I.electricityLevel,E=I.magneticField;return(0,e.createComponentVNode)(2,o.Section,{title:"Magnet #"+(w+1)+" Configuration",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:A?"power-off":"times",content:A?"On":"Off",selected:A,onClick:function(){function P(){return f("toggle_magnet_power",{id:T})}return P}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Move Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:x,minValue:g.electricityLevel.min,maxValue:g.electricityLevel.max,onChange:function(){function P(D,M){return f("set_electricity_level",{id:T,electricityLevel:M})}return P}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Field Size",children:(0,e.createComponentVNode)(2,o.Slider,{value:E,minValue:g.magneticField.min,maxValue:g.magneticField.max,onChange:function(){function P(D,M){return f("set_magnetic_field",{id:T,magneticField:M})}return P}()})})]})},T)})]})]})}return k}()},54374:function(L,r,n){"use strict";r.__esModule=!0,r.MechBayConsole=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.MechBayConsole=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.recharge_port,f=c&&c.mech,i=f&&f.cell,u=f&&f.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:155,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:u?"Mech status: "+u:"Mech status",textAlign:"center",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Sync",onClick:function(){function s(){return p("reconnect")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!f&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:f.health/f.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!f&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||!i&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:i.charge/i.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:i.charge})," / "+i.maxcharge]})})]})})})})}return N}()},14823:function(L,r,n){"use strict";r.__esModule=!0,r.MechaControlConsole=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=n(84947),N=n(37843),y=r.MechaControlConsole=function(){function S(k,p){var l=(0,t.useBackend)(p),c=l.act,f=l.data,i=f.beacons,u=f.stored_data;return u.length?(0,e.createComponentVNode)(2,m.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"window-close",onClick:function(){function s(){return c("clear_log")}return s}()}),children:u.map(function(s){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["(",s.time,")"]}),(0,e.createComponentVNode)(2,o.Box,{children:(0,N.decodeHtmlEntities)(s.message)})]},s.time)})})})}):(0,e.createComponentVNode)(2,m.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:i.length&&i.map(function(s){return(0,e.createComponentVNode)(2,o.Section,{title:s.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function d(){return c("send_message",{mt:s.uid})}return d}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function d(){return c("get_log",{mt:s.uid})}return d}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"Sabotage",icon:"bomb",onClick:function(){function d(){return c("shock",{mt:s.uid})}return d}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.maxHealth*.75,1/0],average:[s.maxHealth*.5,s.maxHealth*.75],bad:[-1/0,s.maxHealth*.5]},value:s.health,maxValue:s.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:s.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.cellMaxCharge*.75,1/0],average:[s.cellMaxCharge*.5,s.cellMaxCharge*.75],bad:[-1/0,s.cellMaxCharge*.5]},value:s.cellCharge,maxValue:s.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[s.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:s.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,N.toTitleCase)(s.location)||"Unknown"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Active Equipment",children:s.active||"None"}),s.cargoMax&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cargo Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{bad:[s.cargoMax*.75,1/0],average:[s.cargoMax*.5,s.cargoMax*.75],good:[-1/0,s.cargoMax*.5]},value:s.cargoUsed,maxValue:s.cargoMax})})||null]})},s.name)})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No mecha beacons found."})})})}return S}()},16189:function(L,r,n){"use strict";r.__esModule=!0,r.MedicalRecords=void 0;var e=n(28823),a=n(37843),t=n(91819),o=n(2971),m=n(22677),N=n(84947),y=n(51185),S=n(69774),k=n(76519),p={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},l={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},c=function(A,x){(0,m.modalOpen)(A,"edit",{field:x.edit,value:x.value})},f=function(A,x){var E=A.args;return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:E.name||"Virus",children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Number of stages",children:E.max_stages}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Spread",children:[E.spread_text," Transmission"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Possible cure",children:E.cure}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Notes",children:E.desc}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Severity",color:p[E.severity],children:E.severity})]})})})},i=r.MedicalRecords=function(){function T(A,x){var E=(0,t.useBackend)(x),P=E.data,D=P.loginState,M=P.screen;if(!D.logged_in)return(0,e.createComponentVNode)(2,N.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});var O;return M===2?O=(0,e.createComponentVNode)(2,u):M===3?O=(0,e.createComponentVNode)(2,s):M===4?O=(0,e.createComponentVNode)(2,d):M===5?O=(0,e.createComponentVNode)(2,h):M===6?O=(0,e.createComponentVNode)(2,V):M===7&&(O=(0,e.createComponentVNode)(2,b)),(0,e.createComponentVNode)(2,N.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,k.TemporaryNotice),(0,e.createComponentVNode)(2,w),O]})})]})}return T}(),u=function(A,x){var E=(0,t.useBackend)(x),P=E.act,D=E.data,M=D.records,O=(0,t.useLocalState)(x,"searchText",""),j=O[0],F=O[1],U=(0,t.useLocalState)(x,"sortId","name"),_=U[0],z=U[1],H=(0,t.useLocalState)(x,"sortOrder",!0),$=H[0],Y=H[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Manage Records",icon:"wrench",ml:"0.25rem",onClick:function(){function X(){return P("screen",{screen:3})}return X}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"Search by Name, ID, Physical Status, or Mental Status",onInput:function(){function X(re,ae){return F(ae)}return X}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,B,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,B,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,B,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,B,{id:"p_stat",children:"Patient Status"}),(0,e.createComponentVNode)(2,B,{id:"m_stat",children:"Mental Status"})]}),M.filter((0,a.createSearch)(j,function(X){return X.name+"|"+X.id+"|"+X.rank+"|"+X.p_stat+"|"+X.m_stat})).sort(function(X,re){var ae=$?1:-1;return X[_].localeCompare(re[_])*ae}).map(function(X){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+l[X.p_stat],onClick:function(){function re(){return P("view_record",{view_record:X.ref})}return re}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",X.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:X.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:X.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:X.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:X.m_stat})]},X.id)})]})})})],4)},s=function(A,x){var E=(0,t.useBackend)(x),P=E.act;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"download",content:"Backup to Disk",disabled:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0})," "]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,lineHeight:3,icon:"trash",color:"translucent",content:"Delete All Medical Records",onClick:function(){function D(){return P("del_all_med_records")}return D}()})})]})})},d=function(A,x){var E=(0,t.useBackend)(x),P=E.act,D=E.data,M=D.medical,O=D.printing;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{height:"235px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:O?"spinner":"print",disabled:O,iconSpin:!!O,content:"Print Record",ml:"0.5rem",onClick:function(){function j(){return P("print_record")}return j}()}),children:(0,e.createComponentVNode)(2,C)})}),!M||!M.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function j(){return P("new_med_record")}return j}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Medical records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:!!M.empty,content:"Delete Medical Record",onClick:function(){function j(){return P("del_med_record")}return j}()}),children:(0,e.createComponentVNode)(2,g)})}),(0,e.createComponentVNode)(2,v)],4)],0)},C=function(A,x){var E=(0,t.useBackend)(x),P=E.data,D=P.general;return!D||!D.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:D.fields.map(function(M,O){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:M.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:M.value}),!!M.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function j(){return c(x,M)}return j}()})]},O)})})}),!!D.has_photos&&D.photos.map(function(M,O){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:M,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,e.createVNode)(1,"br"),"Photo #",O+1]},O)})]})},g=function(A,x){var E=(0,t.useBackend)(x),P=E.act,D=E.data,M=D.medical;return!M||!M.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"Medical records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:M.fields.map(function(O,j){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:O.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:O.value}),!!O.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function F(){return c(x,O)}return F}()})]},j)})})})})},v=function(A,x){var E=(0,t.useBackend)(x),P=E.act,D=E.data,M=D.medical;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function O(){return(0,m.modalOpen)(x,"add_comment")}return O}()}),children:M.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):M.comments.map(function(O,j){return(0,e.createComponentVNode)(2,o.Box,{prewrap:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:O.header}),(0,e.createVNode)(1,"br"),O.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function F(){return P("del_comment",{del_comment:j+1})}return F}()})]},j)})})})},h=function(A,x){var E=(0,t.useBackend)(x),P=E.act,D=E.data,M=D.virus,O=(0,t.useLocalState)(x,"searchText",""),j=O[0],F=O[1],U=(0,t.useLocalState)(x,"sortId2","name"),_=U[0],z=U[1],H=(0,t.useLocalState)(x,"sortOrder2",!0),$=H[0],Y=H[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{ml:"0.25rem",fluid:!0,placeholder:"Search by Name, Max Stages, or Severity",onInput:function(){function X(re,ae){return F(ae)}return X}()})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,I,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,I,{id:"max_stages",children:"Max Stages"}),(0,e.createComponentVNode)(2,I,{id:"severity",children:"Severity"})]}),M.filter((0,a.createSearch)(j,function(X){return X.name+"|"+X.max_stages+"|"+X.severity})).sort(function(X,re){var ae=$?1:-1;return X[_].localeCompare(re[_])*ae}).map(function(X){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+X.severity,onClick:function(){function re(){return P("vir",{vir:X.D})}return re}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",X.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:X.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:p[X.severity],children:X.severity})]},X.id)})]})})})})],4)},V=function(A,x){var E=(0,t.useBackend)(x),P=E.act,D=E.data,M=D.goals;return(0,e.createComponentVNode)(2,o.Section,{title:"Virology Goals",fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:M.length!==0&&M.map(function(O){return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:O.name,children:[(0,e.createComponentVNode)(2,o.Table,{children:(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:O.delivered,minValue:0,maxValue:O.deliverygoal,ranges:{good:[O.deliverygoal*.5,1/0],average:[O.deliverygoal*.25,O.deliverygoal*.5],bad:[-1/0,O.deliverygoal*.25]},children:[O.delivered," / ",O.deliverygoal," Units"]})})})}),(0,e.createComponentVNode)(2,o.Box,{children:O.report})]})},O.id)})||(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:"No Goals Detected"})})})})},b=function(A,x){var E=(0,t.useBackend)(x),P=E.act,D=E.data,M=D.medbots;return M.length===0?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"robot",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"There are no Medibots."]})})})}):(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Area"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Chemicals"})]}),M.map(function(O){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listMedbot--"+O.on,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"medical"})," ",O.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[O.area||"Unknown"," (",O.x,", ",O.y,")"]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.on?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Online"}):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"Offline"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.use_beaker?"Reservoir: "+O.total_volume+"/"+O.maximum_volume:"Using internal synthesizer"})]},O.id)})]})})})},B=function(A,x){var E=(0,t.useLocalState)(x,"sortId","name"),P=E[0],D=E[1],M=(0,t.useLocalState)(x,"sortOrder",!0),O=M[0],j=M[1],F=A.id,U=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:P!==F&&"transparent",onClick:function(){function _(){P===F?j(!O):(D(F),j(!0))}return _}(),children:[U,P===F&&(0,e.createComponentVNode)(2,o.Icon,{name:O?"sort-up":"sort-down",ml:"0.25rem;"})]})})},I=function(A,x){var E=(0,t.useLocalState)(x,"sortId2","name"),P=E[0],D=E[1],M=(0,t.useLocalState)(x,"sortOrder2",!0),O=M[0],j=M[1],F=A.id,U=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:P!==F&&"transparent",onClick:function(){function _(){P===F?j(!O):(D(F),j(!0))}return _}(),children:[U,P===F&&(0,e.createComponentVNode)(2,o.Icon,{name:O?"sort-up":"sort-down",ml:"0.25rem;"})]})})},w=function(A,x){var E=(0,t.useBackend)(x),P=E.act,D=E.data,M=D.screen,O=D.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:M===2,onClick:function(){function j(){P("screen",{screen:2})}return j}(),children:"List Records"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:M===5,onClick:function(){function j(){P("screen",{screen:5})}return j}(),children:"Virus Database"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"vial",selected:M===6,onClick:function(){function j(){P("screen",{screen:6})}return j}(),children:"Virology Goals"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:M===7,onClick:function(){function j(){return P("screen",{screen:7})}return j}(),children:"Medibot Tracking"}),M===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:M===3,children:"Record Maintenance"}),M===4&&O&&!O.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:M===4,children:["Record: ",O.fields[0].value]})]})})};(0,m.modalRegisterBodyOverride)("virus",f)},44482:function(L,r,n){"use strict";r.__esModule=!0,r.MerchVendor=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=p.product,s=p.productImage,d=p.productCategory,C=i.user_money;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:u.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{disabled:u.price>C,icon:"shopping-cart",content:u.price,textAlign:"left",onClick:function(){function g(){return f("purchase",{name:u.name,category:d})}return g}()})})]})},N=function(p,l){var c=(0,a.useBackend)(l),f=c.data,i=(0,a.useLocalState)(l,"tabIndex",1),u=i[0],s=f.products,d=f.imagelist,C=["apparel","toy","decoration"];return(0,e.createComponentVNode)(2,t.Table,{children:s[C[u]].map(function(g){return(0,e.createComponentVNode)(2,m,{product:g,productImage:d[g.path],productCategory:C[u]},g.name)})})},y=r.MerchVendor=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.user_cash,s=i.inserted_cash;return(0,e.createComponentVNode)(2,o.Window,{title:"Merch Computer",width:450,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"light-grey",inline:!0,mr:"0.5rem",children:["There is ",(0,e.createVNode)(1,"b",null,s,0)," credits inserted."]}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s,icon:"money-bill-wave-alt",content:"Dispense Change",textAlign:"left",onClick:function(){function d(){return f("change")}return d}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:["Doing your job and not getting any recognition at work? Well, welcome to the merch shop! Here, you can buy cool things in exchange for money you earn when you have completed your Job Objectives.",u!==null&&(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:["Your balance is ",(0,e.createVNode)(1,"b",null,[u||0,(0,e.createTextVNode)(" credits")],0),"."]})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,N)]})})]})})})}return k}(),S=function(p,l){var c=(0,a.useBackend)(l),f=c.data,i=(0,a.useLocalState)(l,"tabIndex",1),u=i[0],s=i[1],d=f.login_state;return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"dice",selected:u===1,onClick:function(){function C(){return s(1)}return C}(),children:"Toys"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"flag",selected:u===2,onClick:function(){function C(){return s(2)}return C}(),children:"Decorations"})]})}},53551:function(L,r,n){"use strict";r.__esModule=!0,r.MiningVendor=void 0;var e=n(28823),a=n(37843),t=n(91819),o=n(2971),m=n(84947),N=["title","items"];function y(i,u){if(i==null)return{};var s={},d=Object.keys(i),C,g;for(g=0;g<d.length;g++)C=d[g],!(u.indexOf(C)>=0)&&(s[C]=i[C]);return s}var S={Alphabetical:function(){function i(u,s){return u-s}return i}(),Availability:function(){function i(u,s){return-(u.affordable-s.affordable)}return i}(),Price:function(){function i(u,s){return u.price-s.price}return i}()},k=r.MiningVendor=function(){function i(u,s){return(0,e.createComponentVNode)(2,m.Window,{width:400,height:455,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,l)]})})})}return i}(),p=function(u,s){var d=(0,t.useBackend)(s),C=d.act,g=d.data,v=g.has_id,h=g.id;return(0,e.createComponentVNode)(2,o.NoticeBox,{success:v,children:v?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",h.name,".",(0,e.createVNode)(1,"br"),"You have ",h.points.toLocaleString("en-US")," points."]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){function V(){return C("logoff")}return V}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},l=function(u,s){var d=(0,t.useBackend)(s),C=d.act,g=d.data,v=g.has_id,h=g.id,V=g.items,b=(0,t.useLocalState)(s,"search",""),B=b[0],I=b[1],w=(0,t.useLocalState)(s,"sort","Alphabetical"),T=w[0],A=w[1],x=(0,t.useLocalState)(s,"descending",!1),E=x[0],P=x[1],D=(0,a.createSearch)(B,function(j){return j[0]}),M=!1,O=Object.entries(V).map(function(j,F){var U=Object.entries(j[1]).filter(D).map(function(_){return _[1].affordable=v&&h.points>=_[1].price,_[1]}).sort(S[T]);if(U.length!==0)return E&&(U=U.reverse()),M=!0,(0,e.createComponentVNode)(2,f,{title:j[0],items:U},j[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:M?O:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},c=function(u,s){var d=(0,t.useLocalState)(s,"search",""),C=d[0],g=d[1],v=(0,t.useLocalState)(s,"sort",""),h=v[0],V=v[1],b=(0,t.useLocalState)(s,"descending",!1),B=b[0],I=b[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{mt:.2,placeholder:"Search by item name..",width:"100%",onInput:function(){function w(T,A){return g(A)}return w}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:"Alphabetical",options:Object.keys(S),width:"100%",onSelected:function(){function w(T){return V(T)}return w}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:B?"arrow-down":"arrow-up",height:"21px",tooltip:B?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function w(){return I(!B)}return w}()})})]})})},f=function(u,s){var d=(0,t.useBackend)(s),C=d.act,g=d.data,v=u.title,h=u.items,V=y(u,N);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:v},V,{children:h.map(function(b){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:b.name}),(0,e.createComponentVNode)(2,o.Button,{disabled:!g.has_id||g.id.points<b.price,content:b.price.toLocaleString("en-US"),width:"15%",textAlign:"center",style:{float:"right"},onClick:function(){function B(){return C("purchase",{cat:v,name:b.name})}return B}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})]},b.name)})})))}},71545:function(L,r,n){"use strict";r.__esModule=!0,r.ModpacksListContent=r.ModpacksList=void 0;var e=n(28823),a=n(91819),t=n(84947),o=n(2971),m=r.ModpacksList=function(){function y(S,k){return(0,e.createComponentVNode)(2,t.Window,{width:500,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,N)})})})}return y}(),N=r.ModpacksListContent=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.modpacks,i=(0,a.useLocalState)(k,"searchText",""),u=i[0],s=i[1],d=(0,e.createComponentVNode)(2,o.Input,{placeholder:"\u0418\u0441\u043A\u0430\u0442\u044C \u043C\u043E\u0434\u043F\u0430\u043A \u043F\u043E \u0438\u043C\u0435\u043D\u0438, \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044E \u0438\u043B\u0438 \u0430\u0432\u0442\u043E\u0440\u0443...",fluid:!0,onInput:function(){function C(g,v){return s(v)}return C}()});return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",children:d})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:u.length>0?'\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 "'+u+'"':"\u0412\u0441\u0435 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438 - "+f.length,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:f.filter(function(C){return C.name&&(u.length>0?C.name.toLowerCase().includes(u.toLowerCase())||C.desc.toLowerCase().includes(u.toLowerCase())||C.author.toLowerCase().includes(u.toLowerCase()):!0)}).map(function(C){return(0,e.createComponentVNode)(2,o.Collapsible,{title:C.name,children:[(0,e.createComponentVNode)(2,o.Section,{title:"\u0410\u0432\u0442\u043E\u0440\u044B",children:C.author}),(0,e.createComponentVNode)(2,o.Section,{title:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",children:C.desc})]},C.name)})})})})})],4)}return y}()},61100:function(L,r,n){"use strict";r.__esModule=!0,r.NTRecruiter=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.NTRecruiter=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.gamestatus,f=l.cand_name,i=l.cand_birth,u=l.cand_age,s=l.cand_species,d=l.cand_planet,C=l.cand_job,g=l.cand_records,v=l.cand_curriculum,h=l.total_curriculums,V=l.reason;if(c===0)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{pt:"45%",fontSize:"31px",color:"white",textAlign:"center",bold:!0,children:"Nanotrasen Recruiter Simulator"}),(0,e.createComponentVNode)(2,t.Stack.Item,{pt:"1%",fontSize:"16px",textAlign:"center",color:"label",children:"Work as the Nanotrasen recruiter and avoid hiring incompetent employees!"})]})}),(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",lineHeight:2,fluid:!0,icon:"play",color:"green",content:"Begin Shift",onClick:function(){function b(){return p("start_game")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",lineHeight:2,fluid:!0,icon:"info",color:"blue",content:"Guide",onClick:function(){function b(){return p("instructions")}return b}()})]})]})})});if(c===1)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,color:"grey",title:"Guide",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Main Menu",onClick:function(){function b(){return p("back_to_menu")}return b}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"1#",color:"silver",children:["To win this game you must hire/dismiss"," ",(0,e.createVNode)(1,"b",null,h,0)," candidates, one wrongly made choice leads to a game over."]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"2#",color:"silver",children:"Make the right choice by truly putting yourself into the skin of a recruiter working for Nanotrasen!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"3#",color:"silver",children:[(0,e.createVNode)(1,"b",null,"Unique",16)," characters may appear, pay attention to them!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"4#",color:"silver",children:"Make sure to pay attention to details like age, planet names, the requested job and even the species of the candidate!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"5#",color:"silver",children:["Not every employment record is good, remember to make your choice based on the ",(0,e.createVNode)(1,"b",null,"company morals",16),"!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"6#",color:"silver",children:"The planet of origin has no restriction on the species of the candidate, don't think too much when you see humans that came from Boron!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"7#",color:"silver",children:["Pay attention to ",(0,e.createVNode)(1,"b",null,"typos",16)," and ",(0,e.createVNode)(1,"b",null,"missing words",16),", these do make for bad applications!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"8#",color:"silver",children:["Remember, you are recruiting people to work at one of the many NT stations, so no hiring for ",(0,e.createVNode)(1,"b",null,"jobs",16)," that they"," ",(0,e.createVNode)(1,"b",null,"don't offer",16),"!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"9#",color:"silver",children:["Keep your eyes open for incompatible ",(0,e.createVNode)(1,"b",null,"naming schemes",16),", no company wants a Vox named Joe!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10#",color:"silver",children:["For some unknown reason ",(0,e.createVNode)(1,"b",null,"clowns",16)," are never denied by the company, no matter what."]})]})})})})});if(c===2)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,color:"label",fontSize:"14px",title:"Employment Applications",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"24px",textAlign:"center",color:"silver",bold:!0,children:["Candidate Number #",v]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",color:"silver",children:(0,e.createVNode)(1,"b",null,f,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",color:"silver",children:(0,e.createVNode)(1,"b",null,s,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Age",color:"silver",children:(0,e.createVNode)(1,"b",null,u,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Date of Birth",color:"silver",children:(0,e.createVNode)(1,"b",null,i,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Planet of Origin",color:"silver",children:(0,e.createVNode)(1,"b",null,d,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requested Job",color:"silver",children:(0,e.createVNode)(1,"b",null,C,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Employment Records",color:"silver",children:(0,e.createVNode)(1,"b",null,g,0)})]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stamp the application!",color:"grey",textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"red",content:"Dismiss",fontSize:"150%",icon:"ban",lineHeight:4.5,onClick:function(){function b(){return p("dismiss")}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"green",content:"Hire",fontSize:"150%",icon:"arrow-circle-up",lineHeight:4.5,onClick:function(){function b(){return p("hire")}return b}()})})]})})})]})})});if(c===3)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{pt:"40%",fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,color:"red",fontSize:"50px",textAlign:"center",children:"Game Over"}),(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"15px",color:"label",textAlign:"center",children:V}),(0,e.createComponentVNode)(2,t.Stack.Item,{color:"blue",fontSize:"20px",textAlign:"center",pt:"10px",children:["FINAL SCORE: ",v-1,"/",h]})]})}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{lineHeight:4,fluid:!0,icon:"arrow-left",content:"Main Menu",onClick:function(){function b(){return p("back_to_menu")}return b}()})})]})})})}return N}()},6802:function(L,r,n){"use strict";r.__esModule=!0,r.Newscaster=void 0;var e=n(28823),a=n(66586),t=n(91819),o=n(2971),m=n(30381),N=n(84947),y=n(22677),S=n(76519),k=["icon","iconSpin","selected","security","onClick","title","children"],p=["name"];function l(I,w){if(I==null)return{};var T={},A=Object.keys(I),x,E;for(E=0;E<A.length;E++)x=A[E],!(w.indexOf(x)>=0)&&(T[x]=I[x]);return T}var c=128,f=["security","engineering","medical","science","service","supply"],i={security:{title:"Security",fluff_text:"Help keep the crew safe"},engineering:{title:"Engineering",fluff_text:"Ensure the station runs smoothly"},medical:{title:"Medical",fluff_text:"Practice medicine and save lives"},science:{title:"Science",fluff_text:"Develop new technologies"},service:{title:"Service",fluff_text:"Provide amenities to the crew"},supply:{title:"Supply",fluff_text:"Keep the station supplied"}},u=r.Newscaster=function(){function I(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=E.is_security,D=E.is_admin,M=E.is_silent,O=E.is_printing,j=E.screen,F=E.channels,U=E.channel_idx,_=U===void 0?-1:U,z=(0,t.useLocalState)(T,"menuOpen",!1),H=z[0],$=z[1],Y=(0,t.useLocalState)(T,"viewingPhoto",""),X=Y[0],re=Y[1],ae=(0,t.useLocalState)(T,"censorMode",!1),se=ae[0],pe=ae[1],ye;j===0||j===2?ye=(0,e.createComponentVNode)(2,d):j===1&&(ye=(0,e.createComponentVNode)(2,C));var Be=F.reduce(function(he,oe){return he+oe.unread},0);return(0,e.createComponentVNode)(2,N.Window,{theme:P&&"security",width:800,height:600,children:[X?(0,e.createComponentVNode)(2,h):(0,e.createComponentVNode)(2,y.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"}),(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Section,{fill:!0,className:(0,a.classes)(["Newscaster__menu",H&&"Newscaster__menu--open"]),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,s,{icon:"bars",title:"Toggle Menu",onClick:function(){function he(){return $(!H)}return he}()}),(0,e.createComponentVNode)(2,s,{icon:"newspaper",title:"Headlines",selected:j===0,onClick:function(){function he(){return x("headlines")}return he}(),children:Be>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:Be>=10?"9+":Be})}),(0,e.createComponentVNode)(2,s,{icon:"briefcase",title:"Job Openings",selected:j===1,onClick:function(){function he(){return x("jobs")}return he}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:F.map(function(he){return(0,e.createComponentVNode)(2,s,{icon:he.icon,title:he.name,selected:j===2&&F[_-1]===he,onClick:function(){function oe(){return x("channel",{uid:he.uid})}return oe}(),children:he.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:he.unread>=10?"9+":he.unread})},he)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!P||!!D)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function he(){return(0,y.modalOpen)(T,"wanted_notice")}return he}()}),(0,e.createComponentVNode)(2,s,{security:!0,icon:se?"minus-square":"minus-square-o",title:"Censor Mode: "+(se?"On":"Off"),mb:"0.5rem",onClick:function(){function he(){return pe(!se)}return he}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,s,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function he(){return(0,y.modalOpen)(T,"create_story")}return he}()}),(0,e.createComponentVNode)(2,s,{icon:"plus-circle",title:"New Channel",onClick:function(){function he(){return(0,y.modalOpen)(T,"create_channel")}return he}()}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,s,{icon:O?"spinner":"print",iconSpin:O,title:O?"Printing...":"Print Newspaper",onClick:function(){function he(){return x("print_newspaper")}return he}()}),(0,e.createComponentVNode)(2,s,{icon:M?"volume-mute":"volume-up",title:"Mute: "+(M?"On":"Off"),onClick:function(){function he(){return x("toggle_mute")}return he}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,S.TemporaryNotice),ye]})]})})]})}return I}(),s=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=w.icon,P=E===void 0?"":E,D=w.iconSpin,M=w.selected,O=M===void 0?!1:M,j=w.security,F=j===void 0?!1:j,U=w.onClick,_=w.title,z=w.children,H=l(w,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Newscaster__menuButton",O&&"Newscaster__menuButton--selected",F&&"Newscaster__menuButton--security"]),onClick:U},H,{children:[O&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:P,spin:D,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:_}),z]})))},d=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=E.screen,D=E.is_admin,M=E.channel_idx,O=E.channel_can_manage,j=E.channels,F=E.stories,U=E.wanted,_=(0,t.useLocalState)(T,"fullStories",[]),z=_[0],H=_[1],$=(0,t.useLocalState)(T,"censorMode",!1),Y=$[0],X=$[1],re=P===2&&M>-1?j[M-1]:null;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!U&&(0,e.createComponentVNode)(2,g,{story:U,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:re?re.icon:"newspaper",mr:"0.5rem"}),re?re.name:"Headlines"],0),children:F.length>0?F.slice().reverse().map(function(ae){return!z.includes(ae.uid)&&ae.body.length+3>c?Object.assign({},ae,{body_short:ae.body.substr(0,c-4)+"..."}):ae}).map(function(ae,se){return(0,e.createComponentVNode)(2,g,{story:ae},se)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no stories at this time."]})}),!!re&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,height:"40%",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"info-circle",mr:"0.5rem"}),(0,e.createTextVNode)("About")],4),buttons:(0,e.createFragment)([Y&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!re.admin&&!D,selected:re.censored,icon:re.censored?"comment-slash":"comment",content:re.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function ae(){return x("censor_channel",{uid:re.uid})}return ae}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!O,icon:"cog",content:"Manage",onClick:function(){function ae(){return(0,y.modalOpen)(T,"manage_channel",{uid:re.uid})}return ae}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:re.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:re.author||"N/A"}),!!D&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Ckey",children:re.author_ckey}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:re.public?"Yes":"No"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Views",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"eye",mr:"0.5rem"}),F.reduce(function(ae,se){return ae+se.view_count},0).toLocaleString()]})]})})]})},C=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=E.jobs,D=E.wanted,M=Object.entries(P).reduce(function(O,j){var F=j[0],U=j[1];return O+U.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!D&&(0,e.createComponentVNode)(2,g,{story:D,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"briefcase",mr:"0.5rem"}),(0,e.createTextVNode)("Job Openings")],4),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:"Work for a better future at Nanotrasen"}),children:M>0?f.map(function(O){return Object.assign({},i[O],{id:O,jobs:P[O]})}).filter(function(O){return!!O&&O.jobs.length>0}).map(function(O){return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__jobCategory","Newscaster__jobCategory--"+O.id]),title:O.title,buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:O.fluff_text}),children:O.jobs.map(function(j){return(0,e.createComponentVNode)(2,o.Box,{class:(0,a.classes)(["Newscaster__jobOpening",!!j.is_command&&"Newscaster__jobOpening--command"]),children:["\u2022 ",j.title]},j.title)})},O.id)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no openings at this time."]})}),(0,e.createComponentVNode)(2,o.Section,{height:"17%",children:["Interested in serving Nanotrasen?",(0,e.createVNode)(1,"br"),"Sign up for any of the above position now at the"," ",(0,e.createVNode)(1,"b",null,"Head of Personnel's Office!",16),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{as:"small",color:"label",children:"By signing up for a job at Nanotrasen, you agree to transfer your soul to the loyalty department of the omnipresent and helpful watcher of humanity."})]})]})},g=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=w.story,D=w.wanted,M=D===void 0?!1:D,O=E.is_admin,j=(0,t.useLocalState)(T,"fullStories",[]),F=j[0],U=j[1],_=(0,t.useLocalState)(T,"censorMode",!1),z=_[0],H=_[1];return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__story",M&&"Newscaster__story--wanted"]),title:(0,e.createFragment)([M&&(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle",mr:"0.5rem"}),P.censor_flags&2&&"[REDACTED]"||P.title||"News from "+P.author],0),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:[!M&&z&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:(0,e.createComponentVNode)(2,o.Button,{enabled:P.censor_flags&2,icon:P.censor_flags&2?"comment-slash":"comment",content:P.censor_flags&2?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){function $(){return x("censor_story",{uid:P.uid})}return $}()})}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",P.author," |\xA0",!!O&&(0,e.createFragment)([(0,e.createTextVNode)("ckey: "),P.author_ckey,(0,e.createTextVNode)(" |\xA0")],0),!M&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),P.view_count.toLocaleString(),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("|\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,m.timeAgo)(P.publish_time,E.world_time)]})]})}),children:(0,e.createComponentVNode)(2,o.Box,{children:P.censor_flags&2?"[REDACTED]":(0,e.createFragment)([!!P.has_photo&&(0,e.createComponentVNode)(2,v,{name:"story_photo_"+P.uid+".png",float:"right",ml:"0.5rem"}),(P.body_short||P.body).split("\n").map(function($,Y){return(0,e.createComponentVNode)(2,o.Box,{children:$||(0,e.createVNode)(1,"br")},Y)}),P.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function $(){return U([].concat(F,[P.uid]))}return $}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},v=function(w,T){var A=w.name,x=l(w,p),E=(0,t.useLocalState)(T,"viewingPhoto",""),P=E[0],D=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"img",className:"Newscaster__photo",src:A,onClick:function(){function M(){return D(A)}return M}()},x)))},h=function(w,T){var A=(0,t.useLocalState)(T,"viewingPhoto",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Newscaster__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:x}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function P(){return E("")}return P}()})]})},V=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=!!w.args.uid&&E.channels.filter(function(q){return q.uid===w.args.uid}).pop();if(w.id==="manage_channel"&&!P){(0,y.modalClose)(T);return}var D=w.id==="manage_channel",M=!!w.args.is_admin,O=w.args.scanned_user,j=(0,t.useLocalState)(T,"author",(P==null?void 0:P.author)||O||"Unknown"),F=j[0],U=j[1],_=(0,t.useLocalState)(T,"name",(P==null?void 0:P.name)||""),z=_[0],H=_[1],$=(0,t.useLocalState)(T,"description",(P==null?void 0:P.description)||""),Y=$[0],X=$[1],re=(0,t.useLocalState)(T,"icon",(P==null?void 0:P.icon)||"newspaper"),ae=re[0],se=re[1],pe=(0,t.useLocalState)(T,"isPublic",D?!!(P!=null&&P.public):!1),ye=pe[0],Be=pe[1],he=(0,t.useLocalState)(T,"adminLocked",(P==null?void 0:P.admin)===1||!1),oe=he[0],Z=he[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:D?"Manage "+P.name:"Create New Channel",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!M,width:"100%",value:F,onInput:function(){function q(ue,me){return U(me)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:z,onInput:function(){function q(ue,me){return H(me)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",placeholder:"128 characters max.",maxLength:"128",value:Y,onInput:function(){function q(ue,me){return X(me)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!M,value:ae,width:"35%",mr:"0.5rem",onInput:function(){function q(ue,me){return se(me)}return q}()}),(0,e.createComponentVNode)(2,o.Icon,{name:ae,size:"2",verticalAlign:"middle",mr:"0.5rem"})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Accept Public Stories?",children:(0,e.createComponentVNode)(2,o.Button,{selected:ye,icon:ye?"toggle-on":"toggle-off",content:ye?"Yes":"No",onClick:function(){function q(){return Be(!ye)}return q}()})}),M&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:oe,icon:oe?"lock":"lock-open",content:oe?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function q(){return Z(!oe)}return q}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||z.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function q(){(0,y.modalAnswer)(T,w.id,"",{author:F,name:z.substr(0,49),description:Y.substr(0,128),icon:ae,public:ye?1:0,admin_locked:oe?1:0})}return q}()})]})},b=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=E.photo,D=E.channels,M=E.channel_idx,O=M===void 0?-1:M,j=!!w.args.is_admin,F=w.args.scanned_user,U=D.slice().sort(function(q,ue){if(O<0)return 0;var me=D[O-1];if(me.uid===q.uid)return-1;if(me.uid===ue.uid)return 1}).filter(function(q){return j||!q.frozen&&(q.author===F||!!q.public)}),_=(0,t.useLocalState)(T,"author",F||"Unknown"),z=_[0],H=_[1],$=(0,t.useLocalState)(T,"channel",U.length>0?U[0].name:""),Y=$[0],X=$[1],re=(0,t.useLocalState)(T,"title",""),ae=re[0],se=re[1],pe=(0,t.useLocalState)(T,"body",""),ye=pe[0],Be=pe[1],he=(0,t.useLocalState)(T,"adminLocked",!1),oe=he[0],Z=he[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!j,width:"100%",value:z,onInput:function(){function q(ue,me){return H(me)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:Y,options:U.map(function(q){return q.name}),mb:"0",width:"100%",onSelected:function(){function q(ue){return X(ue)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"128 characters max.",maxLength:"128",value:ae,onInput:function(){function q(ue,me){return se(me)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Story Text",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,multiline:!0,placeholder:"1024 characters max.",maxLength:"1024",rows:"8",width:"100%",value:ye,onInput:function(){function q(ue,me){return Be(me)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:P,content:P?"Eject: "+P.name:"Insert Photo",tooltip:!P&&"Attach a photo to this story by holding the photograph in your hand.",onClick:function(){function q(){return x(P?"eject_photo":"attach_photo")}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:ae,maxHeight:"13.5rem",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:[!!P&&(0,e.createComponentVNode)(2,v,{name:"inserted_photo_"+P.uid+".png",float:"right"}),ye.split("\n").map(function(q,ue){return(0,e.createComponentVNode)(2,o.Box,{children:q||(0,e.createVNode)(1,"br")},ue)}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})]})})}),j&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:oe,icon:oe?"lock":"lock-open",content:oe?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function q(){return Z(!oe)}return q}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:z.trim().length===0||Y.trim().length===0||ae.trim().length===0||ye.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function q(){(0,y.modalAnswer)(T,"create_story","",{author:z,channel:Y,title:ae.substr(0,127),body:ye.substr(0,1023),admin_locked:oe?1:0})}return q}()})]})},B=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=E.photo,D=E.wanted,M=!!w.args.is_admin,O=w.args.scanned_user,j=(0,t.useLocalState)(T,"author",(D==null?void 0:D.author)||O||"Unknown"),F=j[0],U=j[1],_=(0,t.useLocalState)(T,"name",(D==null?void 0:D.title.substr(8))||""),z=_[0],H=_[1],$=(0,t.useLocalState)(T,"description",(D==null?void 0:D.body)||""),Y=$[0],X=$[1],re=(0,t.useLocalState)(T,"adminLocked",(D==null?void 0:D.admin_locked)===1||!1),ae=re[0],se=re[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Authority",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!M,width:"100%",value:F,onInput:function(){function pe(ye,Be){return U(Be)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",value:z,maxLength:"128",onInput:function(){function pe(ye,Be){return H(Be)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:Y,maxLength:"512",rows:"4",onInput:function(){function pe(ye,Be){return X(Be)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:P,content:P?"Eject: "+P.name:"Insert Photo",tooltip:!P&&"Attach a photo to this wanted notice by holding the photograph in your hand.",tooltipPosition:"top",onClick:function(){function pe(){return x(P?"eject_photo":"attach_photo")}return pe}()}),!!P&&(0,e.createComponentVNode)(2,v,{name:"inserted_photo_"+P.uid+".png",float:"right"})]}),M&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ae,icon:ae?"lock":"lock-open",content:ae?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function pe(){return se(!ae)}return pe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!D,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){function pe(){x("clear_wanted_notice"),(0,y.modalClose)(T)}return pe}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||z.trim().length===0||Y.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function pe(){(0,y.modalAnswer)(T,w.id,"",{author:F,name:z.substr(0,127),description:Y.substr(0,511),admin_locked:ae?1:0})}return pe}()})]})};(0,y.modalRegisterBodyOverride)("create_channel",V),(0,y.modalRegisterBodyOverride)("manage_channel",V),(0,y.modalRegisterBodyOverride)("create_story",b),(0,y.modalRegisterBodyOverride)("wanted_notice",B)},64639:function(L,r,n){"use strict";r.__esModule=!0,r.NuclearBomb=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.NuclearBomb=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;return l.extended?(0,e.createComponentVNode)(2,o.Window,{width:350,height:290,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Disk",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.authdisk?"eject":"id-card",selected:l.authdisk,content:l.diskname?l.diskname:"-----",tooltip:l.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function c(){return p("auth")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!l.authdisk,selected:l.authcode,content:l.codemsg,onClick:function(){function c(){return p("code")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Arming & Disarming",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bolted to floor",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.anchored?"check":"times",selected:l.anchored,disabled:!l.authdisk,content:l.anchored?"YES":"NO",onClick:function(){function c(){return p("toggle_anchor")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:l.time,disabled:!l.authfull,tooltip:"Set Timer",onClick:function(){function c(){return p("set_time")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.safety?"check":"times",selected:l.safety,disabled:!l.authfull,content:l.safety?"ON":"OFF",tooltip:l.safety?"Disable Safety":"Enable Safety",onClick:function(){function c(){return p("toggle_safety")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(l.timer,"bomb"),disabled:l.safety||!l.authfull,color:"red",content:l.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function c(){return p("toggle_armed")}return c}()})})]})})]})}):(0,e.createComponentVNode)(2,o.Window,{width:350,height:115,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Deployment",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){function c(){return p("deploy")}return c}()})})})})}return N}()},45523:function(L,r,n){"use strict";r.__esModule=!0,r.NumberInputModal=void 0;var e=n(28823),a=n(2146),t=n(98658),o=n(31068),m=n(91819),N=n(2971),y=n(84947),S=r.NumberInputModal=function(){function p(l,c){var f=(0,m.useBackend)(c),i=f.act,u=f.data,s=u.init_value,d=u.large_buttons,C=u.message,g=C===void 0?"":C,v=u.timeout,h=u.title,V=(0,m.useLocalState)(c,"input",s),b=V[0],B=V[1],I=function(){function A(x){x!==b&&B(x)}return A}(),w=function(){function A(x){x!==b&&B(x)}return A}(),T=120+(g.length>30?Math.ceil(g.length/3):0);return(0,e.createComponentVNode)(2,y.Window,{title:h,width:270,height:T,children:[v&&(0,e.createComponentVNode)(2,a.Loader,{value:v}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function A(x){var E=window.event?x.which:x.keyCode;E===o.KEY_ENTER&&i("submit",{entry:b}),E===o.KEY_ESCAPE&&i("cancel")}return A}(),children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,children:(0,e.createComponentVNode)(2,N.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,k,{input:b,onClick:w,onChange:I})}),(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:b})})]})})})]})}return p}(),k=function(l,c){var f=(0,m.useBackend)(c),i=f.act,u=f.data,s=u.min_value,d=u.max_value,C=u.init_value,g=u.round_value,v=l.input,h=l.onClick,V=l.onChange,b=Math.round(v!==s?Math.max(v/2,s):d/2),B=v===s&&s>0||v===1;return(0,e.createComponentVNode)(2,N.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Button,{disabled:v===s,icon:"angle-double-left",onClick:function(){function I(){return h(s)}return I}(),tooltip:v===s?"Min":"Min ("+s+")"})}),(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!g,minValue:s,maxValue:d,onChange:function(){function I(w,T){return V(T)}return I}(),onEnter:function(){function I(w,T){return i("submit",{entry:T})}return I}(),value:v})}),(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Button,{disabled:v===d,icon:"angle-double-right",onClick:function(){function I(){return h(d)}return I}(),tooltip:v===d?"Max":"Max ("+d+")"})}),(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Button,{disabled:B,icon:"divide",onClick:function(){function I(){return h(b)}return I}(),tooltip:B?"Split":"Split ("+b+")"})}),(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Button,{disabled:v===C,icon:"redo",onClick:function(){function I(){return h(C)}return I}(),tooltip:C?"Reset ("+C+")":"Reset"})})]})}},48314:function(L,r,n){"use strict";r.__esModule=!0,r.OperatingComputer=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(84947),m=n(2971),N=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],y=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},k=["bad","average","average","good","average","average","bad"],p=r.OperatingComputer=function(){function i(u,s){var d=(0,t.useBackend)(s),C=d.act,g=d.data,v=g.hasOccupant,h=g.choice,V;return h?V=(0,e.createComponentVNode)(2,f):V=v?(0,e.createComponentVNode)(2,l):(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Window,{width:650,height:455,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Tabs,{children:[(0,e.createComponentVNode)(2,m.Tabs.Tab,{selected:!h,icon:"user",onClick:function(){function b(){return C("choiceOff")}return b}(),children:"Patient"}),(0,e.createComponentVNode)(2,m.Tabs.Tab,{selected:!!h,icon:"cog",onClick:function(){function b(){return C("choiceOn")}return b}(),children:"Options"})]})}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,children:V})})]})})})}return i}(),l=function(u,s){var d=(0,t.useBackend)(s),C=d.data,g=C.occupant;return(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,title:"Patient",children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Name",children:g.name}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Status",color:N[g.stat][0],children:N[g.stat][1]}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:g.maxHealth,value:g.health/g.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),y.map(function(v,h){return(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:v[0]+" Damage",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:"100",value:g[v[1]]/100,ranges:S,children:(0,a.round)(g[v[1]])},h)},h)}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:g.maxTemp,value:g.bodyTemperature/g.maxTemp,color:k[g.temperatureSuitability+3],children:[(0,a.round)(g.btCelsius),"\xB0C, ",(0,a.round)(g.btFaren),"\xB0F"]})}),!!g.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:g.bloodMax,value:g.bloodLevel/g.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[g.bloodPercent,"%, ",g.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Pulse",children:[g.pulse," BPM"]})],4)]})})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{title:"Current Procedure",level:"2",children:g.inSurgery?(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Procedure",children:g.surgeryName}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Next Step",children:g.stepName})]}):(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"No procedure ongoing."})})})]})},c=function(){return(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,m.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No patient detected."]})})},f=function(u,s){var d=(0,t.useBackend)(s),C=d.act,g=d.data,v=g.verbose,h=g.health,V=g.healthAlarm,b=g.oxy,B=g.oxyAlarm,I=g.crit;return(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Loudspeaker",children:(0,e.createComponentVNode)(2,m.Button,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"On":"Off",onClick:function(){function w(){return C(v?"verboseOff":"verboseOn")}return w}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Health Announcer",children:(0,e.createComponentVNode)(2,m.Button,{selected:h,icon:h?"toggle-on":"toggle-off",content:h?"On":"Off",onClick:function(){function w(){return C(h?"healthOff":"healthOn")}return w}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,e.createComponentVNode)(2,m.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:V,stepPixelSize:5,ml:"0",onChange:function(){function w(T,A){return C("health_adj",{new:A})}return w}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Oxygen Alarm",children:(0,e.createComponentVNode)(2,m.Button,{selected:b,icon:b?"toggle-on":"toggle-off",content:b?"On":"Off",onClick:function(){function w(){return C(b?"oxyOff":"oxyOn")}return w}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,e.createComponentVNode)(2,m.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:B,stepPixelSize:5,ml:"0",onChange:function(){function w(T,A){return C("oxy_adj",{new:A})}return w}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Critical Alert",children:(0,e.createComponentVNode)(2,m.Button,{selected:I,icon:I?"toggle-on":"toggle-off",content:I?"On":"Off",onClick:function(){function w(){return C(I?"critOff":"critOn")}return w}()})})]})}},87511:function(L,r,n){"use strict";r.__esModule=!0,r.Orbit=void 0;var e=n(28823),a=n(37843),t=n(91819),o=n(2971),m=n(84947),N=n(66586);function y(d,C){var g=typeof Symbol!="undefined"&&d[Symbol.iterator]||d["@@iterator"];if(g)return(g=g.call(d)).next.bind(g);if(Array.isArray(d)||(g=S(d))||C&&d&&typeof d.length=="number"){g&&(d=g);var v=0;return function(){return v>=d.length?{done:!0}:{done:!1,value:d[v++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(d,C){if(d){if(typeof d=="string")return k(d,C);var g=Object.prototype.toString.call(d).slice(8,-1);if(g==="Object"&&d.constructor&&(g=d.constructor.name),g==="Map"||g==="Set")return Array.from(d);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return k(d,C)}}function k(d,C){(C==null||C>d.length)&&(C=d.length);for(var g=0,v=new Array(C);g<C;g++)v[g]=d[g];return v}var p=/ \(([0-9]+)\)$/,l=function(C){return(0,a.createSearch)(C,function(g){return g.name+(g.assigned_role!==null?"|"+g.assigned_role:"")})},c=function(C,g){return C<g?-1:C>g},f=function(C,g){var v=C.name,h=g.name;if(!v||!h)return 0;var V=v.match(p),b=h.match(p);if(V&&b&&v.replace(p,"")===h.replace(p,"")){var B=parseInt(V[1],10),I=parseInt(b[1],10);return B-I}return c(v,h)},i=function(C,g){var v=C.searchText,h=C.source,V=C.title,b=C.color,B=C.sorted,I=h.filter(l(v));return B&&I.sort(f),h.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:V+" - ("+h.length+")",children:I.map(function(w){return(0,e.createComponentVNode)(2,u,{thing:w,color:b},w.name)})})},u=function(C,g){var v=(0,t.useBackend)(g),h=v.act,V=C.color,b=C.thing;return(0,e.createComponentVNode)(2,o.Button,{color:V,tooltip:b.assigned_role?(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",mr:"0.5em",className:(0,N.classes)(["orbit_job16x16",b.assigned_role_sprite])})," ",b.assigned_role]}):"",tooltipPosition:"bottom",onClick:function(){function B(){return h("orbit",{ref:b.ref})}return B}(),children:[b.name,b.orbiters&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,ml:1,children:["(",b.orbiters," ",(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),")"]})]})},s=r.Orbit=function(){function d(C,g){for(var v=(0,t.useBackend)(g),h=v.act,V=v.data,b=V.alive,B=V.antagonists,I=V.highlights,w=V.response_teams,T=V.auto_observe,A=V.dead,x=V.ghosts,E=V.misc,P=V.npcs,D=(0,t.useLocalState)(g,"searchText",""),M=D[0],O=D[1],j={},F=y(B),U;!(U=F()).done;){var _=U.value;j[_.antag]===void 0&&(j[_.antag]=[]),j[_.antag].push(_)}var z=Object.entries(j);z.sort(function($,Y){return c($[0],Y[0])});var H=function(){function $(Y){for(var X=0,re=[z.map(function(pe){var ye=pe[0],Be=pe[1];return Be}),I,b,x,A,P,E];X<re.length;X++){var ae=re[X],se=ae.filter(l(Y)).sort(f)[0];if(se!==void 0){h("orbit",{ref:se.ref});break}}}return $}();return(0,e.createComponentVNode)(2,m.Window,{width:700,height:500,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:"search"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search...",autoFocus:!0,fluid:!0,value:M,onInput:function(){function $(Y,X){return O(X)}return $}(),onEnter:function(){function $(Y,X){return H(X)}return $}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Divider,{vertical:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{inline:!0,color:"transparent",tooltip:"Refresh",tooltipPosition:"bottom-start",icon:"sync-alt",onClick:function(){function $(){return h("refresh")}return $}()})})]})}),B.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:z.map(function($){var Y=$[0],X=$[1];return(0,e.createComponentVNode)(2,o.Section,{title:Y+" - ("+X.length+")",level:2,children:X.filter(l(M)).sort(f).map(function(re){return(0,e.createComponentVNode)(2,u,{color:"bad",thing:re},re.name)})},Y)})}),I.length>0&&(0,e.createComponentVNode)(2,i,{title:"Highlights",source:I,searchText:M,color:"teal"}),(0,e.createComponentVNode)(2,i,{title:"Response Teams",source:w,searchText:M,color:"purple"}),(0,e.createComponentVNode)(2,i,{title:"Alive",source:b,searchText:M,color:"good"}),(0,e.createComponentVNode)(2,i,{title:"Ghosts",source:x,searchText:M,color:"grey"}),(0,e.createComponentVNode)(2,i,{title:"Dead",source:A,searchText:M,sorted:!1}),(0,e.createComponentVNode)(2,i,{title:"NPCs",source:P,searchText:M,sorted:!1}),(0,e.createComponentVNode)(2,i,{title:"Misc",source:E,searchText:M,sorted:!1})]})})}return d}()},54528:function(L,r,n){"use strict";r.__esModule=!0,r.OreRedemption=void 0;var e=n(28823),a=n(66586),t=n(91819),o=n(2971),m=n(84947),N=n(50175);function y(d){if(d==null)throw new TypeError("Cannot destructure "+d)}var S=(0,N.createLogger)("OreRedemption"),k=function(C){return C.toLocaleString("en-US")+" pts"},p=r.OreRedemption=function(){function d(C,g){return(0,e.createComponentVNode)(2,m.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{height:"100%"})}),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f)]})})})}return d}(),l=function(C,g){var v=(0,t.useBackend)(g),h=v.act,V=v.data,b=V.id,B=V.points,I=V.disk,w=Object.assign({},(y(C),C));return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({},w,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"average",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"This machine only accepts ore. Gibtonite is not accepted."]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID card",children:b?(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,verticalAlign:"middle",icon:"eject",content:b.name,tooltip:"Ejects the ID card.",onClick:function(){function T(){return h("eject_id")}return T}(),style:{"white-space":"pre-wrap"}}):(0,e.createComponentVNode)(2,o.Button,{icon:"sign-in-alt",content:"Insert",tooltip:"Hold the ID card in your hand to insert.",onClick:function(){function T(){return h("insert_id")}return T}()})}),b&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Mining Points",children:(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:k(b.points)})}),b&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Mining Points",children:(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:k(b.total_points)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:B>0?"good":"grey",bold:B>0&&"good",children:k(B)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:!b,icon:"hand-holding-usd",content:"Claim",onClick:function(){function T(){return h("claim")}return T}()})})]}),(0,e.createComponentVNode)(2,o.Divider),I?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Design disk",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,icon:"eject",content:I.name,tooltip:"Ejects the design disk.",onClick:function(){function T(){return h("eject_disk")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!I.design||!I.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){function T(){return h("download")}return T}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Stored design",children:(0,e.createComponentVNode)(2,o.Box,{color:I.design&&(I.compatible?"good":"bad"),children:I.design||"N/A"})})]}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No design disk inserted."})]})))},c=function(C,g){var v=(0,t.useBackend)(g),h=v.act,V=v.data,b=V.sheets,B=Object.assign({},(y(C),C));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"20%",children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},B,{children:[(0,e.createComponentVNode)(2,i,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),b.map(function(I){return(0,e.createComponentVNode)(2,u,{ore:I},I.id)})]})))})},f=function(C,g){var v=(0,t.useBackend)(g),h=v.act,V=v.data,b=V.alloys,B=Object.assign({},(y(C),C));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},B,{children:[(0,e.createComponentVNode)(2,i,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),b.map(function(I){return(0,e.createComponentVNode)(2,s,{ore:I},I.id)})]})))})},i=function(C,g){var v;return(0,e.createComponentVNode)(2,o.Box,{className:"OreHeader",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:C.title}),(v=C.columns)==null?void 0:v.map(function(h){return(0,e.createComponentVNode)(2,o.Stack.Item,{basis:h[1],textAlign:"center",color:"label",bold:!0,children:h[0]},h)})]})})},u=function(C,g){var v=(0,t.useBackend)(g),h=v.act,V=C.ore;if(!(V.value&&V.amount<=0&&!(["metal","glass"].indexOf(V.id)>-1)))return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"45%",align:"middle",children:(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",V.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:V.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:V.amount>=1?"good":"gray",bold:V.amount>=1,align:"center",children:V.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:V.value}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(V.amount,50),stepPixelSize:6,onChange:function(){function b(B,I){return h(V.value?"sheet":"alloy",{id:V.id,amount:I})}return b}()})})]})})},s=function(C,g){var v=(0,t.useBackend)(g),h=v.act,V=C.ore;return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"7%",align:"middle",children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["alloys32x32",V.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:V.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:V.amount>=1?"good":"gray",align:"center",children:V.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:V.amount>=1?"good":"gray",bold:V.amount>=1,align:"center",children:V.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(V.amount,50),stepPixelSize:6,onChange:function(){function b(B,I){return h(V.value?"sheet":"alloy",{id:V.id,amount:I})}return b}()})})]})})}},55686:function(L,r,n){"use strict";r.__esModule=!0,r.PAI=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(76521),N=n(33115),y=function(p){var l;try{l=N("./"+p+".js")}catch(f){if(f.code==="MODULE_NOT_FOUND")return(0,m.routingError)("notFound",p);throw f}var c=l[p];return c||(0,m.routingError)("missingExport",p)},S=r.PAI=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.app_template,s=i.app_icon,d=i.app_title,C=y(u);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{p:1,fill:!0,scrollable:!0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:s,mr:1}),d,u!=="pai_main_menu"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{ml:2,mb:0,content:"Back",icon:"arrow-left",onClick:function(){function g(){return f("Back")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Home",icon:"arrow-up",onClick:function(){function g(){return f("MASTER_back")}return g}()})],4)]}),children:(0,e.createComponentVNode)(2,C)})})})})})}return k}()},58717:function(L,r,n){"use strict";r.__esModule=!0,r.PDA=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(76521),N=n(75168),y=function(c){var f;try{f=N("./"+c+".js")}catch(u){if(u.code==="MODULE_NOT_FOUND")return(0,m.routingError)("notFound",c);throw u}var i=f[c];return i||(0,m.routingError)("missingExport",c)},S=r.PDA=function(){function l(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.app,C=s.owner;if(!C)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:"No user data found. Please swipe an ID card."})})});var g=y(d.template);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,p:1,pb:0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:d.icon,mr:1}),d.name]}),children:(0,e.createComponentVNode)(2,g)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,p)})]})})})}return l}(),k=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.idInserted,C=s.idLink,g=s.stationTime,v=s.cartridge_name;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{ml:.5,children:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",color:"transparent",onClick:function(){function h(){return u("Authenticate")}return h}(),content:d?C:"No ID Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sd-card",color:"transparent",onClick:function(){function h(){return u("Eject")}return h}(),content:v?["Eject "+v]:"No Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:g})]})},p=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.app;return(0,e.createComponentVNode)(2,t.Box,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[!!d.has_back&&(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"33%",mr:-.5,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:d.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){function C(){return u("Back")}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:d.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:d.is_home?"disabled":"white",icon:"home",onClick:function(){function C(){u("Home")}return C}()})})]})})}},78062:function(L,r,n){"use strict";r.__esModule=!0,r.Pacman=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(48300),N=r.Pacman=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.active,i=c.anchored,u=c.broken,s=c.emagged,d=c.fuel_type,C=c.fuel_usage,g=c.fuel_stored,v=c.fuel_cap,h=c.is_ai,V=c.tmp_current,b=c.tmp_max,B=c.tmp_overheat,I=c.output_max,w=c.power_gen,T=c.output_set,A=c.has_fuel,x=g/v,E=V/b,P=T*w,D=Math.round(g/C),M=Math.round(D/60),O=D>120?M+" minutes":D+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:225,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(u||!i)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!u&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!u&&!i&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!u&&!!i&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:f?"power-off":"times",content:f?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!A,selected:f,onClick:function(){function j(){return l("toggle_power")}return j}()}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",className:"ml-1",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power setting",children:[(0,e.createComponentVNode)(2,t.NumberInput,{value:T,minValue:1,maxValue:I*(s?2.5:1),step:1,className:"mt-1",onDrag:function(){function j(F,U){return l("change_power",{change_power:U})}return j}()}),"(",(0,m.formatPower)(P),")"]})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:E,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[V," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[B>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),B>20&&B<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),B>1&&B<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),B===0&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Optimal"})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fuel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:f||h||!A,onClick:function(){function j(){return l("eject_fuel")}return j}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Type",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:x,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(g/1e3)," dm\xB3"]})})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel usage",children:[C/1e3," dm\xB3/s"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel depletion",children:[!!A&&(C?O:"N/A"),!A&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return y}()},65823:function(L,r,n){"use strict";r.__esModule=!0,r.ParticleAccelerator=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.ParticleAccelerator=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.assembled,f=l.power,i=l.strength,u=l.max_strength;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:160,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Control Panel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Connect",onClick:function(){function s(){return p("scan")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",mb:"5px",children:(0,e.createComponentVNode)(2,t.Box,{color:c?"good":"bad",children:c?"Operational":"Error: Verify Configuration"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:f?"power-off":"times",content:f?"On":"Off",selected:f,disabled:!c,onClick:function(){function s(){return p("power")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Strength",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:!c||i===0,onClick:function(){function s(){return p("remove_strength")}return s}(),mr:"4px"}),i,(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:!c||i===u,onClick:function(){function s(){return p("add_strength")}return s}(),ml:"4px"})]})]})})})})}return N}()},67572:function(L,r,n){"use strict";r.__esModule=!0,r.PdaPainter=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.PdaPainter=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.data,i=f.has_pda;return(0,e.createComponentVNode)(2,o.Window,{width:510,height:505,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:i?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,N)})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"download",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:"160px",textAlign:"center",content:"Insert PDA",onClick:function(){function i(){return f("insert_pda")}return i}()})]})})})},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.pda_colors;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,S)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Table,{className:"PdaPainter__list",children:Object.keys(u).map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{onClick:function(){function d(){return f("choose_pda",{selectedPda:s})}return d}(),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+u[s][0],style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s})]},s)})})})})]})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.current_appearance,s=i.preview_appearance;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Current PDA",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+u,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor"}}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",content:"Eject",color:"green",onClick:function(){function d(){return f("eject_pda")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"paint-roller",content:"Paint PDA",onClick:function(){function d(){return f("paint_pda")}return d}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Preview",children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor"}})})]})}},12456:function(L,r,n){"use strict";r.__esModule=!0,r.PersonalCrafting=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.PersonalCrafting=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.busy,u=f.category,s=f.display_craftable_only,d=f.display_compact,C=f.prev_cat,g=f.next_cat,v=f.subcategory,h=f.prev_subcat,V=f.next_subcat;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!i&&(0,e.createComponentVNode)(2,t.Dimmer,{fontSize:"32px",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog",spin:1})," Crafting..."]}),(0,e.createComponentVNode)(2,t.Section,{title:u,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Show Craftable Only",icon:s?"check-square-o":"square-o",selected:s,onClick:function(){function b(){return c("toggle_recipes")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:d?"check-square-o":"square-o",selected:d,onClick:function(){function b(){return c("toggle_compact")}return b}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:C,icon:"arrow-left",onClick:function(){function b(){return c("backwardCat")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:g,icon:"arrow-right",onClick:function(){function b(){return c("forwardCat")}return b}()})]}),v&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:h,icon:"arrow-left",onClick:function(){function b(){return c("backwardSubCat")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:V,icon:"arrow-right",onClick:function(){function b(){return c("forwardSubCat")}return b}()})]}),d?(0,e.createComponentVNode)(2,N):(0,e.createComponentVNode)(2,y)]})]})})}return S}(),N=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.display_craftable_only,u=f.can_craft,s=f.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[u.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return c("make",{make:d.ref})}return C}()}),d.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:d.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:d.req_text,content:"Requirements",color:"transparent"}),d.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:d.tool_text,content:"Tools",color:"transparent"})]},d.name)}),!i&&s.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),d.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:d.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:d.req_text,content:"Requirements",color:"transparent"}),d.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:d.tool_text,content:"Tools",color:"transparent"})]},d.name)})]})})},y=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.display_craftable_only,u=f.can_craft,s=f.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[u.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return c("make",{make:d.ref})}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[d.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:d.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:d.req_text}),d.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:d.tool_text})]})},d.name)}),!i&&s.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[d.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:d.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:d.req_text}),d.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:d.tool_text})]})},d.name)})]})}},72143:function(L,r,n){"use strict";r.__esModule=!0,r.Photocopier=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.Photocopier=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:440,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Photocopier",color:"silver",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Copies:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"2em",bold:!0,children:f.copynumber}),(0,e.createComponentVNode)(2,t.Stack.Item,{float:"right",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"minus",textAlign:"center",content:"",onClick:function(){function i(){return c("minus")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"plus",textAlign:"center",content:"",onClick:function(){function i(){return c("add")}return i}()})]})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Toner:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,children:f.toner})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Document:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!f.copyitem&&!f.mob,content:f.copyitem?f.copyitem:f.mob?f.mob+"'s ass!":"document",onClick:function(){function i(){return c("removedocument")}return i}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Folder:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!f.folder,content:f.folder?f.folder:"folder",onClick:function(){function i(){return c("removefolder")}return i}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,N)}),(0,e.createComponentVNode)(2,y)]})})})}return S}(),N=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.issilicon;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"copy",float:"center",textAlign:"center",content:"Copy",onClick:function(){function u(){return c("copy")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file-import",float:"center",textAlign:"center",content:"Scan",onClick:function(){function u(){return c("scandocument")}return u}()}),!!i&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file",color:"green",float:"center",textAlign:"center",content:"Print Text",onClick:function(){function u(){return c("ai_text")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"image",color:"green",float:"center",textAlign:"center",content:"Print Image",onClick:function(){function u(){return c("ai_pic")}return u}()})],4)],0)},y=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Scanned Files",children:f.files.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:f.toner<=0,onClick:function(){function u(){return c("filecopy",{uid:i.uid})}return u}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",content:"Delete",color:"bad",onClick:function(){function u(){return c("deletefile",{uid:i.uid})}return u}()})]})},i.name)})})}},82020:function(L,r,n){"use strict";r.__esModule=!0,r.Photocopier220=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(72026),N=n(90955),y=n(37843);function S(f,i){var u=typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(u)return(u=u.call(f)).next.bind(u);if(Array.isArray(f)||(u=k(f))||i&&f&&typeof f.length=="number"){u&&(f=u);var s=0;return function(){return s>=f.length?{done:!0}:{done:!1,value:f[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function k(f,i){if(f){if(typeof f=="string")return p(f,i);var u=Object.prototype.toString.call(f).slice(8,-1);if(u==="Object"&&f.constructor&&(u=f.constructor.name),u==="Map"||u==="Set")return Array.from(f);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return p(f,i)}}function p(f,i){(i==null||i>f.length)&&(i=f.length);for(var u=0,s=new Array(i);u<i;u++)s[u]=f[u];return s}String.prototype.trimLongStr=function(f){return this.length>f?this.substring(0,f)+"...":this};var l=function(i,u){u===void 0&&(u="");var s=(0,y.createSearch)(u,function(d){return d.altername});return(0,N.flow)([(0,m.filter)(function(d){return d==null?void 0:d.altername}),u&&(0,m.filter)(s),(0,m.sortBy)(function(d){return d.id})])(i)},c=r.Photocopier220=function(){function f(i,u){for(var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=C.copies,v=C.maxcopies,h=(0,a.useLocalState)(u,"searchText",""),V=h[0],b=h[1],B=l((0,m.sortBy)(function(M){return M.category})(C.forms||[]),V),I=[],w=S(B),T;!(T=w()).done;){var A=T.value;I.includes(A.category)||I.push(A.category)}var x=(0,a.useLocalState)(u,"number",0),E=x[0],P=x[1],D;return C.category===""?D=B:D=B.filter(function(M){return M.category===C.category}),(0,e.createComponentVNode)(2,o.Window,{width:550,height:575,theme:C.ui_theme,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"40%",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mt:.3,color:"grey",children:"\u0417\u0430\u0440\u044F\u0434 \u0442\u043E\u043D\u0435\u0440\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{minValue:0,maxValue:30,value:C.toner})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mb:.3,color:"grey",children:"\u0424\u043E\u0440\u043C\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",textAlign:"center",bold:!0,children:C.form_id===""?"\u041D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u0430":C.form_id})]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!C.copyitem&&!C.mob,icon:C.copyitem||C.mob?"eject":"times",content:C.copyitem?C.copyitem:C.mob?"\u0416\u043E\u043F\u0430 "+C.mob+"!":"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",onClick:function(){function M(){return d("removedocument")}return M}()})})}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!C.folder,icon:C.folder?"eject":"times",content:C.folder?C.folder:"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u043F\u0430\u043F\u043A\u0438",onClick:function(){function M(){return d("removefolder")}return M}()})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"print",disabled:C.toner===0||C.form===null,content:"\u041F\u0435\u0447\u0430\u0442\u044C",onClick:function(){function M(){return d("print_form")}return M}()})}),!!C.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"image",disabled:C.toner<5,content:"\u0424\u043E\u0442\u043E",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0444\u043E\u0442\u043E \u0441 \u0411\u0430\u0437\u044B \u0414\u0430\u043D\u043D\u044B\u0445",onClick:function(){function M(){return d("ai_pic")}return M}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"copy",content:"\u041A\u043E\u043F\u0438\u044F",disabled:C.toner===0||!C.copyitem&&!C.mob,onClick:function(){function M(){return d("copy")}return M}()})}),!!C.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"i-cursor",content:"\u0422\u0435\u043A\u0441\u0442",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0439 \u0442\u0435\u043A\u0441\u0442",disabled:C.toner===0,onClick:function(){function M(){return d("ai_text")}return M}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:1.5,mt:1.2,width:"50%",color:"grey",children:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E:"}),(0,e.createComponentVNode)(2,t.Slider,{mt:.75,width:"50%",animated:!0,minValue:1,maxValue:v,value:g,stepPixelSize:10,onChange:function(){function M(O,j){return d("copies",{new:j})}return M}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0411\u044E\u0440\u043E\u043A\u0440\u0430\u0442\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:-.5,icon:"chevron-right",color:"transparent",content:"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",selected:!C.category,onClick:function(){function M(){return d("choose_category",{category:""})}return M}()})}),I.map(function(M){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"chevron-right",mb:-.5,color:"transparent",content:M,selected:C.category===M,onClick:function(){function O(){return d("choose_category",{category:M})}return O}()},M)},M)})]})})})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"60%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:C.category||"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",buttons:(0,e.createComponentVNode)(2,t.Input,{mr:18.5,width:"100%",placeholder:"\u041F\u043E\u0438\u0441\u043A \u0444\u043E\u0440\u043C\u044B",onInput:function(){function M(O,j){return b(j)}return M}()}),children:D.map(function(M){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:.5,color:"transparent",content:M.altername.trimLongStr(37),tooltip:M.altername,selected:C.form_id===M.id,onClick:function(){function O(){return d("choose_form",{path:M.path,id:M.id})}return O}()})},M.path)})})})]})})})}return f}()},47051:function(L,r,n){"use strict";r.__esModule=!0,r.PoolController=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=["tempKey"];function N(p,l){if(p==null)return{};var c={},f=Object.keys(p),i,u;for(u=0;u<f.length;u++)i=f[u],!(l.indexOf(i)>=0)&&(c[i]=p[i]);return c}var y={scalding:{label:"Scalding",color:"#FF0000",icon:"fa fa-arrow-circle-up",requireEmag:!0},warm:{label:"Warm",color:"#990000",icon:"fa fa-arrow-circle-up"},normal:{label:"Normal",color:null,icon:"fa fa-arrow-circle-right"},cool:{label:"Cool",color:"#009999",icon:"fa fa-arrow-circle-down"},frigid:{label:"Frigid",color:"#00CCCC",icon:"fa fa-arrow-circle-down",requireEmag:!0}},S=function(l,c){var f=l.tempKey,i=N(l,m),u=y[f];if(!u)return null;var s=(0,a.useBackend)(c),d=s.data,C=s.act,g=d.currentTemp,v=u.label,h=u.icon,V=f===g,b=function(){C("setTemp",{temp:f})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({color:"transparent",selected:V,onClick:b},i,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:h}),v]})))},k=r.PoolController=function(){function p(l,c){for(var f=(0,a.useBackend)(c),i=f.data,u=i.emagged,s=i.currentTemp,d=y[s]||y.normal,C=d.label,g=d.color,v=[],h=0,V=Object.entries(y);h<V.length;h++){var b=V[h],B=b[0],I=b[1].requireEmag;(!I||I&&u)&&v.push(B)}return(0,e.createComponentVNode)(2,o.Window,{width:350,height:285,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:g,children:C})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety Status",children:u?(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"WARNING: OVERRIDDEN"}):(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Nominal"})})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Temperature Selection",children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:v.map(function(w){return(0,e.createComponentVNode)(2,S,{fluid:!0,tempKey:w},w)})})})]})})})}return p}()},5424:function(L,r,n){"use strict";r.__esModule=!0,r.PortablePump=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.PortablePump=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.has_holding_tank;return(0,e.createComponentVNode)(2,o.Window,{width:435,height:330,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,y),u?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Holding Tank",children:(0,e.createComponentVNode)(2,t.Box,{color:"average",bold:1,textAlign:"center",mt:2.5,children:"No Holding Tank Inserted."})})]})})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.on,s=i.direction,d=i.port_connected;return(0,e.createComponentVNode)(2,t.Section,{title:"Pump Settings",buttons:(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"power-off",content:u?"On":"Off",color:u?null:"red",selected:u,onClick:function(){function C(){return f("power")}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pump Direction",children:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"sign-in-alt",content:"In",selected:!s,onClick:function(){function C(){return f("set_direction",{direction:0})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"sign-out-alt",content:"Out",selected:s,onClick:function(){function C(){return f("set_direction",{direction:1})}return C}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Port status",children:(0,e.createComponentVNode)(2,t.Box,{color:d?"green":"average",bold:1,ml:.5,children:d?"Connected":"Disconnected"})})]})})},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.tank_pressure,s=i.target_pressure,d=i.max_target_pressure,C=d*.7,g=d*.25;return(0,e.createComponentVNode)(2,t.Section,{title:"Pressure Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stored pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u,minValue:0,maxValue:d,ranges:{good:[C,1/0],average:[g,C],bad:[-1/0,g]},children:[u," kPa"]})})}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,color:"label",mt:.3,children:"Target pressure:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"undo",mr:.5,width:2.2,textAlign:"center",onClick:function(){function v(){return f("set_pressure",{pressure:101.325})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",mr:.5,width:2.2,textAlign:"center",onClick:function(){function v(){return f("set_pressure",{pressure:0})}return v}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{animated:!0,unit:"kPa",width:16.5,stepPixelSize:.22,minValue:0,maxValue:d,value:s,onChange:function(){function v(h,V){return f("set_pressure",{pressure:V})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",ml:.5,width:2.2,textAlign:"center",onClick:function(){function v(){return f("set_pressure",{pressure:d})}return v}()})})]})]})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.holding_tank,s=i.max_target_pressure,d=s*.7,C=s*.25;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Holding Tank",buttons:(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function g(){return f("remove_tank")}return g}(),icon:"eject",children:"Eject"}),children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",children:"Tank Label:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{color:"silver",ml:4.5,children:u.name})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",mt:2,children:"Tank Pressure:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:1.5,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u.tank_pressure,minValue:0,maxValue:s,ranges:{good:[d,1/0],average:[C,d],bad:[-1/0,C]},children:[u.tank_pressure," kPa"]})})]})]})}},70673:function(L,r,n){"use strict";r.__esModule=!0,r.PortableScrubber=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.PortableScrubber=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.has_holding_tank;return(0,e.createComponentVNode)(2,o.Window,{width:435,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,y),u?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Holding Tank",children:(0,e.createComponentVNode)(2,t.Box,{color:"average",bold:1,textAlign:"center",mt:2.5,children:"No Holding Tank Inserted."})})]})})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.on,s=i.port_connected;return(0,e.createComponentVNode)(2,t.Section,{title:"Pump Settings",buttons:(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"power-off",content:u?"On":"Off",color:u?null:"red",selected:u,onClick:function(){function d(){return f("power")}return d}()}),children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",children:"Port Status:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{color:s?"green":"average",bold:1,ml:6,children:s?"Connected":"Disconnected"})]})})},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.tank_pressure,s=i.rate,d=i.max_rate,C=d*.7,g=d*.25;return(0,e.createComponentVNode)(2,t.Section,{title:"Pressure Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stored pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u,minValue:0,maxValue:d,ranges:{good:[C,1/0],average:[g,C],bad:[-1/0,g]},children:[u," kPa"]})})}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,color:"label",mt:.3,children:"Target pressure:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"undo",mr:.5,width:2.2,textAlign:"center",onClick:function(){function v(){return f("set_rate",{rate:101.325})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",mr:.5,width:2.2,textAlign:"center",onClick:function(){function v(){return f("set_rate",{rate:0})}return v}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{animated:!0,unit:"kPa",width:16.5,stepPixelSize:.22,minValue:0,maxValue:d,value:s,onChange:function(){function v(h,V){return f("set_rate",{rate:V})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",ml:.5,width:2.2,textAlign:"center",onClick:function(){function v(){return f("set_rate",{rate:d})}return v}()})})]})]})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.holding_tank,s=i.max_rate,d=s*.7,C=s*.25;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Holding Tank",buttons:(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function g(){return f("remove_tank")}return g}(),icon:"eject",children:"Eject"}),children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",children:"Tank Label:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{color:"silver",ml:4.5,children:u.name})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",mt:2,children:"Tank Pressure:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:1.5,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u.tank_pressure,minValue:0,maxValue:s,ranges:{good:[d,1/0],average:[C,d],bad:[-1/0,C]},children:[u.tank_pressure," kPa"]})})]})]})}},22015:function(L,r,n){"use strict";r.__esModule=!0,r.PortableTurret=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(14635),N=r.PortableTurret=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.locked,i=c.on,u=c.lethal,s=c.lethal_is_configurable,d=c.targetting_is_configurable,C=c.check_weapons,g=c.neutralize_noaccess,v=c.access_is_configurable,h=c.regions,V=c.selectedAccess,b=c.one_access,B=c.neutralize_norecord,I=c.neutralize_criminals,w=c.neutralize_all,T=c.neutralize_unidentified,A=c.neutralize_cyborgs;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:750,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",f?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:i?"power-off":"times",content:i?"On":"Off",selected:i,disabled:f,onClick:function(){function x(){return l("power")}return x}()})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lethals",children:(0,e.createComponentVNode)(2,t.Button,{icon:u?"exclamation-triangle":"times",content:u?"On":"Off",color:u?"bad":"",disabled:f,onClick:function(){function x(){return l("lethal")}return x}()})}),!!v&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"One Access Mode",children:(0,e.createComponentVNode)(2,t.Button,{icon:b?"address-card":"exclamation-triangle",content:b?"On":"Off",selected:b,disabled:f,onClick:function(){function x(){return l("one_access")}return x}()})})]})})}),!!d&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Humanoid Targets",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:I,content:"Wanted Criminals",disabled:f,onClick:function(){function x(){return l("autharrest")}return x}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:B,content:"No Sec Record",disabled:f,onClick:function(){function x(){return l("authnorecord")}return x}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:C,content:"Unauthorized Weapons",disabled:f,onClick:function(){function x(){return l("authweapon")}return x}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Unauthorized Access",disabled:f,onClick:function(){function x(){return l("authaccess")}return x}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Other Targets",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:T,content:"Unidentified Lifesigns (Xenos, Animals, Etc)",disabled:f,onClick:function(){function x(){return l("authxeno")}return x}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:A,content:"Cyborgs",disabled:f,onClick:function(){function x(){return l("authborgs")}return x}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:w,content:"All Non-Synthetics",disabled:f,onClick:function(){function x(){return l("authsynth")}return x}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:!!v&&(0,e.createComponentVNode)(2,m.AccessList,{accesses:h,selectedList:V,accessMod:function(){function x(E){return l("set",{access:E})}return x}(),grantAll:function(){function x(){return l("grant_all")}return x}(),denyAll:function(){function x(){return l("clear_all")}return x}(),grantDep:function(){function x(E){return l("grant_region",{region:E})}return x}(),denyDep:function(){function x(E){return l("deny_region",{region:E})}return x}()})})]})})})}return y}()},75199:function(L,r,n){"use strict";r.__esModule=!0,r.PowerMonitorMainContent=r.PowerMonitor=void 0;var e=n(28823),a=n(72026),t=n(90955),o=n(58331),m=n(66586),N=n(37843),y=n(91819),S=n(2971),k=n(84947),p=6e5,l=r.PowerMonitor=function(){function d(C,g){return(0,e.createComponentVNode)(2,k.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,k.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,c)})})}return d}(),c=r.PowerMonitorMainContent=function(){function d(C,g){var v=(0,y.useBackend)(g),h=v.act,V=v.data,b=V.powermonitor,B=V.select_monitor;return(0,e.createComponentVNode)(2,S.Box,{m:0,children:[!b&&B&&(0,e.createComponentVNode)(2,f),b&&(0,e.createComponentVNode)(2,i)]})}return d}(),f=function(C,g){var v=(0,y.useBackend)(g),h=v.act,V=v.data,b=V.powermonitors;return(0,e.createComponentVNode)(2,S.Section,{title:"Select Power Monitor",children:b.map(function(B){return(0,e.createComponentVNode)(2,S.Box,{children:(0,e.createComponentVNode)(2,S.Button,{content:B.Area,icon:"arrow-right",onClick:function(){function I(){return h("selectmonitor",{selectmonitor:B.uid})}return I}()})},B)})})},i=function(C,g){var v=(0,y.useBackend)(g),h=v.act,V=v.data,b=V.powermonitor,B=V.history,I=V.apcs,w=V.select_monitor,T=V.no_powernet,A;if(T)A=(0,e.createComponentVNode)(2,S.Box,{color:"bad",textAlign:"center",children:[(0,e.createComponentVNode)(2,S.Icon,{name:"exclamation-triangle",size:"2",my:"0.5rem"}),(0,e.createVNode)(1,"br"),"Warning: The monitor is not connected to power grid via cable!"]});else{var x=(0,y.useLocalState)(g,"sortByField",null),E=x[0],P=x[1],D=B.supply[B.supply.length-1]||0,M=B.demand[B.demand.length-1]||0,O=B.supply.map(function(_,z){return[z,_]}),j=B.demand.map(function(_,z){return[z,_]}),F=Math.max.apply(Math,[p].concat(B.supply,B.demand)),U=(0,t.flow)([(0,a.map)(function(_,z){return Object.assign({},_,{id:_.name+z})}),E==="name"&&(0,a.sortBy)(function(_){return _.Name}),E==="charge"&&(0,a.sortBy)(function(_){return-_.CellPct}),E==="draw"&&(0,a.sortBy)(function(_){return-_.Load})])(I);A=(0,e.createFragment)([(0,e.createComponentVNode)(2,S.Flex,{spacing:1,children:[(0,e.createComponentVNode)(2,S.Flex.Item,{width:"200px",children:(0,e.createComponentVNode)(2,S.Section,{children:(0,e.createComponentVNode)(2,S.LabeledList,{children:[(0,e.createComponentVNode)(2,S.LabeledList.Item,{label:"Supply",children:(0,e.createComponentVNode)(2,S.ProgressBar,{value:D,minValue:0,maxValue:F,color:"green",children:(0,o.toFixed)(D/1e3)+" kW"})}),(0,e.createComponentVNode)(2,S.LabeledList.Item,{label:"Draw",children:(0,e.createComponentVNode)(2,S.ProgressBar,{value:M,minValue:0,maxValue:F,color:"red",children:(0,o.toFixed)(M/1e3)+" kW"})})]})})}),(0,e.createComponentVNode)(2,S.Flex.Item,{grow:1,children:(0,e.createComponentVNode)(2,S.Section,{fill:!0,ml:1,children:[(0,e.createComponentVNode)(2,S.Chart.Line,{fillPositionedParent:!0,data:O,rangeX:[0,O.length-1],rangeY:[0,F],strokeColor:"rgba(32, 177, 66, 1)",fillColor:"rgba(32, 177, 66, 0.25)"}),(0,e.createComponentVNode)(2,S.Chart.Line,{fillPositionedParent:!0,data:j,rangeX:[0,j.length-1],rangeY:[0,F],strokeColor:"rgba(219, 40, 40, 1)",fillColor:"rgba(219, 40, 40, 0.25)"})]})})]}),(0,e.createComponentVNode)(2,S.Box,{mb:1,children:[(0,e.createComponentVNode)(2,S.Box,{inline:!0,mr:2,color:"label",children:"Sort by:"}),(0,e.createComponentVNode)(2,S.Button.Checkbox,{checked:E==="name",content:"Name",onClick:function(){function _(){return P(E!=="name"&&"name")}return _}()}),(0,e.createComponentVNode)(2,S.Button.Checkbox,{checked:E==="charge",content:"Charge",onClick:function(){function _(){return P(E!=="charge"&&"charge")}return _}()}),(0,e.createComponentVNode)(2,S.Button.Checkbox,{checked:E==="draw",content:"Draw",onClick:function(){function _(){return P(E!=="draw"&&"draw")}return _}()})]}),(0,e.createComponentVNode)(2,S.Table,{children:[(0,e.createComponentVNode)(2,S.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,S.Table.Cell,{children:"Area"}),(0,e.createComponentVNode)(2,S.Table.Cell,{collapsing:!0,children:"Charge"}),(0,e.createComponentVNode)(2,S.Table.Cell,{textAlign:"right",children:"Draw"}),(0,e.createComponentVNode)(2,S.Table.Cell,{collapsing:!0,title:"Equipment",children:"Eqp"}),(0,e.createComponentVNode)(2,S.Table.Cell,{collapsing:!0,title:"Lighting",children:"Lgt"}),(0,e.createComponentVNode)(2,S.Table.Cell,{collapsing:!0,title:"Environment",children:"Env"})]}),U.map(function(_,z){return(0,e.createComponentVNode)(2,S.Table.Row,{className:"Table__row candystripe",children:[(0,e.createComponentVNode)(2,S.Table.Cell,{children:(0,N.decodeHtmlEntities)(_.Name)}),(0,e.createComponentVNode)(2,S.Table.Cell,{className:"Table__cell text-right text-nowrap",children:(0,e.createComponentVNode)(2,u,{charging:_.CellStatus,charge:_.CellPct})}),(0,e.createComponentVNode)(2,S.Table.Cell,{className:"Table__cell text-right text-nowrap",children:_.Load}),(0,e.createComponentVNode)(2,S.Table.Cell,{className:"Table__cell text-center text-nowrap",children:(0,e.createComponentVNode)(2,s,{status:_.Equipment})}),(0,e.createComponentVNode)(2,S.Table.Cell,{className:"Table__cell text-center text-nowrap",children:(0,e.createComponentVNode)(2,s,{status:_.Lights})}),(0,e.createComponentVNode)(2,S.Table.Cell,{className:"Table__cell text-center text-nowrap",children:(0,e.createComponentVNode)(2,s,{status:_.Environment})})]},_.id)})]})],4)}return(0,e.createComponentVNode)(2,S.Section,{title:b,buttons:(0,e.createComponentVNode)(2,S.Box,{m:0,children:w&&(0,e.createComponentVNode)(2,S.Button,{content:"Back",icon:"arrow-up",onClick:function(){function _(){return h("return")}return _}()})}),children:A})},u=function(C){var g=C.charging,v=C.charge;return(0,e.createFragment)([(0,e.createComponentVNode)(2,S.Icon,{width:"18px",textAlign:"center",name:g==="N"&&(v>50?"battery-half":"battery-quarter")||g==="C"&&"bolt"||g==="F"&&"battery-full"||g==="M"&&"slash",color:g==="N"&&(v>50?"yellow":"red")||g==="C"&&"yellow"||g==="F"&&"green"||g==="M"&&"orange"}),(0,e.createComponentVNode)(2,S.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,o.toFixed)(v)+"%"})],4)};u.defaultHooks=m.pureComponentHooks;var s=function(C){var g,v,h=C.status;switch(h){case"AOn":g=!0,v=!0;break;case"AOff":g=!0,v=!1;break;case"On":g=!1,v=!0;break;case"Off":g=!1,v=!1;break}var V=(v?"On":"Off")+(" ["+(g?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,S.ColorBox,{color:v?"good":"bad",content:g?void 0:"M",title:V})};s.defaultHooks=m.pureComponentHooks},15164:function(L,r,n){"use strict";r.__esModule=!0,r.PrisonerImplantManager=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(88488),m=n(22677),N=n(51185),y=n(69774),S=n(84947),k=r.PrisonerImplantManager=function(){function p(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.loginState,d=u.prisonerInfo,C=u.chemicalInfo,g=u.trackingInfo,v;if(!s.logged_in)return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.LoginScreen)})});var h=[1,5,10];return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:d.name?"eject":"id-card",selected:d.name,content:d.name?d.name:"-----",tooltip:d.name?"Eject ID":"Insert ID",onClick:function(){function V(){return i("id_card")}return V}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[d.points!==null?d.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:d.points===null,content:"Reset",onClick:function(){function V(){return i("reset_points")}return V}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[d.goal!==null?d.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:d.goal===null,content:"Edit",onClick:function(){function V(){return(0,m.modalOpen)(c,"set_points")}return V}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:d.goal===null})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Tracking Implants",children:g.map(function(V){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",V.subject]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:V.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:V.health}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){function b(){return(0,m.modalOpen)(c,"warn",{uid:V.uid})}return b}()})})]})]},V.subject)]}),(0,e.createVNode)(1,"br")],4)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Chemical Implants",children:C.map(function(V){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",V.name]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Reagents",children:V.volume})}),h.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:V.volume<b,icon:"syringe",content:"Inject "+b+"u",onClick:function(){function B(){return i("inject",{uid:V.uid,amount:b})}return B}()},b)})]},V.name)]}),(0,e.createVNode)(1,"br")],4)})})})]})})]})}return p}()},99646:function(L,r,n){"use strict";r.__esModule=!0,r.PrisonerShuttleConsole=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.PrisonerShuttleConsole=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.can_go_home,f=l.emagged,i=l.id_inserted,u=l.id_name,s=l.id_points,d=l.id_goal,C=f?0:1,g=c?"Completed!":"Insufficient";f&&(g="ERR0R");var v="No ID inserted";return i?v=(0,e.createComponentVNode)(2,t.ProgressBar,{value:s/d,ranges:{good:[C,1/0],bad:[-1/0,C]},children:s+" / "+d+" "+g}):f&&(v="ERR0R COMPLETED?!@"),(0,e.createComponentVNode)(2,o.Window,{width:315,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:v}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle controls",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Move shuttle",disabled:!c,onClick:function(){function h(){return p("move_shuttle")}return h}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inserted ID",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:i?u:"-------------",onClick:function(){function h(){return p("handle_id")}return h}()})})]})})})}return N}()},96493:function(L,r,n){"use strict";r.__esModule=!0,r.PrizeCounter=void 0;var e=n(28823),a=n(66586),t=n(91819),o=n(2971),m=n(84947),N=r.PrizeCounter=function(){function y(S,k){var p=(0,t.useBackend)(k),l=p.act,c=p.data,f=c.tickets,i=c.prizes,u=i===void 0?[]:i,s=(0,t.useLocalState)(k,"searchText",""),d=s[0],C=s[1],g=u.filter(function(v){return v.name.toLowerCase().includes(d.toLowerCase())});return(0,e.createComponentVNode)(2,m.Window,{width:450,height:585,title:"Arcade Ticket Exchange",children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Available Prizes",buttons:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Input,{mt:.1,width:12.5,placeholder:"Search for a prize",value:d,onInput:function(){function v(h,V){return C(V)}return v}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,iconRight:!0,icon:"ticket",disabled:!f,content:(0,e.createFragment)([(0,e.createTextVNode)("Tickets: "),(0,e.createVNode)(1,"b",null,f,0)],0),onClick:function(){function v(){return l("eject")}return v}()})})]}),children:g.map(function(v){var h=v.cost>f;return(0,e.createComponentVNode)(2,o.Stack,{className:"PrizeCounter__Item",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{lineHeight:"0",align:"center",children:(0,e.createVNode)(1,"div",(0,a.classes)(["prize_counter64x64",v.imageID]))}),(0,e.createComponentVNode)(2,o.Stack.Item,{width:"100%",children:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,mt:1,children:v.name}),(0,e.createComponentVNode)(2,o.Stack.Divider),(0,e.createComponentVNode)(2,o.Stack.Item,{mb:1,children:v.desc})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{className:(0,a.classes)(["PrizeCounter__BuyButton",h&&"PrizeCounter__BuyButton--disabled"]),icon:"ticket",content:v.cost,tooltip:h?"Not enough tickets.":null,tooltipPosition:"top-end",onClick:function(){function V(){return!h&&l("purchase",{purchase:v.itemID})}return V}()})})]},v.name)})})})})})})}return y}()},82443:function(L,r,n){"use strict";r.__esModule=!0,r.RCD=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(22677),N=n(14635),y=r.RCD=function(){function i(u,s){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:670,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})]})}return i}(),S=function(u,s){var d=(0,a.useBackend)(s),C=d.data,g=C.matter,v=C.max_matter,h=v*.7,V=v*.25;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Matter Storage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[h,1/0],average:[V,h],bad:[-1/0,V]},value:g,maxValue:v,children:(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:g+" / "+v+" units"})})})})},k=function(){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Construction Type",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,p,{mode_type:"Floors and Walls"}),(0,e.createComponentVNode)(2,p,{mode_type:"Airlocks"}),(0,e.createComponentVNode)(2,p,{mode_type:"Windows"}),(0,e.createComponentVNode)(2,p,{mode_type:"Deconstruction"})]})})})},p=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=u.mode_type,h=g.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",content:v,selected:h===v?1:0,onClick:function(){function V(){return C("mode",{mode:v})}return V}()})})},l=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.door_name,h=g.electrochromic,V=g.airlock_glass;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Airlock Settings",children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",icon:"pen-alt",content:(0,e.createFragment)([(0,e.createTextVNode)("Rename: "),(0,e.createVNode)(1,"b",null,v,0)],0),onClick:function(){function b(){return(0,m.modalOpen)(s,"renameAirlock")}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:V===1&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:h?"toggle-on":"toggle-off",content:"Electrochromic",selected:h,onClick:function(){function b(){return C("electrochromic")}return b}()})})]})})})},c=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.tab,h=g.locked,V=g.one_access,b=g.selected_accesses,B=g.regions;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"cog",selected:v===1,onClick:function(){function I(){return C("set_tab",{tab:1})}return I}(),children:"Airlock Types"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,icon:"list",onClick:function(){function I(){return C("set_tab",{tab:2})}return I}(),children:"Airlock Access"})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:v===1?(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Types",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f,{check_number:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f,{check_number:1})})]})}):v===2&&h?(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Access",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock-open",content:"Unlock",onClick:function(){function I(){return C("set_lock",{new_lock:"unlock"})}return I}()}),children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Airlock access selection is currently locked."]})})}):(0,e.createComponentVNode)(2,N.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock",content:"Lock",onClick:function(){function I(){return C("set_lock",{new_lock:"lock"})}return I}()}),usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:V,content:"One",onClick:function(){function I(){return C("set_one_access",{access:"one"})}return I}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!V,width:4,content:"All",onClick:function(){function I(){return C("set_one_access",{access:"all"})}return I}()})],4),accesses:B,selectedList:b,accessMod:function(){function I(w){return C("set",{access:w})}return I}(),grantAll:function(){function I(){return C("grant_all")}return I}(),denyAll:function(){function I(){return C("clear_all")}return I}(),grantDep:function(){function I(w){return C("grant_region",{region:w})}return I}(),denyDep:function(){function I(w){return C("deny_region",{region:w})}return I}()})})],4)},f=function(u,s){for(var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.door_types_ui_list,h=g.door_type,V=u.check_number,b=[],B=0;B<v.length;B++)B%2===V&&b.push(v[B]);return(0,e.createComponentVNode)(2,t.Stack.Item,{children:b.map(function(I,w){return(0,e.createComponentVNode)(2,t.Stack,{mb:.5,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,icon:null,color:"translucent",checked:h===I.type,content:(0,e.createFragment)([(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+I.image,style:{"vertical-align":"middle",width:"32px",margin:"3px","margin-right":"6px","margin-left":"-3px"}}),I.name],0),onClick:function(){function T(){return C("door_type",{door_type:I.type})}return T}()})})},w)})})}},61566:function(L,r,n){"use strict";r.__esModule=!0,r.RPD=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(66586),N=r.RPD=function(){function f(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=C.mainmenu,v=C.mode,h=function(){function V(b){switch(b){case 1:return(0,e.createComponentVNode)(2,y);case 2:return(0,e.createComponentVNode)(2,S);case 3:return(0,e.createComponentVNode)(2,k);case 4:return(0,e.createComponentVNode)(2,p);case 5:return(0,e.createComponentVNode)(2,l);case 6:return(0,e.createComponentVNode)(2,c);default:return"WE SHOULDN'T BE HERE!"}}return V}();return(0,e.createComponentVNode)(2,o.Window,{width:550,height:415,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:g.map(function(V){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:V.icon,selected:V.mode===v,onClick:function(){function b(){return d("mode",{mode:V.mode})}return b}(),children:V.category},V.category)})})}),h(v)]})})})}return f}(),y=function(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=C.pipemenu,v=C.pipe_category,h=C.pipelist,V=C.whatpipe,b=C.iconrotation;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:g.map(function(B){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{textAlign:"center",selected:B.pipemode===v,onClick:function(){function I(){return d("pipe_category",{pipe_category:B.pipemode})}return I}(),children:B.category},B.category)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"50%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:h.filter(function(B){return B.pipe_type===1}).filter(function(B){return B.pipe_category===v}).map(function(B){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",content:B.pipe_name,icon:"cog",selected:B.pipe_id===V,onClick:function(){function I(){return d("whatpipe",{whatpipe:B.pipe_id})}return I}(),style:{"margin-bottom":"2px"}})},B.pipe_name)})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"50%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:h.filter(function(B){return B.pipe_type===1&&B.pipe_id===V&&B.orientations!==1}).map(function(B){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Orient automatically",selected:b===0,onClick:function(){function I(){return d("iconrotation",{iconrotation:0})}return I}(),style:{"margin-bottom":"5px"}})}),B.bendy?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===4,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","southeast-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:4})}return I}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===2,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","southwest-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:2})}return I}(),style:{"margin-bottom":"5px"}})})]}),(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===1,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","northeast-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:1})}return I}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===8,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","northwest-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:8})}return I}(),style:{"margin-bottom":"5px"}})})]})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===1,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","north-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:1})}return I}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===4,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","east-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:4})}return I}(),style:{"margin-bottom":"5px"}})})]}),B.orientations===4&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===2,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","south-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:2})}return I}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===8,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","west-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:8})}return I}(),style:{"margin-bottom":"5px"}})})]})],0)]},B.pipe_id)})})})})})]})})],4)},S=function(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=C.pipe_category,v=C.pipelist,h=C.whatdpipe,V=C.iconrotation;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"50%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:v.filter(function(b){return b.pipe_type===2}).map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",content:b.pipe_name,icon:"cog",selected:b.pipe_id===h,onClick:function(){function B(){return d("whatdpipe",{whatdpipe:b.pipe_id})}return B}(),style:{"margin-bottom":"2px"}})},b.pipe_name)})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"50%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:v.filter(function(b){return b.pipe_type===2&&b.pipe_id===h&&b.orientations!==1}).map(function(b){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Orient automatically",selected:V===0,onClick:function(){function B(){return d("iconrotation",{iconrotation:0})}return B}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===1,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","north-"+b.pipe_icon])}),onClick:function(){function B(){return d("iconrotation",{iconrotation:1})}return B}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===4,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","east-"+b.pipe_icon])}),onClick:function(){function B(){return d("iconrotation",{iconrotation:4})}return B}(),style:{"margin-bottom":"5px"}})})]}),b.orientations===4&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===2,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","south-"+b.pipe_icon])}),onClick:function(){function B(){return d("iconrotation",{iconrotation:2})}return B}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===8,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","west-"+b.pipe_icon])}),onClick:function(){function B(){return d("iconrotation",{iconrotation:8})}return B}(),style:{"margin-bottom":"5px"}})})]})]},b.pipe_id)})})})})})]})})},k=function(i,u){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sync-alt",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Device ready to rotate loose pipes..."]})})})})},p=function(i,u){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt-h",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Device ready to flip loose pipes..."]})})})})},l=function(i,u){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"recycle",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Device ready to eat loose pipes..."]})})})})},c=function(i,u){var s=(0,a.useBackend)(u),d=s.act,C=s.data,g=C.pipe_category,v=C.pipelist,h=C.whatttube,V=C.iconrotation,b=3;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"50%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:v.filter(function(B){return B.pipe_type===b}).map(function(B){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",content:B.pipe_name,icon:"cog",selected:B.pipe_id===h,onClick:function(){function I(){return d("whatttube",{whatttube:B.pipe_id})}return I}(),style:{"margin-bottom":"2px"}})},B.pipe_name)})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"50%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:v.filter(function(B){return B.pipe_type===b&&B.pipe_id===h&&B.orientations!==1}).map(function(B){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===1,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","north-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:1})}return I}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===4,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","east-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:4})}return I}(),style:{"margin-bottom":"5px"}})})]}),B.orientations===4&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===2,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","south-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:2})}return I}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===8,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","west-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:8})}return I}(),style:{"margin-bottom":"5px"}})})]})]},B.pipe_id)})})})})})]})})}},24618:function(L,r,n){"use strict";r.__esModule=!0,r.Radio=void 0;var e=n(28823),a=n(72026),t=n(58331),o=n(91819),m=n(2971),N=n(30381),y=n(84947),S=r.Radio=function(){function k(p,l){var c=(0,o.useBackend)(l),f=c.act,i=c.data,u=i.freqlock,s=i.frequency,d=i.minFrequency,C=i.maxFrequency,g=i.canReset,v=i.listening,h=i.broadcasting,V=i.loudspeaker,b=i.has_loudspeaker,B=N.RADIO_CHANNELS.find(function(P){return P.freq===s}),I=!!(B&&B.name),w=[],T=[],A=0;for(A=0;A<N.RADIO_CHANNELS.length;A++)T=N.RADIO_CHANNELS[A],w[T.name]=T.color;var x=(0,a.map)(function(P,D){return{name:D,status:!!P}})(i.schannels),E=(0,a.map)(function(P,D){return{name:D,freq:P}})(i.ichannels);return(0,e.createComponentVNode)(2,y.Window,{width:375,height:130+x.length*21.2+E.length*11,children:(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Frequency",children:[u&&(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:"light-gray",children:(0,t.toFixed)(s/10,1)+" kHz"})||(0,e.createFragment)([(0,e.createComponentVNode)(2,m.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:10,minValue:d/10,maxValue:C/10,value:s/10,format:function(){function P(D){return(0,t.toFixed)(D,1)}return P}(),onChange:function(){function P(D,M){return f("frequency",{adjust:M-s/10})}return P}()}),(0,e.createComponentVNode)(2,m.Button,{icon:"undo",content:"",disabled:!g,tooltip:"Reset",onClick:function(){function P(){return f("frequency",{tune:"reset"})}return P}()})],4),I&&(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:B.color,ml:2,children:["[",B.name,"]"]})]}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Audio",children:[(0,e.createComponentVNode)(2,m.Button,{textAlign:"center",width:"37px",icon:v?"volume-up":"volume-mute",selected:v,color:v?"":"bad",tooltip:v?"Disable Incoming":"Enable Incoming",onClick:function(){function P(){return f("listen")}return P}()}),(0,e.createComponentVNode)(2,m.Button,{textAlign:"center",width:"37px",icon:h?"microphone":"microphone-slash",selected:h,tooltip:h?"Disable Hotmic":"Enable Hotmic",onClick:function(){function P(){return f("broadcast")}return P}()}),!!b&&(0,e.createComponentVNode)(2,m.Button,{ml:1,icon:"bullhorn",selected:V,content:"Loudspeaker",tooltip:V?"Disable Loudspeaker":"Enable Loudspeaker",onClick:function(){function P(){return f("loudspeaker")}return P}()})]}),x.length!==0&&(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Keyed Channels",children:x.map(function(P){return(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,m.Button,{icon:P.status?"check-square-o":"square-o",selected:P.status,content:"",onClick:function(){function D(){return f("channel",{channel:P.name})}return D}()}),(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:w[P.name],children:P.name})]},P.name)})}),E.length!==0&&(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Standard Channel",children:E.map(function(P){return(0,e.createComponentVNode)(2,m.Button,{icon:"arrow-right",content:P.name,selected:I&&B.name===P.name,onClick:function(){function D(){return f("ichannel",{ichannel:P.freq})}return D}()},"i_"+P.name)})})]})})})})}return k}()},85183:function(L,r,n){"use strict";r.__esModule=!0,r.ReagentGrinder=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(83326),N=n(48154),y=r.ReagentGrinder=function(){function l(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=i.config,C=s.operating,g=d.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:565,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.Operating,{operating:C,name:g}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,p)]})})})}return l}(),S=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.inactive;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"mortar-pestle",disabled:d,tooltip:d?"There are no contents":"Grind the contents",tooltipPosition:"bottom",content:"Grind",onClick:function(){function C(){return u("grind")}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"blender",disabled:d,tooltip:d?"There are no contents":"Juice the contents",tooltipPosition:"bottom",content:"Juice",onClick:function(){function C(){return u("juice")}return C}()})})]})})},k=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.contents,C=s.limit,g=s.count,v=s.inactive;return(0,e.createComponentVNode)(2,t.Section,{title:"Contents",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[g," / ",C," items"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Contents",onClick:function(){function h(){return u("eject")}return h}(),disabled:v,tooltip:v?"There are no contents":""})]}),children:(0,e.createComponentVNode)(2,t.Table,{className:"Ingredient__Table",children:d.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{tr:5,children:[(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:h.name}),2),(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:[h.amount," ",h.units]}),2)]},h.name)})})})},p=function(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.beaker_loaded,C=s.beaker_current_volume,g=s.beaker_max_volume,v=s.beaker_contents;return(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,height:"40%",buttons:!!d&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[C," / ",g," units"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Detach Beaker",onClick:function(){function h(){return u("detach")}return h}()})]}),children:(0,e.createComponentVNode)(2,m.BeakerContents,{beakerLoaded:d,beakerContents:v})})}},94890:function(L,r,n){"use strict";r.__esModule=!0,r.RemoteSignaler=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(92149),N=r.RemoteSignaler=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.on;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Receiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:f?"On":"Off",color:f?null:"red",selected:f,onClick:function(){function i(){return l("recv_power")}return i}()})})}),(0,e.createComponentVNode)(2,m.Signaler,{data:c})]})})})}return y}()},6301:function(L,r,n){"use strict";r.__esModule=!0,r.RequestConsole=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.RequestConsole=function(){function i(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.screen,h=g.announcementConsole,V=function(){function b(B){switch(B){case 0:return(0,e.createComponentVNode)(2,N);case 1:return(0,e.createComponentVNode)(2,y,{purpose:"ASSISTANCE"});case 2:return(0,e.createComponentVNode)(2,y,{purpose:"SUPPLIES"});case 3:return(0,e.createComponentVNode)(2,y,{purpose:"INFO"});case 4:return(0,e.createComponentVNode)(2,S,{type:"SUCCESS"});case 5:return(0,e.createComponentVNode)(2,S,{type:"FAIL"});case 6:return(0,e.createComponentVNode)(2,k,{type:"MESSAGES"});case 7:return(0,e.createComponentVNode)(2,p);case 8:return(0,e.createComponentVNode)(2,l);case 9:return(0,e.createComponentVNode)(2,c);case 10:return(0,e.createComponentVNode)(2,k,{type:"SHIPPING"});case 11:return(0,e.createComponentVNode)(2,f);default:return"WE SHOULDN'T BE HERE!"}}return b}();return(0,e.createComponentVNode)(2,o.Window,{width:450,height:h?425:385,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:V(v)})})})}return i}(),N=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.newmessagepriority,h=g.announcementConsole,V=g.silent,b;return v===1?b=(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,mb:1,children:"There are new messages"}):v===2?b=(0,e.createComponentVNode)(2,t.Blink,{children:(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,mb:1,children:"NEW PRIORITY MESSAGES"})}):b=(0,e.createComponentVNode)(2,t.Box,{color:"label",mb:1,children:"There are no new messages"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Main Menu",buttons:(0,e.createComponentVNode)(2,t.Button,{width:9,content:V?"Speaker Off":"Speaker On",selected:!V,icon:V?"volume-mute":"volume-up",onClick:function(){function B(){return C("toggleSilent")}return B}()}),children:[b,(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"View Messages",icon:v>0?"envelope-open-text":"envelope",onClick:function(){function B(){return C("setScreen",{setScreen:6})}return B}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Assistance",icon:"hand-paper",onClick:function(){function B(){return C("setScreen",{setScreen:1})}return B}()}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Supplies",icon:"box",onClick:function(){function B(){return C("setScreen",{setScreen:2})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Secondary Goal",icon:"clipboard-list",onClick:function(){function B(){return C("setScreen",{setScreen:11})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Relay Anonymous Information",icon:"comment",onClick:function(){function B(){return C("setScreen",{setScreen:3})}return B}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Print Shipping Label",icon:"tag",onClick:function(){function B(){return C("setScreen",{setScreen:9})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"View Shipping Logs",icon:"clipboard-list",onClick:function(){function B(){return C("setScreen",{setScreen:10})}return B}()})]})}),!!h&&(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Send Station-Wide Announcement",icon:"bullhorn",onClick:function(){function B(){return C("setScreen",{setScreen:8})}return B}()})})]})})},y=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.department,h=[],V;switch(u.purpose){case"ASSISTANCE":h=g.assist_dept,V="Request assistance from another department";break;case"SUPPLIES":h=g.supply_dept,V="Request supplies from another department";break;case"INFO":h=g.info_dept,V="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:V,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function b(){return C("setScreen",{setScreen:0})}return b}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:h.filter(function(b){return b!==v}).map(function(b){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b,textAlign:"right",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function B(){return C("writeInput",{write:b,priority:"1"})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function B(){return C("writeInput",{write:b,priority:"2"})}return B}()})]},b)})})})})},S=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v;switch(u.type){case"SUCCESS":v="Message sent successfully";break;case"FAIL":v="Request supplies from another department";break}return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:v,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function h(){return C("setScreen",{setScreen:0})}return h}()})})},k=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v,h;switch(u.type){case"MESSAGES":v=g.message_log,h="Message Log";break;case"SHIPPING":v=g.shipping_log,h="Shipping label print log";break}return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:h,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function V(){return C("setScreen",{setScreen:0})}return V}()}),children:v.map(function(V){return(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:[V.map(function(b,B){return(0,e.createVNode)(1,"div",null,b,0,null,B)}),(0,e.createVNode)(1,"hr")]},V)})})})},p=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.recipient,h=g.message,V=g.msgVerified,b=g.msgStamped;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Message Authentication",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function B(){return C("setScreen",{setScreen:0})}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Recipient",children:v}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",color:"green",children:V}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:b})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function B(){return C("department",{department:v})}return B}()})})})],4)},l=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.message,h=g.announceAuth;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Station-Wide Announcement",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function V(){return C("setScreen",{setScreen:0})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Edit Message",icon:"edit",onClick:function(){function V(){return C("writeAnnouncement")}return V}()})],4),children:v})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[h?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Send Announcement",icon:"bullhorn",disabled:!(h&&v),onClick:function(){function V(){return C("sendAnnouncement")}return V}()})]})})],4)},c=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.shipDest,h=g.msgVerified,V=g.ship_dept;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Print Shipping Label",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function b(){return C("setScreen",{setScreen:0})}return b}()}),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:v}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",children:h})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Print Label",icon:"print",disabled:!(v&&h),onClick:function(){function b(){return C("printLabel")}return b}()})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Destinations",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:V.map(function(b){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b,textAlign:"right",className:"candystripe",children:(0,e.createComponentVNode)(2,t.Button,{content:v===b?"Selected":"Select",selected:v===b,onClick:function(){function B(){return C("shipSelect",{shipSelect:b})}return B}()})},b)})})})})],4)},f=function(u,s){var d=(0,a.useBackend)(s),C=d.act,g=d.data,v=g.secondaryGoalAuth,h=g.secondaryGoalEnabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Request Secondary Goal",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function V(){return C("setScreen",{setScreen:0})}return V}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[h?v?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Complete your current goal first!"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Request Secondary Goal",icon:"clipboard-list",disabled:!(v&&h),onClick:function(){function V(){return C("requestSecondaryGoal")}return V}()})]})})],4)}},51939:function(L,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(28823),a=n(91819),t=n(84947),o=n(2971),m=n(63752),N=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},y=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},S=r.RndConsole=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.data,i=f.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,m.RndNavbar),(0,e.createComponentVNode)(2,m.RndRoute,{menu:N.MAIN,render:function(){function u(){return(0,e.createComponentVNode)(2,m.MainMenu)}return u}()}),(0,e.createComponentVNode)(2,m.RndRoute,{menu:N.LEVELS,render:function(){function u(){return(0,e.createComponentVNode)(2,m.CurrentLevels)}return u}()}),(0,e.createComponentVNode)(2,m.RndRoute,{menu:N.DISK,render:function(){function u(){return(0,e.createComponentVNode)(2,m.DataDiskMenu)}return u}()}),(0,e.createComponentVNode)(2,m.RndRoute,{menu:N.DESTROY,render:function(){function u(){return(0,e.createComponentVNode)(2,m.DeconstructionMenu)}return u}()}),(0,e.createComponentVNode)(2,m.RndRoute,{menu:function(){function u(s){return s===N.LATHE||s===N.IMPRINTER}return u}(),render:function(){function u(){return(0,e.createComponentVNode)(2,m.LatheMenu)}return u}()}),(0,e.createComponentVNode)(2,m.RndRoute,{menu:N.SETTINGS,render:function(){function u(){return(0,e.createComponentVNode)(2,m.SettingsMenu)}return u}()}),i?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:i})})}):null]})})})}return k}()},50239:function(L,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.CurrentLevels=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data,p=k.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),p.map(function(l,c){var f=l.name,i=l.level,u=l.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[c>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:f}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",i]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",u]})]},f)})]})}return m}()},24183:function(L,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(63752),m=n(51939),N="design",y="tech",S=function(s,d){var C=(0,a.useBackend)(d),g=C.data,v=C.act,h=g.disk_data;return h?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:h.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:h.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:h.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function V(){return v("updt_tech")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function V(){return v("clear_tech")}return V}()}),(0,e.createComponentVNode)(2,l)]})]}):null},k=function(s,d){var C=(0,a.useBackend)(d),g=C.data,v=C.act,h=g.disk_data;if(!h)return null;var V=h.name,b=h.lathe_types,B=h.materials,I=b.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:V}),I?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:I}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),B.map(function(w){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,w.name,0,{style:{"text-transform":"capitalize"}})," x ",w.amount]},w.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function w(){return v("updt_design")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function w(){return v("clear_design")}return w}()}),(0,e.createComponentVNode)(2,l)]})]})},p=function(s,d){var C=(0,a.useBackend)(d),g=C.data,v=g.disk_type;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"This disk is empty."}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{submenu:m.SUBMENU.DISK_COPY,icon:"arrow-down",content:v===y?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,l)]})]})},l=function(s,d){var C=(0,a.useBackend)(d),g=C.data,v=C.act,h=g.disk_type;return h?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function V(){var b=h===y?"eject_tech":"eject_design";v(b)}return V}()}):null},c=function(s,d){var C=(0,a.useBackend)(d),g=C.data,v=g.disk_data,h=g.disk_type,V=function(){if(!v)return(0,e.createComponentVNode)(2,p);switch(h){case N:return(0,e.createComponentVNode)(2,k);case y:return(0,e.createComponentVNode)(2,S);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:V()})},f=function(s,d){var C=(0,a.useBackend)(d),g=C.data,v=C.act,h=g.disk_type,V=g.to_copy;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:V.sort(function(b,B){return b.name.localeCompare(B.name)}).map(function(b){var B=b.name,I=b.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:B,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function w(){h===y?v("copy_tech",{id:I}):v("copy_design",{id:I})}return w}()})},I)})})})})},i=r.DataDiskMenu=function(){function u(s,d){var C=(0,a.useBackend)(d),g=C.data,v=g.disk_type;return v?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:m.SUBMENU.MAIN,render:function(){function h(){return(0,e.createComponentVNode)(2,c)}return h}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:m.SUBMENU.DISK_COPY,render:function(){function h(){return(0,e.createComponentVNode)(2,f)}return h}()})],4):null}return u}()},72751:function(L,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.DeconstructionMenu=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data,p=S.act,l=k.loaded_item,c=k.linked_destroy;return c?l?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",l.name]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Origin Tech:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:l.origin_tech.map(function(f){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+f.name,children:[f.object_level," ",f.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),f.current_level,(0,e.createTextVNode)(")")],0):null]},f.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function f(){p("deconstruct")}return f}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function f(){p("eject_item")}return f}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return m}()},51802:function(L,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(63752),m=r.LatheCategory=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.data,l=k.act,c=p.category,f=p.matching_designs,i=p.menu,u=i===4,s=u?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:c,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:f.map(function(d){var C=d.id,g=d.name,v=d.can_build,h=d.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:g,disabled:v<1,onClick:function(){function V(){return l(s,{id:C,amount:1})}return V}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function V(){return l(s,{id:C,amount:5})}return V}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function V(){return l(s,{id:C,amount:10})}return V}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.map(function(V){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",V.is_red?"color-red":null,[V.amount,(0,e.createTextVNode)(" "),V.name],0)],0)})})]},C)})})]})}return N}()},47349:function(L,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.LatheChemicalStorage=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data,p=S.act,l=k.loaded_chemicals,c=k.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function f(){var i=c?"disposeallP":"disposeallI";p(i)}return f}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(f){var i=f.volume,u=f.name,s=f.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+i+" of "+u,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function d(){var C=c?"disposeP":"disposeI";p(C,{id:s})}return d}()})},s)})})]})}return m}()},73492:function(L,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(63752),m=r.LatheMainMenu=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.data,l=k.act,c=p.menu,f=p.categories,i=c===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:i+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:f.map(function(u){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:u,onClick:function(){function s(){l("setCategory",{category:u})}return s}()})},u)})})]})}return N}()},87115:function(L,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.LatheMaterialStorage=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data,p=S.act,l=k.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:l.map(function(c){var f=c.id,i=c.amount,u=c.name,s=function(){function v(h){var V=k.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";p(V,{id:f,amount:h})}return v}(),d=Math.floor(i/2e3),C=i<1,g=d===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:C?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",i," of ",u]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",d," sheet",g,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function v(){return s(1)}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function v(){return s("custom")}return v}()}),i>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function v(){return s(5)}return v}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function v(){return s(50)}return v}()})],0):null})]},f)})})})}return m}()},2345:function(L,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.LatheMaterials=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data,p=k.total_materials,l=k.max_materials,c=k.max_chemicals,f=k.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p}),l?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+l}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:f}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return m}()},45805:function(L,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(28823),a=n(91819),t=n(28078),o=n(63752),m=n(2971),N=n(51939),y=r.LatheMenu=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.data,f=c.menu,i=c.linked_lathe,u=c.linked_imprinter;return f===4&&!i?(0,e.createComponentVNode)(2,m.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):f===5&&!u?(0,e.createComponentVNode)(2,m.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:N.SUBMENU.MAIN,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:N.SUBMENU.LATHE_CATEGORY,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:N.SUBMENU.LATHE_MAT_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:N.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return s}()})]})}return S}()},92497:function(L,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.LatheSearch=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function p(l,c){return k("search",{to_search:c})}return p}()})})}return m}()},25242:function(L,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(63752),m=n(51939),N=r.MainMenu=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.data,c=l.disk_type,f=l.linked_destroy,i=l.linked_lathe,u=l.linked_imprinter,s=l.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!c,menu:m.MENU.DISK,submenu:m.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,menu:m.MENU.DESTROY,submenu:m.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!i,menu:m.MENU.LATHE,submenu:m.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!u,menu:m.MENU.IMPRINTER,submenu:m.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:m.MENU.SETTINGS,submenu:m.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:s.map(function(d){var C=d.name,g=d.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:C,children:g},C)})})]})}return y}()},29933:function(L,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.RndNavButton=function(){function m(N,y){var S=N.icon,k=N.children,p=N.disabled,l=N.content,c=(0,a.useBackend)(y),f=c.data,i=c.act,u=f.menu,s=f.submenu,d=u,C=s;return N.menu!==null&&N.menu!==void 0&&(d=N.menu),N.submenu!==null&&N.submenu!==void 0&&(C=N.submenu),(0,e.createComponentVNode)(2,t.Button,{content:l,icon:S,disabled:p,onClick:function(){function g(){i("nav",{menu:d,submenu:C})}return g}(),children:k})}return m}()},59959:function(L,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(28823),a=n(63752),t=n(2971),o=n(51939),m=r.RndNavbar=function(){function N(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function y(S){return S!==o.MENU.MAIN}return y}(),render:function(){function y(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return y}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function y(S){return S!==o.SUBMENU.MAIN}return y}(),render:function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.DISK,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.LATHE,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return S}()})]})}return y}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function y(S){return S===o.MENU.LATHE||S===o.MENU.IMPRINTER}return y}(),submenu:o.SUBMENU.MAIN,render:function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return y}()})]})}return N}()},28078:function(L,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(91819),a=r.RndRoute=function(){function t(o,m){var N=o.render,y=(0,e.useBackend)(m),S=y.data,k=S.menu,p=S.submenu,l=function(){function f(i,u){return i==null?!0:typeof i=="function"?i(u):i===u}return f}(),c=l(o.menu,k)&&l(o.submenu,p);return c?N():null}return t}()},59991:function(L,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(63752),m=n(51939),N=r.SettingsMenu=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.data,c=p.act,f=l.sync,i=l.admin,u=l.linked_destroy,s=l.linked_lathe,d=l.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:m.SUBMENU.MAIN,render:function(){function C(){return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!f,onClick:function(){function g(){c("sync")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:f,onClick:function(){function g(){c("togglesync")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!f,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function g(){c("togglesync")}return g}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,content:"Device Linkage Menu",icon:"link",menu:m.MENU.SETTINGS,submenu:m.SUBMENU.SETTINGS_DEVICES}),i===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function g(){return c("maxresearch")}return g}()}):null]})})}return C}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:m.SUBMENU.SETTINGS_DEVICES,render:function(){function C(){return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage Menu",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function g(){return c("find_device")}return g}()}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",children:(0,e.createVNode)(1,"h3",null,"Linked Devices:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[u?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function g(){return c("disconnect",{item:"destroy"})}return g}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),s?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function g(){c("disconnect",{item:"lathe"})}return g}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),d?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function g(){return c("disconnect",{item:"imprinter"})}return g}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return C}()})]})}return y}()},63752:function(L,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(50239);r.CurrentLevels=e.CurrentLevels;var a=n(24183);r.DataDiskMenu=a.DataDiskMenu;var t=n(72751);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(51802);r.LatheCategory=o.LatheCategory;var m=n(47349);r.LatheChemicalStorage=m.LatheChemicalStorage;var N=n(73492);r.LatheMainMenu=N.LatheMainMenu;var y=n(2345);r.LatheMaterials=y.LatheMaterials;var S=n(87115);r.LatheMaterialStorage=S.LatheMaterialStorage;var k=n(45805);r.LatheMenu=k.LatheMenu;var p=n(92497);r.LatheSearch=p.LatheSearch;var l=n(25242);r.MainMenu=l.MainMenu;var c=n(59959);r.RndNavbar=c.RndNavbar;var f=n(29933);r.RndNavButton=f.RndNavButton;var i=n(28078);r.RndRoute=i.RndRoute;var u=n(59991);r.SettingsMenu=u.SettingsMenu},73407:function(L,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(37843),N=function(k,p){var l=k/p;return l<=.2?"good":l<=.5?"average":"bad"},y=r.RobotSelfDiagnosis=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.data,f=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:f.map(function(i,u){return(0,e.createComponentVNode)(2,t.Section,{title:(0,m.capitalize)(i.name),children:i.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:i.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:N(i.brute_damage,i.max_damage),children:i.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:N(i.electronic_damage,i.max_damage),children:i.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:i.powered?"good":"bad",children:i.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:i.status?"good":"bad",children:i.status?"Yes":"No"})]})})]})},u)})})})}return S}()},48356:function(L,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.RoboticsControlConsole=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.can_hack,i=c.safety,u=c.show_lock_all,s=c.cyborgs,d=s===void 0?[]:s;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!u&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Lock Down",children:[(0,e.createComponentVNode)(2,t.Button,{icon:i?"lock":"unlock",content:i?"Disable Safety":"Enable Safety",selected:i,onClick:function(){function C(){return l("arm",{})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lock",disabled:i,content:"Lock ALL Cyborgs",color:"bad",onClick:function(){function C(){return l("masslock",{})}return C}()})]}),(0,e.createComponentVNode)(2,N,{cyborgs:d,can_hack:f})]})})}return y}(),N=function(S,k){var p=S.cyborgs,l=S.can_hack,c=(0,a.useBackend)(k),f=c.act,i=c.data,u="Detonate";return i.detonate_cooldown>0&&(u+=" ("+i.detonate_cooldown+"s)"),p.length?p.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,buttons:(0,e.createFragment)([!!s.hackable&&!s.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function d(){return f("hackbot",{uid:s.uid})}return d}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:s.locked_down?"unlock":"lock",color:s.locked_down?"good":"default",content:s.locked_down?"Release":"Lockdown",disabled:!i.auth,onClick:function(){function d(){return f("stopbot",{uid:s.uid})}return d}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:u,disabled:!i.auth||i.detonate_cooldown>0,color:"bad",onClick:function(){function d(){return f("killbot",{uid:s.uid})}return d}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:s.status?"bad":s.locked_down?"average":"good",children:s.status?"Not Responding":s.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:s.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.health>50?"good":"bad",value:s.health/100})}),typeof s.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.charge>30?"good":"bad",value:s.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:s.cell_capacity<3e4?"average":"good",children:s.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!s.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:s.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:s.synchronization?"default":"average",children:s.synchronization||"None"})})]})},s.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},33122:function(L,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.Safe=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.dial,s=i.open,d=i.locked,C=i.contents;return(0,e.createComponentVNode)(2,o.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,t.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),s?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.Box,{as:"img",className:"Safe--dial",src:"safe_dial.png",style:{transform:"rotate(-"+3.6*u+"deg)","z-index":0}})]}),!s&&(0,e.createComponentVNode)(2,S)]})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.dial,s=i.open,d=i.locked,C=function(v,h){return(0,e.createComponentVNode)(2,t.Button,{disabled:s||h&&!d,icon:"arrow-"+(h?"right":"left"),content:(h?"Right":"Left")+" "+v,iconRight:h,onClick:function(){function V(){return f(h?"turnleft":"turnright",{num:v})}return V}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:d,icon:s?"lock":"lock-open",content:s?"Close":"Open",mb:"0.5rem",onClick:function(){function g(){return f("open")}return g}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{position:"absolute",children:[C(50),C(10),C(1)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[C(1,!0),C(10,!0),C(50,!0)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--number",children:u})]})},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.contents;return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--contents",overflow:"auto",children:u.map(function(s,d){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mb:"0.5rem",onClick:function(){function C(){return f("retrieve",{index:d+1})}return C}(),children:[(0,e.createComponentVNode)(2,t.Box,{as:"img",src:s.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),s.name]}),(0,e.createVNode)(1,"br")],4,s)})})},S=function(p,l){return(0,e.createComponentVNode)(2,t.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,t.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},46748:function(L,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.SatelliteControl=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.satellites,f=l.notice,i=l.meteor_shield,u=l.meteor_shield_coverage,s=l.meteor_shield_coverage_max,d=l.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[i&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:d>=100?"good":"average",value:u,maxValue:s,children:[d," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:l.notice}),c.map(function(C){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+C.id,children:[C.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:C.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function g(){return p("toggle",{id:C.id})}return g}()})]},C.id)})]})})]})})}return N}()},46504:function(L,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(28823),a=n(66586),t=n(91819),o=n(2971),m=n(84947),N=n(99753),y=n(31068),S=r.SecureStorage=function(){function c(f,i){return(0,e.createComponentVNode)(2,m.Window,{theme:"securestorage",height:500,width:280,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,p)})})})})}return c}(),k=function(f,i){var u=(0,t.useBackend)(i),s=u.act,d=window.event?f.which:f.keyCode;if(d===y.KEY_ENTER){f.preventDefault(),s("keypad",{digit:"E"});return}if(d===y.KEY_ESCAPE){f.preventDefault(),s("keypad",{digit:"C"});return}if(d===y.KEY_BACKSPACE){f.preventDefault(),s("backspace");return}if(d>=y.KEY_0&&d<=y.KEY_9){f.preventDefault(),s("keypad",{digit:d-y.KEY_0});return}if(d>=y.KEY_NUMPAD_0&&d<=y.KEY_NUMPAD_9){f.preventDefault(),s("keypad",{digit:d-y.KEY_NUMPAD_0});return}},p=function(f,i){var u=(0,t.useBackend)(i),s=u.act,d=u.data,C=d.locked,g=d.no_passcode,v=d.emagged,h=d.user_entered_code,V=[["1","2","3"],["4","5","6"],["7","8","9"],["C","0","E"]],b=g?"":C?"bad":"good";return(0,e.createComponentVNode)(2,o.Section,{fill:!0,onKeyDown:function(){function B(I){return k(I,i)}return B}(),children:[(0,e.createComponentVNode)(2,o.Stack.Item,{height:7.3,children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["SecureStorage__displayBox","SecureStorage__displayBox--"+b]),height:"100%",children:v?"ERROR":h})}),(0,e.createComponentVNode)(2,o.Table,{children:V.map(function(B){return(0,e.createComponentVNode)(2,N.TableRow,{children:B.map(function(I){return(0,e.createComponentVNode)(2,N.TableCell,{children:(0,e.createComponentVNode)(2,l,{number:I})},I)})},B[0])})})]})},l=function(f,i){var u=(0,t.useBackend)(i),s=u.act,d=u.data,C=f.number;return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,bold:!0,mb:"6px",content:C,textAlign:"center",fontSize:"60px",lineHeight:1.25,width:"80px",className:(0,a.classes)(["SecureStorage__Button","SecureStorage__Button--keypad","SecureStorage__Button--"+C]),onClick:function(){function g(){return s("keypad",{digit:C})}return g}()})}},54529:function(L,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(28823),a=n(37843),t=n(91819),o=n(2971),m=n(84947),N=n(22677),y=n(51185),S=n(69774),k=n(76519),p={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},l=function(h,V){(0,N.modalOpen)(h,"edit",{field:V.edit,value:V.value})},c=r.SecurityRecords=function(){function v(h,V){var b=(0,t.useBackend)(V),B=b.act,I=b.data,w=I.loginState,T=I.currentPage,A;if(w.logged_in)T===1?A=(0,e.createComponentVNode)(2,i):T===2&&(A=(0,e.createComponentVNode)(2,d));else return(0,e.createComponentVNode)(2,m.Window,{theme:"security",width:800,height:900,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});return(0,e.createComponentVNode)(2,m.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,N.ComplexModal),(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,k.TemporaryNotice),(0,e.createComponentVNode)(2,f),A]})})]})}return v}(),f=function(h,V){var b=(0,t.useBackend)(V),B=b.act,I=b.data,w=I.currentPage,T=I.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:w===1,onClick:function(){function A(){return B("page",{page:1})}return A}(),children:"List Records"}),w===2&&T&&!T.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:w===2,children:["Record: ",T.fields[0].value]})]})})},i=function(h,V){var b=(0,t.useBackend)(V),B=b.act,I=b.data,w=I.records,T=(0,t.useLocalState)(V,"searchText",""),A=T[0],x=T[1],E=(0,t.useLocalState)(V,"sortId","name"),P=E[0],D=E[1],M=(0,t.useLocalState)(V,"sortOrder",!0),O=M[0],j=M[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,s)}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SecurityRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,u,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,u,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,u,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,u,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,u,{id:"status",children:"Criminal Status"})]}),w.filter((0,a.createSearch)(A,function(F){return F.name+"|"+F.id+"|"+F.rank+"|"+F.fingerprint+"|"+F.status})).sort(function(F,U){var _=O?1:-1;return F[P].localeCompare(U[P])*_}).map(function(F){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+p[F.status],onClick:function(){function U(){return B("view",{uid_gen:F.uid_gen,uid_sec:F.uid_sec})}return U}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",F.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.status})]},F.id)})]})})})],4)},u=function(h,V){var b=(0,t.useLocalState)(V,"sortId","name"),B=b[0],I=b[1],w=(0,t.useLocalState)(V,"sortOrder",!0),T=w[0],A=w[1],x=h.id,E=h.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:B!==x&&"transparent",fluid:!0,onClick:function(){function P(){B===x?A(!T):(I(x),A(!0))}return P}(),children:[E,B===x&&(0,e.createComponentVNode)(2,o.Icon,{name:T?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},s=function(h,V){var b=(0,t.useBackend)(V),B=b.act,I=b.data,w=I.isPrinting,T=(0,t.useLocalState)(V,"searchText",""),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:"0.25rem",content:"New Record",icon:"plus",onClick:function(){function E(){return B("new_general")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Cell Log",onClick:function(){function E(){return(0,N.modalOpen)(V,"print_cell_log")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function E(P,D){return x(D)}return E}()})})]})},d=function(h,V){var b=(0,t.useBackend)(V),B=b.act,I=b.data,w=I.isPrinting,T=I.general,A=I.security;return!T||!T.fields?(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"General records lost!"}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Record",onClick:function(){function x(){return B("print_record")}return x}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"WARNING: This will also delete the Security and Medical records associated with this crew member!",tooltipPosition:"bottom-start",content:"Delete Record",onClick:function(){function x(){return B("delete_general")}return x}()})],4),children:(0,e.createComponentVNode)(2,C)})}),!A||!A.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function x(){return B("new_security")}return x}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Security records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:A.empty,content:"Delete Record",onClick:function(){function x(){return B("delete_security")}return x}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:A.fields.map(function(x,E){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:x.field,prewrap:!0,children:[(0,a.decodeHtmlEntities)(x.value),!!x.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:x.line_break?"1rem":"initial",onClick:function(){function P(){return l(V,x)}return P}()})]},E)})})})})}),(0,e.createComponentVNode)(2,g)],4)],0)},C=function(h,V){var b=(0,t.useBackend)(V),B=b.data,I=B.general;return!I||!I.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:I.fields.map(function(w,T){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:w.field,prewrap:!0,children:[(0,a.decodeHtmlEntities)(""+w.value),!!w.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:w.line_break?"1rem":"initial",onClick:function(){function A(){return l(V,w)}return A}()})]},T)})})}),!!I.has_photos&&I.photos.map(function(w,T){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:w,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,e.createVNode)(1,"br"),"Photo #",T+1]},T)})]})},g=function(h,V){var b=(0,t.useBackend)(V),B=b.act,I=b.data,w=I.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function T(){return(0,N.modalOpen)(V,"comment_add")}return T}()}),children:w.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):w.comments.map(function(T,A){return(0,e.createComponentVNode)(2,o.Box,{prewrap:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:T.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),T.text||T,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function x(){return B("comment_delete",{id:A+1})}return x}()})]},A)})})})}},79315:function(L,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.SeedExtractor=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.stored_seeds,i=c.vend_amount;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Stored Seeds",buttons:(0,e.createFragment)([(0,e.createTextVNode)("Set Amount to be Vended:\xA0"),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:i,width:"40px",minValue:1,maxValue:25,stepPixelSize:3,onDrag:function(){function u(s,d){return l("set_vend_amount",{vend_amount:d})}return u}()})],4),children:f!=null&&f.length?(0,e.createComponentVNode)(2,N):"No Seeds"})})})})}return y}(),N=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.stored_seeds;return(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Lifespan"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Endurance"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Maturation"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Production"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Yield"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Potency"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stock"})]}),f.map(function(i,u){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+i.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),i.name,i.variant?" ("+i.variant+")":""]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.lifespan}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.endurance}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.maturation}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.production}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.yield}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.potency}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:["(",i.amount," Left)\xA0",(0,e.createComponentVNode)(2,t.Button,{ml:1,content:"Vend",icon:"arrow-circle-down",onClick:function(){function s(){return l("vend",{seedid:i.id,seedvariant:i.variant})}return s}()})]})]},u)})]})}},58578:function(L,r,n){"use strict";r.__esModule=!0,r.ShuttleConsole=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.ShuttleConsole=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l.status?l.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),!!l.shuttle&&(!!l.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Send to ",children:l.docking_ports.map(function(c){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:c.name,onClick:function(){function f(){return p("move",{move:c.id})}return f}()},c.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!l.admin_controlled&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorization",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"Request Authorization",disabled:!l.status,onClick:function(){function c(){return p("request")}return c}()})})],0))]})})})})}return N}()},11154:function(L,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.ShuttleManipulator=function(){function k(p,l){var c=(0,a.useLocalState)(l,"tabIndex",0),f=c[0],i=c[1],u=function(){function s(d){switch(d){case 0:return(0,e.createComponentVNode)(2,N);case 1:return(0,e.createComponentVNode)(2,y);case 2:return(0,e.createComponentVNode)(2,S);default:return"WE SHOULDN'T BE HERE!"}}return s}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===0,onClick:function(){function s(){return i(0)}return s}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===1,onClick:function(){function s(){return i(1)}return s}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===2,onClick:function(){function s(){return i(2)}return s}(),icon:"tools",children:"Modification"},"Modification")]}),u(f)]})})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:u.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:s.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:s.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:s.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:s.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function d(){return f("jump_to",{type:"mobile",id:s.id})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function d(){return f("fast_travel",{id:s.id})}return d}()})]})]})},s.name)})})},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.templates_tabs,s=i.existing_shuttle,d=i.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:u.map(function(C){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===s.id,icon:"file",onClick:function(){function g(){return f("select_template_category",{cat:C})}return g}(),children:C},C)})}),!!s&&d[s.id].templates.map(function(C){return(0,e.createComponentVNode)(2,t.Section,{title:C.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[C.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:C.description}),C.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:C.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Load Template",icon:"download",onClick:function(){function g(){return f("select_template",{shuttle_id:C.shuttle_id})}return g}()})})]})},C.name)})]})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.existing_shuttle,s=i.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[u?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+u.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:u.status}),u.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:u.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function d(){return f("jump_to",{type:"mobile",id:u.id})}return d}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),s?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:s.description}),s.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:s.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function d(){return f("preview",{shuttle_id:s.shuttle_id})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function d(){return f("load",{shuttle_id:s.shuttle_id})}return d}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},80699:function(L,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=n(84947),N=[["good","Alive"],["average","Critical"],["bad","DEAD"]],y=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},k=["bad","average","average","good","average","average","bad"],p=r.Sleeper=function(){function d(C,g){var v=(0,t.useBackend)(g),h=v.act,V=v.data,b=V.hasOccupant,B=b?(0,e.createComponentVNode)(2,l):(0,e.createComponentVNode)(2,s);return(0,e.createComponentVNode)(2,m.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:B}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,i)})]})})})}return d}(),l=function(C,g){var v=(0,t.useBackend)(g),h=v.act,V=v.data,b=V.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,u)],4)},c=function(C,g){var v=(0,t.useBackend)(g),h=v.act,V=v.data,b=V.occupant,B=V.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:B?"toggle-on":"toggle-off",selected:B,content:B?"On":"Off",onClick:function(){function I(){return h("auto_eject_dead_"+(B?"off":"on"))}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function I(){return h("ejectify")}return I}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:b.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.maxHealth,value:b.health/b.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(b.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:N[b.stat][0],children:N[b.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.maxTemp,value:b.bodyTemperature/b.maxTemp,color:k[b.temperatureSuitability+3],children:[(0,a.round)(b.btCelsius,0),"\xB0C,",(0,a.round)(b.btFaren,0),"\xB0F"]})}),!!b.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.bloodMax,value:b.bloodLevel/b.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[b.bloodPercent,"%, ",b.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[b.pulse," BPM"]})],4)]})})},f=function(C,g){var v=(0,t.useBackend)(g),h=v.data,V=h.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:y.map(function(b,B){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:b[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:V[b[1]]/100,ranges:S,children:(0,a.round)(V[b[1]],0)},B)},B)})})})},i=function(C,g){var v=(0,t.useBackend)(g),h=v.act,V=v.data,b=V.hasOccupant,B=V.isBeakerLoaded,I=V.beakerMaxSpace,w=V.beakerFreeSpace,T=V.dialysis,A=T&&w>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!B||w<=0||!b,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Active":"Inactive",onClick:function(){function x(){return h("togglefilter")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B,icon:"eject",content:"Eject",onClick:function(){function x(){return h("removebeaker")}return x}()})],4),children:B?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:w/I,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[w,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},u=function(C,g){var v=(0,t.useBackend)(g),h=v.act,V=v.data,b=V.occupant,B=V.chemicals,I=V.maxchem,w=V.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:B.map(function(T,A){var x="",E;return T.overdosing?(x="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):T.od_warning&&(x="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:T.title,level:"3",mx:"0",lineHeight:"18px",buttons:E,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:T.occ_amount/I,color:x,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[T.pretty_amount,"/",I,"u"]}),w.map(function(P,D){return(0,e.createComponentVNode)(2,o.Button,{disabled:!T.injectable||T.occ_amount+P>I||b.stat===2,icon:"syringe",content:"Inject "+P+"u",title:"Inject "+P+"u of "+T.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function M(){return h("chemical",{chemid:T.id,amount:P})}return M}()},D)})]})})},A)})})},s=function(C,g){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},42439:function(L,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.SlotMachine=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;if(l.money===null)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:90,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Could not scan your card or could not find account!"}),(0,e.createComponentVNode)(2,t.Box,{children:"Please wear or hold your ID and try again."})]})})});var c;return l.plays===1?c=l.plays+" player has tried their luck today!":c=l.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{width:300,height:151,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{lineHeight:2,children:c}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:l.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:l.working,content:l.working?"Spinning...":"Spin",onClick:function(){function f(){return p("spin")}return f}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:l.resultlvl,children:l.result})]})})})}return N}()},280:function(L,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.Smartfridge=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.secure,f=l.can_dry,i=l.drying,u=l.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:f?"Drying rack":"Contents",buttons:!!f&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:i?"power-off":"times",content:i?"On":"Off",selected:i,onClick:function(){function s(){return p("drying")}return s}()}),children:[!u&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cookie-bite",size:5,color:"brown"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No products loaded."]})}),!!u&&u.slice().sort(function(s,d){return s.display_name.localeCompare(d.display_name)}).map(function(s){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:s.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",s.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function d(){return p("vend",{index:s.vend,amount:1})}return d}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:s.quantity,step:1,stepPixelSize:3,onChange:function(){function d(C,g){return p("vend",{index:s.vend,amount:g})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function d(){return p("vend",{index:s.vend,amount:s.quantity})}return d}()})]})]},s)})]})]})})})}return N}()},47606:function(L,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(48300),m=n(84947),N=1e3,y=r.Smes=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.capacityPercent,u=f.capacity,s=f.charge,d=f.inputAttempt,C=f.inputting,g=f.inputLevel,v=f.inputLevelMax,h=f.inputAvailable,V=f.outputPowernet,b=f.outputAttempt,B=f.outputting,I=f.outputLevel,w=f.outputLevelMax,T=f.outputUsed,A=i>=100&&"good"||C&&"average"||"bad",x=B&&"good"||s>0&&"average"||"bad";return(0,e.createComponentVNode)(2,m.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"sync-alt":"times",selected:d,onClick:function(){function E(){return c("tryinput")}return E}(),children:d?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:i>=100&&"Fully Charged"||C&&"Charging"||"Not Charging"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Input",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:g===0,onClick:function(){function E(){return c("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:g===0,onClick:function(){function E(){return c("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:g/N,fillValue:h/N,minValue:0,maxValue:v/N,step:5,stepPixelSize:4,format:function(){function E(P){return(0,o.formatPower)(P*N,1)}return E}(),onChange:function(){function E(P,D){return c("input",{target:D*N})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:g===v,onClick:function(){function E(){return c("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:g===v,onClick:function(){function E(){return c("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(h)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:b?"power-off":"times",selected:b,onClick:function(){function E(){return c("tryoutput")}return E}(),children:b?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:x,children:V?B?"Sending":s>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:I===0,onClick:function(){function E(){return c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:I===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:I/N,minValue:0,maxValue:w/N,step:5,stepPixelSize:4,format:function(){function E(P){return(0,o.formatPower)(P*N,1)}return E}(),onChange:function(){function E(P,D){return c("output",{target:D*N})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:I===w,onClick:function(){function E(){return c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:I===w,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(T)})]})})]})})})}return S}()},66527:function(L,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.SolarControl=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=0,f=1,i=2,u=l.generated,s=l.generated_ratio,d=l.tracking_state,C=l.tracking_rate,g=l.connected_panels,v=l.connected_tracker,h=l.cdir,V=l.direction,b=l.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:277,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){function B(){return p("refresh")}return B}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar tracker",color:v?"good":"bad",children:v?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:g>0?"good":"bad",children:g})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:s,children:u+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[h,"\xB0 (",V,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[d===i&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),d===f&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",C,"\xB0/h (",b,")"," "]}),d===c&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[d!==i&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:h,onDrag:function(){function B(I,w){return p("cdir",{cdir:w})}return B}()}),d===i&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:d===c,onClick:function(){function B(){return p("track",{track:c})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:d===f,onClick:function(){function B(){return p("track",{track:f})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:d===i,disabled:!v,onClick:function(){function B(){return p("track",{track:i})}return B}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[d===f&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:C,format:function(){function B(I){var w=Math.sign(I)>0?"+":"-";return w+Math.abs(I)}return B}(),onDrag:function(){function B(I,w){return p("tdir",{tdir:w})}return B}()}),d===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),d===i&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return N}()},27478:function(L,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.SpawnersMenu=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:f.name+" ("+f.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function i(){return p("jump",{ID:f.uids})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function i(){return p("spawn",{ID:f.uids})}return i}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:f.desc}),!!f.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:f.fluff}),!!f.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:f.important_info})]},f.name)})})})})}return N}()},15565:function(L,r,n){"use strict";r.__esModule=!0,r.SpecMenu=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.SpecMenu=function(){function p(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:1100,height:600,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k)]})})})}return p}(),N=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Hemomancer",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function d(){return i("hemomancer")}return d}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4)]})})},y=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Umbrae",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function d(){return i("umbrae")}return d}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you will do a fake recall, causing a clone to appear at the anchor and making yourself invisible. It will not teleport you between Z levels.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensnares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. Inside the radius, nearby creatures will freeze and energy projectiles will deal less damage.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permanent X-ray vision.",16)]})})},S=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Gargantua",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function d(){return i("gargantua")}return d}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you do not have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": Unlocked at 800 blood, you gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Desecrated Duel",16),(0,e.createTextVNode)(": Leap towards a visible enemy, creating an arena upon landing, infusing you with increased regeneration, and granting you resistance to internal damages.")],4)]})})},k=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Dantalion",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function d(){return i("dantalion")}return d}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that blinds and then makes everyone nearby perceive others as random animals.")],4)]})})}},31752:function(L,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.StationAlertConsole=function(){function y(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,N)})})}return y}(),N=r.StationAlertConsoleContent=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.data,c=l.alarms||[],f=c.Fire||[],i=c.Atmosphere||[],u=c.Power||[];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Fire Alarms",children:(0,e.createVNode)(1,"ul",null,[f.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),f.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Atmospherics Alarms",children:(0,e.createVNode)(1,"ul",null,[i.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),i.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Alarms",children:(0,e.createVNode)(1,"ul",null,[u.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),u.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)})],4)}return y}()},64323:function(L,r,n){"use strict";r.__esModule=!0,r.StationTraitsPanel=void 0;var e=n(28823),a=n(72026),t=n(98644),o=n(91819),m=n(2971),N=n(84947),y=function(l){return l[l.SetupFutureStationTraits=0]="SetupFutureStationTraits",l[l.ViewStationTraits=1]="ViewStationTraits",l}(y||{}),S=function(c,f){var i=(0,o.useBackend)(f),u=i.act,s=i.data,d=s.future_station_traits,C=(0,o.useLocalState)(f,"selectedFutureTrait",null),g=C[0],v=C[1],h=Object.fromEntries(s.valid_station_traits.map(function(b){return[b.name,b.path]})),V=Object.keys(h);return V.sort(),(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.Dropdown,{displayText:!g&&"Select trait to add...",onSelected:v,options:V,selected:g,width:"100%"})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button,{color:"green",icon:"plus",onClick:function(){function b(){if(g){var B=h[g],I=[B];if(d){var w,T=d.map(function(A){return A.path});if(T.indexOf(B)!==-1)return;I=(w=I).concat.apply(w,T)}u("setup_future_traits",{station_traits:I})}}return b}(),children:"Add"})})]}),(0,e.createComponentVNode)(2,m.Divider),Array.isArray(d)?d.length>0?(0,e.createComponentVNode)(2,m.Stack,{vertical:!0,fill:!0,children:d.map(function(b){return(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:b.name}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button,{color:"red",icon:"times",onClick:function(){function B(){u("setup_future_traits",{station_traits:(0,a.filterMap)(d,function(I){if(I.path!==b.path)return I.path})})}return B}(),children:"Delete"})})]})},b.path)})}):(0,e.createComponentVNode)(2,m.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,m.Box,{children:"No station traits will run next round."}),(0,e.createComponentVNode)(2,m.Button,{mt:1,fluid:!0,color:"good",icon:"times",tooltip:"The next round will roll station traits randomly, just like normal",onClick:function(){function b(){return u("clear_future_traits")}return b}(),children:"Run Station Traits Normally"})]}):(0,e.createComponentVNode)(2,m.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,m.Box,{children:"No future station traits are planned."}),(0,e.createComponentVNode)(2,m.Button,{mt:1,fluid:!0,color:"red",icon:"times",onClick:function(){function b(){return u("setup_future_traits",{station_traits:[]})}return b}(),children:"Prevent station traits from running next round"})]})]})},k=function(c,f){var i=(0,o.useBackend)(f),u=i.act,s=i.data;return s.current_traits.length>0?(0,e.createComponentVNode)(2,m.Stack,{vertical:!0,fill:!0,children:s.current_traits.map(function(d){return(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:d.name}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button.Confirm,{content:"Revert",color:"red",disabled:s.too_late_to_revert||!d.can_revert,tooltip:!d.can_revert&&"This trait is not revertable."||s.too_late_to_revert&&"It's too late to revert station traits, the round has already started.",icon:"times",onClick:function(){function C(){return u("revert",{ref:d.ref})}return C}()})})]})},d.ref)})}):(0,e.createComponentVNode)(2,m.Box,{textAlign:"center",children:"There are no active station traits."})},p=r.StationTraitsPanel=function(){function l(c,f){var i=(0,o.useLocalState)(f,"station_traits_tab",y.ViewStationTraits),u=i[0],s=i[1],d;switch(u){case y.SetupFutureStationTraits:d=(0,e.createComponentVNode)(2,S);break;case y.ViewStationTraits:d=(0,e.createComponentVNode)(2,k);break;default:(0,t.exhaustiveCheck)(u)}return(0,e.createComponentVNode)(2,N.Window,{title:"Modify Station Traits",height:350,width:350,children:(0,e.createComponentVNode)(2,N.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Tabs,{children:[(0,e.createComponentVNode)(2,m.Tabs.Tab,{icon:"eye",selected:u===y.ViewStationTraits,onClick:function(){function C(){return s(y.ViewStationTraits)}return C}(),children:"View"}),(0,e.createComponentVNode)(2,m.Tabs.Tab,{icon:"edit",selected:u===y.SetupFutureStationTraits,onClick:function(){function C(){return s(y.SetupFutureStationTraits)}return C}(),children:"Edit"})]})}),(0,e.createComponentVNode)(2,m.Stack.Item,{m:0,children:[(0,e.createComponentVNode)(2,m.Divider),d]})]})})})}return l}()},28973:function(L,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(28823),a=n(72026),t=n(96820),o=n(91819),m=n(2971),N=n(84947),y=5,S=5,k="64px",p=function(d){return d[0]+"/"+d[1]},l=function(d){var C=d.align,g=d.children;return(0,e.createComponentVNode)(2,m.Box,{style:{position:"absolute",left:C==="left"?"6px":"48px","text-align":C,"text-shadow":"2px 2px 2px #000",top:"2px"},children:g})},c={enable_internals:{icon:"lungs",text:"Enable internals"},disable_internals:{icon:"lungs",text:"Disable internals"},enable_lock:{icon:"lock",text:"Enable lock"},disable_lock:{icon:"unlock",text:"Disable lock"},suit_sensors:{icon:"tshirt",text:"Adjust suit sensors"},remove_accessory:{icon:"medal",text:"Remove accessory"},dislodge_headpocket:{icon:"head-side-virus",text:"Dislodge headpocket"}},f={eyes:{displayName:"eyewear",gridSpot:p([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:p([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:p([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:p([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:p([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:p([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:p([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:p([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:p([1,4])},jumpsuit:{displayName:"uniform",gridSpot:p([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:p([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:p([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:p([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:p([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:p([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:p([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:p([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:p([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:p([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:p([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:p([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:p([4,4]),image:"inventory-pda.png"}},i=function(s){return s[s.Completely=1]="Completely",s[s.Hidden=2]="Hidden",s}(i||{}),u=r.StripMenu=function(){function s(d,C){for(var g=(0,o.useBackend)(C),v=g.act,h=g.data,V=new Map,b=0,B=Object.keys(h.items);b<B.length;b++){var I=B[b];V.set(f[I].gridSpot,I)}var w=function(){function A(x){return x?x.cantstrip?"transparent":x.interacting?"average":"translucent":"translucent"}return A}(),T=function(){function A(x){return x&&x.cantstrip?"transparent":"none"}return A}();return(0,e.createComponentVNode)(2,N.Window,{title:"Stripping "+h.name,width:360,height:390,theme:"nologo",children:(0,e.createComponentVNode)(2,N.Window.Content,{style:{"background-color":"rgba(0, 0, 0, 0.5)"},children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:(0,a.range)(0,y).map(function(A){return(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:(0,a.range)(0,S).map(function(x){var E=p([A,x]),P=V.get(E);if(!P)return(0,e.createComponentVNode)(2,m.Stack.Item,{style:{width:k,height:k}},E);var D=h.items[P],M=f[P],O,j,F;return D===null?F=M.displayName:"name"in D?(j=(0,e.createComponentVNode)(2,m.Box,{as:"img",src:"data:image/jpeg;base64,"+D.icon,height:"100%",width:"100%",style:{"-ms-interpolation-mode":"nearest-neighbor","vertical-align":"middle"}}),F=D.name):"obscured"in D&&(j=(0,e.createComponentVNode)(2,m.Icon,{name:D.obscured===i.Completely?"ban":"eye-slash",size:3,ml:0,mt:2.5,color:"white",style:{"text-align":"center",height:"100%",width:"100%"}}),F="obscured "+M.displayName),D!==null&&"alternates"in D&&D.alternates!==null&&(O=D.alternates),(0,e.createComponentVNode)(2,m.Stack.Item,{style:{width:k,height:k},children:(0,e.createComponentVNode)(2,m.Box,{style:{position:"relative",width:"100%",height:"100%"},children:[(0,e.createComponentVNode)(2,m.Button,{onClick:function(){function U(){v("use",{key:P})}return U}(),fluid:!0,color:w(D),tooltip:F,style:{position:"relative",width:"100%",height:"100%",padding:0,"background-color":T(D)},children:[M.image&&(0,e.createComponentVNode)(2,m.Box,{as:"img",src:(0,t.resolveAsset)(M.image),opacity:.7,style:{position:"absolute",width:"32px",height:"32px",left:"50%",top:"50%",transform:"translateX(-50%) translateY(-50%) scale(2)"}}),(0,e.createComponentVNode)(2,m.Box,{style:{position:"relative"},children:j}),M.additionalComponent]}),(0,e.createComponentVNode)(2,m.Stack,{direction:"row-reverse",children:O!==void 0&&O.map(function(U,_){var z=_*1.8;return(0,e.createComponentVNode)(2,m.Stack.Item,{width:"100%",children:(0,e.createComponentVNode)(2,m.Button,{onClick:function(){function H(){v("alt",{key:P,action_key:U})}return H}(),tooltip:c[U].text,width:"1.8em",style:{background:"rgba(0, 0, 0, 0.6)",position:"absolute",bottom:0,right:z+"em","z-index":2+_},children:(0,e.createComponentVNode)(2,m.Icon,{name:c[U].icon})})},_)})})]})},E)})})},A)})})})})}return s}()},57633:function(L,r,n){"use strict";r.__esModule=!0,r.SuitStorage=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.SuitStorage=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.data,i=f.uv;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!i&&(0,e.createComponentVNode)(2,t.Dimmer,{backgroundColor:"black",opacity:.85,children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,textAlign:"center",mb:1,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",spin:1,size:4,mb:4}),(0,e.createVNode)(1,"br"),"Disinfection of contents in progress..."]})})}),(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,S)]})})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.helmet,s=i.suit,d=i.magboots,C=i.mask,g=i.storage,v=i.open,h=i.locked;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stored Items",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Start Disinfection Cycle",icon:"radiation",textAlign:"center",onClick:function(){function V(){return f("cook")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:h?"Unlock":"Lock",icon:h?"unlock":"lock",disabled:v,onClick:function(){function V(){return f("toggle_lock")}return V}()})],4),children:v&&!h?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,y,{object:u,label:"Helmet",missingText:"helmet",eject:"dispense_helmet"}),(0,e.createComponentVNode)(2,y,{object:s,label:"Suit",missingText:"suit",eject:"dispense_suit"}),(0,e.createComponentVNode)(2,y,{object:d,label:"Boots",missingText:"boots",eject:"dispense_boots"}),(0,e.createComponentVNode)(2,y,{object:C,label:"Breathmask",missingText:"mask",eject:"dispense_mask"}),(0,e.createComponentVNode)(2,y,{object:g,label:"Storage",missingText:"storage item",eject:"dispense_storage"})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:h?"lock":"exclamation-circle",size:"5",mb:3}),(0,e.createVNode)(1,"br"),h?"The unit is locked.":"The unit is closed."]})})})},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=p.object,s=p.label,d=p.missingText,C=p.eject;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s,children:(0,e.createComponentVNode)(2,t.Box,{my:.5,children:u?(0,e.createComponentVNode)(2,t.Button,{my:-1,icon:"eject",content:u,onClick:function(){function g(){return f(C)}return g}()}):(0,e.createComponentVNode)(2,t.Box,{color:"silver",bold:!0,children:["No ",d," found."]})})})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.open,s=i.locked;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:u?"Close Suit Storage Unit":"Open Suit Storage Unit",icon:u?"times-circle":"expand",color:u?"red":"green",disabled:s,textAlign:"center",onClick:function(){function d(){return f("toggle_open")}return d}()})})}},72217:function(L,r,n){"use strict";r.__esModule=!0,r.SupermatterMonitor=void 0;var e=n(28823),a=n(72026),t=n(90955),o=n(58331),m=n(91819),N=n(2971),y=n(30381),S=n(84947),k=n(99753),p=r.SupermatterMonitor=function(){function i(u,s){var d=(0,m.useBackend)(s),C=d.act,g=d.data;return g.active===0?(0,e.createComponentVNode)(2,c):(0,e.createComponentVNode)(2,f)}return i}(),l=function(u){return Math.log2(16+Math.max(0,u))-4},c=function(u,s){var d=(0,m.useBackend)(s),C=d.act,g=d.data,v=g.supermatters,h=v===void 0?[]:v;return(0,e.createComponentVNode)(2,S.Window,{width:450,height:185,children:(0,e.createComponentVNode)(2,S.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,title:"Detected Supermatters",buttons:(0,e.createComponentVNode)(2,N.Button,{icon:"sync",content:"Refresh",onClick:function(){function V(){return C("refresh")}return V}()}),children:(0,e.createComponentVNode)(2,N.Table,{children:h.map(function(V){return(0,e.createComponentVNode)(2,N.Table.Row,{children:[(0,e.createComponentVNode)(2,N.Table.Cell,{children:V.supermatter_id+". "+V.area_name}),(0,e.createComponentVNode)(2,N.Table.Cell,{collapsing:!0,color:"label",children:"Integrity:"}),(0,e.createComponentVNode)(2,N.Table.Cell,{collapsing:!0,width:"120px",children:(0,e.createComponentVNode)(2,N.ProgressBar,{value:V.integrity/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,e.createComponentVNode)(2,N.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,N.Button,{content:"Details",onClick:function(){function b(){return C("view",{view:V.supermatter_id})}return b}()})})]},V.supermatter_id)})})})})})},f=function(u,s){var d=(0,m.useBackend)(s),C=d.act,g=d.data,v=g.active,h=g.SM_integrity,V=g.SM_power,b=g.SM_ambienttemp,B=g.SM_ambientpressure,I=(0,t.flow)([function(T){return T.filter(function(A){return A.amount>=.01})},(0,a.sortBy)(function(T){return-T.amount})])(g.gases||[]),w=Math.max.apply(Math,[1].concat(I.map(function(T){return T.amount})));return(0,e.createComponentVNode)(2,S.Window,{width:550,height:185,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,N.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{width:"270px",children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,title:"Metrics",children:(0,e.createComponentVNode)(2,N.LabeledList,{children:[(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,N.ProgressBar,{value:h/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,N.ProgressBar,{value:V,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.toFixed)(V)+" MeV/cm3"})}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,N.ProgressBar,{value:l(b),minValue:0,maxValue:l(1e4),ranges:{teal:[-1/0,l(80)],good:[l(80),l(373)],average:[l(373),l(1e3)],bad:[l(1e3),1/0]},children:(0,o.toFixed)(b)+" K"})}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,N.ProgressBar,{value:l(B),minValue:0,maxValue:l(5e4),ranges:{good:[l(1),l(300)],average:[-1/0,l(1e3)],bad:[l(1e3),1/0]},children:(0,o.toFixed)(B)+" kPa"})})]})})}),(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,e.createComponentVNode)(2,N.Button,{icon:"arrow-left",content:"Back",onClick:function(){function T(){return C("back")}return T}()}),children:(0,e.createComponentVNode)(2,N.LabeledList,{children:I.map(function(T){return(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:(0,y.getGasLabel)(T.name),children:(0,e.createComponentVNode)(2,N.ProgressBar,{color:(0,y.getGasColor)(T.name),value:T.amount,minValue:0,maxValue:w,children:(0,o.toFixed)(T.amount,2)+"%"})},T.name)})})})})]})})})}},55055:function(L,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.SyndicateComputerSimple=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;return(0,e.createComponentVNode)(2,o.Window,{theme:"syndicate",width:400,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:l.rows.map(function(c){return(0,e.createComponentVNode)(2,t.Section,{title:c.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:c.buttontitle,disabled:c.buttondisabled,tooltip:c.buttontooltip,tooltipPosition:"left",onClick:function(){function f(){return p(c.buttonact)}return f}()}),children:[c.status,!!c.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:c.bullets.map(function(f){return(0,e.createComponentVNode)(2,t.Box,{children:f},f)})})]},c.title)})})})}return N}()},61225:function(L,r,n){"use strict";r.__esModule=!0,r.TEG=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=function(S){return S.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},N=r.TEG=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data;return c.error?(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[c.error,(0,e.createComponentVNode)(2,t.Button,{icon:"circle",content:"Recheck",onClick:function(){function f(){return l("check")}return f}()})]})})}):(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cold Loop ("+c.cold_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Inlet",children:[m(c.cold_inlet_temp)," K,"," ",m(c.cold_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Outlet",children:[m(c.cold_outlet_temp)," K,"," ",m(c.cold_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Hot Loop ("+c.hot_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Inlet",children:[m(c.hot_inlet_temp)," K,"," ",m(c.hot_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Outlet",children:[m(c.hot_outlet_temp)," K,"," ",m(c.hot_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Output",children:[m(c.output_power)," W",!!c.warning_switched&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold inlet temperature exceeds hot inlet temperature."}),!!c.warning_cold_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold circulator inlet pressure is under 1,000 kPa."}),!!c.warning_hot_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Hot circulator inlet pressure is under 1,000 kPa."})]})]})})}return y}()},61424:function(L,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m={0:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV",5:"Tier V"},N={male:"\u041C\u0443\u0436\u0441\u043A\u043E\u0439",female:"\u0416\u0435\u043D\u0441\u043A\u0438\u0439"},y={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},S=function(c,f,i,u){return u===void 0&&(u=null),c.map(function(s){var d,C=(d=s[u])!=null?d:s;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:f.includes(s),content:C,onClick:function(){function g(){f.includes(s)?i(f.filter(function(v){var h;return((h=v[u])!=null?h:v)!==s})):i([s].concat(f))}return g}()},C)})},k=r.TTSSeedsExplorer=function(){function l(){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,p)})})})}return l}(),p=r.TTSSeedsExplorerContent=function(){function l(c,f){var i=(0,a.useBackend)(f),u=i.act,s=i.data,d=s.providers,C=s.seeds,g=s.selected_seed,v=s.phrases,h=s.donator_level,V=s.character_gender,b=C.map(function(Z){return Z.category}).filter(function(Z,q,ue){return ue.indexOf(Z)===q}),B=C.map(function(Z){return Z.gender}).filter(function(Z,q,ue){return ue.indexOf(Z)===q}),I=C.map(function(Z){return Z.required_donator_level}).filter(function(Z,q,ue){return ue.indexOf(Z)===q}).sort(function(Z,q){return Z-q}).map(function(Z){return m[Z]}),w=(0,a.useLocalState)(f,"selectedProviders",d),T=w[0],A=w[1],x=(0,a.useLocalState)(f,"selectedGenders",B.includes(N[V])?[N[V]]:B),E=x[0],P=x[1],D=(0,a.useLocalState)(f,"selectedCategories",b),M=D[0],O=D[1],j=(0,a.useLocalState)(f,"selectedDonatorLevels",I.includes(m[h])?I.slice(0,I.indexOf(m[h])+1):I),F=j[0],U=j[1],_=(0,a.useLocalState)(f,"selectedPhrase",v[0]),z=_[0],H=_[1],$=(0,a.useLocalState)(f,"searchtext",""),Y=$[0],X=$[1],re=S(d,T,A,"name"),ae=S(B,E,P),se=S(b,M,O),pe=S(I,F,U),ye=(0,e.createComponentVNode)(2,t.Dropdown,{options:v,selected:z.replace(/(.{60})..+/,"$1..."),width:"445px",onSelected:function(){function Z(q){return H(q)}return Z}()}),Be=(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",width:"100%",onInput:function(){function Z(q,ue){return X(ue)}return Z}()}),he=C.sort(function(Z,q){var ue=Z.name.toLowerCase(),me=q.name.toLowerCase();return ue>me?1:ue<me?-1:0}).filter(function(Z){return T.some(function(q){return q.name===Z.provider})&&E.includes(Z.gender)&&M.includes(Z.category)&&F.includes(m[Z.required_donator_level])&&Z.name.toLowerCase().includes(Y.toLowerCase())}),oe=he.map(function(Z){return(0,e.createComponentVNode)(2,t.Table.Row,{backgroundColor:g===Z.name?"green":"transparent",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:g===Z.name?"green":"transparent",content:g===Z.name?"\u0412\u044B\u0431\u0440\u0430\u043D\u043E":"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",tooltip:h<Z.required_donator_level&&"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0431\u043E\u043B\u0435\u0435 \u0432\u044B\u0441\u043E\u043A\u0438\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",onClick:function(){function q(){return u("select",{seed:Z.name})}return q}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"music",color:g===Z.name?"green":"transparent",content:"",tooltip:"\u041F\u0440\u043E\u0441\u043B\u0443\u0448\u0430\u0442\u044C \u043F\u0440\u0438\u043C\u0435\u0440",onClick:function(){function q(){return u("listen",{seed:Z.name,phrase:z})}return q}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textColor:Z.required_donator_level>0&&g!==Z.name?"orange":"white",children:Z.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:g===Z.name?.5:.25,textAlign:"left",children:Z.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:g===Z.name?"white":y[Z.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:y[Z.gender].icon})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:"white",textAlign:"right",children:Z.required_donator_level>0&&(0,e.createFragment)([m[Z.required_donator_level],(0,e.createComponentVNode)(2,t.Icon,{ml:1,mr:2,name:"coins"})],0)})]},Z.name)});return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{height:"175px",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",children:re}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:ae}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",children:pe}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:ye}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0438\u0441\u043A",children:Be})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"\u0423\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0451",disabled:M.length===0,onClick:function(){function Z(){return O([])}return Z}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0451",disabled:M.length===b.length,onClick:function(){function Z(){return O(b)}return Z}()})],4),children:se})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0413\u043E\u043B\u043E\u0441\u0430 ("+he.length+"/"+C.length+")",children:(0,e.createComponentVNode)(2,t.Table,{children:oe})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.BlockQuote,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445 \u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0447\u0430\u0441\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430."}),(0,e.createComponentVNode)(2,t.Box,{mt:2,italic:!0,children:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u0443\u0437\u043D\u0430\u0442\u044C \u0432 \u043D\u0430\u0448\u0435\u043C Discord-\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0435."})]})})})],4)}return l}()},97552:function(L,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.TachyonArray=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.records,i=f===void 0?[]:f,u=c.explosion_target,s=c.toxins_tech,d=c.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!i.length||d,align:"center",onClick:function(){function C(){return l("print_logs")}return C}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!i.length,color:"bad",align:"center",onClick:function(){function C(){return l("delete_logs")}return C}()})]})]})}),i.length?(0,e.createComponentVNode)(2,N):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return y}(),N=r.TachyonArrayContent=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.records,i=f===void 0?[]:f;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),i.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.theoretical_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){function s(){return l("delete_record",{index:u.index})}return s}()})})]},u.index)})]})})})})}return y}()},33291:function(L,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.Tank=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c;return l.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,width:"76%",icon:l.connected?"check":"times",content:l.connected?"Internals On":"Internals Off",selected:l.connected,onClick:function(){function f(){return p("internals")}return f}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:325,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:l.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:l.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:l.ReleasePressure===l.minReleasePressure,tooltip:"Min",onClick:function(){function f(){return p("pressure",{pressure:"min"})}return f}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(l.releasePressure),width:"65px",unit:"kPa",minValue:l.minReleasePressure,maxValue:l.maxReleasePressure,onChange:function(){function f(i,u){return p("pressure",{pressure:u})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:l.ReleasePressure===l.maxReleasePressure,tooltip:"Max",onClick:function(){function f(){return p("pressure",{pressure:"max"})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:l.ReleasePressure===l.defaultReleasePressure,tooltip:"Reset",onClick:function(){function f(){return p("pressure",{pressure:"reset"})}return f}()})]}),c]})})})})}return N}()},75480:function(L,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.TankDispenser=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.o_tanks,f=l.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Dispense Oxygen Tank ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function i(){return p("oxygen")}return i}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mt:1,fluid:!0,content:"Dispense Plasma Tank ("+f+")",disabled:f===0,icon:"arrow-circle-down",onClick:function(){function i(){return p("plasma")}return i}()})})]})})})}return N}()},62291:function(L,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.TcommsCore=function(){function p(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.ion,d=(0,a.useLocalState)(c,"tabIndex",0),C=d[0],g=d[1],v=function(){function h(V){switch(V){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,k);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s===1&&(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"wrench",selected:C===0,onClick:function(){function h(){return g(0)}return h}(),children:"Configuration"},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"link",selected:C===1,onClick:function(){function h(){return g(1)}return h}(),children:"Device Linkage"},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"user-times",selected:C===2,onClick:function(){function h(){return g(2)}return h}(),children:"User Filtering"},"FilterPage")]}),v(C)]})})}return p}(),N=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},y=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.active,d=u.sectors_available,C=u.nttc_toggle_jobs,g=u.nttc_toggle_job_color,v=u.nttc_toggle_name_color,h=u.nttc_toggle_command_bold,V=u.nttc_job_indicator_type,b=u.nttc_setting_language,B=u.network_id;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"On":"Off",selected:s,icon:"power-off",onClick:function(){function I(){return i("toggle_active")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:d})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"On":"Off",selected:C,icon:"user-tag",onClick:function(){function I(){return i("nttc_toggle_jobs")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"On":"Off",selected:g,icon:"clipboard-list",onClick:function(){function I(){return i("nttc_toggle_job_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"user-tag",onClick:function(){function I(){return i("nttc_toggle_name_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"On":"Off",selected:h,icon:"volume-up",onClick:function(){function I(){return i("nttc_toggle_command_bold")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:V||"Unset",selected:V,icon:"pencil-alt",onClick:function(){function I(){return i("nttc_job_indicator_type")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:b||"Unset",selected:b,icon:"globe",onClick:function(){function I(){return i("nttc_setting_language")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:B||"Unset",selected:B,icon:"server",onClick:function(){function I(){return i("network_id")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function I(){return i("import")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function I(){return i("export")}return I}()})]})],4)},S=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.link_password,d=u.relay_entries;return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linkage Password",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"lock",onClick:function(){function C(){return i("change_password")}return C}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),d.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.status===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Online"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Offline"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",onClick:function(){function g(){return i("unlink",{addr:C.addr})}return g}()})})]},C.addr)})]})]})},k=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=f.data,s=u.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function d(){return i("add_filter")}return d}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),s.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function C(){return i("remove_filter",{user:d})}return C}()})})]},d)})]})})}},82905:function(L,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.TcommsRelay=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.linked,u=f.active,s=f.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:292,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:u?"On":"Off",selected:u,icon:"power-off",onClick:function(){function d(){return c("toggle_active")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"server",onClick:function(){function d(){return c("network_id")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:i===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),i===1?(0,e.createComponentVNode)(2,N):(0,e.createComponentVNode)(2,y)]})})}return S}(),N=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.linked_core_id,u=f.linked_core_addr,s=f.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"Yes":"No",icon:s?"eye-slash":"eye",selected:s,onClick:function(){function d(){return c("toggle_hidden_link")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function d(){return c("unlink")}return d}()})})]})})},y=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,i=f.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),i.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function s(){return c("link",{addr:u.addr})}return s}()})})]},u.addr)})]})})}},87692:function(L,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.Teleporter=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.targetsTeleport?l.targetsTeleport:{},f=0,i=1,u=2,s=l.calibrated,d=l.calibrating,C=l.powerstation,g=l.regime,v=l.teleporterhub,h=l.target,V=l.locked;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:270,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:[(!C||!v)&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Error",children:[v,!C&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),C&&!v&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),C&&v&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Status",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Teleport target:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[g===f&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:h,options:Object.keys(c),color:h!=="None"?"default":"bad",onSelected:function(){function b(B){return p("settarget",{x:c[B].x,y:c[B].y,z:c[B].z})}return b}()}),g===i&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:h,options:Object.keys(c),color:h!=="None"?"default":"bad",onSelected:function(){function b(B){return p("settarget",{x:c[B].x,y:c[B].y,z:c[B].z})}return b}()}),g===u&&(0,e.createComponentVNode)(2,t.Box,{children:h})]})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Regime:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Gate",tooltip:"Teleport to another teleport hub.",tooltipPosition:"top",color:g===i?"good":null,onClick:function(){function b(){return p("setregime",{regime:i})}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Teleporter",tooltip:"One-way teleport.",tooltipPosition:"top",color:g===f?"good":null,onClick:function(){function b(){return p("setregime",{regime:f})}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"GPS",tooltip:"Teleport to a location stored in a GPS device.",tooltipPosition:"top-end",color:g===u?"good":null,disabled:!V,onClick:function(){function b(){return p("setregime",{regime:u})}return b}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{label:"Calibration",mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Calibration:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[h!=="None"&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:15.8,textAlign:"center",mt:.5,children:d&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||s&&(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Optimal"})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Sub-Optimal"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",tooltipPosition:"bottom-end",disabled:!!(s||d),onClick:function(){function b(){return p("calibrate")}return b}()})})]}),h==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})]}),!!(V&&C&&v&&g===u)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function b(){return p("load")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function b(){return p("eject")}return b}()})]})})]})})})})}return N}()},40759:function(L,r,n){"use strict";r.__esModule=!0,r.TempGun=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=n(84947),N=r.TempGun=function(){function p(l,c){var f=(0,t.useBackend)(c),i=f.act,u=f.data,s=u.target_temperature,d=u.temperature,C=u.max_temp,g=u.min_temp;return(0,e.createComponentVNode)(2,m.Window,{width:250,height:121,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:10,stepPixelSize:6,minValue:g,maxValue:C,value:s,format:function(){function v(h){return(0,a.toFixed)(h,2)}return v}(),width:"50px",onDrag:function(){function v(h,V){return i("target_temperature",{target_temperature:V})}return v}()}),"\xB0C"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Temperature",children:(0,e.createComponentVNode)(2,o.Box,{color:y(d),bold:d>500-273.15,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:(0,a.round)(d,2)}),"\xB0C"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power Cost",children:(0,e.createComponentVNode)(2,o.Box,{color:k(d),children:S(d)})})]})})})})}return p}(),y=function(l){return l<=-100?"blue":l<=0?"teal":l<=100?"green":l<=200?"orange":"red"},S=function(l){return l<=100-273.15?"High":l<=250-273.15?"Medium":l<=300-273.15?"Low":l<=400-273.15?"Medium":"High"},k=function(l){return l<=100-273.15?"red":l<=250-273.15?"orange":l<=300-273.15?"green":l<=400-273.15?"orange":"red"}},32369:function(L,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(28823),a=n(2146),t=n(98658),o=n(91819),m=n(31068),N=n(2971),y=n(84947),S=r.sanitizeMultiline=function(){function c(f){return f.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),k=r.removeAllSkiplines=function(){function c(f){return f.replace(/[\r\n]+/,"")}return c}(),p=r.TextInputModal=function(){function c(f,i){var u=(0,o.useBackend)(i),s=u.act,d=u.data,C=d.max_length,g=d.message,v=g===void 0?"":g,h=d.multiline,V=d.placeholder,b=d.timeout,B=d.title,I=(0,o.useLocalState)(i,"input",V||""),w=I[0],T=I[1],A=function(){function P(D){if(D!==w){var M=h?S(D):k(D);T(M)}}return P}(),x=h||w.length>=40,E=130+(v.length>40?Math.ceil(v.length/4):0)+(x?80:0);return(0,e.createComponentVNode)(2,y.Window,{title:B,width:325,height:E,children:[b&&(0,e.createComponentVNode)(2,a.Loader,{value:b}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function P(D){var M=window.event?D.which:D.keyCode;M===m.KEY_ENTER&&(!x||!D.shiftKey)&&s("submit",{entry:w}),M===m.KEY_ESCAPE&&s("cancel")}return P}(),children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,children:(0,e.createComponentVNode)(2,N.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Box,{color:"label",children:v})}),(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l,{input:w,onType:A})}),(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:w,message:w.length+"/"+C})})]})})})]})}return c}(),l=function(f,i){var u=(0,o.useBackend)(i),s=u.act,d=u.data,C=d.max_length,g=d.multiline,v=f.input,h=f.onType,V=g||v.length>=40;return(0,e.createComponentVNode)(2,N.TextArea,{autoFocus:!0,autoSelect:!0,height:g||v.length>=40?"100%":"1.8rem",maxLength:C,onEscape:function(){function b(){return s("cancel")}return b}(),onEnter:function(){function b(B){V&&B.shiftKey||(B.preventDefault(),s("submit",{entry:v}))}return b}(),onInput:function(){function b(B,I){return h(I)}return b}(),placeholder:"Type something...",value:v})}},82296:function(L,r,n){"use strict";r.__esModule=!0,r.ThermoMachine=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=n(84947),N=r.ThermoMachine=function(){function y(S,k){var p=(0,t.useBackend)(k),l=p.act,c=p.data;return(0,e.createComponentVNode)(2,m.Window,{width:300,height:225,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{title:"Status",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.temperature,format:function(){function f(i){return(0,a.toFixed)(i,2)}return f}()})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pressure",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.pressure,format:function(){function f(i){return(0,a.toFixed)(i,2)}return f}()})," kPa"]})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Controls",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:c.on?"power-off":"times",content:c.on?"On":"Off",selected:c.on,onClick:function(){function f(){return l("power")}return f}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Setting",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:c.cooling?"temperature-low":"temperature-high",content:c.cooling?"Cooling":"Heating",selected:c.cooling,onClick:function(){function f(){return l("cooling")}return f}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"fast-backward",disabled:c.target===c.min,title:"Minimum temperature",onClick:function(){function f(){return l("target",{target:c.min})}return f}()}),(0,e.createComponentVNode)(2,o.NumberInput,{animated:!0,value:Math.round(c.target),unit:"K",width:5.4,lineHeight:1.4,minValue:Math.round(c.min),maxValue:Math.round(c.max),step:5,stepPixelSize:3,onDrag:function(){function f(i,u){return l("target",{target:u})}return f}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"fast-forward",disabled:c.target===c.max,title:"Maximum Temperature",onClick:function(){function f(){return l("target",{target:c.max})}return f}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"sync",disabled:c.target===c.initial,title:"Room Temperature",onClick:function(){function f(){return l("target",{target:c.initial})}return f}()})]})]})})]})})}return y}()},68488:function(L,r,n){"use strict";r.__esModule=!0,r.TransferValve=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.TransferValve=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.tank_one,f=l.tank_two,i=l.attached_device,u=l.valve;return(0,e.createComponentVNode)(2,o.Window,{width:460,height:285,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Valve Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:u?"unlock":"lock",content:u?"Open":"Closed",disabled:!c||!f,onClick:function(){function s(){return p("toggle")}return s}()})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Assembly",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Configure Assembly",disabled:!i,onClick:function(){function s(){return p("device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:i?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:i,disabled:!i,onClick:function(){function s(){return p("remove_device")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Assembly"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment One",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:c?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:c,disabled:!c,onClick:function(){function s(){return p("tankone")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment Two",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:f?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:f,disabled:!f,onClick:function(){function s(){return p("tanktwo")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})})]})})}return N}()},26868:function(L,r,n){"use strict";r.__esModule=!0,r.TurbineComputer=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=n(58331),N=r.TurbineComputer=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,i=c.data,u=i.compressor,s=i.compressor_broken,d=i.turbine,C=i.turbine_broken,g=i.online,v=!!(u&&!s&&d&&!C);return(0,e.createComponentVNode)(2,o.Window,{width:400,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:g?"power-off":"times",content:g?"Online":"Offline",selected:g,disabled:!v,onClick:function(){function h(){return f("toggle_power")}return h}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Disconnect",onClick:function(){function h(){return f("disconnect")}return h}()})],4),children:v?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,y)})})})}return k}(),y=function(p,l){var c=(0,a.useBackend)(l),f=c.data,i=f.compressor,u=f.compressor_broken,s=f.turbine,d=f.turbine_broken,C=f.online;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compressor Status",color:!i||u?"bad":"good",children:u?i?"Offline":"Missing":"Online"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Status",color:!s||d?"bad":"good",children:d?s?"Offline":"Missing":"Online"})]})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.data,i=f.rpm,u=f.temperature,s=f.power,d=f.bearing_heat;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Speed",children:[i," RPM"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Temp",children:[u," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Generated Power",children:[s," W"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bearing Heat",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:d,minValue:0,maxValue:100,ranges:{good:[-1/0,60],average:[60,90],bad:[90,1/0]},children:(0,m.toFixed)(d)+"%"})})]})}},30778:function(L,r,n){"use strict";r.__esModule=!0,r.Uplink=void 0;var e=n(28823),a=n(72026),t=n(90955),o=n(37843),m=n(91819),N=n(2971),y=n(84947),S=n(22677),k=function(g){switch(g){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,d);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}},p=r.Uplink=function(){function C(g,v){var h=(0,m.useBackend)(v),V=h.act,b=h.data,B=b.cart,I=(0,m.useLocalState)(v,"tabIndex",0),w=I[0],T=I[1],A=(0,m.useLocalState)(v,"searchText",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,y.Window,{width:900,height:600,theme:"syndicate",children:[(0,e.createComponentVNode)(2,S.ComplexModal),(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,N.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Tabs,{children:[(0,e.createComponentVNode)(2,N.Tabs.Tab,{selected:w===0,onClick:function(){function P(){T(0),E("")}return P}(),icon:"store",children:"View Market"},"PurchasePage"),(0,e.createComponentVNode)(2,N.Tabs.Tab,{selected:w===1,onClick:function(){function P(){T(1),E("")}return P}(),icon:"shopping-cart",children:["View Shopping Cart"," ",B&&B.length?"("+B.length+")":""]},"Cart"),(0,e.createComponentVNode)(2,N.Tabs.Tab,{selected:w===2,onClick:function(){function P(){T(2),E("")}return P}(),icon:"user",children:"Exploitable Information"},"ExploitableInfo"),(0,e.createComponentVNode)(2,N.Tabs.Tab,{onClick:function(){function P(){return V("lock")}return P}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:k(w)})]})})]})}return C}(),l=function(g,v){var h=(0,m.useBackend)(v),V=h.act,b=h.data,B=b.crystals,I=b.cats,w=(0,m.useLocalState)(v,"uplinkItems",I[0].items),T=w[0],A=w[1],x=(0,m.useLocalState)(v,"searchText",""),E=x[0],P=x[1],D=function(_,z){z===void 0&&(z="");var H=(0,o.createSearch)(z,function($){var Y=$.hijack_only===1?"|hijack":"";return $.name+"|"+$.desc+"|"+$.cost+"tc"+Y});return(0,t.flow)([(0,a.filter)(function($){return $==null?void 0:$.name}),z&&(0,a.filter)(H),(0,a.sortBy)(function($){return $==null?void 0:$.name})])(_)},M=function(_){if(P(_),_==="")return A(I[0].items);A(D(I.map(function(z){return z.items}).flat(),_))},O=(0,m.useLocalState)(v,"showDesc",1),j=O[0],F=O[1];return(0,e.createComponentVNode)(2,N.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,N.Button.Checkbox,{content:"Show Descriptions",checked:j,onClick:function(){function U(){return F(!j)}return U}()}),(0,e.createComponentVNode)(2,N.Button,{content:"Random Item",icon:"question",onClick:function(){function U(){return V("buyRandom")}return U}()}),(0,e.createComponentVNode)(2,N.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function U(){return V("refund")}return U}()})],4),children:(0,e.createComponentVNode)(2,N.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function U(_,z){M(z)}return U}(),value:E})})})}),(0,e.createComponentVNode)(2,N.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,N.Tabs,{vertical:!0,children:I.map(function(U){return(0,e.createComponentVNode)(2,N.Tabs.Tab,{selected:E!==""?!1:U.items===T,onClick:function(){function _(){A(U.items),P("")}return _}(),children:U.cat},U)})})})}),(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,N.Stack,{vertical:!0,children:T.map(function(U){return(0,e.createComponentVNode)(2,N.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,i,{i:U,showDecription:j},(0,o.decodeHtmlEntities)(U.name))},(0,o.decodeHtmlEntities)(U.name))})})})})]})]})},c=function(g,v){var h=(0,m.useBackend)(v),V=h.act,b=h.data,B=b.cart,I=b.crystals,w=b.cart_price,T=(0,m.useLocalState)(v,"showDesc",0),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,N.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+I+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,N.Button.Checkbox,{content:"Show Descriptions",checked:A,onClick:function(){function E(){return x(!A)}return E}()}),(0,e.createComponentVNode)(2,N.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function E(){return V("empty_cart")}return E}(),disabled:!B}),(0,e.createComponentVNode)(2,N.Button,{content:"Purchase Cart ("+w+"TC)",icon:"shopping-cart",onClick:function(){function E(){return V("purchase_cart")}return E}(),disabled:!B||w>I})],4),children:(0,e.createComponentVNode)(2,N.Stack,{vertical:!0,children:B?B.map(function(E){return(0,e.createComponentVNode)(2,N.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,i,{i:E,showDecription:A,buttons:(0,e.createComponentVNode)(2,s,{i:E})})},(0,o.decodeHtmlEntities)(E.name))}):(0,e.createComponentVNode)(2,N.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,f)]})},f=function(g,v){var h=(0,m.useBackend)(v),V=h.act,b=h.data,B=b.cats,I=b.lucky_numbers;return(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,N.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function w(){return V("shuffle_lucky_numbers")}return w}()}),children:(0,e.createComponentVNode)(2,N.Stack,{wrap:!0,children:I.map(function(w){return B[w.cat].items[w.item]}).filter(function(w){return w!=null}).map(function(w,T){return(0,e.createComponentVNode)(2,N.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,i,{grow:!0,i:w})},T)})})})})},i=function(g,v){var h=g.i,V=g.showDecription,b=V===void 0?1:V,B=g.buttons,I=B===void 0?(0,e.createComponentVNode)(2,u,{i:h}):B;return(0,e.createComponentVNode)(2,N.Section,{title:(0,o.decodeHtmlEntities)(h.name),showBottom:b,buttons:I,children:b?(0,e.createComponentVNode)(2,N.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(h.desc)}):null})},u=function(g,v){var h=(0,m.useBackend)(v),V=h.act,b=h.data,B=g.i,I=b.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,N.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function w(){return V("add_to_cart",{item:B.obj_path})}return w}(),disabled:B.cost>I}),(0,e.createComponentVNode)(2,N.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function w(){return V("buyItem",{item:B.obj_path})}return w}(),disabled:B.cost>I})],4)},s=function(g,v){var h=(0,m.useBackend)(v),V=h.act,b=h.data,B=g.i,I=b.exploitable;return(0,e.createComponentVNode)(2,N.Stack,{children:[(0,e.createComponentVNode)(2,N.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function w(){return V("remove_from_cart",{item:B.obj_path})}return w}()}),(0,e.createComponentVNode)(2,N.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function w(){return V("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return w}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,N.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function w(T,A){return V("set_cart_item_quantity",{item:B.obj_path,quantity:A})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,N.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function w(){return V("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},d=function(g,v){var h=(0,m.useBackend)(v),V=h.act,b=h.data,B=b.exploitable,I=(0,m.useLocalState)(v,"selectedRecord",B[0]),w=I[0],T=I[1],A=(0,m.useLocalState)(v,"searchText",""),x=A[0],E=A[1],P=function(O,j){j===void 0&&(j="");var F=(0,o.createSearch)(j,function(U){return U.name});return(0,t.flow)([(0,a.filter)(function(U){return U==null?void 0:U.name}),j&&(0,a.filter)(F),(0,a.sortBy)(function(U){return U.name})])(O)},D=P(B,x);return(0,e.createComponentVNode)(2,N.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,title:"Exploitable Records",children:[(0,e.createComponentVNode)(2,N.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function M(O,j){return E(j)}return M}()}),(0,e.createComponentVNode)(2,N.Tabs,{vertical:!0,children:D.map(function(M){return(0,e.createComponentVNode)(2,N.Tabs.Tab,{selected:M===w,onClick:function(){function O(){return T(M)}return O}(),children:M.name},M)})})]})}),(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,title:w.name,children:(0,e.createComponentVNode)(2,N.LabeledList,{children:[(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Age",children:w.age}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Fingerprint",children:w.fingerprint}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Rank",children:w.rank}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Sex",children:w.sex}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Species",children:w.species})]})})})]})}},7307:function(L,r,n){"use strict";r.__esModule=!0,r.Vending=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=S.product,i=S.productStock,u=S.productImage,s=c.chargesMoney,d=c.user,C=c.usermoney,g=c.inserted_cash,v=c.vend_ready,h=c.inserted_item_name,V=!s||f.price===0,b="ERROR!",B="";V?(b="FREE",B="arrow-circle-down"):(b=f.price,B="shopping-cart");var I=!v||i===0||!V&&f.price>C&&f.price>g;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+u,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:f.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Box,{color:i<=0&&"bad"||i<=f.max_amount/2&&"average"||"good",children:[i," in stock"]})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,disabled:I,icon:B,content:b,textAlign:"left",onClick:function(){function w(){return l("vend",{inum:f.inum})}return w}()})})]})},N=r.Vending=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.user,i=c.usermoney,u=c.inserted_cash,s=c.chargesMoney,d=c.product_records,C=d===void 0?[]:d,g=c.hidden_records,v=g===void 0?[]:g,h=c.stock,V=c.vend_ready,b=c.inserted_item_name,B=c.panel_open,I=c.speaker,w=c.imagelist,T;return T=[].concat(C),c.extended_inventory&&(T=[].concat(T,v)),T=T.filter(function(A){return!!A}),(0,e.createComponentVNode)(2,o.Window,{title:"Vending Machine",width:450,height:Math.min((s?171:89)+T.length*32,585),children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!s&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!b&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:(0,e.createVNode)(1,"span",null,b,0,{style:{"text-transform":"capitalize"}}),onClick:function(){function A(){return l("eject_item",{})}return A}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{disabled:!u,icon:"money-bill-wave-alt",content:u?(0,e.createFragment)([(0,e.createVNode)(1,"b",null,u,0),(0,e.createTextVNode)(" credits")],0):"Dispense Change",tooltip:u?"Dispense Change":null,textAlign:"left",onClick:function(){function A(){return l("change")}return A}()})})]}),children:f&&(0,e.createComponentVNode)(2,t.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,f.name,0),","," ",(0,e.createVNode)(1,"b",null,f.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[i,(0,e.createTextVNode)(" credits")],0),".",(0,e.createVNode)(1,"br")]})})}),!!B&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"check":"volume-mute",selected:I,content:"Speaker",textAlign:"left",onClick:function(){function A(){return l("toggle_voice",{})}return A}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:(0,e.createComponentVNode)(2,t.Table,{children:T.map(function(A){return(0,e.createComponentVNode)(2,m,{product:A,productStock:h[A.name],productImage:w[A.path]},A.name)})})})})]})})})}return y}()},25485:function(L,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.VolumeMixer=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(f,i){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:i>0&&"0.5rem",children:f.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function u(){return p("volume",{channel:f.num,volume:0})}return u}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.Slider,{minValue:0,maxValue:100,stepPixelSize:3.13,value:f.volume,onChange:function(){function u(s,d){return p("volume",{channel:f.num,volume:d})}return u}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function u(){return p("volume",{channel:f.num,volume:100})}return u}()})})})]})})],4,f.num)})})})})}return N}()},26564:function(L,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.VotePanel=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.remaining,f=l.question,i=l.choices,u=l.user_vote,s=l.counts,d=l.show_counts;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:360,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:f,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1.5,ml:.5,children:["Time remaining: ",Math.round(c/10),"s"]}),i.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mb:1,fluid:!0,lineHeight:3,color:"translucent",multiLine:C,content:C+(d?" ("+(s[C]||0)+")":""),onClick:function(){function g(){return p("vote",{target:C})}return g}(),selected:C===u})},C)})]})})})}return N}()},496:function(L,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.Wires=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.wires||[],f=l.status||[],i=56+c.length*23+(status?0:15+f.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:i,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(u){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:u.color_name,labelColor:u.seen_color,color:u.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:u.cut?"Mend":"Cut",onClick:function(){function s(){return p("cut",{wire:u.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function s(){return p("pulse",{wire:u.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:u.attached?"Detach":"Attach",onClick:function(){function s(){return p("attach",{wire:u.color})}return s}()})],4),children:!!u.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),u.wire,(0,e.createTextVNode)(")")],0)},u.seen_color)})})})}),!!f.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:f.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:u},u)})})})]})})})}return N}()},28919:function(L,r,n){"use strict";r.__esModule=!0,r.WizardApprenticeContract=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(84947),m=r.WizardApprenticeContract=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.used;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:555,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Contract of Apprenticeship",children:["Using this contract, you may summon an apprentice to aid you on your mission.",(0,e.createVNode)(1,"p",null,"If you are unable to establish contact with your apprentice, you can feed the contract back to the spellbook to refund your points.",16),c?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"You've already summoned an apprentice or you are in process of summoning one."}):""]}),(0,e.createComponentVNode)(2,t.Section,{title:"Which school of magic is your apprentice studying?",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fire",children:["Your apprentice is skilled in bending fire. ",(0,e.createVNode)(1,"br"),"They know Fireball, Sacred Flame, and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return p("fire")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Translocation",children:["Your apprentice is able to defy physics, learning how to move through bluespace. ",(0,e.createVNode)(1,"br"),"They know Teleport, Blink and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return p("translocation")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Restoration",children:["Your apprentice is dedicated to supporting your magical prowess.",(0,e.createVNode)(1,"br"),"They come equipped with a Staff of Healing, have the unique ability to teleport back to you, and know Charge and Knock.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return p("restoration")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stealth",children:["Your apprentice is learning the art of infiltrating mundane facilities. ",(0,e.createVNode)(1,"br"),"They know Mindswap, Knock, Homing Toolbox, and Disguise Self, all of which can be cast without robes. They also join you in a Maintenance Dweller disguise, complete with Gloves of Shock Immunity and a Belt of Tools.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return p("stealth")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Honk",children:["Your apprentice is here to spread the Honkmother's blessings.",(0,e.createVNode)(1,"br"),"They know Banana Touch, Instant Summons, Ethereal Jaunt, and come equipped with a Staff of Slipping. ",(0,e.createVNode)(1,"br"),"While under your tutelage, they have been 'blessed' with clown shoes that are impossible to remove.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return p("honk")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})})]})})}return N}()},14635:function(L,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(28823),a=n(72026),t=n(91819),o=n(2971);function m(p,l){var c=typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(c)return(c=c.call(p)).next.bind(c);if(Array.isArray(p)||(c=N(p))||l&&p&&typeof p.length=="number"){c&&(p=c);var f=0;return function(){return f>=p.length?{done:!0}:{done:!1,value:p[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N(p,l){if(p){if(typeof p=="string")return y(p,l);var c=Object.prototype.toString.call(p).slice(8,-1);if(c==="Object"&&p.constructor&&(c=p.constructor.name),c==="Map"||c==="Set")return Array.from(p);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return y(p,l)}}function y(p,l){(l==null||l>p.length)&&(l=p.length);for(var c=0,f=new Array(l);c<l;c++)f[c]=p[c];return f}var S={0:{icon:"times-circle",color:"bad"},1:{icon:"stop-circle",color:null},2:{icon:"check-circle",color:"good"}},k=r.AccessList=function(){function p(l,c){var f,i=l.sectionButtons,u=i===void 0?null:i,s=l.usedByRcd,d=l.rcdButtons,C=l.accesses,g=C===void 0?[]:C,v=l.selectedList,h=v===void 0?[]:v,V=l.grantableList,b=V===void 0?[]:V,B=l.accessMod,I=l.grantAll,w=l.denyAll,T=l.grantDep,A=l.denyDep,x=(0,t.useLocalState)(c,"accessName",(f=g[0])==null?void 0:f.name),E=x[0],P=x[1],D=g.find(function(j){return j.name===E}),M=(0,a.sortBy)(function(j){return j.desc})((D==null?void 0:D.accesses)||[]),O=function(){function j(F){for(var U=!1,_=!1,z=m(F),H;!(H=z()).done;){var $=H.value;h.includes($.ref)?U=!0:_=!0}return!U&&_?0:U&&_?1:2}return j}();return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Access",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"check-double",content:"Select All",color:"good",onClick:function(){function j(){return I()}return j}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"undo",content:"Deselect All",color:"bad",onClick:function(){function j(){return w()}return j}()}),u],0),children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,o.Tabs,{vertical:!0,children:g.map(function(j){var F=j.accesses||[],U=S[O(F)].icon,_=S[O(F)].color;return(0,e.createComponentVNode)(2,o.Tabs.Tab,{altSelection:!0,color:_,icon:U,selected:j.name===E,onClick:function(){function z(){return P(j.name)}return z}(),children:j.name},j.name)})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Divider,{vertical:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"80%",children:[(0,e.createComponentVNode)(2,o.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"check",content:"Select All In Region",color:"good",onClick:function(){function j(){return T(D.regid)}return j}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"times",content:"Deselect All In Region",color:"bad",onClick:function(){function j(){return A(D.regid)}return j}()})})]}),!!s&&(0,e.createComponentVNode)(2,o.Box,{my:1.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Require",children:d})})}),M.map(function(j){return(0,e.createComponentVNode)(2,o.Button.Checkbox,{fluid:!0,content:j.desc,disabled:b.length>0&&!b.includes(j.ref)&&!h.includes(j.ref),checked:h.includes(j.ref),onClick:function(){function F(){return B(j.ref)}return F}()},j.desc)})]})]})})}return p}()},29136:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(28823),a=n(72026),t=n(91819),o=n(2971),m=function(S,k,p,l,c){return S<k?"bad":S<p||S>l?"average":S>c?"bad":"good"},N=r.AtmosScan=function(){function y(S,k){var p=S.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(l){return l.val!=="0"||l.entry==="Pressure"||l.entry==="Temperature"})(p).map(function(l){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:l.entry,color:m(l.val,l.bad_low,l.poor_low,l.poor_high,l.bad_high),children:[l.val,l.units]},l.entry)})})})}return y}()},83326:function(L,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(28823),a=n(2971),t=n(64635),o=function(y){return y+" unit"+(y===1?"":"s")},m=r.BeakerContents=function(){function N(y){var S=y.beakerLoaded,k=y.beakerContents,p=k===void 0?[]:k,l=y.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!S&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"No beaker loaded."})||p.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),p.map(function(c,f){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!l&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:l(c,f)})]},c.name)})]})}return N}();m.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},86041:function(L,r,n){"use strict";r.__esModule=!0,r.BotStatus=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.BotStatus=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.locked,c=p.noaccess,f=p.maintpanel,i=p.on,u=p.autopatrol,s=p.canhack,d=p.emagged,C=p.remote_disabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",l?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:i?"power-off":"times",content:i?"On":"Off",selected:i,disabled:c,onClick:function(){function g(){return k("power")}return g}()})}),u!==null&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Patrol",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:u,content:"Auto Patrol",disabled:c,onClick:function(){function g(){return k("autopatrol")}return g}()})}),!!f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:d?"bad":"good",children:d?"DISABLED!":"Enabled"})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:d?"Restore Safties":"Hack",disabled:c,color:"bad",onClick:function(){function g(){return k("hack")}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Access",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!C,content:"AI Remote Control",disabled:c,onClick:function(){function g(){return k("disableremote")}return g}()})})]})})],4)}return m}()},22677:function(L,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(28823),a=n(91819),t=n(2971),o={},m=r.modalOpen=function(){function p(l,c,f){var i=(0,a.useBackend)(l),u=i.act,s=i.data,d=Object.assign(s.modal?s.modal.args:{},f||{});u("modal_open",{id:c,arguments:JSON.stringify(d)})}return p}(),N=r.modalRegisterBodyOverride=function(){function p(l,c){o[l]=c}return p}(),y=r.modalAnswer=function(){function p(l,c,f,i){var u=(0,a.useBackend)(l),s=u.act,d=u.data;if(d.modal){var C=Object.assign(d.modal.args||{},i||{});s("modal_answer",{id:c,answer:f,arguments:JSON.stringify(C)})}}return p}(),S=r.modalClose=function(){function p(l,c){var f=(0,a.useBackend)(l),i=f.act;i("modal_close",{id:c})}return p}(),k=r.ComplexModal=function(){function p(l,c){var f=(0,a.useBackend)(c),i=f.data;if(i.modal){var u=i.modal,s=u.id,d=u.text,C=u.type,g,v=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function w(){return S(c)}return w}()}),h,V,b="auto";if(o[s])h=o[s](i.modal,c);else if(C==="input"){var B=i.modal.value;g=function(){function w(T){return y(c,s,B)}return w}(),h=(0,e.createComponentVNode)(2,t.Input,{value:i.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function w(T,A){B=A}return w}()}),V=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function w(){return S(c)}return w}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function w(){return y(c,s,B)}return w}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(C==="choice"){var I=typeof i.modal.choices=="object"?Object.values(i.modal.choices):i.modal.choices;h=(0,e.createComponentVNode)(2,t.Dropdown,{options:I,selected:i.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function w(T){return y(c,s,T)}return w}()}),b="initial"}else C==="bento"?h=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:i.modal.choices.map(function(w,T){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:T+1===parseInt(i.modal.value,10),onClick:function(){function A(){return y(c,s,T+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:w})})},T)})}):C==="boolean"&&(V=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:i.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function w(){return y(c,s,0)}return w}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:i.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function w(){return y(c,s,1)}return w}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:l.maxWidth||window.innerWidth/2+"px",maxHeight:l.maxHeight||window.innerHeight/2+"px",onEnter:g,mx:"auto",overflowY:b,"padding-bottom":"5px",children:[d&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:d}),o[s]&&v,h,V]})}}return p}()},692:function(L,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(37843),m=n(30381),N=m.COLORS.department,y=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],S=function(f){return y.indexOf(f)!==-1?"green":"orange"},k=function(f){if(y.indexOf(f)!==-1)return!0},p=function(f){return f.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),f.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{color:S(i.rank),bold:k(i.rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(i.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(i.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.active})]},i.name+i.rank)})]})},l=r.CrewManifest=function(){function c(f,i){var u=(0,a.useBackend)(i),s=u.act,d;if(f.data)d=f.data;else{var C=(0,a.useBackend)(i),g=C.data;d=g}var v=d,h=v.manifest,V=h.heads,b=h.sec,B=h.eng,I=h.med,w=h.sci,T=h.ser,A=h.sup,x=h.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:p(V)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:p(b)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:p(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:p(I)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:p(w)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:p(T)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:p(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:p(x)})]})}return c}()},98658:function(L,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(28823),a=n(2971),t=n(91819),o=r.InputButtons=function(){function m(N,y){var S=(0,t.useBackend)(y),k=S.act,p=S.data,l=p.large_buttons,c=p.swapped_buttons,f=N.input,i=N.message,u=N.disabled,s=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!l,fluid:!!l,onClick:function(){function C(){return k("submit",{entry:f})}return C}(),textAlign:"center",tooltip:l&&i,disabled:u,width:!l&&6}),d=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!l,fluid:!!l,onClick:function(){function C(){return k("cancel")}return C}(),textAlign:"center",width:!l&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[l?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:d}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:d}),!l&&i&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:i})}),l?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:s}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:s})]})}return m}()},29723:function(L,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.InterfaceLockNoticeBox=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=N.siliconUser,c=l===void 0?p.siliconUser:l,f=N.locked,i=f===void 0?p.locked:f,u=N.normallyLocked,s=u===void 0?p.normallyLocked:u,d=N.onLockStatusChange,C=d===void 0?function(){return k("lock")}:d,g=N.accessText,v=g===void 0?"an ID card":g;return c?(0,e.createComponentVNode)(2,t.NoticeBox,{color:c&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:s?"red":"green",icon:s?"lock":"unlock",content:s?"Locked":"Unlocked",onClick:function(){function h(){C&&C(!i)}return h}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",v," to ",i?"unlock":"lock"," this interface."]})}return m}()},2146:function(L,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(28823),a=n(58331),t=n(2971),o=r.Loader=function(){function m(N){var y=N.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(y)*100+"%"}}),2)}return m}()},51185:function(L,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.LoginInfo=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.loginState;if(p)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",l.name," (",l.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!l.id,content:"Eject ID",color:"good",onClick:function(){function c(){return k("login_eject")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return k("login_logout")}return c}()})]})]})})}return m}()},69774:function(L,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.LoginScreen=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.loginState,c=p.isAI,f=p.isRobot,i=p.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:l.id?l.id:"----------",ml:"0.5rem",onClick:function(){function u(){return k("login_insert")}return u}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!l.id,content:"Login",onClick:function(){function u(){return k("login_login",{login_type:1})}return u}()}),!!c&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function u(){return k("login_login",{login_type:2})}return u}()}),!!f&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function u(){return k("login_login",{login_type:3})}return u}()}),!!i&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function u(){return k("login_login",{login_type:4})}return u}()})]})})})}return m}()},48154:function(L,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(28823),a=n(2971),t=n(64635),o=r.Operating=function(){function m(N){var y=N.operating,S=N.name;if(y)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",S," is processing..."]})})})}return m}();o.propTypes={operating:t.bool,name:t.string}},92149:function(L,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=r.Signaler=function(){function N(y,S){var k=(0,t.useBackend)(S),p=k.act,l=y.data,c=l.code,f=l.frequency,i=l.minFrequency,u=l.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:i/10,maxValue:u/10,value:f/10,format:function(){function s(d){return(0,a.toFixed)(d,1)}return s}(),width:"80px",onDrag:function(){function s(d,C){return p("freq",{freq:C})}return s}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:c,width:"80px",onDrag:function(){function s(d,C){return p("code",{code:C})}return s}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function s(){return p("signal")}return s}()})]})}return N}()},79969:function(L,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(28823),a=n(91819),t=n(37843),o=n(90955),m=n(72026),N=n(2971),y=r.SimpleRecords=function(){function p(l,c){var f=l.data.records;return(0,e.createComponentVNode)(2,N.Box,{children:f?(0,e.createComponentVNode)(2,k,{data:l.data,recordType:l.recordType}):(0,e.createComponentVNode)(2,S,{data:l.data})})}return p}(),S=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=l.data.recordsList,s=(0,a.useLocalState)(c,"searchText",""),d=s[0],C=s[1],g=function(V,b){b===void 0&&(b="");var B=(0,t.createSearch)(b,function(I){return I.Name});return(0,o.flow)([(0,m.filter)(function(I){return I==null?void 0:I.Name}),b&&(0,m.filter)(B),(0,m.sortBy)(function(I){return I.Name})])(u)},v=g(u,d);return(0,e.createComponentVNode)(2,N.Box,{children:[(0,e.createComponentVNode)(2,N.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function h(V,b){return C(b)}return h}()}),v.map(function(h){return(0,e.createComponentVNode)(2,N.Box,{children:(0,e.createComponentVNode)(2,N.Button,{mb:.5,content:h.Name,icon:"user",onClick:function(){function V(){return i("Records",{target:h.uid})}return V}()})},h)})]})},k=function(l,c){var f=(0,a.useBackend)(c),i=f.act,u=l.data.records,s=u.general,d=u.medical,C=u.security,g;switch(l.recordType){case"MED":g=(0,e.createComponentVNode)(2,N.Section,{level:2,title:"Medical Data",children:d?(0,e.createComponentVNode)(2,N.LabeledList,{children:[(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Blood Type",children:d.blood_type}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Minor Disabilities",children:d.mi_dis}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Details",children:d.mi_dis_d}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Major Disabilities",children:d.ma_dis}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Details",children:d.ma_dis_d}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Allergies",children:d.alg}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Details",children:d.alg_d}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Current Diseases",children:d.cdi}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Details",children:d.cdi_d}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Important Notes",children:d.notes})]}):(0,e.createComponentVNode)(2,N.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":g=(0,e.createComponentVNode)(2,N.Section,{level:2,title:"Security Data",children:C?(0,e.createComponentVNode)(2,N.LabeledList,{children:[(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Criminal Status",children:C.criminal}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Minor Crimes",children:C.mi_crim}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Details",children:C.mi_crim_d}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Major Crimes",children:C.ma_crim}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Details",children:C.ma_crim_d}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Important Notes",children:C.notes})]}):(0,e.createComponentVNode)(2,N.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,N.Box,{children:[(0,e.createComponentVNode)(2,N.Section,{title:"General Data",children:s?(0,e.createComponentVNode)(2,N.LabeledList,{children:[(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Name",children:s.name}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Sex",children:s.sex}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Species",children:s.species}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Age",children:s.age}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Rank",children:s.rank}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]}):(0,e.createComponentVNode)(2,N.Box,{color:"red",bold:!0,children:"General record lost!"})}),g]})}},76519:function(L,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.TemporaryNotice=function(){function m(N,y){var S,k=(0,a.useBackend)(y),p=k.act,l=k.data,c=l.temp;if(c){var f=(S={},S[c.style]=!0,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},f,{children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:c.text}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",onClick:function(){function i(){return p("cleartemp")}return i}()})})]})})))}}return m}()},98638:function(L,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(28823),a=n(91819),t=n(29136),o=r.pai_atmosphere=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:p.app_data})}return m}()},56601:function(L,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.pai_bioscan=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.app_data,c=l.holder,f=l.dead,i=l.health,u=l.brute,s=l.oxy,d=l.tox,C=l.burn,g=l.temp;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:i/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:d})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:C})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:u})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return m}()},48047:function(L,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.pai_directives=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.app_data,c=l.master,f=l.dna,i=l.prime,u=l.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+f+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function s(){return k("getdna")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:u||"None"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:'Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.'}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:"Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability."})]})}return m}()},4646:function(L,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.pai_doorjack=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.app_data,c=l.cable,f=l.machine,i=l.inprogress,u=l.progress,s=l.aborted,d;f?d=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):d=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function g(){return k("cable")}return g}()});var C;return f&&(C=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[67,1/0],average:[33,67],bad:[-1/0,33]},value:u,maxValue:100}),i?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function g(){return k("cancel")}return g}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function g(){return k("jack")}return g}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:d}),C]})}return m}()},94648:function(L,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.pai_main_menu=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.app_data,c=l.available_software,f=l.installed_software,i=l.installed_toggles,u=l.available_ram,s=l.emotions,d=l.current_emotion,C=l.speech_verbs,g=l.current_speech_verb,v=l.available_chassises,h=l.current_chassis,V=[];return f.map(function(b){return V[b.key]=b.name}),i.map(function(b){return V[b.key]=b.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(b){return!V[b.key]}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name+" ("+b.cost+")",icon:b.icon,disabled:b.cost>u,onClick:function(){function B(){return k("purchaseSoftware",{key:b.key})}return B}()},b.key)}),c.filter(function(b){return!V[b.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[f.filter(function(b){return b.key!=="mainmenu"}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,onClick:function(){function B(){return k("startSoftware",{software_key:b.key})}return B}()},b.key)}),f.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[i.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,selected:b.active,onClick:function(){function B(){return k("setToggle",{toggle_key:b.key})}return B}()},b.key)}),i.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:s.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.id===d,onClick:function(){function B(){return k("setEmotion",{emotion:b.id})}return B}()},b.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Speaking State",children:C.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.name===g,onClick:function(){function B(){return k("setSpeechStyle",{speech_state:b.name})}return B}()},b.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Chassis Type",children:v.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.icon===h,onClick:function(){function B(){return k("setChassis",{chassis_to_change:b.icon})}return B}()},b.id)})})]})})}return m}()},45549:function(L,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(28823),a=n(91819),t=n(692),o=r.pai_manifest=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:p.app_data})}return m}()},53434:function(L,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(28823),a=n(91819),t=n(79969),o=r.pai_medrecords=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k.app_data,recordType:"MED"})}return m}()},7328:function(L,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(28823),a=n(91819),t=n(38467),o=r.pai_messenger=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.app_data.active_convo;return l?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:p.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:p.app_data})}return m}()},32036:function(L,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(28823),a=n(91819),t=n(58331),o=n(2971),m=r.pai_radio=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.app_data,f=c.minFrequency,i=c.maxFrequency,u=c.frequency,s=c.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:f/10,maxValue:i/10,value:u/10,format:function(){function d(C){return(0,t.toFixed)(C,1)}return d}(),onChange:function(){function d(C,g){return p("freq",{freq:g})}return d}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function d(){return p("freq",{freq:"145.9"})}return d}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function d(){return p("toggleBroadcast")}return d}(),selected:s,content:s?"Enabled":"Disabled"})})]})}return N}()},76020:function(L,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(28823),a=n(91819),t=n(79969),o=r.pai_secrecords=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k.app_data,recordType:"SEC"})}return m}()},11562:function(L,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(28823),a=n(91819),t=n(92149),o=r.pai_signaler=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p.app_data})}return m}()},29539:function(L,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(28823),a=n(91819),t=n(29136),o=r.pda_atmos_scan=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:k})}return m}()},92180:function(L,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.pda_janitor=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.janitor,c=l.user_loc,f=l.mops,i=l.buckets,u=l.cleanbots,s=l.carts,d=l.janicarts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:f.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - ",C.status]},C)})}),i&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:i.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - [",C.volume,"/",C.max_volume,"]"]},C)})}),u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:u.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - ",C.status]},C)})}),s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:s.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - [",C.volume,"/",C.max_volume,"]"]},C)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janicart Locations",children:d.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.direction_from_user,")"]},C)})})]})}return m}()},57725:function(L,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(28823),a=n(58331),t=n(91819),o=n(2971),m=r.pda_main_menu=function(){function N(y,S){var k=(0,t.useBackend)(S),p=k.act,l=k.data,c=l.owner,f=l.ownjob,i=l.idInserted,u=l.categories,s=l.pai,d=l.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",f]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!i,onClick:function(){function C(){return p("UpdateInfo")}return C}()})})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Functions",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:u.map(function(C){var g=l.apps[C];return!g||!g.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:C,children:g.map(function(v){return(0,e.createComponentVNode)(2,o.Button,{icon:v.uid in d?v.notify_icon:v.icon,iconSpin:v.uid in d,color:v.uid in d?"red":"transparent",content:v.name,onClick:function(){function h(){return p("StartProgram",{program:v.uid})}return h}()},v.uid)})},C)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!s&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function C(){return p("pai",{option:1})}return C}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function C(){return p("pai",{option:2})}return C}()})]})})]})}return N}()},29978:function(L,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(28823),a=n(91819),t=n(692),o=r.pda_manifest=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return m}()},20567:function(L,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(28823),a=n(91819),t=n(79969),o=r.pda_medical=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k,recordType:"MED"})}return m}()},38467:function(L,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(28823),a=n(72026),t=n(91819),o=n(2971),m=r.pda_messenger=function(){function k(p,l){var c=(0,t.useBackend)(l),f=c.act,i=c.data,u=i.active_convo;return u?(0,e.createComponentVNode)(2,N,{data:i}):(0,e.createComponentVNode)(2,y,{data:i})}return k}(),N=r.ActiveConversation=function(){function k(p,l){var c=(0,t.useBackend)(l),f=c.act,i=p.data,u=i.convo_name,s=i.convo_job,d=i.messages,C=i.active_convo,g=(0,t.useLocalState)(l,"clipboardMode",!1),v=g[0],h=g[1],V=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+u+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:v,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function b(){return h(!v)}return b}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function b(){return f("Message",{target:C})}return b}(),content:"Reply"})],4),children:(0,a.filter)(function(b){return b.target===C})(d).map(function(b,B){return(0,e.createComponentVNode)(2,o.Box,{textAlign:b.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:b.sent?"#4d9121":"#cd7a0d",position:"absolute",left:b.sent?null:"0px",right:b.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:b.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:b.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:b.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[b.sent?"You:":"Them:"," ",b.message]})]},B)})});return v&&(V=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+u+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:v,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function b(){return h(!v)}return b}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function b(){return f("Message",{target:C})}return b}(),content:"Reply"})],4),children:(0,a.filter)(function(b){return b.target===C})(d).map(function(b,B){return(0,e.createComponentVNode)(2,o.Box,{color:b.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[b.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:b.message})]},B)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function b(){return f("Clear",{option:"Convo"})}return b}()})})})}),V]})}return k}(),y=r.MessengerList=function(){function k(p,l){var c=(0,t.useBackend)(l),f=c.act,i=p.data,u=i.convopdas,s=i.pdas,d=i.charges,C=i.silent,g=i.toff,v=i.ringtone_list,h=i.ringtone,V=(0,t.useLocalState)(l,"searchTerm",""),b=V[0],B=V[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!C,icon:C?"volume-mute":"volume-up",onClick:function(){function I(){return f("Toggle Ringer")}return I}(),children:["Ringer: ",C?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:g?"bad":"green",icon:"power-off",onClick:function(){function I(){return f("Toggle Messenger")}return I}(),children:["Messenger: ",g?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function I(){return f("Clear",{option:"All"})}return I}(),children:"Delete All Conversations"}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function I(){return f("Ringtone")}return I}(),children:"Set Custom Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:h,width:"100px",options:Object.keys(v),onSelected:function(){function I(w){return f("Available_Ringtones",{selected_ringtone:w})}return I}()})})]})}),!g&&(0,e.createComponentVNode)(2,o.Box,{children:[!!d&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[d," charges left."]})})}),!u.length&&!s.length&&(0,e.createComponentVNode)(2,o.Box,{children:"No current conversations"})||(0,e.createComponentVNode)(2,o.Box,{children:["Search:"," ",(0,e.createComponentVNode)(2,o.Input,{mt:.5,value:b,onInput:function(){function I(w,T){B(T)}return I}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,S,{title:"Current Conversations",data:i,pdas:u,msgAct:"Select Conversation",searchTerm:b}),(0,e.createComponentVNode)(2,S,{title:"Other PDAs",pdas:s,msgAct:"Message",data:i,searchTerm:b})]})}return k}(),S=function(p,l){var c=(0,t.useBackend)(l),f=c.act,i=p.data,u=p.pdas,s=p.title,d=p.msgAct,C=p.searchTerm,g=i.charges,v=i.plugins;return!u||!u.length?(0,e.createComponentVNode)(2,o.Section,{title:s,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s,children:u.filter(function(h){return h.Name.toLowerCase().includes(C.toLowerCase())}).map(function(h){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:h.Name,onClick:function(){function V(){return f(d,{target:h.uid})}return V}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!g&&v.map(function(V){return(0,e.createComponentVNode)(2,o.Button,{icon:V.icon,content:V.name,onClick:function(){function b(){return f("Messenger Plugin",{plugin:V.uid,target:h.uid})}return b}()},V.uid)})})]},h.uid)})})}},54291:function(L,r,n){"use strict";r.__esModule=!0,r.pda_mob_hunt=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(96820),m=r.pda_mob_hunt=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.connected,f=l.wild_captures,i=l.no_collection,u=l.entry;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connection Status",children:c?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:["Connected",(0,e.createComponentVNode)(2,t.Button,{ml:2,content:"Disconnect",icon:"sign-out-alt",onClick:function(){function s(){return p("Disconnect")}return s}()})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:["Disconnected",(0,e.createComponentVNode)(2,t.Button,{ml:2,content:"Connect",icon:"sign-in-alt",onClick:function(){function s(){return p("Reconnect")}return s}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Wild Captures",children:f})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Collection",mt:2,buttons:(0,e.createComponentVNode)(2,t.Box,{children:!i&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Previous",icon:"arrow-left",onClick:function(){function s(){return p("Prev")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Next",icon:"arrow-right",onClick:function(){function s(){return p("Next")}return s}()})]})}),children:i?"Your collection is empty! Go capture some Nano-Mobs!":u?(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createVNode)(1,"img",null,null,1,{src:(0,o.resolveAsset)(u.sprite),style:{width:"64px","-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,basis:0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[u.nickname&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nickname",children:u.nickname}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:u.real_name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:u.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Primary Type",children:u.type1}),u.type2&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Secondary Type",children:u.type2}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sd-card",onClick:function(){function s(){return p("Transfer")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Release",icon:"arrow-up",onClick:function(){function s(){return p("Release")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Rename",icon:"pencil-alt",onClick:function(){function s(){return p("Rename")}return s}()}),!!u.is_hacked&&(0,e.createComponentVNode)(2,t.Button,{content:"Set Trap",icon:"bolt",color:"red",onClick:function(){function s(){return p("Set_Trap")}return s}()})]})]})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Mob entry missing!"})})]})}return N}()},31112:function(L,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.pda_mule=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.mulebot,i=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:i?(0,e.createComponentVNode)(2,N):(0,e.createComponentVNode)(2,m)})}return y}(),m=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.mulebot,i=f.bots;return i.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:u.Name,icon:"cog",onClick:function(){function s(){return l("control",{bot:u.uid})}return s}()})},u.Name)})},N=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.mulebot,i=f.botstatus,u=f.active,s=i.mode,d=i.loca,C=i.load,g=i.powr,v=i.dest,h=i.home,V=i.retn,b=i.pick,B;switch(s){case 0:B="Ready";break;case 1:B="Loading/Unloading";break;case 2:case 12:B="Navigating to delivery location";break;case 3:B="Navigating to Home";break;case 4:B="Waiting for clear path";break;case 5:case 6:B="Calculating navigation path";break;case 7:B="Unable to locate destination";break;default:B=s;break}return(0,e.createComponentVNode)(2,t.Section,{title:u,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[g,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:v?v+" (Set)":"None (Set)",onClick:function(){function I(){return l("target")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:C?C+" (Unload)":"None",disabled:!C,onClick:function(){function I(){return l("unload")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"Yes":"No",selected:b,onClick:function(){function I(){return l("set_pickup_type",{autopick:b?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:V?"Yes":"No",selected:V,onClick:function(){function I(){return l("set_auto_return",{autoret:V?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function I(){return l("stop")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function I(){return l("start")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function I(){return l("home")}return I}()})]})]})]})}},2817:function(L,r,n){"use strict";r.__esModule=!0,r.pda_nanobank=void 0;var e=n(28823),a=n(37843),t=n(91819),o=n(2971),m=r.pda_nanobank=function(){function c(f,i){var u=(0,t.useBackend)(i),s=u.act,d=u.data,C=d.logged_in,g=d.owner_name,v=d.money;return C?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Name",children:g}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:["$",v]})]})}),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,y)]})],4):(0,e.createComponentVNode)(2,l)}return c}(),N=function(f,i){var u=(0,t.useBackend)(i),s=u.data,d=(0,t.useLocalState)(i,"tabIndex",1),C=d[0],g=d[1];return(0,e.createComponentVNode)(2,o.Tabs,{mt:2,children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:C===1,onClick:function(){function v(){return g(1)}return v}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transfers"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:C===2,onClick:function(){function v(){return g(2)}return v}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Account Actions"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:C===3,onClick:function(){function v(){return g(3)}return v}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transaction History"]})]})},y=function(f,i){var u=(0,t.useLocalState)(i,"tabIndex",1),s=u[0],d=(0,t.useBackend)(i),C=d.data,g=C.db_status;if(!g)return(0,e.createComponentVNode)(2,o.Box,{children:"Account Database Connection Severed"});switch(s){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,k);case 3:return(0,e.createComponentVNode)(2,p);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},S=function(f,i){var u,s=(0,t.useBackend)(i),d=s.act,C=s.data,g=C.requests,v=C.available_accounts,h=C.money,V=(0,t.useLocalState)(i,"selectedAccount"),b=V[0],B=V[1],I=(0,t.useLocalState)(i,"transferAmount"),w=I[0],T=I[1],A=(0,t.useLocalState)(i,"searchText",""),x=A[0],E=A[1],P=[];return v.map(function(D){return P[D.name]=D.UID}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account",children:[(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account name",onInput:function(){function D(M,O){return E(O)}return D}()}),(0,e.createComponentVNode)(2,o.Dropdown,{mt:.6,width:"190px",options:v.filter((0,a.createSearch)(x,function(D){return D.name})).map(function(D){return D.name}),selected:(u=v.filter(function(D){return D.UID===b})[0])==null?void 0:u.name,onSelected:function(){function D(M){return B(P[M])}return D}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Amount",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Up to 5000",onInput:function(){function D(M,O){return T(O)}return D}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{bold:!0,icon:"paper-plane",width:"auto",disabled:h<w||!b,content:"Send",onClick:function(){function D(){return d("transfer",{amount:w,transfer_to_account:b})}return D}()}),(0,e.createComponentVNode)(2,o.Button,{bold:!0,icon:"hand-holding-usd",width:"auto",disabled:!b,content:"Request",onClick:function(){function D(){return d("transfer_request",{amount:w,transfer_to_account:b})}return D}()})]})]}),(0,e.createComponentVNode)(2,o.Section,{level:3,title:"Requests",children:g.map(function(D){return(0,e.createComponentVNode)(2,o.Box,{mt:1,ml:1,children:[(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Request from "),D.requester],0),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Amount",children:D.amount}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Time",children:[D.time," Minutes ago"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"thumbs-up",color:"good",disabled:h<D.amount,content:"Accept",onClick:function(){function M(){return d("resolve_transfer_request",{accepted:1,requestUID:D.request_id})}return M}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"thumbs-down",color:"bad",content:"Deny",onClick:function(){function M(){return d("resolve_transfer_request",{requestUID:D.request_id})}return M}()})]})]})]},D.UID)})})],4)},k=function(f,i){var u=(0,t.useBackend)(i),s=u.act,d=u.data,C=d.security_level,g=d.department_members,v=d.auto_approve,h=d.auto_approve_amount,V=d.is_department_account;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Security",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"user-lock",selected:C===1,content:"Account Number Only",tooltip:"Set Account security so that only having the account number is required for transactions",onClick:function(){function b(){return s("set_security",{new_security_level:1})}return b}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-lock",selected:C===2,content:"Require Pin Entry",tooltip:"Set Account security so that pin entry is required for transactions",onClick:function(){function b(){return s("set_security",{new_security_level:2})}return b}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Logout",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sign-out-alt",width:"auto",content:"Logout",onClick:function(){function b(){return s("logout")}return b}()})})]}),!!V&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Auto Approve Orders",children:(0,e.createComponentVNode)(2,o.Button,{color:v?"good":"bad",content:v?"Yes":"No",onClick:function(){function b(){return s("toggle_auto_approve")}return b}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Auto Approve Purchases when",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"# Credits",value:h,onInput:function(){function b(B,I){return s("set_approve_amount",{approve_amount:I})}return b}()})})]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Occupation"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Can Approve Crates"})]}),g.map(function(b){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:b.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:b.job}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:b.can_approve?"good":"bad",content:b.can_approve?"Yes":"No",onClick:function(){function B(){return s("toggle_member_approval",{member:b.name})}return B}()})})]},b)})]})],4)],0)},p=function(f,i){var u=(0,t.useBackend)(i),s=u.act,d=u.data,C=d.transaction_log;return(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),C.map(function(g){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:g.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:g.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:g.is_deposit?"green":"red",children:["$",g.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:g.target_name})]},g)})]})},l=function(f,i){var u=(0,t.useBackend)(i),s=u.act,d=u.data,C=(0,t.useLocalState)(i,"accountID",null),g=C[0],v=C[1],h=(0,t.useLocalState)(i,"accountPin",null),V=h[0],b=h[1],B=d.card_account_num,I=g||B;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account ID",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Account ID",onInput:function(){function w(T,A){return v(A)}return w}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Account Pin",onInput:function(){function w(T,A){return b(A)}return w}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Login",icon:"sign-in-alt",disabled:!g&&!B,onClick:function(){function w(){return s("login",{account_num:I,account_pin:V})}return w}()})})]})}},66621:function(L,r,n){"use strict";r.__esModule=!0,r.pda_notes=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.pda_notes=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.note;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{children:l}),(0,e.createComponentVNode)(2,t.Button,{icon:"pen",onClick:function(){function c(){return k("Edit")}return c}(),content:"Edit"})]})}return m}()},96490:function(L,r,n){"use strict";r.__esModule=!0,r.pda_power=void 0;var e=n(28823),a=n(91819),t=n(75199),o=r.pda_power=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data;return(0,e.createComponentVNode)(2,t.PowerMonitorMainContent)}return m}()},36436:function(L,r,n){"use strict";r.__esModule=!0,r.pda_secbot=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.pda_secbot=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.beepsky,i=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:i?(0,e.createComponentVNode)(2,N):(0,e.createComponentVNode)(2,m)})}return y}(),m=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.beepsky,i=f.bots;return i.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:u.Name,icon:"cog",onClick:function(){function s(){return l("control",{bot:u.uid})}return s}()})},u.Name)})},N=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.beepsky,i=f.botstatus,u=f.active,s=i.mode,d=i.loca,C;switch(s){case 0:C="Ready";break;case 1:C="Apprehending target";break;case 2:case 3:C="Arresting target";break;case 4:C="Starting patrol";break;case 5:C="On patrol";break;case 6:C="Responding to summons";break}return(0,e.createComponentVNode)(2,t.Section,{title:u,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:C}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Go",icon:"play",onClick:function(){function g(){return l("go")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function g(){return l("stop")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Summon",icon:"arrow-down",onClick:function(){function g(){return l("summon")}return g}()})]})]})]})}},55244:function(L,r,n){"use strict";r.__esModule=!0,r.pda_security=void 0;var e=n(28823),a=n(91819),t=n(79969),o=r.pda_security=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k,recordType:"SEC"})}return m}()},23470:function(L,r,n){"use strict";r.__esModule=!0,r.pda_signaler=void 0;var e=n(28823),a=n(91819),t=n(92149),o=r.pda_signaler=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p})}return m}()},43085:function(L,r,n){"use strict";r.__esModule=!0,r.pda_status_display=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.pda_status_display=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.records;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Code",children:[(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){function c(){return k("Status",{statdisp:0})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"clock",content:"Evac ETA",onClick:function(){function c(){return k("Status",{statdisp:1})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"edit",content:"Message",onClick:function(){function c(){return k("Status",{statdisp:2})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"exclamation-triangle",content:"Red Alert",onClick:function(){function c(){return k("Status",{statdisp:3,alert:"redalert"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"boxes",content:"NT Logo",onClick:function(){function c(){return k("Status",{statdisp:3,alert:"default"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lock",content:"Lockdown",onClick:function(){function c(){return k("Status",{statdisp:3,alert:"lockdown"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"biohazard",content:"Biohazard",onClick:function(){function c(){return k("Status",{statdisp:3,alert:"biohazard"})}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 1",children:(0,e.createComponentVNode)(2,t.Button,{content:l.message1+" (set)",icon:"pen",onClick:function(){function c(){return k("SetMessage",{msgnum:1})}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 2",children:(0,e.createComponentVNode)(2,t.Button,{content:l.message2+" (set)",icon:"pen",onClick:function(){function c(){return k("SetMessage",{msgnum:2})}return c}()})})]})})}return m}()},26948:function(L,r,n){"use strict";r.__esModule=!0,r.pda_supplyrecords=void 0;var e=n(28823),a=n(91819),t=n(2971),o=r.pda_supplyrecords=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.supply,c=l.shuttle_loc,f=l.shuttle_time,i=l.shuttle_moving,u=l.approved,s=l.approved_count,d=l.requests,C=l.requests_count;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:i?(0,e.createComponentVNode)(2,t.Box,{children:["In transit ",f]}):(0,e.createComponentVNode)(2,t.Box,{children:c})})}),(0,e.createComponentVNode)(2,t.Section,{mt:1,title:"Requested Orders",children:C>0&&d.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{children:["#",g.Number,' - "',g.Name,'" for "',g.OrderedBy,'"']},g)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:s>0&&u.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{children:["#",g.Number,' - "',g.Name,'" for "',g.ApprovedBy,'"']},g)})})]})}return m}()},73786:function(L,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(28823),a=n(66586),t=n(93843),o=n(33053),m=["className","theme","children"],N=["className","scrollable","children"];/** + */var N=(0,t.createLogger)("hotkeys"),y={},S=[e.KEY_ESCAPE,e.KEY_ENTER,e.KEY_SPACE,e.KEY_TAB,e.KEY_CTRL,e.KEY_SHIFT,e.KEY_UP,e.KEY_DOWN,e.KEY_LEFT,e.KEY_RIGHT],k={},p=function(d){if(d===16)return"Shift";if(d===17)return"Ctrl";if(d===18)return"Alt";if(d===33)return"Northeast";if(d===34)return"Southeast";if(d===35)return"Southwest";if(d===36)return"Northwest";if(d===37)return"West";if(d===38)return"North";if(d===39)return"East";if(d===40)return"South";if(d===45)return"Insert";if(d===46)return"Delete";if(d>=48&&d<=57||d>=65&&d<=90)return String.fromCharCode(d);if(d>=96&&d<=105)return"Numpad"+(d-96);if(d>=112&&d<=123)return"F"+(d-111);if(d===188)return",";if(d===189)return"-";if(d===190)return"."},l=function(d){var h=String(d);if(h==="Ctrl+F5"||h==="Ctrl+R"){location.reload();return}if(h!=="Ctrl+F"&&!(d.event.defaultPrevented||d.isModifierKey()||S.includes(d.code))){h==="F5"&&(d.event.preventDefault(),d.event.returnValue=!1);var v=p(d.code);if(v){var g=y[v];if(g)return N.debug("macro",g),Byond.command(g);if(d.isDown()&&!k[v]){k[v]=!0;var C='Key_Down "'+v+'"';return N.debug(C),Byond.command(C)}if(d.isUp()&&k[v]){k[v]=!1;var V='Key_Up "'+v+'"';return N.debug(V),Byond.command(V)}}}},c=r.acquireHotKey=function(){function s(d){S.push(d)}return s}(),f=r.releaseHotKey=function(){function s(d){var h=S.indexOf(d);h>=0&&S.splice(h,1)}return s}(),u=r.releaseHeldKeys=function(){function s(){for(var d=0,h=Object.keys(k);d<h.length;d++){var v=h[d];k[v]&&(k[v]=!1,N.log('releasing key "'+v+'"'),Byond.command('Key_Up "'+v+'"'))}}return s}(),i=r.setupHotKeys=function(){function s(){Byond.winget("default.*").then(function(d){for(var h={},v=0,g=Object.keys(d);v<g.length;v++){var C=g[v],V=C.split("."),b=V[1],B=V[2];b&&B&&(h[b]||(h[b]={}),h[b][B]=d[C])}for(var I=/\\"/g,w=function(){function j(P){return P.substring(1,P.length-1).replace(I,'"')}return j}(),T=0,A=Object.keys(h);T<A.length;T++){var x=A[T],E=h[x],M=w(E.name);y[M]=w(E.command)}N.debug("loaded macros",y)}),a.globalEvents.on("window-blur",function(){u()}),a.globalEvents.on("key",function(d){l(d)})}return s}()},29732:function(L,r,n){"use strict";r.__esModule=!0,r.AICard=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.AICard=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;if(l.has_ai===0)return(0,e.createComponentVNode)(2,o.Window,{width:250,height:120,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var c=null;return l.integrity>=75?c="green":l.integrity>=25?c="yellow":c="red",(0,e.createComponentVNode)(2,o.Window,{width:600,height:420,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:l.name,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:c,value:l.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,l.flushing===1?"Wipe of AI in progress...":"",0)})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!l.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:l.laws.map(function(f,u){return(0,e.createComponentVNode)(2,t.Box,{children:f},u)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:l.wireless?"check":"times",content:l.wireless?"Enabled":"Disabled",color:l.wireless?"green":"red",onClick:function(){function f(){return p("wireless")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:l.radio?"check":"times",content:l.radio?"Enabled":"Disabled",color:l.radio?"green":"red",onClick:function(){function f(){return p("radio")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wipe",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:l.flushing||l.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function f(){return p("wipe")}return f}()})})]})})})]})})})}return N}()},78468:function(L,r,n){"use strict";r.__esModule=!0,r.AIFixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.AIFixer=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;if(l.occupant===null)return(0,e.createComponentVNode)(2,o.Window,{width:550,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"robot",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No Artificial Intelligence detected.",16)]})})})})});var c=!0;(l.stat===2||l.stat===null)&&(c=!1);var f=null;l.integrity>=75?f="green":l.integrity>=25?f="yellow":f="red";var u=!0;return l.integrity>=100&&l.stat!==2&&(u=!1),(0,e.createComponentVNode)(2,o.Window,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:l.occupant,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:f,value:l.integrity/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:c?"green":"red",children:c?"Functional":"Non-Functional"})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!l.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:l.laws.map(function(i,s){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:i},s)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.wireless?"times":"check",content:l.wireless?"Disabled":"Enabled",color:l.wireless?"red":"green",onClick:function(){function i(){return p("wireless")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.radio?"times":"check",content:l.radio?"Disabled":"Enabled",color:l.radio?"red":"green",onClick:function(){function i(){return p("radio")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!u||l.active,content:!u||l.active?"Already Repaired":"Repair",onClick:function(){function i(){return p("fix")}return i}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:l.active?"Reconstruction in progress.":""})]})})]})})})}return N}()},73544:function(L,r,n){"use strict";r.__esModule=!0,r.APC=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(26893),N=r.APC=function(){function p(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:510,height:435,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,k)})})}return p}(),y={2:{color:"good",externalPowerText:"External Power",chargingText:"Fully Charged"},1:{color:"average",externalPowerText:"Low External Power",chargingText:"Charging"},0:{color:"bad",externalPowerText:"No External Power",chargingText:"Not Charging"}},S={1:{icon:"terminal",content:"Override Programming",action:"hack"},2:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"},3:{icon:"caret-square-left",content:"Return to Main Core",action:"deoccupy"},4:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"}},k=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.locked&&!i.siliconUser,d=i.normallyLocked,h=y[i.externalPower]||y[0],v=y[i.chargingStatus]||y[0],g=i.powerChannels||[],C=S[i.malfStatus]||S[0],V=i.powerCellStatus/100;return(0,e.createFragment)([(0,e.createComponentVNode)(2,m.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main Breaker",color:h.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:i.isOperating?"power-off":"times",content:i.isOperating?"On":"Off",selected:i.isOperating&&!s,color:i.isOperating?"":"bad",disabled:s,onClick:function(){function b(){return u("breaker")}return b}()}),children:["[ ",h.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:V})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color:v.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:i.chargeMode?"sync":"times",content:i.chargeMode?"Auto":"Off",selected:i.chargeMode,disabled:s,onClick:function(){function b(){return u("charge")}return b}()}),children:["[ ",v.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[g.map(function(b){var B=b.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:b.status>=2?"good":"bad",children:b.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!s&&(b.status===1||b.status===3),disabled:s,onClick:function(){function I(){return u("channel",B.auto)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!s&&b.status===2,disabled:s,onClick:function(){function I(){return u("channel",B.on)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!s&&b.status===0,disabled:s,onClick:function(){function I(){return u("channel",B.off)}return I}()})],4),children:[b.powerLoad," W"]},b.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[i.totalLoad,(0,e.createTextVNode)(" W")],0)})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc",buttons:!!i.siliconUser&&(0,e.createFragment)([!!i.malfStatus&&(0,e.createComponentVNode)(2,t.Button,{icon:C.icon,content:C.content,color:"bad",onClick:function(){function b(){return u(C.action)}return b}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function b(){return u("overload")}return b}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.4,icon:i.coverLocked?"lock":"unlock",content:i.coverLocked?"Engaged":"Disengaged",disabled:s,onClick:function(){function b(){return u("cover")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:i.emergencyLights?"Enabled":"Disabled",disabled:s,onClick:function(){function b(){return u("emergency_lighting")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:i.nightshiftLights?"Enabled":"Disabled",onClick:function(){function b(){return u("toggle_nightshift")}return b}()})})]})})],4)}},79098:function(L,r,n){"use strict";r.__esModule=!0,r.ATM=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.ATM=function(){function f(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=h.view_screen,g=h.authenticated_account,C=h.ticks_left_locked_down,V=h.linked_db,b;if(C>0)b=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(!V)b=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});else if(g)switch(v){case 1:b=(0,e.createComponentVNode)(2,y);break;case 2:b=(0,e.createComponentVNode)(2,S);break;case 3:b=(0,e.createComponentVNode)(2,l);break;default:b=(0,e.createComponentVNode)(2,k)}else b=(0,e.createComponentVNode)(2,p);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,t.Section,{children:b})]})})}return f}(),N=function(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=h.machine_id,g=h.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Nanotrasen Automatic Teller Machine",children:[(0,e.createComponentVNode)(2,t.Box,{children:"For all your monetary needs!"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card",children:(0,e.createComponentVNode)(2,t.Button,{content:g,icon:"eject",onClick:function(){function C(){return d("insert_card")}return C}()})})})]})},y=function(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=h.security_level;return(0,e.createComponentVNode)(2,t.Section,{title:"Select a new security level for this account",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Number",icon:"unlock",selected:v===0,onClick:function(){function g(){return d("change_security_level",{new_security_level:1})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Pin",icon:"unlock",selected:v===2,onClick:function(){function g(){return d("change_security_level",{new_security_level:2})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number and pin must be manually entered to access this account and process transactions."})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},S=function(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=(0,a.useLocalState)(i,"targetAccNumber",0),g=v[0],C=v[1],V=(0,a.useLocalState)(i,"fundsAmount",0),b=V[0],B=V[1],I=(0,a.useLocalState)(i,"purpose",0),w=I[0],T=I[1],A=h.money;return(0,e.createComponentVNode)(2,t.Section,{title:"Transfer Fund",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",A]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Account Number",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"7 Digit Number",onInput:function(){function x(E,M){return C(M)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Funds to Transfer",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function x(E,M){return B(M)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,t.Input,{fluid:!0,onInput:function(){function x(E,M){return T(M)}return x}()})})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sign-out-alt",onClick:function(){function x(){return d("transfer",{target_acc_number:g,funds_amount:b,purpose:w})}return x}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},k=function(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=(0,a.useLocalState)(i,"fundsAmount",0),g=v[0],C=v[1],V=h.owner_name,b=h.money;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+V,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function B(){return d("logout")}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",b]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function B(I,w){return C(w)}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function B(){return d("withdrawal",{funds_amount:g})}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Menu",children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Change account security level",icon:"lock",onClick:function(){function B(){return d("view_screen",{view_screen:1})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Make transfer",icon:"exchange-alt",onClick:function(){function B(){return d("view_screen",{view_screen:2})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View transaction log",icon:"list",onClick:function(){function B(){return d("view_screen",{view_screen:3})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print balance statement",icon:"print",onClick:function(){function B(){return d("balance_statement")}return B}()})})]})],4)},p=function(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=(0,a.useLocalState)(i,"accountID",null),g=v[0],C=v[1],V=(0,a.useLocalState)(i,"accountPin",null),b=V[0],B=V[1],I=h.machine_id,w=h.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Insert card or enter ID and pin to login",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account ID",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function T(A,x){return C(x)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function T(A,x){return B(x)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Login",icon:"sign-in-alt",onClick:function(){function T(){return d("attempt_auth",{account_num:g,account_pin:b})}return T}()})})]})})},l=function(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=h.transaction_log;return(0,e.createComponentVNode)(2,t.Section,{title:"Transactions",children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Terminal"})]}),v.map(function(g){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.purpose}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:g.is_deposit?"green":"red",children:["$",g.amount]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.target_name})]},g)})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},c=function(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function v(){return d("view_screen",{view_screen:0})}return v}()})}},64613:function(L,r,n){"use strict";r.__esModule=!0,r.AccountsUplinkTerminal=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),m=n(5126),N=n(45493),y=n(68159),S=n(27527),k=r.AccountsUplinkTerminal=function(){function h(v,g){var C=(0,t.useBackend)(g),V=C.act,b=C.data,B=b.loginState,I=b.currentPage,w;if(B.logged_in)I===1?w=(0,e.createComponentVNode)(2,l):I===2?w=(0,e.createComponentVNode)(2,s):I===3&&(w=(0,e.createComponentVNode)(2,d));else return(0,e.createComponentVNode)(2,N.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S.LoginScreen)})})});return(0,e.createComponentVNode)(2,N.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,N.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:w})]})})})}return h}(),p=function(v,g){var C=(0,t.useBackend)(g),V=C.data,b=(0,t.useLocalState)(g,"tabIndex",0),B=b[0],I=b[1],w=V.login_state;return(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,mb:1,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===0,onClick:function(){function T(){return I(0)}return T}(),children:"User Accounts"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===1,onClick:function(){function T(){return I(1)}return T}(),children:"Department Accounts"})]})})})},l=function(v,g){var C=(0,t.useLocalState)(g,"tabIndex",0),V=C[0];switch(V){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,f);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},c=function(v,g){var C=(0,t.useBackend)(g),V=C.act,b=C.data,B=b.accounts,I=(0,t.useLocalState)(g,"searchText",""),w=I[0],T=I[1],A=(0,t.useLocalState)(g,"sortId","owner_name"),x=A[0],E=A[1],M=(0,t.useLocalState)(g,"sortOrder",!0),j=M[0],P=M[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,u,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,u,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,u,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,u,{id:"money",children:"Account Balance"})]}),B.filter((0,a.createSearch)(w,function(R){return R.owner_name+"|"+R.account_number+"|"+R.suspended+"|"+R.money})).sort(function(R,D){var F=j?1:-1;return R[x].localeCompare(D[x])*F}).map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+R.suspended,onClick:function(){function D(){return V("view_account_detail",{account_num:R.account_number})}return D}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",R.owner_name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",R.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.money})]},R.account_number)})]})})})]})},f=function(v,g){var C=(0,t.useBackend)(g),V=C.act,b=C.data,B=b.department_accounts;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,m.TableCell,{children:"Department Name"}),(0,e.createComponentVNode)(2,m.TableCell,{children:"Account Number"}),(0,e.createComponentVNode)(2,m.TableCell,{children:"Account Status"}),(0,e.createComponentVNode)(2,m.TableCell,{children:"Account Balance"})]}),B.map(function(I){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+I.suspended,onClick:function(){function w(){return V("view_account_detail",{account_num:I.account_number})}return w}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wallet"})," ",I.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",I.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.money})]},I.account_number)})]})})})})},u=function(v,g){var C=(0,t.useLocalState)(g,"sortId","name"),V=C[0],b=C[1],B=(0,t.useLocalState)(g,"sortOrder",!0),I=B[0],w=B[1],T=v.id,A=v.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:V!==T&&"transparent",width:"100%",onClick:function(){function x(){V===T?w(!I):(b(T),w(!0))}return x}(),children:[A,V===T&&(0,e.createComponentVNode)(2,o.Icon,{name:I?"sort-up":"sort-down",ml:"0.25rem;"})]})})},i=function(v,g){var C=(0,t.useBackend)(g),V=C.act,b=C.data,B=b.is_printing,I=(0,t.useLocalState)(g,"searchText",""),w=I[0],T=I[1];return(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"New Account",icon:"plus",onClick:function(){function A(){return V("create_new_account")}return A}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account holder, number, status",width:"100%",onInput:function(){function A(x,E){return T(E)}return A}()})})]})},s=function(v,g){var C=(0,t.useBackend)(g),V=C.act,b=C.data,B=b.account_number,I=b.owner_name,w=b.money,T=b.suspended,A=b.transactions,x=b.account_pin,E=b.is_department_account;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"#"+B+" / "+I,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function M(){return V("back")}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",B]}),!!E&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin",children:x}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin Actions",children:(0,e.createComponentVNode)(2,o.Button,{ml:1,icon:"user-cog",content:"Set New Pin",disabled:!!E,onClick:function(){function M(){return V("set_account_pin",{account_number:B})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:I}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:w}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:T?"red":"green",children:[T?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:T?"Unsuspend":"Suspend",icon:T?"unlock":"lock",onClick:function(){function M(){return V("toggle_suspension")}return M}()})]})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Transactions",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),A.map(function(M){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:M.is_deposit?"green":"red",children:["$",M.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.target_name})]},M)})]})})})]})},d=function(v,g){var C=(0,t.useBackend)(g),V=C.act,b=C.data,B=(0,t.useLocalState)(g,"accName",""),I=B[0],w=B[1],T=(0,t.useLocalState)(g,"accDeposit",""),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Create Account",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function E(){return V("back")}return E}()}),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Name Here",onChange:function(){function E(M,j){return w(j)}return E}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Initial Deposit",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"0",onChange:function(){function E(M,j){return x(j)}return E}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function E(){return V("finalise_create_account",{holder_name:I,starting_funds:A})}return E}()})]})}},34257:function(L,r,n){"use strict";r.__esModule=!0,r.AgentCardInfo=r.AgentCardAppearances=r.AgentCard=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.AgentCard=function(){function S(k,p){var l=(0,a.useLocalState)(p,"tabIndex",0),c=l[0],f=l[1],u=function(){function i(s){switch(s){case 0:return(0,e.createComponentVNode)(2,N);case 1:return(0,e.createComponentVNode)(2,y);default:return(0,e.createComponentVNode)(2,N)}}return i}();return(0,e.createComponentVNode)(2,o.Window,{width:425,height:500,theme:"syndicate",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:c===0,onClick:function(){function i(){return f(0)}return i}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Card Info"]},"Card Info"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:c===1,onClick:function(){function i(){return f(1)}return i}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card"})," Appearance"]},"Appearance")]})}),u(c)]})})})}return S}(),N=r.AgentCardInfo=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.registered_name,i=f.sex,s=f.age,d=f.assignment,h=f.associated_account_number,v=f.blood_type,g=f.dna_hash,C=f.fingerprint_hash,V=f.photo,b=f.ai_tracking;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Card Info",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,t.Button,{content:u||"[UNSET]",onClick:function(){function B(){return c("change_name")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sex",children:(0,e.createComponentVNode)(2,t.Button,{iconRight:!1,content:i||"[UNSET]",onClick:function(){function B(){return c("change_sex")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Age",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"[UNSET]",onClick:function(){function B(){return c("change_age")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rank",children:(0,e.createComponentVNode)(2,t.Button,{content:d||"[UNSET]",onClick:function(){function B(){return c("change_occupation")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fingerprints",children:(0,e.createComponentVNode)(2,t.Button,{content:C||"[UNSET]",onClick:function(){function B(){return c("change_fingerprints")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood Type",children:(0,e.createComponentVNode)(2,t.Button,{content:v||"[UNSET]",onClick:function(){function B(){return c("change_blood_type")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"DNA Hash",children:(0,e.createComponentVNode)(2,t.Button,{content:g||"[UNSET]",onClick:function(){function B(){return c("change_dna_hash")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Money Account",children:(0,e.createComponentVNode)(2,t.Button,{content:h||"[UNSET]",onClick:function(){function B(){return c("change_money_account")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Photo",children:(0,e.createComponentVNode)(2,t.Button,{content:V?"Update":"[UNSET]",onClick:function(){function B(){return c("change_photo")}return B}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Card Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card Info",children:(0,e.createComponentVNode)(2,t.Button,{content:"Delete Card Info",onClick:function(){function B(){return c("delete_info")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access",children:(0,e.createComponentVNode)(2,t.Button,{content:"Reset Access",onClick:function(){function B(){return c("clear_access")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"AI Tracking",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"Untrackable":"Trackable",onClick:function(){function B(){return c("change_ai_tracking")}return B}()})})]})})})],4)}return S}(),y=r.AgentCardAppearances=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=(0,a.useLocalState)(p,"selectedAppearance",null),i=u[0],s=u[1],d=f.appearances;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Card Appearance",children:d.map(function(h){return(0,e.createComponentVNode)(2,t.Button,{compact:!0,m:.5,color:"translucent",selected:h===i,content:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jped;base64,"+h.image,style:{width:"64px","vertical-align":"middle","-ms-interpolation-mode":"nearest-neighbor"},onClick:function(){function v(){s(h),c("change_appearance",{new_appearance:h.name})}return v}()})},h.name)})})})}return S}()},56839:function(L,r,n){"use strict";r.__esModule=!0,r.AiAirlock=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},N=r.AiAirlock=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=m[c.power.main]||m[0],u=m[c.power.backup]||m[0],i=m[c.shock]||m[0];return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main",color:f.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){function s(){return l("disrupt-main")}return s}()}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"["+c.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:u.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){function s(){return l("disrupt-backup")}return s}()}),children:[c.power.backup?"Online":"Offline"," ",!c.wires.backup_power&&"[Wires have been cut!]"||c.power.backup_timeleft>0&&"["+c.power.backup_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Electrify",color:i.color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"wrench",disabled:!(c.wires.shock&&c.shock!==2),content:"Restore",onClick:function(){function s(){return l("shock-restore")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"bolt",disabled:!c.wires.shock,content:"Temporary",onClick:function(){function s(){return l("shock-temp")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bolt",disabled:!c.wires.shock||c.shock===0,content:"Permanent",onClick:function(){function s(){return l("shock-perm")}return s}()})],4),children:[c.shock===2?"Safe":"Electrified"," ",!c.wires.shock&&"[Wires have been cut!]"||c.shock_timeleft>0&&"["+c.shock_timeleft+"s]"||c.shock_timeleft===-1&&"[Permanent]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Access and Door Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.id_scanner?"power-off":"times",content:c.id_scanner?"Enabled":"Disabled",selected:c.id_scanner,disabled:!c.wires.id_scanner,onClick:function(){function s(){return l("idscan-toggle")}return s}()}),children:!c.wires.id_scanner&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Access",buttons:(0,e.createComponentVNode)(2,t.Button,{width:6.5,icon:c.emergency?"power-off":"times",content:c.emergency?"Enabled":"Disabled",selected:c.emergency,onClick:function(){function s(){return l("emergency-toggle")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:c.locked?"lock":"unlock",content:c.locked?"Lowered":"Raised",selected:c.locked,disabled:!c.wires.bolts,onClick:function(){function s(){return l("bolt-toggle")}return s}()}),children:!c.wires.bolts&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.lights?"power-off":"times",content:c.lights?"Enabled":"Disabled",selected:c.lights,disabled:!c.wires.lights,onClick:function(){function s(){return l("light-toggle")}return s}()}),children:!c.wires.lights&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.safe?"power-off":"times",content:c.safe?"Enabled":"Disabled",selected:c.safe,disabled:!c.wires.safe,onClick:function(){function s(){return l("safe-toggle")}return s}()}),children:!c.wires.safe&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.speed?"power-off":"times",content:c.speed?"Enabled":"Disabled",selected:c.speed,disabled:!c.wires.timing,onClick:function(){function s(){return l("speed-toggle")}return s}()}),children:!c.wires.timing&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c.opened?"sign-out-alt":"sign-in-alt",content:c.opened?"Open":"Closed",selected:c.opened,disabled:c.locked||c.welded,onClick:function(){function s(){return l("open-close")}return s}()}),children:!!(c.locked||c.welded)&&(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("[Door is "),c.locked?"bolted":"",c.locked&&c.welded?" and ":"",c.welded?"welded":"",(0,e.createTextVNode)("!]")],0)})]})})]})})}return y}()},5565:function(L,r,n){"use strict";r.__esModule=!0,r.AirAlarm=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(26893),N=r.AirAlarm=function(){function i(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.locked;return(0,e.createComponentVNode)(2,o.Window,{width:570,height:C?310:755,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,m.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,S),!C&&(0,e.createFragment)([(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,p)],4)]})})}return i}(),y=function(s){return s===0?"green":s===1?"orange":"red"},S=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.air,V=g.mode,b=g.atmos_alarm,B=g.locked,I=g.alarmActivated,w=g.rcon,T=g.target_temp,A;return C.danger.overall===0?b===0?A="Optimal":A="Caution: Atmos alert in area":C.danger.overall===1?A="Caution":A="DANGER: Internals Required",(0,e.createComponentVNode)(2,t.Section,{title:"Air Status",children:C?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:y(C.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:C.pressure})," kPa",!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:V===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:V===3,icon:"exclamation-triangle",onClick:function(){function x(){return v("mode",{mode:V===3?1:3})}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:C.contents.oxygen/100,fractionDigits:"1",color:y(C.danger.oxygen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:C.contents.nitrogen/100,fractionDigits:"1",color:y(C.danger.nitrogen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:C.contents.co2/100,fractionDigits:"1",color:y(C.danger.co2)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxins",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:C.contents.plasma/100,fractionDigits:"1",color:y(C.danger.plasma)})}),C.contents.n2o>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:C.contents.n2o/100,fractionDigits:"1",color:y(C.danger.n2o)})}),C.contents.other>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:C.contents.other/100,fractionDigits:"1",color:y(C.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:y(C.danger.temperature),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:C.temperature})," K /"," ",(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:C.temperature_c})," C\xA0",(0,e.createComponentVNode)(2,t.Button,{icon:"thermometer-full",content:T+" C",onClick:function(){function x(){return v("temperature")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:C.thermostat_state?"On":"Off",selected:C.thermostat_state,icon:"power-off",onClick:function(){function x(){return v("thermostat_state")}return x}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Local Status",children:(0,e.createComponentVNode)(2,t.Box,{color:y(C.danger.overall),children:[A,!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:I?"Reset Alarm":"Activate Alarm",selected:I,onClick:function(){function x(){return v(I?"atmos_reset":"atmos_alarm")}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Control Settings",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Off",selected:w===1,onClick:function(){function x(){return v("set_rcon",{rcon:1})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:w===2,onClick:function(){function x(){return v("set_rcon",{rcon:2})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:w===3,onClick:function(){function x(){return v("set_rcon",{rcon:3})}return x}()})]})]}):(0,e.createComponentVNode)(2,t.Box,{children:"Unable to acquire air sample!"})})},k=function(s,d){var h=(0,a.useLocalState)(d,"tabIndex",0),v=h[0],g=h[1];return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function C(){return g(0)}return C}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-out-alt"})," Vent Control"]},"Vents"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function C(){return g(1)}return C}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-in-alt"})," Scrubber Control"]},"Scrubbers"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,onClick:function(){function C(){return g(2)}return C}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog"})," Mode"]},"Mode"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===3,onClick:function(){function C(){return g(3)}return C}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},p=function(s,d){var h=(0,a.useLocalState)(d,"tabIndex",0),v=h[0],g=h[1];switch(v){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,f);case 3:return(0,e.createComponentVNode)(2,u);default:return"WE SHOULDN'T BE HERE!"}},l=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.vents;return C.map(function(V){return(0,e.createComponentVNode)(2,t.Section,{title:V.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:V.power?"On":"Off",selected:V.power,icon:"power-off",onClick:function(){function b(){return v("command",{cmd:"power",val:!V.power,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:V.direction?"Blowing":"Siphoning",icon:V.direction?"sign-out-alt":"sign-in-alt",onClick:function(){function b(){return v("command",{cmd:"direction",val:!V.direction,id_tag:V.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:V.checks===1,onClick:function(){function b(){return v("command",{cmd:"checks",val:1,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:V.checks===2,onClick:function(){function b(){return v("command",{cmd:"checks",val:2,id_tag:V.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:V.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function b(){return v("command",{cmd:"set_external_pressure",id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function b(){return v("command",{cmd:"set_external_pressure",val:101.325,id_tag:V.id_tag})}return b}()})]})]})},V.name)})},c=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.scrubbers;return C.map(function(V){return(0,e.createComponentVNode)(2,t.Section,{title:V.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:V.power?"On":"Off",selected:V.power,icon:"power-off",onClick:function(){function b(){return v("command",{cmd:"power",val:!V.power,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:V.scrubbing?"Scrubbing":"Siphoning",icon:V.scrubbing?"filter":"sign-in-alt",onClick:function(){function b(){return v("command",{cmd:"scrubbing",val:!V.scrubbing,id_tag:V.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:V.widenet?"Extended":"Normal",selected:V.widenet,icon:"expand-arrows-alt",onClick:function(){function b(){return v("command",{cmd:"widenet",val:!V.widenet,id_tag:V.id_tag})}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:V.filter_co2,onClick:function(){function b(){return v("command",{cmd:"co2_scrub",val:!V.filter_co2,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:V.filter_toxins,onClick:function(){function b(){return v("command",{cmd:"tox_scrub",val:!V.filter_toxins,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:V.filter_n2o,onClick:function(){function b(){return v("command",{cmd:"n2o_scrub",val:!V.filter_n2o,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:V.filter_o2,onClick:function(){function b(){return v("command",{cmd:"o2_scrub",val:!V.filter_o2,id_tag:V.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:V.filter_n2,onClick:function(){function b(){return v("command",{cmd:"n2_scrub",val:!V.filter_n2,id_tag:V.id_tag})}return b}()})]})]})},V.name)})},f=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.modes,V=g.presets,b=g.emagged,B=g.mode,I=g.preset;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"System Mode",children:(0,e.createComponentVNode)(2,t.Table,{children:C.map(function(w){return(!w.emagonly||w.emagonly&&!!b)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:w.name,icon:"cog",selected:w.id===B,onClick:function(){function T(){return v("mode",{mode:w.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:w.desc})]},w.name)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"System Presets",children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,e.createComponentVNode)(2,t.Table,{mt:1,children:V.map(function(w){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:w.name,icon:"cog",selected:w.id===I,onClick:function(){function T(){return v("preset",{preset:w.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:w.desc})]},w.name)})})]})],4)},u=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.thresholds;return(0,e.createComponentVNode)(2,t.Section,{title:"Alarm Thresholds",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Max"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Max"})]}),C.map(function(V){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:V.name}),V.settings.map(function(b){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:b.selected===-1?"Off":b.selected,onClick:function(){function B(){return v("command",{cmd:"set_threshold",env:b.env,var:b.val})}return B}()})},b.val)})]},V.name)})]})})}},82915:function(L,r,n){"use strict";r.__esModule=!0,r.AirlockAccessController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.AirlockAccessController=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.exterior_status,f=l.interior_status,u=l.processing,i,s;return c==="open"?i=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:u,onClick:function(){function d(){return p("force_ext")}return d}()}):i=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:u,onClick:function(){function d(){return p("cycle_ext_door")}return d}()}),f==="open"?s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:u,color:f==="open"?"red":u?"yellow":null,onClick:function(){function d(){return p("force_int")}return d}()}):s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:u,onClick:function(){function d(){return p("cycle_int_door")}return d}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:c==="closed"?"Locked":"Open"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Door Status",children:f==="closed"?"Locked":"Open"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.Box,{children:[i,s]})})]})})}return N}()},14962:function(L,r,n){"use strict";r.__esModule=!0,r.AirlockElectronics=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(57842),N=1,y=2,S=4,k=8,p=r.AirlockElectronics=function(){function f(u,i){return(0,e.createComponentVNode)(2,o.Window,{width:450,height:565,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})})}return f}(),l=function(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=h.unrestricted_dir;return(0,e.createComponentVNode)(2,t.Section,{title:"Access Control",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,mb:1,children:"Unrestricted Access From:"}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-left",content:"East",selected:v&S?"selected":null,onClick:function(){function g(){return d("unrestricted_access",{unres_dir:S})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-up",content:"South",selected:v&y?"selected":null,onClick:function(){function g(){return d("unrestricted_access",{unres_dir:y})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:v&k?"selected":null,onClick:function(){function g(){return d("unrestricted_access",{unres_dir:k})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-down",content:"North",selected:v&N?"selected":null,onClick:function(){function g(){return d("unrestricted_access",{unres_dir:N})}return g}()})})]})]})})},c=function(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=h.selected_accesses,g=h.one_access,C=h.regions;return(0,e.createComponentVNode)(2,m.AccessList,{usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:g,content:"One",onClick:function(){function V(){return d("set_one_access",{access:"one"})}return V}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!g,content:"All",onClick:function(){function V(){return d("set_one_access",{access:"all"})}return V}()})],4),accesses:C,selectedList:v,accessMod:function(){function V(b){return d("set",{access:b})}return V}(),grantAll:function(){function V(){return d("grant_all")}return V}(),denyAll:function(){function V(){return d("clear_all")}return V}(),grantDep:function(){function V(b){return d("grant_region",{region:b})}return V}(),denyDep:function(){function V(b){return d("deny_region",{region:b})}return V}()})}},99327:function(L,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(96524),a=n(14299),t=n(17899),o=n(68100),m=n(24674),N=n(45493),y=-1,S=1,k=r.AlertModal=function(){function c(f,u){var i=(0,t.useBackend)(u),s=i.act,d=i.data,h=d.autofocus,v=d.buttons,g=v===void 0?[]:v,C=d.large_buttons,V=d.message,b=V===void 0?"":V,B=d.timeout,I=d.title,w=(0,t.useLocalState)(u,"selected",0),T=w[0],A=w[1],x=110+(b.length>30?Math.ceil(b.length/4):0)+(b.length&&C?5:0),E=325+(g.length>2?100:0),M=function(){function j(P){T===0&&P===y?A(g.length-1):T===g.length-1&&P===S?A(0):A(T+P)}return j}();return(0,e.createComponentVNode)(2,N.Window,{title:I,height:x,width:E,children:[!!B&&(0,e.createComponentVNode)(2,a.Loader,{value:B}),(0,e.createComponentVNode)(2,N.Window.Content,{onKeyDown:function(){function j(P){var R=window.event?P.which:P.keyCode;R===o.KEY_SPACE||R===o.KEY_ENTER?s("choose",{choice:g[T]}):R===o.KEY_ESCAPE?s("cancel"):R===o.KEY_LEFT?(P.preventDefault(),M(y)):(R===o.KEY_TAB||R===o.KEY_RIGHT)&&(P.preventDefault(),M(S))}return j}(),children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,m:1,children:(0,e.createComponentVNode)(2,m.Box,{color:"label",overflow:"hidden",children:b})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:[!!h&&(0,e.createComponentVNode)(2,m.Autofocus),(0,e.createComponentVNode)(2,p,{selected:T})]})]})})})]})}return c}(),p=function(f,u){var i=(0,t.useBackend)(u),s=i.data,d=s.buttons,h=d===void 0?[]:d,v=s.large_buttons,g=s.swapped_buttons,C=f.selected;return(0,e.createComponentVNode)(2,m.Flex,{fill:!0,align:"center",direction:g?"row":"row-reverse",justify:"space-around",wrap:!0,children:h==null?void 0:h.map(function(V,b){return v&&h.length<3?(0,e.createComponentVNode)(2,m.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l,{button:V,id:b.toString(),selected:C===b})},b):(0,e.createComponentVNode)(2,m.Flex.Item,{grow:v?1:0,children:(0,e.createComponentVNode)(2,l,{button:V,id:b.toString(),selected:C===b})},b)})})},l=function(f,u){var i=(0,t.useBackend)(u),s=i.act,d=i.data,h=d.large_buttons,v=f.button,g=f.selected,C=v.length>7?"100%":7;return(0,e.createComponentVNode)(2,m.Button,{mx:h?1:0,pt:h?.33:0,content:v,fluid:!!h,onClick:function(){function V(){return s("choose",{choice:v})}return V}(),selected:g,textAlign:"center",height:!!h&&2,width:!h&&C})}},88642:function(L,r,n){"use strict";r.__esModule=!0,r.AppearanceChanger=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.AppearanceChanger=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.change_race,u=c.species,i=c.specimen,s=c.change_gender,d=c.gender,h=c.has_gender,v=c.change_eye_color,g=c.change_skin_tone,C=c.change_skin_color,V=c.change_head_accessory_color,b=c.change_hair_color,B=c.change_secondary_hair_color,I=c.change_facial_hair_color,w=c.change_secondary_facial_hair_color,T=c.change_head_marking_color,A=c.change_body_marking_color,x=c.change_tail_marking_color,E=c.change_head_accessory,M=c.head_accessory_styles,j=c.head_accessory_style,P=c.change_hair,R=c.hair_styles,D=c.hair_style,F=c.change_hair_gradient,W=c.change_facial_hair,_=c.facial_hair_styles,H=c.facial_hair_style,z=c.change_head_markings,$=c.head_marking_styles,X=c.head_marking_style,J=c.change_body_markings,ce=c.body_marking_styles,re=c.body_marking_style,me=c.change_tail_markings,pe=c.tail_marking_styles,ye=c.tail_marking_style,Be=c.change_body_accessory,he=c.body_accessory_styles,oe=c.body_accessory_style,Z=c.change_alt_head,q=c.alt_head_styles,ue=c.alt_head_style,se=!1;return(v||g||C||V||b||B||I||w||T||A||x)&&(se=!0),(0,e.createComponentVNode)(2,o.Window,{width:800,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:u.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.specimen,selected:ne.specimen===i,onClick:function(){function be(){return l("race",{race:ne.specimen})}return be}()},ne.specimen)})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:d==="male",onClick:function(){function ne(){return l("gender",{gender:"male"})}return ne}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:d==="female",onClick:function(){function ne(){return l("gender",{gender:"female"})}return ne}()}),!h&&(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:d==="plural",onClick:function(){function ne(){return l("gender",{gender:"plural"})}return ne}()})]}),!!se&&(0,e.createComponentVNode)(2,N),!!E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:M.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.headaccessorystyle,selected:ne.headaccessorystyle===j,onClick:function(){function be(){return l("head_accessory",{head_accessory:ne.headaccessorystyle})}return be}()},ne.headaccessorystyle)})}),!!P&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:R.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.hairstyle,selected:ne.hairstyle===D,onClick:function(){function be(){return l("hair",{hair:ne.hairstyle})}return be}()},ne.hairstyle)})}),!!F&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function ne(){return l("hair_gradient")}return ne}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function ne(){return l("hair_gradient_offset")}return ne}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function ne(){return l("hair_gradient_colour")}return ne}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function ne(){return l("hair_gradient_alpha")}return ne}()})]}),!!W&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:_.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.facialhairstyle,selected:ne.facialhairstyle===H,onClick:function(){function be(){return l("facial_hair",{facial_hair:ne.facialhairstyle})}return be}()},ne.facialhairstyle)})}),!!z&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:$.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.headmarkingstyle,selected:ne.headmarkingstyle===X,onClick:function(){function be(){return l("head_marking",{head_marking:ne.headmarkingstyle})}return be}()},ne.headmarkingstyle)})}),!!J&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:ce.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.bodymarkingstyle,selected:ne.bodymarkingstyle===re,onClick:function(){function be(){return l("body_marking",{body_marking:ne.bodymarkingstyle})}return be}()},ne.bodymarkingstyle)})}),!!me&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:pe.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.tailmarkingstyle,selected:ne.tailmarkingstyle===ye,onClick:function(){function be(){return l("tail_marking",{tail_marking:ne.tailmarkingstyle})}return be}()},ne.tailmarkingstyle)})}),!!Be&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:he.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.bodyaccessorystyle,selected:ne.bodyaccessorystyle===oe,onClick:function(){function be(){return l("body_accessory",{body_accessory:ne.bodyaccessorystyle})}return be}()},ne.bodyaccessorystyle)})}),!!Z&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:q.map(function(ne){return(0,e.createComponentVNode)(2,t.Button,{content:ne.altheadstyle,selected:ne.altheadstyle===ue,onClick:function(){function be(){return l("alt_head",{alt_head:ne.altheadstyle})}return be}()},ne.altheadstyle)})})]})})})}return y}(),N=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=[{key:"change_eye_color",text:"Change eye color",action:"eye_color"},{key:"change_skin_tone",text:"Change skin tone",action:"skin_tone"},{key:"change_skin_color",text:"Change skin color",action:"skin_color"},{key:"change_head_accessory_color",text:"Change head accessory color",action:"head_accessory_color"},{key:"change_hair_color",text:"Change hair color",action:"hair_color"},{key:"change_secondary_hair_color",text:"Change secondary hair color",action:"secondary_hair_color"},{key:"change_facial_hair_color",text:"Change facial hair color",action:"facial_hair_color"},{key:"change_secondary_facial_hair_color",text:"Change secondary facial hair color",action:"secondary_facial_hair_color"},{key:"change_head_marking_color",text:"Change head marking color",action:"head_marking_color"},{key:"change_body_marking_color",text:"Change body marking color",action:"body_marking_color"},{key:"change_tail_marking_color",text:"Change tail marking color",action:"tail_marking_color"}];return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Colors",children:f.map(function(u){return!!c[u.key]&&(0,e.createComponentVNode)(2,t.Button,{content:u.text,onClick:function(){function i(){return l(u.action)}return i}()},u.key)})})}},51731:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosAlertConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.AtmosAlertConsole=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.priority||[],f=l.minor||[];return(0,e.createComponentVNode)(2,o.Window,{width:350,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Alarms",children:(0,e.createVNode)(1,"ul",null,[c.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),c.map(function(u){return(0,e.createVNode)(1,"li","color-bad",u,0,null,u)}),f.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),f.map(function(u){return(0,e.createVNode)(1,"li","color-average",u,0,null,u)})],0)})})})}return N}()},57467:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(5126),m=n(45493),N=function(c){if(c===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(c===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(c===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},y=function(c){if(c===0)return"green";if(c===1)return"orange";if(c===2)return"red"},S=r.AtmosControl=function(){function l(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=(0,a.useLocalState)(f,"tabIndex",0),h=d[0],v=d[1],g=function(){function C(V){switch(V){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,p);default:return"WE SHOULDN'T BE HERE!"}}return C}();return(0,e.createComponentVNode)(2,m.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:h===0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===0,onClick:function(){function C(){return v(0)}return C}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Data View"]},"DataView"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===1,onClick:function(){function C(){return v(1)}return C}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),g(h)]})})})}return l}(),k=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.alarms;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Access"})]}),d.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,o.TableCell,{children:h.name}),(0,e.createComponentVNode)(2,o.TableCell,{children:N(h.danger)}),(0,e.createComponentVNode)(2,o.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Access",onClick:function(){function v(){return i("open_alarm",{aref:h.ref})}return v}()})})]},h.name)})]})})},p=function(c,f){var u=(0,a.useBackend)(f),i=u.data,s=(0,a.useLocalState)(f,"zoom",1),d=s[0],h=s[1],v=i.alarms;return(0,e.createComponentVNode)(2,t.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,t.NanoMap,{onZoom:function(){function g(C){return h(C)}return g}(),children:v.filter(function(g){return g.z===3}).map(function(g){return(0,e.createComponentVNode)(2,t.NanoMap.Marker,{x:g.x,y:g.y,zoom:d,icon:"circle",tooltip:g.name,color:y(g.danger)},g.ref)})})})}},41550:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosFilter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.AtmosFilter=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.on,f=l.pressure,u=l.max_pressure,i=l.filter_type,s=l.filter_type_list;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:140,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function d(){return p("power")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:f===0,width:2.2,onClick:function(){function d(){return p("min_pressure")}return d}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:u,value:f,onDrag:function(){function d(h,v){return p("custom_pressure",{pressure:v})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:f===u,width:2.2,onClick:function(){function d(){return p("max_pressure")}return d}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:s.map(function(d){return(0,e.createComponentVNode)(2,t.Button,{selected:d.gas_type===i,content:d.label,onClick:function(){function h(){return p("set_filter",{filter:d.gas_type})}return h}()},d.label)})})]})})})})}return N}()},70151:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosMixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.AtmosMixer=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.on,u=c.pressure,i=c.max_pressure,s=c.node1_concentration,d=c.node2_concentration;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:f?"On":"Off",color:f?null:"red",selected:f,onClick:function(){function h(){return l("power")}return h}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:u===0,width:2.2,onClick:function(){function h(){return l("min_pressure")}return h}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:i,value:u,onDrag:function(){function h(v,g){return l("custom_pressure",{pressure:g})}return h}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:u===i,width:2.2,onClick:function(){function h(){return l("max_pressure")}return h}()})]}),(0,e.createComponentVNode)(2,N,{node_name:"Node 1",node_ref:s}),(0,e.createComponentVNode)(2,N,{node_name:"Node 2",node_ref:d})]})})})})}return y}(),N=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=S.node_name,u=S.node_ref;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:f,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:u===0,onClick:function(){function i(){return l("set_node",{node_name:f,concentration:(u-10)/100})}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,stepPixelSize:10,minValue:0,maxValue:100,value:u,onChange:function(){function i(s,d){return l("set_node",{node_name:f,concentration:d/100})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:u===100,onClick:function(){function i(){return l("set_node",{node_name:f,concentration:(u+10)/100})}return i}()})]})}},54090:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosPump=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.AtmosPump=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.on,f=l.rate,u=l.max_rate,i=l.gas_unit,s=l.step;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:110,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function d(){return p("power")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:f===0,width:2.2,onClick:function(){function d(){return p("min_rate")}return d}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:i,width:6.1,lineHeight:1.5,step:s,minValue:0,maxValue:u,value:f,onDrag:function(){function d(h,v){return p("custom_rate",{rate:v})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:f===u,width:2.2,onClick:function(){function d(){return p("max_rate")}return d}()})]})]})})})})}return N}()},31335:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosTankControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(36121),m=n(38424),N=n(45493),y=r.AtmosTankControl=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.sensors||{};return(0,e.createComponentVNode)(2,N.Window,{width:400,height:400,children:(0,e.createComponentVNode)(2,N.Window.Content,{scrollable:!0,children:[Object.keys(u).map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[Object.keys(u[i]).indexOf("pressure")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:[u[i].pressure," kpa"]}):"",Object.keys(u[i]).indexOf("temperature")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[u[i].temperature," K"]}):"",["o2","n2","plasma","co2","n2o"].map(function(s){return Object.keys(u[i]).indexOf(s)>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:(0,m.getGasLabel)(s),children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:(0,m.getGasColor)(s),value:u[i][s],minValue:0,maxValue:100,children:(0,o.toFixed)(u[i][s],2)+"%"})},(0,m.getGasLabel)(s)):""})]})},i)}),f.inlet&&Object.keys(f.inlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Inlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(f.inlet.on,"power-off"),content:f.inlet.on?"On":"Off",color:f.inlet.on?null:"red",selected:f.inlet.on,onClick:function(){function i(){return c("toggle_active",{dev:"inlet"})}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"L/s",width:6.1,lineHeight:1.5,step:1,minValue:0,maxValue:50,value:f.inlet.rate,onDrag:function(){function i(s,d){return c("set_pressure",{dev:"inlet",val:d})}return i}()})})]})}):"",f.outlet&&Object.keys(f.outlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Outlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(f.outlet.on,"power-off"),content:f.outlet.on?"On":"Off",color:f.outlet.on?null:"red",selected:f.outlet.on,onClick:function(){function i(){return c("toggle_active",{dev:"outlet"})}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:5066,value:f.outlet.rate,onDrag:function(){function i(s,d){return c("set_pressure",{dev:"outlet",val:d})}return i}()})})]})}):""]})})}return S}()},85909:function(L,r,n){"use strict";r.__esModule=!0,r.Autolathe=void 0;var e=n(96524),a=n(74041),t=n(50640),o=n(17899),m=n(24674),N=n(45493),y=n(78234),S=function(l,c,f,u){return l.requirements===null?!0:!(l.requirements.metal*u>c||l.requirements.glass*u>f)},k=r.Autolathe=function(){function p(l,c){var f=(0,o.useBackend)(c),u=f.act,i=f.data,s=i.total_amount,d=i.max_amount,h=i.metal_amount,v=i.glass_amount,g=i.busyname,C=i.busyamt,V=i.showhacked,b=i.buildQueue,B=i.buildQueueLen,I=i.recipes,w=i.categories,T=(0,o.useSharedState)(c,"category",0),A=T[0],x=T[1];A===0&&(A="Tools");var E=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),M=v.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),j=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),P=(0,o.useSharedState)(c,"search_text",""),R=P[0],D=P[1],F=(0,y.createSearch)(R,function(z){return z.name}),W="";B>0&&(W=b.map(function(z,$){return(0,e.createComponentVNode)(2,m.Box,{children:(0,e.createComponentVNode)(2,m.Button,{fluid:!0,icon:"times",color:"transparent",content:b[$][0],onClick:function(){function X(){return u("remove_from_queue",{remove_from_queue:b.indexOf(z)+1})}return X}()},z)},$)}));var _=(0,a.flow)([(0,t.filter)(function(z){return(z.category.indexOf(A)>-1||R)&&(i.showhacked||!z.hacked)}),R&&(0,t.filter)(F),(0,t.sortBy)(function(z){return z.name.toLowerCase()})])(I),H="Build";return R?H="Results for: '"+R+"':":A&&(H="Build ("+A+")"),(0,e.createComponentVNode)(2,N.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,N.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{width:"70%",children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,title:H,buttons:(0,e.createComponentVNode)(2,m.Dropdown,{width:"150px",options:w,selected:A,onSelected:function(){function z($){return x($)}return z}()}),children:[(0,e.createComponentVNode)(2,m.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function z($,X){return D(X)}return z}(),mb:1}),_.map(function(z){return(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+z.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,m.Button,{mr:1,icon:"hammer",selected:i.busyname===z.name&&i.busyamt===1,disabled:!S(z,i.metal_amount,i.glass_amount,1),onClick:function(){function $(){return u("make",{make:z.uid,multiplier:1})}return $}(),children:(0,y.toTitleCase)(z.name)}),z.max_multiplier>=10&&(0,e.createComponentVNode)(2,m.Button,{mr:1,icon:"hammer",selected:i.busyname===z.name&&i.busyamt===10,disabled:!S(z,i.metal_amount,i.glass_amount,10),onClick:function(){function $(){return u("make",{make:z.uid,multiplier:10})}return $}(),children:"10x"}),z.max_multiplier>=25&&(0,e.createComponentVNode)(2,m.Button,{mr:1,icon:"hammer",selected:i.busyname===z.name&&i.busyamt===25,disabled:!S(z,i.metal_amount,i.glass_amount,25),onClick:function(){function $(){return u("make",{make:z.uid,multiplier:25})}return $}(),children:"25x"}),z.max_multiplier>25&&(0,e.createComponentVNode)(2,m.Button,{mr:1,icon:"hammer",selected:i.busyname===z.name&&i.busyamt===z.max_multiplier,disabled:!S(z,i.metal_amount,i.glass_amount,z.max_multiplier),onClick:function(){function $(){return u("make",{make:z.uid,multiplier:z.max_multiplier})}return $}(),children:[z.max_multiplier,"x"]}),z.requirements&&Object.keys(z.requirements).map(function($){return(0,y.toTitleCase)($)+": "+z.requirements[$]}).join(", ")||(0,e.createComponentVNode)(2,m.Box,{children:"No resources required."})]},z.ref)})]})}),(0,e.createComponentVNode)(2,m.Stack.Item,{width:"30%",children:[(0,e.createComponentVNode)(2,m.Section,{title:"Materials",children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Metal",children:E}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Glass",children:M}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Total",children:j}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Storage",children:[i.fill_percent,"% Full"]})]})}),(0,e.createComponentVNode)(2,m.Section,{title:"Building",children:(0,e.createComponentVNode)(2,m.Box,{color:g?"green":"",children:g||"Nothing"})}),(0,e.createComponentVNode)(2,m.Section,{title:"Build Queue",height:23.7,children:[W,(0,e.createComponentVNode)(2,m.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!i.buildQueueLen,onClick:function(){function z(){return u("clear_queue")}return z}()})]})]})]})})})}return p}()},81617:function(L,r,n){"use strict";r.__esModule=!0,r.BioChipPad=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.BioChipPad=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.implant,f=l.contains_case;return(0,e.createComponentVNode)(2,o.Window,{width:410,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Bio-chip Mini-Computer",children:[c&&f?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+c.image,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),c.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:c.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:c.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:c.function})]})],4):f?(0,e.createComponentVNode)(2,t.Box,{children:"This bio-chip case has no implant!"}):(0,e.createComponentVNode)(2,t.Box,{children:"Please insert a bio-chip casing!"}),(0,e.createComponentVNode)(2,t.Button,{mt:2,content:"Eject Case",icon:"eject",disabled:!f,onClick:function(){function u(){return p("eject_case")}return u}()})]})})})}return N}()},26215:function(L,r,n){"use strict";r.__esModule=!0,r.Biogenerator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(75201),N=r.Biogenerator=function(){function l(c,f){var u=(0,a.useBackend)(f),i=u.data,s=u.config,d=i.container,h=i.processing,v=s.title;return(0,e.createComponentVNode)(2,o.Window,{width:390,height:595,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Operating,{operating:h,name:v}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k),d?(0,e.createComponentVNode)(2,p):(0,e.createComponentVNode)(2,y)]})})})}return l}(),y=function(c,f){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The biogenerator is missing a container."]})})})},S=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.biomass,h=s.container,v=s.container_curr_reagents,g=s.container_max_reagents;return(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"20px",color:"silver",children:"Biomass:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"5px",children:d}),(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"21px",mt:"8px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"10px",color:"silver",children:"Container:"}),h?(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,maxValue:g,children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:v+" / "+g+" units"})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"None"})]})]})},k=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.has_plants,h=s.container;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:!d,tooltip:d?"":"There are no plants in the biogenerator.",tooltipPosition:"top-start",content:"Activate",onClick:function(){function v(){return i("activate")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"flask",disabled:!h,tooltip:h?"":"The biogenerator does not have a container.",tooltipPosition:"top",content:"Detach Container",onClick:function(){function v(){return i("detach_container")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:!d,tooltip:d?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function v(){return i("eject_plants")}return v}()})})]})})},p=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.biomass,h=s.product_list,v=(0,a.useSharedState)(f,"vendAmount",1),g=v[0],C=v[1],V=Object.entries(h).map(function(b,B){var I=Object.entries(b[1]).map(function(w){return w[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:b[0],open:!0,children:I.map(function(w){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",ml:"2px",children:w.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"20%",children:[w.cost*g,(0,e.createComponentVNode)(2,t.Icon,{ml:"5px",name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{content:"Vend",disabled:d<w.cost*g,icon:"arrow-circle-down",onClick:function(){function T(){return i("create",{id:w.id,amount:g})}return T}()})})]},w)})},b[0])});return(0,e.createComponentVNode)(2,t.Section,{title:"Products",fill:!0,scrollable:!0,height:32,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mr:"5px",color:"silver",children:"Amount to vend:"}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:g,width:"32px",minValue:1,maxValue:10,stepPixelSize:7,onChange:function(){function b(B,I){return C(I)}return b}()})],4),children:V})}},65483:function(L,r,n){"use strict";r.__esModule=!0,r.BlueSpaceArtilleryControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.BlueSpaceArtilleryControl=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c;return l.ready?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"green",children:"Ready"}):l.reloadtime_text?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reloading In",color:"red",children:l.reloadtime_text}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"red",children:"No cannon connected!"}),(0,e.createComponentVNode)(2,o.Window,{width:400,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[l.notice&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:l.notice}),c,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,t.Button,{icon:"crosshairs",content:l.target?l.target:"None",onClick:function(){function f(){return p("recalibrate")}return f}()})}),l.ready===1&&!!l.target&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Firing",children:(0,e.createComponentVNode)(2,t.Button,{icon:"skull",content:"FIRE!",color:"red",onClick:function(){function f(){return p("fire")}return f}()})}),!l.connected&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",content:"Complete Deployment",onClick:function(){function f(){return p("build")}return f}()})})]})})})})})})}return N}()},69099:function(L,r,n){"use strict";r.__esModule=!0,r.BluespaceTap=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(92986),N=r.BluespaceTap=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.product||[],u=c.desiredLevel,i=c.inputLevel,s=c.points,d=c.totalPoints,h=c.powerUse,v=c.availablePower,g=c.maxLevel,C=c.emagged,V=c.safeLevels,b=c.nextLevelPower,B=u>i&&"bad"||"good";return(0,e.createComponentVNode)(2,o.Window,{width:650,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!C&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Safety Protocols disabled"}),i>V&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"High Power, Instability likely"}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Input Management",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Level",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Desired Level",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:u===0,tooltip:"Set to 0",onClick:function(){function I(){return l("set",{set_level:0})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:u===0,onClick:function(){function I(){return l("set",{set_level:i})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:u===0,tooltip:"Decrease one step",onClick:function(){function I(){return l("decrease")}return I}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{value:u,fillValue:i,minValue:0,color:B,maxValue:g,stepPixelSize:20,step:1,onChange:function(){function I(w,T){return l("set",{set_level:T})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:u===g,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function I(){return l("increase")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:u===g,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function I(){return l("set",{set_level:g})}return I}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Power Use",children:(0,m.formatPower)(h)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power for next level",children:(0,m.formatPower)(b)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,m.formatPower)(v)})]})})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Points",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Points",children:d})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:f.map(function(I){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:I.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:I.price>=s,onClick:function(){function w(){return l("vend",{target:I.key})}return w}(),content:I.price})},I.key)})})})})]})})]})})})}return y}()},71736:function(L,r,n){"use strict";r.__esModule=!0,r.BodyScanner=void 0;var e=n(96524),a=n(36121),t=n(78234),o=n(17899),m=n(24674),N=n(45493),y=[["good","Alive"],["average","Critical"],["bad","DEAD"]],S=[["hasVirus","bad","Viral pathogen detected in blood stream."],["blind","average","Cataracts detected."],["colourblind","average","Photoreceptor abnormalities detected."],["nearsighted","average","Retinal misalignment detected."]],k=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Cellular","cloneLoss"],["Burn","fireLoss"],["Inebriation","drunkenness"]],p={average:[.25,.5],bad:[.5,1/0]},l=function(B,I){for(var w=[],T=0;T<B.length;T+=2)w.push(I(B[T],B[T+1],T));return w},c=function(B){return B.length>0?B.filter(function(I){return!!I}).reduce(function(I,w){return(0,e.createFragment)([I,(0,e.createComponentVNode)(2,m.Box,{children:w},w)],0)},null):null},f=function(B){if(B>100){if(B<300)return"mild infection";if(B<400)return"mild infection+";if(B<500)return"mild infection++";if(B<700)return"acute infection";if(B<800)return"acute infection+";if(B<900)return"acute infection++";if(B>=900)return"septic"}return""},u=r.BodyScanner=function(){function b(B,I){var w=(0,o.useBackend)(I),T=w.data,A=T.occupied,x=T.occupant,E=x===void 0?{}:x,M=A?(0,e.createComponentVNode)(2,i,{occupant:E}):(0,e.createComponentVNode)(2,V);return(0,e.createComponentVNode)(2,N.Window,{width:700,height:600,title:"Body Scanner",children:(0,e.createComponentVNode)(2,N.Window.Content,{scrollable:!0,children:M})})}return b}(),i=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,s,{occupant:I}),(0,e.createComponentVNode)(2,d,{occupant:I}),(0,e.createComponentVNode)(2,h,{occupant:I}),(0,e.createComponentVNode)(2,g,{organs:I.extOrgan}),(0,e.createComponentVNode)(2,C,{organs:I.intOrgan})]})},s=function(B,I){var w=(0,o.useBackend)(I),T=w.act,A=w.data,x=A.occupant;return(0,e.createComponentVNode)(2,m.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Button,{icon:"print",onClick:function(){function E(){return T("print_p")}return E}(),children:"Print Report"}),(0,e.createComponentVNode)(2,m.Button,{icon:"user-slash",onClick:function(){function E(){return T("ejectify")}return E}(),children:"Eject"})],4),children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:x.maxHealth,value:x.health/x.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Status",color:y[x.stat][0],children:y[x.stat][1]}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,m.AnimatedNumber,{value:(0,a.round)(x.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,m.AnimatedNumber,{value:(0,a.round)(x.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Implants",children:x.implant_len?(0,e.createComponentVNode)(2,m.Box,{children:x.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"None"})})]})})},d=function(B){var I=B.occupant;return I.hasBorer||I.blind||I.colourblind||I.nearsighted||I.hasVirus?(0,e.createComponentVNode)(2,m.Section,{title:"Abnormalities",children:S.map(function(w,T){if(I[w[0]])return(0,e.createComponentVNode)(2,m.Box,{color:w[1],bold:w[1]==="bad",children:w[2]},w[2])})}):(0,e.createComponentVNode)(2,m.Section,{title:"Abnormalities",children:(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"No abnormalities found."})})},h=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,m.Section,{title:"Damage",children:(0,e.createComponentVNode)(2,m.Table,{children:l(k,function(w,T,A){return(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Table.Row,{color:"label",children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:[w[0],":"]}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:!!T&&T[0]+":"})]}),(0,e.createComponentVNode)(2,m.Table.Row,{children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:(0,e.createComponentVNode)(2,v,{value:I[w[1]],marginBottom:A<k.length-2})}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:!!T&&(0,e.createComponentVNode)(2,v,{value:I[T[1]]})})]})],4)})})})},v=function(B){return(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:"100",value:B.value/100,mt:"0.5rem",mb:!!B.marginBottom&&"0.5rem",ranges:p,children:(0,a.round)(B.value)})},g=function(B){return B.organs.length===0?(0,e.createComponentVNode)(2,m.Section,{title:"External Organs",children:(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,m.Section,{title:"External Organs",children:(0,e.createComponentVNode)(2,m.Table,{children:[(0,e.createComponentVNode)(2,m.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",children:"Injuries"})]}),B.organs.map(function(I,w){return(0,e.createComponentVNode)(2,m.Table.Row,{children:[(0,e.createComponentVNode)(2,m.Table.Cell,{color:!!I.status.dead&&"bad"||(!!I.internalBleeding||!!I.burnWound||!!I.lungRuptured||!!I.status.broken||!!I.open||I.germ_level>100)&&"average"||!!I.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,m.ProgressBar,{m:-.5,min:"0",max:I.maxHealth,mt:w>0&&"0.5rem",value:I.totalLoss/I.maxHealth,ranges:p,children:(0,e.createComponentVNode)(2,m.Stack,{children:[(0,e.createComponentVNode)(2,m.Tooltip,{content:"Total damage",children:(0,e.createComponentVNode)(2,m.Stack.Item,{children:[(0,e.createComponentVNode)(2,m.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(I.totalLoss)]})}),!!I.bruteLoss&&(0,e.createComponentVNode)(2,m.Tooltip,{content:"Brute damage",children:(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,m.Icon,{name:"bone",mr:.5}),(0,a.round)(I.bruteLoss)]})}),!!I.fireLoss&&(0,e.createComponentVNode)(2,m.Tooltip,{content:"Burn damage",children:(0,e.createComponentVNode)(2,m.Stack.Item,{children:[(0,e.createComponentVNode)(2,m.Icon,{name:"fire",mr:.5}),(0,a.round)(I.fireLoss)]})})]})})}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:w>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,m.Box,{color:"average",inline:!0,children:c([!!I.internalBleeding&&"Internal bleeding",!!I.burnWound&&"Critical tissue burns",!!I.lungRuptured&&"Ruptured lung",!!I.status.broken&&I.status.broken,f(I.germ_level),!!I.open&&"Open incision"])}),(0,e.createComponentVNode)(2,m.Box,{inline:!0,children:[c([!!I.status.splinted&&(0,e.createComponentVNode)(2,m.Box,{color:"good",children:"Splinted"}),!!I.status.robotic&&(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"Robotic"}),!!I.status.dead&&(0,e.createComponentVNode)(2,m.Box,{color:"bad",bold:!0,children:"DEAD"})]),c(I.shrapnel.map(function(T){return T.known?T.name:"Unknown object"}))]})]})]},w)})]})})},C=function(B){return B.organs.length===0?(0,e.createComponentVNode)(2,m.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,m.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,m.Table,{children:[(0,e.createComponentVNode)(2,m.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",children:"Injuries"})]}),B.organs.map(function(I,w){return(0,e.createComponentVNode)(2,m.Table.Row,{children:[(0,e.createComponentVNode)(2,m.Table.Cell,{color:!!I.dead&&"bad"||I.germ_level>100&&"average"||I.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:I.maxHealth,value:I.damage/I.maxHealth,mt:w>0&&"0.5rem",ranges:p,children:(0,a.round)(I.damage)})}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:w>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,m.Box,{color:"average",inline:!0,children:c([f(I.germ_level)])}),(0,e.createComponentVNode)(2,m.Box,{inline:!0,children:c([I.robotic===1&&(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"Robotic"}),I.robotic===2&&(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"Assisted"}),!!I.dead&&(0,e.createComponentVNode)(2,m.Box,{color:"bad",bold:!0,children:"DEAD"})])})]})]},w)})]})})},V=function(){return(0,e.createComponentVNode)(2,m.Section,{fill:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,m.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},99449:function(L,r,n){"use strict";r.__esModule=!0,r.BookBinder=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(99665),N=n(18963),y=r.BookBinder=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.selectedbook,i=f.book_categories,s=[];return i.map(function(d){return s[d.description]=d.category_id}),(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Book Binder",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",width:"auto",content:"Print Book",onClick:function(){function d(){return c("print_book")}return d}()}),children:[(0,e.createComponentVNode)(2,t.Box,{ml:10,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:"1rem"}),"Book Binder"]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:u.title,onClick:function(){function d(){return(0,m.modalOpen)(p,"edit_selected_title")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:u.author,onClick:function(){function d(){return(0,m.modalOpen)(p,"edit_selected_author")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"190px",options:i.map(function(d){return d.description}),onSelected:function(){function d(h){return c("toggle_binder_category",{category_id:s[h]})}return d}()})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",content:"Edit Summary",onClick:function(){function d(){return(0,m.modalOpen)(p,"edit_selected_summary")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:u.summary})]}),(0,e.createVNode)(1,"br"),i.filter(function(d){return u.categories.includes(d.category_id)}).map(function(d){return(0,e.createComponentVNode)(2,t.Button,{content:d.description,selected:!0,icon:"unlink",onClick:function(){function h(){return c("toggle_binder_category",{category_id:d.category_id})}return h}()},d.category_id)})]})})]})})})]})}return S}()},43506:function(L,r,n){"use strict";r.__esModule=!0,r.BotClean=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(69521),N=r.BotClean=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.locked,u=c.noaccess,i=c.maintpanel,s=c.on,d=c.autopatrol,h=c.canhack,v=c.emagged,g=c.remote_disabled,C=c.painame,V=c.cleanblood,b=c.area;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,m.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Cleaning Settings",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:V,content:"Clean Blood",disabled:u,onClick:function(){function B(){return l("blood")}return B}()})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc Settings",children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:b?"Reset Area Selection":"Restrict to Current Area",onClick:function(){function B(){return l("area")}return B}()}),b!==null&&(0,e.createComponentVNode)(2,t.LabeledList,{mb:1,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Locked Area",children:b})})]}),C&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:C,disabled:u,onClick:function(){function B(){return l("ejectpai")}return B}()})})]})})}return y}()},89593:function(L,r,n){"use strict";r.__esModule=!0,r.BotFloor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(69521),N=r.BotFloor=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.noaccess,u=c.painame,i=c.hullplating,s=c.replace,d=c.eat,h=c.make,v=c.fixfloor,g=c.nag_empty,C=c.magnet,V=c.tiles_amount;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,m.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Floor Settings",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"5px",children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tiles Left",children:V})}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Add tiles to new hull plating",tooltip:"Fixing a plating requires the removal of floor tile. This will place it back after repairing. Same goes for hull breaches",disabled:f,onClick:function(){function b(){return l("autotile")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Add floor tiles on exposed hull plating",tooltip:"Example: It will add tiles to maintenance",disabled:f,onClick:function(){function b(){return l("replacetiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Repair damaged tiles and platings",disabled:f,onClick:function(){function b(){return l("fixfloors")}return b}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Miscellaneous",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:d,content:"Finds tiles",disabled:f,onClick:function(){function b(){return l("eattiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Make pieces of metal into tiles when empty",disabled:f,onClick:function(){function b(){return l("maketiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Transmit notice when empty",disabled:f,onClick:function(){function b(){return l("nagonempty")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:C,content:"Traction Magnets",disabled:f,onClick:function(){function b(){return l("anchored")}return b}()})]}),u&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,icon:"eject",content:u,disabled:f,onClick:function(){function b(){return l("ejectpai")}return b}()})})]})})}return y}()},89513:function(L,r,n){"use strict";r.__esModule=!0,r.BotHonk=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(69521),N=r.BotHonk=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:220,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,m.BotStatus)})})}return y}()},19297:function(L,r,n){"use strict";r.__esModule=!0,r.BotMed=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(69521),N=r.BotMed=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.locked,u=c.noaccess,i=c.maintpanel,s=c.on,d=c.autopatrol,h=c.canhack,v=c.emagged,g=c.remote_disabled,C=c.painame,V=c.shut_up,b=c.declare_crit,B=c.stationary_mode,I=c.heal_threshold,w=c.injection_amount,T=c.use_beaker,A=c.treat_virus,x=c.reagent_glass;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Communication Settings",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Speaker",checked:!V,disabled:u,onClick:function(){function E(){return l("toggle_speaker")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Critical Patient Alerts",checked:b,disabled:u,onClick:function(){function E(){return l("toggle_critical_alerts")}return E}()})]}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Treatment Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Healing Threshold",children:(0,e.createComponentVNode)(2,t.Slider,{value:I.value,minValue:I.min,maxValue:I.max,step:5,disabled:u,onChange:function(){function E(M,j){return l("set_heal_threshold",{target:j})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Injection Level",children:(0,e.createComponentVNode)(2,t.Slider,{value:w.value,minValue:w.min,maxValue:w.max,step:5,format:function(){function E(M){return M+"u"}return E}(),disabled:u,onChange:function(){function E(M,j){return l("set_injection_amount",{target:j})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagent Source",children:(0,e.createComponentVNode)(2,t.Button,{content:T?"Beaker":"Internal Synthesizer",icon:T?"flask":"cogs",disabled:u,onClick:function(){function E(){return l("toggle_use_beaker")}return E}()})}),x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:x.amount,minValue:0,maxValue:x.max_amount,children:[x.amount," / ",x.max_amount]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{ml:1,children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",disabled:u,onClick:function(){function E(){return l("eject_reagent_glass")}return E}()})})]})})]}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{mt:1,fluid:!0,content:"Treat Viral Infections",checked:A,disabled:u,onClick:function(){function E(){return l("toggle_treat_viral")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Stationary Mode",checked:B,disabled:u,onClick:function(){function E(){return l("toggle_stationary_mode")}return E}()})]}),C&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:C,disabled:u,onClick:function(){function E(){return l("ejectpai")}return E}()})})]})})})}return y}()},4249:function(L,r,n){"use strict";r.__esModule=!0,r.BotSecurity=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(69521),N=r.BotSecurity=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.noaccess,u=c.painame,i=c.check_id,s=c.check_weapons,d=c.check_warrant,h=c.arrest_mode,v=c.arrest_declare;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:445,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,m.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Who To Arrest",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Unidentifiable Persons",disabled:f,onClick:function(){function g(){return l("authid")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Unauthorized Weapons",disabled:f,onClick:function(){function g(){return l("authweapon")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:d,content:"Wanted Criminals",disabled:f,onClick:function(){function g(){return l("authwarrant")}return g}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Arrest Procedure",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Detain Targets Indefinitely",disabled:f,onClick:function(){function g(){return l("arrtype")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Announce Arrests On Radio",disabled:f,onClick:function(){function g(){return l("arrdeclare")}return g}()})]}),u&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:u,disabled:f,onClick:function(){function g(){return l("ejectpai")}return g}()})})]})})}return y}()},27267:function(L,r,n){"use strict";r.__esModule=!0,r.BrigCells=void 0;var e=n(96524),a=n(45493),t=n(24674),o=n(17899),m=function(k,p){var l=k.cell,c=(0,o.useBackend)(p),f=c.act,u=l.cell_id,i=l.occupant,s=l.crimes,d=l.brigged_by,h=l.time_left_seconds,v=l.time_set_seconds,g=l.ref,C="";h>0&&(C+=" BrigCells__listRow--active");var V=function(){f("release",{ref:g})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:C,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:v})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:h})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{type:"button",onClick:V,children:"Release"})})]})},N=function(k){var p=k.cells;return(0,e.createComponentVNode)(2,t.Table,{className:"BrigCells__list",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Cell"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Occupant"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Crimes"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Brigged By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Brigged For"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Release"})]}),p.map(function(l){return(0,e.createComponentVNode)(2,m,{cell:l},l.ref)})]})},y=r.BrigCells=function(){function S(k,p){var l=(0,o.useBackend)(p),c=l.act,f=l.data,u=f.cells;return(0,e.createComponentVNode)(2,a.Window,{theme:"security",width:800,height:400,children:(0,e.createComponentVNode)(2,a.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,N,{cells:u})})})})})}return S}()},26623:function(L,r,n){"use strict";r.__esModule=!0,r.BrigTimer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.BrigTimer=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;l.nameText=l.occupant,l.timing&&(l.prisoner_hasrec?l.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l.occupant}):l.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:l.occupant}));var c="pencil-alt";l.prisoner_name&&(l.prisoner_hasrec||(c="exclamation-triangle"));var f=[],u=0;for(u=0;u<l.spns.length;u++)f.push(l.spns[u]);return(0,e.createComponentVNode)(2,o.Window,{width:500,height:l.timing?237:396,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cell Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell ID",children:l.cell_id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:l.nameText}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Crimes",children:l.crimes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brigged By",children:l.brigged_by}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Brigged For",children:l.time_set}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:l.time_left}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Flash",disabled:!l.isAllowed,onClick:function(){function i(){return p("flash")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Reset Timer",disabled:!l.timing||!l.isAllowed,onClick:function(){function i(){return p("restart_timer")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Release Prisoner",disabled:!l.timing||!l.isAllowed,onClick:function(){function i(){return p("stop")}return i}()})],4)})]})}),!l.timing&&(0,e.createComponentVNode)(2,t.Section,{title:"New Prisoner",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prisoner Name",children:[(0,e.createComponentVNode)(2,t.Button,{icon:c,content:l.prisoner_name?l.prisoner_name:"-----",disabled:!l.isAllowed,onClick:function(){function i(){return p("prisoner_name")}return i}()}),!!l.spns.length&&(0,e.createComponentVNode)(2,t.Dropdown,{disabled:!l.isAllowed||!l.spns.length,options:l.spns,width:"250px",onSelected:function(){function i(s){return p("prisoner_name",{prisoner_name:s})}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prisoner Crimes",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:l.prisoner_charge?l.prisoner_charge:"-----",disabled:!l.isAllowed,onClick:function(){function i(){return p("prisoner_charge")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prisoner Time",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:l.prisoner_time?l.prisoner_time:"-----",disabled:!l.isAllowed,onClick:function(){function i(){return p("prisoner_time")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start",children:(0,e.createComponentVNode)(2,t.Button,{icon:"gavel",content:"Start Sentence",disabled:!l.prisoner_name||!l.prisoner_charge||!l.prisoner_time||!l.isAllowed,onClick:function(){function i(){return p("start")}return i}()})})]})})]})})}return N}()},43542:function(L,r,n){"use strict";r.__esModule=!0,r.CameraConsoleContent=r.CameraConsole=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(28234),m=n(78234),N=n(17899),y=n(24674),S=n(45493);String.prototype.trimLongStr=function(f){return this.length>f?this.substring(0,f)+"...":this};var k=function(u,i){var s,d;if(!i)return[];var h=u.findIndex(function(v){return v.name===i.name});return[(s=u[h-1])==null?void 0:s.name,(d=u[h+1])==null?void 0:d.name]},p=function(u,i){i===void 0&&(i="");var s=(0,m.createSearch)(i,function(d){return d.name});return(0,t.flow)([(0,a.filter)(function(d){return d==null?void 0:d.name}),i&&(0,a.filter)(s),(0,a.sortBy)(function(d){return d.name})])(u)},l=r.CameraConsole=function(){function f(u,i){var s=(0,N.useBackend)(i),d=s.act,h=s.data,v=s.config,g=h.mapRef,C=h.activeCamera,V=p(h.cameras),b=k(V,C),B=b[0],I=b[1];return(0,e.createComponentVNode)(2,S.Window,{width:870,height:708,children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,c)})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),C&&C.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!B,onClick:function(){function w(){return d("switch_camera",{name:B})}return w}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!I,onClick:function(){function w(){return d("switch_camera",{name:I})}return w}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:g,type:"map"}})],4)]})}return f}(),c=r.CameraConsoleContent=function(){function f(u,i){var s=(0,N.useBackend)(i),d=s.act,h=s.data,v=(0,N.useLocalState)(i,"searchText",""),g=v[0],C=v[1],V=h.activeCamera,b=p(h.cameras,g);return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function B(I,w){return C(w)}return B}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:b.map(function(B){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",V&&B.name===V.name&&"Button--selected"]),B.name.trimLongStr(23),0,{title:B.name,onClick:function(){function I(){return d("switch_camera",{name:B.name})}return I}()},B.name)})})})]})}return f}()},9300:function(L,r,n){"use strict";r.__esModule=!0,r.CameraConsoleOldContent=r.CameraConsoleMapContent=r.CameraConsole220=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(28234),m=n(78234),N=n(17899),y=n(24674),S=n(45493),k=function(i,s){var d,h;if(!s)return[];var v=i.findIndex(function(g){return g.name===s.name});return[(d=i[v-1])==null?void 0:d.name,(h=i[v+1])==null?void 0:h.name]},p=function(i,s){s===void 0&&(s="");var d=(0,m.createSearch)(s,function(h){return h.name});return(0,t.flow)([(0,a.filter)(function(h){return h==null?void 0:h.name}),s&&(0,a.filter)(d),(0,a.sortBy)(function(h){return h.name})])(i)},l=r.CameraConsole220=function(){function u(i,s){var d=(0,N.useLocalState)(s,"tabIndex",0),h=d[0],v=d[1],g=function(){function C(V){switch(V){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,f);default:return"WE SHOULDN'T BE HERE!"}}return C}();return(0,e.createComponentVNode)(2,S.Window,{width:1170,height:755,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{children:(0,e.createComponentVNode)(2,y.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{width:h===1?"222px":"475px",textAlign:"center",children:(0,e.createComponentVNode)(2,y.Tabs,{fluid:!0,ml:h===1?1:0,mt:h===1?1:0,children:[(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:h===0,onClick:function(){function C(){return v(0)}return C}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"map-marked-alt"})," \u041A\u0430\u0440\u0442\u0430"]},"Map"),(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:h===1,onClick:function(){function C(){return v(1)}return C}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"table"})," \u0421\u043F\u0438\u0441\u043E\u043A"]},"List")]})}),g(h)]})})})})}return u}(),c=r.CameraConsoleMapContent=function(){function u(i,s){var d=(0,N.useBackend)(s),h=d.act,v=d.data,g=d.config,C=p(v.cameras),V=(0,N.useLocalState)(s,"zoom",1),b=V[0],B=V[1],I=v.mapRef,w=v.activeCamera,T=v.stationLevel,A=k(C,w),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,style:{display:"flex"},children:[(0,e.createComponentVNode)(2,y.Stack.Item,{height:"100%",style:{display:"flex",flex:"0 0 475px"},children:(0,e.createComponentVNode)(2,y.NanoMap,{onZoom:function(){function M(j){return B(j)}return M}(),children:C.filter(function(M){return M.z===T}).map(function(M){return(0,e.createComponentVNode)(2,y.NanoMap.NanoButton,{activeCamera:w,x:M.x,y:M.y,context:s,zoom:b,icon:"circle",tooltip:M.name,name:M.name,color:"blue",status:M.status},M.ref)})})}),(0,e.createComponentVNode)(2,y.Stack.Item,{height:"100%",resizable:!0,className:"CameraConsole__right_map",children:[(0,e.createVNode)(1,"div","CameraConsole__header",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043C\u0435\u0440\u0430: ",16),w&&w.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!x,onClick:function(){function M(){return h("switch_camera",{name:x})}return M}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!E,onClick:function(){function M(){return h("switch_camera",{name:E})}return M}()})],4)],4),(0,e.createComponentVNode)(2,y.ByondUi,{resizable:!0,className:"CameraConsole__map",overflow:"hidden",params:{id:I,type:"map"}})]})]})}return u}(),f=r.CameraConsoleOldContent=function(){function u(i,s){var d=(0,N.useBackend)(s),h=d.act,v=d.data,g=d.config,C=v.mapRef,V=v.activeCamera,b=(0,N.useLocalState)(s,"searchText",""),B=b[0],I=b[1],w=p(v.cameras,B),T=k(w,V),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,y.Stack.Item,{children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{width:"215px",placeholder:"\u041D\u0430\u0439\u0442\u0438 \u043A\u0430\u043C\u0435\u0440\u0443",onInput:function(){function E(M,j){return I(j)}return E}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:w.map(function(E){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid",E.status?"Button--color--transparent":"Button--color--danger","Button--ellipsis",V&&E.name===V.name&&"Button--selected"]),E.name,0,{title:E.name,onClick:function(){function M(){return h("switch_camera",{name:E.name})}return M}()},E.name)})})})]})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043C\u0435\u0440\u0430: ",16),V&&V.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!A,onClick:function(){function E(){return h("switch_camera",{name:A})}return E}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!x,onClick:function(){function E(){return h("switch_camera",{name:x})}return E}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:C,type:"map"}})],4)]})}return u}()},95513:function(L,r,n){"use strict";r.__esModule=!0,r.Canister=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=n(92986),N=n(45493),y=r.Canister=function(){function S(k,p){var l=(0,t.useBackend)(p),c=l.act,f=l.data,u=f.portConnected,i=f.tankPressure,s=f.releasePressure,d=f.defaultReleasePressure,h=f.minReleasePressure,v=f.maxReleasePressure,g=f.valveOpen,C=f.name,V=f.canLabel,b=f.colorContainer,B=f.color_index,I=f.hasHoldingTank,w=f.holdingTank,T="";B.prim&&(T=b.prim.options[B.prim].name);var A="";B.sec&&(A=b.sec.options[B.sec].name);var x="";B.ter&&(x=b.ter.options[B.ter].name);var E="";B.quart&&(E=b.quart.options[B.quart].name);var M=[],j=[],P=[],R=[],D=0;for(D=0;D<b.prim.options.length;D++)M.push(b.prim.options[D].name);for(D=0;D<b.sec.options.length;D++)j.push(b.sec.options[D].name);for(D=0;D<b.ter.options.length;D++)P.push(b.ter.options[D].name);for(D=0;D<b.quart.options.length;D++)R.push(b.quart.options[D].name);var F="";return V&&(F=(0,e.createComponentVNode)(2,o.Section,{title:"Paint",children:(0,e.createComponentVNode)(2,o.LabeledControls,{children:[(0,e.createComponentVNode)(2,o.LabeledControls.Item,{minWidth:"110px",label:b.prim.name,children:(0,e.createComponentVNode)(2,o.Dropdown,{over:!0,selected:T,disabled:!V,options:M,width:"110px",onSelected:function(){function W(_){return c("recolor",{nc:M.indexOf(_),ctype:"prim"})}return W}()})}),(0,e.createComponentVNode)(2,o.LabeledControls.Item,{minWidth:"110px",label:b.sec.name,children:(0,e.createComponentVNode)(2,o.Dropdown,{over:!0,selected:A,disabled:!V,options:j,width:"110px",onSelected:function(){function W(_){return c("recolor",{nc:j.indexOf(_),ctype:"sec"})}return W}()})}),(0,e.createComponentVNode)(2,o.LabeledControls.Item,{minWidth:"110px",label:b.ter.name,children:(0,e.createComponentVNode)(2,o.Dropdown,{over:!0,selected:x,disabled:!V,options:P,width:"110px",onSelected:function(){function W(_){return c("recolor",{nc:P.indexOf(_),ctype:"ter"})}return W}()})}),(0,e.createComponentVNode)(2,o.LabeledControls.Item,{minWidth:"110px",label:b.quart.name,children:(0,e.createComponentVNode)(2,o.Dropdown,{over:!0,selected:E,disabled:!V,options:R,width:"110px",onSelected:function(){function W(_){return c("recolor",{nc:R.indexOf(_),ctype:"quart"})}return W}()})})]})})),(0,e.createComponentVNode)(2,N.Window,{width:600,height:V?300:230,children:(0,e.createComponentVNode)(2,N.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{title:C,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pencil-alt",content:"Relabel",disabled:!V,onClick:function(){function W(){return c("relabel")}return W}()}),children:(0,e.createComponentVNode)(2,o.LabeledControls,{children:[(0,e.createComponentVNode)(2,o.LabeledControls.Item,{minWidth:"66px",label:"Pressure",children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:i,format:function(){function W(_){return _<1e4?(0,a.toFixed)(_)+" kPa":(0,m.formatSiUnit)(_*1e3,1,"Pa")}return W}()})}),(0,e.createComponentVNode)(2,o.LabeledControls.Item,{label:"Regulator",children:(0,e.createComponentVNode)(2,o.Box,{position:"relative",left:"-8px",children:[(0,e.createComponentVNode)(2,o.Knob,{size:1.25,color:!!g&&"yellow",value:s,unit:"kPa",minValue:h,maxValue:v,step:5,stepPixelSize:1,onDrag:function(){function W(_,H){return c("pressure",{pressure:H})}return W}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,position:"absolute",top:"-2px",right:"-20px",color:"transparent",icon:"fast-forward",tooltip:"Max Release Pressure",onClick:function(){function W(){return c("pressure",{pressure:v})}return W}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,position:"absolute",top:"16px",right:"-20px",color:"transparent",icon:"undo",tooltip:"Reset Release Pressure",onClick:function(){function W(){return c("pressure",{pressure:d})}return W}()})]})}),(0,e.createComponentVNode)(2,o.LabeledControls.Item,{label:"Valve",children:(0,e.createComponentVNode)(2,o.Button,{my:.5,width:"50px",lineHeight:2,fontSize:"11px",color:g?I?"caution":"danger":null,content:g?"Open":"Closed",onClick:function(){function W(){return c("valve")}return W}()})}),(0,e.createComponentVNode)(2,o.LabeledControls.Item,{mr:1,label:"Port",children:(0,e.createComponentVNode)(2,o.Tooltip,{content:u?"Connected":"Disconnected",position:"top",children:(0,e.createComponentVNode)(2,o.Box,{position:"relative",children:(0,e.createComponentVNode)(2,o.Icon,{size:1.25,name:u?"plug":"times",color:u?"good":"bad"})})})})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Holding Tank",buttons:!!I&&(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function W(){return c("eject")}return W}()}),children:[!!I&&(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Label",children:w.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pressure",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:w.tankPressure})," kPa"]})]}),!I&&(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"No Holding Tank"})]}),F]})})}return S}()},60463:function(L,r,n){"use strict";r.__esModule=!0,r.CardComputerNoRecords=r.CardComputerNoCard=r.CardComputerLoginWarning=r.CardComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(57842),N=n(38424),y=N.COLORS.department,S=r.CardComputerLoginWarning=function(){function c(){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Warning",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Not logged in"]})})})}return c}(),k=r.CardComputerNoCard=function(){function c(){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Card Missing",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No card to modify"]})})})}return c}(),p=r.CardComputerNoRecords=function(){function c(){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Records",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No records"]})})})}return c}(),l=r.CardComputer=function(){function c(f,u){var i=(0,a.useBackend)(u),s=i.act,d=i.data,h=(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:d.mode===0,onClick:function(){function C(){return s("mode",{mode:0})}return C}(),children:"Job Transfers"}),!d.target_dept&&(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:d.mode===2,onClick:function(){function C(){return s("mode",{mode:2})}return C}(),children:"Access Modification"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"folder-open",selected:d.mode===1,onClick:function(){function C(){return s("mode",{mode:1})}return C}(),children:"Job Management"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"scroll",selected:d.mode===3,onClick:function(){function C(){return s("mode",{mode:3})}return C}(),children:"Records"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"users",selected:d.mode===4,onClick:function(){function C(){return s("mode",{mode:4})}return C}(),children:"Department"})]}),v=(0,e.createComponentVNode)(2,t.Section,{title:"Authentication",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Login/Logout",children:(0,e.createComponentVNode)(2,t.Button,{icon:d.scan_name?"sign-out-alt":"id-card",selected:d.scan_name,content:d.scan_name?"Log Out: "+d.scan_name:"-----",onClick:function(){function C(){return s("scan")}return C}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card To Modify",children:(0,e.createComponentVNode)(2,t.Button,{icon:d.modify_name?"eject":"id-card",selected:d.modify_name,content:d.modify_name?"Remove Card: "+d.modify_name:"-----",onClick:function(){function C(){return s("modify")}return C}()})})]})}),g;switch(d.mode){case 0:!d.authenticated||!d.scan_name?g=(0,e.createComponentVNode)(2,S):d.modify_name?g=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Card Information",children:[!d.target_dept&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Registered Name",children:(0,e.createComponentVNode)(2,t.Button,{icon:!d.modify_owner||d.modify_owner==="Unknown"?"exclamation-triangle":"pencil-alt",selected:d.modify_name,content:d.modify_owner,onClick:function(){function C(){return s("reg")}return C}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Number",children:(0,e.createComponentVNode)(2,t.Button,{icon:d.account_number?"pencil-alt":"exclamation-triangle",selected:d.account_number,content:d.account_number?d.account_number:"None",onClick:function(){function C(){return s("account")}return C}()})})],4),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Latest Transfer",children:d.modify_lastlog||"---"})]}),(0,e.createComponentVNode)(2,t.Section,{title:d.target_dept?"Department Job Transfer":"Job Transfer",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[d.target_dept?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department",children:d.jobs_dept.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===C,content:C,color:d.jobFormats[C]?d.jobFormats[C]:"",onClick:function(){function V(){return s("assign",{assign_target:C})}return V}()},C)})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special",children:d.jobs_top.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===C,content:C,color:d.jobFormats[C]?d.jobFormats[C]:"",onClick:function(){function V(){return s("assign",{assign_target:C})}return V}()},C)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Engineering",labelColor:y.engineering,children:d.jobs_engineering.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===C,content:C,color:d.jobFormats[C]?d.jobFormats[C]:"",onClick:function(){function V(){return s("assign",{assign_target:C})}return V}()},C)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Medical",labelColor:y.medical,children:d.jobs_medical.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===C,content:C,color:d.jobFormats[C]?d.jobFormats[C]:"",onClick:function(){function V(){return s("assign",{assign_target:C})}return V}()},C)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Science",labelColor:y.science,children:d.jobs_science.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===C,content:C,color:d.jobFormats[C]?d.jobFormats[C]:"",onClick:function(){function V(){return s("assign",{assign_target:C})}return V}()},C)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Security",labelColor:y.security,children:d.jobs_security.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===C,content:C,color:d.jobFormats[C]?d.jobFormats[C]:"",onClick:function(){function V(){return s("assign",{assign_target:C})}return V}()},C)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Service",labelColor:y.service,children:d.jobs_service.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===C,content:C,color:d.jobFormats[C]?d.jobFormats[C]:"",onClick:function(){function V(){return s("assign",{assign_target:C})}return V}()},C)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supply",labelColor:y.supply,children:d.jobs_supply.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===C,content:C,color:d.jobFormats[C]?d.jobFormats[C]:"",onClick:function(){function V(){return s("assign",{assign_target:C})}return V}()},C)})})],4),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Retirement",children:d.jobs_assistant.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===C,content:C,color:d.jobFormats[C]?d.jobFormats[C]:"",onClick:function(){function V(){return s("assign",{assign_target:C})}return V}()},C)})}),!!d.iscentcom&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"CentCom",labelColor:y.centcom,children:d.jobs_centcom.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{selected:d.modify_rank===C,content:C,color:d.jobFormats[C]?d.jobFormats[C]:"purple",onClick:function(){function V(){return s("assign",{assign_target:C})}return V}()},C)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Demotion",children:(0,e.createComponentVNode)(2,t.Button,{disabled:d.modify_assignment==="Demoted"||d.modify_assignment==="Terminated",content:"Demoted",tooltip:"Assistant access, 'demoted' title.",color:"red",icon:"times",onClick:function(){function C(){return s("demote")}return C}()},"Demoted")}),!!d.canterminate&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Non-Crew",children:(0,e.createComponentVNode)(2,t.Button,{disabled:d.modify_assignment==="Terminated",content:"Terminated",tooltip:"Zero access. Not crew.",color:"red",icon:"eraser",onClick:function(){function C(){return s("terminate")}return C}()},"Terminate")})]})}),!d.target_dept&&(0,e.createComponentVNode)(2,t.Section,{title:"Card Skins",children:[d.card_skins.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{selected:d.current_skin===C.skin,content:C.display_name,onClick:function(){function V(){return s("skin",{skin_target:C.skin})}return V}()},C.skin)}),!!d.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:d.all_centcom_skins.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{selected:d.current_skin===C.skin,content:C.display_name,color:"purple",onClick:function(){function V(){return s("skin",{skin_target:C.skin})}return V}()},C.skin)})})]})],0):g=(0,e.createComponentVNode)(2,k);break;case 1:d.auth_or_ghost?g=(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{color:d.cooldown_time?"red":"",children:["Next Change Available:",d.cooldown_time?d.cooldown_time:"Now"]}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Job Slots",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Used Slots"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Total Slots"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Free Slots"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Close Slot"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Open Slot"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textAlign:"center",children:"Priority"})]}),d.job_slots.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Box,{color:C.is_priority?"green":"",children:C.title})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:C.current_positions}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:C.total_positions}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:C.total_positions>C.current_positions&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:C.total_positions-C.current_positions})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"0"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"-",disabled:d.cooldown_time||!C.can_close,onClick:function(){function V(){return s("make_job_unavailable",{job:C.title})}return V}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:d.cooldown_time||!C.can_open,onClick:function(){function V(){return s("make_job_available",{job:C.title})}return V}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:d.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:d.priority_jobs.indexOf(C.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:C.is_priority?"Yes":"No",selected:C.is_priority,disabled:d.cooldown_time||!C.can_prioritize,onClick:function(){function V(){return s("prioritize_job",{job:C.title})}return V}()})})]},C.title)})]})})]}):g=(0,e.createComponentVNode)(2,S);break;case 2:!d.authenticated||!d.scan_name?g=(0,e.createComponentVNode)(2,S):d.modify_name?g=(0,e.createComponentVNode)(2,m.AccessList,{accesses:d.regions,selectedList:d.selectedAccess,accessMod:function(){function C(V){return s("set",{access:V})}return C}(),grantAll:function(){function C(){return s("grant_all")}return C}(),denyAll:function(){function C(){return s("clear_all")}return C}(),grantDep:function(){function C(V){return s("grant_region",{region:V})}return C}(),denyDep:function(){function C(V){return s("deny_region",{region:V})}return C}()}):g=(0,e.createComponentVNode)(2,k);break;case 3:d.authenticated?d.records.length?g=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Records",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Delete All Records",disabled:!d.authenticated||d.records.length===0||d.target_dept,onClick:function(){function C(){return s("wipe_all_logs")}return C}()}),children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Crewman"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Old Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"New Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Authorized By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Reason"}),!!d.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),d.records.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.transferee}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.oldvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.newvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.whodidit}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.timestamp}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.reason}),!!d.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.deletedby})]},C.timestamp)})]}),!!d.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!d.authenticated||d.records.length===0,onClick:function(){function C(){return s("wipe_my_logs")}return C}()})})]}):g=(0,e.createComponentVNode)(2,p):g=(0,e.createComponentVNode)(2,S);break;case 4:!d.authenticated||!d.scan_name?g=(0,e.createComponentVNode)(2,S):g=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Your Team",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Sec Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Actions"})]}),d.people_dept.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.crimstat}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:C.buttontext,disabled:!C.demotable,onClick:function(){function V(){return s("remote_demote",{remote_demote:C.name})}return V}()})})]},C.title)})]})});break;default:g=(0,e.createComponentVNode)(2,t.Section,{title:"Warning",color:"red",children:"ERROR: Unknown Mode."})}return(0,e.createComponentVNode)(2,o.Window,{width:800,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:v}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:h}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:g})]})})})}return c}()},16377:function(L,r,n){"use strict";r.__esModule=!0,r.CargoConsole=void 0;var e=n(96524),a=n(74041),t=n(50640),o=n(17899),m=n(24674),N=n(45493),y=n(78234),S=r.CargoConsole=function(){function i(s,d){return(0,e.createComponentVNode)(2,N.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u)]})})})}return i}(),k=function(s,d){var h=(0,o.useLocalState)(d,"contentsModal",null),v=h[0],g=h[1],C=(0,o.useLocalState)(d,"contentsModalTitle",null),V=C[0],b=C[1];if(v!==null&&V!==null)return(0,e.createComponentVNode)(2,m.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,m.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[V,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,m.Box,{children:v.map(function(B){return(0,e.createComponentVNode)(2,m.Box,{children:["- ",B]},B)})}),(0,e.createComponentVNode)(2,m.Box,{m:2,children:(0,e.createComponentVNode)(2,m.Button,{content:"Close",onClick:function(){function B(){g(null),b(null)}return B}()})})]})},p=function(s,d){var h=(0,o.useBackend)(d),v=h.act,g=h.data,C=g.is_public,V=g.timeleft,b=g.moving,B=g.at_station,I,w;return!b&&!B?(I="Docked off-station",w="Call Shuttle"):!b&&B?(I="Docked at the station",w="Return Shuttle"):b&&(w="In Transit...",V!==1?I="Shuttle is en route (ETA: "+V+" minutes)":I="Shuttle is en route (ETA: "+V+" minute)"),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{title:"Status",children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Shuttle Status",children:I}),C===0&&(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,m.Button,{content:w,disabled:b,onClick:function(){function T(){return v("moveShuttle")}return T}()}),(0,e.createComponentVNode)(2,m.Button,{content:"View Central Command Messages",onClick:function(){function T(){return v("showMessages")}return T}()})]})]})})})},l=function(s,d){var h,v=(0,o.useBackend)(d),g=v.act,C=v.data,V=C.accounts,b=(0,o.useLocalState)(d,"selectedAccount"),B=b[0],I=b[1],w=[];return V.map(function(T){return w[T.name]=T.account_UID}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{title:"Payment",children:[(0,e.createComponentVNode)(2,m.Dropdown,{width:"190px",options:V.map(function(T){return T.name}),selected:(h=V.filter(function(T){return T.account_UID===B})[0])==null?void 0:h.name,onSelected:function(){function T(A){return I(w[A])}return T}()}),V.filter(function(T){return T.account_UID===B}).map(function(T){return(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Account Name",children:(0,e.createComponentVNode)(2,m.Stack.Item,{mt:1,children:T.name})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Balance",children:(0,e.createComponentVNode)(2,m.Stack.Item,{children:T.balance})})]},T.account_UID)})]})})},c=function(s,d){var h=(0,o.useBackend)(d),v=h.act,g=h.data,C=g.requests,V=g.categories,b=g.supply_packs,B=(0,o.useSharedState)(d,"category","Emergency"),I=B[0],w=B[1],T=(0,o.useSharedState)(d,"search_text",""),A=T[0],x=T[1],E=(0,o.useLocalState)(d,"contentsModal",null),M=E[0],j=E[1],P=(0,o.useLocalState)(d,"contentsModalTitle",null),R=P[0],D=P[1],F=(0,y.createSearch)(A,function(X){return X.name}),W=(0,o.useLocalState)(d,"selectedAccount"),_=W[0],H=W[1],z=(0,a.flow)([(0,t.filter)(function(X){return X.cat===V.filter(function(J){return J.name===I})[0].category||A}),A&&(0,t.filter)(F),(0,t.sortBy)(function(X){return X.name.toLowerCase()})])(b),$="Crate Catalogue";return A?$="Results for '"+A+"':":I&&($="Browsing "+I),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{title:$,buttons:(0,e.createComponentVNode)(2,m.Dropdown,{width:"190px",options:V.map(function(X){return X.name}),selected:I,onSelected:function(){function X(J){return w(J)}return X}()}),children:[(0,e.createComponentVNode)(2,m.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function X(J,ce){return x(ce)}return X}(),mb:1}),(0,e.createComponentVNode)(2,m.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:z.map(function(X){return(0,e.createComponentVNode)(2,m.Table.Row,{children:[(0,e.createComponentVNode)(2,m.Table.Cell,{bold:!0,children:[X.name," (",X.cost," Credits)"]}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,m.Button,{content:"Order 1",icon:"shopping-cart",disabled:!_,onClick:function(){function J(){return v("order",{crate:X.ref,multiple:!1,account:_})}return J}()}),(0,e.createComponentVNode)(2,m.Button,{content:"Order Multiple",icon:"cart-plus",disabled:!_||X.singleton,onClick:function(){function J(){return v("order",{crate:X.ref,multiple:!0,account:_})}return J}()}),(0,e.createComponentVNode)(2,m.Button,{content:"View Contents",icon:"search",onClick:function(){function J(){j(X.contents),D(X.name)}return J}()})]})]},X.name)})})})]})})},f=function(s,d){var h=s.request,v,g;switch(h.department){case"Engineering":g="CE",v="orange";break;case"Medical":g="CMO",v="teal";break;case"Science":g="RD",v="purple";break;case"Supply":g="CT",v="brown";break;case"Service":g="HOP",v="olive";break;case"Security":g="HOS",v="red";break;case"Command":g="CAP",v="blue";break;case"Assistant":g="Any Head",v="grey";break}return(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{mt:.5,children:"Approval Required:"}),!!h.req_cargo_approval&&(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button,{color:"brown",content:"QM",icon:"user-tie",tooltip:"This Order requires approval from the QM still"})}),!!h.req_head_approval&&(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button,{color:v,content:g,disabled:h.req_cargo_approval,icon:"user-tie",tooltip:h.req_cargo_approval?"This Order first requires approval from the QM before the "+g+" can approve it":"This Order requires approval from the "+g+" still"})})]})},u=function(s,d){var h=(0,o.useBackend)(d),v=h.act,g=h.data,C=g.requests,V=g.orders,b=g.shipments;return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,title:"Orders",children:[(0,e.createComponentVNode)(2,m.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,m.Table,{children:C.map(function(B){return(0,e.createComponentVNode)(2,m.Table.Row,{className:"Cargo_RequestList",children:[(0,e.createComponentVNode)(2,m.Table.Cell,{mb:1,children:[(0,e.createComponentVNode)(2,m.Box,{children:["Order #",B.ordernum,": ",B.supply_type," (",B.cost," credits) for"," ",(0,e.createVNode)(1,"b",null,B.orderedby,0)," with"," ",B.department?"The "+B.department+" Department":"Their Personal"," ","Account"]}),(0,e.createComponentVNode)(2,m.Box,{italic:!0,children:["Reason: ",B.comment]}),(0,e.createComponentVNode)(2,f,{request:B})]}),(0,e.createComponentVNode)(2,m.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,m.Button,{content:"Approve",color:"green",disabled:!B.can_approve,onClick:function(){function I(){return v("approve",{ordernum:B.ordernum})}return I}()}),(0,e.createComponentVNode)(2,m.Button,{content:"Deny",color:"red",disabled:!B.can_deny,onClick:function(){function I(){return v("deny",{ordernum:B.ordernum})}return I}()})]})]},B.ordernum)})}),(0,e.createComponentVNode)(2,m.Box,{bold:!0,children:"Orders Awaiting Delivery"}),(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:V.map(function(B){return(0,e.createComponentVNode)(2,m.Table.Row,{children:(0,e.createComponentVNode)(2,m.Table.Cell,{children:[(0,e.createComponentVNode)(2,m.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,m.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})}),(0,e.createComponentVNode)(2,m.Box,{bold:!0,children:"Order in Transit"}),(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:b.map(function(B){return(0,e.createComponentVNode)(2,m.Table.Row,{children:(0,e.createComponentVNode)(2,m.Table.Cell,{children:[(0,e.createComponentVNode)(2,m.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,m.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})})]})}},89917:function(L,r,n){"use strict";r.__esModule=!0,r.ChangelogView=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.ChangelogView=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=(0,a.useLocalState)(S,"onlyRecent",0),f=c[0],u=c[1],i=l.cl_data,s=l.last_cl,d={FIX:(0,e.createComponentVNode)(2,t.Icon,{name:"tools",title:"Fix"}),WIP:(0,e.createComponentVNode)(2,t.Icon,{name:"hard-hat",title:"WIP",color:"orange"}),TWEAK:(0,e.createComponentVNode)(2,t.Icon,{name:"sliders-h",title:"Tweak"}),SOUNDADD:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",title:"Sound Added",color:"green"}),SOUNDDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-mute",title:"Sound Removed",color:"red"}),CODEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",title:"Code Addition",color:"green"}),CODEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"minus",title:"Code Removal",color:"red"}),IMAGEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-plus",title:"Sprite Addition",color:"green"}),IMAGEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-minus",title:"Sprite Removal",color:"red"}),SPELLCHECK:(0,e.createComponentVNode)(2,t.Icon,{name:"font",title:"Spelling/Grammar Fix"}),EXPERIMENT:(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle",title:"Experimental",color:"orange"})},h=function(){function v(g){return g in d?d[g]:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",color:"green"})}return v}();return(0,e.createComponentVNode)(2,o.Window,{width:750,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"ParadiseSS13 Changelog",mt:2,buttons:(0,e.createComponentVNode)(2,t.Button,{content:f?"Showing all changes":"Showing changes since last connection",onClick:function(){function v(){return u(!f)}return v}()}),children:i.map(function(v){return!f&&v.merge_ts<=s||(0,e.createComponentVNode)(2,t.Section,{mb:2,title:v.author+" - Merged on "+v.merge_date,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"#"+v.num,onClick:function(){function g(){return p("open_pr",{pr_number:v.num})}return g}()}),children:v.entries.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:[h(g.etype)," ",g.etext]},g)})},v)})})})})}return N}()},71254:function(L,r,n){"use strict";r.__esModule=!0,r.ChemDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(1496),m=n(45493),N=[1,5,10,20,30,50],y=[1,5,10],S=r.ChemDispenser=function(){function c(f,u){var i=(0,a.useBackend)(u),s=i.act,d=i.data,h=d.chemicals;return(0,e.createComponentVNode)(2,m.Window,{width:400,height:400+h.length*8,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,l)]})})})}return c}(),k=function(f,u){var i=(0,a.useBackend)(u),s=i.act,d=i.data,h=d.amount,v=d.energy,g=d.maxEnergy;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,minValue:0,maxValue:g,ranges:{good:[g*.5,1/0],average:[g*.25,g*.5],bad:[-1/0,g*.25]},children:[v," / ",g," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:N.map(function(C,V){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:h===C,content:C,onClick:function(){function b(){return s("amount",{amount:C})}return b}()})},V)})})})]})})})},p=function(f,u){for(var i=(0,a.useBackend)(u),s=i.act,d=i.data,h=d.chemicals,v=h===void 0?[]:h,g=[],C=0;C<(v.length+1)%3;C++)g.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:d.glass?"Drink Dispenser":"Chemical Dispenser",children:[v.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:V.title,style:{"margin-left":"2px"},onClick:function(){function B(){return s("dispense",{reagent:V.id})}return B}()},b)}),g.map(function(V,b){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},b)})]})})},l=function(f,u){var i=(0,a.useBackend)(u),s=i.act,d=i.data,h=d.isBeakerLoaded,v=d.beakerCurrentVolume,g=d.beakerMaxVolume,C=d.beakerContents,V=C===void 0?[]:C;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:d.glass?"Glass":"Beaker",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{children:[!!h&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[v," / ",g," units"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!h,onClick:function(){function b(){return s("ejectBeaker")}return b}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:h,beakerContents:V,buttons:function(){function b(B){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:-1})}return I}()}),y.map(function(I,w){return(0,e.createComponentVNode)(2,t.Button,{content:I,onClick:function(){function T(){return s("remove",{reagent:B.id,amount:I})}return T}()},w)}),(0,e.createComponentVNode)(2,t.Button,{content:"ALL",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:B.volume})}return I}()})],0)}return b}()})})})}},27004:function(L,r,n){"use strict";r.__esModule=!0,r.ChemHeater=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=n(1496),N=n(45493),y=r.ChemHeater=function(){function p(l,c){return(0,e.createComponentVNode)(2,N.Window,{width:350,height:275,children:(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k)]})})})}return p}(),S=function(l,c){var f=(0,t.useBackend)(c),u=f.act,i=f.data,s=i.targetTemp,d=i.targetTempReached,h=i.autoEject,v=i.isActive,g=i.currentTemp,C=i.isBeakerLoaded;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Settings",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Auto-eject",icon:h?"toggle-on":"toggle-off",selected:h,onClick:function(){function V(){return u("toggle_autoeject")}return V}()}),(0,e.createComponentVNode)(2,o.Button,{content:v?"On":"Off",icon:"power-off",selected:v,disabled:!C,onClick:function(){function V(){return u("toggle_on")}return V}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,a.round)(s,0),minValue:0,maxValue:1e3,onDrag:function(){function V(b,B){return u("adjust_temperature",{target:B})}return V}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Reading",color:d?"good":"average",children:C&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:g,format:function(){function V(b){return(0,a.toFixed)(b)+" K"}return V}()})||"\u2014"})]})})})},k=function(l,c){var f=(0,t.useBackend)(c),u=f.act,i=f.data,s=i.isBeakerLoaded,d=i.beakerCurrentVolume,h=i.beakerMaxVolume,v=i.beakerContents;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:!!s&&(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",mr:2,children:[d," / ",h," units"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function g(){return u("eject_beaker")}return g}()})]}),children:(0,e.createComponentVNode)(2,m.BeakerContents,{beakerLoaded:s,beakerContents:v})})})}},33611:function(L,r,n){"use strict";r.__esModule=!0,r.ChemMaster=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(1496),N=n(99665),y=n(28234),S=n(81856),k=["icon"];function p(x,E){if(x==null)return{};var M={},j=Object.keys(x),P,R;for(R=0;R<j.length;R++)P=j[R],!(E.indexOf(P)>=0)&&(M[P]=x[P]);return M}function l(x,E){x.prototype=Object.create(E.prototype),x.prototype.constructor=x,c(x,E)}function c(x,E){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function M(j,P){return j.__proto__=P,j}return M}(),c(x,E)}var f=(0,S.createLogger)("ChemMaster"),u=[1,5,10],i=function(E,M){var j=(0,a.useBackend)(M),P=j.act,R=j.data,D=E.args.analysis;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:R.condi?"Condiment Analysis":"Reagent Analysis",children:(0,e.createComponentVNode)(2,t.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:D.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:(D.desc||"").length>0?D.desc:"N/A"}),D.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood type",children:D.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:D.blood_dna})],4),!R.condi&&(0,e.createComponentVNode)(2,t.Button,{icon:R.printing?"spinner":"print",disabled:R.printing,iconSpin:!!R.printing,ml:"0.5rem",content:"Print",onClick:function(){function F(){return P("print",{idx:D.idx,beaker:E.args.beaker})}return F}()})]})})})})},s=r.ChemMaster=function(){function x(E,M){var j=(0,a.useBackend)(M),P=j.data,R=P.condi,D=P.beaker,F=P.beaker_reagents,W=F===void 0?[]:F,_=P.buffer_reagents,H=_===void 0?[]:_,z=P.mode;return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,N.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,d,{beaker:D,beakerReagents:W,bufferNonEmpty:H.length>0}),(0,e.createComponentVNode)(2,h,{mode:z,bufferReagents:H}),(0,e.createComponentVNode)(2,v,{isCondiment:R,bufferNonEmpty:H.length>0}),(0,e.createComponentVNode)(2,A)]})})]})}return x}(),d=function(E,M){var j=(0,a.useBackend)(M),P=j.act,R=E.beaker,D=E.beakerReagents,F=E.bufferNonEmpty;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:F?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!R,content:"Eject and Clear Buffer",onClick:function(){function W(){return P("eject")}return W}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!R,content:"Eject and Clear Buffer",onClick:function(){function W(){return P("eject")}return W}()}),children:R?(0,e.createComponentVNode)(2,m.BeakerContents,{beakerLoaded:!0,beakerContents:D,buttons:function(){function W(_,H){return(0,e.createComponentVNode)(2,t.Box,{mb:H<D.length-1&&"2px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Analyze",mb:"0",onClick:function(){function z(){return(0,N.modalOpen)(M,"analyze",{idx:H+1,beaker:1})}return z}()}),u.map(function(z,$){return(0,e.createComponentVNode)(2,t.Button,{content:z,mb:"0",onClick:function(){function X(){return P("add",{id:_.id,amount:z})}return X}()},$)}),(0,e.createComponentVNode)(2,t.Button,{content:"All",mb:"0",onClick:function(){function z(){return P("add",{id:_.id,amount:_.volume})}return z}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Custom..",mb:"0",onClick:function(){function z(){return(0,N.modalOpen)(M,"addcustom",{id:_.id})}return z}()})]})}return W}()}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No beaker loaded."})})})},h=function(E,M){var j=(0,a.useBackend)(M),P=j.act,R=E.mode,D=E.bufferReagents,F=D===void 0?[]:D;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Buffer",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{color:"label",children:["Transferring to\xA0",(0,e.createComponentVNode)(2,t.Button,{icon:R?"flask":"trash",color:!R&&"bad",content:R?"Beaker":"Disposal",onClick:function(){function W(){return P("toggle")}return W}()})]}),children:F.length>0?(0,e.createComponentVNode)(2,m.BeakerContents,{beakerLoaded:!0,beakerContents:F,buttons:function(){function W(_,H){return(0,e.createComponentVNode)(2,t.Box,{mb:H<F.length-1&&"2px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Analyze",mb:"0",onClick:function(){function z(){return(0,N.modalOpen)(M,"analyze",{idx:H+1,beaker:0})}return z}()}),u.map(function(z,$){return(0,e.createComponentVNode)(2,t.Button,{content:z,mb:"0",onClick:function(){function X(){return P("remove",{id:_.id,amount:z})}return X}()},$)}),(0,e.createComponentVNode)(2,t.Button,{content:"All",mb:"0",onClick:function(){function z(){return P("remove",{id:_.id,amount:_.volume})}return z}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Custom..",mb:"0",onClick:function(){function z(){return(0,N.modalOpen)(M,"removecustom",{id:_.id})}return z}()})]})}return W}()}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Buffer is empty."})})})},v=function(E,M){var j=(0,a.useBackend)(M),P=j.act;return!E.bufferNonEmpty&&E.isCondiment?(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Production",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tint-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"Buffer is empty."]})})})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Production",children:E.isCondiment?(0,e.createComponentVNode)(2,T):(0,e.createComponentVNode)(2,g)})})},g=function(E,M){var j=(0,a.useBackend)(M),P=j.act,R=j.data,D=[{name:"Pills",icon:"pills"},{name:"Patches",icon:"plus-square"},{name:"Bottles",icon:"wine-bottle"}],F=function(_){switch(_){case 1:return(0,e.createComponentVNode)(2,B);case 2:return(0,e.createComponentVNode)(2,I);case 3:return(0,e.createComponentVNode)(2,w);default:return"UNKNOWN INTERFACE"}};return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Tabs,{children:D.map(function(W,_){return _+=1,(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:W.icon,selected:R.production_mode===_,onClick:function(){function H(){return P("set_production_mode",{mode:_})}return H}(),children:W.name},_)})}),F(R.production_mode)],0)},C=function(x){function E(){var j;return j=x.call(this)||this,j.handleMouseUp=function(P){var R=j.props,D=R.placeholder,F=R.onMouseUp;P.button===1&&(P.target.value=D,P.target.select()),F&&F(P)},j}l(E,x);var M=E.prototype;return M.render=function(){function j(){var P=(0,a.useBackend)(this.context),R=P.data,D=R.maxnamelength;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Input,Object.assign({maxLength:D,onMouseUp:this.handleMouseUp},this.props)))}return j}(),E}(e.Component),V=function(E,M){var j=(0,a.useBackend)(M),P=j.act,R=j.data,D=E.children,F=E.maxQuantity,W=E.medicineName,_=E.placeholderName,H=E.productionType,z=E.quantity,$=R.buffer_reagents,X=$===void 0?[]:$;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[D,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Quantity",children:(0,e.createComponentVNode)(2,t.Slider,{value:z,minValue:1,maxValue:F,onChange:function(){function J(ce,re){return P("set_"+H+"_amount",{amount:re})}return J}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,C,{fluid:!0,value:W,placeholder:_,onChange:function(){function J(ce,re){return P("set_"+H+"_name",{name:re})}return J}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Create",color:"green",disabled:X.length<=0,onClick:function(){function J(){return P("create_"+H)}return J}()})})]})},b=function(E,M){var j=E.icon,P=p(E,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({style:{padding:0,"line-height":0}},P,{children:(0,e.createComponentVNode)(2,t.Box,{className:(0,y.classes)(["chem_master32x32",j])})})))},B=function(E,M){var j=(0,a.useBackend)(M),P=j.act,R=j.data,D=R.maxpills,F=R.pillamount,W=R.pillname,_=R.pillplaceholdername,H=R.pillsprite,z=R.pillstyles,$=z.map(function(X){var J=X.id,ce=X.sprite;return(0,e.createComponentVNode)(2,b,{icon:ce,color:"translucent",onClick:function(){function re(){return P("set_pills_style",{style:J})}return re}(),selected:H===J},J)});return(0,e.createComponentVNode)(2,V,{maxQuantity:D,medicineName:W,placeholderName:_,productionType:"pills",quantity:F,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:$})})},I=function(E,M){var j=(0,a.useBackend)(M),P=j.act,R=j.data,D=R.maxpatches,F=R.patchamount,W=R.patchname,_=R.patchplaceholdername;return(0,e.createComponentVNode)(2,V,{maxQuantity:D,medicineName:W,placeholderName:_,productionType:"patches",quantity:F})},w=function(E,M){var j=(0,a.useBackend)(M),P=j.act,R=j.data,D=R.bottlesprite,F=R.maxbottles,W=R.bottleamount,_=R.bottlename,H=R.bottleplaceholdername,z=R.bottlestyles,$=z.map(function(X){var J=X.id,ce=X.sprite;return(0,e.createComponentVNode)(2,b,{icon:ce,color:"translucent",onClick:function(){function re(){return P("set_bottles_style",{style:J})}return re}(),selected:D===J},J)});return(0,e.createComponentVNode)(2,V,{maxQuantity:F,medicineName:_,placeholderName:H,productionType:"bottles",quantity:W,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:$})})},T=function(E,M){var j=(0,a.useBackend)(M),P=j.act;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"box",content:"Create condiment pack (10u max)",mb:"0.5rem",onClick:function(){function R(){return(0,N.modalOpen)(M,"create_condi_pack")}return R}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"wine-bottle",content:"Create bottle (50u max)",mb:"0",onClick:function(){function R(){return P("create_condi_bottle")}return R}()})],4)},A=function(E,M){var j=(0,a.useBackend)(M),P=j.act,R=j.data,D=R.loaded_pill_bottle_style,F=R.containerstyles,W=R.loaded_pill_bottle,_={width:"20px",height:"20px"},H=F.map(function(z){var $=z.color,X=z.name,J=D===$;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:_.width,height:_.height},onClick:function(){function ce(){return P("set_container_style",{style:$})}return ce}(),icon:J&&"check",iconStyle:{position:"relative","z-index":1},tooltip:X,tooltipPosition:"top",children:[!J&&(0,e.createVNode)(1,"div",null,null,1,{style:{display:"inline-block"}}),(0,e.createVNode)(1,"span","Button",null,1,{style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:_.width,height:_.height,"background-color":$,opacity:.6,filter:"alpha(opacity=60)"}})]},$)});return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Container Customization",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!W,content:"Eject Container",onClick:function(){function z(){return P("ejectp")}return z}()}),children:W?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",style:{position:"relative"},children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:_.width,height:_.height},icon:"tint-slash",onClick:function(){function z(){return P("clear_container_style")}return z}(),selected:!D,tooltip:"Default",tooltipPosition:"top"}),H]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,N.modalRegisterBodyOverride)("analyze",i)},51327:function(L,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(17442),N=1,y=32,S=128,k=r.CloningConsole=function(){function i(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.tab,V=g.has_scanner,b=g.pod_amount;return(0,e.createComponentVNode)(2,o.Window,{width:640,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cloning Console",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected scanner",children:V?"Online":"Missing"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected pods",children:b})]})}),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===1,icon:"home",onClick:function(){function B(){return v("menu",{tab:1})}return B}(),children:"Main Menu"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===2,icon:"user",onClick:function(){function B(){return v("menu",{tab:2})}return B}(),children:"Damage Configuration"})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,p)})]})})}return i}(),p=function(s,d){var h=(0,a.useBackend)(d),v=h.data,g=v.tab,C;return g===1?C=(0,e.createComponentVNode)(2,l):g===2&&(C=(0,e.createComponentVNode)(2,c)),C},l=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.pods,V=g.pod_amount,b=g.selected_pod_UID;return(0,e.createComponentVNode)(2,t.Box,{children:[!V&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No pods connected."}),!!V&&C.map(function(B,I){return(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Pod "+(I+1),children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"96px",shrink:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,m.resolveAsset)("pod_"+(B.cloning?"cloning":"idle")+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,e.createComponentVNode)(2,t.Button,{selected:b===B.uid,onClick:function(){function w(){return v("select_pod",{uid:B.uid})}return w}(),children:"Select"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Progress",children:[!B.cloning&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Pod is inactive."}),!!B.cloning&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.clone_progress,maxValue:100,color:"good"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.biomass,ranges:{good:[2*B.biomass_storage_capacity/3,B.biomass_storage_capacity],average:[B.biomass_storage_capacity/3,2*B.biomass_storage_capacity/3],bad:[0,B.biomass_storage_capacity/3]},minValue:0,maxValue:B.biomass_storage_capacity,children:[B.biomass,"/",B.biomass_storage_capacity+" ("+100*B.biomass/B.biomass_storage_capacity+"%)"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sanguine Reagent",children:B.sanguine_reagent}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Osseous Reagent",children:B.osseous_reagent})]})})]})},B)})]})},c=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.selected_pod_data,V=g.has_scanned,b=g.scanner_has_patient,B=g.feedback,I=g.scan_successful,w=g.cloning_cost,T=g.has_scanner;return(0,e.createComponentVNode)(2,t.Box,{children:[!T&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No scanner connected."}),!!T&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Scanner Info",buttons:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hourglass-half",onClick:function(){function A(){return v("scan")}return A}(),children:"Scan"}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function A(){return v("eject")}return A}(),children:"Eject Patient"})]}),children:[!V&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:b?"No scan detected for current patient.":"No patient is in the scanner."}),!!V&&(0,e.createComponentVNode)(2,t.Box,{color:B.color,children:B.text})]}),(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Damages Breakdown",children:(0,e.createComponentVNode)(2,t.Box,{children:[(!I||!V)&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No valid scan detected."}),!!I&&!!V&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function A(){return v("fix_all")}return A}(),children:"Repair All Damages"}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function A(){return v("fix_none")}return A}(),children:"Repair No Damages"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function A(){return v("clone")}return A}(),children:"Clone"})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w[0],maxValue:C.biomass_storage_capacity,ranges:{bad:[2*C.biomass_storage_capacity/3,C.biomass_storage_capacity],average:[C.biomass_storage_capacity/3,2*C.biomass_storage_capacity/3],good:[0,C.biomass_storage_capacity/3]},color:w[0]>C.biomass?"bad":null,children:["Biomass: ",w[0],"/",C.biomass,"/",C.biomass_storage_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w[1],maxValue:C.max_reagent_capacity,ranges:{bad:[2*C.max_reagent_capacity/3,C.max_reagent_capacity],average:[C.max_reagent_capacity/3,2*C.max_reagent_capacity/3],good:[0,C.max_reagent_capacity/3]},color:w[1]>C.sanguine_reagent?"bad":"good",children:["Sanguine: ",w[1],"/",C.sanguine_reagent,"/",C.max_reagent_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w[2],maxValue:C.max_reagent_capacity,ranges:{bad:[2*C.max_reagent_capacity/3,C.max_reagent_capacity],average:[C.max_reagent_capacity/3,2*C.max_reagent_capacity/3],good:[0,C.max_reagent_capacity/3]},color:w[2]>C.osseous_reagent?"bad":"good",children:["Osseous: ",w[2],"/",C.osseous_reagent,"/",C.max_reagent_capacity]})})]}),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,u)]})]})})]})]})},f=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.patient_limb_data,V=g.limb_list,b=g.desired_limb_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Limbs",children:V.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"15%",height:"20px",children:[C[B][4],":"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),C[B][3]===0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:b[B][0]+b[B][1],maxValue:C[B][5],ranges:{good:[0,C[B][5]/3],average:[C[B][5]/3,2*C[B][5]/3],bad:[2*C[B][5]/3,C[B][5]]},children:["Post-Cloning Damage: ",(0,e.createComponentVNode)(2,t.Icon,{name:"bone"})," "+b[B][0]+" / ",(0,e.createComponentVNode)(2,t.Icon,{name:"fire"})," "+b[B][1]]})}),C[B][3]!==0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",C[B][4]," is missing!"]})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[!!C[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!b[B][3],onClick:function(){function w(){return v("toggle_limb_repair",{limb:B,type:"replace"})}return w}(),children:"Replace Limb"})}),!C[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(C[B][0]||C[B][1]),checked:!(b[B][0]||b[B][1]),onClick:function(){function w(){return v("toggle_limb_repair",{limb:B,type:"damage"})}return w}(),children:"Repair Damages"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(C[B][2]&N),checked:!(b[B][2]&N),onClick:function(){function w(){return v("toggle_limb_repair",{limb:B,type:"bone"})}return w}(),children:"Mend Bone"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(C[B][2]&y),checked:!(b[B][2]&y),onClick:function(){function w(){return v("toggle_limb_repair",{limb:B,type:"ib"})}return w}(),children:"Mend IB"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(C[B][2]&S),checked:!(b[B][2]&S),onClick:function(){function w(){return v("toggle_limb_repair",{limb:B,type:"critburn"})}return w}(),children:"Mend Critical Burn"})]})]})]},B)})})},u=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.patient_organ_data,V=g.organ_list,b=g.desired_organ_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Organs",children:V.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"20%",height:"20px",children:[C[B][3],":"," "]}),C[B][5]!=="heart"&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!!C[B][2]&&(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!b[B][2]&&!b[B][1],onClick:function(){function w(){return v("toggle_organ_repair",{organ:B,type:"replace"})}return w}(),children:"Replace Organ"}),!C[B][2]&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!C[B][0],checked:!b[B][0],onClick:function(){function w(){return v("toggle_organ_repair",{organ:B,type:"damage"})}return w}(),children:"Repair Damages"})})]})}),C[B][5]==="heart"&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Heart replacement is required for cloning."}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[!!C[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",C[B][3]," is missing!"]}),!C[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:b[B][0],maxValue:C[B][4],ranges:{good:[0,C[B][4]/3],average:[C[B][4]/3,2*C[B][4]/3],bad:[2*C[B][4]/3,C[B][4]]},children:"Post-Cloning Damage: "+b[B][0]})]})]})},B)})})}},66373:function(L,r,n){"use strict";r.__esModule=!0,r.CloningPod=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.CloningPod=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.biomass,f=l.biomass_storage_capacity,u=l.sanguine_reagent,i=l.osseous_reagent,s=l.organs,d=l.currently_cloning;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Liquid Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Biomass:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:c,ranges:{good:[2*f/3,f],average:[f/3,2*f/3],bad:[0,f/3]},minValue:0,maxValue:f})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Sanguine Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:u+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:u,step:1,unit:"units",onChange:function(){function h(v,g){return p("remove_reagent",{reagent:"sanguine_reagent",amount:g})}return h}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function h(){return p("purge_reagent",{reagent:"sanguine_reagent"})}return h}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Osseous Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:i+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:i,step:1,unit:"units",onChange:function(){function h(v,g){return p("remove_reagent",{reagent:"osseous_reagent",amount:g})}return h}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function h(){return p("purge_reagent",{reagent:"osseous_reagent"})}return h}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Organ Storage",children:[!d&&(0,e.createComponentVNode)(2,t.Box,{children:[!s&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No organs loaded."}),!!s&&s.map(function(h){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:h.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",onClick:function(){function v(){return p("eject_organ",{organ_ref:h.ref})}return v}()})})]},h)})]}),!!d&&(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Unable to access organ storage while cloning."]})})]})]})})}return N}()},11866:function(L,r,n){"use strict";r.__esModule=!0,r.ColourMatrixTester=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.ColourMatrixTester=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.colour_data,f=[[{name:"RR",idx:0},{name:"RG",idx:1},{name:"RB",idx:2},{name:"RA",idx:3}],[{name:"GR",idx:4},{name:"GG",idx:5},{name:"GB",idx:6},{name:"GA",idx:7}],[{name:"BR",idx:8},{name:"BG",idx:9},{name:"BB",idx:10},{name:"BA",idx:11}],[{name:"AR",idx:12},{name:"AG",idx:13},{name:"AB",idx:14},{name:"AA",idx:15}]];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:190,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Matrix",children:f.map(function(u){return(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",textColor:"label",children:u.map(function(i){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:1,children:[i.name,":\xA0",(0,e.createComponentVNode)(2,t.NumberInput,{width:4,value:c[i.idx],step:.05,minValue:-5,maxValue:5,stepPixelSize:5,onChange:function(){function s(d,h){return p("setvalue",{idx:i.idx+1,value:h})}return s}()})]},i.name)})},u)})})})})})}return N}()},22420:function(L,r,n){"use strict";r.__esModule=!0,r.CommunicationsComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=function(s){switch(s){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,l);case 3:return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,c)})});case 4:return(0,e.createComponentVNode)(2,u);default:return"ERROR. Unknown menu_state. Please contact NT Technical Support."}},N=r.CommunicationsComputer=function(){function i(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.menu_state;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y),m(C)]})})})}return i}(),y=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.authenticated,V=g.noauthbutton,b=g.esc_section,B=g.esc_callable,I=g.esc_recallable,w=g.esc_status,T=g.authhead,A=g.is_ai,x=g.lastCallLoc,E=!1,M;return C?C===1?M="Command":C===2?M="Captain":C===3?M="CentComm Officer":C===4?(M="CentComm Secure Connection",E=!0):M="ERROR: Report This Bug!":M="Not Logged In",(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authentication",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access",children:M})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{icon:C?"sign-out-alt":"id-card",selected:C,disabled:V,content:C?"Log Out ("+M+")":"Log In",onClick:function(){function j(){return v("auth")}return j}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!b&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Escape Shuttle",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!w&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:w}),!!B&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"Call Shuttle",disabled:!T,onClick:function(){function j(){return v("callshuttle")}return j}()})}),!!I&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Recall Shuttle",disabled:!T||A,onClick:function(){function j(){return v("cancelshuttle")}return j}()})}),!!x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Last Call/Recall From",children:x})]})})})],4)},S=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.is_admin;return C?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,p)},k=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.is_admin,V=g.gamma_armory_location,b=g.admin_levels,B=g.authenticated,I=g.ert_allowed;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"CentComm Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,f,{levels:b,required_access:C,use_confirm:1})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:"Make Central Announcement",disabled:!C,onClick:function(){function w(){return v("send_to_cc_announcement_page")}return w}()}),B===4&&(0,e.createComponentVNode)(2,t.Button,{icon:"plus",content:"Make Other Announcement",disabled:!C,onClick:function(){function w(){return v("make_other_announcement")}return w}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Response Team",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"Dispatch ERT",disabled:!C,onClick:function(){function w(){return v("dispatch_ert")}return w}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:I,content:I?"ERT calling enabled":"ERT calling disabled",tooltip:I?"Command can request an ERT":"ERTs cannot be requested",disabled:!C,onClick:function(){function w(){return v("toggle_ert_allowed")}return w}(),selected:null})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Get Authentication Codes",disabled:!C,onClick:function(){function w(){return v("send_nuke_codes")}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gamma Armory",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"biohazard",content:V?"Send Gamma Armory":"Recall Gamma Armory",disabled:!C,onClick:function(){function w(){return v("move_gamma_armory")}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"coins",content:"View Economy",disabled:!C,onClick:function(){function w(){return v("view_econ")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fax",content:"Fax Manager",disabled:!C,onClick:function(){function w(){return v("view_fax")}return w}()})]})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"View Command accessible controls",children:(0,e.createComponentVNode)(2,p)})]})},p=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.msg_cooldown,V=g.emagged,b=g.cc_cooldown,B=g.security_level_color,I=g.str_security_level,w=g.levels,T=g.authcapt,A=g.authhead,x=g.messages,E="Make Priority Announcement";C>0&&(E+=" ("+C+"s)");var M=V?"Message [UNKNOWN]":"Message CentComm",j="Request Authentication Codes";return b>0&&(M+=" ("+b+"s)",j+=" ("+b+"s)"),(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Captain-Only Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:B,children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,f,{levels:w,required_access:T})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:E,disabled:!T||C>0,onClick:function(){function P(){return v("announce")}return P}()})}),!!V&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:M,disabled:!T||b>0,onClick:function(){function P(){return v("MessageSyndicate")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!T,onClick:function(){function P(){return v("RestoreBackup")}return P}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:M,disabled:!T||b>0,onClick:function(){function P(){return v("MessageCentcomm")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:j,disabled:!T||b>0,onClick:function(){function P(){return v("nukerequest")}return P}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Command Staff Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Displays",children:(0,e.createComponentVNode)(2,t.Button,{icon:"tv",content:"Change Status Displays",disabled:!A,onClick:function(){function P(){return v("status")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Incoming Messages",children:(0,e.createComponentVNode)(2,t.Button,{icon:"folder-open",content:"View ("+x.length+")",disabled:!A,onClick:function(){function P(){return v("messagelist")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Misc",children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Restart Nano-Mob Hunter GO! Server",disabled:!A,onClick:function(){function P(){return v("RestartNanoMob")}return P}()})})]})})})],4)},l=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.stat_display,V=g.authhead,b=g.current_message_title,B=C.presets.map(function(w){return(0,e.createComponentVNode)(2,t.Button,{content:w.label,selected:w.name===C.type,disabled:!V,onClick:function(){function T(){return v("setstat",{statdisp:w.name})}return T}()},w.name)}),I=C.alerts.map(function(w){return(0,e.createComponentVNode)(2,t.Button,{content:w.label,selected:w.alert===C.icon,disabled:!V,onClick:function(){function T(){return v("setstat",{statdisp:3,alert:w.alert})}return T}()},w.alert)});return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Status Screens",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function w(){return v("main")}return w}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Presets",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alerts",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:C.line_1,disabled:!V,onClick:function(){function w(){return v("setmsg1")}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:C.line_2,disabled:!V,onClick:function(){function w(){return v("setmsg2")}return w}()})})]})})})},c=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.authhead,V=g.current_message_title,b=g.current_message,B=g.messages,I=g.security_level,w;if(V)w=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:V,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Return To Message List",disabled:!C,onClick:function(){function A(){return v("messagelist")}return A}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:b})})});else{var T=B.map(function(A){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:A.title,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eye",content:"View",disabled:!C||V===A.title,onClick:function(){function x(){return v("messagelist",{msgid:A.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"times",content:"Delete",disabled:!C,onClick:function(){function x(){return v("delmessage",{msgid:A.id})}return x}()})]},A.id)});w=(0,e.createComponentVNode)(2,t.Section,{title:"Messages Received",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function A(){return v("main")}return A}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:T})})}return(0,e.createComponentVNode)(2,t.Box,{children:w})},f=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=s.levels,V=s.required_access,b=s.use_confirm,B=g.security_level;return b?C.map(function(I){return(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:I.icon,content:I.name,disabled:!V||I.id===B,tooltip:I.tooltip,onClick:function(){function w(){return v("newalertlevel",{level:I.id})}return w}()},I.name)}):C.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{icon:I.icon,content:I.name,disabled:!V||I.id===B,tooltip:I.tooltip,onClick:function(){function w(){return v("newalertlevel",{level:I.id})}return w}()},I.name)})},u=function(s,d){var h=(0,a.useBackend)(d),v=h.act,g=h.data,C=g.is_admin,V=g.possible_cc_sounds;if(!C)return v("main");var b=(0,a.useLocalState)(d,"subtitle",""),B=b[0],I=b[1],w=(0,a.useLocalState)(d,"text",""),T=w[0],A=w[1],x=(0,a.useLocalState)(d,"classified",0),E=x[0],M=x[1],j=(0,a.useLocalState)(d,"beepsound","Beep"),P=j[0],R=j[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Central Command Report",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function D(){return v("main")}return D}()}),children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Subtitle here.",fluid:!0,value:B,onChange:function(){function D(F,W){return I(W)}return D}(),mb:"5px"}),(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Announcement here,\nMultiline input is accepted.",rows:10,fluid:!0,multiline:1,value:T,onChange:function(){function D(F,W){return A(W)}return D}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Send Announcement",fluid:!0,icon:"paper-plane",center:!0,mt:"5px",textAlign:"center",onClick:function(){function D(){return v("make_cc_announcement",{subtitle:B,text:T,classified:E,beepsound:P})}return D}()}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"260px",height:"20px",options:V,selected:P,onSelected:function(){function D(F){return R(F)}return D}(),disabled:E})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"volume-up",mx:"5px",disabled:E,tooltip:"Test sound",onClick:function(){function D(){return v("test_sound",{sound:P})}return D}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:E,content:"Classified",fluid:!0,tooltip:E?"Sent to station communications consoles":"Publically announced",onClick:function(){function D(){return M(!E)}return D}()})})]})]})})}},46868:function(L,r,n){"use strict";r.__esModule=!0,r.CompostBin=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.CompostBin=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.biomass,f=l.compost,u=l.biomass_capacity,i=l.compost_capacity,s=(0,a.useSharedState)(S,"vendAmount",1),d=s[0],h=s[1];return(0,e.createComponentVNode)(2,o.Window,{width:300,height:175,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{label:"Resources",children:[(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:1,width:17,value:c,minValue:0,maxValue:u,ranges:{good:[u*.5,1/0],average:[u*.25,u*.5],bad:[-1/0,u*.25]},children:[c," / ",u," Units"]})})})}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compost",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:17,value:f,minValue:0,maxValue:i,ranges:{good:[i*.5,1/0],average:[i*.25,i*.5],bad:[-1/0,i*.25]},children:[f," / ",i," Units"]})})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mr:"5px",color:"silver",children:"Soil clumps to make:"}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:d,width:"32px",minValue:1,maxValue:10,stepPixelSize:7,onChange:function(){function v(g,C){return h(C)}return v}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,align:"center",content:"Make Soil",disabled:f<25*d,icon:"arrow-circle-down",onClick:function(){function v(){return p("create",{amount:d})}return v}()})})})]})})})}return N}()},64707:function(L,r,n){"use strict";r.__esModule=!0,r.Contractor=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=n(99509),N=n(45493);function y(v,g){v.prototype=Object.create(g.prototype),v.prototype.constructor=v,S(v,g)}function S(v,g){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function C(V,b){return V.__proto__=b,V}return C}(),S(v,g)}var k={1:["ACTIVE","good"],2:["COMPLETED","good"],3:["FAILED","bad"]},p=["Recording biometric data...","Analyzing embedded syndicate info...","STATUS CONFIRMED","Contacting Syndicate database...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Response received, ack 4851234...","CONFIRM ACC "+Math.round(Math.random()*2e4),"Setting up private accounts...","CONTRACTOR ACCOUNT CREATED","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","CONTRACTS FOUND","WELCOME, AGENT"],l=r.Contractor=function(){function v(g,C){var V=(0,t.useBackend)(C),b=V.act,B=V.data,I;B.unauthorized?I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,d,{height:"100%",allMessages:["ERROR: UNAUTHORIZED USER"],finishedTimeout:100,onFinished:function(){function x(){}return x}()})}):B.load_animation_completed?I=(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",mt:"0.5rem",children:(0,e.createComponentVNode)(2,f)}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",overflow:"hidden",children:B.page===1?(0,e.createComponentVNode)(2,u,{height:"100%"}):(0,e.createComponentVNode)(2,s,{height:"100%"})})],4):I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,d,{height:"100%",allMessages:p,finishedTimeout:3e3,onFinished:function(){function x(){return b("complete_load_animation")}return x}()})});var w=(0,t.useLocalState)(C,"viewingPhoto",""),T=w[0],A=w[1];return(0,e.createComponentVNode)(2,N.Window,{theme:"syndicate",width:500,height:600,children:[T&&(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,N.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:I})})]})}return v}(),c=function(g,C){var V=(0,t.useBackend)(C),b=V.act,B=V.data,I=B.tc_available,w=B.tc_paid_out,T=B.completed_contracts,A=B.rep;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Summary",buttons:(0,e.createComponentVNode)(2,o.Box,{verticalAlign:"middle",mt:"0.25rem",children:[A," Rep"]})},g,{children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Available",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",children:[I," TC"]}),(0,e.createComponentVNode)(2,o.Button,{disabled:I<=0,content:"Claim",mx:"0.75rem",mb:"0",flexBasis:"content",onClick:function(){function x(){return b("claim")}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Earned",children:[w," TC"]})]})}),(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contracts Completed",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Box,{height:"20px",lineHeight:"20px",inline:!0,children:T})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},f=function(g,C){var V=(0,t.useBackend)(C),b=V.act,B=V.data,I=B.page;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Tabs,Object.assign({},g,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===1,onClick:function(){function w(){return b("page",{page:1})}return w}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===2,onClick:function(){function w(){return b("page",{page:2})}return w}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},u=function(g,C){var V=(0,t.useBackend)(C),b=V.act,B=V.data,I=B.contracts,w=B.contract_active,T=B.can_extract,A=!!w&&I.filter(function(P){return P.status===1})[0],x=A&&A.time_left>0,E=(0,t.useLocalState)(C,"viewingPhoto",""),M=E[0],j=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Contracts",overflow:"auto",buttons:(0,e.createComponentVNode)(2,o.Button,{disabled:!T||x,icon:"parachute-box",content:["Call Extraction",x&&(0,e.createComponentVNode)(2,m.Countdown,{timeLeft:A.time_left,format:function(){function P(R,D){return" ("+D.substr(3)+")"}return P}()})],onClick:function(){function P(){return b("extract")}return P}()})},g,{children:I.slice().sort(function(P,R){return P.status===1?-1:R.status===1?1:P.status-R.status}).map(function(P){var R;return(0,e.createComponentVNode)(2,o.Section,{title:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",color:P.status===1&&"good",children:P.target_name}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:P.has_photo&&(0,e.createComponentVNode)(2,o.Button,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){function D(){return j("target_photo_"+P.uid+".png")}return D}()})})]}),className:"Contractor__Contract",buttons:(0,e.createComponentVNode)(2,o.Box,{width:"100%",children:[!!k[P.status]&&(0,e.createComponentVNode)(2,o.Box,{color:k[P.status][1],inline:!0,mt:P.status!==1&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:k[P.status][0]}),P.status===1&&(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){function D(){return b("abort")}return D}()})]}),children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"2",mr:"0.5rem",children:[P.fluff_message,!!P.completed_time&&(0,e.createComponentVNode)(2,o.Box,{color:"good",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"check",mr:"0.5rem"}),"Contract completed at ",P.completed_time]}),!!P.dead_extraction&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",mt:"0.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"Telecrystals reward reduced drastically as the target was dead during extraction."]}),!!P.fail_reason&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"times",mr:"0.5rem"}),"Contract failed: ",P.fail_reason]})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{flexBasis:"100%",children:[(0,e.createComponentVNode)(2,o.Flex,{mb:"0.5rem",color:"label",children:["Extraction Zone:\xA0",i(P)]}),(R=P.difficulties)==null?void 0:R.map(function(D,F){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!w,content:D.name+" ("+D.reward+" TC)",onClick:function(){function W(){return b("activate",{uid:P.uid,difficulty:F+1})}return W}()},F)}),!!P.objective&&(0,e.createComponentVNode)(2,o.Box,{color:"white",bold:!0,children:[P.objective.extraction_name,(0,e.createVNode)(1,"br"),"(",(P.objective.rewards.tc||0)+" TC",",\xA0",(P.objective.rewards.credits||0)+" Credits",")"]})]})]})},P.uid)})})))},i=function(g){if(!(!g.objective||g.status>1)){var C=g.objective.locs.user_area_id,V=g.objective.locs.user_coords,b=g.objective.locs.target_area_id,B=g.objective.locs.target_coords,I=C===b;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:I?"dot-circle-o":"arrow-alt-circle-right-o",color:I?"green":"yellow",rotation:I?null:-(0,a.rad2deg)(Math.atan2(B[1]-V[1],B[0]-V[0])),lineHeight:I?null:"0.85",size:"1.5"})})}},s=function(g,C){var V=(0,t.useBackend)(C),b=V.act,B=V.data,I=B.rep,w=B.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},g,{children:w.map(function(T){return(0,e.createComponentVNode)(2,o.Section,{title:T.name,children:[T.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:I<T.cost||T.stock===0,icon:"shopping-cart",content:"Buy ("+T.cost+" Rep)",mt:"0.5rem",onClick:function(){function A(){return b("purchase",{uid:T.uid})}return A}()}),T.stock>-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:T.stock===0?"bad":"good",ml:"0.5rem",children:[T.stock," in stock"]})]},T.uid)})})))},d=function(v){function g(V){var b;return b=v.call(this,V)||this,b.timer=null,b.state={currentIndex:0,currentDisplay:[]},b}y(g,v);var C=g.prototype;return C.tick=function(){function V(){var b=this.props,B=this.state;if(B.currentIndex<=b.allMessages.length){this.setState(function(w){return{currentIndex:w.currentIndex+1}});var I=B.currentDisplay;I.push(b.allMessages[B.currentIndex])}else clearTimeout(this.timer),setTimeout(b.onFinished,b.finishedTimeout)}return V}(),C.componentDidMount=function(){function V(){var b=this,B=this.props.linesPerSecond,I=B===void 0?2.5:B;this.timer=setInterval(function(){return b.tick()},1e3/I)}return V}(),C.componentWillUnmount=function(){function V(){clearTimeout(this.timer)}return V}(),C.render=function(){function V(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(b){return(0,e.createFragment)([b,(0,e.createVNode)(1,"br")],0,b)})})}return V}(),g}(e.Component),h=function(g,C){var V=(0,t.useLocalState)(C,"viewingPhoto",""),b=V[0],B=V[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:b}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function I(){return B("")}return I}()})]})}},52141:function(L,r,n){"use strict";r.__esModule=!0,r.ConveyorSwitch=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.ConveyorSwitch=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.slowFactor,f=l.oneWay,u=l.position;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lever position",children:u>0?"forward":u<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!f,onClick:function(){function i(){return p("toggleOneWay")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slowdown factor",children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",onClick:function(){function i(){return p("slowFactor",{value:c-5})}return i}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-left",onClick:function(){function i(){return p("slowFactor",{value:c-1})}return i}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{width:"100px",mx:"1px",value:c,fillValue:c,minValue:1,maxValue:50,step:1,format:function(){function i(s){return s+"x"}return i}(),onChange:function(){function i(s,d){return p("slowFactor",{value:d})}return i}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-right",onClick:function(){function i(){return p("slowFactor",{value:c+1})}return i}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",onClick:function(){function i(){return p("slowFactor",{value:c+5})}return i}()})," "]})]})})]})})})})}return N}()},94187:function(L,r,n){"use strict";r.__esModule=!0,r.CrewMonitor=void 0;var e=n(96524),a=n(50640),t=n(78234),o=n(17899),m=n(24674),N=n(5126),y=n(38424),S=n(45493),k=function(i,s){return i.dead?"Deceased":parseInt(i.health,10)<=s?"Critical":parseInt(i.stat,10)===1?"Unconscious":"Living"},p=function(i,s){return i.dead?"red":parseInt(i.health,10)<=s?"orange":parseInt(i.stat,10)===1?"blue":"green"},l=r.CrewMonitor=function(){function u(i,s){var d=(0,o.useBackend)(s),h=d.act,v=d.data,g=(0,o.useLocalState)(s,"tabIndex",0),C=g[0],V=g[1],b=function(){function B(I){switch(I){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,f);default:return"WE SHOULDN'T BE HERE!"}}return B}();return(0,e.createComponentVNode)(2,S.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Tabs,{children:[(0,e.createComponentVNode)(2,m.Tabs.Tab,{icon:"table",selected:C===0,onClick:function(){function B(){return V(0)}return B}(),children:"Data View"},"DataView"),(0,e.createComponentVNode)(2,m.Tabs.Tab,{icon:"map-marked-alt",selected:C===1,onClick:function(){function B(){return V(1)}return B}(),children:"Map View"},"MapView")]})}),b(C)]})})})}return u}(),c=function(i,s){var d=(0,o.useBackend)(s),h=d.act,v=d.data,g=(0,a.sortBy)(function(A){return A.name})(v.crewmembers||[]),C=v.possible_levels,V=v.viewing_current_z_level,b=v.is_advanced,B=(0,o.useLocalState)(s,"search",""),I=B[0],w=B[1],T=(0,t.createSearch)(I,function(A){return A.name+"|"+A.assignment+"|"+A.area});return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,backgroundColor:"transparent",children:[(0,e.createComponentVNode)(2,m.Stack,{children:[(0,e.createComponentVNode)(2,m.Stack.Item,{width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,m.Input,{placeholder:"Search by name, assignment or location..",width:"100%",onInput:function(){function A(x,E){return w(E)}return A}()})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:b?(0,e.createComponentVNode)(2,m.Dropdown,{mr:"5px",width:"50px",options:C,selected:V,onSelected:function(){function A(x){return h("switch_level",{new_level:x})}return A}()}):null})]}),(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,m.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Location"})]}),g.filter(T).map(function(A){return(0,e.createComponentVNode)(2,m.Table.Row,{bold:!!A.is_command,children:[(0,e.createComponentVNode)(2,N.TableCell,{children:[A.name," (",A.assignment,")"]}),(0,e.createComponentVNode)(2,N.TableCell,{children:[(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:p(A,v.critThreshold),children:k(A,v.critThreshold)}),A.sensor_type>=2||v.ignoreSensors?(0,e.createComponentVNode)(2,m.Box,{inline:!0,ml:1,children:["(",(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:y.COLORS.damageType.oxy,children:A.oxy}),"|",(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:y.COLORS.damageType.toxin,children:A.tox}),"|",(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:y.COLORS.damageType.burn,children:A.fire}),"|",(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:y.COLORS.damageType.brute,children:A.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,N.TableCell,{children:A.sensor_type===3||v.ignoreSensors?v.isAI||v.isObserver?(0,e.createComponentVNode)(2,m.Button,{fluid:!0,icon:"location-arrow",content:A.area+" ("+A.x+", "+A.y+")",onClick:function(){function x(){return h("track",{track:A.ref})}return x}()}):A.area+" ("+A.x+", "+A.y+")":(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:"grey",children:"Not Available"})})]},A.name)})]})]})},f=function(i,s){var d=(0,o.useBackend)(s),h=d.act,v=d.data,g=(0,o.useLocalState)(s,"zoom",1),C=g[0],V=g[1];return(0,e.createComponentVNode)(2,m.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,m.NanoMap,{onZoom:function(){function b(B){return V(B)}return b}(),children:v.crewmembers.filter(function(b){return b.sensor_type===3||v.ignoreSensors}).map(function(b){return(0,e.createComponentVNode)(2,m.NanoMap.Marker,{x:b.x,y:b.y,zoom:C,icon:"circle",tooltip:b.name+" ("+b.assignment+")",color:p(b,v.critThreshold),onClick:function(){function B(){return v.isObserver?h("track",{track:b.ref}):null}return B}()},b.ref)})})})}},60561:function(L,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],N=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],y=r.Cryo=function(){function p(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:520,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S)})})})}return p}(),S=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.isOperating,d=i.hasOccupant,h=i.occupant,v=h===void 0?[]:h,g=i.cellTemperature,C=i.cellTemperatureStatus,V=i.isBeakerLoaded,b=i.cooldownProgress,B=i.auto_eject_healthy,I=i.auto_eject_dead;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",onClick:function(){function w(){return u("ejectOccupant")}return w}(),disabled:!d,children:"Eject"}),children:d?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:v.name||"Unknown"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:v.health,max:v.maxHealth,value:v.health/v.maxHealth,color:v.health>0?"good":"average",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v.health)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:N[v.stat][0],children:N[v.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v.bodyTemperature)})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),m.map(function(w){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:w.label,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:v[w.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v[w.type])})})},w.id)})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Cell",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function w(){return u("ejectBeaker")}return w}(),disabled:!V,children:"Eject Beaker"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",onClick:function(){function w(){return u(s?"switchOff":"switchOn")}return w}(),selected:s,children:s?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",color:C,children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:g})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dosage interval",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{average:[-1/0,99],good:[99,1/0]},color:!V&&"average",value:b,minValue:0,maxValue:100})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject healthy occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:B?"toggle-on":"toggle-off",selected:B,onClick:function(){function w(){return u(B?"auto_eject_healthy_off":"auto_eject_healthy_on")}return w}(),children:B?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject dead occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"toggle-on":"toggle-off",selected:I,onClick:function(){function w(){return u(I?"auto_eject_dead_off":"auto_eject_dead_on")}return w}(),children:I?"On":"Off"})})]})})})],4)},k=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.isBeakerLoaded,d=i.beakerLabel,h=i.beakerVolume;return s?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!d&&"average",children:[d||"No label",":"]}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!h&&"bad",ml:1,children:h?(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h,format:function(){function v(g){return Math.round(g)+" units remaining"}return v}()}):"Beaker is empty"})],4):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"bad",children:"No beaker loaded"})}},27889:function(L,r,n){"use strict";r.__esModule=!0,r.CryopodConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(78234),N=r.CryopodConsole=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.data,u=f.account_name,i=f.allow_items;return(0,e.createComponentVNode)(2,o.Window,{title:"Cryopod Console",width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(u||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,y),!!i&&(0,e.createComponentVNode)(2,S)]})})}return k}(),y=function(p,l){var c=(0,a.useBackend)(l),f=c.data,u=f.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:u.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(i,s){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:i.rank},s)})})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored crew!"})})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.frozen_items,s=function(h){var v=h.toString();return v.startsWith("the ")&&(v=v.slice(4,v.length)),(0,m.toTitleCase)(v)};return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Items",children:i.length?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:i.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s(d.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function h(){return f("one_item",{item:d.uid})}return h}()})},d)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function d(){return f("all_items")}return d}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},81434:function(L,r,n){"use strict";r.__esModule=!0,r.DNAModifier=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(99665),N=[["good","Alive"],["average","Critical"],["bad","DEAD"]],y=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],S=[5,10,20,30,50],k=r.DNAModifier=function(){function C(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.irradiating,A=w.dnaBlockSize,x=w.occupant;b.dnaBlockSize=A,b.isDNAInvalid=!x.isViableSubject||!x.uniqueIdentity||!x.structuralEnzymes;var E;return T&&(E=(0,e.createComponentVNode)(2,v,{duration:T})),(0,e.createComponentVNode)(2,o.Window,{width:660,height:775,children:[(0,e.createComponentVNode)(2,m.ComplexModal),E,(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,p)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l)})]})})]})}return C}(),p=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.locked,A=w.hasOccupant,x=w.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A,selected:T,icon:T?"toggle-on":"toggle-off",content:T?"Engaged":"Disengaged",onClick:function(){function E(){return I("toggleLock")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A||T,icon:"user-slash",content:"Eject",onClick:function(){function E(){return I("ejectOccupant")}return E}()})],4),children:A?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:x.minHealth,max:x.maxHealth,value:x.health/x.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:N[x.stat][0],children:N[x.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),b.isDNAInvalid?(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radiation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:"0",max:"100",value:x.radiationLevel/100,color:"average"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:w.occupant.uniqueEnzymes?w.occupant.uniqueEnzymes:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 Unknown"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Cell unoccupied."})})},l=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.selectedMenuKey,A=w.hasOccupant,x=w.occupant;if(A){if(b.isDNAInvalid)return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No operation possible on this subject."]})})})}else return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant in DNA modifier."]})})});var E;return T==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u)],4):T==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,u)],4):T==="buffer"?E=(0,e.createComponentVNode)(2,i):T==="rejuvenators"&&(E=(0,e.createComponentVNode)(2,h)),(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:y.map(function(M,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:M[2],selected:T===M[0],onClick:function(){function P(){return I("selectMenuKey",{key:M[0]})}return P}(),children:M[1]},j)})}),E]})},c=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.selectedUIBlock,A=w.selectedUISubBlock,x=w.selectedUITarget,E=w.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Unique Identifier",children:[(0,e.createComponentVNode)(2,g,{dnaString:E.uniqueIdentity,selectedBlock:T,selectedSubblock:A,blockSize:b.dnaBlockSize,action:"selectUIBlock"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:15,stepPixelSize:"20",value:x,format:function(){function M(j){return j.toString(16).toUpperCase()}return M}(),ml:"0",onChange:function(){function M(j,P){return I("changeUITarget",{value:P})}return M}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){function M(){return I("pulseUIRadiation")}return M}()})]})},f=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.selectedSEBlock,A=w.selectedSESubBlock,x=w.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Structural Enzymes",children:[(0,e.createComponentVNode)(2,g,{dnaString:x.structuralEnzymes,selectedBlock:T,selectedSubblock:A,blockSize:b.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){function E(){return I("pulseSERadiation")}return E}()})]})},u=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.radiationIntensity,A=w.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Emitter",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Intensity",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:T,popUpPosition:"right",ml:"0",onChange:function(){function x(E,M){return I("radiationIntensity",{value:M})}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:A,popUpPosition:"right",ml:"0",onChange:function(){function x(E,M){return I("radiationDuration",{value:M})}return x}()})})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-start",mt:"0.5rem",onClick:function(){function x(){return I("pulseRadiation")}return x}()})]})},i=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.buffers,A=T.map(function(x,E){return(0,e.createComponentVNode)(2,s,{id:E+1,name:"Buffer "+(E+1),buffer:x},E)});return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{height:"75%",mt:1,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Buffers",children:A})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,d)})]})},s=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=V.id,A=V.name,x=V.buffer,E=w.isInjectorReady,M=A+(x.data?" - "+x.label:"");return(0,e.createComponentVNode)(2,t.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,t.Section,{title:M,mx:"0",lineHeight:"18px",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!x.data,icon:"trash",content:"Clear",onClick:function(){function j(){return I("bufferOption",{option:"clear",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x.data,icon:"pen",content:"Rename",onClick:function(){function j(){return I("bufferOption",{option:"changeLabel",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x.data||!w.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-start",onClick:function(){function j(){return I("bufferOption",{option:"saveDisk",id:T})}return j}()})],4),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Write",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveUI",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveUIAndUE",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveSE",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!w.hasDisk||!w.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"loadDisk",id:T})}return j}()})]}),!!x.data&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:x.owner||(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[x.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!x.ue&&" and Unique Enzymes"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transfer to",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Injector",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"createInjector",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Block Injector",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"createInjector",id:T,block:1})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"transfer",id:T})}return j}()})]})],4)]}),!x.data&&(0,e.createComponentVNode)(2,t.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},d=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.hasDisk,A=w.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!T||!A.data,icon:"trash",content:"Wipe",onClick:function(){function x(){return I("wipeDisk")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function x(){return I("ejectDisk")}return x}()})],4),children:T?A.data?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Label",children:A.label?A.label:"No label"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:A.owner?A.owner:(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[A.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!A.ue&&" and Unique Enzymes"]})]}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Disk is blank."}):(0,e.createComponentVNode)(2,t.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"save-o",size:"4"}),(0,e.createVNode)(1,"br"),"No disk inserted."]})})},h=function(V,b){var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=w.isBeakerLoaded,A=w.beakerVolume,x=w.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function E(){return I("ejectBeaker")}return E}()}),children:T?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inject",children:[S.map(function(E,M){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>A,icon:"syringe",content:E,onClick:function(){function j(){return I("injectRejuvenators",{amount:E})}return j}()},M)}),(0,e.createComponentVNode)(2,t.Button,{disabled:A<=0,icon:"syringe",content:"All",onClick:function(){function E(){return I("injectRejuvenators",{amount:A})}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"0.5rem",children:x||"No label"}),A?(0,e.createComponentVNode)(2,t.Box,{color:"good",children:[A," unit",A===1?"":"s"," remaining"]}):(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Empty"})]})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No beaker loaded.",16)]})})})},v=function(V,b){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"average",children:(0,e.createVNode)(1,"h1",null,[(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"}),(0,e.createTextVNode)("\xA0Irradiating occupant\xA0"),(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"})],4)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,[(0,e.createTextVNode)("For "),V.duration,(0,e.createTextVNode)(" second"),V.duration===1?"":"s"],0)})]})},g=function(V,b){for(var B=(0,a.useBackend)(b),I=B.act,w=B.data,T=V.dnaString,A=V.selectedBlock,x=V.selectedSubblock,E=V.blockSize,M=V.action,j=T.split(""),P=0,R=[],D=function(){for(var _=F/E+1,H=[],z=function(){var J=$+1;H.push((0,e.createComponentVNode)(2,t.Button,{selected:A===_&&x===J,content:j[F+$],mb:"0",onClick:function(){function ce(){return I(M,{block:_,subblock:J})}return ce}()}))},$=0;$<E;$++)z();R.push((0,e.createComponentVNode)(2,t.Stack.Item,{mb:"1rem",mr:"1rem",width:7.8,textAlign:"right",children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,mr:"0.5rem",fontFamily:"monospace",children:_}),H]}))},F=0;F<j.length;F+=E)D();return(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:R})}},99127:function(L,r,n){"use strict";r.__esModule=!0,r.DestinationTagger=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.DestinationTagger=function(){function N(y,S){var k,p=(0,a.useBackend)(S),l=p.act,c=p.data,f=c.destinations,u=c.selected_destination_id,i=f[u-1];return(0,e.createComponentVNode)(2,o.Window,{width:355,height:330,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,textAlign:"center",title:"TagMaster 3.1",children:[(0,e.createComponentVNode)(2,t.Box,{width:"100%",textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,children:"Selected:"})," ",(k=i.name)!=null?k:"None"]}),(0,e.createComponentVNode)(2,t.Box,{mt:1.5,children:(0,e.createComponentVNode)(2,t.Stack,{overflowY:"auto",wrap:"wrap",align:"center",justify:"space-evenly",direction:"row",children:f.map(function(s,d){return(0,e.createComponentVNode)(2,t.Stack.Item,{m:"2px",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",width:"105px",textAlign:"center",content:s.name,selected:s.id===u,onClick:function(){function h(){return l("select_destination",{destination:s.id})}return h}()})},d)})})})]})})})})}return N}()},93430:function(L,r,n){"use strict";r.__esModule=!0,r.DisposalBin=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.DisposalBin=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c,f;return l.mode===2?(c="good",f="Ready"):l.mode<=0?(c="bad",f="N/A"):l.mode===1?(c="average",f="Pressurizing"):(c="average",f="Idle"),(0,e.createComponentVNode)(2,o.Window,{width:300,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State",color:c,children:f}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{bad:[-1/0,0],average:[0,99],good:[99,1/0]},value:l.pressure,minValue:0,maxValue:100})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Handle",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"toggle-off",disabled:l.isAI||l.panel_open,content:"Disengaged",selected:l.flushing?null:"selected",onClick:function(){function u(){return p("disengageHandle")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"toggle-on",disabled:l.isAI||l.panel_open,content:"Engaged",selected:l.flushing?"selected":null,onClick:function(){function u(){return p("engageHandle")}return u}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"toggle-off",disabled:l.mode===-1,content:"Off",selected:l.mode?null:"selected",onClick:function(){function u(){return p("pumpOff")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"toggle-on",disabled:l.mode===-1,content:"On",selected:l.mode?"selected":null,onClick:function(){function u(){return p("pumpOn")}return u}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Eject",children:(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",disabled:l.isAI,content:"Eject Contents",onClick:function(){function u(){return p("eject")}return u}()})})]})})]})})}return N}()},31491:function(L,r,n){"use strict";r.__esModule=!0,r.DnaVault=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.DnaVault=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.completed;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:270,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N),!!u&&(0,e.createComponentVNode)(2,y)]})})})}return S}(),N=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.dna,i=f.dna_max,s=f.plants,d=f.plants_max,h=f.animals,v=f.animals_max,g=.66,C=.33;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"DNA Vault Database",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Human DNA",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u/i,ranges:{good:[g,1/0],average:[C,g],bad:[-1/0,C]},children:u+" / "+i+" Samples"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plant DNA",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:s/d,ranges:{good:[g,1/0],average:[C,g],bad:[-1/0,C]},children:s+" / "+d+" Samples"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Animal DNA",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h/v,ranges:{good:[g,1/0],average:[C,g],bad:[-1/0,C]},children:h+" / "+v+" Samples"})})]})})})},y=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.choiceA,i=f.choiceB,s=f.used;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Personal Gene Therapy",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,textAlign:"center",mb:1,children:"Applicable Gene Therapy Treatments"}),!s&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,bold:!0,content:u,textAlign:"center",onClick:function(){function d(){return c("gene",{choice:u})}return d}()})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,bold:!0,content:i,textAlign:"center",onClick:function(){function d(){return c("gene",{choice:i})}return d}()})})]})||(0,e.createComponentVNode)(2,t.Box,{bold:!0,textAlign:"center",mb:1,children:"Users DNA deemed unstable. Unable to provide more upgrades."})]})})}},30747:function(L,r,n){"use strict";r.__esModule=!0,r.DroneConsole=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),m=n(45493),N=r.DroneConsole=function(){function k(p,l){return(0,e.createComponentVNode)(2,m.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,S)]})})}return k}(),y=function(p,l){var c=(0,t.useBackend)(l),f=c.act,u=c.data,i=u.drone_fab,s=u.fab_power,d=u.drone_prod,h=u.drone_progress,v=function(){return i?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"External Power",children:(0,e.createComponentVNode)(2,o.Box,{color:s?"good":"bad",children:["[ ",s?"Online":"Offline"," ]"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Drone Production",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:h/100,ranges:{good:[.7,1/0],average:[.4,.7],bad:[-1/0,.4]}})})]}):(0,e.createComponentVNode)(2,o.NoticeBox,{textAlign:"center",danger:1,children:(0,e.createComponentVNode)(2,o.Flex,{inline:1,direction:"column",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{children:"FABRICATOR NOT DETECTED."}),(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"search",content:"Search",onClick:function(){function C(){return f("find_fab")}return C}()})})]})})};return(0,e.createComponentVNode)(2,o.Section,{title:"Drone Fabricator",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",content:d?"Online":"Offline",color:d?"green":"red",onClick:function(){function g(){return f("toggle_fab")}return g}()}),children:v()})},S=function(p,l){var c=(0,t.useBackend)(l),f=c.act,u=c.data,i=u.drones,s=u.area_list,d=u.selected_area,h=u.ping_cd,v=function(V,b){var B,I;return V===2?(B="bad",I="Disabled"):V===1||!b?(B="average",I="Inactive"):(B="good",I="Active"),(0,e.createComponentVNode)(2,o.Box,{color:B,children:I})},g=function(){if(i.length)return(0,e.createComponentVNode)(2,o.Box,{py:.2,children:(0,e.createComponentVNode)(2,o.Divider)})};return(0,e.createComponentVNode)(2,o.Section,{title:"Maintenance Units",children:[(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{children:"Request Drone presence in area:\xA0"}),(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Dropdown,{options:s,selected:d,width:"125px",onSelected:function(){function C(V){return f("set_area",{area:V})}return C}()})})]}),(0,e.createComponentVNode)(2,o.Button,{content:"Send Ping",icon:"broadcast-tower",disabled:h||!i.length,title:i.length?null:"No active drones!",fluid:1,textAlign:"center",py:.4,mt:.6,onClick:function(){function C(){return f("ping")}return C}()}),(0,e.createComponentVNode)(2,g),i.map(function(C){return(0,e.createComponentVNode)(2,o.Section,{title:(0,a.toTitleCase)(C.name),buttons:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Resync",disabled:C.stat===2||C.sync_cd,onClick:function(){function V(){return f("resync",{uid:C.uid})}return V}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"power-off",content:"Recall",disabled:C.stat===2||C.pathfinding,tooltip:C.pathfinding?"This drone is currently pathfinding, please wait.":null,tooltipPosition:"left",color:"bad",onClick:function(){function V(){return f("recall",{uid:C.uid})}return V}()})})]}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:v(C.stat,C.client)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:C.health,ranges:{good:[.7,1/0],average:[.4,.7],bad:[-1/0,.4]}})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Charge",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:C.charge,ranges:{good:[.7,1/0],average:[.4,.7],bad:[-1/0,.4]}})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:C.location})]})},C.name)})]})}},74781:function(L,r,n){"use strict";r.__esModule=!0,r.EFTPOS=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),m=n(45493),N=r.EFTPOS=function(){function k(p,l){var c=(0,t.useBackend)(l),f=c.act,u=c.data,i=u.transaction_locked,s=u.machine_name;return(0,e.createComponentVNode)(2,m.Window,{width:500,height:250,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{title:"POS Terminal "+s,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:i?"Unlock EFTPOS":"Lock EFTPOS",tooltip:"Enter pin to modify transactions and EFTPOS settings",icon:i?"lock-open":"lock",onClick:function(){function d(){return f("toggle_lock")}return d}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Reset EFTPOS",tooltip:"Requires Captain, HoP or CC access",icon:"sync",onClick:function(){function d(){return f("reset")}return d}()})],4),children:i?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,S)})})})}return k}(),y=function(p,l){var c=(0,t.useBackend)(l),f=c.act,u=c.data,i=u.transaction_amount,s=u.transaction_paid;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{mt:2,bold:!0,width:"100%",fontSize:"3rem",color:s?"green":"red",align:"center",justify:"center",children:["Payment ",s?"Accepted":"Due",": $",i]}),(0,e.createComponentVNode)(2,o.Box,{mt:.5,fontSize:"1.25rem",align:"center",justify:"center",children:s?"This transaction has been processed successfully ":"Swipe your card to finish this transaction."})],4)},S=function(p,l){var c,f=(0,t.useBackend)(l),u=f.act,i=f.data,s=(0,t.useLocalState)(l,"searchText",""),d=s[0],h=s[1],v=i.transaction_purpose,g=i.transaction_amount,C=i.linked_account,V=i.available_accounts,b=[];return V.map(function(B){return b[B.name]=B.UID}),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,o.Button,{content:v,icon:"edit",onClick:function(){function B(){return u("trans_purpose")}return B}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Value",children:(0,e.createComponentVNode)(2,o.Button,{content:g?"$"+g:"$0",icon:"edit",onClick:function(){function B(){return u("trans_value")}return B}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Linked Account",children:[(0,e.createComponentVNode)(2,o.Box,{mb:.5,children:C.name}),(0,e.createComponentVNode)(2,o.Input,{width:"190px",placeholder:"Search by name",onInput:function(){function B(I,w){return h(w)}return B}()}),(0,e.createComponentVNode)(2,o.Dropdown,{mt:.6,width:"190px",options:V.filter((0,a.createSearch)(d,function(B){return B.name})).map(function(B){return B.name}),selected:(c=V.filter(function(B){return B.UID===C.UID})[0])==null?void 0:c.name,onSelected:function(){function B(I){return u("link_account",{account:b[I]})}return B}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,o.Button,{content:"Change access code",icon:"key",onClick:function(){function B(){return u("change_code")}return B}()})})]})}},30672:function(L,r,n){"use strict";r.__esModule=!0,r.ERTOverview=r.ERTManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(78234),N=function(f){switch(f){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,p);case 2:return(0,e.createComponentVNode)(2,l);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP, WAIT YOU'RE AN ADMIN, OH FUUUUCK! call a coder or something"}},y=r.ERTManager=function(){function c(f,u){var i=(0,a.useBackend)(u),s=i.act,d=i.data,h=(0,a.useLocalState)(u,"tabIndex",0),v=h[0],g=h[1];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:505,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function C(){g(0)}return C}(),icon:"ambulance",children:"Send ERT"},"SendERT"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function C(){g(1)}return C}(),icon:"book",children:"Read ERT Requests"},"ReadERTRequests"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,onClick:function(){function C(){g(2)}return C}(),icon:"times",children:"Deny ERT"},"DenyERT")]})}),N(v)]})})})}return c}(),S=r.ERTOverview=function(){function c(f,u){var i=(0,a.useBackend)(u),s=i.act,d=i.data,h=d.security_level_color,v=d.str_security_level,g=d.ert_request_answered;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Overview",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:h,children:v}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT Request",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:g,textColor:g?null:"bad",content:g?"Answered":"Unanswered",onClick:function(){function C(){return s("toggle_ert_request_answered")}return C}(),tooltip:"Checking this box will disable the next ERT reminder notification",selected:null})})]})})})}return c}(),k=function(f,u){var i=(0,a.useBackend)(u),s=i.act,d=i.data,h=[0,1,2,3,4,5],v=(0,a.useLocalState)(u,"silentERT",!1),g=v[0],C=v[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Send ERT",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{width:5,content:"Amber",textAlign:"center",color:d.ert_type==="Amber"?"orange":"",onClick:function(){function V(){return s("ert_type",{ert_type:"Amber"})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,content:"Red",textAlign:"center",color:d.ert_type==="Red"?"red":"",onClick:function(){function V(){return s("ert_type",{ert_type:"Red"})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,content:"Gamma",textAlign:"center",color:d.ert_type==="Gamma"?"purple":"",onClick:function(){function V(){return s("ert_type",{ert_type:"Gamma"})}return V}()})],4),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Commander",children:(0,e.createComponentVNode)(2,t.Button,{icon:d.com?"toggle-on":"toggle-off",selected:d.com,content:d.com?"Yes":"No",onClick:function(){function V(){return s("toggle_com")}return V}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Security",children:h.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{selected:d.sec===V,content:V,onClick:function(){function B(){return s("set_sec",{set_sec:V})}return B}()},"sec"+V)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Medical",children:h.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{selected:d.med===V,content:V,onClick:function(){function B(){return s("set_med",{set_med:V})}return B}()},"med"+V)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Engineering",children:h.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{selected:d.eng===V,content:V,onClick:function(){function B(){return s("set_eng",{set_eng:V})}return B}()},"eng"+V)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Paranormal",children:h.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{selected:d.par===V,content:V,onClick:function(){function B(){return s("set_par",{set_par:V})}return B}()},"par"+V)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitor",children:h.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{selected:d.jan===V,content:V,onClick:function(){function B(){return s("set_jan",{set_jan:V})}return B}()},"jan"+V)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cyborg",children:h.map(function(V,b){return(0,e.createComponentVNode)(2,t.Button,{selected:d.cyb===V,content:V,onClick:function(){function B(){return s("set_cyb",{set_cyb:V})}return B}()},"cyb"+V)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Security Module",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,disabled:d.ert_type!=="Red"||!d.cyb,icon:d.secborg?"toggle-on":"toggle-off",color:d.secborg?"red":"",content:d.secborg?"Enabled":d.ert_type!=="Red"?"Unavailable":"Disabled",textAlign:"center",onClick:function(){function V(){return s("toggle_secborg")}return V}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Silent ERT",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,icon:g?"microphone-slash":"microphone",content:g?"Silenced":"Public",textAlign:"center",selected:g,onClick:function(){function V(){return C(!g)}return V}(),tooltip:g?"This ERT will not be announced to the station":"This ERT will be announced to the station on dispatch",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Slots",children:(0,e.createComponentVNode)(2,t.Box,{color:d.total>d.spawnpoints?"red":"green",children:[d.total," total, versus ",d.spawnpoints," spawnpoints"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispatch",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,textAlign:"center",icon:"ambulance",content:"Send ERT",onClick:function(){function V(){return s("dispatch_ert",{silent:g})}return V}()})})]})})})},p=function(f,u){var i=(0,a.useBackend)(u),s=i.act,d=i.data,h=d.ert_request_messages;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:h&&h.length?h.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.time,buttons:(0,e.createComponentVNode)(2,t.Button,{content:v.sender_real_name,onClick:function(){function g(){return s("view_player_panel",{uid:v.sender_uid})}return g}(),tooltip:"View player panel"}),children:v.message},(0,m.decodeHtmlEntities)(v.time))}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"broadcast-tower",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No ERT requests."]})})})})},l=function(f,u){var i=(0,a.useBackend)(u),s=i.act,d=i.data,h=(0,a.useLocalState)(u,"text",""),v=h[0],g=h[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter ERT denial reason here,\nMultiline input is accepted.",rows:19,fluid:!0,multiline:1,value:v,onChange:function(){function C(V,b){return g(b)}return C}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Deny ERT",fluid:!0,icon:"times",center:!0,mt:2,textAlign:"center",onClick:function(){function C(){return s("deny_ert",{reason:v})}return C}()})]})})}},24503:function(L,r,n){"use strict";r.__esModule=!0,r.EconomyManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(99665),N=r.EconomyManager=function(){function S(k,p){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:350,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})]})}return S}(),y=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.next_payroll_time;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"coins",verticalAlign:"middle",size:3,mr:"1rem"}),"Economy Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{label:"Pay Bonuses and Deductions",children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Global",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Global Payroll Modification",onClick:function(){function i(){return c("payroll_modification",{mod_type:"global"})}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Account Payroll Modification",onClick:function(){function i(){return c("payroll_modification",{mod_type:"department"})}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Members",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Members Payroll Modification",onClick:function(){function i(){return c("payroll_modification",{mod_type:"department_members"})}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Single Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Crew Member Payroll Modification",onClick:function(){function i(){return c("payroll_modification",{mod_type:"crew_member"})}return i}()})})]}),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Box,{mb:.5,children:["Next Payroll in: ",u," Minutes"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",width:"auto",color:"bad",content:"Delay Payroll",onClick:function(){function i(){return c("delay_payroll")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{width:"auto",content:"Set Payroll Time",onClick:function(){function i(){return c("set_payroll")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",width:"auto",color:"good",content:"Accelerate Payroll",onClick:function(){function i(){return c("accelerate_payroll")}return i}()})]}),(0,e.createComponentVNode)(2,t.NoticeBox,{children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," You take full responsibility for unbalancing the economy with these buttons"]})],4)}},15543:function(L,r,n){"use strict";r.__esModule=!0,r.Electropack=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=n(45493),N=r.Electropack=function(){function y(S,k){var p=(0,t.useBackend)(k),l=p.act,c=p.data,f=c.power,u=c.code,i=c.frequency,s=c.minFrequency,d=c.maxFrequency;return(0,e.createComponentVNode)(2,m.Window,{width:360,height:135,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,o.Button,{icon:f?"power-off":"times",content:f?"On":"Off",selected:f,onClick:function(){function h(){return l("power")}return h}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function h(){return l("reset",{reset:"freq"})}return h}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:s/10,maxValue:d/10,value:i/10,format:function(){function h(v){return(0,a.toFixed)(v,1)}return h}(),width:"80px",onChange:function(){function h(v,g){return l("freq",{freq:g})}return h}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function h(){return l("reset",{reset:"code"})}return h}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:u,width:"80px",onChange:function(){function h(v,g){return l("code",{code:g})}return h}()})})]})})})})}return y}()},57013:function(L,r,n){"use strict";r.__esModule=!0,r.Emojipedia=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),m=n(45493),N=r.Emojipedia=function(){function S(k,p){var l=(0,t.useBackend)(p),c=l.data,f=c.emoji_list,u=(0,t.useLocalState)(p,"searchText",""),i=u[0],s=u[1],d=f.filter(function(h){return h.name.toLowerCase().includes(i.toLowerCase())});return(0,e.createComponentVNode)(2,m.Window,{width:325,height:400,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Emojipedia v1.0.1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by name",value:i,onInput:function(){function h(v,g){return s(g)}return h}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Click on an emoji to copy its tag!",tooltipPosition:"bottom",icon:"circle-question"})],4),children:d.map(function(h){return(0,e.createComponentVNode)(2,o.Button,{m:1,color:"transparent",className:(0,a.classes)(["emoji16x16","emoji-"+h.name]),style:{transform:"scale(1.5)"},tooltip:h.name,onClick:function(){function v(){y(h.name)}return v}()},h.name)})})})})}return S}(),y=function(k){var p=document.createElement("input"),l=":"+k+":";p.value=l,document.body.appendChild(p),p.select(),document.execCommand("copy"),document.body.removeChild(p)}},75450:function(L,r,n){"use strict";r.__esModule=!0,r.EmotePanelContent=r.EmotePanel=void 0;var e=n(96524),a=n(17899),t=n(45493),o=n(24674),m=n(78234),N=r.EmotePanel=function(){function S(k,p){return(0,e.createComponentVNode)(2,t.Window,{width:500,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,y)})})})}return S}(),y=r.EmotePanelContent=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.emotes,i=(0,a.useLocalState)(p,"searchText",""),s=i[0],d=i[1],h=(0,a.useLocalState)(p,"filterVisible",""),v=h[0],g=h[1],C=(0,a.useLocalState)(p,"filterAudible",""),V=C[0],b=C[1],B=(0,a.useLocalState)(p,"filterSound",""),I=B[0],w=B[1],T=(0,a.useLocalState)(p,"filterHands",""),A=T[0],x=T[1],E=(0,a.useLocalState)(p,"filterTargettable",""),M=E[0],j=E[1],P=(0,a.useLocalState)(p,"useTarget",""),R=P[0],D=P[1],F=(0,e.createComponentVNode)(2,o.Input,{placeholder:"\u0418\u0441\u043A\u0430\u0442\u044C \u044D\u043C\u043E\u0446\u0438\u044E...",fluid:!0,onInput:function(){function W(_,H){return d(H)}return W}()});return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",buttons:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Button,{icon:"eye",align:"center",tooltip:"\u0412\u0438\u0434\u0438\u043C\u044B\u0439",selected:v,onClick:function(){function W(){return g(!v)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",align:"center",tooltip:"\u0421\u043B\u044B\u0448\u0438\u043C\u044B\u0439",selected:V,onClick:function(){function W(){return b(!V)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"volume-up",align:"center",tooltip:"\u0417\u0432\u0443\u043A",selected:I,onClick:function(){function W(){return w(!I)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"hand-paper",align:"center",tooltip:"\u0420\u0443\u043A\u0438",selected:A,onClick:function(){function W(){return x(!A)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"crosshairs",height:"100%",align:"center",tooltip:"\u0426\u0435\u043B\u044C",selected:M,onClick:function(){function W(){return j(!M)}return W}()})]}),children:F})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s.length>0?'\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 "'+s+'"':"\u0412\u0441\u0435 \u044D\u043C\u043E\u0446\u0438\u0438",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"crosshairs",selected:R,onClick:function(){function W(){return D(!R)}return W}(),children:"\u0412\u044B\u0431\u0438\u0440\u0430\u0442\u044C \u0446\u0435\u043B\u044C"}),children:(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:u.filter(function(W){return W.key&&(s.length>0?W.key.toLowerCase().includes(s.toLowerCase())||W.name.toLowerCase().includes(s.toLowerCase()):!0)&&(v?W.visible:!0)&&(V?W.audible:!0)&&(I?W.sound:!0)&&(A?W.hands:!0)&&(M?W.targettable:!0)}).map(function(W){return(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function _(){return c("play_emote",{emote_key:W.key,useTarget:R})}return _}(),children:[W.visible?(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}):"",W.audible?(0,e.createComponentVNode)(2,o.Icon,{name:"comment"}):"",W.sound?(0,e.createComponentVNode)(2,o.Icon,{name:"volume-up"}):"",W.hands?(0,e.createComponentVNode)(2,o.Icon,{name:"hand-paper"}):"",W.targettable?(0,e.createComponentVNode)(2,o.Icon,{name:"crosshairs"}):"",W.name]},W.name)})})})})})],4)}return S}()},99012:function(L,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),m=n(45493),N=n(74041),y=n(50640),S=r.EvolutionMenu=function(){function l(c,f){return(0,e.createComponentVNode)(2,m.Window,{width:480,height:580,theme:"changeling",children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,p)]})})})}return l}(),k=function(c,f){var u=(0,t.useBackend)(f),i=u.act,s=u.data,d=s.evo_points,h=s.can_respec;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Evolution Points",height:5.5,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,color:"label",children:"Points remaining:"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,ml:2,bold:!0,color:"#1b945c",children:d}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Button,{ml:2.5,disabled:!h,content:"Readapt",icon:"sync",onClick:function(){function v(){return i("readapt")}return v}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"By transforming a humanoid into a husk, we gain the ability to readapt our chosen evolutions.",tooltipPosition:"bottom",icon:"question-circle"})]})]})})})},p=function(c,f){var u=(0,t.useBackend)(f),i=u.act,s=u.data,d=s.evo_points,h=s.ability_tabs,v=s.purchased_abilities,g=s.view_mode,C=(0,t.useLocalState)(f,"selectedTab",h[0]),V=C[0],b=C[1],B=(0,t.useLocalState)(f,"searchText",""),I=B[0],w=B[1],T=(0,t.useLocalState)(f,"ability_tabs",h[0].abilities),A=T[0],x=T[1],E=function(R,D){if(D===void 0&&(D=""),!R||R.length===0)return[];var F=(0,a.createSearch)(D,function(W){return W.name+"|"+W.description});return(0,N.flow)([(0,y.filter)(function(W){return W==null?void 0:W.name}),(0,y.filter)(F),(0,y.sortBy)(function(W){return W==null?void 0:W.name})])(R)},M=function(R){if(w(R),R==="")return x(V.abilities);x(E(h.map(function(D){return D.abilities}).flat(),R))},j=function(R){b(R),x(R.abilities),w("")};return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Abilities",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{width:"200px",placeholder:"Search Abilities",onInput:function(){function P(R,D){M(D)}return P}(),value:I}),(0,e.createComponentVNode)(2,o.Button,{icon:g?"square-o":"check-square-o",selected:!g,content:"Compact",onClick:function(){function P(){return i("set_view_mode",{mode:0})}return P}()}),(0,e.createComponentVNode)(2,o.Button,{icon:g?"check-square-o":"square-o",selected:g,content:"Expanded",onClick:function(){function P(){return i("set_view_mode",{mode:1})}return P}()})],4),children:[(0,e.createComponentVNode)(2,o.Tabs,{children:h.map(function(P){return(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===""&&V===P,onClick:function(){function R(){j(P)}return R}(),children:P.category},P)})}),A.map(function(P,R){return(0,e.createComponentVNode)(2,o.Box,{p:.5,mx:-1,className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{ml:.5,color:"#dedede",children:P.name}),v.includes(P.power_path)&&(0,e.createComponentVNode)(2,o.Stack.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mr:3,textAlign:"right",grow:1,children:[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:["Cost:"," "]}),(0,e.createComponentVNode)(2,o.Box,{as:"span",bold:!0,color:"#1b945c",children:P.cost})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,o.Button,{mr:.5,disabled:P.cost>d||v.includes(P.power_path),content:"Evolve",onClick:function(){function D(){return i("purchase",{power_path:P.power_path})}return D}()})})]}),!!g&&(0,e.createComponentVNode)(2,o.Stack,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:P.description+" "+P.helptext})]},R)})]})})}},37504:function(L,r,n){"use strict";r.__esModule=!0,r.ExosuitFabricator=void 0;var e=n(96524),a=n(28234),t=n(78234),o=n(17899),m=n(24674),N=n(99509),y=n(45493),S=["id","amount","lineDisplay","onClick"];function k(v,g){if(v==null)return{};var C={},V=Object.keys(v),b,B;for(B=0;B<V.length;B++)b=V[B],!(g.indexOf(b)>=0)&&(C[b]=v[b]);return C}var p=2e3,l={bananium:"clown",tranquillite:"mime"},c=r.ExosuitFabricator=function(){function v(g,C){var V=(0,o.useBackend)(C),b=V.act,B=V.data,I=B.building;return(0,e.createComponentVNode)(2,y.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,y.Window.Content,{className:"Exofab",children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,u)}),I&&(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,i)})]})}),(0,e.createComponentVNode)(2,m.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f)}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s)})]})})]})})})}return v}(),f=function(g,C){var V=(0,o.useBackend)(C),b=V.act,B=V.data,I=B.materials,w=B.capacity,T=Object.values(I).reduce(function(A,x){return A+x},0);return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,title:"Materials",className:"Exofab__materials",buttons:(0,e.createComponentVNode)(2,m.Box,{color:"label",mt:"0.25rem",children:[(T/w*100).toPrecision(3),"% full"]}),children:["metal","glass","silver","gold","uranium","titanium","plasma","diamond","bluespace","bananium","tranquillite","plastic"].map(function(A){return(0,e.createComponentVNode)(2,d,{mt:-2,id:A,bold:A==="metal"||A==="glass",onClick:function(){function x(){return b("withdraw",{id:A})}return x}()},A)})})},u=function(g,C){var V=(0,o.useBackend)(C),b=V.act,B=V.data,I=B.curCategory,w=B.categories,T=B.designs,A=B.syncing,x=(0,o.useLocalState)(C,"searchText",""),E=x[0],M=x[1],j=(0,t.createSearch)(E,function(R){return R.name}),P=T.filter(j);return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,className:"Exofab__designs",title:(0,e.createComponentVNode)(2,m.Dropdown,{className:"Exofab__dropdown",selected:I,options:w,onSelected:function(){function R(D){return b("category",{cat:D})}return R}()}),buttons:(0,e.createComponentVNode)(2,m.Box,{mt:"2px",children:[(0,e.createComponentVNode)(2,m.Button,{icon:"plus",content:"Queue all",onClick:function(){function R(){return b("queueall")}return R}()}),(0,e.createComponentVNode)(2,m.Button,{disabled:A,iconSpin:A,icon:"sync-alt",content:A?"Synchronizing...":"Synchronize with R&D servers",onClick:function(){function R(){return b("sync")}return R}()})]}),children:[(0,e.createComponentVNode)(2,m.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function R(D,F){return M(F)}return R}()}),P.map(function(R){return(0,e.createComponentVNode)(2,h,{design:R},R.id)}),P.length===0&&(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"No designs found."})]})},i=function(g,C){var V=(0,o.useBackend)(C),b=V.act,B=V.data,I=B.building,w=B.buildStart,T=B.buildEnd,A=B.worldTime;return(0,e.createComponentVNode)(2,m.Section,{className:"Exofab__building",stretchContents:!0,children:(0,e.createComponentVNode)(2,m.ProgressBar.Countdown,{start:w,current:A,end:T,children:(0,e.createComponentVNode)(2,m.Stack,{children:[(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Icon,{name:"cog",spin:!0})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:["Building ",I,"\xA0(",(0,e.createComponentVNode)(2,N.Countdown,{current:A,timeLeft:T-A,format:function(){function x(E,M){return M.substr(3)}return x}()}),")"]})]})})})},s=function(g,C){var V=(0,o.useBackend)(C),b=V.act,B=V.data,I=B.queue,w=B.processingQueue,T=Object.entries(B.queueDeficit).filter(function(x){return x[1]<0}),A=I.reduce(function(x,E){return x+E.time},0);return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,className:"Exofab__queue",title:"Queue",buttons:(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,m.Button,{selected:w,icon:w?"toggle-on":"toggle-off",content:"Process",onClick:function(){function x(){return b("process")}return x}()}),(0,e.createComponentVNode)(2,m.Button,{disabled:I.length===0,icon:"eraser",content:"Clear",onClick:function(){function x(){return b("unqueueall")}return x}()})]}),children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:I.length===0?(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"The queue is empty."}):(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Stack.Item,{className:"Exofab__queue--queue",grow:!0,overflow:"auto",children:I.map(function(x,E){return(0,e.createComponentVNode)(2,m.Box,{color:x.notEnough&&"bad",children:[E+1,". ",x.name,E>0&&(0,e.createComponentVNode)(2,m.Button,{icon:"arrow-up",onClick:function(){function M(){return b("queueswap",{from:E+1,to:E})}return M}()}),E<I.length-1&&(0,e.createComponentVNode)(2,m.Button,{icon:"arrow-down",onClick:function(){function M(){return b("queueswap",{from:E+1,to:E+2})}return M}()}),(0,e.createComponentVNode)(2,m.Button,{icon:"times",color:"red",onClick:function(){function M(){return b("unqueue",{index:E+1})}return M}()})]},E)})}),A>0&&(0,e.createComponentVNode)(2,m.Stack.Item,{className:"Exofab__queue--time",children:[(0,e.createComponentVNode)(2,m.Divider),"Processing time:",(0,e.createComponentVNode)(2,m.Icon,{name:"clock",mx:"0.5rem"}),(0,e.createComponentVNode)(2,m.Box,{inline:!0,bold:!0,children:new Date(A/10*1e3).toISOString().substr(14,5)})]}),Object.keys(T).length>0&&(0,e.createComponentVNode)(2,m.Stack.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,e.createComponentVNode)(2,m.Divider),"Lacking materials to complete:",T.map(function(x){return(0,e.createComponentVNode)(2,m.Box,{children:(0,e.createComponentVNode)(2,d,{id:x[0],amount:-x[1],lineDisplay:!0})},x[0])})]})],0)})})},d=function(g,C){var V=(0,o.useBackend)(C),b=V.act,B=V.data,I=g.id,w=g.amount,T=g.lineDisplay,A=g.onClick,x=k(g,S),E=B.materials[I]||0,M=w||E;if(!(M<=0&&!(I==="metal"||I==="glass"))){var j=w&&w>E;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",T&&"Exofab__material--line"])},x,{children:T?(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Stack.Item,{className:(0,a.classes)(["materials32x32",I])}),(0,e.createComponentVNode)(2,m.Stack.Item,{className:"Exofab__material--amount",color:j&&"bad",ml:0,mr:1,children:M.toLocaleString("en-US")})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Stack.Item,{basis:"content",children:(0,e.createComponentVNode)(2,m.Button,{width:"85%",color:"transparent",onClick:A,children:(0,e.createComponentVNode)(2,m.Box,{mt:1,className:(0,a.classes)(["materials32x32",I])})})}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,m.Box,{className:"Exofab__material--name",children:I}),(0,e.createComponentVNode)(2,m.Box,{className:"Exofab__material--amount",children:[M.toLocaleString("en-US")," cm\xB3 (",Math.round(M/p*10)/10," ","sheets)"]})]})],4)})))}},h=function(g,C){var V=(0,o.useBackend)(C),b=V.act,B=V.data,I=g.design;return(0,e.createComponentVNode)(2,m.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,m.Button,{disabled:I.notEnough||B.building,icon:"cog",content:I.name,onClick:function(){function w(){return b("build",{id:I.id})}return w}()}),(0,e.createComponentVNode)(2,m.Button,{icon:"plus-circle",onClick:function(){function w(){return b("queue",{id:I.id})}return w}()}),(0,e.createComponentVNode)(2,m.Box,{className:"Exofab__design--cost",children:Object.entries(I.cost).map(function(w){return(0,e.createComponentVNode)(2,m.Box,{children:(0,e.createComponentVNode)(2,d,{id:w[0],amount:w[1],lineDisplay:!0})},w[0])})}),(0,e.createComponentVNode)(2,m.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,m.Stack.Item,{children:[(0,e.createComponentVNode)(2,m.Icon,{name:"clock"}),I.time>0?(0,e.createFragment)([I.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})}},9466:function(L,r,n){"use strict";r.__esModule=!0,r.ExperimentConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=new Map([[0,{text:"Conscious",color:"good"}],[1,{text:"Unconscious",color:"average"}],[2,{text:"Deceased",color:"bad"}]]),N=new Map([[0,{label:"Probe",icon:"thermometer"}],[1,{label:"Dissect",icon:"brain"}],[2,{label:"Analyze",icon:"search"}]]),y=r.ExperimentConsole=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.open,i=f.feedback,s=f.occupant,d=f.occupant_name,h=f.occupant_status,v=function(){function C(){if(!s)return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No specimen detected."});var V=function(){function B(){return m.get(h)}return B}(),b=V();return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:b.color,children:b.text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Experiments",children:[0,1,2].map(function(B){return(0,e.createComponentVNode)(2,t.Button,{icon:N.get(B).icon,content:N.get(B).label,onClick:function(){function I(){return c("experiment",{experiment_type:B})}return I}()},B)})})]})}return C}(),g=v();return(0,e.createComponentVNode)(2,o.Window,{theme:"abductor",width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:i})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Scanner",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!u,onClick:function(){function C(){return c("door")}return C}()}),children:g})]})})}return S}()},77284:function(L,r,n){"use strict";r.__esModule=!0,r.ExternalAirlockController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=0,N=1013,y=function(p){var l="good",c=80,f=95,u=110,i=120;return p<c?l="bad":p<f||p>u?l="average":p>i&&(l="bad"),l},S=r.ExternalAirlockController=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.chamber_pressure,s=u.exterior_status,d=u.interior_status,h=u.processing;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:205,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:y(i),value:i,minValue:m,maxValue:N,children:[i," kPa"]})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Abort",icon:"ban",color:"red",disabled:!h,onClick:function(){function v(){return f("abort")}return v}()}),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:h,onClick:function(){function v(){return f("cycle_ext")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:h,onClick:function(){function v(){return f("cycle_int")}return v}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Force Exterior Door",icon:"exclamation-triangle",color:d==="open"?"red":h?"yellow":null,onClick:function(){function v(){return f("force_ext")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Force Interior Door",icon:"exclamation-triangle",color:d==="open"?"red":h?"yellow":null,onClick:function(){function v(){return f("force_int")}return v}()})]})]})]})})}return k}()},52516:function(L,r,n){"use strict";r.__esModule=!0,r.FaxMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.FaxMachine=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;return(0,e.createComponentVNode)(2,o.Window,{width:540,height:295,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.scan_name?"eject":"id-card",selected:l.scan_name,content:l.scan_name?l.scan_name:"-----",tooltip:l.scan_name?"Eject ID":"Insert ID",onClick:function(){function c(){return p("scan")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.authenticated?"sign-out-alt":"id-card",selected:l.authenticated,disabled:l.nologin,content:l.realauth?"Log Out":"Log In",onClick:function(){function c(){return p("auth")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fax Menu",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network",children:l.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:l.paper?"eject":"paperclip",disabled:!l.authenticated&&!l.paper,content:l.paper?l.paper:"-----",onClick:function(){function c(){return p("paper")}return c}()}),!!l.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function c(){return p("rename")}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:l.destination?l.destination:"-----",disabled:!l.authenticated,onClick:function(){function c(){return p("dept")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:l.sendError?l.sendError:"Send",disabled:!l.paper||!l.destination||!l.authenticated||l.sendError,onClick:function(){function c(){return p("send")}return c}()})})]})})]})})}return N}()},24777:function(L,r,n){"use strict";r.__esModule=!0,r.FilingCabinet=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.FilingCabinet=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=k.config,f=l.contents,u=c.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Contents",children:[!f&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"folder-open",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"The ",u," is empty."]})}),!!f&&f.slice().map(function(i){return(0,e.createComponentVNode)(2,t.Stack,{mt:.5,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"80%",children:i.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Retrieve",onClick:function(){function s(){return p("retrieve",{index:i.index})}return s}()})})]},i)})]})})})})}return N}()},88361:function(L,r,n){"use strict";r.__esModule=!0,r.FloorPainter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=S.image,u=S.isSelected,i=S.onSelect;return(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+f,style:{"border-style":u&&"solid"||"none","border-width":"2px","border-color":"orange",padding:u&&"2px"||"4px"},onClick:i})},N=r.FloorPainter=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.availableStyles,u=c.selectedStyle,i=c.selectedDir,s=c.directionsPreview,d=c.allStylesPreview;return(0,e.createComponentVNode)(2,o.Window,{width:405,height:475,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Decal setup",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",onClick:function(){function h(){return l("cycle_style",{offset:-1})}return h}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:f,selected:u,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function h(v){return l("select_style",{style:v})}return h}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function h(){return l("cycle_style",{offset:1})}return h}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",mb:"5px",children:(0,e.createComponentVNode)(2,t.Flex,{overflowY:"auto",maxHeight:"220px",wrap:"wrap",children:f.map(function(h){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,m,{image:d[h],isSelected:u===h,onSelect:function(){function v(){return l("select_style",{style:h})}return v}()})},"{style}")})})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Direction",children:(0,e.createComponentVNode)(2,t.Table,{style:{display:"inline"},children:["north","","south"].map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[h+"west",h,h+"east"].map(function(v){return(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"vertical-align":"middle","text-align":"center"},children:v===""?(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt",size:3}):(0,e.createComponentVNode)(2,m,{image:s[v],isSelected:v===i,onSelect:function(){function g(){return l("select_direction",{direction:v})}return g}()})},v)})},h)})})})})]})})})}return y}()},70078:function(L,r,n){"use strict";r.__esModule=!0,r.GPS=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=n(45493),N=function(u){return u?"("+u.join(", ")+")":"ERROR"},y=function(u,i){if(!(!u||!i)){if(u[2]!==i[2])return null;var s=Math.atan2(i[1]-u[1],i[0]-u[0]),d=Math.sqrt(Math.pow(i[1]-u[1],2)+Math.pow(i[0]-u[0],2));return{angle:(0,a.rad2deg)(s),distance:d}}},S=r.GPS=function(){function f(u,i){var s=(0,t.useBackend)(i),d=s.data,h=d.emped,v=d.active,g=d.area,C=d.position,V=d.saved;return(0,e.createComponentVNode)(2,m.Window,{width:400,height:600,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:h?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,k,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,p)}),v?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{area:g,position:C})}),V&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{title:"Saved Position",position:V})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,c,{height:"100%"})})],0):(0,e.createComponentVNode)(2,k)],0)})})})}return f}(),k=function(u,i){var s=u.emp;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:s?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),s?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},p=function(u,i){var s=(0,t.useBackend)(i),d=s.act,h=s.data,v=h.active,g=h.tag,C=h.same_z,V=(0,t.useLocalState)(i,"newTag",g),b=V[0],B=V[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Settings",buttons:(0,e.createComponentVNode)(2,o.Button,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"On":"Off",onClick:function(){function I(){return d("toggle")}return I}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,o.Input,{width:"5rem",value:g,onEnter:function(){function I(){return d("tag",{newtag:b})}return I}(),onInput:function(){function I(w,T){return B(T)}return I}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:g===b,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function I(){return d("tag",{newtag:b})}return I}(),children:(0,e.createComponentVNode)(2,o.Icon,{name:"pen"})})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,o.Button,{selected:!C,icon:C?"compress":"expand",content:C?"Local Sector":"Global",onClick:function(){function I(){return d("same_z")}return I}()})})]})})},l=function(u,i){var s=u.title,d=u.area,h=u.position;return(0,e.createComponentVNode)(2,o.Section,{title:s||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[d&&(0,e.createFragment)([d,(0,e.createVNode)(1,"br")],0),N(h)]})})},c=function(u,i){var s=(0,t.useBackend)(i),d=s.data,h=d.position,v=d.signals;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,title:"Signals"},u,{children:(0,e.createComponentVNode)(2,o.Table,{children:v.map(function(g){return Object.assign({},g,y(h,g.position))}).map(function(g,C){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:C%2===0&&"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,o.Table.Cell,{width:"30%",verticalAlign:"middle",color:"label",p:"0.25rem",bold:!0,children:g.tag}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",color:"grey",children:g.area}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:g.distance!==void 0&&(0,e.createComponentVNode)(2,o.Box,{opacity:Math.max(1-Math.min(g.distance,100)/100,.5),children:[(0,e.createComponentVNode)(2,o.Icon,{name:g.distance>0?"arrow-right":"circle",rotation:-g.angle}),"\xA0",Math.floor(g.distance)+"m"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:N(g.position)})]},C)})})})))}},92246:function(L,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(99665),m=n(45493),N=r.GeneModder=function(){function u(i,s){var d=(0,a.useBackend)(s),h=d.data,v=h.has_seed;return(0,e.createComponentVNode)(2,m.Window,{width:500,height:650,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,o.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),v===0?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,y)]})})})}return u}(),y=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Genes",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Insert Gene from Disk",disabled:!g||!g.can_insert||g.is_core,icon:"arrow-circle-down",onClick:function(){function C(){return h("insert")}return C}()}),children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})},S=function(i,s){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:"85%",children:(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The plant DNA manipulator is missing a seed."]})})})},k=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.has_seed,C=v.seed,V=v.has_disk,b=v.disk,B,I;return g?B=(0,e.createComponentVNode)(2,t.Stack.Item,{mb:"-6px",mt:"-4px",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+C.image,style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,t.Button,{content:C.name,onClick:function(){function w(){return h("eject_seed")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function w(){return h("variant_name")}return w}()})]}):B=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:"None",onClick:function(){function w(){return h("eject_seed")}return w}()})}),V?I=b.name:I="None",(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plant Sample",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Disk",children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:I,onClick:function(){function w(){return h("eject_disk")}return w}()})})})]})})},p=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.disk,C=v.core_genes;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core Genes",open:!0,children:[C.map(function(V){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:V.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(g!=null&&g.can_extract),icon:"save",onClick:function(){function b(){return h("extract",{id:V.id})}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Replace",disabled:!V.is_type||!g.can_insert,icon:"arrow-circle-down",onClick:function(){function b(){return h("replace",{id:V.id})}return b}()})})]},V)})," ",(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract All",disabled:!(g!=null&&g.can_extract),icon:"save",onClick:function(){function V(){return h("bulk_extract_core")}return V}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Replace All",disabled:!(g!=null&&g.is_bulk_core),icon:"arrow-circle-down",onClick:function(){function V(){return h("bulk_replace_core")}return V}()})})]})]},"Core Genes")},l=function(i,s){var d=(0,a.useBackend)(s),h=d.data,v=h.reagent_genes,g=h.has_reagent;return(0,e.createComponentVNode)(2,f,{title:"Reagent Genes",gene_set:v,do_we_show:g})},c=function(i,s){var d=(0,a.useBackend)(s),h=d.data,v=h.trait_genes,g=h.has_trait;return(0,e.createComponentVNode)(2,f,{title:"Trait Genes",gene_set:v,do_we_show:g})},f=function(i,s){var d=i.title,h=i.gene_set,v=i.do_we_show,g=(0,a.useBackend)(s),C=g.act,V=g.data,b=V.disk;return(0,e.createComponentVNode)(2,t.Collapsible,{title:d,open:!0,children:v?h.map(function(B){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:B.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(b!=null&&b.can_extract),icon:"save",onClick:function(){function I(){return C("extract",{id:B.id})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"times",onClick:function(){function I(){return C("remove",{id:B.id})}return I}()})})]},B)}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"No Genes Detected"})},d)}},27163:function(L,r,n){"use strict";r.__esModule=!0,r.GenericCrewManifest=void 0;var e=n(96524),a=n(24674),t=n(45493),o=n(98444),m=r.GenericCrewManifest=function(){function N(y,S){return(0,e.createComponentVNode)(2,t.Window,{theme:"nologo",width:588,height:510,children:(0,e.createComponentVNode)(2,t.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:(0,e.createComponentVNode)(2,o.CrewManifest)})})})}return N}()},53808:function(L,r,n){"use strict";r.__esModule=!0,r.GhostHudPanel=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.GhostHudPanel=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.data,c=l.security,f=l.medical,u=l.diagnostic,i=l.radioactivity,s=l.ahud;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:207,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,N,{label:"Medical",type:"medical",is_active:f}),(0,e.createComponentVNode)(2,N,{label:"Security",type:"security",is_active:c}),(0,e.createComponentVNode)(2,N,{label:"Diagnostic",type:"diagnostic",is_active:u}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,N,{label:"Radioactivity",type:"radioactivity",is_active:i,act_on:"rads_on",act_off:"rads_off"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,N,{label:"Antag HUD",is_active:s,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return y}(),N=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=S.label,f=S.type,u=f===void 0?null:f,i=S.is_active,s=S.act_on,d=s===void 0?"hud_on":s,h=S.act_off,v=h===void 0?"hud_off":h;return(0,e.createComponentVNode)(2,t.Flex,{pt:.3,color:"label",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{pl:.5,align:"center",width:"80%",children:c}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:.6,content:i?"On":"Off",icon:i?"toggle-on":"toggle-off",selected:i,onClick:function(){function g(){return l(i?v:d,{hud_type:u})}return g}()})})]})}},32035:function(L,r,n){"use strict";r.__esModule=!0,r.GlandDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.GlandDispenser=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.glands,f=c===void 0?[]:c;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:338,theme:"abductor",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:f.map(function(u){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:u.color,content:u.amount||"0",disabled:!u.amount,onClick:function(){function i(){return p("dispense",{gland_id:u.id})}return i}()},u.id)})})})})}return N}()},33004:function(L,r,n){"use strict";r.__esModule=!0,r.GravityGen=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.GravityGen=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.charging_state,f=l.charge_count,u=l.breaker,i=l.ext_power,s=function(){function h(v){return v>0?(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"average",children:["[ ",v===1?"Charging":"Discharging"," ]"]}):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:i?"good":"bad",children:["[ ",i?"Powered":"Unpowered"," ]"]})}return h}(),d=function(){function h(v){if(v>0)return(0,e.createComponentVNode)(2,t.NoticeBox,{danger:!0,p:1.5,children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," Radiation Detected!"]})}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:350,height:170,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[d(c),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Generator Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:u?"power-off":"times",content:u?"Online":"Offline",color:u?"green":"red",px:1.5,onClick:function(){function h(){return p("breaker")}return h}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Status",color:i?"good":"bad",children:s(c)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gravity Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:f/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})})]})})]})})})}return N}()},39775:function(L,r,n){"use strict";r.__esModule=!0,r.GuestPass=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(57842),N=r.GuestPass=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:690,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:!c.showlogs,onClick:function(){function f(){return l("mode",{mode:0})}return f}(),children:"Issue Pass"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"scroll",selected:c.showlogs,onClick:function(){function f(){return l("mode",{mode:1})}return f}(),children:["Records (",c.issue_log.length,")"]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.scan_name?"eject":"id-card",selected:c.scan_name,content:c.scan_name?c.scan_name:"-----",tooltip:c.scan_name?"Eject ID":"Insert ID",onClick:function(){function f(){return l("scan")}return f}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!c.showlogs&&(0,e.createComponentVNode)(2,t.Section,{title:"Issue Guest Pass",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Issue To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.giv_name?c.giv_name:"-----",disabled:!c.scan_name,onClick:function(){function f(){return l("giv_name")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reason",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.reason?c.reason:"-----",disabled:!c.scan_name,onClick:function(){function f(){return l("reason")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.duration?c.duration:"-----",disabled:!c.scan_name,onClick:function(){function f(){return l("duration")}return f}()})})]})})}),!c.showlogs&&(c.scan_name?(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:c.printmsg,disabled:!c.canprint,onClick:function(){function f(){return l("issue")}return f}()}),grantableList:c.grantableList,accesses:c.regions,selectedList:c.selectedAccess,accessMod:function(){function f(u){return l("access",{access:u})}return f}(),grantAll:function(){function f(){return l("grant_all")}return f}(),denyAll:function(){function f(){return l("clear_all")}return f}(),grantDep:function(){function f(u){return l("grant_region",{region:u})}return f}(),denyDep:function(){function f(u){return l("deny_region",{region:u})}return f}()})}):(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Please, insert ID Card"]})})})})),!!c.showlogs&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Issuance Log",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:!c.scan_name,onClick:function(){function f(){return l("print")}return f}()}),children:!!c.issue_log.length&&(0,e.createComponentVNode)(2,t.LabeledList,{children:c.issue_log.map(function(f,u){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:f},u)})})||(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No logs"]})})})})]})})})}return y}()},22480:function(L,r,n){"use strict";r.__esModule=!0,r.HandheldChemDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=[1,5,10,20,30,50],N=null,y=r.HandheldChemDispenser=function(){function p(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:390,height:430,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k)]})})})}return p}(),S=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.amount,d=i.energy,h=i.maxEnergy,v=i.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:d,minValue:0,maxValue:h,ranges:{good:[h*.5,1/0],average:[h*.25,h*.5],bad:[-1/0,h*.25]},children:[d," / ",h," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Amount",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:m.map(function(g,C){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:s===g,content:g,onClick:function(){function V(){return u("amount",{amount:g})}return V}()})},C)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="dispense",content:"Dispense",m:"0",width:"32%",onClick:function(){function g(){return u("mode",{mode:"dispense"})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="remove",content:"Remove",m:"0",width:"32%",onClick:function(){function g(){return u("mode",{mode:"remove"})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="isolate",content:"Isolate",m:"0",width:"32%",onClick:function(){function g(){return u("mode",{mode:"isolate"})}return g}()})]})})]})})})},k=function(l,c){for(var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.chemicals,d=s===void 0?[]:s,h=i.current_reagent,v=[],g=0;g<(d.length+1)%3;g++)v.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,height:"18%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:i.glass?"Drink Selector":"Chemical Selector",children:[d.map(function(C,V){return(0,e.createComponentVNode)(2,t.Button,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:h===C.id,content:C.title,style:{"margin-left":"2px"},onClick:function(){function b(){return u("dispense",{reagent:C.id})}return b}()},V)}),v.map(function(C,V){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},V)})]})})}},22616:function(L,r,n){"use strict";r.__esModule=!0,r.HealthSensor=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=n(45493),N=r.HealthSensor=function(){function S(k,p){var l=(0,t.useBackend)(p),c=l.act,f=l.data,u=f.on,i=f.user_health,s=f.minHealth,d=f.maxHealth,h=f.alarm_health;return(0,e.createComponentVNode)(2,m.Window,{width:300,height:125,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scanning",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",content:u?"On":"Off",color:u?null:"red",selected:u,onClick:function(){function v(){return c("scan_toggle")}return v}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health activation",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:2,stepPixelSize:6,minValue:s,maxValue:d,value:h,format:function(){function v(g){return(0,a.toFixed)(g,1)}return v}(),width:"80px",onDrag:function(){function v(g,C){return c("alarm_health",{alarm_health:C})}return v}()})}),i!==null&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"User health",children:(0,e.createComponentVNode)(2,o.Box,{color:y(i),bold:i>=100,children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:i})})})]})})})})}return S}(),y=function(k){return k>50?"green":k>0?"orange":"red"}},76861:function(L,r,n){"use strict";r.__esModule=!0,r.Holodeck=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.Holodeck=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=(0,a.useLocalState)(k,"currentDeck",""),u=f[0],i=f[1],s=(0,a.useLocalState)(k,"showReload",!1),d=s[0],h=s[1],v=c.decks,g=c.ai_override,C=c.emagged,V=function(){function b(B){l("select_deck",{deck:B}),i(B),h(!0),setTimeout(function(){h(!1)},3e3)}return b}();return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:[d&&(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Holodeck Control System",children:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"b",null,"Currently Loaded Program:",16)," ",u]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Available Programs",children:[v.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{width:15.5,color:"transparent",content:b,selected:b===u,onClick:function(){function B(){return V(b)}return B}()},b)}),(0,e.createVNode)(1,"hr",null,null,1,{color:"gray"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!g&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Override Protocols",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"Turn On":"Turn Off",color:C?"good":"bad",onClick:function(){function b(){return l("ai_override")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety Protocols",children:(0,e.createComponentVNode)(2,t.Box,{color:C?"bad":"good",children:[C?"Off":"On",!!C&&(0,e.createComponentVNode)(2,t.Button,{ml:9.5,width:15.5,color:"red",content:"Wildlife Simulation",onClick:function(){function b(){return l("wildlifecarp")}return b}()})]})})]})]})})]})})]})}return y}(),N=function(S,k){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"white",children:(0,e.createVNode)(1,"h1",null,"\xA0Recalibrating projection apparatus.\xA0",16)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,"Please, wait for 3 seconds.",16)})]})}},96729:function(L,r,n){"use strict";r.__esModule=!0,r.Instrument=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=n(45493),N=r.Instrument=function(){function l(c,f){var u=(0,t.useBackend)(f),i=u.act,s=u.data;return(0,e.createComponentVNode)(2,m.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p)]})})]})}return l}(),y=function(c,f){var u=(0,t.useBackend)(f),i=u.act,s=u.data,d=s.help;if(d)return(0,e.createComponentVNode)(2,o.Modal,{maxWidth:"75%",height:window.innerHeight*.75+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{px:"0.5rem",mt:"-0.5rem",children:[(0,e.createVNode)(1,"h1",null,"Making a Song",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"h1",null,"Instrument Advanced Settings",16),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Type:"}),(0,e.createTextVNode)("\xA0Whether the instrument is legacy or synthesized."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Legacy instruments have a collection of sounds that are selectively used depending on the note to play."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Synthesized instruments use a base sound and change its pitch to match the note to play.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Current:"}),(0,e.createTextVNode)("\xA0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),(0,e.createTextVNode)("\xA0The pitch to apply to all notes of the song.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain Mode:"}),(0,e.createTextVNode)("\xA0How a played note fades out."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Linear sustain means a note will fade out at a constant rate."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Exponential sustain means a note will fade out at an exponential rate, sounding smoother.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),(0,e.createTextVNode)("\xA0The volume threshold at which a note is fully stopped.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),(0,e.createTextVNode)("\xA0Whether the last note should be sustained indefinitely.")],4)],4),(0,e.createComponentVNode)(2,o.Button,{color:"grey",content:"Close",onClick:function(){function h(){return i("help")}return h}()})]})})})},S=function(c,f){var u=(0,t.useBackend)(f),i=u.act,s=u.data,d=s.lines,h=s.playing,v=s.repeat,g=s.maxRepeats,C=s.tempo,V=s.minTempo,b=s.maxTempo,B=s.tickLag,I=s.volume,w=s.minVolume,T=s.maxVolume,A=s.ready;return(0,e.createComponentVNode)(2,o.Section,{title:"Instrument",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"info",content:"Help",onClick:function(){function x(){return i("help")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file",content:"New",onClick:function(){function x(){return i("newsong")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"upload",content:"Import",onClick:function(){function x(){return i("import")}return x}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Playback",children:[(0,e.createComponentVNode)(2,o.Button,{selected:h,disabled:d.length===0||v<0,icon:"play",content:"Play",onClick:function(){function x(){return i("play")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!h,icon:"stop",content:"Stop",onClick:function(){function x(){return i("stop")}return x}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Repeat",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:0,maxValue:g,value:v,stepPixelSize:59,onChange:function(){function x(E,M){return i("repeat",{new:M})}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tempo",children:(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:C>=b,content:"-",as:"span",mr:"0.5rem",onClick:function(){function x(){return i("tempo",{new:C+B})}return x}()}),(0,a.round)(600/C)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:C<=V,content:"+",as:"span",ml:"0.5rem",onClick:function(){function x(){return i("tempo",{new:C-B})}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:w,maxValue:T,value:I,stepPixelSize:6,onDrag:function(){function x(E,M){return i("setvolume",{new:M})}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:A?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Ready"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Instrument Definition Error!"})})]}),(0,e.createComponentVNode)(2,k)]})},k=function(c,f){var u=(0,t.useBackend)(f),i=u.act,s=u.data,d=s.allowedInstrumentNames,h=s.instrumentLoaded,v=s.instrument,g=s.canNoteShift,C=s.noteShift,V=s.noteShiftMin,b=s.noteShiftMax,B=s.sustainMode,I=s.sustainLinearDuration,w=s.sustainExponentialDropoff,T=s.legacy,A=s.sustainDropoffVolume,x=s.sustainHeldNote,E,M;return B===1?(E="Linear",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:.1,maxValue:5,value:I,step:.5,stepPixelSize:85,format:function(){function j(P){return(0,a.round)(P*100)/100+" seconds"}return j}(),onChange:function(){function j(P,R){return i("setlinearfalloff",{new:R/10})}return j}()})):B===2&&(E="Exponential",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:w,step:.01,format:function(){function j(P){return(0,a.round)(P*1e3)/1e3+"% per decisecond"}return j}(),onChange:function(){function j(P,R){return i("setexpfalloff",{new:R})}return j}()})),d.sort(),(0,e.createComponentVNode)(2,o.Box,{my:-1,children:(0,e.createComponentVNode)(2,o.Collapsible,{mt:"1rem",mb:"0",title:"Advanced",children:(0,e.createComponentVNode)(2,o.Section,{mt:-1,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Type",children:T?"Legacy":"Synthesized"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current",children:h?(0,e.createComponentVNode)(2,o.Dropdown,{options:d,selected:v,width:"50%",onSelected:function(){function j(P){return i("switchinstrument",{name:P})}return j}()}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None!"})}),!!(!T&&g)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Note Shift/Note Transpose",children:(0,e.createComponentVNode)(2,o.Slider,{minValue:V,maxValue:b,value:C,stepPixelSize:2,format:function(){function j(P){return P+" keys / "+(0,a.round)(P/12*100)/100+" octaves"}return j}(),onChange:function(){function j(P,R){return i("setnoteshift",{new:R})}return j}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain Mode",children:[(0,e.createComponentVNode)(2,o.Dropdown,{options:["Linear","Exponential"],selected:E,onSelected:function(){function j(P){return i("setsustainmode",{new:P})}return j}()}),M]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume Dropoff Threshold",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:.01,maxValue:100,value:A,stepPixelSize:6,onChange:function(){function j(P,R){return i("setdropoffvolume",{new:R})}return j}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain indefinitely last held note",children:(0,e.createComponentVNode)(2,o.Button,{selected:x,icon:x?"toggle-on":"toggle-off",content:x?"Yes":"No",onClick:function(){function j(){return i("togglesustainhold")}return j}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function j(){return i("reset")}return j}()})]})})})},p=function(c,f){var u=(0,t.useBackend)(f),i=u.act,s=u.data,d=s.playing,h=s.lines,v=s.editing;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!v||d,icon:"plus",content:"Add Line",onClick:function(){function g(){return i("newline",{line:h.length+1})}return g}()}),(0,e.createComponentVNode)(2,o.Button,{selected:!v,icon:v?"chevron-up":"chevron-down",onClick:function(){function g(){return i("edit")}return g}()})],4),children:!!v&&(h.length>0?(0,e.createComponentVNode)(2,o.LabeledList,{children:h.map(function(g,C){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:C+1,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:d,icon:"pen",onClick:function(){function V(){return i("modifyline",{line:C+1})}return V}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:d,icon:"trash",onClick:function(){function V(){return i("deleteline",{line:C+1})}return V}()})],4),children:g},C)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},99366:function(L,r,n){"use strict";r.__esModule=!0,r.Jukebox=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(17899),m=n(24674),N=n(45493),y=r.Jukebox=function(){function p(l,c){var f=(0,o.useBackend)(c),u=f.act,i=f.data,s=i.active,d=i.looping,h=i.track_selected,v=i.volume,g=i.max_volume,C=i.songs,V=i.startTime,b=i.endTime,B=i.worldTime,I=i.need_coin,w=i.payment,T=i.advanced_admin,A=35,x=!w&&I&&!T,E=(0,t.flow)([(0,a.sortBy)(function(F){return F.name})])(C),M=C.find(function(F){return F.name===h}),j=E.length,P=M?E.findIndex(function(F){return F.name===M.name})+1:0,R=function(){function F(W){var _=Math.floor(W/60),H=W%60,z=String(_).padStart(2,"0")+":"+String(H).padStart(2,"0");return z}return F}(),D=(0,e.createComponentVNode)(2,m.Box,{textAlign:"center",children:[s?d?"\u221E":R(Math.round((B-V)/10)):d?"\u221E":R(M.length)," ","/ ",d?"\u221E":R(M.length)]});return(0,e.createComponentVNode)(2,N.Window,{width:350,height:435,title:"\u041C\u0443\u0437\u044B\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442",children:[x?(0,e.createComponentVNode)(2,k):null,(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack,{children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,title:"\u041F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{bold:!0,maxWidth:"240px",children:M.name.length>A?(0,e.createVNode)(1,"marquee",null,M.name,0):M.name}),(0,e.createComponentVNode)(2,m.Stack,{fill:!0,mt:1.5,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,m.Button,{fluid:!0,icon:s?"pause":"play",color:"transparent",content:s?"\u0421\u0442\u043E\u043F":"\u0421\u0442\u0430\u0440\u0442",selected:s,onClick:function(){function F(){return u("toggle")}return F}()})}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,m.Button.Checkbox,{fluid:!0,icon:"undo",content:"\u041F\u043E\u0432\u0442\u043E\u0440",disabled:s||I&&!T,tooltip:I&&!T?"\u0412\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440 \u0437\u0430 \u043C\u043E\u043D\u0435\u0442\u043A\u0443":null,checked:d,onClick:function(){function F(){return u("loop",{looping:!d})}return F}()})})]}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.ProgressBar.Countdown,{start:V,current:d?b:B,end:b,children:D})})]})})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{children:[s?(0,e.createComponentVNode)(2,S):null,(0,e.createComponentVNode)(2,m.Stack,{fill:!0,mb:1.5,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,m.Button,{color:"transparent",icon:"fast-backward",onClick:function(){function F(){return u("set_volume",{volume:"min"})}return F}()})}),(0,e.createComponentVNode)(2,m.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,m.Button,{color:"transparent",icon:"undo",onClick:function(){function F(){return u("set_volume",{volume:"reset"})}return F}()})}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,m:0,textAlign:"right",children:(0,e.createComponentVNode)(2,m.Button,{color:"transparent",icon:"fast-forward",onClick:function(){function F(){return u("set_volume",{volume:"max"})}return F}()})})]}),(0,e.createComponentVNode)(2,m.Stack.Item,{textAlign:"center",textColor:"label",children:[(0,e.createComponentVNode)(2,m.Knob,{size:2,color:v<=25?"green":v<=50?"":v<=75?"orange":"red",value:v,unit:"%",minValue:0,maxValue:g,step:1,stepPixelSize:5,onDrag:function(){function F(W,_){return u("set_volume",{volume:_})}return F}()}),"Volume"]})]})})]}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,title:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0442\u0440\u0435\u043A\u0438",buttons:(0,e.createComponentVNode)(2,m.Button,{bold:!0,icon:"random",color:"transparent",content:P+"/"+j,tooltip:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0439 \u0442\u0440\u0435\u043A",tooltipPosition:"top-end",onClick:function(){function F(){var W=Math.floor(Math.random()*j),_=E[W];u("select_track",{track:_.name})}return F}()}),children:E.map(function(F){return(0,e.createComponentVNode)(2,m.Stack.Item,{mb:.5,textAlign:"left",children:(0,e.createComponentVNode)(2,m.Button,{fluid:!0,selected:M.name===F.name,color:"translucent",content:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:F.name}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:R(F.length)})]}),onClick:function(){function W(){u("select_track",{track:F.name})}return W}()})},F.name)})})})]})})]})}return p}(),S=function(){return(0,e.createComponentVNode)(2,m.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,m.Icon,{name:"music",size:"3",color:"gray",mb:1}),(0,e.createComponentVNode)(2,m.Box,{color:"label",bold:!0,children:"\u0418\u0433\u0440\u0430\u0435\u0442 \u043C\u0443\u0437\u044B\u043A\u0430"})]})},k=function(){return(0,e.createComponentVNode)(2,m.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,m.Icon,{name:"coins",size:"6",color:"gold",mr:1}),(0,e.createComponentVNode)(2,m.Box,{color:"label",bold:!0,mt:5,fontSize:2,children:"\u0412\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043C\u043E\u043D\u0435\u0442\u043A\u0443"})]})}},53385:function(L,r,n){"use strict";r.__esModule=!0,r.KeycardAuth=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.KeycardAuth=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=(0,e.createComponentVNode)(2,t.Section,{title:"Keycard Authentication Device",children:(0,e.createComponentVNode)(2,t.Box,{children:"This device is used to trigger certain high security events. It requires the simultaneous swipe of two high-level ID cards."})});if(!l.swiping&&!l.busy)return(0,e.createComponentVNode)(2,o.Window,{width:540,height:280,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,(0,e.createComponentVNode)(2,t.Section,{title:"Choose Action",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Red Alert",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",disabled:!l.redAvailable,onClick:function(){function u(){return p("triggerevent",{triggerevent:"Red Alert"})}return u}(),content:"Red Alert"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Emergency Response Team"})}return u}(),content:"Call ERT"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Maint Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return u}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return u}(),content:"Revoke"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Station-Wide Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return u}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return u}(),content:"Revoke"})]})]})})]})});var f=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!l.hasSwiped&&!l.ertreason&&l.event==="Emergency Response Team"?f=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):l.hasConfirm?f=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):l.isRemote?f=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):l.hasSwiped&&(f=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Waiting for second person to confirm..."})),(0,e.createComponentVNode)(2,o.Window,{width:540,height:265,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,l.event==="Emergency Response Team"&&(0,e.createComponentVNode)(2,t.Section,{title:"Reason for ERT Call",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{color:l.ertreason?"":"red",icon:l.ertreason?"check":"pencil-alt",content:l.ertreason?l.ertreason:"-----",disabled:l.busy,onClick:function(){function u(){return p("ert")}return u}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:l.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:l.busy||l.hasConfirm,onClick:function(){function u(){return p("reset")}return u}()}),children:f})]})})}return N}()},58553:function(L,r,n){"use strict";r.__esModule=!0,r.KitchenMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(75201),N=r.KitchenMachine=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.data,f=l.config,u=c.ingredients,i=c.operating,s=f.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Operating,{operating:i,name:s}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,y)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Ingredients",children:(0,e.createComponentVNode)(2,t.Table,{className:"Ingredient__Table",children:u.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{tr:5,children:[(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:d.name}),2),(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:[d.amount," ",d.units]}),2)]},d.name)})})})})]})})})}return S}(),y=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.inactive,i=f.tooltip;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:u,tooltip:u?i:"",tooltipPosition:"bottom",content:"Activate",onClick:function(){function s(){return c("cook")}return s}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:u,tooltip:u?i:"",tooltipPosition:"bottom",content:"Eject Contents",onClick:function(){function s(){return c("eject")}return s}()})})]})})}},14047:function(L,r,n){"use strict";r.__esModule=!0,r.LawManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.LawManager=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.isAdmin,s=u.isSlaved,d=u.isMalf,h=u.isAIMalf,v=u.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:d?620:365,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!(i&&s)&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:["This unit is slaved to ",s,"."]}),!!(d||h)&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Law Management",selected:v===0,onClick:function(){function g(){return f("set_view",{set_view:0})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:v===1,onClick:function(){function g(){return f("set_view",{set_view:1})}return g}()})]}),v===0&&(0,e.createComponentVNode)(2,N),v===1&&(0,e.createComponentVNode)(2,y)]})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.has_zeroth_laws,s=u.zeroth_laws,d=u.has_ion_laws,h=u.ion_laws,v=u.ion_law_nr,g=u.has_inherent_laws,C=u.inherent_laws,V=u.has_supplied_laws,b=u.supplied_laws,B=u.channels,I=u.channel,w=u.isMalf,T=u.isAdmin,A=u.zeroth_law,x=u.ion_law,E=u.inherent_law,M=u.supplied_law,j=u.supplied_law_position;return(0,e.createFragment)([!!i&&(0,e.createComponentVNode)(2,S,{title:"ERR_NULL_VALUE",laws:s,ctx:l}),!!d&&(0,e.createComponentVNode)(2,S,{title:v,laws:h,ctx:l}),!!g&&(0,e.createComponentVNode)(2,S,{title:"Inherent",laws:C,ctx:l}),!!V&&(0,e.createComponentVNode)(2,S,{title:"Supplied",laws:b,ctx:l}),(0,e.createComponentVNode)(2,t.Section,{title:"Statement Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Statement Channel",children:B.map(function(P){return(0,e.createComponentVNode)(2,t.Button,{content:P.channel,selected:P.channel===I,onClick:function(){function R(){return f("law_channel",{law_channel:P.channel})}return R}()},P.channel)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State Laws",children:(0,e.createComponentVNode)(2,t.Button,{content:"State Laws",onClick:function(){function P(){return f("state_laws")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Law Notification",children:(0,e.createComponentVNode)(2,t.Button,{content:"Notify",onClick:function(){function P(){return f("notify_laws")}return P}()})})]})}),!!w&&(0,e.createComponentVNode)(2,t.Section,{title:"Add Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"60%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Actions"})]}),!!(T&&!i)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Zero"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:A}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return f("change_zeroth_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return f("add_zeroth_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ion"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return f("change_ion_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return f("add_ion_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Inherent"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:E}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return f("change_inherent_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return f("add_inherent_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Supplied"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:M}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:j,onClick:function(){function P(){return f("change_supplied_law_position")}return P}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return f("change_supplied_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return f("add_supplied_law")}return P}()})]})]})]})})],0)},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.law_sets;return(0,e.createComponentVNode)(2,t.Box,{children:i.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name+" - "+s.header,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Load Laws",icon:"download",onClick:function(){function d(){return f("transfer_laws",{transfer_laws:s.ref})}return d}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.laws.has_ion_laws>0&&s.laws.ion_laws.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.index,children:d.law},d.index)}),s.laws.has_zeroth_laws>0&&s.laws.zeroth_laws.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.index,children:d.law},d.index)}),s.laws.has_inherent_laws>0&&s.laws.inherent_laws.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.index,children:d.law},d.index)}),s.laws.has_supplied_laws>0&&s.laws.inherent_laws.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.index,children:d.law},d.index)})]})},s.name)})})},S=function(p,l){var c=(0,a.useBackend)(p.ctx),f=c.act,u=c.data,i=u.isMalf;return(0,e.createComponentVNode)(2,t.Section,{title:p.title+" Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"69%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"21%",children:"State?"})]}),p.laws.map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.index}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.law}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:s.state?"Yes":"No",selected:s.state,onClick:function(){function d(){return f("state_law",{ref:s.ref,state_law:s.state?0:1})}return d}()}),!!i&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function d(){return f("edit_law",{edit_law:s.ref})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function d(){return f("delete_law",{delete_law:s.ref})}return d}()})],4)]})]},s.law)})]})})}},5872:function(L,r,n){"use strict";r.__esModule=!0,r.LibraryComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(99665),N=r.LibraryComputer=function(){function v(g,C){return(0,e.createComponentVNode)(2,o.Window,{width:1050,height:600,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})]})}return v}(),y=function(g,C){var V=(0,a.useBackend)(C),b=V.act,B=V.data,I=g.args,w=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:I.summary}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",verticalAlign:"top"})]}),!I.isProgrammatic&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Categories",children:I.categories.join(", ")})]}),(0,e.createVNode)(1,"br"),w===I.ckey&&(0,e.createComponentVNode)(2,t.Button,{content:"Delete Book",icon:"trash",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return b("delete_book",{bookid:I.id,user_ckey:w})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Report Book",icon:"flag",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,m.modalOpen)(C,"report_book",{bookid:I.id})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Rate Book",icon:"star",color:"caution",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,m.modalOpen)(C,"rate_info",{bookid:I.id})}return T}()})]})},S=function(g,C){var V=(0,a.useBackend)(C),b=V.act,B=V.data,I=g.args,w=B.selected_report,T=B.report_categories,A=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",title:"Report this book for Rule Violations",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reasons",children:(0,e.createComponentVNode)(2,t.Box,{children:T.map(function(x,E){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:x.description,selected:x.category_id===w,onClick:function(){function M(){return b("set_report",{report_type:x.category_id})}return M}()}),(0,e.createVNode)(1,"br")],4,E)})})})]}),(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,icon:"paper-plane",content:"Submit Report",onClick:function(){function x(){return b("submit_report",{bookid:I.id,user_ckey:A})}return x}()})]})},k=function(g,C){var V=(0,a.useBackend)(C),b=V.act,B=V.data,I=B.selected_rating,w=Array(10).fill().map(function(T,A){return 1+A});return(0,e.createComponentVNode)(2,t.Stack,{children:[w.map(function(T,A){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{bold:!0,icon:"star",color:I>=T?"caution":"default",onClick:function(){function x(){return b("set_rating",{rating_value:T})}return x}()})},A)}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,ml:2,fontSize:"150%",children:[I+"/10",(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"top"})]})]})},p=function(g,C){var V=(0,a.useBackend)(C),b=V.act,B=V.data,I=g.args,w=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.current_rating?I.current_rating:0,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Ratings",children:I.total_ratings?I.total_ratings:0})]}),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Button.Confirm,{mt:2,content:"Submit",icon:"paper-plane",onClick:function(){function T(){return b("rate_book",{bookid:I.id,user_ckey:w})}return T}()})]})},l=function(g,C){var V=(0,a.useBackend)(C),b=V.data,B=(0,a.useLocalState)(C,"tabIndex",0),I=B[0],w=B[1],T=b.login_state;return(0,e.createComponentVNode)(2,t.Stack.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===0,onClick:function(){function A(){return w(0)}return A}(),children:"Book Archives"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===1,onClick:function(){function A(){return w(1)}return A}(),children:"Corporate Literature"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===2,onClick:function(){function A(){return w(2)}return A}(),children:"Upload Book"}),T===1&&(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===3,onClick:function(){function A(){return w(3)}return A}(),children:"Patron Manager"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===4,onClick:function(){function A(){return w(4)}return A}(),children:"Inventory"})]})})},c=function(g,C){var V=(0,a.useLocalState)(C,"tabIndex",0),b=V[0];switch(b){case 0:return(0,e.createComponentVNode)(2,u);case 1:return(0,e.createComponentVNode)(2,i);case 2:return(0,e.createComponentVNode)(2,s);case 3:return(0,e.createComponentVNode)(2,d);case 4:return(0,e.createComponentVNode)(2,h);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},f=function(g,C){var V=(0,a.useBackend)(C),b=V.act,B=V.data,I=B.searchcontent,w=B.book_categories,T=B.user_ckey,A=[];return w.map(function(x){return A[x.description]=x.category_id}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"edit",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Inputs"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.title||"Input Title",onClick:function(){function x(){return(0,m.modalOpen)(C,"edit_search_title")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.author||"Input Author",onClick:function(){function x(){return(0,m.modalOpen)(C,"edit_search_author")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Ratings",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:1,width:"min-content",content:I.ratingmin,onClick:function(){function x(){return(0,m.modalOpen)(C,"edit_search_ratingmin")}return x}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:"To"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:1,width:"min-content",content:I.ratingmax,onClick:function(){function x(){return(0,m.modalOpen)(C,"edit_search_ratingmax")}return x}()})})]})})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"clipboard-list",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Book Categories"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Dropdown,{mt:.6,width:"190px",options:w.map(function(x){return x.description}),onSelected:function(){function x(E){return b("toggle_search_category",{category_id:A[E]})}return x}()})})})}),(0,e.createVNode)(1,"br"),w.filter(function(x){return I.categories.includes(x.category_id)}).map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.description,selected:!0,icon:"unlink",onClick:function(){function E(){return b("toggle_search_category",{category_id:x.category_id})}return E}()},x.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Actions"]}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Search",icon:"eraser",onClick:function(){function x(){return b("clear_search")}return x}()}),I.ckey?(0,e.createComponentVNode)(2,t.Button,{mb:.5,content:"Stop Showing My Books",color:"bad",icon:"search",onClick:function(){function x(){return b("clear_ckey_search")}return x}()}):(0,e.createComponentVNode)(2,t.Button,{content:"Find My Books",icon:"search",onClick:function(){function x(){return b("find_users_books",{user_ckey:T})}return x}()})]})]})},u=function(g,C){var V=(0,a.useBackend)(C),b=V.act,B=V.data,I=B.external_booklist,w=B.archive_pagenumber,T=B.num_pages,A=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Access",buttons:(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",disabled:w===1,onClick:function(){function x(){return b("deincrementpagemax")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",disabled:w===1,onClick:function(){function x(){return b("deincrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{bold:!0,content:w,onClick:function(){function x(){return(0,m.modalOpen)(C,"setpagenumber")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",disabled:w===T,onClick:function(){function x(){return b("incrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",disabled:w===T,onClick:function(){function x(){return b("incrementpagemax")}return x}()})],4),children:[(0,e.createComponentVNode)(2,f),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ratings"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Category"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(x){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:x.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:.5}),x.title.length>45?x.title.substr(0,45)+"...":x.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:x.author.length>30?x.author.substr(0,30)+"...":x.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[x.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",ml:.5,color:"yellow",verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x.categories.join(", ").substr(0,45)}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[A===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function E(){return b("order_external_book",{bookid:x.id})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function E(){return(0,m.modalOpen)(C,"expand_info",{bookid:x.id})}return E}()})]})]},x.id)})]})]})},i=function(g,C){var V=(0,a.useBackend)(C),b=V.act,B=V.data,I=B.programmatic_booklist,w=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Corporate Book Catalog",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(T,A){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:T.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:2}),T.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:T.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[w===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function x(){return b("order_programmatic_book",{bookid:T.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function x(){return(0,m.modalOpen)(C,"expand_info",{bookid:T.id})}return x}()})]})]},A)})]})})},s=function(g,C){var V=(0,a.useBackend)(C),b=V.act,B=V.data,I=B.selectedbook,w=B.book_categories,T=B.user_ckey,A=[];return w.map(function(x){return A[x.description]=x.category_id}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Upload",buttons:(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,width:9.5,icon:"upload",disabled:I.copyright,content:"Upload Book",onClick:function(){function x(){return b("uploadbook",{user_ckey:T})}return x}()}),children:[I.copyright?(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"WARNING: You cannot upload or modify the attributes of a copyrighted book"}):(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{ml:15,mb:3,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:2}),"Book Uploader"]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.title,onClick:function(){function x(){return(0,m.modalOpen)(C,"edit_selected_title")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.author,onClick:function(){function x(){return(0,m.modalOpen)(C,"edit_selected_author")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"240px",options:w.map(function(x){return x.description}),onSelected:function(){function x(E){return b("toggle_upload_category",{category_id:A[E]})}return x}()})})})]}),(0,e.createVNode)(1,"br"),w.filter(function(x){return I.categories.includes(x.category_id)}).map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.description,disabled:I.copyright,selected:!0,icon:"unlink",onClick:function(){function E(){return b("toggle_upload_category",{category_id:x.category_id})}return E}()},x.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:75,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",disabled:I.copyright,content:"Edit Summary",onClick:function(){function x(){return(0,m.modalOpen)(C,"edit_selected_summary")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:I.summary})]})})]})]})},d=function(g,C){var V=(0,a.useBackend)(C),b=V.act,B=V.data,I=B.checkout_data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Checked Out Books",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Patron"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actions"})]}),I.map(function(w,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-tag"}),w.patron_name]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:w.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:w.timeleft>=0?w.timeleft:"LATE"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:(0,e.createComponentVNode)(2,t.Button,{content:"Mark Lost",icon:"flag",color:"bad",disabled:w.timeleft>=0,onClick:function(){function A(){return b("reportlost",{libraryid:w.libraryid})}return A}()})})]},T)})]})})},h=function(g,C){var V=(0,a.useBackend)(C),b=V.act,B=V.data,I=B.inventory_list;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Library Inventory",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"LIB ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"})]}),I.map(function(w,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:w.libraryid}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"})," ",w.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:w.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:w.checked_out?"Checked Out":"Available"})]},T)})]})})};(0,m.modalRegisterBodyOverride)("expand_info",y),(0,m.modalRegisterBodyOverride)("report_book",S),(0,m.modalRegisterBodyOverride)("rate_info",p)},37782:function(L,r,n){"use strict";r.__esModule=!0,r.LibraryManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(99665),N=r.LibraryManager=function(){function l(c,f){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:600,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})]})}return l}(),y=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.pagestate;switch(d){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,p);case 3:return(0,e.createComponentVNode)(2,k);default:return"WE SHOULDN'T BE HERE!"}},S=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-shield",verticalAlign:"middle",size:3,mr:"1rem"}),"Library Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",width:"auto",color:"danger",content:"Delete Book by SSID",onClick:function(){function d(){return(0,m.modalOpen)(f,"specify_ssid_delete")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",width:"auto",color:"danger",content:"Delete All Books By CKEY",onClick:function(){function d(){return(0,m.modalOpen)(f,"specify_ckey_delete")}return d}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Books By CKEY",onClick:function(){function d(){return(0,m.modalOpen)(f,"specify_ckey_search")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Reported Books",onClick:function(){function d(){return i("view_reported_books")}return d}()})]})},k=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.reports;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-secret",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"All Reported Books",(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function h(){return i("return")}return h}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Uploader CKEY"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Report Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reporter Ckey"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),d.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:h.uploader_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),h.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:h.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:h.report_description}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:h.reporter_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",onClick:function(){function v(){return i("delete_book",{bookid:h.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Unflag",icon:"flag",color:"caution",onClick:function(){function v(){return i("unflag_book",{bookid:h.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function v(){return i("view_book",{bookid:h.id})}return v}()})]})]},h.id)})]})})},p=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.ckey,h=s.booklist;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"Books uploaded by ",d,(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function v(){return i("return")}return v}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),h.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),v.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:v.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",color:"bad",onClick:function(){function g(){return i("delete_book",{bookid:v.id})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function g(){return i("view_book",{bookid:v.id})}return g}()})]})]},v.id)})]})})}},26133:function(L,r,n){"use strict";r.__esModule=!0,r.ListInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(24674),m=n(17899),N=n(68100),y=n(45493),S=r.ListInputModal=function(){function l(c,f){var u=(0,m.useBackend)(f),i=u.act,s=u.data,d=s.items,h=d===void 0?[]:d,v=s.message,g=v===void 0?"":v,C=s.init_value,V=s.timeout,b=s.title,B=(0,m.useLocalState)(f,"selected",h.indexOf(C)),I=B[0],w=B[1],T=(0,m.useLocalState)(f,"searchBarVisible",h.length>10),A=T[0],x=T[1],E=(0,m.useLocalState)(f,"searchQuery",""),M=E[0],j=E[1],P=function(){function $(X){var J=H.length-1;if(X===N.KEY_DOWN)if(I===null||I===J){var ce;w(0),(ce=document.getElementById("0"))==null||ce.scrollIntoView()}else{var re;w(I+1),(re=document.getElementById((I+1).toString()))==null||re.scrollIntoView()}else if(X===N.KEY_UP)if(I===null||I===0){var me;w(J),(me=document.getElementById(J.toString()))==null||me.scrollIntoView()}else{var pe;w(I-1),(pe=document.getElementById((I-1).toString()))==null||pe.scrollIntoView()}}return $}(),R=function(){function $(X){X!==I&&w(X)}return $}(),D=function(){function $(){x(!1),x(!0)}return $}(),F=function(){function $(X){var J=String.fromCharCode(X),ce=h.find(function(pe){return pe==null?void 0:pe.toLowerCase().startsWith(J==null?void 0:J.toLowerCase())});if(ce){var re,me=h.indexOf(ce);w(me),(re=document.getElementById(me.toString()))==null||re.scrollIntoView()}}return $}(),W=function(){function $(X){var J;X!==M&&(j(X),w(0),(J=document.getElementById("0"))==null||J.scrollIntoView())}return $}(),_=function(){function $(){x(!A),j("")}return $}(),H=h.filter(function($){return $==null?void 0:$.toLowerCase().includes(M.toLowerCase())}),z=330+Math.ceil(g.length/3);return A||setTimeout(function(){var $;return($=document.getElementById(I.toString()))==null?void 0:$.focus()},1),(0,e.createComponentVNode)(2,y.Window,{title:b,width:325,height:z,children:[V&&(0,e.createComponentVNode)(2,a.Loader,{value:V}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function $(X){var J=window.event?X.which:X.keyCode;(J===N.KEY_DOWN||J===N.KEY_UP)&&(X.preventDefault(),P(J)),J===N.KEY_ENTER&&(X.preventDefault(),i("submit",{entry:H[I]})),!A&&J>=N.KEY_A&&J<=N.KEY_Z&&(X.preventDefault(),F(J)),J===N.KEY_ESCAPE&&(X.preventDefault(),i("cancel"))}return $}(),children:(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{compact:!0,icon:A?"search":"font",selected:!0,tooltip:A?"Search Mode. Type to search or use arrow keys to select manually.":"Hotkey Mode. Type a letter to jump to the first match. Enter to select.",tooltipPosition:"left",onClick:function(){function $(){return _()}return $}()}),className:"ListInput__Section",fill:!0,title:g,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,k,{filteredItems:H,onClick:R,onFocusSearch:D,searchBarVisible:A,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:A&&(0,e.createComponentVNode)(2,p,{filteredItems:H,onSearch:W,searchQuery:M,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:H[I]})})]})})})]})}return l}(),k=function(c,f){var u=(0,m.useBackend)(f),i=u.act,s=c.filteredItems,d=c.onClick,h=c.onFocusSearch,v=c.searchBarVisible,g=c.selected;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:s.map(function(C,V){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:V,onClick:function(){function b(){return d(V)}return b}(),onDblClick:function(){function b(B){B.preventDefault(),i("submit",{entry:s[g]})}return b}(),onKeyDown:function(){function b(B){var I=window.event?B.which:B.keyCode;v&&I>=N.KEY_A&&I<=N.KEY_Z&&(B.preventDefault(),h())}return b}(),selected:V===g,style:{animation:"none",transition:"none"},children:C.replace(/^\w/,function(b){return b.toUpperCase()})},V)})})},p=function(c,f){var u=(0,m.useBackend)(f),i=u.act,s=c.filteredItems,d=c.onSearch,h=c.searchQuery,v=c.selected;return(0,e.createComponentVNode)(2,o.Input,{width:"100%",autoFocus:!0,autoSelect:!0,onEnter:function(){function g(C){C.preventDefault(),i("submit",{entry:s[v]})}return g}(),onInput:function(){function g(C,V){return d(V)}return g}(),placeholder:"Search...",value:h})}},71963:function(L,r,n){"use strict";r.__esModule=!0,r.MODsuitContent=r.MODsuit=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=function(I,w){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(w),M=E.act;return(0,e.createComponentVNode)(2,t.NumberInput,{value:A,minValue:-50,maxValue:50,stepPixelSize:5,width:"39px",onChange:function(){function j(P,R){return M("configure",{key:T,value:R,ref:x})}return j}()})},N=function(I,w){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(w),M=E.act;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:A,onClick:function(){function j(){return M("configure",{key:T,value:!A,ref:x})}return j}()})},y=function(I,w){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(w),M=E.act;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"paint-brush",onClick:function(){function j(){return M("configure",{key:T,ref:x})}return j}()}),(0,e.createComponentVNode)(2,t.ColorBox,{color:A,mr:.5})],4)},S=function(I,w){var T=I.name,A=I.value,x=I.values,E=I.module_ref,M=(0,a.useBackend)(w),j=M.act;return(0,e.createComponentVNode)(2,t.Dropdown,{displayText:A,options:x,onSelected:function(){function P(R){return j("configure",{key:T,value:R,ref:E})}return P}()})},k=function(I,w){var T=I.name,A=I.display_name,x=I.type,E=I.value,M=I.values,j=I.module_ref,P={number:(0,e.normalizeProps)((0,e.createComponentVNode)(2,m,Object.assign({},I))),bool:(0,e.normalizeProps)((0,e.createComponentVNode)(2,N,Object.assign({},I))),color:(0,e.normalizeProps)((0,e.createComponentVNode)(2,y,Object.assign({},I))),list:(0,e.normalizeProps)((0,e.createComponentVNode)(2,S,Object.assign({},I)))};return(0,e.createComponentVNode)(2,t.Box,{children:[A,": ",P[x]]})},p=function(I,w){var T=I.active,A=I.userradiated,x=I.usertoxins,E=I.usermaxtoxins,M=I.threatlevel;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Level",color:T&&A?"bad":"good",children:T&&A?"IRRADIATED!":"RADIATION-FREE"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxins Level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?x/E:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:x})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Hazard Level",color:T&&M?"bad":"good",bold:!0,children:T&&M?M:0})})]})},l=function(I,w){var T=I.active,A=I.userhealth,x=I.usermaxhealth,E=I.userbrute,M=I.userburn,j=I.usertoxin,P=I.useroxy;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?A/x:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?A:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?E/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?E:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?M/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?M:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?j/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?j:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?P/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?P:0})})})})]})],4)},c=function(I,w){var T=I.active,A=I.statustime,x=I.statusid,E=I.statushealth,M=I.statusmaxhealth,j=I.statusbrute,P=I.statusburn,R=I.statustoxin,D=I.statusoxy,F=I.statustemp,W=I.statusnutrition,_=I.statusfingerprints,H=I.statusdna,z=I.statusviruses;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Time",children:T?A:"00:00:00"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Number",children:T?x||"0":"???"})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?E/M:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?E:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?j/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?j:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?P/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?P:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?R/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:R})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?D/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:D})})})})]}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Body Temperature",children:T?F:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Nutrition Status",children:T?W:0})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"DNA",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fingerprints",children:T?_:"???"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:T?H:"???"})]})}),!!T&&!!z&&(0,e.createComponentVNode)(2,t.Section,{title:"Diseases",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"signature",tooltip:"Name",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"wind",tooltip:"Type",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Stage",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"flask",tooltip:"Cure",tooltipPosition:"top"})})]}),z.map(function($){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:$.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:$.type}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[$.stage,"/",$.maxstage]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:$.cure})]},$.name)})]})})],0)},f={rad_counter:p,health_analyzer:l,status_readout:c},u=function(){return(0,e.createComponentVNode)(2,t.Section,{align:"center",fill:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{color:"red",name:"exclamation-triangle",size:15}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"30px",color:"red",children:"ERROR: INTERFACE UNRESPONSIVE"})]})},i=function(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data;return(0,e.createComponentVNode)(2,t.Dimmer,{children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"16px",color:"blue",children:"SUIT UNPOWERED"})})})},s=function(I,w){var T=I.configuration_data,A=I.module_ref,x=Object.keys(T);return(0,e.createComponentVNode)(2,t.Dimmer,{backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[x.map(function(E){var M=T[E];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k,{name:E,display_name:M.display_name,type:M.type,value:M.value,values:M.values,module_ref:A})},M.key)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:I.onExit,icon:"times",textAlign:"center",children:"Exit"})})})]})})},d=function(I){switch(I){case 1:return"Use";case 2:return"Toggle";case 3:return"Select"}},h=function(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data,E=x.active,M=x.malfunctioning,j=x.locked,P=x.open,R=x.selected_module,D=x.complexity,F=x.complexity_max,W=x.wearer_name,_=x.wearer_job,H=M?"Malfunctioning":E?"Active":"Inactive";return(0,e.createComponentVNode)(2,t.Section,{title:"Parameters",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:E?"Deactivate":"Activate",onClick:function(){function z(){return A("activate")}return z}()}),children:H}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:j?"lock-open":"lock",content:j?"Unlock":"Lock",onClick:function(){function z(){return A("lock")}return z}()}),children:j?"Locked":"Unlocked"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover",children:P?"Open":"Closed"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Selected Module",children:R||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Complexity",children:[D," (",F,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:[W,", ",_]})]})})},v=function(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data,E=x.active,M=x.control,j=x.helmet,P=x.chestplate,R=x.gauntlets,D=x.boots,F=x.core,W=x.charge;return(0,e.createComponentVNode)(2,t.Section,{title:"Hardware",children:[(0,e.createComponentVNode)(2,t.Collapsible,{title:"Parts",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Control Unit",children:M}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Helmet",children:j||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chestplate",children:P||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gauntlets",children:R||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Boots",children:D||"None"})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core",children:F&&(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Type",children:F}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:W/100,content:W+"%",ranges:{good:[.6,1/0],average:[.3,.6],bad:[-1/0,.3]}})})]})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",textAlign:"center",children:"No Core Detected"})})]})},g=function(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data,E=x.active,M=x.modules,j=M.filter(function(P){return!!P.id});return(0,e.createComponentVNode)(2,t.Section,{title:"Info",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:j.length!==0&&j.map(function(P){var R=f[P.id];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!E&&(0,e.createComponentVNode)(2,i),(0,e.normalizeProps)((0,e.createComponentVNode)(2,R,Object.assign({},P,{active:E})))]},P.ref)})||(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Info Modules Detected"})})})},C=function(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data,E=x.complexity_max,M=x.modules,j=(0,a.useLocalState)(w,"module_configuration",null),P=j[0],R=j[1];return(0,e.createComponentVNode)(2,t.Section,{title:"Modules",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:M.length!==0&&M.map(function(D){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Collapsible,{title:D.module_name,children:(0,e.createComponentVNode)(2,t.Section,{children:[P===D.ref&&(0,e.createComponentVNode)(2,s,{configuration_data:D.configuration_data,module_ref:D.ref,onExit:function(){function F(){return R(null)}return F}()}),(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"save",tooltip:"Complexity",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"plug",tooltip:"Idle Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lightbulb",tooltip:"Active Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Use Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"hourglass-half",tooltip:"Cooldown",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"tasks",tooltip:"Actions",tooltipPosition:"top"})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[D.module_complexity,"/",E]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.idle_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.active_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.use_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[D.cooldown>0&&D.cooldown/10||"0","/",D.cooldown_time/10,"s"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return A("select",{ref:D.ref})}return F}(),icon:"bullseye",selected:D.module_active,tooltip:d(D.module_type),tooltipPosition:"left",disabled:!D.module_type}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return R(D.ref)}return F}(),icon:"cog",selected:P===D.ref,tooltip:"Configure",tooltipPosition:"left",disabled:D.configuration_data.length===0}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return A("pin",{ref:D.ref})}return F}(),icon:"thumbtack",selected:D.pinned,tooltip:"Pin",tooltipPosition:"left",disabled:!D.module_type})]})]})]}),(0,e.createComponentVNode)(2,t.Box,{children:D.description})]})})},D.ref)})||(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Modules Detected"})})})})},V=r.MODsuitContent=function(){function B(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data,E=x.ui_theme,M=x.interface_break;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!M,children:!!M&&(0,e.createComponentVNode)(2,u)||(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,h)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,v)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,g)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,C)})]})})}return B}(),b=r.MODsuit=function(){function B(I,w){var T=(0,a.useBackend)(w),A=T.act,x=T.data,E=x.ui_theme,M=x.interface_break;return(0,e.createComponentVNode)(2,o.Window,{theme:E,width:400,height:620,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,V)})})})}return B}()},84274:function(L,r,n){"use strict";r.__esModule=!0,r.MagnetController=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=n(45493),N=n(99665),y=new Map([["n",{icon:"arrow-up",tooltip:"Move North"}],["e",{icon:"arrow-right",tooltip:"Move East"}],["s",{icon:"arrow-down",tooltip:"Move South"}],["w",{icon:"arrow-left",tooltip:"Move West"}],["c",{icon:"crosshairs",tooltip:"Move to Magnet"}],["r",{icon:"dice",tooltip:"Move Randomly"}]]),S=r.MagnetController=function(){function k(p,l){var c=(0,t.useBackend)(l),f=c.act,u=c.data,i=u.autolink,s=u.code,d=u.frequency,h=u.linkedMagnets,v=u.magnetConfiguration,g=u.path,C=u.pathPosition,V=u.probing,b=u.powerState,B=u.speed;return(0,e.createComponentVNode)(2,m.Window,{width:400,height:600,children:[(0,e.createComponentVNode)(2,N.ComplexModal),(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:[!i&&(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Probe",icon:V?"spinner":"sync",iconSpin:!!V,disabled:V,onClick:function(){function I(){return f("probe_magnets")}return I}()}),title:"Magnet Linking",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,a.toFixed)(d/10,1)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:s})]})}),(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{icon:b?"power-off":"times",content:b?"On":"Off",selected:b,onClick:function(){function I(){return f("toggle_power")}return I}()}),title:"Controller Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:B.value,minValue:B.min,maxValue:B.max,onChange:function(){function I(w,T){return f("set_speed",{speed:T})}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Path",children:[Array.from(y.entries()).map(function(I){var w=I[0],T=I[1],A=T.icon,x=T.tooltip;return(0,e.createComponentVNode)(2,o.Button,{icon:A,tooltip:x,onClick:function(){function E(){return f("path_add",{code:w})}return E}()},w)}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",confirmIcon:"trash",confirmContent:"",float:"right",tooltip:"Reset Path",tooltipPosition:"left",onClick:function(){function I(){return f("path_clear")}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file-import",float:"right",tooltip:"Manually input path",tooltipPosition:"left",onClick:function(){function I(){return(0,N.modalOpen)(l,"path_custom_input")}return I}()}),(0,e.createComponentVNode)(2,o.BlockQuote,{children:g.map(function(I,w){var T=y.get(I)||{icon:"question"},A=T.icon,x=T.tooltip;return(0,e.createComponentVNode)(2,o.Button.Confirm,{selected:w+2===C,icon:A,confirmIcon:A,confirmContent:"",tooltip:x,onClick:function(){function E(){return f("path_remove",{index:w+1,code:I})}return E}()},w)})})]})]})}),h.map(function(I,w){var T=I.uid,A=I.powerState,x=I.electricityLevel,E=I.magneticField;return(0,e.createComponentVNode)(2,o.Section,{title:"Magnet #"+(w+1)+" Configuration",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:A?"power-off":"times",content:A?"On":"Off",selected:A,onClick:function(){function M(){return f("toggle_magnet_power",{id:T})}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Move Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:x,minValue:v.electricityLevel.min,maxValue:v.electricityLevel.max,onChange:function(){function M(j,P){return f("set_electricity_level",{id:T,electricityLevel:P})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Field Size",children:(0,e.createComponentVNode)(2,o.Slider,{value:E,minValue:v.magneticField.min,maxValue:v.magneticField.max,onChange:function(){function M(j,P){return f("set_magnetic_field",{id:T,magneticField:P})}return M}()})})]})},T)})]})]})}return k}()},95752:function(L,r,n){"use strict";r.__esModule=!0,r.MechBayConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.MechBayConsole=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.recharge_port,f=c&&c.mech,u=f&&f.cell,i=f&&f.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:155,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:i?"Mech status: "+i:"Mech status",textAlign:"center",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Sync",onClick:function(){function s(){return p("reconnect")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!f&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:f.health/f.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!f&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||!u&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:u.charge/u.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:u.charge})," / "+u.maxcharge]})})]})})})})}return N}()},53668:function(L,r,n){"use strict";r.__esModule=!0,r.MechaControlConsole=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=n(45493),N=n(78234),y=r.MechaControlConsole=function(){function S(k,p){var l=(0,t.useBackend)(p),c=l.act,f=l.data,u=f.beacons,i=f.stored_data;return i.length?(0,e.createComponentVNode)(2,m.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"window-close",onClick:function(){function s(){return c("clear_log")}return s}()}),children:i.map(function(s){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["(",s.time,")"]}),(0,e.createComponentVNode)(2,o.Box,{children:(0,N.decodeHtmlEntities)(s.message)})]},s.time)})})})}):(0,e.createComponentVNode)(2,m.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:u.length&&u.map(function(s){return(0,e.createComponentVNode)(2,o.Section,{title:s.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function d(){return c("send_message",{mt:s.uid})}return d}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function d(){return c("get_log",{mt:s.uid})}return d}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"Sabotage",icon:"bomb",onClick:function(){function d(){return c("shock",{mt:s.uid})}return d}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.maxHealth*.75,1/0],average:[s.maxHealth*.5,s.maxHealth*.75],bad:[-1/0,s.maxHealth*.5]},value:s.health,maxValue:s.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:s.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.cellMaxCharge*.75,1/0],average:[s.cellMaxCharge*.5,s.cellMaxCharge*.75],bad:[-1/0,s.cellMaxCharge*.5]},value:s.cellCharge,maxValue:s.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[s.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:s.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,N.toTitleCase)(s.location)||"Unknown"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Active Equipment",children:s.active||"None"}),s.cargoMax&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cargo Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{bad:[s.cargoMax*.75,1/0],average:[s.cargoMax*.5,s.cargoMax*.75],good:[-1/0,s.cargoMax*.5]},value:s.cargoUsed,maxValue:s.cargoMax})})||null]})},s.name)})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No mecha beacons found."})})})}return S}()},96467:function(L,r,n){"use strict";r.__esModule=!0,r.MedicalRecords=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),m=n(99665),N=n(45493),y=n(68159),S=n(27527),k=n(84537),p={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},l={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},c=function(A,x){(0,m.modalOpen)(A,"edit",{field:x.edit,value:x.value})},f=function(A,x){var E=A.args;return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:E.name||"Virus",children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Number of stages",children:E.max_stages}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Spread",children:[E.spread_text," Transmission"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Possible cure",children:E.cure}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Notes",children:E.desc}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Severity",color:p[E.severity],children:E.severity})]})})})},u=r.MedicalRecords=function(){function T(A,x){var E=(0,t.useBackend)(x),M=E.data,j=M.loginState,P=M.screen;if(!j.logged_in)return(0,e.createComponentVNode)(2,N.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});var R;return P===2?R=(0,e.createComponentVNode)(2,i):P===3?R=(0,e.createComponentVNode)(2,s):P===4?R=(0,e.createComponentVNode)(2,d):P===5?R=(0,e.createComponentVNode)(2,C):P===6?R=(0,e.createComponentVNode)(2,V):P===7&&(R=(0,e.createComponentVNode)(2,b)),(0,e.createComponentVNode)(2,N.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,k.TemporaryNotice),(0,e.createComponentVNode)(2,w),R]})})]})}return T}(),i=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.records,R=(0,t.useLocalState)(x,"searchText",""),D=R[0],F=R[1],W=(0,t.useLocalState)(x,"sortId","name"),_=W[0],H=W[1],z=(0,t.useLocalState)(x,"sortOrder",!0),$=z[0],X=z[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Manage Records",icon:"wrench",ml:"0.25rem",onClick:function(){function J(){return M("screen",{screen:3})}return J}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"Search by Name, ID, Physical Status, or Mental Status",onInput:function(){function J(ce,re){return F(re)}return J}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,B,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,B,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,B,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,B,{id:"p_stat",children:"Patient Status"}),(0,e.createComponentVNode)(2,B,{id:"m_stat",children:"Mental Status"})]}),P.filter((0,a.createSearch)(D,function(J){return J.name+"|"+J.id+"|"+J.rank+"|"+J.p_stat+"|"+J.m_stat})).sort(function(J,ce){var re=$?1:-1;return J[_].localeCompare(ce[_])*re}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+l[J.p_stat],onClick:function(){function ce(){return M("view_record",{view_record:J.ref})}return ce}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.m_stat})]},J.id)})]})})})],4)},s=function(A,x){var E=(0,t.useBackend)(x),M=E.act;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"download",content:"Backup to Disk",disabled:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0})," "]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,lineHeight:3,icon:"trash",color:"translucent",content:"Delete All Medical Records",onClick:function(){function j(){return M("del_all_med_records")}return j}()})})]})})},d=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical,R=j.printing;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{height:"235px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:R?"spinner":"print",disabled:R,iconSpin:!!R,content:"Print Record",ml:"0.5rem",onClick:function(){function D(){return M("print_record")}return D}()}),children:(0,e.createComponentVNode)(2,h)})}),!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function D(){return M("new_med_record")}return D}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Medical records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:!!P.empty,content:"Delete Medical Record",onClick:function(){function D(){return M("del_med_record")}return D}()}),children:(0,e.createComponentVNode)(2,v)})}),(0,e.createComponentVNode)(2,g)],4)],0)},h=function(A,x){var E=(0,t.useBackend)(x),M=E.data,j=M.general;return!j||!j.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:j.fields.map(function(P,R){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:P.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:P.value}),!!P.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function D(){return c(x,P)}return D}()})]},R)})})}),!!j.has_photos&&j.photos.map(function(P,R){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:P,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,e.createVNode)(1,"br"),"Photo #",R+1]},R)})]})},v=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical;return!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"Medical records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:P.fields.map(function(R,D){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:R.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:R.value}),!!R.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function F(){return c(x,R)}return F}()})]},D)})})})})},g=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function R(){return(0,m.modalOpen)(x,"add_comment")}return R}()}),children:P.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):P.comments.map(function(R,D){return(0,e.createComponentVNode)(2,o.Box,{prewrap:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:R.header}),(0,e.createVNode)(1,"br"),R.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function F(){return M("del_comment",{del_comment:D+1})}return F}()})]},D)})})})},C=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.virus,R=(0,t.useLocalState)(x,"searchText",""),D=R[0],F=R[1],W=(0,t.useLocalState)(x,"sortId2","name"),_=W[0],H=W[1],z=(0,t.useLocalState)(x,"sortOrder2",!0),$=z[0],X=z[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{ml:"0.25rem",fluid:!0,placeholder:"Search by Name, Max Stages, or Severity",onInput:function(){function J(ce,re){return F(re)}return J}()})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,I,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,I,{id:"max_stages",children:"Max Stages"}),(0,e.createComponentVNode)(2,I,{id:"severity",children:"Severity"})]}),P.filter((0,a.createSearch)(D,function(J){return J.name+"|"+J.max_stages+"|"+J.severity})).sort(function(J,ce){var re=$?1:-1;return J[_].localeCompare(ce[_])*re}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+J.severity,onClick:function(){function ce(){return M("vir",{vir:J.D})}return ce}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:p[J.severity],children:J.severity})]},J.id)})]})})})})],4)},V=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.goals;return(0,e.createComponentVNode)(2,o.Section,{title:"Virology Goals",fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:P.length!==0&&P.map(function(R){return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:R.name,children:[(0,e.createComponentVNode)(2,o.Table,{children:(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:R.delivered,minValue:0,maxValue:R.deliverygoal,ranges:{good:[R.deliverygoal*.5,1/0],average:[R.deliverygoal*.25,R.deliverygoal*.5],bad:[-1/0,R.deliverygoal*.25]},children:[R.delivered," / ",R.deliverygoal," Units"]})})})}),(0,e.createComponentVNode)(2,o.Box,{children:R.report})]})},R.id)})||(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:"No Goals Detected"})})})})},b=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medbots;return P.length===0?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"robot",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"There are no Medibots."]})})})}):(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Area"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Chemicals"})]}),P.map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listMedbot--"+R.on,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"medical"})," ",R.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[R.area||"Unknown"," (",R.x,", ",R.y,")"]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.on?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Online"}):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"Offline"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.use_beaker?"Reservoir: "+R.total_volume+"/"+R.maximum_volume:"Using internal synthesizer"})]},R.id)})]})})})},B=function(A,x){var E=(0,t.useLocalState)(x,"sortId","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(x,"sortOrder",!0),R=P[0],D=P[1],F=A.id,W=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function _(){M===F?D(!R):(j(F),D(!0))}return _}(),children:[W,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},I=function(A,x){var E=(0,t.useLocalState)(x,"sortId2","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(x,"sortOrder2",!0),R=P[0],D=P[1],F=A.id,W=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function _(){M===F?D(!R):(j(F),D(!0))}return _}(),children:[W,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},w=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.screen,R=j.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:P===2,onClick:function(){function D(){M("screen",{screen:2})}return D}(),children:"List Records"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:P===5,onClick:function(){function D(){M("screen",{screen:5})}return D}(),children:"Virus Database"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"vial",selected:P===6,onClick:function(){function D(){M("screen",{screen:6})}return D}(),children:"Virology Goals"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:P===7,onClick:function(){function D(){return M("screen",{screen:7})}return D}(),children:"Medibot Tracking"}),P===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:P===3,children:"Record Maintenance"}),P===4&&R&&!R.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:P===4,children:["Record: ",R.fields[0].value]})]})})};(0,m.modalRegisterBodyOverride)("virus",f)},68211:function(L,r,n){"use strict";r.__esModule=!0,r.MerchVendor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=p.product,s=p.productImage,d=p.productCategory,h=u.user_money;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{disabled:i.price>h,icon:"shopping-cart",content:i.price,textAlign:"left",onClick:function(){function v(){return f("purchase",{name:i.name,category:d})}return v}()})})]})},N=function(p,l){var c=(0,a.useBackend)(l),f=c.data,u=(0,a.useLocalState)(l,"tabIndex",1),i=u[0],s=f.products,d=f.imagelist,h=["apparel","toy","decoration"];return(0,e.createComponentVNode)(2,t.Table,{children:s[h[i]].map(function(v){return(0,e.createComponentVNode)(2,m,{product:v,productImage:d[v.path],productCategory:h[i]},v.name)})})},y=r.MerchVendor=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.user_cash,s=u.inserted_cash;return(0,e.createComponentVNode)(2,o.Window,{title:"Merch Computer",width:450,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"light-grey",inline:!0,mr:"0.5rem",children:["There is ",(0,e.createVNode)(1,"b",null,s,0)," credits inserted."]}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s,icon:"money-bill-wave-alt",content:"Dispense Change",textAlign:"left",onClick:function(){function d(){return f("change")}return d}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:["Doing your job and not getting any recognition at work? Well, welcome to the merch shop! Here, you can buy cool things in exchange for money you earn when you have completed your Job Objectives.",i!==null&&(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:["Your balance is ",(0,e.createVNode)(1,"b",null,[i||0,(0,e.createTextVNode)(" credits")],0),"."]})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,N)]})})]})})})}return k}(),S=function(p,l){var c=(0,a.useBackend)(l),f=c.data,u=(0,a.useLocalState)(l,"tabIndex",1),i=u[0],s=u[1],d=f.login_state;return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"dice",selected:i===1,onClick:function(){function h(){return s(1)}return h}(),children:"Toys"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"flag",selected:i===2,onClick:function(){function h(){return s(2)}return h}(),children:"Decorations"})]})}},14162:function(L,r,n){"use strict";r.__esModule=!0,r.MiningVendor=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),m=n(45493),N=["title","items"];function y(u,i){if(u==null)return{};var s={},d=Object.keys(u),h,v;for(v=0;v<d.length;v++)h=d[v],!(i.indexOf(h)>=0)&&(s[h]=u[h]);return s}var S={Alphabetical:function(){function u(i,s){return i-s}return u}(),Availability:function(){function u(i,s){return-(i.affordable-s.affordable)}return u}(),Price:function(){function u(i,s){return i.price-s.price}return u}()},k=r.MiningVendor=function(){function u(i,s){return(0,e.createComponentVNode)(2,m.Window,{width:400,height:455,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,l)]})})})}return u}(),p=function(i,s){var d=(0,t.useBackend)(s),h=d.act,v=d.data,g=v.has_id,C=v.id;return(0,e.createComponentVNode)(2,o.NoticeBox,{success:g,children:g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",C.name,".",(0,e.createVNode)(1,"br"),"You have ",C.points.toLocaleString("en-US")," points."]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){function V(){return h("logoff")}return V}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},l=function(i,s){var d=(0,t.useBackend)(s),h=d.act,v=d.data,g=v.has_id,C=v.id,V=v.items,b=(0,t.useLocalState)(s,"search",""),B=b[0],I=b[1],w=(0,t.useLocalState)(s,"sort","Alphabetical"),T=w[0],A=w[1],x=(0,t.useLocalState)(s,"descending",!1),E=x[0],M=x[1],j=(0,a.createSearch)(B,function(D){return D[0]}),P=!1,R=Object.entries(V).map(function(D,F){var W=Object.entries(D[1]).filter(j).map(function(_){return _[1].affordable=g&&C.points>=_[1].price,_[1]}).sort(S[T]);if(W.length!==0)return E&&(W=W.reverse()),P=!0,(0,e.createComponentVNode)(2,f,{title:D[0],items:W},D[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:P?R:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},c=function(i,s){var d=(0,t.useLocalState)(s,"search",""),h=d[0],v=d[1],g=(0,t.useLocalState)(s,"sort",""),C=g[0],V=g[1],b=(0,t.useLocalState)(s,"descending",!1),B=b[0],I=b[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{mt:.2,placeholder:"Search by item name..",width:"100%",onInput:function(){function w(T,A){return v(A)}return w}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:"Alphabetical",options:Object.keys(S),width:"100%",onSelected:function(){function w(T){return V(T)}return w}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:B?"arrow-down":"arrow-up",height:"21px",tooltip:B?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function w(){return I(!B)}return w}()})})]})})},f=function(i,s){var d=(0,t.useBackend)(s),h=d.act,v=d.data,g=i.title,C=i.items,V=y(i,N);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:g},V,{children:C.map(function(b){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:b.name}),(0,e.createComponentVNode)(2,o.Button,{disabled:!v.has_id||v.id.points<b.price,content:b.price.toLocaleString("en-US"),width:"15%",textAlign:"center",style:{float:"right"},onClick:function(){function B(){return h("purchase",{cat:g,name:b.name})}return B}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})]},b.name)})})))}},46146:function(L,r,n){"use strict";r.__esModule=!0,r.ModpacksListContent=r.ModpacksList=void 0;var e=n(96524),a=n(17899),t=n(45493),o=n(24674),m=r.ModpacksList=function(){function y(S,k){return(0,e.createComponentVNode)(2,t.Window,{width:500,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,N)})})})}return y}(),N=r.ModpacksListContent=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.modpacks,u=(0,a.useLocalState)(k,"searchText",""),i=u[0],s=u[1],d=(0,e.createComponentVNode)(2,o.Input,{placeholder:"\u0418\u0441\u043A\u0430\u0442\u044C \u043C\u043E\u0434\u043F\u0430\u043A \u043F\u043E \u0438\u043C\u0435\u043D\u0438, \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044E \u0438\u043B\u0438 \u0430\u0432\u0442\u043E\u0440\u0443...",fluid:!0,onInput:function(){function h(v,g){return s(g)}return h}()});return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",children:d})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:i.length>0?'\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 "'+i+'"':"\u0412\u0441\u0435 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438 - "+f.length,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:f.filter(function(h){return h.name&&(i.length>0?h.name.toLowerCase().includes(i.toLowerCase())||h.desc.toLowerCase().includes(i.toLowerCase())||h.author.toLowerCase().includes(i.toLowerCase()):!0)}).map(function(h){return(0,e.createComponentVNode)(2,o.Collapsible,{title:h.name,children:[(0,e.createComponentVNode)(2,o.Section,{title:"\u0410\u0432\u0442\u043E\u0440\u044B",children:h.author}),(0,e.createComponentVNode)(2,o.Section,{title:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",children:h.desc})]},h.name)})})})})})],4)}return y}()},68977:function(L,r,n){"use strict";r.__esModule=!0,r.NTRecruiter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.NTRecruiter=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.gamestatus,f=l.cand_name,u=l.cand_birth,i=l.cand_age,s=l.cand_species,d=l.cand_planet,h=l.cand_job,v=l.cand_records,g=l.cand_curriculum,C=l.total_curriculums,V=l.reason;if(c===0)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{pt:"45%",fontSize:"31px",color:"white",textAlign:"center",bold:!0,children:"Nanotrasen Recruiter Simulator"}),(0,e.createComponentVNode)(2,t.Stack.Item,{pt:"1%",fontSize:"16px",textAlign:"center",color:"label",children:"Work as the Nanotrasen recruiter and avoid hiring incompetent employees!"})]})}),(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",lineHeight:2,fluid:!0,icon:"play",color:"green",content:"Begin Shift",onClick:function(){function b(){return p("start_game")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",lineHeight:2,fluid:!0,icon:"info",color:"blue",content:"Guide",onClick:function(){function b(){return p("instructions")}return b}()})]})]})})});if(c===1)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,color:"grey",title:"Guide",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Main Menu",onClick:function(){function b(){return p("back_to_menu")}return b}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"1#",color:"silver",children:["To win this game you must hire/dismiss"," ",(0,e.createVNode)(1,"b",null,C,0)," candidates, one wrongly made choice leads to a game over."]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"2#",color:"silver",children:"Make the right choice by truly putting yourself into the skin of a recruiter working for Nanotrasen!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"3#",color:"silver",children:[(0,e.createVNode)(1,"b",null,"Unique",16)," characters may appear, pay attention to them!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"4#",color:"silver",children:"Make sure to pay attention to details like age, planet names, the requested job and even the species of the candidate!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"5#",color:"silver",children:["Not every employment record is good, remember to make your choice based on the ",(0,e.createVNode)(1,"b",null,"company morals",16),"!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"6#",color:"silver",children:"The planet of origin has no restriction on the species of the candidate, don't think too much when you see humans that came from Boron!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"7#",color:"silver",children:["Pay attention to ",(0,e.createVNode)(1,"b",null,"typos",16)," and ",(0,e.createVNode)(1,"b",null,"missing words",16),", these do make for bad applications!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"8#",color:"silver",children:["Remember, you are recruiting people to work at one of the many NT stations, so no hiring for ",(0,e.createVNode)(1,"b",null,"jobs",16)," that they"," ",(0,e.createVNode)(1,"b",null,"don't offer",16),"!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"9#",color:"silver",children:["Keep your eyes open for incompatible ",(0,e.createVNode)(1,"b",null,"naming schemes",16),", no company wants a Vox named Joe!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10#",color:"silver",children:["For some unknown reason ",(0,e.createVNode)(1,"b",null,"clowns",16)," are never denied by the company, no matter what."]})]})})})})});if(c===2)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,color:"label",fontSize:"14px",title:"Employment Applications",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"24px",textAlign:"center",color:"silver",bold:!0,children:["Candidate Number #",g]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",color:"silver",children:(0,e.createVNode)(1,"b",null,f,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",color:"silver",children:(0,e.createVNode)(1,"b",null,s,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Age",color:"silver",children:(0,e.createVNode)(1,"b",null,i,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Date of Birth",color:"silver",children:(0,e.createVNode)(1,"b",null,u,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Planet of Origin",color:"silver",children:(0,e.createVNode)(1,"b",null,d,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requested Job",color:"silver",children:(0,e.createVNode)(1,"b",null,h,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Employment Records",color:"silver",children:(0,e.createVNode)(1,"b",null,v,0)})]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stamp the application!",color:"grey",textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"red",content:"Dismiss",fontSize:"150%",icon:"ban",lineHeight:4.5,onClick:function(){function b(){return p("dismiss")}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"green",content:"Hire",fontSize:"150%",icon:"arrow-circle-up",lineHeight:4.5,onClick:function(){function b(){return p("hire")}return b}()})})]})})})]})})});if(c===3)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{pt:"40%",fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,color:"red",fontSize:"50px",textAlign:"center",children:"Game Over"}),(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"15px",color:"label",textAlign:"center",children:V}),(0,e.createComponentVNode)(2,t.Stack.Item,{color:"blue",fontSize:"20px",textAlign:"center",pt:"10px",children:["FINAL SCORE: ",g-1,"/",C]})]})}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{lineHeight:4,fluid:!0,icon:"arrow-left",content:"Main Menu",onClick:function(){function b(){return p("back_to_menu")}return b}()})})]})})})}return N}()},17067:function(L,r,n){"use strict";r.__esModule=!0,r.Newscaster=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),m=n(38424),N=n(45493),y=n(99665),S=n(84537),k=["icon","iconSpin","selected","security","onClick","title","children"],p=["name"];function l(I,w){if(I==null)return{};var T={},A=Object.keys(I),x,E;for(E=0;E<A.length;E++)x=A[E],!(w.indexOf(x)>=0)&&(T[x]=I[x]);return T}var c=128,f=["security","engineering","medical","science","service","supply"],u={security:{title:"Security",fluff_text:"Help keep the crew safe"},engineering:{title:"Engineering",fluff_text:"Ensure the station runs smoothly"},medical:{title:"Medical",fluff_text:"Practice medicine and save lives"},science:{title:"Science",fluff_text:"Develop new technologies"},service:{title:"Service",fluff_text:"Provide amenities to the crew"},supply:{title:"Supply",fluff_text:"Keep the station supplied"}},i=r.Newscaster=function(){function I(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.is_security,j=E.is_admin,P=E.is_silent,R=E.is_printing,D=E.screen,F=E.channels,W=E.channel_idx,_=W===void 0?-1:W,H=(0,t.useLocalState)(T,"menuOpen",!1),z=H[0],$=H[1],X=(0,t.useLocalState)(T,"viewingPhoto",""),J=X[0],ce=X[1],re=(0,t.useLocalState)(T,"censorMode",!1),me=re[0],pe=re[1],ye;D===0||D===2?ye=(0,e.createComponentVNode)(2,d):D===1&&(ye=(0,e.createComponentVNode)(2,h));var Be=F.reduce(function(he,oe){return he+oe.unread},0);return(0,e.createComponentVNode)(2,N.Window,{theme:M&&"security",width:800,height:600,children:[J?(0,e.createComponentVNode)(2,C):(0,e.createComponentVNode)(2,y.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"}),(0,e.createComponentVNode)(2,N.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Section,{fill:!0,className:(0,a.classes)(["Newscaster__menu",z&&"Newscaster__menu--open"]),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,s,{icon:"bars",title:"Toggle Menu",onClick:function(){function he(){return $(!z)}return he}()}),(0,e.createComponentVNode)(2,s,{icon:"newspaper",title:"Headlines",selected:D===0,onClick:function(){function he(){return x("headlines")}return he}(),children:Be>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:Be>=10?"9+":Be})}),(0,e.createComponentVNode)(2,s,{icon:"briefcase",title:"Job Openings",selected:D===1,onClick:function(){function he(){return x("jobs")}return he}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:F.map(function(he){return(0,e.createComponentVNode)(2,s,{icon:he.icon,title:he.name,selected:D===2&&F[_-1]===he,onClick:function(){function oe(){return x("channel",{uid:he.uid})}return oe}(),children:he.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:he.unread>=10?"9+":he.unread})},he)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!M||!!j)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function he(){return(0,y.modalOpen)(T,"wanted_notice")}return he}()}),(0,e.createComponentVNode)(2,s,{security:!0,icon:me?"minus-square":"minus-square-o",title:"Censor Mode: "+(me?"On":"Off"),mb:"0.5rem",onClick:function(){function he(){return pe(!me)}return he}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,s,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function he(){return(0,y.modalOpen)(T,"create_story")}return he}()}),(0,e.createComponentVNode)(2,s,{icon:"plus-circle",title:"New Channel",onClick:function(){function he(){return(0,y.modalOpen)(T,"create_channel")}return he}()}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,s,{icon:R?"spinner":"print",iconSpin:R,title:R?"Printing...":"Print Newspaper",onClick:function(){function he(){return x("print_newspaper")}return he}()}),(0,e.createComponentVNode)(2,s,{icon:P?"volume-mute":"volume-up",title:"Mute: "+(P?"On":"Off"),onClick:function(){function he(){return x("toggle_mute")}return he}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,S.TemporaryNotice),ye]})]})})]})}return I}(),s=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=w.icon,M=E===void 0?"":E,j=w.iconSpin,P=w.selected,R=P===void 0?!1:P,D=w.security,F=D===void 0?!1:D,W=w.onClick,_=w.title,H=w.children,z=l(w,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Newscaster__menuButton",R&&"Newscaster__menuButton--selected",F&&"Newscaster__menuButton--security"]),onClick:W},z,{children:[R&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:M,spin:j,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:_}),H]})))},d=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.screen,j=E.is_admin,P=E.channel_idx,R=E.channel_can_manage,D=E.channels,F=E.stories,W=E.wanted,_=(0,t.useLocalState)(T,"fullStories",[]),H=_[0],z=_[1],$=(0,t.useLocalState)(T,"censorMode",!1),X=$[0],J=$[1],ce=M===2&&P>-1?D[P-1]:null;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!W&&(0,e.createComponentVNode)(2,v,{story:W,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:ce?ce.icon:"newspaper",mr:"0.5rem"}),ce?ce.name:"Headlines"],0),children:F.length>0?F.slice().reverse().map(function(re){return!H.includes(re.uid)&&re.body.length+3>c?Object.assign({},re,{body_short:re.body.substr(0,c-4)+"..."}):re}).map(function(re,me){return(0,e.createComponentVNode)(2,v,{story:re},me)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no stories at this time."]})}),!!ce&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,height:"40%",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"info-circle",mr:"0.5rem"}),(0,e.createTextVNode)("About")],4),buttons:(0,e.createFragment)([X&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!ce.admin&&!j,selected:ce.censored,icon:ce.censored?"comment-slash":"comment",content:ce.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function re(){return x("censor_channel",{uid:ce.uid})}return re}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!R,icon:"cog",content:"Manage",onClick:function(){function re(){return(0,y.modalOpen)(T,"manage_channel",{uid:ce.uid})}return re}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:ce.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:ce.author||"N/A"}),!!j&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Ckey",children:ce.author_ckey}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:ce.public?"Yes":"No"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Views",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"eye",mr:"0.5rem"}),F.reduce(function(re,me){return re+me.view_count},0).toLocaleString()]})]})})]})},h=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.jobs,j=E.wanted,P=Object.entries(M).reduce(function(R,D){var F=D[0],W=D[1];return R+W.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!j&&(0,e.createComponentVNode)(2,v,{story:j,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"briefcase",mr:"0.5rem"}),(0,e.createTextVNode)("Job Openings")],4),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:"Work for a better future at Nanotrasen"}),children:P>0?f.map(function(R){return Object.assign({},u[R],{id:R,jobs:M[R]})}).filter(function(R){return!!R&&R.jobs.length>0}).map(function(R){return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__jobCategory","Newscaster__jobCategory--"+R.id]),title:R.title,buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:R.fluff_text}),children:R.jobs.map(function(D){return(0,e.createComponentVNode)(2,o.Box,{class:(0,a.classes)(["Newscaster__jobOpening",!!D.is_command&&"Newscaster__jobOpening--command"]),children:["\u2022 ",D.title]},D.title)})},R.id)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no openings at this time."]})}),(0,e.createComponentVNode)(2,o.Section,{height:"17%",children:["Interested in serving Nanotrasen?",(0,e.createVNode)(1,"br"),"Sign up for any of the above position now at the"," ",(0,e.createVNode)(1,"b",null,"Head of Personnel's Office!",16),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{as:"small",color:"label",children:"By signing up for a job at Nanotrasen, you agree to transfer your soul to the loyalty department of the omnipresent and helpful watcher of humanity."})]})]})},v=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=w.story,j=w.wanted,P=j===void 0?!1:j,R=E.is_admin,D=(0,t.useLocalState)(T,"fullStories",[]),F=D[0],W=D[1],_=(0,t.useLocalState)(T,"censorMode",!1),H=_[0],z=_[1];return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__story",P&&"Newscaster__story--wanted"]),title:(0,e.createFragment)([P&&(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle",mr:"0.5rem"}),M.censor_flags&2&&"[REDACTED]"||M.title||"News from "+M.author],0),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:[!P&&H&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:(0,e.createComponentVNode)(2,o.Button,{enabled:M.censor_flags&2,icon:M.censor_flags&2?"comment-slash":"comment",content:M.censor_flags&2?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){function $(){return x("censor_story",{uid:M.uid})}return $}()})}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",M.author," |\xA0",!!R&&(0,e.createFragment)([(0,e.createTextVNode)("ckey: "),M.author_ckey,(0,e.createTextVNode)(" |\xA0")],0),!P&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),M.view_count.toLocaleString(),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("|\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,m.timeAgo)(M.publish_time,E.world_time)]})]})}),children:(0,e.createComponentVNode)(2,o.Box,{children:M.censor_flags&2?"[REDACTED]":(0,e.createFragment)([!!M.has_photo&&(0,e.createComponentVNode)(2,g,{name:"story_photo_"+M.uid+".png",float:"right",ml:"0.5rem"}),(M.body_short||M.body).split("\n").map(function($,X){return(0,e.createComponentVNode)(2,o.Box,{children:$||(0,e.createVNode)(1,"br")},X)}),M.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function $(){return W([].concat(F,[M.uid]))}return $}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},g=function(w,T){var A=w.name,x=l(w,p),E=(0,t.useLocalState)(T,"viewingPhoto",""),M=E[0],j=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"img",className:"Newscaster__photo",src:A,onClick:function(){function P(){return j(A)}return P}()},x)))},C=function(w,T){var A=(0,t.useLocalState)(T,"viewingPhoto",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Newscaster__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:x}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function M(){return E("")}return M}()})]})},V=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=!!w.args.uid&&E.channels.filter(function(q){return q.uid===w.args.uid}).pop();if(w.id==="manage_channel"&&!M){(0,y.modalClose)(T);return}var j=w.id==="manage_channel",P=!!w.args.is_admin,R=w.args.scanned_user,D=(0,t.useLocalState)(T,"author",(M==null?void 0:M.author)||R||"Unknown"),F=D[0],W=D[1],_=(0,t.useLocalState)(T,"name",(M==null?void 0:M.name)||""),H=_[0],z=_[1],$=(0,t.useLocalState)(T,"description",(M==null?void 0:M.description)||""),X=$[0],J=$[1],ce=(0,t.useLocalState)(T,"icon",(M==null?void 0:M.icon)||"newspaper"),re=ce[0],me=ce[1],pe=(0,t.useLocalState)(T,"isPublic",j?!!(M!=null&&M.public):!1),ye=pe[0],Be=pe[1],he=(0,t.useLocalState)(T,"adminLocked",(M==null?void 0:M.admin)===1||!1),oe=he[0],Z=he[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:j?"Manage "+M.name:"Create New Channel",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function q(ue,se){return W(se)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:H,onInput:function(){function q(ue,se){return z(se)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",placeholder:"128 characters max.",maxLength:"128",value:X,onInput:function(){function q(ue,se){return J(se)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!P,value:re,width:"35%",mr:"0.5rem",onInput:function(){function q(ue,se){return me(se)}return q}()}),(0,e.createComponentVNode)(2,o.Icon,{name:re,size:"2",verticalAlign:"middle",mr:"0.5rem"})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Accept Public Stories?",children:(0,e.createComponentVNode)(2,o.Button,{selected:ye,icon:ye?"toggle-on":"toggle-off",content:ye?"Yes":"No",onClick:function(){function q(){return Be(!ye)}return q}()})}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:oe,icon:oe?"lock":"lock-open",content:oe?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function q(){return Z(!oe)}return q}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||H.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function q(){(0,y.modalAnswer)(T,w.id,"",{author:F,name:H.substr(0,49),description:X.substr(0,128),icon:re,public:ye?1:0,admin_locked:oe?1:0})}return q}()})]})},b=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.photo,j=E.channels,P=E.channel_idx,R=P===void 0?-1:P,D=!!w.args.is_admin,F=w.args.scanned_user,W=j.slice().sort(function(q,ue){if(R<0)return 0;var se=j[R-1];if(se.uid===q.uid)return-1;if(se.uid===ue.uid)return 1}).filter(function(q){return D||!q.frozen&&(q.author===F||!!q.public)}),_=(0,t.useLocalState)(T,"author",F||"Unknown"),H=_[0],z=_[1],$=(0,t.useLocalState)(T,"channel",W.length>0?W[0].name:""),X=$[0],J=$[1],ce=(0,t.useLocalState)(T,"title",""),re=ce[0],me=ce[1],pe=(0,t.useLocalState)(T,"body",""),ye=pe[0],Be=pe[1],he=(0,t.useLocalState)(T,"adminLocked",!1),oe=he[0],Z=he[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!D,width:"100%",value:H,onInput:function(){function q(ue,se){return z(se)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:X,options:W.map(function(q){return q.name}),mb:"0",width:"100%",onSelected:function(){function q(ue){return J(ue)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"128 characters max.",maxLength:"128",value:re,onInput:function(){function q(ue,se){return me(se)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Story Text",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,multiline:!0,placeholder:"1024 characters max.",maxLength:"1024",rows:"8",width:"100%",value:ye,onInput:function(){function q(ue,se){return Be(se)}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this story by holding the photograph in your hand.",onClick:function(){function q(){return x(M?"eject_photo":"attach_photo")}return q}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:re,maxHeight:"13.5rem",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:[!!M&&(0,e.createComponentVNode)(2,g,{name:"inserted_photo_"+M.uid+".png",float:"right"}),ye.split("\n").map(function(q,ue){return(0,e.createComponentVNode)(2,o.Box,{children:q||(0,e.createVNode)(1,"br")},ue)}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})]})})}),D&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:oe,icon:oe?"lock":"lock-open",content:oe?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function q(){return Z(!oe)}return q}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:H.trim().length===0||X.trim().length===0||re.trim().length===0||ye.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function q(){(0,y.modalAnswer)(T,"create_story","",{author:H,channel:X,title:re.substr(0,127),body:ye.substr(0,1023),admin_locked:oe?1:0})}return q}()})]})},B=function(w,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.photo,j=E.wanted,P=!!w.args.is_admin,R=w.args.scanned_user,D=(0,t.useLocalState)(T,"author",(j==null?void 0:j.author)||R||"Unknown"),F=D[0],W=D[1],_=(0,t.useLocalState)(T,"name",(j==null?void 0:j.title.substr(8))||""),H=_[0],z=_[1],$=(0,t.useLocalState)(T,"description",(j==null?void 0:j.body)||""),X=$[0],J=$[1],ce=(0,t.useLocalState)(T,"adminLocked",(j==null?void 0:j.admin_locked)===1||!1),re=ce[0],me=ce[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Authority",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function pe(ye,Be){return W(Be)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",value:H,maxLength:"128",onInput:function(){function pe(ye,Be){return z(Be)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:X,maxLength:"512",rows:"4",onInput:function(){function pe(ye,Be){return J(Be)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this wanted notice by holding the photograph in your hand.",tooltipPosition:"top",onClick:function(){function pe(){return x(M?"eject_photo":"attach_photo")}return pe}()}),!!M&&(0,e.createComponentVNode)(2,g,{name:"inserted_photo_"+M.uid+".png",float:"right"})]}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:re,icon:re?"lock":"lock-open",content:re?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function pe(){return me(!re)}return pe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!j,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){function pe(){x("clear_wanted_notice"),(0,y.modalClose)(T)}return pe}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||H.trim().length===0||X.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function pe(){(0,y.modalAnswer)(T,w.id,"",{author:F,name:H.substr(0,127),description:X.substr(0,511),admin_locked:re?1:0})}return pe}()})]})};(0,y.modalRegisterBodyOverride)("create_channel",V),(0,y.modalRegisterBodyOverride)("manage_channel",V),(0,y.modalRegisterBodyOverride)("create_story",b),(0,y.modalRegisterBodyOverride)("wanted_notice",B)},46940:function(L,r,n){"use strict";r.__esModule=!0,r.NuclearBomb=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.NuclearBomb=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;return l.extended?(0,e.createComponentVNode)(2,o.Window,{width:350,height:290,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Disk",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.authdisk?"eject":"id-card",selected:l.authdisk,content:l.diskname?l.diskname:"-----",tooltip:l.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function c(){return p("auth")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!l.authdisk,selected:l.authcode,content:l.codemsg,onClick:function(){function c(){return p("code")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Arming & Disarming",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bolted to floor",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.anchored?"check":"times",selected:l.anchored,disabled:!l.authdisk,content:l.anchored?"YES":"NO",onClick:function(){function c(){return p("toggle_anchor")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:l.time,disabled:!l.authfull,tooltip:"Set Timer",onClick:function(){function c(){return p("set_time")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.safety?"check":"times",selected:l.safety,disabled:!l.authfull,content:l.safety?"ON":"OFF",tooltip:l.safety?"Disable Safety":"Enable Safety",onClick:function(){function c(){return p("toggle_safety")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(l.timer,"bomb"),disabled:l.safety||!l.authfull,color:"red",content:l.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function c(){return p("toggle_armed")}return c}()})})]})})]})}):(0,e.createComponentVNode)(2,o.Window,{width:350,height:115,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Deployment",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){function c(){return p("deploy")}return c}()})})})})}return N}()},35478:function(L,r,n){"use strict";r.__esModule=!0,r.NumberInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(68100),m=n(17899),N=n(24674),y=n(45493),S=r.NumberInputModal=function(){function p(l,c){var f=(0,m.useBackend)(c),u=f.act,i=f.data,s=i.init_value,d=i.large_buttons,h=i.message,v=h===void 0?"":h,g=i.timeout,C=i.title,V=(0,m.useLocalState)(c,"input",s),b=V[0],B=V[1],I=function(){function A(x){x!==b&&B(x)}return A}(),w=function(){function A(x){x!==b&&B(x)}return A}(),T=120+(v.length>30?Math.ceil(v.length/3):0);return(0,e.createComponentVNode)(2,y.Window,{title:C,width:270,height:T,children:[g&&(0,e.createComponentVNode)(2,a.Loader,{value:g}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function A(x){var E=window.event?x.which:x.keyCode;E===o.KEY_ENTER&&u("submit",{entry:b}),E===o.KEY_ESCAPE&&u("cancel")}return A}(),children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,children:(0,e.createComponentVNode)(2,N.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N.Box,{color:"label",children:v})}),(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,k,{input:b,onClick:w,onChange:I})}),(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:b})})]})})})]})}return p}(),k=function(l,c){var f=(0,m.useBackend)(c),u=f.act,i=f.data,s=i.min_value,d=i.max_value,h=i.init_value,v=i.round_value,g=l.input,C=l.onClick,V=l.onChange,b=Math.round(g!==s?Math.max(g/2,s):d/2),B=g===s&&s>0||g===1;return(0,e.createComponentVNode)(2,N.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Button,{disabled:g===s,icon:"angle-double-left",onClick:function(){function I(){return C(s)}return I}(),tooltip:g===s?"Min":"Min ("+s+")"})}),(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!v,minValue:s,maxValue:d,onChange:function(){function I(w,T){return V(T)}return I}(),onEnter:function(){function I(w,T){return u("submit",{entry:T})}return I}(),value:g})}),(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Button,{disabled:g===d,icon:"angle-double-right",onClick:function(){function I(){return C(d)}return I}(),tooltip:g===d?"Max":"Max ("+d+")"})}),(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Button,{disabled:B,icon:"divide",onClick:function(){function I(){return C(b)}return I}(),tooltip:B?"Split":"Split ("+b+")"})}),(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Button,{disabled:g===h,icon:"redo",onClick:function(){function I(){return C(h)}return I}(),tooltip:h?"Reset ("+h+")":"Reset"})})]})}},98476:function(L,r,n){"use strict";r.__esModule=!0,r.OperatingComputer=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(45493),m=n(24674),N=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],y=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},k=["bad","average","average","good","average","average","bad"],p=r.OperatingComputer=function(){function u(i,s){var d=(0,t.useBackend)(s),h=d.act,v=d.data,g=v.hasOccupant,C=v.choice,V;return C?V=(0,e.createComponentVNode)(2,f):V=g?(0,e.createComponentVNode)(2,l):(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Window,{width:650,height:455,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Tabs,{children:[(0,e.createComponentVNode)(2,m.Tabs.Tab,{selected:!C,icon:"user",onClick:function(){function b(){return h("choiceOff")}return b}(),children:"Patient"}),(0,e.createComponentVNode)(2,m.Tabs.Tab,{selected:!!C,icon:"cog",onClick:function(){function b(){return h("choiceOn")}return b}(),children:"Options"})]})}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,children:V})})]})})})}return u}(),l=function(i,s){var d=(0,t.useBackend)(s),h=d.data,v=h.occupant;return(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,title:"Patient",children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Name",children:v.name}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Status",color:N[v.stat][0],children:N[v.stat][1]}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:v.maxHealth,value:v.health/v.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),y.map(function(g,C){return(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:g[0]+" Damage",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:"100",value:v[g[1]]/100,ranges:S,children:(0,a.round)(v[g[1]])},C)},C)}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:v.maxTemp,value:v.bodyTemperature/v.maxTemp,color:k[v.temperatureSuitability+3],children:[(0,a.round)(v.btCelsius),"\xB0C, ",(0,a.round)(v.btFaren),"\xB0F"]})}),!!v.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:v.bloodMax,value:v.bloodLevel/v.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[v.bloodPercent,"%, ",v.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Pulse",children:[v.pulse," BPM"]})],4)]})})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{title:"Current Procedure",level:"2",children:v.inSurgery?(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Procedure",children:v.surgeryName}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Next Step",children:v.stepName})]}):(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"No procedure ongoing."})})})]})},c=function(){return(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,m.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No patient detected."]})})},f=function(i,s){var d=(0,t.useBackend)(s),h=d.act,v=d.data,g=v.verbose,C=v.health,V=v.healthAlarm,b=v.oxy,B=v.oxyAlarm,I=v.crit;return(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Loudspeaker",children:(0,e.createComponentVNode)(2,m.Button,{selected:g,icon:g?"toggle-on":"toggle-off",content:g?"On":"Off",onClick:function(){function w(){return h(g?"verboseOff":"verboseOn")}return w}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Health Announcer",children:(0,e.createComponentVNode)(2,m.Button,{selected:C,icon:C?"toggle-on":"toggle-off",content:C?"On":"Off",onClick:function(){function w(){return h(C?"healthOff":"healthOn")}return w}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,e.createComponentVNode)(2,m.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:V,stepPixelSize:5,ml:"0",onChange:function(){function w(T,A){return h("health_adj",{new:A})}return w}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Oxygen Alarm",children:(0,e.createComponentVNode)(2,m.Button,{selected:b,icon:b?"toggle-on":"toggle-off",content:b?"On":"Off",onClick:function(){function w(){return h(b?"oxyOff":"oxyOn")}return w}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,e.createComponentVNode)(2,m.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:B,stepPixelSize:5,ml:"0",onChange:function(){function w(T,A){return h("oxy_adj",{new:A})}return w}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Critical Alert",children:(0,e.createComponentVNode)(2,m.Button,{selected:I,icon:I?"toggle-on":"toggle-off",content:I?"On":"Off",onClick:function(){function w(){return h(I?"critOff":"critOn")}return w}()})})]})}},98702:function(L,r,n){"use strict";r.__esModule=!0,r.Orbit=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),m=n(45493),N=n(28234);function y(d,h){var v=typeof Symbol!="undefined"&&d[Symbol.iterator]||d["@@iterator"];if(v)return(v=v.call(d)).next.bind(v);if(Array.isArray(d)||(v=S(d))||h&&d&&typeof d.length=="number"){v&&(d=v);var g=0;return function(){return g>=d.length?{done:!0}:{done:!1,value:d[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(d,h){if(d){if(typeof d=="string")return k(d,h);var v=Object.prototype.toString.call(d).slice(8,-1);if(v==="Object"&&d.constructor&&(v=d.constructor.name),v==="Map"||v==="Set")return Array.from(d);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return k(d,h)}}function k(d,h){(h==null||h>d.length)&&(h=d.length);for(var v=0,g=new Array(h);v<h;v++)g[v]=d[v];return g}var p=/ \(([0-9]+)\)$/,l=function(h){return(0,a.createSearch)(h,function(v){return v.name+(v.assigned_role!==null?"|"+v.assigned_role:"")})},c=function(h,v){return h<v?-1:h>v},f=function(h,v){var g=h.name,C=v.name;if(!g||!C)return 0;var V=g.match(p),b=C.match(p);if(V&&b&&g.replace(p,"")===C.replace(p,"")){var B=parseInt(V[1],10),I=parseInt(b[1],10);return B-I}return c(g,C)},u=function(h,v){var g=h.searchText,C=h.source,V=h.title,b=h.color,B=h.sorted,I=C.filter(l(g));return B&&I.sort(f),C.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:V+" - ("+C.length+")",children:I.map(function(w){return(0,e.createComponentVNode)(2,i,{thing:w,color:b},w.name)})})},i=function(h,v){var g=(0,t.useBackend)(v),C=g.act,V=h.color,b=h.thing;return(0,e.createComponentVNode)(2,o.Button,{color:V,tooltip:b.assigned_role?(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",mr:"0.5em",className:(0,N.classes)(["orbit_job16x16",b.assigned_role_sprite])})," ",b.assigned_role]}):"",tooltipPosition:"bottom",onClick:function(){function B(){return C("orbit",{ref:b.ref})}return B}(),children:[b.name,b.orbiters&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,ml:1,children:["(",b.orbiters," ",(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),")"]})]})},s=r.Orbit=function(){function d(h,v){for(var g=(0,t.useBackend)(v),C=g.act,V=g.data,b=V.alive,B=V.antagonists,I=V.highlights,w=V.response_teams,T=V.auto_observe,A=V.dead,x=V.ghosts,E=V.misc,M=V.npcs,j=(0,t.useLocalState)(v,"searchText",""),P=j[0],R=j[1],D={},F=y(B),W;!(W=F()).done;){var _=W.value;D[_.antag]===void 0&&(D[_.antag]=[]),D[_.antag].push(_)}var H=Object.entries(D);H.sort(function($,X){return c($[0],X[0])});var z=function(){function $(X){for(var J=0,ce=[H.map(function(pe){var ye=pe[0],Be=pe[1];return Be}),I,b,x,A,M,E];J<ce.length;J++){var re=ce[J],me=re.filter(l(X)).sort(f)[0];if(me!==void 0){C("orbit",{ref:me.ref});break}}}return $}();return(0,e.createComponentVNode)(2,m.Window,{width:700,height:500,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:"search"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search...",autoFocus:!0,fluid:!0,value:P,onInput:function(){function $(X,J){return R(J)}return $}(),onEnter:function(){function $(X,J){return z(J)}return $}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Divider,{vertical:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{inline:!0,color:"transparent",tooltip:"Refresh",tooltipPosition:"bottom-start",icon:"sync-alt",onClick:function(){function $(){return C("refresh")}return $}()})})]})}),B.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:H.map(function($){var X=$[0],J=$[1];return(0,e.createComponentVNode)(2,o.Section,{title:X+" - ("+J.length+")",level:2,children:J.filter(l(P)).sort(f).map(function(ce){return(0,e.createComponentVNode)(2,i,{color:"bad",thing:ce},ce.name)})},X)})}),I.length>0&&(0,e.createComponentVNode)(2,u,{title:"Highlights",source:I,searchText:P,color:"teal"}),(0,e.createComponentVNode)(2,u,{title:"Response Teams",source:w,searchText:P,color:"purple"}),(0,e.createComponentVNode)(2,u,{title:"Alive",source:b,searchText:P,color:"good"}),(0,e.createComponentVNode)(2,u,{title:"Ghosts",source:x,searchText:P,color:"grey"}),(0,e.createComponentVNode)(2,u,{title:"Dead",source:A,searchText:P,sorted:!1}),(0,e.createComponentVNode)(2,u,{title:"NPCs",source:M,searchText:P,sorted:!1}),(0,e.createComponentVNode)(2,u,{title:"Misc",source:E,searchText:P,sorted:!1})]})})}return d}()},74015:function(L,r,n){"use strict";r.__esModule=!0,r.OreRedemption=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),m=n(45493),N=n(81856);function y(d){if(d==null)throw new TypeError("Cannot destructure "+d)}var S=(0,N.createLogger)("OreRedemption"),k=function(h){return h.toLocaleString("en-US")+" pts"},p=r.OreRedemption=function(){function d(h,v){return(0,e.createComponentVNode)(2,m.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{height:"100%"})}),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f)]})})})}return d}(),l=function(h,v){var g=(0,t.useBackend)(v),C=g.act,V=g.data,b=V.id,B=V.points,I=V.disk,w=Object.assign({},(y(h),h));return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({},w,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"average",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"This machine only accepts ore. Gibtonite is not accepted."]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:B>0?"good":"grey",bold:B>0&&"good",children:k(B)})}),(0,e.createComponentVNode)(2,o.Divider),I?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Design disk",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,icon:"eject",content:I.name,tooltip:"Ejects the design disk.",onClick:function(){function T(){return C("eject_disk")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!I.design||!I.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){function T(){return C("download")}return T}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Stored design",children:(0,e.createComponentVNode)(2,o.Box,{color:I.design&&(I.compatible?"good":"bad"),children:I.design||"N/A"})})]}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No design disk inserted."})]})))},c=function(h,v){var g=(0,t.useBackend)(v),C=g.act,V=g.data,b=V.sheets,B=Object.assign({},(y(h),h));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"20%",children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},B,{children:[(0,e.createComponentVNode)(2,u,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),b.map(function(I){return(0,e.createComponentVNode)(2,i,{ore:I},I.id)})]})))})},f=function(h,v){var g=(0,t.useBackend)(v),C=g.act,V=g.data,b=V.alloys,B=Object.assign({},(y(h),h));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},B,{children:[(0,e.createComponentVNode)(2,u,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),b.map(function(I){return(0,e.createComponentVNode)(2,s,{ore:I},I.id)})]})))})},u=function(h,v){var g;return(0,e.createComponentVNode)(2,o.Box,{className:"OreHeader",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:h.title}),(g=h.columns)==null?void 0:g.map(function(C){return(0,e.createComponentVNode)(2,o.Stack.Item,{basis:C[1],textAlign:"center",color:"label",bold:!0,children:C[0]},C)})]})})},i=function(h,v){var g=(0,t.useBackend)(v),C=g.act,V=h.ore;if(!(V.value&&V.amount<=0&&!(["metal","glass"].indexOf(V.id)>-1)))return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"45%",align:"middle",children:(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",V.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:V.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:V.amount>=1?"good":"gray",bold:V.amount>=1,align:"center",children:V.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:V.value}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(V.amount,50),stepPixelSize:6,onChange:function(){function b(B,I){return C(V.value?"sheet":"alloy",{id:V.id,amount:I})}return b}()})})]})})},s=function(h,v){var g=(0,t.useBackend)(v),C=g.act,V=h.ore;return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"7%",align:"middle",children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["alloys32x32",V.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:V.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:V.amount>=1?"good":"gray",align:"center",children:V.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:V.amount>=1?"good":"gray",bold:V.amount>=1,align:"center",children:V.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(V.amount,50),stepPixelSize:6,onChange:function(){function b(B,I){return C(V.value?"sheet":"alloy",{id:V.id,amount:I})}return b}()})})]})})}},48824:function(L,r,n){"use strict";r.__esModule=!0,r.PAI=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(91807),N=n(70752),y=function(p){var l;try{l=N("./"+p+".js")}catch(f){if(f.code==="MODULE_NOT_FOUND")return(0,m.routingError)("notFound",p);throw f}var c=l[p];return c||(0,m.routingError)("missingExport",p)},S=r.PAI=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.app_template,s=u.app_icon,d=u.app_title,h=y(i);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{p:1,fill:!0,scrollable:!0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:s,mr:1}),d,i!=="pai_main_menu"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{ml:2,mb:0,content:"Back",icon:"arrow-left",onClick:function(){function v(){return f("Back")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Home",icon:"arrow-up",onClick:function(){function v(){return f("MASTER_back")}return v}()})],4)]}),children:(0,e.createComponentVNode)(2,h)})})})})})}return k}()},41565:function(L,r,n){"use strict";r.__esModule=!0,r.PDA=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(91807),N=n(59395),y=function(c){var f;try{f=N("./"+c+".js")}catch(i){if(i.code==="MODULE_NOT_FOUND")return(0,m.routingError)("notFound",c);throw i}var u=f[c];return u||(0,m.routingError)("missingExport",c)},S=r.PDA=function(){function l(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.app,h=s.owner;if(!h)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:"No user data found. Please swipe an ID card."})})});var v=y(d.template);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,p:1,pb:0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:d.icon,mr:1}),d.name]}),children:(0,e.createComponentVNode)(2,v)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,p)})]})})})}return l}(),k=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.idInserted,h=s.idLink,v=s.stationTime,g=s.cartridge_name;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{ml:.5,children:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",color:"transparent",onClick:function(){function C(){return i("Authenticate")}return C}(),content:d?h:"No ID Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sd-card",color:"transparent",onClick:function(){function C(){return i("Eject")}return C}(),content:g?["Eject "+g]:"No Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:v})]})},p=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.app;return(0,e.createComponentVNode)(2,t.Box,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[!!d.has_back&&(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"33%",mr:-.5,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:d.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){function h(){return i("Back")}return h}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:d.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:d.is_home?"disabled":"white",icon:"home",onClick:function(){function h(){i("Home")}return h}()})})]})})}},78704:function(L,r,n){"use strict";r.__esModule=!0,r.Pacman=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(92986),N=r.Pacman=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.active,u=c.anchored,i=c.broken,s=c.emagged,d=c.fuel_type,h=c.fuel_usage,v=c.fuel_stored,g=c.fuel_cap,C=c.is_ai,V=c.tmp_current,b=c.tmp_max,B=c.tmp_overheat,I=c.output_max,w=c.power_gen,T=c.output_set,A=c.has_fuel,x=v/g,E=V/b,M=T*w,j=Math.round(v/h),P=Math.round(j/60),R=j>120?P+" minutes":j+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:225,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(i||!u)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!i&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!i&&!u&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!i&&!!u&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:f?"power-off":"times",content:f?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!A,selected:f,onClick:function(){function D(){return l("toggle_power")}return D}()}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",className:"ml-1",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power setting",children:[(0,e.createComponentVNode)(2,t.NumberInput,{value:T,minValue:1,maxValue:I*(s?2.5:1),step:1,className:"mt-1",onDrag:function(){function D(F,W){return l("change_power",{change_power:W})}return D}()}),"(",(0,m.formatPower)(M),")"]})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:E,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[V," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[B>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),B>20&&B<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),B>1&&B<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),B===0&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Optimal"})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fuel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:f||C||!A,onClick:function(){function D(){return l("eject_fuel")}return D}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Type",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:x,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(v/1e3)," dm\xB3"]})})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel usage",children:[h/1e3," dm\xB3/s"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel depletion",children:[!!A&&(h?R:"N/A"),!A&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return y}()},78643:function(L,r,n){"use strict";r.__esModule=!0,r.ParticleAccelerator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.ParticleAccelerator=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.assembled,f=l.power,u=l.strength,i=l.max_strength;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:160,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Control Panel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Connect",onClick:function(){function s(){return p("scan")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",mb:"5px",children:(0,e.createComponentVNode)(2,t.Box,{color:c?"good":"bad",children:c?"Operational":"Error: Verify Configuration"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:f?"power-off":"times",content:f?"On":"Off",selected:f,disabled:!c,onClick:function(){function s(){return p("power")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Strength",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:!c||u===0,onClick:function(){function s(){return p("remove_strength")}return s}(),mr:"4px"}),u,(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:!c||u===i,onClick:function(){function s(){return p("add_strength")}return s}(),ml:"4px"})]})]})})})})}return N}()},34026:function(L,r,n){"use strict";r.__esModule=!0,r.PdaPainter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.PdaPainter=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.data,u=f.has_pda;return(0,e.createComponentVNode)(2,o.Window,{width:510,height:505,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,N)})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"download",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:"160px",textAlign:"center",content:"Insert PDA",onClick:function(){function u(){return f("insert_pda")}return u}()})]})})})},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.pda_colors;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,S)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Table,{className:"PdaPainter__list",children:Object.keys(i).map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{onClick:function(){function d(){return f("choose_pda",{selectedPda:s})}return d}(),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+i[s][0],style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s})]},s)})})})})]})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.current_appearance,s=u.preview_appearance;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Current PDA",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+i,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor"}}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",content:"Eject",color:"green",onClick:function(){function d(){return f("eject_pda")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"paint-roller",content:"Paint PDA",onClick:function(){function d(){return f("paint_pda")}return d}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Preview",children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor"}})})]})}},81378:function(L,r,n){"use strict";r.__esModule=!0,r.PersonalCrafting=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.PersonalCrafting=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.busy,i=f.category,s=f.display_craftable_only,d=f.display_compact,h=f.prev_cat,v=f.next_cat,g=f.subcategory,C=f.prev_subcat,V=f.next_subcat;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!u&&(0,e.createComponentVNode)(2,t.Dimmer,{fontSize:"32px",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog",spin:1})," Crafting..."]}),(0,e.createComponentVNode)(2,t.Section,{title:i,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Show Craftable Only",icon:s?"check-square-o":"square-o",selected:s,onClick:function(){function b(){return c("toggle_recipes")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:d?"check-square-o":"square-o",selected:d,onClick:function(){function b(){return c("toggle_compact")}return b}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:h,icon:"arrow-left",onClick:function(){function b(){return c("backwardCat")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:v,icon:"arrow-right",onClick:function(){function b(){return c("forwardCat")}return b}()})]}),g&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:C,icon:"arrow-left",onClick:function(){function b(){return c("backwardSubCat")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:V,icon:"arrow-right",onClick:function(){function b(){return c("forwardSubCat")}return b}()})]}),d?(0,e.createComponentVNode)(2,N):(0,e.createComponentVNode)(2,y)]})]})})}return S}(),N=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.display_craftable_only,i=f.can_craft,s=f.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function h(){return c("make",{make:d.ref})}return h}()}),d.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:d.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:d.req_text,content:"Requirements",color:"transparent"}),d.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:d.tool_text,content:"Tools",color:"transparent"})]},d.name)}),!u&&s.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),d.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:d.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:d.req_text,content:"Requirements",color:"transparent"}),d.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:d.tool_text,content:"Tools",color:"transparent"})]},d.name)})]})})},y=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.display_craftable_only,i=f.can_craft,s=f.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[i.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function h(){return c("make",{make:d.ref})}return h}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[d.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:d.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:d.req_text}),d.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:d.tool_text})]})},d.name)}),!u&&s.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[d.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:d.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:d.req_text}),d.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:d.tool_text})]})},d.name)})]})}},58792:function(L,r,n){"use strict";r.__esModule=!0,r.Photocopier=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.Photocopier=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:440,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Photocopier",color:"silver",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Copies:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"2em",bold:!0,children:f.copynumber}),(0,e.createComponentVNode)(2,t.Stack.Item,{float:"right",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"minus",textAlign:"center",content:"",onClick:function(){function u(){return c("minus")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"plus",textAlign:"center",content:"",onClick:function(){function u(){return c("add")}return u}()})]})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Toner:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,children:f.toner})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Document:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!f.copyitem&&!f.mob,content:f.copyitem?f.copyitem:f.mob?f.mob+"'s ass!":"document",onClick:function(){function u(){return c("removedocument")}return u}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Folder:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!f.folder,content:f.folder?f.folder:"folder",onClick:function(){function u(){return c("removefolder")}return u}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,N)}),(0,e.createComponentVNode)(2,y)]})})})}return S}(),N=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.issilicon;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"copy",float:"center",textAlign:"center",content:"Copy",onClick:function(){function i(){return c("copy")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file-import",float:"center",textAlign:"center",content:"Scan",onClick:function(){function i(){return c("scandocument")}return i}()}),!!u&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file",color:"green",float:"center",textAlign:"center",content:"Print Text",onClick:function(){function i(){return c("ai_text")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"image",color:"green",float:"center",textAlign:"center",content:"Print Image",onClick:function(){function i(){return c("ai_pic")}return i}()})],4)],0)},y=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Scanned Files",children:f.files.map(function(u){return(0,e.createComponentVNode)(2,t.Section,{title:u.name,buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:f.toner<=0,onClick:function(){function i(){return c("filecopy",{uid:u.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",content:"Delete",color:"bad",onClick:function(){function i(){return c("deletefile",{uid:u.uid})}return i}()})]})},u.name)})})}},45642:function(L,r,n){"use strict";r.__esModule=!0,r.Photocopier220=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(50640),N=n(74041),y=n(78234);function S(f,u){var i=typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(i)return(i=i.call(f)).next.bind(i);if(Array.isArray(f)||(i=k(f))||u&&f&&typeof f.length=="number"){i&&(f=i);var s=0;return function(){return s>=f.length?{done:!0}:{done:!1,value:f[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function k(f,u){if(f){if(typeof f=="string")return p(f,u);var i=Object.prototype.toString.call(f).slice(8,-1);if(i==="Object"&&f.constructor&&(i=f.constructor.name),i==="Map"||i==="Set")return Array.from(f);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return p(f,u)}}function p(f,u){(u==null||u>f.length)&&(u=f.length);for(var i=0,s=new Array(u);i<u;i++)s[i]=f[i];return s}String.prototype.trimLongStr=function(f){return this.length>f?this.substring(0,f)+"...":this};var l=function(u,i){i===void 0&&(i="");var s=(0,y.createSearch)(i,function(d){return d.altername});return(0,N.flow)([(0,m.filter)(function(d){return d==null?void 0:d.altername}),i&&(0,m.filter)(s),(0,m.sortBy)(function(d){return d.id})])(u)},c=r.Photocopier220=function(){function f(u,i){for(var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=h.copies,g=h.maxcopies,C=(0,a.useLocalState)(i,"searchText",""),V=C[0],b=C[1],B=l((0,m.sortBy)(function(P){return P.category})(h.forms||[]),V),I=[],w=S(B),T;!(T=w()).done;){var A=T.value;I.includes(A.category)||I.push(A.category)}var x=(0,a.useLocalState)(i,"number",0),E=x[0],M=x[1],j;return h.category===""?j=B:j=B.filter(function(P){return P.category===h.category}),(0,e.createComponentVNode)(2,o.Window,{width:550,height:575,theme:h.ui_theme,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"40%",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mt:.3,color:"grey",children:"\u0417\u0430\u0440\u044F\u0434 \u0442\u043E\u043D\u0435\u0440\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{minValue:0,maxValue:30,value:h.toner})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mb:.3,color:"grey",children:"\u0424\u043E\u0440\u043C\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",textAlign:"center",bold:!0,children:h.form_id===""?"\u041D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u0430":h.form_id})]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!h.copyitem&&!h.mob,icon:h.copyitem||h.mob?"eject":"times",content:h.copyitem?h.copyitem:h.mob?"\u0416\u043E\u043F\u0430 "+h.mob+"!":"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",onClick:function(){function P(){return d("removedocument")}return P}()})})}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!h.folder,icon:h.folder?"eject":"times",content:h.folder?h.folder:"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u043F\u0430\u043F\u043A\u0438",onClick:function(){function P(){return d("removefolder")}return P}()})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"print",disabled:h.toner===0||h.form===null,content:"\u041F\u0435\u0447\u0430\u0442\u044C",onClick:function(){function P(){return d("print_form")}return P}()})}),!!h.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"image",disabled:h.toner<5,content:"\u0424\u043E\u0442\u043E",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0444\u043E\u0442\u043E \u0441 \u0411\u0430\u0437\u044B \u0414\u0430\u043D\u043D\u044B\u0445",onClick:function(){function P(){return d("ai_pic")}return P}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"copy",content:"\u041A\u043E\u043F\u0438\u044F",disabled:h.toner===0||!h.copyitem&&!h.mob,onClick:function(){function P(){return d("copy")}return P}()})}),!!h.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"i-cursor",content:"\u0422\u0435\u043A\u0441\u0442",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0439 \u0442\u0435\u043A\u0441\u0442",disabled:h.toner===0,onClick:function(){function P(){return d("ai_text")}return P}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:1.5,mt:1.2,width:"50%",color:"grey",children:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E:"}),(0,e.createComponentVNode)(2,t.Slider,{mt:.75,width:"50%",animated:!0,minValue:1,maxValue:g,value:v,stepPixelSize:10,onChange:function(){function P(R,D){return d("copies",{new:D})}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0411\u044E\u0440\u043E\u043A\u0440\u0430\u0442\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:-.5,icon:"chevron-right",color:"transparent",content:"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",selected:!h.category,onClick:function(){function P(){return d("choose_category",{category:""})}return P}()})}),I.map(function(P){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"chevron-right",mb:-.5,color:"transparent",content:P,selected:h.category===P,onClick:function(){function R(){return d("choose_category",{category:P})}return R}()},P)},P)})]})})})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"60%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:h.category||"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",buttons:(0,e.createComponentVNode)(2,t.Input,{mr:18.5,width:"100%",placeholder:"\u041F\u043E\u0438\u0441\u043A \u0444\u043E\u0440\u043C\u044B",onInput:function(){function P(R,D){return b(D)}return P}()}),children:j.map(function(P){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:.5,color:"transparent",content:P.altername.trimLongStr(37),tooltip:P.altername,selected:h.form_id===P.id,onClick:function(){function R(){return d("choose_form",{path:P.path,id:P.id})}return R}()})},P.path)})})})]})})})}return f}()},27902:function(L,r,n){"use strict";r.__esModule=!0,r.PoolController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=["tempKey"];function N(p,l){if(p==null)return{};var c={},f=Object.keys(p),u,i;for(i=0;i<f.length;i++)u=f[i],!(l.indexOf(u)>=0)&&(c[u]=p[u]);return c}var y={scalding:{label:"Scalding",color:"#FF0000",icon:"fa fa-arrow-circle-up",requireEmag:!0},warm:{label:"Warm",color:"#990000",icon:"fa fa-arrow-circle-up"},normal:{label:"Normal",color:null,icon:"fa fa-arrow-circle-right"},cool:{label:"Cool",color:"#009999",icon:"fa fa-arrow-circle-down"},frigid:{label:"Frigid",color:"#00CCCC",icon:"fa fa-arrow-circle-down",requireEmag:!0}},S=function(l,c){var f=l.tempKey,u=N(l,m),i=y[f];if(!i)return null;var s=(0,a.useBackend)(c),d=s.data,h=s.act,v=d.currentTemp,g=i.label,C=i.icon,V=f===v,b=function(){h("setTemp",{temp:f})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({color:"transparent",selected:V,onClick:b},u,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:C}),g]})))},k=r.PoolController=function(){function p(l,c){for(var f=(0,a.useBackend)(c),u=f.data,i=u.emagged,s=u.currentTemp,d=y[s]||y.normal,h=d.label,v=d.color,g=[],C=0,V=Object.entries(y);C<V.length;C++){var b=V[C],B=b[0],I=b[1].requireEmag;(!I||I&&i)&&g.push(B)}return(0,e.createComponentVNode)(2,o.Window,{width:350,height:285,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:v,children:h})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety Status",children:i?(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"WARNING: OVERRIDDEN"}):(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Nominal"})})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Temperature Selection",children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:g.map(function(w){return(0,e.createComponentVNode)(2,S,{fluid:!0,tempKey:w},w)})})})]})})})}return p}()},52025:function(L,r,n){"use strict";r.__esModule=!0,r.PortablePump=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.PortablePump=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.has_holding_tank;return(0,e.createComponentVNode)(2,o.Window,{width:435,height:330,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,y),i?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Holding Tank",children:(0,e.createComponentVNode)(2,t.Box,{color:"average",bold:1,textAlign:"center",mt:2.5,children:"No Holding Tank Inserted."})})]})})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.on,s=u.direction,d=u.port_connected;return(0,e.createComponentVNode)(2,t.Section,{title:"Pump Settings",buttons:(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"power-off",content:i?"On":"Off",color:i?null:"red",selected:i,onClick:function(){function h(){return f("power")}return h}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pump Direction",children:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"sign-in-alt",content:"In",selected:!s,onClick:function(){function h(){return f("set_direction",{direction:0})}return h}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"sign-out-alt",content:"Out",selected:s,onClick:function(){function h(){return f("set_direction",{direction:1})}return h}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Port status",children:(0,e.createComponentVNode)(2,t.Box,{color:d?"green":"average",bold:1,ml:.5,children:d?"Connected":"Disconnected"})})]})})},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.tank_pressure,s=u.target_pressure,d=u.max_target_pressure,h=d*.7,v=d*.25;return(0,e.createComponentVNode)(2,t.Section,{title:"Pressure Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stored pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:d,ranges:{good:[h,1/0],average:[v,h],bad:[-1/0,v]},children:[i," kPa"]})})}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,color:"label",mt:.3,children:"Target pressure:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"undo",mr:.5,width:2.2,textAlign:"center",onClick:function(){function g(){return f("set_pressure",{pressure:101.325})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",mr:.5,width:2.2,textAlign:"center",onClick:function(){function g(){return f("set_pressure",{pressure:0})}return g}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{animated:!0,unit:"kPa",width:16.5,stepPixelSize:.22,minValue:0,maxValue:d,value:s,onChange:function(){function g(C,V){return f("set_pressure",{pressure:V})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",ml:.5,width:2.2,textAlign:"center",onClick:function(){function g(){return f("set_pressure",{pressure:d})}return g}()})})]})]})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.holding_tank,s=u.max_target_pressure,d=s*.7,h=s*.25;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Holding Tank",buttons:(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function v(){return f("remove_tank")}return v}(),icon:"eject",children:"Eject"}),children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",children:"Tank Label:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{color:"silver",ml:4.5,children:i.name})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",mt:2,children:"Tank Pressure:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:1.5,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i.tank_pressure,minValue:0,maxValue:s,ranges:{good:[d,1/0],average:[h,d],bad:[-1/0,h]},children:[i.tank_pressure," kPa"]})})]})]})}},57827:function(L,r,n){"use strict";r.__esModule=!0,r.PortableScrubber=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.PortableScrubber=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.has_holding_tank;return(0,e.createComponentVNode)(2,o.Window,{width:435,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,y),i?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Holding Tank",children:(0,e.createComponentVNode)(2,t.Box,{color:"average",bold:1,textAlign:"center",mt:2.5,children:"No Holding Tank Inserted."})})]})})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.on,s=u.port_connected;return(0,e.createComponentVNode)(2,t.Section,{title:"Pump Settings",buttons:(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"power-off",content:i?"On":"Off",color:i?null:"red",selected:i,onClick:function(){function d(){return f("power")}return d}()}),children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",children:"Port Status:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{color:s?"green":"average",bold:1,ml:6,children:s?"Connected":"Disconnected"})]})})},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.tank_pressure,s=u.rate,d=u.max_rate,h=d*.7,v=d*.25;return(0,e.createComponentVNode)(2,t.Section,{title:"Pressure Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stored pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:d,ranges:{good:[h,1/0],average:[v,h],bad:[-1/0,v]},children:[i," kPa"]})})}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,color:"label",mt:.3,children:"Target pressure:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"undo",mr:.5,width:2.2,textAlign:"center",onClick:function(){function g(){return f("set_rate",{rate:101.325})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",mr:.5,width:2.2,textAlign:"center",onClick:function(){function g(){return f("set_rate",{rate:0})}return g}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{animated:!0,unit:"kPa",width:16.5,stepPixelSize:.22,minValue:0,maxValue:d,value:s,onChange:function(){function g(C,V){return f("set_rate",{rate:V})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",ml:.5,width:2.2,textAlign:"center",onClick:function(){function g(){return f("set_rate",{rate:d})}return g}()})})]})]})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.holding_tank,s=u.max_rate,d=s*.7,h=s*.25;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Holding Tank",buttons:(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function v(){return f("remove_tank")}return v}(),icon:"eject",children:"Eject"}),children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",children:"Tank Label:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{color:"silver",ml:4.5,children:i.name})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",mt:2,children:"Tank Pressure:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:1.5,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i.tank_pressure,minValue:0,maxValue:s,ranges:{good:[d,1/0],average:[h,d],bad:[-1/0,h]},children:[i.tank_pressure," kPa"]})})]})]})}},63825:function(L,r,n){"use strict";r.__esModule=!0,r.PortableTurret=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(57842),N=r.PortableTurret=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.locked,u=c.on,i=c.lethal,s=c.lethal_is_configurable,d=c.targetting_is_configurable,h=c.check_weapons,v=c.neutralize_noaccess,g=c.access_is_configurable,C=c.regions,V=c.selectedAccess,b=c.one_access,B=c.neutralize_norecord,I=c.neutralize_criminals,w=c.neutralize_all,T=c.neutralize_unidentified,A=c.neutralize_cyborgs;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:750,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",f?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,disabled:f,onClick:function(){function x(){return l("power")}return x}()})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lethals",children:(0,e.createComponentVNode)(2,t.Button,{icon:i?"exclamation-triangle":"times",content:i?"On":"Off",color:i?"bad":"",disabled:f,onClick:function(){function x(){return l("lethal")}return x}()})}),!!g&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"One Access Mode",children:(0,e.createComponentVNode)(2,t.Button,{icon:b?"address-card":"exclamation-triangle",content:b?"On":"Off",selected:b,disabled:f,onClick:function(){function x(){return l("one_access")}return x}()})})]})})}),!!d&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Humanoid Targets",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:I,content:"Wanted Criminals",disabled:f,onClick:function(){function x(){return l("autharrest")}return x}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:B,content:"No Sec Record",disabled:f,onClick:function(){function x(){return l("authnorecord")}return x}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Unauthorized Weapons",disabled:f,onClick:function(){function x(){return l("authweapon")}return x}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Unauthorized Access",disabled:f,onClick:function(){function x(){return l("authaccess")}return x}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Other Targets",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:T,content:"Unidentified Lifesigns (Xenos, Animals, Etc)",disabled:f,onClick:function(){function x(){return l("authxeno")}return x}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:A,content:"Cyborgs",disabled:f,onClick:function(){function x(){return l("authborgs")}return x}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:w,content:"All Non-Synthetics",disabled:f,onClick:function(){function x(){return l("authsynth")}return x}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:!!g&&(0,e.createComponentVNode)(2,m.AccessList,{accesses:C,selectedList:V,accessMod:function(){function x(E){return l("set",{access:E})}return x}(),grantAll:function(){function x(){return l("grant_all")}return x}(),denyAll:function(){function x(){return l("clear_all")}return x}(),grantDep:function(){function x(E){return l("grant_region",{region:E})}return x}(),denyDep:function(){function x(E){return l("deny_region",{region:E})}return x}()})})]})})})}return y}()},70373:function(L,r,n){"use strict";r.__esModule=!0,r.PowerMonitorMainContent=r.PowerMonitor=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(36121),m=n(28234),N=n(78234),y=n(17899),S=n(24674),k=n(45493),p=6e5,l=r.PowerMonitor=function(){function d(h,v){return(0,e.createComponentVNode)(2,k.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,k.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,c)})})}return d}(),c=r.PowerMonitorMainContent=function(){function d(h,v){var g=(0,y.useBackend)(v),C=g.act,V=g.data,b=V.powermonitor,B=V.select_monitor;return(0,e.createComponentVNode)(2,S.Box,{m:0,children:[!b&&B&&(0,e.createComponentVNode)(2,f),b&&(0,e.createComponentVNode)(2,u)]})}return d}(),f=function(h,v){var g=(0,y.useBackend)(v),C=g.act,V=g.data,b=V.powermonitors;return(0,e.createComponentVNode)(2,S.Section,{title:"Select Power Monitor",children:b.map(function(B){return(0,e.createComponentVNode)(2,S.Box,{children:(0,e.createComponentVNode)(2,S.Button,{content:B.Area,icon:"arrow-right",onClick:function(){function I(){return C("selectmonitor",{selectmonitor:B.uid})}return I}()})},B)})})},u=function(h,v){var g=(0,y.useBackend)(v),C=g.act,V=g.data,b=V.powermonitor,B=V.history,I=V.apcs,w=V.select_monitor,T=V.no_powernet,A;if(T)A=(0,e.createComponentVNode)(2,S.Box,{color:"bad",textAlign:"center",children:[(0,e.createComponentVNode)(2,S.Icon,{name:"exclamation-triangle",size:"2",my:"0.5rem"}),(0,e.createVNode)(1,"br"),"Warning: The monitor is not connected to power grid via cable!"]});else{var x=(0,y.useLocalState)(v,"sortByField",null),E=x[0],M=x[1],j=B.supply[B.supply.length-1]||0,P=B.demand[B.demand.length-1]||0,R=B.supply.map(function(_,H){return[H,_]}),D=B.demand.map(function(_,H){return[H,_]}),F=Math.max.apply(Math,[p].concat(B.supply,B.demand)),W=(0,t.flow)([(0,a.map)(function(_,H){return Object.assign({},_,{id:_.name+H})}),E==="name"&&(0,a.sortBy)(function(_){return _.Name}),E==="charge"&&(0,a.sortBy)(function(_){return-_.CellPct}),E==="draw"&&(0,a.sortBy)(function(_){return-_.Load})])(I);A=(0,e.createFragment)([(0,e.createComponentVNode)(2,S.Flex,{spacing:1,children:[(0,e.createComponentVNode)(2,S.Flex.Item,{width:"200px",children:(0,e.createComponentVNode)(2,S.Section,{children:(0,e.createComponentVNode)(2,S.LabeledList,{children:[(0,e.createComponentVNode)(2,S.LabeledList.Item,{label:"Supply",children:(0,e.createComponentVNode)(2,S.ProgressBar,{value:j,minValue:0,maxValue:F,color:"green",children:(0,o.toFixed)(j/1e3)+" kW"})}),(0,e.createComponentVNode)(2,S.LabeledList.Item,{label:"Draw",children:(0,e.createComponentVNode)(2,S.ProgressBar,{value:P,minValue:0,maxValue:F,color:"red",children:(0,o.toFixed)(P/1e3)+" kW"})})]})})}),(0,e.createComponentVNode)(2,S.Flex.Item,{grow:1,children:(0,e.createComponentVNode)(2,S.Section,{fill:!0,ml:1,children:[(0,e.createComponentVNode)(2,S.Chart.Line,{fillPositionedParent:!0,data:R,rangeX:[0,R.length-1],rangeY:[0,F],strokeColor:"rgba(32, 177, 66, 1)",fillColor:"rgba(32, 177, 66, 0.25)"}),(0,e.createComponentVNode)(2,S.Chart.Line,{fillPositionedParent:!0,data:D,rangeX:[0,D.length-1],rangeY:[0,F],strokeColor:"rgba(219, 40, 40, 1)",fillColor:"rgba(219, 40, 40, 0.25)"})]})})]}),(0,e.createComponentVNode)(2,S.Box,{mb:1,children:[(0,e.createComponentVNode)(2,S.Box,{inline:!0,mr:2,color:"label",children:"Sort by:"}),(0,e.createComponentVNode)(2,S.Button.Checkbox,{checked:E==="name",content:"Name",onClick:function(){function _(){return M(E!=="name"&&"name")}return _}()}),(0,e.createComponentVNode)(2,S.Button.Checkbox,{checked:E==="charge",content:"Charge",onClick:function(){function _(){return M(E!=="charge"&&"charge")}return _}()}),(0,e.createComponentVNode)(2,S.Button.Checkbox,{checked:E==="draw",content:"Draw",onClick:function(){function _(){return M(E!=="draw"&&"draw")}return _}()})]}),(0,e.createComponentVNode)(2,S.Table,{children:[(0,e.createComponentVNode)(2,S.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,S.Table.Cell,{children:"Area"}),(0,e.createComponentVNode)(2,S.Table.Cell,{collapsing:!0,children:"Charge"}),(0,e.createComponentVNode)(2,S.Table.Cell,{textAlign:"right",children:"Draw"}),(0,e.createComponentVNode)(2,S.Table.Cell,{collapsing:!0,title:"Equipment",children:"Eqp"}),(0,e.createComponentVNode)(2,S.Table.Cell,{collapsing:!0,title:"Lighting",children:"Lgt"}),(0,e.createComponentVNode)(2,S.Table.Cell,{collapsing:!0,title:"Environment",children:"Env"})]}),W.map(function(_,H){return(0,e.createComponentVNode)(2,S.Table.Row,{className:"Table__row candystripe",children:[(0,e.createComponentVNode)(2,S.Table.Cell,{children:(0,N.decodeHtmlEntities)(_.Name)}),(0,e.createComponentVNode)(2,S.Table.Cell,{className:"Table__cell text-right text-nowrap",children:(0,e.createComponentVNode)(2,i,{charging:_.CellStatus,charge:_.CellPct})}),(0,e.createComponentVNode)(2,S.Table.Cell,{className:"Table__cell text-right text-nowrap",children:_.Load}),(0,e.createComponentVNode)(2,S.Table.Cell,{className:"Table__cell text-center text-nowrap",children:(0,e.createComponentVNode)(2,s,{status:_.Equipment})}),(0,e.createComponentVNode)(2,S.Table.Cell,{className:"Table__cell text-center text-nowrap",children:(0,e.createComponentVNode)(2,s,{status:_.Lights})}),(0,e.createComponentVNode)(2,S.Table.Cell,{className:"Table__cell text-center text-nowrap",children:(0,e.createComponentVNode)(2,s,{status:_.Environment})})]},_.id)})]})],4)}return(0,e.createComponentVNode)(2,S.Section,{title:b,buttons:(0,e.createComponentVNode)(2,S.Box,{m:0,children:w&&(0,e.createComponentVNode)(2,S.Button,{content:"Back",icon:"arrow-up",onClick:function(){function _(){return C("return")}return _}()})}),children:A})},i=function(h){var v=h.charging,g=h.charge;return(0,e.createFragment)([(0,e.createComponentVNode)(2,S.Icon,{width:"18px",textAlign:"center",name:v==="N"&&(g>50?"battery-half":"battery-quarter")||v==="C"&&"bolt"||v==="F"&&"battery-full"||v==="M"&&"slash",color:v==="N"&&(g>50?"yellow":"red")||v==="C"&&"yellow"||v==="F"&&"green"||v==="M"&&"orange"}),(0,e.createComponentVNode)(2,S.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,o.toFixed)(g)+"%"})],4)};i.defaultHooks=m.pureComponentHooks;var s=function(h){var v,g,C=h.status;switch(C){case"AOn":v=!0,g=!0;break;case"AOff":v=!0,g=!1;break;case"On":v=!1,g=!0;break;case"Off":v=!1,g=!1;break}var V=(g?"On":"Off")+(" ["+(v?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,S.ColorBox,{color:g?"good":"bad",content:v?void 0:"M",title:V})};s.defaultHooks=m.pureComponentHooks},27262:function(L,r,n){"use strict";r.__esModule=!0,r.PrisonerImplantManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(91097),m=n(99665),N=n(68159),y=n(27527),S=n(45493),k=r.PrisonerImplantManager=function(){function p(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.loginState,d=i.prisonerInfo,h=i.chemicalInfo,v=i.trackingInfo,g;if(!s.logged_in)return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,y.LoginScreen)})});var C=[1,5,10];return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:d.name?"eject":"id-card",selected:d.name,content:d.name?d.name:"-----",tooltip:d.name?"Eject ID":"Insert ID",onClick:function(){function V(){return u("id_card")}return V}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[d.points!==null?d.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:d.points===null,content:"Reset",onClick:function(){function V(){return u("reset_points")}return V}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[d.goal!==null?d.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:d.goal===null,content:"Edit",onClick:function(){function V(){return(0,m.modalOpen)(c,"set_points")}return V}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:d.goal===null})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Tracking Implants",children:v.map(function(V){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",V.subject]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:V.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:V.health}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){function b(){return(0,m.modalOpen)(c,"warn",{uid:V.uid})}return b}()})})]})]},V.subject)]}),(0,e.createVNode)(1,"br")],4)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Chemical Implants",children:h.map(function(V){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",V.name]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Reagents",children:V.volume})}),C.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:V.volume<b,icon:"syringe",content:"Inject "+b+"u",onClick:function(){function B(){return u("inject",{uid:V.uid,amount:b})}return B}()},b)})]},V.name)]}),(0,e.createVNode)(1,"br")],4)})})})]})})]})}return p}()},22046:function(L,r,n){"use strict";r.__esModule=!0,r.PrisonerShuttleConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.PrisonerShuttleConsole=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.can_go_home,f=l.emagged,u=l.id_inserted,i=l.id_name,s=l.id_points,d=l.id_goal,h=f?0:1,v=c?"Completed!":"Insufficient";f&&(v="ERR0R");var g="No ID inserted";return u?g=(0,e.createComponentVNode)(2,t.ProgressBar,{value:s/d,ranges:{good:[h,1/0],bad:[-1/0,h]},children:s+" / "+d+" "+v}):f&&(g="ERR0R COMPLETED?!@"),(0,e.createComponentVNode)(2,o.Window,{width:315,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle controls",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Move shuttle",disabled:!c,onClick:function(){function C(){return p("move_shuttle")}return C}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inserted ID",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:u?i:"-------------",onClick:function(){function C(){return p("handle_id")}return C}()})})]})})})}return N}()},92014:function(L,r,n){"use strict";r.__esModule=!0,r.PrizeCounter=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),m=n(45493),N=r.PrizeCounter=function(){function y(S,k){var p=(0,t.useBackend)(k),l=p.act,c=p.data,f=c.tickets,u=c.prizes,i=u===void 0?[]:u,s=(0,t.useLocalState)(k,"searchText",""),d=s[0],h=s[1],v=i.filter(function(g){return g.name.toLowerCase().includes(d.toLowerCase())});return(0,e.createComponentVNode)(2,m.Window,{width:450,height:585,title:"Arcade Ticket Exchange",children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Available Prizes",buttons:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Input,{mt:.1,width:12.5,placeholder:"Search for a prize",value:d,onInput:function(){function g(C,V){return h(V)}return g}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,iconRight:!0,icon:"ticket",disabled:!f,content:(0,e.createFragment)([(0,e.createTextVNode)("Tickets: "),(0,e.createVNode)(1,"b",null,f,0)],0),onClick:function(){function g(){return l("eject")}return g}()})})]}),children:v.map(function(g){var C=g.cost>f;return(0,e.createComponentVNode)(2,o.Stack,{className:"PrizeCounter__Item",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{lineHeight:"0",align:"center",children:(0,e.createVNode)(1,"div",(0,a.classes)(["prize_counter64x64",g.imageID]))}),(0,e.createComponentVNode)(2,o.Stack.Item,{width:"100%",children:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,mt:1,children:g.name}),(0,e.createComponentVNode)(2,o.Stack.Divider),(0,e.createComponentVNode)(2,o.Stack.Item,{mb:1,children:g.desc})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{className:(0,a.classes)(["PrizeCounter__BuyButton",C&&"PrizeCounter__BuyButton--disabled"]),icon:"ticket",content:g.cost,tooltip:C?"Not enough tickets.":null,tooltipPosition:"top-end",onClick:function(){function V(){return!C&&l("purchase",{purchase:g.itemID})}return V}()})})]},g.name)})})})})})})}return y}()},87963:function(L,r,n){"use strict";r.__esModule=!0,r.RCD=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(99665),N=n(57842),y=r.RCD=function(){function u(i,s){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:670,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})]})}return u}(),S=function(i,s){var d=(0,a.useBackend)(s),h=d.data,v=h.matter,g=h.max_matter,C=g*.7,V=g*.25;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Matter Storage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[C,1/0],average:[V,C],bad:[-1/0,V]},value:v,maxValue:g,children:(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:v+" / "+g+" units"})})})})},k=function(){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Construction Type",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,p,{mode_type:"Floors and Walls"}),(0,e.createComponentVNode)(2,p,{mode_type:"Airlocks"}),(0,e.createComponentVNode)(2,p,{mode_type:"Windows"}),(0,e.createComponentVNode)(2,p,{mode_type:"Deconstruction"})]})})})},p=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=i.mode_type,C=v.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",content:g,selected:C===g?1:0,onClick:function(){function V(){return h("mode",{mode:g})}return V}()})})},l=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.door_name,C=v.electrochromic,V=v.airlock_glass;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Airlock Settings",children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",icon:"pen-alt",content:(0,e.createFragment)([(0,e.createTextVNode)("Rename: "),(0,e.createVNode)(1,"b",null,g,0)],0),onClick:function(){function b(){return(0,m.modalOpen)(s,"renameAirlock")}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:V===1&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:C?"toggle-on":"toggle-off",content:"Electrochromic",selected:C,onClick:function(){function b(){return h("electrochromic")}return b}()})})]})})})},c=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.tab,C=v.locked,V=v.one_access,b=v.selected_accesses,B=v.regions;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"cog",selected:g===1,onClick:function(){function I(){return h("set_tab",{tab:1})}return I}(),children:"Airlock Types"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===2,icon:"list",onClick:function(){function I(){return h("set_tab",{tab:2})}return I}(),children:"Airlock Access"})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:g===1?(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Types",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f,{check_number:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f,{check_number:1})})]})}):g===2&&C?(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Access",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock-open",content:"Unlock",onClick:function(){function I(){return h("set_lock",{new_lock:"unlock"})}return I}()}),children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Airlock access selection is currently locked."]})})}):(0,e.createComponentVNode)(2,N.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock",content:"Lock",onClick:function(){function I(){return h("set_lock",{new_lock:"lock"})}return I}()}),usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:V,content:"One",onClick:function(){function I(){return h("set_one_access",{access:"one"})}return I}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!V,width:4,content:"All",onClick:function(){function I(){return h("set_one_access",{access:"all"})}return I}()})],4),accesses:B,selectedList:b,accessMod:function(){function I(w){return h("set",{access:w})}return I}(),grantAll:function(){function I(){return h("grant_all")}return I}(),denyAll:function(){function I(){return h("clear_all")}return I}(),grantDep:function(){function I(w){return h("grant_region",{region:w})}return I}(),denyDep:function(){function I(w){return h("deny_region",{region:w})}return I}()})})],4)},f=function(i,s){for(var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.door_types_ui_list,C=v.door_type,V=i.check_number,b=[],B=0;B<g.length;B++)B%2===V&&b.push(g[B]);return(0,e.createComponentVNode)(2,t.Stack.Item,{children:b.map(function(I,w){return(0,e.createComponentVNode)(2,t.Stack,{mb:.5,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,icon:null,color:"translucent",checked:C===I.type,content:(0,e.createFragment)([(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+I.image,style:{"vertical-align":"middle",width:"32px",margin:"3px","margin-right":"6px","margin-left":"-3px"}}),I.name],0),onClick:function(){function T(){return h("door_type",{door_type:I.type})}return T}()})})},w)})})}},84364:function(L,r,n){"use strict";r.__esModule=!0,r.RPD=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(28234),N=r.RPD=function(){function f(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=h.mainmenu,g=h.mode,C=function(){function V(b){switch(b){case 1:return(0,e.createComponentVNode)(2,y);case 2:return(0,e.createComponentVNode)(2,S);case 3:return(0,e.createComponentVNode)(2,k);case 4:return(0,e.createComponentVNode)(2,p);case 5:return(0,e.createComponentVNode)(2,l);case 6:return(0,e.createComponentVNode)(2,c);default:return"WE SHOULDN'T BE HERE!"}}return V}();return(0,e.createComponentVNode)(2,o.Window,{width:550,height:415,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:v.map(function(V){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:V.icon,selected:V.mode===g,onClick:function(){function b(){return d("mode",{mode:V.mode})}return b}(),children:V.category},V.category)})})}),C(g)]})})})}return f}(),y=function(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=h.pipemenu,g=h.pipe_category,C=h.pipelist,V=h.whatpipe,b=h.iconrotation;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:v.map(function(B){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{textAlign:"center",selected:B.pipemode===g,onClick:function(){function I(){return d("pipe_category",{pipe_category:B.pipemode})}return I}(),children:B.category},B.category)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"50%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:C.filter(function(B){return B.pipe_type===1}).filter(function(B){return B.pipe_category===g}).map(function(B){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",content:B.pipe_name,icon:"cog",selected:B.pipe_id===V,onClick:function(){function I(){return d("whatpipe",{whatpipe:B.pipe_id})}return I}(),style:{"margin-bottom":"2px"}})},B.pipe_name)})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"50%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:C.filter(function(B){return B.pipe_type===1&&B.pipe_id===V&&B.orientations!==1}).map(function(B){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Orient automatically",selected:b===0,onClick:function(){function I(){return d("iconrotation",{iconrotation:0})}return I}(),style:{"margin-bottom":"5px"}})}),B.bendy?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===4,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","southeast-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:4})}return I}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===2,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","southwest-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:2})}return I}(),style:{"margin-bottom":"5px"}})})]}),(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===1,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","northeast-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:1})}return I}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===8,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","northwest-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:8})}return I}(),style:{"margin-bottom":"5px"}})})]})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===1,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","north-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:1})}return I}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===4,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","east-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:4})}return I}(),style:{"margin-bottom":"5px"}})})]}),B.orientations===4&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===2,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","south-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:2})}return I}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",color:"translucent",selected:b===8,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","west-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:8})}return I}(),style:{"margin-bottom":"5px"}})})]})],0)]},B.pipe_id)})})})})})]})})],4)},S=function(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=h.pipe_category,g=h.pipelist,C=h.whatdpipe,V=h.iconrotation;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"50%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:g.filter(function(b){return b.pipe_type===2}).map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",content:b.pipe_name,icon:"cog",selected:b.pipe_id===C,onClick:function(){function B(){return d("whatdpipe",{whatdpipe:b.pipe_id})}return B}(),style:{"margin-bottom":"2px"}})},b.pipe_name)})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"50%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:g.filter(function(b){return b.pipe_type===2&&b.pipe_id===C&&b.orientations!==1}).map(function(b){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Orient automatically",selected:V===0,onClick:function(){function B(){return d("iconrotation",{iconrotation:0})}return B}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===1,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","north-"+b.pipe_icon])}),onClick:function(){function B(){return d("iconrotation",{iconrotation:1})}return B}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===4,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","east-"+b.pipe_icon])}),onClick:function(){function B(){return d("iconrotation",{iconrotation:4})}return B}(),style:{"margin-bottom":"5px"}})})]}),b.orientations===4&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===2,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","south-"+b.pipe_icon])}),onClick:function(){function B(){return d("iconrotation",{iconrotation:2})}return B}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===8,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","west-"+b.pipe_icon])}),onClick:function(){function B(){return d("iconrotation",{iconrotation:8})}return B}(),style:{"margin-bottom":"5px"}})})]})]},b.pipe_id)})})})})})]})})},k=function(u,i){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sync-alt",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Device ready to rotate loose pipes..."]})})})})},p=function(u,i){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt-h",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Device ready to flip loose pipes..."]})})})})},l=function(u,i){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"recycle",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Device ready to eat loose pipes..."]})})})})},c=function(u,i){var s=(0,a.useBackend)(i),d=s.act,h=s.data,v=h.pipe_category,g=h.pipelist,C=h.whatttube,V=h.iconrotation,b=3;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"50%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:g.filter(function(B){return B.pipe_type===b}).map(function(B){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",content:B.pipe_name,icon:"cog",selected:B.pipe_id===C,onClick:function(){function I(){return d("whatttube",{whatttube:B.pipe_id})}return I}(),style:{"margin-bottom":"2px"}})},B.pipe_name)})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"50%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Grid,{children:(0,e.createComponentVNode)(2,t.Grid.Column,{children:g.filter(function(B){return B.pipe_type===b&&B.pipe_id===C&&B.orientations!==1}).map(function(B){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===1,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","north-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:1})}return I}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===4,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","east-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:4})}return I}(),style:{"margin-bottom":"5px"}})})]}),B.orientations===4&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===2,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","south-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:2})}return I}(),style:{"margin-bottom":"5px"}})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"translucent",textAlign:"center",selected:V===8,content:(0,e.createComponentVNode)(2,t.Box,{className:(0,m.classes)(["rpd32x32","west-"+B.pipe_icon])}),onClick:function(){function I(){return d("iconrotation",{iconrotation:8})}return I}(),style:{"margin-bottom":"5px"}})})]})]},B.pipe_id)})})})})})]})})}},14641:function(L,r,n){"use strict";r.__esModule=!0,r.Radio=void 0;var e=n(96524),a=n(50640),t=n(36121),o=n(17899),m=n(24674),N=n(38424),y=n(45493),S=r.Radio=function(){function k(p,l){var c=(0,o.useBackend)(l),f=c.act,u=c.data,i=u.freqlock,s=u.frequency,d=u.minFrequency,h=u.maxFrequency,v=u.canReset,g=u.listening,C=u.broadcasting,V=u.loudspeaker,b=u.has_loudspeaker,B=N.RADIO_CHANNELS.find(function(M){return M.freq===s}),I=!!(B&&B.name),w=[],T=[],A=0;for(A=0;A<N.RADIO_CHANNELS.length;A++)T=N.RADIO_CHANNELS[A],w[T.name]=T.color;var x=(0,a.map)(function(M,j){return{name:j,status:!!M}})(u.schannels),E=(0,a.map)(function(M,j){return{name:j,freq:M}})(u.ichannels);return(0,e.createComponentVNode)(2,y.Window,{width:375,height:130+x.length*21.2+E.length*11,children:(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Frequency",children:[i&&(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:"light-gray",children:(0,t.toFixed)(s/10,1)+" kHz"})||(0,e.createFragment)([(0,e.createComponentVNode)(2,m.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:10,minValue:d/10,maxValue:h/10,value:s/10,format:function(){function M(j){return(0,t.toFixed)(j,1)}return M}(),onChange:function(){function M(j,P){return f("frequency",{adjust:P-s/10})}return M}()}),(0,e.createComponentVNode)(2,m.Button,{icon:"undo",content:"",disabled:!v,tooltip:"Reset",onClick:function(){function M(){return f("frequency",{tune:"reset"})}return M}()})],4),I&&(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:B.color,ml:2,children:["[",B.name,"]"]})]}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Audio",children:[(0,e.createComponentVNode)(2,m.Button,{textAlign:"center",width:"37px",icon:g?"volume-up":"volume-mute",selected:g,color:g?"":"bad",tooltip:g?"Disable Incoming":"Enable Incoming",onClick:function(){function M(){return f("listen")}return M}()}),(0,e.createComponentVNode)(2,m.Button,{textAlign:"center",width:"37px",icon:C?"microphone":"microphone-slash",selected:C,tooltip:C?"Disable Hotmic":"Enable Hotmic",onClick:function(){function M(){return f("broadcast")}return M}()}),!!b&&(0,e.createComponentVNode)(2,m.Button,{ml:1,icon:"bullhorn",selected:V,content:"Loudspeaker",tooltip:V?"Disable Loudspeaker":"Enable Loudspeaker",onClick:function(){function M(){return f("loudspeaker")}return M}()})]}),x.length!==0&&(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Keyed Channels",children:x.map(function(M){return(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,m.Button,{icon:M.status?"check-square-o":"square-o",selected:M.status,content:"",onClick:function(){function j(){return f("channel",{channel:M.name})}return j}()}),(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:w[M.name],children:M.name})]},M.name)})}),E.length!==0&&(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Standard Channel",children:E.map(function(M){return(0,e.createComponentVNode)(2,m.Button,{icon:"arrow-right",content:M.name,selected:I&&B.name===M.name,onClick:function(){function j(){return f("ichannel",{ichannel:M.freq})}return j}()},"i_"+M.name)})})]})})})})}return k}()},40483:function(L,r,n){"use strict";r.__esModule=!0,r.ReagentGrinder=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(1496),N=n(75201),y=r.ReagentGrinder=function(){function l(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=u.config,h=s.operating,v=d.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:565,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.Operating,{operating:h,name:v}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,p)]})})})}return l}(),S=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.inactive;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"mortar-pestle",disabled:d,tooltip:d?"There are no contents":"Grind the contents",tooltipPosition:"bottom",content:"Grind",onClick:function(){function h(){return i("grind")}return h}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"blender",disabled:d,tooltip:d?"There are no contents":"Juice the contents",tooltipPosition:"bottom",content:"Juice",onClick:function(){function h(){return i("juice")}return h}()})})]})})},k=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.contents,h=s.limit,v=s.count,g=s.inactive;return(0,e.createComponentVNode)(2,t.Section,{title:"Contents",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[v," / ",h," items"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Contents",onClick:function(){function C(){return i("eject")}return C}(),disabled:g,tooltip:g?"There are no contents":""})]}),children:(0,e.createComponentVNode)(2,t.Table,{className:"Ingredient__Table",children:d.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{tr:5,children:[(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:C.name}),2),(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:[C.amount," ",C.units]}),2)]},C.name)})})})},p=function(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.beaker_loaded,h=s.beaker_current_volume,v=s.beaker_max_volume,g=s.beaker_contents;return(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,height:"40%",buttons:!!d&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[h," / ",v," units"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Detach Beaker",onClick:function(){function C(){return i("detach")}return C}()})]}),children:(0,e.createComponentVNode)(2,m.BeakerContents,{beakerLoaded:d,beakerContents:g})})}},94049:function(L,r,n){"use strict";r.__esModule=!0,r.RemoteSignaler=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(65435),N=r.RemoteSignaler=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.on;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Receiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:f?"On":"Off",color:f?null:"red",selected:f,onClick:function(){function u(){return l("recv_power")}return u}()})})}),(0,e.createComponentVNode)(2,m.Signaler,{data:c})]})})})}return y}()},12326:function(L,r,n){"use strict";r.__esModule=!0,r.RequestConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.RequestConsole=function(){function u(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.screen,C=v.announcementConsole,V=function(){function b(B){switch(B){case 0:return(0,e.createComponentVNode)(2,N);case 1:return(0,e.createComponentVNode)(2,y,{purpose:"ASSISTANCE"});case 2:return(0,e.createComponentVNode)(2,y,{purpose:"SUPPLIES"});case 3:return(0,e.createComponentVNode)(2,y,{purpose:"INFO"});case 4:return(0,e.createComponentVNode)(2,S,{type:"SUCCESS"});case 5:return(0,e.createComponentVNode)(2,S,{type:"FAIL"});case 6:return(0,e.createComponentVNode)(2,k,{type:"MESSAGES"});case 7:return(0,e.createComponentVNode)(2,p);case 8:return(0,e.createComponentVNode)(2,l);case 9:return(0,e.createComponentVNode)(2,c);case 10:return(0,e.createComponentVNode)(2,k,{type:"SHIPPING"});case 11:return(0,e.createComponentVNode)(2,f);default:return"WE SHOULDN'T BE HERE!"}}return b}();return(0,e.createComponentVNode)(2,o.Window,{width:450,height:C?425:385,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:V(g)})})})}return u}(),N=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.newmessagepriority,C=v.announcementConsole,V=v.silent,b;return g===1?b=(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,mb:1,children:"There are new messages"}):g===2?b=(0,e.createComponentVNode)(2,t.Blink,{children:(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,mb:1,children:"NEW PRIORITY MESSAGES"})}):b=(0,e.createComponentVNode)(2,t.Box,{color:"label",mb:1,children:"There are no new messages"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Main Menu",buttons:(0,e.createComponentVNode)(2,t.Button,{width:9,content:V?"Speaker Off":"Speaker On",selected:!V,icon:V?"volume-mute":"volume-up",onClick:function(){function B(){return h("toggleSilent")}return B}()}),children:[b,(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"View Messages",icon:g>0?"envelope-open-text":"envelope",onClick:function(){function B(){return h("setScreen",{setScreen:6})}return B}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Assistance",icon:"hand-paper",onClick:function(){function B(){return h("setScreen",{setScreen:1})}return B}()}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Supplies",icon:"box",onClick:function(){function B(){return h("setScreen",{setScreen:2})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Secondary Goal",icon:"clipboard-list",onClick:function(){function B(){return h("setScreen",{setScreen:11})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Relay Anonymous Information",icon:"comment",onClick:function(){function B(){return h("setScreen",{setScreen:3})}return B}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Print Shipping Label",icon:"tag",onClick:function(){function B(){return h("setScreen",{setScreen:9})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"View Shipping Logs",icon:"clipboard-list",onClick:function(){function B(){return h("setScreen",{setScreen:10})}return B}()})]})}),!!C&&(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Send Station-Wide Announcement",icon:"bullhorn",onClick:function(){function B(){return h("setScreen",{setScreen:8})}return B}()})})]})})},y=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.department,C=[],V;switch(i.purpose){case"ASSISTANCE":C=v.assist_dept,V="Request assistance from another department";break;case"SUPPLIES":C=v.supply_dept,V="Request supplies from another department";break;case"INFO":C=v.info_dept,V="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:V,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function b(){return h("setScreen",{setScreen:0})}return b}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:C.filter(function(b){return b!==g}).map(function(b){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b,textAlign:"right",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function B(){return h("writeInput",{write:b,priority:"1"})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function B(){return h("writeInput",{write:b,priority:"2"})}return B}()})]},b)})})})})},S=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g;switch(i.type){case"SUCCESS":g="Message sent successfully";break;case"FAIL":g="Request supplies from another department";break}return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:g,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function C(){return h("setScreen",{setScreen:0})}return C}()})})},k=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g,C;switch(i.type){case"MESSAGES":g=v.message_log,C="Message Log";break;case"SHIPPING":g=v.shipping_log,C="Shipping label print log";break}return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:C,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function V(){return h("setScreen",{setScreen:0})}return V}()}),children:g.map(function(V){return(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:[V.map(function(b,B){return(0,e.createVNode)(1,"div",null,b,0,null,B)}),(0,e.createVNode)(1,"hr")]},V)})})})},p=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.recipient,C=v.message,V=v.msgVerified,b=v.msgStamped;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Message Authentication",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function B(){return h("setScreen",{setScreen:0})}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Recipient",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message",children:C}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",color:"green",children:V}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:b})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function B(){return h("department",{department:g})}return B}()})})})],4)},l=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.message,C=v.announceAuth;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Station-Wide Announcement",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function V(){return h("setScreen",{setScreen:0})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Edit Message",icon:"edit",onClick:function(){function V(){return h("writeAnnouncement")}return V}()})],4),children:g})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[C?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Send Announcement",icon:"bullhorn",disabled:!(C&&g),onClick:function(){function V(){return h("sendAnnouncement")}return V}()})]})})],4)},c=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.shipDest,C=v.msgVerified,V=v.ship_dept;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Print Shipping Label",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function b(){return h("setScreen",{setScreen:0})}return b}()}),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",children:C})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Print Label",icon:"print",disabled:!(g&&C),onClick:function(){function b(){return h("printLabel")}return b}()})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Destinations",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:V.map(function(b){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b,textAlign:"right",className:"candystripe",children:(0,e.createComponentVNode)(2,t.Button,{content:g===b?"Selected":"Select",selected:g===b,onClick:function(){function B(){return h("shipSelect",{shipSelect:b})}return B}()})},b)})})})})],4)},f=function(i,s){var d=(0,a.useBackend)(s),h=d.act,v=d.data,g=v.secondaryGoalAuth,C=v.secondaryGoalEnabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Request Secondary Goal",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function V(){return h("setScreen",{setScreen:0})}return V}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[C?g?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Complete your current goal first!"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Request Secondary Goal",icon:"clipboard-list",disabled:!(g&&C),onClick:function(){function V(){return h("requestSecondaryGoal")}return V}()})]})})],4)}},89641:function(L,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(96524),a=n(17899),t=n(45493),o=n(24674),m=n(3422),N=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},y=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},S=r.RndConsole=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.data,u=f.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,m.RndNavbar),(0,e.createComponentVNode)(2,m.RndRoute,{menu:N.MAIN,render:function(){function i(){return(0,e.createComponentVNode)(2,m.MainMenu)}return i}()}),(0,e.createComponentVNode)(2,m.RndRoute,{menu:N.LEVELS,render:function(){function i(){return(0,e.createComponentVNode)(2,m.CurrentLevels)}return i}()}),(0,e.createComponentVNode)(2,m.RndRoute,{menu:N.DISK,render:function(){function i(){return(0,e.createComponentVNode)(2,m.DataDiskMenu)}return i}()}),(0,e.createComponentVNode)(2,m.RndRoute,{menu:N.DESTROY,render:function(){function i(){return(0,e.createComponentVNode)(2,m.DeconstructionMenu)}return i}()}),(0,e.createComponentVNode)(2,m.RndRoute,{menu:function(){function i(s){return s===N.LATHE||s===N.IMPRINTER}return i}(),render:function(){function i(){return(0,e.createComponentVNode)(2,m.LatheMenu)}return i}()}),(0,e.createComponentVNode)(2,m.RndRoute,{menu:N.SETTINGS,render:function(){function i(){return(0,e.createComponentVNode)(2,m.SettingsMenu)}return i}()}),u?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:u})})}):null]})})})}return k}()},19348:function(L,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.CurrentLevels=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data,p=k.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),p.map(function(l,c){var f=l.name,u=l.level,i=l.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[c>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:f}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",u]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",i]})]},f)})]})}return m}()},338:function(L,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),m=n(89641),N="design",y="tech",S=function(s,d){var h=(0,a.useBackend)(d),v=h.data,g=h.act,C=v.disk_data;return C?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:C.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:C.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:C.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function V(){return g("updt_tech")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function V(){return g("clear_tech")}return V}()}),(0,e.createComponentVNode)(2,l)]})]}):null},k=function(s,d){var h=(0,a.useBackend)(d),v=h.data,g=h.act,C=v.disk_data;if(!C)return null;var V=C.name,b=C.lathe_types,B=C.materials,I=b.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:V}),I?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:I}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),B.map(function(w){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,w.name,0,{style:{"text-transform":"capitalize"}})," x ",w.amount]},w.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function w(){return g("updt_design")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function w(){return g("clear_design")}return w}()}),(0,e.createComponentVNode)(2,l)]})]})},p=function(s,d){var h=(0,a.useBackend)(d),v=h.data,g=v.disk_type;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"This disk is empty."}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{submenu:m.SUBMENU.DISK_COPY,icon:"arrow-down",content:g===y?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,l)]})]})},l=function(s,d){var h=(0,a.useBackend)(d),v=h.data,g=h.act,C=v.disk_type;return C?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function V(){var b=C===y?"eject_tech":"eject_design";g(b)}return V}()}):null},c=function(s,d){var h=(0,a.useBackend)(d),v=h.data,g=v.disk_data,C=v.disk_type,V=function(){if(!g)return(0,e.createComponentVNode)(2,p);switch(C){case N:return(0,e.createComponentVNode)(2,k);case y:return(0,e.createComponentVNode)(2,S);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:V()})},f=function(s,d){var h=(0,a.useBackend)(d),v=h.data,g=h.act,C=v.disk_type,V=v.to_copy;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:V.sort(function(b,B){return b.name.localeCompare(B.name)}).map(function(b){var B=b.name,I=b.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:B,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function w(){C===y?g("copy_tech",{id:I}):g("copy_design",{id:I})}return w}()})},I)})})})})},u=r.DataDiskMenu=function(){function i(s,d){var h=(0,a.useBackend)(d),v=h.data,g=v.disk_type;return g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:m.SUBMENU.MAIN,render:function(){function C(){return(0,e.createComponentVNode)(2,c)}return C}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:m.SUBMENU.DISK_COPY,render:function(){function C(){return(0,e.createComponentVNode)(2,f)}return C}()})],4):null}return i}()},90785:function(L,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.DeconstructionMenu=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data,p=S.act,l=k.loaded_item,c=k.linked_destroy;return c?l?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",l.name]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Origin Tech:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:l.origin_tech.map(function(f){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+f.name,children:[f.object_level," ",f.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),f.current_level,(0,e.createTextVNode)(")")],0):null]},f.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function f(){p("deconstruct")}return f}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function f(){p("eject_item")}return f}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return m}()},34492:function(L,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),m=r.LatheCategory=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.data,l=k.act,c=p.category,f=p.matching_designs,u=p.menu,i=u===4,s=i?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:c,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:f.map(function(d){var h=d.id,v=d.name,g=d.can_build,C=d.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:v,disabled:g<1,onClick:function(){function V(){return l(s,{id:h,amount:1})}return V}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function V(){return l(s,{id:h,amount:5})}return V}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function V(){return l(s,{id:h,amount:10})}return V}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.map(function(V){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",V.is_red?"color-red":null,[V.amount,(0,e.createTextVNode)(" "),V.name],0)],0)})})]},h)})})]})}return N}()},84275:function(L,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheChemicalStorage=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data,p=S.act,l=k.loaded_chemicals,c=k.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function f(){var u=c?"disposeallP":"disposeallI";p(u)}return f}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(f){var u=f.volume,i=f.name,s=f.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+u+" of "+i,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function d(){var h=c?"disposeP":"disposeI";p(h,{id:s})}return d}()})},s)})})]})}return m}()},12638:function(L,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),m=r.LatheMainMenu=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.data,l=k.act,c=p.menu,f=p.categories,u=c===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:u+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:f.map(function(i){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:i,onClick:function(){function s(){l("setCategory",{category:i})}return s}()})},i)})})]})}return N}()},89004:function(L,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheMaterialStorage=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data,p=S.act,l=k.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:l.map(function(c){var f=c.id,u=c.amount,i=c.name,s=function(){function g(C){var V=k.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";p(V,{id:f,amount:C})}return g}(),d=Math.floor(u/2e3),h=u<1,v=d===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:h?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",u," of ",i]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",d," sheet",v,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function g(){return s(1)}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function g(){return s("custom")}return g}()}),u>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function g(){return s(5)}return g}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function g(){return s(50)}return g}()})],0):null})]},f)})})})}return m}()},73856:function(L,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheMaterials=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data,p=k.total_materials,l=k.max_materials,c=k.max_chemicals,f=k.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p}),l?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+l}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:f}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return m}()},75955:function(L,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(96524),a=n(17899),t=n(78345),o=n(3422),m=n(24674),N=n(89641),y=r.LatheMenu=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.data,f=c.menu,u=c.linked_lathe,i=c.linked_imprinter;return f===4&&!u?(0,e.createComponentVNode)(2,m.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):f===5&&!i?(0,e.createComponentVNode)(2,m.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:N.SUBMENU.MAIN,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:N.SUBMENU.LATHE_CATEGORY,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:N.SUBMENU.LATHE_MAT_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:N.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return s}()})]})}return S}()},72880:function(L,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheSearch=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function p(l,c){return k("search",{to_search:c})}return p}()})})}return m}()},62306:function(L,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),m=n(89641),N=r.MainMenu=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.data,c=l.disk_type,f=l.linked_destroy,u=l.linked_lathe,i=l.linked_imprinter,s=l.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!c,menu:m.MENU.DISK,submenu:m.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,menu:m.MENU.DESTROY,submenu:m.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!u,menu:m.MENU.LATHE,submenu:m.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!i,menu:m.MENU.IMPRINTER,submenu:m.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:m.MENU.SETTINGS,submenu:m.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:s.map(function(d){var h=d.name,v=d.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:h,children:v},h)})})]})}return y}()},99941:function(L,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.RndNavButton=function(){function m(N,y){var S=N.icon,k=N.children,p=N.disabled,l=N.content,c=(0,a.useBackend)(y),f=c.data,u=c.act,i=f.menu,s=f.submenu,d=i,h=s;return N.menu!==null&&N.menu!==void 0&&(d=N.menu),N.submenu!==null&&N.submenu!==void 0&&(h=N.submenu),(0,e.createComponentVNode)(2,t.Button,{content:l,icon:S,disabled:p,onClick:function(){function v(){u("nav",{menu:d,submenu:h})}return v}(),children:k})}return m}()},24448:function(L,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(96524),a=n(3422),t=n(24674),o=n(89641),m=r.RndNavbar=function(){function N(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function y(S){return S!==o.MENU.MAIN}return y}(),render:function(){function y(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return y}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function y(S){return S!==o.SUBMENU.MAIN}return y}(),render:function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.DISK,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.LATHE,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return S}()})]})}return y}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function y(S){return S===o.MENU.LATHE||S===o.MENU.IMPRINTER}return y}(),submenu:o.SUBMENU.MAIN,render:function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return y}()})]})}return N}()},78345:function(L,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(17899),a=r.RndRoute=function(){function t(o,m){var N=o.render,y=(0,e.useBackend)(m),S=y.data,k=S.menu,p=S.submenu,l=function(){function f(u,i){return u==null?!0:typeof u=="function"?u(i):u===i}return f}(),c=l(o.menu,k)&&l(o.submenu,p);return c?N():null}return t}()},56454:function(L,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),m=n(89641),N=r.SettingsMenu=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.data,c=p.act,f=l.sync,u=l.admin,i=l.linked_destroy,s=l.linked_lathe,d=l.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:m.SUBMENU.MAIN,render:function(){function h(){return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!f,onClick:function(){function v(){c("sync")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:f,onClick:function(){function v(){c("togglesync")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!f,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function v(){c("togglesync")}return v}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,content:"Device Linkage Menu",icon:"link",menu:m.MENU.SETTINGS,submenu:m.SUBMENU.SETTINGS_DEVICES}),u===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function v(){return c("maxresearch")}return v}()}):null]})})}return h}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:m.SUBMENU.SETTINGS_DEVICES,render:function(){function h(){return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage Menu",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function v(){return c("find_device")}return v}()}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",children:(0,e.createVNode)(1,"h3",null,"Linked Devices:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[i?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){return c("disconnect",{item:"destroy"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),s?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){c("disconnect",{item:"lathe"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),d?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){return c("disconnect",{item:"imprinter"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return h}()})]})}return y}()},3422:function(L,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(19348);r.CurrentLevels=e.CurrentLevels;var a=n(338);r.DataDiskMenu=a.DataDiskMenu;var t=n(90785);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(34492);r.LatheCategory=o.LatheCategory;var m=n(84275);r.LatheChemicalStorage=m.LatheChemicalStorage;var N=n(12638);r.LatheMainMenu=N.LatheMainMenu;var y=n(73856);r.LatheMaterials=y.LatheMaterials;var S=n(89004);r.LatheMaterialStorage=S.LatheMaterialStorage;var k=n(75955);r.LatheMenu=k.LatheMenu;var p=n(72880);r.LatheSearch=p.LatheSearch;var l=n(62306);r.MainMenu=l.MainMenu;var c=n(24448);r.RndNavbar=c.RndNavbar;var f=n(99941);r.RndNavButton=f.RndNavButton;var u=n(78345);r.RndRoute=u.RndRoute;var i=n(56454);r.SettingsMenu=i.SettingsMenu},71123:function(L,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(78234),N=function(k,p){var l=k/p;return l<=.2?"good":l<=.5?"average":"bad"},y=r.RobotSelfDiagnosis=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.data,f=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:f.map(function(u,i){return(0,e.createComponentVNode)(2,t.Section,{title:(0,m.capitalize)(u.name),children:u.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:u.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:N(u.brute_damage,u.max_damage),children:u.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:N(u.electronic_damage,u.max_damage),children:u.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:u.powered?"good":"bad",children:u.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:u.status?"good":"bad",children:u.status?"Yes":"No"})]})})]})},i)})})})}return S}()},98951:function(L,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.RoboticsControlConsole=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.can_hack,u=c.safety,i=c.show_lock_all,s=c.cyborgs,d=s===void 0?[]:s;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!i&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Lock Down",children:[(0,e.createComponentVNode)(2,t.Button,{icon:u?"lock":"unlock",content:u?"Disable Safety":"Enable Safety",selected:u,onClick:function(){function h(){return l("arm",{})}return h}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lock",disabled:u,content:"Lock ALL Cyborgs",color:"bad",onClick:function(){function h(){return l("masslock",{})}return h}()})]}),(0,e.createComponentVNode)(2,N,{cyborgs:d,can_hack:f})]})})}return y}(),N=function(S,k){var p=S.cyborgs,l=S.can_hack,c=(0,a.useBackend)(k),f=c.act,u=c.data,i="Detonate";return u.detonate_cooldown>0&&(i+=" ("+u.detonate_cooldown+"s)"),p.length?p.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,buttons:(0,e.createFragment)([!!s.hackable&&!s.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function d(){return f("hackbot",{uid:s.uid})}return d}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:s.locked_down?"unlock":"lock",color:s.locked_down?"good":"default",content:s.locked_down?"Release":"Lockdown",disabled:!u.auth,onClick:function(){function d(){return f("stopbot",{uid:s.uid})}return d}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:i,disabled:!u.auth||u.detonate_cooldown>0,color:"bad",onClick:function(){function d(){return f("killbot",{uid:s.uid})}return d}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:s.status?"bad":s.locked_down?"average":"good",children:s.status?"Not Responding":s.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:s.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.health>50?"good":"bad",value:s.health/100})}),typeof s.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.charge>30?"good":"bad",value:s.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:s.cell_capacity<3e4?"average":"good",children:s.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!s.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:s.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:s.synchronization?"default":"average",children:s.synchronization||"None"})})]})},s.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},2289:function(L,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.Safe=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.dial,s=u.open,d=u.locked,h=u.contents;return(0,e.createComponentVNode)(2,o.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,t.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),s?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.Box,{as:"img",className:"Safe--dial",src:"safe_dial.png",style:{transform:"rotate(-"+3.6*i+"deg)","z-index":0}})]}),!s&&(0,e.createComponentVNode)(2,S)]})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.dial,s=u.open,d=u.locked,h=function(g,C){return(0,e.createComponentVNode)(2,t.Button,{disabled:s||C&&!d,icon:"arrow-"+(C?"right":"left"),content:(C?"Right":"Left")+" "+g,iconRight:C,onClick:function(){function V(){return f(C?"turnleft":"turnright",{num:g})}return V}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:d,icon:s?"lock":"lock-open",content:s?"Close":"Open",mb:"0.5rem",onClick:function(){function v(){return f("open")}return v}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{position:"absolute",children:[h(50),h(10),h(1)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[h(1,!0),h(10,!0),h(50,!0)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--number",children:i})]})},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.contents;return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--contents",overflow:"auto",children:i.map(function(s,d){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mb:"0.5rem",onClick:function(){function h(){return f("retrieve",{index:d+1})}return h}(),children:[(0,e.createComponentVNode)(2,t.Box,{as:"img",src:s.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),s.name]}),(0,e.createVNode)(1,"br")],4,s)})})},S=function(p,l){return(0,e.createComponentVNode)(2,t.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,t.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},49334:function(L,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.SatelliteControl=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.satellites,f=l.notice,u=l.meteor_shield,i=l.meteor_shield_coverage,s=l.meteor_shield_coverage_max,d=l.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[u&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:d>=100?"good":"average",value:i,maxValue:s,children:[d," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:l.notice}),c.map(function(h){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+h.id,children:[h.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:h.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function v(){return p("toggle",{id:h.id})}return v}()})]},h.id)})]})})]})})}return N}()},54892:function(L,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),m=n(45493),N=n(5126),y=n(68100),S=r.SecureStorage=function(){function c(f,u){return(0,e.createComponentVNode)(2,m.Window,{theme:"securestorage",height:500,width:280,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,p)})})})})}return c}(),k=function(f,u){var i=(0,t.useBackend)(u),s=i.act,d=window.event?f.which:f.keyCode;if(d===y.KEY_ENTER){f.preventDefault(),s("keypad",{digit:"E"});return}if(d===y.KEY_ESCAPE){f.preventDefault(),s("keypad",{digit:"C"});return}if(d===y.KEY_BACKSPACE){f.preventDefault(),s("backspace");return}if(d>=y.KEY_0&&d<=y.KEY_9){f.preventDefault(),s("keypad",{digit:d-y.KEY_0});return}if(d>=y.KEY_NUMPAD_0&&d<=y.KEY_NUMPAD_9){f.preventDefault(),s("keypad",{digit:d-y.KEY_NUMPAD_0});return}},p=function(f,u){var i=(0,t.useBackend)(u),s=i.act,d=i.data,h=d.locked,v=d.no_passcode,g=d.emagged,C=d.user_entered_code,V=[["1","2","3"],["4","5","6"],["7","8","9"],["C","0","E"]],b=v?"":h?"bad":"good";return(0,e.createComponentVNode)(2,o.Section,{fill:!0,onKeyDown:function(){function B(I){return k(I,u)}return B}(),children:[(0,e.createComponentVNode)(2,o.Stack.Item,{height:7.3,children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["SecureStorage__displayBox","SecureStorage__displayBox--"+b]),height:"100%",children:g?"ERROR":C})}),(0,e.createComponentVNode)(2,o.Table,{children:V.map(function(B){return(0,e.createComponentVNode)(2,N.TableRow,{children:B.map(function(I){return(0,e.createComponentVNode)(2,N.TableCell,{children:(0,e.createComponentVNode)(2,l,{number:I})},I)})},B[0])})})]})},l=function(f,u){var i=(0,t.useBackend)(u),s=i.act,d=i.data,h=f.number;return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,bold:!0,mb:"6px",content:h,textAlign:"center",fontSize:"60px",lineHeight:1.25,width:"80px",className:(0,a.classes)(["SecureStorage__Button","SecureStorage__Button--keypad","SecureStorage__Button--"+h]),onClick:function(){function v(){return s("keypad",{digit:h})}return v}()})}},56798:function(L,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),m=n(45493),N=n(99665),y=n(68159),S=n(27527),k=n(84537),p={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},l=function(C,V){(0,N.modalOpen)(C,"edit",{field:V.edit,value:V.value})},c=r.SecurityRecords=function(){function g(C,V){var b=(0,t.useBackend)(V),B=b.act,I=b.data,w=I.loginState,T=I.currentPage,A;if(w.logged_in)T===1?A=(0,e.createComponentVNode)(2,u):T===2&&(A=(0,e.createComponentVNode)(2,d));else return(0,e.createComponentVNode)(2,m.Window,{theme:"security",width:800,height:900,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});return(0,e.createComponentVNode)(2,m.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,N.ComplexModal),(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,k.TemporaryNotice),(0,e.createComponentVNode)(2,f),A]})})]})}return g}(),f=function(C,V){var b=(0,t.useBackend)(V),B=b.act,I=b.data,w=I.currentPage,T=I.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:w===1,onClick:function(){function A(){return B("page",{page:1})}return A}(),children:"List Records"}),w===2&&T&&!T.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:w===2,children:["Record: ",T.fields[0].value]})]})})},u=function(C,V){var b=(0,t.useBackend)(V),B=b.act,I=b.data,w=I.records,T=(0,t.useLocalState)(V,"searchText",""),A=T[0],x=T[1],E=(0,t.useLocalState)(V,"sortId","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(V,"sortOrder",!0),R=P[0],D=P[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,s)}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SecurityRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,i,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,i,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,i,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,i,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,i,{id:"status",children:"Criminal Status"})]}),w.filter((0,a.createSearch)(A,function(F){return F.name+"|"+F.id+"|"+F.rank+"|"+F.fingerprint+"|"+F.status})).sort(function(F,W){var _=R?1:-1;return F[M].localeCompare(W[M])*_}).map(function(F){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+p[F.status],onClick:function(){function W(){return B("view",{uid_gen:F.uid_gen,uid_sec:F.uid_sec})}return W}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",F.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.status})]},F.id)})]})})})],4)},i=function(C,V){var b=(0,t.useLocalState)(V,"sortId","name"),B=b[0],I=b[1],w=(0,t.useLocalState)(V,"sortOrder",!0),T=w[0],A=w[1],x=C.id,E=C.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:B!==x&&"transparent",fluid:!0,onClick:function(){function M(){B===x?A(!T):(I(x),A(!0))}return M}(),children:[E,B===x&&(0,e.createComponentVNode)(2,o.Icon,{name:T?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},s=function(C,V){var b=(0,t.useBackend)(V),B=b.act,I=b.data,w=I.isPrinting,T=(0,t.useLocalState)(V,"searchText",""),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:"0.25rem",content:"New Record",icon:"plus",onClick:function(){function E(){return B("new_general")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Cell Log",onClick:function(){function E(){return(0,N.modalOpen)(V,"print_cell_log")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function E(M,j){return x(j)}return E}()})})]})},d=function(C,V){var b=(0,t.useBackend)(V),B=b.act,I=b.data,w=I.isPrinting,T=I.general,A=I.security;return!T||!T.fields?(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"General records lost!"}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Record",onClick:function(){function x(){return B("print_record")}return x}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"WARNING: This will also delete the Security and Medical records associated with this crew member!",tooltipPosition:"bottom-start",content:"Delete Record",onClick:function(){function x(){return B("delete_general")}return x}()})],4),children:(0,e.createComponentVNode)(2,h)})}),!A||!A.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function x(){return B("new_security")}return x}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Security records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:A.empty,content:"Delete Record",onClick:function(){function x(){return B("delete_security")}return x}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:A.fields.map(function(x,E){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:x.field,prewrap:!0,children:[(0,a.decodeHtmlEntities)(x.value),!!x.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:x.line_break?"1rem":"initial",onClick:function(){function M(){return l(V,x)}return M}()})]},E)})})})})}),(0,e.createComponentVNode)(2,v)],4)],0)},h=function(C,V){var b=(0,t.useBackend)(V),B=b.data,I=B.general;return!I||!I.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:I.fields.map(function(w,T){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:w.field,prewrap:!0,children:[(0,a.decodeHtmlEntities)(""+w.value),!!w.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:w.line_break?"1rem":"initial",onClick:function(){function A(){return l(V,w)}return A}()})]},T)})})}),!!I.has_photos&&I.photos.map(function(w,T){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:w,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,e.createVNode)(1,"br"),"Photo #",T+1]},T)})]})},v=function(C,V){var b=(0,t.useBackend)(V),B=b.act,I=b.data,w=I.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function T(){return(0,N.modalOpen)(V,"comment_add")}return T}()}),children:w.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):w.comments.map(function(T,A){return(0,e.createComponentVNode)(2,o.Box,{prewrap:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:T.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),T.text||T,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function x(){return B("comment_delete",{id:A+1})}return x}()})]},A)})})})}},59981:function(L,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),m=n(45493),N=n(99665);function y(i,s){var d=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(d)return(d=d.call(i)).next.bind(d);if(Array.isArray(i)||(d=S(i))||s&&i&&typeof i.length=="number"){d&&(i=d);var h=0;return function(){return h>=i.length?{done:!0}:{done:!1,value:i[h++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(i,s){if(i){if(typeof i=="string")return k(i,s);var d=Object.prototype.toString.call(i).slice(8,-1);if(d==="Object"&&i.constructor&&(d=i.constructor.name),d==="Map"||d==="Set")return Array.from(i);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return k(i,s)}}function k(i,s){(s==null||s>i.length)&&(s=i.length);for(var d=0,h=new Array(s);d<s;d++)h[d]=i[d];return h}var p=r.SeedExtractor=function(){function i(s,d){var h=(0,t.useBackend)(d),v=h.act,g=h.data,C=g.loginState,V=g.currentPage;return(0,e.createComponentVNode)(2,m.Window,{theme:"hydroponics",width:800,height:400,children:[(0,e.createComponentVNode)(2,N.ComplexModal),(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u)}),(0,e.createComponentVNode)(2,c)]})})]})}return i}(),l=function(s){for(var d=function(T,A){return T===A},h=function(T,A){return T>=A},v=function(T,A){return T<=A},g=s.split(" "),C=[],V=function(){var T=I.value,A=T.split(":");if(A.length===0)return 0;if(A.length===1)return C.push(function(M){return(M.name+" ("+M.variant+")").toLocaleLowerCase().includes(A[0].toLocaleLowerCase())}),0;if(A.length>2)return{v:function(){function M(j){return!1}return M}()};var x,E=d;if(A[1][A[1].length-1]==="-"?(E=v,x=Number(A[1].substring(0,A[1].length-1))):A[1][A[1].length-1]==="+"?(E=h,x=Number(A[1].substring(0,A[1].length-1))):x=Number(A[1]),isNaN(x))return{v:function(){function M(j){return!1}return M}()};switch(A[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":C.push(function(M){return E(M.lifespan,x)});break;case"e":case"end":case"endurance":C.push(function(M){return E(M.endurance,x)});break;case"m":case"mat":case"maturation":C.push(function(M){return E(M.maturation,x)});break;case"pr":case"prod":case"production":C.push(function(M){return E(M.production,x)});break;case"y":case"yield":C.push(function(M){return E(M.yield,x)});break;case"po":case"pot":case"potency":C.push(function(M){return E(M.potency,x)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":C.push(function(M){return E(M.amount,x)});break;default:return{v:function(){function M(j){return!1}return M}()}}},b,B=y(g),I;!(I=B()).done;)if(b=V(),b!==0&&b)return b.v;return function(w){for(var T=0,A=C;T<A.length;T++){var x=A[T];if(!x(w))return!1}return!0}},c=function(s,d){var h=(0,t.useBackend)(d),v=h.act,g=h.data,C=g.icons,V=g.seeds,b=g.vend_amount,B=(0,t.useLocalState)(d,"searchText",""),I=B[0],w=B[1],T=(0,t.useLocalState)(d,"vendAmount",1),A=T[0],x=T[1],E=(0,t.useLocalState)(d,"sortId","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(d,"sortOrder",!0),R=P[0],D=P[1];return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SeedExtractor__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,f,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,f,{id:"lifespan",children:"Lifespan"}),(0,e.createComponentVNode)(2,f,{id:"endurance",children:"Endurance"}),(0,e.createComponentVNode)(2,f,{id:"maturation",children:"Maturation"}),(0,e.createComponentVNode)(2,f,{id:"production",children:"Production"}),(0,e.createComponentVNode)(2,f,{id:"yield",children:"Yield"}),(0,e.createComponentVNode)(2,f,{id:"potency",children:"Potency"}),(0,e.createComponentVNode)(2,f,{id:"amount",children:"Stock"})]}),V.lenth===0?"No seeds present.":V.filter(l(I)).sort(function(F,W){var _=R?1:-1;return typeof F[M]=="number"?(F[M]-W[M])*_:F[M].localeCompare(W[M])*_}).map(function(F){return(0,e.createComponentVNode)(2,o.Table.Row,{onClick:function(){function W(){return v("vend",{seed_id:F.id,seed_variant:F.variant,vend_amount:A})}return W}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+C[F.image],style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),F.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.lifespan}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.endurance}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.maturation}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.production}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.yield}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.potency}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.amount})]},F.id)})]})})})},f=function(s,d){var h=(0,t.useLocalState)(d,"sortId","name"),v=h[0],g=h[1],C=(0,t.useLocalState)(d,"sortOrder",!0),V=C[0],b=C[1],B=s.id,I=s.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:v!==B&&"transparent",fluid:!0,onClick:function(){function w(){v===B?b(!V):(g(B),b(!0))}return w}(),children:[I,v===B&&(0,e.createComponentVNode)(2,o.Icon,{name:V?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},u=function(s,d){var h=(0,t.useBackend)(d),v=h.act,g=h.data,C=g.vend_amount,V=(0,t.useLocalState)(d,"searchText",""),b=V[0],B=V[1],I=(0,t.useLocalState)(d,"vendAmount",1),w=I[0],T=I[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by name, variant, potency:70+, production:3-, ...",fluid:!0,onInput:function(){function A(x,E){return B(E)}return A}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:["Vend amount:",(0,e.createComponentVNode)(2,o.Input,{placeholder:"1",onInput:function(){function A(x,E){return T(Number(E)>=1?Number(E):1)}return A}()})]})]})}},33454:function(L,r,n){"use strict";r.__esModule=!0,r.ShuttleConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.ShuttleConsole=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l.status?l.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),!!l.shuttle&&(!!l.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Send to ",children:l.docking_ports.map(function(c){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:c.name,onClick:function(){function f(){return p("move",{move:c.id})}return f}()},c.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!l.admin_controlled&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorization",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"Request Authorization",disabled:!l.status,onClick:function(){function c(){return p("request")}return c}()})})],0))]})})})})}return N}()},50451:function(L,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.ShuttleManipulator=function(){function k(p,l){var c=(0,a.useLocalState)(l,"tabIndex",0),f=c[0],u=c[1],i=function(){function s(d){switch(d){case 0:return(0,e.createComponentVNode)(2,N);case 1:return(0,e.createComponentVNode)(2,y);case 2:return(0,e.createComponentVNode)(2,S);default:return"WE SHOULDN'T BE HERE!"}}return s}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===0,onClick:function(){function s(){return u(0)}return s}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===1,onClick:function(){function s(){return u(1)}return s}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===2,onClick:function(){function s(){return u(2)}return s}(),icon:"tools",children:"Modification"},"Modification")]}),i(f)]})})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:i.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:s.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:s.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:s.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:s.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function d(){return f("jump_to",{type:"mobile",id:s.id})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function d(){return f("fast_travel",{id:s.id})}return d}()})]})]})},s.name)})})},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.templates_tabs,s=u.existing_shuttle,d=u.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:i.map(function(h){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===s.id,icon:"file",onClick:function(){function v(){return f("select_template_category",{cat:h})}return v}(),children:h},h)})}),!!s&&d[s.id].templates.map(function(h){return(0,e.createComponentVNode)(2,t.Section,{title:h.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[h.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:h.description}),h.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:h.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Load Template",icon:"download",onClick:function(){function v(){return f("select_template",{shuttle_id:h.shuttle_id})}return v}()})})]})},h.name)})]})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.existing_shuttle,s=u.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[i?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+i.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:i.status}),i.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:i.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function d(){return f("jump_to",{type:"mobile",id:i.id})}return d}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),s?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:s.description}),s.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:s.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function d(){return f("preview",{shuttle_id:s.shuttle_id})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function d(){return f("load",{shuttle_id:s.shuttle_id})}return d}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},99050:function(L,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=n(45493),N=[["good","Alive"],["average","Critical"],["bad","DEAD"]],y=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},k=["bad","average","average","good","average","average","bad"],p=r.Sleeper=function(){function d(h,v){var g=(0,t.useBackend)(v),C=g.act,V=g.data,b=V.hasOccupant,B=b?(0,e.createComponentVNode)(2,l):(0,e.createComponentVNode)(2,s);return(0,e.createComponentVNode)(2,m.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:B}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u)})]})})})}return d}(),l=function(h,v){var g=(0,t.useBackend)(v),C=g.act,V=g.data,b=V.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,i)],4)},c=function(h,v){var g=(0,t.useBackend)(v),C=g.act,V=g.data,b=V.occupant,B=V.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:B?"toggle-on":"toggle-off",selected:B,content:B?"On":"Off",onClick:function(){function I(){return C("auto_eject_dead_"+(B?"off":"on"))}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function I(){return C("ejectify")}return I}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:b.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.maxHealth,value:b.health/b.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(b.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:N[b.stat][0],children:N[b.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.maxTemp,value:b.bodyTemperature/b.maxTemp,color:k[b.temperatureSuitability+3],children:[(0,a.round)(b.btCelsius,0),"\xB0C,",(0,a.round)(b.btFaren,0),"\xB0F"]})}),!!b.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.bloodMax,value:b.bloodLevel/b.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[b.bloodPercent,"%, ",b.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[b.pulse," BPM"]})],4)]})})},f=function(h,v){var g=(0,t.useBackend)(v),C=g.data,V=C.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:y.map(function(b,B){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:b[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:V[b[1]]/100,ranges:S,children:(0,a.round)(V[b[1]],0)},B)},B)})})})},u=function(h,v){var g=(0,t.useBackend)(v),C=g.act,V=g.data,b=V.hasOccupant,B=V.isBeakerLoaded,I=V.beakerMaxSpace,w=V.beakerFreeSpace,T=V.dialysis,A=T&&w>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!B||w<=0||!b,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Active":"Inactive",onClick:function(){function x(){return C("togglefilter")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B,icon:"eject",content:"Eject",onClick:function(){function x(){return C("removebeaker")}return x}()})],4),children:B?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:w/I,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[w,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},i=function(h,v){var g=(0,t.useBackend)(v),C=g.act,V=g.data,b=V.occupant,B=V.chemicals,I=V.maxchem,w=V.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:B.map(function(T,A){var x="",E;return T.overdosing?(x="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):T.od_warning&&(x="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:T.title,level:"3",mx:"0",lineHeight:"18px",buttons:E,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:T.occ_amount/I,color:x,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[T.pretty_amount,"/",I,"u"]}),w.map(function(M,j){return(0,e.createComponentVNode)(2,o.Button,{disabled:!T.injectable||T.occ_amount+M>I||b.stat===2,icon:"syringe",content:"Inject "+M+"u",title:"Inject "+M+"u of "+T.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function P(){return C("chemical",{chemid:T.id,amount:M})}return P}()},j)})]})})},A)})})},s=function(h,v){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},37763:function(L,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.SlotMachine=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;if(l.money===null)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:90,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Could not scan your card or could not find account!"}),(0,e.createComponentVNode)(2,t.Box,{children:"Please wear or hold your ID and try again."})]})})});var c;return l.plays===1?c=l.plays+" player has tried their luck today!":c=l.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{width:300,height:151,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{lineHeight:2,children:c}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:l.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:l.working,content:l.working?"Spinning...":"Spin",onClick:function(){function f(){return p("spin")}return f}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:l.resultlvl,children:l.result})]})})})}return N}()},26654:function(L,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.Smartfridge=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.secure,f=l.can_dry,u=l.drying,i=l.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:f?"Drying rack":"Contents",buttons:!!f&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){function s(){return p("drying")}return s}()}),children:[!i&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cookie-bite",size:5,color:"brown"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No products loaded."]})}),!!i&&i.slice().sort(function(s,d){return s.display_name.localeCompare(d.display_name)}).map(function(s){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:s.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",s.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function d(){return p("vend",{index:s.vend,amount:1})}return d}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:s.quantity,step:1,stepPixelSize:3,onChange:function(){function d(h,v){return p("vend",{index:s.vend,amount:v})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function d(){return p("vend",{index:s.vend,amount:s.quantity})}return d}()})]})]},s)})]})]})})})}return N}()},71124:function(L,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(92986),m=n(45493),N=1e3,y=r.Smes=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.capacityPercent,i=f.capacity,s=f.charge,d=f.inputAttempt,h=f.inputting,v=f.inputLevel,g=f.inputLevelMax,C=f.inputAvailable,V=f.outputPowernet,b=f.outputAttempt,B=f.outputting,I=f.outputLevel,w=f.outputLevelMax,T=f.outputUsed,A=u>=100&&"good"||h&&"average"||"bad",x=B&&"good"||s>0&&"average"||"bad";return(0,e.createComponentVNode)(2,m.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"sync-alt":"times",selected:d,onClick:function(){function E(){return c("tryinput")}return E}(),children:d?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:u>=100&&"Fully Charged"||h&&"Charging"||"Not Charging"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Input",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:v===0,onClick:function(){function E(){return c("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:v===0,onClick:function(){function E(){return c("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:v/N,fillValue:C/N,minValue:0,maxValue:g/N,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*N,1)}return E}(),onChange:function(){function E(M,j){return c("input",{target:j*N})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:v===g,onClick:function(){function E(){return c("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:v===g,onClick:function(){function E(){return c("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(C)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:b?"power-off":"times",selected:b,onClick:function(){function E(){return c("tryoutput")}return E}(),children:b?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:x,children:V?B?"Sending":s>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:I===0,onClick:function(){function E(){return c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:I===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:I/N,minValue:0,maxValue:w/N,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*N,1)}return E}(),onChange:function(){function E(M,j){return c("output",{target:j*N})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:I===w,onClick:function(){function E(){return c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:I===w,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(T)})]})})]})})})}return S}()},21786:function(L,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.SolarControl=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=0,f=1,u=2,i=l.generated,s=l.generated_ratio,d=l.tracking_state,h=l.tracking_rate,v=l.connected_panels,g=l.connected_tracker,C=l.cdir,V=l.direction,b=l.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:277,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){function B(){return p("refresh")}return B}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar tracker",color:g?"good":"bad",children:g?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:v>0?"good":"bad",children:v})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:s,children:i+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[C,"\xB0 (",V,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[d===u&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),d===f&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",h,"\xB0/h (",b,")"," "]}),d===c&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[d!==u&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:C,onDrag:function(){function B(I,w){return p("cdir",{cdir:w})}return B}()}),d===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:d===c,onClick:function(){function B(){return p("track",{track:c})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:d===f,onClick:function(){function B(){return p("track",{track:f})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:d===u,disabled:!g,onClick:function(){function B(){return p("track",{track:u})}return B}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[d===f&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:h,format:function(){function B(I){var w=Math.sign(I)>0?"+":"-";return w+Math.abs(I)}return B}(),onDrag:function(){function B(I,w){return p("tdir",{tdir:w})}return B}()}),d===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),d===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return N}()},31202:function(L,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.SpawnersMenu=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:f.name+" ("+f.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function u(){return p("jump",{ID:f.uids})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function u(){return p("spawn",{ID:f.uids})}return u}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:f.desc}),!!f.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:f.fluff}),!!f.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:f.important_info})]},f.name)})})})})}return N}()},84800:function(L,r,n){"use strict";r.__esModule=!0,r.SpecMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.SpecMenu=function(){function p(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:1100,height:600,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,k)]})})})}return p}(),N=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Hemomancer",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function d(){return u("hemomancer")}return d}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4)]})})},y=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Umbrae",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function d(){return u("umbrae")}return d}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you will do a fake recall, causing a clone to appear at the anchor and making yourself invisible. It will not teleport you between Z levels.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensnares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. Inside the radius, nearby creatures will freeze and energy projectiles will deal less damage.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permanent X-ray vision.",16)]})})},S=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Gargantua",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function d(){return u("gargantua")}return d}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you do not have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": Unlocked at 800 blood, you gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Desecrated Duel",16),(0,e.createTextVNode)(": Leap towards a visible enemy, creating an arena upon landing, infusing you with increased regeneration, and granting you resistance to internal damages.")],4)]})})},k=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Dantalion",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function d(){return u("dantalion")}return d}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that blinds and then makes everyone nearby perceive others as random animals.")],4)]})})}},46501:function(L,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.StationAlertConsole=function(){function y(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,N)})})}return y}(),N=r.StationAlertConsoleContent=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.data,c=l.alarms||[],f=c.Fire||[],u=c.Atmosphere||[],i=c.Power||[];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Fire Alarms",children:(0,e.createVNode)(1,"ul",null,[f.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),f.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Atmospherics Alarms",children:(0,e.createVNode)(1,"ul",null,[u.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),u.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Alarms",children:(0,e.createVNode)(1,"ul",null,[i.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),i.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)})],4)}return y}()},18565:function(L,r,n){"use strict";r.__esModule=!0,r.StationTraitsPanel=void 0;var e=n(96524),a=n(50640),t=n(67765),o=n(17899),m=n(24674),N=n(45493),y=function(l){return l[l.SetupFutureStationTraits=0]="SetupFutureStationTraits",l[l.ViewStationTraits=1]="ViewStationTraits",l}(y||{}),S=function(c,f){var u=(0,o.useBackend)(f),i=u.act,s=u.data,d=s.future_station_traits,h=(0,o.useLocalState)(f,"selectedFutureTrait",null),v=h[0],g=h[1],C=Object.fromEntries(s.valid_station_traits.map(function(b){return[b.name,b.path]})),V=Object.keys(C);return V.sort(),(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.Dropdown,{displayText:!v&&"Select trait to add...",onSelected:g,options:V,selected:v,width:"100%"})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button,{color:"green",icon:"plus",onClick:function(){function b(){if(v){var B=C[v],I=[B];if(d){var w,T=d.map(function(A){return A.path});if(T.indexOf(B)!==-1)return;I=(w=I).concat.apply(w,T)}i("setup_future_traits",{station_traits:I})}}return b}(),children:"Add"})})]}),(0,e.createComponentVNode)(2,m.Divider),Array.isArray(d)?d.length>0?(0,e.createComponentVNode)(2,m.Stack,{vertical:!0,fill:!0,children:d.map(function(b){return(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:b.name}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button,{color:"red",icon:"times",onClick:function(){function B(){i("setup_future_traits",{station_traits:(0,a.filterMap)(d,function(I){if(I.path!==b.path)return I.path})})}return B}(),children:"Delete"})})]})},b.path)})}):(0,e.createComponentVNode)(2,m.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,m.Box,{children:"No station traits will run next round."}),(0,e.createComponentVNode)(2,m.Button,{mt:1,fluid:!0,color:"good",icon:"times",tooltip:"The next round will roll station traits randomly, just like normal",onClick:function(){function b(){return i("clear_future_traits")}return b}(),children:"Run Station Traits Normally"})]}):(0,e.createComponentVNode)(2,m.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,m.Box,{children:"No future station traits are planned."}),(0,e.createComponentVNode)(2,m.Button,{mt:1,fluid:!0,color:"red",icon:"times",onClick:function(){function b(){return i("setup_future_traits",{station_traits:[]})}return b}(),children:"Prevent station traits from running next round"})]})]})},k=function(c,f){var u=(0,o.useBackend)(f),i=u.act,s=u.data;return s.current_traits.length>0?(0,e.createComponentVNode)(2,m.Stack,{vertical:!0,fill:!0,children:s.current_traits.map(function(d){return(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:d.name}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button.Confirm,{content:"Revert",color:"red",disabled:s.too_late_to_revert||!d.can_revert,tooltip:!d.can_revert&&"This trait is not revertable."||s.too_late_to_revert&&"It's too late to revert station traits, the round has already started.",icon:"times",onClick:function(){function h(){return i("revert",{ref:d.ref})}return h}()})})]})},d.ref)})}):(0,e.createComponentVNode)(2,m.Box,{textAlign:"center",children:"There are no active station traits."})},p=r.StationTraitsPanel=function(){function l(c,f){var u=(0,o.useLocalState)(f,"station_traits_tab",y.ViewStationTraits),i=u[0],s=u[1],d;switch(i){case y.SetupFutureStationTraits:d=(0,e.createComponentVNode)(2,S);break;case y.ViewStationTraits:d=(0,e.createComponentVNode)(2,k);break;default:(0,t.exhaustiveCheck)(i)}return(0,e.createComponentVNode)(2,N.Window,{title:"Modify Station Traits",height:350,width:350,children:(0,e.createComponentVNode)(2,N.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Tabs,{children:[(0,e.createComponentVNode)(2,m.Tabs.Tab,{icon:"eye",selected:i===y.ViewStationTraits,onClick:function(){function h(){return s(y.ViewStationTraits)}return h}(),children:"View"}),(0,e.createComponentVNode)(2,m.Tabs.Tab,{icon:"edit",selected:i===y.SetupFutureStationTraits,onClick:function(){function h(){return s(y.SetupFutureStationTraits)}return h}(),children:"Edit"})]})}),(0,e.createComponentVNode)(2,m.Stack.Item,{m:0,children:[(0,e.createComponentVNode)(2,m.Divider),d]})]})})})}return l}()},95147:function(L,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(96524),a=n(50640),t=n(17442),o=n(17899),m=n(24674),N=n(45493),y=5,S=5,k="64px",p=function(d){return d[0]+"/"+d[1]},l=function(d){var h=d.align,v=d.children;return(0,e.createComponentVNode)(2,m.Box,{style:{position:"absolute",left:h==="left"?"6px":"48px","text-align":h,"text-shadow":"2px 2px 2px #000",top:"2px"},children:v})},c={enable_internals:{icon:"lungs",text:"Enable internals"},disable_internals:{icon:"lungs",text:"Disable internals"},enable_lock:{icon:"lock",text:"Enable lock"},disable_lock:{icon:"unlock",text:"Disable lock"},suit_sensors:{icon:"tshirt",text:"Adjust suit sensors"},remove_accessory:{icon:"medal",text:"Remove accessory"},dislodge_headpocket:{icon:"head-side-virus",text:"Dislodge headpocket"}},f={eyes:{displayName:"eyewear",gridSpot:p([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:p([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:p([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:p([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:p([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:p([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:p([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:p([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:p([1,4])},jumpsuit:{displayName:"uniform",gridSpot:p([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:p([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:p([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:p([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:p([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:p([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:p([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:p([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:p([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:p([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:p([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:p([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:p([4,4]),image:"inventory-pda.png"}},u=function(s){return s[s.Completely=1]="Completely",s[s.Hidden=2]="Hidden",s}(u||{}),i=r.StripMenu=function(){function s(d,h){for(var v=(0,o.useBackend)(h),g=v.act,C=v.data,V=new Map,b=0,B=Object.keys(C.items);b<B.length;b++){var I=B[b];V.set(f[I].gridSpot,I)}var w=function(){function A(x){return x?x.cantstrip?"transparent":x.interacting?"average":"translucent":"translucent"}return A}(),T=function(){function A(x){return x&&x.cantstrip?"transparent":"none"}return A}();return(0,e.createComponentVNode)(2,N.Window,{title:"Stripping "+C.name,width:360,height:390,theme:"nologo",children:(0,e.createComponentVNode)(2,N.Window.Content,{style:{"background-color":"rgba(0, 0, 0, 0.5)"},children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:(0,a.range)(0,y).map(function(A){return(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:(0,a.range)(0,S).map(function(x){var E=p([A,x]),M=V.get(E);if(!M)return(0,e.createComponentVNode)(2,m.Stack.Item,{style:{width:k,height:k}},E);var j=C.items[M],P=f[M],R,D,F;return j===null?F=P.displayName:"name"in j?(D=(0,e.createComponentVNode)(2,m.Box,{as:"img",src:"data:image/jpeg;base64,"+j.icon,height:"100%",width:"100%",style:{"-ms-interpolation-mode":"nearest-neighbor","vertical-align":"middle"}}),F=j.name):"obscured"in j&&(D=(0,e.createComponentVNode)(2,m.Icon,{name:j.obscured===u.Completely?"ban":"eye-slash",size:3,ml:0,mt:2.5,color:"white",style:{"text-align":"center",height:"100%",width:"100%"}}),F="obscured "+P.displayName),j!==null&&"alternates"in j&&j.alternates!==null&&(R=j.alternates),(0,e.createComponentVNode)(2,m.Stack.Item,{style:{width:k,height:k},children:(0,e.createComponentVNode)(2,m.Box,{style:{position:"relative",width:"100%",height:"100%"},children:[(0,e.createComponentVNode)(2,m.Button,{onClick:function(){function W(){g("use",{key:M})}return W}(),fluid:!0,color:w(j),tooltip:F,style:{position:"relative",width:"100%",height:"100%",padding:0,"background-color":T(j)},children:[P.image&&(0,e.createComponentVNode)(2,m.Box,{as:"img",src:(0,t.resolveAsset)(P.image),opacity:.7,style:{position:"absolute",width:"32px",height:"32px",left:"50%",top:"50%",transform:"translateX(-50%) translateY(-50%) scale(2)"}}),(0,e.createComponentVNode)(2,m.Box,{style:{position:"relative"},children:D}),P.additionalComponent]}),(0,e.createComponentVNode)(2,m.Stack,{direction:"row-reverse",children:R!==void 0&&R.map(function(W,_){var H=_*1.8;return(0,e.createComponentVNode)(2,m.Stack.Item,{width:"100%",children:(0,e.createComponentVNode)(2,m.Button,{onClick:function(){function z(){g("alt",{key:M,action_key:W})}return z}(),tooltip:c[W].text,width:"1.8em",style:{background:"rgba(0, 0, 0, 0.6)",position:"absolute",bottom:0,right:H+"em","z-index":2+_},children:(0,e.createComponentVNode)(2,m.Icon,{name:c[W].icon})})},_)})})]})},E)})})},A)})})})})}return s}()},61284:function(L,r,n){"use strict";r.__esModule=!0,r.SuitStorage=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.SuitStorage=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.data,u=f.uv;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!u&&(0,e.createComponentVNode)(2,t.Dimmer,{backgroundColor:"black",opacity:.85,children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,textAlign:"center",mb:1,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",spin:1,size:4,mb:4}),(0,e.createVNode)(1,"br"),"Disinfection of contents in progress..."]})})}),(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,S)]})})})}return k}(),N=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.helmet,s=u.suit,d=u.magboots,h=u.mask,v=u.storage,g=u.open,C=u.locked;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stored Items",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Start Disinfection Cycle",icon:"radiation",textAlign:"center",onClick:function(){function V(){return f("cook")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:C?"Unlock":"Lock",icon:C?"unlock":"lock",disabled:g,onClick:function(){function V(){return f("toggle_lock")}return V}()})],4),children:g&&!C?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,y,{object:i,label:"Helmet",missingText:"helmet",eject:"dispense_helmet"}),(0,e.createComponentVNode)(2,y,{object:s,label:"Suit",missingText:"suit",eject:"dispense_suit"}),(0,e.createComponentVNode)(2,y,{object:d,label:"Boots",missingText:"boots",eject:"dispense_boots"}),(0,e.createComponentVNode)(2,y,{object:h,label:"Breathmask",missingText:"mask",eject:"dispense_mask"}),(0,e.createComponentVNode)(2,y,{object:v,label:"Storage",missingText:"storage item",eject:"dispense_storage"})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:C?"lock":"exclamation-circle",size:"5",mb:3}),(0,e.createVNode)(1,"br"),C?"The unit is locked.":"The unit is closed."]})})})},y=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=p.object,s=p.label,d=p.missingText,h=p.eject;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s,children:(0,e.createComponentVNode)(2,t.Box,{my:.5,children:i?(0,e.createComponentVNode)(2,t.Button,{my:-1,icon:"eject",content:i,onClick:function(){function v(){return f(h)}return v}()}):(0,e.createComponentVNode)(2,t.Box,{color:"silver",bold:!0,children:["No ",d," found."]})})})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.open,s=u.locked;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:i?"Close Suit Storage Unit":"Open Suit Storage Unit",icon:i?"times-circle":"expand",color:i?"red":"green",disabled:s,textAlign:"center",onClick:function(){function d(){return f("toggle_open")}return d}()})})}},19796:function(L,r,n){"use strict";r.__esModule=!0,r.SupermatterMonitor=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(36121),m=n(17899),N=n(24674),y=n(38424),S=n(45493),k=n(5126),p=r.SupermatterMonitor=function(){function u(i,s){var d=(0,m.useBackend)(s),h=d.act,v=d.data;return v.active===0?(0,e.createComponentVNode)(2,c):(0,e.createComponentVNode)(2,f)}return u}(),l=function(i){return Math.log2(16+Math.max(0,i))-4},c=function(i,s){var d=(0,m.useBackend)(s),h=d.act,v=d.data,g=v.supermatters,C=g===void 0?[]:g;return(0,e.createComponentVNode)(2,S.Window,{width:450,height:185,children:(0,e.createComponentVNode)(2,S.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,title:"Detected Supermatters",buttons:(0,e.createComponentVNode)(2,N.Button,{icon:"sync",content:"Refresh",onClick:function(){function V(){return h("refresh")}return V}()}),children:(0,e.createComponentVNode)(2,N.Table,{children:C.map(function(V){return(0,e.createComponentVNode)(2,N.Table.Row,{children:[(0,e.createComponentVNode)(2,N.Table.Cell,{children:V.supermatter_id+". "+V.area_name}),(0,e.createComponentVNode)(2,N.Table.Cell,{collapsing:!0,color:"label",children:"Integrity:"}),(0,e.createComponentVNode)(2,N.Table.Cell,{collapsing:!0,width:"120px",children:(0,e.createComponentVNode)(2,N.ProgressBar,{value:V.integrity/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,e.createComponentVNode)(2,N.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,N.Button,{content:"Details",onClick:function(){function b(){return h("view",{view:V.supermatter_id})}return b}()})})]},V.supermatter_id)})})})})})},f=function(i,s){var d=(0,m.useBackend)(s),h=d.act,v=d.data,g=v.active,C=v.SM_integrity,V=v.SM_power,b=v.SM_ambienttemp,B=v.SM_ambientpressure,I=(0,t.flow)([function(T){return T.filter(function(A){return A.amount>=.01})},(0,a.sortBy)(function(T){return-T.amount})])(v.gases||[]),w=Math.max.apply(Math,[1].concat(I.map(function(T){return T.amount})));return(0,e.createComponentVNode)(2,S.Window,{width:550,height:185,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,N.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{width:"270px",children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,title:"Metrics",children:(0,e.createComponentVNode)(2,N.LabeledList,{children:[(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,N.ProgressBar,{value:C/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,N.ProgressBar,{value:V,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.toFixed)(V)+" MeV/cm3"})}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,N.ProgressBar,{value:l(b),minValue:0,maxValue:l(1e4),ranges:{teal:[-1/0,l(80)],good:[l(80),l(373)],average:[l(373),l(1e3)],bad:[l(1e3),1/0]},children:(0,o.toFixed)(b)+" K"})}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,N.ProgressBar,{value:l(B),minValue:0,maxValue:l(5e4),ranges:{good:[l(1),l(300)],average:[-1/0,l(1e3)],bad:[l(1e3),1/0]},children:(0,o.toFixed)(B)+" kPa"})})]})})}),(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,e.createComponentVNode)(2,N.Button,{icon:"arrow-left",content:"Back",onClick:function(){function T(){return h("back")}return T}()}),children:(0,e.createComponentVNode)(2,N.LabeledList,{children:I.map(function(T){return(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:(0,y.getGasLabel)(T.name),children:(0,e.createComponentVNode)(2,N.ProgressBar,{color:(0,y.getGasColor)(T.name),value:T.amount,minValue:0,maxValue:w,children:(0,o.toFixed)(T.amount,2)+"%"})},T.name)})})})})]})})})}},30047:function(L,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.SyndicateComputerSimple=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data;return(0,e.createComponentVNode)(2,o.Window,{theme:"syndicate",width:400,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:l.rows.map(function(c){return(0,e.createComponentVNode)(2,t.Section,{title:c.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:c.buttontitle,disabled:c.buttondisabled,tooltip:c.buttontooltip,tooltipPosition:"left",onClick:function(){function f(){return p(c.buttonact)}return f}()}),children:[c.status,!!c.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:c.bullets.map(function(f){return(0,e.createComponentVNode)(2,t.Box,{children:f},f)})})]},c.title)})})})}return N}()},28830:function(L,r,n){"use strict";r.__esModule=!0,r.TEG=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=function(S){return S.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},N=r.TEG=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data;return c.error?(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[c.error,(0,e.createComponentVNode)(2,t.Button,{icon:"circle",content:"Recheck",onClick:function(){function f(){return l("check")}return f}()})]})})}):(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cold Loop ("+c.cold_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Inlet",children:[m(c.cold_inlet_temp)," K,"," ",m(c.cold_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Outlet",children:[m(c.cold_outlet_temp)," K,"," ",m(c.cold_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Hot Loop ("+c.hot_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Inlet",children:[m(c.hot_inlet_temp)," K,"," ",m(c.hot_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Outlet",children:[m(c.hot_outlet_temp)," K,"," ",m(c.hot_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Output",children:[m(c.output_power)," W",!!c.warning_switched&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold inlet temperature exceeds hot inlet temperature."}),!!c.warning_cold_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold circulator inlet pressure is under 1,000 kPa."}),!!c.warning_hot_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Hot circulator inlet pressure is under 1,000 kPa."})]})]})})}return y}()},67432:function(L,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m={0:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV",5:"Tier V"},N={male:"\u041C\u0443\u0436\u0441\u043A\u043E\u0439",female:"\u0416\u0435\u043D\u0441\u043A\u0438\u0439"},y={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},S=function(c,f,u,i){return i===void 0&&(i=null),c.map(function(s){var d,h=(d=s[i])!=null?d:s;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:f.includes(s),content:h,onClick:function(){function v(){f.includes(s)?u(f.filter(function(g){var C;return((C=g[i])!=null?C:g)!==s})):u([s].concat(f))}return v}()},h)})},k=r.TTSSeedsExplorer=function(){function l(){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,p)})})})}return l}(),p=r.TTSSeedsExplorerContent=function(){function l(c,f){var u=(0,a.useBackend)(f),i=u.act,s=u.data,d=s.providers,h=s.seeds,v=s.selected_seed,g=s.phrases,C=s.donator_level,V=s.character_gender,b=h.map(function(Z){return Z.category}).filter(function(Z,q,ue){return ue.indexOf(Z)===q}),B=h.map(function(Z){return Z.gender}).filter(function(Z,q,ue){return ue.indexOf(Z)===q}),I=h.map(function(Z){return Z.required_donator_level}).filter(function(Z,q,ue){return ue.indexOf(Z)===q}).sort(function(Z,q){return Z-q}).map(function(Z){return m[Z]}),w=(0,a.useLocalState)(f,"selectedProviders",d),T=w[0],A=w[1],x=(0,a.useLocalState)(f,"selectedGenders",B.includes(N[V])?[N[V]]:B),E=x[0],M=x[1],j=(0,a.useLocalState)(f,"selectedCategories",b),P=j[0],R=j[1],D=(0,a.useLocalState)(f,"selectedDonatorLevels",I.includes(m[C])?I.slice(0,I.indexOf(m[C])+1):I),F=D[0],W=D[1],_=(0,a.useLocalState)(f,"selectedPhrase",g[0]),H=_[0],z=_[1],$=(0,a.useLocalState)(f,"searchtext",""),X=$[0],J=$[1],ce=S(d,T,A,"name"),re=S(B,E,M),me=S(b,P,R),pe=S(I,F,W),ye=(0,e.createComponentVNode)(2,t.Dropdown,{options:g,selected:H.replace(/(.{60})..+/,"$1..."),width:"445px",onSelected:function(){function Z(q){return z(q)}return Z}()}),Be=(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",width:"100%",onInput:function(){function Z(q,ue){return J(ue)}return Z}()}),he=h.sort(function(Z,q){var ue=Z.name.toLowerCase(),se=q.name.toLowerCase();return ue>se?1:ue<se?-1:0}).filter(function(Z){return T.some(function(q){return q.name===Z.provider})&&E.includes(Z.gender)&&P.includes(Z.category)&&F.includes(m[Z.required_donator_level])&&Z.name.toLowerCase().includes(X.toLowerCase())}),oe=he.map(function(Z){return(0,e.createComponentVNode)(2,t.Table.Row,{backgroundColor:v===Z.name?"green":"transparent",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:v===Z.name?"green":"transparent",content:v===Z.name?"\u0412\u044B\u0431\u0440\u0430\u043D\u043E":"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",tooltip:C<Z.required_donator_level&&"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0431\u043E\u043B\u0435\u0435 \u0432\u044B\u0441\u043E\u043A\u0438\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",onClick:function(){function q(){return i("select",{seed:Z.name})}return q}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"music",color:v===Z.name?"green":"transparent",content:"",tooltip:"\u041F\u0440\u043E\u0441\u043B\u0443\u0448\u0430\u0442\u044C \u043F\u0440\u0438\u043C\u0435\u0440",onClick:function(){function q(){return i("listen",{seed:Z.name,phrase:H})}return q}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,textColor:Z.required_donator_level>0&&v!==Z.name?"orange":"white",children:Z.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:v===Z.name?.5:.25,textAlign:"left",children:Z.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:v===Z.name?"white":y[Z.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:y[Z.gender].icon})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:"white",textAlign:"right",children:Z.required_donator_level>0&&(0,e.createFragment)([m[Z.required_donator_level],(0,e.createComponentVNode)(2,t.Icon,{ml:1,mr:2,name:"coins"})],0)})]},Z.name)});return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{height:"175px",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",children:ce}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:re}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",children:pe}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:ye}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0438\u0441\u043A",children:Be})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"\u0423\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0451",disabled:P.length===0,onClick:function(){function Z(){return R([])}return Z}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0451",disabled:P.length===b.length,onClick:function(){function Z(){return R(b)}return Z}()})],4),children:me})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0413\u043E\u043B\u043E\u0441\u0430 ("+he.length+"/"+h.length+")",children:(0,e.createComponentVNode)(2,t.Table,{children:oe})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.BlockQuote,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445 \u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0447\u0430\u0441\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430."}),(0,e.createComponentVNode)(2,t.Box,{mt:2,italic:!0,children:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u0443\u0437\u043D\u0430\u0442\u044C \u0432 \u043D\u0430\u0448\u0435\u043C Discord-\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0435."})]})})})],4)}return l}()},39903:function(L,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.TachyonArray=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.records,u=f===void 0?[]:f,i=c.explosion_target,s=c.toxins_tech,d=c.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!u.length||d,align:"center",onClick:function(){function h(){return l("print_logs")}return h}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!u.length,color:"bad",align:"center",onClick:function(){function h(){return l("delete_logs")}return h}()})]})]})}),u.length?(0,e.createComponentVNode)(2,N):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return y}(),N=r.TachyonArrayContent=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.records,u=f===void 0?[]:f;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),u.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.theoretical_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){function s(){return l("delete_record",{index:i.index})}return s}()})})]},i.index)})]})})})})}return y}()},17068:function(L,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.Tank=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c;return l.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,width:"76%",icon:l.connected?"check":"times",content:l.connected?"Internals On":"Internals Off",selected:l.connected,onClick:function(){function f(){return p("internals")}return f}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:325,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:l.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:l.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:l.ReleasePressure===l.minReleasePressure,tooltip:"Min",onClick:function(){function f(){return p("pressure",{pressure:"min"})}return f}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(l.releasePressure),width:"65px",unit:"kPa",minValue:l.minReleasePressure,maxValue:l.maxReleasePressure,onChange:function(){function f(u,i){return p("pressure",{pressure:i})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:l.ReleasePressure===l.maxReleasePressure,tooltip:"Max",onClick:function(){function f(){return p("pressure",{pressure:"max"})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:l.ReleasePressure===l.defaultReleasePressure,tooltip:"Reset",onClick:function(){function f(){return p("pressure",{pressure:"reset"})}return f}()})]}),c]})})})})}return N}()},69161:function(L,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.TankDispenser=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.o_tanks,f=l.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Dispense Oxygen Tank ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("oxygen")}return u}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mt:1,fluid:!0,content:"Dispense Plasma Tank ("+f+")",disabled:f===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("plasma")}return u}()})})]})})})}return N}()},87394:function(L,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.TcommsCore=function(){function p(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.ion,d=(0,a.useLocalState)(c,"tabIndex",0),h=d[0],v=d[1],g=function(){function C(V){switch(V){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,k);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return C}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s===1&&(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"wrench",selected:h===0,onClick:function(){function C(){return v(0)}return C}(),children:"Configuration"},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"link",selected:h===1,onClick:function(){function C(){return v(1)}return C}(),children:"Device Linkage"},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"user-times",selected:h===2,onClick:function(){function C(){return v(2)}return C}(),children:"User Filtering"},"FilterPage")]}),g(h)]})})}return p}(),N=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},y=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.active,d=i.sectors_available,h=i.nttc_toggle_jobs,v=i.nttc_toggle_job_color,g=i.nttc_toggle_name_color,C=i.nttc_toggle_command_bold,V=i.nttc_job_indicator_type,b=i.nttc_setting_language,B=i.network_id;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"On":"Off",selected:s,icon:"power-off",onClick:function(){function I(){return u("toggle_active")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:d})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"On":"Off",selected:h,icon:"user-tag",onClick:function(){function I(){return u("nttc_toggle_jobs")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"clipboard-list",onClick:function(){function I(){return u("nttc_toggle_job_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"On":"Off",selected:g,icon:"user-tag",onClick:function(){function I(){return u("nttc_toggle_name_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"On":"Off",selected:C,icon:"volume-up",onClick:function(){function I(){return u("nttc_toggle_command_bold")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:V||"Unset",selected:V,icon:"pencil-alt",onClick:function(){function I(){return u("nttc_job_indicator_type")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:b||"Unset",selected:b,icon:"globe",onClick:function(){function I(){return u("nttc_setting_language")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:B||"Unset",selected:B,icon:"server",onClick:function(){function I(){return u("network_id")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function I(){return u("import")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function I(){return u("export")}return I}()})]})],4)},S=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.link_password,d=i.relay_entries;return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linkage Password",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"lock",onClick:function(){function h(){return u("change_password")}return h}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),d.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.status===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Online"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Offline"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",onClick:function(){function v(){return u("unlink",{addr:h.addr})}return v}()})})]},h.addr)})]})]})},k=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=f.data,s=i.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function d(){return u("add_filter")}return d}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),s.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function h(){return u("remove_filter",{user:d})}return h}()})})]},d)})]})})}},55684:function(L,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.TcommsRelay=function(){function S(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.linked,i=f.active,s=f.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:292,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:i?"On":"Off",selected:i,icon:"power-off",onClick:function(){function d(){return c("toggle_active")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"server",onClick:function(){function d(){return c("network_id")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:u===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),u===1?(0,e.createComponentVNode)(2,N):(0,e.createComponentVNode)(2,y)]})})}return S}(),N=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.linked_core_id,i=f.linked_core_addr,s=f.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"Yes":"No",icon:s?"eye-slash":"eye",selected:s,onClick:function(){function d(){return c("toggle_hidden_link")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function d(){return c("unlink")}return d}()})})]})})},y=function(k,p){var l=(0,a.useBackend)(p),c=l.act,f=l.data,u=f.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),u.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function s(){return c("link",{addr:i.addr})}return s}()})})]},i.addr)})]})})}},81088:function(L,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.Teleporter=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.targetsTeleport?l.targetsTeleport:{},f=0,u=1,i=2,s=l.calibrated,d=l.calibrating,h=l.powerstation,v=l.regime,g=l.teleporterhub,C=l.target,V=l.locked;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:270,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:[(!h||!g)&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Error",children:[g,!h&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),h&&!g&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),h&&g&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Status",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Teleport target:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[v===f&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:C,options:Object.keys(c),color:C!=="None"?"default":"bad",onSelected:function(){function b(B){return p("settarget",{x:c[B].x,y:c[B].y,z:c[B].z})}return b}()}),v===u&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:C,options:Object.keys(c),color:C!=="None"?"default":"bad",onSelected:function(){function b(B){return p("settarget",{x:c[B].x,y:c[B].y,z:c[B].z})}return b}()}),v===i&&(0,e.createComponentVNode)(2,t.Box,{children:C})]})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Regime:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Gate",tooltip:"Teleport to another teleport hub.",tooltipPosition:"top",color:v===u?"good":null,onClick:function(){function b(){return p("setregime",{regime:u})}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Teleporter",tooltip:"One-way teleport.",tooltipPosition:"top",color:v===f?"good":null,onClick:function(){function b(){return p("setregime",{regime:f})}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"GPS",tooltip:"Teleport to a location stored in a GPS device.",tooltipPosition:"top-end",color:v===i?"good":null,disabled:!V,onClick:function(){function b(){return p("setregime",{regime:i})}return b}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{label:"Calibration",mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Calibration:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[C!=="None"&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:15.8,textAlign:"center",mt:.5,children:d&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||s&&(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Optimal"})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Sub-Optimal"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",tooltipPosition:"bottom-end",disabled:!!(s||d),onClick:function(){function b(){return p("calibrate")}return b}()})})]}),C==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})]}),!!(V&&h&&g&&v===i)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function b(){return p("load")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function b(){return p("eject")}return b}()})]})})]})})})})}return N}()},96150:function(L,r,n){"use strict";r.__esModule=!0,r.TempGun=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=n(45493),N=r.TempGun=function(){function p(l,c){var f=(0,t.useBackend)(c),u=f.act,i=f.data,s=i.target_temperature,d=i.temperature,h=i.max_temp,v=i.min_temp;return(0,e.createComponentVNode)(2,m.Window,{width:250,height:121,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:10,stepPixelSize:6,minValue:v,maxValue:h,value:s,format:function(){function g(C){return(0,a.toFixed)(C,2)}return g}(),width:"50px",onDrag:function(){function g(C,V){return u("target_temperature",{target_temperature:V})}return g}()}),"\xB0C"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Temperature",children:(0,e.createComponentVNode)(2,o.Box,{color:y(d),bold:d>500-273.15,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:(0,a.round)(d,2)}),"\xB0C"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power Cost",children:(0,e.createComponentVNode)(2,o.Box,{color:k(d),children:S(d)})})]})})})})}return p}(),y=function(l){return l<=-100?"blue":l<=0?"teal":l<=100?"green":l<=200?"orange":"red"},S=function(l){return l<=100-273.15?"High":l<=250-273.15?"Medium":l<=300-273.15?"Low":l<=400-273.15?"Medium":"High"},k=function(l){return l<=100-273.15?"red":l<=250-273.15?"orange":l<=300-273.15?"green":l<=400-273.15?"orange":"red"}},95484:function(L,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(17899),m=n(68100),N=n(24674),y=n(45493),S=r.sanitizeMultiline=function(){function c(f){return f.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),k=r.removeAllSkiplines=function(){function c(f){return f.replace(/[\r\n]+/,"")}return c}(),p=r.TextInputModal=function(){function c(f,u){var i=(0,o.useBackend)(u),s=i.act,d=i.data,h=d.max_length,v=d.message,g=v===void 0?"":v,C=d.multiline,V=d.placeholder,b=d.timeout,B=d.title,I=(0,o.useLocalState)(u,"input",V||""),w=I[0],T=I[1],A=function(){function M(j){if(j!==w){var P=C?S(j):k(j);T(P)}}return M}(),x=C||w.length>=40,E=130+(g.length>40?Math.ceil(g.length/4):0)+(x?80:0);return(0,e.createComponentVNode)(2,y.Window,{title:B,width:325,height:E,children:[b&&(0,e.createComponentVNode)(2,a.Loader,{value:b}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function M(j){var P=window.event?j.which:j.keyCode;P===m.KEY_ENTER&&(!x||!j.shiftKey)&&s("submit",{entry:w}),P===m.KEY_ESCAPE&&s("cancel")}return M}(),children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,children:(0,e.createComponentVNode)(2,N.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l,{input:w,onType:A})}),(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:w,message:w.length+"/"+h})})]})})})]})}return c}(),l=function(f,u){var i=(0,o.useBackend)(u),s=i.act,d=i.data,h=d.max_length,v=d.multiline,g=f.input,C=f.onType,V=v||g.length>=40;return(0,e.createComponentVNode)(2,N.TextArea,{autoFocus:!0,autoSelect:!0,height:v||g.length>=40?"100%":"1.8rem",maxLength:h,onEscape:function(){function b(){return s("cancel")}return b}(),onEnter:function(){function b(B){V&&B.shiftKey||(B.preventDefault(),s("submit",{entry:g}))}return b}(),onInput:function(){function b(B,I){return C(I)}return b}(),placeholder:"Type something...",value:g})}},378:function(L,r,n){"use strict";r.__esModule=!0,r.ThermoMachine=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=n(45493),N=r.ThermoMachine=function(){function y(S,k){var p=(0,t.useBackend)(k),l=p.act,c=p.data;return(0,e.createComponentVNode)(2,m.Window,{width:300,height:225,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{title:"Status",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.temperature,format:function(){function f(u){return(0,a.toFixed)(u,2)}return f}()})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pressure",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.pressure,format:function(){function f(u){return(0,a.toFixed)(u,2)}return f}()})," kPa"]})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Controls",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:c.on?"power-off":"times",content:c.on?"On":"Off",selected:c.on,onClick:function(){function f(){return l("power")}return f}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Setting",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:c.cooling?"temperature-low":"temperature-high",content:c.cooling?"Cooling":"Heating",selected:c.cooling,onClick:function(){function f(){return l("cooling")}return f}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"fast-backward",disabled:c.target===c.min,title:"Minimum temperature",onClick:function(){function f(){return l("target",{target:c.min})}return f}()}),(0,e.createComponentVNode)(2,o.NumberInput,{animated:!0,value:Math.round(c.target),unit:"K",width:5.4,lineHeight:1.4,minValue:Math.round(c.min),maxValue:Math.round(c.max),step:5,stepPixelSize:3,onDrag:function(){function f(u,i){return l("target",{target:i})}return f}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"fast-forward",disabled:c.target===c.max,title:"Maximum Temperature",onClick:function(){function f(){return l("target",{target:c.max})}return f}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"sync",disabled:c.target===c.initial,title:"Room Temperature",onClick:function(){function f(){return l("target",{target:c.initial})}return f}()})]})]})})]})})}return y}()},3365:function(L,r,n){"use strict";r.__esModule=!0,r.TransferValve=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.TransferValve=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.tank_one,f=l.tank_two,u=l.attached_device,i=l.valve;return(0,e.createComponentVNode)(2,o.Window,{width:460,height:285,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Valve Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:i?"unlock":"lock",content:i?"Open":"Closed",disabled:!c||!f,onClick:function(){function s(){return p("toggle")}return s}()})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Assembly",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Configure Assembly",disabled:!u,onClick:function(){function s(){return p("device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:u?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:u,disabled:!u,onClick:function(){function s(){return p("remove_device")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Assembly"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment One",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:c?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:c,disabled:!c,onClick:function(){function s(){return p("tankone")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment Two",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:f?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:f,disabled:!f,onClick:function(){function s(){return p("tanktwo")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})})]})})}return N}()},13860:function(L,r,n){"use strict";r.__esModule=!0,r.TurbineComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=n(36121),N=r.TurbineComputer=function(){function k(p,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,i=u.compressor,s=u.compressor_broken,d=u.turbine,h=u.turbine_broken,v=u.online,g=!!(i&&!s&&d&&!h);return(0,e.createComponentVNode)(2,o.Window,{width:400,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:v?"power-off":"times",content:v?"Online":"Offline",selected:v,disabled:!g,onClick:function(){function C(){return f("toggle_power")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Disconnect",onClick:function(){function C(){return f("disconnect")}return C}()})],4),children:g?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,y)})})})}return k}(),y=function(p,l){var c=(0,a.useBackend)(l),f=c.data,u=f.compressor,i=f.compressor_broken,s=f.turbine,d=f.turbine_broken,h=f.online;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compressor Status",color:!u||i?"bad":"good",children:i?u?"Offline":"Missing":"Online"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Status",color:!s||d?"bad":"good",children:d?s?"Offline":"Missing":"Online"})]})},S=function(p,l){var c=(0,a.useBackend)(l),f=c.data,u=f.rpm,i=f.temperature,s=f.power,d=f.bearing_heat;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Speed",children:[u," RPM"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Temp",children:[i," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Generated Power",children:[s," W"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bearing Heat",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:d,minValue:0,maxValue:100,ranges:{good:[-1/0,60],average:[60,90],bad:[90,1/0]},children:(0,m.toFixed)(d)+"%"})})]})}},22169:function(L,r,n){"use strict";r.__esModule=!0,r.Uplink=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(78234),m=n(17899),N=n(24674),y=n(45493),S=n(99665),k=function(v){switch(v){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,d);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}},p=r.Uplink=function(){function h(v,g){var C=(0,m.useBackend)(g),V=C.act,b=C.data,B=b.cart,I=(0,m.useLocalState)(g,"tabIndex",0),w=I[0],T=I[1],A=(0,m.useLocalState)(g,"searchText",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,y.Window,{width:900,height:600,theme:"syndicate",children:[(0,e.createComponentVNode)(2,S.ComplexModal),(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,N.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Tabs,{children:[(0,e.createComponentVNode)(2,N.Tabs.Tab,{selected:w===0,onClick:function(){function M(){T(0),E("")}return M}(),icon:"store",children:"View Market"},"PurchasePage"),(0,e.createComponentVNode)(2,N.Tabs.Tab,{selected:w===1,onClick:function(){function M(){T(1),E("")}return M}(),icon:"shopping-cart",children:["View Shopping Cart"," ",B&&B.length?"("+B.length+")":""]},"Cart"),(0,e.createComponentVNode)(2,N.Tabs.Tab,{selected:w===2,onClick:function(){function M(){T(2),E("")}return M}(),icon:"user",children:"Exploitable Information"},"ExploitableInfo"),(0,e.createComponentVNode)(2,N.Tabs.Tab,{onClick:function(){function M(){return V("lock")}return M}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:k(w)})]})})]})}return h}(),l=function(v,g){var C=(0,m.useBackend)(g),V=C.act,b=C.data,B=b.crystals,I=b.cats,w=(0,m.useLocalState)(g,"uplinkItems",I[0].items),T=w[0],A=w[1],x=(0,m.useLocalState)(g,"searchText",""),E=x[0],M=x[1],j=function(_,H){H===void 0&&(H="");var z=(0,o.createSearch)(H,function($){var X=$.hijack_only===1?"|hijack":"";return $.name+"|"+$.desc+"|"+$.cost+"tc"+X});return(0,t.flow)([(0,a.filter)(function($){return $==null?void 0:$.name}),H&&(0,a.filter)(z),(0,a.sortBy)(function($){return $==null?void 0:$.name})])(_)},P=function(_){if(M(_),_==="")return A(I[0].items);A(j(I.map(function(H){return H.items}).flat(),_))},R=(0,m.useLocalState)(g,"showDesc",1),D=R[0],F=R[1];return(0,e.createComponentVNode)(2,N.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,N.Stack.Item,{children:(0,e.createComponentVNode)(2,N.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,N.Button.Checkbox,{content:"Show Descriptions",checked:D,onClick:function(){function W(){return F(!D)}return W}()}),(0,e.createComponentVNode)(2,N.Button,{content:"Random Item",icon:"question",onClick:function(){function W(){return V("buyRandom")}return W}()}),(0,e.createComponentVNode)(2,N.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function W(){return V("refund")}return W}()})],4),children:(0,e.createComponentVNode)(2,N.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function W(_,H){P(H)}return W}(),value:E})})})}),(0,e.createComponentVNode)(2,N.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,N.Tabs,{vertical:!0,children:I.map(function(W){return(0,e.createComponentVNode)(2,N.Tabs.Tab,{selected:E!==""?!1:W.items===T,onClick:function(){function _(){A(W.items),M("")}return _}(),children:W.cat},W)})})})}),(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,N.Stack,{vertical:!0,children:T.map(function(W){return(0,e.createComponentVNode)(2,N.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,u,{i:W,showDecription:D},(0,o.decodeHtmlEntities)(W.name))},(0,o.decodeHtmlEntities)(W.name))})})})})]})]})},c=function(v,g){var C=(0,m.useBackend)(g),V=C.act,b=C.data,B=b.cart,I=b.crystals,w=b.cart_price,T=(0,m.useLocalState)(g,"showDesc",0),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,N.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+I+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,N.Button.Checkbox,{content:"Show Descriptions",checked:A,onClick:function(){function E(){return x(!A)}return E}()}),(0,e.createComponentVNode)(2,N.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function E(){return V("empty_cart")}return E}(),disabled:!B}),(0,e.createComponentVNode)(2,N.Button,{content:"Purchase Cart ("+w+"TC)",icon:"shopping-cart",onClick:function(){function E(){return V("purchase_cart")}return E}(),disabled:!B||w>I})],4),children:(0,e.createComponentVNode)(2,N.Stack,{vertical:!0,children:B?B.map(function(E){return(0,e.createComponentVNode)(2,N.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,u,{i:E,showDecription:A,buttons:(0,e.createComponentVNode)(2,s,{i:E})})},(0,o.decodeHtmlEntities)(E.name))}):(0,e.createComponentVNode)(2,N.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,f)]})},f=function(v,g){var C=(0,m.useBackend)(g),V=C.act,b=C.data,B=b.cats,I=b.lucky_numbers;return(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,N.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function w(){return V("shuffle_lucky_numbers")}return w}()}),children:(0,e.createComponentVNode)(2,N.Stack,{wrap:!0,children:I.map(function(w){return B[w.cat].items[w.item]}).filter(function(w){return w!=null}).map(function(w,T){return(0,e.createComponentVNode)(2,N.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,u,{grow:!0,i:w})},T)})})})})},u=function(v,g){var C=v.i,V=v.showDecription,b=V===void 0?1:V,B=v.buttons,I=B===void 0?(0,e.createComponentVNode)(2,i,{i:C}):B;return(0,e.createComponentVNode)(2,N.Section,{title:(0,o.decodeHtmlEntities)(C.name),showBottom:b,buttons:I,children:b?(0,e.createComponentVNode)(2,N.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(C.desc)}):null})},i=function(v,g){var C=(0,m.useBackend)(g),V=C.act,b=C.data,B=v.i,I=b.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,N.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function w(){return V("add_to_cart",{item:B.obj_path})}return w}(),disabled:B.cost>I}),(0,e.createComponentVNode)(2,N.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function w(){return V("buyItem",{item:B.obj_path})}return w}(),disabled:B.cost>I})],4)},s=function(v,g){var C=(0,m.useBackend)(g),V=C.act,b=C.data,B=v.i,I=b.exploitable;return(0,e.createComponentVNode)(2,N.Stack,{children:[(0,e.createComponentVNode)(2,N.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function w(){return V("remove_from_cart",{item:B.obj_path})}return w}()}),(0,e.createComponentVNode)(2,N.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function w(){return V("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return w}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,N.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function w(T,A){return V("set_cart_item_quantity",{item:B.obj_path,quantity:A})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,N.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function w(){return V("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},d=function(v,g){var C=(0,m.useBackend)(g),V=C.act,b=C.data,B=b.exploitable,I=(0,m.useLocalState)(g,"selectedRecord",B[0]),w=I[0],T=I[1],A=(0,m.useLocalState)(g,"searchText",""),x=A[0],E=A[1],M=function(R,D){D===void 0&&(D="");var F=(0,o.createSearch)(D,function(W){return W.name});return(0,t.flow)([(0,a.filter)(function(W){return W==null?void 0:W.name}),D&&(0,a.filter)(F),(0,a.sortBy)(function(W){return W.name})])(R)},j=M(B,x);return(0,e.createComponentVNode)(2,N.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,N.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,title:"Exploitable Records",children:[(0,e.createComponentVNode)(2,N.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function P(R,D){return E(D)}return P}()}),(0,e.createComponentVNode)(2,N.Tabs,{vertical:!0,children:j.map(function(P){return(0,e.createComponentVNode)(2,N.Tabs.Tab,{selected:P===w,onClick:function(){function R(){return T(P)}return R}(),children:P.name},P)})})]})}),(0,e.createComponentVNode)(2,N.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,N.Section,{fill:!0,scrollable:!0,title:w.name,children:(0,e.createComponentVNode)(2,N.LabeledList,{children:[(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Age",children:w.age}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Fingerprint",children:w.fingerprint}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Rank",children:w.rank}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Sex",children:w.sex}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Species",children:w.species})]})})})]})}},70547:function(L,r,n){"use strict";r.__esModule=!0,r.Vending=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=S.product,u=S.productStock,i=S.productImage,s=c.chargesMoney,d=c.user,h=c.usermoney,v=c.inserted_cash,g=c.vend_ready,C=c.inserted_item_name,V=!s||f.price===0,b="ERROR!",B="";V?(b="FREE",B="arrow-circle-down"):(b=f.price,B="shopping-cart");var I=!g||u===0||!V&&f.price>h&&f.price>v;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+i,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:f.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Box,{color:u<=0&&"bad"||u<=f.max_amount/2&&"average"||"good",children:[u," in stock"]})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,disabled:I,icon:B,content:b,textAlign:"left",onClick:function(){function w(){return l("vend",{inum:f.inum})}return w}()})})]})},N=r.Vending=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.user,u=c.usermoney,i=c.inserted_cash,s=c.chargesMoney,d=c.product_records,h=d===void 0?[]:d,v=c.hidden_records,g=v===void 0?[]:v,C=c.stock,V=c.vend_ready,b=c.inserted_item_name,B=c.panel_open,I=c.speaker,w=c.imagelist,T;return T=[].concat(h),c.extended_inventory&&(T=[].concat(T,g)),T=T.filter(function(A){return!!A}),(0,e.createComponentVNode)(2,o.Window,{title:"Vending Machine",width:450,height:Math.min((s?171:89)+T.length*32,585),children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!s&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!b&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:(0,e.createVNode)(1,"span",null,b,0,{style:{"text-transform":"capitalize"}}),onClick:function(){function A(){return l("eject_item",{})}return A}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{disabled:!i,icon:"money-bill-wave-alt",content:i?(0,e.createFragment)([(0,e.createVNode)(1,"b",null,i,0),(0,e.createTextVNode)(" credits")],0):"Dispense Change",tooltip:i?"Dispense Change":null,textAlign:"left",onClick:function(){function A(){return l("change")}return A}()})})]}),children:f&&(0,e.createComponentVNode)(2,t.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,f.name,0),","," ",(0,e.createVNode)(1,"b",null,f.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[u,(0,e.createTextVNode)(" credits")],0),".",(0,e.createVNode)(1,"br")]})})}),!!B&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"check":"volume-mute",selected:I,content:"Speaker",textAlign:"left",onClick:function(){function A(){return l("toggle_voice",{})}return A}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:(0,e.createComponentVNode)(2,t.Table,{children:T.map(function(A){return(0,e.createComponentVNode)(2,m,{product:A,productStock:C[A.name],productImage:w[A.path]},A.name)})})})})]})})})}return y}()},33045:function(L,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.VolumeMixer=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(f,u){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:u>0&&"0.5rem",children:f.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function i(){return p("volume",{channel:f.num,volume:0})}return i}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.Slider,{minValue:0,maxValue:100,stepPixelSize:3.13,value:f.volume,onChange:function(){function i(s,d){return p("volume",{channel:f.num,volume:d})}return i}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function i(){return p("volume",{channel:f.num,volume:100})}return i}()})})})]})})],4,f.num)})})})})}return N}()},53792:function(L,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.VotePanel=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.remaining,f=l.question,u=l.choices,i=l.user_vote,s=l.counts,d=l.show_counts;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:360,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:f,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1.5,ml:.5,children:["Time remaining: ",Math.round(c/10),"s"]}),u.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mb:1,fluid:!0,lineHeight:3,color:"translucent",multiLine:h,content:h+(d?" ("+(s[h]||0)+")":""),onClick:function(){function v(){return p("vote",{target:h})}return v}(),selected:h===i})},h)})]})})})}return N}()},64860:function(L,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.Wires=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.wires||[],f=l.status||[],u=56+c.length*23+(status?0:15+f.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:u,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:i.color_name,labelColor:i.seen_color,color:i.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:i.cut?"Mend":"Cut",onClick:function(){function s(){return p("cut",{wire:i.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function s(){return p("pulse",{wire:i.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:i.attached?"Detach":"Attach",onClick:function(){function s(){return p("attach",{wire:i.color})}return s}()})],4),children:!!i.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),i.wire,(0,e.createTextVNode)(")")],0)},i.seen_color)})})})}),!!f.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:f.map(function(i){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:i},i)})})})]})})})}return N}()},78262:function(L,r,n){"use strict";r.__esModule=!0,r.WizardApprenticeContract=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),m=r.WizardApprenticeContract=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.used;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:555,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Contract of Apprenticeship",children:["Using this contract, you may summon an apprentice to aid you on your mission.",(0,e.createVNode)(1,"p",null,"If you are unable to establish contact with your apprentice, you can feed the contract back to the spellbook to refund your points.",16),c?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"You've already summoned an apprentice or you are in process of summoning one."}):""]}),(0,e.createComponentVNode)(2,t.Section,{title:"Which school of magic is your apprentice studying?",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fire",children:["Your apprentice is skilled in bending fire. ",(0,e.createVNode)(1,"br"),"They know Fireball, Sacred Flame, and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return p("fire")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Translocation",children:["Your apprentice is able to defy physics, learning how to move through bluespace. ",(0,e.createVNode)(1,"br"),"They know Teleport, Blink and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return p("translocation")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Restoration",children:["Your apprentice is dedicated to supporting your magical prowess.",(0,e.createVNode)(1,"br"),"They come equipped with a Staff of Healing, have the unique ability to teleport back to you, and know Charge and Knock.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return p("restoration")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stealth",children:["Your apprentice is learning the art of infiltrating mundane facilities. ",(0,e.createVNode)(1,"br"),"They know Mindswap, Knock, Homing Toolbox, and Disguise Self, all of which can be cast without robes. They also join you in a Maintenance Dweller disguise, complete with Gloves of Shock Immunity and a Belt of Tools.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return p("stealth")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Honk",children:["Your apprentice is here to spread the Honkmother's blessings.",(0,e.createVNode)(1,"br"),"They know Banana Touch, Instant Summons, Ethereal Jaunt, and come equipped with a Staff of Slipping. ",(0,e.createVNode)(1,"br"),"While under your tutelage, they have been 'blessed' with clown shoes that are impossible to remove.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return p("honk")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})})]})})}return N}()},57842:function(L,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674);function m(p,l){var c=typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(c)return(c=c.call(p)).next.bind(c);if(Array.isArray(p)||(c=N(p))||l&&p&&typeof p.length=="number"){c&&(p=c);var f=0;return function(){return f>=p.length?{done:!0}:{done:!1,value:p[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N(p,l){if(p){if(typeof p=="string")return y(p,l);var c=Object.prototype.toString.call(p).slice(8,-1);if(c==="Object"&&p.constructor&&(c=p.constructor.name),c==="Map"||c==="Set")return Array.from(p);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return y(p,l)}}function y(p,l){(l==null||l>p.length)&&(l=p.length);for(var c=0,f=new Array(l);c<l;c++)f[c]=p[c];return f}var S={0:{icon:"times-circle",color:"bad"},1:{icon:"stop-circle",color:null},2:{icon:"check-circle",color:"good"}},k=r.AccessList=function(){function p(l,c){var f,u=l.sectionButtons,i=u===void 0?null:u,s=l.usedByRcd,d=l.rcdButtons,h=l.accesses,v=h===void 0?[]:h,g=l.selectedList,C=g===void 0?[]:g,V=l.grantableList,b=V===void 0?[]:V,B=l.accessMod,I=l.grantAll,w=l.denyAll,T=l.grantDep,A=l.denyDep,x=(0,t.useLocalState)(c,"accessName",(f=v[0])==null?void 0:f.name),E=x[0],M=x[1],j=v.find(function(D){return D.name===E}),P=(0,a.sortBy)(function(D){return D.desc})((j==null?void 0:j.accesses)||[]),R=function(){function D(F){for(var W=!1,_=!1,H=m(F),z;!(z=H()).done;){var $=z.value;C.includes($.ref)?W=!0:_=!0}return!W&&_?0:W&&_?1:2}return D}();return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Access",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"check-double",content:"Select All",color:"good",onClick:function(){function D(){return I()}return D}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"undo",content:"Deselect All",color:"bad",onClick:function(){function D(){return w()}return D}()}),i],0),children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,o.Tabs,{vertical:!0,children:v.map(function(D){var F=D.accesses||[],W=S[R(F)].icon,_=S[R(F)].color;return(0,e.createComponentVNode)(2,o.Tabs.Tab,{altSelection:!0,color:_,icon:W,selected:D.name===E,onClick:function(){function H(){return M(D.name)}return H}(),children:D.name},D.name)})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Divider,{vertical:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"80%",children:[(0,e.createComponentVNode)(2,o.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"check",content:"Select All In Region",color:"good",onClick:function(){function D(){return T(j.regid)}return D}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"times",content:"Deselect All In Region",color:"bad",onClick:function(){function D(){return A(j.regid)}return D}()})})]}),!!s&&(0,e.createComponentVNode)(2,o.Box,{my:1.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Require",children:d})})}),P.map(function(D){return(0,e.createComponentVNode)(2,o.Button.Checkbox,{fluid:!0,content:D.desc,disabled:b.length>0&&!b.includes(D.ref)&&!C.includes(D.ref),checked:C.includes(D.ref),onClick:function(){function F(){return B(D.ref)}return F}()},D.desc)})]})]})})}return p}()},79449:function(L,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674),m=function(S,k,p,l,c){return S<k?"bad":S<p||S>l?"average":S>c?"bad":"good"},N=r.AtmosScan=function(){function y(S,k){var p=S.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(l){return l.val!=="0"||l.entry==="Pressure"||l.entry==="Temperature"})(p).map(function(l){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:l.entry,color:m(l.val,l.bad_low,l.poor_low,l.poor_high,l.bad_high),children:[l.val,l.units]},l.entry)})})})}return y}()},1496:function(L,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(96524),a=n(24674),t=n(56099),o=function(y){return y+" unit"+(y===1?"":"s")},m=r.BeakerContents=function(){function N(y){var S=y.beakerLoaded,k=y.beakerContents,p=k===void 0?[]:k,l=y.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!S&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"No beaker loaded."})||p.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),p.map(function(c,f){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!l&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:l(c,f)})]},c.name)})]})}return N}();m.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},69521:function(L,r,n){"use strict";r.__esModule=!0,r.BotStatus=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.BotStatus=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.locked,c=p.noaccess,f=p.maintpanel,u=p.on,i=p.autopatrol,s=p.canhack,d=p.emagged,h=p.remote_disabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",l?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,disabled:c,onClick:function(){function v(){return k("power")}return v}()})}),i!==null&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Patrol",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Auto Patrol",disabled:c,onClick:function(){function v(){return k("autopatrol")}return v}()})}),!!f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:d?"bad":"good",children:d?"DISABLED!":"Enabled"})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:d?"Restore Safties":"Hack",disabled:c,color:"bad",onClick:function(){function v(){return k("hack")}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Access",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!h,content:"AI Remote Control",disabled:c,onClick:function(){function v(){return k("disableremote")}return v}()})})]})})],4)}return m}()},99665:function(L,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(96524),a=n(17899),t=n(24674),o={},m=r.modalOpen=function(){function p(l,c,f){var u=(0,a.useBackend)(l),i=u.act,s=u.data,d=Object.assign(s.modal?s.modal.args:{},f||{});i("modal_open",{id:c,arguments:JSON.stringify(d)})}return p}(),N=r.modalRegisterBodyOverride=function(){function p(l,c){o[l]=c}return p}(),y=r.modalAnswer=function(){function p(l,c,f,u){var i=(0,a.useBackend)(l),s=i.act,d=i.data;if(d.modal){var h=Object.assign(d.modal.args||{},u||{});s("modal_answer",{id:c,answer:f,arguments:JSON.stringify(h)})}}return p}(),S=r.modalClose=function(){function p(l,c){var f=(0,a.useBackend)(l),u=f.act;u("modal_close",{id:c})}return p}(),k=r.ComplexModal=function(){function p(l,c){var f=(0,a.useBackend)(c),u=f.data;if(u.modal){var i=u.modal,s=i.id,d=i.text,h=i.type,v,g=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function w(){return S(c)}return w}()}),C,V,b="auto";if(o[s])C=o[s](u.modal,c);else if(h==="input"){var B=u.modal.value;v=function(){function w(T){return y(c,s,B)}return w}(),C=(0,e.createComponentVNode)(2,t.Input,{value:u.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function w(T,A){B=A}return w}()}),V=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function w(){return S(c)}return w}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function w(){return y(c,s,B)}return w}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(h==="choice"){var I=typeof u.modal.choices=="object"?Object.values(u.modal.choices):u.modal.choices;C=(0,e.createComponentVNode)(2,t.Dropdown,{options:I,selected:u.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function w(T){return y(c,s,T)}return w}()}),b="initial"}else h==="bento"?C=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:u.modal.choices.map(function(w,T){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:T+1===parseInt(u.modal.value,10),onClick:function(){function A(){return y(c,s,T+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:w})})},T)})}):h==="boolean"&&(V=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:u.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function w(){return y(c,s,0)}return w}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:u.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function w(){return y(c,s,1)}return w}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:l.maxWidth||window.innerWidth/2+"px",maxHeight:l.maxHeight||window.innerHeight/2+"px",onEnter:v,mx:"auto",overflowY:b,"padding-bottom":"5px",children:[d&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:d}),o[s]&&g,C,V]})}}return p}()},98444:function(L,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(78234),m=n(38424),N=m.COLORS.department,y=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],S=function(f){return y.indexOf(f)!==-1?"green":"orange"},k=function(f){if(y.indexOf(f)!==-1)return!0},p=function(f){return f.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),f.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{color:S(u.rank),bold:k(u.rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.active})]},u.name+u.rank)})]})},l=r.CrewManifest=function(){function c(f,u){var i=(0,a.useBackend)(u),s=i.act,d;if(f.data)d=f.data;else{var h=(0,a.useBackend)(u),v=h.data;d=v}var g=d,C=g.manifest,V=C.heads,b=C.sec,B=C.eng,I=C.med,w=C.sci,T=C.ser,A=C.sup,x=C.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:p(V)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:p(b)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:p(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:p(I)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:p(w)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:p(T)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:N.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:p(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:p(x)})]})}return c}()},15113:function(L,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(96524),a=n(24674),t=n(17899),o=r.InputButtons=function(){function m(N,y){var S=(0,t.useBackend)(y),k=S.act,p=S.data,l=p.large_buttons,c=p.swapped_buttons,f=N.input,u=N.message,i=N.disabled,s=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!l,fluid:!!l,onClick:function(){function h(){return k("submit",{entry:f})}return h}(),textAlign:"center",tooltip:l&&u,disabled:i,width:!l&&6}),d=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!l,fluid:!!l,onClick:function(){function h(){return k("cancel")}return h}(),textAlign:"center",width:!l&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[l?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:d}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:d}),!l&&u&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:u})}),l?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:s}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:s})]})}return m}()},26893:function(L,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.InterfaceLockNoticeBox=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=N.siliconUser,c=l===void 0?p.siliconUser:l,f=N.locked,u=f===void 0?p.locked:f,i=N.normallyLocked,s=i===void 0?p.normallyLocked:i,d=N.onLockStatusChange,h=d===void 0?function(){return k("lock")}:d,v=N.accessText,g=v===void 0?"an ID card":v;return c?(0,e.createComponentVNode)(2,t.NoticeBox,{color:c&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:s?"red":"green",icon:s?"lock":"unlock",content:s?"Locked":"Unlocked",onClick:function(){function C(){h&&h(!u)}return C}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",g," to ",u?"unlock":"lock"," this interface."]})}return m}()},14299:function(L,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(96524),a=n(36121),t=n(24674),o=r.Loader=function(){function m(N){var y=N.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(y)*100+"%"}}),2)}return m}()},68159:function(L,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LoginInfo=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.loginState;if(p)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",l.name," (",l.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!l.id,content:"Eject ID",color:"good",onClick:function(){function c(){return k("login_eject")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return k("login_logout")}return c}()})]})]})})}return m}()},27527:function(L,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LoginScreen=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.loginState,c=p.isAI,f=p.isRobot,u=p.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:l.id?l.id:"----------",ml:"0.5rem",onClick:function(){function i(){return k("login_insert")}return i}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!l.id,content:"Login",onClick:function(){function i(){return k("login_login",{login_type:1})}return i}()}),!!c&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function i(){return k("login_login",{login_type:2})}return i}()}),!!f&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function i(){return k("login_login",{login_type:3})}return i}()}),!!u&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function i(){return k("login_login",{login_type:4})}return i}()})]})})})}return m}()},75201:function(L,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(96524),a=n(24674),t=n(56099),o=r.Operating=function(){function m(N){var y=N.operating,S=N.name;if(y)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",S," is processing..."]})})})}return m}();o.propTypes={operating:t.bool,name:t.string}},65435:function(L,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=r.Signaler=function(){function N(y,S){var k=(0,t.useBackend)(S),p=k.act,l=y.data,c=l.code,f=l.frequency,u=l.minFrequency,i=l.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:u/10,maxValue:i/10,value:f/10,format:function(){function s(d){return(0,a.toFixed)(d,1)}return s}(),width:"80px",onDrag:function(){function s(d,h){return p("freq",{freq:h})}return s}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:c,width:"80px",onDrag:function(){function s(d,h){return p("code",{code:h})}return s}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function s(){return p("signal")}return s}()})]})}return N}()},77534:function(L,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(96524),a=n(17899),t=n(78234),o=n(74041),m=n(50640),N=n(24674),y=r.SimpleRecords=function(){function p(l,c){var f=l.data.records;return(0,e.createComponentVNode)(2,N.Box,{children:f?(0,e.createComponentVNode)(2,k,{data:l.data,recordType:l.recordType}):(0,e.createComponentVNode)(2,S,{data:l.data})})}return p}(),S=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=l.data.recordsList,s=(0,a.useLocalState)(c,"searchText",""),d=s[0],h=s[1],v=function(V,b){b===void 0&&(b="");var B=(0,t.createSearch)(b,function(I){return I.Name});return(0,o.flow)([(0,m.filter)(function(I){return I==null?void 0:I.Name}),b&&(0,m.filter)(B),(0,m.sortBy)(function(I){return I.Name})])(i)},g=v(i,d);return(0,e.createComponentVNode)(2,N.Box,{children:[(0,e.createComponentVNode)(2,N.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function C(V,b){return h(b)}return C}()}),g.map(function(C){return(0,e.createComponentVNode)(2,N.Box,{children:(0,e.createComponentVNode)(2,N.Button,{mb:.5,content:C.Name,icon:"user",onClick:function(){function V(){return u("Records",{target:C.uid})}return V}()})},C)})]})},k=function(l,c){var f=(0,a.useBackend)(c),u=f.act,i=l.data.records,s=i.general,d=i.medical,h=i.security,v;switch(l.recordType){case"MED":v=(0,e.createComponentVNode)(2,N.Section,{level:2,title:"Medical Data",children:d?(0,e.createComponentVNode)(2,N.LabeledList,{children:[(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Blood Type",children:d.blood_type}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Minor Disabilities",children:d.mi_dis}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Details",children:d.mi_dis_d}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Major Disabilities",children:d.ma_dis}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Details",children:d.ma_dis_d}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Allergies",children:d.alg}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Details",children:d.alg_d}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Current Diseases",children:d.cdi}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Details",children:d.cdi_d}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Important Notes",children:d.notes})]}):(0,e.createComponentVNode)(2,N.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":v=(0,e.createComponentVNode)(2,N.Section,{level:2,title:"Security Data",children:h?(0,e.createComponentVNode)(2,N.LabeledList,{children:[(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Criminal Status",children:h.criminal}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Minor Crimes",children:h.mi_crim}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Details",children:h.mi_crim_d}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Major Crimes",children:h.ma_crim}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Details",children:h.ma_crim_d}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Important Notes",children:h.notes})]}):(0,e.createComponentVNode)(2,N.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,N.Box,{children:[(0,e.createComponentVNode)(2,N.Section,{title:"General Data",children:s?(0,e.createComponentVNode)(2,N.LabeledList,{children:[(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Name",children:s.name}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Sex",children:s.sex}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Species",children:s.species}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Age",children:s.age}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Rank",children:s.rank}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,e.createComponentVNode)(2,N.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]}):(0,e.createComponentVNode)(2,N.Box,{color:"red",bold:!0,children:"General record lost!"})}),v]})}},84537:function(L,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.TemporaryNotice=function(){function m(N,y){var S,k=(0,a.useBackend)(y),p=k.act,l=k.data,c=l.temp;if(c){var f=(S={},S[c.style]=!0,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},f,{children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:c.text}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",onClick:function(){function u(){return p("cleartemp")}return u}()})})]})})))}}return m}()},24704:function(L,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(96524),a=n(17899),t=n(79449),o=r.pai_atmosphere=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:p.app_data})}return m}()},4209:function(L,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_bioscan=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.app_data,c=l.holder,f=l.dead,u=l.health,i=l.brute,s=l.oxy,d=l.tox,h=l.burn,v=l.temp;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:d})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:h})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:i})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return m}()},44430:function(L,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_directives=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.app_data,c=l.master,f=l.dna,u=l.prime,i=l.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+f+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function s(){return k("getdna")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:i||"None"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:'Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.'}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:"Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability."})]})}return m}()},3367:function(L,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_doorjack=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.app_data,c=l.cable,f=l.machine,u=l.inprogress,i=l.progress,s=l.aborted,d;f?d=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):d=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function v(){return k("cable")}return v}()});var h;return f&&(h=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[67,1/0],average:[33,67],bad:[-1/0,33]},value:i,maxValue:100}),u?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function v(){return k("cancel")}return v}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function v(){return k("jack")}return v}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:d}),h]})}return m}()},73395:function(L,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_main_menu=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.app_data,c=l.available_software,f=l.installed_software,u=l.installed_toggles,i=l.available_ram,s=l.emotions,d=l.current_emotion,h=l.speech_verbs,v=l.current_speech_verb,g=l.available_chassises,C=l.current_chassis,V=[];return f.map(function(b){return V[b.key]=b.name}),u.map(function(b){return V[b.key]=b.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(b){return!V[b.key]}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name+" ("+b.cost+")",icon:b.icon,disabled:b.cost>i,onClick:function(){function B(){return k("purchaseSoftware",{key:b.key})}return B}()},b.key)}),c.filter(function(b){return!V[b.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[f.filter(function(b){return b.key!=="mainmenu"}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,onClick:function(){function B(){return k("startSoftware",{software_key:b.key})}return B}()},b.key)}),f.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[u.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,selected:b.active,onClick:function(){function B(){return k("setToggle",{toggle_key:b.key})}return B}()},b.key)}),u.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:s.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.id===d,onClick:function(){function B(){return k("setEmotion",{emotion:b.id})}return B}()},b.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Speaking State",children:h.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.name===v,onClick:function(){function B(){return k("setSpeechStyle",{speech_state:b.name})}return B}()},b.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Chassis Type",children:g.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.icon===C,onClick:function(){function B(){return k("setChassis",{chassis_to_change:b.icon})}return B}()},b.id)})})]})})}return m}()},37645:function(L,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(96524),a=n(17899),t=n(98444),o=r.pai_manifest=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:p.app_data})}return m}()},15836:function(L,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pai_medrecords=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k.app_data,recordType:"MED"})}return m}()},91737:function(L,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(96524),a=n(17899),t=n(30709),o=r.pai_messenger=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.app_data.active_convo;return l?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:p.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:p.app_data})}return m}()},94077:function(L,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(96524),a=n(17899),t=n(36121),o=n(24674),m=r.pai_radio=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.app_data,f=c.minFrequency,u=c.maxFrequency,i=c.frequency,s=c.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:f/10,maxValue:u/10,value:i/10,format:function(){function d(h){return(0,t.toFixed)(h,1)}return d}(),onChange:function(){function d(h,v){return p("freq",{freq:v})}return d}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function d(){return p("freq",{freq:"145.9"})}return d}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function d(){return p("toggleBroadcast")}return d}(),selected:s,content:s?"Enabled":"Disabled"})})]})}return N}()},72621:function(L,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pai_secrecords=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k.app_data,recordType:"SEC"})}return m}()},53483:function(L,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(96524),a=n(17899),t=n(65435),o=r.pai_signaler=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p.app_data})}return m}()},21606:function(L,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(96524),a=n(17899),t=n(79449),o=r.pda_atmos_scan=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:k})}return m}()},12339:function(L,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_janitor=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.janitor,c=l.user_loc,f=l.mops,u=l.buckets,i=l.cleanbots,s=l.carts,d=l.janicarts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:f.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.dir,") - ",h.status]},h)})}),u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:u.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.dir,") - [",h.volume,"/",h.max_volume,"]"]},h)})}),i&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:i.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.dir,") - ",h.status]},h)})}),s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:s.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.dir,") - [",h.volume,"/",h.max_volume,"]"]},h)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janicart Locations",children:d.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.direction_from_user,")"]},h)})})]})}return m}()},36615:function(L,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),m=r.pda_main_menu=function(){function N(y,S){var k=(0,t.useBackend)(S),p=k.act,l=k.data,c=l.owner,f=l.ownjob,u=l.idInserted,i=l.categories,s=l.pai,d=l.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",f]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!u,onClick:function(){function h(){return p("UpdateInfo")}return h}()})})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Functions",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:i.map(function(h){var v=l.apps[h];return!v||!v.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:h,children:v.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.uid in d?g.notify_icon:g.icon,iconSpin:g.uid in d,color:g.uid in d?"red":"transparent",content:g.name,onClick:function(){function C(){return p("StartProgram",{program:g.uid})}return C}()},g.uid)})},h)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!s&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function h(){return p("pai",{option:1})}return h}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function h(){return p("pai",{option:2})}return h}()})]})})]})}return N}()},99737:function(L,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(96524),a=n(17899),t=n(98444),o=r.pda_manifest=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return m}()},61597:function(L,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pda_medical=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k,recordType:"MED"})}return m}()},30709:function(L,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674),m=r.pda_messenger=function(){function k(p,l){var c=(0,t.useBackend)(l),f=c.act,u=c.data,i=u.active_convo;return i?(0,e.createComponentVNode)(2,N,{data:u}):(0,e.createComponentVNode)(2,y,{data:u})}return k}(),N=r.ActiveConversation=function(){function k(p,l){var c=(0,t.useBackend)(l),f=c.act,u=p.data,i=u.convo_name,s=u.convo_job,d=u.messages,h=u.active_convo,v=(0,t.useLocalState)(l,"clipboardMode",!1),g=v[0],C=v[1],V=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+i+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:g,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function b(){return C(!g)}return b}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function b(){return f("Message",{target:h})}return b}(),content:"Reply"})],4),children:(0,a.filter)(function(b){return b.target===h})(d).map(function(b,B){return(0,e.createComponentVNode)(2,o.Box,{textAlign:b.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:b.sent?"#4d9121":"#cd7a0d",position:"absolute",left:b.sent?null:"0px",right:b.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:b.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:b.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:b.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[b.sent?"You:":"Them:"," ",b.message]})]},B)})});return g&&(V=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+i+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:g,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function b(){return C(!g)}return b}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function b(){return f("Message",{target:h})}return b}(),content:"Reply"})],4),children:(0,a.filter)(function(b){return b.target===h})(d).map(function(b,B){return(0,e.createComponentVNode)(2,o.Box,{color:b.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[b.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:b.message})]},B)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function b(){return f("Clear",{option:"Convo"})}return b}()})})})}),V]})}return k}(),y=r.MessengerList=function(){function k(p,l){var c=(0,t.useBackend)(l),f=c.act,u=p.data,i=u.convopdas,s=u.pdas,d=u.charges,h=u.silent,v=u.toff,g=u.ringtone_list,C=u.ringtone,V=(0,t.useLocalState)(l,"searchTerm",""),b=V[0],B=V[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!h,icon:h?"volume-mute":"volume-up",onClick:function(){function I(){return f("Toggle Ringer")}return I}(),children:["Ringer: ",h?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:v?"bad":"green",icon:"power-off",onClick:function(){function I(){return f("Toggle Messenger")}return I}(),children:["Messenger: ",v?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function I(){return f("Clear",{option:"All"})}return I}(),children:"Delete All Conversations"}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function I(){return f("Ringtone")}return I}(),children:"Set Custom Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:C,width:"100px",options:Object.keys(g),onSelected:function(){function I(w){return f("Available_Ringtones",{selected_ringtone:w})}return I}()})})]})}),!v&&(0,e.createComponentVNode)(2,o.Box,{children:[!!d&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[d," charges left."]})})}),!i.length&&!s.length&&(0,e.createComponentVNode)(2,o.Box,{children:"No current conversations"})||(0,e.createComponentVNode)(2,o.Box,{children:["Search:"," ",(0,e.createComponentVNode)(2,o.Input,{mt:.5,value:b,onInput:function(){function I(w,T){B(T)}return I}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,S,{title:"Current Conversations",data:u,pdas:i,msgAct:"Select Conversation",searchTerm:b}),(0,e.createComponentVNode)(2,S,{title:"Other PDAs",pdas:s,msgAct:"Message",data:u,searchTerm:b})]})}return k}(),S=function(p,l){var c=(0,t.useBackend)(l),f=c.act,u=p.data,i=p.pdas,s=p.title,d=p.msgAct,h=p.searchTerm,v=u.charges,g=u.plugins;return!i||!i.length?(0,e.createComponentVNode)(2,o.Section,{title:s,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s,children:i.filter(function(C){return C.Name.toLowerCase().includes(h.toLowerCase())}).map(function(C){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:C.Name,onClick:function(){function V(){return f(d,{target:C.uid})}return V}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!v&&g.map(function(V){return(0,e.createComponentVNode)(2,o.Button,{icon:V.icon,content:V.name,onClick:function(){function b(){return f("Messenger Plugin",{plugin:V.uid,target:C.uid})}return b}()},V.uid)})})]},C.uid)})})}},71654:function(L,r,n){"use strict";r.__esModule=!0,r.pda_mob_hunt=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(17442),m=r.pda_mob_hunt=function(){function N(y,S){var k=(0,a.useBackend)(S),p=k.act,l=k.data,c=l.connected,f=l.wild_captures,u=l.no_collection,i=l.entry;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connection Status",children:c?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:["Connected",(0,e.createComponentVNode)(2,t.Button,{ml:2,content:"Disconnect",icon:"sign-out-alt",onClick:function(){function s(){return p("Disconnect")}return s}()})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:["Disconnected",(0,e.createComponentVNode)(2,t.Button,{ml:2,content:"Connect",icon:"sign-in-alt",onClick:function(){function s(){return p("Reconnect")}return s}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Wild Captures",children:f})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Collection",mt:2,buttons:(0,e.createComponentVNode)(2,t.Box,{children:!u&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Previous",icon:"arrow-left",onClick:function(){function s(){return p("Prev")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Next",icon:"arrow-right",onClick:function(){function s(){return p("Next")}return s}()})]})}),children:u?"Your collection is empty! Go capture some Nano-Mobs!":i?(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createVNode)(1,"img",null,null,1,{src:(0,o.resolveAsset)(i.sprite),style:{width:"64px","-ms-interpolation-mode":"nearest-neighbor"}})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,basis:0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.nickname&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nickname",children:i.nickname}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:i.real_name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:i.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Primary Type",children:i.type1}),i.type2&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Secondary Type",children:i.type2}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sd-card",onClick:function(){function s(){return p("Transfer")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Release",icon:"arrow-up",onClick:function(){function s(){return p("Release")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Rename",icon:"pencil-alt",onClick:function(){function s(){return p("Rename")}return s}()}),!!i.is_hacked&&(0,e.createComponentVNode)(2,t.Button,{content:"Set Trap",icon:"bolt",color:"red",onClick:function(){function s(){return p("Set_Trap")}return s}()})]})]})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Mob entry missing!"})})]})}return N}()},68053:function(L,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_mule=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.mulebot,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,N):(0,e.createComponentVNode)(2,m)})}return y}(),m=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.mulebot,u=f.bots;return u.map(function(i){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:i.Name,icon:"cog",onClick:function(){function s(){return l("control",{bot:i.uid})}return s}()})},i.Name)})},N=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.mulebot,u=f.botstatus,i=f.active,s=u.mode,d=u.loca,h=u.load,v=u.powr,g=u.dest,C=u.home,V=u.retn,b=u.pick,B;switch(s){case 0:B="Ready";break;case 1:B="Loading/Unloading";break;case 2:case 12:B="Navigating to delivery location";break;case 3:B="Navigating to Home";break;case 4:B="Waiting for clear path";break;case 5:case 6:B="Calculating navigation path";break;case 7:B="Unable to locate destination";break;default:B=s;break}return(0,e.createComponentVNode)(2,t.Section,{title:i,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[v,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:C}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:g?g+" (Set)":"None (Set)",onClick:function(){function I(){return l("target")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:h?h+" (Unload)":"None",disabled:!h,onClick:function(){function I(){return l("unload")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"Yes":"No",selected:b,onClick:function(){function I(){return l("set_pickup_type",{autopick:b?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:V?"Yes":"No",selected:V,onClick:function(){function I(){return l("set_auto_return",{autoret:V?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function I(){return l("stop")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function I(){return l("start")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function I(){return l("home")}return I}()})]})]})]})}},31728:function(L,r,n){"use strict";r.__esModule=!0,r.pda_nanobank=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),m=r.pda_nanobank=function(){function c(f,u){var i=(0,t.useBackend)(u),s=i.act,d=i.data,h=d.logged_in,v=d.owner_name,g=d.money;return h?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Name",children:v}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:["$",g]})]})}),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,N),(0,e.createComponentVNode)(2,y)]})],4):(0,e.createComponentVNode)(2,l)}return c}(),N=function(f,u){var i=(0,t.useBackend)(u),s=i.data,d=(0,t.useLocalState)(u,"tabIndex",1),h=d[0],v=d[1];return(0,e.createComponentVNode)(2,o.Tabs,{mt:2,children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:h===1,onClick:function(){function g(){return v(1)}return g}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transfers"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:h===2,onClick:function(){function g(){return v(2)}return g}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Account Actions"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:h===3,onClick:function(){function g(){return v(3)}return g}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transaction History"]})]})},y=function(f,u){var i=(0,t.useLocalState)(u,"tabIndex",1),s=i[0],d=(0,t.useBackend)(u),h=d.data,v=h.db_status;if(!v)return(0,e.createComponentVNode)(2,o.Box,{children:"Account Database Connection Severed"});switch(s){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,k);case 3:return(0,e.createComponentVNode)(2,p);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},S=function(f,u){var i,s=(0,t.useBackend)(u),d=s.act,h=s.data,v=h.requests,g=h.available_accounts,C=h.money,V=(0,t.useLocalState)(u,"selectedAccount"),b=V[0],B=V[1],I=(0,t.useLocalState)(u,"transferAmount"),w=I[0],T=I[1],A=(0,t.useLocalState)(u,"searchText",""),x=A[0],E=A[1],M=[];return g.map(function(j){return M[j.name]=j.UID}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account",children:[(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account name",onInput:function(){function j(P,R){return E(R)}return j}()}),(0,e.createComponentVNode)(2,o.Dropdown,{mt:.6,width:"190px",options:g.filter((0,a.createSearch)(x,function(j){return j.name})).map(function(j){return j.name}),selected:(i=g.filter(function(j){return j.UID===b})[0])==null?void 0:i.name,onSelected:function(){function j(P){return B(M[P])}return j}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Amount",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Up to 5000",onInput:function(){function j(P,R){return T(R)}return j}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{bold:!0,icon:"paper-plane",width:"auto",disabled:C<w||!b,content:"Send",onClick:function(){function j(){return d("transfer",{amount:w,transfer_to_account:b})}return j}()}),(0,e.createComponentVNode)(2,o.Button,{bold:!0,icon:"hand-holding-usd",width:"auto",disabled:!b,content:"Request",onClick:function(){function j(){return d("transfer_request",{amount:w,transfer_to_account:b})}return j}()})]})]}),(0,e.createComponentVNode)(2,o.Section,{level:3,title:"Requests",children:v.map(function(j){return(0,e.createComponentVNode)(2,o.Box,{mt:1,ml:1,children:[(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Request from "),j.requester],0),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Amount",children:j.amount}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Time",children:[j.time," Minutes ago"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"thumbs-up",color:"good",disabled:C<j.amount,content:"Accept",onClick:function(){function P(){return d("resolve_transfer_request",{accepted:1,requestUID:j.request_id})}return P}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"thumbs-down",color:"bad",content:"Deny",onClick:function(){function P(){return d("resolve_transfer_request",{requestUID:j.request_id})}return P}()})]})]})]},j.UID)})})],4)},k=function(f,u){var i=(0,t.useBackend)(u),s=i.act,d=i.data,h=d.security_level,v=d.department_members,g=d.auto_approve,C=d.auto_approve_amount,V=d.is_department_account;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Security",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"user-lock",selected:h===1,content:"Account Number Only",tooltip:"Set Account security so that only having the account number is required for transactions",onClick:function(){function b(){return s("set_security",{new_security_level:1})}return b}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-lock",selected:h===2,content:"Require Pin Entry",tooltip:"Set Account security so that pin entry is required for transactions",onClick:function(){function b(){return s("set_security",{new_security_level:2})}return b}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Logout",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sign-out-alt",width:"auto",content:"Logout",onClick:function(){function b(){return s("logout")}return b}()})})]}),!!V&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Auto Approve Orders",children:(0,e.createComponentVNode)(2,o.Button,{color:g?"good":"bad",content:g?"Yes":"No",onClick:function(){function b(){return s("toggle_auto_approve")}return b}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Auto Approve Purchases when",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"# Credits",value:C,onInput:function(){function b(B,I){return s("set_approve_amount",{approve_amount:I})}return b}()})})]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Occupation"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Can Approve Crates"})]}),v.map(function(b){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:b.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:b.job}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:b.can_approve?"good":"bad",content:b.can_approve?"Yes":"No",onClick:function(){function B(){return s("toggle_member_approval",{member:b.name})}return B}()})})]},b)})]})],4)],0)},p=function(f,u){var i=(0,t.useBackend)(u),s=i.act,d=i.data,h=d.transaction_log;return(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),h.map(function(v){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:v.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:v.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:v.is_deposit?"green":"red",children:["$",v.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:v.target_name})]},v)})]})},l=function(f,u){var i=(0,t.useBackend)(u),s=i.act,d=i.data,h=(0,t.useLocalState)(u,"accountID",null),v=h[0],g=h[1],C=(0,t.useLocalState)(u,"accountPin",null),V=C[0],b=C[1],B=d.card_account_num,I=v||B;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account ID",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Account ID",onInput:function(){function w(T,A){return g(A)}return w}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Account Pin",onInput:function(){function w(T,A){return b(A)}return w}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Login",icon:"sign-in-alt",disabled:!v&&!B,onClick:function(){function w(){return s("login",{account_num:I,account_pin:V})}return w}()})})]})}},29415:function(L,r,n){"use strict";r.__esModule=!0,r.pda_notes=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_notes=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.note;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{children:l}),(0,e.createComponentVNode)(2,t.Button,{icon:"pen",onClick:function(){function c(){return k("Edit")}return c}(),content:"Edit"})]})}return m}()},52363:function(L,r,n){"use strict";r.__esModule=!0,r.pda_power=void 0;var e=n(96524),a=n(17899),t=n(70373),o=r.pda_power=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data;return(0,e.createComponentVNode)(2,t.PowerMonitorMainContent)}return m}()},23914:function(L,r,n){"use strict";r.__esModule=!0,r.pda_secbot=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_secbot=function(){function y(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.beepsky,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,N):(0,e.createComponentVNode)(2,m)})}return y}(),m=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.beepsky,u=f.bots;return u.map(function(i){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:i.Name,icon:"cog",onClick:function(){function s(){return l("control",{bot:i.uid})}return s}()})},i.Name)})},N=function(S,k){var p=(0,a.useBackend)(k),l=p.act,c=p.data,f=c.beepsky,u=f.botstatus,i=f.active,s=u.mode,d=u.loca,h;switch(s){case 0:h="Ready";break;case 1:h="Apprehending target";break;case 2:case 3:h="Arresting target";break;case 4:h="Starting patrol";break;case 5:h="On patrol";break;case 6:h="Responding to summons";break}return(0,e.createComponentVNode)(2,t.Section,{title:i,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Go",icon:"play",onClick:function(){function v(){return l("go")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function v(){return l("stop")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Summon",icon:"arrow-down",onClick:function(){function v(){return l("summon")}return v}()})]})]})]})}},68878:function(L,r,n){"use strict";r.__esModule=!0,r.pda_security=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pda_security=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k,recordType:"SEC"})}return m}()},95135:function(L,r,n){"use strict";r.__esModule=!0,r.pda_signaler=void 0;var e=n(96524),a=n(17899),t=n(65435),o=r.pda_signaler=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p})}return m}()},20835:function(L,r,n){"use strict";r.__esModule=!0,r.pda_status_display=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_status_display=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.records;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Code",children:[(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){function c(){return k("Status",{statdisp:0})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"clock",content:"Evac ETA",onClick:function(){function c(){return k("Status",{statdisp:1})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"edit",content:"Message",onClick:function(){function c(){return k("Status",{statdisp:2})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"exclamation-triangle",content:"Red Alert",onClick:function(){function c(){return k("Status",{statdisp:3,alert:"redalert"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"boxes",content:"NT Logo",onClick:function(){function c(){return k("Status",{statdisp:3,alert:"default"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lock",content:"Lockdown",onClick:function(){function c(){return k("Status",{statdisp:3,alert:"lockdown"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"biohazard",content:"Biohazard",onClick:function(){function c(){return k("Status",{statdisp:3,alert:"biohazard"})}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 1",children:(0,e.createComponentVNode)(2,t.Button,{content:l.message1+" (set)",icon:"pen",onClick:function(){function c(){return k("SetMessage",{msgnum:1})}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 2",children:(0,e.createComponentVNode)(2,t.Button,{content:l.message2+" (set)",icon:"pen",onClick:function(){function c(){return k("SetMessage",{msgnum:2})}return c}()})})]})})}return m}()},11741:function(L,r,n){"use strict";r.__esModule=!0,r.pda_supplyrecords=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_supplyrecords=function(){function m(N,y){var S=(0,a.useBackend)(y),k=S.act,p=S.data,l=p.supply,c=l.shuttle_loc,f=l.shuttle_time,u=l.shuttle_moving,i=l.approved,s=l.approved_count,d=l.requests,h=l.requests_count;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:u?(0,e.createComponentVNode)(2,t.Box,{children:["In transit ",f]}):(0,e.createComponentVNode)(2,t.Box,{children:c})})}),(0,e.createComponentVNode)(2,t.Section,{mt:1,title:"Requested Orders",children:h>0&&d.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{children:["#",v.Number,' - "',v.Name,'" for "',v.OrderedBy,'"']},v)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:s>0&&i.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{children:["#",v.Number,' - "',v.Name,'" for "',v.ApprovedBy,'"']},v)})})]})}return m}()},61255:function(L,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(96524),a=n(28234),t=n(3051),o=n(92700),m=["className","theme","children"],N=["className","scrollable","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function y(p,l){if(p==null)return{};var c={},f=Object.keys(p),i,u;for(u=0;u<f.length;u++)i=f[u],!(l.indexOf(i)>=0)&&(c[i]=p[i]);return c}var S=r.Layout=function(){function p(l){var c=l.className,f=l.theme,i=f===void 0?"nanotrasen":f,u=l.children,s=y(l,m);return(0,e.createVNode)(1,"div","theme-"+i,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout",c].concat((0,t.computeBoxClassName)(s))),u,0,Object.assign({},(0,t.computeBoxProps)(s)))),2)}return p}(),k=function(l){var c=l.className,f=l.scrollable,i=l.children,u=y(l,N);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout__content",f&&"Layout__content--scrollable",c,(0,t.computeBoxClassName)(u)]),i,0,Object.assign({},(0,t.computeBoxProps)(u))))};k.defaultHooks={onComponentDidMount:function(){function p(l){return(0,o.addScrollableNode)(l)}return p}(),onComponentWillUnmount:function(){function p(l){return(0,o.removeScrollableNode)(l)}return p}()},S.Content=k},55067:function(L,r,n){"use strict";r.__esModule=!0,r.Pane=void 0;var e=n(28823),a=n(66586),t=n(91819),o=n(2971),m=n(39241),N=n(73786),y=["theme","children","className"],S=["className","fitted","children"];/** + */function y(p,l){if(p==null)return{};var c={},f=Object.keys(p),u,i;for(i=0;i<f.length;i++)u=f[i],!(l.indexOf(u)>=0)&&(c[u]=p[u]);return c}var S=r.Layout=function(){function p(l){var c=l.className,f=l.theme,u=f===void 0?"nanotrasen":f,i=l.children,s=y(l,m);return(0,e.createVNode)(1,"div","theme-"+u,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout",c].concat((0,t.computeBoxClassName)(s))),i,0,Object.assign({},(0,t.computeBoxProps)(s)))),2)}return p}(),k=function(l){var c=l.className,f=l.scrollable,u=l.children,i=y(l,N);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout__content",f&&"Layout__content--scrollable",c,(0,t.computeBoxClassName)(i)]),u,0,Object.assign({},(0,t.computeBoxProps)(i))))};k.defaultHooks={onComponentDidMount:function(){function p(l){return(0,o.addScrollableNode)(l)}return p}(),onComponentWillUnmount:function(){function p(l){return(0,o.removeScrollableNode)(l)}return p}()},S.Content=k},12599:function(L,r,n){"use strict";r.__esModule=!0,r.Pane=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),m=n(90781),N=n(61255),y=["theme","children","className"],S=["className","fitted","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function k(c,f){if(c==null)return{};var i={},u=Object.keys(c),s,d;for(d=0;d<u.length;d++)s=u[d],!(f.indexOf(s)>=0)&&(i[s]=c[s]);return i}var p=r.Pane=function(){function c(f,i){var u=f.theme,s=f.children,d=f.className,C=k(f,y),g=(0,t.useBackend)(i),v=g.suspended,h=(0,m.useDebug)(i),V=h.debugLayout;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,N.Layout,Object.assign({className:(0,a.classes)(["Window",d]),theme:u},C,{children:(0,e.createComponentVNode)(2,o.Box,{fillPositionedParent:!0,className:V&&"debug-layout",children:!v&&s})})))}return c}(),l=function(f){var i=f.className,u=f.fitted,s=f.children,d=k(f,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,N.Layout.Content,Object.assign({className:(0,a.classes)(["Window__content",i])},d,{children:u&&s||(0,e.createVNode)(1,"div","Window__contentPadding",s,0)})))};p.Content=l},82118:function(L,r,n){"use strict";r.__esModule=!0,r.Window=void 0;var e=n(28823),a=n(66586),t=n(90816),o=n(37843),m=n(91819),N=n(2971),y=n(30381),S=n(39241),k=n(20697),p=n(45360),l=n(50175),c=n(73786),f=["className","fitted","children"];function i(b,B){if(b==null)return{};var I={},w=Object.keys(b),T,A;for(A=0;A<w.length;A++)T=w[A],!(B.indexOf(T)>=0)&&(I[T]=b[T]);return I}function u(b,B){b.prototype=Object.create(B.prototype),b.prototype.constructor=b,s(b,B)}function s(b,B){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function I(w,T){return w.__proto__=T,w}return I}(),s(b,B)}/** + */function k(c,f){if(c==null)return{};var u={},i=Object.keys(c),s,d;for(d=0;d<i.length;d++)s=i[d],!(f.indexOf(s)>=0)&&(u[s]=c[s]);return u}var p=r.Pane=function(){function c(f,u){var i=f.theme,s=f.children,d=f.className,h=k(f,y),v=(0,t.useBackend)(u),g=v.suspended,C=(0,m.useDebug)(u),V=C.debugLayout;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,N.Layout,Object.assign({className:(0,a.classes)(["Window",d]),theme:i},h,{children:(0,e.createComponentVNode)(2,o.Box,{fillPositionedParent:!0,className:V&&"debug-layout",children:!g&&s})})))}return c}(),l=function(f){var u=f.className,i=f.fitted,s=f.children,d=k(f,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,N.Layout.Content,Object.assign({className:(0,a.classes)(["Window__content",u])},d,{children:i&&s||(0,e.createVNode)(1,"div","Window__contentPadding",s,0)})))};p.Content=l},28861:function(L,r,n){"use strict";r.__esModule=!0,r.Window=void 0;var e=n(96524),a=n(28234),t=n(88605),o=n(78234),m=n(17899),N=n(24674),y=n(38424),S=n(90781),k=n(82574),p=n(83987),l=n(81856),c=n(61255),f=["className","fitted","children"];function u(b,B){if(b==null)return{};var I={},w=Object.keys(b),T,A;for(A=0;A<w.length;A++)T=w[A],!(B.indexOf(T)>=0)&&(I[T]=b[T]);return I}function i(b,B){b.prototype=Object.create(B.prototype),b.prototype.constructor=b,s(b,B)}function s(b,B){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function I(w,T){return w.__proto__=T,w}return I}(),s(b,B)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var d=(0,l.createLogger)("Window"),C=[400,600],g=r.Window=function(b){u(B,b);function B(){return b.apply(this,arguments)||this}var I=B.prototype;return I.componentDidMount=function(){function w(){var T=(0,m.useBackend)(this.context),A=T.suspended;A||(d.log("mounting"),this.updateGeometry())}return w}(),I.componentDidUpdate=function(){function w(T){var A=this.props.width!==T.width||this.props.height!==T.height;A&&this.updateGeometry()}return w}(),I.updateGeometry=function(){function w(){var T,A=(0,m.useBackend)(this.context),x=A.config,E=Object.assign({size:C},x.window);this.props.width&&this.props.height&&(E.size=[this.props.width,this.props.height]),(T=x.window)!=null&&T.key&&(0,p.setWindowKey)(x.window.key),(0,p.recallWindowGeometry)(E)}return w}(),I.render=function(){function w(){var T,A=this.props,x=A.theme,E=A.title,P=A.children,D=(0,m.useBackend)(this.context),M=D.config,O=D.suspended,j=(0,S.useDebug)(this.context),F=j.debugLayout,U=(0,t.useDispatch)(this.context),_=(T=M.window)==null?void 0:T.fancy,z=M.user&&(M.user.observer?M.status<y.UI_DISABLED:M.status<y.UI_INTERACTIVE);return(0,e.createComponentVNode)(2,c.Layout,{className:"Window",theme:x,children:[(0,e.createComponentVNode)(2,V,{className:"Window__titleBar",title:!O&&(E||(0,o.decodeHtmlEntities)(M.title)),status:M.status,fancy:_,onDragStart:p.dragStartHandler,onClose:function(){function H(){d.log("pressed close"),U((0,m.backendSuspendStart)())}return H}()}),(0,e.createVNode)(1,"div",(0,a.classes)(["Window__rest",F&&"debug-layout"]),[!O&&P,z&&(0,e.createVNode)(1,"div","Window__dimmer")],0),_&&(0,e.createFragment)([(0,e.createVNode)(1,"div","Window__resizeHandle__e",null,1,{onMousedown:(0,p.resizeStartHandler)(1,0)}),(0,e.createVNode)(1,"div","Window__resizeHandle__s",null,1,{onMousedown:(0,p.resizeStartHandler)(0,1)}),(0,e.createVNode)(1,"div","Window__resizeHandle__se",null,1,{onMousedown:(0,p.resizeStartHandler)(1,1)})],4)]})}return w}(),B}(e.Component),v=function(B){var I=B.className,w=B.fitted,T=B.children,A=i(B,f);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,c.Layout.Content,Object.assign({className:(0,a.classes)(["Window__content",I])},A,{children:w&&T||(0,e.createVNode)(1,"div","Window__contentPadding",T,0)})))};g.Content=v;var h=function(B){switch(B){case y.UI_INTERACTIVE:return"good";case y.UI_UPDATE:return"average";case y.UI_DISABLED:default:return"bad"}},V=function(B,I){var w=B.className,T=B.title,A=B.status,x=B.fancy,E=B.onDragStart,P=B.onClose,D=(0,t.useDispatch)(I);return(0,e.createVNode)(1,"div",(0,a.classes)(["TitleBar",w]),[A===void 0&&(0,e.createComponentVNode)(2,N.Icon,{className:"TitleBar__statusIcon",name:"tools",opacity:.5})||(0,e.createComponentVNode)(2,N.Icon,{className:"TitleBar__statusIcon",color:h(A),name:"eye"}),(0,e.createVNode)(1,"div","TitleBar__title",typeof T=="string"&&T===T.toLowerCase()&&(0,o.toTitleCase)(T)||T,0),(0,e.createVNode)(1,"div","TitleBar__dragZone",null,1,{onMousedown:function(){function M(O){return x&&E(O)}return M}()}),!1,!!x&&(0,e.createVNode)(1,"div","TitleBar__close TitleBar__clickable",Byond.IS_LTE_IE8?"x":"\xD7",0,{onclick:P})],0)}},84947:function(L,r,n){"use strict";r.__esModule=!0,r.Window=r.Pane=r.Layout=void 0;var e=n(73786);r.Layout=e.Layout;var a=n(55067);r.Pane=a.Pane;var t=n(82118);r.Window=t.Window},85955:function(L,r){"use strict";r.__esModule=!0,r.captureExternalLinks=void 0;/** +*/var d=(0,l.createLogger)("Window"),h=[400,600],v=r.Window=function(b){function B(){return b.apply(this,arguments)||this}i(B,b);var I=B.prototype;return I.componentDidMount=function(){function w(){var T=(0,m.useBackend)(this.context),A=T.suspended;A||(d.log("mounting"),this.updateGeometry())}return w}(),I.componentDidUpdate=function(){function w(T){var A=this.props.width!==T.width||this.props.height!==T.height;A&&this.updateGeometry()}return w}(),I.updateGeometry=function(){function w(){var T,A=(0,m.useBackend)(this.context),x=A.config,E=Object.assign({size:h},x.window);this.props.width&&this.props.height&&(E.size=[this.props.width,this.props.height]),(T=x.window)!=null&&T.key&&(0,p.setWindowKey)(x.window.key),(0,p.recallWindowGeometry)(E)}return w}(),I.render=function(){function w(){var T,A=this.props,x=A.theme,E=A.title,M=A.children,j=(0,m.useBackend)(this.context),P=j.config,R=j.suspended,D=(0,S.useDebug)(this.context),F=D.debugLayout,W=(0,t.useDispatch)(this.context),_=(T=P.window)==null?void 0:T.fancy,H=P.user&&(P.user.observer?P.status<y.UI_DISABLED:P.status<y.UI_INTERACTIVE);return(0,e.createComponentVNode)(2,c.Layout,{className:"Window",theme:x,children:[(0,e.createComponentVNode)(2,V,{className:"Window__titleBar",title:!R&&(E||(0,o.decodeHtmlEntities)(P.title)),status:P.status,fancy:_,onDragStart:p.dragStartHandler,onClose:function(){function z(){d.log("pressed close"),W((0,m.backendSuspendStart)())}return z}()}),(0,e.createVNode)(1,"div",(0,a.classes)(["Window__rest",F&&"debug-layout"]),[!R&&M,H&&(0,e.createVNode)(1,"div","Window__dimmer")],0),_&&(0,e.createFragment)([(0,e.createVNode)(1,"div","Window__resizeHandle__e",null,1,{onMousedown:(0,p.resizeStartHandler)(1,0)}),(0,e.createVNode)(1,"div","Window__resizeHandle__s",null,1,{onMousedown:(0,p.resizeStartHandler)(0,1)}),(0,e.createVNode)(1,"div","Window__resizeHandle__se",null,1,{onMousedown:(0,p.resizeStartHandler)(1,1)})],4)]})}return w}(),B}(e.Component),g=function(B){var I=B.className,w=B.fitted,T=B.children,A=u(B,f);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,c.Layout.Content,Object.assign({className:(0,a.classes)(["Window__content",I])},A,{children:w&&T||(0,e.createVNode)(1,"div","Window__contentPadding",T,0)})))};v.Content=g;var C=function(B){switch(B){case y.UI_INTERACTIVE:return"good";case y.UI_UPDATE:return"average";case y.UI_DISABLED:default:return"bad"}},V=function(B,I){var w=B.className,T=B.title,A=B.status,x=B.fancy,E=B.onDragStart,M=B.onClose,j=(0,t.useDispatch)(I);return(0,e.createVNode)(1,"div",(0,a.classes)(["TitleBar",w]),[A===void 0&&(0,e.createComponentVNode)(2,N.Icon,{className:"TitleBar__statusIcon",name:"tools",opacity:.5})||(0,e.createComponentVNode)(2,N.Icon,{className:"TitleBar__statusIcon",color:C(A),name:"eye"}),(0,e.createVNode)(1,"div","TitleBar__title",typeof T=="string"&&T===T.toLowerCase()&&(0,o.toTitleCase)(T)||T,0),(0,e.createVNode)(1,"div","TitleBar__dragZone",null,1,{onMousedown:function(){function P(R){return x&&E(R)}return P}()}),!1,!!x&&(0,e.createVNode)(1,"div","TitleBar__close TitleBar__clickable","\xD7",16,{onclick:M})],0)}},45493:function(L,r,n){"use strict";r.__esModule=!0,r.Window=r.Pane=r.Layout=void 0;var e=n(61255);r.Layout=e.Layout;var a=n(12599);r.Pane=a.Pane;var t=n(28861);r.Window=t.Window},29320:function(L,r){"use strict";r.__esModule=!0,r.captureExternalLinks=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.captureExternalLinks=function(){function e(){document.addEventListener("click",function(a){for(var t=a.target;;){if(!t||t===document.body)return;var o=String(t.tagName).toLowerCase();if(o==="a")break;t=t.parentElement}var m=t.getAttribute("href")||"",N=m.charAt(0)==="?"||m.startsWith("byond://");if(!N){a.preventDefault();var y=m;y.toLowerCase().startsWith("www")&&(y="https://"+y),Byond.sendMessage({type:"openLink",url:y})}})}return e}()},50175:function(L,r,n){"use strict";r.__esModule=!0,r.logger=r.createLogger=void 0;var e=n(87454);/** + */var n=r.captureExternalLinks=function(){function e(){document.addEventListener("click",function(a){for(var t=a.target;;){if(!t||t===document.body)return;var o=String(t.tagName).toLowerCase();if(o==="a")break;t=t.parentElement}var m=t.getAttribute("href")||"",N=m.charAt(0)==="?"||m.startsWith("byond://");if(!N){a.preventDefault();var y=m;y.toLowerCase().startsWith("www")&&(y="https://"+y),Byond.sendMessage({type:"openLink",url:y})}})}return e}()},81856:function(L,r,n){"use strict";r.__esModule=!0,r.logger=r.createLogger=void 0;var e=n(50719);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var a=0,t=1,o=2,m=3,N=4,y=function(l,c){for(var f=arguments.length,i=new Array(f>2?f-2:0),u=2;u<f;u++)i[u-2]=arguments[u];if(l>=o){var s=[c].concat(i).map(function(d){return typeof d=="string"?d:d instanceof Error?d.stack||String(d):JSON.stringify(d)}).filter(function(d){return d}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",message:s})}},S=r.createLogger=function(){function p(l){return{debug:function(){function c(){for(var f=arguments.length,i=new Array(f),u=0;u<f;u++)i[u]=arguments[u];return y.apply(void 0,[a,l].concat(i))}return c}(),log:function(){function c(){for(var f=arguments.length,i=new Array(f),u=0;u<f;u++)i[u]=arguments[u];return y.apply(void 0,[t,l].concat(i))}return c}(),info:function(){function c(){for(var f=arguments.length,i=new Array(f),u=0;u<f;u++)i[u]=arguments[u];return y.apply(void 0,[o,l].concat(i))}return c}(),warn:function(){function c(){for(var f=arguments.length,i=new Array(f),u=0;u<f;u++)i[u]=arguments[u];return y.apply(void 0,[m,l].concat(i))}return c}(),error:function(){function c(){for(var f=arguments.length,i=new Array(f),u=0;u<f;u++)i[u]=arguments[u];return y.apply(void 0,[N,l].concat(i))}return c}()}}return p}(),k=r.logger=S()},64960:function(L,r,n){"use strict";r.__esModule=!0,r.suspendRenderer=r.resumeRenderer=r.createRenderer=void 0;var e=n(60031),a=n(28823),t=n(50175),o=(0,t.createLogger)("renderer"),m,N=!0,y=!1,S=r.resumeRenderer=function(){function l(){N=N||"resumed",y=!1}return l}(),k=r.suspendRenderer=function(){function l(){y=!0}return l}(),p=r.createRenderer=function(){function l(c){return function(){e.perf.mark("render/start"),m||(m=document.getElementById("react-root")),(0,a.render)(c(),m),e.perf.mark("render/finish"),!y&&N&&(N=!1)}}return l}()},76521:function(L,r,n){"use strict";r.__esModule=!0,r.getRoutedComponent=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(94505),m=n(84947);/** + */var a=0,t=1,o=2,m=3,N=4,y=function(l,c){for(var f=arguments.length,u=new Array(f>2?f-2:0),i=2;i<f;i++)u[i-2]=arguments[i];if(l>=o){var s=[c].concat(u).map(function(d){return typeof d=="string"?d:d instanceof Error?d.stack||String(d):JSON.stringify(d)}).filter(function(d){return d}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",message:s})}},S=r.createLogger=function(){function p(l){return{debug:function(){function c(){for(var f=arguments.length,u=new Array(f),i=0;i<f;i++)u[i]=arguments[i];return y.apply(void 0,[a,l].concat(u))}return c}(),log:function(){function c(){for(var f=arguments.length,u=new Array(f),i=0;i<f;i++)u[i]=arguments[i];return y.apply(void 0,[t,l].concat(u))}return c}(),info:function(){function c(){for(var f=arguments.length,u=new Array(f),i=0;i<f;i++)u[i]=arguments[i];return y.apply(void 0,[o,l].concat(u))}return c}(),warn:function(){function c(){for(var f=arguments.length,u=new Array(f),i=0;i<f;i++)u[i]=arguments[i];return y.apply(void 0,[m,l].concat(u))}return c}(),error:function(){function c(){for(var f=arguments.length,u=new Array(f),i=0;i<f;i++)u[i]=arguments[i];return y.apply(void 0,[N,l].concat(u))}return c}()}}return p}(),k=r.logger=S()},7570:function(L,r,n){"use strict";r.__esModule=!0,r.suspendRenderer=r.resumeRenderer=r.createRenderer=void 0;var e=n(63560),a=n(96524),t=n(81856),o=(0,t.createLogger)("renderer"),m,N=!0,y=!1,S=r.resumeRenderer=function(){function l(){N=N||"resumed",y=!1}return l}(),k=r.suspendRenderer=function(){function l(){y=!0}return l}(),p=r.createRenderer=function(){function l(c){return function(){e.perf.mark("render/start"),m||(m=document.getElementById("react-root")),(0,a.render)(c(),m),e.perf.mark("render/finish"),!y&&N&&(N=!1)}}return l}()},91807:function(L,r,n){"use strict";r.__esModule=!0,r.getRoutedComponent=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(52991),m=n(45493);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var N=n(8156),y=function(c,f){return function(){return(0,e.createComponentVNode)(2,m.Window,{children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:[c==="notFound"&&(0,e.createVNode)(1,"div",null,[(0,e.createTextVNode)("Interface "),(0,e.createVNode)(1,"b",null,f,0),(0,e.createTextVNode)(" was not found.")],4),c==="missingExport"&&(0,e.createVNode)(1,"div",null,[(0,e.createTextVNode)("Interface "),(0,e.createVNode)(1,"b",null,f,0),(0,e.createTextVNode)(" is missing an export.")],4)]})})}},S=function(){return(0,e.createComponentVNode)(2,m.Window,{children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0})})},k=function(){return(0,e.createComponentVNode)(2,m.Window,{height:130,title:"Loading",width:150,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"center",fill:!0,justify:"center",vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Icon,{color:"blue",name:"toolbox",spin:!0,size:4})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:"Please wait..."})]})})})},p=r.getRoutedComponent=function(){function l(c){var f=c.getState(),i=(0,a.selectBackend)(f),u=i.suspended,s=i.config;if(u)return S;if(s.refreshing)return k;if(0)var d;for(var C=s==null?void 0:s.interface,g=[function(B){return"./"+B+".tsx"},function(B){return"./"+B+".js"},function(B){return"./"+B+"/index.tsx"},function(B){return"./"+B+"/index.js"}],v;!v&&g.length>0;){var h=g.shift(),V=h(C);try{v=N(V)}catch(B){if(B.code!=="MODULE_NOT_FOUND")throw B}}if(!v)return y("notFound",C);var b=v[C];return b||y("missingExport",C)}return l}()},79143:function(L,r,n){"use strict";r.__esModule=!0,r.configureStore=r.StoreProvider=void 0;var e=n(90955),a=n(90816),t=n(28823),o=n(96820),m=n(91819),N=n(39241),y=n(50175);function S(u,s){u.prototype=Object.create(s.prototype),u.prototype.constructor=u,k(u,s)}function k(u,s){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function d(C,g){return C.__proto__=g,C}return d}(),k(u,s)}/** + */var N=n(32054),y=function(c,f){return function(){return(0,e.createComponentVNode)(2,m.Window,{children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:[c==="notFound"&&(0,e.createVNode)(1,"div",null,[(0,e.createTextVNode)("Interface "),(0,e.createVNode)(1,"b",null,f,0),(0,e.createTextVNode)(" was not found.")],4),c==="missingExport"&&(0,e.createVNode)(1,"div",null,[(0,e.createTextVNode)("Interface "),(0,e.createVNode)(1,"b",null,f,0),(0,e.createTextVNode)(" is missing an export.")],4)]})})}},S=function(){return(0,e.createComponentVNode)(2,m.Window,{children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0})})},k=function(){return(0,e.createComponentVNode)(2,m.Window,{height:130,title:"Loading",width:150,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"center",fill:!0,justify:"center",vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Icon,{color:"blue",name:"toolbox",spin:!0,size:4})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:"Please wait..."})]})})})},p=r.getRoutedComponent=function(){function l(c){var f=c.getState(),u=(0,a.selectBackend)(f),i=u.suspended,s=u.config;if(i)return S;if(s.refreshing)return k;if(0)var d;for(var h=s==null?void 0:s.interface,v=[function(B){return"./"+B+".tsx"},function(B){return"./"+B+".js"},function(B){return"./"+B+"/index.tsx"},function(B){return"./"+B+"/index.js"}],g;!g&&v.length>0;){var C=v.shift(),V=C(h);try{g=N(V)}catch(B){if(B.code!=="MODULE_NOT_FOUND")throw B}}if(!g)return y("notFound",h);var b=g[h];return b||y("missingExport",h)}return l}()},98008:function(L,r,n){"use strict";r.__esModule=!0,r.configureStore=r.StoreProvider=void 0;var e=n(74041),a=n(88605),t=n(96524),o=n(17442),m=n(17899),N=n(90781),y=n(81856);function S(i,s){i.prototype=Object.create(s.prototype),i.prototype.constructor=i,k(i,s)}function k(i,s){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function d(h,v){return h.__proto__=v,h}return d}(),k(i,s)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var p=(0,y.createLogger)("store"),l=r.configureStore=function(){function u(s){var d,C;s===void 0&&(s={});var g=s,v=g.sideEffects,h=v===void 0?!0:v,V=(0,e.flow)([(0,a.combineReducers)({debug:N.debugReducer,backend:m.backendReducer}),s.reducer]),b=h?[].concat(((d=s.middleware)==null?void 0:d.pre)||[],[o.assetMiddleware,m.backendMiddleware],((C=s.middleware)==null?void 0:C.post)||[]):[],B=a.applyMiddleware.apply(void 0,b),I=(0,a.createStore)(V,B);return window.__store__=I,window.__augmentStack__=f(I),I}return u}(),c=function(s){return function(d){return function(C){var g=C.type,v=C.payload;return g==="update"||g==="backend/update"?p.debug("action",{type:g}):p.debug("action",C),d(C)}}},f=function(s){return function(d,C){var g,v;C?typeof C=="object"&&!C.stack&&(C.stack=d):(C=new Error(d.split("\n")[0]),C.stack=d),p.log("FatalError:",C);var h=s.getState(),V=h==null||(g=h.backend)==null?void 0:g.config,b=d;return b+="\nUser Agent: "+navigator.userAgent,b+="\nState: "+JSON.stringify({ckey:V==null||(v=V.client)==null?void 0:v.ckey,interface:V==null?void 0:V.interface,window:V==null?void 0:V.window}),b}},i=r.StoreProvider=function(u){S(s,u);function s(){return u.apply(this,arguments)||this}var d=s.prototype;return d.getChildContext=function(){function C(){var g=this.props.store;return{store:g}}return C}(),d.render=function(){function C(){return this.props.children}return C}(),s}(t.Component)},90969:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(2971);/** +*/var p=(0,y.createLogger)("store"),l=r.configureStore=function(){function i(s){var d,h;s===void 0&&(s={});var v=s,g=v.sideEffects,C=g===void 0?!0:g,V=(0,e.flow)([(0,a.combineReducers)({debug:N.debugReducer,backend:m.backendReducer}),s.reducer]),b=C?[].concat(((d=s.middleware)==null?void 0:d.pre)||[],[o.assetMiddleware,m.backendMiddleware],((h=s.middleware)==null?void 0:h.post)||[]):[],B=a.applyMiddleware.apply(void 0,b),I=(0,a.createStore)(V,B);return window.__store__=I,window.__augmentStack__=f(I),I}return i}(),c=function(s){return function(d){return function(h){var v=h.type,g=h.payload;return v==="update"||v==="backend/update"?p.debug("action",{type:v}):p.debug("action",h),d(h)}}},f=function(s){return function(d,h){var v,g;h?typeof h=="object"&&!h.stack&&(h.stack=d):(h=new Error(d.split("\n")[0]),h.stack=d),p.log("FatalError:",h);var C=s.getState(),V=C==null||(v=C.backend)==null?void 0:v.config,b=d;return b+="\nUser Agent: "+navigator.userAgent,b+="\nState: "+JSON.stringify({ckey:V==null||(g=V.client)==null?void 0:g.ckey,interface:V==null?void 0:V.interface,window:V==null?void 0:V.window}),b}},u=r.StoreProvider=function(i){function s(){return i.apply(this,arguments)||this}S(s,i);var d=s.prototype;return d.getChildContext=function(){function h(){var v=this.props.store;return{store:v}}return h}(),d.render=function(){function h(){return this.props.children}return h}(),s}(t.Component)},61498:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var t=r.meta={title:"Blink",render:function(){function m(){return(0,e.createComponentVNode)(2,o)}return m}()},o=function(N,y){return(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,a.Blink,{children:"Blink"})})}},22030:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(2971),t=n(51753);/** + */var t=r.meta={title:"Blink",render:function(){function m(){return(0,e.createComponentVNode)(2,o)}return m}()},o=function(N,y){return(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,a.Blink,{children:"Blink"})})}},27431:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(24674),t=n(17306);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"BlockQuote",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(y,S){return(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,a.BlockQuote,{children:(0,e.createComponentVNode)(2,t.BoxWithSampleText)})})}},35286:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(2971);/** + */var o=r.meta={title:"BlockQuote",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(y,S){return(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,a.BlockQuote,{children:(0,e.createComponentVNode)(2,t.BoxWithSampleText)})})}},6517:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var t=r.meta={title:"Box",render:function(){function m(){return(0,e.createComponentVNode)(2,o)}return m}()},o=function(N,y){return(0,e.createComponentVNode)(2,a.Section,{children:[(0,e.createComponentVNode)(2,a.Box,{bold:!0,children:"bold"}),(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"italic"}),(0,e.createComponentVNode)(2,a.Box,{opacity:.5,children:"opacity 0.5"}),(0,e.createComponentVNode)(2,a.Box,{opacity:.25,children:"opacity 0.25"}),(0,e.createComponentVNode)(2,a.Box,{m:2,children:"m: 2"}),(0,e.createComponentVNode)(2,a.Box,{textAlign:"left",children:"left"}),(0,e.createComponentVNode)(2,a.Box,{textAlign:"center",children:"center"}),(0,e.createComponentVNode)(2,a.Box,{textAlign:"right",children:"right"})]})}},38465:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(2971);/** + */var t=r.meta={title:"Box",render:function(){function m(){return(0,e.createComponentVNode)(2,o)}return m}()},o=function(N,y){return(0,e.createComponentVNode)(2,a.Section,{children:[(0,e.createComponentVNode)(2,a.Box,{bold:!0,children:"bold"}),(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"italic"}),(0,e.createComponentVNode)(2,a.Box,{opacity:.5,children:"opacity 0.5"}),(0,e.createComponentVNode)(2,a.Box,{opacity:.25,children:"opacity 0.25"}),(0,e.createComponentVNode)(2,a.Box,{m:2,children:"m: 2"}),(0,e.createComponentVNode)(2,a.Box,{textAlign:"left",children:"left"}),(0,e.createComponentVNode)(2,a.Box,{textAlign:"center",children:"center"}),(0,e.createComponentVNode)(2,a.Box,{textAlign:"right",children:"right"})]})}},20648:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var t=r.meta={title:"Button",render:function(){function y(){return(0,e.createComponentVNode)(2,N)}return y}()},o=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],m=["good","average","bad","black","white"],N=function(S,k){return(0,e.createComponentVNode)(2,a.Section,{children:[(0,e.createComponentVNode)(2,a.Box,{mb:1,children:[(0,e.createComponentVNode)(2,a.Button,{content:"Simple"}),(0,e.createComponentVNode)(2,a.Button,{selected:!0,content:"Selected"}),(0,e.createComponentVNode)(2,a.Button,{altSelected:!0,content:"Alt Selected"}),(0,e.createComponentVNode)(2,a.Button,{disabled:!0,content:"Disabled"}),(0,e.createComponentVNode)(2,a.Button,{color:"transparent",content:"Transparent"}),(0,e.createComponentVNode)(2,a.Button,{icon:"cog",content:"Icon"}),(0,e.createComponentVNode)(2,a.Button,{icon:"power-off"}),(0,e.createComponentVNode)(2,a.Button,{fluid:!0,content:"Fluid"}),(0,e.createComponentVNode)(2,a.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"}),(0,e.createComponentVNode)(2,a.Button,{my:1,lineHeight:2,minWidth:15,color:"translucent",textAlign:"center",content:"Translucent"})]}),(0,e.createComponentVNode)(2,a.Box,{mb:1,children:[m.map(function(p){return(0,e.createComponentVNode)(2,a.Button,{color:p,content:p},p)}),(0,e.createVNode)(1,"br"),o.map(function(p){return(0,e.createComponentVNode)(2,a.Button,{color:p,content:p},p)}),(0,e.createVNode)(1,"br"),o.map(function(p){return(0,e.createComponentVNode)(2,a.Box,{inline:!0,mx:"7px",color:p,children:p},p)})]})]})}},16748:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(91819),t=n(2971),o=n(50175);/** + */var t=r.meta={title:"Button",render:function(){function y(){return(0,e.createComponentVNode)(2,N)}return y}()},o=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],m=["good","average","bad","black","white"],N=function(S,k){return(0,e.createComponentVNode)(2,a.Section,{children:[(0,e.createComponentVNode)(2,a.Box,{mb:1,children:[(0,e.createComponentVNode)(2,a.Button,{content:"Simple"}),(0,e.createComponentVNode)(2,a.Button,{selected:!0,content:"Selected"}),(0,e.createComponentVNode)(2,a.Button,{altSelected:!0,content:"Alt Selected"}),(0,e.createComponentVNode)(2,a.Button,{disabled:!0,content:"Disabled"}),(0,e.createComponentVNode)(2,a.Button,{color:"transparent",content:"Transparent"}),(0,e.createComponentVNode)(2,a.Button,{icon:"cog",content:"Icon"}),(0,e.createComponentVNode)(2,a.Button,{icon:"power-off"}),(0,e.createComponentVNode)(2,a.Button,{fluid:!0,content:"Fluid"}),(0,e.createComponentVNode)(2,a.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"}),(0,e.createComponentVNode)(2,a.Button,{my:1,lineHeight:2,minWidth:15,color:"translucent",textAlign:"center",content:"Translucent"})]}),(0,e.createComponentVNode)(2,a.Box,{mb:1,children:[m.map(function(p){return(0,e.createComponentVNode)(2,a.Button,{color:p,content:p},p)}),(0,e.createVNode)(1,"br"),o.map(function(p){return(0,e.createComponentVNode)(2,a.Button,{color:p,content:p},p)}),(0,e.createVNode)(1,"br"),o.map(function(p){return(0,e.createComponentVNode)(2,a.Box,{inline:!0,mx:"7px",color:p,children:p},p)})]})]})}},14906:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(81856);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var m=r.meta={title:"ByondUi",render:function(){function y(){return(0,e.createComponentVNode)(2,N)}return y}()},N=function(S,k){var p=(0,a.useLocalState)(k,"byondUiEvalCode","Byond.winset('"+Byond.windowId+"', {\n 'is-visible': true,\n})"),l=p[0],c=p[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Button",children:(0,e.createComponentVNode)(2,t.ByondUi,{params:{type:"button",text:"Button"}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Make BYOND calls",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function f(){return setImmediate(function(){try{var i=new Function("return ("+l+")")();i&&i.then?(o.logger.log("Promise"),i.then(o.logger.log)):o.logger.log(i)}catch(u){o.logger.log(u)}})}return f}(),children:"Evaluate"}),children:(0,e.createComponentVNode)(2,t.Box,{as:"textarea",width:"100%",height:"10em",onChange:function(){function f(i){return c(i.target.value)}return f}(),children:l})})],4)}},76475:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(2971),t=n(51753);/** + */var m=r.meta={title:"ByondUi",render:function(){function y(){return(0,e.createComponentVNode)(2,N)}return y}()},N=function(S,k){var p=(0,a.useLocalState)(k,"byondUiEvalCode","Byond.winset('"+Byond.windowId+"', {\n 'is-visible': true,\n})"),l=p[0],c=p[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Button",children:(0,e.createComponentVNode)(2,t.ByondUi,{params:{type:"button",text:"Button"}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Make BYOND calls",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function f(){return setTimeout(function(){try{var u=new Function("return ("+l+")")();u&&u.then?(o.logger.log("Promise"),u.then(o.logger.log)):o.logger.log(u)}catch(i){o.logger.log(i)}})}return f}(),children:"Evaluate"}),children:(0,e.createComponentVNode)(2,t.Box,{as:"textarea",width:"100%",height:"10em",onChange:function(){function f(u){return c(u.target.value)}return f}(),children:l})})],4)}},59948:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(24674),t=n(17306);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Collapsible",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(y,S){return(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,a.Collapsible,{title:"Collapsible Demo",buttons:(0,e.createComponentVNode)(2,a.Button,{icon:"cog"}),children:(0,e.createComponentVNode)(2,t.BoxWithSampleText)})})}},28994:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(91819),t=n(2971);/** + */var o=r.meta={title:"Collapsible",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(y,S){return(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,a.Collapsible,{title:"Collapsible Demo",buttons:(0,e.createComponentVNode)(2,a.Button,{icon:"cog"}),children:(0,e.createComponentVNode)(2,t.BoxWithSampleText)})})}},37227:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(17899),t=n(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Flex & Sections",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(y,S){var k=(0,a.useLocalState)(S,"fs_grow",1),p=k[0],l=k[1],c=(0,a.useLocalState)(S,"fs_direction","column"),f=c[0],i=c[1],u=(0,a.useLocalState)(S,"fs_fill",!0),s=u[0],d=u[1],C=(0,a.useLocalState)(S,"fs_title",!0),g=C[0],v=C[1];return(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:"column",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function h(){return i(f==="column"?"row":"column")}return h}(),children:'Flex direction="'+f+'"'}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function h(){return l(+!p)}return h}(),children:"Flex.Item grow={"+p+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function h(){return d(!s)}return h}(),children:"Section fill={"+String(s)+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,selected:g,onClick:function(){function h(){return v(!g)}return h}(),children:"Section title"})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:f,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mr:f==="row"&&1,mb:f==="column"&&1,grow:p,children:(0,e.createComponentVNode)(2,t.Section,{title:g&&"Section 1",fill:s,children:"Content"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:p,children:(0,e.createComponentVNode)(2,t.Section,{title:g&&"Section 2",fill:s,children:"Content"})})]})})]})}},25462:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(91819),t=n(2971);/** + */var o=r.meta={title:"Flex & Sections",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(y,S){var k=(0,a.useLocalState)(S,"fs_grow",1),p=k[0],l=k[1],c=(0,a.useLocalState)(S,"fs_direction","column"),f=c[0],u=c[1],i=(0,a.useLocalState)(S,"fs_fill",!0),s=i[0],d=i[1],h=(0,a.useLocalState)(S,"fs_title",!0),v=h[0],g=h[1];return(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:"column",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function C(){return u(f==="column"?"row":"column")}return C}(),children:'Flex direction="'+f+'"'}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function C(){return l(+!p)}return C}(),children:"Flex.Item grow={"+p+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function C(){return d(!s)}return C}(),children:"Section fill={"+String(s)+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,selected:v,onClick:function(){function C(){return g(!v)}return C}(),children:"Section title"})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:f,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mr:f==="row"&&1,mb:f==="column"&&1,grow:p,children:(0,e.createComponentVNode)(2,t.Section,{title:v&&"Section 1",fill:s,children:"Content"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:p,children:(0,e.createComponentVNode)(2,t.Section,{title:v&&"Section 2",fill:s,children:"Content"})})]})})]})}},32304:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(17899),t=n(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Input",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(y,S){var k=(0,a.useLocalState)(S,"number",0),p=k[0],l=k[1],c=(0,a.useLocalState)(S,"text","Sample text"),f=c[0],i=c[1];return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onChange)",children:(0,e.createComponentVNode)(2,t.Input,{value:f,onChange:function(){function u(s,d){return i(d)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:f,onInput:function(){function u(s,d){return i(d)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:p,minValue:-100,maxValue:100,onChange:function(){function u(s,d){return l(d)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:p,minValue:-100,maxValue:100,onDrag:function(){function u(s,d){return l(d)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:p,minValue:-100,maxValue:100,onDrag:function(){function u(s,d){return l(d)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,e.createComponentVNode)(2,t.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:p,minValue:-100,maxValue:100,onDrag:function(){function u(s,d){return l(d)}return u}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:p,minValue:-100,maxValue:100,onDrag:function(){function u(s,d){return l(d)}return u}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rotating Icon",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:(0,e.createComponentVNode)(2,t.DraggableControl,{value:p,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function u(s,d){return l(d)}return u}(),children:function(){function u(s){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:s.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:s.displayValue*4}),s.inputElement]})}return u}()})})})]})})}},97028:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(2971),t=r.meta={title:"Popper",render:function(){function m(){return(0,e.createComponentVNode)(2,o)}return m}()},o=function(){return(0,e.createFragment)([(0,e.createComponentVNode)(2,a.Popper,{popperContent:(0,e.createComponentVNode)(2,a.Box,{style:{background:"white",border:"2px solid blue"},children:"Loogatme!"}),options:{placement:"bottom"},children:(0,e.createComponentVNode)(2,a.Box,{style:{border:"5px solid white",height:"300px",width:"200px"}})}),(0,e.createComponentVNode)(2,a.Popper,{popperContent:(0,e.createComponentVNode)(2,a.Box,{style:{background:"white",border:"2px solid blue"},children:"I am on the right!"}),options:{placement:"right"},children:(0,e.createComponentVNode)(2,a.Box,{style:{border:"5px solid white",height:"500px",width:"100px"}})})],4)}},85266:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(91819),t=n(2971);/** + */var o=r.meta={title:"Input",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(y,S){var k=(0,a.useLocalState)(S,"number",0),p=k[0],l=k[1],c=(0,a.useLocalState)(S,"text","Sample text"),f=c[0],u=c[1];return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onChange)",children:(0,e.createComponentVNode)(2,t.Input,{value:f,onChange:function(){function i(s,d){return u(d)}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:f,onInput:function(){function i(s,d){return u(d)}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:p,minValue:-100,maxValue:100,onChange:function(){function i(s,d){return l(d)}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:p,minValue:-100,maxValue:100,onDrag:function(){function i(s,d){return l(d)}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:p,minValue:-100,maxValue:100,onDrag:function(){function i(s,d){return l(d)}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,e.createComponentVNode)(2,t.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:p,minValue:-100,maxValue:100,onDrag:function(){function i(s,d){return l(d)}return i}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:p,minValue:-100,maxValue:100,onDrag:function(){function i(s,d){return l(d)}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rotating Icon",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:(0,e.createComponentVNode)(2,t.DraggableControl,{value:p,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function i(s,d){return l(d)}return i}(),children:function(){function i(s){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:s.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:s.displayValue*4}),s.inputElement]})}return i}()})})})]})})}},50394:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(24674),t=r.meta={title:"Popper",render:function(){function m(){return(0,e.createComponentVNode)(2,o)}return m}()},o=function(){return(0,e.createFragment)([(0,e.createComponentVNode)(2,a.Popper,{popperContent:(0,e.createComponentVNode)(2,a.Box,{style:{background:"white",border:"2px solid blue"},children:"Loogatme!"}),options:{placement:"bottom"},children:(0,e.createComponentVNode)(2,a.Box,{style:{border:"5px solid white",height:"300px",width:"200px"}})}),(0,e.createComponentVNode)(2,a.Popper,{popperContent:(0,e.createComponentVNode)(2,a.Box,{style:{background:"white",border:"2px solid blue"},children:"I am on the right!"}),options:{placement:"right"},children:(0,e.createComponentVNode)(2,a.Box,{style:{border:"5px solid white",height:"500px",width:"100px"}})})],4)}},75096:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(17899),t=n(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"ProgressBar",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(y,S){var k=(0,a.useLocalState)(S,"progress",.5),p=k[0],l=k[1];return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.5,1/0],bad:[-1/0,.1],average:[0,.5]},minValue:-1,maxValue:1,value:p,children:["Value: ",Number(p).toFixed(1)]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"-0.1",onClick:function(){function c(){return l(p-.1)}return c}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function c(){return l(p+.1)}return c}()})]})]})}},36216:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(2971);/** + */var o=r.meta={title:"ProgressBar",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(y,S){var k=(0,a.useLocalState)(S,"progress",.5),p=k[0],l=k[1];return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.5,1/0],bad:[-1/0,.1],average:[0,.5]},minValue:-1,maxValue:1,value:p,children:["Value: ",Number(p).toFixed(1)]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"-0.1",onClick:function(){function c(){return l(p-.1)}return c}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function c(){return l(p+.1)}return c}()})]})]})}},30268:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var t=r.meta={title:"Stack",render:function(){function y(){return(0,e.createComponentVNode)(2,N)}return y}()},o=function(){return(0,e.createComponentVNode)(2,a.Box,{inline:!0,width:1,height:1,children:"A"})},m=function(){return(0,e.createFragment)([(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,o)}),(0,e.createComponentVNode)(2,a.Stack.Divider),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,o)})],4)},N=function(S,k){return(0,e.createComponentVNode)(2,a.Section,{fill:!0,children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,className:"debug-layout",children:[(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,zebra:!0,children:[(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,m)]})}),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,m)]})})]})})}},22338:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(96417),t=n(2971),o=n(48300);/** + */var t=r.meta={title:"Stack",render:function(){function y(){return(0,e.createComponentVNode)(2,N)}return y}()},o=function(){return(0,e.createComponentVNode)(2,a.Box,{inline:!0,width:1,height:1,children:"A"})},m=function(){return(0,e.createFragment)([(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,o)}),(0,e.createComponentVNode)(2,a.Stack.Divider),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,o)})],4)},N=function(S,k){return(0,e.createComponentVNode)(2,a.Section,{fill:!0,children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,className:"debug-layout",children:[(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,zebra:!0,children:[(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,m)]})}),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,m)]})})]})})}},22645:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(66450),t=n(24674),o=n(92986);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var m=r.meta={title:"Storage",render:function(){function y(){return(0,e.createComponentVNode)(2,N)}return y}()},N=function(S,k){return window.localStorage?(0,e.createComponentVNode)(2,t.Section,{title:"Local Storage",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"recycle",onClick:function(){function p(){localStorage.clear(),a.storage.clear()}return p}(),children:"Clear"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Keys in use",children:localStorage.length}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remaining space",children:(0,o.formatSiUnit)(localStorage.remainingSpace,0,"B")})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Local storage is not available."})}},88446:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(91819),t=n(2971);/** + */var m=r.meta={title:"Storage",render:function(){function y(){return(0,e.createComponentVNode)(2,N)}return y}()},N=function(S,k){return window.localStorage?(0,e.createComponentVNode)(2,t.Section,{title:"Local Storage",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"recycle",onClick:function(){function p(){localStorage.clear(),a.storage.clear()}return p}(),children:"Clear"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Keys in use",children:localStorage.length}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remaining space",children:(0,o.formatSiUnit)(localStorage.remainingSpace,0,"B")})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Local storage is not available."})}},42120:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(17899),t=n(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Tabs",render:function(){function y(){return(0,e.createComponentVNode)(2,N)}return y}()},m=["Tab #1","Tab #2","Tab #3","Tab #4"],N=function(S,k){var p=(0,a.useLocalState)(k,"tabIndex",0),l=p[0],c=p[1],f=(0,a.useLocalState)(k,"tabProps",{}),i=f[0],u=f[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:i.vertical,onClick:function(){function s(){return u(Object.assign({},i,{vertical:!i.vertical}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"leftSlot",checked:i.leftSlot,onClick:function(){function s(){return u(Object.assign({},i,{leftSlot:!i.leftSlot}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"rightSlot",checked:i.rightSlot,onClick:function(){function s(){return u(Object.assign({},i,{rightSlot:!i.rightSlot}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"icon",checked:i.icon,onClick:function(){function s(){return u(Object.assign({},i,{icon:!i.icon}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"fluid",checked:i.fluid,onClick:function(){function s(){return u(Object.assign({},i,{fluid:!i.fluid}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"left aligned",checked:i.leftAligned,onClick:function(){function s(){return u(Object.assign({},i,{leftAligned:!i.leftAligned}))}return s}()})]}),(0,e.createComponentVNode)(2,t.Section,{fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:i.vertical,fluid:i.fluid,textAlign:i.leftAligned&&"left",children:m.map(function(s,d){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:d===l,icon:i.icon&&"info-circle",leftSlot:i.leftSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),rightSlot:i.rightSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),onClick:function(){function C(){return c(d)}return C}(),children:s},d)})})})],4)}},2938:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(91819),t=n(2971);/** + */var o=r.meta={title:"Tabs",render:function(){function y(){return(0,e.createComponentVNode)(2,N)}return y}()},m=["Tab #1","Tab #2","Tab #3","Tab #4"],N=function(S,k){var p=(0,a.useLocalState)(k,"tabIndex",0),l=p[0],c=p[1],f=(0,a.useLocalState)(k,"tabProps",{}),u=f[0],i=f[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:u.vertical,onClick:function(){function s(){return i(Object.assign({},u,{vertical:!u.vertical}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"leftSlot",checked:u.leftSlot,onClick:function(){function s(){return i(Object.assign({},u,{leftSlot:!u.leftSlot}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"rightSlot",checked:u.rightSlot,onClick:function(){function s(){return i(Object.assign({},u,{rightSlot:!u.rightSlot}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"icon",checked:u.icon,onClick:function(){function s(){return i(Object.assign({},u,{icon:!u.icon}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"fluid",checked:u.fluid,onClick:function(){function s(){return i(Object.assign({},u,{fluid:!u.fluid}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"left aligned",checked:u.leftAligned,onClick:function(){function s(){return i(Object.assign({},u,{leftAligned:!u.leftAligned}))}return s}()})]}),(0,e.createComponentVNode)(2,t.Section,{fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:u.vertical,fluid:u.fluid,textAlign:u.leftAligned&&"left",children:m.map(function(s,d){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:d===l,icon:u.icon&&"info-circle",leftSlot:u.leftSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),rightSlot:u.rightSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),onClick:function(){function h(){return c(d)}return h}(),children:s},d)})})})],4)}},80254:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(17899),t=n(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Themes",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(y,S){var k=(0,a.useLocalState)(S,"kitchenSinkTheme"),p=k[0],l=k[1];return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Use theme",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"theme_name",value:p,onInput:function(){function c(f,i){return l(i)}return c}()})})})})}},54212:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(28823),a=n(60028),t=n(2971);/** + */var o=r.meta={title:"Themes",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(y,S){var k=(0,a.useLocalState)(S,"kitchenSinkTheme"),p=k[0],l=k[1];return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Use theme",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"theme_name",value:p,onInput:function(){function c(f,u){return l(u)}return c}()})})})})}},90823:function(L,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(96524),a=n(60023),t=n(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Tooltip",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(){var y=["top","left","right","bottom","bottom-start","bottom-end"];return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tooltip,{content:"Tooltip text.",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",mr:1,children:"Box (hover me)."})}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:y.map(function(S){return(0,e.createComponentVNode)(2,t.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:S,content:S},S)})})]})}},51753:function(L,r,n){"use strict";r.__esModule=!0,r.BoxWithSampleText=void 0;var e=n(28823),a=n(2971);/** + */var o=r.meta={title:"Tooltip",render:function(){function N(){return(0,e.createComponentVNode)(2,m)}return N}()},m=function(){var y=["top","left","right","bottom","bottom-start","bottom-end"];return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tooltip,{content:"Tooltip text.",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",mr:1,children:"Box (hover me)."})}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:y.map(function(S){return(0,e.createComponentVNode)(2,t.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:S,content:S},S)})})]})}},17306:function(L,r,n){"use strict";r.__esModule=!0,r.BoxWithSampleText=void 0;var e=n(96524),a=n(24674);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var t=r.BoxWithSampleText=function(){function o(m){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({},m,{children:[(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,a.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return o}()},47468:function(){},52355:function(){},66309:function(){},74395:function(){},86879:function(){},66782:function(){},72694:function(){},35116:function(){},47968:function(){},67041:function(){},59719:function(){},14045:function(){},81912:function(){},53152:function(){},33115:function(L,r,n){var e={"./pai_atmosphere.js":98638,"./pai_bioscan.js":56601,"./pai_directives.js":48047,"./pai_doorjack.js":4646,"./pai_main_menu.js":94648,"./pai_manifest.js":45549,"./pai_medrecords.js":53434,"./pai_messenger.js":7328,"./pai_radio.js":32036,"./pai_secrecords.js":76020,"./pai_signaler.js":11562};function a(o){var m=t(o);return n(m)}function t(o){if(!n.o(e,o)){var m=new Error("Cannot find module '"+o+"'");throw m.code="MODULE_NOT_FOUND",m}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,L.exports=a,a.id=33115},75168:function(L,r,n){var e={"./pda_atmos_scan.js":29539,"./pda_janitor.js":92180,"./pda_main_menu.js":57725,"./pda_manifest.js":29978,"./pda_medical.js":20567,"./pda_messenger.js":38467,"./pda_mob_hunt.js":54291,"./pda_mule.js":31112,"./pda_nanobank.js":2817,"./pda_notes.js":66621,"./pda_power.js":96490,"./pda_secbot.js":36436,"./pda_security.js":55244,"./pda_signaler.js":23470,"./pda_status_display.js":43085,"./pda_supplyrecords.js":26948};function a(o){var m=t(o);return n(m)}function t(o){if(!n.o(e,o)){var m=new Error("Cannot find module '"+o+"'");throw m.code="MODULE_NOT_FOUND",m}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,L.exports=a,a.id=75168},8156:function(L,r,n){var e={"./AICard":89163,"./AICard.js":89163,"./AIFixer":46817,"./AIFixer.js":46817,"./APC":20420,"./APC.js":20420,"./ATM":16822,"./ATM.js":16822,"./AccountsUplinkTerminal":90698,"./AccountsUplinkTerminal.js":90698,"./AgentCard":66895,"./AgentCard.js":66895,"./AiAirlock":26354,"./AiAirlock.js":26354,"./AirAlarm":26673,"./AirAlarm.js":26673,"./AirlockAccessController":98565,"./AirlockAccessController.js":98565,"./AirlockElectronics":76385,"./AirlockElectronics.js":76385,"./AlertModal":55666,"./AlertModal.tsx":55666,"./AppearanceChanger":16504,"./AppearanceChanger.js":16504,"./AtmosAlertConsole":77280,"./AtmosAlertConsole.js":77280,"./AtmosControl":66274,"./AtmosControl.js":66274,"./AtmosFilter":90588,"./AtmosFilter.js":90588,"./AtmosMixer":87486,"./AtmosMixer.js":87486,"./AtmosPump":46714,"./AtmosPump.js":46714,"./AtmosTankControl":66032,"./AtmosTankControl.js":66032,"./Autolathe":62343,"./Autolathe.js":62343,"./BioChipPad":13940,"./BioChipPad.js":13940,"./Biogenerator":55295,"./Biogenerator.js":55295,"./BlueSpaceArtilleryControl":92247,"./BlueSpaceArtilleryControl.js":92247,"./BluespaceTap":74594,"./BluespaceTap.js":74594,"./BodyScanner":31876,"./BodyScanner.js":31876,"./BookBinder":73440,"./BookBinder.js":73440,"./BotClean":40730,"./BotClean.js":40730,"./BotFloor":36078,"./BotFloor.js":36078,"./BotHonk":89121,"./BotHonk.js":89121,"./BotMed":39805,"./BotMed.js":39805,"./BotSecurity":35519,"./BotSecurity.js":35519,"./BrigCells":71169,"./BrigCells.js":71169,"./BrigTimer":19070,"./BrigTimer.js":19070,"./CameraConsole":59681,"./CameraConsole.js":59681,"./CameraConsole220":64487,"./CameraConsole220.js":64487,"./Canister":21348,"./Canister.js":21348,"./CardComputer":13944,"./CardComputer.js":13944,"./CargoConsole":62486,"./CargoConsole.js":62486,"./ChangelogView":86885,"./ChangelogView.js":86885,"./ChemDispenser":56975,"./ChemDispenser.js":56975,"./ChemHeater":48734,"./ChemHeater.js":48734,"./ChemMaster":35918,"./ChemMaster.js":35918,"./CloningConsole":8573,"./CloningConsole.js":8573,"./CloningPod":58378,"./CloningPod.js":58378,"./ColourMatrixTester":14283,"./ColourMatrixTester.js":14283,"./CommunicationsComputer":98577,"./CommunicationsComputer.js":98577,"./CompostBin":70611,"./CompostBin.js":70611,"./Contractor":73744,"./Contractor.js":73744,"./ConveyorSwitch":57392,"./ConveyorSwitch.js":57392,"./CrewMonitor":91413,"./CrewMonitor.js":91413,"./Cryo":55104,"./Cryo.js":55104,"./CryopodConsole":1763,"./CryopodConsole.js":1763,"./DNAModifier":69055,"./DNAModifier.js":69055,"./DestinationTagger":94406,"./DestinationTagger.js":94406,"./DisposalBin":17585,"./DisposalBin.js":17585,"./DnaVault":64636,"./DnaVault.js":64636,"./DroneConsole":13015,"./DroneConsole.js":13015,"./EFTPOS":97673,"./EFTPOS.js":97673,"./ERTManager":29206,"./ERTManager.js":29206,"./EconomyManager":77877,"./EconomyManager.js":77877,"./Electropack":10707,"./Electropack.js":10707,"./EmotePanel":85307,"./EmotePanel.js":85307,"./EvolutionMenu":52640,"./EvolutionMenu.js":52640,"./ExosuitFabricator":70672,"./ExosuitFabricator.js":70672,"./ExperimentConsole":25627,"./ExperimentConsole.js":25627,"./ExternalAirlockController":14172,"./ExternalAirlockController.js":14172,"./FaxMachine":61893,"./FaxMachine.js":61893,"./FilingCabinet":80031,"./FilingCabinet.js":80031,"./FloorPainter":39552,"./FloorPainter.js":39552,"./GPS":5090,"./GPS.js":5090,"./GeneModder":1055,"./GeneModder.js":1055,"./GenericCrewManifest":14232,"./GenericCrewManifest.js":14232,"./GhostHudPanel":86268,"./GhostHudPanel.js":86268,"./GlandDispenser":8977,"./GlandDispenser.js":8977,"./GravityGen":70309,"./GravityGen.js":70309,"./GuestPass":64769,"./GuestPass.js":64769,"./HandheldChemDispenser":12219,"./HandheldChemDispenser.js":12219,"./HealthSensor":53917,"./HealthSensor.js":53917,"./Holodeck":93116,"./Holodeck.js":93116,"./Instrument":77209,"./Instrument.js":77209,"./Jukebox":28847,"./Jukebox.tsx":28847,"./KeycardAuth":64261,"./KeycardAuth.js":64261,"./KitchenMachine":34898,"./KitchenMachine.js":34898,"./LawManager":52564,"./LawManager.js":52564,"./LibraryComputer":55499,"./LibraryComputer.js":55499,"./LibraryManager":92682,"./LibraryManager.js":92682,"./ListInputModal":68e3,"./ListInputModal.tsx":68e3,"./MODsuit":75965,"./MODsuit.js":75965,"./MagnetController":86322,"./MagnetController.js":86322,"./MechBayConsole":54374,"./MechBayConsole.js":54374,"./MechaControlConsole":14823,"./MechaControlConsole.js":14823,"./MedicalRecords":16189,"./MedicalRecords.js":16189,"./MerchVendor":44482,"./MerchVendor.js":44482,"./MiningVendor":53551,"./MiningVendor.js":53551,"./ModpacksList":71545,"./ModpacksList.js":71545,"./NTRecruiter":61100,"./NTRecruiter.js":61100,"./Newscaster":6802,"./Newscaster.js":6802,"./NuclearBomb":64639,"./NuclearBomb.js":64639,"./NumberInputModal":45523,"./NumberInputModal.tsx":45523,"./OperatingComputer":48314,"./OperatingComputer.js":48314,"./Orbit":87511,"./Orbit.js":87511,"./OreRedemption":54528,"./OreRedemption.js":54528,"./PAI":55686,"./PAI.js":55686,"./PDA":58717,"./PDA.js":58717,"./Pacman":78062,"./Pacman.js":78062,"./ParticleAccelerator":65823,"./ParticleAccelerator.js":65823,"./PdaPainter":67572,"./PdaPainter.js":67572,"./PersonalCrafting":12456,"./PersonalCrafting.js":12456,"./Photocopier":72143,"./Photocopier.js":72143,"./Photocopier220":82020,"./Photocopier220.js":82020,"./PoolController":47051,"./PoolController.js":47051,"./PortablePump":5424,"./PortablePump.js":5424,"./PortableScrubber":70673,"./PortableScrubber.js":70673,"./PortableTurret":22015,"./PortableTurret.js":22015,"./PowerMonitor":75199,"./PowerMonitor.js":75199,"./PrisonerImplantManager":15164,"./PrisonerImplantManager.js":15164,"./PrisonerShuttleConsole":99646,"./PrisonerShuttleConsole.js":99646,"./PrizeCounter":96493,"./PrizeCounter.tsx":96493,"./RCD":82443,"./RCD.js":82443,"./RPD":61566,"./RPD.js":61566,"./Radio":24618,"./Radio.js":24618,"./ReagentGrinder":85183,"./ReagentGrinder.js":85183,"./RemoteSignaler":94890,"./RemoteSignaler.js":94890,"./RequestConsole":6301,"./RequestConsole.js":6301,"./RndConsole":51939,"./RndConsole.js":51939,"./RndConsoleComponents":63752,"./RndConsoleComponents/":63752,"./RndConsoleComponents/CurrentLevels":50239,"./RndConsoleComponents/CurrentLevels.js":50239,"./RndConsoleComponents/DataDiskMenu":24183,"./RndConsoleComponents/DataDiskMenu.js":24183,"./RndConsoleComponents/DeconstructionMenu":72751,"./RndConsoleComponents/DeconstructionMenu.js":72751,"./RndConsoleComponents/LatheCategory":51802,"./RndConsoleComponents/LatheCategory.js":51802,"./RndConsoleComponents/LatheChemicalStorage":47349,"./RndConsoleComponents/LatheChemicalStorage.js":47349,"./RndConsoleComponents/LatheMainMenu":73492,"./RndConsoleComponents/LatheMainMenu.js":73492,"./RndConsoleComponents/LatheMaterialStorage":87115,"./RndConsoleComponents/LatheMaterialStorage.js":87115,"./RndConsoleComponents/LatheMaterials":2345,"./RndConsoleComponents/LatheMaterials.js":2345,"./RndConsoleComponents/LatheMenu":45805,"./RndConsoleComponents/LatheMenu.js":45805,"./RndConsoleComponents/LatheSearch":92497,"./RndConsoleComponents/LatheSearch.js":92497,"./RndConsoleComponents/MainMenu":25242,"./RndConsoleComponents/MainMenu.js":25242,"./RndConsoleComponents/RndNavButton":29933,"./RndConsoleComponents/RndNavButton.js":29933,"./RndConsoleComponents/RndNavbar":59959,"./RndConsoleComponents/RndNavbar.js":59959,"./RndConsoleComponents/RndRoute":28078,"./RndConsoleComponents/RndRoute.js":28078,"./RndConsoleComponents/SettingsMenu":59991,"./RndConsoleComponents/SettingsMenu.js":59991,"./RndConsoleComponents/index":63752,"./RndConsoleComponents/index.js":63752,"./RobotSelfDiagnosis":73407,"./RobotSelfDiagnosis.js":73407,"./RoboticsControlConsole":48356,"./RoboticsControlConsole.js":48356,"./Safe":33122,"./Safe.js":33122,"./SatelliteControl":46748,"./SatelliteControl.js":46748,"./SecureStorage":46504,"./SecureStorage.js":46504,"./SecurityRecords":54529,"./SecurityRecords.js":54529,"./SeedExtractor":79315,"./SeedExtractor.js":79315,"./ShuttleConsole":58578,"./ShuttleConsole.js":58578,"./ShuttleManipulator":11154,"./ShuttleManipulator.js":11154,"./Sleeper":80699,"./Sleeper.js":80699,"./SlotMachine":42439,"./SlotMachine.js":42439,"./Smartfridge":280,"./Smartfridge.js":280,"./Smes":47606,"./Smes.js":47606,"./SolarControl":66527,"./SolarControl.js":66527,"./SpawnersMenu":27478,"./SpawnersMenu.js":27478,"./SpecMenu":15565,"./SpecMenu.js":15565,"./StationAlertConsole":31752,"./StationAlertConsole.js":31752,"./StationTraitsPanel":64323,"./StationTraitsPanel.tsx":64323,"./StripMenu":28973,"./StripMenu.tsx":28973,"./SuitStorage":57633,"./SuitStorage.js":57633,"./SupermatterMonitor":72217,"./SupermatterMonitor.js":72217,"./SyndicateComputerSimple":55055,"./SyndicateComputerSimple.js":55055,"./TEG":61225,"./TEG.js":61225,"./TTSSeedsExplorer":61424,"./TTSSeedsExplorer.tsx":61424,"./TachyonArray":97552,"./TachyonArray.js":97552,"./Tank":33291,"./Tank.js":33291,"./TankDispenser":75480,"./TankDispenser.js":75480,"./TcommsCore":62291,"./TcommsCore.js":62291,"./TcommsRelay":82905,"./TcommsRelay.js":82905,"./Teleporter":87692,"./Teleporter.js":87692,"./TempGun":40759,"./TempGun.js":40759,"./TextInputModal":32369,"./TextInputModal.tsx":32369,"./ThermoMachine":82296,"./ThermoMachine.js":82296,"./TransferValve":68488,"./TransferValve.js":68488,"./TurbineComputer":26868,"./TurbineComputer.js":26868,"./Uplink":30778,"./Uplink.js":30778,"./Vending":7307,"./Vending.js":7307,"./VolumeMixer":25485,"./VolumeMixer.js":25485,"./VotePanel":26564,"./VotePanel.js":26564,"./Wires":496,"./Wires.js":496,"./WizardApprenticeContract":28919,"./WizardApprenticeContract.js":28919,"./common/AccessList":14635,"./common/AccessList.js":14635,"./common/AtmosScan":29136,"./common/AtmosScan.js":29136,"./common/BeakerContents":83326,"./common/BeakerContents.js":83326,"./common/BotStatus":86041,"./common/BotStatus.js":86041,"./common/ComplexModal":22677,"./common/ComplexModal.js":22677,"./common/CrewManifest":692,"./common/CrewManifest.js":692,"./common/InputButtons":98658,"./common/InputButtons.tsx":98658,"./common/InterfaceLockNoticeBox":29723,"./common/InterfaceLockNoticeBox.js":29723,"./common/Loader":2146,"./common/Loader.tsx":2146,"./common/LoginInfo":51185,"./common/LoginInfo.js":51185,"./common/LoginScreen":69774,"./common/LoginScreen.js":69774,"./common/Operating":48154,"./common/Operating.js":48154,"./common/Signaler":92149,"./common/Signaler.js":92149,"./common/SimpleRecords":79969,"./common/SimpleRecords.js":79969,"./common/TemporaryNotice":76519,"./common/TemporaryNotice.js":76519,"./pai/pai_atmosphere":98638,"./pai/pai_atmosphere.js":98638,"./pai/pai_bioscan":56601,"./pai/pai_bioscan.js":56601,"./pai/pai_directives":48047,"./pai/pai_directives.js":48047,"./pai/pai_doorjack":4646,"./pai/pai_doorjack.js":4646,"./pai/pai_main_menu":94648,"./pai/pai_main_menu.js":94648,"./pai/pai_manifest":45549,"./pai/pai_manifest.js":45549,"./pai/pai_medrecords":53434,"./pai/pai_medrecords.js":53434,"./pai/pai_messenger":7328,"./pai/pai_messenger.js":7328,"./pai/pai_radio":32036,"./pai/pai_radio.js":32036,"./pai/pai_secrecords":76020,"./pai/pai_secrecords.js":76020,"./pai/pai_signaler":11562,"./pai/pai_signaler.js":11562,"./pda/pda_atmos_scan":29539,"./pda/pda_atmos_scan.js":29539,"./pda/pda_janitor":92180,"./pda/pda_janitor.js":92180,"./pda/pda_main_menu":57725,"./pda/pda_main_menu.js":57725,"./pda/pda_manifest":29978,"./pda/pda_manifest.js":29978,"./pda/pda_medical":20567,"./pda/pda_medical.js":20567,"./pda/pda_messenger":38467,"./pda/pda_messenger.js":38467,"./pda/pda_mob_hunt":54291,"./pda/pda_mob_hunt.js":54291,"./pda/pda_mule":31112,"./pda/pda_mule.js":31112,"./pda/pda_nanobank":2817,"./pda/pda_nanobank.js":2817,"./pda/pda_notes":66621,"./pda/pda_notes.js":66621,"./pda/pda_power":96490,"./pda/pda_power.js":96490,"./pda/pda_secbot":36436,"./pda/pda_secbot.js":36436,"./pda/pda_security":55244,"./pda/pda_security.js":55244,"./pda/pda_signaler":23470,"./pda/pda_signaler.js":23470,"./pda/pda_status_display":43085,"./pda/pda_status_display.js":43085,"./pda/pda_supplyrecords":26948,"./pda/pda_supplyrecords.js":26948};function a(o){var m=t(o);return n(m)}function t(o){if(!n.o(e,o)){var m=new Error("Cannot find module '"+o+"'");throw m.code="MODULE_NOT_FOUND",m}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,L.exports=a,a.id=8156},69321:function(L,r,n){var e={"./Blink.stories.js":90969,"./BlockQuote.stories.js":22030,"./Box.stories.js":35286,"./Button.stories.js":38465,"./ByondUi.stories.js":16748,"./Collapsible.stories.js":76475,"./Flex.stories.js":28994,"./Input.stories.js":25462,"./Popper.stories.js":97028,"./ProgressBar.stories.js":85266,"./Stack.stories.js":36216,"./Storage.stories.js":22338,"./Tabs.stories.js":88446,"./Themes.stories.js":2938,"./Tooltip.stories.js":54212};function a(o){var m=t(o);return n(m)}function t(o){if(!n.o(e,o)){var m=new Error("Cannot find module '"+o+"'");throw m.code="MODULE_NOT_FOUND",m}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,L.exports=a,a.id=69321},79474:function(L,r,n){"use strict";var e=n(53664),a=n(36787),t=TypeError;L.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a function")}},48218:function(L,r,n){"use strict";var e=n(49632),a=n(36787),t=TypeError;L.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a constructor")}},30907:function(L,r,n){"use strict";var e=n(62600),a=String,t=TypeError;L.exports=function(o){if(e(o))return o;throw new t("Can't set "+a(o)+" as a prototype")}},98759:function(L,r,n){"use strict";var e=n(95558),a=n(15439),t=n(8165).f,o=e("unscopables"),m=Array.prototype;m[o]===void 0&&t(m,o,{configurable:!0,value:a(null)}),L.exports=function(N){m[o][N]=!0}},47158:function(L,r,n){"use strict";var e=n(13300).charAt;L.exports=function(a,t,o){return t+(o?e(a,t).length:1)}},14434:function(L,r,n){"use strict";var e=n(54341),a=TypeError;L.exports=function(t,o){if(e(o,t))return t;throw new a("Incorrect invocation")}},45418:function(L,r,n){"use strict";var e=n(66379),a=String,t=TypeError;L.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not an object")}},11559:function(L){"use strict";L.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},8685:function(L,r,n){"use strict";var e=n(13586);L.exports=e(function(){if(typeof ArrayBuffer=="function"){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},30432:function(L,r,n){"use strict";var e=n(11559),a=n(16361),t=n(26856),o=n(53664),m=n(66379),N=n(3302),y=n(48615),S=n(36787),k=n(21650),p=n(60855),l=n(57301),c=n(54341),f=n(56379),i=n(91420),u=n(95558),s=n(76246),d=n(4471),C=d.enforce,g=d.get,v=t.Int8Array,h=v&&v.prototype,V=t.Uint8ClampedArray,b=V&&V.prototype,B=v&&f(v),I=h&&f(h),w=Object.prototype,T=t.TypeError,A=u("toStringTag"),x=s("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",P=e&&!!i&&y(t.opera)!=="Opera",D=!1,M,O,j,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},_=function(){function ae(se){if(!m(se))return!1;var pe=y(se);return pe==="DataView"||N(F,pe)||N(U,pe)}return ae}(),z=function ae(se){var pe=f(se);if(m(pe)){var ye=g(pe);return ye&&N(ye,E)?ye[E]:ae(pe)}},H=function(se){if(!m(se))return!1;var pe=y(se);return N(F,pe)||N(U,pe)},$=function(se){if(H(se))return se;throw new T("Target is not a typed array")},Y=function(se){if(o(se)&&(!i||c(B,se)))return se;throw new T(S(se)+" is not a typed array constructor")},X=function(se,pe,ye,Be){if(a){if(ye)for(var he in F){var oe=t[he];if(oe&&N(oe.prototype,se))try{delete oe.prototype[se]}catch(Z){try{oe.prototype[se]=pe}catch(q){}}}(!I[se]||ye)&&p(I,se,ye?pe:P&&h[se]||pe,Be)}},re=function(se,pe,ye){var Be,he;if(a){if(i){if(ye){for(Be in F)if(he=t[Be],he&&N(he,se))try{delete he[se]}catch(oe){}}if(!B[se]||ye)try{return p(B,se,ye?pe:P&&B[se]||pe)}catch(oe){}else return}for(Be in F)he=t[Be],he&&(!he[se]||ye)&&p(he,se,pe)}};for(M in F)O=t[M],j=O&&O.prototype,j?C(j)[E]=O:P=!1;for(M in U)O=t[M],j=O&&O.prototype,j&&(C(j)[E]=O);if((!P||!o(B)||B===Function.prototype)&&(B=function(){function ae(){throw new T("Incorrect invocation")}return ae}(),P))for(M in F)t[M]&&i(t[M],B);if((!P||!I||I===w)&&(I=B.prototype,P))for(M in F)t[M]&&i(t[M].prototype,I);if(P&&f(b)!==I&&i(b,I),a&&!N(I,A)){D=!0,l(I,A,{configurable:!0,get:function(){function ae(){return m(this)?this[x]:void 0}return ae}()});for(M in F)t[M]&&k(t[M],x,M)}L.exports={NATIVE_ARRAY_BUFFER_VIEWS:P,TYPED_ARRAY_TAG:D&&x,aTypedArray:$,aTypedArrayConstructor:Y,exportTypedArrayMethod:X,exportTypedArrayStaticMethod:re,getTypedArrayConstructor:z,isView:_,isTypedArray:H,TypedArray:B,TypedArrayPrototype:I}},31284:function(L,r,n){"use strict";var e=n(26856),a=n(72908),t=n(16361),o=n(11559),m=n(15340),N=n(21650),y=n(57301),S=n(26148),k=n(13586),p=n(14434),l=n(84501),c=n(74369),f=n(28968),i=n(48705),u=n(48350),s=n(56379),d=n(91420),C=n(39948),g=n(31170),v=n(43405),h=n(83826),V=n(15676),b=n(4471),B=m.PROPER,I=m.CONFIGURABLE,w="ArrayBuffer",T="DataView",A="prototype",x="Wrong length",E="Wrong index",P=b.getterFor(w),D=b.getterFor(T),M=b.set,O=e[w],j=O,F=j&&j[A],U=e[T],_=U&&U[A],z=Object.prototype,H=e.Array,$=e.RangeError,Y=a(C),X=a([].reverse),re=u.pack,ae=u.unpack,se=function(ge){return[ge&255]},pe=function(ge){return[ge&255,ge>>8&255]},ye=function(ge){return[ge&255,ge>>8&255,ge>>16&255,ge>>24&255]},Be=function(ge){return ge[3]<<24|ge[2]<<16|ge[1]<<8|ge[0]},he=function(ge){return re(i(ge),23,4)},oe=function(ge){return re(ge,52,8)},Z=function(ge,ke,ve){y(ge[A],ke,{configurable:!0,get:function(){function Se(){return ve(this)[ke]}return Se}()})},q=function(ge,ke,ve,Se){var we=D(ge),xe=f(ve),Oe=!!Se;if(xe+ke>we.byteLength)throw new $(E);var We=we.bytes,Ve=xe+we.byteOffset,ce=g(We,Ve,Ve+ke);return Oe?ce:X(ce)},ue=function(ge,ke,ve,Se,we,xe){var Oe=D(ge),We=f(ve),Ve=Se(+we),ce=!!xe;if(We+ke>Oe.byteLength)throw new $(E);for(var le=Oe.bytes,Ce=We+Oe.byteOffset,de=0;de<ke;de++)le[Ce+de]=Ve[ce?de:ke-de-1]};if(!o)j=function(){function fe(ge){p(this,F);var ke=f(ge);M(this,{type:w,bytes:Y(H(ke),0),byteLength:ke}),t||(this.byteLength=ke,this.detached=!1)}return fe}(),F=j[A],U=function(){function fe(ge,ke,ve){p(this,_),p(ge,F);var Se=P(ge),we=Se.byteLength,xe=l(ke);if(xe<0||xe>we)throw new $("Wrong offset");if(ve=ve===void 0?we-xe:c(ve),xe+ve>we)throw new $(x);M(this,{type:T,buffer:ge,byteLength:ve,byteOffset:xe,bytes:Se.bytes}),t||(this.buffer=ge,this.byteLength=ve,this.byteOffset=xe)}return fe}(),_=U[A],t&&(Z(j,"byteLength",P),Z(U,"buffer",D),Z(U,"byteLength",D),Z(U,"byteOffset",D)),S(_,{getInt8:function(){function fe(ge){return q(this,1,ge)[0]<<24>>24}return fe}(),getUint8:function(){function fe(ge){return q(this,1,ge)[0]}return fe}(),getInt16:function(){function fe(ge){var ke=q(this,2,ge,arguments.length>1?arguments[1]:!1);return(ke[1]<<8|ke[0])<<16>>16}return fe}(),getUint16:function(){function fe(ge){var ke=q(this,2,ge,arguments.length>1?arguments[1]:!1);return ke[1]<<8|ke[0]}return fe}(),getInt32:function(){function fe(ge){return Be(q(this,4,ge,arguments.length>1?arguments[1]:!1))}return fe}(),getUint32:function(){function fe(ge){return Be(q(this,4,ge,arguments.length>1?arguments[1]:!1))>>>0}return fe}(),getFloat32:function(){function fe(ge){return ae(q(this,4,ge,arguments.length>1?arguments[1]:!1),23)}return fe}(),getFloat64:function(){function fe(ge){return ae(q(this,8,ge,arguments.length>1?arguments[1]:!1),52)}return fe}(),setInt8:function(){function fe(ge,ke){ue(this,1,ge,se,ke)}return fe}(),setUint8:function(){function fe(ge,ke){ue(this,1,ge,se,ke)}return fe}(),setInt16:function(){function fe(ge,ke){ue(this,2,ge,pe,ke,arguments.length>2?arguments[2]:!1)}return fe}(),setUint16:function(){function fe(ge,ke){ue(this,2,ge,pe,ke,arguments.length>2?arguments[2]:!1)}return fe}(),setInt32:function(){function fe(ge,ke){ue(this,4,ge,ye,ke,arguments.length>2?arguments[2]:!1)}return fe}(),setUint32:function(){function fe(ge,ke){ue(this,4,ge,ye,ke,arguments.length>2?arguments[2]:!1)}return fe}(),setFloat32:function(){function fe(ge,ke){ue(this,4,ge,he,ke,arguments.length>2?arguments[2]:!1)}return fe}(),setFloat64:function(){function fe(ge,ke){ue(this,8,ge,oe,ke,arguments.length>2?arguments[2]:!1)}return fe}()});else{var me=B&&O.name!==w;!k(function(){O(1)})||!k(function(){new O(-1)})||k(function(){return new O,new O(1.5),new O(NaN),O.length!==1||me&&!I})?(j=function(){function fe(ge){return p(this,F),v(new O(f(ge)),this,j)}return fe}(),j[A]=F,F.constructor=j,h(j,O)):me&&I&&N(O,"name",w),d&&s(_)!==z&&d(_,z);var ne=new U(new j(2)),be=a(_.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),(ne.getInt8(0)||!ne.getInt8(1))&&S(_,{setInt8:function(){function fe(ge,ke){be(this,ge,ke<<24>>24)}return fe}(),setUint8:function(){function fe(ge,ke){be(this,ge,ke<<24>>24)}return fe}()},{unsafe:!0})}V(j,w),V(U,T),L.exports={ArrayBuffer:j,DataView:U}},28332:function(L,r,n){"use strict";var e=n(63549),a=n(39531),t=n(83207),o=n(81245),m=Math.min;L.exports=[].copyWithin||function(){function N(y,S){var k=e(this),p=t(k),l=a(y,p),c=a(S,p),f=arguments.length>2?arguments[2]:void 0,i=m((f===void 0?p:a(f,p))-c,p-l),u=1;for(c<l&&l<c+i&&(u=-1,c+=i-1,l+=i-1);i-- >0;)c in k?k[l]=k[c]:o(k,l),l+=u,c+=u;return k}return N}()},39948:function(L,r,n){"use strict";var e=n(63549),a=n(39531),t=n(83207);L.exports=function(){function o(m){for(var N=e(this),y=t(N),S=arguments.length,k=a(S>1?arguments[1]:void 0,y),p=S>2?arguments[2]:void 0,l=p===void 0?y:a(p,y);l>k;)N[k++]=m;return N}return o}()},16856:function(L,r,n){"use strict";var e=n(18539).forEach,a=n(56127),t=a("forEach");L.exports=t?[].forEach:function(){function o(m){return e(this,m,arguments.length>1?arguments[1]:void 0)}return o}()},21465:function(L,r,n){"use strict";var e=n(83207);L.exports=function(a,t,o){for(var m=0,N=arguments.length>2?o:e(t),y=new a(N);N>m;)y[m]=t[m++];return y}},45056:function(L,r,n){"use strict";var e=n(8942),a=n(20276),t=n(63549),o=n(80002),m=n(48594),N=n(49632),y=n(83207),S=n(80750),k=n(45731),p=n(52984),l=Array;L.exports=function(){function c(f){var i=t(f),u=N(this),s=arguments.length,d=s>1?arguments[1]:void 0,C=d!==void 0;C&&(d=e(d,s>2?arguments[2]:void 0));var g=p(i),v=0,h,V,b,B,I,w;if(g&&!(this===l&&m(g)))for(B=k(i,g),I=B.next,V=u?new this:[];!(b=a(I,B)).done;v++)w=C?o(B,d,[b.value,v],!0):b.value,S(V,v,w);else for(h=y(i),V=u?new this(h):l(h);h>v;v++)w=C?d(i[v],v):i[v],S(V,v,w);return V.length=v,V}return c}()},33483:function(L,r,n){"use strict";var e=n(54292),a=n(39531),t=n(83207),o=function(N){return function(y,S,k){var p=e(y),l=t(p),c=a(k,l),f;if(N&&S!==S){for(;l>c;)if(f=p[c++],f!==f)return!0}else for(;l>c;c++)if((N||c in p)&&p[c]===S)return N||c||0;return!N&&-1}};L.exports={includes:o(!0),indexOf:o(!1)}},18539:function(L,r,n){"use strict";var e=n(8942),a=n(72908),t=n(80689),o=n(63549),m=n(83207),N=n(51582),y=a([].push),S=function(p){var l=p===1,c=p===2,f=p===3,i=p===4,u=p===6,s=p===7,d=p===5||u;return function(C,g,v,h){for(var V=o(C),b=t(V),B=m(b),I=e(g,v),w=0,T=h||N,A=l?T(C,B):c||s?T(C,0):void 0,x,E;B>w;w++)if((d||w in b)&&(x=b[w],E=I(x,w,V),p))if(l)A[w]=E;else if(E)switch(p){case 3:return!0;case 5:return x;case 6:return w;case 2:y(A,x)}else switch(p){case 4:return!1;case 7:y(A,x)}return u?-1:f||i?i:A}};L.exports={forEach:S(0),map:S(1),filter:S(2),some:S(3),every:S(4),find:S(5),findIndex:S(6),filterReject:S(7)}},16400:function(L,r,n){"use strict";var e=n(47244),a=n(54292),t=n(84501),o=n(83207),m=n(56127),N=Math.min,y=[].lastIndexOf,S=!!y&&1/[1].lastIndexOf(1,-0)<0,k=m("lastIndexOf"),p=S||!k;L.exports=p?function(){function l(c){if(S)return e(y,this,arguments)||0;var f=a(this),i=o(f),u=i-1;for(arguments.length>1&&(u=N(u,t(arguments[1]))),u<0&&(u=i+u);u>=0;u--)if(u in f&&f[u]===c)return u||0;return-1}return l}():y},34924:function(L,r,n){"use strict";var e=n(13586),a=n(95558),t=n(43541),o=a("species");L.exports=function(m){return t>=51||!e(function(){var N=[],y=N.constructor={};return y[o]=function(){return{foo:1}},N[m](Boolean).foo!==1})}},56127:function(L,r,n){"use strict";var e=n(13586);L.exports=function(a,t){var o=[][a];return!!o&&e(function(){o.call(null,t||function(){return 1},1)})}},58394:function(L,r,n){"use strict";var e=n(79474),a=n(63549),t=n(80689),o=n(83207),m=TypeError,N=function(S){return function(k,p,l,c){var f=a(k),i=t(f),u=o(f);e(p);var s=S?u-1:0,d=S?-1:1;if(l<2)for(;;){if(s in i){c=i[s],s+=d;break}if(s+=d,S?s<0:u<=s)throw new m("Reduce of empty array with no initial value")}for(;S?s>=0:u>s;s+=d)s in i&&(c=p(c,i[s],s,f));return c}};L.exports={left:N(!1),right:N(!0)}},10779:function(L,r,n){"use strict";var e=n(16361),a=n(59882),t=TypeError,o=Object.getOwnPropertyDescriptor,m=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(N){return N instanceof TypeError}}();L.exports=m?function(N,y){if(a(N)&&!o(N,"length").writable)throw new t("Cannot set read only .length");return N.length=y}:function(N,y){return N.length=y}},31170:function(L,r,n){"use strict";var e=n(72908);L.exports=e([].slice)},91183:function(L,r,n){"use strict";var e=n(31170),a=Math.floor,t=function o(m,N){var y=m.length;if(y<8)for(var S=1,k,p;S<y;){for(p=S,k=m[S];p&&N(m[p-1],k)>0;)m[p]=m[--p];p!==S++&&(m[p]=k)}else for(var l=a(y/2),c=o(e(m,0,l),N),f=o(e(m,l),N),i=c.length,u=f.length,s=0,d=0;s<i||d<u;)m[s+d]=s<i&&d<u?N(c[s],f[d])<=0?c[s++]:f[d++]:s<i?c[s++]:f[d++];return m};L.exports=t},6516:function(L,r,n){"use strict";var e=n(59882),a=n(49632),t=n(66379),o=n(95558),m=o("species"),N=Array;L.exports=function(y){var S;return e(y)&&(S=y.constructor,a(S)&&(S===N||e(S.prototype))?S=void 0:t(S)&&(S=S[m],S===null&&(S=void 0))),S===void 0?N:S}},51582:function(L,r,n){"use strict";var e=n(6516);L.exports=function(a,t){return new(e(a))(t===0?0:t)}},80002:function(L,r,n){"use strict";var e=n(45418),a=n(65169);L.exports=function(t,o,m,N){try{return N?o(e(m)[0],m[1]):o(m)}catch(y){a(t,"throw",y)}}},1608:function(L,r,n){"use strict";var e=n(95558),a=e("iterator"),t=!1;try{var o=0,m={next:function(){function N(){return{done:!!o++}}return N}(),return:function(){function N(){t=!0}return N}()};m[a]=function(){return this},Array.from(m,function(){throw 2})}catch(N){}L.exports=function(N,y){try{if(!y&&!t)return!1}catch(p){return!1}var S=!1;try{var k={};k[a]=function(){return{next:function(){function p(){return{done:S=!0}}return p}()}},N(k)}catch(p){}return S}},8649:function(L,r,n){"use strict";var e=n(72908),a=e({}.toString),t=e("".slice);L.exports=function(o){return t(a(o),8,-1)}},48615:function(L,r,n){"use strict";var e=n(41936),a=n(53664),t=n(8649),o=n(95558),m=o("toStringTag"),N=Object,y=t(function(){return arguments}())==="Arguments",S=function(p,l){try{return p[l]}catch(c){}};L.exports=e?t:function(k){var p,l,c;return k===void 0?"Undefined":k===null?"Null":typeof(l=S(p=N(k),m))=="string"?l:y?t(p):(c=t(p))==="Object"&&a(p.callee)?"Arguments":c}},42384:function(L,r,n){"use strict";var e=n(15439),a=n(57301),t=n(26148),o=n(8942),m=n(14434),N=n(62695),y=n(20453),S=n(21436),k=n(32214),p=n(92468),l=n(16361),c=n(66526).fastKey,f=n(4471),i=f.set,u=f.getterFor;L.exports={getConstructor:function(){function s(d,C,g,v){var h=d(function(w,T){m(w,V),i(w,{type:C,index:e(null),first:void 0,last:void 0,size:0}),l||(w.size=0),N(T)||y(T,w[v],{that:w,AS_ENTRIES:g})}),V=h.prototype,b=u(C),B=function(){function w(T,A,x){var E=b(T),P=I(T,A),D,M;return P?P.value=x:(E.last=P={index:M=c(A,!0),key:A,value:x,previous:D=E.last,next:void 0,removed:!1},E.first||(E.first=P),D&&(D.next=P),l?E.size++:T.size++,M!=="F"&&(E.index[M]=P)),T}return w}(),I=function(){function w(T,A){var x=b(T),E=c(A),P;if(E!=="F")return x.index[E];for(P=x.first;P;P=P.next)if(P.key===A)return P}return w}();return t(V,{clear:function(){function w(){for(var T=this,A=b(T),x=A.first;x;)x.removed=!0,x.previous&&(x.previous=x.previous.next=void 0),x=x.next;A.first=A.last=void 0,A.index=e(null),l?A.size=0:T.size=0}return w}(),delete:function(){function w(T){var A=this,x=b(A),E=I(A,T);if(E){var P=E.next,D=E.previous;delete x.index[E.index],E.removed=!0,D&&(D.next=P),P&&(P.previous=D),x.first===E&&(x.first=P),x.last===E&&(x.last=D),l?x.size--:A.size--}return!!E}return w}(),forEach:function(){function w(T){for(var A=b(this),x=o(T,arguments.length>1?arguments[1]:void 0),E;E=E?E.next:A.first;)for(x(E.value,E.key,this);E&&E.removed;)E=E.previous}return w}(),has:function(){function w(T){return!!I(this,T)}return w}()}),t(V,g?{get:function(){function w(T){var A=I(this,T);return A&&A.value}return w}(),set:function(){function w(T,A){return B(this,T===0?0:T,A)}return w}()}:{add:function(){function w(T){return B(this,T=T===0?0:T,T)}return w}()}),l&&a(V,"size",{configurable:!0,get:function(){function w(){return b(this).size}return w}()}),h}return s}(),setStrong:function(){function s(d,C,g){var v=C+" Iterator",h=u(C),V=u(v);S(d,C,function(b,B){i(this,{type:v,target:b,state:h(b),kind:B,last:void 0})},function(){for(var b=V(this),B=b.kind,I=b.last;I&&I.removed;)I=I.previous;return!b.target||!(b.last=I=I?I.next:b.state.first)?(b.target=void 0,k(void 0,!0)):k(B==="keys"?I.key:B==="values"?I.value:[I.key,I.value],!1)},g?"entries":"values",!g,!0),p(C)}return s}()}},19250:function(L,r,n){"use strict";var e=n(72908),a=n(26148),t=n(66526).getWeakData,o=n(14434),m=n(45418),N=n(62695),y=n(66379),S=n(20453),k=n(18539),p=n(3302),l=n(4471),c=l.set,f=l.getterFor,i=k.find,u=k.findIndex,s=e([].splice),d=0,C=function(V){return V.frozen||(V.frozen=new g)},g=function(){this.entries=[]},v=function(V,b){return i(V.entries,function(B){return B[0]===b})};g.prototype={get:function(){function h(V){var b=v(this,V);if(b)return b[1]}return h}(),has:function(){function h(V){return!!v(this,V)}return h}(),set:function(){function h(V,b){var B=v(this,V);B?B[1]=b:this.entries.push([V,b])}return h}(),delete:function(){function h(V){var b=u(this.entries,function(B){return B[0]===V});return~b&&s(this.entries,b,1),!!~b}return h}()},L.exports={getConstructor:function(){function h(V,b,B,I){var w=V(function(E,P){o(E,T),c(E,{type:b,id:d++,frozen:void 0}),N(P)||S(P,E[I],{that:E,AS_ENTRIES:B})}),T=w.prototype,A=f(b),x=function(){function E(P,D,M){var O=A(P),j=t(m(D),!0);return j===!0?C(O).set(D,M):j[O.id]=M,P}return E}();return a(T,{delete:function(){function E(P){var D=A(this);if(!y(P))return!1;var M=t(P);return M===!0?C(D).delete(P):M&&p(M,D.id)&&delete M[D.id]}return E}(),has:function(){function E(P){var D=A(this);if(!y(P))return!1;var M=t(P);return M===!0?C(D).has(P):M&&p(M,D.id)}return E}()}),a(T,B?{get:function(){function E(P){var D=A(this);if(y(P)){var M=t(P);return M===!0?C(D).get(P):M?M[D.id]:void 0}}return E}(),set:function(){function E(P,D){return x(this,P,D)}return E}()}:{add:function(){function E(P){return x(this,P,!0)}return E}()}),w}return h}()}},10609:function(L,r,n){"use strict";var e=n(3116),a=n(26856),t=n(72908),o=n(23620),m=n(60855),N=n(66526),y=n(20453),S=n(14434),k=n(53664),p=n(62695),l=n(66379),c=n(13586),f=n(1608),i=n(15676),u=n(43405);L.exports=function(s,d,C){var g=s.indexOf("Map")!==-1,v=s.indexOf("Weak")!==-1,h=g?"set":"add",V=a[s],b=V&&V.prototype,B=V,I={},w=function(O){var j=t(b[O]);m(b,O,O==="add"?function(){function F(U){return j(this,U===0?0:U),this}return F}():O==="delete"?function(F){return v&&!l(F)?!1:j(this,F===0?0:F)}:O==="get"?function(){function F(U){return v&&!l(U)?void 0:j(this,U===0?0:U)}return F}():O==="has"?function(){function F(U){return v&&!l(U)?!1:j(this,U===0?0:U)}return F}():function(){function F(U,_){return j(this,U===0?0:U,_),this}return F}())},T=o(s,!k(V)||!(v||b.forEach&&!c(function(){new V().entries().next()})));if(T)B=C.getConstructor(d,s,g,h),N.enable();else if(o(s,!0)){var A=new B,x=A[h](v?{}:-0,1)!==A,E=c(function(){A.has(1)}),P=f(function(M){new V(M)}),D=!v&&c(function(){for(var M=new V,O=5;O--;)M[h](O,O);return!M.has(-0)});P||(B=d(function(M,O){S(M,b);var j=u(new V,M,B);return p(O)||y(O,j[h],{that:j,AS_ENTRIES:g}),j}),B.prototype=b,b.constructor=B),(E||D)&&(w("delete"),w("has"),g&&w("get")),(D||x)&&w(h),v&&b.clear&&delete b.clear}return I[s]=B,e({global:!0,constructor:!0,forced:B!==V},I),i(B,s),v||C.setStrong(B,s,g),B}},83826:function(L,r,n){"use strict";var e=n(3302),a=n(53988),t=n(19765),o=n(8165);L.exports=function(m,N,y){for(var S=a(N),k=o.f,p=t.f,l=0;l<S.length;l++){var c=S[l];!e(m,c)&&!(y&&e(y,c))&&k(m,c,p(N,c))}}},46339:function(L,r,n){"use strict";var e=n(95558),a=e("match");L.exports=function(t){var o=/./;try{"/./"[t](o)}catch(m){try{return o[a]=!1,"/./"[t](o)}catch(N){}}return!1}},62297:function(L,r,n){"use strict";var e=n(13586);L.exports=!e(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},38017:function(L,r,n){"use strict";var e=n(72908),a=n(305),t=n(8758),o=/"/g,m=e("".replace);L.exports=function(N,y,S,k){var p=t(a(N)),l="<"+y;return S!==""&&(l+=" "+S+'="'+m(t(k),o,""")+'"'),l+">"+p+"</"+y+">"}},32214:function(L){"use strict";L.exports=function(r,n){return{value:r,done:n}}},21650:function(L,r,n){"use strict";var e=n(16361),a=n(8165),t=n(73970);L.exports=e?function(o,m,N){return a.f(o,m,t(1,N))}:function(o,m,N){return o[m]=N,o}},73970:function(L){"use strict";L.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},80750:function(L,r,n){"use strict";var e=n(72445),a=n(8165),t=n(73970);L.exports=function(o,m,N){var y=e(m);y in o?a.f(o,y,t(0,N)):o[y]=N}},20228:function(L,r,n){"use strict";var e=n(72908),a=n(13586),t=n(81290).start,o=RangeError,m=isFinite,N=Math.abs,y=Date.prototype,S=y.toISOString,k=e(y.getTime),p=e(y.getUTCDate),l=e(y.getUTCFullYear),c=e(y.getUTCHours),f=e(y.getUTCMilliseconds),i=e(y.getUTCMinutes),u=e(y.getUTCMonth),s=e(y.getUTCSeconds);L.exports=a(function(){return S.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!a(function(){S.call(new Date(NaN))})?function(){function d(){if(!m(k(this)))throw new o("Invalid time value");var C=this,g=l(C),v=f(C),h=g<0?"-":g>9999?"+":"";return h+t(N(g),h?6:4,0)+"-"+t(u(C)+1,2,0)+"-"+t(p(C),2,0)+"T"+t(c(C),2,0)+":"+t(i(C),2,0)+":"+t(s(C),2,0)+"."+t(v,3,0)+"Z"}return d}():S},81603:function(L,r,n){"use strict";var e=n(45418),a=n(56109),t=TypeError;L.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new t("Incorrect hint");return a(this,o)}},57301:function(L,r,n){"use strict";var e=n(40773),a=n(8165);L.exports=function(t,o,m){return m.get&&e(m.get,o,{getter:!0}),m.set&&e(m.set,o,{setter:!0}),a.f(t,o,m)}},60855:function(L,r,n){"use strict";var e=n(53664),a=n(8165),t=n(40773),o=n(17553);L.exports=function(m,N,y,S){S||(S={});var k=S.enumerable,p=S.name!==void 0?S.name:N;if(e(y)&&t(y,p,S),S.global)k?m[N]=y:o(N,y);else{try{S.unsafe?m[N]&&(k=!0):delete m[N]}catch(l){}k?m[N]=y:a.f(m,N,{value:y,enumerable:!1,configurable:!S.nonConfigurable,writable:!S.nonWritable})}return m}},26148:function(L,r,n){"use strict";var e=n(60855);L.exports=function(a,t,o){for(var m in t)e(a,m,t[m],o);return a}},17553:function(L,r,n){"use strict";var e=n(26856),a=Object.defineProperty;L.exports=function(t,o){try{a(e,t,{value:o,configurable:!0,writable:!0})}catch(m){e[t]=o}return o}},81245:function(L,r,n){"use strict";var e=n(36787),a=TypeError;L.exports=function(t,o){if(!delete t[o])throw new a("Cannot delete property "+e(o)+" of "+e(t))}},16361:function(L,r,n){"use strict";var e=n(13586);L.exports=!e(function(){return Object.defineProperty({},1,{get:function(){function a(){return 7}return a}()})[1]!==7})},55642:function(L,r,n){"use strict";var e=n(26856),a=n(66379),t=e.document,o=a(t)&&a(t.createElement);L.exports=function(m){return o?t.createElement(m):{}}},54579:function(L){"use strict";var r=TypeError,n=9007199254740991;L.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},31574:function(L,r,n){"use strict";var e=n(74247),a=e.match(/firefox\/(\d+)/i);L.exports=!!a&&+a[1]},52460:function(L,r,n){"use strict";var e=n(53437),a=n(86727);L.exports=!e&&!a&&typeof window=="object"&&typeof document=="object"},68261:function(L){"use strict";L.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},53437:function(L){"use strict";L.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},88836:function(L,r,n){"use strict";var e=n(74247);L.exports=/MSIE|Trident/.test(e)},79034:function(L,r,n){"use strict";var e=n(74247);L.exports=/ipad|iphone|ipod/i.test(e)&&typeof Pebble!="undefined"},25184:function(L,r,n){"use strict";var e=n(74247);L.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},86727:function(L,r,n){"use strict";var e=n(26856),a=n(8649);L.exports=a(e.process)==="process"},71979:function(L,r,n){"use strict";var e=n(74247);L.exports=/web0s(?!.*chrome)/i.test(e)},74247:function(L){"use strict";L.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},43541:function(L,r,n){"use strict";var e=n(26856),a=n(74247),t=e.process,o=e.Deno,m=t&&t.versions||o&&o.version,N=m&&m.v8,y,S;N&&(y=N.split("."),S=y[0]>0&&y[0]<4?1:+(y[0]+y[1])),!S&&a&&(y=a.match(/Edge\/(\d+)/),(!y||y[1]>=74)&&(y=a.match(/Chrome\/(\d+)/),y&&(S=+y[1]))),L.exports=S},27204:function(L,r,n){"use strict";var e=n(74247),a=e.match(/AppleWebKit\/(\d+)\./);L.exports=!!a&&+a[1]},38139:function(L){"use strict";L.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3116:function(L,r,n){"use strict";var e=n(26856),a=n(19765).f,t=n(21650),o=n(60855),m=n(17553),N=n(83826),y=n(23620);L.exports=function(S,k){var p=S.target,l=S.global,c=S.stat,f,i,u,s,d,C;if(l?i=e:c?i=e[p]||m(p,{}):i=(e[p]||{}).prototype,i)for(u in k){if(d=k[u],S.dontCallGetSet?(C=a(i,u),s=C&&C.value):s=i[u],f=y(l?u:p+(c?".":"#")+u,S.forced),!f&&s!==void 0){if(typeof d==typeof s)continue;N(d,s)}(S.sham||s&&s.sham)&&t(d,"sham",!0),o(i,u,d,S)}}},13586:function(L){"use strict";L.exports=function(r){try{return!!r()}catch(n){return!0}}},18690:function(L,r,n){"use strict";n(72941);var e=n(69935),a=n(60855),t=n(59049),o=n(13586),m=n(95558),N=n(21650),y=m("species"),S=RegExp.prototype;L.exports=function(k,p,l,c){var f=m(k),i=!o(function(){var C={};return C[f]=function(){return 7},""[k](C)!==7}),u=i&&!o(function(){var C=!1,g=/a/;return k==="split"&&(g={},g.constructor={},g.constructor[y]=function(){return g},g.flags="",g[f]=/./[f]),g.exec=function(){return C=!0,null},g[f](""),!C});if(!i||!u||l){var s=e(/./[f]),d=p(f,""[k],function(C,g,v,h,V){var b=e(C),B=g.exec;return B===t||B===S.exec?i&&!V?{done:!0,value:s(g,v,h)}:{done:!0,value:b(v,g,h)}:{done:!1}});a(String.prototype,k,d[0]),a(S,f,d[1])}c&&N(S[f],"sham",!0)}},73132:function(L,r,n){"use strict";var e=n(59882),a=n(83207),t=n(54579),o=n(8942),m=function N(y,S,k,p,l,c,f,i){for(var u=l,s=0,d=f?o(f,i):!1,C,g;s<p;)s in k&&(C=d?d(k[s],s,S):k[s],c>0&&e(C)?(g=a(C),u=N(y,S,C,g,u,c-1)-1):(t(u+1),y[u]=C),u++),s++;return u};L.exports=m},58199:function(L,r,n){"use strict";var e=n(13586);L.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},47244:function(L,r,n){"use strict";var e=n(86678),a=Function.prototype,t=a.apply,o=a.call;L.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(t):function(){return o.apply(t,arguments)})},8942:function(L,r,n){"use strict";var e=n(69935),a=n(79474),t=n(86678),o=e(e.bind);L.exports=function(m,N){return a(m),N===void 0?m:t?o(m,N):function(){return m.apply(N,arguments)}}},86678:function(L,r,n){"use strict";var e=n(13586);L.exports=!e(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},82060:function(L,r,n){"use strict";var e=n(72908),a=n(79474),t=n(66379),o=n(3302),m=n(31170),N=n(86678),y=Function,S=e([].concat),k=e([].join),p={},l=function(f,i,u){if(!o(p,i)){for(var s=[],d=0;d<i;d++)s[d]="a["+d+"]";p[i]=y("C,a","return new C("+k(s,",")+")")}return p[i](f,u)};L.exports=N?y.bind:function(){function c(f){var i=a(this),u=i.prototype,s=m(arguments,1),d=function(){function C(){var g=S(s,m(arguments));return this instanceof d?l(i,g.length,g):i.apply(f,g)}return C}();return t(u)&&(d.prototype=u),d}return c}()},20276:function(L,r,n){"use strict";var e=n(86678),a=Function.prototype.call;L.exports=e?a.bind(a):function(){return a.apply(a,arguments)}},15340:function(L,r,n){"use strict";var e=n(16361),a=n(3302),t=Function.prototype,o=e&&Object.getOwnPropertyDescriptor,m=a(t,"name"),N=m&&function(){function S(){}return S}().name==="something",y=m&&(!e||e&&o(t,"name").configurable);L.exports={EXISTS:m,PROPER:N,CONFIGURABLE:y}},53715:function(L,r,n){"use strict";var e=n(72908),a=n(79474);L.exports=function(t,o,m){try{return e(a(Object.getOwnPropertyDescriptor(t,o)[m]))}catch(N){}}},69935:function(L,r,n){"use strict";var e=n(8649),a=n(72908);L.exports=function(t){if(e(t)==="Function")return a(t)}},72908:function(L,r,n){"use strict";var e=n(86678),a=Function.prototype,t=a.call,o=e&&a.bind.bind(t,t);L.exports=e?o:function(m){return function(){return t.apply(m,arguments)}}},22070:function(L,r,n){"use strict";var e=n(26856),a=n(53664),t=function(m){return a(m)?m:void 0};L.exports=function(o,m){return arguments.length<2?t(e[o]):e[o]&&e[o][m]}},52984:function(L,r,n){"use strict";var e=n(48615),a=n(76540),t=n(62695),o=n(47730),m=n(95558),N=m("iterator");L.exports=function(y){if(!t(y))return a(y,N)||a(y,"@@iterator")||o[e(y)]}},45731:function(L,r,n){"use strict";var e=n(20276),a=n(79474),t=n(45418),o=n(36787),m=n(52984),N=TypeError;L.exports=function(y,S){var k=arguments.length<2?m(y):S;if(a(k))return t(e(k,y));throw new N(o(y)+" is not iterable")}},58226:function(L,r,n){"use strict";var e=n(72908),a=n(59882),t=n(53664),o=n(8649),m=n(8758),N=e([].push);L.exports=function(y){if(t(y))return y;if(a(y)){for(var S=y.length,k=[],p=0;p<S;p++){var l=y[p];typeof l=="string"?N(k,l):(typeof l=="number"||o(l)==="Number"||o(l)==="String")&&N(k,m(l))}var c=k.length,f=!0;return function(i,u){if(f)return f=!1,u;if(a(this))return u;for(var s=0;s<c;s++)if(k[s]===i)return u}}}},76540:function(L,r,n){"use strict";var e=n(79474),a=n(62695);L.exports=function(t,o){var m=t[o];return a(m)?void 0:e(m)}},56802:function(L,r,n){"use strict";var e=n(72908),a=n(63549),t=Math.floor,o=e("".charAt),m=e("".replace),N=e("".slice),y=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,S=/\$([$&'`]|\d{1,2})/g;L.exports=function(k,p,l,c,f,i){var u=l+k.length,s=c.length,d=S;return f!==void 0&&(f=a(f),d=y),m(i,d,function(C,g){var v;switch(o(g,0)){case"$":return"$";case"&":return k;case"`":return N(p,0,l);case"'":return N(p,u);case"<":v=f[N(g,1,-1)];break;default:var h=+g;if(h===0)return C;if(h>s){var V=t(h/10);return V===0?C:V<=s?c[V-1]===void 0?o(g,1):c[V-1]+o(g,1):C}v=c[h-1]}return v===void 0?"":v})}},26856:function(L,r,n){"use strict";var e=function(t){return t&&t.Math===Math&&t};L.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof n.g=="object"&&n.g)||e(!1)||function(){return this}()||Function("return this")()},3302:function(L,r,n){"use strict";var e=n(72908),a=n(63549),t=e({}.hasOwnProperty);L.exports=Object.hasOwn||function(){function o(m,N){return t(a(m),N)}return o}()},51653:function(L){"use strict";L.exports={}},66481:function(L){"use strict";L.exports=function(r,n){try{arguments.length}catch(e){}}},21474:function(L,r,n){"use strict";var e=n(22070);L.exports=e("document","documentElement")},16109:function(L,r,n){"use strict";var e=n(16361),a=n(13586),t=n(55642);L.exports=!e&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){function o(){return 7}return o}()}).a!==7})},48350:function(L){"use strict";var r=Array,n=Math.abs,e=Math.pow,a=Math.floor,t=Math.log,o=Math.LN2,m=function(S,k,p){var l=r(p),c=p*8-k-1,f=(1<<c)-1,i=f>>1,u=k===23?e(2,-24)-e(2,-77):0,s=S<0||S===0&&1/S<0?1:0,d=0,C,g,v;for(S=n(S),S!==S||S===1/0?(g=S!==S?1:0,C=f):(C=a(t(S)/o),v=e(2,-C),S*v<1&&(C--,v*=2),C+i>=1?S+=u/v:S+=u*e(2,1-i),S*v>=2&&(C++,v/=2),C+i>=f?(g=0,C=f):C+i>=1?(g=(S*v-1)*e(2,k),C+=i):(g=S*e(2,i-1)*e(2,k),C=0));k>=8;)l[d++]=g&255,g/=256,k-=8;for(C=C<<k|g,c+=k;c>0;)l[d++]=C&255,C/=256,c-=8;return l[--d]|=s*128,l},N=function(S,k){var p=S.length,l=p*8-k-1,c=(1<<l)-1,f=c>>1,i=l-7,u=p-1,s=S[u--],d=s&127,C;for(s>>=7;i>0;)d=d*256+S[u--],i-=8;for(C=d&(1<<-i)-1,d>>=-i,i+=k;i>0;)C=C*256+S[u--],i-=8;if(d===0)d=1-f;else{if(d===c)return C?NaN:s?-1/0:1/0;C+=e(2,k),d-=f}return(s?-1:1)*C*e(2,d-k)};L.exports={pack:m,unpack:N}},80689:function(L,r,n){"use strict";var e=n(72908),a=n(13586),t=n(8649),o=Object,m=e("".split);L.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(N){return t(N)==="String"?m(N,""):o(N)}:o},43405:function(L,r,n){"use strict";var e=n(53664),a=n(66379),t=n(91420);L.exports=function(o,m,N){var y,S;return t&&e(y=m.constructor)&&y!==N&&a(S=y.prototype)&&S!==N.prototype&&t(o,S),o}},92004:function(L,r,n){"use strict";var e=n(72908),a=n(53664),t=n(70192),o=e(Function.toString);a(t.inspectSource)||(t.inspectSource=function(m){return o(m)}),L.exports=t.inspectSource},66526:function(L,r,n){"use strict";var e=n(3116),a=n(72908),t=n(51653),o=n(66379),m=n(3302),N=n(8165).f,y=n(60097),S=n(31024),k=n(58221),p=n(76246),l=n(58199),c=!1,f=p("meta"),i=0,u=function(V){N(V,f,{value:{objectID:"O"+i++,weakData:{}}})},s=function(V,b){if(!o(V))return typeof V=="symbol"?V:(typeof V=="string"?"S":"P")+V;if(!m(V,f)){if(!k(V))return"F";if(!b)return"E";u(V)}return V[f].objectID},d=function(V,b){if(!m(V,f)){if(!k(V))return!0;if(!b)return!1;u(V)}return V[f].weakData},C=function(V){return l&&c&&k(V)&&!m(V,f)&&u(V),V},g=function(){v.enable=function(){},c=!0;var V=y.f,b=a([].splice),B={};B[f]=1,V(B).length&&(y.f=function(I){for(var w=V(I),T=0,A=w.length;T<A;T++)if(w[T]===f){b(w,T,1);break}return w},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:S.f}))},v=L.exports={enable:g,fastKey:s,getWeakData:d,onFreeze:C};t[f]=!0},4471:function(L,r,n){"use strict";var e=n(73844),a=n(26856),t=n(66379),o=n(21650),m=n(3302),N=n(70192),y=n(97223),S=n(51653),k="Object already initialized",p=a.TypeError,l=a.WeakMap,c,f,i,u=function(v){return i(v)?f(v):c(v,{})},s=function(v){return function(h){var V;if(!t(h)||(V=f(h)).type!==v)throw new p("Incompatible receiver, "+v+" required");return V}};if(e||N.state){var d=N.state||(N.state=new l);d.get=d.get,d.has=d.has,d.set=d.set,c=function(v,h){if(d.has(v))throw new p(k);return h.facade=v,d.set(v,h),h},f=function(v){return d.get(v)||{}},i=function(v){return d.has(v)}}else{var C=y("state");S[C]=!0,c=function(v,h){if(m(v,C))throw new p(k);return h.facade=v,o(v,C,h),h},f=function(v){return m(v,C)?v[C]:{}},i=function(v){return m(v,C)}}L.exports={set:c,get:f,has:i,enforce:u,getterFor:s}},48594:function(L,r,n){"use strict";var e=n(95558),a=n(47730),t=e("iterator"),o=Array.prototype;L.exports=function(m){return m!==void 0&&(a.Array===m||o[t]===m)}},59882:function(L,r,n){"use strict";var e=n(8649);L.exports=Array.isArray||function(){function a(t){return e(t)==="Array"}return a}()},76567:function(L,r,n){"use strict";var e=n(48615);L.exports=function(a){var t=e(a);return t==="BigInt64Array"||t==="BigUint64Array"}},53664:function(L){"use strict";var r=typeof document=="object"&&document.all;L.exports=typeof r=="undefined"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"}},49632:function(L,r,n){"use strict";var e=n(72908),a=n(13586),t=n(53664),o=n(48615),m=n(22070),N=n(92004),y=function(){},S=[],k=m("Reflect","construct"),p=/^\s*(?:class|function)\b/,l=e(p.exec),c=!p.test(y),f=function(){function u(s){if(!t(s))return!1;try{return k(y,S,s),!0}catch(d){return!1}}return u}(),i=function(){function u(s){if(!t(s))return!1;switch(o(s)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return c||!!l(p,N(s))}catch(d){return!0}}return u}();i.sham=!0,L.exports=!k||a(function(){var u;return f(f.call)||!f(Object)||!f(function(){u=!0})||u})?i:f},75129:function(L,r,n){"use strict";var e=n(3302);L.exports=function(a){return a!==void 0&&(e(a,"value")||e(a,"writable"))}},23620:function(L,r,n){"use strict";var e=n(13586),a=n(53664),t=/#|\.prototype\./,o=function(p,l){var c=N[m(p)];return c===S?!0:c===y?!1:a(l)?e(l):!!l},m=o.normalize=function(k){return String(k).replace(t,".").toLowerCase()},N=o.data={},y=o.NATIVE="N",S=o.POLYFILL="P";L.exports=o},76117:function(L,r,n){"use strict";var e=n(66379),a=Math.floor;L.exports=Number.isInteger||function(){function t(o){return!e(o)&&isFinite(o)&&a(o)===o}return t}()},62695:function(L){"use strict";L.exports=function(r){return r==null}},66379:function(L,r,n){"use strict";var e=n(53664);L.exports=function(a){return typeof a=="object"?a!==null:e(a)}},62600:function(L,r,n){"use strict";var e=n(66379);L.exports=function(a){return e(a)||a===null}},90139:function(L){"use strict";L.exports=!1},28774:function(L,r,n){"use strict";var e=n(66379),a=n(8649),t=n(95558),o=t("match");L.exports=function(m){var N;return e(m)&&((N=m[o])!==void 0?!!N:a(m)==="RegExp")}},43474:function(L,r,n){"use strict";var e=n(22070),a=n(53664),t=n(54341),o=n(95343),m=Object;L.exports=o?function(N){return typeof N=="symbol"}:function(N){var y=e("Symbol");return a(y)&&t(y.prototype,m(N))}},20453:function(L,r,n){"use strict";var e=n(8942),a=n(20276),t=n(45418),o=n(36787),m=n(48594),N=n(83207),y=n(54341),S=n(45731),k=n(52984),p=n(65169),l=TypeError,c=function(u,s){this.stopped=u,this.result=s},f=c.prototype;L.exports=function(i,u,s){var d=s&&s.that,C=!!(s&&s.AS_ENTRIES),g=!!(s&&s.IS_RECORD),v=!!(s&&s.IS_ITERATOR),h=!!(s&&s.INTERRUPTED),V=e(u,d),b,B,I,w,T,A,x,E=function(M){return b&&p(b,"normal",M),new c(!0,M)},P=function(M){return C?(t(M),h?V(M[0],M[1],E):V(M[0],M[1])):h?V(M,E):V(M)};if(g)b=i.iterator;else if(v)b=i;else{if(B=k(i),!B)throw new l(o(i)+" is not iterable");if(m(B)){for(I=0,w=N(i);w>I;I++)if(T=P(i[I]),T&&y(f,T))return T;return new c(!1)}b=S(i,B)}for(A=g?i.next:b.next;!(x=a(A,b)).done;){try{T=P(x.value)}catch(D){p(b,"throw",D)}if(typeof T=="object"&&T&&y(f,T))return T}return new c(!1)}},65169:function(L,r,n){"use strict";var e=n(20276),a=n(45418),t=n(76540);L.exports=function(o,m,N){var y,S;a(o);try{if(y=t(o,"return"),!y){if(m==="throw")throw N;return N}y=e(y,o)}catch(k){S=!0,y=k}if(m==="throw")throw N;if(S)throw y;return a(y),N}},41903:function(L,r,n){"use strict";var e=n(83665).IteratorPrototype,a=n(15439),t=n(73970),o=n(15676),m=n(47730),N=function(){return this};L.exports=function(y,S,k,p){var l=S+" Iterator";return y.prototype=a(e,{next:t(+!p,k)}),o(y,l,!1,!0),m[l]=N,y}},21436:function(L,r,n){"use strict";var e=n(3116),a=n(20276),t=n(90139),o=n(15340),m=n(53664),N=n(41903),y=n(56379),S=n(91420),k=n(15676),p=n(21650),l=n(60855),c=n(95558),f=n(47730),i=n(83665),u=o.PROPER,s=o.CONFIGURABLE,d=i.IteratorPrototype,C=i.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v="keys",h="values",V="entries",b=function(){return this};L.exports=function(B,I,w,T,A,x,E){N(w,I,T);var P=function(Y){if(Y===A&&F)return F;if(!C&&Y&&Y in O)return O[Y];switch(Y){case v:return function(){function X(){return new w(this,Y)}return X}();case h:return function(){function X(){return new w(this,Y)}return X}();case V:return function(){function X(){return new w(this,Y)}return X}()}return function(){return new w(this)}},D=I+" Iterator",M=!1,O=B.prototype,j=O[g]||O["@@iterator"]||A&&O[A],F=!C&&j||P(A),U=I==="Array"&&O.entries||j,_,z,H;if(U&&(_=y(U.call(new B)),_!==Object.prototype&&_.next&&(!t&&y(_)!==d&&(S?S(_,d):m(_[g])||l(_,g,b)),k(_,D,!0,!0),t&&(f[D]=b))),u&&A===h&&j&&j.name!==h&&(!t&&s?p(O,"name",h):(M=!0,F=function(){function $(){return a(j,this)}return $}())),A)if(z={values:P(h),keys:x?F:P(v),entries:P(V)},E)for(H in z)(C||M||!(H in O))&&l(O,H,z[H]);else e({target:I,proto:!0,forced:C||M},z);return(!t||E)&&O[g]!==F&&l(O,g,F,{name:A}),f[I]=F,z}},83665:function(L,r,n){"use strict";var e=n(13586),a=n(53664),t=n(66379),o=n(15439),m=n(56379),N=n(60855),y=n(95558),S=n(90139),k=y("iterator"),p=!1,l,c,f;[].keys&&(f=[].keys(),"next"in f?(c=m(m(f)),c!==Object.prototype&&(l=c)):p=!0);var i=!t(l)||e(function(){var u={};return l[k].call(u)!==u});i?l={}:S&&(l=o(l)),a(l[k])||N(l,k,function(){return this}),L.exports={IteratorPrototype:l,BUGGY_SAFARI_ITERATORS:p}},47730:function(L){"use strict";L.exports={}},83207:function(L,r,n){"use strict";var e=n(74369);L.exports=function(a){return e(a.length)}},40773:function(L,r,n){"use strict";var e=n(72908),a=n(13586),t=n(53664),o=n(3302),m=n(16361),N=n(15340).CONFIGURABLE,y=n(92004),S=n(4471),k=S.enforce,p=S.get,l=String,c=Object.defineProperty,f=e("".slice),i=e("".replace),u=e([].join),s=m&&!a(function(){return c(function(){},"length",{value:8}).length!==8}),d=String(String).split("String"),C=L.exports=function(g,v,h){f(l(v),0,7)==="Symbol("&&(v="["+i(l(v),/^Symbol\(([^)]*)\)/,"$1")+"]"),h&&h.getter&&(v="get "+v),h&&h.setter&&(v="set "+v),(!o(g,"name")||N&&g.name!==v)&&(m?c(g,"name",{value:v,configurable:!0}):g.name=v),s&&h&&o(h,"arity")&&g.length!==h.arity&&c(g,"length",{value:h.arity});try{h&&o(h,"constructor")&&h.constructor?m&&c(g,"prototype",{writable:!1}):g.prototype&&(g.prototype=void 0)}catch(b){}var V=k(g);return o(V,"source")||(V.source=u(d,typeof v=="string"?v:"")),g};Function.prototype.toString=C(function(){function g(){return t(this)&&p(this).source||y(this)}return g}(),"toString")},80563:function(L){"use strict";var r=Math.expm1,n=Math.exp;L.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!==-2e-17?function(){function e(a){var t=+a;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}return e}():r},27509:function(L,r,n){"use strict";var e=n(30585),a=Math.abs,t=2220446049250313e-31,o=1/t,m=function(y){return y+o-o};L.exports=function(N,y,S,k){var p=+N,l=a(p),c=e(p);if(l<k)return c*m(l/k/y)*k*y;var f=(1+y/t)*l,i=f-(f-l);return i>S||i!==i?c*(1/0):c*i}},48705:function(L,r,n){"use strict";var e=n(27509),a=11920928955078125e-23,t=34028234663852886e22,o=11754943508222875e-54;L.exports=Math.fround||function(){function m(N){return e(N,a,t,o)}return m}()},74347:function(L){"use strict";var r=Math.log,n=Math.LOG10E;L.exports=Math.log10||function(){function e(a){return r(a)*n}return e}()},50169:function(L){"use strict";var r=Math.log;L.exports=Math.log1p||function(){function n(e){var a=+e;return a>-1e-8&&a<1e-8?a-a*a/2:r(1+a)}return n}()},30585:function(L){"use strict";L.exports=Math.sign||function(){function r(n){var e=+n;return e===0||e!==e?e:e<0?-1:1}return r}()},54037:function(L){"use strict";var r=Math.ceil,n=Math.floor;L.exports=Math.trunc||function(){function e(a){var t=+a;return(t>0?n:r)(t)}return e}()},60816:function(L,r,n){"use strict";var e=n(26856),a=n(8975),t=n(8942),o=n(87073).set,m=n(8274),N=n(25184),y=n(79034),S=n(71979),k=n(86727),p=e.MutationObserver||e.WebKitMutationObserver,l=e.document,c=e.process,f=e.Promise,i=a("queueMicrotask"),u,s,d,C,g;if(!i){var v=new m,h=function(){var b,B;for(k&&(b=c.domain)&&b.exit();B=v.get();)try{B()}catch(I){throw v.head&&u(),I}b&&b.enter()};!N&&!k&&!S&&p&&l?(s=!0,d=l.createTextNode(""),new p(h).observe(d,{characterData:!0}),u=function(){d.data=s=!s}):!y&&f&&f.resolve?(C=f.resolve(void 0),C.constructor=f,g=t(C.then,C),u=function(){g(h)}):k?u=function(){c.nextTick(h)}:(o=t(o,e),u=function(){o(h)}),i=function(b){v.head||u(),v.add(b)}}L.exports=i},14187:function(L,r,n){"use strict";var e=n(79474),a=TypeError,t=function(m){var N,y;this.promise=new m(function(S,k){if(N!==void 0||y!==void 0)throw new a("Bad Promise constructor");N=S,y=k}),this.resolve=e(N),this.reject=e(y)};L.exports.f=function(o){return new t(o)}},75816:function(L,r,n){"use strict";var e=n(28774),a=TypeError;L.exports=function(t){if(e(t))throw new a("The method doesn't accept regular expressions");return t}},23944:function(L,r,n){"use strict";var e=n(26856),a=e.isFinite;L.exports=Number.isFinite||function(){function t(o){return typeof o=="number"&&a(o)}return t}()},98973:function(L,r,n){"use strict";var e=n(26856),a=n(13586),t=n(72908),o=n(8758),m=n(47913).trim,N=n(47410),y=t("".charAt),S=e.parseFloat,k=e.Symbol,p=k&&k.iterator,l=1/S(N+"-0")!==-1/0||p&&!a(function(){S(Object(p))});L.exports=l?function(){function c(f){var i=m(o(f)),u=S(i);return u===0&&y(i,0)==="-"?-0:u}return c}():S},41148:function(L,r,n){"use strict";var e=n(26856),a=n(13586),t=n(72908),o=n(8758),m=n(47913).trim,N=n(47410),y=e.parseInt,S=e.Symbol,k=S&&S.iterator,p=/^[+-]?0x/i,l=t(p.exec),c=y(N+"08")!==8||y(N+"0x16")!==22||k&&!a(function(){y(Object(k))});L.exports=c?function(){function f(i,u){var s=m(o(i));return y(s,u>>>0||(l(p,s)?16:10))}return f}():y},23554:function(L,r,n){"use strict";var e=n(16361),a=n(72908),t=n(20276),o=n(13586),m=n(99869),N=n(61791),y=n(10409),S=n(63549),k=n(80689),p=Object.assign,l=Object.defineProperty,c=a([].concat);L.exports=!p||o(function(){if(e&&p({b:1},p(l({},"a",{enumerable:!0,get:function(){function d(){l(this,"b",{value:3,enumerable:!1})}return d}()}),{b:2})).b!==1)return!0;var f={},i={},u=Symbol("assign detection"),s="abcdefghijklmnopqrst";return f[u]=7,s.split("").forEach(function(d){i[d]=d}),p({},f)[u]!==7||m(p({},i)).join("")!==s})?function(){function f(i,u){for(var s=S(i),d=arguments.length,C=1,g=N.f,v=y.f;d>C;)for(var h=k(arguments[C++]),V=g?c(m(h),g(h)):m(h),b=V.length,B=0,I;b>B;)I=V[B++],(!e||t(v,h,I))&&(s[I]=h[I]);return s}return f}():p},15439:function(L,r,n){"use strict";var e=n(45418),a=n(55119),t=n(38139),o=n(51653),m=n(21474),N=n(55642),y=n(97223),S=">",k="<",p="prototype",l="script",c=y("IE_PROTO"),f=function(){},i=function(v){return k+l+S+v+k+"/"+l+S},u=function(v){v.write(i("")),v.close();var h=v.parentWindow.Object;return v=null,h},s=function(){var v=N("iframe"),h="java"+l+":",V;return v.style.display="none",m.appendChild(v),v.src=String(h),V=v.contentWindow.document,V.open(),V.write(i("document.F=Object")),V.close(),V.F},d,C=function(){try{d=new ActiveXObject("htmlfile")}catch(h){}C=typeof document!="undefined"?document.domain&&d?u(d):s():u(d);for(var v=t.length;v--;)delete C[p][t[v]];return C()};o[c]=!0,L.exports=Object.create||function(){function g(v,h){var V;return v!==null?(f[p]=e(v),V=new f,f[p]=null,V[c]=v):V=C(),h===void 0?V:a.f(V,h)}return g}()},55119:function(L,r,n){"use strict";var e=n(16361),a=n(87168),t=n(8165),o=n(45418),m=n(54292),N=n(99869);r.f=e&&!a?Object.defineProperties:function(){function y(S,k){o(S);for(var p=m(k),l=N(k),c=l.length,f=0,i;c>f;)t.f(S,i=l[f++],p[i]);return S}return y}()},8165:function(L,r,n){"use strict";var e=n(16361),a=n(16109),t=n(87168),o=n(45418),m=n(72445),N=TypeError,y=Object.defineProperty,S=Object.getOwnPropertyDescriptor,k="enumerable",p="configurable",l="writable";r.f=e?t?function(){function c(f,i,u){if(o(f),i=m(i),o(u),typeof f=="function"&&i==="prototype"&&"value"in u&&l in u&&!u[l]){var s=S(f,i);s&&s[l]&&(f[i]=u.value,u={configurable:p in u?u[p]:s[p],enumerable:k in u?u[k]:s[k],writable:!1})}return y(f,i,u)}return c}():y:function(){function c(f,i,u){if(o(f),i=m(i),o(u),a)try{return y(f,i,u)}catch(s){}if("get"in u||"set"in u)throw new N("Accessors not supported");return"value"in u&&(f[i]=u.value),f}return c}()},19765:function(L,r,n){"use strict";var e=n(16361),a=n(20276),t=n(10409),o=n(73970),m=n(54292),N=n(72445),y=n(3302),S=n(16109),k=Object.getOwnPropertyDescriptor;r.f=e?k:function(){function p(l,c){if(l=m(l),c=N(c),S)try{return k(l,c)}catch(f){}if(y(l,c))return o(!a(t.f,l,c),l[c])}return p}()},31024:function(L,r,n){"use strict";var e=n(8649),a=n(54292),t=n(60097).f,o=n(31170),m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],N=function(S){try{return t(S)}catch(k){return o(m)}};L.exports.f=function(){function y(S){return m&&e(S)==="Window"?N(S):t(a(S))}return y}()},60097:function(L,r,n){"use strict";var e=n(49871),a=n(38139),t=a.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(){function o(m){return e(m,t)}return o}()},61791:function(L,r){"use strict";r.f=Object.getOwnPropertySymbols},56379:function(L,r,n){"use strict";var e=n(3302),a=n(53664),t=n(63549),o=n(97223),m=n(62297),N=o("IE_PROTO"),y=Object,S=y.prototype;L.exports=m?y.getPrototypeOf:function(k){var p=t(k);if(e(p,N))return p[N];var l=p.constructor;return a(l)&&p instanceof l?l.prototype:p instanceof y?S:null}},58221:function(L,r,n){"use strict";var e=n(13586),a=n(66379),t=n(8649),o=n(8685),m=Object.isExtensible,N=e(function(){m(1)});L.exports=N||o?function(){function y(S){return!a(S)||o&&t(S)==="ArrayBuffer"?!1:m?m(S):!0}return y}():m},54341:function(L,r,n){"use strict";var e=n(72908);L.exports=e({}.isPrototypeOf)},49871:function(L,r,n){"use strict";var e=n(72908),a=n(3302),t=n(54292),o=n(33483).indexOf,m=n(51653),N=e([].push);L.exports=function(y,S){var k=t(y),p=0,l=[],c;for(c in k)!a(m,c)&&a(k,c)&&N(l,c);for(;S.length>p;)a(k,c=S[p++])&&(~o(l,c)||N(l,c));return l}},99869:function(L,r,n){"use strict";var e=n(49871),a=n(38139);L.exports=Object.keys||function(){function t(o){return e(o,a)}return t}()},10409:function(L,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,a=e&&!n.call({1:2},1);r.f=a?function(){function t(o){var m=e(this,o);return!!m&&m.enumerable}return t}():n},6205:function(L,r,n){"use strict";var e=n(90139),a=n(26856),t=n(13586),o=n(27204);L.exports=e||!t(function(){if(!(o&&o<535)){var m=Math.random();__defineSetter__.call(null,m,function(){}),delete a[m]}})},91420:function(L,r,n){"use strict";var e=n(53715),a=n(45418),t=n(30907);L.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var o=!1,m={},N;try{N=e(Object.prototype,"__proto__","set"),N(m,[]),o=m instanceof Array}catch(y){}return function(){function y(S,k){return a(S),t(k),o?N(S,k):S.__proto__=k,S}return y}()}():void 0)},64266:function(L,r,n){"use strict";var e=n(16361),a=n(13586),t=n(72908),o=n(56379),m=n(99869),N=n(54292),y=n(10409).f,S=t(y),k=t([].push),p=e&&a(function(){var c=Object.create(null);return c[2]=2,!S(c,2)}),l=function(f){return function(i){for(var u=N(i),s=m(u),d=p&&o(u)===null,C=s.length,g=0,v=[],h;C>g;)h=s[g++],(!e||(d?h in u:S(u,h)))&&k(v,f?[h,u[h]]:u[h]);return v}};L.exports={entries:l(!0),values:l(!1)}},6625:function(L,r,n){"use strict";var e=n(41936),a=n(48615);L.exports=e?{}.toString:function(){function t(){return"[object "+a(this)+"]"}return t}()},56109:function(L,r,n){"use strict";var e=n(20276),a=n(53664),t=n(66379),o=TypeError;L.exports=function(m,N){var y,S;if(N==="string"&&a(y=m.toString)&&!t(S=e(y,m))||a(y=m.valueOf)&&!t(S=e(y,m))||N!=="string"&&a(y=m.toString)&&!t(S=e(y,m)))return S;throw new o("Can't convert object to primitive value")}},53988:function(L,r,n){"use strict";var e=n(22070),a=n(72908),t=n(60097),o=n(61791),m=n(45418),N=a([].concat);L.exports=e("Reflect","ownKeys")||function(){function y(S){var k=t.f(m(S)),p=o.f;return p?N(k,p(S)):k}return y}()},55601:function(L,r,n){"use strict";var e=n(26856);L.exports=e},73034:function(L){"use strict";L.exports=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}}},14657:function(L,r,n){"use strict";var e=n(26856),a=n(3e3),t=n(53664),o=n(23620),m=n(92004),N=n(95558),y=n(52460),S=n(53437),k=n(90139),p=n(43541),l=a&&a.prototype,c=N("species"),f=!1,i=t(e.PromiseRejectionEvent),u=o("Promise",function(){var s=m(a),d=s!==String(a);if(!d&&p===66||k&&!(l.catch&&l.finally))return!0;if(!p||p<51||!/native code/.test(s)){var C=new a(function(h){h(1)}),g=function(V){V(function(){},function(){})},v=C.constructor={};if(v[c]=g,f=C.then(function(){})instanceof g,!f)return!0}return!d&&(y||S)&&!i});L.exports={CONSTRUCTOR:u,REJECTION_EVENT:i,SUBCLASSING:f}},3e3:function(L,r,n){"use strict";var e=n(26856);L.exports=e.Promise},61988:function(L,r,n){"use strict";var e=n(45418),a=n(66379),t=n(14187);L.exports=function(o,m){if(e(o),a(m)&&m.constructor===o)return m;var N=t.f(o),y=N.resolve;return y(m),N.promise}},18182:function(L,r,n){"use strict";var e=n(3e3),a=n(1608),t=n(14657).CONSTRUCTOR;L.exports=t||!a(function(o){e.all(o).then(void 0,function(){})})},69713:function(L,r,n){"use strict";var e=n(8165).f;L.exports=function(a,t,o){o in a||e(a,o,{configurable:!0,get:function(){function m(){return t[o]}return m}(),set:function(){function m(N){t[o]=N}return m}()})}},8274:function(L){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(){function n(e){var a={item:e,next:null},t=this.tail;t?t.next=a:this.head=a,this.tail=a}return n}(),get:function(){function n(){var e=this.head;if(e){var a=this.head=e.next;return a===null&&(this.tail=null),e.item}}return n}()},L.exports=r},59833:function(L,r,n){"use strict";var e=n(20276),a=n(45418),t=n(53664),o=n(8649),m=n(59049),N=TypeError;L.exports=function(y,S){var k=y.exec;if(t(k)){var p=e(k,y,S);return p!==null&&a(p),p}if(o(y)==="RegExp")return e(m,y,S);throw new N("RegExp#exec called on incompatible receiver")}},59049:function(L,r,n){"use strict";var e=n(20276),a=n(72908),t=n(8758),o=n(41913),m=n(96472),N=n(7624),y=n(15439),S=n(4471).get,k=n(18095),p=n(17329),l=N("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,f=c,i=a("".charAt),u=a("".indexOf),s=a("".replace),d=a("".slice),C=function(){var V=/a/,b=/b*/g;return e(c,V,"a"),e(c,b,"a"),V.lastIndex!==0||b.lastIndex!==0}(),g=m.BROKEN_CARET,v=/()??/.exec("")[1]!==void 0,h=C||v||g||k||p;h&&(f=function(){function V(b){var B=this,I=S(B),w=t(b),T=I.raw,A,x,E,P,D,M,O;if(T)return T.lastIndex=B.lastIndex,A=e(f,T,w),B.lastIndex=T.lastIndex,A;var j=I.groups,F=g&&B.sticky,U=e(o,B),_=B.source,z=0,H=w;if(F&&(U=s(U,"y",""),u(U,"g")===-1&&(U+="g"),H=d(w,B.lastIndex),B.lastIndex>0&&(!B.multiline||B.multiline&&i(w,B.lastIndex-1)!=="\n")&&(_="(?: "+_+")",H=" "+H,z++),x=new RegExp("^(?:"+_+")",U)),v&&(x=new RegExp("^"+_+"$(?!\\s)",U)),C&&(E=B.lastIndex),P=e(c,F?x:B,H),F?P?(P.input=d(P.input,z),P[0]=d(P[0],z),P.index=B.lastIndex,B.lastIndex+=P[0].length):B.lastIndex=0:C&&P&&(B.lastIndex=B.global?P.index+P[0].length:E),v&&P&&P.length>1&&e(l,P[0],x,function(){for(D=1;D<arguments.length-2;D++)arguments[D]===void 0&&(P[D]=void 0)}),P&&j)for(P.groups=M=y(null),D=0;D<j.length;D++)O=j[D],M[O[0]]=P[O[1]];return P}return V}()),L.exports=f},41913:function(L,r,n){"use strict";var e=n(45418);L.exports=function(){var a=e(this),t="";return a.hasIndices&&(t+="d"),a.global&&(t+="g"),a.ignoreCase&&(t+="i"),a.multiline&&(t+="m"),a.dotAll&&(t+="s"),a.unicode&&(t+="u"),a.unicodeSets&&(t+="v"),a.sticky&&(t+="y"),t}},13980:function(L,r,n){"use strict";var e=n(20276),a=n(3302),t=n(54341),o=n(41913),m=RegExp.prototype;L.exports=function(N){var y=N.flags;return y===void 0&&!("flags"in m)&&!a(N,"flags")&&t(m,N)?e(o,N):y}},96472:function(L,r,n){"use strict";var e=n(13586),a=n(26856),t=a.RegExp,o=e(function(){var y=t("a","y");return y.lastIndex=2,y.exec("abcd")!==null}),m=o||e(function(){return!t("a","y").sticky}),N=o||e(function(){var y=t("^r","gy");return y.lastIndex=2,y.exec("str")!==null});L.exports={BROKEN_CARET:N,MISSED_STICKY:m,UNSUPPORTED_Y:o}},18095:function(L,r,n){"use strict";var e=n(13586),a=n(26856),t=a.RegExp;L.exports=e(function(){var o=t(".","s");return!(o.dotAll&&o.test("\n")&&o.flags==="s")})},17329:function(L,r,n){"use strict";var e=n(13586),a=n(26856),t=a.RegExp;L.exports=e(function(){var o=t("(?<a>b)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$<a>c")!=="bc"})},305:function(L,r,n){"use strict";var e=n(62695),a=TypeError;L.exports=function(t){if(e(t))throw new a("Can't call method on "+t);return t}},8975:function(L,r,n){"use strict";var e=n(26856),a=n(16361),t=Object.getOwnPropertyDescriptor;L.exports=function(o){if(!a)return e[o];var m=t(e,o);return m&&m.value}},91935:function(L){"use strict";L.exports=Object.is||function(){function r(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e}return r}()},17459:function(L,r,n){"use strict";var e=n(26856),a=n(47244),t=n(53664),o=n(68261),m=n(74247),N=n(31170),y=n(92827),S=e.Function,k=/MSIE .\./.test(m)||o&&function(){var p=e.Bun.version.split(".");return p.length<3||p[0]==="0"&&(p[1]<3||p[1]==="3"&&p[2]==="0")}();L.exports=function(p,l){var c=l?2:1;return k?function(f,i){var u=y(arguments.length,1)>c,s=t(f)?f:S(f),d=u?N(arguments,c):[],C=u?function(){a(s,this,d)}:s;return l?p(C,i):p(C)}:p}},92468:function(L,r,n){"use strict";var e=n(22070),a=n(57301),t=n(95558),o=n(16361),m=t("species");L.exports=function(N){var y=e(N);o&&y&&!y[m]&&a(y,m,{configurable:!0,get:function(){function S(){return this}return S}()})}},15676:function(L,r,n){"use strict";var e=n(8165).f,a=n(3302),t=n(95558),o=t("toStringTag");L.exports=function(m,N,y){m&&!y&&(m=m.prototype),m&&!a(m,o)&&e(m,o,{configurable:!0,value:N})}},97223:function(L,r,n){"use strict";var e=n(7624),a=n(76246),t=e("keys");L.exports=function(o){return t[o]||(t[o]=a(o))}},70192:function(L,r,n){"use strict";var e=n(26856),a=n(17553),t="__core-js_shared__",o=e[t]||a(t,{});L.exports=o},7624:function(L,r,n){"use strict";var e=n(90139),a=n(70192);(L.exports=function(t,o){return a[t]||(a[t]=o!==void 0?o:{})})("versions",[]).push({version:"3.35.0",mode:e?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE",source:"https://github.com/zloirock/core-js"})},83604:function(L,r,n){"use strict";var e=n(45418),a=n(48218),t=n(62695),o=n(95558),m=o("species");L.exports=function(N,y){var S=e(N).constructor,k;return S===void 0||t(k=e(S)[m])?y:a(k)}},81626:function(L,r,n){"use strict";var e=n(13586);L.exports=function(a){return e(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},13300:function(L,r,n){"use strict";var e=n(72908),a=n(84501),t=n(8758),o=n(305),m=e("".charAt),N=e("".charCodeAt),y=e("".slice),S=function(p){return function(l,c){var f=t(o(l)),i=a(c),u=f.length,s,d;return i<0||i>=u?p?"":void 0:(s=N(f,i),s<55296||s>56319||i+1===u||(d=N(f,i+1))<56320||d>57343?p?m(f,i):s:p?y(f,i,i+2):(s-55296<<10)+(d-56320)+65536)}};L.exports={codeAt:S(!1),charAt:S(!0)}},51468:function(L,r,n){"use strict";var e=n(74247);L.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e)},81290:function(L,r,n){"use strict";var e=n(72908),a=n(74369),t=n(8758),o=n(75463),m=n(305),N=e(o),y=e("".slice),S=Math.ceil,k=function(l){return function(c,f,i){var u=t(m(c)),s=a(f),d=u.length,C=i===void 0?" ":t(i),g,v;return s<=d||C===""?u:(g=s-d,v=N(C,S(g/C.length)),v.length>g&&(v=y(v,0,g)),l?u+v:v+u)}};L.exports={start:k(!1),end:k(!0)}},75463:function(L,r,n){"use strict";var e=n(84501),a=n(8758),t=n(305),o=RangeError;L.exports=function(){function m(N){var y=a(t(this)),S="",k=e(N);if(k<0||k===1/0)throw new o("Wrong number of repetitions");for(;k>0;(k>>>=1)&&(y+=y))k&1&&(S+=y);return S}return m}()},45745:function(L,r,n){"use strict";var e=n(47913).end,a=n(15677);L.exports=a("trimEnd")?function(){function t(){return e(this)}return t}():"".trimEnd},15677:function(L,r,n){"use strict";var e=n(15340).PROPER,a=n(13586),t=n(47410),o="\u200B\x85\u180E";L.exports=function(m){return a(function(){return!!t[m]()||o[m]()!==o||e&&t[m].name!==m})}},35634:function(L,r,n){"use strict";var e=n(47913).start,a=n(15677);L.exports=a("trimStart")?function(){function t(){return e(this)}return t}():"".trimStart},47913:function(L,r,n){"use strict";var e=n(72908),a=n(305),t=n(8758),o=n(47410),m=e("".replace),N=RegExp("^["+o+"]+"),y=RegExp("(^|[^"+o+"])["+o+"]+$"),S=function(p){return function(l){var c=t(a(l));return p&1&&(c=m(c,N,"")),p&2&&(c=m(c,y,"$1")),c}};L.exports={start:S(1),end:S(2),trim:S(3)}},61855:function(L,r,n){"use strict";var e=n(43541),a=n(13586),t=n(26856),o=t.String;L.exports=!!Object.getOwnPropertySymbols&&!a(function(){var m=Symbol("symbol detection");return!o(m)||!(Object(m)instanceof Symbol)||!Symbol.sham&&e&&e<41})},28952:function(L,r,n){"use strict";var e=n(20276),a=n(22070),t=n(95558),o=n(60855);L.exports=function(){var m=a("Symbol"),N=m&&m.prototype,y=N&&N.valueOf,S=t("toPrimitive");N&&!N[S]&&o(N,S,function(k){return e(y,this)},{arity:1})}},16010:function(L,r,n){"use strict";var e=n(61855);L.exports=e&&!!Symbol.for&&!!Symbol.keyFor},87073:function(L,r,n){"use strict";var e=n(26856),a=n(47244),t=n(8942),o=n(53664),m=n(3302),N=n(13586),y=n(21474),S=n(31170),k=n(55642),p=n(92827),l=n(25184),c=n(86727),f=e.setImmediate,i=e.clearImmediate,u=e.process,s=e.Dispatch,d=e.Function,C=e.MessageChannel,g=e.String,v=0,h={},V="onreadystatechange",b,B,I,w;N(function(){b=e.location});var T=function(D){if(m(h,D)){var M=h[D];delete h[D],M()}},A=function(D){return function(){T(D)}},x=function(D){T(D.data)},E=function(D){e.postMessage(g(D),b.protocol+"//"+b.host)};(!f||!i)&&(f=function(){function P(D){p(arguments.length,1);var M=o(D)?D:d(D),O=S(arguments,1);return h[++v]=function(){a(M,void 0,O)},B(v),v}return P}(),i=function(){function P(D){delete h[D]}return P}(),c?B=function(D){u.nextTick(A(D))}:s&&s.now?B=function(D){s.now(A(D))}:C&&!l?(I=new C,w=I.port2,I.port1.onmessage=x,B=t(w.postMessage,w)):e.addEventListener&&o(e.postMessage)&&!e.importScripts&&b&&b.protocol!=="file:"&&!N(E)?(B=E,e.addEventListener("message",x,!1)):V in k("script")?B=function(D){y.appendChild(k("script"))[V]=function(){y.removeChild(this),T(D)}}:B=function(D){setTimeout(A(D),0)}),L.exports={set:f,clear:i}},7950:function(L,r,n){"use strict";var e=n(72908);L.exports=e(1 .valueOf)},39531:function(L,r,n){"use strict";var e=n(84501),a=Math.max,t=Math.min;L.exports=function(o,m){var N=e(o);return N<0?a(N+m,0):t(N,m)}},73873:function(L,r,n){"use strict";var e=n(9560),a=TypeError;L.exports=function(t){var o=e(t,"number");if(typeof o=="number")throw new a("Can't convert number to bigint");return BigInt(o)}},28968:function(L,r,n){"use strict";var e=n(84501),a=n(74369),t=RangeError;L.exports=function(o){if(o===void 0)return 0;var m=e(o),N=a(m);if(m!==N)throw new t("Wrong length or index");return N}},54292:function(L,r,n){"use strict";var e=n(80689),a=n(305);L.exports=function(t){return e(a(t))}},84501:function(L,r,n){"use strict";var e=n(54037);L.exports=function(a){var t=+a;return t!==t||t===0?0:e(t)}},74369:function(L,r,n){"use strict";var e=n(84501),a=Math.min;L.exports=function(t){return t>0?a(e(t),9007199254740991):0}},63549:function(L,r,n){"use strict";var e=n(305),a=Object;L.exports=function(t){return a(e(t))}},45476:function(L,r,n){"use strict";var e=n(70685),a=RangeError;L.exports=function(t,o){var m=e(t);if(m%o)throw new a("Wrong offset");return m}},70685:function(L,r,n){"use strict";var e=n(84501),a=RangeError;L.exports=function(t){var o=e(t);if(o<0)throw new a("The argument can't be less than 0");return o}},9560:function(L,r,n){"use strict";var e=n(20276),a=n(66379),t=n(43474),o=n(76540),m=n(56109),N=n(95558),y=TypeError,S=N("toPrimitive");L.exports=function(k,p){if(!a(k)||t(k))return k;var l=o(k,S),c;if(l){if(p===void 0&&(p="default"),c=e(l,k,p),!a(c)||t(c))return c;throw new y("Can't convert object to primitive value")}return p===void 0&&(p="number"),m(k,p)}},72445:function(L,r,n){"use strict";var e=n(9560),a=n(43474);L.exports=function(t){var o=e(t,"string");return a(o)?o:o+""}},41936:function(L,r,n){"use strict";var e=n(95558),a=e("toStringTag"),t={};t[a]="z",L.exports=String(t)==="[object z]"},8758:function(L,r,n){"use strict";var e=n(48615),a=String;L.exports=function(t){if(e(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(t)}},52834:function(L){"use strict";var r=Math.round;L.exports=function(n){var e=r(n);return e<0?0:e>255?255:e&255}},36787:function(L){"use strict";var r=String;L.exports=function(n){try{return r(n)}catch(e){return"Object"}}},43186:function(L,r,n){"use strict";var e=n(3116),a=n(26856),t=n(20276),o=n(16361),m=n(45410),N=n(30432),y=n(31284),S=n(14434),k=n(73970),p=n(21650),l=n(76117),c=n(74369),f=n(28968),i=n(45476),u=n(52834),s=n(72445),d=n(3302),C=n(48615),g=n(66379),v=n(43474),h=n(15439),V=n(54341),b=n(91420),B=n(60097).f,I=n(12778),w=n(18539).forEach,T=n(92468),A=n(57301),x=n(8165),E=n(19765),P=n(21465),D=n(4471),M=n(43405),O=D.get,j=D.set,F=D.enforce,U=x.f,_=E.f,z=a.RangeError,H=y.ArrayBuffer,$=H.prototype,Y=y.DataView,X=N.NATIVE_ARRAY_BUFFER_VIEWS,re=N.TYPED_ARRAY_TAG,ae=N.TypedArray,se=N.TypedArrayPrototype,pe=N.isTypedArray,ye="BYTES_PER_ELEMENT",Be="Wrong length",he=function(ne,be){A(ne,be,{configurable:!0,get:function(){function fe(){return O(this)[be]}return fe}()})},oe=function(ne){var be;return V($,ne)||(be=C(ne))==="ArrayBuffer"||be==="SharedArrayBuffer"},Z=function(ne,be){return pe(ne)&&!v(be)&&be in ne&&l(+be)&&be>=0},q=function(){function me(ne,be){return be=s(be),Z(ne,be)?k(2,ne[be]):_(ne,be)}return me}(),ue=function(){function me(ne,be,fe){return be=s(be),Z(ne,be)&&g(fe)&&d(fe,"value")&&!d(fe,"get")&&!d(fe,"set")&&!fe.configurable&&(!d(fe,"writable")||fe.writable)&&(!d(fe,"enumerable")||fe.enumerable)?(ne[be]=fe.value,ne):U(ne,be,fe)}return me}();o?(X||(E.f=q,x.f=ue,he(se,"buffer"),he(se,"byteOffset"),he(se,"byteLength"),he(se,"length")),e({target:"Object",stat:!0,forced:!X},{getOwnPropertyDescriptor:q,defineProperty:ue}),L.exports=function(me,ne,be){var fe=me.match(/\d+/)[0]/8,ge=me+(be?"Clamped":"")+"Array",ke="get"+me,ve="set"+me,Se=a[ge],we=Se,xe=we&&we.prototype,Oe={},We=function(de,Ne){var Ae=O(de);return Ae.view[ke](Ne*fe+Ae.byteOffset,!0)},Ve=function(de,Ne,Ae){var De=O(de);De.view[ve](Ne*fe+De.byteOffset,be?u(Ae):Ae,!0)},ce=function(de,Ne){U(de,Ne,{get:function(){function Ae(){return We(this,Ne)}return Ae}(),set:function(){function Ae(De){return Ve(this,Ne,De)}return Ae}(),enumerable:!0})};X?m&&(we=ne(function(Ce,de,Ne,Ae){return S(Ce,xe),M(function(){return g(de)?oe(de)?Ae!==void 0?new Se(de,i(Ne,fe),Ae):Ne!==void 0?new Se(de,i(Ne,fe)):new Se(de):pe(de)?P(we,de):t(I,we,de):new Se(f(de))}(),Ce,we)}),b&&b(we,ae),w(B(Se),function(Ce){Ce in we||p(we,Ce,Se[Ce])}),we.prototype=xe):(we=ne(function(Ce,de,Ne,Ae){S(Ce,xe);var De=0,je=0,_e,Ue,Ke;if(!g(de))Ke=f(de),Ue=Ke*fe,_e=new H(Ue);else if(oe(de)){_e=de,je=i(Ne,fe);var Ge=de.byteLength;if(Ae===void 0){if(Ge%fe)throw new z(Be);if(Ue=Ge-je,Ue<0)throw new z(Be)}else if(Ue=c(Ae)*fe,Ue+je>Ge)throw new z(Be);Ke=Ue/fe}else return pe(de)?P(we,de):t(I,we,de);for(j(Ce,{buffer:_e,byteOffset:je,byteLength:Ue,length:Ke,view:new Y(_e)});De<Ke;)ce(Ce,De++)}),b&&b(we,ae),xe=we.prototype=h(se)),xe.constructor!==we&&p(xe,"constructor",we),F(xe).TypedArrayConstructor=we,re&&p(xe,re,ge);var le=we!==Se;Oe[ge]=we,e({global:!0,constructor:!0,forced:le,sham:!X},Oe),ye in we||p(we,ye,fe),ye in xe||p(xe,ye,fe),T(ge)}):L.exports=function(){}},45410:function(L,r,n){"use strict";var e=n(26856),a=n(13586),t=n(1608),o=n(30432).NATIVE_ARRAY_BUFFER_VIEWS,m=e.ArrayBuffer,N=e.Int8Array;L.exports=!o||!a(function(){N(1)})||!a(function(){new N(-1)})||!t(function(y){new N,new N(null),new N(1.5),new N(y)},!0)||a(function(){return new N(new m(2),1,void 0).length!==1})},85710:function(L,r,n){"use strict";var e=n(21465),a=n(9230);L.exports=function(t,o){return e(a(t),o)}},12778:function(L,r,n){"use strict";var e=n(8942),a=n(20276),t=n(48218),o=n(63549),m=n(83207),N=n(45731),y=n(52984),S=n(48594),k=n(76567),p=n(30432).aTypedArrayConstructor,l=n(73873);L.exports=function(){function c(f){var i=t(this),u=o(f),s=arguments.length,d=s>1?arguments[1]:void 0,C=d!==void 0,g=y(u),v,h,V,b,B,I,w,T;if(g&&!S(g))for(w=N(u,g),T=w.next,u=[];!(I=a(T,w)).done;)u.push(I.value);for(C&&s>2&&(d=e(d,arguments[2])),h=m(u),V=new(p(i))(h),b=k(V),v=0;h>v;v++)B=C?d(u[v],v):u[v],V[v]=b?l(B):+B;return V}return c}()},9230:function(L,r,n){"use strict";var e=n(30432),a=n(83604),t=e.aTypedArrayConstructor,o=e.getTypedArrayConstructor;L.exports=function(m){return t(a(m,o(m)))}},76246:function(L,r,n){"use strict";var e=n(72908),a=0,t=Math.random(),o=e(1 .toString);L.exports=function(m){return"Symbol("+(m===void 0?"":m)+")_"+o(++a+t,36)}},95343:function(L,r,n){"use strict";var e=n(61855);L.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},87168:function(L,r,n){"use strict";var e=n(16361),a=n(13586);L.exports=e&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},92827:function(L){"use strict";var r=TypeError;L.exports=function(n,e){if(n<e)throw new r("Not enough arguments");return n}},73844:function(L,r,n){"use strict";var e=n(26856),a=n(53664),t=e.WeakMap;L.exports=a(t)&&/native code/.test(String(t))},20614:function(L,r,n){"use strict";var e=n(55601),a=n(3302),t=n(15355),o=n(8165).f;L.exports=function(m){var N=e.Symbol||(e.Symbol={});a(N,m)||o(N,m,{value:t.f(m)})}},15355:function(L,r,n){"use strict";var e=n(95558);r.f=e},95558:function(L,r,n){"use strict";var e=n(26856),a=n(7624),t=n(3302),o=n(76246),m=n(61855),N=n(95343),y=e.Symbol,S=a("wks"),k=N?y.for||y:y&&y.withoutSetter||o;L.exports=function(p){return t(S,p)||(S[p]=m&&t(y,p)?y[p]:k("Symbol."+p)),S[p]}},47410:function(L){"use strict";L.exports=" \n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"},41365:function(L,r,n){"use strict";var e=n(3116),a=n(26856),t=n(31284),o=n(92468),m="ArrayBuffer",N=t[m],y=a[m];e({global:!0,constructor:!0,forced:y!==N},{ArrayBuffer:N}),o(m)},58874:function(L,r,n){"use strict";var e=n(3116),a=n(30432),t=a.NATIVE_ARRAY_BUFFER_VIEWS;e({target:"ArrayBuffer",stat:!0,forced:!t},{isView:a.isView})},85806:function(L,r,n){"use strict";var e=n(3116),a=n(69935),t=n(13586),o=n(31284),m=n(45418),N=n(39531),y=n(74369),S=n(83604),k=o.ArrayBuffer,p=o.DataView,l=p.prototype,c=a(k.prototype.slice),f=a(l.getUint8),i=a(l.setUint8),u=t(function(){return!new k(2).slice(1,void 0).byteLength});e({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:u},{slice:function(){function s(d,C){if(c&&C===void 0)return c(m(this),d);for(var g=m(this).byteLength,v=N(d,g),h=N(C===void 0?g:C,g),V=new(S(this,k))(y(h-v)),b=new p(this),B=new p(V),I=0;v<h;)i(B,I++,f(b,v++));return V}return s}()})},75836:function(L,r,n){"use strict";var e=n(3116),a=n(13586),t=n(59882),o=n(66379),m=n(63549),N=n(83207),y=n(54579),S=n(80750),k=n(51582),p=n(34924),l=n(95558),c=n(43541),f=l("isConcatSpreadable"),i=c>=51||!a(function(){var d=[];return d[f]=!1,d.concat()[0]!==d}),u=function(C){if(!o(C))return!1;var g=C[f];return g!==void 0?!!g:t(C)},s=!i||!p("concat");e({target:"Array",proto:!0,arity:1,forced:s},{concat:function(){function d(C){var g=m(this),v=k(g,0),h=0,V,b,B,I,w;for(V=-1,B=arguments.length;V<B;V++)if(w=V===-1?g:arguments[V],u(w))for(I=N(w),y(h+I),b=0;b<I;b++,h++)b in w&&S(v,h,w[b]);else y(h+1),S(v,h++,w);return v.length=h,v}return d}()})},33901:function(L,r,n){"use strict";var e=n(3116),a=n(28332),t=n(98759);e({target:"Array",proto:!0},{copyWithin:a}),t("copyWithin")},85803:function(L,r,n){"use strict";var e=n(3116),a=n(18539).every,t=n(56127),o=t("every");e({target:"Array",proto:!0,forced:!o},{every:function(){function m(N){return a(this,N,arguments.length>1?arguments[1]:void 0)}return m}()})},7216:function(L,r,n){"use strict";var e=n(3116),a=n(39948),t=n(98759);e({target:"Array",proto:!0},{fill:a}),t("fill")},50584:function(L,r,n){"use strict";var e=n(3116),a=n(18539).filter,t=n(34924),o=t("filter");e({target:"Array",proto:!0,forced:!o},{filter:function(){function m(N){return a(this,N,arguments.length>1?arguments[1]:void 0)}return m}()})},25972:function(L,r,n){"use strict";var e=n(3116),a=n(18539).findIndex,t=n(98759),o="findIndex",m=!0;o in[]&&Array(1)[o](function(){m=!1}),e({target:"Array",proto:!0,forced:m},{findIndex:function(){function N(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return N}()}),t(o)},26632:function(L,r,n){"use strict";var e=n(3116),a=n(18539).find,t=n(98759),o="find",m=!0;o in[]&&Array(1)[o](function(){m=!1}),e({target:"Array",proto:!0,forced:m},{find:function(){function N(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return N}()}),t(o)},14064:function(L,r,n){"use strict";var e=n(3116),a=n(73132),t=n(79474),o=n(63549),m=n(83207),N=n(51582);e({target:"Array",proto:!0},{flatMap:function(){function y(S){var k=o(this),p=m(k),l;return t(S),l=N(k,0),l.length=a(l,k,k,p,0,1,S,arguments.length>1?arguments[1]:void 0),l}return y}()})},55222:function(L,r,n){"use strict";var e=n(3116),a=n(73132),t=n(63549),o=n(83207),m=n(84501),N=n(51582);e({target:"Array",proto:!0},{flat:function(){function y(){var S=arguments.length?arguments[0]:void 0,k=t(this),p=o(k),l=N(k,0);return l.length=a(l,k,k,p,0,S===void 0?1:m(S)),l}return y}()})},68616:function(L,r,n){"use strict";var e=n(3116),a=n(16856);e({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},45168:function(L,r,n){"use strict";var e=n(3116),a=n(45056),t=n(1608),o=!t(function(m){Array.from(m)});e({target:"Array",stat:!0,forced:o},{from:a})},26088:function(L,r,n){"use strict";var e=n(3116),a=n(33483).includes,t=n(13586),o=n(98759),m=t(function(){return!Array(1).includes()});e({target:"Array",proto:!0,forced:m},{includes:function(){function N(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return N}()}),o("includes")},92654:function(L,r,n){"use strict";var e=n(3116),a=n(69935),t=n(33483).indexOf,o=n(56127),m=a([].indexOf),N=!!m&&1/m([1],1,-0)<0,y=N||!o("indexOf");e({target:"Array",proto:!0,forced:y},{indexOf:function(){function S(k){var p=arguments.length>1?arguments[1]:void 0;return N?m(this,k,p)||0:t(this,k,p)}return S}()})},58423:function(L,r,n){"use strict";var e=n(3116),a=n(59882);e({target:"Array",stat:!0},{isArray:a})},26017:function(L,r,n){"use strict";var e=n(54292),a=n(98759),t=n(47730),o=n(4471),m=n(8165).f,N=n(21436),y=n(32214),S=n(90139),k=n(16361),p="Array Iterator",l=o.set,c=o.getterFor(p);L.exports=N(Array,"Array",function(i,u){l(this,{type:p,target:e(i),index:0,kind:u})},function(){var i=c(this),u=i.target,s=i.index++;if(!u||s>=u.length)return i.target=void 0,y(void 0,!0);switch(i.kind){case"keys":return y(s,!1);case"values":return y(u[s],!1)}return y([s,u[s]],!1)},"values");var f=t.Arguments=t.Array;if(a("keys"),a("values"),a("entries"),!S&&k&&f.name!=="values")try{m(f,"name",{value:"values"})}catch(i){}},37808:function(L,r,n){"use strict";var e=n(3116),a=n(72908),t=n(80689),o=n(54292),m=n(56127),N=a([].join),y=t!==Object,S=y||!m("join",",");e({target:"Array",proto:!0,forced:S},{join:function(){function k(p){return N(o(this),p===void 0?",":p)}return k}()})},2509:function(L,r,n){"use strict";var e=n(3116),a=n(16400);e({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},2124:function(L,r,n){"use strict";var e=n(3116),a=n(18539).map,t=n(34924),o=t("map");e({target:"Array",proto:!0,forced:!o},{map:function(){function m(N){return a(this,N,arguments.length>1?arguments[1]:void 0)}return m}()})},38196:function(L,r,n){"use strict";var e=n(3116),a=n(13586),t=n(49632),o=n(80750),m=Array,N=a(function(){function y(){}return!(m.of.call(y)instanceof y)});e({target:"Array",stat:!0,forced:N},{of:function(){function y(){for(var S=0,k=arguments.length,p=new(t(this)?this:m)(k);k>S;)o(p,S,arguments[S++]);return p.length=k,p}return y}()})},56913:function(L,r,n){"use strict";var e=n(3116),a=n(58394).right,t=n(56127),o=n(43541),m=n(86727),N=!m&&o>79&&o<83,y=N||!t("reduceRight");e({target:"Array",proto:!0,forced:y},{reduceRight:function(){function S(k){return a(this,k,arguments.length,arguments.length>1?arguments[1]:void 0)}return S}()})},7731:function(L,r,n){"use strict";var e=n(3116),a=n(58394).left,t=n(56127),o=n(43541),m=n(86727),N=!m&&o>79&&o<83,y=N||!t("reduce");e({target:"Array",proto:!0,forced:y},{reduce:function(){function S(k){var p=arguments.length;return a(this,k,p,p>1?arguments[1]:void 0)}return S}()})},48704:function(L,r,n){"use strict";var e=n(3116),a=n(72908),t=n(59882),o=a([].reverse),m=[1,2];e({target:"Array",proto:!0,forced:String(m)===String(m.reverse())},{reverse:function(){function N(){return t(this)&&(this.length=this.length),o(this)}return N}()})},24077:function(L,r,n){"use strict";var e=n(3116),a=n(59882),t=n(49632),o=n(66379),m=n(39531),N=n(83207),y=n(54292),S=n(80750),k=n(95558),p=n(34924),l=n(31170),c=p("slice"),f=k("species"),i=Array,u=Math.max;e({target:"Array",proto:!0,forced:!c},{slice:function(){function s(d,C){var g=y(this),v=N(g),h=m(d,v),V=m(C===void 0?v:C,v),b,B,I;if(a(g)&&(b=g.constructor,t(b)&&(b===i||a(b.prototype))?b=void 0:o(b)&&(b=b[f],b===null&&(b=void 0)),b===i||b===void 0))return l(g,h,V);for(B=new(b===void 0?i:b)(u(V-h,0)),I=0;h<V;h++,I++)h in g&&S(B,I,g[h]);return B.length=I,B}return s}()})},60230:function(L,r,n){"use strict";var e=n(3116),a=n(18539).some,t=n(56127),o=t("some");e({target:"Array",proto:!0,forced:!o},{some:function(){function m(N){return a(this,N,arguments.length>1?arguments[1]:void 0)}return m}()})},43430:function(L,r,n){"use strict";var e=n(3116),a=n(72908),t=n(79474),o=n(63549),m=n(83207),N=n(81245),y=n(8758),S=n(13586),k=n(91183),p=n(56127),l=n(31574),c=n(88836),f=n(43541),i=n(27204),u=[],s=a(u.sort),d=a(u.push),C=S(function(){u.sort(void 0)}),g=S(function(){u.sort(null)}),v=p("sort"),h=!S(function(){if(f)return f<70;if(!(l&&l>3)){if(c)return!0;if(i)return i<603;var B="",I,w,T,A;for(I=65;I<76;I++){switch(w=String.fromCharCode(I),I){case 66:case 69:case 70:case 72:T=3;break;case 68:case 71:T=4;break;default:T=2}for(A=0;A<47;A++)u.push({k:w+A,v:T})}for(u.sort(function(x,E){return E.v-x.v}),A=0;A<u.length;A++)w=u[A].k.charAt(0),B.charAt(B.length-1)!==w&&(B+=w);return B!=="DGBEFHACIJK"}}),V=C||!g||!v||!h,b=function(I){return function(w,T){return T===void 0?-1:w===void 0?1:I!==void 0?+I(w,T)||0:y(w)>y(T)?1:-1}};e({target:"Array",proto:!0,forced:V},{sort:function(){function B(I){I!==void 0&&t(I);var w=o(this);if(h)return I===void 0?s(w):s(w,I);var T=[],A=m(w),x,E;for(E=0;E<A;E++)E in w&&d(T,w[E]);for(k(T,b(I)),x=m(T),E=0;E<x;)w[E]=T[E++];for(;E<A;)N(w,E++);return w}return B}()})},53407:function(L,r,n){"use strict";var e=n(92468);e("Array")},69220:function(L,r,n){"use strict";var e=n(3116),a=n(63549),t=n(39531),o=n(84501),m=n(83207),N=n(10779),y=n(54579),S=n(51582),k=n(80750),p=n(81245),l=n(34924),c=l("splice"),f=Math.max,i=Math.min;e({target:"Array",proto:!0,forced:!c},{splice:function(){function u(s,d){var C=a(this),g=m(C),v=t(s,g),h=arguments.length,V,b,B,I,w,T;for(h===0?V=b=0:h===1?(V=0,b=g-v):(V=h-2,b=i(f(o(d),0),g-v)),y(g+V-b),B=S(C,b),I=0;I<b;I++)w=v+I,w in C&&k(B,I,C[w]);if(B.length=b,V<b){for(I=v;I<g-b;I++)w=I+b,T=I+V,w in C?C[T]=C[w]:p(C,T);for(I=g;I>g-b+V;I--)p(C,I-1)}else if(V>b)for(I=g-b;I>v;I--)w=I+b-1,T=I+V-1,w in C?C[T]=C[w]:p(C,T);for(I=0;I<V;I++)C[I+v]=arguments[I+2];return N(C,g-b+V),B}return u}()})},55784:function(L,r,n){"use strict";var e=n(98759);e("flatMap")},72978:function(L,r,n){"use strict";var e=n(98759);e("flat")},42860:function(L,r,n){"use strict";var e=n(3116),a=n(31284),t=n(11559);e({global:!0,constructor:!0,forced:!t},{DataView:a.DataView})},3521:function(L,r,n){"use strict";n(42860)},94961:function(L,r,n){"use strict";var e=n(3116),a=n(72908),t=Date,o=a(t.prototype.getTime);e({target:"Date",stat:!0},{now:function(){function m(){return o(new t)}return m}()})},91777:function(L,r,n){"use strict";var e=n(3116),a=n(20228);e({target:"Date",proto:!0,forced:Date.prototype.toISOString!==a},{toISOString:a})},49615:function(L,r,n){"use strict";var e=n(3116),a=n(13586),t=n(63549),o=n(9560),m=a(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){function N(){return 1}return N}()})!==1});e({target:"Date",proto:!0,arity:1,forced:m},{toJSON:function(){function N(y){var S=t(this),k=o(S,"number");return typeof k=="number"&&!isFinite(k)?null:S.toISOString()}return N}()})},70700:function(L,r,n){"use strict";var e=n(3302),a=n(60855),t=n(81603),o=n(95558),m=o("toPrimitive"),N=Date.prototype;e(N,m)||a(N,m,t)},31032:function(L,r,n){"use strict";var e=n(72908),a=n(60855),t=Date.prototype,o="Invalid Date",m="toString",N=e(t[m]),y=e(t.getTime);String(new Date(NaN))!==o&&a(t,m,function(){function S(){var k=y(this);return k===k?N(this):o}return S}())},83329:function(L,r,n){"use strict";var e=n(3116),a=n(82060);e({target:"Function",proto:!0,forced:Function.bind!==a},{bind:a})},15700:function(L,r,n){"use strict";var e=n(53664),a=n(66379),t=n(8165),o=n(54341),m=n(95558),N=n(40773),y=m("hasInstance"),S=Function.prototype;y in S||t.f(S,y,{value:N(function(k){if(!e(this)||!a(k))return!1;var p=this.prototype;return a(p)?o(p,k):k instanceof this},y)})},85783:function(L,r,n){"use strict";var e=n(16361),a=n(15340).EXISTS,t=n(72908),o=n(57301),m=Function.prototype,N=t(m.toString),y=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,S=t(y.exec),k="name";e&&!a&&o(m,k,{configurable:!0,get:function(){function p(){try{return S(y,N(this))[1]}catch(l){return""}}return p}()})},34233:function(L,r,n){"use strict";var e=n(3116),a=n(22070),t=n(47244),o=n(20276),m=n(72908),N=n(13586),y=n(53664),S=n(43474),k=n(31170),p=n(58226),l=n(61855),c=String,f=a("JSON","stringify"),i=m(/./.exec),u=m("".charAt),s=m("".charCodeAt),d=m("".replace),C=m(1 .toString),g=/[\uD800-\uDFFF]/g,v=/^[\uD800-\uDBFF]$/,h=/^[\uDC00-\uDFFF]$/,V=!l||N(function(){var w=a("Symbol")("stringify detection");return f([w])!=="[null]"||f({a:w})!=="{}"||f(Object(w))!=="{}"}),b=N(function(){return f("\uDF06\uD834")!=='"\\udf06\\ud834"'||f("\uDEAD")!=='"\\udead"'}),B=function(T,A){var x=k(arguments),E=p(A);if(!(!y(E)&&(T===void 0||S(T))))return x[1]=function(P,D){if(y(E)&&(D=o(E,this,c(P),D)),!S(D))return D},t(f,null,x)},I=function(T,A,x){var E=u(x,A-1),P=u(x,A+1);return i(v,T)&&!i(h,P)||i(h,T)&&!i(v,E)?"\\u"+C(s(T,0),16):T};f&&e({target:"JSON",stat:!0,arity:3,forced:V||b},{stringify:function(){function w(T,A,x){var E=k(arguments),P=t(V?B:f,null,E);return b&&typeof P=="string"?d(P,g,I):P}return w}()})},51430:function(L,r,n){"use strict";var e=n(26856),a=n(15676);a(e.JSON,"JSON",!0)},88826:function(L,r,n){"use strict";var e=n(10609),a=n(42384);e("Map",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},10944:function(L,r,n){"use strict";n(88826)},36418:function(L,r,n){"use strict";var e=n(3116),a=n(50169),t=Math.acosh,o=Math.log,m=Math.sqrt,N=Math.LN2,y=!t||Math.floor(t(Number.MAX_VALUE))!==710||t(1/0)!==1/0;e({target:"Math",stat:!0,forced:y},{acosh:function(){function S(k){var p=+k;return p<1?NaN:p>9490626562425156e-8?o(p)+N:a(p-1+m(p-1)*m(p+1))}return S}()})},68872:function(L,r,n){"use strict";var e=n(3116),a=Math.asinh,t=Math.log,o=Math.sqrt;function m(y){var S=+y;return!isFinite(S)||S===0?S:S<0?-m(-S):t(S+o(S*S+1))}var N=!(a&&1/a(0)>0);e({target:"Math",stat:!0,forced:N},{asinh:m})},93105:function(L,r,n){"use strict";var e=n(3116),a=Math.atanh,t=Math.log,o=!(a&&1/a(-0)<0);e({target:"Math",stat:!0,forced:o},{atanh:function(){function m(N){var y=+N;return y===0?y:t((1+y)/(1-y))/2}return m}()})},1795:function(L,r,n){"use strict";var e=n(3116),a=n(30585),t=Math.abs,o=Math.pow;e({target:"Math",stat:!0},{cbrt:function(){function m(N){var y=+N;return a(y)*o(t(y),.3333333333333333)}return m}()})},11121:function(L,r,n){"use strict";var e=n(3116),a=Math.floor,t=Math.log,o=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(){function m(N){var y=N>>>0;return y?31-a(t(y+.5)*o):32}return m}()})},18730:function(L,r,n){"use strict";var e=n(3116),a=n(80563),t=Math.cosh,o=Math.abs,m=Math.E,N=!t||t(710)===1/0;e({target:"Math",stat:!0,forced:N},{cosh:function(){function y(S){var k=a(o(S)-1)+1;return(k+1/(k*m*m))*(m/2)}return y}()})},11624:function(L,r,n){"use strict";var e=n(3116),a=n(80563);e({target:"Math",stat:!0,forced:a!==Math.expm1},{expm1:a})},89004:function(L,r,n){"use strict";var e=n(3116),a=n(48705);e({target:"Math",stat:!0},{fround:a})},72680:function(L,r,n){"use strict";var e=n(3116),a=Math.hypot,t=Math.abs,o=Math.sqrt,m=!!a&&a(1/0,NaN)!==1/0;e({target:"Math",stat:!0,arity:2,forced:m},{hypot:function(){function N(y,S){for(var k=0,p=0,l=arguments.length,c=0,f,i;p<l;)f=t(arguments[p++]),c<f?(i=c/f,k=k*i*i+1,c=f):f>0?(i=f/c,k+=i*i):k+=f;return c===1/0?1/0:c*o(k)}return N}()})},75213:function(L,r,n){"use strict";var e=n(3116),a=n(13586),t=Math.imul,o=a(function(){return t(4294967295,5)!==-5||t.length!==2});e({target:"Math",stat:!0,forced:o},{imul:function(){function m(N,y){var S=65535,k=+N,p=+y,l=S&k,c=S&p;return 0|l*c+((S&k>>>16)*c+l*(S&p>>>16)<<16>>>0)}return m}()})},4347:function(L,r,n){"use strict";var e=n(3116),a=n(74347);e({target:"Math",stat:!0},{log10:a})},86433:function(L,r,n){"use strict";var e=n(3116),a=n(50169);e({target:"Math",stat:!0},{log1p:a})},21401:function(L,r,n){"use strict";var e=n(3116),a=Math.log,t=Math.LN2;e({target:"Math",stat:!0},{log2:function(){function o(m){return a(m)/t}return o}()})},54468:function(L,r,n){"use strict";var e=n(3116),a=n(30585);e({target:"Math",stat:!0},{sign:a})},36183:function(L,r,n){"use strict";var e=n(3116),a=n(13586),t=n(80563),o=Math.abs,m=Math.exp,N=Math.E,y=a(function(){return Math.sinh(-2e-17)!==-2e-17});e({target:"Math",stat:!0,forced:y},{sinh:function(){function S(k){var p=+k;return o(p)<1?(t(p)-t(-p))/2:(m(p-1)-m(-p-1))*(N/2)}return S}()})},95499:function(L,r,n){"use strict";var e=n(3116),a=n(80563),t=Math.exp;e({target:"Math",stat:!0},{tanh:function(){function o(m){var N=+m,y=a(N),S=a(-N);return y===1/0?1:S===1/0?-1:(y-S)/(t(N)+t(-N))}return o}()})},50929:function(L,r,n){"use strict";var e=n(15676);e(Math,"Math",!0)},91447:function(L,r,n){"use strict";var e=n(3116),a=n(54037);e({target:"Math",stat:!0},{trunc:a})},84314:function(L,r,n){"use strict";var e=n(3116),a=n(90139),t=n(16361),o=n(26856),m=n(55601),N=n(72908),y=n(23620),S=n(3302),k=n(43405),p=n(54341),l=n(43474),c=n(9560),f=n(13586),i=n(60097).f,u=n(19765).f,s=n(8165).f,d=n(7950),C=n(47913).trim,g="Number",v=o[g],h=m[g],V=v.prototype,b=o.TypeError,B=N("".slice),I=N("".charCodeAt),w=function(M){var O=c(M,"number");return typeof O=="bigint"?O:T(O)},T=function(M){var O=c(M,"number"),j,F,U,_,z,H,$,Y;if(l(O))throw new b("Cannot convert a Symbol value to a number");if(typeof O=="string"&&O.length>2){if(O=C(O),j=I(O,0),j===43||j===45){if(F=I(O,2),F===88||F===120)return NaN}else if(j===48){switch(I(O,1)){case 66:case 98:U=2,_=49;break;case 79:case 111:U=8,_=55;break;default:return+O}for(z=B(O,2),H=z.length,$=0;$<H;$++)if(Y=I(z,$),Y<48||Y>_)return NaN;return parseInt(z,U)}}return+O},A=y(g,!v(" 0o1")||!v("0b1")||v("+0x1")),x=function(M){return p(V,M)&&f(function(){d(M)})},E=function(){function D(M){var O=arguments.length<1?0:v(w(M));return x(this)?k(Object(O),this,E):O}return D}();E.prototype=V,A&&!a&&(V.constructor=E),e({global:!0,constructor:!0,wrap:!0,forced:A},{Number:E});var P=function(M,O){for(var j=t?i(O):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),F=0,U;j.length>F;F++)S(O,U=j[F])&&!S(M,U)&&s(M,U,u(O,U))};a&&h&&P(m[g],h),(A||a)&&P(m[g],v)},48211:function(L,r,n){"use strict";var e=n(3116);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},52237:function(L,r,n){"use strict";var e=n(3116),a=n(23944);e({target:"Number",stat:!0},{isFinite:a})},306:function(L,r,n){"use strict";var e=n(3116),a=n(76117);e({target:"Number",stat:!0},{isInteger:a})},22509:function(L,r,n){"use strict";var e=n(3116);e({target:"Number",stat:!0},{isNaN:function(){function a(t){return t!==t}return a}()})},84660:function(L,r,n){"use strict";var e=n(3116),a=n(76117),t=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(){function o(m){return a(m)&&t(m)<=9007199254740991}return o}()})},82678:function(L,r,n){"use strict";var e=n(3116);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},76585:function(L,r,n){"use strict";var e=n(3116);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},21733:function(L,r,n){"use strict";var e=n(3116),a=n(98973);e({target:"Number",stat:!0,forced:Number.parseFloat!==a},{parseFloat:a})},21210:function(L,r,n){"use strict";var e=n(3116),a=n(41148);e({target:"Number",stat:!0,forced:Number.parseInt!==a},{parseInt:a})},10272:function(L,r,n){"use strict";var e=n(3116),a=n(72908),t=n(84501),o=n(7950),m=n(75463),N=n(13586),y=RangeError,S=String,k=Math.floor,p=a(m),l=a("".slice),c=a(1 .toFixed),f=function g(v,h,V){return h===0?V:h%2===1?g(v,h-1,V*v):g(v*v,h/2,V)},i=function(v){for(var h=0,V=v;V>=4096;)h+=12,V/=4096;for(;V>=2;)h+=1,V/=2;return h},u=function(v,h,V){for(var b=-1,B=V;++b<6;)B+=h*v[b],v[b]=B%1e7,B=k(B/1e7)},s=function(v,h){for(var V=6,b=0;--V>=0;)b+=v[V],v[V]=k(b/h),b=b%h*1e7},d=function(v){for(var h=6,V="";--h>=0;)if(V!==""||h===0||v[h]!==0){var b=S(v[h]);V=V===""?b:V+p("0",7-b.length)+b}return V},C=N(function(){return c(8e-5,3)!=="0.000"||c(.9,0)!=="1"||c(1.255,2)!=="1.25"||c(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!N(function(){c({})});e({target:"Number",proto:!0,forced:C},{toFixed:function(){function g(v){var h=o(this),V=t(v),b=[0,0,0,0,0,0],B="",I="0",w,T,A,x;if(V<0||V>20)throw new y("Incorrect fraction digits");if(h!==h)return"NaN";if(h<=-1e21||h>=1e21)return S(h);if(h<0&&(B="-",h=-h),h>1e-21)if(w=i(h*f(2,69,1))-69,T=w<0?h*f(2,-w,1):h/f(2,w,1),T*=4503599627370496,w=52-w,w>0){for(u(b,0,T),A=V;A>=7;)u(b,1e7,0),A-=7;for(u(b,f(10,A,1),0),A=w-1;A>=23;)s(b,8388608),A-=23;s(b,1<<A),u(b,1,1),s(b,2),I=d(b)}else u(b,0,T),u(b,1<<-w,0),I=d(b)+p("0",V);return V>0?(x=I.length,I=B+(x<=V?"0."+p("0",V-x)+I:l(I,0,x-V)+"."+l(I,x-V))):I=B+I,I}return g}()})},83403:function(L,r,n){"use strict";var e=n(3116),a=n(72908),t=n(13586),o=n(7950),m=a(1 .toPrecision),N=t(function(){return m(1,void 0)!=="1"})||!t(function(){m({})});e({target:"Number",proto:!0,forced:N},{toPrecision:function(){function y(S){return S===void 0?m(o(this)):m(o(this),S)}return y}()})},4229:function(L,r,n){"use strict";var e=n(3116),a=n(23554);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},53388:function(L,r,n){"use strict";var e=n(3116),a=n(16361),t=n(15439);e({target:"Object",stat:!0,sham:!a},{create:t})},53121:function(L,r,n){"use strict";var e=n(3116),a=n(16361),t=n(6205),o=n(79474),m=n(63549),N=n(8165);a&&e({target:"Object",proto:!0,forced:t},{__defineGetter__:function(){function y(S,k){N.f(m(this),S,{get:o(k),enumerable:!0,configurable:!0})}return y}()})},53822:function(L,r,n){"use strict";var e=n(3116),a=n(16361),t=n(55119).f;e({target:"Object",stat:!0,forced:Object.defineProperties!==t,sham:!a},{defineProperties:t})},2514:function(L,r,n){"use strict";var e=n(3116),a=n(16361),t=n(8165).f;e({target:"Object",stat:!0,forced:Object.defineProperty!==t,sham:!a},{defineProperty:t})},2218:function(L,r,n){"use strict";var e=n(3116),a=n(16361),t=n(6205),o=n(79474),m=n(63549),N=n(8165);a&&e({target:"Object",proto:!0,forced:t},{__defineSetter__:function(){function y(S,k){N.f(m(this),S,{set:o(k),enumerable:!0,configurable:!0})}return y}()})},14955:function(L,r,n){"use strict";var e=n(3116),a=n(64266).entries;e({target:"Object",stat:!0},{entries:function(){function t(o){return a(o)}return t}()})},79220:function(L,r,n){"use strict";var e=n(3116),a=n(58199),t=n(13586),o=n(66379),m=n(66526).onFreeze,N=Object.freeze,y=t(function(){N(1)});e({target:"Object",stat:!0,forced:y,sham:!a},{freeze:function(){function S(k){return N&&o(k)?N(m(k)):k}return S}()})},81941:function(L,r,n){"use strict";var e=n(3116),a=n(20453),t=n(80750);e({target:"Object",stat:!0},{fromEntries:function(){function o(m){var N={};return a(m,function(y,S){t(N,y,S)},{AS_ENTRIES:!0}),N}return o}()})},37245:function(L,r,n){"use strict";var e=n(3116),a=n(13586),t=n(54292),o=n(19765).f,m=n(16361),N=!m||a(function(){o(1)});e({target:"Object",stat:!0,forced:N,sham:!m},{getOwnPropertyDescriptor:function(){function y(S,k){return o(t(S),k)}return y}()})},8373:function(L,r,n){"use strict";var e=n(3116),a=n(16361),t=n(53988),o=n(54292),m=n(19765),N=n(80750);e({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(){function y(S){for(var k=o(S),p=m.f,l=t(k),c={},f=0,i,u;l.length>f;)u=p(k,i=l[f++]),u!==void 0&&N(c,i,u);return c}return y}()})},81212:function(L,r,n){"use strict";var e=n(3116),a=n(13586),t=n(31024).f,o=a(function(){return!Object.getOwnPropertyNames(1)});e({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:t})},56896:function(L,r,n){"use strict";var e=n(3116),a=n(61855),t=n(13586),o=n(61791),m=n(63549),N=!a||t(function(){o.f(1)});e({target:"Object",stat:!0,forced:N},{getOwnPropertySymbols:function(){function y(S){var k=o.f;return k?k(m(S)):[]}return y}()})},26054:function(L,r,n){"use strict";var e=n(3116),a=n(13586),t=n(63549),o=n(56379),m=n(62297),N=a(function(){o(1)});e({target:"Object",stat:!0,forced:N,sham:!m},{getPrototypeOf:function(){function y(S){return o(t(S))}return y}()})},49611:function(L,r,n){"use strict";var e=n(3116),a=n(58221);e({target:"Object",stat:!0,forced:Object.isExtensible!==a},{isExtensible:a})},98344:function(L,r,n){"use strict";var e=n(3116),a=n(13586),t=n(66379),o=n(8649),m=n(8685),N=Object.isFrozen,y=m||a(function(){N(1)});e({target:"Object",stat:!0,forced:y},{isFrozen:function(){function S(k){return!t(k)||m&&o(k)==="ArrayBuffer"?!0:N?N(k):!1}return S}()})},55750:function(L,r,n){"use strict";var e=n(3116),a=n(13586),t=n(66379),o=n(8649),m=n(8685),N=Object.isSealed,y=m||a(function(){N(1)});e({target:"Object",stat:!0,forced:y},{isSealed:function(){function S(k){return!t(k)||m&&o(k)==="ArrayBuffer"?!0:N?N(k):!1}return S}()})},57745:function(L,r,n){"use strict";var e=n(3116),a=n(91935);e({target:"Object",stat:!0},{is:a})},7340:function(L,r,n){"use strict";var e=n(3116),a=n(63549),t=n(99869),o=n(13586),m=o(function(){t(1)});e({target:"Object",stat:!0,forced:m},{keys:function(){function N(y){return t(a(y))}return N}()})},63429:function(L,r,n){"use strict";var e=n(3116),a=n(16361),t=n(6205),o=n(63549),m=n(72445),N=n(56379),y=n(19765).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupGetter__:function(){function S(k){var p=o(this),l=m(k),c;do if(c=y(p,l))return c.get;while(p=N(p))}return S}()})},9558:function(L,r,n){"use strict";var e=n(3116),a=n(16361),t=n(6205),o=n(63549),m=n(72445),N=n(56379),y=n(19765).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupSetter__:function(){function S(k){var p=o(this),l=m(k),c;do if(c=y(p,l))return c.set;while(p=N(p))}return S}()})},2420:function(L,r,n){"use strict";var e=n(3116),a=n(66379),t=n(66526).onFreeze,o=n(58199),m=n(13586),N=Object.preventExtensions,y=m(function(){N(1)});e({target:"Object",stat:!0,forced:y,sham:!o},{preventExtensions:function(){function S(k){return N&&a(k)?N(t(k)):k}return S}()})},19015:function(L,r,n){"use strict";var e=n(3116),a=n(66379),t=n(66526).onFreeze,o=n(58199),m=n(13586),N=Object.seal,y=m(function(){N(1)});e({target:"Object",stat:!0,forced:y,sham:!o},{seal:function(){function S(k){return N&&a(k)?N(t(k)):k}return S}()})},34137:function(L,r,n){"use strict";var e=n(3116),a=n(91420);e({target:"Object",stat:!0},{setPrototypeOf:a})},24705:function(L,r,n){"use strict";var e=n(41936),a=n(60855),t=n(6625);e||a(Object.prototype,"toString",t,{unsafe:!0})},55318:function(L,r,n){"use strict";var e=n(3116),a=n(64266).values;e({target:"Object",stat:!0},{values:function(){function t(o){return a(o)}return t}()})},49456:function(L,r,n){"use strict";var e=n(3116),a=n(98973);e({global:!0,forced:parseFloat!==a},{parseFloat:a})},12217:function(L,r,n){"use strict";var e=n(3116),a=n(41148);e({global:!0,forced:parseInt!==a},{parseInt:a})},70479:function(L,r,n){"use strict";var e=n(3116),a=n(20276),t=n(79474),o=n(14187),m=n(73034),N=n(20453),y=n(18182);e({target:"Promise",stat:!0,forced:y},{all:function(){function S(k){var p=this,l=o.f(p),c=l.resolve,f=l.reject,i=m(function(){var u=t(p.resolve),s=[],d=0,C=1;N(k,function(g){var v=d++,h=!1;C++,a(u,p,g).then(function(V){h||(h=!0,s[v]=V,--C||c(s))},f)}),--C||c(s)});return i.error&&f(i.value),l.promise}return S}()})},72188:function(L,r,n){"use strict";var e=n(3116),a=n(90139),t=n(14657).CONSTRUCTOR,o=n(3e3),m=n(22070),N=n(53664),y=n(60855),S=o&&o.prototype;if(e({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(){function p(l){return this.then(void 0,l)}return p}()}),!a&&N(o)){var k=m("Promise").prototype.catch;S.catch!==k&&y(S,"catch",k,{unsafe:!0})}},13779:function(L,r,n){"use strict";var e=n(3116),a=n(90139),t=n(86727),o=n(26856),m=n(20276),N=n(60855),y=n(91420),S=n(15676),k=n(92468),p=n(79474),l=n(53664),c=n(66379),f=n(14434),i=n(83604),u=n(87073).set,s=n(60816),d=n(66481),C=n(73034),g=n(8274),v=n(4471),h=n(3e3),V=n(14657),b=n(14187),B="Promise",I=V.CONSTRUCTOR,w=V.REJECTION_EVENT,T=V.SUBCLASSING,A=v.getterFor(B),x=v.set,E=h&&h.prototype,P=h,D=E,M=o.TypeError,O=o.document,j=o.process,F=b.f,U=F,_=!!(O&&O.createEvent&&o.dispatchEvent),z="unhandledrejection",H="rejectionhandled",$=0,Y=1,X=2,re=1,ae=2,se,pe,ye,Be,he=function(ve){var Se;return c(ve)&&l(Se=ve.then)?Se:!1},oe=function(ve,Se){var we=Se.value,xe=Se.state===Y,Oe=xe?ve.ok:ve.fail,We=ve.resolve,Ve=ve.reject,ce=ve.domain,le,Ce,de;try{Oe?(xe||(Se.rejection===ae&&ne(Se),Se.rejection=re),Oe===!0?le=we:(ce&&ce.enter(),le=Oe(we),ce&&(ce.exit(),de=!0)),le===ve.promise?Ve(new M("Promise-chain cycle")):(Ce=he(le))?m(Ce,le,We,Ve):We(le)):Ve(we)}catch(Ne){ce&&!de&&ce.exit(),Ve(Ne)}},Z=function(ve,Se){ve.notified||(ve.notified=!0,s(function(){for(var we=ve.reactions,xe;xe=we.get();)oe(xe,ve);ve.notified=!1,Se&&!ve.rejection&&ue(ve)}))},q=function(ve,Se,we){var xe,Oe;_?(xe=O.createEvent("Event"),xe.promise=Se,xe.reason=we,xe.initEvent(ve,!1,!0),o.dispatchEvent(xe)):xe={promise:Se,reason:we},!w&&(Oe=o["on"+ve])?Oe(xe):ve===z&&d("Unhandled promise rejection",we)},ue=function(ve){m(u,o,function(){var Se=ve.facade,we=ve.value,xe=me(ve),Oe;if(xe&&(Oe=C(function(){t?j.emit("unhandledRejection",we,Se):q(z,Se,we)}),ve.rejection=t||me(ve)?ae:re,Oe.error))throw Oe.value})},me=function(ve){return ve.rejection!==re&&!ve.parent},ne=function(ve){m(u,o,function(){var Se=ve.facade;t?j.emit("rejectionHandled",Se):q(H,Se,ve.value)})},be=function(ve,Se,we){return function(xe){ve(Se,xe,we)}},fe=function(ve,Se,we){ve.done||(ve.done=!0,we&&(ve=we),ve.value=Se,ve.state=X,Z(ve,!0))},ge=function ke(ve,Se,we){if(!ve.done){ve.done=!0,we&&(ve=we);try{if(ve.facade===Se)throw new M("Promise can't be resolved itself");var xe=he(Se);xe?s(function(){var Oe={done:!1};try{m(xe,Se,be(ke,Oe,ve),be(fe,Oe,ve))}catch(We){fe(Oe,We,ve)}}):(ve.value=Se,ve.state=Y,Z(ve,!1))}catch(Oe){fe({done:!1},Oe,ve)}}};if(I&&(P=function(){function ke(ve){f(this,D),p(ve),m(se,this);var Se=A(this);try{ve(be(ge,Se),be(fe,Se))}catch(we){fe(Se,we)}}return ke}(),D=P.prototype,se=function(){function ke(ve){x(this,{type:B,done:!1,notified:!1,parent:!1,reactions:new g,rejection:!1,state:$,value:void 0})}return ke}(),se.prototype=N(D,"then",function(){function ke(ve,Se){var we=A(this),xe=F(i(this,P));return we.parent=!0,xe.ok=l(ve)?ve:!0,xe.fail=l(Se)&&Se,xe.domain=t?j.domain:void 0,we.state===$?we.reactions.add(xe):s(function(){oe(xe,we)}),xe.promise}return ke}()),pe=function(){var ve=new se,Se=A(ve);this.promise=ve,this.resolve=be(ge,Se),this.reject=be(fe,Se)},b.f=F=function(ve){return ve===P||ve===ye?new pe(ve):U(ve)},!a&&l(h)&&E!==Object.prototype)){Be=E.then,T||N(E,"then",function(){function ke(ve,Se){var we=this;return new P(function(xe,Oe){m(Be,we,xe,Oe)}).then(ve,Se)}return ke}(),{unsafe:!0});try{delete E.constructor}catch(ke){}y&&y(E,D)}e({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:P}),S(P,B,!1,!0),k(B)},79063:function(L,r,n){"use strict";var e=n(3116),a=n(90139),t=n(3e3),o=n(13586),m=n(22070),N=n(53664),y=n(83604),S=n(61988),k=n(60855),p=t&&t.prototype,l=!!t&&o(function(){p.finally.call({then:function(){function f(){}return f}()},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:l},{finally:function(){function f(i){var u=y(this,m("Promise")),s=N(i);return this.then(s?function(d){return S(u,i()).then(function(){return d})}:i,s?function(d){return S(u,i()).then(function(){throw d})}:i)}return f}()}),!a&&N(t)){var c=m("Promise").prototype.finally;p.finally!==c&&k(p,"finally",c,{unsafe:!0})}},75795:function(L,r,n){"use strict";n(13779),n(70479),n(72188),n(18199),n(75955),n(39996)},18199:function(L,r,n){"use strict";var e=n(3116),a=n(20276),t=n(79474),o=n(14187),m=n(73034),N=n(20453),y=n(18182);e({target:"Promise",stat:!0,forced:y},{race:function(){function S(k){var p=this,l=o.f(p),c=l.reject,f=m(function(){var i=t(p.resolve);N(k,function(u){a(i,p,u).then(l.resolve,c)})});return f.error&&c(f.value),l.promise}return S}()})},75955:function(L,r,n){"use strict";var e=n(3116),a=n(14187),t=n(14657).CONSTRUCTOR;e({target:"Promise",stat:!0,forced:t},{reject:function(){function o(m){var N=a.f(this),y=N.reject;return y(m),N.promise}return o}()})},39996:function(L,r,n){"use strict";var e=n(3116),a=n(22070),t=n(90139),o=n(3e3),m=n(14657).CONSTRUCTOR,N=n(61988),y=a("Promise"),S=t&&!m;e({target:"Promise",stat:!0,forced:t||m},{resolve:function(){function k(p){return N(S&&this===y?o:this,p)}return k}()})},1210:function(L,r,n){"use strict";var e=n(3116),a=n(47244),t=n(79474),o=n(45418),m=n(13586),N=!m(function(){Reflect.apply(function(){})});e({target:"Reflect",stat:!0,forced:N},{apply:function(){function y(S,k,p){return a(t(S),k,o(p))}return y}()})},91370:function(L,r,n){"use strict";var e=n(3116),a=n(22070),t=n(47244),o=n(82060),m=n(48218),N=n(45418),y=n(66379),S=n(15439),k=n(13586),p=a("Reflect","construct"),l=Object.prototype,c=[].push,f=k(function(){function s(){}return!(p(function(){},[],s)instanceof s)}),i=!k(function(){p(function(){})}),u=f||i;e({target:"Reflect",stat:!0,forced:u,sham:u},{construct:function(){function s(d,C){m(d),N(C);var g=arguments.length<3?d:m(arguments[2]);if(i&&!f)return p(d,C,g);if(d===g){switch(C.length){case 0:return new d;case 1:return new d(C[0]);case 2:return new d(C[0],C[1]);case 3:return new d(C[0],C[1],C[2]);case 4:return new d(C[0],C[1],C[2],C[3])}var v=[null];return t(c,v,C),new(t(o,d,v))}var h=g.prototype,V=S(y(h)?h:l),b=t(d,V,C);return y(b)?b:V}return s}()})},17327:function(L,r,n){"use strict";var e=n(3116),a=n(16361),t=n(45418),o=n(72445),m=n(8165),N=n(13586),y=N(function(){Reflect.defineProperty(m.f({},1,{value:1}),1,{value:2})});e({target:"Reflect",stat:!0,forced:y,sham:!a},{defineProperty:function(){function S(k,p,l){t(k);var c=o(p);t(l);try{return m.f(k,c,l),!0}catch(f){return!1}}return S}()})},2679:function(L,r,n){"use strict";var e=n(3116),a=n(45418),t=n(19765).f;e({target:"Reflect",stat:!0},{deleteProperty:function(){function o(m,N){var y=t(a(m),N);return y&&!y.configurable?!1:delete m[N]}return o}()})},27262:function(L,r,n){"use strict";var e=n(3116),a=n(16361),t=n(45418),o=n(19765);e({target:"Reflect",stat:!0,sham:!a},{getOwnPropertyDescriptor:function(){function m(N,y){return o.f(t(N),y)}return m}()})},47278:function(L,r,n){"use strict";var e=n(3116),a=n(45418),t=n(56379),o=n(62297);e({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(){function m(N){return t(a(N))}return m}()})},60733:function(L,r,n){"use strict";var e=n(3116),a=n(20276),t=n(66379),o=n(45418),m=n(75129),N=n(19765),y=n(56379);function S(k,p){var l=arguments.length<3?k:arguments[2],c,f;if(o(k)===l)return k[p];if(c=N.f(k,p),c)return m(c)?c.value:c.get===void 0?void 0:a(c.get,l);if(t(f=y(k)))return S(f,p,l)}e({target:"Reflect",stat:!0},{get:S})},22547:function(L,r,n){"use strict";var e=n(3116);e({target:"Reflect",stat:!0},{has:function(){function a(t,o){return o in t}return a}()})},92992:function(L,r,n){"use strict";var e=n(3116),a=n(45418),t=n(58221);e({target:"Reflect",stat:!0},{isExtensible:function(){function o(m){return a(m),t(m)}return o}()})},64650:function(L,r,n){"use strict";var e=n(3116),a=n(53988);e({target:"Reflect",stat:!0},{ownKeys:a})},71255:function(L,r,n){"use strict";var e=n(3116),a=n(22070),t=n(45418),o=n(58199);e({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(){function m(N){t(N);try{var y=a("Object","preventExtensions");return y&&y(N),!0}catch(S){return!1}}return m}()})},65558:function(L,r,n){"use strict";var e=n(3116),a=n(45418),t=n(30907),o=n(91420);o&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(){function m(N,y){a(N),t(y);try{return o(N,y),!0}catch(S){return!1}}return m}()})},97836:function(L,r,n){"use strict";var e=n(3116),a=n(20276),t=n(45418),o=n(66379),m=n(75129),N=n(13586),y=n(8165),S=n(19765),k=n(56379),p=n(73970);function l(f,i,u){var s=arguments.length<4?f:arguments[3],d=S.f(t(f),i),C,g,v;if(!d){if(o(g=k(f)))return l(g,i,u,s);d=p(0)}if(m(d)){if(d.writable===!1||!o(s))return!1;if(C=S.f(s,i)){if(C.get||C.set||C.writable===!1)return!1;C.value=u,y.f(s,i,C)}else y.f(s,i,p(0,u))}else{if(v=d.set,v===void 0)return!1;a(v,s,u)}return!0}var c=N(function(){var f=function(){},i=y.f(new f,"a",{configurable:!0});return Reflect.set(f.prototype,"a",1,i)!==!1});e({target:"Reflect",stat:!0,forced:c},{set:l})},83932:function(L,r,n){"use strict";var e=n(16361),a=n(26856),t=n(72908),o=n(23620),m=n(43405),N=n(21650),y=n(15439),S=n(60097).f,k=n(54341),p=n(28774),l=n(8758),c=n(13980),f=n(96472),i=n(69713),u=n(60855),s=n(13586),d=n(3302),C=n(4471).enforce,g=n(92468),v=n(95558),h=n(18095),V=n(17329),b=v("match"),B=a.RegExp,I=B.prototype,w=a.SyntaxError,T=t(I.exec),A=t("".charAt),x=t("".replace),E=t("".indexOf),P=t("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,O=/a/g,j=new B(M)!==M,F=f.MISSED_STICKY,U=f.UNSUPPORTED_Y,_=e&&(!j||F||h||V||s(function(){return O[b]=!1,B(M)!==M||B(O)===O||String(B(M,"i"))!=="/a/i"})),z=function(ae){for(var se=ae.length,pe=0,ye="",Be=!1,he;pe<=se;pe++){if(he=A(ae,pe),he==="\\"){ye+=he+A(ae,++pe);continue}!Be&&he==="."?ye+="[\\s\\S]":(he==="["?Be=!0:he==="]"&&(Be=!1),ye+=he)}return ye},H=function(ae){for(var se=ae.length,pe=0,ye="",Be=[],he=y(null),oe=!1,Z=!1,q=0,ue="",me;pe<=se;pe++){if(me=A(ae,pe),me==="\\")me+=A(ae,++pe);else if(me==="]")oe=!1;else if(!oe)switch(!0){case me==="[":oe=!0;break;case me==="(":T(D,P(ae,pe+1))&&(pe+=2,Z=!0),ye+=me,q++;continue;case(me===">"&&Z):if(ue===""||d(he,ue))throw new w("Invalid capture group name");he[ue]=!0,Be[Be.length]=[ue,q],Z=!1,ue="";continue}Z?ue+=me:ye+=me}return[ye,Be]};if(o("RegExp",_)){for(var $=function(){function re(ae,se){var pe=k(I,this),ye=p(ae),Be=se===void 0,he=[],oe=ae,Z,q,ue,me,ne,be;if(!pe&&ye&&Be&&ae.constructor===$)return ae;if((ye||k(I,ae))&&(ae=ae.source,Be&&(se=c(oe))),ae=ae===void 0?"":l(ae),se=se===void 0?"":l(se),oe=ae,h&&"dotAll"in M&&(q=!!se&&E(se,"s")>-1,q&&(se=x(se,/s/g,""))),Z=se,F&&"sticky"in M&&(ue=!!se&&E(se,"y")>-1,ue&&U&&(se=x(se,/y/g,""))),V&&(me=H(ae),ae=me[0],he=me[1]),ne=m(B(ae,se),pe?this:I,$),(q||ue||he.length)&&(be=C(ne),q&&(be.dotAll=!0,be.raw=$(z(ae),Z)),ue&&(be.sticky=!0),he.length&&(be.groups=he)),ae!==oe)try{N(ne,"source",oe===""?"(?:)":oe)}catch(fe){}return ne}return re}(),Y=S(B),X=0;Y.length>X;)i($,B,Y[X++]);I.constructor=$,$.prototype=I,u(a,"RegExp",$,{constructor:!0})}g("RegExp")},72941:function(L,r,n){"use strict";var e=n(3116),a=n(59049);e({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},57918:function(L,r,n){"use strict";var e=n(26856),a=n(16361),t=n(57301),o=n(41913),m=n(13586),N=e.RegExp,y=N.prototype,S=a&&m(function(){var k=!0;try{N(".","d")}catch(d){k=!1}var p={},l="",c=k?"dgimsy":"gimsy",f=function(C,g){Object.defineProperty(p,C,{get:function(){function v(){return l+=g,!0}return v}()})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};k&&(i.hasIndices="d");for(var u in i)f(u,i[u]);var s=Object.getOwnPropertyDescriptor(y,"flags").get.call(p);return s!==c||l!==c});S&&t(y,"flags",{configurable:!0,get:o})},2394:function(L,r,n){"use strict";var e=n(15340).PROPER,a=n(60855),t=n(45418),o=n(8758),m=n(13586),N=n(13980),y="toString",S=RegExp.prototype,k=S[y],p=m(function(){return k.call({source:"a",flags:"b"})!=="/a/b"}),l=e&&k.name!==y;(p||l)&&a(S,y,function(){function c(){var f=t(this),i=o(f.source),u=o(N(f));return"/"+i+"/"+u}return c}(),{unsafe:!0})},98480:function(L,r,n){"use strict";var e=n(10609),a=n(42384);e("Set",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},37517:function(L,r,n){"use strict";n(98480)},25492:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("anchor")},{anchor:function(){function o(m){return a(this,"a","name",m)}return o}()})},13684:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("big")},{big:function(){function o(){return a(this,"big","","")}return o}()})},79646:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("blink")},{blink:function(){function o(){return a(this,"blink","","")}return o}()})},98511:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("bold")},{bold:function(){function o(){return a(this,"b","","")}return o}()})},65699:function(L,r,n){"use strict";var e=n(3116),a=n(13300).codeAt;e({target:"String",proto:!0},{codePointAt:function(){function t(o){return a(this,o)}return t}()})},11360:function(L,r,n){"use strict";var e=n(3116),a=n(69935),t=n(19765).f,o=n(74369),m=n(8758),N=n(75816),y=n(305),S=n(46339),k=n(90139),p=a("".slice),l=Math.min,c=S("endsWith"),f=!k&&!c&&!!function(){var i=t(String.prototype,"endsWith");return i&&!i.writable}();e({target:"String",proto:!0,forced:!f&&!c},{endsWith:function(){function i(u){var s=m(y(this));N(u);var d=arguments.length>1?arguments[1]:void 0,C=s.length,g=d===void 0?C:l(o(d),C),v=m(u);return p(s,g-v.length,g)===v}return i}()})},30733:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("fixed")},{fixed:function(){function o(){return a(this,"tt","","")}return o}()})},58683:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("fontcolor")},{fontcolor:function(){function o(m){return a(this,"font","color",m)}return o}()})},70277:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("fontsize")},{fontsize:function(){function o(m){return a(this,"font","size",m)}return o}()})},33683:function(L,r,n){"use strict";var e=n(3116),a=n(72908),t=n(39531),o=RangeError,m=String.fromCharCode,N=String.fromCodePoint,y=a([].join),S=!!N&&N.length!==1;e({target:"String",stat:!0,arity:1,forced:S},{fromCodePoint:function(){function k(p){for(var l=[],c=arguments.length,f=0,i;c>f;){if(i=+arguments[f++],t(i,1114111)!==i)throw new o(i+" is not a valid code point");l[f]=i<65536?m(i):m(((i-=65536)>>10)+55296,i%1024+56320)}return y(l,"")}return k}()})},16792:function(L,r,n){"use strict";var e=n(3116),a=n(72908),t=n(75816),o=n(305),m=n(8758),N=n(46339),y=a("".indexOf);e({target:"String",proto:!0,forced:!N("includes")},{includes:function(){function S(k){return!!~y(m(o(this)),m(t(k)),arguments.length>1?arguments[1]:void 0)}return S}()})},36865:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("italics")},{italics:function(){function o(){return a(this,"i","","")}return o}()})},8:function(L,r,n){"use strict";var e=n(13300).charAt,a=n(8758),t=n(4471),o=n(21436),m=n(32214),N="String Iterator",y=t.set,S=t.getterFor(N);o(String,"String",function(k){y(this,{type:N,string:a(k),index:0})},function(){function k(){var p=S(this),l=p.string,c=p.index,f;return c>=l.length?m(void 0,!0):(f=e(l,c),p.index+=f.length,m(f,!1))}return k}())},13763:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("link")},{link:function(){function o(m){return a(this,"a","href",m)}return o}()})},76015:function(L,r,n){"use strict";var e=n(20276),a=n(18690),t=n(45418),o=n(62695),m=n(74369),N=n(8758),y=n(305),S=n(76540),k=n(47158),p=n(59833);a("match",function(l,c,f){return[function(){function i(u){var s=y(this),d=o(u)?void 0:S(u,l);return d?e(d,u,s):new RegExp(u)[l](N(s))}return i}(),function(i){var u=t(this),s=N(i),d=f(c,u,s);if(d.done)return d.value;if(!u.global)return p(u,s);var C=u.unicode;u.lastIndex=0;for(var g=[],v=0,h;(h=p(u,s))!==null;){var V=N(h[0]);g[v]=V,V===""&&(u.lastIndex=k(s,m(u.lastIndex),C)),v++}return v===0?null:g}]})},57318:function(L,r,n){"use strict";var e=n(3116),a=n(81290).end,t=n(51468);e({target:"String",proto:!0,forced:t},{padEnd:function(){function o(m){return a(this,m,arguments.length>1?arguments[1]:void 0)}return o}()})},33177:function(L,r,n){"use strict";var e=n(3116),a=n(81290).start,t=n(51468);e({target:"String",proto:!0,forced:t},{padStart:function(){function o(m){return a(this,m,arguments.length>1?arguments[1]:void 0)}return o}()})},1429:function(L,r,n){"use strict";var e=n(3116),a=n(72908),t=n(54292),o=n(63549),m=n(8758),N=n(83207),y=a([].push),S=a([].join);e({target:"String",stat:!0},{raw:function(){function k(p){var l=t(o(p).raw),c=N(l);if(!c)return"";for(var f=arguments.length,i=[],u=0;;){if(y(i,m(l[u++])),u===c)return S(i,"");u<f&&y(i,m(arguments[u]))}}return k}()})},56515:function(L,r,n){"use strict";var e=n(3116),a=n(75463);e({target:"String",proto:!0},{repeat:a})},30343:function(L,r,n){"use strict";var e=n(47244),a=n(20276),t=n(72908),o=n(18690),m=n(13586),N=n(45418),y=n(53664),S=n(62695),k=n(84501),p=n(74369),l=n(8758),c=n(305),f=n(47158),i=n(76540),u=n(56802),s=n(59833),d=n(95558),C=d("replace"),g=Math.max,v=Math.min,h=t([].concat),V=t([].push),b=t("".indexOf),B=t("".slice),I=function(E){return E===void 0?E:String(E)},w=function(){return"a".replace(/./,"$0")==="$0"}(),T=function(){return/./[C]?/./[C]("a","$0")==="":!1}(),A=!m(function(){var x=/./;return x.exec=function(){var E=[];return E.groups={a:"7"},E},"".replace(x,"$<a>")!=="7"});o("replace",function(x,E,P){var D=T?"$":"$0";return[function(){function M(O,j){var F=c(this),U=S(O)?void 0:i(O,C);return U?a(U,O,F,j):a(E,l(F),O,j)}return M}(),function(M,O){var j=N(this),F=l(M);if(typeof O=="string"&&b(O,D)===-1&&b(O,"$<")===-1){var U=P(E,j,F,O);if(U.done)return U.value}var _=y(O);_||(O=l(O));var z=j.global,H;z&&(H=j.unicode,j.lastIndex=0);for(var $=[],Y;Y=s(j,F),!(Y===null||(V($,Y),!z));){var X=l(Y[0]);X===""&&(j.lastIndex=f(F,p(j.lastIndex),H))}for(var re="",ae=0,se=0;se<$.length;se++){Y=$[se];for(var pe=l(Y[0]),ye=g(v(k(Y.index),F.length),0),Be=[],he,oe=1;oe<Y.length;oe++)V(Be,I(Y[oe]));var Z=Y.groups;if(_){var q=h([pe],Be,ye,F);Z!==void 0&&V(q,Z),he=l(e(O,void 0,q))}else he=u(pe,F,ye,Be,Z,O);ye>=ae&&(re+=B(F,ae,ye)+he,ae=ye+pe.length)}return re+B(F,ae)}]},!A||!w||T)},60981:function(L,r,n){"use strict";var e=n(20276),a=n(18690),t=n(45418),o=n(62695),m=n(305),N=n(91935),y=n(8758),S=n(76540),k=n(59833);a("search",function(p,l,c){return[function(){function f(i){var u=m(this),s=o(i)?void 0:S(i,p);return s?e(s,i,u):new RegExp(i)[p](y(u))}return f}(),function(f){var i=t(this),u=y(f),s=c(l,i,u);if(s.done)return s.value;var d=i.lastIndex;N(d,0)||(i.lastIndex=0);var C=k(i,u);return N(i.lastIndex,d)||(i.lastIndex=d),C===null?-1:C.index}]})},56001:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("small")},{small:function(){function o(){return a(this,"small","","")}return o}()})},96578:function(L,r,n){"use strict";var e=n(47244),a=n(20276),t=n(72908),o=n(18690),m=n(45418),N=n(62695),y=n(28774),S=n(305),k=n(83604),p=n(47158),l=n(74369),c=n(8758),f=n(76540),i=n(31170),u=n(59833),s=n(59049),d=n(96472),C=n(13586),g=d.UNSUPPORTED_Y,v=4294967295,h=Math.min,V=[].push,b=t(/./.exec),B=t(V),I=t("".slice),w=!C(function(){var T=/(?:)/,A=T.exec;T.exec=function(){return A.apply(this,arguments)};var x="ab".split(T);return x.length!==2||x[0]!=="a"||x[1]!=="b"});o("split",function(T,A,x){var E;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?E=function(D,M){var O=c(S(this)),j=M===void 0?v:M>>>0;if(j===0)return[];if(D===void 0)return[O];if(!y(D))return a(A,O,D,j);for(var F=[],U=(D.ignoreCase?"i":"")+(D.multiline?"m":"")+(D.unicode?"u":"")+(D.sticky?"y":""),_=0,z=new RegExp(D.source,U+"g"),H,$,Y;(H=a(s,z,O))&&($=z.lastIndex,!($>_&&(B(F,I(O,_,H.index)),H.length>1&&H.index<O.length&&e(V,F,i(H,1)),Y=H[0].length,_=$,F.length>=j)));)z.lastIndex===H.index&&z.lastIndex++;return _===O.length?(Y||!b(z,""))&&B(F,""):B(F,I(O,_)),F.length>j?i(F,0,j):F}:"0".split(void 0,0).length?E=function(D,M){return D===void 0&&M===0?[]:a(A,this,D,M)}:E=A,[function(){function P(D,M){var O=S(this),j=N(D)?void 0:f(D,T);return j?a(j,D,O,M):a(E,c(O),D,M)}return P}(),function(P,D){var M=m(this),O=c(P),j=x(E,M,O,D,E!==A);if(j.done)return j.value;var F=k(M,RegExp),U=M.unicode,_=(M.ignoreCase?"i":"")+(M.multiline?"m":"")+(M.unicode?"u":"")+(g?"g":"y"),z=new F(g?"^(?:"+M.source+")":M,_),H=D===void 0?v:D>>>0;if(H===0)return[];if(O.length===0)return u(z,O)===null?[O]:[];for(var $=0,Y=0,X=[];Y<O.length;){z.lastIndex=g?0:Y;var re=u(z,g?I(O,Y):O),ae;if(re===null||(ae=h(l(z.lastIndex+(g?Y:0)),O.length))===$)Y=p(O,Y,U);else{if(B(X,I(O,$,Y)),X.length===H)return X;for(var se=1;se<=re.length-1;se++)if(B(X,re[se]),X.length===H)return X;Y=$=ae}}return B(X,I(O,$)),X}]},!w,g)},59592:function(L,r,n){"use strict";var e=n(3116),a=n(69935),t=n(19765).f,o=n(74369),m=n(8758),N=n(75816),y=n(305),S=n(46339),k=n(90139),p=a("".slice),l=Math.min,c=S("startsWith"),f=!k&&!c&&!!function(){var i=t(String.prototype,"startsWith");return i&&!i.writable}();e({target:"String",proto:!0,forced:!f&&!c},{startsWith:function(){function i(u){var s=m(y(this));N(u);var d=o(l(arguments.length>1?arguments[1]:void 0,s.length)),C=m(u);return p(s,d,d+C.length)===C}return i}()})},58713:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("strike")},{strike:function(){function o(){return a(this,"strike","","")}return o}()})},41960:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("sub")},{sub:function(){function o(){return a(this,"sub","","")}return o}()})},31772:function(L,r,n){"use strict";var e=n(3116),a=n(38017),t=n(81626);e({target:"String",proto:!0,forced:t("sup")},{sup:function(){function o(){return a(this,"sup","","")}return o}()})},84368:function(L,r,n){"use strict";n(12333);var e=n(3116),a=n(45745);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==a},{trimEnd:a})},81464:function(L,r,n){"use strict";var e=n(3116),a=n(35634);e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==a},{trimLeft:a})},12333:function(L,r,n){"use strict";var e=n(3116),a=n(45745);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==a},{trimRight:a})},76980:function(L,r,n){"use strict";n(81464);var e=n(3116),a=n(35634);e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==a},{trimStart:a})},54511:function(L,r,n){"use strict";var e=n(3116),a=n(47913).trim,t=n(15677);e({target:"String",proto:!0,forced:t("trim")},{trim:function(){function o(){return a(this)}return o}()})},65884:function(L,r,n){"use strict";var e=n(20614);e("asyncIterator")},28579:function(L,r,n){"use strict";var e=n(3116),a=n(26856),t=n(20276),o=n(72908),m=n(90139),N=n(16361),y=n(61855),S=n(13586),k=n(3302),p=n(54341),l=n(45418),c=n(54292),f=n(72445),i=n(8758),u=n(73970),s=n(15439),d=n(99869),C=n(60097),g=n(31024),v=n(61791),h=n(19765),V=n(8165),b=n(55119),B=n(10409),I=n(60855),w=n(57301),T=n(7624),A=n(97223),x=n(51653),E=n(76246),P=n(95558),D=n(15355),M=n(20614),O=n(28952),j=n(15676),F=n(4471),U=n(18539).forEach,_=A("hidden"),z="Symbol",H="prototype",$=F.set,Y=F.getterFor(z),X=Object[H],re=a.Symbol,ae=re&&re[H],se=a.RangeError,pe=a.TypeError,ye=a.QObject,Be=h.f,he=V.f,oe=g.f,Z=B.f,q=o([].push),ue=T("symbols"),me=T("op-symbols"),ne=T("wks"),be=!ye||!ye[H]||!ye[H].findChild,fe=function(le,Ce,de){var Ne=Be(X,Ce);Ne&&delete X[Ce],he(le,Ce,de),Ne&&le!==X&&he(X,Ce,Ne)},ge=N&&S(function(){return s(he({},"a",{get:function(){function ce(){return he(this,"a",{value:7}).a}return ce}()})).a!==7})?fe:he,ke=function(le,Ce){var de=ue[le]=s(ae);return $(de,{type:z,tag:le,description:Ce}),N||(de.description=Ce),de},ve=function(){function ce(le,Ce,de){le===X&&ve(me,Ce,de),l(le);var Ne=f(Ce);return l(de),k(ue,Ne)?(de.enumerable?(k(le,_)&&le[_][Ne]&&(le[_][Ne]=!1),de=s(de,{enumerable:u(0,!1)})):(k(le,_)||he(le,_,u(1,s(null))),le[_][Ne]=!0),ge(le,Ne,de)):he(le,Ne,de)}return ce}(),Se=function(){function ce(le,Ce){l(le);var de=c(Ce),Ne=d(de).concat(Ve(de));return U(Ne,function(Ae){(!N||t(xe,de,Ae))&&ve(le,Ae,de[Ae])}),le}return ce}(),we=function(){function ce(le,Ce){return Ce===void 0?s(le):Se(s(le),Ce)}return ce}(),xe=function(){function ce(le){var Ce=f(le),de=t(Z,this,Ce);return this===X&&k(ue,Ce)&&!k(me,Ce)?!1:de||!k(this,Ce)||!k(ue,Ce)||k(this,_)&&this[_][Ce]?de:!0}return ce}(),Oe=function(){function ce(le,Ce){var de=c(le),Ne=f(Ce);if(!(de===X&&k(ue,Ne)&&!k(me,Ne))){var Ae=Be(de,Ne);return Ae&&k(ue,Ne)&&!(k(de,_)&&de[_][Ne])&&(Ae.enumerable=!0),Ae}}return ce}(),We=function(){function ce(le){var Ce=oe(c(le)),de=[];return U(Ce,function(Ne){!k(ue,Ne)&&!k(x,Ne)&&q(de,Ne)}),de}return ce}(),Ve=function(le){var Ce=le===X,de=oe(Ce?me:c(le)),Ne=[];return U(de,function(Ae){k(ue,Ae)&&(!Ce||k(X,Ae))&&q(Ne,ue[Ae])}),Ne};y||(re=function(){function ce(){if(p(ae,this))throw new pe("Symbol is not a constructor");var le=!arguments.length||arguments[0]===void 0?void 0:i(arguments[0]),Ce=E(le),de=function(){function Ne(Ae){var De=this===void 0?a:this;De===X&&t(Ne,me,Ae),k(De,_)&&k(De[_],Ce)&&(De[_][Ce]=!1);var je=u(1,Ae);try{ge(De,Ce,je)}catch(_e){if(!(_e instanceof se))throw _e;fe(De,Ce,je)}}return Ne}();return N&&be&&ge(X,Ce,{configurable:!0,set:de}),ke(Ce,le)}return ce}(),ae=re[H],I(ae,"toString",function(){function ce(){return Y(this).tag}return ce}()),I(re,"withoutSetter",function(ce){return ke(E(ce),ce)}),B.f=xe,V.f=ve,b.f=Se,h.f=Oe,C.f=g.f=We,v.f=Ve,D.f=function(ce){return ke(P(ce),ce)},N&&(w(ae,"description",{configurable:!0,get:function(){function ce(){return Y(this).description}return ce}()}),m||I(X,"propertyIsEnumerable",xe,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!y,sham:!y},{Symbol:re}),U(d(ne),function(ce){M(ce)}),e({target:z,stat:!0,forced:!y},{useSetter:function(){function ce(){be=!0}return ce}(),useSimple:function(){function ce(){be=!1}return ce}()}),e({target:"Object",stat:!0,forced:!y,sham:!N},{create:we,defineProperty:ve,defineProperties:Se,getOwnPropertyDescriptor:Oe}),e({target:"Object",stat:!0,forced:!y},{getOwnPropertyNames:We}),O(),j(re,z),x[_]=!0},64777:function(L,r,n){"use strict";var e=n(3116),a=n(16361),t=n(26856),o=n(72908),m=n(3302),N=n(53664),y=n(54341),S=n(8758),k=n(57301),p=n(83826),l=t.Symbol,c=l&&l.prototype;if(a&&N(l)&&(!("description"in c)||l().description!==void 0)){var f={},i=function(){function h(){var V=arguments.length<1||arguments[0]===void 0?void 0:S(arguments[0]),b=y(c,this)?new l(V):V===void 0?l():l(V);return V===""&&(f[b]=!0),b}return h}();p(i,l),i.prototype=c,c.constructor=i;var u=String(l("description detection"))==="Symbol(description detection)",s=o(c.valueOf),d=o(c.toString),C=/^Symbol\((.*)\)[^)]+$/,g=o("".replace),v=o("".slice);k(c,"description",{configurable:!0,get:function(){function h(){var V=s(this);if(m(f,V))return"";var b=d(V),B=u?v(b,7,-1):g(b,C,"$1");return B===""?void 0:B}return h}()}),e({global:!0,constructor:!0,forced:!0},{Symbol:i})}},99694:function(L,r,n){"use strict";var e=n(3116),a=n(22070),t=n(3302),o=n(8758),m=n(7624),N=n(16010),y=m("string-to-symbol-registry"),S=m("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!N},{for:function(){function k(p){var l=o(p);if(t(y,l))return y[l];var c=a("Symbol")(l);return y[l]=c,S[c]=l,c}return k}()})},56564:function(L,r,n){"use strict";var e=n(20614);e("hasInstance")},68981:function(L,r,n){"use strict";var e=n(20614);e("isConcatSpreadable")},27699:function(L,r,n){"use strict";var e=n(20614);e("iterator")},32321:function(L,r,n){"use strict";n(28579),n(99694),n(16184),n(34233),n(56896)},16184:function(L,r,n){"use strict";var e=n(3116),a=n(3302),t=n(43474),o=n(36787),m=n(7624),N=n(16010),y=m("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!N},{keyFor:function(){function S(k){if(!t(k))throw new TypeError(o(k)+" is not a symbol");if(a(y,k))return y[k]}return S}()})},22905:function(L,r,n){"use strict";var e=n(20614);e("match")},96311:function(L,r,n){"use strict";var e=n(20614);e("replace")},61292:function(L,r,n){"use strict";var e=n(20614);e("search")},75419:function(L,r,n){"use strict";var e=n(20614);e("species")},67638:function(L,r,n){"use strict";var e=n(20614);e("split")},7601:function(L,r,n){"use strict";var e=n(20614),a=n(28952);e("toPrimitive"),a()},89010:function(L,r,n){"use strict";var e=n(22070),a=n(20614),t=n(15676);a("toStringTag"),t(e("Symbol"),"Symbol")},5401:function(L,r,n){"use strict";var e=n(20614);e("unscopables")},76464:function(L,r,n){"use strict";var e=n(72908),a=n(30432),t=n(28332),o=e(t),m=a.aTypedArray,N=a.exportTypedArrayMethod;N("copyWithin",function(){function y(S,k){return o(m(this),S,k,arguments.length>2?arguments[2]:void 0)}return y}())},58549:function(L,r,n){"use strict";var e=n(30432),a=n(18539).every,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("every",function(){function m(N){return a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},42774:function(L,r,n){"use strict";var e=n(30432),a=n(39948),t=n(73873),o=n(48615),m=n(20276),N=n(72908),y=n(13586),S=e.aTypedArray,k=e.exportTypedArrayMethod,p=N("".slice),l=y(function(){var c=0;return new Int8Array(2).fill({valueOf:function(){function f(){return c++}return f}()}),c!==1});k("fill",function(){function c(f){var i=arguments.length;S(this);var u=p(o(this),0,3)==="Big"?t(f):+f;return m(a,this,u,i>1?arguments[1]:void 0,i>2?arguments[2]:void 0)}return c}(),l)},65446:function(L,r,n){"use strict";var e=n(30432),a=n(18539).filter,t=n(85710),o=e.aTypedArray,m=e.exportTypedArrayMethod;m("filter",function(){function N(y){var S=a(o(this),y,arguments.length>1?arguments[1]:void 0);return t(this,S)}return N}())},62243:function(L,r,n){"use strict";var e=n(30432),a=n(18539).findIndex,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("findIndex",function(){function m(N){return a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},21066:function(L,r,n){"use strict";var e=n(30432),a=n(18539).find,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("find",function(){function m(N){return a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},43059:function(L,r,n){"use strict";var e=n(43186);e("Float32",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},97363:function(L,r,n){"use strict";var e=n(43186);e("Float64",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},35249:function(L,r,n){"use strict";var e=n(30432),a=n(18539).forEach,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("forEach",function(){function m(N){a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},68739:function(L,r,n){"use strict";var e=n(45410),a=n(30432).exportTypedArrayStaticMethod,t=n(12778);a("from",t,e)},5723:function(L,r,n){"use strict";var e=n(30432),a=n(33483).includes,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("includes",function(){function m(N){return a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},40353:function(L,r,n){"use strict";var e=n(30432),a=n(33483).indexOf,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("indexOf",function(){function m(N){return a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},33278:function(L,r,n){"use strict";var e=n(43186);e("Int16",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},65331:function(L,r,n){"use strict";var e=n(43186);e("Int32",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},99755:function(L,r,n){"use strict";var e=n(43186);e("Int8",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},87975:function(L,r,n){"use strict";var e=n(26856),a=n(13586),t=n(72908),o=n(30432),m=n(26017),N=n(95558),y=N("iterator"),S=e.Uint8Array,k=t(m.values),p=t(m.keys),l=t(m.entries),c=o.aTypedArray,f=o.exportTypedArrayMethod,i=S&&S.prototype,u=!a(function(){i[y].call([1])}),s=!!i&&i.values&&i[y]===i.values&&i.values.name==="values",d=function(){function C(){return k(c(this))}return C}();f("entries",function(){function C(){return l(c(this))}return C}(),u),f("keys",function(){function C(){return p(c(this))}return C}(),u),f("values",d,u||!s,{name:"values"}),f(y,d,u||!s,{name:"values"})},20812:function(L,r,n){"use strict";var e=n(30432),a=n(72908),t=e.aTypedArray,o=e.exportTypedArrayMethod,m=a([].join);o("join",function(){function N(y){return m(t(this),y)}return N}())},5640:function(L,r,n){"use strict";var e=n(30432),a=n(47244),t=n(16400),o=e.aTypedArray,m=e.exportTypedArrayMethod;m("lastIndexOf",function(){function N(y){var S=arguments.length;return a(t,o(this),S>1?[y,arguments[1]]:[y])}return N}())},47736:function(L,r,n){"use strict";var e=n(30432),a=n(18539).map,t=n(9230),o=e.aTypedArray,m=e.exportTypedArrayMethod;m("map",function(){function N(y){return a(o(this),y,arguments.length>1?arguments[1]:void 0,function(S,k){return new(t(S))(k)})}return N}())},81944:function(L,r,n){"use strict";var e=n(30432),a=n(45410),t=e.aTypedArrayConstructor,o=e.exportTypedArrayStaticMethod;o("of",function(){function m(){for(var N=0,y=arguments.length,S=new(t(this))(y);y>N;)S[N]=arguments[N++];return S}return m}(),a)},72214:function(L,r,n){"use strict";var e=n(30432),a=n(58394).right,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduceRight",function(){function m(N){var y=arguments.length;return a(t(this),N,y,y>1?arguments[1]:void 0)}return m}())},68685:function(L,r,n){"use strict";var e=n(30432),a=n(58394).left,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduce",function(){function m(N){var y=arguments.length;return a(t(this),N,y,y>1?arguments[1]:void 0)}return m}())},48774:function(L,r,n){"use strict";var e=n(30432),a=e.aTypedArray,t=e.exportTypedArrayMethod,o=Math.floor;t("reverse",function(){function m(){for(var N=this,y=a(N).length,S=o(y/2),k=0,p;k<S;)p=N[k],N[k++]=N[--y],N[y]=p;return N}return m}())},2915:function(L,r,n){"use strict";var e=n(26856),a=n(20276),t=n(30432),o=n(83207),m=n(45476),N=n(63549),y=n(13586),S=e.RangeError,k=e.Int8Array,p=k&&k.prototype,l=p&&p.set,c=t.aTypedArray,f=t.exportTypedArrayMethod,i=!y(function(){var s=new Uint8ClampedArray(2);return a(l,s,{length:1,0:3},1),s[1]!==3}),u=i&&t.NATIVE_ARRAY_BUFFER_VIEWS&&y(function(){var s=new k(2);return s.set(1),s.set("2",1),s[0]!==0||s[1]!==2});f("set",function(){function s(d){c(this);var C=m(arguments.length>1?arguments[1]:void 0,1),g=N(d);if(i)return a(l,this,g,C);var v=this.length,h=o(g),V=0;if(h+C>v)throw new S("Wrong length");for(;V<h;)this[C+V]=g[V++]}return s}(),!i||u)},17165:function(L,r,n){"use strict";var e=n(30432),a=n(9230),t=n(13586),o=n(31170),m=e.aTypedArray,N=e.exportTypedArrayMethod,y=t(function(){new Int8Array(1).slice()});N("slice",function(){function S(k,p){for(var l=o(m(this),k,p),c=a(this),f=0,i=l.length,u=new c(i);i>f;)u[f]=l[f++];return u}return S}(),y)},10702:function(L,r,n){"use strict";var e=n(30432),a=n(18539).some,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("some",function(){function m(N){return a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},76622:function(L,r,n){"use strict";var e=n(26856),a=n(69935),t=n(13586),o=n(79474),m=n(91183),N=n(30432),y=n(31574),S=n(88836),k=n(43541),p=n(27204),l=N.aTypedArray,c=N.exportTypedArrayMethod,f=e.Uint16Array,i=f&&a(f.prototype.sort),u=!!i&&!(t(function(){i(new f(2),null)})&&t(function(){i(new f(2),{})})),s=!!i&&!t(function(){if(k)return k<74;if(y)return y<67;if(S)return!0;if(p)return p<602;var C=new f(516),g=Array(516),v,h;for(v=0;v<516;v++)h=v%4,C[v]=515-v,g[v]=v-2*h+3;for(i(C,function(V,b){return(V/4|0)-(b/4|0)}),v=0;v<516;v++)if(C[v]!==g[v])return!0}),d=function(g){return function(v,h){return g!==void 0?+g(v,h)||0:h!==h?-1:v!==v?1:v===0&&h===0?1/v>0&&1/h<0?1:-1:v>h}};c("sort",function(){function C(g){return g!==void 0&&o(g),s?i(this,g):m(l(this),d(g))}return C}(),!s||u)},64408:function(L,r,n){"use strict";var e=n(30432),a=n(74369),t=n(39531),o=n(9230),m=e.aTypedArray,N=e.exportTypedArrayMethod;N("subarray",function(){function y(S,k){var p=m(this),l=p.length,c=t(S,l),f=o(p);return new f(p.buffer,p.byteOffset+c*p.BYTES_PER_ELEMENT,a((k===void 0?l:t(k,l))-c))}return y}())},22306:function(L,r,n){"use strict";var e=n(26856),a=n(47244),t=n(30432),o=n(13586),m=n(31170),N=e.Int8Array,y=t.aTypedArray,S=t.exportTypedArrayMethod,k=[].toLocaleString,p=!!N&&o(function(){k.call(new N(1))}),l=o(function(){return[1,2].toLocaleString()!==new N([1,2]).toLocaleString()})||!o(function(){N.prototype.toLocaleString.call([1,2])});S("toLocaleString",function(){function c(){return a(k,p?m(y(this)):y(this),m(arguments))}return c}(),l)},90334:function(L,r,n){"use strict";var e=n(30432).exportTypedArrayMethod,a=n(13586),t=n(26856),o=n(72908),m=t.Uint8Array,N=m&&m.prototype||{},y=[].toString,S=o([].join);a(function(){y.call({})})&&(y=function(){function p(){return S(this)}return p}());var k=N.toString!==y;e("toString",y,k)},70088:function(L,r,n){"use strict";var e=n(43186);e("Uint16",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},7284:function(L,r,n){"use strict";var e=n(43186);e("Uint32",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},25855:function(L,r,n){"use strict";var e=n(43186);e("Uint8",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},97372:function(L,r,n){"use strict";var e=n(43186);e("Uint8",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()},!0)},84937:function(L,r,n){"use strict";var e=n(58199),a=n(26856),t=n(72908),o=n(26148),m=n(66526),N=n(10609),y=n(19250),S=n(66379),k=n(4471).enforce,p=n(13586),l=n(73844),c=Object,f=Array.isArray,i=c.isExtensible,u=c.isFrozen,s=c.isSealed,d=c.freeze,C=c.seal,g=!a.ActiveXObject&&"ActiveXObject"in a,v,h=function(E){return function(){function P(){return E(this,arguments.length?arguments[0]:void 0)}return P}()},V=N("WeakMap",h,y),b=V.prototype,B=t(b.set),I=function(){return e&&p(function(){var E=d([]);return B(new V,E,1),!u(E)})};if(l)if(g){v=y.getConstructor(h,"WeakMap",!0),m.enable();var w=t(b.delete),T=t(b.has),A=t(b.get);o(b,{delete:function(){function x(E){if(S(E)&&!i(E)){var P=k(this);return P.frozen||(P.frozen=new v),w(this,E)||P.frozen.delete(E)}return w(this,E)}return x}(),has:function(){function x(E){if(S(E)&&!i(E)){var P=k(this);return P.frozen||(P.frozen=new v),T(this,E)||P.frozen.has(E)}return T(this,E)}return x}(),get:function(){function x(E){if(S(E)&&!i(E)){var P=k(this);return P.frozen||(P.frozen=new v),T(this,E)?A(this,E):P.frozen.get(E)}return A(this,E)}return x}(),set:function(){function x(E,P){if(S(E)&&!i(E)){var D=k(this);D.frozen||(D.frozen=new v),T(this,E)?B(this,E,P):D.frozen.set(E,P)}else B(this,E,P);return this}return x}()})}else I()&&o(b,{set:function(){function x(E,P){var D;return f(E)&&(u(E)?D=d:s(E)&&(D=C)),B(this,E,P),D&&D(E),this}return x}()})},69880:function(L,r,n){"use strict";n(84937)},74764:function(L,r,n){"use strict";var e=n(10609),a=n(19250);e("WeakSet",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},37167:function(L,r,n){"use strict";n(74764)},82818:function(L,r,n){"use strict";var e=n(3116),a=n(26856),t=n(87073).clear;e({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==t},{clearImmediate:t})},25109:function(L,r,n){"use strict";n(82818),n(21813)},367:function(L,r,n){"use strict";var e=n(3116),a=n(60816),t=n(79474),o=n(92827);e({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(){function m(N){o(arguments.length,1),a(t(N))}return m}()})},21813:function(L,r,n){"use strict";var e=n(3116),a=n(26856),t=n(87073).set,o=n(17459),m=a.setImmediate?o(t,!1):t;e({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==m},{setImmediate:m})},50943:function(L,r,n){"use strict";var e=n(3116),a=n(26856),t=n(17459),o=t(a.setInterval,!0);e({global:!0,bind:!0,forced:a.setInterval!==o},{setInterval:o})},91851:function(L,r,n){"use strict";var e=n(3116),a=n(26856),t=n(17459),o=t(a.setTimeout,!0);e({global:!0,bind:!0,forced:a.setTimeout!==o},{setTimeout:o})},8459:function(L,r,n){"use strict";n(50943),n(91851)},87454:function(L){"use strict";/** + */var t=r.BoxWithSampleText=function(){function o(m){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({},m,{children:[(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,a.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return o}()},21965:function(){},28169:function(){},36487:function(){},35739:function(){},33631:function(){},74785:function(){},6895:function(){},3251:function(){},7455:function(){},58823:function(){},49265:function(){},55350:function(){},45503:function(){},36557:function(){},70555:function(){},70752:function(L,r,n){var e={"./pai_atmosphere.js":24704,"./pai_bioscan.js":4209,"./pai_directives.js":44430,"./pai_doorjack.js":3367,"./pai_main_menu.js":73395,"./pai_manifest.js":37645,"./pai_medrecords.js":15836,"./pai_messenger.js":91737,"./pai_radio.js":94077,"./pai_secrecords.js":72621,"./pai_signaler.js":53483};function a(o){var m=t(o);return n(m)}function t(o){if(!n.o(e,o)){var m=new Error("Cannot find module '"+o+"'");throw m.code="MODULE_NOT_FOUND",m}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,L.exports=a,a.id=70752},59395:function(L,r,n){var e={"./pda_atmos_scan.js":21606,"./pda_janitor.js":12339,"./pda_main_menu.js":36615,"./pda_manifest.js":99737,"./pda_medical.js":61597,"./pda_messenger.js":30709,"./pda_mob_hunt.js":71654,"./pda_mule.js":68053,"./pda_nanobank.js":31728,"./pda_notes.js":29415,"./pda_power.js":52363,"./pda_secbot.js":23914,"./pda_security.js":68878,"./pda_signaler.js":95135,"./pda_status_display.js":20835,"./pda_supplyrecords.js":11741};function a(o){var m=t(o);return n(m)}function t(o){if(!n.o(e,o)){var m=new Error("Cannot find module '"+o+"'");throw m.code="MODULE_NOT_FOUND",m}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,L.exports=a,a.id=59395},32054:function(L,r,n){var e={"./AICard":29732,"./AICard.js":29732,"./AIFixer":78468,"./AIFixer.js":78468,"./APC":73544,"./APC.js":73544,"./ATM":79098,"./ATM.js":79098,"./AccountsUplinkTerminal":64613,"./AccountsUplinkTerminal.js":64613,"./AgentCard":34257,"./AgentCard.js":34257,"./AiAirlock":56839,"./AiAirlock.js":56839,"./AirAlarm":5565,"./AirAlarm.js":5565,"./AirlockAccessController":82915,"./AirlockAccessController.js":82915,"./AirlockElectronics":14962,"./AirlockElectronics.js":14962,"./AlertModal":99327,"./AlertModal.tsx":99327,"./AppearanceChanger":88642,"./AppearanceChanger.js":88642,"./AtmosAlertConsole":51731,"./AtmosAlertConsole.js":51731,"./AtmosControl":57467,"./AtmosControl.js":57467,"./AtmosFilter":41550,"./AtmosFilter.js":41550,"./AtmosMixer":70151,"./AtmosMixer.js":70151,"./AtmosPump":54090,"./AtmosPump.js":54090,"./AtmosTankControl":31335,"./AtmosTankControl.js":31335,"./Autolathe":85909,"./Autolathe.js":85909,"./BioChipPad":81617,"./BioChipPad.js":81617,"./Biogenerator":26215,"./Biogenerator.js":26215,"./BlueSpaceArtilleryControl":65483,"./BlueSpaceArtilleryControl.js":65483,"./BluespaceTap":69099,"./BluespaceTap.js":69099,"./BodyScanner":71736,"./BodyScanner.js":71736,"./BookBinder":99449,"./BookBinder.js":99449,"./BotClean":43506,"./BotClean.js":43506,"./BotFloor":89593,"./BotFloor.js":89593,"./BotHonk":89513,"./BotHonk.js":89513,"./BotMed":19297,"./BotMed.js":19297,"./BotSecurity":4249,"./BotSecurity.js":4249,"./BrigCells":27267,"./BrigCells.js":27267,"./BrigTimer":26623,"./BrigTimer.js":26623,"./CameraConsole":43542,"./CameraConsole.js":43542,"./CameraConsole220":9300,"./CameraConsole220.js":9300,"./Canister":95513,"./Canister.js":95513,"./CardComputer":60463,"./CardComputer.js":60463,"./CargoConsole":16377,"./CargoConsole.js":16377,"./ChangelogView":89917,"./ChangelogView.js":89917,"./ChemDispenser":71254,"./ChemDispenser.js":71254,"./ChemHeater":27004,"./ChemHeater.js":27004,"./ChemMaster":33611,"./ChemMaster.js":33611,"./CloningConsole":51327,"./CloningConsole.js":51327,"./CloningPod":66373,"./CloningPod.js":66373,"./ColourMatrixTester":11866,"./ColourMatrixTester.js":11866,"./CommunicationsComputer":22420,"./CommunicationsComputer.js":22420,"./CompostBin":46868,"./CompostBin.js":46868,"./Contractor":64707,"./Contractor.js":64707,"./ConveyorSwitch":52141,"./ConveyorSwitch.js":52141,"./CrewMonitor":94187,"./CrewMonitor.js":94187,"./Cryo":60561,"./Cryo.js":60561,"./CryopodConsole":27889,"./CryopodConsole.js":27889,"./DNAModifier":81434,"./DNAModifier.js":81434,"./DestinationTagger":99127,"./DestinationTagger.js":99127,"./DisposalBin":93430,"./DisposalBin.js":93430,"./DnaVault":31491,"./DnaVault.js":31491,"./DroneConsole":30747,"./DroneConsole.js":30747,"./EFTPOS":74781,"./EFTPOS.js":74781,"./ERTManager":30672,"./ERTManager.js":30672,"./EconomyManager":24503,"./EconomyManager.js":24503,"./Electropack":15543,"./Electropack.js":15543,"./Emojipedia":57013,"./Emojipedia.tsx":57013,"./EmotePanel":75450,"./EmotePanel.js":75450,"./EvolutionMenu":99012,"./EvolutionMenu.js":99012,"./ExosuitFabricator":37504,"./ExosuitFabricator.js":37504,"./ExperimentConsole":9466,"./ExperimentConsole.js":9466,"./ExternalAirlockController":77284,"./ExternalAirlockController.js":77284,"./FaxMachine":52516,"./FaxMachine.js":52516,"./FilingCabinet":24777,"./FilingCabinet.js":24777,"./FloorPainter":88361,"./FloorPainter.js":88361,"./GPS":70078,"./GPS.js":70078,"./GeneModder":92246,"./GeneModder.js":92246,"./GenericCrewManifest":27163,"./GenericCrewManifest.js":27163,"./GhostHudPanel":53808,"./GhostHudPanel.js":53808,"./GlandDispenser":32035,"./GlandDispenser.js":32035,"./GravityGen":33004,"./GravityGen.js":33004,"./GuestPass":39775,"./GuestPass.js":39775,"./HandheldChemDispenser":22480,"./HandheldChemDispenser.js":22480,"./HealthSensor":22616,"./HealthSensor.js":22616,"./Holodeck":76861,"./Holodeck.js":76861,"./Instrument":96729,"./Instrument.js":96729,"./Jukebox":99366,"./Jukebox.tsx":99366,"./KeycardAuth":53385,"./KeycardAuth.js":53385,"./KitchenMachine":58553,"./KitchenMachine.js":58553,"./LawManager":14047,"./LawManager.js":14047,"./LibraryComputer":5872,"./LibraryComputer.js":5872,"./LibraryManager":37782,"./LibraryManager.js":37782,"./ListInputModal":26133,"./ListInputModal.tsx":26133,"./MODsuit":71963,"./MODsuit.js":71963,"./MagnetController":84274,"./MagnetController.js":84274,"./MechBayConsole":95752,"./MechBayConsole.js":95752,"./MechaControlConsole":53668,"./MechaControlConsole.js":53668,"./MedicalRecords":96467,"./MedicalRecords.js":96467,"./MerchVendor":68211,"./MerchVendor.js":68211,"./MiningVendor":14162,"./MiningVendor.js":14162,"./ModpacksList":46146,"./ModpacksList.js":46146,"./NTRecruiter":68977,"./NTRecruiter.js":68977,"./Newscaster":17067,"./Newscaster.js":17067,"./NuclearBomb":46940,"./NuclearBomb.js":46940,"./NumberInputModal":35478,"./NumberInputModal.tsx":35478,"./OperatingComputer":98476,"./OperatingComputer.js":98476,"./Orbit":98702,"./Orbit.js":98702,"./OreRedemption":74015,"./OreRedemption.js":74015,"./PAI":48824,"./PAI.js":48824,"./PDA":41565,"./PDA.js":41565,"./Pacman":78704,"./Pacman.js":78704,"./ParticleAccelerator":78643,"./ParticleAccelerator.js":78643,"./PdaPainter":34026,"./PdaPainter.js":34026,"./PersonalCrafting":81378,"./PersonalCrafting.js":81378,"./Photocopier":58792,"./Photocopier.js":58792,"./Photocopier220":45642,"./Photocopier220.js":45642,"./PoolController":27902,"./PoolController.js":27902,"./PortablePump":52025,"./PortablePump.js":52025,"./PortableScrubber":57827,"./PortableScrubber.js":57827,"./PortableTurret":63825,"./PortableTurret.js":63825,"./PowerMonitor":70373,"./PowerMonitor.js":70373,"./PrisonerImplantManager":27262,"./PrisonerImplantManager.js":27262,"./PrisonerShuttleConsole":22046,"./PrisonerShuttleConsole.js":22046,"./PrizeCounter":92014,"./PrizeCounter.tsx":92014,"./RCD":87963,"./RCD.js":87963,"./RPD":84364,"./RPD.js":84364,"./Radio":14641,"./Radio.js":14641,"./ReagentGrinder":40483,"./ReagentGrinder.js":40483,"./RemoteSignaler":94049,"./RemoteSignaler.js":94049,"./RequestConsole":12326,"./RequestConsole.js":12326,"./RndConsole":89641,"./RndConsole.js":89641,"./RndConsoleComponents":3422,"./RndConsoleComponents/":3422,"./RndConsoleComponents/CurrentLevels":19348,"./RndConsoleComponents/CurrentLevels.js":19348,"./RndConsoleComponents/DataDiskMenu":338,"./RndConsoleComponents/DataDiskMenu.js":338,"./RndConsoleComponents/DeconstructionMenu":90785,"./RndConsoleComponents/DeconstructionMenu.js":90785,"./RndConsoleComponents/LatheCategory":34492,"./RndConsoleComponents/LatheCategory.js":34492,"./RndConsoleComponents/LatheChemicalStorage":84275,"./RndConsoleComponents/LatheChemicalStorage.js":84275,"./RndConsoleComponents/LatheMainMenu":12638,"./RndConsoleComponents/LatheMainMenu.js":12638,"./RndConsoleComponents/LatheMaterialStorage":89004,"./RndConsoleComponents/LatheMaterialStorage.js":89004,"./RndConsoleComponents/LatheMaterials":73856,"./RndConsoleComponents/LatheMaterials.js":73856,"./RndConsoleComponents/LatheMenu":75955,"./RndConsoleComponents/LatheMenu.js":75955,"./RndConsoleComponents/LatheSearch":72880,"./RndConsoleComponents/LatheSearch.js":72880,"./RndConsoleComponents/MainMenu":62306,"./RndConsoleComponents/MainMenu.js":62306,"./RndConsoleComponents/RndNavButton":99941,"./RndConsoleComponents/RndNavButton.js":99941,"./RndConsoleComponents/RndNavbar":24448,"./RndConsoleComponents/RndNavbar.js":24448,"./RndConsoleComponents/RndRoute":78345,"./RndConsoleComponents/RndRoute.js":78345,"./RndConsoleComponents/SettingsMenu":56454,"./RndConsoleComponents/SettingsMenu.js":56454,"./RndConsoleComponents/index":3422,"./RndConsoleComponents/index.js":3422,"./RobotSelfDiagnosis":71123,"./RobotSelfDiagnosis.js":71123,"./RoboticsControlConsole":98951,"./RoboticsControlConsole.js":98951,"./Safe":2289,"./Safe.js":2289,"./SatelliteControl":49334,"./SatelliteControl.js":49334,"./SecureStorage":54892,"./SecureStorage.js":54892,"./SecurityRecords":56798,"./SecurityRecords.js":56798,"./SeedExtractor":59981,"./SeedExtractor.js":59981,"./ShuttleConsole":33454,"./ShuttleConsole.js":33454,"./ShuttleManipulator":50451,"./ShuttleManipulator.js":50451,"./Sleeper":99050,"./Sleeper.js":99050,"./SlotMachine":37763,"./SlotMachine.js":37763,"./Smartfridge":26654,"./Smartfridge.js":26654,"./Smes":71124,"./Smes.js":71124,"./SolarControl":21786,"./SolarControl.js":21786,"./SpawnersMenu":31202,"./SpawnersMenu.js":31202,"./SpecMenu":84800,"./SpecMenu.js":84800,"./StationAlertConsole":46501,"./StationAlertConsole.js":46501,"./StationTraitsPanel":18565,"./StationTraitsPanel.tsx":18565,"./StripMenu":95147,"./StripMenu.tsx":95147,"./SuitStorage":61284,"./SuitStorage.js":61284,"./SupermatterMonitor":19796,"./SupermatterMonitor.js":19796,"./SyndicateComputerSimple":30047,"./SyndicateComputerSimple.js":30047,"./TEG":28830,"./TEG.js":28830,"./TTSSeedsExplorer":67432,"./TTSSeedsExplorer.tsx":67432,"./TachyonArray":39903,"./TachyonArray.js":39903,"./Tank":17068,"./Tank.js":17068,"./TankDispenser":69161,"./TankDispenser.js":69161,"./TcommsCore":87394,"./TcommsCore.js":87394,"./TcommsRelay":55684,"./TcommsRelay.js":55684,"./Teleporter":81088,"./Teleporter.js":81088,"./TempGun":96150,"./TempGun.js":96150,"./TextInputModal":95484,"./TextInputModal.tsx":95484,"./ThermoMachine":378,"./ThermoMachine.js":378,"./TransferValve":3365,"./TransferValve.js":3365,"./TurbineComputer":13860,"./TurbineComputer.js":13860,"./Uplink":22169,"./Uplink.js":22169,"./Vending":70547,"./Vending.js":70547,"./VolumeMixer":33045,"./VolumeMixer.js":33045,"./VotePanel":53792,"./VotePanel.js":53792,"./Wires":64860,"./Wires.js":64860,"./WizardApprenticeContract":78262,"./WizardApprenticeContract.js":78262,"./common/AccessList":57842,"./common/AccessList.js":57842,"./common/AtmosScan":79449,"./common/AtmosScan.js":79449,"./common/BeakerContents":1496,"./common/BeakerContents.js":1496,"./common/BotStatus":69521,"./common/BotStatus.js":69521,"./common/ComplexModal":99665,"./common/ComplexModal.js":99665,"./common/CrewManifest":98444,"./common/CrewManifest.js":98444,"./common/InputButtons":15113,"./common/InputButtons.tsx":15113,"./common/InterfaceLockNoticeBox":26893,"./common/InterfaceLockNoticeBox.js":26893,"./common/Loader":14299,"./common/Loader.tsx":14299,"./common/LoginInfo":68159,"./common/LoginInfo.js":68159,"./common/LoginScreen":27527,"./common/LoginScreen.js":27527,"./common/Operating":75201,"./common/Operating.js":75201,"./common/Signaler":65435,"./common/Signaler.js":65435,"./common/SimpleRecords":77534,"./common/SimpleRecords.js":77534,"./common/TemporaryNotice":84537,"./common/TemporaryNotice.js":84537,"./pai/pai_atmosphere":24704,"./pai/pai_atmosphere.js":24704,"./pai/pai_bioscan":4209,"./pai/pai_bioscan.js":4209,"./pai/pai_directives":44430,"./pai/pai_directives.js":44430,"./pai/pai_doorjack":3367,"./pai/pai_doorjack.js":3367,"./pai/pai_main_menu":73395,"./pai/pai_main_menu.js":73395,"./pai/pai_manifest":37645,"./pai/pai_manifest.js":37645,"./pai/pai_medrecords":15836,"./pai/pai_medrecords.js":15836,"./pai/pai_messenger":91737,"./pai/pai_messenger.js":91737,"./pai/pai_radio":94077,"./pai/pai_radio.js":94077,"./pai/pai_secrecords":72621,"./pai/pai_secrecords.js":72621,"./pai/pai_signaler":53483,"./pai/pai_signaler.js":53483,"./pda/pda_atmos_scan":21606,"./pda/pda_atmos_scan.js":21606,"./pda/pda_janitor":12339,"./pda/pda_janitor.js":12339,"./pda/pda_main_menu":36615,"./pda/pda_main_menu.js":36615,"./pda/pda_manifest":99737,"./pda/pda_manifest.js":99737,"./pda/pda_medical":61597,"./pda/pda_medical.js":61597,"./pda/pda_messenger":30709,"./pda/pda_messenger.js":30709,"./pda/pda_mob_hunt":71654,"./pda/pda_mob_hunt.js":71654,"./pda/pda_mule":68053,"./pda/pda_mule.js":68053,"./pda/pda_nanobank":31728,"./pda/pda_nanobank.js":31728,"./pda/pda_notes":29415,"./pda/pda_notes.js":29415,"./pda/pda_power":52363,"./pda/pda_power.js":52363,"./pda/pda_secbot":23914,"./pda/pda_secbot.js":23914,"./pda/pda_security":68878,"./pda/pda_security.js":68878,"./pda/pda_signaler":95135,"./pda/pda_signaler.js":95135,"./pda/pda_status_display":20835,"./pda/pda_status_display.js":20835,"./pda/pda_supplyrecords":11741,"./pda/pda_supplyrecords.js":11741};function a(o){var m=t(o);return n(m)}function t(o){if(!n.o(e,o)){var m=new Error("Cannot find module '"+o+"'");throw m.code="MODULE_NOT_FOUND",m}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,L.exports=a,a.id=32054},4085:function(L,r,n){var e={"./Blink.stories.js":61498,"./BlockQuote.stories.js":27431,"./Box.stories.js":6517,"./Button.stories.js":20648,"./ByondUi.stories.js":14906,"./Collapsible.stories.js":59948,"./Flex.stories.js":37227,"./Input.stories.js":32304,"./Popper.stories.js":50394,"./ProgressBar.stories.js":75096,"./Stack.stories.js":30268,"./Storage.stories.js":22645,"./Tabs.stories.js":42120,"./Themes.stories.js":80254,"./Tooltip.stories.js":90823};function a(o){var m=t(o);return n(m)}function t(o){if(!n.o(e,o)){var m=new Error("Cannot find module '"+o+"'");throw m.code="MODULE_NOT_FOUND",m}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,L.exports=a,a.id=4085},97361:function(L,r,n){"use strict";var e=n(7532),a=n(62518),t=TypeError;L.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a function")}},76833:function(L,r,n){"use strict";var e=n(60354),a=n(62518),t=TypeError;L.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a constructor")}},51689:function(L,r,n){"use strict";var e=n(41224),a=String,t=TypeError;L.exports=function(o){if(e(o))return o;throw new t("Can't set "+a(o)+" as a prototype")}},91138:function(L,r,n){"use strict";var e=n(66266),a=n(28969),t=n(56018).f,o=e("unscopables"),m=Array.prototype;m[o]===void 0&&t(m,o,{configurable:!0,value:a(null)}),L.exports=function(N){m[o][N]=!0}},62970:function(L,r,n){"use strict";var e=n(56852).charAt;L.exports=function(a,t,o){return t+(o?e(a,t).length:1)}},19870:function(L,r,n){"use strict";var e=n(33314),a=TypeError;L.exports=function(t,o){if(e(o,t))return t;throw new a("Incorrect invocation")}},39482:function(L,r,n){"use strict";var e=n(56831),a=String,t=TypeError;L.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not an object")}},67404:function(L){"use strict";L.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},65693:function(L,r,n){"use strict";var e=n(41746);L.exports=e(function(){if(typeof ArrayBuffer=="function"){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},72951:function(L,r,n){"use strict";var e=n(67404),a=n(14141),t=n(40224),o=n(7532),m=n(56831),N=n(89458),y=n(27806),S=n(62518),k=n(16216),p=n(59173),l=n(10069),c=n(33314),f=n(31658),u=n(42878),i=n(66266),s=n(33345),d=n(35086),h=d.enforce,v=d.get,g=t.Int8Array,C=g&&g.prototype,V=t.Uint8ClampedArray,b=V&&V.prototype,B=g&&f(g),I=C&&f(C),w=Object.prototype,T=t.TypeError,A=i("toStringTag"),x=s("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",M=e&&!!u&&y(t.opera)!=="Opera",j=!1,P,R,D,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},W={BigInt64Array:8,BigUint64Array:8},_=function(){function re(me){if(!m(me))return!1;var pe=y(me);return pe==="DataView"||N(F,pe)||N(W,pe)}return re}(),H=function re(me){var pe=f(me);if(m(pe)){var ye=v(pe);return ye&&N(ye,E)?ye[E]:re(pe)}},z=function(me){if(!m(me))return!1;var pe=y(me);return N(F,pe)||N(W,pe)},$=function(me){if(z(me))return me;throw new T("Target is not a typed array")},X=function(me){if(o(me)&&(!u||c(B,me)))return me;throw new T(S(me)+" is not a typed array constructor")},J=function(me,pe,ye,Be){if(a){if(ye)for(var he in F){var oe=t[he];if(oe&&N(oe.prototype,me))try{delete oe.prototype[me]}catch(Z){try{oe.prototype[me]=pe}catch(q){}}}(!I[me]||ye)&&p(I,me,ye?pe:M&&C[me]||pe,Be)}},ce=function(me,pe,ye){var Be,he;if(a){if(u){if(ye){for(Be in F)if(he=t[Be],he&&N(he,me))try{delete he[me]}catch(oe){}}if(!B[me]||ye)try{return p(B,me,ye?pe:M&&B[me]||pe)}catch(oe){}else return}for(Be in F)he=t[Be],he&&(!he[me]||ye)&&p(he,me,pe)}};for(P in F)R=t[P],D=R&&R.prototype,D?h(D)[E]=R:M=!1;for(P in W)R=t[P],D=R&&R.prototype,D&&(h(D)[E]=R);if((!M||!o(B)||B===Function.prototype)&&(B=function(){function re(){throw new T("Incorrect invocation")}return re}(),M))for(P in F)t[P]&&u(t[P],B);if((!M||!I||I===w)&&(I=B.prototype,M))for(P in F)t[P]&&u(t[P].prototype,I);if(M&&f(b)!==I&&u(b,I),a&&!N(I,A)){j=!0,l(I,A,{configurable:!0,get:function(){function re(){return m(this)?this[x]:void 0}return re}()});for(P in F)t[P]&&k(t[P],x,P)}L.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_TAG:j&&x,aTypedArray:$,aTypedArrayConstructor:X,exportTypedArrayMethod:J,exportTypedArrayStaticMethod:ce,getTypedArrayConstructor:H,isView:_,isTypedArray:z,TypedArray:B,TypedArrayPrototype:I}},46185:function(L,r,n){"use strict";var e=n(40224),a=n(18161),t=n(14141),o=n(67404),m=n(26463),N=n(16216),y=n(10069),S=n(13648),k=n(41746),p=n(19870),l=n(74952),c=n(10475),f=n(90835),u=n(75988),i=n(62263),s=n(31658),d=n(42878),h=n(59942),v=n(77713),g=n(2566),C=n(70113),V=n(94234),b=n(35086),B=m.PROPER,I=m.CONFIGURABLE,w="ArrayBuffer",T="DataView",A="prototype",x="Wrong length",E="Wrong index",M=b.getterFor(w),j=b.getterFor(T),P=b.set,R=e[w],D=R,F=D&&D[A],W=e[T],_=W&&W[A],H=Object.prototype,z=e.Array,$=e.RangeError,X=a(h),J=a([].reverse),ce=i.pack,re=i.unpack,me=function(ge){return[ge&255]},pe=function(ge){return[ge&255,ge>>8&255]},ye=function(ge){return[ge&255,ge>>8&255,ge>>16&255,ge>>24&255]},Be=function(ge){return ge[3]<<24|ge[2]<<16|ge[1]<<8|ge[0]},he=function(ge){return ce(u(ge),23,4)},oe=function(ge){return ce(ge,52,8)},Z=function(ge,ke,ve){y(ge[A],ke,{configurable:!0,get:function(){function Se(){return ve(this)[ke]}return Se}()})},q=function(ge,ke,ve,Se){var we=j(ge),xe=f(ve),Oe=!!Se;if(xe+ke>we.byteLength)throw new $(E);var We=we.bytes,Ve=xe+we.byteOffset,ae=v(We,Ve,Ve+ke);return Oe?ae:J(ae)},ue=function(ge,ke,ve,Se,we,xe){var Oe=j(ge),We=f(ve),Ve=Se(+we),ae=!!xe;if(We+ke>Oe.byteLength)throw new $(E);for(var le=Oe.bytes,Ce=We+Oe.byteOffset,de=0;de<ke;de++)le[Ce+de]=Ve[ae?de:ke-de-1]};if(!o)D=function(){function fe(ge){p(this,F);var ke=f(ge);P(this,{type:w,bytes:X(z(ke),0),byteLength:ke}),t||(this.byteLength=ke,this.detached=!1)}return fe}(),F=D[A],W=function(){function fe(ge,ke,ve){p(this,_),p(ge,F);var Se=M(ge),we=Se.byteLength,xe=l(ke);if(xe<0||xe>we)throw new $("Wrong offset");if(ve=ve===void 0?we-xe:c(ve),xe+ve>we)throw new $(x);P(this,{type:T,buffer:ge,byteLength:ve,byteOffset:xe,bytes:Se.bytes}),t||(this.buffer=ge,this.byteLength=ve,this.byteOffset=xe)}return fe}(),_=W[A],t&&(Z(D,"byteLength",M),Z(W,"buffer",j),Z(W,"byteLength",j),Z(W,"byteOffset",j)),S(_,{getInt8:function(){function fe(ge){return q(this,1,ge)[0]<<24>>24}return fe}(),getUint8:function(){function fe(ge){return q(this,1,ge)[0]}return fe}(),getInt16:function(){function fe(ge){var ke=q(this,2,ge,arguments.length>1?arguments[1]:!1);return(ke[1]<<8|ke[0])<<16>>16}return fe}(),getUint16:function(){function fe(ge){var ke=q(this,2,ge,arguments.length>1?arguments[1]:!1);return ke[1]<<8|ke[0]}return fe}(),getInt32:function(){function fe(ge){return Be(q(this,4,ge,arguments.length>1?arguments[1]:!1))}return fe}(),getUint32:function(){function fe(ge){return Be(q(this,4,ge,arguments.length>1?arguments[1]:!1))>>>0}return fe}(),getFloat32:function(){function fe(ge){return re(q(this,4,ge,arguments.length>1?arguments[1]:!1),23)}return fe}(),getFloat64:function(){function fe(ge){return re(q(this,8,ge,arguments.length>1?arguments[1]:!1),52)}return fe}(),setInt8:function(){function fe(ge,ke){ue(this,1,ge,me,ke)}return fe}(),setUint8:function(){function fe(ge,ke){ue(this,1,ge,me,ke)}return fe}(),setInt16:function(){function fe(ge,ke){ue(this,2,ge,pe,ke,arguments.length>2?arguments[2]:!1)}return fe}(),setUint16:function(){function fe(ge,ke){ue(this,2,ge,pe,ke,arguments.length>2?arguments[2]:!1)}return fe}(),setInt32:function(){function fe(ge,ke){ue(this,4,ge,ye,ke,arguments.length>2?arguments[2]:!1)}return fe}(),setUint32:function(){function fe(ge,ke){ue(this,4,ge,ye,ke,arguments.length>2?arguments[2]:!1)}return fe}(),setFloat32:function(){function fe(ge,ke){ue(this,4,ge,he,ke,arguments.length>2?arguments[2]:!1)}return fe}(),setFloat64:function(){function fe(ge,ke){ue(this,8,ge,oe,ke,arguments.length>2?arguments[2]:!1)}return fe}()});else{var se=B&&R.name!==w;!k(function(){R(1)})||!k(function(){new R(-1)})||k(function(){return new R,new R(1.5),new R(NaN),R.length!==1||se&&!I})?(D=function(){function fe(ge){return p(this,F),g(new R(f(ge)),this,D)}return fe}(),D[A]=F,F.constructor=D,C(D,R)):se&&I&&N(R,"name",w),d&&s(_)!==H&&d(_,H);var ne=new W(new D(2)),be=a(_.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),(ne.getInt8(0)||!ne.getInt8(1))&&S(_,{setInt8:function(){function fe(ge,ke){be(this,ge,ke<<24>>24)}return fe}(),setUint8:function(){function fe(ge,ke){be(this,ge,ke<<24>>24)}return fe}()},{unsafe:!0})}V(D,w),V(W,T),L.exports={ArrayBuffer:D,DataView:W}},42320:function(L,r,n){"use strict";var e=n(40076),a=n(74067),t=n(8333),o=n(58937),m=Math.min;L.exports=[].copyWithin||function(){function N(y,S){var k=e(this),p=t(k),l=a(y,p),c=a(S,p),f=arguments.length>2?arguments[2]:void 0,u=m((f===void 0?p:a(f,p))-c,p-l),i=1;for(c<l&&l<c+u&&(i=-1,c+=u-1,l+=u-1);u-- >0;)c in k?k[l]=k[c]:o(k,l),l+=i,c+=i;return k}return N}()},59942:function(L,r,n){"use strict";var e=n(40076),a=n(74067),t=n(8333);L.exports=function(){function o(m){for(var N=e(this),y=t(N),S=arguments.length,k=a(S>1?arguments[1]:void 0,y),p=S>2?arguments[2]:void 0,l=p===void 0?y:a(p,y);l>k;)N[k++]=m;return N}return o}()},75420:function(L,r,n){"use strict";var e=n(67480).forEach,a=n(42309),t=a("forEach");L.exports=t?[].forEach:function(){function o(m){return e(this,m,arguments.length>1?arguments[1]:void 0)}return o}()},6967:function(L,r,n){"use strict";var e=n(8333);L.exports=function(a,t,o){for(var m=0,N=arguments.length>2?o:e(t),y=new a(N);N>m;)y[m]=t[m++];return y}},80363:function(L,r,n){"use strict";var e=n(4509),a=n(62696),t=n(40076),o=n(17100),m=n(58482),N=n(60354),y=n(8333),S=n(12913),k=n(3438),p=n(76274),l=Array;L.exports=function(){function c(f){var u=t(f),i=N(this),s=arguments.length,d=s>1?arguments[1]:void 0,h=d!==void 0;h&&(d=e(d,s>2?arguments[2]:void 0));var v=p(u),g=0,C,V,b,B,I,w;if(v&&!(this===l&&m(v)))for(V=i?new this:[],B=k(u,v),I=B.next;!(b=a(I,B)).done;g++)w=h?o(B,d,[b.value,g],!0):b.value,S(V,g,w);else for(C=y(u),V=i?new this(C):l(C);C>g;g++)w=h?d(u[g],g):u[g],S(V,g,w);return V.length=g,V}return c}()},64210:function(L,r,n){"use strict";var e=n(96812),a=n(74067),t=n(8333),o=function(N){return function(y,S,k){var p=e(y),l=t(p);if(l===0)return!N&&-1;var c=a(k,l),f;if(N&&S!==S){for(;l>c;)if(f=p[c++],f!==f)return!0}else for(;l>c;c++)if((N||c in p)&&p[c]===S)return N||c||0;return!N&&-1}};L.exports={includes:o(!0),indexOf:o(!1)}},67480:function(L,r,n){"use strict";var e=n(4509),a=n(18161),t=n(26736),o=n(40076),m=n(8333),N=n(32878),y=a([].push),S=function(p){var l=p===1,c=p===2,f=p===3,u=p===4,i=p===6,s=p===7,d=p===5||i;return function(h,v,g,C){for(var V=o(h),b=t(V),B=m(b),I=e(v,g),w=0,T=C||N,A=l?T(h,B):c||s?T(h,0):void 0,x,E;B>w;w++)if((d||w in b)&&(x=b[w],E=I(x,w,V),p))if(l)A[w]=E;else if(E)switch(p){case 3:return!0;case 5:return x;case 6:return w;case 2:y(A,x)}else switch(p){case 4:return!1;case 7:y(A,x)}return i?-1:f||u?u:A}};L.exports={forEach:S(0),map:S(1),filter:S(2),some:S(3),every:S(4),find:S(5),findIndex:S(6),filterReject:S(7)}},16934:function(L,r,n){"use strict";var e=n(70918),a=n(96812),t=n(74952),o=n(8333),m=n(42309),N=Math.min,y=[].lastIndexOf,S=!!y&&1/[1].lastIndexOf(1,-0)<0,k=m("lastIndexOf"),p=S||!k;L.exports=p?function(){function l(c){if(S)return e(y,this,arguments)||0;var f=a(this),u=o(f);if(u===0)return-1;var i=u-1;for(arguments.length>1&&(i=N(i,t(arguments[1]))),i<0&&(i=u+i);i>=0;i--)if(i in f&&f[i]===c)return i||0;return-1}return l}():y},55114:function(L,r,n){"use strict";var e=n(41746),a=n(66266),t=n(82709),o=a("species");L.exports=function(m){return t>=51||!e(function(){var N=[],y=N.constructor={};return y[o]=function(){return{foo:1}},N[m](Boolean).foo!==1})}},42309:function(L,r,n){"use strict";var e=n(41746);L.exports=function(a,t){var o=[][a];return!!o&&e(function(){o.call(null,t||function(){return 1},1)})}},98405:function(L,r,n){"use strict";var e=n(97361),a=n(40076),t=n(26736),o=n(8333),m=TypeError,N="Reduce of empty array with no initial value",y=function(k){return function(p,l,c,f){var u=a(p),i=t(u),s=o(u);if(e(l),s===0&&c<2)throw new m(N);var d=k?s-1:0,h=k?-1:1;if(c<2)for(;;){if(d in i){f=i[d],d+=h;break}if(d+=h,k?d<0:s<=d)throw new m(N)}for(;k?d>=0:s>d;d+=h)d in i&&(f=l(f,i[d],d,u));return f}};L.exports={left:y(!1),right:y(!0)}},72720:function(L,r,n){"use strict";var e=n(14141),a=n(62367),t=TypeError,o=Object.getOwnPropertyDescriptor,m=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(N){return N instanceof TypeError}}();L.exports=m?function(N,y){if(a(N)&&!o(N,"length").writable)throw new t("Cannot set read only .length");return N.length=y}:function(N,y){return N.length=y}},77713:function(L,r,n){"use strict";var e=n(18161);L.exports=e([].slice)},44815:function(L,r,n){"use strict";var e=n(77713),a=Math.floor,t=function o(m,N){var y=m.length;if(y<8)for(var S=1,k,p;S<y;){for(p=S,k=m[S];p&&N(m[p-1],k)>0;)m[p]=m[--p];p!==S++&&(m[p]=k)}else for(var l=a(y/2),c=o(e(m,0,l),N),f=o(e(m,l),N),u=c.length,i=f.length,s=0,d=0;s<u||d<i;)m[s+d]=s<u&&d<i?N(c[s],f[d])<=0?c[s++]:f[d++]:s<u?c[s++]:f[d++];return m};L.exports=t},88988:function(L,r,n){"use strict";var e=n(62367),a=n(60354),t=n(56831),o=n(66266),m=o("species"),N=Array;L.exports=function(y){var S;return e(y)&&(S=y.constructor,a(S)&&(S===N||e(S.prototype))?S=void 0:t(S)&&(S=S[m],S===null&&(S=void 0))),S===void 0?N:S}},32878:function(L,r,n){"use strict";var e=n(88988);L.exports=function(a,t){return new(e(a))(t===0?0:t)}},17100:function(L,r,n){"use strict";var e=n(39482),a=n(14868);L.exports=function(t,o,m,N){try{return N?o(e(m)[0],m[1]):o(m)}catch(y){a(t,"throw",y)}}},52019:function(L,r,n){"use strict";var e=n(66266),a=e("iterator"),t=!1;try{var o=0,m={next:function(){function N(){return{done:!!o++}}return N}(),return:function(){function N(){t=!0}return N}()};m[a]=function(){return this},Array.from(m,function(){throw 2})}catch(N){}L.exports=function(N,y){try{if(!y&&!t)return!1}catch(p){return!1}var S=!1;try{var k={};k[a]=function(){return{next:function(){function p(){return{done:S=!0}}return p}()}},N(k)}catch(p){}return S}},38817:function(L,r,n){"use strict";var e=n(18161),a=e({}.toString),t=e("".slice);L.exports=function(o){return t(a(o),8,-1)}},27806:function(L,r,n){"use strict";var e=n(82161),a=n(7532),t=n(38817),o=n(66266),m=o("toStringTag"),N=Object,y=t(function(){return arguments}())==="Arguments",S=function(p,l){try{return p[l]}catch(c){}};L.exports=e?t:function(k){var p,l,c;return k===void 0?"Undefined":k===null?"Null":typeof(l=S(p=N(k),m))=="string"?l:y?t(p):(c=t(p))==="Object"&&a(p.callee)?"Arguments":c}},10623:function(L,r,n){"use strict";var e=n(28969),a=n(10069),t=n(13648),o=n(4509),m=n(19870),N=n(1022),y=n(281),S=n(2449),k=n(77056),p=n(67420),l=n(14141),c=n(29126).fastKey,f=n(35086),u=f.set,i=f.getterFor;L.exports={getConstructor:function(){function s(d,h,v,g){var C=d(function(w,T){m(w,V),u(w,{type:h,index:e(null),first:void 0,last:void 0,size:0}),l||(w.size=0),N(T)||y(T,w[g],{that:w,AS_ENTRIES:v})}),V=C.prototype,b=i(h),B=function(){function w(T,A,x){var E=b(T),M=I(T,A),j,P;return M?M.value=x:(E.last=M={index:P=c(A,!0),key:A,value:x,previous:j=E.last,next:void 0,removed:!1},E.first||(E.first=M),j&&(j.next=M),l?E.size++:T.size++,P!=="F"&&(E.index[P]=M)),T}return w}(),I=function(){function w(T,A){var x=b(T),E=c(A),M;if(E!=="F")return x.index[E];for(M=x.first;M;M=M.next)if(M.key===A)return M}return w}();return t(V,{clear:function(){function w(){for(var T=this,A=b(T),x=A.first;x;)x.removed=!0,x.previous&&(x.previous=x.previous.next=void 0),x=x.next;A.first=A.last=void 0,A.index=e(null),l?A.size=0:T.size=0}return w}(),delete:function(){function w(T){var A=this,x=b(A),E=I(A,T);if(E){var M=E.next,j=E.previous;delete x.index[E.index],E.removed=!0,j&&(j.next=M),M&&(M.previous=j),x.first===E&&(x.first=M),x.last===E&&(x.last=j),l?x.size--:A.size--}return!!E}return w}(),forEach:function(){function w(T){for(var A=b(this),x=o(T,arguments.length>1?arguments[1]:void 0),E;E=E?E.next:A.first;)for(x(E.value,E.key,this);E&&E.removed;)E=E.previous}return w}(),has:function(){function w(T){return!!I(this,T)}return w}()}),t(V,v?{get:function(){function w(T){var A=I(this,T);return A&&A.value}return w}(),set:function(){function w(T,A){return B(this,T===0?0:T,A)}return w}()}:{add:function(){function w(T){return B(this,T=T===0?0:T,T)}return w}()}),l&&a(V,"size",{configurable:!0,get:function(){function w(){return b(this).size}return w}()}),C}return s}(),setStrong:function(){function s(d,h,v){var g=h+" Iterator",C=i(h),V=i(g);S(d,h,function(b,B){u(this,{type:g,target:b,state:C(b),kind:B,last:void 0})},function(){for(var b=V(this),B=b.kind,I=b.last;I&&I.removed;)I=I.previous;return!b.target||!(b.last=I=I?I.next:b.state.first)?(b.target=void 0,k(void 0,!0)):k(B==="keys"?I.key:B==="values"?I.value:[I.key,I.value],!1)},v?"entries":"values",!v,!0),p(h)}return s}()}},32920:function(L,r,n){"use strict";var e=n(18161),a=n(13648),t=n(29126).getWeakData,o=n(19870),m=n(39482),N=n(1022),y=n(56831),S=n(281),k=n(67480),p=n(89458),l=n(35086),c=l.set,f=l.getterFor,u=k.find,i=k.findIndex,s=e([].splice),d=0,h=function(V){return V.frozen||(V.frozen=new v)},v=function(){this.entries=[]},g=function(V,b){return u(V.entries,function(B){return B[0]===b})};v.prototype={get:function(){function C(V){var b=g(this,V);if(b)return b[1]}return C}(),has:function(){function C(V){return!!g(this,V)}return C}(),set:function(){function C(V,b){var B=g(this,V);B?B[1]=b:this.entries.push([V,b])}return C}(),delete:function(){function C(V){var b=i(this.entries,function(B){return B[0]===V});return~b&&s(this.entries,b,1),!!~b}return C}()},L.exports={getConstructor:function(){function C(V,b,B,I){var w=V(function(E,M){o(E,T),c(E,{type:b,id:d++,frozen:void 0}),N(M)||S(M,E[I],{that:E,AS_ENTRIES:B})}),T=w.prototype,A=f(b),x=function(){function E(M,j,P){var R=A(M),D=t(m(j),!0);return D===!0?h(R).set(j,P):D[R.id]=P,M}return E}();return a(T,{delete:function(){function E(M){var j=A(this);if(!y(M))return!1;var P=t(M);return P===!0?h(j).delete(M):P&&p(P,j.id)&&delete P[j.id]}return E}(),has:function(){function E(M){var j=A(this);if(!y(M))return!1;var P=t(M);return P===!0?h(j).has(M):P&&p(P,j.id)}return E}()}),a(T,B?{get:function(){function E(M){var j=A(this);if(y(M)){var P=t(M);return P===!0?h(j).get(M):P?P[j.id]:void 0}}return E}(),set:function(){function E(M,j){return x(this,M,j)}return E}()}:{add:function(){function E(M){return x(this,M,!0)}return E}()}),w}return C}()}},93439:function(L,r,n){"use strict";var e=n(77549),a=n(40224),t=n(18161),o=n(95945),m=n(59173),N=n(29126),y=n(281),S=n(19870),k=n(7532),p=n(1022),l=n(56831),c=n(41746),f=n(52019),u=n(94234),i=n(2566);L.exports=function(s,d,h){var v=s.indexOf("Map")!==-1,g=s.indexOf("Weak")!==-1,C=v?"set":"add",V=a[s],b=V&&V.prototype,B=V,I={},w=function(R){var D=t(b[R]);m(b,R,R==="add"?function(){function F(W){return D(this,W===0?0:W),this}return F}():R==="delete"?function(F){return g&&!l(F)?!1:D(this,F===0?0:F)}:R==="get"?function(){function F(W){return g&&!l(W)?void 0:D(this,W===0?0:W)}return F}():R==="has"?function(){function F(W){return g&&!l(W)?!1:D(this,W===0?0:W)}return F}():function(){function F(W,_){return D(this,W===0?0:W,_),this}return F}())},T=o(s,!k(V)||!(g||b.forEach&&!c(function(){new V().entries().next()})));if(T)B=h.getConstructor(d,s,v,C),N.enable();else if(o(s,!0)){var A=new B,x=A[C](g?{}:-0,1)!==A,E=c(function(){A.has(1)}),M=f(function(P){new V(P)}),j=!g&&c(function(){for(var P=new V,R=5;R--;)P[C](R,R);return!P.has(-0)});M||(B=d(function(P,R){S(P,b);var D=i(new V,P,B);return p(R)||y(R,D[C],{that:D,AS_ENTRIES:v}),D}),B.prototype=b,b.constructor=B),(E||j)&&(w("delete"),w("has"),v&&w("get")),(j||x)&&w(C),g&&b.clear&&delete b.clear}return I[s]=B,e({global:!0,constructor:!0,forced:B!==V},I),u(B,s),g||h.setStrong(B,s,v),B}},70113:function(L,r,n){"use strict";var e=n(89458),a=n(93616),t=n(54168),o=n(56018);L.exports=function(m,N,y){for(var S=a(N),k=o.f,p=t.f,l=0;l<S.length;l++){var c=S[l];!e(m,c)&&!(y&&e(y,c))&&k(m,c,p(N,c))}}},93321:function(L,r,n){"use strict";var e=n(66266),a=e("match");L.exports=function(t){var o=/./;try{"/./"[t](o)}catch(m){try{return o[a]=!1,"/./"[t](o)}catch(N){}}return!1}},58776:function(L,r,n){"use strict";var e=n(41746);L.exports=!e(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},93677:function(L,r,n){"use strict";var e=n(18161),a=n(91029),t=n(26602),o=/"/g,m=e("".replace);L.exports=function(N,y,S,k){var p=t(a(N)),l="<"+y;return S!==""&&(l+=" "+S+'="'+m(t(k),o,""")+'"'),l+">"+p+"</"+y+">"}},77056:function(L){"use strict";L.exports=function(r,n){return{value:r,done:n}}},16216:function(L,r,n){"use strict";var e=n(14141),a=n(56018),t=n(7539);L.exports=e?function(o,m,N){return a.f(o,m,t(1,N))}:function(o,m,N){return o[m]=N,o}},7539:function(L){"use strict";L.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},12913:function(L,r,n){"use strict";var e=n(14141),a=n(56018),t=n(7539);L.exports=function(o,m,N){e?a.f(o,m,t(0,N)):o[m]=N}},74003:function(L,r,n){"use strict";var e=n(18161),a=n(41746),t=n(34086).start,o=RangeError,m=isFinite,N=Math.abs,y=Date.prototype,S=y.toISOString,k=e(y.getTime),p=e(y.getUTCDate),l=e(y.getUTCFullYear),c=e(y.getUTCHours),f=e(y.getUTCMilliseconds),u=e(y.getUTCMinutes),i=e(y.getUTCMonth),s=e(y.getUTCSeconds);L.exports=a(function(){return S.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!a(function(){S.call(new Date(NaN))})?function(){function d(){if(!m(k(this)))throw new o("Invalid time value");var h=this,v=l(h),g=f(h),C=v<0?"-":v>9999?"+":"";return C+t(N(v),C?6:4,0)+"-"+t(i(h)+1,2,0)+"-"+t(p(h),2,0)+"T"+t(c(h),2,0)+":"+t(u(h),2,0)+":"+t(s(h),2,0)+"."+t(g,3,0)+"Z"}return d}():S},95865:function(L,r,n){"use strict";var e=n(39482),a=n(14991),t=TypeError;L.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new t("Incorrect hint");return a(this,o)}},10069:function(L,r,n){"use strict";var e=n(76130),a=n(56018);L.exports=function(t,o,m){return m.get&&e(m.get,o,{getter:!0}),m.set&&e(m.set,o,{setter:!0}),a.f(t,o,m)}},59173:function(L,r,n){"use strict";var e=n(7532),a=n(56018),t=n(76130),o=n(93422);L.exports=function(m,N,y,S){S||(S={});var k=S.enumerable,p=S.name!==void 0?S.name:N;if(e(y)&&t(y,p,S),S.global)k?m[N]=y:o(N,y);else{try{S.unsafe?m[N]&&(k=!0):delete m[N]}catch(l){}k?m[N]=y:a.f(m,N,{value:y,enumerable:!1,configurable:!S.nonConfigurable,writable:!S.nonWritable})}return m}},13648:function(L,r,n){"use strict";var e=n(59173);L.exports=function(a,t,o){for(var m in t)e(a,m,t[m],o);return a}},93422:function(L,r,n){"use strict";var e=n(40224),a=Object.defineProperty;L.exports=function(t,o){try{a(e,t,{value:o,configurable:!0,writable:!0})}catch(m){e[t]=o}return o}},58937:function(L,r,n){"use strict";var e=n(62518),a=TypeError;L.exports=function(t,o){if(!delete t[o])throw new a("Cannot delete property "+e(o)+" of "+e(t))}},14141:function(L,r,n){"use strict";var e=n(41746);L.exports=!e(function(){return Object.defineProperty({},1,{get:function(){function a(){return 7}return a}()})[1]!==7})},85158:function(L,r,n){"use strict";var e=n(40224),a=n(56831),t=e.document,o=a(t)&&a(t.createElement);L.exports=function(m){return o?t.createElement(m):{}}},72434:function(L){"use strict";var r=TypeError,n=9007199254740991;L.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},49847:function(L,r,n){"use strict";var e=n(15837),a=e.match(/firefox\/(\d+)/i);L.exports=!!a&&+a[1]},27955:function(L,r,n){"use strict";var e=n(2971),a=n(95823);L.exports=!e&&!a&&typeof window=="object"&&typeof document=="object"},2178:function(L){"use strict";L.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},2971:function(L){"use strict";L.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},56605:function(L,r,n){"use strict";var e=n(15837);L.exports=/MSIE|Trident/.test(e)},6647:function(L,r,n){"use strict";var e=n(15837);L.exports=/ipad|iphone|ipod/i.test(e)&&typeof Pebble!="undefined"},52426:function(L,r,n){"use strict";var e=n(15837);L.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},95823:function(L,r,n){"use strict";var e=n(40224),a=n(38817);L.exports=a(e.process)==="process"},25062:function(L,r,n){"use strict";var e=n(15837);L.exports=/web0s(?!.*chrome)/i.test(e)},15837:function(L){"use strict";L.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},82709:function(L,r,n){"use strict";var e=n(40224),a=n(15837),t=e.process,o=e.Deno,m=t&&t.versions||o&&o.version,N=m&&m.v8,y,S;N&&(y=N.split("."),S=y[0]>0&&y[0]<4?1:+(y[0]+y[1])),!S&&a&&(y=a.match(/Edge\/(\d+)/),(!y||y[1]>=74)&&(y=a.match(/Chrome\/(\d+)/),y&&(S=+y[1]))),L.exports=S},53125:function(L,r,n){"use strict";var e=n(15837),a=e.match(/AppleWebKit\/(\d+)\./);L.exports=!!a&&+a[1]},90298:function(L){"use strict";L.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},77549:function(L,r,n){"use strict";var e=n(40224),a=n(54168).f,t=n(16216),o=n(59173),m=n(93422),N=n(70113),y=n(95945);L.exports=function(S,k){var p=S.target,l=S.global,c=S.stat,f,u,i,s,d,h;if(l?u=e:c?u=e[p]||m(p,{}):u=e[p]&&e[p].prototype,u)for(i in k){if(d=k[i],S.dontCallGetSet?(h=a(u,i),s=h&&h.value):s=u[i],f=y(l?i:p+(c?".":"#")+i,S.forced),!f&&s!==void 0){if(typeof d==typeof s)continue;N(d,s)}(S.sham||s&&s.sham)&&t(d,"sham",!0),o(u,i,d,S)}}},41746:function(L){"use strict";L.exports=function(r){try{return!!r()}catch(n){return!0}}},85427:function(L,r,n){"use strict";n(95880);var e=n(62696),a=n(59173),t=n(72894),o=n(41746),m=n(66266),N=n(16216),y=m("species"),S=RegExp.prototype;L.exports=function(k,p,l,c){var f=m(k),u=!o(function(){var h={};return h[f]=function(){return 7},""[k](h)!==7}),i=u&&!o(function(){var h=!1,v=/a/;return k==="split"&&(v={},v.constructor={},v.constructor[y]=function(){return v},v.flags="",v[f]=/./[f]),v.exec=function(){return h=!0,null},v[f](""),!h});if(!u||!i||l){var s=/./[f],d=p(f,""[k],function(h,v,g,C,V){var b=v.exec;return b===t||b===S.exec?u&&!V?{done:!0,value:e(s,v,g,C)}:{done:!0,value:e(h,g,v,C)}:{done:!1}});a(String.prototype,k,d[0]),a(S,f,d[1])}c&&N(S[f],"sham",!0)}},68864:function(L,r,n){"use strict";var e=n(62367),a=n(8333),t=n(72434),o=n(4509),m=function N(y,S,k,p,l,c,f,u){for(var i=l,s=0,d=f?o(f,u):!1,h,v;s<p;)s in k&&(h=d?d(k[s],s,S):k[s],c>0&&e(h)?(v=a(h),i=N(y,S,h,v,i,c-1)-1):(t(i+1),y[i]=h),i++),s++;return i};L.exports=m},56255:function(L,r,n){"use strict";var e=n(41746);L.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},70918:function(L,r,n){"use strict";var e=n(76799),a=Function.prototype,t=a.apply,o=a.call;L.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(t):function(){return o.apply(t,arguments)})},4509:function(L,r,n){"use strict";var e=n(85067),a=n(97361),t=n(76799),o=e(e.bind);L.exports=function(m,N){return a(m),N===void 0?m:t?o(m,N):function(){return m.apply(N,arguments)}}},76799:function(L,r,n){"use strict";var e=n(41746);L.exports=!e(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},9379:function(L,r,n){"use strict";var e=n(18161),a=n(97361),t=n(56831),o=n(89458),m=n(77713),N=n(76799),y=Function,S=e([].concat),k=e([].join),p={},l=function(f,u,i){if(!o(p,u)){for(var s=[],d=0;d<u;d++)s[d]="a["+d+"]";p[u]=y("C,a","return new C("+k(s,",")+")")}return p[u](f,i)};L.exports=N?y.bind:function(){function c(f){var u=a(this),i=u.prototype,s=m(arguments,1),d=function(){function h(){var v=S(s,m(arguments));return this instanceof d?l(u,v.length,v):u.apply(f,v)}return h}();return t(i)&&(d.prototype=i),d}return c}()},62696:function(L,r,n){"use strict";var e=n(76799),a=Function.prototype.call;L.exports=e?a.bind(a):function(){return a.apply(a,arguments)}},26463:function(L,r,n){"use strict";var e=n(14141),a=n(89458),t=Function.prototype,o=e&&Object.getOwnPropertyDescriptor,m=a(t,"name"),N=m&&function(){function S(){}return S}().name==="something",y=m&&(!e||e&&o(t,"name").configurable);L.exports={EXISTS:m,PROPER:N,CONFIGURABLE:y}},9553:function(L,r,n){"use strict";var e=n(18161),a=n(97361);L.exports=function(t,o,m){try{return e(a(Object.getOwnPropertyDescriptor(t,o)[m]))}catch(N){}}},85067:function(L,r,n){"use strict";var e=n(38817),a=n(18161);L.exports=function(t){if(e(t)==="Function")return a(t)}},18161:function(L,r,n){"use strict";var e=n(76799),a=Function.prototype,t=a.call,o=e&&a.bind.bind(t,t);L.exports=e?o:function(m){return function(){return t.apply(m,arguments)}}},40164:function(L,r,n){"use strict";var e=n(40224),a=n(7532),t=function(m){return a(m)?m:void 0};L.exports=function(o,m){return arguments.length<2?t(e[o]):e[o]&&e[o][m]}},76274:function(L,r,n){"use strict";var e=n(27806),a=n(4817),t=n(1022),o=n(90604),m=n(66266),N=m("iterator");L.exports=function(y){if(!t(y))return a(y,N)||a(y,"@@iterator")||o[e(y)]}},3438:function(L,r,n){"use strict";var e=n(62696),a=n(97361),t=n(39482),o=n(62518),m=n(76274),N=TypeError;L.exports=function(y,S){var k=arguments.length<2?m(y):S;if(a(k))return t(e(k,y));throw new N(o(y)+" is not iterable")}},5806:function(L,r,n){"use strict";var e=n(18161),a=n(62367),t=n(7532),o=n(38817),m=n(26602),N=e([].push);L.exports=function(y){if(t(y))return y;if(a(y)){for(var S=y.length,k=[],p=0;p<S;p++){var l=y[p];typeof l=="string"?N(k,l):(typeof l=="number"||o(l)==="Number"||o(l)==="String")&&N(k,m(l))}var c=k.length,f=!0;return function(u,i){if(f)return f=!1,i;if(a(this))return i;for(var s=0;s<c;s++)if(k[s]===u)return i}}}},4817:function(L,r,n){"use strict";var e=n(97361),a=n(1022);L.exports=function(t,o){var m=t[o];return a(m)?void 0:e(m)}},81385:function(L,r,n){"use strict";var e=n(18161),a=n(40076),t=Math.floor,o=e("".charAt),m=e("".replace),N=e("".slice),y=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,S=/\$([$&'`]|\d{1,2})/g;L.exports=function(k,p,l,c,f,u){var i=l+k.length,s=c.length,d=S;return f!==void 0&&(f=a(f),d=y),m(u,d,function(h,v){var g;switch(o(v,0)){case"$":return"$";case"&":return k;case"`":return N(p,0,l);case"'":return N(p,i);case"<":g=f[N(v,1,-1)];break;default:var C=+v;if(C===0)return h;if(C>s){var V=t(C/10);return V===0?h:V<=s?c[V-1]===void 0?o(v,1):c[V-1]+o(v,1):h}g=c[C-1]}return g===void 0?"":g})}},40224:function(L,r,n){"use strict";var e=function(t){return t&&t.Math===Math&&t};L.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof n.g=="object"&&n.g)||e(!1)||function(){return this}()||Function("return this")()},89458:function(L,r,n){"use strict";var e=n(18161),a=n(40076),t=e({}.hasOwnProperty);L.exports=Object.hasOwn||function(){function o(m,N){return t(a(m),N)}return o}()},21124:function(L){"use strict";L.exports={}},46122:function(L){"use strict";L.exports=function(r,n){try{arguments.length}catch(e){}}},54562:function(L,r,n){"use strict";var e=n(40164);L.exports=e("document","documentElement")},1606:function(L,r,n){"use strict";var e=n(14141),a=n(41746),t=n(85158);L.exports=!e&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){function o(){return 7}return o}()}).a!==7})},62263:function(L){"use strict";var r=Array,n=Math.abs,e=Math.pow,a=Math.floor,t=Math.log,o=Math.LN2,m=function(S,k,p){var l=r(p),c=p*8-k-1,f=(1<<c)-1,u=f>>1,i=k===23?e(2,-24)-e(2,-77):0,s=S<0||S===0&&1/S<0?1:0,d=0,h,v,g;for(S=n(S),S!==S||S===1/0?(v=S!==S?1:0,h=f):(h=a(t(S)/o),g=e(2,-h),S*g<1&&(h--,g*=2),h+u>=1?S+=i/g:S+=i*e(2,1-u),S*g>=2&&(h++,g/=2),h+u>=f?(v=0,h=f):h+u>=1?(v=(S*g-1)*e(2,k),h+=u):(v=S*e(2,u-1)*e(2,k),h=0));k>=8;)l[d++]=v&255,v/=256,k-=8;for(h=h<<k|v,c+=k;c>0;)l[d++]=h&255,h/=256,c-=8;return l[--d]|=s*128,l},N=function(S,k){var p=S.length,l=p*8-k-1,c=(1<<l)-1,f=c>>1,u=l-7,i=p-1,s=S[i--],d=s&127,h;for(s>>=7;u>0;)d=d*256+S[i--],u-=8;for(h=d&(1<<-u)-1,d>>=-u,u+=k;u>0;)h=h*256+S[i--],u-=8;if(d===0)d=1-f;else{if(d===c)return h?NaN:s?-1/0:1/0;h+=e(2,k),d-=f}return(s?-1:1)*h*e(2,d-k)};L.exports={pack:m,unpack:N}},26736:function(L,r,n){"use strict";var e=n(18161),a=n(41746),t=n(38817),o=Object,m=e("".split);L.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(N){return t(N)==="String"?m(N,""):o(N)}:o},2566:function(L,r,n){"use strict";var e=n(7532),a=n(56831),t=n(42878);L.exports=function(o,m,N){var y,S;return t&&e(y=m.constructor)&&y!==N&&a(S=y.prototype)&&S!==N.prototype&&t(o,S),o}},43589:function(L,r,n){"use strict";var e=n(18161),a=n(7532),t=n(95046),o=e(Function.toString);a(t.inspectSource)||(t.inspectSource=function(m){return o(m)}),L.exports=t.inspectSource},29126:function(L,r,n){"use strict";var e=n(77549),a=n(18161),t=n(21124),o=n(56831),m=n(89458),N=n(56018).f,y=n(34813),S=n(63797),k=n(57975),p=n(33345),l=n(56255),c=!1,f=p("meta"),u=0,i=function(V){N(V,f,{value:{objectID:"O"+u++,weakData:{}}})},s=function(V,b){if(!o(V))return typeof V=="symbol"?V:(typeof V=="string"?"S":"P")+V;if(!m(V,f)){if(!k(V))return"F";if(!b)return"E";i(V)}return V[f].objectID},d=function(V,b){if(!m(V,f)){if(!k(V))return!0;if(!b)return!1;i(V)}return V[f].weakData},h=function(V){return l&&c&&k(V)&&!m(V,f)&&i(V),V},v=function(){g.enable=function(){},c=!0;var V=y.f,b=a([].splice),B={};B[f]=1,V(B).length&&(y.f=function(I){for(var w=V(I),T=0,A=w.length;T<A;T++)if(w[T]===f){b(w,T,1);break}return w},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:S.f}))},g=L.exports={enable:v,fastKey:s,getWeakData:d,onFreeze:h};t[f]=!0},35086:function(L,r,n){"use strict";var e=n(90777),a=n(40224),t=n(56831),o=n(16216),m=n(89458),N=n(95046),y=n(5160),S=n(21124),k="Object already initialized",p=a.TypeError,l=a.WeakMap,c,f,u,i=function(g){return u(g)?f(g):c(g,{})},s=function(g){return function(C){var V;if(!t(C)||(V=f(C)).type!==g)throw new p("Incompatible receiver, "+g+" required");return V}};if(e||N.state){var d=N.state||(N.state=new l);d.get=d.get,d.has=d.has,d.set=d.set,c=function(g,C){if(d.has(g))throw new p(k);return C.facade=g,d.set(g,C),C},f=function(g){return d.get(g)||{}},u=function(g){return d.has(g)}}else{var h=y("state");S[h]=!0,c=function(g,C){if(m(g,h))throw new p(k);return C.facade=g,o(g,h,C),C},f=function(g){return m(g,h)?g[h]:{}},u=function(g){return m(g,h)}}L.exports={set:c,get:f,has:u,enforce:i,getterFor:s}},58482:function(L,r,n){"use strict";var e=n(66266),a=n(90604),t=e("iterator"),o=Array.prototype;L.exports=function(m){return m!==void 0&&(a.Array===m||o[t]===m)}},62367:function(L,r,n){"use strict";var e=n(38817);L.exports=Array.isArray||function(){function a(t){return e(t)==="Array"}return a}()},5080:function(L,r,n){"use strict";var e=n(27806);L.exports=function(a){var t=e(a);return t==="BigInt64Array"||t==="BigUint64Array"}},7532:function(L){"use strict";var r=typeof document=="object"&&document.all;L.exports=typeof r=="undefined"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"}},60354:function(L,r,n){"use strict";var e=n(18161),a=n(41746),t=n(7532),o=n(27806),m=n(40164),N=n(43589),y=function(){},S=m("Reflect","construct"),k=/^\s*(?:class|function)\b/,p=e(k.exec),l=!k.test(y),c=function(){function u(i){if(!t(i))return!1;try{return S(y,[],i),!0}catch(s){return!1}}return u}(),f=function(){function u(i){if(!t(i))return!1;switch(o(i)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!p(k,N(i))}catch(s){return!0}}return u}();f.sham=!0,L.exports=!S||a(function(){var u;return c(c.call)||!c(Object)||!c(function(){u=!0})||u})?f:c},35892:function(L,r,n){"use strict";var e=n(89458);L.exports=function(a){return a!==void 0&&(e(a,"value")||e(a,"writable"))}},95945:function(L,r,n){"use strict";var e=n(41746),a=n(7532),t=/#|\.prototype\./,o=function(p,l){var c=N[m(p)];return c===S?!0:c===y?!1:a(l)?e(l):!!l},m=o.normalize=function(k){return String(k).replace(t,".").toLowerCase()},N=o.data={},y=o.NATIVE="N",S=o.POLYFILL="P";L.exports=o},57696:function(L,r,n){"use strict";var e=n(56831),a=Math.floor;L.exports=Number.isInteger||function(){function t(o){return!e(o)&&isFinite(o)&&a(o)===o}return t}()},1022:function(L){"use strict";L.exports=function(r){return r==null}},56831:function(L,r,n){"use strict";var e=n(7532);L.exports=function(a){return typeof a=="object"?a!==null:e(a)}},41224:function(L,r,n){"use strict";var e=n(56831);L.exports=function(a){return e(a)||a===null}},11478:function(L){"use strict";L.exports=!1},80969:function(L,r,n){"use strict";var e=n(56831),a=n(38817),t=n(66266),o=t("match");L.exports=function(m){var N;return e(m)&&((N=m[o])!==void 0?!!N:a(m)==="RegExp")}},74352:function(L,r,n){"use strict";var e=n(40164),a=n(7532),t=n(33314),o=n(81457),m=Object;L.exports=o?function(N){return typeof N=="symbol"}:function(N){var y=e("Symbol");return a(y)&&t(y.prototype,m(N))}},281:function(L,r,n){"use strict";var e=n(4509),a=n(62696),t=n(39482),o=n(62518),m=n(58482),N=n(8333),y=n(33314),S=n(3438),k=n(76274),p=n(14868),l=TypeError,c=function(i,s){this.stopped=i,this.result=s},f=c.prototype;L.exports=function(u,i,s){var d=s&&s.that,h=!!(s&&s.AS_ENTRIES),v=!!(s&&s.IS_RECORD),g=!!(s&&s.IS_ITERATOR),C=!!(s&&s.INTERRUPTED),V=e(i,d),b,B,I,w,T,A,x,E=function(P){return b&&p(b,"normal",P),new c(!0,P)},M=function(P){return h?(t(P),C?V(P[0],P[1],E):V(P[0],P[1])):C?V(P,E):V(P)};if(v)b=u.iterator;else if(g)b=u;else{if(B=k(u),!B)throw new l(o(u)+" is not iterable");if(m(B)){for(I=0,w=N(u);w>I;I++)if(T=M(u[I]),T&&y(f,T))return T;return new c(!1)}b=S(u,B)}for(A=v?u.next:b.next;!(x=a(A,b)).done;){try{T=M(x.value)}catch(j){p(b,"throw",j)}if(typeof T=="object"&&T&&y(f,T))return T}return new c(!1)}},14868:function(L,r,n){"use strict";var e=n(62696),a=n(39482),t=n(4817);L.exports=function(o,m,N){var y,S;a(o);try{if(y=t(o,"return"),!y){if(m==="throw")throw N;return N}y=e(y,o)}catch(k){S=!0,y=k}if(m==="throw")throw N;if(S)throw y;return a(y),N}},42599:function(L,r,n){"use strict";var e=n(85106).IteratorPrototype,a=n(28969),t=n(7539),o=n(94234),m=n(90604),N=function(){return this};L.exports=function(y,S,k,p){var l=S+" Iterator";return y.prototype=a(e,{next:t(+!p,k)}),o(y,l,!1,!0),m[l]=N,y}},2449:function(L,r,n){"use strict";var e=n(77549),a=n(62696),t=n(11478),o=n(26463),m=n(7532),N=n(42599),y=n(31658),S=n(42878),k=n(94234),p=n(16216),l=n(59173),c=n(66266),f=n(90604),u=n(85106),i=o.PROPER,s=o.CONFIGURABLE,d=u.IteratorPrototype,h=u.BUGGY_SAFARI_ITERATORS,v=c("iterator"),g="keys",C="values",V="entries",b=function(){return this};L.exports=function(B,I,w,T,A,x,E){N(w,I,T);var M=function(X){if(X===A&&F)return F;if(!h&&X&&X in R)return R[X];switch(X){case g:return function(){function J(){return new w(this,X)}return J}();case C:return function(){function J(){return new w(this,X)}return J}();case V:return function(){function J(){return new w(this,X)}return J}()}return function(){return new w(this)}},j=I+" Iterator",P=!1,R=B.prototype,D=R[v]||R["@@iterator"]||A&&R[A],F=!h&&D||M(A),W=I==="Array"&&R.entries||D,_,H,z;if(W&&(_=y(W.call(new B)),_!==Object.prototype&&_.next&&(!t&&y(_)!==d&&(S?S(_,d):m(_[v])||l(_,v,b)),k(_,j,!0,!0),t&&(f[j]=b))),i&&A===C&&D&&D.name!==C&&(!t&&s?p(R,"name",C):(P=!0,F=function(){function $(){return a(D,this)}return $}())),A)if(H={values:M(C),keys:x?F:M(g),entries:M(V)},E)for(z in H)(h||P||!(z in R))&&l(R,z,H[z]);else e({target:I,proto:!0,forced:h||P},H);return(!t||E)&&R[v]!==F&&l(R,v,F,{name:A}),f[I]=F,H}},85106:function(L,r,n){"use strict";var e=n(41746),a=n(7532),t=n(56831),o=n(28969),m=n(31658),N=n(59173),y=n(66266),S=n(11478),k=y("iterator"),p=!1,l,c,f;[].keys&&(f=[].keys(),"next"in f?(c=m(m(f)),c!==Object.prototype&&(l=c)):p=!0);var u=!t(l)||e(function(){var i={};return l[k].call(i)!==i});u?l={}:S&&(l=o(l)),a(l[k])||N(l,k,function(){return this}),L.exports={IteratorPrototype:l,BUGGY_SAFARI_ITERATORS:p}},90604:function(L){"use strict";L.exports={}},8333:function(L,r,n){"use strict";var e=n(10475);L.exports=function(a){return e(a.length)}},76130:function(L,r,n){"use strict";var e=n(18161),a=n(41746),t=n(7532),o=n(89458),m=n(14141),N=n(26463).CONFIGURABLE,y=n(43589),S=n(35086),k=S.enforce,p=S.get,l=String,c=Object.defineProperty,f=e("".slice),u=e("".replace),i=e([].join),s=m&&!a(function(){return c(function(){},"length",{value:8}).length!==8}),d=String(String).split("String"),h=L.exports=function(v,g,C){f(l(g),0,7)==="Symbol("&&(g="["+u(l(g),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),C&&C.getter&&(g="get "+g),C&&C.setter&&(g="set "+g),(!o(v,"name")||N&&v.name!==g)&&(m?c(v,"name",{value:g,configurable:!0}):v.name=g),s&&C&&o(C,"arity")&&v.length!==C.arity&&c(v,"length",{value:C.arity});try{C&&o(C,"constructor")&&C.constructor?m&&c(v,"prototype",{writable:!1}):v.prototype&&(v.prototype=void 0)}catch(b){}var V=k(v);return o(V,"source")||(V.source=i(d,typeof g=="string"?g:"")),v};Function.prototype.toString=h(function(){function v(){return t(this)&&p(this).source||y(this)}return v}(),"toString")},32813:function(L){"use strict";var r=Math.expm1,n=Math.exp;L.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!==-2e-17?function(){function e(a){var t=+a;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}return e}():r},23207:function(L,r,n){"use strict";var e=n(54307),a=Math.abs,t=2220446049250313e-31,o=1/t,m=function(y){return y+o-o};L.exports=function(N,y,S,k){var p=+N,l=a(p),c=e(p);if(l<k)return c*m(l/k/y)*k*y;var f=(1+y/t)*l,u=f-(f-l);return u>S||u!==u?c*(1/0):c*u}},75988:function(L,r,n){"use strict";var e=n(23207),a=11920928955078125e-23,t=34028234663852886e22,o=11754943508222875e-54;L.exports=Math.fround||function(){function m(N){return e(N,a,t,o)}return m}()},53271:function(L){"use strict";var r=Math.log,n=Math.LOG10E;L.exports=Math.log10||function(){function e(a){return r(a)*n}return e}()},69143:function(L){"use strict";var r=Math.log;L.exports=Math.log1p||function(){function n(e){var a=+e;return a>-1e-8&&a<1e-8?a-a*a/2:r(1+a)}return n}()},54307:function(L){"use strict";L.exports=Math.sign||function(){function r(n){var e=+n;return e===0||e!==e?e:e<0?-1:1}return r}()},34606:function(L){"use strict";var r=Math.ceil,n=Math.floor;L.exports=Math.trunc||function(){function e(a){var t=+a;return(t>0?n:r)(t)}return e}()},27150:function(L,r,n){"use strict";var e=n(40224),a=n(1156),t=n(4509),o=n(91314).set,m=n(23496),N=n(52426),y=n(6647),S=n(25062),k=n(95823),p=e.MutationObserver||e.WebKitMutationObserver,l=e.document,c=e.process,f=e.Promise,u=a("queueMicrotask"),i,s,d,h,v;if(!u){var g=new m,C=function(){var b,B;for(k&&(b=c.domain)&&b.exit();B=g.get();)try{B()}catch(I){throw g.head&&i(),I}b&&b.enter()};!N&&!k&&!S&&p&&l?(s=!0,d=l.createTextNode(""),new p(C).observe(d,{characterData:!0}),i=function(){d.data=s=!s}):!y&&f&&f.resolve?(h=f.resolve(void 0),h.constructor=f,v=t(h.then,h),i=function(){v(C)}):k?i=function(){c.nextTick(C)}:(o=t(o,e),i=function(){o(C)}),u=function(b){g.head||i(),g.add(b)}}L.exports=u},48532:function(L,r,n){"use strict";var e=n(97361),a=TypeError,t=function(m){var N,y;this.promise=new m(function(S,k){if(N!==void 0||y!==void 0)throw new a("Bad Promise constructor");N=S,y=k}),this.resolve=e(N),this.reject=e(y)};L.exports.f=function(o){return new t(o)}},89140:function(L,r,n){"use strict";var e=n(80969),a=TypeError;L.exports=function(t){if(e(t))throw new a("The method doesn't accept regular expressions");return t}},69079:function(L,r,n){"use strict";var e=n(40224),a=e.isFinite;L.exports=Number.isFinite||function(){function t(o){return typeof o=="number"&&a(o)}return t}()},43283:function(L,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(26602),m=n(35171).trim,N=n(137),y=t("".charAt),S=e.parseFloat,k=e.Symbol,p=k&&k.iterator,l=1/S(N+"-0")!==-1/0||p&&!a(function(){S(Object(p))});L.exports=l?function(){function c(f){var u=m(o(f)),i=S(u);return i===0&&y(u,0)==="-"?-0:i}return c}():S},11540:function(L,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(26602),m=n(35171).trim,N=n(137),y=e.parseInt,S=e.Symbol,k=S&&S.iterator,p=/^[+-]?0x/i,l=t(p.exec),c=y(N+"08")!==8||y(N+"0x16")!==22||k&&!a(function(){y(Object(k))});L.exports=c?function(){function f(u,i){var s=m(o(u));return y(s,i>>>0||(l(p,s)?16:10))}return f}():y},12752:function(L,r,n){"use strict";var e=n(14141),a=n(18161),t=n(62696),o=n(41746),m=n(84913),N=n(34220),y=n(9776),S=n(40076),k=n(26736),p=Object.assign,l=Object.defineProperty,c=a([].concat);L.exports=!p||o(function(){if(e&&p({b:1},p(l({},"a",{enumerable:!0,get:function(){function d(){l(this,"b",{value:3,enumerable:!1})}return d}()}),{b:2})).b!==1)return!0;var f={},u={},i=Symbol("assign detection"),s="abcdefghijklmnopqrst";return f[i]=7,s.split("").forEach(function(d){u[d]=d}),p({},f)[i]!==7||m(p({},u)).join("")!==s})?function(){function f(u,i){for(var s=S(u),d=arguments.length,h=1,v=N.f,g=y.f;d>h;)for(var C=k(arguments[h++]),V=v?c(m(C),v(C)):m(C),b=V.length,B=0,I;b>B;)I=V[B++],(!e||t(g,C,I))&&(s[I]=C[I]);return s}return f}():p},28969:function(L,r,n){"use strict";var e=n(39482),a=n(65854),t=n(90298),o=n(21124),m=n(54562),N=n(85158),y=n(5160),S=">",k="<",p="prototype",l="script",c=y("IE_PROTO"),f=function(){},u=function(g){return k+l+S+g+k+"/"+l+S},i=function(g){g.write(u("")),g.close();var C=g.parentWindow.Object;return g=null,C},s=function(){var g=N("iframe"),C="java"+l+":",V;return g.style.display="none",m.appendChild(g),g.src=String(C),V=g.contentWindow.document,V.open(),V.write(u("document.F=Object")),V.close(),V.F},d,h=function(){try{d=new ActiveXObject("htmlfile")}catch(C){}h=typeof document!="undefined"?document.domain&&d?i(d):s():i(d);for(var g=t.length;g--;)delete h[p][t[g]];return h()};o[c]=!0,L.exports=Object.create||function(){function v(g,C){var V;return g!==null?(f[p]=e(g),V=new f,f[p]=null,V[c]=g):V=h(),C===void 0?V:a.f(V,C)}return v}()},65854:function(L,r,n){"use strict";var e=n(14141),a=n(83411),t=n(56018),o=n(39482),m=n(96812),N=n(84913);r.f=e&&!a?Object.defineProperties:function(){function y(S,k){o(S);for(var p=m(k),l=N(k),c=l.length,f=0,u;c>f;)t.f(S,u=l[f++],p[u]);return S}return y}()},56018:function(L,r,n){"use strict";var e=n(14141),a=n(1606),t=n(83411),o=n(39482),m=n(57640),N=TypeError,y=Object.defineProperty,S=Object.getOwnPropertyDescriptor,k="enumerable",p="configurable",l="writable";r.f=e?t?function(){function c(f,u,i){if(o(f),u=m(u),o(i),typeof f=="function"&&u==="prototype"&&"value"in i&&l in i&&!i[l]){var s=S(f,u);s&&s[l]&&(f[u]=i.value,i={configurable:p in i?i[p]:s[p],enumerable:k in i?i[k]:s[k],writable:!1})}return y(f,u,i)}return c}():y:function(){function c(f,u,i){if(o(f),u=m(u),o(i),a)try{return y(f,u,i)}catch(s){}if("get"in i||"set"in i)throw new N("Accessors not supported");return"value"in i&&(f[u]=i.value),f}return c}()},54168:function(L,r,n){"use strict";var e=n(14141),a=n(62696),t=n(9776),o=n(7539),m=n(96812),N=n(57640),y=n(89458),S=n(1606),k=Object.getOwnPropertyDescriptor;r.f=e?k:function(){function p(l,c){if(l=m(l),c=N(c),S)try{return k(l,c)}catch(f){}if(y(l,c))return o(!a(t.f,l,c),l[c])}return p}()},63797:function(L,r,n){"use strict";var e=n(38817),a=n(96812),t=n(34813).f,o=n(77713),m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],N=function(S){try{return t(S)}catch(k){return o(m)}};L.exports.f=function(){function y(S){return m&&e(S)==="Window"?N(S):t(a(S))}return y}()},34813:function(L,r,n){"use strict";var e=n(62995),a=n(90298),t=a.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(){function o(m){return e(m,t)}return o}()},34220:function(L,r){"use strict";r.f=Object.getOwnPropertySymbols},31658:function(L,r,n){"use strict";var e=n(89458),a=n(7532),t=n(40076),o=n(5160),m=n(58776),N=o("IE_PROTO"),y=Object,S=y.prototype;L.exports=m?y.getPrototypeOf:function(k){var p=t(k);if(e(p,N))return p[N];var l=p.constructor;return a(l)&&p instanceof l?l.prototype:p instanceof y?S:null}},57975:function(L,r,n){"use strict";var e=n(41746),a=n(56831),t=n(38817),o=n(65693),m=Object.isExtensible,N=e(function(){m(1)});L.exports=N||o?function(){function y(S){return!a(S)||o&&t(S)==="ArrayBuffer"?!1:m?m(S):!0}return y}():m},33314:function(L,r,n){"use strict";var e=n(18161);L.exports=e({}.isPrototypeOf)},62995:function(L,r,n){"use strict";var e=n(18161),a=n(89458),t=n(96812),o=n(64210).indexOf,m=n(21124),N=e([].push);L.exports=function(y,S){var k=t(y),p=0,l=[],c;for(c in k)!a(m,c)&&a(k,c)&&N(l,c);for(;S.length>p;)a(k,c=S[p++])&&(~o(l,c)||N(l,c));return l}},84913:function(L,r,n){"use strict";var e=n(62995),a=n(90298);L.exports=Object.keys||function(){function t(o){return e(o,a)}return t}()},9776:function(L,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,a=e&&!n.call({1:2},1);r.f=a?function(){function t(o){var m=e(this,o);return!!m&&m.enumerable}return t}():n},33030:function(L,r,n){"use strict";var e=n(11478),a=n(40224),t=n(41746),o=n(53125);L.exports=e||!t(function(){if(!(o&&o<535)){var m=Math.random();__defineSetter__.call(null,m,function(){}),delete a[m]}})},42878:function(L,r,n){"use strict";var e=n(9553),a=n(56831),t=n(91029),o=n(51689);L.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var m=!1,N={},y;try{y=e(Object.prototype,"__proto__","set"),y(N,[]),m=N instanceof Array}catch(S){}return function(){function S(k,p){return t(k),o(p),a(k)&&(m?y(k,p):k.__proto__=p),k}return S}()}():void 0)},97452:function(L,r,n){"use strict";var e=n(14141),a=n(41746),t=n(18161),o=n(31658),m=n(84913),N=n(96812),y=n(9776).f,S=t(y),k=t([].push),p=e&&a(function(){var c=Object.create(null);return c[2]=2,!S(c,2)}),l=function(f){return function(u){for(var i=N(u),s=m(i),d=p&&o(i)===null,h=s.length,v=0,g=[],C;h>v;)C=s[v++],(!e||(d?C in i:S(i,C)))&&k(g,f?[C,i[C]]:i[C]);return g}};L.exports={entries:l(!0),values:l(!1)}},66628:function(L,r,n){"use strict";var e=n(82161),a=n(27806);L.exports=e?{}.toString:function(){function t(){return"[object "+a(this)+"]"}return t}()},14991:function(L,r,n){"use strict";var e=n(62696),a=n(7532),t=n(56831),o=TypeError;L.exports=function(m,N){var y,S;if(N==="string"&&a(y=m.toString)&&!t(S=e(y,m))||a(y=m.valueOf)&&!t(S=e(y,m))||N!=="string"&&a(y=m.toString)&&!t(S=e(y,m)))return S;throw new o("Can't convert object to primitive value")}},93616:function(L,r,n){"use strict";var e=n(40164),a=n(18161),t=n(34813),o=n(34220),m=n(39482),N=a([].concat);L.exports=e("Reflect","ownKeys")||function(){function y(S){var k=t.f(m(S)),p=o.f;return p?N(k,p(S)):k}return y}()},5376:function(L,r,n){"use strict";var e=n(40224);L.exports=e},91114:function(L){"use strict";L.exports=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}}},49669:function(L,r,n){"use strict";var e=n(40224),a=n(35973),t=n(7532),o=n(95945),m=n(43589),N=n(66266),y=n(27955),S=n(2971),k=n(11478),p=n(82709),l=a&&a.prototype,c=N("species"),f=!1,u=t(e.PromiseRejectionEvent),i=o("Promise",function(){var s=m(a),d=s!==String(a);if(!d&&p===66||k&&!(l.catch&&l.finally))return!0;if(!p||p<51||!/native code/.test(s)){var h=new a(function(C){C(1)}),v=function(V){V(function(){},function(){})},g=h.constructor={};if(g[c]=v,f=h.then(function(){})instanceof v,!f)return!0}return!d&&(y||S)&&!u});L.exports={CONSTRUCTOR:i,REJECTION_EVENT:u,SUBCLASSING:f}},35973:function(L,r,n){"use strict";var e=n(40224);L.exports=e.Promise},43827:function(L,r,n){"use strict";var e=n(39482),a=n(56831),t=n(48532);L.exports=function(o,m){if(e(o),a(m)&&m.constructor===o)return m;var N=t.f(o),y=N.resolve;return y(m),N.promise}},95044:function(L,r,n){"use strict";var e=n(35973),a=n(52019),t=n(49669).CONSTRUCTOR;L.exports=t||!a(function(o){e.all(o).then(void 0,function(){})})},77495:function(L,r,n){"use strict";var e=n(56018).f;L.exports=function(a,t,o){o in a||e(a,o,{configurable:!0,get:function(){function m(){return t[o]}return m}(),set:function(){function m(N){t[o]=N}return m}()})}},23496:function(L){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(){function n(e){var a={item:e,next:null},t=this.tail;t?t.next=a:this.head=a,this.tail=a}return n}(),get:function(){function n(){var e=this.head;if(e){var a=this.head=e.next;return a===null&&(this.tail=null),e.item}}return n}()},L.exports=r},35553:function(L,r,n){"use strict";var e=n(62696),a=n(39482),t=n(7532),o=n(38817),m=n(72894),N=TypeError;L.exports=function(y,S){var k=y.exec;if(t(k)){var p=e(k,y,S);return p!==null&&a(p),p}if(o(y)==="RegExp")return e(m,y,S);throw new N("RegExp#exec called on incompatible receiver")}},72894:function(L,r,n){"use strict";var e=n(62696),a=n(18161),t=n(26602),o=n(65844),m=n(1064),N=n(75130),y=n(28969),S=n(35086).get,k=n(89604),p=n(5489),l=N("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,f=c,u=a("".charAt),i=a("".indexOf),s=a("".replace),d=a("".slice),h=function(){var V=/a/,b=/b*/g;return e(c,V,"a"),e(c,b,"a"),V.lastIndex!==0||b.lastIndex!==0}(),v=m.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,C=h||g||v||k||p;C&&(f=function(){function V(b){var B=this,I=S(B),w=t(b),T=I.raw,A,x,E,M,j,P,R;if(T)return T.lastIndex=B.lastIndex,A=e(f,T,w),B.lastIndex=T.lastIndex,A;var D=I.groups,F=v&&B.sticky,W=e(o,B),_=B.source,H=0,z=w;if(F&&(W=s(W,"y",""),i(W,"g")===-1&&(W+="g"),z=d(w,B.lastIndex),B.lastIndex>0&&(!B.multiline||B.multiline&&u(w,B.lastIndex-1)!=="\n")&&(_="(?: "+_+")",z=" "+z,H++),x=new RegExp("^(?:"+_+")",W)),g&&(x=new RegExp("^"+_+"$(?!\\s)",W)),h&&(E=B.lastIndex),M=e(c,F?x:B,z),F?M?(M.input=d(M.input,H),M[0]=d(M[0],H),M.index=B.lastIndex,B.lastIndex+=M[0].length):B.lastIndex=0:h&&M&&(B.lastIndex=B.global?M.index+M[0].length:E),g&&M&&M.length>1&&e(l,M[0],x,function(){for(j=1;j<arguments.length-2;j++)arguments[j]===void 0&&(M[j]=void 0)}),M&&D)for(M.groups=P=y(null),j=0;j<D.length;j++)R=D[j],P[R[0]]=M[R[1]];return M}return V}()),L.exports=f},65844:function(L,r,n){"use strict";var e=n(39482);L.exports=function(){var a=e(this),t="";return a.hasIndices&&(t+="d"),a.global&&(t+="g"),a.ignoreCase&&(t+="i"),a.multiline&&(t+="m"),a.dotAll&&(t+="s"),a.unicode&&(t+="u"),a.unicodeSets&&(t+="v"),a.sticky&&(t+="y"),t}},60425:function(L,r,n){"use strict";var e=n(62696),a=n(89458),t=n(33314),o=n(65844),m=RegExp.prototype;L.exports=function(N){var y=N.flags;return y===void 0&&!("flags"in m)&&!a(N,"flags")&&t(m,N)?e(o,N):y}},1064:function(L,r,n){"use strict";var e=n(41746),a=n(40224),t=a.RegExp,o=e(function(){var y=t("a","y");return y.lastIndex=2,y.exec("abcd")!==null}),m=o||e(function(){return!t("a","y").sticky}),N=o||e(function(){var y=t("^r","gy");return y.lastIndex=2,y.exec("str")!==null});L.exports={BROKEN_CARET:N,MISSED_STICKY:m,UNSUPPORTED_Y:o}},89604:function(L,r,n){"use strict";var e=n(41746),a=n(40224),t=a.RegExp;L.exports=e(function(){var o=t(".","s");return!(o.dotAll&&o.test("\n")&&o.flags==="s")})},5489:function(L,r,n){"use strict";var e=n(41746),a=n(40224),t=a.RegExp;L.exports=e(function(){var o=t("(?<a>b)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$<a>c")!=="bc"})},91029:function(L,r,n){"use strict";var e=n(1022),a=TypeError;L.exports=function(t){if(e(t))throw new a("Can't call method on "+t);return t}},1156:function(L,r,n){"use strict";var e=n(40224),a=n(14141),t=Object.getOwnPropertyDescriptor;L.exports=function(o){if(!a)return e[o];var m=t(e,o);return m&&m.value}},37309:function(L){"use strict";L.exports=Object.is||function(){function r(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e}return r}()},83827:function(L,r,n){"use strict";var e=n(40224),a=n(70918),t=n(7532),o=n(2178),m=n(15837),N=n(77713),y=n(22789),S=e.Function,k=/MSIE .\./.test(m)||o&&function(){var p=e.Bun.version.split(".");return p.length<3||p[0]==="0"&&(p[1]<3||p[1]==="3"&&p[2]==="0")}();L.exports=function(p,l){var c=l?2:1;return k?function(f,u){var i=y(arguments.length,1)>c,s=t(f)?f:S(f),d=i?N(arguments,c):[],h=i?function(){a(s,this,d)}:s;return l?p(h,u):p(h)}:p}},67420:function(L,r,n){"use strict";var e=n(40164),a=n(10069),t=n(66266),o=n(14141),m=t("species");L.exports=function(N){var y=e(N);o&&y&&!y[m]&&a(y,m,{configurable:!0,get:function(){function S(){return this}return S}()})}},94234:function(L,r,n){"use strict";var e=n(56018).f,a=n(89458),t=n(66266),o=t("toStringTag");L.exports=function(m,N,y){m&&!y&&(m=m.prototype),m&&!a(m,o)&&e(m,o,{configurable:!0,value:N})}},5160:function(L,r,n){"use strict";var e=n(75130),a=n(33345),t=e("keys");L.exports=function(o){return t[o]||(t[o]=a(o))}},95046:function(L,r,n){"use strict";var e=n(11478),a=n(40224),t=n(93422),o="__core-js_shared__",m=L.exports=a[o]||t(o,{});(m.versions||(m.versions=[])).push({version:"3.36.1",mode:e?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},75130:function(L,r,n){"use strict";var e=n(95046);L.exports=function(a,t){return e[a]||(e[a]=t||{})}},78412:function(L,r,n){"use strict";var e=n(39482),a=n(76833),t=n(1022),o=n(66266),m=o("species");L.exports=function(N,y){var S=e(N).constructor,k;return S===void 0||t(k=e(S)[m])?y:a(k)}},32086:function(L,r,n){"use strict";var e=n(41746);L.exports=function(a){return e(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},56852:function(L,r,n){"use strict";var e=n(18161),a=n(74952),t=n(26602),o=n(91029),m=e("".charAt),N=e("".charCodeAt),y=e("".slice),S=function(p){return function(l,c){var f=t(o(l)),u=a(c),i=f.length,s,d;return u<0||u>=i?p?"":void 0:(s=N(f,u),s<55296||s>56319||u+1===i||(d=N(f,u+1))<56320||d>57343?p?m(f,u):s:p?y(f,u,u+2):(s-55296<<10)+(d-56320)+65536)}};L.exports={codeAt:S(!1),charAt:S(!0)}},33038:function(L,r,n){"use strict";var e=n(15837);L.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e)},34086:function(L,r,n){"use strict";var e=n(18161),a=n(10475),t=n(26602),o=n(84948),m=n(91029),N=e(o),y=e("".slice),S=Math.ceil,k=function(l){return function(c,f,u){var i=t(m(c)),s=a(f),d=i.length,h=u===void 0?" ":t(u),v,g;return s<=d||h===""?i:(v=s-d,g=N(h,S(v/h.length)),g.length>v&&(g=y(g,0,v)),l?i+g:g+i)}};L.exports={start:k(!1),end:k(!0)}},84948:function(L,r,n){"use strict";var e=n(74952),a=n(26602),t=n(91029),o=RangeError;L.exports=function(){function m(N){var y=a(t(this)),S="",k=e(N);if(k<0||k===1/0)throw new o("Wrong number of repetitions");for(;k>0;(k>>>=1)&&(y+=y))k&1&&(S+=y);return S}return m}()},11775:function(L,r,n){"use strict";var e=n(35171).end,a=n(93817);L.exports=a("trimEnd")?function(){function t(){return e(this)}return t}():"".trimEnd},93817:function(L,r,n){"use strict";var e=n(26463).PROPER,a=n(41746),t=n(137),o="\u200B\x85\u180E";L.exports=function(m){return a(function(){return!!t[m]()||o[m]()!==o||e&&t[m].name!==m})}},26402:function(L,r,n){"use strict";var e=n(35171).start,a=n(93817);L.exports=a("trimStart")?function(){function t(){return e(this)}return t}():"".trimStart},35171:function(L,r,n){"use strict";var e=n(18161),a=n(91029),t=n(26602),o=n(137),m=e("".replace),N=RegExp("^["+o+"]+"),y=RegExp("(^|[^"+o+"])["+o+"]+$"),S=function(p){return function(l){var c=t(a(l));return p&1&&(c=m(c,N,"")),p&2&&(c=m(c,y,"$1")),c}};L.exports={start:S(1),end:S(2),trim:S(3)}},70640:function(L,r,n){"use strict";var e=n(82709),a=n(41746),t=n(40224),o=t.String;L.exports=!!Object.getOwnPropertySymbols&&!a(function(){var m=Symbol("symbol detection");return!o(m)||!(Object(m)instanceof Symbol)||!Symbol.sham&&e&&e<41})},75429:function(L,r,n){"use strict";var e=n(62696),a=n(40164),t=n(66266),o=n(59173);L.exports=function(){var m=a("Symbol"),N=m&&m.prototype,y=N&&N.valueOf,S=t("toPrimitive");N&&!N[S]&&o(N,S,function(k){return e(y,this)},{arity:1})}},80353:function(L,r,n){"use strict";var e=n(70640);L.exports=e&&!!Symbol.for&&!!Symbol.keyFor},91314:function(L,r,n){"use strict";var e=n(40224),a=n(70918),t=n(4509),o=n(7532),m=n(89458),N=n(41746),y=n(54562),S=n(77713),k=n(85158),p=n(22789),l=n(52426),c=n(95823),f=e.setImmediate,u=e.clearImmediate,i=e.process,s=e.Dispatch,d=e.Function,h=e.MessageChannel,v=e.String,g=0,C={},V="onreadystatechange",b,B,I,w;N(function(){b=e.location});var T=function(j){if(m(C,j)){var P=C[j];delete C[j],P()}},A=function(j){return function(){T(j)}},x=function(j){T(j.data)},E=function(j){e.postMessage(v(j),b.protocol+"//"+b.host)};(!f||!u)&&(f=function(){function M(j){p(arguments.length,1);var P=o(j)?j:d(j),R=S(arguments,1);return C[++g]=function(){a(P,void 0,R)},B(g),g}return M}(),u=function(){function M(j){delete C[j]}return M}(),c?B=function(j){i.nextTick(A(j))}:s&&s.now?B=function(j){s.now(A(j))}:h&&!l?(I=new h,w=I.port2,I.port1.onmessage=x,B=t(w.postMessage,w)):e.addEventListener&&o(e.postMessage)&&!e.importScripts&&b&&b.protocol!=="file:"&&!N(E)?(B=E,e.addEventListener("message",x,!1)):V in k("script")?B=function(j){y.appendChild(k("script"))[V]=function(){y.removeChild(this),T(j)}}:B=function(j){setTimeout(A(j),0)}),L.exports={set:f,clear:u}},37497:function(L,r,n){"use strict";var e=n(18161);L.exports=e(1 .valueOf)},74067:function(L,r,n){"use strict";var e=n(74952),a=Math.max,t=Math.min;L.exports=function(o,m){var N=e(o);return N<0?a(N+m,0):t(N,m)}},757:function(L,r,n){"use strict";var e=n(4370),a=TypeError;L.exports=function(t){var o=e(t,"number");if(typeof o=="number")throw new a("Can't convert number to bigint");return BigInt(o)}},90835:function(L,r,n){"use strict";var e=n(74952),a=n(10475),t=RangeError;L.exports=function(o){if(o===void 0)return 0;var m=e(o),N=a(m);if(m!==N)throw new t("Wrong length or index");return N}},96812:function(L,r,n){"use strict";var e=n(26736),a=n(91029);L.exports=function(t){return e(a(t))}},74952:function(L,r,n){"use strict";var e=n(34606);L.exports=function(a){var t=+a;return t!==t||t===0?0:e(t)}},10475:function(L,r,n){"use strict";var e=n(74952),a=Math.min;L.exports=function(t){var o=e(t);return o>0?a(o,9007199254740991):0}},40076:function(L,r,n){"use strict";var e=n(91029),a=Object;L.exports=function(t){return a(e(t))}},65264:function(L,r,n){"use strict";var e=n(43627),a=RangeError;L.exports=function(t,o){var m=e(t);if(m%o)throw new a("Wrong offset");return m}},43627:function(L,r,n){"use strict";var e=n(74952),a=RangeError;L.exports=function(t){var o=e(t);if(o<0)throw new a("The argument can't be less than 0");return o}},4370:function(L,r,n){"use strict";var e=n(62696),a=n(56831),t=n(74352),o=n(4817),m=n(14991),N=n(66266),y=TypeError,S=N("toPrimitive");L.exports=function(k,p){if(!a(k)||t(k))return k;var l=o(k,S),c;if(l){if(p===void 0&&(p="default"),c=e(l,k,p),!a(c)||t(c))return c;throw new y("Can't convert object to primitive value")}return p===void 0&&(p="number"),m(k,p)}},57640:function(L,r,n){"use strict";var e=n(4370),a=n(74352);L.exports=function(t){var o=e(t,"string");return a(o)?o:o+""}},82161:function(L,r,n){"use strict";var e=n(66266),a=e("toStringTag"),t={};t[a]="z",L.exports=String(t)==="[object z]"},26602:function(L,r,n){"use strict";var e=n(27806),a=String;L.exports=function(t){if(e(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(t)}},78828:function(L){"use strict";var r=Math.round;L.exports=function(n){var e=r(n);return e<0?0:e>255?255:e&255}},62518:function(L){"use strict";var r=String;L.exports=function(n){try{return r(n)}catch(e){return"Object"}}},12218:function(L,r,n){"use strict";var e=n(77549),a=n(40224),t=n(62696),o=n(14141),m=n(66220),N=n(72951),y=n(46185),S=n(19870),k=n(7539),p=n(16216),l=n(57696),c=n(10475),f=n(90835),u=n(65264),i=n(78828),s=n(57640),d=n(89458),h=n(27806),v=n(56831),g=n(74352),C=n(28969),V=n(33314),b=n(42878),B=n(34813).f,I=n(7996),w=n(67480).forEach,T=n(67420),A=n(10069),x=n(56018),E=n(54168),M=n(6967),j=n(35086),P=n(2566),R=j.get,D=j.set,F=j.enforce,W=x.f,_=E.f,H=a.RangeError,z=y.ArrayBuffer,$=z.prototype,X=y.DataView,J=N.NATIVE_ARRAY_BUFFER_VIEWS,ce=N.TYPED_ARRAY_TAG,re=N.TypedArray,me=N.TypedArrayPrototype,pe=N.isTypedArray,ye="BYTES_PER_ELEMENT",Be="Wrong length",he=function(ne,be){A(ne,be,{configurable:!0,get:function(){function fe(){return R(this)[be]}return fe}()})},oe=function(ne){var be;return V($,ne)||(be=h(ne))==="ArrayBuffer"||be==="SharedArrayBuffer"},Z=function(ne,be){return pe(ne)&&!g(be)&&be in ne&&l(+be)&&be>=0},q=function(){function se(ne,be){return be=s(be),Z(ne,be)?k(2,ne[be]):_(ne,be)}return se}(),ue=function(){function se(ne,be,fe){return be=s(be),Z(ne,be)&&v(fe)&&d(fe,"value")&&!d(fe,"get")&&!d(fe,"set")&&!fe.configurable&&(!d(fe,"writable")||fe.writable)&&(!d(fe,"enumerable")||fe.enumerable)?(ne[be]=fe.value,ne):W(ne,be,fe)}return se}();o?(J||(E.f=q,x.f=ue,he(me,"buffer"),he(me,"byteOffset"),he(me,"byteLength"),he(me,"length")),e({target:"Object",stat:!0,forced:!J},{getOwnPropertyDescriptor:q,defineProperty:ue}),L.exports=function(se,ne,be){var fe=se.match(/\d+/)[0]/8,ge=se+(be?"Clamped":"")+"Array",ke="get"+se,ve="set"+se,Se=a[ge],we=Se,xe=we&&we.prototype,Oe={},We=function(de,Ne){var Ae=R(de);return Ae.view[ke](Ne*fe+Ae.byteOffset,!0)},Ve=function(de,Ne,Ae){var De=R(de);De.view[ve](Ne*fe+De.byteOffset,be?i(Ae):Ae,!0)},ae=function(de,Ne){W(de,Ne,{get:function(){function Ae(){return We(this,Ne)}return Ae}(),set:function(){function Ae(De){return Ve(this,Ne,De)}return Ae}(),enumerable:!0})};J?m&&(we=ne(function(Ce,de,Ne,Ae){return S(Ce,xe),P(function(){return v(de)?oe(de)?Ae!==void 0?new Se(de,u(Ne,fe),Ae):Ne!==void 0?new Se(de,u(Ne,fe)):new Se(de):pe(de)?M(we,de):t(I,we,de):new Se(f(de))}(),Ce,we)}),b&&b(we,re),w(B(Se),function(Ce){Ce in we||p(we,Ce,Se[Ce])}),we.prototype=xe):(we=ne(function(Ce,de,Ne,Ae){S(Ce,xe);var De=0,je=0,_e,Ue,Ke;if(!v(de))Ke=f(de),Ue=Ke*fe,_e=new z(Ue);else if(oe(de)){_e=de,je=u(Ne,fe);var Ge=de.byteLength;if(Ae===void 0){if(Ge%fe)throw new H(Be);if(Ue=Ge-je,Ue<0)throw new H(Be)}else if(Ue=c(Ae)*fe,Ue+je>Ge)throw new H(Be);Ke=Ue/fe}else return pe(de)?M(we,de):t(I,we,de);for(D(Ce,{buffer:_e,byteOffset:je,byteLength:Ue,length:Ke,view:new X(_e)});De<Ke;)ae(Ce,De++)}),b&&b(we,re),xe=we.prototype=C(me)),xe.constructor!==we&&p(xe,"constructor",we),F(xe).TypedArrayConstructor=we,ce&&p(xe,ce,ge);var le=we!==Se;Oe[ge]=we,e({global:!0,constructor:!0,forced:le,sham:!J},Oe),ye in we||p(we,ye,fe),ye in xe||p(xe,ye,fe),T(ge)}):L.exports=function(){}},66220:function(L,r,n){"use strict";var e=n(40224),a=n(41746),t=n(52019),o=n(72951).NATIVE_ARRAY_BUFFER_VIEWS,m=e.ArrayBuffer,N=e.Int8Array;L.exports=!o||!a(function(){N(1)})||!a(function(){new N(-1)})||!t(function(y){new N,new N(null),new N(1.5),new N(y)},!0)||a(function(){return new N(new m(2),1,void 0).length!==1})},80936:function(L,r,n){"use strict";var e=n(6967),a=n(489);L.exports=function(t,o){return e(a(t),o)}},7996:function(L,r,n){"use strict";var e=n(4509),a=n(62696),t=n(76833),o=n(40076),m=n(8333),N=n(3438),y=n(76274),S=n(58482),k=n(5080),p=n(72951).aTypedArrayConstructor,l=n(757);L.exports=function(){function c(f){var u=t(this),i=o(f),s=arguments.length,d=s>1?arguments[1]:void 0,h=d!==void 0,v=y(i),g,C,V,b,B,I,w,T;if(v&&!S(v))for(w=N(i,v),T=w.next,i=[];!(I=a(T,w)).done;)i.push(I.value);for(h&&s>2&&(d=e(d,arguments[2])),C=m(i),V=new(p(u))(C),b=k(V),g=0;C>g;g++)B=h?d(i[g],g):i[g],V[g]=b?l(B):+B;return V}return c}()},489:function(L,r,n){"use strict";var e=n(72951),a=n(78412),t=e.aTypedArrayConstructor,o=e.getTypedArrayConstructor;L.exports=function(m){return t(a(m,o(m)))}},33345:function(L,r,n){"use strict";var e=n(18161),a=0,t=Math.random(),o=e(1 .toString);L.exports=function(m){return"Symbol("+(m===void 0?"":m)+")_"+o(++a+t,36)}},81457:function(L,r,n){"use strict";var e=n(70640);L.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},83411:function(L,r,n){"use strict";var e=n(14141),a=n(41746);L.exports=e&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},22789:function(L){"use strict";var r=TypeError;L.exports=function(n,e){if(n<e)throw new r("Not enough arguments");return n}},90777:function(L,r,n){"use strict";var e=n(40224),a=n(7532),t=e.WeakMap;L.exports=a(t)&&/native code/.test(String(t))},15388:function(L,r,n){"use strict";var e=n(5376),a=n(89458),t=n(32938),o=n(56018).f;L.exports=function(m){var N=e.Symbol||(e.Symbol={});a(N,m)||o(N,m,{value:t.f(m)})}},32938:function(L,r,n){"use strict";var e=n(66266);r.f=e},66266:function(L,r,n){"use strict";var e=n(40224),a=n(75130),t=n(89458),o=n(33345),m=n(70640),N=n(81457),y=e.Symbol,S=a("wks"),k=N?y.for||y:y&&y.withoutSetter||o;L.exports=function(p){return t(S,p)||(S[p]=m&&t(y,p)?y[p]:k("Symbol."+p)),S[p]}},137:function(L){"use strict";L.exports=" \n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"},70238:function(L,r,n){"use strict";var e=n(77549),a=n(40224),t=n(46185),o=n(67420),m="ArrayBuffer",N=t[m],y=a[m];e({global:!0,constructor:!0,forced:y!==N},{ArrayBuffer:N}),o(m)},21664:function(L,r,n){"use strict";var e=n(77549),a=n(72951),t=a.NATIVE_ARRAY_BUFFER_VIEWS;e({target:"ArrayBuffer",stat:!0,forced:!t},{isView:a.isView})},57348:function(L,r,n){"use strict";var e=n(77549),a=n(85067),t=n(41746),o=n(46185),m=n(39482),N=n(74067),y=n(10475),S=n(78412),k=o.ArrayBuffer,p=o.DataView,l=p.prototype,c=a(k.prototype.slice),f=a(l.getUint8),u=a(l.setUint8),i=t(function(){return!new k(2).slice(1,void 0).byteLength});e({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i},{slice:function(){function s(d,h){if(c&&h===void 0)return c(m(this),d);for(var v=m(this).byteLength,g=N(d,v),C=N(h===void 0?v:h,v),V=new(S(this,k))(y(C-g)),b=new p(this),B=new p(V),I=0;g<C;)u(B,I++,f(b,g++));return V}return s}()})},65755:function(L,r,n){"use strict";var e=n(77549),a=n(41746),t=n(62367),o=n(56831),m=n(40076),N=n(8333),y=n(72434),S=n(12913),k=n(32878),p=n(55114),l=n(66266),c=n(82709),f=l("isConcatSpreadable"),u=c>=51||!a(function(){var d=[];return d[f]=!1,d.concat()[0]!==d}),i=function(h){if(!o(h))return!1;var v=h[f];return v!==void 0?!!v:t(h)},s=!u||!p("concat");e({target:"Array",proto:!0,arity:1,forced:s},{concat:function(){function d(h){var v=m(this),g=k(v,0),C=0,V,b,B,I,w;for(V=-1,B=arguments.length;V<B;V++)if(w=V===-1?v:arguments[V],i(w))for(I=N(w),y(C+I),b=0;b<I;b++,C++)b in w&&S(g,C,w[b]);else y(C+1),S(g,C++,w);return g.length=C,g}return d}()})},35496:function(L,r,n){"use strict";var e=n(77549),a=n(42320),t=n(91138);e({target:"Array",proto:!0},{copyWithin:a}),t("copyWithin")},76604:function(L,r,n){"use strict";var e=n(77549),a=n(67480).every,t=n(42309),o=t("every");e({target:"Array",proto:!0,forced:!o},{every:function(){function m(N){return a(this,N,arguments.length>1?arguments[1]:void 0)}return m}()})},24974:function(L,r,n){"use strict";var e=n(77549),a=n(59942),t=n(91138);e({target:"Array",proto:!0},{fill:a}),t("fill")},6297:function(L,r,n){"use strict";var e=n(77549),a=n(67480).filter,t=n(55114),o=t("filter");e({target:"Array",proto:!0,forced:!o},{filter:function(){function m(N){return a(this,N,arguments.length>1?arguments[1]:void 0)}return m}()})},35173:function(L,r,n){"use strict";var e=n(77549),a=n(67480).findIndex,t=n(91138),o="findIndex",m=!0;o in[]&&Array(1)[o](function(){m=!1}),e({target:"Array",proto:!0,forced:m},{findIndex:function(){function N(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return N}()}),t(o)},5364:function(L,r,n){"use strict";var e=n(77549),a=n(67480).find,t=n(91138),o="find",m=!0;o in[]&&Array(1)[o](function(){m=!1}),e({target:"Array",proto:!0,forced:m},{find:function(){function N(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return N}()}),t(o)},88707:function(L,r,n){"use strict";var e=n(77549),a=n(68864),t=n(97361),o=n(40076),m=n(8333),N=n(32878);e({target:"Array",proto:!0},{flatMap:function(){function y(S){var k=o(this),p=m(k),l;return t(S),l=N(k,0),l.length=a(l,k,k,p,0,1,S,arguments.length>1?arguments[1]:void 0),l}return y}()})},16576:function(L,r,n){"use strict";var e=n(77549),a=n(68864),t=n(40076),o=n(8333),m=n(74952),N=n(32878);e({target:"Array",proto:!0},{flat:function(){function y(){var S=arguments.length?arguments[0]:void 0,k=t(this),p=o(k),l=N(k,0);return l.length=a(l,k,k,p,0,S===void 0?1:m(S)),l}return y}()})},21508:function(L,r,n){"use strict";var e=n(77549),a=n(75420);e({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},86339:function(L,r,n){"use strict";var e=n(77549),a=n(80363),t=n(52019),o=!t(function(m){Array.from(m)});e({target:"Array",stat:!0,forced:o},{from:a})},81850:function(L,r,n){"use strict";var e=n(77549),a=n(64210).includes,t=n(41746),o=n(91138),m=t(function(){return!Array(1).includes()});e({target:"Array",proto:!0,forced:m},{includes:function(){function N(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return N}()}),o("includes")},98661:function(L,r,n){"use strict";var e=n(77549),a=n(85067),t=n(64210).indexOf,o=n(42309),m=a([].indexOf),N=!!m&&1/m([1],1,-0)<0,y=N||!o("indexOf");e({target:"Array",proto:!0,forced:y},{indexOf:function(){function S(k){var p=arguments.length>1?arguments[1]:void 0;return N?m(this,k,p)||0:t(this,k,p)}return S}()})},13431:function(L,r,n){"use strict";var e=n(77549),a=n(62367);e({target:"Array",stat:!0},{isArray:a})},65809:function(L,r,n){"use strict";var e=n(96812),a=n(91138),t=n(90604),o=n(35086),m=n(56018).f,N=n(2449),y=n(77056),S=n(11478),k=n(14141),p="Array Iterator",l=o.set,c=o.getterFor(p);L.exports=N(Array,"Array",function(u,i){l(this,{type:p,target:e(u),index:0,kind:i})},function(){var u=c(this),i=u.target,s=u.index++;if(!i||s>=i.length)return u.target=void 0,y(void 0,!0);switch(u.kind){case"keys":return y(s,!1);case"values":return y(i[s],!1)}return y([s,i[s]],!1)},"values");var f=t.Arguments=t.Array;if(a("keys"),a("values"),a("entries"),!S&&k&&f.name!=="values")try{m(f,"name",{value:"values"})}catch(u){}},8611:function(L,r,n){"use strict";var e=n(77549),a=n(18161),t=n(26736),o=n(96812),m=n(42309),N=a([].join),y=t!==Object,S=y||!m("join",",");e({target:"Array",proto:!0,forced:S},{join:function(){function k(p){return N(o(this),p===void 0?",":p)}return k}()})},97246:function(L,r,n){"use strict";var e=n(77549),a=n(16934);e({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},48741:function(L,r,n){"use strict";var e=n(77549),a=n(67480).map,t=n(55114),o=t("map");e({target:"Array",proto:!0,forced:!o},{map:function(){function m(N){return a(this,N,arguments.length>1?arguments[1]:void 0)}return m}()})},90446:function(L,r,n){"use strict";var e=n(77549),a=n(41746),t=n(60354),o=n(12913),m=Array,N=a(function(){function y(){}return!(m.of.call(y)instanceof y)});e({target:"Array",stat:!0,forced:N},{of:function(){function y(){for(var S=0,k=arguments.length,p=new(t(this)?this:m)(k);k>S;)o(p,S,arguments[S++]);return p.length=k,p}return y}()})},61902:function(L,r,n){"use strict";var e=n(77549),a=n(98405).right,t=n(42309),o=n(82709),m=n(95823),N=!m&&o>79&&o<83,y=N||!t("reduceRight");e({target:"Array",proto:!0,forced:y},{reduceRight:function(){function S(k){return a(this,k,arguments.length,arguments.length>1?arguments[1]:void 0)}return S}()})},509:function(L,r,n){"use strict";var e=n(77549),a=n(98405).left,t=n(42309),o=n(82709),m=n(95823),N=!m&&o>79&&o<83,y=N||!t("reduce");e({target:"Array",proto:!0,forced:y},{reduce:function(){function S(k){var p=arguments.length;return a(this,k,p,p>1?arguments[1]:void 0)}return S}()})},96149:function(L,r,n){"use strict";var e=n(77549),a=n(18161),t=n(62367),o=a([].reverse),m=[1,2];e({target:"Array",proto:!0,forced:String(m)===String(m.reverse())},{reverse:function(){function N(){return t(this)&&(this.length=this.length),o(this)}return N}()})},66617:function(L,r,n){"use strict";var e=n(77549),a=n(62367),t=n(60354),o=n(56831),m=n(74067),N=n(8333),y=n(96812),S=n(12913),k=n(66266),p=n(55114),l=n(77713),c=p("slice"),f=k("species"),u=Array,i=Math.max;e({target:"Array",proto:!0,forced:!c},{slice:function(){function s(d,h){var v=y(this),g=N(v),C=m(d,g),V=m(h===void 0?g:h,g),b,B,I;if(a(v)&&(b=v.constructor,t(b)&&(b===u||a(b.prototype))?b=void 0:o(b)&&(b=b[f],b===null&&(b=void 0)),b===u||b===void 0))return l(v,C,V);for(B=new(b===void 0?u:b)(i(V-C,0)),I=0;C<V;C++,I++)C in v&&S(B,I,v[C]);return B.length=I,B}return s}()})},99883:function(L,r,n){"use strict";var e=n(77549),a=n(67480).some,t=n(42309),o=t("some");e({target:"Array",proto:!0,forced:!o},{some:function(){function m(N){return a(this,N,arguments.length>1?arguments[1]:void 0)}return m}()})},56855:function(L,r,n){"use strict";var e=n(77549),a=n(18161),t=n(97361),o=n(40076),m=n(8333),N=n(58937),y=n(26602),S=n(41746),k=n(44815),p=n(42309),l=n(49847),c=n(56605),f=n(82709),u=n(53125),i=[],s=a(i.sort),d=a(i.push),h=S(function(){i.sort(void 0)}),v=S(function(){i.sort(null)}),g=p("sort"),C=!S(function(){if(f)return f<70;if(!(l&&l>3)){if(c)return!0;if(u)return u<603;var B="",I,w,T,A;for(I=65;I<76;I++){switch(w=String.fromCharCode(I),I){case 66:case 69:case 70:case 72:T=3;break;case 68:case 71:T=4;break;default:T=2}for(A=0;A<47;A++)i.push({k:w+A,v:T})}for(i.sort(function(x,E){return E.v-x.v}),A=0;A<i.length;A++)w=i[A].k.charAt(0),B.charAt(B.length-1)!==w&&(B+=w);return B!=="DGBEFHACIJK"}}),V=h||!v||!g||!C,b=function(I){return function(w,T){return T===void 0?-1:w===void 0?1:I!==void 0?+I(w,T)||0:y(w)>y(T)?1:-1}};e({target:"Array",proto:!0,forced:V},{sort:function(){function B(I){I!==void 0&&t(I);var w=o(this);if(C)return I===void 0?s(w):s(w,I);var T=[],A=m(w),x,E;for(E=0;E<A;E++)E in w&&d(T,w[E]);for(k(T,b(I)),x=m(T),E=0;E<x;)w[E]=T[E++];for(;E<A;)N(w,E++);return w}return B}()})},67869:function(L,r,n){"use strict";var e=n(67420);e("Array")},8291:function(L,r,n){"use strict";var e=n(77549),a=n(40076),t=n(74067),o=n(74952),m=n(8333),N=n(72720),y=n(72434),S=n(32878),k=n(12913),p=n(58937),l=n(55114),c=l("splice"),f=Math.max,u=Math.min;e({target:"Array",proto:!0,forced:!c},{splice:function(){function i(s,d){var h=a(this),v=m(h),g=t(s,v),C=arguments.length,V,b,B,I,w,T;for(C===0?V=b=0:C===1?(V=0,b=v-g):(V=C-2,b=u(f(o(d),0),v-g)),y(v+V-b),B=S(h,b),I=0;I<b;I++)w=g+I,w in h&&k(B,I,h[w]);if(B.length=b,V<b){for(I=g;I<v-b;I++)w=I+b,T=I+V,w in h?h[T]=h[w]:p(h,T);for(I=v;I>v-b+V;I--)p(h,I-1)}else if(V>b)for(I=v-b;I>g;I--)w=I+b-1,T=I+V-1,w in h?h[T]=h[w]:p(h,T);for(I=0;I<V;I++)h[I+g]=arguments[I+2];return N(h,v-b+V),B}return i}()})},97824:function(L,r,n){"use strict";var e=n(91138);e("flatMap")},42811:function(L,r,n){"use strict";var e=n(91138);e("flat")},41576:function(L,r,n){"use strict";var e=n(77549),a=n(46185),t=n(67404);e({global:!0,constructor:!0,forced:!t},{DataView:a.DataView})},98878:function(L,r,n){"use strict";n(41576)},4624:function(L,r,n){"use strict";var e=n(77549),a=n(18161),t=Date,o=a(t.prototype.getTime);e({target:"Date",stat:!0},{now:function(){function m(){return o(new t)}return m}()})},96097:function(L,r,n){"use strict";var e=n(77549),a=n(74003);e({target:"Date",proto:!0,forced:Date.prototype.toISOString!==a},{toISOString:a})},45022:function(L,r,n){"use strict";var e=n(77549),a=n(41746),t=n(40076),o=n(4370),m=a(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){function N(){return 1}return N}()})!==1});e({target:"Date",proto:!0,arity:1,forced:m},{toJSON:function(){function N(y){var S=t(this),k=o(S,"number");return typeof k=="number"&&!isFinite(k)?null:S.toISOString()}return N}()})},79155:function(L,r,n){"use strict";var e=n(89458),a=n(59173),t=n(95865),o=n(66266),m=o("toPrimitive"),N=Date.prototype;e(N,m)||a(N,m,t)},53397:function(L,r,n){"use strict";var e=n(18161),a=n(59173),t=Date.prototype,o="Invalid Date",m="toString",N=e(t[m]),y=e(t.getTime);String(new Date(NaN))!==o&&a(t,m,function(){function S(){var k=y(this);return k===k?N(this):o}return S}())},52037:function(L,r,n){"use strict";var e=n(77549),a=n(9379);e({target:"Function",proto:!0,forced:Function.bind!==a},{bind:a})},21698:function(L,r,n){"use strict";var e=n(7532),a=n(56831),t=n(56018),o=n(33314),m=n(66266),N=n(76130),y=m("hasInstance"),S=Function.prototype;y in S||t.f(S,y,{value:N(function(k){if(!e(this)||!a(k))return!1;var p=this.prototype;return a(p)?o(p,k):k instanceof this},y)})},20509:function(L,r,n){"use strict";var e=n(14141),a=n(26463).EXISTS,t=n(18161),o=n(10069),m=Function.prototype,N=t(m.toString),y=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,S=t(y.exec),k="name";e&&!a&&o(m,k,{configurable:!0,get:function(){function p(){try{return S(y,N(this))[1]}catch(l){return""}}return p}()})},12183:function(L,r,n){"use strict";var e=n(77549),a=n(40164),t=n(70918),o=n(62696),m=n(18161),N=n(41746),y=n(7532),S=n(74352),k=n(77713),p=n(5806),l=n(70640),c=String,f=a("JSON","stringify"),u=m(/./.exec),i=m("".charAt),s=m("".charCodeAt),d=m("".replace),h=m(1 .toString),v=/[\uD800-\uDFFF]/g,g=/^[\uD800-\uDBFF]$/,C=/^[\uDC00-\uDFFF]$/,V=!l||N(function(){var w=a("Symbol")("stringify detection");return f([w])!=="[null]"||f({a:w})!=="{}"||f(Object(w))!=="{}"}),b=N(function(){return f("\uDF06\uD834")!=='"\\udf06\\ud834"'||f("\uDEAD")!=='"\\udead"'}),B=function(T,A){var x=k(arguments),E=p(A);if(!(!y(E)&&(T===void 0||S(T))))return x[1]=function(M,j){if(y(E)&&(j=o(E,this,c(M),j)),!S(j))return j},t(f,null,x)},I=function(T,A,x){var E=i(x,A-1),M=i(x,A+1);return u(g,T)&&!u(C,M)||u(C,T)&&!u(g,E)?"\\u"+h(s(T,0),16):T};f&&e({target:"JSON",stat:!0,arity:3,forced:V||b},{stringify:function(){function w(T,A,x){var E=k(arguments),M=t(V?B:f,null,E);return b&&typeof M=="string"?d(M,v,I):M}return w}()})},9530:function(L,r,n){"use strict";var e=n(40224),a=n(94234);a(e.JSON,"JSON",!0)},49216:function(L,r,n){"use strict";var e=n(93439),a=n(10623);e("Map",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},17814:function(L,r,n){"use strict";n(49216)},37812:function(L,r,n){"use strict";var e=n(77549),a=n(69143),t=Math.acosh,o=Math.log,m=Math.sqrt,N=Math.LN2,y=!t||Math.floor(t(Number.MAX_VALUE))!==710||t(1/0)!==1/0;e({target:"Math",stat:!0,forced:y},{acosh:function(){function S(k){var p=+k;return p<1?NaN:p>9490626562425156e-8?o(p)+N:a(p-1+m(p-1)*m(p+1))}return S}()})},86551:function(L,r,n){"use strict";var e=n(77549),a=Math.asinh,t=Math.log,o=Math.sqrt;function m(y){var S=+y;return!isFinite(S)||S===0?S:S<0?-m(-S):t(S+o(S*S+1))}var N=!(a&&1/a(0)>0);e({target:"Math",stat:!0,forced:N},{asinh:m})},10940:function(L,r,n){"use strict";var e=n(77549),a=Math.atanh,t=Math.log,o=!(a&&1/a(-0)<0);e({target:"Math",stat:!0,forced:o},{atanh:function(){function m(N){var y=+N;return y===0?y:t((1+y)/(1-y))/2}return m}()})},73763:function(L,r,n){"use strict";var e=n(77549),a=n(54307),t=Math.abs,o=Math.pow;e({target:"Math",stat:!0},{cbrt:function(){function m(N){var y=+N;return a(y)*o(t(y),.3333333333333333)}return m}()})},3372:function(L,r,n){"use strict";var e=n(77549),a=Math.floor,t=Math.log,o=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(){function m(N){var y=N>>>0;return y?31-a(t(y+.5)*o):32}return m}()})},51629:function(L,r,n){"use strict";var e=n(77549),a=n(32813),t=Math.cosh,o=Math.abs,m=Math.E,N=!t||t(710)===1/0;e({target:"Math",stat:!0,forced:N},{cosh:function(){function y(S){var k=a(o(S)-1)+1;return(k+1/(k*m*m))*(m/2)}return y}()})},69727:function(L,r,n){"use strict";var e=n(77549),a=n(32813);e({target:"Math",stat:!0,forced:a!==Math.expm1},{expm1:a})},27482:function(L,r,n){"use strict";var e=n(77549),a=n(75988);e({target:"Math",stat:!0},{fround:a})},7108:function(L,r,n){"use strict";var e=n(77549),a=Math.hypot,t=Math.abs,o=Math.sqrt,m=!!a&&a(1/0,NaN)!==1/0;e({target:"Math",stat:!0,arity:2,forced:m},{hypot:function(){function N(y,S){for(var k=0,p=0,l=arguments.length,c=0,f,u;p<l;)f=t(arguments[p++]),c<f?(u=c/f,k=k*u*u+1,c=f):f>0?(u=f/c,k+=u*u):k+=f;return c===1/0?1/0:c*o(k)}return N}()})},4115:function(L,r,n){"use strict";var e=n(77549),a=n(41746),t=Math.imul,o=a(function(){return t(4294967295,5)!==-5||t.length!==2});e({target:"Math",stat:!0,forced:o},{imul:function(){function m(N,y){var S=65535,k=+N,p=+y,l=S&k,c=S&p;return 0|l*c+((S&k>>>16)*c+l*(S&p>>>16)<<16>>>0)}return m}()})},63953:function(L,r,n){"use strict";var e=n(77549),a=n(53271);e({target:"Math",stat:!0},{log10:a})},71377:function(L,r,n){"use strict";var e=n(77549),a=n(69143);e({target:"Math",stat:!0},{log1p:a})},63956:function(L,r,n){"use strict";var e=n(77549),a=Math.log,t=Math.LN2;e({target:"Math",stat:!0},{log2:function(){function o(m){return a(m)/t}return o}()})},90037:function(L,r,n){"use strict";var e=n(77549),a=n(54307);e({target:"Math",stat:!0},{sign:a})},46818:function(L,r,n){"use strict";var e=n(77549),a=n(41746),t=n(32813),o=Math.abs,m=Math.exp,N=Math.E,y=a(function(){return Math.sinh(-2e-17)!==-2e-17});e({target:"Math",stat:!0,forced:y},{sinh:function(){function S(k){var p=+k;return o(p)<1?(t(p)-t(-p))/2:(m(p-1)-m(-p-1))*(N/2)}return S}()})},26681:function(L,r,n){"use strict";var e=n(77549),a=n(32813),t=Math.exp;e({target:"Math",stat:!0},{tanh:function(){function o(m){var N=+m,y=a(N),S=a(-N);return y===1/0?1:S===1/0?-1:(y-S)/(t(N)+t(-N))}return o}()})},83646:function(L,r,n){"use strict";var e=n(94234);e(Math,"Math",!0)},28876:function(L,r,n){"use strict";var e=n(77549),a=n(34606);e({target:"Math",stat:!0},{trunc:a})},36385:function(L,r,n){"use strict";var e=n(77549),a=n(11478),t=n(14141),o=n(40224),m=n(5376),N=n(18161),y=n(95945),S=n(89458),k=n(2566),p=n(33314),l=n(74352),c=n(4370),f=n(41746),u=n(34813).f,i=n(54168).f,s=n(56018).f,d=n(37497),h=n(35171).trim,v="Number",g=o[v],C=m[v],V=g.prototype,b=o.TypeError,B=N("".slice),I=N("".charCodeAt),w=function(P){var R=c(P,"number");return typeof R=="bigint"?R:T(R)},T=function(P){var R=c(P,"number"),D,F,W,_,H,z,$,X;if(l(R))throw new b("Cannot convert a Symbol value to a number");if(typeof R=="string"&&R.length>2){if(R=h(R),D=I(R,0),D===43||D===45){if(F=I(R,2),F===88||F===120)return NaN}else if(D===48){switch(I(R,1)){case 66:case 98:W=2,_=49;break;case 79:case 111:W=8,_=55;break;default:return+R}for(H=B(R,2),z=H.length,$=0;$<z;$++)if(X=I(H,$),X<48||X>_)return NaN;return parseInt(H,W)}}return+R},A=y(v,!g(" 0o1")||!g("0b1")||g("+0x1")),x=function(P){return p(V,P)&&f(function(){d(P)})},E=function(){function j(P){var R=arguments.length<1?0:g(w(P));return x(this)?k(Object(R),this,E):R}return j}();E.prototype=V,A&&!a&&(V.constructor=E),e({global:!0,constructor:!0,wrap:!0,forced:A},{Number:E});var M=function(P,R){for(var D=t?u(R):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),F=0,W;D.length>F;F++)S(R,W=D[F])&&!S(P,W)&&s(P,W,i(R,W))};a&&C&&M(m[v],C),(A||a)&&M(m[v],g)},84295:function(L,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59785:function(L,r,n){"use strict";var e=n(77549),a=n(69079);e({target:"Number",stat:!0},{isFinite:a})},8846:function(L,r,n){"use strict";var e=n(77549),a=n(57696);e({target:"Number",stat:!0},{isInteger:a})},50237:function(L,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0},{isNaN:function(){function a(t){return t!==t}return a}()})},6436:function(L,r,n){"use strict";var e=n(77549),a=n(57696),t=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(){function o(m){return a(m)&&t(m)<=9007199254740991}return o}()})},68286:function(L,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},23940:function(L,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},82425:function(L,r,n){"use strict";var e=n(77549),a=n(43283);e({target:"Number",stat:!0,forced:Number.parseFloat!==a},{parseFloat:a})},82118:function(L,r,n){"use strict";var e=n(77549),a=n(11540);e({target:"Number",stat:!0,forced:Number.parseInt!==a},{parseInt:a})},7419:function(L,r,n){"use strict";var e=n(77549),a=n(18161),t=n(74952),o=n(37497),m=n(84948),N=n(41746),y=RangeError,S=String,k=Math.floor,p=a(m),l=a("".slice),c=a(1 .toFixed),f=function v(g,C,V){return C===0?V:C%2===1?v(g,C-1,V*g):v(g*g,C/2,V)},u=function(g){for(var C=0,V=g;V>=4096;)C+=12,V/=4096;for(;V>=2;)C+=1,V/=2;return C},i=function(g,C,V){for(var b=-1,B=V;++b<6;)B+=C*g[b],g[b]=B%1e7,B=k(B/1e7)},s=function(g,C){for(var V=6,b=0;--V>=0;)b+=g[V],g[V]=k(b/C),b=b%C*1e7},d=function(g){for(var C=6,V="";--C>=0;)if(V!==""||C===0||g[C]!==0){var b=S(g[C]);V=V===""?b:V+p("0",7-b.length)+b}return V},h=N(function(){return c(8e-5,3)!=="0.000"||c(.9,0)!=="1"||c(1.255,2)!=="1.25"||c(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!N(function(){c({})});e({target:"Number",proto:!0,forced:h},{toFixed:function(){function v(g){var C=o(this),V=t(g),b=[0,0,0,0,0,0],B="",I="0",w,T,A,x;if(V<0||V>20)throw new y("Incorrect fraction digits");if(C!==C)return"NaN";if(C<=-1e21||C>=1e21)return S(C);if(C<0&&(B="-",C=-C),C>1e-21)if(w=u(C*f(2,69,1))-69,T=w<0?C*f(2,-w,1):C/f(2,w,1),T*=4503599627370496,w=52-w,w>0){for(i(b,0,T),A=V;A>=7;)i(b,1e7,0),A-=7;for(i(b,f(10,A,1),0),A=w-1;A>=23;)s(b,8388608),A-=23;s(b,1<<A),i(b,1,1),s(b,2),I=d(b)}else i(b,0,T),i(b,1<<-w,0),I=d(b)+p("0",V);return V>0?(x=I.length,I=B+(x<=V?"0."+p("0",V-x)+I:l(I,0,x-V)+"."+l(I,x-V))):I=B+I,I}return v}()})},42409:function(L,r,n){"use strict";var e=n(77549),a=n(18161),t=n(41746),o=n(37497),m=a(1 .toPrecision),N=t(function(){return m(1,void 0)!=="1"})||!t(function(){m({})});e({target:"Number",proto:!0,forced:N},{toPrecision:function(){function y(S){return S===void 0?m(o(this)):m(o(this),S)}return y}()})},29002:function(L,r,n){"use strict";var e=n(77549),a=n(12752);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},85795:function(L,r,n){"use strict";var e=n(77549),a=n(14141),t=n(28969);e({target:"Object",stat:!0,sham:!a},{create:t})},74722:function(L,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(97361),m=n(40076),N=n(56018);a&&e({target:"Object",proto:!0,forced:t},{__defineGetter__:function(){function y(S,k){N.f(m(this),S,{get:o(k),enumerable:!0,configurable:!0})}return y}()})},5300:function(L,r,n){"use strict";var e=n(77549),a=n(14141),t=n(65854).f;e({target:"Object",stat:!0,forced:Object.defineProperties!==t,sham:!a},{defineProperties:t})},85684:function(L,r,n){"use strict";var e=n(77549),a=n(14141),t=n(56018).f;e({target:"Object",stat:!0,forced:Object.defineProperty!==t,sham:!a},{defineProperty:t})},36014:function(L,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(97361),m=n(40076),N=n(56018);a&&e({target:"Object",proto:!0,forced:t},{__defineSetter__:function(){function y(S,k){N.f(m(this),S,{set:o(k),enumerable:!0,configurable:!0})}return y}()})},98551:function(L,r,n){"use strict";var e=n(77549),a=n(97452).entries;e({target:"Object",stat:!0},{entries:function(){function t(o){return a(o)}return t}()})},66288:function(L,r,n){"use strict";var e=n(77549),a=n(56255),t=n(41746),o=n(56831),m=n(29126).onFreeze,N=Object.freeze,y=t(function(){N(1)});e({target:"Object",stat:!0,forced:y,sham:!a},{freeze:function(){function S(k){return N&&o(k)?N(m(k)):k}return S}()})},26862:function(L,r,n){"use strict";var e=n(77549),a=n(281),t=n(12913);e({target:"Object",stat:!0},{fromEntries:function(){function o(m){var N={};return a(m,function(y,S){t(N,y,S)},{AS_ENTRIES:!0}),N}return o}()})},78686:function(L,r,n){"use strict";var e=n(77549),a=n(41746),t=n(96812),o=n(54168).f,m=n(14141),N=!m||a(function(){o(1)});e({target:"Object",stat:!0,forced:N,sham:!m},{getOwnPropertyDescriptor:function(){function y(S,k){return o(t(S),k)}return y}()})},36789:function(L,r,n){"use strict";var e=n(77549),a=n(14141),t=n(93616),o=n(96812),m=n(54168),N=n(12913);e({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(){function y(S){for(var k=o(S),p=m.f,l=t(k),c={},f=0,u,i;l.length>f;)i=p(k,u=l[f++]),i!==void 0&&N(c,u,i);return c}return y}()})},82707:function(L,r,n){"use strict";var e=n(77549),a=n(41746),t=n(63797).f,o=a(function(){return!Object.getOwnPropertyNames(1)});e({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:t})},93146:function(L,r,n){"use strict";var e=n(77549),a=n(70640),t=n(41746),o=n(34220),m=n(40076),N=!a||t(function(){o.f(1)});e({target:"Object",stat:!0,forced:N},{getOwnPropertySymbols:function(){function y(S){var k=o.f;return k?k(m(S)):[]}return y}()})},69740:function(L,r,n){"use strict";var e=n(77549),a=n(41746),t=n(40076),o=n(31658),m=n(58776),N=a(function(){o(1)});e({target:"Object",stat:!0,forced:N,sham:!m},{getPrototypeOf:function(){function y(S){return o(t(S))}return y}()})},54789:function(L,r,n){"use strict";var e=n(77549),a=n(57975);e({target:"Object",stat:!0,forced:Object.isExtensible!==a},{isExtensible:a})},49626:function(L,r,n){"use strict";var e=n(77549),a=n(41746),t=n(56831),o=n(38817),m=n(65693),N=Object.isFrozen,y=m||a(function(){N(1)});e({target:"Object",stat:!0,forced:y},{isFrozen:function(){function S(k){return!t(k)||m&&o(k)==="ArrayBuffer"?!0:N?N(k):!1}return S}()})},67660:function(L,r,n){"use strict";var e=n(77549),a=n(41746),t=n(56831),o=n(38817),m=n(65693),N=Object.isSealed,y=m||a(function(){N(1)});e({target:"Object",stat:!0,forced:y},{isSealed:function(){function S(k){return!t(k)||m&&o(k)==="ArrayBuffer"?!0:N?N(k):!1}return S}()})},87847:function(L,r,n){"use strict";var e=n(77549),a=n(37309);e({target:"Object",stat:!0},{is:a})},43619:function(L,r,n){"use strict";var e=n(77549),a=n(40076),t=n(84913),o=n(41746),m=o(function(){t(1)});e({target:"Object",stat:!0,forced:m},{keys:function(){function N(y){return t(a(y))}return N}()})},42777:function(L,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(40076),m=n(57640),N=n(31658),y=n(54168).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupGetter__:function(){function S(k){var p=o(this),l=m(k),c;do if(c=y(p,l))return c.get;while(p=N(p))}return S}()})},13045:function(L,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(40076),m=n(57640),N=n(31658),y=n(54168).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupSetter__:function(){function S(k){var p=o(this),l=m(k),c;do if(c=y(p,l))return c.set;while(p=N(p))}return S}()})},38664:function(L,r,n){"use strict";var e=n(77549),a=n(56831),t=n(29126).onFreeze,o=n(56255),m=n(41746),N=Object.preventExtensions,y=m(function(){N(1)});e({target:"Object",stat:!0,forced:y,sham:!o},{preventExtensions:function(){function S(k){return N&&a(k)?N(t(k)):k}return S}()})},29650:function(L,r,n){"use strict";var e=n(77549),a=n(56831),t=n(29126).onFreeze,o=n(56255),m=n(41746),N=Object.seal,y=m(function(){N(1)});e({target:"Object",stat:!0,forced:y,sham:!o},{seal:function(){function S(k){return N&&a(k)?N(t(k)):k}return S}()})},58176:function(L,r,n){"use strict";var e=n(77549),a=n(42878);e({target:"Object",stat:!0},{setPrototypeOf:a})},35286:function(L,r,n){"use strict";var e=n(82161),a=n(59173),t=n(66628);e||a(Object.prototype,"toString",t,{unsafe:!0})},13313:function(L,r,n){"use strict";var e=n(77549),a=n(97452).values;e({target:"Object",stat:!0},{values:function(){function t(o){return a(o)}return t}()})},26528:function(L,r,n){"use strict";var e=n(77549),a=n(43283);e({global:!0,forced:parseFloat!==a},{parseFloat:a})},54959:function(L,r,n){"use strict";var e=n(77549),a=n(11540);e({global:!0,forced:parseInt!==a},{parseInt:a})},34344:function(L,r,n){"use strict";var e=n(77549),a=n(62696),t=n(97361),o=n(48532),m=n(91114),N=n(281),y=n(95044);e({target:"Promise",stat:!0,forced:y},{all:function(){function S(k){var p=this,l=o.f(p),c=l.resolve,f=l.reject,u=m(function(){var i=t(p.resolve),s=[],d=0,h=1;N(k,function(v){var g=d++,C=!1;h++,a(i,p,v).then(function(V){C||(C=!0,s[g]=V,--h||c(s))},f)}),--h||c(s)});return u.error&&f(u.value),l.promise}return S}()})},60:function(L,r,n){"use strict";var e=n(77549),a=n(11478),t=n(49669).CONSTRUCTOR,o=n(35973),m=n(40164),N=n(7532),y=n(59173),S=o&&o.prototype;if(e({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(){function p(l){return this.then(void 0,l)}return p}()}),!a&&N(o)){var k=m("Promise").prototype.catch;S.catch!==k&&y(S,"catch",k,{unsafe:!0})}},7803:function(L,r,n){"use strict";var e=n(77549),a=n(11478),t=n(95823),o=n(40224),m=n(62696),N=n(59173),y=n(42878),S=n(94234),k=n(67420),p=n(97361),l=n(7532),c=n(56831),f=n(19870),u=n(78412),i=n(91314).set,s=n(27150),d=n(46122),h=n(91114),v=n(23496),g=n(35086),C=n(35973),V=n(49669),b=n(48532),B="Promise",I=V.CONSTRUCTOR,w=V.REJECTION_EVENT,T=V.SUBCLASSING,A=g.getterFor(B),x=g.set,E=C&&C.prototype,M=C,j=E,P=o.TypeError,R=o.document,D=o.process,F=b.f,W=F,_=!!(R&&R.createEvent&&o.dispatchEvent),H="unhandledrejection",z="rejectionhandled",$=0,X=1,J=2,ce=1,re=2,me,pe,ye,Be,he=function(ve){var Se;return c(ve)&&l(Se=ve.then)?Se:!1},oe=function(ve,Se){var we=Se.value,xe=Se.state===X,Oe=xe?ve.ok:ve.fail,We=ve.resolve,Ve=ve.reject,ae=ve.domain,le,Ce,de;try{Oe?(xe||(Se.rejection===re&&ne(Se),Se.rejection=ce),Oe===!0?le=we:(ae&&ae.enter(),le=Oe(we),ae&&(ae.exit(),de=!0)),le===ve.promise?Ve(new P("Promise-chain cycle")):(Ce=he(le))?m(Ce,le,We,Ve):We(le)):Ve(we)}catch(Ne){ae&&!de&&ae.exit(),Ve(Ne)}},Z=function(ve,Se){ve.notified||(ve.notified=!0,s(function(){for(var we=ve.reactions,xe;xe=we.get();)oe(xe,ve);ve.notified=!1,Se&&!ve.rejection&&ue(ve)}))},q=function(ve,Se,we){var xe,Oe;_?(xe=R.createEvent("Event"),xe.promise=Se,xe.reason=we,xe.initEvent(ve,!1,!0),o.dispatchEvent(xe)):xe={promise:Se,reason:we},!w&&(Oe=o["on"+ve])?Oe(xe):ve===H&&d("Unhandled promise rejection",we)},ue=function(ve){m(i,o,function(){var Se=ve.facade,we=ve.value,xe=se(ve),Oe;if(xe&&(Oe=h(function(){t?D.emit("unhandledRejection",we,Se):q(H,Se,we)}),ve.rejection=t||se(ve)?re:ce,Oe.error))throw Oe.value})},se=function(ve){return ve.rejection!==ce&&!ve.parent},ne=function(ve){m(i,o,function(){var Se=ve.facade;t?D.emit("rejectionHandled",Se):q(z,Se,ve.value)})},be=function(ve,Se,we){return function(xe){ve(Se,xe,we)}},fe=function(ve,Se,we){ve.done||(ve.done=!0,we&&(ve=we),ve.value=Se,ve.state=J,Z(ve,!0))},ge=function ke(ve,Se,we){if(!ve.done){ve.done=!0,we&&(ve=we);try{if(ve.facade===Se)throw new P("Promise can't be resolved itself");var xe=he(Se);xe?s(function(){var Oe={done:!1};try{m(xe,Se,be(ke,Oe,ve),be(fe,Oe,ve))}catch(We){fe(Oe,We,ve)}}):(ve.value=Se,ve.state=X,Z(ve,!1))}catch(Oe){fe({done:!1},Oe,ve)}}};if(I&&(M=function(){function ke(ve){f(this,j),p(ve),m(me,this);var Se=A(this);try{ve(be(ge,Se),be(fe,Se))}catch(we){fe(Se,we)}}return ke}(),j=M.prototype,me=function(){function ke(ve){x(this,{type:B,done:!1,notified:!1,parent:!1,reactions:new v,rejection:!1,state:$,value:void 0})}return ke}(),me.prototype=N(j,"then",function(){function ke(ve,Se){var we=A(this),xe=F(u(this,M));return we.parent=!0,xe.ok=l(ve)?ve:!0,xe.fail=l(Se)&&Se,xe.domain=t?D.domain:void 0,we.state===$?we.reactions.add(xe):s(function(){oe(xe,we)}),xe.promise}return ke}()),pe=function(){var ve=new me,Se=A(ve);this.promise=ve,this.resolve=be(ge,Se),this.reject=be(fe,Se)},b.f=F=function(ve){return ve===M||ve===ye?new pe(ve):W(ve)},!a&&l(C)&&E!==Object.prototype)){Be=E.then,T||N(E,"then",function(){function ke(ve,Se){var we=this;return new M(function(xe,Oe){m(Be,we,xe,Oe)}).then(ve,Se)}return ke}(),{unsafe:!0});try{delete E.constructor}catch(ke){}y&&y(E,j)}e({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:M}),S(M,B,!1,!0),k(B)},54412:function(L,r,n){"use strict";var e=n(77549),a=n(11478),t=n(35973),o=n(41746),m=n(40164),N=n(7532),y=n(78412),S=n(43827),k=n(59173),p=t&&t.prototype,l=!!t&&o(function(){p.finally.call({then:function(){function f(){}return f}()},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:l},{finally:function(){function f(u){var i=y(this,m("Promise")),s=N(u);return this.then(s?function(d){return S(i,u()).then(function(){return d})}:u,s?function(d){return S(i,u()).then(function(){throw d})}:u)}return f}()}),!a&&N(t)){var c=m("Promise").prototype.finally;p.finally!==c&&k(p,"finally",c,{unsafe:!0})}},78129:function(L,r,n){"use strict";n(7803),n(34344),n(60),n(61270),n(82248),n(30347)},61270:function(L,r,n){"use strict";var e=n(77549),a=n(62696),t=n(97361),o=n(48532),m=n(91114),N=n(281),y=n(95044);e({target:"Promise",stat:!0,forced:y},{race:function(){function S(k){var p=this,l=o.f(p),c=l.reject,f=m(function(){var u=t(p.resolve);N(k,function(i){a(u,p,i).then(l.resolve,c)})});return f.error&&c(f.value),l.promise}return S}()})},82248:function(L,r,n){"use strict";var e=n(77549),a=n(48532),t=n(49669).CONSTRUCTOR;e({target:"Promise",stat:!0,forced:t},{reject:function(){function o(m){var N=a.f(this),y=N.reject;return y(m),N.promise}return o}()})},30347:function(L,r,n){"use strict";var e=n(77549),a=n(40164),t=n(11478),o=n(35973),m=n(49669).CONSTRUCTOR,N=n(43827),y=a("Promise"),S=t&&!m;e({target:"Promise",stat:!0,forced:t||m},{resolve:function(){function k(p){return N(S&&this===y?o:this,p)}return k}()})},82427:function(L,r,n){"use strict";var e=n(77549),a=n(70918),t=n(97361),o=n(39482),m=n(41746),N=!m(function(){Reflect.apply(function(){})});e({target:"Reflect",stat:!0,forced:N},{apply:function(){function y(S,k,p){return a(t(S),k,o(p))}return y}()})},8390:function(L,r,n){"use strict";var e=n(77549),a=n(40164),t=n(70918),o=n(9379),m=n(76833),N=n(39482),y=n(56831),S=n(28969),k=n(41746),p=a("Reflect","construct"),l=Object.prototype,c=[].push,f=k(function(){function s(){}return!(p(function(){},[],s)instanceof s)}),u=!k(function(){p(function(){})}),i=f||u;e({target:"Reflect",stat:!0,forced:i,sham:i},{construct:function(){function s(d,h){m(d),N(h);var v=arguments.length<3?d:m(arguments[2]);if(u&&!f)return p(d,h,v);if(d===v){switch(h.length){case 0:return new d;case 1:return new d(h[0]);case 2:return new d(h[0],h[1]);case 3:return new d(h[0],h[1],h[2]);case 4:return new d(h[0],h[1],h[2],h[3])}var g=[null];return t(c,g,h),new(t(o,d,g))}var C=v.prototype,V=S(y(C)?C:l),b=t(d,V,h);return y(b)?b:V}return s}()})},68260:function(L,r,n){"use strict";var e=n(77549),a=n(14141),t=n(39482),o=n(57640),m=n(56018),N=n(41746),y=N(function(){Reflect.defineProperty(m.f({},1,{value:1}),1,{value:2})});e({target:"Reflect",stat:!0,forced:y,sham:!a},{defineProperty:function(){function S(k,p,l){t(k);var c=o(p);t(l);try{return m.f(k,c,l),!0}catch(f){return!1}}return S}()})},86508:function(L,r,n){"use strict";var e=n(77549),a=n(39482),t=n(54168).f;e({target:"Reflect",stat:!0},{deleteProperty:function(){function o(m,N){var y=t(a(m),N);return y&&!y.configurable?!1:delete m[N]}return o}()})},17134:function(L,r,n){"use strict";var e=n(77549),a=n(14141),t=n(39482),o=n(54168);e({target:"Reflect",stat:!0,sham:!a},{getOwnPropertyDescriptor:function(){function m(N,y){return o.f(t(N),y)}return m}()})},18972:function(L,r,n){"use strict";var e=n(77549),a=n(39482),t=n(31658),o=n(58776);e({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(){function m(N){return t(a(N))}return m}()})},65971:function(L,r,n){"use strict";var e=n(77549),a=n(62696),t=n(56831),o=n(39482),m=n(35892),N=n(54168),y=n(31658);function S(k,p){var l=arguments.length<3?k:arguments[2],c,f;if(o(k)===l)return k[p];if(c=N.f(k,p),c)return m(c)?c.value:c.get===void 0?void 0:a(c.get,l);if(t(f=y(k)))return S(f,p,l)}e({target:"Reflect",stat:!0},{get:S})},78623:function(L,r,n){"use strict";var e=n(77549);e({target:"Reflect",stat:!0},{has:function(){function a(t,o){return o in t}return a}()})},60149:function(L,r,n){"use strict";var e=n(77549),a=n(39482),t=n(57975);e({target:"Reflect",stat:!0},{isExtensible:function(){function o(m){return a(m),t(m)}return o}()})},56380:function(L,r,n){"use strict";var e=n(77549),a=n(93616);e({target:"Reflect",stat:!0},{ownKeys:a})},72792:function(L,r,n){"use strict";var e=n(77549),a=n(40164),t=n(39482),o=n(56255);e({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(){function m(N){t(N);try{var y=a("Object","preventExtensions");return y&&y(N),!0}catch(S){return!1}}return m}()})},25168:function(L,r,n){"use strict";var e=n(77549),a=n(39482),t=n(51689),o=n(42878);o&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(){function m(N,y){a(N),t(y);try{return o(N,y),!0}catch(S){return!1}}return m}()})},60631:function(L,r,n){"use strict";var e=n(77549),a=n(62696),t=n(39482),o=n(56831),m=n(35892),N=n(41746),y=n(56018),S=n(54168),k=n(31658),p=n(7539);function l(f,u,i){var s=arguments.length<4?f:arguments[3],d=S.f(t(f),u),h,v,g;if(!d){if(o(v=k(f)))return l(v,u,i,s);d=p(0)}if(m(d)){if(d.writable===!1||!o(s))return!1;if(h=S.f(s,u)){if(h.get||h.set||h.writable===!1)return!1;h.value=i,y.f(s,u,h)}else y.f(s,u,p(0,i))}else{if(g=d.set,g===void 0)return!1;a(g,s,i)}return!0}var c=N(function(){var f=function(){},u=y.f(new f,"a",{configurable:!0});return Reflect.set(f.prototype,"a",1,u)!==!1});e({target:"Reflect",stat:!0,forced:c},{set:l})},85177:function(L,r,n){"use strict";var e=n(14141),a=n(40224),t=n(18161),o=n(95945),m=n(2566),N=n(16216),y=n(28969),S=n(34813).f,k=n(33314),p=n(80969),l=n(26602),c=n(60425),f=n(1064),u=n(77495),i=n(59173),s=n(41746),d=n(89458),h=n(35086).enforce,v=n(67420),g=n(66266),C=n(89604),V=n(5489),b=g("match"),B=a.RegExp,I=B.prototype,w=a.SyntaxError,T=t(I.exec),A=t("".charAt),x=t("".replace),E=t("".indexOf),M=t("".slice),j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,P=/a/g,R=/a/g,D=new B(P)!==P,F=f.MISSED_STICKY,W=f.UNSUPPORTED_Y,_=e&&(!D||F||C||V||s(function(){return R[b]=!1,B(P)!==P||B(R)===R||String(B(P,"i"))!=="/a/i"})),H=function(re){for(var me=re.length,pe=0,ye="",Be=!1,he;pe<=me;pe++){if(he=A(re,pe),he==="\\"){ye+=he+A(re,++pe);continue}!Be&&he==="."?ye+="[\\s\\S]":(he==="["?Be=!0:he==="]"&&(Be=!1),ye+=he)}return ye},z=function(re){for(var me=re.length,pe=0,ye="",Be=[],he=y(null),oe=!1,Z=!1,q=0,ue="",se;pe<=me;pe++){if(se=A(re,pe),se==="\\")se+=A(re,++pe);else if(se==="]")oe=!1;else if(!oe)switch(!0){case se==="[":oe=!0;break;case se==="(":T(j,M(re,pe+1))&&(pe+=2,Z=!0),ye+=se,q++;continue;case(se===">"&&Z):if(ue===""||d(he,ue))throw new w("Invalid capture group name");he[ue]=!0,Be[Be.length]=[ue,q],Z=!1,ue="";continue}Z?ue+=se:ye+=se}return[ye,Be]};if(o("RegExp",_)){for(var $=function(){function ce(re,me){var pe=k(I,this),ye=p(re),Be=me===void 0,he=[],oe=re,Z,q,ue,se,ne,be;if(!pe&&ye&&Be&&re.constructor===$)return re;if((ye||k(I,re))&&(re=re.source,Be&&(me=c(oe))),re=re===void 0?"":l(re),me=me===void 0?"":l(me),oe=re,C&&"dotAll"in P&&(q=!!me&&E(me,"s")>-1,q&&(me=x(me,/s/g,""))),Z=me,F&&"sticky"in P&&(ue=!!me&&E(me,"y")>-1,ue&&W&&(me=x(me,/y/g,""))),V&&(se=z(re),re=se[0],he=se[1]),ne=m(B(re,me),pe?this:I,$),(q||ue||he.length)&&(be=h(ne),q&&(be.dotAll=!0,be.raw=$(H(re),Z)),ue&&(be.sticky=!0),he.length&&(be.groups=he)),re!==oe)try{N(ne,"source",oe===""?"(?:)":oe)}catch(fe){}return ne}return ce}(),X=S(B),J=0;X.length>J;)u($,B,X[J++]);I.constructor=$,$.prototype=I,i(a,"RegExp",$,{constructor:!0})}v("RegExp")},95880:function(L,r,n){"use strict";var e=n(77549),a=n(72894);e({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},59978:function(L,r,n){"use strict";var e=n(40224),a=n(14141),t=n(10069),o=n(65844),m=n(41746),N=e.RegExp,y=N.prototype,S=a&&m(function(){var k=!0;try{N(".","d")}catch(d){k=!1}var p={},l="",c=k?"dgimsy":"gimsy",f=function(h,v){Object.defineProperty(p,h,{get:function(){function g(){return l+=v,!0}return g}()})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};k&&(u.hasIndices="d");for(var i in u)f(i,u[i]);var s=Object.getOwnPropertyDescriptor(y,"flags").get.call(p);return s!==c||l!==c});S&&t(y,"flags",{configurable:!0,get:o})},96360:function(L,r,n){"use strict";var e=n(26463).PROPER,a=n(59173),t=n(39482),o=n(26602),m=n(41746),N=n(60425),y="toString",S=RegExp.prototype,k=S[y],p=m(function(){return k.call({source:"a",flags:"b"})!=="/a/b"}),l=e&&k.name!==y;(p||l)&&a(S,y,function(){function c(){var f=t(this),u=o(f.source),i=o(N(f));return"/"+u+"/"+i}return c}(),{unsafe:!0})},47338:function(L,r,n){"use strict";var e=n(93439),a=n(10623);e("Set",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},43108:function(L,r,n){"use strict";n(47338)},36:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("anchor")},{anchor:function(){function o(m){return a(this,"a","name",m)}return o}()})},30519:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("big")},{big:function(){function o(){return a(this,"big","","")}return o}()})},33547:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("blink")},{blink:function(){function o(){return a(this,"blink","","")}return o}()})},53426:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("bold")},{bold:function(){function o(){return a(this,"b","","")}return o}()})},37801:function(L,r,n){"use strict";var e=n(77549),a=n(56852).codeAt;e({target:"String",proto:!0},{codePointAt:function(){function t(o){return a(this,o)}return t}()})},3044:function(L,r,n){"use strict";var e=n(77549),a=n(85067),t=n(54168).f,o=n(10475),m=n(26602),N=n(89140),y=n(91029),S=n(93321),k=n(11478),p=a("".slice),l=Math.min,c=S("endsWith"),f=!k&&!c&&!!function(){var u=t(String.prototype,"endsWith");return u&&!u.writable}();e({target:"String",proto:!0,forced:!f&&!c},{endsWith:function(){function u(i){var s=m(y(this));N(i);var d=arguments.length>1?arguments[1]:void 0,h=s.length,v=d===void 0?h:l(o(d),h),g=m(i);return p(s,v-g.length,v)===g}return u}()})},32031:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fixed")},{fixed:function(){function o(){return a(this,"tt","","")}return o}()})},13153:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fontcolor")},{fontcolor:function(){function o(m){return a(this,"font","color",m)}return o}()})},21953:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fontsize")},{fontsize:function(){function o(m){return a(this,"font","size",m)}return o}()})},48432:function(L,r,n){"use strict";var e=n(77549),a=n(18161),t=n(74067),o=RangeError,m=String.fromCharCode,N=String.fromCodePoint,y=a([].join),S=!!N&&N.length!==1;e({target:"String",stat:!0,arity:1,forced:S},{fromCodePoint:function(){function k(p){for(var l=[],c=arguments.length,f=0,u;c>f;){if(u=+arguments[f++],t(u,1114111)!==u)throw new o(u+" is not a valid code point");l[f]=u<65536?m(u):m(((u-=65536)>>10)+55296,u%1024+56320)}return y(l,"")}return k}()})},54564:function(L,r,n){"use strict";var e=n(77549),a=n(18161),t=n(89140),o=n(91029),m=n(26602),N=n(93321),y=a("".indexOf);e({target:"String",proto:!0,forced:!N("includes")},{includes:function(){function S(k){return!!~y(m(o(this)),m(t(k)),arguments.length>1?arguments[1]:void 0)}return S}()})},83560:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("italics")},{italics:function(){function o(){return a(this,"i","","")}return o}()})},58179:function(L,r,n){"use strict";var e=n(56852).charAt,a=n(26602),t=n(35086),o=n(2449),m=n(77056),N="String Iterator",y=t.set,S=t.getterFor(N);o(String,"String",function(k){y(this,{type:N,string:a(k),index:0})},function(){function k(){var p=S(this),l=p.string,c=p.index,f;return c>=l.length?m(void 0,!0):(f=e(l,c),p.index+=f.length,m(f,!1))}return k}())},63465:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("link")},{link:function(){function o(m){return a(this,"a","href",m)}return o}()})},68164:function(L,r,n){"use strict";var e=n(62696),a=n(85427),t=n(39482),o=n(1022),m=n(10475),N=n(26602),y=n(91029),S=n(4817),k=n(62970),p=n(35553);a("match",function(l,c,f){return[function(){function u(i){var s=y(this),d=o(i)?void 0:S(i,l);return d?e(d,i,s):new RegExp(i)[l](N(s))}return u}(),function(u){var i=t(this),s=N(u),d=f(c,i,s);if(d.done)return d.value;if(!i.global)return p(i,s);var h=i.unicode;i.lastIndex=0;for(var v=[],g=0,C;(C=p(i,s))!==null;){var V=N(C[0]);v[g]=V,V===""&&(i.lastIndex=k(s,m(i.lastIndex),h)),g++}return g===0?null:v}]})},58880:function(L,r,n){"use strict";var e=n(77549),a=n(34086).end,t=n(33038);e({target:"String",proto:!0,forced:t},{padEnd:function(){function o(m){return a(this,m,arguments.length>1?arguments[1]:void 0)}return o}()})},54465:function(L,r,n){"use strict";var e=n(77549),a=n(34086).start,t=n(33038);e({target:"String",proto:!0,forced:t},{padStart:function(){function o(m){return a(this,m,arguments.length>1?arguments[1]:void 0)}return o}()})},97327:function(L,r,n){"use strict";var e=n(77549),a=n(18161),t=n(96812),o=n(40076),m=n(26602),N=n(8333),y=a([].push),S=a([].join);e({target:"String",stat:!0},{raw:function(){function k(p){var l=t(o(p).raw),c=N(l);if(!c)return"";for(var f=arguments.length,u=[],i=0;;){if(y(u,m(l[i++])),i===c)return S(u,"");i<f&&y(u,m(arguments[i]))}}return k}()})},19114:function(L,r,n){"use strict";var e=n(77549),a=n(84948);e({target:"String",proto:!0},{repeat:a})},23797:function(L,r,n){"use strict";var e=n(70918),a=n(62696),t=n(18161),o=n(85427),m=n(41746),N=n(39482),y=n(7532),S=n(1022),k=n(74952),p=n(10475),l=n(26602),c=n(91029),f=n(62970),u=n(4817),i=n(81385),s=n(35553),d=n(66266),h=d("replace"),v=Math.max,g=Math.min,C=t([].concat),V=t([].push),b=t("".indexOf),B=t("".slice),I=function(E){return E===void 0?E:String(E)},w=function(){return"a".replace(/./,"$0")==="$0"}(),T=function(){return/./[h]?/./[h]("a","$0")==="":!1}(),A=!m(function(){var x=/./;return x.exec=function(){var E=[];return E.groups={a:"7"},E},"".replace(x,"$<a>")!=="7"});o("replace",function(x,E,M){var j=T?"$":"$0";return[function(){function P(R,D){var F=c(this),W=S(R)?void 0:u(R,h);return W?a(W,R,F,D):a(E,l(F),R,D)}return P}(),function(P,R){var D=N(this),F=l(P);if(typeof R=="string"&&b(R,j)===-1&&b(R,"$<")===-1){var W=M(E,D,F,R);if(W.done)return W.value}var _=y(R);_||(R=l(R));var H=D.global,z;H&&(z=D.unicode,D.lastIndex=0);for(var $=[],X;X=s(D,F),!(X===null||(V($,X),!H));){var J=l(X[0]);J===""&&(D.lastIndex=f(F,p(D.lastIndex),z))}for(var ce="",re=0,me=0;me<$.length;me++){X=$[me];for(var pe=l(X[0]),ye=v(g(k(X.index),F.length),0),Be=[],he,oe=1;oe<X.length;oe++)V(Be,I(X[oe]));var Z=X.groups;if(_){var q=C([pe],Be,ye,F);Z!==void 0&&V(q,Z),he=l(e(R,void 0,q))}else he=i(pe,F,ye,Be,Z,R);ye>=re&&(ce+=B(F,re,ye)+he,re=ye+pe.length)}return ce+B(F,re)}]},!A||!w||T)},17337:function(L,r,n){"use strict";var e=n(62696),a=n(85427),t=n(39482),o=n(1022),m=n(91029),N=n(37309),y=n(26602),S=n(4817),k=n(35553);a("search",function(p,l,c){return[function(){function f(u){var i=m(this),s=o(u)?void 0:S(u,p);return s?e(s,u,i):new RegExp(u)[p](y(i))}return f}(),function(f){var u=t(this),i=y(f),s=c(l,u,i);if(s.done)return s.value;var d=u.lastIndex;N(d,0)||(u.lastIndex=0);var h=k(u,i);return N(u.lastIndex,d)||(u.lastIndex=d),h===null?-1:h.index}]})},98998:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("small")},{small:function(){function o(){return a(this,"small","","")}return o}()})},53713:function(L,r,n){"use strict";var e=n(62696),a=n(18161),t=n(85427),o=n(39482),m=n(1022),N=n(91029),y=n(78412),S=n(62970),k=n(10475),p=n(26602),l=n(4817),c=n(35553),f=n(1064),u=n(41746),i=f.UNSUPPORTED_Y,s=4294967295,d=Math.min,h=a([].push),v=a("".slice),g=!u(function(){var V=/(?:)/,b=V.exec;V.exec=function(){return b.apply(this,arguments)};var B="ab".split(V);return B.length!==2||B[0]!=="a"||B[1]!=="b"}),C="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;t("split",function(V,b,B){var I="0".split(void 0,0).length?function(w,T){return w===void 0&&T===0?[]:e(b,this,w,T)}:b;return[function(){function w(T,A){var x=N(this),E=m(T)?void 0:l(T,V);return E?e(E,T,x,A):e(I,p(x),T,A)}return w}(),function(w,T){var A=o(this),x=p(w);if(!C){var E=B(I,A,x,T,I!==b);if(E.done)return E.value}var M=y(A,RegExp),j=A.unicode,P=(A.ignoreCase?"i":"")+(A.multiline?"m":"")+(A.unicode?"u":"")+(i?"g":"y"),R=new M(i?"^(?:"+A.source+")":A,P),D=T===void 0?s:T>>>0;if(D===0)return[];if(x.length===0)return c(R,x)===null?[x]:[];for(var F=0,W=0,_=[];W<x.length;){R.lastIndex=i?0:W;var H=c(R,i?v(x,W):x),z;if(H===null||(z=d(k(R.lastIndex+(i?W:0)),x.length))===F)W=S(x,W,j);else{if(h(_,v(x,F,W)),_.length===D)return _;for(var $=1;$<=H.length-1;$++)if(h(_,H[$]),_.length===D)return _;W=F=z}}return h(_,v(x,F)),_}]},C||!g,i)},84469:function(L,r,n){"use strict";var e=n(77549),a=n(85067),t=n(54168).f,o=n(10475),m=n(26602),N=n(89140),y=n(91029),S=n(93321),k=n(11478),p=a("".slice),l=Math.min,c=S("startsWith"),f=!k&&!c&&!!function(){var u=t(String.prototype,"startsWith");return u&&!u.writable}();e({target:"String",proto:!0,forced:!f&&!c},{startsWith:function(){function u(i){var s=m(y(this));N(i);var d=o(l(arguments.length>1?arguments[1]:void 0,s.length)),h=m(i);return p(s,d,d+h.length)===h}return u}()})},96227:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("strike")},{strike:function(){function o(){return a(this,"strike","","")}return o}()})},15483:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("sub")},{sub:function(){function o(){return a(this,"sub","","")}return o}()})},86829:function(L,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("sup")},{sup:function(){function o(){return a(this,"sup","","")}return o}()})},93073:function(L,r,n){"use strict";n(17434);var e=n(77549),a=n(11775);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==a},{trimEnd:a})},69107:function(L,r,n){"use strict";var e=n(77549),a=n(26402);e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==a},{trimLeft:a})},17434:function(L,r,n){"use strict";var e=n(77549),a=n(11775);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==a},{trimRight:a})},50800:function(L,r,n){"use strict";n(69107);var e=n(77549),a=n(26402);e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==a},{trimStart:a})},11121:function(L,r,n){"use strict";var e=n(77549),a=n(35171).trim,t=n(93817);e({target:"String",proto:!0,forced:t("trim")},{trim:function(){function o(){return a(this)}return o}()})},46951:function(L,r,n){"use strict";var e=n(15388);e("asyncIterator")},9056:function(L,r,n){"use strict";var e=n(77549),a=n(40224),t=n(62696),o=n(18161),m=n(11478),N=n(14141),y=n(70640),S=n(41746),k=n(89458),p=n(33314),l=n(39482),c=n(96812),f=n(57640),u=n(26602),i=n(7539),s=n(28969),d=n(84913),h=n(34813),v=n(63797),g=n(34220),C=n(54168),V=n(56018),b=n(65854),B=n(9776),I=n(59173),w=n(10069),T=n(75130),A=n(5160),x=n(21124),E=n(33345),M=n(66266),j=n(32938),P=n(15388),R=n(75429),D=n(94234),F=n(35086),W=n(67480).forEach,_=A("hidden"),H="Symbol",z="prototype",$=F.set,X=F.getterFor(H),J=Object[z],ce=a.Symbol,re=ce&&ce[z],me=a.RangeError,pe=a.TypeError,ye=a.QObject,Be=C.f,he=V.f,oe=v.f,Z=B.f,q=o([].push),ue=T("symbols"),se=T("op-symbols"),ne=T("wks"),be=!ye||!ye[z]||!ye[z].findChild,fe=function(le,Ce,de){var Ne=Be(J,Ce);Ne&&delete J[Ce],he(le,Ce,de),Ne&&le!==J&&he(J,Ce,Ne)},ge=N&&S(function(){return s(he({},"a",{get:function(){function ae(){return he(this,"a",{value:7}).a}return ae}()})).a!==7})?fe:he,ke=function(le,Ce){var de=ue[le]=s(re);return $(de,{type:H,tag:le,description:Ce}),N||(de.description=Ce),de},ve=function(){function ae(le,Ce,de){le===J&&ve(se,Ce,de),l(le);var Ne=f(Ce);return l(de),k(ue,Ne)?(de.enumerable?(k(le,_)&&le[_][Ne]&&(le[_][Ne]=!1),de=s(de,{enumerable:i(0,!1)})):(k(le,_)||he(le,_,i(1,s(null))),le[_][Ne]=!0),ge(le,Ne,de)):he(le,Ne,de)}return ae}(),Se=function(){function ae(le,Ce){l(le);var de=c(Ce),Ne=d(de).concat(Ve(de));return W(Ne,function(Ae){(!N||t(xe,de,Ae))&&ve(le,Ae,de[Ae])}),le}return ae}(),we=function(){function ae(le,Ce){return Ce===void 0?s(le):Se(s(le),Ce)}return ae}(),xe=function(){function ae(le){var Ce=f(le),de=t(Z,this,Ce);return this===J&&k(ue,Ce)&&!k(se,Ce)?!1:de||!k(this,Ce)||!k(ue,Ce)||k(this,_)&&this[_][Ce]?de:!0}return ae}(),Oe=function(){function ae(le,Ce){var de=c(le),Ne=f(Ce);if(!(de===J&&k(ue,Ne)&&!k(se,Ne))){var Ae=Be(de,Ne);return Ae&&k(ue,Ne)&&!(k(de,_)&&de[_][Ne])&&(Ae.enumerable=!0),Ae}}return ae}(),We=function(){function ae(le){var Ce=oe(c(le)),de=[];return W(Ce,function(Ne){!k(ue,Ne)&&!k(x,Ne)&&q(de,Ne)}),de}return ae}(),Ve=function(le){var Ce=le===J,de=oe(Ce?se:c(le)),Ne=[];return W(de,function(Ae){k(ue,Ae)&&(!Ce||k(J,Ae))&&q(Ne,ue[Ae])}),Ne};y||(ce=function(){function ae(){if(p(re,this))throw new pe("Symbol is not a constructor");var le=!arguments.length||arguments[0]===void 0?void 0:u(arguments[0]),Ce=E(le),de=function(){function Ne(Ae){var De=this===void 0?a:this;De===J&&t(Ne,se,Ae),k(De,_)&&k(De[_],Ce)&&(De[_][Ce]=!1);var je=i(1,Ae);try{ge(De,Ce,je)}catch(_e){if(!(_e instanceof me))throw _e;fe(De,Ce,je)}}return Ne}();return N&&be&&ge(J,Ce,{configurable:!0,set:de}),ke(Ce,le)}return ae}(),re=ce[z],I(re,"toString",function(){function ae(){return X(this).tag}return ae}()),I(ce,"withoutSetter",function(ae){return ke(E(ae),ae)}),B.f=xe,V.f=ve,b.f=Se,C.f=Oe,h.f=v.f=We,g.f=Ve,j.f=function(ae){return ke(M(ae),ae)},N&&(w(re,"description",{configurable:!0,get:function(){function ae(){return X(this).description}return ae}()}),m||I(J,"propertyIsEnumerable",xe,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!y,sham:!y},{Symbol:ce}),W(d(ne),function(ae){P(ae)}),e({target:H,stat:!0,forced:!y},{useSetter:function(){function ae(){be=!0}return ae}(),useSimple:function(){function ae(){be=!1}return ae}()}),e({target:"Object",stat:!0,forced:!y,sham:!N},{create:we,defineProperty:ve,defineProperties:Se,getOwnPropertyDescriptor:Oe}),e({target:"Object",stat:!0,forced:!y},{getOwnPropertyNames:We}),R(),D(ce,H),x[_]=!0},27718:function(L,r,n){"use strict";var e=n(77549),a=n(14141),t=n(40224),o=n(18161),m=n(89458),N=n(7532),y=n(33314),S=n(26602),k=n(10069),p=n(70113),l=t.Symbol,c=l&&l.prototype;if(a&&N(l)&&(!("description"in c)||l().description!==void 0)){var f={},u=function(){function C(){var V=arguments.length<1||arguments[0]===void 0?void 0:S(arguments[0]),b=y(c,this)?new l(V):V===void 0?l():l(V);return V===""&&(f[b]=!0),b}return C}();p(u,l),u.prototype=c,c.constructor=u;var i=String(l("description detection"))==="Symbol(description detection)",s=o(c.valueOf),d=o(c.toString),h=/^Symbol\((.*)\)[^)]+$/,v=o("".replace),g=o("".slice);k(c,"description",{configurable:!0,get:function(){function C(){var V=s(this);if(m(f,V))return"";var b=d(V),B=i?g(b,7,-1):v(b,h,"$1");return B===""?void 0:B}return C}()}),e({global:!0,constructor:!0,forced:!0},{Symbol:u})}},18611:function(L,r,n){"use strict";var e=n(77549),a=n(40164),t=n(89458),o=n(26602),m=n(75130),N=n(80353),y=m("string-to-symbol-registry"),S=m("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!N},{for:function(){function k(p){var l=o(p);if(t(y,l))return y[l];var c=a("Symbol")(l);return y[l]=c,S[c]=l,c}return k}()})},86042:function(L,r,n){"use strict";var e=n(15388);e("hasInstance")},93267:function(L,r,n){"use strict";var e=n(15388);e("isConcatSpreadable")},41664:function(L,r,n){"use strict";var e=n(15388);e("iterator")},99414:function(L,r,n){"use strict";n(9056),n(18611),n(30661),n(12183),n(93146)},30661:function(L,r,n){"use strict";var e=n(77549),a=n(89458),t=n(74352),o=n(62518),m=n(75130),N=n(80353),y=m("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!N},{keyFor:function(){function S(k){if(!t(k))throw new TypeError(o(k)+" is not a symbol");if(a(y,k))return y[k]}return S}()})},48965:function(L,r,n){"use strict";var e=n(15388);e("match")},44844:function(L,r,n){"use strict";var e=n(15388);e("replace")},25030:function(L,r,n){"use strict";var e=n(15388);e("search")},96454:function(L,r,n){"use strict";var e=n(15388);e("species")},77564:function(L,r,n){"use strict";var e=n(15388);e("split")},44875:function(L,r,n){"use strict";var e=n(15388),a=n(75429);e("toPrimitive"),a()},77904:function(L,r,n){"use strict";var e=n(40164),a=n(15388),t=n(94234);a("toStringTag"),t(e("Symbol"),"Symbol")},35723:function(L,r,n){"use strict";var e=n(15388);e("unscopables")},84805:function(L,r,n){"use strict";var e=n(18161),a=n(72951),t=n(42320),o=e(t),m=a.aTypedArray,N=a.exportTypedArrayMethod;N("copyWithin",function(){function y(S,k){return o(m(this),S,k,arguments.length>2?arguments[2]:void 0)}return y}())},79305:function(L,r,n){"use strict";var e=n(72951),a=n(67480).every,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("every",function(){function m(N){return a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},71573:function(L,r,n){"use strict";var e=n(72951),a=n(59942),t=n(757),o=n(27806),m=n(62696),N=n(18161),y=n(41746),S=e.aTypedArray,k=e.exportTypedArrayMethod,p=N("".slice),l=y(function(){var c=0;return new Int8Array(2).fill({valueOf:function(){function f(){return c++}return f}()}),c!==1});k("fill",function(){function c(f){var u=arguments.length;S(this);var i=p(o(this),0,3)==="Big"?t(f):+f;return m(a,this,i,u>1?arguments[1]:void 0,u>2?arguments[2]:void 0)}return c}(),l)},47910:function(L,r,n){"use strict";var e=n(72951),a=n(67480).filter,t=n(80936),o=e.aTypedArray,m=e.exportTypedArrayMethod;m("filter",function(){function N(y){var S=a(o(this),y,arguments.length>1?arguments[1]:void 0);return t(this,S)}return N}())},99662:function(L,r,n){"use strict";var e=n(72951),a=n(67480).findIndex,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("findIndex",function(){function m(N){return a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},48447:function(L,r,n){"use strict";var e=n(72951),a=n(67480).find,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("find",function(){function m(N){return a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},68265:function(L,r,n){"use strict";var e=n(12218);e("Float32",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},36030:function(L,r,n){"use strict";var e=n(12218);e("Float64",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},57371:function(L,r,n){"use strict";var e=n(72951),a=n(67480).forEach,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("forEach",function(){function m(N){a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},68220:function(L,r,n){"use strict";var e=n(66220),a=n(72951).exportTypedArrayStaticMethod,t=n(7996);a("from",t,e)},15745:function(L,r,n){"use strict";var e=n(72951),a=n(64210).includes,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("includes",function(){function m(N){return a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},43398:function(L,r,n){"use strict";var e=n(72951),a=n(64210).indexOf,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("indexOf",function(){function m(N){return a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},25888:function(L,r,n){"use strict";var e=n(12218);e("Int16",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},35718:function(L,r,n){"use strict";var e=n(12218);e("Int32",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},32791:function(L,r,n){"use strict";var e=n(12218);e("Int8",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},97722:function(L,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(72951),m=n(65809),N=n(66266),y=N("iterator"),S=e.Uint8Array,k=t(m.values),p=t(m.keys),l=t(m.entries),c=o.aTypedArray,f=o.exportTypedArrayMethod,u=S&&S.prototype,i=!a(function(){u[y].call([1])}),s=!!u&&u.values&&u[y]===u.values&&u.values.name==="values",d=function(){function h(){return k(c(this))}return h}();f("entries",function(){function h(){return l(c(this))}return h}(),i),f("keys",function(){function h(){return p(c(this))}return h}(),i),f("values",d,i||!s,{name:"values"}),f(y,d,i||!s,{name:"values"})},79088:function(L,r,n){"use strict";var e=n(72951),a=n(18161),t=e.aTypedArray,o=e.exportTypedArrayMethod,m=a([].join);o("join",function(){function N(y){return m(t(this),y)}return N}())},6075:function(L,r,n){"use strict";var e=n(72951),a=n(70918),t=n(16934),o=e.aTypedArray,m=e.exportTypedArrayMethod;m("lastIndexOf",function(){function N(y){var S=arguments.length;return a(t,o(this),S>1?[y,arguments[1]]:[y])}return N}())},46896:function(L,r,n){"use strict";var e=n(72951),a=n(67480).map,t=n(489),o=e.aTypedArray,m=e.exportTypedArrayMethod;m("map",function(){function N(y){return a(o(this),y,arguments.length>1?arguments[1]:void 0,function(S,k){return new(t(S))(k)})}return N}())},47145:function(L,r,n){"use strict";var e=n(72951),a=n(66220),t=e.aTypedArrayConstructor,o=e.exportTypedArrayStaticMethod;o("of",function(){function m(){for(var N=0,y=arguments.length,S=new(t(this))(y);y>N;)S[N]=arguments[N++];return S}return m}(),a)},349:function(L,r,n){"use strict";var e=n(72951),a=n(98405).right,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduceRight",function(){function m(N){var y=arguments.length;return a(t(this),N,y,y>1?arguments[1]:void 0)}return m}())},72606:function(L,r,n){"use strict";var e=n(72951),a=n(98405).left,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduce",function(){function m(N){var y=arguments.length;return a(t(this),N,y,y>1?arguments[1]:void 0)}return m}())},28292:function(L,r,n){"use strict";var e=n(72951),a=e.aTypedArray,t=e.exportTypedArrayMethod,o=Math.floor;t("reverse",function(){function m(){for(var N=this,y=a(N).length,S=o(y/2),k=0,p;k<S;)p=N[k],N[k++]=N[--y],N[y]=p;return N}return m}())},54890:function(L,r,n){"use strict";var e=n(40224),a=n(62696),t=n(72951),o=n(8333),m=n(65264),N=n(40076),y=n(41746),S=e.RangeError,k=e.Int8Array,p=k&&k.prototype,l=p&&p.set,c=t.aTypedArray,f=t.exportTypedArrayMethod,u=!y(function(){var s=new Uint8ClampedArray(2);return a(l,s,{length:1,0:3},1),s[1]!==3}),i=u&&t.NATIVE_ARRAY_BUFFER_VIEWS&&y(function(){var s=new k(2);return s.set(1),s.set("2",1),s[0]!==0||s[1]!==2});f("set",function(){function s(d){c(this);var h=m(arguments.length>1?arguments[1]:void 0,1),v=N(d);if(u)return a(l,this,v,h);var g=this.length,C=o(v),V=0;if(C+h>g)throw new S("Wrong length");for(;V<C;)this[h+V]=v[V++]}return s}(),!u||i)},66368:function(L,r,n){"use strict";var e=n(72951),a=n(489),t=n(41746),o=n(77713),m=e.aTypedArray,N=e.exportTypedArrayMethod,y=t(function(){new Int8Array(1).slice()});N("slice",function(){function S(k,p){for(var l=o(m(this),k,p),c=a(this),f=0,u=l.length,i=new c(u);u>f;)i[f]=l[f++];return i}return S}(),y)},74188:function(L,r,n){"use strict";var e=n(72951),a=n(67480).some,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("some",function(){function m(N){return a(t(this),N,arguments.length>1?arguments[1]:void 0)}return m}())},81976:function(L,r,n){"use strict";var e=n(40224),a=n(85067),t=n(41746),o=n(97361),m=n(44815),N=n(72951),y=n(49847),S=n(56605),k=n(82709),p=n(53125),l=N.aTypedArray,c=N.exportTypedArrayMethod,f=e.Uint16Array,u=f&&a(f.prototype.sort),i=!!u&&!(t(function(){u(new f(2),null)})&&t(function(){u(new f(2),{})})),s=!!u&&!t(function(){if(k)return k<74;if(y)return y<67;if(S)return!0;if(p)return p<602;var h=new f(516),v=Array(516),g,C;for(g=0;g<516;g++)C=g%4,h[g]=515-g,v[g]=g-2*C+3;for(u(h,function(V,b){return(V/4|0)-(b/4|0)}),g=0;g<516;g++)if(h[g]!==v[g])return!0}),d=function(v){return function(g,C){return v!==void 0?+v(g,C)||0:C!==C?-1:g!==g?1:g===0&&C===0?1/g>0&&1/C<0?1:-1:g>C}};c("sort",function(){function h(v){return v!==void 0&&o(v),s?u(this,v):m(l(this),d(v))}return h}(),!s||i)},78651:function(L,r,n){"use strict";var e=n(72951),a=n(10475),t=n(74067),o=n(489),m=e.aTypedArray,N=e.exportTypedArrayMethod;N("subarray",function(){function y(S,k){var p=m(this),l=p.length,c=t(S,l),f=o(p);return new f(p.buffer,p.byteOffset+c*p.BYTES_PER_ELEMENT,a((k===void 0?l:t(k,l))-c))}return y}())},81664:function(L,r,n){"use strict";var e=n(40224),a=n(70918),t=n(72951),o=n(41746),m=n(77713),N=e.Int8Array,y=t.aTypedArray,S=t.exportTypedArrayMethod,k=[].toLocaleString,p=!!N&&o(function(){k.call(new N(1))}),l=o(function(){return[1,2].toLocaleString()!==new N([1,2]).toLocaleString()})||!o(function(){N.prototype.toLocaleString.call([1,2])});S("toLocaleString",function(){function c(){return a(k,p?m(y(this)):y(this),m(arguments))}return c}(),l)},35579:function(L,r,n){"use strict";var e=n(72951).exportTypedArrayMethod,a=n(41746),t=n(40224),o=n(18161),m=t.Uint8Array,N=m&&m.prototype||{},y=[].toString,S=o([].join);a(function(){y.call({})})&&(y=function(){function p(){return S(this)}return p}());var k=N.toString!==y;e("toString",y,k)},99683:function(L,r,n){"use strict";var e=n(12218);e("Uint16",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},80941:function(L,r,n){"use strict";var e=n(12218);e("Uint32",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},45338:function(L,r,n){"use strict";var e=n(12218);e("Uint8",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()})},40737:function(L,r,n){"use strict";var e=n(12218);e("Uint8",function(a){return function(){function t(o,m,N){return a(this,o,m,N)}return t}()},!0)},74283:function(L,r,n){"use strict";var e=n(56255),a=n(40224),t=n(18161),o=n(13648),m=n(29126),N=n(93439),y=n(32920),S=n(56831),k=n(35086).enforce,p=n(41746),l=n(90777),c=Object,f=Array.isArray,u=c.isExtensible,i=c.isFrozen,s=c.isSealed,d=c.freeze,h=c.seal,v=!a.ActiveXObject&&"ActiveXObject"in a,g,C=function(E){return function(){function M(){return E(this,arguments.length?arguments[0]:void 0)}return M}()},V=N("WeakMap",C,y),b=V.prototype,B=t(b.set),I=function(){return e&&p(function(){var E=d([]);return B(new V,E,1),!i(E)})};if(l)if(v){g=y.getConstructor(C,"WeakMap",!0),m.enable();var w=t(b.delete),T=t(b.has),A=t(b.get);o(b,{delete:function(){function x(E){if(S(E)&&!u(E)){var M=k(this);return M.frozen||(M.frozen=new g),w(this,E)||M.frozen.delete(E)}return w(this,E)}return x}(),has:function(){function x(E){if(S(E)&&!u(E)){var M=k(this);return M.frozen||(M.frozen=new g),T(this,E)||M.frozen.has(E)}return T(this,E)}return x}(),get:function(){function x(E){if(S(E)&&!u(E)){var M=k(this);return M.frozen||(M.frozen=new g),T(this,E)?A(this,E):M.frozen.get(E)}return A(this,E)}return x}(),set:function(){function x(E,M){if(S(E)&&!u(E)){var j=k(this);j.frozen||(j.frozen=new g),T(this,E)?B(this,E,M):j.frozen.set(E,M)}else B(this,E,M);return this}return x}()})}else I()&&o(b,{set:function(){function x(E,M){var j;return f(E)&&(i(E)?j=d:s(E)&&(j=h)),B(this,E,M),j&&j(E),this}return x}()})},84033:function(L,r,n){"use strict";n(74283)},82389:function(L,r,n){"use strict";var e=n(93439),a=n(32920);e("WeakSet",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},71863:function(L,r,n){"use strict";n(82389)},73993:function(L,r,n){"use strict";var e=n(77549),a=n(40224),t=n(91314).clear;e({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==t},{clearImmediate:t})},55457:function(L,r,n){"use strict";n(73993),n(72532)},57399:function(L,r,n){"use strict";var e=n(77549),a=n(40224),t=n(27150),o=n(97361),m=n(22789),N=n(41746),y=n(14141),S=N(function(){return y&&Object.getOwnPropertyDescriptor(a,"queueMicrotask").value.length!==1});e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:S},{queueMicrotask:function(){function k(p){m(arguments.length,1),t(o(p))}return k}()})},72532:function(L,r,n){"use strict";var e=n(77549),a=n(40224),t=n(91314).set,o=n(83827),m=a.setImmediate?o(t,!1):t;e({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==m},{setImmediate:m})},48112:function(L,r,n){"use strict";var e=n(77549),a=n(40224),t=n(83827),o=t(a.setInterval,!0);e({global:!0,bind:!0,forced:a.setInterval!==o},{setInterval:o})},82274:function(L,r,n){"use strict";var e=n(77549),a=n(40224),t=n(83827),o=t(a.setTimeout,!0);e({global:!0,bind:!0,forced:a.setTimeout!==o},{setTimeout:o})},65836:function(L,r,n){"use strict";n(48112),n(82274)},50719:function(L){"use strict";/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r,n=[],e=[],a=function(){if(0)var k;window.onunload=function(){return r&&r.close()}},t=function(k){return e.push(k)},o=function(k){var p=[],l=function(u){return typeof u=="number"&&!Number.isFinite(u)?{__number__:String(u)}:typeof u=="undefined"?{__undefined__:!0}:u},c=function(u,s){if(typeof s=="object"){if(s===null)return s;if(p.includes(s))return"[circular ref]";p.push(s);var d=s instanceof Error||s.code&&s.message&&s.message.includes("Error");return d?{__error__:!0,string:String(s),stack:s.stack}:Array.isArray(s)?s.map(l):s}return l(s)},f=JSON.stringify(k,c);return p=null,f},m=function(k){if(0)var p,l,c},N=function(k,p){if(0)var l,c,f},y=function(){};L.exports={subscribe:t,sendMessage:m,sendLogEntry:N,setupHotReloading:y}}},bt={};function J(L){var r=bt[L];if(r!==void 0)return r.exports;var n=bt[L]={exports:{}};return $t[L](n,n.exports,J),n.exports}(function(){J.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(L){if(typeof window=="object")return window}}()})(),function(){J.o=function(L,r){return Object.prototype.hasOwnProperty.call(L,r)}}();var In={};(function(){"use strict";J(32321),J(64777),J(65884),J(56564),J(68981),J(27699),J(22905),J(96311),J(61292),J(75419),J(67638),J(7601),J(89010),J(5401),J(75836),J(33901),J(85803),J(7216),J(50584),J(26632),J(25972),J(55222),J(14064),J(68616),J(45168),J(26088),J(92654),J(58423),J(26017),J(37808),J(2509),J(2124),J(38196),J(7731),J(56913),J(48704),J(24077),J(60230),J(43430),J(53407),J(69220),J(72978),J(55784),J(41365),J(58874),J(85806),J(3521),J(94961),J(91777),J(49615),J(70700),J(31032),J(83329),J(15700),J(85783),J(51430),J(10944),J(36418),J(68872),J(93105),J(1795),J(11121),J(18730),J(11624),J(89004),J(72680),J(75213),J(4347),J(86433),J(21401),J(54468),J(36183),J(95499),J(50929),J(91447),J(84314),J(48211),J(52237),J(306),J(22509),J(84660),J(82678),J(76585),J(21733),J(21210),J(10272),J(83403),J(4229),J(53388),J(53121),J(53822),J(2514),J(2218),J(14955),J(79220),J(81941),J(37245),J(8373),J(81212),J(26054),J(57745),J(49611),J(98344),J(55750),J(7340),J(63429),J(9558),J(2420),J(19015),J(34137),J(24705),J(55318),J(49456),J(12217),J(75795),J(79063),J(1210),J(91370),J(17327),J(2679),J(60733),J(27262),J(47278),J(22547),J(92992),J(64650),J(71255),J(97836),J(65558),J(83932),J(72941),J(57918),J(2394),J(37517),J(65699),J(11360),J(33683),J(16792),J(8),J(76015),J(57318),J(33177),J(1429),J(56515),J(30343),J(60981),J(96578),J(59592),J(54511),J(84368),J(76980),J(25492),J(13684),J(79646),J(98511),J(30733),J(58683),J(70277),J(36865),J(13763),J(56001),J(58713),J(41960),J(31772),J(43059),J(97363),J(99755),J(33278),J(65331),J(25855),J(97372),J(70088),J(7284),J(76464),J(58549),J(42774),J(65446),J(21066),J(62243),J(35249),J(68739),J(5723),J(40353),J(87975),J(20812),J(5640),J(47736),J(81944),J(68685),J(72214),J(48774),J(2915),J(17165),J(10702),J(76622),J(64408),J(22306),J(90334),J(69880),J(37167),J(25109),J(367),J(8459),J(16970),J(11386)})(),function(){"use strict";var L=J(28823);J(47468),J(52355),J(66309),J(74395),J(86879),J(66782),J(35116),J(47968),J(67041),J(59719),J(14045),J(81912),J(53152),J(72694);var r=J(60031),n=J(87454),e=J(39891),a=J(85955),t=J(64960),o=J(79143),m=J(33053),N;/** + */var r,n=[],e=[],a=function(){if(0)var k;window.onunload=function(){return r&&r.close()}},t=function(k){return e.push(k)},o=function(k){var p=[],l=function(i){return typeof i=="number"&&!Number.isFinite(i)?{__number__:String(i)}:typeof i=="undefined"?{__undefined__:!0}:i},c=function(i,s){if(typeof s=="object"){if(s===null)return s;if(p.includes(s))return"[circular ref]";p.push(s);var d=s instanceof Error||s.code&&s.message&&s.message.includes("Error");return d?{__error__:!0,string:String(s),stack:s.stack}:Array.isArray(s)?s.map(l):s}return l(s)},f=JSON.stringify(k,c);return p=null,f},m=function(k){if(0)var p,l,c},N=function(k,p){if(0)var l,c,f},y=function(){};L.exports={subscribe:t,sendMessage:m,sendLogEntry:N,setupHotReloading:y}}},bt={};function Y(L){var r=bt[L];if(r!==void 0)return r.exports;var n=bt[L]={exports:{}};return $t[L](n,n.exports,Y),n.exports}(function(){Y.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(L){if(typeof window=="object")return window}}()})(),function(){Y.o=function(L,r){return Object.prototype.hasOwnProperty.call(L,r)}}();var In={};(function(){"use strict";Y(99414),Y(27718),Y(46951),Y(86042),Y(93267),Y(41664),Y(48965),Y(44844),Y(25030),Y(96454),Y(77564),Y(44875),Y(77904),Y(35723),Y(65755),Y(35496),Y(76604),Y(24974),Y(6297),Y(5364),Y(35173),Y(16576),Y(88707),Y(21508),Y(86339),Y(81850),Y(98661),Y(13431),Y(65809),Y(8611),Y(97246),Y(48741),Y(90446),Y(509),Y(61902),Y(96149),Y(66617),Y(99883),Y(56855),Y(67869),Y(8291),Y(42811),Y(97824),Y(70238),Y(21664),Y(57348),Y(98878),Y(4624),Y(96097),Y(45022),Y(79155),Y(53397),Y(52037),Y(21698),Y(20509),Y(9530),Y(17814),Y(37812),Y(86551),Y(10940),Y(73763),Y(3372),Y(51629),Y(69727),Y(27482),Y(7108),Y(4115),Y(63953),Y(71377),Y(63956),Y(90037),Y(46818),Y(26681),Y(83646),Y(28876),Y(36385),Y(84295),Y(59785),Y(8846),Y(50237),Y(6436),Y(68286),Y(23940),Y(82425),Y(82118),Y(7419),Y(42409),Y(29002),Y(85795),Y(74722),Y(5300),Y(85684),Y(36014),Y(98551),Y(66288),Y(26862),Y(78686),Y(36789),Y(82707),Y(69740),Y(87847),Y(54789),Y(49626),Y(67660),Y(43619),Y(42777),Y(13045),Y(38664),Y(29650),Y(58176),Y(35286),Y(13313),Y(26528),Y(54959),Y(78129),Y(54412),Y(82427),Y(8390),Y(68260),Y(86508),Y(65971),Y(17134),Y(18972),Y(78623),Y(60149),Y(56380),Y(72792),Y(60631),Y(25168),Y(85177),Y(95880),Y(59978),Y(96360),Y(43108),Y(37801),Y(3044),Y(48432),Y(54564),Y(58179),Y(68164),Y(58880),Y(54465),Y(97327),Y(19114),Y(23797),Y(17337),Y(53713),Y(84469),Y(11121),Y(93073),Y(50800),Y(36),Y(30519),Y(33547),Y(53426),Y(32031),Y(13153),Y(21953),Y(83560),Y(63465),Y(98998),Y(96227),Y(15483),Y(86829),Y(68265),Y(36030),Y(32791),Y(25888),Y(35718),Y(45338),Y(40737),Y(99683),Y(80941),Y(84805),Y(79305),Y(71573),Y(47910),Y(48447),Y(99662),Y(57371),Y(68220),Y(15745),Y(43398),Y(97722),Y(79088),Y(6075),Y(46896),Y(47145),Y(72606),Y(349),Y(28292),Y(54890),Y(66368),Y(74188),Y(81976),Y(78651),Y(81664),Y(35579),Y(84033),Y(71863),Y(55457),Y(57399),Y(65836),Y(55776),Y(16666)})(),function(){"use strict";var L=Y(96524);Y(21965),Y(28169),Y(36487),Y(35739),Y(33631),Y(74785),Y(6895),Y(7455),Y(58823),Y(49265),Y(55350),Y(45503),Y(36557),Y(70555),Y(3251);var r=Y(63560),n=Y(50719),e=Y(39952),a=Y(29320),t=Y(7570),o=Y(98008),m=Y(92700),N;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */r.perf.mark("inception",(N=window.performance)==null||(N=N.timing)==null?void 0:N.navigationStart),r.perf.mark("init");var y=(0,o.configureStore)(),S=(0,t.createRenderer)(function(){var p=J(76521),l=p.getRoutedComponent,c=l(y);return(0,L.createComponentVNode)(2,o.StoreProvider,{store:y,children:(0,L.createComponentVNode)(2,c)})}),k=function p(){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",p);return}(0,m.setupGlobalEvents)(),(0,e.setupHotKeys)(),(0,a.captureExternalLinks)(),y.subscribe(S),Byond.subscribe(function(l,c){return y.dispatch({type:l,payload:c})})};k()}()})();})(); + */r.perf.mark("inception",(N=window.performance)==null||(N=N.timing)==null?void 0:N.navigationStart),r.perf.mark("init");var y=(0,o.configureStore)(),S=(0,t.createRenderer)(function(){var p=Y(91807),l=p.getRoutedComponent,c=l(y);return(0,L.createComponentVNode)(2,o.StoreProvider,{store:y,children:(0,L.createComponentVNode)(2,c)})}),k=function p(){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",p);return}(0,m.setupGlobalEvents)(),(0,e.setupHotKeys)(),(0,a.captureExternalLinks)(),y.subscribe(S),Byond.subscribe(function(l,c){return y.dispatch({type:l,payload:c})})};k()}()})();})(); diff --git a/tgui/public/tgui.html b/tgui/public/tgui.html index cd142b87f6d4..ce8558a62c90 100644 --- a/tgui/public/tgui.html +++ b/tgui/public/tgui.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html> <head> -<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<!-- Remove with 516 --><meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8"> <!-- Inlined metadata --> @@ -13,6 +13,7 @@ (function () { // Utility functions var hasOwn = Object.prototype.hasOwnProperty; + // Remove with 516 var assign = function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; @@ -43,6 +44,14 @@ // Backwards compatibility window.__windowId__ = Byond.windowId; + // Blink engine version + Byond.BLINK = (function () { + var groups = navigator.userAgent.match(/Chrome\/(\d+)\./); + var majorVersion = groups && groups[1]; + return majorVersion ? parseInt(majorVersion, 10) : null; + })(); + + // Remove with 516 // Trident engine version Byond.TRIDENT = (function () { var groups = navigator.userAgent.match(/Trident\/(\d+).+?;/i); @@ -53,16 +62,13 @@ })(); // Basic checks to detect whether this page runs in BYOND - var isByond = (Byond.TRIDENT !== null || window.cef_to_byond) + // Remove TRIDENT with 516 + var isByond = (Byond.TRIDENT !== null || Byond.BLINK !== null || window.cef_to_byond) && location.hostname === '127.0.0.1' && location.search !== '?external'; // Version constants Byond.IS_BYOND = isByond; - Byond.IS_LTE_IE8 = Byond.TRIDENT !== null && Byond.TRIDENT <= 4; - Byond.IS_LTE_IE9 = Byond.TRIDENT !== null && Byond.TRIDENT <= 5; - Byond.IS_LTE_IE10 = Byond.TRIDENT !== null && Byond.TRIDENT <= 6; - Byond.IS_LTE_IE11 = Byond.TRIDENT !== null && Byond.TRIDENT <= 7; // Strict mode flag Byond.strictMode = Boolean(Number(parseMetaTag('tgui:strictMode'))); @@ -71,17 +77,12 @@ Byond.__callbacks__ = []; // Reviver for BYOND JSON - // IE8: No reviver for you! - // See: https://stackoverflow.com/questions/1288962 - var byondJsonReviver; - if (!Byond.IS_LTE_IE8) { - byondJsonReviver = function (key, value) { - if (typeof value === 'object' && value !== null && value.__number__) { - return parseFloat(value.__number__); - } - return value; - }; - } + var byondJsonReviver = function (key, value) { + if (typeof value === 'object' && value !== null && value.__number__) { + return parseFloat(value.__number__); + } + return value; + }; // Makes a BYOND call. // See: https://secure.byond.com/docs/ref/skinparams.html @@ -135,9 +136,17 @@ var promise = new window.Promise(function (resolve) { Byond.__callbacks__.push(resolve); }); - Byond.call(path, assign({}, params, { - callback: 'Byond.__callbacks__[' + index + ']', - })); + // Remove first half with 516 + if(Byond.TRIDENT !== null) { + Byond.call(path, assign({}, params, { + callback: 'Byond.__callbacks__[' + index + ']', + })); + } + else { + Byond.call(path, Object.assign({}, params, { + callback: 'Byond.__callbacks__[' + index + ']', + })); + } return promise; }; @@ -181,7 +190,14 @@ props[propName] = propValue; } else { - assign(props, propName); + // Remove first half with 516 + if (Byond.TRIDENT !== null) { + assign(props, propName); + + } + else { + Object.assign(props, propName); + } } props.id = id; return Byond.call('winset', props); @@ -204,11 +220,20 @@ if (message.payload !== null && message.payload !== undefined) { message.payload = JSON.stringify(message.payload); } - // Append an identifying header - assign(message, { - tgui: 1, - window_id: Byond.windowId, - }); + // Append an identifying heade + // Remove first half with 516 + if(Byond.TRIDENT !== null) { + assign(message, { + tgui: 1, + window_id: Byond.windowId, + }); + } + else { + Object.assign(message, { + tgui: 1, + window_id: Byond.windowId, + }); + } Byond.topic(message); }; @@ -242,23 +267,10 @@ var loadedAssetByUrl = {}; var isStyleSheetLoaded = function (node, url) { - // Method #1 (works on IE10+) var styleSheet = node.sheet; if (styleSheet) { return styleSheet.rules.length > 0; } - // Method #2 - var styleSheets = document.styleSheets; - var len = styleSheets.length; - for (var i = 0; i < len; i++) { - var styleSheet = styleSheets[i]; - if(styleSheet.href === undefined) - continue; - if (styleSheet.href.indexOf(url) !== -1) { - return styleSheet.rules.length > 0; - } - } - // All methods failed return false; }; @@ -306,10 +318,7 @@ var node = document.createElement('script'); node.type = 'text/javascript'; node.crossOrigin = 'anonymous'; - // IE8: Prefer non-https protocols - node.src = Byond.IS_LTE_IE9 - ? url.replace('https://', 'http://') - : url; + node.src = url; if (sync) { node.defer = true; } @@ -330,10 +339,7 @@ var node = document.createElement('link'); node.type = 'text/css'; node.rel = 'stylesheet'; - // IE8: Prefer non-https protocols - node.href = Byond.IS_LTE_IE9 - ? url.replace('https://', 'http://') - : url; + node.href = url; // Temporarily set media to something inapplicable // to ensure it'll fetch without blocking render if (!sync) { @@ -393,7 +399,7 @@ else { window.onerror.__stack__ = stack; } - var textProp = Byond.IS_LTE_IE8 ? 'innerText' : 'textContent'; + var textProp = 'textContent'; errorStack[textProp] = window.onerror.__stack__; } // Set window geometry diff --git a/tgui/webpack.config.js b/tgui/webpack.config.js index af0f3338844f..9ff0ca34583d 100644 --- a/tgui/webpack.config.js +++ b/tgui/webpack.config.js @@ -31,18 +31,9 @@ module.exports = (env = {}, argv) => { context: path.resolve(__dirname), target: ['web', 'es5', 'browserslist:ie 11'], entry: { - 'tgui': [ - './packages/tgui-polyfill', - './packages/tgui', - ], - 'tgui-panel': [ - './packages/tgui-polyfill', - './packages/tgui-panel', - ], - 'tgui-say': [ - './packages/tgui-polyfill', - './packages/tgui-say', - ], + 'tgui': ['./packages/tgui-polyfill', './packages/tgui'], + 'tgui-panel': ['./packages/tgui-polyfill', './packages/tgui-panel'], + 'tgui-say': ['./packages/tgui-polyfill', './packages/tgui-say'], }, output: { path: argv.useTmpFolder @@ -51,7 +42,7 @@ module.exports = (env = {}, argv) => { filename: '[name].bundle.js', chunkFilename: '[name].bundle.js', chunkLoadTimeout: 15000, - hashFunction: "xxhash64", + hashFunction: 'xxhash64', }, resolve: { extensions: ['.tsx', '.ts', '.js'], @@ -127,10 +118,7 @@ module.exports = (env = {}, argv) => { // Add a bundle analyzer to the plugins array if (argv.analyze) { const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); - config.plugins = [ - ...config.plugins, - new BundleAnalyzerPlugin(), - ]; + config.plugins = [...config.plugins, new BundleAnalyzerPlugin()]; } // Production build specific options diff --git a/tgui/yarn.lock b/tgui/yarn.lock index 7fe858323699..a610c34dd89c 100644 --- a/tgui/yarn.lock +++ b/tgui/yarn.lock @@ -13,58 +13,69 @@ __metadata: linkType: hard "@ampproject/remapping@npm:^2.2.0": - version: 2.2.1 - resolution: "@ampproject/remapping@npm:2.2.1" + version: 2.3.0 + resolution: "@ampproject/remapping@npm:2.3.0" dependencies: - "@jridgewell/gen-mapping": "npm:^0.3.0" - "@jridgewell/trace-mapping": "npm:^0.3.9" - checksum: 10/e15fecbf3b54c988c8b4fdea8ef514ab482537e8a080b2978cc4b47ccca7140577ca7b65ad3322dcce65bc73ee6e5b90cbfe0bbd8c766dad04d5c62ec9634c42 + "@jridgewell/gen-mapping": "npm:^0.3.5" + "@jridgewell/trace-mapping": "npm:^0.3.24" + checksum: 10/f3451525379c68a73eb0a1e65247fbf28c0cccd126d93af21c75fceff77773d43c0d4a2d51978fb131aff25b5f2cb41a9fe48cc296e61ae65e679c4f6918b0ab languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.23.5": - version: 7.23.5 - resolution: "@babel/code-frame@npm:7.23.5" +"@asamuzakjp/dom-selector@npm:^2.0.1": + version: 2.0.2 + resolution: "@asamuzakjp/dom-selector@npm:2.0.2" dependencies: - "@babel/highlight": "npm:^7.23.4" - chalk: "npm:^2.4.2" - checksum: 10/44e58529c9d93083288dc9e649c553c5ba997475a7b0758cc3ddc4d77b8a7d985dbe78cc39c9bbc61f26d50af6da1ddf0a3427eae8cc222a9370619b671ed8f5 + bidi-js: "npm:^1.0.3" + css-tree: "npm:^2.3.1" + is-potential-custom-element-name: "npm:^1.0.1" + checksum: 10/04b32a68aa6de5d2b945c7cdf1a6a4e765ae3ac957dea12e86c1e2725a2889226125f04e983962b6d49a508c7a103144648ae45514c5dd56670dfaed6d07b2c3 languageName: node linkType: hard -"@babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.23.3, @babel/compat-data@npm:^7.23.5": - version: 7.23.5 - resolution: "@babel/compat-data@npm:7.23.5" - checksum: 10/088f14f646ecbddd5ef89f120a60a1b3389a50a9705d44603dca77662707d0175a5e0e0da3943c3298f1907a4ab871468656fbbf74bb7842cd8b0686b2c19736 +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.23.5, @babel/code-frame@npm:^7.24.1, @babel/code-frame@npm:^7.24.2": + version: 7.24.2 + resolution: "@babel/code-frame@npm:7.24.2" + dependencies: + "@babel/highlight": "npm:^7.24.2" + picocolors: "npm:^1.0.0" + checksum: 10/7db8f5b36ffa3f47a37f58f61e3d130b9ecad21961f3eede7e2a4ac2c7e4a5efb6e9d03a810c669bc986096831b6c0dfc2c3082673d93351b82359c1b03e0590 languageName: node linkType: hard -"@babel/core@npm:*, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.23.3": - version: 7.23.7 - resolution: "@babel/core@npm:7.23.7" +"@babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.23.5, @babel/compat-data@npm:^7.24.4": + version: 7.24.4 + resolution: "@babel/compat-data@npm:7.24.4" + checksum: 10/e51faec0ac8259f03cc5029d2b4a944b4fee44cb5188c11530769d5beb81f384d031dba951febc3e33dbb48ceb8045b1184f5c1ac4c5f86ab1f5e951e9aaf7af + languageName: node + linkType: hard + +"@babel/core@npm:*, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.23.3, @babel/core@npm:^7.23.9": + version: 7.24.4 + resolution: "@babel/core@npm:7.24.4" dependencies: "@ampproject/remapping": "npm:^2.2.0" - "@babel/code-frame": "npm:^7.23.5" - "@babel/generator": "npm:^7.23.6" + "@babel/code-frame": "npm:^7.24.2" + "@babel/generator": "npm:^7.24.4" "@babel/helper-compilation-targets": "npm:^7.23.6" "@babel/helper-module-transforms": "npm:^7.23.3" - "@babel/helpers": "npm:^7.23.7" - "@babel/parser": "npm:^7.23.6" - "@babel/template": "npm:^7.22.15" - "@babel/traverse": "npm:^7.23.7" - "@babel/types": "npm:^7.23.6" + "@babel/helpers": "npm:^7.24.4" + "@babel/parser": "npm:^7.24.4" + "@babel/template": "npm:^7.24.0" + "@babel/traverse": "npm:^7.24.1" + "@babel/types": "npm:^7.24.0" convert-source-map: "npm:^2.0.0" debug: "npm:^4.1.0" gensync: "npm:^1.0.0-beta.2" json5: "npm:^2.2.3" semver: "npm:^6.3.1" - checksum: 10/956841695ea801c8b4196d01072e6c1062335960715a6fcfd4009831003b526b00627c78b373ed49b1658c3622c71142f7ff04235fe839cac4a1a25ed51b90aa + checksum: 10/1e049f8df26be0fe5be36173fd7c33dfb004eeeec28152fea83c90e71784f9a6f2237296f43a2ee7d9041e2a33a05f43da48ce2d4e0cd473a682328ca07ce7e0 languageName: node linkType: hard "@babel/eslint-parser@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/eslint-parser@npm:7.23.3" + version: 7.24.1 + resolution: "@babel/eslint-parser@npm:7.24.1" dependencies: "@nicolo-ribaudo/eslint-scope-5-internals": "npm:5.1.1-v1" eslint-visitor-keys: "npm:^2.1.0" @@ -72,19 +83,19 @@ __metadata: peerDependencies: "@babel/core": ^7.11.0 eslint: ^7.5.0 || ^8.0.0 - checksum: 10/bc487f67aac64f1f8b351b8ec5e83bd1de5770e2e39c648d4df486e4079110f8594ef5b60b6e8379a9bb944dbbe5d96295f04fa47ef17901186568875b804b99 + checksum: 10/b65f93d880e4f3f62cb1d23a50139434b0e14b12acaeca40035d204a705f1ff0fbd191ed5101dd122473ba012dd3d08a3427960e4aab7fb384cfb3fc3f040a3e languageName: node linkType: hard -"@babel/generator@npm:^7.23.6, @babel/generator@npm:^7.7.2": - version: 7.23.6 - resolution: "@babel/generator@npm:7.23.6" +"@babel/generator@npm:^7.24.1, @babel/generator@npm:^7.24.4, @babel/generator@npm:^7.7.2": + version: 7.24.4 + resolution: "@babel/generator@npm:7.24.4" dependencies: - "@babel/types": "npm:^7.23.6" - "@jridgewell/gen-mapping": "npm:^0.3.2" - "@jridgewell/trace-mapping": "npm:^0.3.17" + "@babel/types": "npm:^7.24.0" + "@jridgewell/gen-mapping": "npm:^0.3.5" + "@jridgewell/trace-mapping": "npm:^0.3.25" jsesc: "npm:^2.5.1" - checksum: 10/864090d5122c0aa3074471fd7b79d8a880c1468480cbd28925020a3dcc7eb6e98bedcdb38983df299c12b44b166e30915b8085a7bc126e68fa7e2aadc7bd1ac5 + checksum: 10/69e1772dcf8f95baec951f422cca091d59a3f29b5eedc989ad87f7262289b94625983f6fe654302ca17aae0a32f9232332b83fcc85533311d6267b09c58b1061 languageName: node linkType: hard @@ -106,7 +117,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.22.15, @babel/helper-compilation-targets@npm:^7.22.6, @babel/helper-compilation-targets@npm:^7.23.6": +"@babel/helper-compilation-targets@npm:^7.22.6, @babel/helper-compilation-targets@npm:^7.23.6": version: 7.23.6 resolution: "@babel/helper-compilation-targets@npm:7.23.6" dependencies: @@ -119,22 +130,22 @@ __metadata: languageName: node linkType: hard -"@babel/helper-create-class-features-plugin@npm:^7.22.15, @babel/helper-create-class-features-plugin@npm:^7.23.6": - version: 7.23.7 - resolution: "@babel/helper-create-class-features-plugin@npm:7.23.7" +"@babel/helper-create-class-features-plugin@npm:^7.24.1, @babel/helper-create-class-features-plugin@npm:^7.24.4": + version: 7.24.4 + resolution: "@babel/helper-create-class-features-plugin@npm:7.24.4" dependencies: "@babel/helper-annotate-as-pure": "npm:^7.22.5" "@babel/helper-environment-visitor": "npm:^7.22.20" "@babel/helper-function-name": "npm:^7.23.0" "@babel/helper-member-expression-to-functions": "npm:^7.23.0" "@babel/helper-optimise-call-expression": "npm:^7.22.5" - "@babel/helper-replace-supers": "npm:^7.22.20" + "@babel/helper-replace-supers": "npm:^7.24.1" "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.22.5" "@babel/helper-split-export-declaration": "npm:^7.22.6" semver: "npm:^6.3.1" peerDependencies: "@babel/core": ^7.0.0 - checksum: 10/c8b3ef58fca399a25f00d703b0fb2ac1d86642d9e3bd7af04df77857641ed08aaca042ffb271ef93771f9272481fd1cf102a9bddfcee407fb126c927deeef6a7 + checksum: 10/86153719d98e4402f92f24d6b1be94e6b59c0236a6cc36b173a570a64b5156dbc2f16ccfe3c8485dc795524ca88acca65b14863be63049586668c45567f2acd4 languageName: node linkType: hard @@ -151,9 +162,9 @@ __metadata: languageName: node linkType: hard -"@babel/helper-define-polyfill-provider@npm:^0.4.4": - version: 0.4.4 - resolution: "@babel/helper-define-polyfill-provider@npm:0.4.4" +"@babel/helper-define-polyfill-provider@npm:^0.6.1": + version: 0.6.1 + resolution: "@babel/helper-define-polyfill-provider@npm:0.6.1" dependencies: "@babel/helper-compilation-targets": "npm:^7.22.6" "@babel/helper-plugin-utils": "npm:^7.22.5" @@ -162,7 +173,7 @@ __metadata: resolve: "npm:^1.14.2" peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 10/16c312e40ecf2ead81f3ab7275387079071012d2363022c04cf16d56fe0d781185f3a517b928f4556c716ae45e0567b817b636d5cd2fee8fb2ce2b18a04c5bcd + checksum: 10/316e7c0f05d2ae233d5fbb622c6339436da8d2b2047be866b64a16e6996c078a23b4adfebbdb33bc6a9882326a6cc20b95daa79a5e0edc92e9730e36d45fa523 languageName: node linkType: hard @@ -192,7 +203,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-member-expression-to-functions@npm:^7.22.15, @babel/helper-member-expression-to-functions@npm:^7.23.0": +"@babel/helper-member-expression-to-functions@npm:^7.23.0": version: 7.23.0 resolution: "@babel/helper-member-expression-to-functions@npm:7.23.0" dependencies: @@ -201,12 +212,12 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.22.15": - version: 7.22.15 - resolution: "@babel/helper-module-imports@npm:7.22.15" +"@babel/helper-module-imports@npm:^7.22.15, @babel/helper-module-imports@npm:^7.24.1": + version: 7.24.3 + resolution: "@babel/helper-module-imports@npm:7.24.3" dependencies: - "@babel/types": "npm:^7.22.15" - checksum: 10/5ecf9345a73b80c28677cfbe674b9f567bb0d079e37dcba9055e36cb337db24ae71992a58e1affa9d14a60d3c69907d30fe1f80aea105184501750a58d15c81c + "@babel/types": "npm:^7.24.0" + checksum: 10/42fe124130b78eeb4bb6af8c094aa749712be0f4606f46716ce74bc18a5ea91c918c547c8bb2307a2e4b33f163e4ad2cb6a7b45f80448e624eae45b597ea3499 languageName: node linkType: hard @@ -234,10 +245,10 @@ __metadata: languageName: node linkType: hard -"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.22.5, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": - version: 7.22.5 - resolution: "@babel/helper-plugin-utils@npm:7.22.5" - checksum: 10/ab220db218089a2aadd0582f5833fd17fa300245999f5f8784b10f5a75267c4e808592284a29438a0da365e702f05acb369f99e1c915c02f9f9210ec60eab8ea +"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.22.5, @babel/helper-plugin-utils@npm:^7.24.0, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": + version: 7.24.0 + resolution: "@babel/helper-plugin-utils@npm:7.24.0" + checksum: 10/dc8c7af321baf7653d93315beffee1790eb2c464b4f529273a24c8743a3f3095bf3f2d11828cb2c52d56282ef43a4bdc67a79c9ab8dd845e35d01871f3f28a0e languageName: node linkType: hard @@ -254,16 +265,16 @@ __metadata: languageName: node linkType: hard -"@babel/helper-replace-supers@npm:^7.22.20": - version: 7.22.20 - resolution: "@babel/helper-replace-supers@npm:7.22.20" +"@babel/helper-replace-supers@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/helper-replace-supers@npm:7.24.1" dependencies: "@babel/helper-environment-visitor": "npm:^7.22.20" - "@babel/helper-member-expression-to-functions": "npm:^7.22.15" + "@babel/helper-member-expression-to-functions": "npm:^7.23.0" "@babel/helper-optimise-call-expression": "npm:^7.22.5" peerDependencies: "@babel/core": ^7.0.0 - checksum: 10/617666f57b0f94a2f430ee66b67c8f6fa94d4c22400f622947580d8f3638ea34b71280af59599ed4afbb54ae6e2bdd4f9083fe0e341184a4bb0bd26ef58d3017 + checksum: 10/1103b28ce0cc7fba903c21bc78035c696ff191bdbbe83c20c37030a2e10ae6254924556d942cdf8c44c48ba606a8266fdb105e6bb10945de9285f79cb1905df1 languageName: node linkType: hard @@ -295,9 +306,9 @@ __metadata: linkType: hard "@babel/helper-string-parser@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/helper-string-parser@npm:7.23.4" - checksum: 10/c352082474a2ee1d2b812bd116a56b2e8b38065df9678a32a535f151ec6f58e54633cc778778374f10544b930703cca6ddf998803888a636afa27e2658068a9c + version: 7.24.1 + resolution: "@babel/helper-string-parser@npm:7.24.1" + checksum: 10/04c0ede77b908b43e6124753b48bc485528112a9335f0a21a226bff1ace75bb6e64fab24c85cb4b1610ef3494dacd1cb807caeb6b79a7b36c43d48c289b35949 languageName: node linkType: hard @@ -308,7 +319,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-validator-option@npm:^7.22.15, @babel/helper-validator-option@npm:^7.23.5": +"@babel/helper-validator-option@npm:^7.23.5": version: 7.23.5 resolution: "@babel/helper-validator-option@npm:7.23.5" checksum: 10/537cde2330a8aede223552510e8a13e9c1c8798afee3757995a7d4acae564124fe2bf7e7c3d90d62d3657434a74340a274b3b3b1c6f17e9a2be1f48af29cb09e @@ -326,70 +337,83 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.23.7": - version: 7.23.7 - resolution: "@babel/helpers@npm:7.23.7" +"@babel/helpers@npm:^7.24.4": + version: 7.24.4 + resolution: "@babel/helpers@npm:7.24.4" dependencies: - "@babel/template": "npm:^7.22.15" - "@babel/traverse": "npm:^7.23.7" - "@babel/types": "npm:^7.23.6" - checksum: 10/ec07061dc871d406ed82c8757c4d7a510aaf15145799fb0a2c3bd3c72ca101fe82a02dd5f83ca604fbbba5de5408dd731bb1452150562bed4f3b0a2846f81f61 + "@babel/template": "npm:^7.24.0" + "@babel/traverse": "npm:^7.24.1" + "@babel/types": "npm:^7.24.0" + checksum: 10/54a9d0f86f2803fcc216cfa23b66b871ea0fa0a892af1c9a79075872c2437de71afbb150ed8216f30e00b19a0b9c5c9d5845173d170e1ebfbbf8887839b89dde languageName: node linkType: hard -"@babel/highlight@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/highlight@npm:7.23.4" +"@babel/highlight@npm:^7.24.2": + version: 7.24.2 + resolution: "@babel/highlight@npm:7.24.2" dependencies: "@babel/helper-validator-identifier": "npm:^7.22.20" chalk: "npm:^2.4.2" js-tokens: "npm:^4.0.0" - checksum: 10/62fef9b5bcea7131df4626d009029b1ae85332042f4648a4ce6e740c3fd23112603c740c45575caec62f260c96b11054d3be5987f4981a5479793579c3aac71f + picocolors: "npm:^1.0.0" + checksum: 10/4555124235f34403bb28f55b1de58edf598491cc181c75f8afc8fe529903cb598cd52fe3bf2faab9bc1f45c299681ef0e44eea7a848bb85c500c5a4fe13f54f6 languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.23.6": - version: 7.23.6 - resolution: "@babel/parser@npm:7.23.6" +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.24.0, @babel/parser@npm:^7.24.1, @babel/parser@npm:^7.24.4": + version: 7.24.4 + resolution: "@babel/parser@npm:7.24.4" bin: parser: ./bin/babel-parser.js - checksum: 10/6be3a63d3c9d07b035b5a79c022327cb7e16cbd530140ecb731f19a650c794c315a72c699a22413ebeafaff14aa8f53435111898d59e01a393d741b85629fa7d + checksum: 10/3742cc5068036287e6395269dce5a2735e6349cdc8d4b53297c75f98c580d7e1c8cb43235623999d151f2ef975d677dbc2c2357573a1855caa71c271bf3046c9 languageName: node linkType: hard -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.23.3" +"@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:^7.24.4": + version: 7.24.4 + resolution: "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:7.24.4" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-environment-visitor": "npm:^7.22.20" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0 - checksum: 10/ddbaf2c396b7780f15e80ee01d6dd790db076985f3dfeb6527d1a8d4cacf370e49250396a3aa005b2c40233cac214a106232f83703d5e8491848bde273938232 + checksum: 10/1439e2ceec512b72f05f036503bf2c31e807d1b75ae22cf2676145e9f20740960a1c9575ea3065c6fb9f44f6b46163aab76eac513694ffa10de674e3cdd6219e languageName: node linkType: hard -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.23.3" +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 10/ec5fddc8db6de0e0082a883f21141d6f4f9f9f0bc190d662a732b5e9a506aae5d7d2337049a1bf055d7cb7add6f128036db6d4f47de5e9ac1be29e043c8b7ca8 + languageName: node + linkType: hard + +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.24.1" + dependencies: + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.22.5" - "@babel/plugin-transform-optional-chaining": "npm:^7.23.3" + "@babel/plugin-transform-optional-chaining": "npm:^7.24.1" peerDependencies: "@babel/core": ^7.13.0 - checksum: 10/434b9d710ae856fa1a456678cc304fbc93915af86d581ee316e077af746a709a741ea39d7e1d4f5b98861b629cc7e87f002d3138f5e836775632466d4c74aef2 + checksum: 10/e18235463e716ac2443938aaec3c18b40c417a1746fba0fa4c26cf4d71326b76ef26c002081ab1b445abfae98e063d561519aa55672dddc1ef80b3940211ffbb languageName: node linkType: hard -"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:^7.23.7": - version: 7.23.7 - resolution: "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:7.23.7" +"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:7.24.1" dependencies: "@babel/helper-environment-visitor": "npm:^7.22.20" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0 - checksum: 10/3b0c9554cd0048e6e7341d7b92f29d400dbc6a5a4fc2f86dbed881d32e02ece9b55bc520387bae2eac22a5ab38a0b205c29b52b181294d99b4dd75e27309b548 + checksum: 10/3483f329bb099b438d05e5e206229ddbc1703972a69ba0240a796b5477369930b0ab2e7f6c9539ecad2cea8b0c08fa65498778b92cf87ad3d156f613de1fd2fa languageName: node linkType: hard @@ -468,25 +492,25 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-import-assertions@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-syntax-import-assertions@npm:7.23.3" +"@babel/plugin-syntax-import-assertions@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-syntax-import-assertions@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/883e6b35b2da205138caab832d54505271a3fee3fc1e8dc0894502434fc2b5d517cbe93bbfbfef8068a0fb6ec48ebc9eef3f605200a489065ba43d8cddc1c9a7 + checksum: 10/2a463928a63b62052e9fb8f8b0018aa11a926e94f32c168260ae012afe864875c6176c6eb361e13f300542c31316dad791b08a5b8ed92436a3095c7a0e4fce65 languageName: node linkType: hard -"@babel/plugin-syntax-import-attributes@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-syntax-import-attributes@npm:7.23.3" +"@babel/plugin-syntax-import-attributes@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-syntax-import-attributes@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/9aed7661ffb920ca75df9f494757466ca92744e43072e0848d87fa4aa61a3f2ee5a22198ac1959856c036434b5614a8f46f1fb70298835dbe28220cdd1d4c11e + checksum: 10/87c8aa4a5ef931313f956871b27f2c051556f627b97ed21e9a5890ca4906b222d89062a956cde459816f5e0dec185ff128d7243d3fdc389504522acb88f0464e languageName: node linkType: hard @@ -512,14 +536,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-jsx@npm:^7, @babel/plugin-syntax-jsx@npm:^7.23.3, @babel/plugin-syntax-jsx@npm:^7.7.2": - version: 7.23.3 - resolution: "@babel/plugin-syntax-jsx@npm:7.23.3" +"@babel/plugin-syntax-jsx@npm:^7, @babel/plugin-syntax-jsx@npm:^7.24.1, @babel/plugin-syntax-jsx@npm:^7.7.2": + version: 7.24.1 + resolution: "@babel/plugin-syntax-jsx@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/89037694314a74e7f0e7a9c8d3793af5bf6b23d80950c29b360db1c66859d67f60711ea437e70ad6b5b4b29affe17eababda841b6c01107c2b638e0493bafb4e + checksum: 10/712f7e7918cb679f106769f57cfab0bc99b311032665c428b98f4c3e2e6d567601d45386a4f246df6a80d741e1f94192b3f008800d66c4f1daae3ad825c243f0 languageName: node linkType: hard @@ -611,14 +635,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-typescript@npm:^7.23.3, @babel/plugin-syntax-typescript@npm:^7.7.2": - version: 7.23.3 - resolution: "@babel/plugin-syntax-typescript@npm:7.23.3" +"@babel/plugin-syntax-typescript@npm:^7.24.1, @babel/plugin-syntax-typescript@npm:^7.7.2": + version: 7.24.1 + resolution: "@babel/plugin-syntax-typescript@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/abfad3a19290d258b028e285a1f34c9b8a0cbe46ef79eafed4ed7ffce11b5d0720b5e536c82f91cbd8442cde35a3dd8e861fa70366d87ff06fdc0d4756e30876 + checksum: 10/bf4bd70788d5456b5f75572e47a2e31435c7c4e43609bd4dffd2cc0c7a6cf90aabcf6cd389e351854de9a64412a07d30effef5373251fe8f6a4c9db0c0163bda languageName: node linkType: hard @@ -634,322 +658,321 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-arrow-functions@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-arrow-functions@npm:7.23.3" +"@babel/plugin-transform-arrow-functions@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-arrow-functions@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/1e99118176e5366c2636064d09477016ab5272b2a92e78b8edb571d20bc3eaa881789a905b20042942c3c2d04efc530726cf703f937226db5ebc495f5d067e66 + checksum: 10/58f9aa9b0de8382f8cfa3f1f1d40b69d98cd2f52340e2391733d0af745fdddda650ba392e509bc056157c880a2f52834a38ab2c5aa5569af8c61bb6ecbf45f34 languageName: node linkType: hard -"@babel/plugin-transform-async-generator-functions@npm:^7.23.7": - version: 7.23.7 - resolution: "@babel/plugin-transform-async-generator-functions@npm:7.23.7" +"@babel/plugin-transform-async-generator-functions@npm:^7.24.3": + version: 7.24.3 + resolution: "@babel/plugin-transform-async-generator-functions@npm:7.24.3" dependencies: "@babel/helper-environment-visitor": "npm:^7.22.20" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/helper-remap-async-to-generator": "npm:^7.22.20" "@babel/plugin-syntax-async-generators": "npm:^7.8.4" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/b1f66b23423933c27336b1161ac92efef46683321caea97e2255a666f992979376f47a5559f64188d3831fa66a4b24c2a7a40838cc0e9737e90eebe20e8e6372 + checksum: 10/4ccc3755a3d51544cd43575db2c5c2ef42cdcd35bd5940d13cdf23f04c75496290e79ea585a62427ec6bd508a1bffb329e01556cd1114be9b38ae4254935cd19 languageName: node linkType: hard -"@babel/plugin-transform-async-to-generator@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-async-to-generator@npm:7.23.3" +"@babel/plugin-transform-async-to-generator@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-async-to-generator@npm:7.24.1" dependencies: - "@babel/helper-module-imports": "npm:^7.22.15" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-module-imports": "npm:^7.24.1" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/helper-remap-async-to-generator": "npm:^7.22.20" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/2e9d9795d4b3b3d8090332104e37061c677f29a1ce65bcbda4099a32d243e5d9520270a44bbabf0fb1fb40d463bd937685b1a1042e646979086c546d55319c3c + checksum: 10/429004a6596aa5c9e707b604156f49a146f8d029e31a3152b1649c0b56425264fda5fd38e5db1ddaeb33c3fe45c97dc8078d7abfafe3542a979b49f229801135 languageName: node linkType: hard -"@babel/plugin-transform-block-scoped-functions@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-block-scoped-functions@npm:7.23.3" +"@babel/plugin-transform-block-scoped-functions@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-block-scoped-functions@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/e63b16d94ee5f4d917e669da3db5ea53d1e7e79141a2ec873c1e644678cdafe98daa556d0d359963c827863d6b3665d23d4938a94a4c5053a1619c4ebd01d020 + checksum: 10/d8e18bd57b156da1cd4d3c1780ab9ea03afed56c6824ca8e6e74f67959d7989a0e953ec370fe9b417759314f2eef30c8c437395ce63ada2e26c2f469e4704f82 languageName: node linkType: hard -"@babel/plugin-transform-block-scoping@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/plugin-transform-block-scoping@npm:7.23.4" +"@babel/plugin-transform-block-scoping@npm:^7.24.4": + version: 7.24.4 + resolution: "@babel/plugin-transform-block-scoping@npm:7.24.4" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/bbb965a3acdfb03559806d149efbd194ac9c983b260581a60efcb15eb9fbe20e3054667970800146d867446db1c1398f8e4ee87f4454233e49b8f8ce947bd99b + checksum: 10/4093fa109cd256e8ad0b26e3ffa67ec6dac4078a1a24b7755bed63e650cf938b2a315e01696c35b221db1a37606f93cb82696c8d1bf563c2a9845620e551736e languageName: node linkType: hard -"@babel/plugin-transform-class-properties@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-class-properties@npm:7.23.3" +"@babel/plugin-transform-class-properties@npm:^7.23.3, @babel/plugin-transform-class-properties@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-class-properties@npm:7.24.1" dependencies: - "@babel/helper-create-class-features-plugin": "npm:^7.22.15" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-create-class-features-plugin": "npm:^7.24.1" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/9c6f8366f667897541d360246de176dd29efc7a13d80a5b48361882f7173d9173be4646c3b7d9b003ccc0e01e25df122330308f33db921fa553aa17ad544b3fc + checksum: 10/95779e9eef0c0638b9631c297d48aee53ffdbb2b1b5221bf40d7eccd566a8e34f859ff3571f8f20b9159b67f1bff7d7dc81da191c15d69fbae5a645197eae7e0 languageName: node linkType: hard -"@babel/plugin-transform-class-static-block@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/plugin-transform-class-static-block@npm:7.23.4" +"@babel/plugin-transform-class-static-block@npm:^7.24.4": + version: 7.24.4 + resolution: "@babel/plugin-transform-class-static-block@npm:7.24.4" dependencies: - "@babel/helper-create-class-features-plugin": "npm:^7.22.15" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-create-class-features-plugin": "npm:^7.24.4" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/plugin-syntax-class-static-block": "npm:^7.14.5" peerDependencies: "@babel/core": ^7.12.0 - checksum: 10/c8bfaba19a674fc2eb54edad71e958647360474e3163e8226f1acd63e4e2dbec32a171a0af596c1dc5359aee402cc120fea7abd1fb0e0354b6527f0fc9e8aa1e + checksum: 10/3b1db3308b57ba21d47772a9f183804234c23fd64c9ca40915d2d65c5dc7a48b49a6de16b8b90b7a354eacbb51232a862f0fca3dbd23e27d34641f511decddab languageName: node linkType: hard -"@babel/plugin-transform-classes@npm:^7.23.5": - version: 7.23.5 - resolution: "@babel/plugin-transform-classes@npm:7.23.5" +"@babel/plugin-transform-classes@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-classes@npm:7.24.1" dependencies: "@babel/helper-annotate-as-pure": "npm:^7.22.5" - "@babel/helper-compilation-targets": "npm:^7.22.15" + "@babel/helper-compilation-targets": "npm:^7.23.6" "@babel/helper-environment-visitor": "npm:^7.22.20" "@babel/helper-function-name": "npm:^7.23.0" - "@babel/helper-optimise-call-expression": "npm:^7.22.5" - "@babel/helper-plugin-utils": "npm:^7.22.5" - "@babel/helper-replace-supers": "npm:^7.22.20" + "@babel/helper-plugin-utils": "npm:^7.24.0" + "@babel/helper-replace-supers": "npm:^7.24.1" "@babel/helper-split-export-declaration": "npm:^7.22.6" globals: "npm:^11.1.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/f6c4fed2f48bdd46a4726b829ea2ddb5c9c97edd0e55dc53791d82927daad5725052b7e785a8b7e90a53b0606166b9c554469dc94f10fba59ca9642e997d97ee + checksum: 10/eb7f4a3d852cfa20f4efd299929c564bd2b45106ac1cf4ac8b0c87baf078d4a15c39b8a21bbb01879c1922acb9baaf3c9b150486e18d84b30129e9671639793d languageName: node linkType: hard -"@babel/plugin-transform-computed-properties@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-computed-properties@npm:7.23.3" +"@babel/plugin-transform-computed-properties@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-computed-properties@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" - "@babel/template": "npm:^7.22.15" + "@babel/helper-plugin-utils": "npm:^7.24.0" + "@babel/template": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/e75593e02c5ea473c17839e3c9d597ce3697bf039b66afe9a4d06d086a87fb3d95850b4174476897afc351dc1b46a9ec3165ee6e8fbad3732c0d65f676f855ad + checksum: 10/62bbfe1bd508517d96ba6909e68b1adb9dfd24ea61af1f4b0aa909bfc5e476044afe9c55b10ef74508fd147aa665e818df67ece834d164a9fd69b80c9ede3875 languageName: node linkType: hard -"@babel/plugin-transform-destructuring@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-destructuring@npm:7.23.3" +"@babel/plugin-transform-destructuring@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-destructuring@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/5abd93718af5a61f8f6a97d2ccac9139499752dd5b2c533d7556fb02947ae01b2f51d4c4f5e64df569e8783d3743270018eb1fa979c43edec7dd1377acf107ed + checksum: 10/03d9a81cd9eeb24d48e207be536d460d6ad228238ac70da9b7ad4bae799847bb3be0aecfa4ea6223752f3a8d4ada3a58cd9a0f8fc70c01fdfc87ad0618f897d3 languageName: node linkType: hard -"@babel/plugin-transform-dotall-regex@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-dotall-regex@npm:7.23.3" +"@babel/plugin-transform-dotall-regex@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-dotall-regex@npm:7.24.1" dependencies: "@babel/helper-create-regexp-features-plugin": "npm:^7.22.15" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/a2dbbf7f1ea16a97948c37df925cb364337668c41a3948b8d91453f140507bd8a3429030c7ce66d09c299987b27746c19a2dd18b6f17dcb474854b14fd9159a3 + checksum: 10/7f623d25b6f213b94ebc1754e9e31c1077c8e288626d8b7bfa76a97b067ce80ddcd0ede402a546706c65002c0ccf45cd5ec621511c2668eed31ebcabe8391d35 languageName: node linkType: hard -"@babel/plugin-transform-duplicate-keys@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-duplicate-keys@npm:7.23.3" +"@babel/plugin-transform-duplicate-keys@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-duplicate-keys@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/c2a21c34dc0839590cd945192cbc46fde541a27e140c48fe1808315934664cdbf18db64889e23c4eeb6bad9d3e049482efdca91d29de5734ffc887c4fbabaa16 + checksum: 10/de600a958ad146fc8aca71fd2dfa5ebcfdb97df4eaa530fc9a4b0d28d85442ddb9b7039f260b396785211e88c6817125a94c183459763c363847e8c84f318ff0 languageName: node linkType: hard -"@babel/plugin-transform-dynamic-import@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/plugin-transform-dynamic-import@npm:7.23.4" +"@babel/plugin-transform-dynamic-import@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-dynamic-import@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/plugin-syntax-dynamic-import": "npm:^7.8.3" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/57a722604c430d9f3dacff22001a5f31250e34785d4969527a2ae9160fa86858d0892c5b9ff7a06a04076f8c76c9e6862e0541aadca9c057849961343aab0845 + checksum: 10/59fc561ee40b1a69f969c12c6c5fac206226d6642213985a569dd0f99f8e41c0f4eaedebd36936c255444a8335079842274c42a975a433beadb436d4c5abb79b languageName: node linkType: hard -"@babel/plugin-transform-exponentiation-operator@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-exponentiation-operator@npm:7.23.3" +"@babel/plugin-transform-exponentiation-operator@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-exponentiation-operator@npm:7.24.1" dependencies: "@babel/helper-builder-binary-assignment-operator-visitor": "npm:^7.22.15" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/00d05ab14ad0f299160fcf9d8f55a1cc1b740e012ab0b5ce30207d2365f091665115557af7d989cd6260d075a252d9e4283de5f2b247dfbbe0e42ae586e6bf66 + checksum: 10/f90841fe1a1e9f680b4209121d3e2992f923e85efcd322b26e5901c180ef44ff727fb89790803a23fac49af34c1ce2e480018027c22b4573b615512ac5b6fc50 languageName: node linkType: hard -"@babel/plugin-transform-export-namespace-from@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/plugin-transform-export-namespace-from@npm:7.23.4" +"@babel/plugin-transform-export-namespace-from@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-export-namespace-from@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/plugin-syntax-export-namespace-from": "npm:^7.8.3" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/9f770a81bfd03b48d6ba155d452946fd56d6ffe5b7d871e9ec2a0b15e0f424273b632f3ed61838b90015b25bbda988896b7a46c7d964fbf8f6feb5820b309f93 + checksum: 10/bc710ac231919df9555331885748385c11c5e695d7271824fe56fba51dd637d48d3e5cd52e1c69f2b1a384fbbb41552572bc1ca3a2285ee29571f002e9bb2421 languageName: node linkType: hard -"@babel/plugin-transform-for-of@npm:^7.23.6": - version: 7.23.6 - resolution: "@babel/plugin-transform-for-of@npm:7.23.6" +"@babel/plugin-transform-for-of@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-for-of@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.22.5" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/b84ef1f26a2db316237ae6d10fa7c22c70ac808ed0b8e095a8ecf9101551636cbb026bee9fb95a0a7944f3b8278ff9636a9088cb4a4ac5b84830a13829242735 + checksum: 10/befd0908c3f6b31f9fa9363a3c112d25eaa0bc4a79cfad1f0a8bb5010937188b043a44fb23443bc8ffbcc40c015bb25f80e4cc585ce5cc580708e2d56e76fe37 languageName: node linkType: hard -"@babel/plugin-transform-function-name@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-function-name@npm:7.23.3" +"@babel/plugin-transform-function-name@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-function-name@npm:7.24.1" dependencies: - "@babel/helper-compilation-targets": "npm:^7.22.15" + "@babel/helper-compilation-targets": "npm:^7.23.6" "@babel/helper-function-name": "npm:^7.23.0" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/355c6dbe07c919575ad42b2f7e020f320866d72f8b79181a16f8e0cd424a2c761d979f03f47d583d9471b55dcd68a8a9d829b58e1eebcd572145b934b48975a6 + checksum: 10/31eb3c75297dda7265f78eba627c446f2324e30ec0124a645ccc3e9f341254aaa40d6787bd62b2280d77c0a5c9fbfce1da2c200ef7c7f8e0a1b16a8eb3644c6f languageName: node linkType: hard "@babel/plugin-transform-jscript@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-jscript@npm:7.23.3" + version: 7.24.1 + resolution: "@babel/plugin-transform-jscript@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/07d03d471376c3f86f5900990e787fab2b31940c67df525a36f97faa602742b82289144ec4bfabcbed8aaa7dcc9000a3f3886ed15229c72d74910e3c565f2e8b + checksum: 10/2ac76fab231f7a71e23fb5dadd204af23abbf424df06e007cd435fdb120b9d8e562ae42480c71510832bf83df4a16f5dfca54203fcb877c18898d032882c7260 languageName: node linkType: hard -"@babel/plugin-transform-json-strings@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/plugin-transform-json-strings@npm:7.23.4" +"@babel/plugin-transform-json-strings@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-json-strings@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/plugin-syntax-json-strings": "npm:^7.8.3" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/f9019820233cf8955d8ba346df709a0683c120fe86a24ed1c9f003f2db51197b979efc88f010d558a12e1491210fc195a43cd1c7fee5e23b92da38f793a875de + checksum: 10/f42302d42fc81ac00d14e9e5d80405eb80477d7f9039d7208e712d6bcd486a4e3b32fdfa07b5f027d6c773723d8168193ee880f93b0e430c828e45f104fb82a4 languageName: node linkType: hard -"@babel/plugin-transform-literals@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-literals@npm:7.23.3" +"@babel/plugin-transform-literals@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-literals@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/519a544cd58586b9001c4c9b18da25a62f17d23c48600ff7a685d75ca9eb18d2c5e8f5476f067f0a8f1fea2a31107eff950b9864833061e6076dcc4bdc3e71ed + checksum: 10/2df94e9478571852483aca7588419e574d76bde97583e78551c286f498e01321e7dbb1d0ef67bee16e8f950688f79688809cfde370c5c4b84c14d841a3ef217a languageName: node linkType: hard -"@babel/plugin-transform-logical-assignment-operators@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/plugin-transform-logical-assignment-operators@npm:7.23.4" +"@babel/plugin-transform-logical-assignment-operators@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-logical-assignment-operators@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/plugin-syntax-logical-assignment-operators": "npm:^7.10.4" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/2ae1dc9b4ff3bf61a990ff3accdecb2afe3a0ca649b3e74c010078d1cdf29ea490f50ac0a905306a2bcf9ac177889a39ac79bdcc3a0fdf220b3b75fac18d39b5 + checksum: 10/895f2290adf457cbf327428bdb4fb90882a38a22f729bcf0629e8ad66b9b616d2721fbef488ac00411b647489d1dda1d20171bb3772d0796bb7ef5ecf057808a languageName: node linkType: hard -"@babel/plugin-transform-member-expression-literals@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-member-expression-literals@npm:7.23.3" +"@babel/plugin-transform-member-expression-literals@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-member-expression-literals@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/95cec13c36d447c5aa6b8e4c778b897eeba66dcb675edef01e0d2afcec9e8cb9726baf4f81b4bbae7a782595aed72e6a0d44ffb773272c3ca180fada99bf92db + checksum: 10/4ea641cc14a615f9084e45ad2319f95e2fee01c77ec9789685e7e11a6c286238a426a98f9c1ed91568a047d8ac834393e06e8c82d1ff01764b7aa61bee8e9023 languageName: node linkType: hard -"@babel/plugin-transform-modules-amd@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-modules-amd@npm:7.23.3" +"@babel/plugin-transform-modules-amd@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-modules-amd@npm:7.24.1" dependencies: "@babel/helper-module-transforms": "npm:^7.23.3" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/48c87dee2c7dae8ed40d16901f32c9e58be4ef87bf2c3985b51dd2e78e82081f3bad0a39ee5cf6e8909e13e954e2b4bedef0a8141922f281ed833ddb59ed9be2 + checksum: 10/5a324f7c630cf0be1f09098a3a36248c2521622f2c7ea1a44a5980f54b718f5e0dd4af92a337f4b445a8824c8d533853ebea7c16de829b8a7bc8bcca127d4d73 languageName: node linkType: hard -"@babel/plugin-transform-modules-commonjs@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-modules-commonjs@npm:7.23.3" +"@babel/plugin-transform-modules-commonjs@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-modules-commonjs@npm:7.24.1" dependencies: "@babel/helper-module-transforms": "npm:^7.23.3" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/helper-simple-access": "npm:^7.22.5" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/a3bc082d0dfe8327a29263a6d721cea608d440bc8141ba3ec6ba80ad73d84e4f9bbe903c27e9291c29878feec9b5dee2bd0563822f93dc951f5d7fc36bdfe85b + checksum: 10/7326a62ed5f766f93ee75684868635b59884e2801533207ea11561c296de53037949fecad4055d828fa7ebeb6cc9e55908aa3e7c13f930ded3e62ad9f24680d7 languageName: node linkType: hard -"@babel/plugin-transform-modules-systemjs@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-modules-systemjs@npm:7.23.3" +"@babel/plugin-transform-modules-systemjs@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-modules-systemjs@npm:7.24.1" dependencies: "@babel/helper-hoist-variables": "npm:^7.22.5" "@babel/helper-module-transforms": "npm:^7.23.3" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/helper-validator-identifier": "npm:^7.22.20" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/051112de7585fff4ffd67865066401f01f90745d41f26b0edbeec0981342c10517ce1a6b4d7051b583a3e513088eece6a3f57b1663f1dd9418071cd05f14fef9 + checksum: 10/565ec4518037b3d957431e29bda97b3d2fbb2e245fb5ba19889310ccb8fb71353e8ce2c325cc8d3fbc5a376d3af7d7e21782d5f502c46f8da077bee7807a590f languageName: node linkType: hard -"@babel/plugin-transform-modules-umd@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-modules-umd@npm:7.23.3" +"@babel/plugin-transform-modules-umd@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-modules-umd@npm:7.24.1" dependencies: "@babel/helper-module-transforms": "npm:^7.23.3" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/e3f3af83562d687899555c7826b3faf0ab93ee7976898995b1d20cbe7f4451c55e05b0e17bfb3e549937cbe7573daf5400b752912a241b0a8a64d2457c7626e5 + checksum: 10/323bb9367e1967117a829f67788ec2ff55504b4faf8f6d83ec85d398e50b41cf7d1c375c67d63883dd7ad5e75b35c8ae776d89e422330ec0c0a1fda24e362083 languageName: node linkType: hard @@ -965,300 +988,300 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-new-target@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-new-target@npm:7.23.3" +"@babel/plugin-transform-new-target@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-new-target@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/e5053389316fce73ad5201b7777437164f333e24787fbcda4ae489cd2580dbbbdfb5694a7237bad91fabb46b591d771975d69beb1c740b82cb4761625379f00b + checksum: 10/e0d3af66cd0fad29c9d0e3fc65e711255e18b77e2e35bbd8f10059e3db7de6c16799ef74e704daf784950feb71e7a93c5bf2c771d98f1ca3fba1ff2e0240b24a languageName: node linkType: hard -"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.23.4" +"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/plugin-syntax-nullish-coalescing-operator": "npm:^7.8.3" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/a27d73ea134d3d9560a6b2e26ab60012fba15f1db95865aa0153c18f5ec82cfef6a7b3d8df74e3c2fca81534fa5efeb6cacaf7b08bdb7d123e3dafdd079886a3 + checksum: 10/74025e191ceb7cefc619c15d33753aab81300a03d81b96ae249d9b599bc65878f962d608f452462d3aad5d6e334b7ab2b09a6bdcfe8d101fe77ac7aacca4261e languageName: node linkType: hard -"@babel/plugin-transform-numeric-separator@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/plugin-transform-numeric-separator@npm:7.23.4" +"@babel/plugin-transform-numeric-separator@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-numeric-separator@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/plugin-syntax-numeric-separator": "npm:^7.10.4" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/6ba0e5db3c620a3ec81f9e94507c821f483c15f196868df13fa454cbac719a5449baf73840f5b6eb7d77311b24a2cf8e45db53700d41727f693d46f7caf3eec3 + checksum: 10/3247bd7d409574fc06c59e0eb573ae7470d6d61ecf780df40b550102bb4406747d8f39dcbec57eb59406df6c565a86edd3b429e396ad02e4ce201ad92050832e languageName: node linkType: hard -"@babel/plugin-transform-object-rest-spread@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/plugin-transform-object-rest-spread@npm:7.23.4" +"@babel/plugin-transform-object-rest-spread@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-object-rest-spread@npm:7.24.1" dependencies: - "@babel/compat-data": "npm:^7.23.3" - "@babel/helper-compilation-targets": "npm:^7.22.15" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-compilation-targets": "npm:^7.23.6" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/plugin-syntax-object-rest-spread": "npm:^7.8.3" - "@babel/plugin-transform-parameters": "npm:^7.23.3" + "@babel/plugin-transform-parameters": "npm:^7.24.1" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/656f09c4ec629856e807d5b386559166ae417ff75943abce19656b2c6de5101dfd0aaf23f9074e854339370b4e09f57518d3202457046ee5b567ded531005479 + checksum: 10/ff6eeefbc5497cf33d62dc86b797c6db0e9455d6a4945d6952f3b703d04baab048974c6573b503e0ec097b8112d3b98b5f4ee516e1b8a74ed47aebba4d9d2643 languageName: node linkType: hard -"@babel/plugin-transform-object-super@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-object-super@npm:7.23.3" +"@babel/plugin-transform-object-super@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-object-super@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" - "@babel/helper-replace-supers": "npm:^7.22.20" + "@babel/helper-plugin-utils": "npm:^7.24.0" + "@babel/helper-replace-supers": "npm:^7.24.1" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/e495497186f621fa79026e183b4f1fbb172fd9df812cbd2d7f02c05b08adbe58012b1a6eb6dd58d11a30343f6ec80d0f4074f9b501d70aa1c94df76d59164c53 + checksum: 10/d34d437456a54e2a5dcb26e9cf09ed4c55528f2a327c5edca92c93e9483c37176e228d00d6e0cf767f3d6fdbef45ae3a5d034a7c59337a009e20ae541c8220fa languageName: node linkType: hard -"@babel/plugin-transform-optional-catch-binding@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.23.4" +"@babel/plugin-transform-optional-catch-binding@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/plugin-syntax-optional-catch-binding": "npm:^7.8.3" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/d50b5ee142cdb088d8b5de1ccf7cea85b18b85d85b52f86618f6e45226372f01ad4cdb29abd4fd35ea99a71fefb37009e0107db7a787dcc21d4d402f97470faf + checksum: 10/ff7c02449d32a6de41e003abb38537b4a1ad90b1eaa4c0b578cb1b55548201a677588a8c47f3e161c72738400ae811a6673ea7b8a734344755016ca0ac445dac languageName: node linkType: hard -"@babel/plugin-transform-optional-chaining@npm:^7.23.3, @babel/plugin-transform-optional-chaining@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/plugin-transform-optional-chaining@npm:7.23.4" +"@babel/plugin-transform-optional-chaining@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-optional-chaining@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.22.5" "@babel/plugin-syntax-optional-chaining": "npm:^7.8.3" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/0ef24e889d6151428953fc443af5f71f4dae73f373dc1b7f5dd3f6a61d511296eb77e9b870e8c2c02a933e3455ae24c1fa91738c826b72a4ff87e0337db527e8 + checksum: 10/d41031b8e472b9b30aacd905a1561904bcec597dd888ad639b234971714dc9cd0dcb60df91a89219fc72e4feeb148e20f97bcddc39d7676e743ff0c23f62a7eb languageName: node linkType: hard -"@babel/plugin-transform-parameters@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-parameters@npm:7.23.3" +"@babel/plugin-transform-parameters@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-parameters@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/a8c36c3fc25f9daa46c4f6db47ea809c395dc4abc7f01c4b1391f6e5b0cd62b83b6016728b02a6a8ac21aca56207c9ec66daefc0336e9340976978de7e6e28df + checksum: 10/c289c188710cd1c60991db169d8173b6e8e05624ae61a7da0b64354100bfba9e44bc1332dd9223c4e3fe1b9cbc0c061e76e7c7b3a75c9588bf35d0ffec428070 languageName: node linkType: hard -"@babel/plugin-transform-private-methods@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-private-methods@npm:7.23.3" +"@babel/plugin-transform-private-methods@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-private-methods@npm:7.24.1" dependencies: - "@babel/helper-create-class-features-plugin": "npm:^7.22.15" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-create-class-features-plugin": "npm:^7.24.1" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/cedc1285c49b5a6d9a3d0e5e413b756ac40b3ac2f8f68bdfc3ae268bc8d27b00abd8bb0861c72756ff5dd8bf1eb77211b7feb5baf4fdae2ebbaabe49b9adc1d0 + checksum: 10/7208c30bb3f3fbc73fb3a88bdcb78cd5cddaf6d523eb9d67c0c04e78f6fc6319ece89f4a5abc41777ceab16df55b3a13a4120e0efc9275ca6d2d89beaba80aa0 languageName: node linkType: hard -"@babel/plugin-transform-private-property-in-object@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/plugin-transform-private-property-in-object@npm:7.23.4" +"@babel/plugin-transform-private-property-in-object@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-private-property-in-object@npm:7.24.1" dependencies: "@babel/helper-annotate-as-pure": "npm:^7.22.5" - "@babel/helper-create-class-features-plugin": "npm:^7.22.15" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-create-class-features-plugin": "npm:^7.24.1" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/plugin-syntax-private-property-in-object": "npm:^7.14.5" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/02eef2ee98fa86ee5052ed9bf0742d6d22b510b5df2fcce0b0f5615d6001f7786c6b31505e7f1c2f446406d8fb33603a5316d957cfa5b8365cbf78ddcc24fa42 + checksum: 10/466d1943960c2475c0361eba2ea72d504d4d8329a8e293af0eedd26887bf30a074515b330ea84be77331ace77efbf5533d5f04f8cff63428d2615f4a509ae7a4 languageName: node linkType: hard -"@babel/plugin-transform-property-literals@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-property-literals@npm:7.23.3" +"@babel/plugin-transform-property-literals@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-property-literals@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/16b048c8e87f25095f6d53634ab7912992f78e6997a6ff549edc3cf519db4fca01c7b4e0798530d7f6a05228ceee479251245cdd850a5531c6e6f404104d6cc9 + checksum: 10/a73646d7ecd95b3931a3ead82c7d5efeb46e68ba362de63eb437d33531f294ec18bd31b6d24238cd3b6a3b919a6310c4a0ba4a2629927721d4d10b0518eb7715 languageName: node linkType: hard -"@babel/plugin-transform-regenerator@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-regenerator@npm:7.23.3" +"@babel/plugin-transform-regenerator@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-regenerator@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" regenerator-transform: "npm:^0.15.2" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/7fdacc7b40008883871b519c9e5cdea493f75495118ccc56ac104b874983569a24edd024f0f5894ba1875c54ee2b442f295d6241c3280e61c725d0dd3317c8e6 + checksum: 10/a04319388a0a7931c3f8e15715d01444c32519692178b70deccc86d53304e74c0f589a4268f6c68578d86f75e934dd1fe6e6ed9071f54ee8379f356f88ef6e42 languageName: node linkType: hard -"@babel/plugin-transform-reserved-words@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-reserved-words@npm:7.23.3" +"@babel/plugin-transform-reserved-words@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-reserved-words@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/298c4440ddc136784ff920127cea137168e068404e635dc946ddb5d7b2a27b66f1dd4c4acb01f7184478ff7d5c3e7177a127279479926519042948fb7fa0fa48 + checksum: 10/132c6040c65aabae2d98a39289efb5c51a8632546dc50d2ad032c8660aec307fbed74ef499856ea4f881fc8505905f49b48e0270585da2ea3d50b75e962afd89 languageName: node linkType: hard -"@babel/plugin-transform-shorthand-properties@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-shorthand-properties@npm:7.23.3" +"@babel/plugin-transform-shorthand-properties@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-shorthand-properties@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/5d677a03676f9fff969b0246c423d64d77502e90a832665dc872a5a5e05e5708161ce1effd56bb3c0f2c20a1112fca874be57c8a759d8b08152755519281f326 + checksum: 10/006a2032d1c57dca76579ce6598c679c2f20525afef0a36e9d42affe3c8cf33c1427581ad696b519cc75dfee46c5e8ecdf0c6a29ffb14250caa3e16dd68cb424 languageName: node linkType: hard -"@babel/plugin-transform-spread@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-spread@npm:7.23.3" +"@babel/plugin-transform-spread@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-spread@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/helper-skip-transparent-expression-wrappers": "npm:^7.22.5" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/c6372d2f788fd71d85aba12fbe08ee509e053ed27457e6674a4f9cae41ff885e2eb88aafea8fadd0ccf990601fc69ec596fa00959e05af68a15461a8d97a548d + checksum: 10/0b60cfe2f700ec2c9c1af979bb805860258539648dadcd482a5ddfc2330b733fb61bb60266404f3e068246ad0d6376040b4f9c5ab9037a3d777624d64acd89e9 languageName: node linkType: hard -"@babel/plugin-transform-sticky-regex@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-sticky-regex@npm:7.23.3" +"@babel/plugin-transform-sticky-regex@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-sticky-regex@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/53e55eb2575b7abfdb4af7e503a2bf7ef5faf8bf6b92d2cd2de0700bdd19e934e5517b23e6dfed94ba50ae516b62f3f916773ef7d9bc81f01503f585051e2949 + checksum: 10/e326e96a9eeb6bb01dbc4d3362f989411490671b97f62edf378b8fb102c463a018b777f28da65344d41b22aa6efcdfa01ed43d2b11fdcf202046d3174be137c5 languageName: node linkType: hard -"@babel/plugin-transform-template-literals@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-template-literals@npm:7.23.3" +"@babel/plugin-transform-template-literals@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-template-literals@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/b16c5cb0b8796be0118e9c144d15bdc0d20a7f3f59009c6303a6e9a8b74c146eceb3f05186f5b97afcba7cfa87e34c1585a22186e3d5b22f2fd3d27d959d92b2 + checksum: 10/4c9009c72321caf20e3b6328bbe9d7057006c5ae57b794cf247a37ca34d87dfec5e27284169a16df5a6235a083bf0f3ab9e1bfcb005d1c8b75b04aed75652621 languageName: node linkType: hard -"@babel/plugin-transform-typeof-symbol@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-typeof-symbol@npm:7.23.3" +"@babel/plugin-transform-typeof-symbol@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-typeof-symbol@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/0af7184379d43afac7614fc89b1bdecce4e174d52f4efaeee8ec1a4f2c764356c6dba3525c0685231f1cbf435b6dd4ee9e738d7417f3b10ce8bbe869c32f4384 + checksum: 10/3dda5074abf8b5df9cdef697d6ebe14a72c199bd6c2019991d033d9ad91b0be937b126b8f34c3c5a9725afee9016a3776aeef3e3b06ab9b3f54f2dd5b5aefa37 languageName: node linkType: hard -"@babel/plugin-transform-typescript@npm:^7.23.3": - version: 7.23.6 - resolution: "@babel/plugin-transform-typescript@npm:7.23.6" +"@babel/plugin-transform-typescript@npm:^7.24.1": + version: 7.24.4 + resolution: "@babel/plugin-transform-typescript@npm:7.24.4" dependencies: "@babel/helper-annotate-as-pure": "npm:^7.22.5" - "@babel/helper-create-class-features-plugin": "npm:^7.23.6" - "@babel/helper-plugin-utils": "npm:^7.22.5" - "@babel/plugin-syntax-typescript": "npm:^7.23.3" + "@babel/helper-create-class-features-plugin": "npm:^7.24.4" + "@babel/helper-plugin-utils": "npm:^7.24.0" + "@babel/plugin-syntax-typescript": "npm:^7.24.1" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/a816811129f3fcb0af1aeb52b84285be390ed8a0eedab17d31fa8e6847c4ca39b4b176d44831f20a8561b3f586974053570ad7bdfa51f89566276e6b191786d2 + checksum: 10/e8d66fbafd6cbfeca2ebe77c4fc67537be9e01813f835ce097fa91329b0cd7ba587a9cf4c4a1df661cdde438741cb3c63d2ab95c97354eb89d7682a4d99bea5d languageName: node linkType: hard -"@babel/plugin-transform-unicode-escapes@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-unicode-escapes@npm:7.23.3" +"@babel/plugin-transform-unicode-escapes@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-unicode-escapes@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/561c429183a54b9e4751519a3dfba6014431e9cdc1484fad03bdaf96582dfc72c76a4f8661df2aeeae7c34efd0fa4d02d3b83a2f63763ecf71ecc925f9cc1f60 + checksum: 10/d39041ff6b0cef78271ebe88be6dfd2882a3c6250a54ddae783f1b9adc815e8486a7d0ca054fabfa3fde1301c531d5be89224999fc7be83ff1eda9b77d173051 languageName: node linkType: hard -"@babel/plugin-transform-unicode-property-regex@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-unicode-property-regex@npm:7.23.3" +"@babel/plugin-transform-unicode-property-regex@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-unicode-property-regex@npm:7.24.1" dependencies: "@babel/helper-create-regexp-features-plugin": "npm:^7.22.15" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/2298461a194758086d17c23c26c7de37aa533af910f9ebf31ebd0893d4aa317468043d23f73edc782ec21151d3c46cf0ff8098a83b725c49a59de28a1d4d6225 + checksum: 10/276099b4483e707f80b054e2d29bc519158bfe52461ef5ff76f70727d592df17e30b1597ef4d8a0f04d810f6cb5a8dd887bdc1d0540af3744751710ef280090f languageName: node linkType: hard -"@babel/plugin-transform-unicode-regex@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-unicode-regex@npm:7.23.3" +"@babel/plugin-transform-unicode-regex@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-unicode-regex@npm:7.24.1" dependencies: "@babel/helper-create-regexp-features-plugin": "npm:^7.22.15" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/c5f835d17483ba899787f92e313dfa5b0055e3deab332f1d254078a2bba27ede47574b6599fcf34d3763f0c048ae0779dc21d2d8db09295edb4057478dc80a9a + checksum: 10/400a0927bdb1425b4c0dc68a61b5b2d7d17c7d9f0e07317a1a6a373c080ef94be1dd65fdc4ac9a78fcdb58f89fd128450c7bc0d5b8ca0ae7eca3fbd98e50acba languageName: node linkType: hard -"@babel/plugin-transform-unicode-sets-regex@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-unicode-sets-regex@npm:7.23.3" +"@babel/plugin-transform-unicode-sets-regex@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/plugin-transform-unicode-sets-regex@npm:7.24.1" dependencies: "@babel/helper-create-regexp-features-plugin": "npm:^7.22.15" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" peerDependencies: "@babel/core": ^7.0.0 - checksum: 10/79d0b4c951955ca68235c87b91ab2b393c96285f8aeaa34d6db416d2ddac90000c9bd6e8c4d82b60a2b484da69930507245035f28ba63c6cae341cf3ba68fdef + checksum: 10/364342fb8e382dfaa23628b88e6484dc1097e53fb7199f4d338f1e2cd71d839bb0a35a9b1380074f6a10adb2e98b79d53ca3ec78c0b8c557ca895ffff42180df languageName: node linkType: hard "@babel/preset-env@npm:^7.23.3": - version: 7.23.7 - resolution: "@babel/preset-env@npm:7.23.7" + version: 7.24.4 + resolution: "@babel/preset-env@npm:7.24.4" dependencies: - "@babel/compat-data": "npm:^7.23.5" + "@babel/compat-data": "npm:^7.24.4" "@babel/helper-compilation-targets": "npm:^7.23.6" - "@babel/helper-plugin-utils": "npm:^7.22.5" + "@babel/helper-plugin-utils": "npm:^7.24.0" "@babel/helper-validator-option": "npm:^7.23.5" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "npm:^7.23.3" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "npm:^7.23.3" - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "npm:^7.23.7" + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "npm:^7.24.4" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "npm:^7.24.1" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "npm:^7.24.1" + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "npm:^7.24.1" "@babel/plugin-proposal-private-property-in-object": "npm:7.21.0-placeholder-for-preset-env.2" "@babel/plugin-syntax-async-generators": "npm:^7.8.4" "@babel/plugin-syntax-class-properties": "npm:^7.12.13" "@babel/plugin-syntax-class-static-block": "npm:^7.14.5" "@babel/plugin-syntax-dynamic-import": "npm:^7.8.3" "@babel/plugin-syntax-export-namespace-from": "npm:^7.8.3" - "@babel/plugin-syntax-import-assertions": "npm:^7.23.3" - "@babel/plugin-syntax-import-attributes": "npm:^7.23.3" + "@babel/plugin-syntax-import-assertions": "npm:^7.24.1" + "@babel/plugin-syntax-import-attributes": "npm:^7.24.1" "@babel/plugin-syntax-import-meta": "npm:^7.10.4" "@babel/plugin-syntax-json-strings": "npm:^7.8.3" "@babel/plugin-syntax-logical-assignment-operators": "npm:^7.10.4" @@ -1270,63 +1293,63 @@ __metadata: "@babel/plugin-syntax-private-property-in-object": "npm:^7.14.5" "@babel/plugin-syntax-top-level-await": "npm:^7.14.5" "@babel/plugin-syntax-unicode-sets-regex": "npm:^7.18.6" - "@babel/plugin-transform-arrow-functions": "npm:^7.23.3" - "@babel/plugin-transform-async-generator-functions": "npm:^7.23.7" - "@babel/plugin-transform-async-to-generator": "npm:^7.23.3" - "@babel/plugin-transform-block-scoped-functions": "npm:^7.23.3" - "@babel/plugin-transform-block-scoping": "npm:^7.23.4" - "@babel/plugin-transform-class-properties": "npm:^7.23.3" - "@babel/plugin-transform-class-static-block": "npm:^7.23.4" - "@babel/plugin-transform-classes": "npm:^7.23.5" - "@babel/plugin-transform-computed-properties": "npm:^7.23.3" - "@babel/plugin-transform-destructuring": "npm:^7.23.3" - "@babel/plugin-transform-dotall-regex": "npm:^7.23.3" - "@babel/plugin-transform-duplicate-keys": "npm:^7.23.3" - "@babel/plugin-transform-dynamic-import": "npm:^7.23.4" - "@babel/plugin-transform-exponentiation-operator": "npm:^7.23.3" - "@babel/plugin-transform-export-namespace-from": "npm:^7.23.4" - "@babel/plugin-transform-for-of": "npm:^7.23.6" - "@babel/plugin-transform-function-name": "npm:^7.23.3" - "@babel/plugin-transform-json-strings": "npm:^7.23.4" - "@babel/plugin-transform-literals": "npm:^7.23.3" - "@babel/plugin-transform-logical-assignment-operators": "npm:^7.23.4" - "@babel/plugin-transform-member-expression-literals": "npm:^7.23.3" - "@babel/plugin-transform-modules-amd": "npm:^7.23.3" - "@babel/plugin-transform-modules-commonjs": "npm:^7.23.3" - "@babel/plugin-transform-modules-systemjs": "npm:^7.23.3" - "@babel/plugin-transform-modules-umd": "npm:^7.23.3" + "@babel/plugin-transform-arrow-functions": "npm:^7.24.1" + "@babel/plugin-transform-async-generator-functions": "npm:^7.24.3" + "@babel/plugin-transform-async-to-generator": "npm:^7.24.1" + "@babel/plugin-transform-block-scoped-functions": "npm:^7.24.1" + "@babel/plugin-transform-block-scoping": "npm:^7.24.4" + "@babel/plugin-transform-class-properties": "npm:^7.24.1" + "@babel/plugin-transform-class-static-block": "npm:^7.24.4" + "@babel/plugin-transform-classes": "npm:^7.24.1" + "@babel/plugin-transform-computed-properties": "npm:^7.24.1" + "@babel/plugin-transform-destructuring": "npm:^7.24.1" + "@babel/plugin-transform-dotall-regex": "npm:^7.24.1" + "@babel/plugin-transform-duplicate-keys": "npm:^7.24.1" + "@babel/plugin-transform-dynamic-import": "npm:^7.24.1" + "@babel/plugin-transform-exponentiation-operator": "npm:^7.24.1" + "@babel/plugin-transform-export-namespace-from": "npm:^7.24.1" + "@babel/plugin-transform-for-of": "npm:^7.24.1" + "@babel/plugin-transform-function-name": "npm:^7.24.1" + "@babel/plugin-transform-json-strings": "npm:^7.24.1" + "@babel/plugin-transform-literals": "npm:^7.24.1" + "@babel/plugin-transform-logical-assignment-operators": "npm:^7.24.1" + "@babel/plugin-transform-member-expression-literals": "npm:^7.24.1" + "@babel/plugin-transform-modules-amd": "npm:^7.24.1" + "@babel/plugin-transform-modules-commonjs": "npm:^7.24.1" + "@babel/plugin-transform-modules-systemjs": "npm:^7.24.1" + "@babel/plugin-transform-modules-umd": "npm:^7.24.1" "@babel/plugin-transform-named-capturing-groups-regex": "npm:^7.22.5" - "@babel/plugin-transform-new-target": "npm:^7.23.3" - "@babel/plugin-transform-nullish-coalescing-operator": "npm:^7.23.4" - "@babel/plugin-transform-numeric-separator": "npm:^7.23.4" - "@babel/plugin-transform-object-rest-spread": "npm:^7.23.4" - "@babel/plugin-transform-object-super": "npm:^7.23.3" - "@babel/plugin-transform-optional-catch-binding": "npm:^7.23.4" - "@babel/plugin-transform-optional-chaining": "npm:^7.23.4" - "@babel/plugin-transform-parameters": "npm:^7.23.3" - "@babel/plugin-transform-private-methods": "npm:^7.23.3" - "@babel/plugin-transform-private-property-in-object": "npm:^7.23.4" - "@babel/plugin-transform-property-literals": "npm:^7.23.3" - "@babel/plugin-transform-regenerator": "npm:^7.23.3" - "@babel/plugin-transform-reserved-words": "npm:^7.23.3" - "@babel/plugin-transform-shorthand-properties": "npm:^7.23.3" - "@babel/plugin-transform-spread": "npm:^7.23.3" - "@babel/plugin-transform-sticky-regex": "npm:^7.23.3" - "@babel/plugin-transform-template-literals": "npm:^7.23.3" - "@babel/plugin-transform-typeof-symbol": "npm:^7.23.3" - "@babel/plugin-transform-unicode-escapes": "npm:^7.23.3" - "@babel/plugin-transform-unicode-property-regex": "npm:^7.23.3" - "@babel/plugin-transform-unicode-regex": "npm:^7.23.3" - "@babel/plugin-transform-unicode-sets-regex": "npm:^7.23.3" + "@babel/plugin-transform-new-target": "npm:^7.24.1" + "@babel/plugin-transform-nullish-coalescing-operator": "npm:^7.24.1" + "@babel/plugin-transform-numeric-separator": "npm:^7.24.1" + "@babel/plugin-transform-object-rest-spread": "npm:^7.24.1" + "@babel/plugin-transform-object-super": "npm:^7.24.1" + "@babel/plugin-transform-optional-catch-binding": "npm:^7.24.1" + "@babel/plugin-transform-optional-chaining": "npm:^7.24.1" + "@babel/plugin-transform-parameters": "npm:^7.24.1" + "@babel/plugin-transform-private-methods": "npm:^7.24.1" + "@babel/plugin-transform-private-property-in-object": "npm:^7.24.1" + "@babel/plugin-transform-property-literals": "npm:^7.24.1" + "@babel/plugin-transform-regenerator": "npm:^7.24.1" + "@babel/plugin-transform-reserved-words": "npm:^7.24.1" + "@babel/plugin-transform-shorthand-properties": "npm:^7.24.1" + "@babel/plugin-transform-spread": "npm:^7.24.1" + "@babel/plugin-transform-sticky-regex": "npm:^7.24.1" + "@babel/plugin-transform-template-literals": "npm:^7.24.1" + "@babel/plugin-transform-typeof-symbol": "npm:^7.24.1" + "@babel/plugin-transform-unicode-escapes": "npm:^7.24.1" + "@babel/plugin-transform-unicode-property-regex": "npm:^7.24.1" + "@babel/plugin-transform-unicode-regex": "npm:^7.24.1" + "@babel/plugin-transform-unicode-sets-regex": "npm:^7.24.1" "@babel/preset-modules": "npm:0.1.6-no-external-plugins" - babel-plugin-polyfill-corejs2: "npm:^0.4.7" - babel-plugin-polyfill-corejs3: "npm:^0.8.7" - babel-plugin-polyfill-regenerator: "npm:^0.5.4" + babel-plugin-polyfill-corejs2: "npm:^0.4.10" + babel-plugin-polyfill-corejs3: "npm:^0.10.4" + babel-plugin-polyfill-regenerator: "npm:^0.6.1" core-js-compat: "npm:^3.31.0" semver: "npm:^6.3.1" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/2059dee350c39aba0a1f128d00ccfd7abf97f92a9b661f4db07a96c11d91c928a9f1df39477583f068090627bff571b4415f1a4f94008d29f6ad8b124e69804e + checksum: 10/3d5cbdc2501bc1959fc76ed9d409d0ee5264bc475fa809958fd2e8e7db9b12f8eccdae750a0e05d25207373c42ca115b42bb3d5c743bc770cb12b6af05bf3bd8 languageName: node linkType: hard @@ -1344,17 +1367,17 @@ __metadata: linkType: hard "@babel/preset-typescript@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/preset-typescript@npm:7.23.3" + version: 7.24.1 + resolution: "@babel/preset-typescript@npm:7.24.1" dependencies: - "@babel/helper-plugin-utils": "npm:^7.22.5" - "@babel/helper-validator-option": "npm:^7.22.15" - "@babel/plugin-syntax-jsx": "npm:^7.23.3" - "@babel/plugin-transform-modules-commonjs": "npm:^7.23.3" - "@babel/plugin-transform-typescript": "npm:^7.23.3" + "@babel/helper-plugin-utils": "npm:^7.24.0" + "@babel/helper-validator-option": "npm:^7.23.5" + "@babel/plugin-syntax-jsx": "npm:^7.24.1" + "@babel/plugin-transform-modules-commonjs": "npm:^7.24.1" + "@babel/plugin-transform-typescript": "npm:^7.24.1" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 10/c4add0f3fcbb3f4a305c48db9ccb32694f1308ed9971ccbc1a8a3c76d5a13726addb3c667958092287d7aa080186c5c83dbfefa55eacf94657e6cde39e172848 + checksum: 10/ba774bd427c9f376769ddbc2723f5801a6b30113a7c3aaa14c36215508e347a527fdae98cfc294f0ecb283d800ee0c1f74e66e38e84c9bc9ed2fe6ed50dcfaf8 languageName: node linkType: hard @@ -1366,51 +1389,51 @@ __metadata: linkType: hard "@babel/runtime@npm:^7.8.4": - version: 7.23.7 - resolution: "@babel/runtime@npm:7.23.7" + version: 7.24.4 + resolution: "@babel/runtime@npm:7.24.4" dependencies: regenerator-runtime: "npm:^0.14.0" - checksum: 10/b29cf3ca6277aea8c5c823d9b86e7f7153757f07eaaa81d726f125de00ac0e7451c90845770f919826a94ade8f71a6bda9c0421410dfcc285ee17a40f8f8ca00 + checksum: 10/8ec8ce2c145bc7e31dd39ab66df124f357f65c11489aefacb30f431bae913b9aaa66aa5efe5321ea2bf8878af3fcee338c87e7599519a952e3a6f83aa1b03308 languageName: node linkType: hard -"@babel/template@npm:^7.22.15, @babel/template@npm:^7.3.3": - version: 7.22.15 - resolution: "@babel/template@npm:7.22.15" +"@babel/template@npm:^7.22.15, @babel/template@npm:^7.24.0, @babel/template@npm:^7.3.3": + version: 7.24.0 + resolution: "@babel/template@npm:7.24.0" dependencies: - "@babel/code-frame": "npm:^7.22.13" - "@babel/parser": "npm:^7.22.15" - "@babel/types": "npm:^7.22.15" - checksum: 10/21e768e4eed4d1da2ce5d30aa51db0f4d6d8700bc1821fec6292587df7bba2fe1a96451230de8c64b989740731888ebf1141138bfffb14cacccf4d05c66ad93f + "@babel/code-frame": "npm:^7.23.5" + "@babel/parser": "npm:^7.24.0" + "@babel/types": "npm:^7.24.0" + checksum: 10/8c538338c7de8fac8ada691a5a812bdcbd60bd4a4eb5adae2cc9ee19773e8fb1a724312a00af9e1ce49056ffd3c3475e7287b5668cf6360bfb3f8ac827a06ffe languageName: node linkType: hard -"@babel/traverse@npm:^7.23.7": - version: 7.23.7 - resolution: "@babel/traverse@npm:7.23.7" +"@babel/traverse@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/traverse@npm:7.24.1" dependencies: - "@babel/code-frame": "npm:^7.23.5" - "@babel/generator": "npm:^7.23.6" + "@babel/code-frame": "npm:^7.24.1" + "@babel/generator": "npm:^7.24.1" "@babel/helper-environment-visitor": "npm:^7.22.20" "@babel/helper-function-name": "npm:^7.23.0" "@babel/helper-hoist-variables": "npm:^7.22.5" "@babel/helper-split-export-declaration": "npm:^7.22.6" - "@babel/parser": "npm:^7.23.6" - "@babel/types": "npm:^7.23.6" + "@babel/parser": "npm:^7.24.1" + "@babel/types": "npm:^7.24.0" debug: "npm:^4.3.1" globals: "npm:^11.1.0" - checksum: 10/3215e59429963c8dac85c26933372cdd322952aa9930e4bc5ef2d0e4bd7a1510d1ecf8f8fd860ace5d4d9fe496d23805a1ea019a86410aee4111de5f63ee84f9 + checksum: 10/b9b0173c286ef549e179f3725df3c4958069ad79fe5b9840adeb99692eb4a5a08db4e735c0f086aab52e7e08ec711cee9e7c06cb908d8035641d1382172308d3 languageName: node linkType: hard -"@babel/types@npm:^7, @babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.6, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": - version: 7.23.6 - resolution: "@babel/types@npm:7.23.6" +"@babel/types@npm:^7, @babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.24.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": + version: 7.24.0 + resolution: "@babel/types@npm:7.24.0" dependencies: "@babel/helper-string-parser": "npm:^7.23.4" "@babel/helper-validator-identifier": "npm:^7.22.20" to-fast-properties: "npm:^2.0.0" - checksum: 10/07e70bb94d30b0231396b5e9a7726e6d9227a0a62e0a6830c0bd3232f33b024092e3d5a7d1b096a65bbf2bb43a9ab4c721bf618e115bfbb87b454fa060f88cbf + checksum: 10/a0b4875ce2e132f9daff0d5b27c7f4c4fcc97f2b084bdc5834e92c9d32592778489029e65d99d00c406da612d87b72d7a236c0afccaa1435c028d0c94c9b6da4 languageName: node linkType: hard @@ -1428,163 +1451,163 @@ __metadata: languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/aix-ppc64@npm:0.19.11" +"@esbuild/aix-ppc64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/aix-ppc64@npm:0.20.2" conditions: os=aix & cpu=ppc64 languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/android-arm64@npm:0.19.11" +"@esbuild/android-arm64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/android-arm64@npm:0.20.2" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@esbuild/android-arm@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/android-arm@npm:0.19.11" +"@esbuild/android-arm@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/android-arm@npm:0.20.2" conditions: os=android & cpu=arm languageName: node linkType: hard -"@esbuild/android-x64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/android-x64@npm:0.19.11" +"@esbuild/android-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/android-x64@npm:0.20.2" conditions: os=android & cpu=x64 languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/darwin-arm64@npm:0.19.11" +"@esbuild/darwin-arm64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/darwin-arm64@npm:0.20.2" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/darwin-x64@npm:0.19.11" +"@esbuild/darwin-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/darwin-x64@npm:0.20.2" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/freebsd-arm64@npm:0.19.11" +"@esbuild/freebsd-arm64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/freebsd-arm64@npm:0.20.2" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/freebsd-x64@npm:0.19.11" +"@esbuild/freebsd-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/freebsd-x64@npm:0.20.2" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/linux-arm64@npm:0.19.11" +"@esbuild/linux-arm64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-arm64@npm:0.20.2" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/linux-arm@npm:0.19.11" +"@esbuild/linux-arm@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-arm@npm:0.20.2" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/linux-ia32@npm:0.19.11" +"@esbuild/linux-ia32@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-ia32@npm:0.20.2" conditions: os=linux & cpu=ia32 languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/linux-loong64@npm:0.19.11" +"@esbuild/linux-loong64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-loong64@npm:0.20.2" conditions: os=linux & cpu=loong64 languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/linux-mips64el@npm:0.19.11" +"@esbuild/linux-mips64el@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-mips64el@npm:0.20.2" conditions: os=linux & cpu=mips64el languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/linux-ppc64@npm:0.19.11" +"@esbuild/linux-ppc64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-ppc64@npm:0.20.2" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/linux-riscv64@npm:0.19.11" +"@esbuild/linux-riscv64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-riscv64@npm:0.20.2" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/linux-s390x@npm:0.19.11" +"@esbuild/linux-s390x@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-s390x@npm:0.20.2" conditions: os=linux & cpu=s390x languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/linux-x64@npm:0.19.11" +"@esbuild/linux-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/linux-x64@npm:0.20.2" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/netbsd-x64@npm:0.19.11" +"@esbuild/netbsd-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/netbsd-x64@npm:0.20.2" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/openbsd-x64@npm:0.19.11" +"@esbuild/openbsd-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/openbsd-x64@npm:0.20.2" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/sunos-x64@npm:0.19.11" +"@esbuild/sunos-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/sunos-x64@npm:0.20.2" conditions: os=sunos & cpu=x64 languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/win32-arm64@npm:0.19.11" +"@esbuild/win32-arm64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/win32-arm64@npm:0.20.2" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/win32-ia32@npm:0.19.11" +"@esbuild/win32-ia32@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/win32-ia32@npm:0.20.2" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.19.11": - version: 0.19.11 - resolution: "@esbuild/win32-x64@npm:0.19.11" +"@esbuild/win32-x64@npm:0.20.2": + version: 0.20.2 + resolution: "@esbuild/win32-x64@npm:0.20.2" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -1624,21 +1647,21 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.56.0": - version: 8.56.0 - resolution: "@eslint/js@npm:8.56.0" - checksum: 10/97a4b5ccf7e24f4d205a1fb0f21cdcd610348ecf685f6798a48dd41ba443f2c1eedd3050ff5a0b8f30b8cf6501ab512aa9b76e531db15e59c9ebaa41f3162e37 +"@eslint/js@npm:8.57.0": + version: 8.57.0 + resolution: "@eslint/js@npm:8.57.0" + checksum: 10/3c501ce8a997cf6cbbaf4ed358af5492875e3550c19b9621413b82caa9ae5382c584b0efa79835639e6e0ddaa568caf3499318e5bdab68643ef4199dce5eb0a0 languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.13": - version: 0.11.13 - resolution: "@humanwhocodes/config-array@npm:0.11.13" +"@humanwhocodes/config-array@npm:^0.11.14": + version: 0.11.14 + resolution: "@humanwhocodes/config-array@npm:0.11.14" dependencies: - "@humanwhocodes/object-schema": "npm:^2.0.1" - debug: "npm:^4.1.1" + "@humanwhocodes/object-schema": "npm:^2.0.2" + debug: "npm:^4.3.1" minimatch: "npm:^3.0.5" - checksum: 10/9f655e1df7efa5a86822cd149ca5cef57240bb8ffd728f0c07cc682cc0a15c6bdce68425fbfd58f9b3e8b16f79b3fd8cb1e96b10c434c9a76f20b2a89f213272 + checksum: 10/3ffb24ecdfab64014a230e127118d50a1a04d11080cbb748bc21629393d100850496456bbcb4e8c438957fe0934430d731042f1264d6a167b62d32fc2863580a languageName: node linkType: hard @@ -1649,10 +1672,10 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.1": - version: 2.0.1 - resolution: "@humanwhocodes/object-schema@npm:2.0.1" - checksum: 10/dbddfd0465aecf92ed845ec30d06dba3f7bb2496d544b33b53dac7abc40370c0e46b8787b268d24a366730d5eeb5336ac88967232072a183905ee4abf7df4dab +"@humanwhocodes/object-schema@npm:^2.0.2": + version: 2.0.3 + resolution: "@humanwhocodes/object-schema@npm:2.0.3" + checksum: 10/05bb99ed06c16408a45a833f03a732f59bf6184795d4efadd33238ff8699190a8c871ad1121241bb6501589a9598dc83bf25b99dcbcf41e155cdf36e35e937a3 languageName: node linkType: hard @@ -1683,7 +1706,7 @@ __metadata: languageName: node linkType: hard -"@istanbuljs/schema@npm:^0.1.2": +"@istanbuljs/schema@npm:^0.1.2, @istanbuljs/schema@npm:^0.1.3": version: 0.1.3 resolution: "@istanbuljs/schema@npm:0.1.3" checksum: 10/a9b1e49acdf5efc2f5b2359f2df7f90c5c725f2656f16099e8b2cd3a000619ecca9fc48cf693ba789cf0fd989f6e0df6a22bc05574be4223ecdbb7997d04384b @@ -1920,38 +1943,38 @@ __metadata: languageName: node linkType: hard -"@jridgewell/gen-mapping@npm:^0.3.0, @jridgewell/gen-mapping@npm:^0.3.2": - version: 0.3.3 - resolution: "@jridgewell/gen-mapping@npm:0.3.3" +"@jridgewell/gen-mapping@npm:^0.3.5": + version: 0.3.5 + resolution: "@jridgewell/gen-mapping@npm:0.3.5" dependencies: - "@jridgewell/set-array": "npm:^1.0.1" + "@jridgewell/set-array": "npm:^1.2.1" "@jridgewell/sourcemap-codec": "npm:^1.4.10" - "@jridgewell/trace-mapping": "npm:^0.3.9" - checksum: 10/072ace159c39ab85944bdabe017c3de15c5e046a4a4a772045b00ff05e2ebdcfa3840b88ae27e897d473eb4d4845b37be3c78e28910c779f5aeeeae2fb7f0cc2 + "@jridgewell/trace-mapping": "npm:^0.3.24" + checksum: 10/81587b3c4dd8e6c60252122937cea0c637486311f4ed208b52b62aae2e7a87598f63ec330e6cd0984af494bfb16d3f0d60d3b21d7e5b4aedd2602ff3fe9d32e2 languageName: node linkType: hard "@jridgewell/resolve-uri@npm:^3.1.0": - version: 3.1.1 - resolution: "@jridgewell/resolve-uri@npm:3.1.1" - checksum: 10/64d59df8ae1a4e74315eb1b61e012f1c7bc8aac47a3a1e683f6fe7008eab07bc512a742b7aa7c0405685d1421206de58c9c2e6adbfe23832f8bd69408ffc183e + version: 3.1.2 + resolution: "@jridgewell/resolve-uri@npm:3.1.2" + checksum: 10/97106439d750a409c22c8bff822d648f6a71f3aa9bc8e5129efdc36343cd3096ddc4eeb1c62d2fe48e9bdd4db37b05d4646a17114ecebd3bbcacfa2de51c3c1d languageName: node linkType: hard -"@jridgewell/set-array@npm:^1.0.1": - version: 1.1.2 - resolution: "@jridgewell/set-array@npm:1.1.2" - checksum: 10/69a84d5980385f396ff60a175f7177af0b8da4ddb81824cb7016a9ef914eee9806c72b6b65942003c63f7983d4f39a5c6c27185bbca88eb4690b62075602e28e +"@jridgewell/set-array@npm:^1.2.1": + version: 1.2.1 + resolution: "@jridgewell/set-array@npm:1.2.1" + checksum: 10/832e513a85a588f8ed4f27d1279420d8547743cc37fcad5a5a76fc74bb895b013dfe614d0eed9cb860048e6546b798f8f2652020b4b2ba0561b05caa8c654b10 languageName: node linkType: hard "@jridgewell/source-map@npm:^0.3.3": - version: 0.3.5 - resolution: "@jridgewell/source-map@npm:0.3.5" + version: 0.3.6 + resolution: "@jridgewell/source-map@npm:0.3.6" dependencies: - "@jridgewell/gen-mapping": "npm:^0.3.0" - "@jridgewell/trace-mapping": "npm:^0.3.9" - checksum: 10/73838ac43235edecff5efc850c0d759704008937a56b1711b28c261e270fe4bf2dc06d0b08663aeb1ab304f81f6de4f5fb844344403cf53ba7096967a9953cae + "@jridgewell/gen-mapping": "npm:^0.3.5" + "@jridgewell/trace-mapping": "npm:^0.3.25" + checksum: 10/0a9aca9320dc9044014ba0ef989b3a8411b0d778895553e3b7ca2ac0a75a20af4a5ad3f202acfb1879fa40466036a4417e1d5b38305baed8b9c1ebe6e4b3e7f5 languageName: node linkType: hard @@ -1962,13 +1985,13 @@ __metadata: languageName: node linkType: hard -"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.18, @jridgewell/trace-mapping@npm:^0.3.20, @jridgewell/trace-mapping@npm:^0.3.9": - version: 0.3.20 - resolution: "@jridgewell/trace-mapping@npm:0.3.20" +"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.18, @jridgewell/trace-mapping@npm:^0.3.20, @jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.25": + version: 0.3.25 + resolution: "@jridgewell/trace-mapping@npm:0.3.25" dependencies: "@jridgewell/resolve-uri": "npm:^3.1.0" "@jridgewell/sourcemap-codec": "npm:^1.4.14" - checksum: 10/683117e4e6707ef50c725d6d0ec4234687ff751f36fa46c2b3068931eb6a86b49af374d3030200777666579a992b7470d1bd1c591e9bf64d764dda5295f33093 + checksum: 10/dced32160a44b49d531b80a4a2159dceab6b3ddf0c8e95a0deae4b0e894b172defa63d5ac52a19c2068e1fe7d31ea4ba931fbeec103233ecb4208953967120fc languageName: node linkType: hard @@ -2009,15 +2032,15 @@ __metadata: linkType: hard "@npmcli/agent@npm:^2.0.0": - version: 2.2.0 - resolution: "@npmcli/agent@npm:2.2.0" + version: 2.2.2 + resolution: "@npmcli/agent@npm:2.2.2" dependencies: agent-base: "npm:^7.1.0" http-proxy-agent: "npm:^7.0.0" https-proxy-agent: "npm:^7.0.1" lru-cache: "npm:^10.0.1" - socks-proxy-agent: "npm:^8.0.1" - checksum: 10/822ea077553cd9cfc5cbd6d92380b0950fcb054a7027cd1b63a33bd0cbb16b0c6626ea75d95ec0e804643c8904472d3361d2da8c2444b1fb02a9b525d9c07c41 + socks-proxy-agent: "npm:^8.0.3" + checksum: 10/96fc0036b101bae5032dc2a4cd832efb815ce9b33f9ee2f29909ee49d96a0026b3565f73c507a69eb8603f5cb32e0ae45a70cab1e2655990a4e06ae99f7f572a languageName: node linkType: hard @@ -2038,16 +2061,16 @@ __metadata: linkType: hard "@pkgr/core@npm:^0.1.0": - version: 0.1.0 - resolution: "@pkgr/core@npm:0.1.0" - checksum: 10/eeff0e0e517b1ed10eb4c1a8971413a8349bbfdab727dbe7d4085fd94eab95f0c3beb51b9245fef30562849d2a7a119e07ca48c343c8c4ec4e64ee289f50fe5e + version: 0.1.1 + resolution: "@pkgr/core@npm:0.1.1" + checksum: 10/6f25fd2e3008f259c77207ac9915b02f1628420403b2630c92a07ff963129238c9262afc9e84344c7a23b5cc1f3965e2cd17e3798219f5fd78a63d144d3cceba languageName: node linkType: hard "@polka/url@npm:^1.0.0-next.24": - version: 1.0.0-next.24 - resolution: "@polka/url@npm:1.0.0-next.24" - checksum: 10/00baec4458ac86ca27edf7ce807ccfad97cd1d4b67bdedaf3401a9e755757588f3331e891290d1deea52d88df2bf2387caf8d94a6835b614d5b37b638a688273 + version: 1.0.0-next.25 + resolution: "@polka/url@npm:1.0.0-next.25" + checksum: 10/4ab1d7a37163139c0e7bfc9d1e3f6a2a0db91a78b9f0a21f571d6aec2cdaeaacced744d47886c117aa7579aa5694b303fe3e0bd1922bb9cb3ce6bf7c2dc09801 languageName: node linkType: hard @@ -2066,11 +2089,11 @@ __metadata: linkType: hard "@sinonjs/commons@npm:^3.0.0": - version: 3.0.0 - resolution: "@sinonjs/commons@npm:3.0.0" + version: 3.0.1 + resolution: "@sinonjs/commons@npm:3.0.1" dependencies: type-detect: "npm:4.0.8" - checksum: 10/086720ae0bc370829322df32612205141cdd44e592a8a9ca97197571f8f970352ea39d3bda75b347c43789013ddab36b34b59e40380a49bdae1c2df3aa85fe4f + checksum: 10/a0af217ba7044426c78df52c23cedede6daf377586f3ac58857c565769358ab1f44ebf95ba04bbe38814fba6e316ca6f02870a009328294fc2c555d0f85a7117 languageName: node linkType: hard @@ -2142,16 +2165,16 @@ __metadata: linkType: hard "@types/eslint@npm:*": - version: 8.56.1 - resolution: "@types/eslint@npm:8.56.1" + version: 8.56.9 + resolution: "@types/eslint@npm:8.56.9" dependencies: "@types/estree": "npm:*" "@types/json-schema": "npm:*" - checksum: 10/985fd0293e454c459e672e73857920d0746f2eaae8b9aa13a4078c6d3d8fd0d2272f07f67b7fd9078a52d8fe7e1e61a498944129c0f4bc4c29c9cfa968168f5e + checksum: 10/fde20e8f3e5384f0ac78897b04cbaf1c78f4ba6cbdae9aeba876c00b665b498670cfcdf84a39eb4e44a6e27d6de80e24b5833d51a09d5d7e410229feb8b9c401 languageName: node linkType: hard -"@types/estree@npm:*, @types/estree@npm:^1.0.0": +"@types/estree@npm:*, @types/estree@npm:^1.0.5": version: 1.0.5 resolution: "@types/estree@npm:1.0.5" checksum: 10/7de6d928dd4010b0e20c6919e1a6c27b61f8d4567befa89252055fad503d587ecb9a1e3eab1b1901f923964d7019796db810b7fd6430acb26c32866d126fd408 @@ -2193,12 +2216,12 @@ __metadata: linkType: hard "@types/jest@npm:^29.5.11": - version: 29.5.11 - resolution: "@types/jest@npm:29.5.11" + version: 29.5.12 + resolution: "@types/jest@npm:29.5.12" dependencies: expect: "npm:^29.0.0" pretty-format: "npm:^29.0.0" - checksum: 10/798f4c89407d9457bea1256de74c26f2b279f6c789c0e3311cd604cc75cdab333b9a29b00c51b0090d31abdf11cc788b4103282851a653bef6daf72edf97eef2 + checksum: 10/312e8dcf92cdd5a5847d6426f0940829bca6fe6b5a917248f3d7f7ef5d85c9ce78ef05e47d2bbabc40d41a930e0e36db2d443d2610a9e3db9062da2d5c904211 languageName: node linkType: hard @@ -2241,11 +2264,11 @@ __metadata: linkType: hard "@types/node@npm:*, @types/node@npm:^20.10.6": - version: 20.10.6 - resolution: "@types/node@npm:20.10.6" + version: 20.12.7 + resolution: "@types/node@npm:20.12.7" dependencies: undici-types: "npm:~5.26.4" - checksum: 10/08471220d3cbbb6669835c4b78541edf5eface8f2c2e36c550cfa4ff73da73071c90e200a06359fac25d6564127597c23e178128058fb676824ec23d5178a017 + checksum: 10/b4a28a3b593a9bdca5650880b6a9acef46911d58cf7cfa57268f048e9a7157a7c3196421b96cea576850ddb732e3b54bc982c8eb5e1e5ef0635d4424c2fce801 languageName: node linkType: hard @@ -2298,46 +2321,46 @@ __metadata: linkType: hard "@typescript-eslint/parser@npm:^6.18.0": - version: 6.18.0 - resolution: "@typescript-eslint/parser@npm:6.18.0" + version: 6.21.0 + resolution: "@typescript-eslint/parser@npm:6.21.0" dependencies: - "@typescript-eslint/scope-manager": "npm:6.18.0" - "@typescript-eslint/types": "npm:6.18.0" - "@typescript-eslint/typescript-estree": "npm:6.18.0" - "@typescript-eslint/visitor-keys": "npm:6.18.0" + "@typescript-eslint/scope-manager": "npm:6.21.0" + "@typescript-eslint/types": "npm:6.21.0" + "@typescript-eslint/typescript-estree": "npm:6.21.0" + "@typescript-eslint/visitor-keys": "npm:6.21.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 10/6798332819f839454a8405e31cfaa0fe908d5966be929bef55e78ac51a0ff3868feb42b38e7772cedf88277f6b2841b3d91f6c573eacb945e2741ecae94047c7 + checksum: 10/4d51cdbc170e72275efc5ef5fce48a81ec431e4edde8374f4d0213d8d370a06823e1a61ae31d502a5f1b0d1f48fc4d29a1b1b5c2dcf809d66d3872ccf6e46ac7 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.18.0": - version: 6.18.0 - resolution: "@typescript-eslint/scope-manager@npm:6.18.0" +"@typescript-eslint/scope-manager@npm:6.21.0": + version: 6.21.0 + resolution: "@typescript-eslint/scope-manager@npm:6.21.0" dependencies: - "@typescript-eslint/types": "npm:6.18.0" - "@typescript-eslint/visitor-keys": "npm:6.18.0" - checksum: 10/c2c465e6803f78d3300142167a8a79dd2613c64cf464a40a9cf6b13a2c10c3d82ca30bb9c2d26aba7f054b8740b38e1d25f377fcdf917aba489d5b5ea2550858 + "@typescript-eslint/types": "npm:6.21.0" + "@typescript-eslint/visitor-keys": "npm:6.21.0" + checksum: 10/fe91ac52ca8e09356a71dc1a2f2c326480f3cccfec6b2b6d9154c1a90651ab8ea270b07c67df5678956c3bbf0bbe7113ab68f68f21b20912ea528b1214197395 languageName: node linkType: hard -"@typescript-eslint/types@npm:6.18.0": - version: 6.18.0 - resolution: "@typescript-eslint/types@npm:6.18.0" - checksum: 10/fc507ca7a1bfec04467087165ff6722f7b9aa9a089ecf0c17656824a951b92ca014766e480122de850057c63a3066628985eb0681c5bbb80ab41d94e7bb52288 +"@typescript-eslint/types@npm:6.21.0": + version: 6.21.0 + resolution: "@typescript-eslint/types@npm:6.21.0" + checksum: 10/e26da86d6f36ca5b6ef6322619f8ec55aabcd7d43c840c977ae13ae2c964c3091fc92eb33730d8be08927c9de38466c5323e78bfb270a9ff1d3611fe821046c5 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.18.0": - version: 6.18.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.18.0" +"@typescript-eslint/typescript-estree@npm:6.21.0": + version: 6.21.0 + resolution: "@typescript-eslint/typescript-estree@npm:6.21.0" dependencies: - "@typescript-eslint/types": "npm:6.18.0" - "@typescript-eslint/visitor-keys": "npm:6.18.0" + "@typescript-eslint/types": "npm:6.21.0" + "@typescript-eslint/visitor-keys": "npm:6.21.0" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" @@ -2347,17 +2370,17 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/b65392e944baba97ed98e99a1e7122b7b05fa0d9a082b48d0190b377ae9e2ae4ed72d505a2f0f05f2ca78908f0e4b0f1acd44d345c7f4f4415fcec6bb2c57791 + checksum: 10/b32fa35fca2a229e0f5f06793e5359ff9269f63e9705e858df95d55ca2cd7fdb5b3e75b284095a992c48c5fc46a1431a1a4b6747ede2dd08929dc1cbacc589b8 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.18.0": - version: 6.18.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.18.0" +"@typescript-eslint/visitor-keys@npm:6.21.0": + version: 6.21.0 + resolution: "@typescript-eslint/visitor-keys@npm:6.21.0" dependencies: - "@typescript-eslint/types": "npm:6.18.0" + "@typescript-eslint/types": "npm:6.21.0" eslint-visitor-keys: "npm:^3.4.1" - checksum: 10/bf34a357549d515607c761f385b7c7c82aaa07795cada0be2e1e3860c5103fbf731408ac07eaeb0517b51426d77ef9b194dfb94f205c776107a46e0d0027b452 + checksum: 10/30422cdc1e2ffad203df40351a031254b272f9c6f2b7e02e9bfa39e3fc2c7b1c6130333b0057412968deda17a3a68a578a78929a8139c6acef44d9d841dc72e1 languageName: node linkType: hard @@ -2368,13 +2391,13 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/ast@npm:1.11.6, @webassemblyjs/ast@npm:^1.11.5": - version: 1.11.6 - resolution: "@webassemblyjs/ast@npm:1.11.6" +"@webassemblyjs/ast@npm:1.12.1, @webassemblyjs/ast@npm:^1.12.1": + version: 1.12.1 + resolution: "@webassemblyjs/ast@npm:1.12.1" dependencies: "@webassemblyjs/helper-numbers": "npm:1.11.6" "@webassemblyjs/helper-wasm-bytecode": "npm:1.11.6" - checksum: 10/4c1303971ccd5188731c9b01073d9738333f37b946a48c4e049f7b788706cdc66f473cd6f3e791423a94c52a3b2230d070007930d29bccbce238b23835839f3c + checksum: 10/a775b0559437ae122d14fec0cfe59fdcaf5ca2d8ff48254014fd05d6797e20401e0f1518e628f9b06819aa085834a2534234977f9608b3f2e51f94b6e8b0bc43 languageName: node linkType: hard @@ -2392,10 +2415,10 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/helper-buffer@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/helper-buffer@npm:1.11.6" - checksum: 10/b14d0573bf680d22b2522e8a341ec451fddd645d1f9c6bd9012ccb7e587a2973b86ab7b89fe91e1c79939ba96095f503af04369a3b356c8023c13a5893221644 +"@webassemblyjs/helper-buffer@npm:1.12.1": + version: 1.12.1 + resolution: "@webassemblyjs/helper-buffer@npm:1.12.1" + checksum: 10/1d8705daa41f4d22ef7c6d422af4c530b84d69d0c253c6db5adec44d511d7caa66837803db5b1addcea611a1498fd5a67d2cf318b057a916283ae41ffb85ba8a languageName: node linkType: hard @@ -2417,15 +2440,15 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/helper-wasm-section@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/helper-wasm-section@npm:1.11.6" +"@webassemblyjs/helper-wasm-section@npm:1.12.1": + version: 1.12.1 + resolution: "@webassemblyjs/helper-wasm-section@npm:1.12.1" dependencies: - "@webassemblyjs/ast": "npm:1.11.6" - "@webassemblyjs/helper-buffer": "npm:1.11.6" + "@webassemblyjs/ast": "npm:1.12.1" + "@webassemblyjs/helper-buffer": "npm:1.12.1" "@webassemblyjs/helper-wasm-bytecode": "npm:1.11.6" - "@webassemblyjs/wasm-gen": "npm:1.11.6" - checksum: 10/38a615ab3d55f953daaf78b69f145e2cc1ff5288ab71715d1a164408b735c643a87acd7e7ba3e9633c5dd965439a45bb580266b05a06b22ff678d6c013514108 + "@webassemblyjs/wasm-gen": "npm:1.12.1" + checksum: 10/e91e6b28114e35321934070a2db8973a08a5cd9c30500b817214c683bbf5269ed4324366dd93ad83bf2fba0d671ac8f39df1c142bf58f70c57a827eeba4a3d2f languageName: node linkType: hard @@ -2454,68 +2477,68 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/wasm-edit@npm:^1.11.5": - version: 1.11.6 - resolution: "@webassemblyjs/wasm-edit@npm:1.11.6" +"@webassemblyjs/wasm-edit@npm:^1.12.1": + version: 1.12.1 + resolution: "@webassemblyjs/wasm-edit@npm:1.12.1" dependencies: - "@webassemblyjs/ast": "npm:1.11.6" - "@webassemblyjs/helper-buffer": "npm:1.11.6" + "@webassemblyjs/ast": "npm:1.12.1" + "@webassemblyjs/helper-buffer": "npm:1.12.1" "@webassemblyjs/helper-wasm-bytecode": "npm:1.11.6" - "@webassemblyjs/helper-wasm-section": "npm:1.11.6" - "@webassemblyjs/wasm-gen": "npm:1.11.6" - "@webassemblyjs/wasm-opt": "npm:1.11.6" - "@webassemblyjs/wasm-parser": "npm:1.11.6" - "@webassemblyjs/wast-printer": "npm:1.11.6" - checksum: 10/c168bfc6d0cdd371345f36f95a4766d098a96ccc1257e6a6e3a74d987a5c4f2ddd2244a6aecfa5d032a47d74ed2c3b579e00a314d31e4a0b76ad35b31cdfa162 + "@webassemblyjs/helper-wasm-section": "npm:1.12.1" + "@webassemblyjs/wasm-gen": "npm:1.12.1" + "@webassemblyjs/wasm-opt": "npm:1.12.1" + "@webassemblyjs/wasm-parser": "npm:1.12.1" + "@webassemblyjs/wast-printer": "npm:1.12.1" + checksum: 10/5678ae02dbebba2f3a344e25928ea5a26a0df777166c9be77a467bfde7aca7f4b57ef95587e4bd768a402cdf2fddc4c56f0a599d164cdd9fe313520e39e18137 languageName: node linkType: hard -"@webassemblyjs/wasm-gen@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/wasm-gen@npm:1.11.6" +"@webassemblyjs/wasm-gen@npm:1.12.1": + version: 1.12.1 + resolution: "@webassemblyjs/wasm-gen@npm:1.12.1" dependencies: - "@webassemblyjs/ast": "npm:1.11.6" + "@webassemblyjs/ast": "npm:1.12.1" "@webassemblyjs/helper-wasm-bytecode": "npm:1.11.6" "@webassemblyjs/ieee754": "npm:1.11.6" "@webassemblyjs/leb128": "npm:1.11.6" "@webassemblyjs/utf8": "npm:1.11.6" - checksum: 10/f91903506ce50763592863df5d80ffee80f71a1994a882a64cdb83b5e44002c715f1ef1727d8ccb0692d066af34d3d4f5e59e8f7a4e2eeb2b7c32692ac44e363 + checksum: 10/ec45bd50e86bc9856f80fe9af4bc1ae5c98fb85f57023d11dff2b670da240c47a7b1b9b6c89755890314212bd167cf3adae7f1157216ddffb739a4ce589fc338 languageName: node linkType: hard -"@webassemblyjs/wasm-opt@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/wasm-opt@npm:1.11.6" +"@webassemblyjs/wasm-opt@npm:1.12.1": + version: 1.12.1 + resolution: "@webassemblyjs/wasm-opt@npm:1.12.1" dependencies: - "@webassemblyjs/ast": "npm:1.11.6" - "@webassemblyjs/helper-buffer": "npm:1.11.6" - "@webassemblyjs/wasm-gen": "npm:1.11.6" - "@webassemblyjs/wasm-parser": "npm:1.11.6" - checksum: 10/e0cfeea381ecbbd0ca1616e9a08974acfe7fc81f8a16f9f2d39f565dc51784dd7043710b6e972f9968692d273e32486b9a8a82ca178d4bd520b2d5e2cf28234d + "@webassemblyjs/ast": "npm:1.12.1" + "@webassemblyjs/helper-buffer": "npm:1.12.1" + "@webassemblyjs/wasm-gen": "npm:1.12.1" + "@webassemblyjs/wasm-parser": "npm:1.12.1" + checksum: 10/21f25ae109012c49bb084e09f3b67679510429adc3e2408ad3621b2b505379d9cce337799a7919ef44db64e0d136833216914aea16b0d4856f353b9778e0cdb7 languageName: node linkType: hard -"@webassemblyjs/wasm-parser@npm:1.11.6, @webassemblyjs/wasm-parser@npm:^1.11.5": - version: 1.11.6 - resolution: "@webassemblyjs/wasm-parser@npm:1.11.6" +"@webassemblyjs/wasm-parser@npm:1.12.1, @webassemblyjs/wasm-parser@npm:^1.12.1": + version: 1.12.1 + resolution: "@webassemblyjs/wasm-parser@npm:1.12.1" dependencies: - "@webassemblyjs/ast": "npm:1.11.6" + "@webassemblyjs/ast": "npm:1.12.1" "@webassemblyjs/helper-api-error": "npm:1.11.6" "@webassemblyjs/helper-wasm-bytecode": "npm:1.11.6" "@webassemblyjs/ieee754": "npm:1.11.6" "@webassemblyjs/leb128": "npm:1.11.6" "@webassemblyjs/utf8": "npm:1.11.6" - checksum: 10/6995e0b7b8ebc52b381459c6a555f87763dcd3975c4a112407682551e1c73308db7af23385972a253dceb5af94e76f9c97cb861e8239b5ed1c3e79b95d8e2097 + checksum: 10/f7311685b76c3e1def2abea3488be1e77f06ecd8633143a6c5c943ca289660952b73785231bb76a010055ca64645227a4bc79705c26ab7536216891b6bb36320 languageName: node linkType: hard -"@webassemblyjs/wast-printer@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/wast-printer@npm:1.11.6" +"@webassemblyjs/wast-printer@npm:1.12.1": + version: 1.12.1 + resolution: "@webassemblyjs/wast-printer@npm:1.12.1" dependencies: - "@webassemblyjs/ast": "npm:1.11.6" + "@webassemblyjs/ast": "npm:1.12.1" "@xtuc/long": "npm:4.2.2" - checksum: 10/fd45fd0d693141d678cc2f6ff2d3a0d7a8884acb1c92fb0c63cf43b7978e9560be04118b12792638a39dd185640453510229e736f3049037d0c361f6435f2d5f + checksum: 10/1a6a4b6bc4234f2b5adbab0cb11a24911b03380eb1cab6fb27a2250174a279fdc6aa2f5a9cf62dd1f6d4eb39f778f488e8ff15b9deb0670dee5c5077d46cf572 languageName: node linkType: hard @@ -2609,9 +2632,9 @@ __metadata: linkType: hard "acorn-walk@npm:^8.0.0, acorn-walk@npm:^8.0.2": - version: 8.3.1 - resolution: "acorn-walk@npm:8.3.1" - checksum: 10/64187f1377afcba01ec6a57950e3f6a31fff50e429cdb9c9ab2c24343375e711f0d552e5fce5b6ecf21f754566e7526b6d79e4da80bd83c7ad15644d285b2ad5 + version: 8.3.2 + resolution: "acorn-walk@npm:8.3.2" + checksum: 10/57dbe2fd8cf744f562431775741c5c087196cd7a65ce4ccb3f3981cdfad25cd24ad2bad404997b88464ac01e789a0a61e5e355b2a84876f13deef39fb39686ca languageName: node linkType: hard @@ -2633,12 +2656,12 @@ __metadata: languageName: node linkType: hard -"agent-base@npm:^7.0.2, agent-base@npm:^7.1.0": - version: 7.1.0 - resolution: "agent-base@npm:7.1.0" +"agent-base@npm:^7.0.2, agent-base@npm:^7.1.0, agent-base@npm:^7.1.1": + version: 7.1.1 + resolution: "agent-base@npm:7.1.1" dependencies: debug: "npm:^4.3.4" - checksum: 10/f7828f991470a0cc22cb579c86a18cbae83d8a3cbed39992ab34fc7217c4d126017f1c74d0ab66be87f71455318a8ea3e757d6a37881b8d0f2a2c6aa55e5418f + checksum: 10/c478fec8f79953f118704d007a38f2a185458853f5c45579b9669372bd0e12602e88dc2ad0233077831504f7cd6fcc8251c383375bba5eaaf563b102938bda26 languageName: node linkType: hard @@ -2791,26 +2814,27 @@ __metadata: languageName: node linkType: hard -"array-buffer-byte-length@npm:^1.0.0": - version: 1.0.0 - resolution: "array-buffer-byte-length@npm:1.0.0" +"array-buffer-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "array-buffer-byte-length@npm:1.0.1" dependencies: - call-bind: "npm:^1.0.2" - is-array-buffer: "npm:^3.0.1" - checksum: 10/044e101ce150f4804ad19c51d6c4d4cfa505c5b2577bd179256e4aa3f3f6a0a5e9874c78cd428ee566ac574c8a04d7ce21af9fe52e844abfdccb82b33035a7c3 + call-bind: "npm:^1.0.5" + is-array-buffer: "npm:^3.0.4" + checksum: 10/53524e08f40867f6a9f35318fafe467c32e45e9c682ba67b11943e167344d2febc0f6977a17e699b05699e805c3e8f073d876f8bbf1b559ed494ad2cd0fae09e languageName: node linkType: hard -"array-includes@npm:^3.1.6": - version: 3.1.7 - resolution: "array-includes@npm:3.1.7" +"array-includes@npm:^3.1.6, array-includes@npm:^3.1.7": + version: 3.1.8 + resolution: "array-includes@npm:3.1.8" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - get-intrinsic: "npm:^1.2.1" + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-object-atoms: "npm:^1.0.0" + get-intrinsic: "npm:^1.2.4" is-string: "npm:^1.0.7" - checksum: 10/856a8be5d118967665936ad33ff3b07adfc50b06753e596e91fb80c3da9b8c022e92e3cc6781156d6ad95db7109b9f603682c7df2d6a529ed01f7f6b39a4a360 + checksum: 10/290b206c9451f181fb2b1f79a3bf1c0b66bb259791290ffbada760c79b284eef6f5ae2aeb4bcff450ebc9690edd25732c4c73a3c2b340fcc0f4563aed83bf488 languageName: node linkType: hard @@ -2821,6 +2845,20 @@ __metadata: languageName: node linkType: hard +"array.prototype.findlast@npm:^1.2.4": + version: 1.2.5 + resolution: "array.prototype.findlast@npm:1.2.5" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.0.0" + es-shim-unscopables: "npm:^1.0.2" + checksum: 10/7dffcc665aa965718ad6de7e17ac50df0c5e38798c0a5bf9340cf24feb8594df6ec6f3fcbe714c1577728a1b18b5704b15669474b27bceeca91ef06ce2a23c31 + languageName: node + linkType: hard + "array.prototype.flat@npm:^1.3.1": version: 1.3.2 resolution: "array.prototype.flat@npm:1.3.2" @@ -2833,7 +2871,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.flatmap@npm:^1.3.1": +"array.prototype.flatmap@npm:^1.3.2": version: 1.3.2 resolution: "array.prototype.flatmap@npm:1.3.2" dependencies: @@ -2845,40 +2883,44 @@ __metadata: languageName: node linkType: hard -"array.prototype.tosorted@npm:^1.1.1": +"array.prototype.toreversed@npm:^1.1.2": version: 1.1.2 - resolution: "array.prototype.tosorted@npm:1.1.2" + resolution: "array.prototype.toreversed@npm:1.1.2" dependencies: call-bind: "npm:^1.0.2" define-properties: "npm:^1.2.0" es-abstract: "npm:^1.22.1" es-shim-unscopables: "npm:^1.0.0" - get-intrinsic: "npm:^1.2.1" - checksum: 10/aadb7725bb923f594be8121c80def8193ff2871ce1bfa1180b7e7ef705b8a7b32327fcc0d998c5569bb0cabc1c11ad93b1ef11443a26091e8bd1a55b382ab715 + checksum: 10/b4076d687ddc22c191863ce105d320cc4b0e1435bfda9ffeeff681682fe88fa6fe30e0d2ae94fa4b2d7fad901e1954ea4f75c1cab217db4848da84a2b5889192 languageName: node linkType: hard -"arraybuffer.prototype.slice@npm:^1.0.2": - version: 1.0.2 - resolution: "arraybuffer.prototype.slice@npm:1.0.2" +"array.prototype.tosorted@npm:^1.1.3": + version: 1.1.3 + resolution: "array.prototype.tosorted@npm:1.1.3" dependencies: - array-buffer-byte-length: "npm:^1.0.0" - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - get-intrinsic: "npm:^1.2.1" - is-array-buffer: "npm:^3.0.2" - is-shared-array-buffer: "npm:^1.0.2" - checksum: 10/c200faf437786f5b2c80d4564ff5481c886a16dee642ef02abdc7306c7edd523d1f01d1dd12b769c7eb42ac9bc53874510db19a92a2c035c0f6696172aafa5d3 + call-bind: "npm:^1.0.5" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.22.3" + es-errors: "npm:^1.1.0" + es-shim-unscopables: "npm:^1.0.2" + checksum: 10/9a5b7909a9ddd02a5f5489911766c314a11fb40f8f5106bdbedf6c21898763faeb78ba3af53f7038f288de9161d2605ad10d8b720e07f71a7ed1de49f39c0897 languageName: node linkType: hard -"asynciterator.prototype@npm:^1.0.0": - version: 1.0.0 - resolution: "asynciterator.prototype@npm:1.0.0" +"arraybuffer.prototype.slice@npm:^1.0.3": + version: 1.0.3 + resolution: "arraybuffer.prototype.slice@npm:1.0.3" dependencies: - has-symbols: "npm:^1.0.3" - checksum: 10/e8ebfd9493ac651cf9b4165e9d64030b3da1d17181bb1963627b59e240cdaf021d9b59d44b827dc1dde4e22387ec04c2d0f8720cf58a1c282e34e40cc12721b3 + array-buffer-byte-length: "npm:^1.0.1" + call-bind: "npm:^1.0.5" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.22.3" + es-errors: "npm:^1.2.1" + get-intrinsic: "npm:^1.2.3" + is-array-buffer: "npm:^3.0.4" + is-shared-array-buffer: "npm:^1.0.2" + checksum: 10/0221f16c1e3ec7b67da870ee0e1f12b825b5f9189835392b59a22990f715827561a4f4cd5330dc7507de272d8df821be6cd4b0cb569babf5ea4be70e365a2f3d languageName: node linkType: hard @@ -2889,21 +2931,23 @@ __metadata: languageName: node linkType: hard -"available-typed-arrays@npm:^1.0.5": - version: 1.0.5 - resolution: "available-typed-arrays@npm:1.0.5" - checksum: 10/4d4d5e86ea0425696f40717882f66a570647b94ac8d273ddc7549a9b61e5da099e149bf431530ccbd776bd74e02039eb8b5edf426e3e2211ee61af16698a9064 +"available-typed-arrays@npm:^1.0.7": + version: 1.0.7 + resolution: "available-typed-arrays@npm:1.0.7" + dependencies: + possible-typed-array-names: "npm:^1.0.0" + checksum: 10/6c9da3a66caddd83c875010a1ca8ef11eac02ba15fb592dc9418b2b5e7b77b645fa7729380a92d9835c2f05f2ca1b6251f39b993e0feb3f1517c74fa1af02cab languageName: node linkType: hard "axios@npm:^1.6.2": - version: 1.6.4 - resolution: "axios@npm:1.6.4" + version: 1.6.8 + resolution: "axios@npm:1.6.8" dependencies: - follow-redirects: "npm:^1.15.4" + follow-redirects: "npm:^1.15.6" form-data: "npm:^4.0.0" proxy-from-env: "npm:^1.1.0" - checksum: 10/ed15229f447dd81a5a9e3dac5c84d64f8598145b1102fb6f8c5feb0d02d0dafaef7bf071d2575a7687dd0c014b9da2edbcff59ee9a57b59da941ae673b938919 + checksum: 10/3f9a79eaf1d159544fca9576261ff867cbbff64ed30017848e4210e49f3b01e97cf416390150e6fdf6633f336cd43dc1151f890bbd09c3c01ad60bb0891eee63 languageName: node linkType: hard @@ -2974,39 +3018,39 @@ __metadata: languageName: node linkType: hard -"babel-plugin-polyfill-corejs2@npm:^0.4.7": - version: 0.4.7 - resolution: "babel-plugin-polyfill-corejs2@npm:0.4.7" +"babel-plugin-polyfill-corejs2@npm:^0.4.10": + version: 0.4.10 + resolution: "babel-plugin-polyfill-corejs2@npm:0.4.10" dependencies: "@babel/compat-data": "npm:^7.22.6" - "@babel/helper-define-polyfill-provider": "npm:^0.4.4" + "@babel/helper-define-polyfill-provider": "npm:^0.6.1" semver: "npm:^6.3.1" peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 10/3b61cdb275592f61b29d582ee8c738a13d9897c5dd201cddb0610b381f3ae139ebc988ac96f72978fc143c3d50c15d46618df865822e282c8e76c236e7378b63 + checksum: 10/9fb5e59a3235eba66fb05060b2a3ecd6923084f100df7526ab74b6272347d7adcf99e17366b82df36e592cde4e82fdb7ae24346a990eced76c7d504cac243400 languageName: node linkType: hard -"babel-plugin-polyfill-corejs3@npm:^0.8.7": - version: 0.8.7 - resolution: "babel-plugin-polyfill-corejs3@npm:0.8.7" +"babel-plugin-polyfill-corejs3@npm:^0.10.4": + version: 0.10.4 + resolution: "babel-plugin-polyfill-corejs3@npm:0.10.4" dependencies: - "@babel/helper-define-polyfill-provider": "npm:^0.4.4" - core-js-compat: "npm:^3.33.1" + "@babel/helper-define-polyfill-provider": "npm:^0.6.1" + core-js-compat: "npm:^3.36.1" peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 10/defbc6de3d309c9639dd31223b5011707fcc0384037ac5959a1aefe16eb314562e1c1e5cfbce0af14a220d639ef92dfe5baf66664e9e6054656aca2841677622 + checksum: 10/a69ed5a95bb55e9b7ea37307d56113f7e24054d479c15de6d50fa61388b5334bed1f9b6414cde6c575fa910a4de4d1ab4f2d22720967d57c4fec9d1b8f61b355 languageName: node linkType: hard -"babel-plugin-polyfill-regenerator@npm:^0.5.4": - version: 0.5.4 - resolution: "babel-plugin-polyfill-regenerator@npm:0.5.4" +"babel-plugin-polyfill-regenerator@npm:^0.6.1": + version: 0.6.1 + resolution: "babel-plugin-polyfill-regenerator@npm:0.6.1" dependencies: - "@babel/helper-define-polyfill-provider": "npm:^0.4.4" + "@babel/helper-define-polyfill-provider": "npm:^0.6.1" peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 10/461b735c6c0eca3c7b4434d14bfa98c2ab80f00e2bdc1c69eb46d1d300092a9786d76bbd3ee55e26d2d1a2380c14592d8d638e271dfd2a2b78a9eacffa3645d1 + checksum: 10/9df4a8e9939dd419fed3d9ea26594b4479f2968f37c225e1b2aa463001d7721f5537740e6622909d2a570b61cec23256924a1701404fc9d6fd4474d3e845cedb languageName: node linkType: hard @@ -3058,6 +3102,15 @@ __metadata: languageName: node linkType: hard +"bidi-js@npm:^1.0.3": + version: 1.0.3 + resolution: "bidi-js@npm:1.0.3" + dependencies: + require-from-string: "npm:^2.0.2" + checksum: 10/c4341c7a98797efe3d186cd99d6f97e9030a4f959794ca200ef2ec0a678483a916335bba6c2c0608a21d04a221288a31c9fd0faa0cd9b3903b93594b42466a6a + languageName: node + linkType: hard + "big.js@npm:^5.2.2": version: 5.2.2 resolution: "big.js@npm:5.2.2" @@ -3066,9 +3119,9 @@ __metadata: linkType: hard "binary-extensions@npm:^2.0.0": - version: 2.2.0 - resolution: "binary-extensions@npm:2.2.0" - checksum: 10/ccd267956c58d2315f5d3ea6757cf09863c5fc703e50fbeb13a7dc849b812ef76e3cf9ca8f35a0c48498776a7478d7b4a0418e1e2b8cb9cb9731f2922aaad7f8 + version: 2.3.0 + resolution: "binary-extensions@npm:2.3.0" + checksum: 10/bcad01494e8a9283abf18c1b967af65ee79b0c6a9e6fcfafebfe91dbe6e0fc7272bafb73389e198b310516ae04f7ad17d79aacf6cb4c0d5d5202a7e2e52c7d98 languageName: node linkType: hard @@ -3100,17 +3153,17 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.14.5, browserslist@npm:^4.22.2": - version: 4.22.2 - resolution: "browserslist@npm:4.22.2" +"browserslist@npm:^4.21.10, browserslist@npm:^4.22.2, browserslist@npm:^4.23.0": + version: 4.23.0 + resolution: "browserslist@npm:4.23.0" dependencies: - caniuse-lite: "npm:^1.0.30001565" - electron-to-chromium: "npm:^1.4.601" + caniuse-lite: "npm:^1.0.30001587" + electron-to-chromium: "npm:^1.4.668" node-releases: "npm:^2.0.14" update-browserslist-db: "npm:^1.0.13" bin: browserslist: cli.js - checksum: 10/e3590793db7f66ad3a50817e7b7f195ce61e029bd7187200244db664bfbe0ac832f784e4f6b9c958aef8ea4abe001ae7880b7522682df521f4bc0a5b67660b5e + checksum: 10/496c3862df74565dd942b4ae65f502c575cbeba1fa4a3894dad7aa3b16130dc3033bc502d8848147f7b625154a284708253d9598bcdbef5a1e34cf11dc7bad8e languageName: node linkType: hard @@ -3131,8 +3184,8 @@ __metadata: linkType: hard "cacache@npm:^18.0.0": - version: 18.0.1 - resolution: "cacache@npm:18.0.1" + version: 18.0.2 + resolution: "cacache@npm:18.0.2" dependencies: "@npmcli/fs": "npm:^3.1.0" fs-minipass: "npm:^3.0.0" @@ -3146,18 +3199,20 @@ __metadata: ssri: "npm:^10.0.0" tar: "npm:^6.1.11" unique-filename: "npm:^3.0.0" - checksum: 10/aecafd368fbfb2fc0cda1f2f831fe5a1d8161d2121317c92ac089bcd985085e8a588e810b4471e69946f91c6d2661849400e963231563c519aa1e3dac2cf6187 + checksum: 10/5ca58464f785d4d64ac2019fcad95451c8c89bea25949f63acd8987fcc3493eaef1beccc0fa39e673506d879d3fc1ab420760f8a14f8ddf46ea2d121805a5e96 languageName: node linkType: hard -"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2, call-bind@npm:^1.0.4, call-bind@npm:^1.0.5": - version: 1.0.5 - resolution: "call-bind@npm:1.0.5" +"call-bind@npm:^1.0.2, call-bind@npm:^1.0.5, call-bind@npm:^1.0.6, call-bind@npm:^1.0.7": + version: 1.0.7 + resolution: "call-bind@npm:1.0.7" dependencies: + es-define-property: "npm:^1.0.0" + es-errors: "npm:^1.3.0" function-bind: "npm:^1.1.2" - get-intrinsic: "npm:^1.2.1" - set-function-length: "npm:^1.1.1" - checksum: 10/246d44db6ef9bbd418828dbd5337f80b46be4398d522eded015f31554cbb2ea33025b0203b75c7ab05a1a255b56ef218880cca1743e4121e306729f9e414da39 + get-intrinsic: "npm:^1.2.4" + set-function-length: "npm:^1.2.1" + checksum: 10/cd6fe658e007af80985da5185bff7b55e12ef4c2b6f41829a26ed1eef254b1f1c12e3dfd5b2b068c6ba8b86aba62390842d81752e67dcbaec4f6f76e7113b6b7 languageName: node linkType: hard @@ -3182,10 +3237,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001565": - version: 1.0.30001572 - resolution: "caniuse-lite@npm:1.0.30001572" - checksum: 10/cf27b354c0af58d5468cdc0ecea5bff381bc382378016b36b05790929f80e321ee712470a536911dee82e946ad4be246a21326835f1da599c6ee12ec150ae8b7 +"caniuse-lite@npm:^1.0.30001587": + version: 1.0.30001609 + resolution: "caniuse-lite@npm:1.0.30001609" + checksum: 10/37a1f30ce94f3e992f0b737c0d5430307852b3f9931dc489804988e76b71009a2bb31550ef9e3e8d478625ccfdb78f2abb47741874debdd620ee107e281b0e33 languageName: node linkType: hard @@ -3218,8 +3273,8 @@ __metadata: linkType: hard "chokidar@npm:>=3.0.0 <4.0.0": - version: 3.5.3 - resolution: "chokidar@npm:3.5.3" + version: 3.6.0 + resolution: "chokidar@npm:3.6.0" dependencies: anymatch: "npm:~3.1.2" braces: "npm:~3.0.2" @@ -3232,7 +3287,7 @@ __metadata: dependenciesMeta: fsevents: optional: true - checksum: 10/863e3ff78ee7a4a24513d2a416856e84c8e4f5e60efbe03e8ab791af1a183f569b62fc6f6b8044e2804966cb81277ddbbc1dc374fba3265bd609ea8efd62f5b3 + checksum: 10/c327fb07704443f8d15f7b4a7ce93b2f0bc0e6cea07ec28a7570aa22cd51fcf0379df589403976ea956c369f25aa82d84561947e227cd925902e1751371658df languageName: node linkType: hard @@ -3403,19 +3458,19 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.33.1": - version: 3.35.0 - resolution: "core-js-compat@npm:3.35.0" +"core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.36.1": + version: 3.36.1 + resolution: "core-js-compat@npm:3.36.1" dependencies: - browserslist: "npm:^4.22.2" - checksum: 10/aa21ad2f0c946be7a8ecef92233bc003a38fa27e43a925fcd9b79e32ae49b879e0f5c23459ffc310df38ee547389b8e5e43a6a8be0b2369b9b9ebf3d04ae69b9 + browserslist: "npm:^4.23.0" + checksum: 10/d86b46805de7f5ba3675ed21532ecc64b6c1f123be7286b9efa7941ec087cd8d2446cb555f03a407dbbbeb6e881d1baf92eaffb7f051b11d9103f39c8731fa62 languageName: node linkType: hard "core-js@npm:^3.35.0": - version: 3.35.0 - resolution: "core-js@npm:3.35.0" - checksum: 10/0815fce6bcc91d79d4b28885975453b0faa4d17fc2230635102b4f3832cd621035e4032aa3307e1dbe0ee14d5e34bcb64b507fd89bd8f567aedaf29538522e6a + version: 3.36.1 + resolution: "core-js@npm:3.36.1" + checksum: 10/ce1e1bfc1034b6f2ff7c91077319e8abdd650ee606ffe6e80073e64ab9d8aad2d6a6d953461b01f331a6f796ad2fd766a3386b88aa371b45d44fa7c0b9913ce6 languageName: node linkType: hard @@ -3448,20 +3503,36 @@ __metadata: linkType: hard "css-loader@npm:^6.8.1": - version: 6.8.1 - resolution: "css-loader@npm:6.8.1" + version: 6.11.0 + resolution: "css-loader@npm:6.11.0" dependencies: icss-utils: "npm:^5.1.0" - postcss: "npm:^8.4.21" - postcss-modules-extract-imports: "npm:^3.0.0" - postcss-modules-local-by-default: "npm:^4.0.3" - postcss-modules-scope: "npm:^3.0.0" + postcss: "npm:^8.4.33" + postcss-modules-extract-imports: "npm:^3.1.0" + postcss-modules-local-by-default: "npm:^4.0.5" + postcss-modules-scope: "npm:^3.2.0" postcss-modules-values: "npm:^4.0.0" postcss-value-parser: "npm:^4.2.0" - semver: "npm:^7.3.8" + semver: "npm:^7.5.4" peerDependencies: + "@rspack/core": 0.x || 1.x webpack: ^5.0.0 - checksum: 10/f20bb2a181c64d2f49586ab3922cae884519cfc8ae9ba8513065032255ed7bbdb4de75362f99d641d39d36d3732b7932884cd0e6fc71c8b0fb8b99a654f9cd08 + peerDependenciesMeta: + "@rspack/core": + optional: true + webpack: + optional: true + checksum: 10/9e3665509f6786d46683de5c5f5c4bdd4aa62396b4017b41dbbb41ea5ada4012c80ee1e3302b79b504bc24da7fa69e3552d99006cecc953e0d9eef4a3053b929 + languageName: node + linkType: hard + +"css-tree@npm:^2.3.1": + version: 2.3.1 + resolution: "css-tree@npm:2.3.1" + dependencies: + mdn-data: "npm:2.0.30" + source-map-js: "npm:^1.0.1" + checksum: 10/e5e39b82eb4767c664fa5c2cd9968c8c7e6b7fd2c0079b52680a28466d851e2826d5e64699c449d933c0e8ca0554beca43c41a9fcb09fb6a46139d462dbdf0df languageName: node linkType: hard @@ -3506,6 +3577,13 @@ __metadata: languageName: node linkType: hard +"csstype@npm:^3.1.3": + version: 3.1.3 + resolution: "csstype@npm:3.1.3" + checksum: 10/f593cce41ff5ade23f44e77521e3a1bcc2c64107041e1bf6c3c32adc5187d0d60983292fda326154d20b01079e24931aa5b08e4467cc488b60bb1e7f6d478ade + languageName: node + linkType: hard + "data-urls@npm:^3.0.2": version: 3.0.2 resolution: "data-urls@npm:3.0.2" @@ -3517,13 +3595,46 @@ __metadata: languageName: node linkType: hard -"data-urls@npm:^5.0.0": - version: 5.0.0 - resolution: "data-urls@npm:5.0.0" +"data-urls@npm:^5.0.0": + version: 5.0.0 + resolution: "data-urls@npm:5.0.0" + dependencies: + whatwg-mimetype: "npm:^4.0.0" + whatwg-url: "npm:^14.0.0" + checksum: 10/5c40568c31b02641a70204ff233bc4e42d33717485d074244a98661e5f2a1e80e38fe05a5755dfaf2ee549f2ab509d6a3af2a85f4b2ad2c984e5d176695eaf46 + languageName: node + linkType: hard + +"data-view-buffer@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-buffer@npm:1.0.1" + dependencies: + call-bind: "npm:^1.0.6" + es-errors: "npm:^1.3.0" + is-data-view: "npm:^1.0.1" + checksum: 10/5919a39a18ee919573336158fd162fdf8ada1bc23a139f28543fd45fac48e0ea4a3ad3bfde91de124d4106e65c4a7525f6a84c20ba0797ec890a77a96d13a82a + languageName: node + linkType: hard + +"data-view-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-byte-length@npm:1.0.1" + dependencies: + call-bind: "npm:^1.0.7" + es-errors: "npm:^1.3.0" + is-data-view: "npm:^1.0.1" + checksum: 10/f33c65e58d8d0432ad79761f2e8a579818d724b5dc6dc4e700489b762d963ab30873c0f1c37d8f2ed12ef51c706d1195f64422856d25f067457aeec50cc40aac + languageName: node + linkType: hard + +"data-view-byte-offset@npm:^1.0.0": + version: 1.0.0 + resolution: "data-view-byte-offset@npm:1.0.0" dependencies: - whatwg-mimetype: "npm:^4.0.0" - whatwg-url: "npm:^14.0.0" - checksum: 10/5c40568c31b02641a70204ff233bc4e42d33717485d074244a98661e5f2a1e80e38fe05a5755dfaf2ee549f2ab509d6a3af2a85f4b2ad2c984e5d176695eaf46 + call-bind: "npm:^1.0.6" + es-errors: "npm:^1.3.0" + is-data-view: "npm:^1.0.1" + checksum: 10/96f34f151bf02affb7b9f98762fb7aca1dd5f4553cb57b80bce750ca609c15d33ca659568ef1d422f7e35680736cbccb893a3d4b012760c758c1446bbdc4c6db languageName: node linkType: hard @@ -3554,14 +3665,14 @@ __metadata: linkType: hard "dedent@npm:^1.0.0": - version: 1.5.1 - resolution: "dedent@npm:1.5.1" + version: 1.5.3 + resolution: "dedent@npm:1.5.3" peerDependencies: babel-plugin-macros: ^3.1.0 peerDependenciesMeta: babel-plugin-macros: optional: true - checksum: 10/fc00a8bc3dfb7c413a778dc40ee8151b6c6ff35159d641f36ecd839c1df5c6e0ec5f4992e658c82624a1a62aaecaffc23b9c965ceb0bbf4d698bfc16469ac27d + checksum: 10/e5277f6268f288649503125b781a7b7a2c9b22d011139688c0b3619fe40121e600eb1f077c891938d4b2428bdb6326cc3c77a763e4b1cc681bd9666ab1bad2a1 languageName: node linkType: hard @@ -3579,14 +3690,14 @@ __metadata: languageName: node linkType: hard -"define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.1": - version: 1.1.1 - resolution: "define-data-property@npm:1.1.1" +"define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.4": + version: 1.1.4 + resolution: "define-data-property@npm:1.1.4" dependencies: - get-intrinsic: "npm:^1.2.1" + es-define-property: "npm:^1.0.0" + es-errors: "npm:^1.3.0" gopd: "npm:^1.0.1" - has-property-descriptors: "npm:^1.0.0" - checksum: 10/5573c8df96b5857408cad64d9b91b69152e305ce4b06218e5f49b59c6cafdbb90a8bd8a0bb83c7bc67a8d479c04aa697063c9bc28d849b7282f9327586d6bc7b + checksum: 10/abdcb2505d80a53524ba871273e5da75e77e52af9e15b3aa65d8aad82b8a3a424dad7aee2cc0b71470ac7acf501e08defac362e8b6a73cdb4309f028061df4ae languageName: node linkType: hard @@ -3658,10 +3769,10 @@ __metadata: languageName: node linkType: hard -"dompurify@npm:^2.4.7": - version: 2.4.7 - resolution: "dompurify@npm:2.4.7" - checksum: 10/bf223b4608204b0f4ded4cad2e7711b9afbe4dc9646f645601463629484a6ccc83906571d24340c0df7776a147ceb6d42cc36697e514aa72c865662977164784 +"dompurify@npm:2.5.0": + version: 2.5.0 + resolution: "dompurify@npm:2.5.0" + checksum: 10/83132070ecaa31696b017d0c3545db78f4f1263c3fdf0a94e95da9e0eb64d7a52fce95b16938e686457e3986be1054e80aef1730a04df125398d29231bc2c9f8 languageName: node linkType: hard @@ -3679,10 +3790,10 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.4.601": - version: 1.4.617 - resolution: "electron-to-chromium@npm:1.4.617" - checksum: 10/88cc13b388d6efd738cd26980cd7e9865d064d30c1d82ffa4eceb1a40ccadca024c326dcf6e0d0d2b31c344512710bcd06b7d63898a12ba99c35a3ba3d98c72b +"electron-to-chromium@npm:^1.4.668": + version: 1.4.736 + resolution: "electron-to-chromium@npm:1.4.736" + checksum: 10/59edf0301a91b688e7f7759016c5fd9b79036cf1140b414d7965f2ad9a6e40853f2f05011d930479f26d5b814f0beb7f166017fc2c18b5c1ec48fe852816e4c4 languageName: node linkType: hard @@ -3723,13 +3834,13 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.15.0": - version: 5.15.0 - resolution: "enhanced-resolve@npm:5.15.0" +"enhanced-resolve@npm:^5.16.0": + version: 5.16.0 + resolution: "enhanced-resolve@npm:5.16.0" dependencies: graceful-fs: "npm:^4.2.4" tapable: "npm:^2.2.0" - checksum: 10/180c3f2706f9117bf4dc7982e1df811dad83a8db075723f299245ef4488e0cad7e96859c5f0e410682d28a4ecd4da021ec7d06265f7e4eb6eed30c69ca5f7d3e + checksum: 10/47f123676b9b179b35195769b9d9523f314f6fc3a13d4461a4d95d5beaec9adc26aaa3b60b61f93e21ed1290dff0e9d9e67df343ec47f4480669a8e26ffe52a3 languageName: node linkType: hard @@ -3748,11 +3859,11 @@ __metadata: linkType: hard "envinfo@npm:^7.7.3": - version: 7.11.0 - resolution: "envinfo@npm:7.11.0" + version: 7.12.0 + resolution: "envinfo@npm:7.12.0" bin: envinfo: dist/cli.js - checksum: 10/8cba09db181329b243fe02b3384ec275ebf93d5d3663c31e2064697aa96576c7de9b7e1c878a250f8eaec0db8026bace747709dcdc8d8a4ecd9a653cdbc08926 + checksum: 10/981fbc80d484e42aa2c86d637ab0db773b67c285116561e50f49b5d2cb95cfd7c381d323196c487a1fa95d461ae787857559f08cf68c01be114449527f757df8 languageName: node linkType: hard @@ -3772,94 +3883,126 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.22.1": - version: 1.22.3 - resolution: "es-abstract@npm:1.22.3" +"es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.1, es-abstract@npm:^1.23.2": + version: 1.23.3 + resolution: "es-abstract@npm:1.23.3" dependencies: - array-buffer-byte-length: "npm:^1.0.0" - arraybuffer.prototype.slice: "npm:^1.0.2" - available-typed-arrays: "npm:^1.0.5" - call-bind: "npm:^1.0.5" - es-set-tostringtag: "npm:^2.0.1" + array-buffer-byte-length: "npm:^1.0.1" + arraybuffer.prototype.slice: "npm:^1.0.3" + available-typed-arrays: "npm:^1.0.7" + call-bind: "npm:^1.0.7" + data-view-buffer: "npm:^1.0.1" + data-view-byte-length: "npm:^1.0.1" + data-view-byte-offset: "npm:^1.0.0" + es-define-property: "npm:^1.0.0" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.0.0" + es-set-tostringtag: "npm:^2.0.3" es-to-primitive: "npm:^1.2.1" function.prototype.name: "npm:^1.1.6" - get-intrinsic: "npm:^1.2.2" - get-symbol-description: "npm:^1.0.0" + get-intrinsic: "npm:^1.2.4" + get-symbol-description: "npm:^1.0.2" globalthis: "npm:^1.0.3" gopd: "npm:^1.0.1" - has-property-descriptors: "npm:^1.0.0" - has-proto: "npm:^1.0.1" + has-property-descriptors: "npm:^1.0.2" + has-proto: "npm:^1.0.3" has-symbols: "npm:^1.0.3" - hasown: "npm:^2.0.0" - internal-slot: "npm:^1.0.5" - is-array-buffer: "npm:^3.0.2" + hasown: "npm:^2.0.2" + internal-slot: "npm:^1.0.7" + is-array-buffer: "npm:^3.0.4" is-callable: "npm:^1.2.7" - is-negative-zero: "npm:^2.0.2" + is-data-view: "npm:^1.0.1" + is-negative-zero: "npm:^2.0.3" is-regex: "npm:^1.1.4" - is-shared-array-buffer: "npm:^1.0.2" + is-shared-array-buffer: "npm:^1.0.3" is-string: "npm:^1.0.7" - is-typed-array: "npm:^1.1.12" + is-typed-array: "npm:^1.1.13" is-weakref: "npm:^1.0.2" object-inspect: "npm:^1.13.1" object-keys: "npm:^1.1.1" - object.assign: "npm:^4.1.4" - regexp.prototype.flags: "npm:^1.5.1" - safe-array-concat: "npm:^1.0.1" - safe-regex-test: "npm:^1.0.0" - string.prototype.trim: "npm:^1.2.8" - string.prototype.trimend: "npm:^1.0.7" - string.prototype.trimstart: "npm:^1.0.7" - typed-array-buffer: "npm:^1.0.0" - typed-array-byte-length: "npm:^1.0.0" - typed-array-byte-offset: "npm:^1.0.0" - typed-array-length: "npm:^1.0.4" + object.assign: "npm:^4.1.5" + regexp.prototype.flags: "npm:^1.5.2" + safe-array-concat: "npm:^1.1.2" + safe-regex-test: "npm:^1.0.3" + string.prototype.trim: "npm:^1.2.9" + string.prototype.trimend: "npm:^1.0.8" + string.prototype.trimstart: "npm:^1.0.8" + typed-array-buffer: "npm:^1.0.2" + typed-array-byte-length: "npm:^1.0.1" + typed-array-byte-offset: "npm:^1.0.2" + typed-array-length: "npm:^1.0.6" unbox-primitive: "npm:^1.0.2" - which-typed-array: "npm:^1.1.13" - checksum: 10/e1ea9738ece15f810733b7bd71d825b555e01bb8c860272560d7d901467a9db1265214d6cf44f3beeb5d73ae421a609b9ad93a39aa47bbcd8cde510d5e0aa875 + which-typed-array: "npm:^1.1.15" + checksum: 10/2da795a6a1ac5fc2c452799a409acc2e3692e06dc6440440b076908617188899caa562154d77263e3053bcd9389a07baa978ab10ac3b46acc399bd0c77be04cb languageName: node linkType: hard -"es-iterator-helpers@npm:^1.0.12": - version: 1.0.15 - resolution: "es-iterator-helpers@npm:1.0.15" +"es-define-property@npm:^1.0.0": + version: 1.0.0 + resolution: "es-define-property@npm:1.0.0" dependencies: - asynciterator.prototype: "npm:^1.0.0" - call-bind: "npm:^1.0.2" + get-intrinsic: "npm:^1.2.4" + checksum: 10/f66ece0a887b6dca71848fa71f70461357c0e4e7249696f81bad0a1f347eed7b31262af4a29f5d726dc026426f085483b6b90301855e647aa8e21936f07293c6 + languageName: node + linkType: hard + +"es-errors@npm:^1.1.0, es-errors@npm:^1.2.1, es-errors@npm:^1.3.0": + version: 1.3.0 + resolution: "es-errors@npm:1.3.0" + checksum: 10/96e65d640156f91b707517e8cdc454dd7d47c32833aa3e85d79f24f9eb7ea85f39b63e36216ef0114996581969b59fe609a94e30316b08f5f4df1d44134cf8d5 + languageName: node + linkType: hard + +"es-iterator-helpers@npm:^1.0.17": + version: 1.0.18 + resolution: "es-iterator-helpers@npm:1.0.18" + dependencies: + call-bind: "npm:^1.0.7" define-properties: "npm:^1.2.1" - es-abstract: "npm:^1.22.1" - es-set-tostringtag: "npm:^2.0.1" - function-bind: "npm:^1.1.1" - get-intrinsic: "npm:^1.2.1" + es-abstract: "npm:^1.23.0" + es-errors: "npm:^1.3.0" + es-set-tostringtag: "npm:^2.0.3" + function-bind: "npm:^1.1.2" + get-intrinsic: "npm:^1.2.4" globalthis: "npm:^1.0.3" - has-property-descriptors: "npm:^1.0.0" - has-proto: "npm:^1.0.1" + has-property-descriptors: "npm:^1.0.2" + has-proto: "npm:^1.0.3" has-symbols: "npm:^1.0.3" - internal-slot: "npm:^1.0.5" + internal-slot: "npm:^1.0.7" iterator.prototype: "npm:^1.1.2" - safe-array-concat: "npm:^1.0.1" - checksum: 10/78535c00c49d81df603e650886d3806f3cd8d288e2c07703cfb145725753a3d2df19bff9feeb14cd1baed02252d1f85c4bbc922c8db02841722ab3ec02e78339 + safe-array-concat: "npm:^1.1.2" + checksum: 10/a4fd067e148736fbe6a9883f449e0de88be14a4dff9065c457572ede10ba02a4a15c4ae18b9b7baa5c868860d2be9a6764906c3308135e57ec5bfd386bbd2836 languageName: node linkType: hard "es-module-lexer@npm:^1.2.1": - version: 1.4.1 - resolution: "es-module-lexer@npm:1.4.1" - checksum: 10/cf453613468c417af6e189b03d9521804033fdd5a229a36fedec28d37ea929fccf6822d42abff1126eb01ba1d2aa2845a48d5d1772c0724f8204464d9d3855f6 + version: 1.5.0 + resolution: "es-module-lexer@npm:1.5.0" + checksum: 10/d0e198d8642cb42aa82d86f2c6830cb6786916171a3e693046c11500c0cb62e77703940e58757db8aafa8a86fa2a9cc1c493dcd22c0b03c4a72dede3ce5c7dd1 languageName: node linkType: hard -"es-set-tostringtag@npm:^2.0.1": - version: 2.0.2 - resolution: "es-set-tostringtag@npm:2.0.2" +"es-object-atoms@npm:^1.0.0": + version: 1.0.0 + resolution: "es-object-atoms@npm:1.0.0" dependencies: - get-intrinsic: "npm:^1.2.2" - has-tostringtag: "npm:^1.0.0" - hasown: "npm:^2.0.0" - checksum: 10/afcec3a4c9890ae14d7ec606204858441c801ff84f312538e1d1ccf1e5493c8b17bd672235df785f803756472cb4f2d49b87bde5237aef33411e74c22f194e07 + es-errors: "npm:^1.3.0" + checksum: 10/f8910cf477e53c0615f685c5c96210591841850871b81924fcf256bfbaa68c254457d994a4308c60d15b20805e7f61ce6abc669375e01a5349391a8c1767584f languageName: node linkType: hard -"es-shim-unscopables@npm:^1.0.0": +"es-set-tostringtag@npm:^2.0.3": + version: 2.0.3 + resolution: "es-set-tostringtag@npm:2.0.3" + dependencies: + get-intrinsic: "npm:^1.2.4" + has-tostringtag: "npm:^1.0.2" + hasown: "npm:^2.0.1" + checksum: 10/7227fa48a41c0ce83e0377b11130d324ac797390688135b8da5c28994c0165be8b252e15cd1de41e1325e5a5412511586960213e88f9ab4a5e7d028895db5129 + languageName: node + linkType: hard + +"es-shim-unscopables@npm:^1.0.0, es-shim-unscopables@npm:^1.0.2": version: 1.0.2 resolution: "es-shim-unscopables@npm:1.0.2" dependencies: @@ -3880,46 +4023,46 @@ __metadata: linkType: hard "esbuild-loader@npm:^4.0.2": - version: 4.0.2 - resolution: "esbuild-loader@npm:4.0.2" + version: 4.1.0 + resolution: "esbuild-loader@npm:4.1.0" dependencies: - esbuild: "npm:^0.19.0" + esbuild: "npm:^0.20.0" get-tsconfig: "npm:^4.7.0" loader-utils: "npm:^2.0.4" webpack-sources: "npm:^1.4.3" peerDependencies: webpack: ^4.40.0 || ^5.0.0 - checksum: 10/0e7d4e4b7621aba963944f8c141191ed26f10931b384ba9dbf7433f88c5f167e2af527ff6c3fb5cae25c461ce040484457ba14e275e3349970f00692a5125e38 - languageName: node - linkType: hard - -"esbuild@npm:^0.19.0": - version: 0.19.11 - resolution: "esbuild@npm:0.19.11" - dependencies: - "@esbuild/aix-ppc64": "npm:0.19.11" - "@esbuild/android-arm": "npm:0.19.11" - "@esbuild/android-arm64": "npm:0.19.11" - "@esbuild/android-x64": "npm:0.19.11" - "@esbuild/darwin-arm64": "npm:0.19.11" - "@esbuild/darwin-x64": "npm:0.19.11" - "@esbuild/freebsd-arm64": "npm:0.19.11" - "@esbuild/freebsd-x64": "npm:0.19.11" - "@esbuild/linux-arm": "npm:0.19.11" - "@esbuild/linux-arm64": "npm:0.19.11" - "@esbuild/linux-ia32": "npm:0.19.11" - "@esbuild/linux-loong64": "npm:0.19.11" - "@esbuild/linux-mips64el": "npm:0.19.11" - "@esbuild/linux-ppc64": "npm:0.19.11" - "@esbuild/linux-riscv64": "npm:0.19.11" - "@esbuild/linux-s390x": "npm:0.19.11" - "@esbuild/linux-x64": "npm:0.19.11" - "@esbuild/netbsd-x64": "npm:0.19.11" - "@esbuild/openbsd-x64": "npm:0.19.11" - "@esbuild/sunos-x64": "npm:0.19.11" - "@esbuild/win32-arm64": "npm:0.19.11" - "@esbuild/win32-ia32": "npm:0.19.11" - "@esbuild/win32-x64": "npm:0.19.11" + checksum: 10/30fdf0c5680142680c3227fe492c0b253246b253b83c1c97776782d54438b969dc195da3f5462d9adbee77167ec04aff25276a0dcfddf4fe11805749c4600b45 + languageName: node + linkType: hard + +"esbuild@npm:^0.20.0": + version: 0.20.2 + resolution: "esbuild@npm:0.20.2" + dependencies: + "@esbuild/aix-ppc64": "npm:0.20.2" + "@esbuild/android-arm": "npm:0.20.2" + "@esbuild/android-arm64": "npm:0.20.2" + "@esbuild/android-x64": "npm:0.20.2" + "@esbuild/darwin-arm64": "npm:0.20.2" + "@esbuild/darwin-x64": "npm:0.20.2" + "@esbuild/freebsd-arm64": "npm:0.20.2" + "@esbuild/freebsd-x64": "npm:0.20.2" + "@esbuild/linux-arm": "npm:0.20.2" + "@esbuild/linux-arm64": "npm:0.20.2" + "@esbuild/linux-ia32": "npm:0.20.2" + "@esbuild/linux-loong64": "npm:0.20.2" + "@esbuild/linux-mips64el": "npm:0.20.2" + "@esbuild/linux-ppc64": "npm:0.20.2" + "@esbuild/linux-riscv64": "npm:0.20.2" + "@esbuild/linux-s390x": "npm:0.20.2" + "@esbuild/linux-x64": "npm:0.20.2" + "@esbuild/netbsd-x64": "npm:0.20.2" + "@esbuild/openbsd-x64": "npm:0.20.2" + "@esbuild/sunos-x64": "npm:0.20.2" + "@esbuild/win32-arm64": "npm:0.20.2" + "@esbuild/win32-ia32": "npm:0.20.2" + "@esbuild/win32-x64": "npm:0.20.2" dependenciesMeta: "@esbuild/aix-ppc64": optional: true @@ -3969,14 +4112,14 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: 10/a40b3858c29618c8c893389372f469245a6b2d1319782af75d33d8ba5dcadfe181fcc935f8e1a907be667946384950a4cf482ebe1e79c99c932d2b8eb35a09d0 + checksum: 10/663215ab7e599651e00d61b528a63136e1f1d397db8b9c3712540af928c9476d61da95aefa81b7a8dfc7a9fdd7616fcf08395c27be68be8c99953fb461863ce4 languageName: node linkType: hard "escalade@npm:^3.1.1": - version: 3.1.1 - resolution: "escalade@npm:3.1.1" - checksum: 10/afa618e73362576b63f6ca83c975456621095a1ed42ff068174e3f5cea48afc422814dda548c96e6ebb5333e7265140c7292abcc81bbd6ccb1757d50d3a4e182 + version: 3.1.2 + resolution: "escalade@npm:3.1.2" + checksum: 10/a1e07fea2f15663c30e40b9193d658397846ffe28ce0a3e4da0d8e485fedfeca228ab846aee101a05015829adf39f9934ff45b2a3fca47bed37a29646bd05cd3 languageName: node linkType: hard @@ -4051,43 +4194,45 @@ __metadata: linkType: hard "eslint-plugin-react@npm:^7.33.2": - version: 7.33.2 - resolution: "eslint-plugin-react@npm:7.33.2" - dependencies: - array-includes: "npm:^3.1.6" - array.prototype.flatmap: "npm:^1.3.1" - array.prototype.tosorted: "npm:^1.1.1" + version: 7.34.1 + resolution: "eslint-plugin-react@npm:7.34.1" + dependencies: + array-includes: "npm:^3.1.7" + array.prototype.findlast: "npm:^1.2.4" + array.prototype.flatmap: "npm:^1.3.2" + array.prototype.toreversed: "npm:^1.1.2" + array.prototype.tosorted: "npm:^1.1.3" doctrine: "npm:^2.1.0" - es-iterator-helpers: "npm:^1.0.12" + es-iterator-helpers: "npm:^1.0.17" estraverse: "npm:^5.3.0" jsx-ast-utils: "npm:^2.4.1 || ^3.0.0" minimatch: "npm:^3.1.2" - object.entries: "npm:^1.1.6" - object.fromentries: "npm:^2.0.6" - object.hasown: "npm:^1.1.2" - object.values: "npm:^1.1.6" + object.entries: "npm:^1.1.7" + object.fromentries: "npm:^2.0.7" + object.hasown: "npm:^1.1.3" + object.values: "npm:^1.1.7" prop-types: "npm:^15.8.1" - resolve: "npm:^2.0.0-next.4" + resolve: "npm:^2.0.0-next.5" semver: "npm:^6.3.1" - string.prototype.matchall: "npm:^4.0.8" + string.prototype.matchall: "npm:^4.0.10" peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 10/cb8c5dd5859cace330e24b7d74b9c652c0d93ef1d87957261fe1ac2975c27c918d0d5dc607f25aba4972ce74d04456f4f93883a16ac10cd598680d047fc3495d + checksum: 10/ee059971065ea7e73ab5d8728774235c7dbf7a5e9f937c3b47e97f8fa9a5a96ab511d2ae6d5ec76a7e705ca666673d454f1e75a94033720819d041827f50f9c8 languageName: node linkType: hard "eslint-plugin-unused-imports@npm:^3.0.0": - version: 3.0.0 - resolution: "eslint-plugin-unused-imports@npm:3.0.0" + version: 3.1.0 + resolution: "eslint-plugin-unused-imports@npm:3.1.0" dependencies: eslint-rule-composer: "npm:^0.3.0" peerDependencies: - "@typescript-eslint/eslint-plugin": ^6.0.0 - eslint: ^8.0.0 + "@typescript-eslint/eslint-plugin": 6 - 7 + eslint: 8 peerDependenciesMeta: "@typescript-eslint/eslint-plugin": optional: true - checksum: 10/9433b80d4efdf3f8e43a38a7662b279b310020f3a80ffd2bbc56a375804b367bedfbe5b611b1969963e2de3b392bf1f389e89d2af810594ea3ab913c7e219ba1 + checksum: 10/8ad49d6d343492f5a5e6398a57d2c66c28651410d83478b16eac8fadb466cf7785b43cd7cfe33e0fb9624c464c7a92b5b78b34ad2daf418e8ac8fed5c554e1ed languageName: node linkType: hard @@ -4133,14 +4278,14 @@ __metadata: linkType: hard "eslint@npm:^8.56.0": - version: 8.56.0 - resolution: "eslint@npm:8.56.0" + version: 8.57.0 + resolution: "eslint@npm:8.57.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.6.1" "@eslint/eslintrc": "npm:^2.1.4" - "@eslint/js": "npm:8.56.0" - "@humanwhocodes/config-array": "npm:^0.11.13" + "@eslint/js": "npm:8.57.0" + "@humanwhocodes/config-array": "npm:^0.11.14" "@humanwhocodes/module-importer": "npm:^1.0.1" "@nodelib/fs.walk": "npm:^1.2.8" "@ungap/structured-clone": "npm:^1.2.0" @@ -4176,7 +4321,7 @@ __metadata: text-table: "npm:^0.2.0" bin: eslint: bin/eslint.js - checksum: 10/ef6193c6e4cef20774b985a5cc2fd4bf6d3c4decd423117cbc4a0196617861745db291217ad3c537bc3a160650cca965bc818f55e1f3e446af1fcb293f9940a5 + checksum: 10/00496e218b23747a7a9817bf58b522276d0dc1f2e546dceb4eea49f9871574088f72f1f069a6b560ef537efa3a75261b8ef70e51ef19033da1cc4c86a755ef15 languageName: node linkType: hard @@ -4340,11 +4485,11 @@ __metadata: linkType: hard "fastq@npm:^1.6.0": - version: 1.16.0 - resolution: "fastq@npm:1.16.0" + version: 1.17.1 + resolution: "fastq@npm:1.17.1" dependencies: reusify: "npm:^1.0.4" - checksum: 10/de151543aab9d91900ed5da88860c46987ece925c628df586fac664235f25e020ec20729e1c032edb5fd2520fd4aa5b537d69e39b689e65e82112cfbecb4479e + checksum: 10/a443180068b527dd7b3a63dc7f2a47ceca2f3e97b9c00a1efe5538757e6cc4056a3526df94308075d7727561baf09ebaa5b67da8dcbddb913a021c5ae69d1f69 languageName: node linkType: hard @@ -4439,13 +4584,13 @@ __metadata: linkType: hard "flatted@npm:^3.2.9": - version: 3.2.9 - resolution: "flatted@npm:3.2.9" - checksum: 10/dc2b89e46a2ebde487199de5a4fcb79e8c46f984043fea5c41dbf4661eb881fefac1c939b5bdcd8a09d7f960ec364f516970c7ec44e58ff451239c07fd3d419b + version: 3.3.1 + resolution: "flatted@npm:3.3.1" + checksum: 10/7b8376061d5be6e0d3658bbab8bde587647f68797cf6bfeae9dea0e5137d9f27547ab92aaff3512dd9d1299086a6d61be98e9d48a56d17531b634f77faadbc49 languageName: node linkType: hard -"follow-redirects@npm:^1.15.4": +"follow-redirects@npm:^1.15.6": version: 1.15.6 resolution: "follow-redirects@npm:1.15.6" peerDependenciesMeta: @@ -4529,7 +4674,7 @@ __metadata: languageName: node linkType: hard -"function-bind@npm:^1.1.1, function-bind@npm:^1.1.2": +"function-bind@npm:^1.1.2": version: 1.1.2 resolution: "function-bind@npm:1.1.2" checksum: 10/185e20d20f10c8d661d59aac0f3b63b31132d492e1b11fcc2a93cb2c47257ebaee7407c38513efd2b35cafdf972d9beb2ea4593c1e0f3bf8f2744836928d7454 @@ -4569,15 +4714,16 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2": - version: 1.2.2 - resolution: "get-intrinsic@npm:1.2.2" +"get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4": + version: 1.2.4 + resolution: "get-intrinsic@npm:1.2.4" dependencies: + es-errors: "npm:^1.3.0" function-bind: "npm:^1.1.2" has-proto: "npm:^1.0.1" has-symbols: "npm:^1.0.3" hasown: "npm:^2.0.0" - checksum: 10/aa96db4f809734d26d49b59bc8669d73a0ae792da561514e987735573a1dfaede516cd102f217a078ea2b42d4c4fb1f83d487932cb15d49826b726cc9cd4470b + checksum: 10/85bbf4b234c3940edf8a41f4ecbd4e25ce78e5e6ad4e24ca2f77037d983b9ef943fd72f00f3ee97a49ec622a506b67db49c36246150377efcda1c9eb03e5f06d languageName: node linkType: hard @@ -4595,22 +4741,23 @@ __metadata: languageName: node linkType: hard -"get-symbol-description@npm:^1.0.0": - version: 1.0.0 - resolution: "get-symbol-description@npm:1.0.0" +"get-symbol-description@npm:^1.0.2": + version: 1.0.2 + resolution: "get-symbol-description@npm:1.0.2" dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.1.1" - checksum: 10/7e5f298afe0f0872747dce4a949ce490ebc5d6dd6aefbbe5044543711c9b19a4dfaebdbc627aee99e1299d58a435b2fbfa083458c1d58be6dc03a3bada24d359 + call-bind: "npm:^1.0.5" + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.4" + checksum: 10/e1cb53bc211f9dbe9691a4f97a46837a553c4e7caadd0488dc24ac694db8a390b93edd412b48dcdd0b4bbb4c595de1709effc75fc87c0839deedc6968f5bd973 languageName: node linkType: hard "get-tsconfig@npm:^4.7.0": - version: 4.7.2 - resolution: "get-tsconfig@npm:4.7.2" + version: 4.7.3 + resolution: "get-tsconfig@npm:4.7.3" dependencies: resolve-pkg-maps: "npm:^1.0.0" - checksum: 10/f21135848fb5d16012269b7b34b186af7a41824830f8616aba17a15eb4d9e54fdc876833f1e21768395215a826c8145582f5acd594ae2b4de3284d10b38d20f8 + checksum: 10/7397bb4f8aef936df4d9016555b662dcf5279f3c46428b7c7c1ff5e94ab2b87d018b3dda0f4bc1a28b154d5affd0eac5d014511172c085fd8a9cdff9ea7fe043 languageName: node linkType: hard @@ -4640,17 +4787,17 @@ __metadata: linkType: hard "glob@npm:^10.2.2, glob@npm:^10.3.10": - version: 10.3.10 - resolution: "glob@npm:10.3.10" + version: 10.3.12 + resolution: "glob@npm:10.3.12" dependencies: foreground-child: "npm:^3.1.0" - jackspeak: "npm:^2.3.5" + jackspeak: "npm:^2.3.6" minimatch: "npm:^9.0.1" - minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" - path-scurry: "npm:^1.10.1" + minipass: "npm:^7.0.4" + path-scurry: "npm:^1.10.2" bin: glob: dist/esm/bin.mjs - checksum: 10/38bdb2c9ce75eb5ed168f309d4ed05b0798f640b637034800a6bf306f39d35409bf278b0eaaffaec07591085d3acb7184a201eae791468f0f617771c2486a6a8 + checksum: 10/9e8186abc22dc824b5dd86cefd8e6b5621a72d1be7f68bacc0fd681e8c162ec5546660a6ec0553d6a74757a585e655956c7f8f1a6d24570e8d865c307323d178 languageName: node linkType: hard @@ -4716,7 +4863,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": +"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 10/bf152d0ed1dc159239db1ba1f74fdbc40cb02f626770dcd5815c427ce0688c2635a06ed69af364396da4636d0408fcf7d4afdf7881724c3307e46aff30ca49e2 @@ -4760,19 +4907,19 @@ __metadata: languageName: node linkType: hard -"has-property-descriptors@npm:^1.0.0": - version: 1.0.1 - resolution: "has-property-descriptors@npm:1.0.1" +"has-property-descriptors@npm:^1.0.0, has-property-descriptors@npm:^1.0.2": + version: 1.0.2 + resolution: "has-property-descriptors@npm:1.0.2" dependencies: - get-intrinsic: "npm:^1.2.2" - checksum: 10/21a47bb080a24e79594aef1ce71e1a18a1c5ab4120308e218088f67ebb7f6f408847541e2d96e5bd00e90eef5c5a49e4ebbdc8fc2d5b365a2c379aef071642f0 + es-define-property: "npm:^1.0.0" + checksum: 10/2d8c9ab8cebb572e3362f7d06139a4592105983d4317e68f7adba320fe6ddfc8874581e0971e899e633fd5f72e262830edce36d5a0bc863dad17ad20572484b2 languageName: node linkType: hard -"has-proto@npm:^1.0.1": - version: 1.0.1 - resolution: "has-proto@npm:1.0.1" - checksum: 10/eab2ab0ed1eae6d058b9bbc4c1d99d2751b29717be80d02fd03ead8b62675488de0c7359bc1fdd4b87ef6fd11e796a9631ad4d7452d9324fdada70158c2e5be7 +"has-proto@npm:^1.0.1, has-proto@npm:^1.0.3": + version: 1.0.3 + resolution: "has-proto@npm:1.0.3" + checksum: 10/0b67c2c94e3bea37db3e412e3c41f79d59259875e636ba471e94c009cdfb1fa82bf045deeffafc7dbb9c148e36cae6b467055aaa5d9fad4316e11b41e3ba551a languageName: node linkType: hard @@ -4783,21 +4930,21 @@ __metadata: languageName: node linkType: hard -"has-tostringtag@npm:^1.0.0": - version: 1.0.0 - resolution: "has-tostringtag@npm:1.0.0" +"has-tostringtag@npm:^1.0.0, has-tostringtag@npm:^1.0.2": + version: 1.0.2 + resolution: "has-tostringtag@npm:1.0.2" dependencies: - has-symbols: "npm:^1.0.2" - checksum: 10/95546e7132efc895a9ae64a8a7cf52588601fc3d52e0304ed228f336992cdf0baaba6f3519d2655e560467db35a1ed79f6420c286cc91a13aa0647a31ed92570 + has-symbols: "npm:^1.0.3" + checksum: 10/c74c5f5ceee3c8a5b8bc37719840dc3749f5b0306d818974141dda2471a1a2ca6c8e46b9d6ac222c5345df7a901c9b6f350b1e6d62763fec877e26609a401bfe languageName: node linkType: hard -"hasown@npm:^2.0.0": - version: 2.0.0 - resolution: "hasown@npm:2.0.0" +"hasown@npm:^2.0.0, hasown@npm:^2.0.1, hasown@npm:^2.0.2": + version: 2.0.2 + resolution: "hasown@npm:2.0.2" dependencies: function-bind: "npm:^1.1.2" - checksum: 10/c330f8d93f9d23fe632c719d4db3d698ef7d7c367d51548b836069e06a90fa9151e868c8e67353cfe98d67865bf7354855db28fa36eb1b18fa5d4a3f4e7f1c90 + checksum: 10/7898a9c1788b2862cf0f9c345a6bec77ba4a0c0983c7f19d610c382343d4f98fa260686b225dfb1f88393a66679d2ec58ee310c1d6868c081eda7918f32cc70a languageName: node linkType: hard @@ -4852,12 +4999,12 @@ __metadata: linkType: hard "http-proxy-agent@npm:^7.0.0": - version: 7.0.0 - resolution: "http-proxy-agent@npm:7.0.0" + version: 7.0.2 + resolution: "http-proxy-agent@npm:7.0.2" dependencies: agent-base: "npm:^7.1.0" debug: "npm:^4.3.4" - checksum: 10/dbaaf3d9f3fc4df4a5d7ec45d456ec50f575240b557160fa63427b447d1f812dd7fe4a4f17d2e1ba003d231f07edf5a856ea6d91cb32d533062ff20a7803ccac + checksum: 10/d062acfa0cb82beeb558f1043c6ba770ea892b5fb7b28654dbc70ea2aeea55226dd34c02a294f6c1ca179a5aa483c4ea641846821b182edbd9cc5d89b54c6848 languageName: node linkType: hard @@ -4872,12 +5019,12 @@ __metadata: linkType: hard "https-proxy-agent@npm:^7.0.1, https-proxy-agent@npm:^7.0.2": - version: 7.0.2 - resolution: "https-proxy-agent@npm:7.0.2" + version: 7.0.4 + resolution: "https-proxy-agent@npm:7.0.4" dependencies: agent-base: "npm:^7.0.2" debug: "npm:4" - checksum: 10/9ec844f78fd643608239c9c3f6819918631df5cd3e17d104cc507226a39b5d4adda9d790fc9fd63ac0d2bb8a761b2f9f60faa80584a9bf9d7f2e8c5ed0acd330 + checksum: 10/405fe582bba461bfe5c7e2f8d752b384036854488b828ae6df6a587c654299cbb2c50df38c4b6ab303502c3c5e029a793fbaac965d1e86ee0be03faceb554d63 languageName: node linkType: hard @@ -4907,16 +5054,16 @@ __metadata: linkType: hard "ignore@npm:^5.2.0": - version: 5.3.0 - resolution: "ignore@npm:5.3.0" - checksum: 10/51594355cea4c6ad6b28b3b85eb81afa7b988a1871feefd7062baf136c95aa06760ee934fa9590e43d967bd377ce84a4cf6135fbeb6063e063f1182a0e9a3bcd + version: 5.3.1 + resolution: "ignore@npm:5.3.1" + checksum: 10/0a884c2fbc8c316f0b9f92beaf84464253b73230a4d4d286697be45fca081199191ca33e1c2e82d9e5f851f5e9a48a78e25a35c951e7eb41e59f150db3530065 languageName: node linkType: hard "immutable@npm:^4.0.0": - version: 4.3.4 - resolution: "immutable@npm:4.3.4" - checksum: 10/ea187acc1eec9dcfaa0823bae59e1ae0ea82e7a40d2ace9fb84d467875d5506ced684a79b68e70451f1e1761a387a958ba724171f93aa10330998b026fcb5d29 + version: 4.3.5 + resolution: "immutable@npm:4.3.5" + checksum: 10/dbc1b8c808b9aa18bfce2e0c7bc23714a47267bc311f082145cc9220b2005e9b9cd2ae78330f164a19266a2b0f78846c60f4f74893853ac16fd68b5ae57092d2 languageName: node linkType: hard @@ -4998,14 +5145,14 @@ __metadata: languageName: node linkType: hard -"internal-slot@npm:^1.0.5": - version: 1.0.6 - resolution: "internal-slot@npm:1.0.6" +"internal-slot@npm:^1.0.7": + version: 1.0.7 + resolution: "internal-slot@npm:1.0.7" dependencies: - get-intrinsic: "npm:^1.2.2" + es-errors: "npm:^1.3.0" hasown: "npm:^2.0.0" side-channel: "npm:^1.0.4" - checksum: 10/bc2022eb1f277f2fcb2a60e7ced451c7ffc7a769b12e63c7a3fb247af8b5a1bed06428ce724046a8bca39ed6eb5b6832501a42f2e9a5ec4a9a7dc4e634431616 + checksum: 10/3e66720508831153ecf37d13def9f6856f9f2960989ec8a0a0476c98f887fca9eff0163127466485cb825c900c2d6fc601aa9117b7783b90ffce23a71ea5d053 languageName: node linkType: hard @@ -5016,21 +5163,23 @@ __metadata: languageName: node linkType: hard -"ip@npm:^2.0.0": - version: 2.0.1 - resolution: "ip@npm:2.0.1" - checksum: 10/d6dd154e1bc5e8725adfdd6fb92218635b9cbe6d873d051bd63b178f009777f751a5eea4c67021723a7056325fc3052f8b6599af0a2d56f042c93e684b4a0349 +"ip-address@npm:^9.0.5": + version: 9.0.5 + resolution: "ip-address@npm:9.0.5" + dependencies: + jsbn: "npm:1.1.0" + sprintf-js: "npm:^1.1.3" + checksum: 10/1ed81e06721af012306329b31f532b5e24e00cb537be18ddc905a84f19fe8f83a09a1699862bf3a1ec4b9dea93c55a3fa5faf8b5ea380431469df540f38b092c languageName: node linkType: hard -"is-array-buffer@npm:^3.0.1, is-array-buffer@npm:^3.0.2": - version: 3.0.2 - resolution: "is-array-buffer@npm:3.0.2" +"is-array-buffer@npm:^3.0.4": + version: 3.0.4 + resolution: "is-array-buffer@npm:3.0.4" dependencies: call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.2.0" - is-typed-array: "npm:^1.1.10" - checksum: 10/dcac9dda66ff17df9cabdc58214172bf41082f956eab30bb0d86bc0fab1e44b690fc8e1f855cf2481245caf4e8a5a006a982a71ddccec84032ed41f9d8da8c14 + get-intrinsic: "npm:^1.2.1" + checksum: 10/34a26213d981d58b30724ef37a1e0682f4040d580fa9ff58fdfdd3cefcb2287921718c63971c1c404951e7b747c50fdc7caf6e867e951353fa71b369c04c969b languageName: node linkType: hard @@ -5094,6 +5243,15 @@ __metadata: languageName: node linkType: hard +"is-data-view@npm:^1.0.1": + version: 1.0.1 + resolution: "is-data-view@npm:1.0.1" + dependencies: + is-typed-array: "npm:^1.1.13" + checksum: 10/4ba4562ac2b2ec005fefe48269d6bd0152785458cd253c746154ffb8a8ab506a29d0cfb3b74af87513843776a88e4981ae25c89457bf640a33748eab1a7216b5 + languageName: node + linkType: hard + "is-date-object@npm:^1.0.1, is-date-object@npm:^1.0.5": version: 1.0.5 resolution: "is-date-object@npm:1.0.5" @@ -5158,17 +5316,17 @@ __metadata: languageName: node linkType: hard -"is-map@npm:^2.0.1": - version: 2.0.2 - resolution: "is-map@npm:2.0.2" - checksum: 10/60ba910f835f2eacb1fdf5b5a6c60fe1c702d012a7673e6546992bcc0c873f62ada6e13d327f9e48f1720d49c152d6cdecae1fa47a261ef3d247c3ce6f0e1d39 +"is-map@npm:^2.0.3": + version: 2.0.3 + resolution: "is-map@npm:2.0.3" + checksum: 10/8de7b41715b08bcb0e5edb0fb9384b80d2d5bcd10e142188f33247d19ff078abaf8e9b6f858e2302d8d05376a26a55cd23a3c9f8ab93292b02fcd2cc9e4e92bb languageName: node linkType: hard -"is-negative-zero@npm:^2.0.2": - version: 2.0.2 - resolution: "is-negative-zero@npm:2.0.2" - checksum: 10/edbec1a9e6454d68bf595a114c3a72343d2d0be7761d8173dae46c0b73d05bb8fe9398c85d121e7794a66467d2f40b4a610b0be84cd804262d234fc634c86131 +"is-negative-zero@npm:^2.0.3": + version: 2.0.3 + resolution: "is-negative-zero@npm:2.0.3" + checksum: 10/8fe5cffd8d4fb2ec7b49d657e1691889778d037494c6f40f4d1a524cadd658b4b53ad7b6b73a59bcb4b143ae9a3d15829af864b2c0f9d65ac1e678c4c80f17e5 languageName: node linkType: hard @@ -5204,13 +5362,6 @@ __metadata: languageName: node linkType: hard -"is-plain-object@npm:^5.0.0": - version: 5.0.0 - resolution: "is-plain-object@npm:5.0.0" - checksum: 10/e32d27061eef62c0847d303125440a38660517e586f2f3db7c9d179ae5b6674ab0f469d519b2e25c147a1a3bc87156d0d5f4d8821e0ce4a9ee7fe1fcf11ce45c - languageName: node - linkType: hard - "is-potential-custom-element-name@npm:^1.0.1": version: 1.0.1 resolution: "is-potential-custom-element-name@npm:1.0.1" @@ -5228,19 +5379,19 @@ __metadata: languageName: node linkType: hard -"is-set@npm:^2.0.1": - version: 2.0.2 - resolution: "is-set@npm:2.0.2" - checksum: 10/d89e82acdc7760993474f529e043f9c4a1d63ed4774d21cc2e331d0e401e5c91c27743cd7c889137028f6a742234759a4bd602368fbdbf0b0321994aefd5603f +"is-set@npm:^2.0.3": + version: 2.0.3 + resolution: "is-set@npm:2.0.3" + checksum: 10/5685df33f0a4a6098a98c72d94d67cad81b2bc72f1fb2091f3d9283c4a1c582123cd709145b02a9745f0ce6b41e3e43f1c944496d1d74d4ea43358be61308669 languageName: node linkType: hard -"is-shared-array-buffer@npm:^1.0.2": - version: 1.0.2 - resolution: "is-shared-array-buffer@npm:1.0.2" +"is-shared-array-buffer@npm:^1.0.2, is-shared-array-buffer@npm:^1.0.3": + version: 1.0.3 + resolution: "is-shared-array-buffer@npm:1.0.3" dependencies: - call-bind: "npm:^1.0.2" - checksum: 10/23d82259d6cd6dbb7c4ff3e4efeff0c30dbc6b7f88698498c17f9821cb3278d17d2b6303a5341cbd638ab925a28f3f086a6c79b3df70ac986cc526c725d43b4f + call-bind: "npm:^1.0.7" + checksum: 10/bc5402900dc62b96ebb2548bf5b0a0bcfacc2db122236fe3ab3b3e3c884293a0d5eb777e73f059bcbf8dc8563bb65eae972fee0fb97e38a9ae27c8678f62bcfe languageName: node linkType: hard @@ -5269,19 +5420,19 @@ __metadata: languageName: node linkType: hard -"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.12, is-typed-array@npm:^1.1.9": - version: 1.1.12 - resolution: "is-typed-array@npm:1.1.12" +"is-typed-array@npm:^1.1.13": + version: 1.1.13 + resolution: "is-typed-array@npm:1.1.13" dependencies: - which-typed-array: "npm:^1.1.11" - checksum: 10/d953adfd3c41618d5e01b2a10f21817e4cdc9572772fa17211100aebb3811b6e3c2e308a0558cc87d218a30504cb90154b833013437776551bfb70606fb088ca + which-typed-array: "npm:^1.1.14" + checksum: 10/f850ba08286358b9a11aee6d93d371a45e3c59b5953549ee1c1a9a55ba5c1dd1bd9952488ae194ad8f32a9cf5e79c8fa5f0cc4d78c00720aa0bbcf238b38062d languageName: node linkType: hard -"is-weakmap@npm:^2.0.1": - version: 2.0.1 - resolution: "is-weakmap@npm:2.0.1" - checksum: 10/289fa4e8ba1bdda40ca78481266f6925b7c46a85599e6a41a77010bf91e5a24dfb660db96863bbf655ecdbda0ab517204d6a4e0c151dbec9d022c556321f3776 +"is-weakmap@npm:^2.0.2": + version: 2.0.2 + resolution: "is-weakmap@npm:2.0.2" + checksum: 10/a7b7e23206c542dcf2fa0abc483142731788771527e90e7e24f658c0833a0d91948a4f7b30d78f7a65255a48512e41a0288b778ba7fc396137515c12e201fd11 languageName: node linkType: hard @@ -5294,13 +5445,13 @@ __metadata: languageName: node linkType: hard -"is-weakset@npm:^2.0.1": - version: 2.0.2 - resolution: "is-weakset@npm:2.0.2" +"is-weakset@npm:^2.0.3": + version: 2.0.3 + resolution: "is-weakset@npm:2.0.3" dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.1.1" - checksum: 10/8f2ddb9639716fd7936784e175ea1183c5c4c05274c34f34f6a53175313cb1c9c35a8b795623306995e2f7cc8f25aa46302f15a2113e51c5052d447be427195c + call-bind: "npm:^1.0.7" + get-intrinsic: "npm:^1.2.4" + checksum: 10/40159582ff1b44fc40085f631baf19f56479b05af2faede65b4e6a0b6acab745c13fd070e35b475aafd8a1ee50879ba5a3f1265125b46bebdb446b6be1f62165 languageName: node linkType: hard @@ -5353,15 +5504,15 @@ __metadata: linkType: hard "istanbul-lib-instrument@npm:^6.0.0": - version: 6.0.1 - resolution: "istanbul-lib-instrument@npm:6.0.1" + version: 6.0.2 + resolution: "istanbul-lib-instrument@npm:6.0.2" dependencies: - "@babel/core": "npm:^7.12.3" - "@babel/parser": "npm:^7.14.7" - "@istanbuljs/schema": "npm:^0.1.2" + "@babel/core": "npm:^7.23.9" + "@babel/parser": "npm:^7.23.9" + "@istanbuljs/schema": "npm:^0.1.3" istanbul-lib-coverage: "npm:^3.2.0" semver: "npm:^7.5.4" - checksum: 10/95fd8c66e586840989cb3c7819c6da66c4742a6fedbf16b51a5c7f1898941ad07b79ddff020f479d3a1d76743ecdbf255d93c35221875687477d4b118026e7e7 + checksum: 10/3aee19be199350182827679a137e1df142a306e9d7e20bb5badfd92ecc9023a7d366bc68e7c66e36983654a02a67401d75d8debf29fc6d4b83670fde69a594fc languageName: node linkType: hard @@ -5388,12 +5539,12 @@ __metadata: linkType: hard "istanbul-reports@npm:^3.1.3": - version: 3.1.6 - resolution: "istanbul-reports@npm:3.1.6" + version: 3.1.7 + resolution: "istanbul-reports@npm:3.1.7" dependencies: html-escaper: "npm:^2.0.0" istanbul-lib-report: "npm:^3.0.0" - checksum: 10/135c178e509b21af5c446a6951fc01c331331bb0fdb1ed1dd7f68a8c875603c2e2ee5c82801db5feb868e5cc35e9babe2d972d322afc50f6de6cce6431b9b2ff + checksum: 10/f1faaa4684efaf57d64087776018d7426312a59aa6eeb4e0e3a777347d23cd286ad18f427e98f0e3dee666103d7404c9d7abc5f240406a912fa16bd6695437fa languageName: node linkType: hard @@ -5410,7 +5561,7 @@ __metadata: languageName: node linkType: hard -"jackspeak@npm:^2.3.5": +"jackspeak@npm:^2.3.6": version: 2.3.6 resolution: "jackspeak@npm:2.3.6" dependencies: @@ -5924,6 +6075,13 @@ __metadata: languageName: node linkType: hard +"jsbn@npm:1.1.0": + version: 1.1.0 + resolution: "jsbn@npm:1.1.0" + checksum: 10/bebe7ae829bbd586ce8cbe83501dd8cb8c282c8902a8aeeed0a073a89dc37e8103b1244f3c6acd60278bcbfe12d93a3f83c9ac396868a3b3bbc3c5e5e3b648ef + languageName: node + linkType: hard + "jsdom@npm:^20.0.0": version: 20.0.3 resolution: "jsdom@npm:20.0.3" @@ -5964,9 +6122,10 @@ __metadata: linkType: hard "jsdom@npm:^23.1.0": - version: 23.1.0 - resolution: "jsdom@npm:23.1.0" + version: 23.2.0 + resolution: "jsdom@npm:23.2.0" dependencies: + "@asamuzakjp/dom-selector": "npm:^2.0.1" cssstyle: "npm:^4.0.1" data-urls: "npm:^5.0.0" decimal.js: "npm:^10.4.3" @@ -5975,7 +6134,6 @@ __metadata: http-proxy-agent: "npm:^7.0.0" https-proxy-agent: "npm:^7.0.2" is-potential-custom-element-name: "npm:^1.0.1" - nwsapi: "npm:^2.2.7" parse5: "npm:^7.1.2" rrweb-cssom: "npm:^0.6.0" saxes: "npm:^6.0.0" @@ -5993,7 +6151,7 @@ __metadata: peerDependenciesMeta: canvas: optional: true - checksum: 10/98524d36119f9e2c7fcd0a8be6ede3cd1b13b6de6a27bd89aeca698b6ded5e254edd430e9c6d1a8661ae5b51a7189aeb9b01b3e6d7a16583b752187778a4e563 + checksum: 10/71ad2e769515a23896881233a30d292e03752a5b01329e668a73cf205f935b55bf0881f345c747c5b4faf6288d5a01d0b0dae7b9f3379fa73d014c5a990ca0a0 languageName: node linkType: hard @@ -6179,10 +6337,10 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^10.0.1, lru-cache@npm:^9.1.1 || ^10.0.0": - version: 10.1.0 - resolution: "lru-cache@npm:10.1.0" - checksum: 10/207278d6fa711fb1f94a0835d4d4737441d2475302482a14785b10515e4c906a57ebf9f35bf060740c9560e91c7c1ad5a04fd7ed030972a9ba18bce2a228e95b +"lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0": + version: 10.2.0 + resolution: "lru-cache@npm:10.2.0" + checksum: 10/502ec42c3309c0eae1ce41afca471f831c278566d45a5273a0c51102dee31e0e250a62fa9029c3370988df33a14188a38e682c16143b794de78668de3643e302 languageName: node linkType: hard @@ -6251,11 +6409,18 @@ __metadata: linkType: hard "marked@npm:*": - version: 11.1.1 - resolution: "marked@npm:11.1.1" + version: 12.0.1 + resolution: "marked@npm:12.0.1" bin: marked: bin/marked.js - checksum: 10/c2e15a330ac75cca2e12e25aae09985a78ad7e96a84418964dcdd3ee776764a38812dc0e94e9fcbacac43113d1650ca7946f9dc0bab800d72181e56a37e7631e + checksum: 10/34fd0044ebeda28b3f3f94f340e2388666408315557f125d561b59b49baec4c6e6777f54b6fb12aa5c2bf3b75a4aa9f1809679bfb6502da73053d0461c1a232d + languageName: node + linkType: hard + +"mdn-data@npm:2.0.30": + version: 2.0.30 + resolution: "mdn-data@npm:2.0.30" + checksum: 10/e4944322bf3e0461a2daa2aee7e14e208960a036289531e4ef009e53d32bd41528350c070c4a33be867980443fe4c0523518d99318423cffa7c825fe7b1154e2 languageName: node linkType: hard @@ -6307,17 +6472,18 @@ __metadata: linkType: hard "mini-css-extract-plugin@npm:^2.7.6": - version: 2.7.6 - resolution: "mini-css-extract-plugin@npm:2.7.6" + version: 2.8.1 + resolution: "mini-css-extract-plugin@npm:2.8.1" dependencies: schema-utils: "npm:^4.0.0" + tapable: "npm:^2.2.1" peerDependencies: webpack: ^5.0.0 - checksum: 10/1f718bfdcb7c2bf5e4336f694e5576432149d63f9dacaf94eae38ad046534050471a712a2d1bedf95e1722a2d3b56c3361d7352849e802e4875e716885e952c3 + checksum: 10/e00f6d19ad1be94701db8e5f126bdf8a9f4739cd8e8eb68690254aac4699c49c872a1ca761461d7d0c37a933f823df5f87674688fe0d568e00e7c0e9d6e5c798 languageName: node linkType: hard -"minimatch@npm:9.0.3, minimatch@npm:^9.0.1": +"minimatch@npm:9.0.3": version: 9.0.3 resolution: "minimatch@npm:9.0.3" dependencies: @@ -6335,6 +6501,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^9.0.1": + version: 9.0.4 + resolution: "minimatch@npm:9.0.4" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: 10/4cdc18d112b164084513e890d6323370db14c22249d536ad1854539577a895e690a27513dc346392f61a4a50afbbd8abc88f3f25558bfbbbb862cd56508b20f5 + languageName: node + linkType: hard + "minipass-collect@npm:^2.0.1": version: 2.0.1 resolution: "minipass-collect@npm:2.0.1" @@ -6402,7 +6577,7 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3": +"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3, minipass@npm:^7.0.4": version: 7.0.4 resolution: "minipass@npm:7.0.4" checksum: 10/e864bd02ceb5e0707696d58f7ce3a0b89233f0d686ef0d447a66db705c0846a8dc6f34865cd85256c1472ff623665f616b90b8ff58058b2ad996c5de747d2d18 @@ -6473,8 +6648,8 @@ __metadata: linkType: hard "node-gyp@npm:latest": - version: 10.0.1 - resolution: "node-gyp@npm:10.0.1" + version: 10.1.0 + resolution: "node-gyp@npm:10.1.0" dependencies: env-paths: "npm:^2.2.0" exponential-backoff: "npm:^3.1.1" @@ -6488,7 +6663,7 @@ __metadata: which: "npm:^4.0.0" bin: node-gyp: bin/node-gyp.js - checksum: 10/578cf0c821f258ce4b6ebce4461eca4c991a4df2dee163c0624f2fe09c7d6d37240be4942285a0048d307230248ee0b18382d6623b9a0136ce9533486deddfa8 + checksum: 10/89e105e495e66cd4568af3cf79cdeb67d670eb069e33163c7781d3366470a30367c9bd8dea59e46db16370020139e5bf78b1fbc03284cb571754dfaa59744db5 languageName: node linkType: hard @@ -6533,7 +6708,7 @@ __metadata: languageName: node linkType: hard -"nwsapi@npm:^2.2.2, nwsapi@npm:^2.2.7": +"nwsapi@npm:^2.2.2": version: 2.2.7 resolution: "nwsapi@npm:2.2.7" checksum: 10/22c002080f0297121ad138aba5a6509e724774d6701fe2c4777627bd939064ecd9e1b6dc1c2c716bb7ca0b9f16247892ff2f664285202ac7eff6ec9543725320 @@ -6547,7 +6722,7 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.13.1, object-inspect@npm:^1.9.0": +"object-inspect@npm:^1.13.1": version: 1.13.1 resolution: "object-inspect@npm:1.13.1" checksum: 10/92f4989ed83422d56431bc39656d4c780348eb15d397ce352ade6b7fec08f973b53744bd41b94af021901e61acaf78fcc19e65bf464ecc0df958586a672700f0 @@ -6561,7 +6736,7 @@ __metadata: languageName: node linkType: hard -"object.assign@npm:^4.1.4": +"object.assign@npm:^4.1.4, object.assign@npm:^4.1.5": version: 4.1.5 resolution: "object.assign@npm:4.1.5" dependencies: @@ -6573,46 +6748,48 @@ __metadata: languageName: node linkType: hard -"object.entries@npm:^1.1.6": - version: 1.1.7 - resolution: "object.entries@npm:1.1.7" +"object.entries@npm:^1.1.7": + version: 1.1.8 + resolution: "object.entries@npm:1.1.8" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 10/03f0bd0f23a8626c94429d15abf26ccda7723f08cd26be2c09c72d436765f8c7468605b5476ca58d4a7cec1ec7eca5be496dbd938fd4236b77ed6d05a8680048 + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10/2301918fbd1ee697cf6ff7cd94f060c738c0a7d92b22fd24c7c250e9b593642c9707ad2c44d339303c1439c5967d8964251cdfc855f7f6ec55db2dd79e8dc2a7 languageName: node linkType: hard -"object.fromentries@npm:^2.0.6": - version: 2.0.7 - resolution: "object.fromentries@npm:2.0.7" +"object.fromentries@npm:^2.0.7": + version: 2.0.8 + resolution: "object.fromentries@npm:2.0.8" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 10/1bfbe42a51f8d84e417d193fae78e4b8eebb134514cdd44406480f8e8a0e075071e0717635d8e3eccd50fec08c1d555fe505c38804cbac0808397187653edd59 + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-object-atoms: "npm:^1.0.0" + checksum: 10/5b2e80f7af1778b885e3d06aeb335dcc86965e39464671adb7167ab06ac3b0f5dd2e637a90d8ebd7426d69c6f135a4753ba3dd7d0fe2a7030cf718dcb910fd92 languageName: node linkType: hard -"object.hasown@npm:^1.1.2": - version: 1.1.3 - resolution: "object.hasown@npm:1.1.3" +"object.hasown@npm:^1.1.3": + version: 1.1.4 + resolution: "object.hasown@npm:1.1.4" dependencies: - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 10/735679729c25a4e0d3713adf5df9861d862f0453e87ada4d991b75cd4225365dec61a08435e1127f42c9cc1adfc8e952fa5dca75364ebda6539dadf4721dc9c4 + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-object-atoms: "npm:^1.0.0" + checksum: 10/797385577b3ef3c0d19333e03ed34bc7987978ae1ee1245069c9922e17d1128265187f729dc610260d03f8d418af26fcd7919b423793bf0af9099d9f08367d69 languageName: node linkType: hard -"object.values@npm:^1.1.6": - version: 1.1.7 - resolution: "object.values@npm:1.1.7" +"object.values@npm:^1.1.6, object.values@npm:^1.1.7": + version: 1.2.0 + resolution: "object.values@npm:1.2.0" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 10/20ab42c0bbf984405c80e060114b18cf5d629a40a132c7eac4fb79c5d06deb97496311c19297dcf9c61f45c2539cd4c7f7c5d6230e51db360ff297bbc9910162 + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10/db2e498019c354428c5dd30d02980d920ac365b155fce4dcf63eb9433f98ccf0f72624309e182ce7cc227c95e45d474e1d483418e60de2293dd23fa3ebe34903 languageName: node linkType: hard @@ -6776,13 +6953,13 @@ __metadata: languageName: node linkType: hard -"path-scurry@npm:^1.10.1": - version: 1.10.1 - resolution: "path-scurry@npm:1.10.1" +"path-scurry@npm:^1.10.2": + version: 1.10.2 + resolution: "path-scurry@npm:1.10.2" dependencies: - lru-cache: "npm:^9.1.1 || ^10.0.0" + lru-cache: "npm:^10.2.0" minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" - checksum: 10/eebfb8304fef1d4f7e1486df987e4fd77413de4fce16508dea69fcf8eb318c09a6b15a7a2f4c22877cec1cb7ecbd3071d18ca9de79eeece0df874a00f1f0bdc8 + checksum: 10/a2bbbe8dc284c49dd9be78ca25f3a8b89300e0acc24a77e6c74824d353ef50efbf163e64a69f4330b301afca42d0e2229be0560d6d616ac4e99d48b4062016b1 languageName: node linkType: hard @@ -6823,36 +7000,43 @@ __metadata: languageName: node linkType: hard -"postcss-modules-extract-imports@npm:^3.0.0": - version: 3.0.0 - resolution: "postcss-modules-extract-imports@npm:3.0.0" +"possible-typed-array-names@npm:^1.0.0": + version: 1.0.0 + resolution: "possible-typed-array-names@npm:1.0.0" + checksum: 10/8ed3e96dfeea1c5880c1f4c9cb707e5fb26e8be22f14f82ef92df20fd2004e635c62ba47fbe8f2bb63bfd80dac1474be2fb39798da8c2feba2815435d1f749af + languageName: node + linkType: hard + +"postcss-modules-extract-imports@npm:^3.1.0": + version: 3.1.0 + resolution: "postcss-modules-extract-imports@npm:3.1.0" peerDependencies: postcss: ^8.1.0 - checksum: 10/8d68bb735cef4d43f9cdc1053581e6c1c864860b77fcfb670372b39c5feeee018dc5ddb2be4b07fef9bcd601edded4262418bbaeaf1bd4af744446300cebe358 + checksum: 10/00bfd3aff045fc13ded8e3bbfd8dfc73eff9a9708db1b2a132266aef6544c8d2aee7a5d7e021885f6f9bbd5565a9a9ab52990316e21ad9468a2534f87df8e849 languageName: node linkType: hard -"postcss-modules-local-by-default@npm:^4.0.3": - version: 4.0.3 - resolution: "postcss-modules-local-by-default@npm:4.0.3" +"postcss-modules-local-by-default@npm:^4.0.5": + version: 4.0.5 + resolution: "postcss-modules-local-by-default@npm:4.0.5" dependencies: icss-utils: "npm:^5.0.0" postcss-selector-parser: "npm:^6.0.2" postcss-value-parser: "npm:^4.1.0" peerDependencies: postcss: ^8.1.0 - checksum: 10/4f671d77cb6a025c8be09540fea00ce2d3dbf3375a3a15b48f927325c7418d7c3c87a83bacbf81c5de6ef8bd1660d5f6f2542b98de5877355a23b739379f8c79 + checksum: 10/b08b01aa7f3d1a80bb1a5508ba3a208578fdd2fb6e54e5613fac244a4e014aa7ca639a614859fec93b399e5a6f86938f7690ca60f7e57c4e35b75621d3c07734 languageName: node linkType: hard -"postcss-modules-scope@npm:^3.0.0": - version: 3.1.0 - resolution: "postcss-modules-scope@npm:3.1.0" +"postcss-modules-scope@npm:^3.2.0": + version: 3.2.0 + resolution: "postcss-modules-scope@npm:3.2.0" dependencies: postcss-selector-parser: "npm:^6.0.4" peerDependencies: postcss: ^8.1.0 - checksum: 10/39fb2e3549faf086df654932c24e24e1f267f8b2ce3a5397d44087b443bb03c9476c4a4f25c4c283b92ba249c2ba3a89d4a447e6cfc46c295369f731966c0bce + checksum: 10/17c293ad13355ba456498aa5815ddb7a4a736f7b781d89b294e1602a53b8d0e336131175f82460e290a0d672642f9039540042edc361d9000b682c44e766925b languageName: node linkType: hard @@ -6868,12 +7052,12 @@ __metadata: linkType: hard "postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4": - version: 6.0.15 - resolution: "postcss-selector-parser@npm:6.0.15" + version: 6.0.16 + resolution: "postcss-selector-parser@npm:6.0.16" dependencies: cssesc: "npm:^3.0.0" util-deprecate: "npm:^1.0.2" - checksum: 10/cea591e1d9bce60eea724428863187228e27ddaebd98e5ecb4ee6d4c9a4b68e8157fd44c916b3fef1691d19ad16aa416bb7279b5eab260c32340ae630a34e200 + checksum: 10/9324f63992c6564d392f9f6b16c56c05f157256e3be2d55d1234f7728252257dfd6b870a65a5d04ee3ceb9d9e7b78c043f630a58c9869b4b0481d6e064edc2cf languageName: node linkType: hard @@ -6884,14 +7068,14 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.21": - version: 8.4.33 - resolution: "postcss@npm:8.4.33" +"postcss@npm:^8.4.33": + version: 8.4.38 + resolution: "postcss@npm:8.4.38" dependencies: nanoid: "npm:^3.3.7" picocolors: "npm:^1.0.0" - source-map-js: "npm:^1.0.2" - checksum: 10/e22a4594c255f26117f38419fb494d7ecab0f596cd409f7aadc8a6173abf180ed7ea970cd13fd366ab12b5840be901d2a09b25197700c2ebcb5a8077326bf519 + source-map-js: "npm:^1.2.0" + checksum: 10/6e44a7ed835ffa9a2b096e8d3e5dfc6bcf331a25c48aeb862dd54e3aaecadf814fa22be224fd308f87d08adf2299164f88c5fd5ab1c4ef6cbd693ceb295377f4 languageName: node linkType: hard @@ -6911,12 +7095,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:3.1.1": - version: 3.1.1 - resolution: "prettier@npm:3.1.1" +"prettier@npm:3.2.5": + version: 3.2.5 + resolution: "prettier@npm:3.2.5" bin: prettier: bin/prettier.cjs - checksum: 10/26a249f321b97d26c04483f1bf2eeb22e082a76f4222a2c922bebdc60111691aad4ec3979610e83942e0b956058ec361d9e9c81c185172264eb6db9aa678082b + checksum: 10/d509f9da0b70e8cacc561a1911c0d99ec75117faed27b95cc8534cb2349667dee6351b0ca83fa9d5703f14127faa52b798de40f5705f02d843da133fc3aa416a languageName: node linkType: hard @@ -6991,9 +7175,9 @@ __metadata: linkType: hard "pure-rand@npm:^6.0.0": - version: 6.0.4 - resolution: "pure-rand@npm:6.0.4" - checksum: 10/34fed0abe99d3db7ddc459c12e1eda6bff05db6a17f2017a1ae12202271ccf276fb223b442653518c719671c1b339bbf97f27ba9276dba0997c89e45c4e6a3bf + version: 6.1.0 + resolution: "pure-rand@npm:6.1.0" + checksum: 10/256aa4bcaf9297256f552914e03cbdb0039c8fe1db11fa1e6d3f80790e16e563eb0a859a1e61082a95e224fc0c608661839439f8ecc6a3db4e48d46d99216ee4 languageName: node linkType: hard @@ -7053,16 +7237,17 @@ __metadata: linkType: hard "reflect.getprototypeof@npm:^1.0.4": - version: 1.0.4 - resolution: "reflect.getprototypeof@npm:1.0.4" + version: 1.0.6 + resolution: "reflect.getprototypeof@npm:1.0.6" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - get-intrinsic: "npm:^1.2.1" + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.1" + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.4" globalthis: "npm:^1.0.3" which-builtin-type: "npm:^1.1.3" - checksum: 10/52ff881f62a9cb4acdd7f9a8f4ac88234056c4a6b1ed570c249cc085de5c313249b90251d16eb8e58302b82ae697eec19dde16ff62949f6b87f035a3a26dc5df + checksum: 10/518f6457e4bb470c9b317d239c62d4b4a05678b7eae4f1c3f4332fad379b3ea6d2d8999bfad448547fdba8fb77e4725cfe8c6440d0168ff387f16b4f19f759ad languageName: node linkType: hard @@ -7098,14 +7283,15 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.5.0, regexp.prototype.flags@npm:^1.5.1": - version: 1.5.1 - resolution: "regexp.prototype.flags@npm:1.5.1" +"regexp.prototype.flags@npm:^1.5.2": + version: 1.5.2 + resolution: "regexp.prototype.flags@npm:1.5.2" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - set-function-name: "npm:^2.0.0" - checksum: 10/3fa5610b8e411bbc3a43ddfd13162f3a817beb43155fbd8caa24d4fd0ce2f431a8197541808772a5a06e5946cebfb68464c827827115bde0d11720a92fe2981a + call-bind: "npm:^1.0.6" + define-properties: "npm:^1.2.1" + es-errors: "npm:^1.3.0" + set-function-name: "npm:^2.0.1" + checksum: 10/9fffc01da9c4e12670ff95bc5204364615fcc12d86fc30642765af908675678ebb0780883c874b2dbd184505fb52fa603d80073ecf69f461ce7f56b15d10be9c languageName: node linkType: hard @@ -7205,7 +7391,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^2.0.0-next.4": +"resolve@npm:^2.0.0-next.5": version: 2.0.0-next.5 resolution: "resolve@npm:2.0.0-next.5" dependencies: @@ -7231,7 +7417,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^2.0.0-next.4#optional!builtin<compat/resolve>": +"resolve@patch:resolve@npm%3A^2.0.0-next.5#optional!builtin<compat/resolve>": version: 2.0.0-next.5 resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#optional!builtin<compat/resolve>::version=2.0.0-next.5&hash=c3c19d" dependencies: @@ -7285,15 +7471,15 @@ __metadata: languageName: node linkType: hard -"safe-array-concat@npm:^1.0.1": - version: 1.0.1 - resolution: "safe-array-concat@npm:1.0.1" +"safe-array-concat@npm:^1.1.2": + version: 1.1.2 + resolution: "safe-array-concat@npm:1.1.2" dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.2.1" + call-bind: "npm:^1.0.7" + get-intrinsic: "npm:^1.2.4" has-symbols: "npm:^1.0.3" isarray: "npm:^2.0.5" - checksum: 10/44f073d85ca12458138e6eff103ac63cec619c8261b6579bd2fa3ae7b6516cf153f02596d68e40c5bbe322a29c930017800efff652734ddcb8c0f33b2a71f89c + checksum: 10/a54f8040d7cb696a1ee38d19cc71ab3cfb654b9b81bae00c6459618cfad8214ece7e6666592f9c925aafef43d0a20c5e6fbb3413a2b618e1ce9d516a2e6dcfc5 languageName: node linkType: hard @@ -7304,14 +7490,14 @@ __metadata: languageName: node linkType: hard -"safe-regex-test@npm:^1.0.0": - version: 1.0.0 - resolution: "safe-regex-test@npm:1.0.0" +"safe-regex-test@npm:^1.0.3": + version: 1.0.3 + resolution: "safe-regex-test@npm:1.0.3" dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.1.3" + call-bind: "npm:^1.0.6" + es-errors: "npm:^1.3.0" is-regex: "npm:^1.1.4" - checksum: 10/c7248dfa07891aa634c8b9c55da696e246f8589ca50e7fd14b22b154a106e83209ddf061baf2fa45ebfbd485b094dc7297325acfc50724de6afe7138451b42a9 + checksum: 10/b04de61114b10274d92e25b6de7ccb5de07f11ea15637ff636de4b5190c0f5cd8823fe586dde718504cf78055437d70fd8804976894df502fcf5a210c970afb3 languageName: node linkType: hard @@ -7347,15 +7533,15 @@ __metadata: linkType: hard "sass@npm:^1.69.7": - version: 1.69.7 - resolution: "sass@npm:1.69.7" + version: 1.75.0 + resolution: "sass@npm:1.75.0" dependencies: chokidar: "npm:>=3.0.0 <4.0.0" immutable: "npm:^4.0.0" source-map-js: "npm:>=0.6.2 <2.0.0" bin: sass: sass.js - checksum: 10/9c6d3fe468a267949e8dd766085351f59988caf5d3d5c13eb041d370366f869ad3704b5046586fd3584b2cbf59c03650d237b62a4c6ed26a0c003e27f9ef4e89 + checksum: 10/9f2d1b5adfe0b008e7062ef2f42fd9b26672e39e36ef3d234166636a4082d1f66c01804070e4e07b50ec872cdd9485ccf10fae8f87b3c00b9de6400c6e73efe8 languageName: node linkType: hard @@ -7411,46 +7597,49 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.3.5, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4": - version: 7.5.4 - resolution: "semver@npm:7.5.4" +"semver@npm:^7.3.5, semver@npm:^7.5.3, semver@npm:^7.5.4": + version: 7.6.0 + resolution: "semver@npm:7.6.0" dependencies: lru-cache: "npm:^6.0.0" bin: semver: bin/semver.js - checksum: 10/985dec0d372370229a262c737063860fabd4a1c730662c1ea3200a2f649117761a42184c96df62a0e885e76fbd5dace41087d6c1ac0351b13c0df5d6bcb1b5ac + checksum: 10/1b41018df2d8aca5a1db4729985e8e20428c650daea60fcd16e926e9383217d00f574fab92d79612771884a98d2ee2a1973f49d630829a8d54d6570defe62535 languageName: node linkType: hard "serialize-javascript@npm:^6.0.1": - version: 6.0.1 - resolution: "serialize-javascript@npm:6.0.1" + version: 6.0.2 + resolution: "serialize-javascript@npm:6.0.2" dependencies: randombytes: "npm:^2.1.0" - checksum: 10/f756b1ff34b655b2183c64dd6683d28d4d9b9a80284b264cac9fd421c73890491eafd6c5c2bbe93f1f21bf78b572037c5a18d24b044c317ee1c9dc44d22db94c + checksum: 10/445a420a6fa2eaee4b70cbd884d538e259ab278200a2ededd73253ada17d5d48e91fb1f4cd224a236ab62ea7ba0a70c6af29fc93b4f3d3078bf7da1c031fde58 languageName: node linkType: hard -"set-function-length@npm:^1.1.1": - version: 1.1.1 - resolution: "set-function-length@npm:1.1.1" +"set-function-length@npm:^1.2.1": + version: 1.2.2 + resolution: "set-function-length@npm:1.2.2" dependencies: - define-data-property: "npm:^1.1.1" - get-intrinsic: "npm:^1.2.1" + define-data-property: "npm:^1.1.4" + es-errors: "npm:^1.3.0" + function-bind: "npm:^1.1.2" + get-intrinsic: "npm:^1.2.4" gopd: "npm:^1.0.1" - has-property-descriptors: "npm:^1.0.0" - checksum: 10/745ed1d7dc69a6185e0820082fe73838ab3dfd01e75cce83a41e4c1d68bbf34bc5fb38f32ded542ae0b557536b5d2781594499b5dcd19e7db138e06292a76c7b + has-property-descriptors: "npm:^1.0.2" + checksum: 10/505d62b8e088468917ca4e3f8f39d0e29f9a563b97dbebf92f4bd2c3172ccfb3c5b8e4566d5fcd00784a00433900e7cb8fbc404e2dbd8c3818ba05bb9d4a8a6d languageName: node linkType: hard -"set-function-name@npm:^2.0.0, set-function-name@npm:^2.0.1": - version: 2.0.1 - resolution: "set-function-name@npm:2.0.1" +"set-function-name@npm:^2.0.1, set-function-name@npm:^2.0.2": + version: 2.0.2 + resolution: "set-function-name@npm:2.0.2" dependencies: - define-data-property: "npm:^1.0.1" + define-data-property: "npm:^1.1.4" + es-errors: "npm:^1.3.0" functions-have-names: "npm:^1.2.3" - has-property-descriptors: "npm:^1.0.0" - checksum: 10/4975d17d90c40168eee2c7c9c59d023429f0a1690a89d75656306481ece0c3c1fb1ebcc0150ea546d1913e35fbd037bace91372c69e543e51fc5d1f31a9fa126 + has-property-descriptors: "npm:^1.0.2" + checksum: 10/c7614154a53ebf8c0428a6c40a3b0b47dac30587c1a19703d1b75f003803f73cdfa6a93474a9ba678fa565ef5fbddc2fae79bca03b7d22ab5fd5163dbe571a74 languageName: node linkType: hard @@ -7479,14 +7668,15 @@ __metadata: languageName: node linkType: hard -"side-channel@npm:^1.0.4": - version: 1.0.4 - resolution: "side-channel@npm:1.0.4" +"side-channel@npm:^1.0.4, side-channel@npm:^1.0.6": + version: 1.0.6 + resolution: "side-channel@npm:1.0.6" dependencies: - call-bind: "npm:^1.0.0" - get-intrinsic: "npm:^1.0.2" - object-inspect: "npm:^1.9.0" - checksum: 10/c4998d9fc530b0e75a7fd791ad868fdc42846f072734f9080ff55cc8dc7d3899abcda24fd896aa6648c3ab7021b4bb478073eb4f44dfd55bce9714bc1a7c5d45 + call-bind: "npm:^1.0.7" + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.4" + object-inspect: "npm:^1.13.1" + checksum: 10/eb10944f38cebad8ad643dd02657592fa41273ce15b8bfa928d3291aff2d30c20ff777cfe908f76ccc4551ace2d1245822fdc576657cce40e9066c638ca8fa4d languageName: node linkType: hard @@ -7536,24 +7726,24 @@ __metadata: languageName: node linkType: hard -"socks-proxy-agent@npm:^8.0.1": - version: 8.0.2 - resolution: "socks-proxy-agent@npm:8.0.2" +"socks-proxy-agent@npm:^8.0.3": + version: 8.0.3 + resolution: "socks-proxy-agent@npm:8.0.3" dependencies: - agent-base: "npm:^7.0.2" + agent-base: "npm:^7.1.1" debug: "npm:^4.3.4" socks: "npm:^2.7.1" - checksum: 10/ea727734bd5b2567597aa0eda14149b3b9674bb44df5937bbb9815280c1586994de734d965e61f1dd45661183d7b41f115fb9e432d631287c9063864cfcc2ecc + checksum: 10/c2112c66d6322e497d68e913c3780f3683237fd394bfd480b9283486a86e36095d0020db96145d88f8ccd9cc73261b98165b461f9c1bf5dc17abfe75c18029ce languageName: node linkType: hard "socks@npm:^2.7.1": - version: 2.7.1 - resolution: "socks@npm:2.7.1" + version: 2.8.3 + resolution: "socks@npm:2.8.3" dependencies: - ip: "npm:^2.0.0" + ip-address: "npm:^9.0.5" smart-buffer: "npm:^4.2.0" - checksum: 10/5074f7d6a13b3155fa655191df1c7e7a48ce3234b8ccf99afa2ccb56591c195e75e8bb78486f8e9ea8168e95a29573cbaad55b2b5e195160ae4d2ea6811ba833 + checksum: 10/ffcb622c22481dfcd7589aae71fbfd71ca34334064d181df64bf8b7feaeee19706aba4cffd1de35cc7bbaeeaa0af96be2d7f40fcbc7bc0ab69533a7ae9ffc4fb languageName: node linkType: hard @@ -7564,10 +7754,10 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.2": - version: 1.0.2 - resolution: "source-map-js@npm:1.0.2" - checksum: 10/38e2d2dd18d2e331522001fc51b54127ef4a5d473f53b1349c5cca2123562400e0986648b52e9407e348eaaed53bce49248b6e2641e6d793ca57cb2c360d6d51 +"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.0": + version: 1.2.0 + resolution: "source-map-js@npm:1.2.0" + checksum: 10/74f331cfd2d121c50790c8dd6d3c9de6be21926de80583b23b37029b0f37aefc3e019fa91f9a10a5e120c08135297e1ecf312d561459c45908cb1e0e365f49e5 languageName: node linkType: hard @@ -7605,6 +7795,13 @@ __metadata: languageName: node linkType: hard +"sprintf-js@npm:^1.1.3": + version: 1.1.3 + resolution: "sprintf-js@npm:1.1.3" + checksum: 10/e7587128c423f7e43cc625fe2f87e6affdf5ca51c1cc468e910d8aaca46bb44a7fbcfa552f787b1d3987f7043aeb4527d1b99559e6621e01b42b3f45e5a24cbb + languageName: node + linkType: hard + "sprintf-js@npm:~1.0.2": version: 1.0.3 resolution: "sprintf-js@npm:1.0.3" @@ -7671,53 +7868,57 @@ __metadata: languageName: node linkType: hard -"string.prototype.matchall@npm:^4.0.8": - version: 4.0.10 - resolution: "string.prototype.matchall@npm:4.0.10" +"string.prototype.matchall@npm:^4.0.10": + version: 4.0.11 + resolution: "string.prototype.matchall@npm:4.0.11" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - get-intrinsic: "npm:^1.2.1" + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.0.0" + get-intrinsic: "npm:^1.2.4" + gopd: "npm:^1.0.1" has-symbols: "npm:^1.0.3" - internal-slot: "npm:^1.0.5" - regexp.prototype.flags: "npm:^1.5.0" - set-function-name: "npm:^2.0.0" - side-channel: "npm:^1.0.4" - checksum: 10/0f7a1a7f91790cd45f804039a16bc6389c8f4f25903e648caa3eea080b019a5c7b0cac2ca83976646140c2332b159042140bf389f23675609d869dd52450cddc + internal-slot: "npm:^1.0.7" + regexp.prototype.flags: "npm:^1.5.2" + set-function-name: "npm:^2.0.2" + side-channel: "npm:^1.0.6" + checksum: 10/a902ff4500f909f2a08e55cc5ab1ffbbc905f603b36837674370ee3921058edd0392147e15891910db62a2f31ace2adaf065eaa3bc6e9810bdbc8ca48e05a7b5 languageName: node linkType: hard -"string.prototype.trim@npm:^1.2.8": - version: 1.2.8 - resolution: "string.prototype.trim@npm:1.2.8" +"string.prototype.trim@npm:^1.2.9": + version: 1.2.9 + resolution: "string.prototype.trim@npm:1.2.9" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 10/9301f6cb2b6c44f069adde1b50f4048915985170a20a1d64cf7cb2dc53c5cd6b9525b92431f1257f894f94892d6c4ae19b5aa7f577c3589e7e51772dffc9d5a4 + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.0" + es-object-atoms: "npm:^1.0.0" + checksum: 10/b2170903de6a2fb5a49bb8850052144e04b67329d49f1343cdc6a87cb24fb4e4b8ad00d3e273a399b8a3d8c32c89775d93a8f43cb42fbff303f25382079fb58a languageName: node linkType: hard -"string.prototype.trimend@npm:^1.0.7": - version: 1.0.7 - resolution: "string.prototype.trimend@npm:1.0.7" +"string.prototype.trimend@npm:^1.0.8": + version: 1.0.8 + resolution: "string.prototype.trimend@npm:1.0.8" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 10/3f0d3397ab9bd95cd98ae2fe0943bd3e7b63d333c2ab88f1875cf2e7c958c75dc3355f6fe19ee7c8fca28de6f39f2475e955e103821feb41299a2764a7463ffa + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10/c2e862ae724f95771da9ea17c27559d4eeced9208b9c20f69bbfcd1b9bc92375adf8af63a103194dba17c4cc4a5cb08842d929f415ff9d89c062d44689c8761b languageName: node linkType: hard -"string.prototype.trimstart@npm:^1.0.7": - version: 1.0.7 - resolution: "string.prototype.trimstart@npm:1.0.7" +"string.prototype.trimstart@npm:^1.0.8": + version: 1.0.8 + resolution: "string.prototype.trimstart@npm:1.0.8" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 10/6e594d3a61b127d243b8be1312e9f78683abe452cfe0bcafa3e0dc62ad6f030ccfb64d87ed3086fb7cb540fda62442c164d237cc5cc4d53c6e3eb659c29a0aeb + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10/160167dfbd68e6f7cb9f51a16074eebfce1571656fc31d40c3738ca9e30e35496f2c046fe57b6ad49f65f238a152be8c86fd9a2dd58682b5eba39dad995b3674 languageName: node linkType: hard @@ -7761,11 +7962,11 @@ __metadata: linkType: hard "style-loader@npm:^3.3.3": - version: 3.3.3 - resolution: "style-loader@npm:3.3.3" + version: 3.3.4 + resolution: "style-loader@npm:3.3.4" peerDependencies: webpack: ^5.0.0 - checksum: 10/6c13d5075b5a5d69602215a242ef157460766e6e8a2e48276eb5da5b9852716910b48b3f120d492bbc7cd825dfa940b35fc84e1a9ab2a8792fd8d568b6b3e87a + checksum: 10/2dd2a77d4fc689e1f73836ed7653830cb4e628af0b2979dcf6f31524c72bf44fca4bac8aebe62df95a5f9be19bea18f952a2cfcaaeff32c524c4402226d9c58f languageName: node linkType: hard @@ -7820,7 +8021,7 @@ __metadata: languageName: node linkType: hard -"tapable@npm:^2.1.1, tapable@npm:^2.2.0": +"tapable@npm:^2.1.1, tapable@npm:^2.2.0, tapable@npm:^2.2.1": version: 2.2.1 resolution: "tapable@npm:2.2.1" checksum: 10/1769336dd21481ae6347611ca5fca47add0962fd8e80466515032125eca0084a4f0ede11e65341b9c0018ef4e1cf1ad820adbb0fba7cc99865c6005734000b0a @@ -7841,7 +8042,7 @@ __metadata: languageName: node linkType: hard -"terser-webpack-plugin@npm:^5.3.10, terser-webpack-plugin@npm:^5.3.7": +"terser-webpack-plugin@npm:^5.3.10": version: 5.3.10 resolution: "terser-webpack-plugin@npm:5.3.10" dependencies: @@ -7864,8 +8065,8 @@ __metadata: linkType: hard "terser@npm:^5.26.0": - version: 5.26.0 - resolution: "terser@npm:5.26.0" + version: 5.30.3 + resolution: "terser@npm:5.30.3" dependencies: "@jridgewell/source-map": "npm:^0.3.3" acorn: "npm:^8.8.2" @@ -7873,7 +8074,7 @@ __metadata: source-map-support: "npm:~0.5.20" bin: terser: bin/terser - checksum: 10/0282c5c065cbfa1e725d5609b99579252bc20b83cd1d75e8ab8b46d5da2c9d0fcfc453a12624f2d2d4c1240bfa0017a90fcf1e3b88258e5842fca1b0b82be8d8 + checksum: 10/f4ee378065a327c85472f351ac232fa47ec84d4f15df7ec58c044b41e3c063cf11aaedd90dcfe9c7f2a6ef01d4aab23deb61622301170dc77d0a8b6a6a83cf5e languageName: node linkType: hard @@ -7912,7 +8113,7 @@ __metadata: resolution: "tgui-panel@workspace:packages/tgui-panel" dependencies: common: "workspace:*" - dompurify: "npm:^2.4.7" + dompurify: "npm:2.5.0" inferno: "npm:^7.4.11" tgui: "workspace:*" tgui-dev-server: "workspace:*" @@ -7976,7 +8177,7 @@ __metadata: jest-environment-jsdom: "npm:^29.7.0" jsdom: "npm:^23.1.0" mini-css-extract-plugin: "npm:^2.7.6" - prettier: "npm:3.1.1" + prettier: "npm:3.2.5" sass: "npm:^1.69.7" sass-loader: "npm:^13.3.2" style-loader: "npm:^3.3.3" @@ -7995,7 +8196,8 @@ __metadata: "@popperjs/core": "npm:^2.11.8" "@types/marked": "npm:^6.0.0" common: "workspace:*" - dompurify: "npm:^2.4.7" + csstype: "npm:^3.1.3" + dompurify: "npm:2.5.0" highlight.js: "npm:^11.9.0" inferno: "npm:^7.4.11" inferno-vnode-flags: "npm:^7.4.11" @@ -8067,11 +8269,11 @@ __metadata: linkType: hard "ts-api-utils@npm:^1.0.1": - version: 1.0.3 - resolution: "ts-api-utils@npm:1.0.3" + version: 1.3.0 + resolution: "ts-api-utils@npm:1.3.0" peerDependencies: typescript: ">=4.2.0" - checksum: 10/1350a5110eb1e534e9a6178f4081fb8a4fcc439749e19f4ad699baec9090fcb90fe532d5e191d91a062dc6e454a14a8d7eb2ad202f57135a30c4a44a3024f039 + checksum: 10/3ee44faa24410cd649b5c864e068d438aa437ef64e9e4a66a41646a6d3024d3097a695eeb3fb26ee364705d3cb9653a65756d009e6a53badb6066a5f447bf7ed languageName: node linkType: hard @@ -8119,70 +8321,75 @@ __metadata: languageName: node linkType: hard -"typed-array-buffer@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-buffer@npm:1.0.0" +"typed-array-buffer@npm:^1.0.2": + version: 1.0.2 + resolution: "typed-array-buffer@npm:1.0.2" dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.2.1" - is-typed-array: "npm:^1.1.10" - checksum: 10/3e0281c79b2a40cd97fe715db803884301993f4e8c18e8d79d75fd18f796e8cd203310fec8c7fdb5e6c09bedf0af4f6ab8b75eb3d3a85da69328f28a80456bd3 + call-bind: "npm:^1.0.7" + es-errors: "npm:^1.3.0" + is-typed-array: "npm:^1.1.13" + checksum: 10/02ffc185d29c6df07968272b15d5319a1610817916ec8d4cd670ded5d1efe72901541ff2202fcc622730d8a549c76e198a2f74e312eabbfb712ed907d45cbb0b languageName: node linkType: hard -"typed-array-byte-length@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-byte-length@npm:1.0.0" +"typed-array-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "typed-array-byte-length@npm:1.0.1" dependencies: - call-bind: "npm:^1.0.2" + call-bind: "npm:^1.0.7" for-each: "npm:^0.3.3" - has-proto: "npm:^1.0.1" - is-typed-array: "npm:^1.1.10" - checksum: 10/6f376bf5d988f00f98ccee41fd551cafc389095a2a307c18fab30f29da7d1464fc3697139cf254cda98b4128bbcb114f4b557bbabdc6d9c2e5039c515b31decf + gopd: "npm:^1.0.1" + has-proto: "npm:^1.0.3" + is-typed-array: "npm:^1.1.13" + checksum: 10/e4a38329736fe6a73b52a09222d4a9e8de14caaa4ff6ad8e55217f6705b017d9815b7284c85065b3b8a7704e226ccff1372a72b78c2a5b6b71b7bf662308c903 languageName: node linkType: hard -"typed-array-byte-offset@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-byte-offset@npm:1.0.0" +"typed-array-byte-offset@npm:^1.0.2": + version: 1.0.2 + resolution: "typed-array-byte-offset@npm:1.0.2" dependencies: - available-typed-arrays: "npm:^1.0.5" - call-bind: "npm:^1.0.2" + available-typed-arrays: "npm:^1.0.7" + call-bind: "npm:^1.0.7" for-each: "npm:^0.3.3" - has-proto: "npm:^1.0.1" - is-typed-array: "npm:^1.1.10" - checksum: 10/2d81747faae31ca79f6c597dc18e15ae3d5b7e97f7aaebce3b31f46feeb2a6c1d6c92b9a634d901c83731ffb7ec0b74d05c6ff56076f5ae39db0cd19b16a3f92 + gopd: "npm:^1.0.1" + has-proto: "npm:^1.0.3" + is-typed-array: "npm:^1.1.13" + checksum: 10/ac26d720ebb2aacbc45e231347c359e6649f52e0cfe0e76e62005912f8030d68e4cb7b725b1754e8fdd48e433cb68df5a8620a3e420ad1457d666e8b29bf9150 languageName: node linkType: hard -"typed-array-length@npm:^1.0.4": - version: 1.0.4 - resolution: "typed-array-length@npm:1.0.4" +"typed-array-length@npm:^1.0.6": + version: 1.0.6 + resolution: "typed-array-length@npm:1.0.6" dependencies: - call-bind: "npm:^1.0.2" + call-bind: "npm:^1.0.7" for-each: "npm:^0.3.3" - is-typed-array: "npm:^1.1.9" - checksum: 10/0444658acc110b233176cb0b7689dcb828b0cfa099ab1d377da430e8553b6fdcdce882360b7ffe9ae085b6330e1d39383d7b2c61574d6cd8eef651d3e4a87822 + gopd: "npm:^1.0.1" + has-proto: "npm:^1.0.3" + is-typed-array: "npm:^1.1.13" + possible-typed-array-names: "npm:^1.0.0" + checksum: 10/05e96cf4ff836743ebfc593d86133b8c30e83172cb5d16c56814d7bacfed57ce97e87ada9c4b2156d9aaa59f75cdef01c25bd9081c7826e0b869afbefc3e8c39 languageName: node linkType: hard "typescript@npm:^5.3.3": - version: 5.3.3 - resolution: "typescript@npm:5.3.3" + version: 5.4.5 + resolution: "typescript@npm:5.4.5" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/6e4e6a14a50c222b3d14d4ea2f729e79f972fa536ac1522b91202a9a65af3605c2928c4a790a4a50aa13694d461c479ba92cedaeb1e7b190aadaa4e4b96b8e18 + checksum: 10/d04a9e27e6d83861f2126665aa8d84847e8ebabcea9125b9ebc30370b98cb38b5dff2508d74e2326a744938191a83a69aa9fddab41f193ffa43eabfdf3f190a5 languageName: node linkType: hard "typescript@patch:typescript@npm%3A^5.3.3#optional!builtin<compat/typescript>": - version: 5.3.3 - resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>::version=5.3.3&hash=e012d7" + version: 5.4.5 + resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/c93786fcc9a70718ba1e3819bab56064ead5817004d1b8186f8ca66165f3a2d0100fee91fa64c840dcd45f994ca5d615d8e1f566d39a7470fc1e014dbb4cf15d + checksum: 10/760f7d92fb383dbf7dee2443bf902f4365db2117f96f875cf809167f6103d55064de973db9f78fe8f31ec08fff52b2c969aee0d310939c0a3798ec75d0bca2e1 languageName: node linkType: hard @@ -8346,13 +8553,13 @@ __metadata: languageName: node linkType: hard -"watchpack@npm:^2.4.0": - version: 2.4.0 - resolution: "watchpack@npm:2.4.0" +"watchpack@npm:^2.4.1": + version: 2.4.1 + resolution: "watchpack@npm:2.4.1" dependencies: glob-to-regexp: "npm:^0.4.1" graceful-fs: "npm:^4.1.2" - checksum: 10/4280b45bc4b5d45d5579113f2a4af93b67ae1b9607cc3d86ae41cdd53ead10db5d9dc3237f24256d05ef88b28c69a02712f78e434cb7ecc8edaca134a56e8cab + checksum: 10/0736ebd20b75d3931f9b6175c819a66dee29297c1b389b2e178bc53396a6f867ecc2fd5d87a713ae92dcb73e487daec4905beee20ca00a9e27f1184a7c2bca5e languageName: node linkType: hard @@ -8364,8 +8571,8 @@ __metadata: linkType: hard "webpack-bundle-analyzer@npm:^4.10.1": - version: 4.10.1 - resolution: "webpack-bundle-analyzer@npm:4.10.1" + version: 4.10.2 + resolution: "webpack-bundle-analyzer@npm:4.10.2" dependencies: "@discoveryjs/json-ext": "npm:0.5.7" acorn: "npm:^8.0.4" @@ -8375,14 +8582,13 @@ __metadata: escape-string-regexp: "npm:^4.0.0" gzip-size: "npm:^6.0.0" html-escaper: "npm:^2.0.2" - is-plain-object: "npm:^5.0.0" opener: "npm:^1.5.2" picocolors: "npm:^1.0.0" sirv: "npm:^2.0.3" ws: "npm:^7.3.1" bin: webpack-bundle-analyzer: lib/bin/analyzer.js - checksum: 10/bc7bc2c014ba36dfb3f28ef75e3bb4be17ebff092ae713a30392a1d578a73b5d83ed0940b9d12eca6b06e514218d8a1e7cb0610f0b4d74b53425be3f0cc3aea8 + checksum: 10/cb7ff9d01dc04ef23634f439ab9fe739e022cce5595cb340e01d106ed474605ce4ef50b11b47e444507d341b16650dcb3610e88944020ca6c1c38e88072d43ba languageName: node linkType: hard @@ -8447,39 +8653,39 @@ __metadata: linkType: hard "webpack@npm:^5, webpack@npm:^5.89.0": - version: 5.89.0 - resolution: "webpack@npm:5.89.0" + version: 5.91.0 + resolution: "webpack@npm:5.91.0" dependencies: "@types/eslint-scope": "npm:^3.7.3" - "@types/estree": "npm:^1.0.0" - "@webassemblyjs/ast": "npm:^1.11.5" - "@webassemblyjs/wasm-edit": "npm:^1.11.5" - "@webassemblyjs/wasm-parser": "npm:^1.11.5" + "@types/estree": "npm:^1.0.5" + "@webassemblyjs/ast": "npm:^1.12.1" + "@webassemblyjs/wasm-edit": "npm:^1.12.1" + "@webassemblyjs/wasm-parser": "npm:^1.12.1" acorn: "npm:^8.7.1" acorn-import-assertions: "npm:^1.9.0" - browserslist: "npm:^4.14.5" + browserslist: "npm:^4.21.10" chrome-trace-event: "npm:^1.0.2" - enhanced-resolve: "npm:^5.15.0" + enhanced-resolve: "npm:^5.16.0" es-module-lexer: "npm:^1.2.1" eslint-scope: "npm:5.1.1" events: "npm:^3.2.0" glob-to-regexp: "npm:^0.4.1" - graceful-fs: "npm:^4.2.9" + graceful-fs: "npm:^4.2.11" json-parse-even-better-errors: "npm:^2.3.1" loader-runner: "npm:^4.2.0" mime-types: "npm:^2.1.27" neo-async: "npm:^2.6.2" schema-utils: "npm:^3.2.0" tapable: "npm:^2.1.1" - terser-webpack-plugin: "npm:^5.3.7" - watchpack: "npm:^2.4.0" + terser-webpack-plugin: "npm:^5.3.10" + watchpack: "npm:^2.4.1" webpack-sources: "npm:^3.2.3" peerDependenciesMeta: webpack-cli: optional: true bin: webpack: bin/webpack.js - checksum: 10/ee19b070279c9bc3bf21eeaac3ea08e6583c1b8da334e595b3c9badedbd7f9fad071b9f785076081af661ef247bb72441e86e8b903bf253ae9300007a048ea6e + checksum: 10/647ca53c15fe0fa1af4396a7257d7a93cbea648d2685e565a11cc822a9e3ea9316345250987d75f02c0b45dae118814f094ec81908d1032e77a33cd6470b289e languageName: node linkType: hard @@ -8569,27 +8775,27 @@ __metadata: linkType: hard "which-collection@npm:^1.0.1": - version: 1.0.1 - resolution: "which-collection@npm:1.0.1" + version: 1.0.2 + resolution: "which-collection@npm:1.0.2" dependencies: - is-map: "npm:^2.0.1" - is-set: "npm:^2.0.1" - is-weakmap: "npm:^2.0.1" - is-weakset: "npm:^2.0.1" - checksum: 10/85c95fcf92df7972ce66bed879e53d9dc752a30ef08e1ca4696df56bcf1c302e3b9965a39b04a20fa280a997fad6c170eb0b4d62435569b7f6c0bc7be910572b + is-map: "npm:^2.0.3" + is-set: "npm:^2.0.3" + is-weakmap: "npm:^2.0.2" + is-weakset: "npm:^2.0.3" + checksum: 10/674bf659b9bcfe4055f08634b48a8588e879161b9fefed57e9ec4ff5601e4d50a05ccd76cf10f698ef5873784e5df3223336d56c7ce88e13bcf52ebe582fc8d7 languageName: node linkType: hard -"which-typed-array@npm:^1.1.11, which-typed-array@npm:^1.1.13, which-typed-array@npm:^1.1.9": - version: 1.1.13 - resolution: "which-typed-array@npm:1.1.13" +"which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.15, which-typed-array@npm:^1.1.9": + version: 1.1.15 + resolution: "which-typed-array@npm:1.1.15" dependencies: - available-typed-arrays: "npm:^1.0.5" - call-bind: "npm:^1.0.4" + available-typed-arrays: "npm:^1.0.7" + call-bind: "npm:^1.0.7" for-each: "npm:^0.3.3" gopd: "npm:^1.0.1" - has-tostringtag: "npm:^1.0.0" - checksum: 10/605e3e10b7118af904a0e79d0d50b95275102f06ec902734024989cd71354929f7acee50de43529d3baf5858e2e4eb32c75e6ebd226c888ad976d8140e4a3e71 + has-tostringtag: "npm:^1.0.2" + checksum: 10/c3b6a99beadc971baa53c3ee5b749f2b9bdfa3b3b9a70650dd8511a48b61d877288b498d424712e9991d16019633086bd8b5923369460d93463c5825fa36c448 languageName: node linkType: hard diff --git a/tools/ci/check_grep2.py b/tools/ci/check_grep2.py index 561151a7564d..8bf21aedd172 100644 --- a/tools/ci/check_grep2.py +++ b/tools/ci/check_grep2.py @@ -146,6 +146,11 @@ def check_datum_loops(idx, line): "If you're trying to check bare datums, please ensure that your value is only cast to /datum, and please make sure you use \'as anything\', or use a global list instead." ) +HREF_OLD_STYLE = re.compile(r"href[\s='\"\\]*\?") +def check_href_styles(idx, line): + if HREF_OLD_STYLE.search(line): + return [(idx + 1, "BYOND requires internal href links to begin with \"byond://\"")] + CODE_CHECKS = [ check_space_indentation, check_mixed_indentation, @@ -158,6 +163,7 @@ def check_datum_loops(idx, line): check_global_list_empty, check_tgui_ui_new_argument, check_datum_loops, + check_href_styles, ] diff --git a/tools/maplint/lints/stacked_matching_cables.yml b/tools/maplint/lints/stacked_matching_cables.yml new file mode 100644 index 000000000000..6b041026257b --- /dev/null +++ b/tools/maplint/lints/stacked_matching_cables.yml @@ -0,0 +1,4 @@ +/obj/structure/cable: + banned_neighbors: + /obj/structure/cable: + identical: true diff --git a/tools/maplint/source/lint.py b/tools/maplint/source/lint.py index 4af9ad5c1cfd..ee86d29be52b 100644 --- a/tools/maplint/source/lint.py +++ b/tools/maplint/source/lint.py @@ -66,7 +66,13 @@ def __init__(self, typepath, data = {}): def matches(self, identified: Content, neighbor: Content): if self.identical: - return neighbor == identified + if identified.path != neighbor.path: + return False + + if identified.var_edits != neighbor.var_edits: + return False + + return True if self.typepath is not None: if self.typepath.matches_path(neighbor.path):