From a96e634a8e4e9e0643b55cf9e3a361384ea22efc Mon Sep 17 00:00:00 2001 From: Arthri <41360489+Arthri@users.noreply.github.com> Date: Tue, 30 Jul 2024 22:27:53 +0800 Subject: [PATCH] Research & Development Console Restructure (#25653) * RnD console * Undefine local defines * [ci skip] * Build and update /tg/ui * Reformat /tg/ui * Apply suggestions from code review Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Signed-off-by: Arthri <41360489+Arthri@users.noreply.github.com> * Snake casing [ci skip] * If statement over ternary * Document menu variables * Replace user with ui.user * Add documentation to copied variables [ci skip] * Rename icon to ui_icon * Factor out wait message box * Reorganize settings menu * Refactor technology row * [ci skip] * Build and update /tg/ui * Fix errors * [ci skip] * Build and update /tg/ui --------- Signed-off-by: Arthri <41360489+Arthri@users.noreply.github.com> Co-authored-by: Arthri <41360489+a@users.noreply.github.com> Co-authored-by: /tg/ui Builder <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> --- code/modules/research/destructive_analyzer.dm | 1 + code/modules/research/rdconsole.dm | 398 +++++++++--------- code/modules/research/research.dm | 54 ++- code/modules/shuttle/supply.dm | 39 +- tgui/packages/tgui/interfaces/RndConsole.js | 60 --- .../DataDiskMenu.js | 123 +++--- .../RndConsole/DeconstructionMenu.js | 86 ++++ .../LatheCategory.js | 2 +- .../LatheChemicalStorage.js | 0 .../LatheMainMenu.js | 3 +- .../LatheMaterialStorage.js | 0 .../LatheMaterials.js | 0 .../tgui/interfaces/RndConsole/LatheMenu.js | 61 +++ .../LatheSearch.js | 0 .../interfaces/RndConsole/SettingsMenu.js | 92 ++++ .../tgui/interfaces/RndConsole/index.js | 138 ++++++ .../RndConsoleComponents/CurrentLevels.js | 25 -- .../DeconstructionMenu.js | 51 --- .../RndConsoleComponents/LatheMenu.js | 28 -- .../RndConsoleComponents/MainMenu.js | 56 --- .../RndConsoleComponents/RndNavButton.js | 33 -- .../RndConsoleComponents/RndNavbar.js | 51 --- .../RndConsoleComponents/RndRoute.js | 25 -- .../RndConsoleComponents/SettingsMenu.js | 110 ----- .../interfaces/RndConsoleComponents/index.js | 15 - .../tgui/styles/interfaces/RndConsole.scss | 30 +- tgui/public/tgui.bundle.css | 2 +- tgui/public/tgui.bundle.js | 140 +++--- 28 files changed, 793 insertions(+), 830 deletions(-) delete mode 100644 tgui/packages/tgui/interfaces/RndConsole.js rename tgui/packages/tgui/interfaces/{RndConsoleComponents => RndConsole}/DataDiskMenu.js (55%) create mode 100644 tgui/packages/tgui/interfaces/RndConsole/DeconstructionMenu.js rename tgui/packages/tgui/interfaces/{RndConsoleComponents => RndConsole}/LatheCategory.js (97%) rename tgui/packages/tgui/interfaces/{RndConsoleComponents => RndConsole}/LatheChemicalStorage.js (100%) rename tgui/packages/tgui/interfaces/{RndConsoleComponents => RndConsole}/LatheMainMenu.js (90%) rename tgui/packages/tgui/interfaces/{RndConsoleComponents => RndConsole}/LatheMaterialStorage.js (100%) rename tgui/packages/tgui/interfaces/{RndConsoleComponents => RndConsole}/LatheMaterials.js (100%) create mode 100644 tgui/packages/tgui/interfaces/RndConsole/LatheMenu.js rename tgui/packages/tgui/interfaces/{RndConsoleComponents => RndConsole}/LatheSearch.js (100%) create mode 100644 tgui/packages/tgui/interfaces/RndConsole/SettingsMenu.js create mode 100644 tgui/packages/tgui/interfaces/RndConsole/index.js delete mode 100644 tgui/packages/tgui/interfaces/RndConsoleComponents/CurrentLevels.js delete mode 100644 tgui/packages/tgui/interfaces/RndConsoleComponents/DeconstructionMenu.js delete mode 100644 tgui/packages/tgui/interfaces/RndConsoleComponents/LatheMenu.js delete mode 100644 tgui/packages/tgui/interfaces/RndConsoleComponents/MainMenu.js delete mode 100644 tgui/packages/tgui/interfaces/RndConsoleComponents/RndNavButton.js delete mode 100644 tgui/packages/tgui/interfaces/RndConsoleComponents/RndNavbar.js delete mode 100644 tgui/packages/tgui/interfaces/RndConsoleComponents/RndRoute.js delete mode 100644 tgui/packages/tgui/interfaces/RndConsoleComponents/SettingsMenu.js delete mode 100644 tgui/packages/tgui/interfaces/RndConsoleComponents/index.js diff --git a/code/modules/research/destructive_analyzer.dm b/code/modules/research/destructive_analyzer.dm index ffb50d0c5e8..0401476f4e8 100644 --- a/code/modules/research/destructive_analyzer.dm +++ b/code/modules/research/destructive_analyzer.dm @@ -90,6 +90,7 @@ Note: Must be placed within 3 tiles of the R&D Console loaded_item = O O.loc = src to_chat(user, "You add [O] to [src]!") + SStgui.update_uis(linked_console) flick("d_analyzer_la", src) spawn(10) icon_state = "d_analyzer_l" diff --git a/code/modules/research/rdconsole.dm b/code/modules/research/rdconsole.dm index 20c192a0b3a..8fb23d543d2 100644 --- a/code/modules/research/rdconsole.dm +++ b/code/modules/research/rdconsole.dm @@ -41,21 +41,20 @@ won't update every console in existence) but it's more of a hassle to do. Also, #define RESET_RESEARCH_DELAY 20 #define IMPRINTER_DELAY 16 -// SUBMENU_MAIN also used by other menus -// MENU_LEVELS is not accessible normally #define MENU_MAIN 0 -#define MENU_LEVELS 1 #define MENU_DISK 2 #define MENU_DESTROY 3 #define MENU_LATHE 4 #define MENU_IMPRINTER 5 #define MENU_SETTINGS 6 -#define SUBMENU_MAIN 0 -#define SUBMENU_DISK_COPY 1 -#define SUBMENU_LATHE_CATEGORY 1 -#define SUBMENU_LATHE_MAT_STORAGE 2 -#define SUBMENU_LATHE_CHEM_STORAGE 3 -#define SUBMENU_SETTINGS_DEVICES 1 +#define MIN_MENU MENU_MAIN +#define MAX_MENU MENU_SETTINGS +#define SUBMENU_PRINTER_MAIN 0 +#define SUBMENU_PRINTER_SEARCH 1 +#define SUBMENU_PRINTER_MATERIALS 2 +#define SUBMENU_PRINTER_CHEMICALS 3 +#define MIN_SUBMENU_PRINTER SUBMENU_PRINTER_MAIN +#define MAX_SUBMENU_PRINTER SUBMENU_PRINTER_CHEMICALS #define BUILD_POWER 2000 #define DECONSTRUCT_POWER 250 @@ -74,8 +73,12 @@ won't update every console in existence) but it's more of a hassle to do. Also, var/obj/machinery/r_n_d/protolathe/linked_lathe = null //Linked Protolathe var/obj/machinery/r_n_d/circuit_imprinter/linked_imprinter = null //Linked Circuit Imprinter + /// The ID of the top-level menu, such as protolathe, analyzer, etc. var/menu = MENU_MAIN - var/submenu = SUBMENU_MAIN + /// The ID of the protolathe submenu, such as materials, chemicals, crafting etc. + var/submenu_protolathe = SUBMENU_PRINTER_MAIN + /// The ID of the circuit imprinter submenu. Shares the same submenus as the protolathe. + var/submenu_imprinter = SUBMENU_PRINTER_MAIN var/wait_message = 0 var/wait_message_timer = 0 @@ -205,18 +208,6 @@ won't update every console in existence) but it's more of a hassle to do. Also, to_chat(user, "You disable the security protocols") return TRUE -/obj/machinery/computer/rdconsole/proc/valid_nav(next_menu, next_submenu) - switch(next_menu) - if(MENU_MAIN, MENU_LEVELS, MENU_DESTROY) - return next_submenu in list(SUBMENU_MAIN) - if(MENU_DISK) - return next_submenu in list(SUBMENU_MAIN, SUBMENU_DISK_COPY) - if(MENU_LATHE, MENU_IMPRINTER) - return next_submenu in list(SUBMENU_MAIN, SUBMENU_LATHE_CATEGORY, SUBMENU_LATHE_MAT_STORAGE, SUBMENU_LATHE_CHEM_STORAGE) - if(MENU_SETTINGS) - return next_submenu in list(SUBMENU_MAIN, SUBMENU_SETTINGS_DEVICES) - return FALSE - /obj/machinery/computer/rdconsole/proc/prompt_eject_sheets(obj/machinery/r_n_d/machine, material_id, amount) if(!machine) return @@ -241,8 +232,10 @@ won't update every console in existence) but it's more of a hassle to do. Also, clear_wait_message() if(d_disk && d_disk.blueprint) files.AddDesign2Known(d_disk.blueprint) - else if(t_disk && t_disk.stored) - files.AddTech2Known(t_disk.stored) + else if(t_disk && t_disk.tech_id) + var/datum/tech/tech = files.find_possible_tech_with_id(t_disk.tech_id) + if(!isnull(tech)) + tech.level = t_disk.tech_level SStgui.update_uis(src) griefProtection() //Update centcom too @@ -355,7 +348,6 @@ won't update every console in existence) but it's more of a hassle to do. Also, linked_destroy.busy = FALSE use_power(DECONSTRUCT_POWER) menu = MENU_DESTROY - submenu = SUBMENU_MAIN SStgui.update_uis(src) @@ -467,31 +459,39 @@ won't update every console in existence) but it's more of a hassle to do. Also, clear_wait_message() SStgui.update_uis(src) -/obj/machinery/computer/rdconsole/ui_act(action, list/params) +/obj/machinery/computer/rdconsole/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state) if(..()) return - if(!allowed(usr) && !isobserver(usr)) + if(!allowed(ui.user) && !isobserver(ui.user)) return - add_fingerprint(usr) + add_fingerprint(ui.user) switch(action) if("nav") //Switches menu screens. Converts a sent text string into a number. Saves a LOT of code. var/next_menu = text2num(params["menu"]) - var/next_submenu = text2num(params["submenu"]) - if(valid_nav(next_menu, next_submenu)) - menu = next_menu - submenu = next_submenu + if(isnull(next_menu) || !ISINTEGER(next_menu) || !ISINRANGE(next_menu, MIN_MENU, MAX_MENU)) + return + menu = next_menu + + if("nav_protolathe") + var/new_menu = text2num(params["menu"]) + if(isnull(new_menu) || !ISINTEGER(new_menu) || !ISINRANGE(new_menu, MIN_SUBMENU_PRINTER, MAX_SUBMENU_PRINTER)) + return + submenu_protolathe = new_menu + + if("nav_imprinter") + var/new_menu = text2num(params["menu"]) + if(isnull(new_menu) || !ISINTEGER(new_menu) || !ISINRANGE(new_menu, MIN_SUBMENU_PRINTER, MAX_SUBMENU_PRINTER)) + return + submenu_imprinter = new_menu if("setCategory") var/next_category = params["category"] var/compare - if(submenu != SUBMENU_MAIN) - return FALSE - if(menu == MENU_LATHE) compare = PROTOLATHE if(!linked_lathe || !(next_category in linked_lathe.categories)) @@ -511,7 +511,14 @@ won't update every console in existence) but it's more of a hassle to do. Also, continue if(next_category in D.category) matching_designs.Add(D) - submenu = SUBMENU_LATHE_CATEGORY + if(menu == MENU_LATHE) + submenu_protolathe = SUBMENU_PRINTER_SEARCH + if(submenu_imprinter == SUBMENU_PRINTER_SEARCH) + submenu_imprinter = SUBMENU_PRINTER_MAIN + else if(menu == MENU_IMPRINTER) + submenu_imprinter = SUBMENU_PRINTER_SEARCH + if(submenu_protolathe == SUBMENU_PRINTER_SEARCH) + submenu_protolathe = SUBMENU_PRINTER_MAIN selected_category = "Viewing Category [next_category]" @@ -519,79 +526,69 @@ won't update every console in existence) but it's more of a hassle to do. Also, add_wait_message("Updating Database...", TECH_UPDATE_DELAY) addtimer(CALLBACK(src, PROC_REF(update_from_disk)), TECH_UPDATE_DELAY) - if("clear_tech") //Erase data on the technology disk. - if(t_disk) - t_disk.wipe_tech() - - if("eject_tech") //Eject the technology disk. + if("eject_disk") if(t_disk) t_disk.forceMove(loc) - if(Adjacent(usr) && !issilicon(usr)) - usr.put_in_hands(t_disk) + if(Adjacent(ui.user) && !issilicon(ui.user)) + ui.user.put_in_hands(t_disk) t_disk = null - menu = MENU_MAIN - submenu = SUBMENU_MAIN + if(d_disk) + d_disk.forceMove(loc) + if(Adjacent(ui.user) && !issilicon(ui.user)) + ui.user.put_in_hands(d_disk) + d_disk = null + + if("erase_disk") + if(t_disk && d_disk) + to_chat(ui.user, "Can not simultaneously wipe tech disk and design disk.") + return FALSE + if(t_disk) + t_disk.wipe_tech() + if(d_disk) + d_disk.wipe_blueprint() if("copy_tech") //Copy some technology data from the research holder to the disk. // Somehow this href makes me very nervous var/datum/tech/known = files.known_tech[params["id"]] if(t_disk && known) t_disk.load_tech(known) - menu = MENU_DISK - submenu = SUBMENU_MAIN if("updt_design") //Updates the research holder with design data from the design disk. add_wait_message("Updating Database...", DESIGN_UPDATE_DELAY) addtimer(CALLBACK(src, PROC_REF(update_from_disk)), DESIGN_UPDATE_DELAY) - if("clear_design") //Erases data on the design disk. - if(d_disk) - d_disk.wipe_blueprint() - - if("eject_design") //Eject the design disk. - if(d_disk) - d_disk.forceMove(loc) - if(Adjacent(usr) && !issilicon(usr)) - usr.put_in_hands(d_disk) - d_disk = null - menu = MENU_MAIN - submenu = SUBMENU_MAIN - if("copy_design") //Copy design data from the research holder to the design disk. // This href ALSO makes me very nervous var/datum/design/design = files.known_designs[params["id"]] if(design && d_disk && can_copy_design(design)) d_disk.blueprint = design - menu = MENU_DISK - submenu = SUBMENU_MAIN if("eject_item") //Eject the item inside the destructive analyzer. if(linked_destroy) if(linked_destroy.busy) - to_chat(usr, "[linked_destroy] is busy at the moment.") + to_chat(ui.user, "[linked_destroy] is busy at the moment.") else if(linked_destroy.loaded_item) linked_destroy.loaded_item.forceMove(linked_destroy.loc) linked_destroy.loaded_item = null linked_destroy.icon_state = "d_analyzer" - menu = MENU_DESTROY if("maxresearch") if(!check_rights(R_ADMIN)) return - if(tgui_alert(usr, "Are you sure you want to maximize research levels?", "Confirmation", list("Yes", "No")) != "Yes") + if(tgui_alert(ui.user, "Are you sure you want to maximize research levels?", "Confirmation", list("Yes", "No")) != "Yes") return - log_admin("[key_name(usr)] has maximized the research levels.") - message_admins("[key_name_admin(usr)] has maximized the research levels.") + log_admin("[key_name(ui.user)] has maximized the research levels.") + message_admins("[key_name_admin(ui.user)] has maximized the research levels.") Maximize() griefProtection() //Update centcomm too if("deconstruct") //Deconstruct the item in the destructive analyzer and update the research holder. - start_destroyer(usr) + start_destroyer(ui.user) if("sync") //Sync the research holder with all the R&D consoles in the game that aren't sync protected. if(!sync) - to_chat(usr, "You must connect to the network first!") + to_chat(ui.user, "You must connect to the network first!") else add_wait_message("Syncing Database...", SYNC_RESEARCH_DELAY) addtimer(CALLBACK(src, PROC_REF(sync_research)), SYNC_RESEARCH_DELAY) @@ -641,14 +638,16 @@ won't update every console in existence) but it's more of a hassle to do. Also, if(linked_lathe) linked_lathe.linked_console = null linked_lathe = null + submenu_protolathe = SUBMENU_PRINTER_MAIN if("imprinter") if(linked_imprinter) linked_imprinter.linked_console = null linked_imprinter = null + submenu_imprinter = SUBMENU_PRINTER_MAIN if("reset") //Reset the R&D console's database. griefProtection() - var/choice = tgui_alert(usr, "Are you sure you want to reset the R&D console's database? Data lost cannot be recovered.", "R&D Console Database Reset", list("Continue", "Cancel")) + var/choice = tgui_alert(ui.user, "Are you sure you want to reset the R&D console's database? Data lost cannot be recovered.", "R&D Console Database Reset", list("Continue", "Cancel")) if(choice == "Continue") add_wait_message("Resetting Database...", RESET_RESEARCH_DELAY) addtimer(CALLBACK(src, PROC_REF(reset_research)), RESET_RESEARCH_DELAY) @@ -673,7 +672,14 @@ won't update every console in existence) but it's more of a hassle to do. Also, continue if(findtext(D.name, query)) matching_designs.Add(D) - submenu = SUBMENU_LATHE_CATEGORY + if(menu == MENU_LATHE) + submenu_protolathe = SUBMENU_PRINTER_SEARCH + if(submenu_imprinter == SUBMENU_PRINTER_SEARCH) + submenu_imprinter = SUBMENU_PRINTER_MAIN + else if(menu == MENU_IMPRINTER) + submenu_imprinter = SUBMENU_PRINTER_SEARCH + if(submenu_protolathe == SUBMENU_PRINTER_SEARCH) + submenu_protolathe = SUBMENU_PRINTER_MAIN selected_category = "Search Results for '[query]'" @@ -722,56 +728,58 @@ won't update every console in existence) but it's more of a hassle to do. Also, var/coeff = machine.efficiency_coeff - if(submenu == SUBMENU_LATHE_CATEGORY) - for(var/datum/design/D in matching_designs) - var/list/design_list = list() - designs_list[++designs_list.len] = design_list - var/list/design_materials_list = list() - design_list["materials"] = design_materials_list - design_list["id"] = D.id - design_list["name"] = D.name - var/can_build = is_imprinter ? 1 : 50 + if(menu == MENU_LATHE || menu == MENU_IMPRINTER) + var/submenu = menu == MENU_LATHE ? submenu_protolathe : submenu_imprinter + if(submenu == SUBMENU_PRINTER_SEARCH) + for(var/datum/design/D in matching_designs) + var/list/design_list = list() + designs_list[++designs_list.len] = design_list + var/list/design_materials_list = list() + design_list["materials"] = design_materials_list + design_list["id"] = D.id + design_list["name"] = D.name + var/can_build = is_imprinter ? 1 : 50 - for(var/M in D.materials) - var/list/material_list = list() - design_materials_list[++design_materials_list.len] = material_list - material_list["name"] = CallMaterialName(M) - material_list["amount"] = D.materials[M] * coeff - var/t = machine.check_mat(D, M) - material_list["is_red"] = t < 1 - can_build = min(can_build, t) + for(var/M in D.materials) + var/list/material_list = list() + design_materials_list[++design_materials_list.len] = material_list + material_list["name"] = CallMaterialName(M) + material_list["amount"] = D.materials[M] * coeff + var/t = machine.check_mat(D, M) + material_list["is_red"] = t < 1 + can_build = min(can_build, t) - for(var/R in D.reagents_list) - var/list/material_list = list() - design_materials_list[++design_materials_list.len] = material_list - material_list["name"] = CallMaterialName(R) - material_list["amount"] = D.reagents_list[R] * coeff - var/t = machine.check_mat(D, R) - material_list["is_red"] = t < 1 - can_build = min(can_build, t) + for(var/R in D.reagents_list) + var/list/material_list = list() + design_materials_list[++design_materials_list.len] = material_list + material_list["name"] = CallMaterialName(R) + material_list["amount"] = D.reagents_list[R] * coeff + var/t = machine.check_mat(D, R) + material_list["is_red"] = t < 1 + can_build = min(can_build, t) - design_list["can_build"] = can_build + design_list["can_build"] = can_build - else if(submenu == SUBMENU_LATHE_MAT_STORAGE) - materials_list[++materials_list.len] = list("name" = "Metal", "id" = MAT_METAL, "amount" = machine.materials.amount(MAT_METAL)) - materials_list[++materials_list.len] = list("name" = "Glass", "id" = MAT_GLASS, "amount" = machine.materials.amount(MAT_GLASS)) - materials_list[++materials_list.len] = list("name" = "Gold", "id" = MAT_GOLD, "amount" = machine.materials.amount(MAT_GOLD)) - materials_list[++materials_list.len] = list("name" = "Silver", "id" = MAT_SILVER, "amount" = machine.materials.amount(MAT_SILVER)) - materials_list[++materials_list.len] = list("name" = "Solid Plasma", "id" = MAT_PLASMA, "amount" = machine.materials.amount(MAT_PLASMA)) - materials_list[++materials_list.len] = list("name" = "Uranium", "id" = MAT_URANIUM, "amount" = machine.materials.amount(MAT_URANIUM)) - materials_list[++materials_list.len] = list("name" = "Diamond", "id" = MAT_DIAMOND, "amount" = machine.materials.amount(MAT_DIAMOND)) - materials_list[++materials_list.len] = list("name" = "Bananium", "id" = MAT_BANANIUM, "amount" = machine.materials.amount(MAT_BANANIUM)) - materials_list[++materials_list.len] = list("name" = "Tranquillite", "id" = MAT_TRANQUILLITE, "amount" = machine.materials.amount(MAT_TRANQUILLITE)) - materials_list[++materials_list.len] = list("name" = "Titanium", "id" = MAT_TITANIUM, "amount" = machine.materials.amount(MAT_TITANIUM)) - materials_list[++materials_list.len] = list("name" = "Plastic", "id" = MAT_PLASTIC, "amount" = machine.materials.amount(MAT_PLASTIC)) - materials_list[++materials_list.len] = list("name" = "Bluespace Mesh", "id" = MAT_BLUESPACE, "amount" = machine.materials.amount(MAT_BLUESPACE)) - else if(submenu == SUBMENU_LATHE_CHEM_STORAGE) - for(var/datum/reagent/R in machine.reagents.reagent_list) - var/list/loaded_chemical = list() - loaded_chemicals[++loaded_chemicals.len] = loaded_chemical - loaded_chemical["name"] = R.name - loaded_chemical["volume"] = R.volume - loaded_chemical["id"] = R.id + else if(submenu == SUBMENU_PRINTER_MATERIALS) + materials_list[++materials_list.len] = list("name" = "Metal", "id" = MAT_METAL, "amount" = machine.materials.amount(MAT_METAL)) + materials_list[++materials_list.len] = list("name" = "Glass", "id" = MAT_GLASS, "amount" = machine.materials.amount(MAT_GLASS)) + materials_list[++materials_list.len] = list("name" = "Gold", "id" = MAT_GOLD, "amount" = machine.materials.amount(MAT_GOLD)) + materials_list[++materials_list.len] = list("name" = "Silver", "id" = MAT_SILVER, "amount" = machine.materials.amount(MAT_SILVER)) + materials_list[++materials_list.len] = list("name" = "Solid Plasma", "id" = MAT_PLASMA, "amount" = machine.materials.amount(MAT_PLASMA)) + materials_list[++materials_list.len] = list("name" = "Uranium", "id" = MAT_URANIUM, "amount" = machine.materials.amount(MAT_URANIUM)) + materials_list[++materials_list.len] = list("name" = "Diamond", "id" = MAT_DIAMOND, "amount" = machine.materials.amount(MAT_DIAMOND)) + materials_list[++materials_list.len] = list("name" = "Bananium", "id" = MAT_BANANIUM, "amount" = machine.materials.amount(MAT_BANANIUM)) + materials_list[++materials_list.len] = list("name" = "Tranquillite", "id" = MAT_TRANQUILLITE, "amount" = machine.materials.amount(MAT_TRANQUILLITE)) + materials_list[++materials_list.len] = list("name" = "Titanium", "id" = MAT_TITANIUM, "amount" = machine.materials.amount(MAT_TITANIUM)) + materials_list[++materials_list.len] = list("name" = "Plastic", "id" = MAT_PLASTIC, "amount" = machine.materials.amount(MAT_PLASTIC)) + materials_list[++materials_list.len] = list("name" = "Bluespace Mesh", "id" = MAT_BLUESPACE, "amount" = machine.materials.amount(MAT_BLUESPACE)) + else if(submenu == SUBMENU_PRINTER_CHEMICALS) + for(var/datum/reagent/R in machine.reagents.reagent_list) + var/list/loaded_chemical = list() + loaded_chemicals[++loaded_chemicals.len] = loaded_chemical + loaded_chemical["name"] = R.name + loaded_chemical["volume"] = R.volume + loaded_chemical["id"] = R.id /obj/machinery/computer/rdconsole/proc/can_copy_design(datum/design/D) @@ -793,7 +801,8 @@ won't update every console in existence) but it's more of a hassle to do. Also, files.RefreshResearch() data["menu"] = menu - data["submenu"] = submenu + data["submenu_protolathe"] = submenu_protolathe + data["submenu_imprinter"] = submenu_imprinter data["wait_message"] = wait_message data["src_ref"] = UID() @@ -807,7 +816,7 @@ won't update every console in existence) but it's more of a hassle to do. Also, data["loaded_item"] = null data["category"] = selected_category - if(menu == MENU_MAIN || menu == MENU_LEVELS) + if(menu == MENU_MAIN) var/list/tech_levels = list() data["tech_levels"] = tech_levels for(var/v in files.known_tech) @@ -815,83 +824,93 @@ won't update every console in existence) but it's more of a hassle to do. Also, if(T.level <= 0) continue var/list/this_tech_list = list() + this_tech_list["id"] = T.id this_tech_list["name"] = T.name this_tech_list["level"] = T.level this_tech_list["desc"] = T.desc + this_tech_list["ui_icon"] = T.ui_icon tech_levels[++tech_levels.len] = this_tech_list else if(menu == MENU_DISK) - if(t_disk != null && t_disk.stored != null && submenu == SUBMENU_MAIN) - var/list/disk_data = list() - data["disk_data"] = disk_data - disk_data["name"] = t_disk.stored.name - disk_data["level"] = t_disk.stored.level - disk_data["desc"] = t_disk.stored.desc + if(t_disk != null) + if(t_disk.tech_id == null) + var/list/to_copy = list() + data["to_copy"] = to_copy + for(var/v in files.known_tech) + var/datum/tech/T = files.known_tech[v] + if(T.level <= 0) + continue + var/list/item = list() + to_copy[++to_copy.len] = item + item["name"] = T.name + item["id"] = T.id + else + var/datum/tech/stored_tech = files.find_possible_tech_with_id(t_disk.tech_id) + var/list/disk_data = list() + data["disk_data"] = disk_data + if(isnull(stored_tech)) + disk_data["name"] = "Unknown" + disk_data["level"] = 0 + disk_data["desc"] = "Unrecognized technology detected in disk." + else + disk_data["name"] = stored_tech.name + disk_data["level"] = stored_tech.level + disk_data["desc"] = stored_tech.desc - else if(t_disk != null && submenu == SUBMENU_DISK_COPY) - var/list/to_copy = list() - data["to_copy"] = to_copy - for(var/v in files.known_tech) - var/datum/tech/T = files.known_tech[v] - if(T.level <= 0) - continue - var/list/item = list() - to_copy[++to_copy.len] = item - item["name"] = T.name - item["id"] = T.id - - else if(d_disk != null && d_disk.blueprint != null && submenu == SUBMENU_MAIN) - var/list/disk_data = list() - data["disk_data"] = disk_data - disk_data["name"] = d_disk.blueprint.name - var/b_type = d_disk.blueprint.build_type - var/list/lathe_types = list() - disk_data["lathe_types"] = lathe_types - if(b_type) - if(b_type & IMPRINTER) lathe_types += "Circuit Imprinter" - if(b_type & PROTOLATHE) lathe_types += "Protolathe" - if(b_type & AUTOLATHE) lathe_types += "Autolathe" - if(b_type & MECHFAB) lathe_types += "Mech Fabricator" - if(b_type & BIOGENERATOR) lathe_types += "Biogenerator" - if(b_type & SMELTER) lathe_types += "Smelter" - var/list/materials = list() - disk_data["materials"] = materials - for(var/M in d_disk.blueprint.materials) - var/list/material = list() - materials[++materials.len] = material - material["name"] = CallMaterialName(M) - material["amount"] = d_disk.blueprint.materials[M] - - else if(d_disk != null && submenu == SUBMENU_DISK_COPY) - var/list/to_copy = list() - data["to_copy"] = to_copy - for(var/v in files.known_designs) - var/datum/design/D = files.known_designs[v] - if(!can_copy_design(D)) - continue - var/list/item = list() - to_copy[++to_copy.len] = item - item["name"] = D.name - item["id"] = D.id + else if(d_disk != null) + if(d_disk.blueprint == null) + var/list/to_copy = list() + data["to_copy"] = to_copy + for(var/v in files.known_designs) + var/datum/design/D = files.known_designs[v] + if(!can_copy_design(D)) + continue + var/list/item = list() + to_copy[++to_copy.len] = item + item["name"] = D.name + item["id"] = D.id + else + var/list/disk_data = list() + data["disk_data"] = disk_data + disk_data["name"] = d_disk.blueprint.name + var/b_type = d_disk.blueprint.build_type + var/list/lathe_types = list() + disk_data["lathe_types"] = lathe_types + if(b_type) + if(b_type & IMPRINTER) lathe_types += "Circuit Imprinter" + if(b_type & PROTOLATHE) lathe_types += "Protolathe" + if(b_type & AUTOLATHE) lathe_types += "Autolathe" + if(b_type & MECHFAB) lathe_types += "Mech Fabricator" + if(b_type & BIOGENERATOR) lathe_types += "Biogenerator" + if(b_type & SMELTER) lathe_types += "Smelter" + var/list/materials = list() + disk_data["materials"] = materials + for(var/M in d_disk.blueprint.materials) + var/list/material = list() + materials[++materials.len] = material + material["name"] = CallMaterialName(M) + material["amount"] = d_disk.blueprint.materials[M] else if(menu == MENU_DESTROY && linked_destroy && linked_destroy.loaded_item) var/list/loaded_item_list = list() data["loaded_item"] = loaded_item_list loaded_item_list["name"] = linked_destroy.loaded_item.name var/list/temp_tech = linked_destroy.ConvertReqString2List(linked_destroy.loaded_item.origin_tech) - var/list/tech_list = list() - loaded_item_list["origin_tech"] = tech_list - for(var/T in temp_tech) - var/list/tech_item = list() - tech_list[++tech_list.len] = tech_item - tech_item["name"] = CallTechName(T) - tech_item["object_level"] = temp_tech[T] - for(var/v in files.known_tech) - var/datum/tech/F = files.known_tech[v] - if(F.name == CallTechName(T)) - tech_item["current_level"] = F.level - break + var/list/tech_levels = list() + data["tech_levels"] = tech_levels + for(var/v in files.known_tech) + var/datum/tech/T = files.known_tech[v] + if(T.level <= 0) + continue + var/list/this_tech_list = list() + this_tech_list["id"] = T.id + this_tech_list["name"] = T.name + this_tech_list["level"] = T.level + this_tech_list["desc"] = T.desc + this_tech_list["ui_icon"] = T.ui_icon + this_tech_list["object_level"] = temp_tech[T.id] + tech_levels[++tech_levels.len] = this_tech_list else if(menu == MENU_LATHE && linked_lathe) ui_machine_data(linked_lathe, data) @@ -956,17 +975,18 @@ won't update every console in existence) but it's more of a hassle to do. Also, #undef RESET_RESEARCH_DELAY #undef IMPRINTER_DELAY #undef MENU_MAIN -#undef MENU_LEVELS #undef MENU_DISK #undef MENU_DESTROY #undef MENU_LATHE #undef MENU_IMPRINTER #undef MENU_SETTINGS -#undef SUBMENU_MAIN -#undef SUBMENU_DISK_COPY -#undef SUBMENU_LATHE_CATEGORY -#undef SUBMENU_LATHE_MAT_STORAGE -#undef SUBMENU_LATHE_CHEM_STORAGE -#undef SUBMENU_SETTINGS_DEVICES +#undef MIN_MENU +#undef MAX_MENU +#undef SUBMENU_PRINTER_MAIN +#undef SUBMENU_PRINTER_SEARCH +#undef SUBMENU_PRINTER_MATERIALS +#undef SUBMENU_PRINTER_CHEMICALS +#undef MIN_SUBMENU_PRINTER +#undef MAX_SUBMENU_PRINTER #undef BUILD_POWER #undef DECONSTRUCT_POWER diff --git a/code/modules/research/research.dm b/code/modules/research/research.dm index 2680f8c821c..29440ffdd81 100644 --- a/code/modules/research/research.dm +++ b/code/modules/research/research.dm @@ -110,6 +110,11 @@ research holder datum. return known_tech[T.id] = T +/datum/research/proc/find_possible_tech_with_id(id) + for(var/datum/tech/T in possible_tech) + if(T.id == id) + return T + /datum/research/proc/CanAddDesign2Known(datum/design/D) if(D.id in known_designs) return FALSE @@ -258,6 +263,8 @@ research holder datum. var/level = 1 //A simple number scale of the research level. Level 0 = Secret tech. var/max_level = 1 // Maximum level this can be at (for job objectives) var/rare = 1 //How much CentCom wants to get that tech. Used in supply shuttle tech cost calculation. + /// Name of the FontAwesome icon to represent the tech + var/ui_icon = null var/list/req_tech = list() //List of ids associated values of techs required to research this tech. "id" = # @@ -268,12 +275,14 @@ research holder datum. desc = "Development of new and improved materials." id = "materials" max_level = 7 + ui_icon = "layer-group" /datum/tech/engineering name = "Engineering Research" desc = "Development of new and improved engineering parts and methods." id = "engineering" max_level = 7 + ui_icon = "tools" /datum/tech/plasmatech name = "Plasma Research" @@ -281,12 +290,14 @@ research holder datum. id = "plasmatech" max_level = 7 rare = 3 + ui_icon = "fire" /datum/tech/powerstorage name = "Power Manipulation Technology" desc = "The various technologies behind the storage and generation of electicity." id = "powerstorage" max_level = 7 + ui_icon = "bolt" /datum/tech/bluespace name = "'Bluespace' Research" @@ -294,30 +305,35 @@ research holder datum. id = "bluespace" max_level = 7 rare = 2 + ui_icon = "gem" /datum/tech/biotech name = "Biological Technology" desc = "Research into the deeper mysteries of life and organic substances." id = "biotech" max_level = 7 + ui_icon = "seedling" /datum/tech/combat name = "Combat Systems Research" desc = "The development of offensive and defensive systems." id = "combat" max_level = 7 + ui_icon = "shield-alt" /datum/tech/magnets name = "Electromagnetic Spectrum Research" desc = "Research into the electromagnetic spectrum. No clue how they actually work, though." id = "magnets" max_level = 7 + ui_icon = "magnet" /datum/tech/programming name = "Data Theory Research" desc = "The development of new computer and artificial intelligence and data storage systems." id = "programming" max_level = 7 + ui_icon = "server" /// not meant to be raised by deconstruction, do not give objects toxins as an origin_tech /datum/tech/toxins @@ -326,6 +342,7 @@ research holder datum. id = "toxins" max_level = 7 rare = 2 + ui_icon = "explosion" /datum/tech/syndicate name = "Illegal Technologies Research" @@ -333,6 +350,7 @@ research holder datum. id = "syndicate" max_level = 0 // Don't count towards maxed research, since it's illegal. rare = 4 + ui_icon = "user-astronaut" /datum/tech/abductor name = "Alien Technologies Research" @@ -340,6 +358,7 @@ research holder datum. id = "abductor" rare = 5 level = 0 + ui_icon = "satellite" /* datum/tech/arcane @@ -368,28 +387,19 @@ datum/tech/robotics req_tech = list("materials" = 3, "programming" = 3) */ -/datum/tech/proc/getCost(current_level = null) - // Calculates tech disk's supply points sell cost - if(!current_level) - current_level = initial(level) - - if(current_level >= level) - return 0 - - var/cost = 0 - for(var/i = current_level + 1, i <= level, i++) - if(i == initial(level)) - continue - cost += i*5*rare - - return cost - /obj/item/disk/tech_disk name = "\improper Technology Disk" desc = "A disk for storing technology data for further research." icon_state = "datadisk2" materials = list(MAT_METAL=30, MAT_GLASS=10) - var/datum/tech/stored + var/tech_id = null + var/tech_name = null + // These variables are copied from /datum/tech. They must be copied and cached + // to prevent retroactively updating all disks when a new research level is unlocked + /// The level of the copied technology. Please see /datum/tech.level + var/tech_level = 0 + /// The rarity of the copied technology. Affects sell price. Please see /datum/tech.rare + var/tech_rarity = 0 var/default_name = "\improper Technology Disk" var/default_desc = "A disk for storing technology data for further research." @@ -398,12 +408,18 @@ datum/tech/robotics desc = T.desc + "\n Level: [T.level]" // NOTE: This is just a reference to the tech on the system it grabbed it from // This seems highly fragile - stored = T + tech_id = T.id + tech_name = T.name + tech_level = T.level + tech_rarity = T.rare /obj/item/disk/tech_disk/proc/wipe_tech() name = default_name desc = default_desc - stored = null + tech_id = null + tech_name = null + tech_level = 0 + tech_rarity = 0 /obj/item/disk/design_disk name = "\improper Component Design Disk" diff --git a/code/modules/shuttle/supply.dm b/code/modules/shuttle/supply.dm index 8dd7ae7fdb4..57964a29704 100644 --- a/code/modules/shuttle/supply.dm +++ b/code/modules/shuttle/supply.dm @@ -538,16 +538,29 @@ /datum/economy/simple_seller/tech_levels/begin_sell(obj/docking_port/mobile/supply/S) temp_tech_levels = SSeconomy.tech_levels.Copy() +/datum/economy/simple_seller/tech_levels/proc/get_price(tech_rarity, tech_level, sold_level = null) + // Calculates tech disk's supply points sell cost + if(!sold_level) + sold_level = 1 + + if(sold_level >= tech_level) + return 0 + + var/cost = 0 + for(var/i in (sold_level + 1) to tech_level) + cost += i * 5 * tech_rarity + + return cost + /datum/economy/simple_seller/tech_levels/check_sell(obj/docking_port/mobile/supply/S, atom/movable/AM) if(istype(AM, /obj/item/disk/tech_disk)) var/obj/item/disk/tech_disk/disk = AM - if(!disk.stored) + if(!disk.tech_id) return COMSIG_CARGO_SELL_WRONG - var/datum/tech/tech = disk.stored - var/cost = tech.getCost(temp_tech_levels[tech.id]) + var/cost = get_price(disk.tech_rarity, disk.tech_level, temp_tech_levels[disk.tech_id]) if(cost) - temp_tech_levels[tech.id] = tech.level + temp_tech_levels[disk.tech_id] = disk.tech_level return COMSIG_CARGO_SELL_NORMAL return COMSIG_CARGO_SELL_WRONG @@ -556,28 +569,27 @@ return var/obj/item/disk/tech_disk/disk = AM - if(!disk.stored) + if(!disk.tech_id) return - var/datum/tech/tech = disk.stored - var/cost = tech.getCost(SSeconomy.tech_levels[tech.id]) + var/cost = get_price(disk.tech_rarity, disk.tech_level, SSeconomy.tech_levels[disk.tech_id]) if(!cost) return - SSeconomy.tech_levels[tech.id] = tech.level + SSeconomy.tech_levels[disk.tech_id] = disk.tech_level SSblackbox.record_feedback("tally", "cargo tech disks sold", 1, "amount") SSblackbox.record_feedback("tally", "cargo tech disks sold", cost, "credits") var/datum/economy/line_item/cargo_item = new cargo_item.account = SSeconomy.cargo_account cargo_item.credits = cost / 2 - cargo_item.reason = "[tech.name] - new data." + cargo_item.reason = "[disk.tech_name] - new data." manifest.line_items += cargo_item var/datum/economy/line_item/science_item = new science_item.account = GLOB.station_money_database.get_account_by_department(DEPARTMENT_SCIENCE) science_item.credits = cost / 2 - science_item.reason = "[tech.name] - new data." + science_item.reason = "[disk.tech_name] - new data." manifest.line_items += science_item /datum/economy/simple_seller/tech_levels/sell_wrong(obj/docking_port/mobile/supply/S, atom/movable/AM, datum/economy/cargo_shuttle_manifest/manifest) @@ -589,16 +601,15 @@ item.credits = 0 var/obj/item/disk/tech_disk/disk = AM - if(!disk.stored) + if(!disk.tech_id) item.reason = "Blank tech disk." manifest.line_items += item SSblackbox.record_feedback("tally", "cargo tech disks sold", 1, "blank") return - var/datum/tech/tech = disk.stored - var/cost = tech.getCost(SSeconomy.tech_levels[tech.id]) + var/cost = get_price(disk.tech_rarity, disk.tech_level, SSeconomy.tech_levels[disk.tech_id]) if(!cost) - item.reason = "[tech.name] - no new data." + item.reason = "[disk.tech_name] - no new data." manifest.line_items += item SSblackbox.record_feedback("tally", "cargo tech disks sold", 1, "repeat") diff --git a/tgui/packages/tgui/interfaces/RndConsole.js b/tgui/packages/tgui/interfaces/RndConsole.js deleted file mode 100644 index fd193f78ea0..00000000000 --- a/tgui/packages/tgui/interfaces/RndConsole.js +++ /dev/null @@ -1,60 +0,0 @@ -import { useBackend } from '../backend'; -import { Window } from '../layouts'; -import { Box, NoticeBox } from '../components'; -import { - SettingsMenu, - RndRoute, - DeconstructionMenu, - MainMenu, - RndNavbar, - CurrentLevels, - DataDiskMenu, - LatheMenu, -} from './RndConsoleComponents'; - -export const MENU = { - MAIN: 0, - LEVELS: 1, - DISK: 2, - DESTROY: 3, - LATHE: 4, - IMPRINTER: 5, - SETTINGS: 6, -}; - -export const SUBMENU = { - MAIN: 0, - DISK_COPY: 1, - LATHE_CATEGORY: 1, - LATHE_MAT_STORAGE: 2, - LATHE_CHEM_STORAGE: 3, - SETTINGS_DEVICES: 1, -}; - -export const RndConsole = (properties, context) => { - const { data } = useBackend(context); - const { wait_message } = data; - - return ( - - - - - } /> - } /> - } /> - } /> - n === MENU.LATHE || n === MENU.IMPRINTER} render={() => } /> - } /> - {wait_message ? ( - - - {wait_message} - - - ) : null} - - - - ); -}; diff --git a/tgui/packages/tgui/interfaces/RndConsoleComponents/DataDiskMenu.js b/tgui/packages/tgui/interfaces/RndConsole/DataDiskMenu.js similarity index 55% rename from tgui/packages/tgui/interfaces/RndConsoleComponents/DataDiskMenu.js rename to tgui/packages/tgui/interfaces/RndConsole/DataDiskMenu.js index 03b9a345fa5..ddea4dc3453 100644 --- a/tgui/packages/tgui/interfaces/RndConsoleComponents/DataDiskMenu.js +++ b/tgui/packages/tgui/interfaces/RndConsole/DataDiskMenu.js @@ -1,12 +1,10 @@ import { useBackend } from '../../backend'; import { Button, LabeledList, Section, Box } from '../../components'; -import { RndNavButton, RndRoute } from './index'; -import { SUBMENU } from '../RndConsole'; const DISK_TYPE_DESIGN = 'design'; const DISK_TYPE_TECH = 'tech'; -const TechSummary = (properties, context) => { +const TechSummary = (props, context) => { const { data, act } = useBackend(context); const { disk_data } = data; @@ -23,15 +21,13 @@ const TechSummary = (properties, context) => { - ); -}; diff --git a/tgui/packages/tgui/interfaces/RndConsoleComponents/RndNavbar.js b/tgui/packages/tgui/interfaces/RndConsoleComponents/RndNavbar.js deleted file mode 100644 index 90a5d33fc3b..00000000000 --- a/tgui/packages/tgui/interfaces/RndConsoleComponents/RndNavbar.js +++ /dev/null @@ -1,51 +0,0 @@ -import { RndRoute, RndNavButton } from './index'; -import { Box } from '../../components'; -import { MENU, SUBMENU } from '../RndConsole'; - -export const RndNavbar = () => ( - - n !== MENU.MAIN} - render={() => } - /> - - {/* Links to return to submenu 0 for each menu other than main menu */} - n !== SUBMENU.MAIN} - render={() => ( - - } - /> - - } - /> - - } - /> - - } - /> - - )} - /> - - n === MENU.LATHE || n === MENU.IMPRINTER} - submenu={SUBMENU.MAIN} - render={() => ( - - - - - )} - /> - -); diff --git a/tgui/packages/tgui/interfaces/RndConsoleComponents/RndRoute.js b/tgui/packages/tgui/interfaces/RndConsoleComponents/RndRoute.js deleted file mode 100644 index c07a8147812..00000000000 --- a/tgui/packages/tgui/interfaces/RndConsoleComponents/RndRoute.js +++ /dev/null @@ -1,25 +0,0 @@ -import { useBackend } from '../../backend'; - -export const RndRoute = (properties, context) => { - const { render } = properties; - const { data } = useBackend(context); - const { menu, submenu } = data; - - const compare = (comparator, item) => { - if (comparator === null || comparator === undefined) { - return true; - } // unspecified, match all - if (typeof comparator === 'function') { - return comparator(item); - } - return comparator === item; // strings or ints? - }; - - let match = compare(properties.menu, menu) && compare(properties.submenu, submenu); - - if (!match) { - return null; - } - - return render(); -}; diff --git a/tgui/packages/tgui/interfaces/RndConsoleComponents/SettingsMenu.js b/tgui/packages/tgui/interfaces/RndConsoleComponents/SettingsMenu.js deleted file mode 100644 index ff983397478..00000000000 --- a/tgui/packages/tgui/interfaces/RndConsoleComponents/SettingsMenu.js +++ /dev/null @@ -1,110 +0,0 @@ -import { useBackend } from '../../backend'; -import { Box, Button, Flex, LabeledList, Section } from '../../components'; -import { RndRoute, RndNavButton } from './index'; -import { MENU, SUBMENU } from '../RndConsole'; - -export const SettingsMenu = (properties, context) => { - const { data, act } = useBackend(context); - - const { sync, admin, linked_destroy, linked_lathe, linked_imprinter } = data; - - return ( - - ( -
- -
- )} - /> - - ( -
-
- )} - /> -
- ); -}; diff --git a/tgui/packages/tgui/interfaces/RndConsoleComponents/index.js b/tgui/packages/tgui/interfaces/RndConsoleComponents/index.js deleted file mode 100644 index 5bd4861c8e9..00000000000 --- a/tgui/packages/tgui/interfaces/RndConsoleComponents/index.js +++ /dev/null @@ -1,15 +0,0 @@ -export { CurrentLevels } from './CurrentLevels'; -export { DataDiskMenu } from './DataDiskMenu'; -export { DeconstructionMenu } from './DeconstructionMenu'; -export { LatheCategory } from './LatheCategory'; -export { LatheChemicalStorage } from './LatheChemicalStorage'; -export { LatheMainMenu } from './LatheMainMenu'; -export { LatheMaterials } from './LatheMaterials'; -export { LatheMaterialStorage } from './LatheMaterialStorage'; -export { LatheMenu } from './LatheMenu'; -export { LatheSearch } from './LatheSearch'; -export { MainMenu } from './MainMenu'; -export { RndNavbar } from './RndNavbar'; -export { RndNavButton } from './RndNavButton'; -export { RndRoute } from './RndRoute'; -export { SettingsMenu } from './SettingsMenu'; diff --git a/tgui/packages/tgui/styles/interfaces/RndConsole.scss b/tgui/packages/tgui/styles/interfaces/RndConsole.scss index af97a74a732..28a7080ce7e 100644 --- a/tgui/packages/tgui/styles/interfaces/RndConsole.scss +++ b/tgui/packages/tgui/styles/interfaces/RndConsole.scss @@ -20,12 +20,6 @@ padding-bottom: 4px; } -.RndConsole__MainMenu__Buttons { - .Button:not(:last-child) { - margin-bottom: 4px; - } -} - .RndConsole__LatheMaterials { .Table__cell:nth-child(2) { padding-left: 16px; @@ -62,3 +56,27 @@ margin-bottom: 10px; } } + +#research-levels tr { + & > *:first-child { + width: 2em; + } + + & > *:nth-child(3), + & > *:nth-child(4), + & > *:nth-child(5) { + text-align: center; + } +} + +#research-levels tr:not(:first-child) > *:first-child { + height: 2em; +} + +.upgraded-level { + color: #55d355; +} + +.research-level-no-effect { + color: #888888; +} diff --git a/tgui/public/tgui.bundle.css b/tgui/public/tgui.bundle.css index 1937f41f97a..9afb59c3b63 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-gold{color:#f3b22f!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}.color-bg-gold{background-color:#d6920c!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}.outline-color-gold{outline:.167rem solid #f3b22f!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--gold{transition:color .1s,background-color .1s;background-color:#d6920c;color:#fff}.Button--color--gold:focus{transition:color .25s,background-color .25s}.Button--color--gold:hover{background-color:#eeaf30;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: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:rgba(56,56,56,.81);color:#fff}.Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(59,59,59,.925);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:"."}.ImageButton__image{line-height:0;align-self:center}.ImageButton__vertical,.ImageButton--vertical{display:inline-block}.ImageButton__horizontal{display:flex;width:100%;align-items:center}.ImageButton--horizontal{display:flex;margin-bottom:.5em}.ImageButton--horizontal:last-child{margin-bottom:.4em}.ImageButton--color--black{background-color:rgba(0,0,0,.15);border:.0833333333em solid rgba(32,32,32,.2)}.ImageButton--color--clickable--black{background-color:rgba(0,0,0,.15);border:.0833333333em solid rgba(32,32,32,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--black:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--black:hover{background-color:rgba(16,16,16,.25)}.ImageButton--color--white{background-color:rgba(217,217,217,.15);border:.0833333333em solid rgba(250,250,250,.2)}.ImageButton--color--clickable--white{background-color:rgba(217,217,217,.15);border:.0833333333em solid rgba(250,250,250,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--white:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--white:hover{background-color:rgba(248,248,248,.25)}.ImageButton--color--red{background-color:rgba(189,32,32,.15);border:.0833333333em solid rgba(227,112,112,.2)}.ImageButton--color--clickable--red{background-color:rgba(189,32,32,.15);border:.0833333333em solid rgba(227,112,112,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--red:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--red:hover{background-color:rgba(217,63,63,.25)}.ImageButton--color--orange{background-color:rgba(217,94,12,.15);border:.0833333333em solid rgba(244,162,107,.2)}.ImageButton--color--clickable--orange{background-color:rgba(217,94,12,.15);border:.0833333333em solid rgba(244,162,107,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--orange:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--orange:hover{background-color:rgba(239,126,51,.25)}.ImageButton--color--yellow{background-color:rgba(217,184,4,.15);border:.0833333333em solid rgba(248,225,91,.2)}.ImageButton--color--clickable--yellow{background-color:rgba(217,184,4,.15);border:.0833333333em solid rgba(248,225,91,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--yellow:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--yellow:hover{background-color:rgba(245,213,35,.25)}.ImageButton--color--olive{background-color:rgba(154,173,20,.15);border:.0833333333em solid rgba(209,228,79,.2)}.ImageButton--color--clickable--olive{background-color:rgba(154,173,20,.15);border:.0833333333em solid rgba(209,228,79,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--olive:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--olive:hover{background-color:rgba(189,211,39,.25)}.ImageButton--color--green{background-color:rgba(27,150,56,.15);border:.0833333333em solid rgba(72,214,105,.2)}.ImageButton--color--clickable--green{background-color:rgba(27,150,56,.15);border:.0833333333em solid rgba(72,214,105,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--green:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--green:hover{background-color:rgba(47,185,79,.25)}.ImageButton--color--teal{background-color:rgba(0,154,147,.15);border:.0833333333em solid rgba(32,225,216,.2)}.ImageButton--color--clickable--teal{background-color:rgba(0,154,147,.15);border:.0833333333em solid rgba(32,225,216,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--teal:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--teal:hover{background-color:rgba(16,189,182,.25)}.ImageButton--color--blue{background-color:rgba(28,113,177,.15);border:.0833333333em solid rgba(96,169,224,.2)}.ImageButton--color--clickable--blue{background-color:rgba(28,113,177,.15);border:.0833333333em solid rgba(96,169,224,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--blue:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--blue:hover{background-color:rgba(48,143,214,.25)}.ImageButton--color--violet{background-color:rgba(85,45,171,.15);border:.0833333333em solid rgba(149,119,215,.2)}.ImageButton--color--clickable--violet{background-color:rgba(85,45,171,.15);border:.0833333333em solid rgba(149,119,215,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--violet:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--violet:hover{background-color:rgba(114,73,202,.25)}.ImageButton--color--purple{background-color:rgba(139,43,170,.15);border:.0833333333em solid rgba(190,115,215,.2)}.ImageButton--color--clickable--purple{background-color:rgba(139,43,170,.15);border:.0833333333em solid rgba(190,115,215,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--purple:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--purple:hover{background-color:rgba(170,70,202,.25)}.ImageButton--color--pink{background-color:rgba(207,32,130,.15);border:.0833333333em solid rgba(233,129,188,.2)}.ImageButton--color--clickable--pink{background-color:rgba(207,32,130,.15);border:.0833333333em solid rgba(233,129,188,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--pink:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--pink:hover{background-color:rgba(224,76,160,.25)}.ImageButton--color--brown{background-color:rgba(140,88,54,.15);border:.0833333333em solid rgba(195,144,111,.2)}.ImageButton--color--clickable--brown{background-color:rgba(140,88,54,.15);border:.0833333333em solid rgba(195,144,111,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--brown:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--brown:hover{background-color:rgba(174,114,76,.25)}.ImageButton--color--grey{background-color:rgba(100,100,100,.15);border:.0833333333em solid rgba(157,157,157,.2)}.ImageButton--color--clickable--grey{background-color:rgba(100,100,100,.15);border:.0833333333em solid rgba(157,157,157,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--grey:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--grey:hover{background-color:rgba(129,129,129,.25)}.ImageButton--color--good{background-color:rgba(77,145,33,.15);border:.0833333333em solid rgba(130,208,79,.2)}.ImageButton--color--clickable--good{background-color:rgba(77,145,33,.15);border:.0833333333em solid rgba(130,208,79,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--good:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--good:hover{background-color:rgba(103,179,53,.25)}.ImageButton--color--average{background-color:rgba(205,122,13,.15);border:.0833333333em solid rgba(241,178,96,.2)}.ImageButton--color--clickable--average{background-color:rgba(205,122,13,.15);border:.0833333333em solid rgba(241,178,96,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--average:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--average:hover{background-color:rgba(235,151,43,.25)}.ImageButton--color--bad{background-color:rgba(189,32,32,.15);border:.0833333333em solid rgba(227,112,112,.2)}.ImageButton--color--clickable--bad{background-color:rgba(189,32,32,.15);border:.0833333333em solid rgba(227,112,112,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--bad:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--bad:hover{background-color:rgba(217,63,63,.25)}.ImageButton--color--label{background-color:rgba(101,122,148,.15);border:.0833333333em solid rgba(175,186,201,.2)}.ImageButton--color--clickable--label{background-color:rgba(101,122,148,.15);border:.0833333333em solid rgba(175,186,201,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--label:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--label:hover{background-color:rgba(138,154,174,.25)}.ImageButton--color--gold{background-color:rgba(214,146,12,.15);border:.0833333333em solid rgba(243,197,103,.2)}.ImageButton--color--clickable--gold{background-color:rgba(214,146,12,.15);border:.0833333333em solid rgba(243,197,103,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--gold:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--gold:hover{background-color:rgba(238,175,48,.25)}.ImageButton--color--default{background-color:rgba(64,64,64,.15);border:.0833333333em solid rgba(114,114,114,.2)}.ImageButton--color--default--clickable{background-color:rgba(64,64,64,.15);border:.0833333333em solid rgba(114,114,114,.2);transition:color .1s,background-color .1s}.ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.ImageButton--color--default--clickable:hover{background-color:rgba(90,90,90,.25)}.ImageButton--disabled{background-color:rgba(77,23,23,.25)!important;border:.0833333333em solid rgba(179,98,98,.15)}.ImageButton--selected{background-color:rgba(27,150,56,.15);border:.0833333333em solid rgba(72,214,105,.2);transition:color .1s,background-color .1s}.ImageButton--selected:focus{transition:color .25s,background-color .25s}.ImageButton--selected:hover{background-color:rgba(47,185,79,.25)}.ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.ImageButton__content__horizontal--content{padding:.5em}.ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.ImageButton__content--color--black{color:#fff;background-color:#000;border-top:.0833333333em solid #151515}.ImageButton__content--color--white{color:rgba(0,0,0,.9);background-color:#d2d2d2;border-top:.0833333333em solid #f9f9f9}.ImageButton__content--color--red{color:#fff;background-color:#b21e1e;border-top:.0833333333em solid #dd4e4e}.ImageButton__content--color--orange{color:#fff;background-color:#cd590c;border-top:.0833333333em solid #f18945}.ImageButton__content--color--yellow{color:rgba(0,0,0,.9);background-color:#ccae03;border-top:.0833333333em solid #f7d935}.ImageButton__content--color--olive{color:rgba(0,0,0,.9);background-color:#90a213;border-top:.0833333333em solid #c7dd2e}.ImageButton__content--color--green{color:#fff;background-color:#198c34;border-top:.0833333333em solid #35c457}.ImageButton__content--color--teal{color:#fff;background-color:#008d87;border-top:.0833333333em solid #15c9c1}.ImageButton__content--color--blue{color:#fff;background-color:#1a6aa6;border-top:.0833333333em solid #3f98d9}.ImageButton__content--color--violet{color:#fff;background-color:#502aa1;border-top:.0833333333em solid #7d58ce}.ImageButton__content--color--purple{color:#fff;background-color:#8229a0;border-top:.0833333333em solid #b055ce}.ImageButton__content--color--pink{color:#fff;background-color:#c31f7b;border-top:.0833333333em solid #e45da9}.ImageButton__content--color--brown{color:#fff;background-color:#835232;border-top:.0833333333em solid #b77c54}.ImageButton__content--color--grey{color:#fff;background-color:#5e5e5e;border-top:.0833333333em solid #8a8a8a}.ImageButton__content--color--good{color:#fff;background-color:#48861f;border-top:.0833333333em solid #6fbd3c}.ImageButton__content--color--average{color:#fff;background-color:#c2730c;border-top:.0833333333em solid #eda03c}.ImageButton__content--color--bad{color:#fff;background-color:#b21e1e;border-top:.0833333333em solid #dd4e4e}.ImageButton__content--color--label{color:#fff;background-color:#60738c;border-top:.0833333333em solid #96a5b7}.ImageButton__content--color--gold{color:rgba(0,0,0,.9);background-color:#ca8a0b;border-top:.0833333333em solid #f0b542}.ImageButton__content--color--default{color:#fff;background-color:#2b2b2b;border-top:.0833333333em solid #4e4e4e}.ImageButton__content--disabled{background-color:#4d1717!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(179,98,98,.5)}.ImageButton__content--selected{background-color:#1b9638!important;border-top:.0833333333em solid rgba(157,237,176,.5)}.ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.ImageButton__item--icon--horizontal{display:flex;align-items:center}.ImageButton__item--icon--horizontal .fa,.ImageButton__item--icon--horizontal .fas,.ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.ImageButton__item--color--black{transition:color .1s,background-color .1s;background-color:rgba(0,0,0,.4);border:.0833333333em solid rgba(32,32,32,.2);border-left:0}.ImageButton__item--color--black:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--black:hover{background-color:rgba(16,16,16,.5)}.ImageButton__item--color--white{transition:color .1s,background-color .1s;background-color:rgba(217,217,217,.4);border:.0833333333em solid rgba(250,250,250,.2);border-left:0}.ImageButton__item--color--white:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--white:hover{background-color:rgba(248,248,248,.5)}.ImageButton__item--color--red{transition:color .1s,background-color .1s;background-color:rgba(189,32,32,.4);border:.0833333333em solid rgba(227,112,112,.2);border-left:0}.ImageButton__item--color--red:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--red:hover{background-color:rgba(217,63,63,.5)}.ImageButton__item--color--orange{transition:color .1s,background-color .1s;background-color:rgba(217,94,12,.4);border:.0833333333em solid rgba(244,162,107,.2);border-left:0}.ImageButton__item--color--orange:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--orange:hover{background-color:rgba(239,126,51,.5)}.ImageButton__item--color--yellow{transition:color .1s,background-color .1s;background-color:rgba(217,184,4,.4);border:.0833333333em solid rgba(248,225,91,.2);border-left:0}.ImageButton__item--color--yellow:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--yellow:hover{background-color:rgba(245,213,35,.5)}.ImageButton__item--color--olive{transition:color .1s,background-color .1s;background-color:rgba(154,173,20,.4);border:.0833333333em solid rgba(209,228,79,.2);border-left:0}.ImageButton__item--color--olive:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--olive:hover{background-color:rgba(189,211,39,.5)}.ImageButton__item--color--green{transition:color .1s,background-color .1s;background-color:rgba(27,150,56,.4);border:.0833333333em solid rgba(72,214,105,.2);border-left:0}.ImageButton__item--color--green:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--green:hover{background-color:rgba(47,185,79,.5)}.ImageButton__item--color--teal{transition:color .1s,background-color .1s;background-color:rgba(0,154,147,.4);border:.0833333333em solid rgba(32,225,216,.2);border-left:0}.ImageButton__item--color--teal:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--teal:hover{background-color:rgba(16,189,182,.5)}.ImageButton__item--color--blue{transition:color .1s,background-color .1s;background-color:rgba(28,113,177,.4);border:.0833333333em solid rgba(96,169,224,.2);border-left:0}.ImageButton__item--color--blue:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--blue:hover{background-color:rgba(48,143,214,.5)}.ImageButton__item--color--violet{transition:color .1s,background-color .1s;background-color:rgba(85,45,171,.4);border:.0833333333em solid rgba(149,119,215,.2);border-left:0}.ImageButton__item--color--violet:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--violet:hover{background-color:rgba(114,73,202,.5)}.ImageButton__item--color--purple{transition:color .1s,background-color .1s;background-color:rgba(139,43,170,.4);border:.0833333333em solid rgba(190,115,215,.2);border-left:0}.ImageButton__item--color--purple:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--purple:hover{background-color:rgba(170,70,202,.5)}.ImageButton__item--color--pink{transition:color .1s,background-color .1s;background-color:rgba(207,32,130,.4);border:.0833333333em solid rgba(233,129,188,.2);border-left:0}.ImageButton__item--color--pink:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--pink:hover{background-color:rgba(224,76,160,.5)}.ImageButton__item--color--brown{transition:color .1s,background-color .1s;background-color:rgba(140,88,54,.4);border:.0833333333em solid rgba(195,144,111,.2);border-left:0}.ImageButton__item--color--brown:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--brown:hover{background-color:rgba(174,114,76,.5)}.ImageButton__item--color--grey{transition:color .1s,background-color .1s;background-color:rgba(100,100,100,.4);border:.0833333333em solid rgba(157,157,157,.2);border-left:0}.ImageButton__item--color--grey:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--grey:hover{background-color:rgba(129,129,129,.5)}.ImageButton__item--color--good{transition:color .1s,background-color .1s;background-color:rgba(77,145,33,.4);border:.0833333333em solid rgba(130,208,79,.2);border-left:0}.ImageButton__item--color--good:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--good:hover{background-color:rgba(103,179,53,.5)}.ImageButton__item--color--average{transition:color .1s,background-color .1s;background-color:rgba(205,122,13,.4);border:.0833333333em solid rgba(241,178,96,.2);border-left:0}.ImageButton__item--color--average:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--average:hover{background-color:rgba(235,151,43,.5)}.ImageButton__item--color--bad{transition:color .1s,background-color .1s;background-color:rgba(189,32,32,.4);border:.0833333333em solid rgba(227,112,112,.2);border-left:0}.ImageButton__item--color--bad:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--bad:hover{background-color:rgba(217,63,63,.5)}.ImageButton__item--color--label{transition:color .1s,background-color .1s;background-color:rgba(101,122,148,.4);border:.0833333333em solid rgba(175,186,201,.2);border-left:0}.ImageButton__item--color--label:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--label:hover{background-color:rgba(138,154,174,.5)}.ImageButton__item--color--gold{transition:color .1s,background-color .1s;background-color:rgba(214,146,12,.4);border:.0833333333em solid rgba(243,197,103,.2);border-left:0}.ImageButton__item--color--gold:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--gold:hover{background-color:rgba(238,175,48,.5)}.ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(64,64,64,.4);border:.0833333333em solid rgba(112,112,112,.2);border-left:0}.ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--default:hover{background-color:rgba(88,88,88,.5)}.ImageButton__item--disabled{background-color:rgba(77,23,23,.5)!important;border:.0833333333em solid rgba(179,98,98,.15);border-left:0}.ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(27,150,56,.4);border:.0833333333em solid rgba(72,214,105,.2);border-left:0}.ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.ImageButton__item--selected:hover{background-color:rgba(47,185,79,.5)}.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}.Knob--color--gold .Knob__ringFill{stroke:#f3b22f}.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__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--color--gold{color:#fff;background-color:#825d13}.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}.ProgressBar--color--gold{border:.0833333333em solid #d6920c!important}.ProgressBar--color--gold .ProgressBar__fill{background-color:#d6920c}.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--color--gold.RoundGauge__ringFill{stroke:#f3b22f}.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}.RoundGauge__alert--gold{fill:#f3b22f;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}.Tab--selected.Tab--color--gold{color:#f6c563}.Tabs--horizontal .Tab--selected.Tab--color--gold{border-bottom-color:#f3b22f}.Tabs--vertical .Tab--selected.Tab--color--gold{border-left-color:#f3b22f}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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:0;bottom:0;left:0;width:18.3333333333em}.CameraConsole__right{position:absolute;top:0;bottom:0;left:18.3333333333em;right:0;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)}.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;image-rendering:pixelated}.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}.GeneModder__left{position:absolute;top:0;bottom:0;left:0;width:40.8333333333em}.GeneModder__right{position:absolute;top:0;bottom:0;left:40.8333333333em;right:0;background-color:rgba(0,0,0,.33)}.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;image-rendering:pixelated}.Newscaster__photo:hover{border-color:gray}.Newscaster__photoZoom{text-align:center}.Newscaster__photoZoom>img{transform:scale(2);-ms-interpolation-mode:nearest-neighbor;image-rendering:pixelated}.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}.symptoms-table{border-collapse:separate;border-spacing:0 .5ex;height:100%}.symptoms-table>tbody>tr:first-child{width:100%;font-weight:700}.symptoms-table>tbody>tr:nth-child(2)>td:first-child{padding-top:.5ex}.symptoms-table>tbody>tr>td:nth-child(n+2){text-align:center}.common-name-label>.LabeledList__cell{vertical-align:middle}.table-spacer{height:100%}.remove-section-bottom-padding .Section__content{padding-bottom:0}.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}.reagents-table{border-collapse:separate;border-spacing:0 .3em}.volume-cell{min-width:3em;text-align:right;vertical-align:middle}.volume-cell:not(:hover) .volume-actions-wrapper{display:none}.volume-cell:hover .volume-label{display:none}.reagent-absent-name-cell{color:#767676}.reagent-row>*:last-child{padding-right:.5em}.absent-row:not(:hover) .add-reagent-button{visibility:hidden}.condensed-button{margin:0;padding:0;min-height:0;line-height:0;background:none}.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: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:rgba(62,70,100,.81);color:#fff}.theme-abductor .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(65,73,102,.925);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 .Divider--horizontal{margin:.5em 0}.theme-abductor .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-abductor .Divider--vertical{height:100%;margin:0 .5em}.theme-abductor .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-abductor .ImageButton__image{line-height:0;align-self:center}.theme-abductor .ImageButton__vertical,.theme-abductor .ImageButton--vertical{display:inline-block}.theme-abductor .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-abductor .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-abductor .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-abductor .ImageButton--color--default{background-color:rgba(196,91,125,.15);border:.0833333333em solid rgba(236,202,213,.2)}.theme-abductor .ImageButton--color--default--clickable{background-color:rgba(196,91,125,.15);border:.0833333333em solid rgba(236,202,213,.2);transition:color .1s,background-color .1s}.theme-abductor .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-abductor .ImageButton--color--default--clickable:hover{background-color:rgba(217,149,171,.25)}.theme-abductor .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-abductor .ImageButton--selected{background-color:rgba(70,88,153,.15);border:.0833333333em solid rgba(142,155,201,.2);transition:color .1s,background-color .1s}.theme-abductor .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-abductor .ImageButton--selected:hover{background-color:rgba(101,119,181,.25)}.theme-abductor .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-abductor .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-abductor .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-abductor .ImageButton__content__horizontal--content{padding:.5em}.theme-abductor .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-abductor .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-abductor .ImageButton__content--color--default{color:#fff;background-color:#a64867;border-top:.0833333333em solid #ca859c}.theme-abductor .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-abductor .ImageButton__content--selected{background-color:#465899!important;border-top:.0833333333em solid rgba(222,226,240,.5)}.theme-abductor .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-abductor .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-abductor .ImageButton__item--icon--horizontal .fa,.theme-abductor .ImageButton__item--icon--horizontal .fas,.theme-abductor .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-abductor .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(196,91,125,.4);border:.0833333333em solid rgba(232,191,204,.2);border-left:0}.theme-abductor .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-abductor .ImageButton__item--color--default:hover{background-color:rgba(214,141,165,.5)}.theme-abductor .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-abductor .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(70,88,153,.4);border:.0833333333em solid rgba(142,155,201,.2);border-left:0}.theme-abductor .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-abductor .ImageButton__item--selected:hover{background-color:rgba(101,119,181,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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: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:rgba(32,145,79,.81);color:#fff}.theme-cardtable .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(36,145,82,.925);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 .Divider--horizontal{margin:.5em 0}.theme-cardtable .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-cardtable .Divider--vertical{height:100%;margin:0 .5em}.theme-cardtable .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-cardtable .ImageButton__image{line-height:0;align-self:center}.theme-cardtable .ImageButton__vertical,.theme-cardtable .ImageButton--vertical{display:inline-block}.theme-cardtable .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-cardtable .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-cardtable .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-cardtable .ImageButton--color--default{background-color:rgba(91,230,149,.15);border:.0833333333em solid rgba(231,251,240,.2)}.theme-cardtable .ImageButton--color--default--clickable{background-color:rgba(91,230,149,.15);border:.0833333333em solid rgba(231,251,240,.2);transition:color .1s,background-color .1s}.theme-cardtable .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-cardtable .ImageButton--color--default--clickable:hover{background-color:rgba(165,242,197,.25)}.theme-cardtable .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-cardtable .ImageButton--selected{background-color:rgba(157,8,8,.15);border:.0833333333em solid rgba(229,42,42,.2);transition:color .1s,background-color .1s}.theme-cardtable .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-cardtable .ImageButton--selected:hover{background-color:rgba(193,25,25,.25)}.theme-cardtable .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-cardtable .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-cardtable .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-cardtable .ImageButton__content__horizontal--content{padding:.5em}.theme-cardtable .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-cardtable .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-cardtable .ImageButton__content--color--default{color:rgba(0,0,0,.9);background-color:#41cd7c;border-top:.0833333333em solid #91e2b4}.theme-cardtable .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-cardtable .ImageButton__content--selected{background-color:#9d0808!important;border-top:.0833333333em solid rgba(248,127,127,.5)}.theme-cardtable .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-cardtable .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-cardtable .ImageButton__item--icon--horizontal .fa,.theme-cardtable .ImageButton__item--icon--horizontal .fas,.theme-cardtable .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-cardtable .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(91,230,149,.4);border:.0833333333em solid rgba(216,249,230,.2);border-left:0}.theme-cardtable .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-cardtable .ImageButton__item--color--default:hover{background-color:rgba(154,240,190,.5)}.theme-cardtable .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-cardtable .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(157,8,8,.4);border:.0833333333em solid rgba(229,42,42,.2);border-left:0}.theme-cardtable .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-cardtable .ImageButton__item--selected:hover{background-color:rgba(193,25,25,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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: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:rgba(67,57,73,.81);color:#fff}.theme-changeling .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(70,61,76,.925);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 .Divider--horizontal{margin:.5em 0}.theme-changeling .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-changeling .Divider--vertical{height:100%;margin:0 .5em}.theme-changeling .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-changeling .ImageButton__image{line-height:0;align-self:center}.theme-changeling .ImageButton__vertical,.theme-changeling .ImageButton--vertical{display:inline-block}.theme-changeling .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-changeling .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-changeling .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-changeling .ImageButton--color--default{background-color:rgba(115,100,127,.15);border:.0833333333em solid rgba(180,170,188,.2)}.theme-changeling .ImageButton--color--default--clickable{background-color:rgba(115,100,127,.15);border:.0833333333em solid rgba(180,170,188,.2);transition:color .1s,background-color .1s}.theme-changeling .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-changeling .ImageButton--color--default--clickable:hover{background-color:rgba(149,135,160,.25)}.theme-changeling .ImageButton--disabled{background-color:rgba(77,23,23,.25)!important;border:.0833333333em solid rgba(179,98,98,.15)}.theme-changeling .ImageButton--selected{background-color:rgba(24,133,82,.15);border:.0833333333em solid rgba(62,199,135,.2);transition:color .1s,background-color .1s}.theme-changeling .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-changeling .ImageButton--selected:hover{background-color:rgba(43,166,109,.25)}.theme-changeling .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-changeling .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-changeling .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-changeling .ImageButton__content__horizontal--content{padding:.5em}.theme-changeling .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-changeling .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-changeling .ImageButton__content--color--default{color:#fff;background-color:#5d4f67;border-top:.0833333333em solid #897995}.theme-changeling .ImageButton__content--disabled{background-color:#4d1717!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(179,98,98,.5)}.theme-changeling .ImageButton__content--selected{background-color:#188552!important;border-top:.0833333333em solid rgba(131,233,185,.5)}.theme-changeling .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-changeling .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-changeling .ImageButton__item--icon--horizontal .fa,.theme-changeling .ImageButton__item--icon--horizontal .fas,.theme-changeling .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-changeling .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(115,100,127,.4);border:.0833333333em solid rgba(175,165,183,.2);border-left:0}.theme-changeling .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-changeling .ImageButton__item--color--default:hover{background-color:rgba(145,131,156,.5)}.theme-changeling .ImageButton__item--disabled{background-color:rgba(77,23,23,.5)!important;border:.0833333333em solid rgba(179,98,98,.15);border-left:0}.theme-changeling .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(24,133,82,.4);border:.0833333333em solid rgba(62,199,135,.2);border-left:0}.theme-changeling .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-changeling .ImageButton__item--selected:hover{background-color:rgba(43,166,109,.5)}.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: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:rgba(34,44,34,.81);color:#fff}.theme-hackerman .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(38,48,38,.925);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 .Divider--horizontal{margin:.5em 0}.theme-hackerman .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-hackerman .Divider--vertical{height:100%;margin:0 .5em}.theme-hackerman .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-hackerman .ImageButton__image{line-height:0;align-self:center}.theme-hackerman .ImageButton__vertical,.theme-hackerman .ImageButton--vertical{display:inline-block}.theme-hackerman .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-hackerman .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-hackerman .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-hackerman .ImageButton--color--default{background-color:rgba(64,255,64,.15);border:.0833333333em solid rgba(226,255,226,.2)}.theme-hackerman .ImageButton--color--default--clickable{background-color:rgba(64,255,64,.15);border:.0833333333em solid rgba(226,255,226,.2);transition:color .1s,background-color .1s}.theme-hackerman .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-hackerman .ImageButton--color--default--clickable:hover{background-color:rgba(149,255,149,.25)}.theme-hackerman .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-hackerman .ImageButton--selected{background-color:rgba(128,255,128,.15);border:.0833333333em solid rgba(239,255,239,.2);transition:color .1s,background-color .1s}.theme-hackerman .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-hackerman .ImageButton--selected:hover{background-color:rgba(207,255,207,.25)}.theme-hackerman .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-hackerman .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-hackerman .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-hackerman .ImageButton__content__horizontal--content{padding:.5em}.theme-hackerman .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-hackerman .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-hackerman .ImageButton__content--color--default{color:rgba(0,0,0,.9);background-color:#28e528;border-top:.0833333333em solid #82f082}.theme-hackerman .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-hackerman .ImageButton__content--selected{background-color:#80ff80!important;border-top:.0833333333em solid rgba(255,255,255,.5)}.theme-hackerman .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-hackerman .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-hackerman .ImageButton__item--icon--horizontal .fa,.theme-hackerman .ImageButton__item--icon--horizontal .fas,.theme-hackerman .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-hackerman .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(64,255,64,.4);border:.0833333333em solid rgba(208,255,208,.2);border-left:0}.theme-hackerman .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-hackerman .ImageButton__item--color--default:hover{background-color:rgba(136,255,136,.5)}.theme-hackerman .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-hackerman .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(128,255,128,.4);border:.0833333333em solid rgba(239,255,239,.2);border-left:0}.theme-hackerman .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-hackerman .ImageButton__item--selected:hover{background-color:rgba(207,255,207,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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: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:rgba(56,56,56,.81);color:#fff}.theme-hydroponics .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(59,59,59,.925);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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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;image-rendering:pixelated}.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;image-rendering:pixelated}.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: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:rgba(44,74,92,.81);color:#fff}.theme-malfunction .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(48,77,94,.925);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 .Divider--horizontal{margin:.5em 0}.theme-malfunction .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-malfunction .Divider--vertical{height:100%;margin:0 .5em}.theme-malfunction .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-malfunction .ImageButton__image{line-height:0;align-self:center}.theme-malfunction .ImageButton__vertical,.theme-malfunction .ImageButton--vertical{display:inline-block}.theme-malfunction .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-malfunction .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-malfunction .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-malfunction .ImageButton--color--default{background-color:rgba(129,65,65,.15);border:.0833333333em solid rgba(190,125,125,.2)}.theme-malfunction .ImageButton--color--default--clickable{background-color:rgba(129,65,65,.15);border:.0833333333em solid rgba(190,125,125,.2);transition:color .1s,background-color .1s}.theme-malfunction .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-malfunction .ImageButton--color--default--clickable:hover{background-color:rgba(166,91,91,.25)}.theme-malfunction .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-malfunction .ImageButton--selected{background-color:rgba(30,88,129,.15);border:.0833333333em solid rgba(70,142,194,.2);transition:color .1s,background-color .1s}.theme-malfunction .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-malfunction .ImageButton--selected:hover{background-color:rgba(50,115,161,.25)}.theme-malfunction .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-malfunction .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-malfunction .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-malfunction .ImageButton__content__horizontal--content{padding:.5em}.theme-malfunction .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-malfunction .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-malfunction .ImageButton__content--color--default{color:#fff;background-color:#683030;border-top:.0833333333em solid #995252}.theme-malfunction .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-malfunction .ImageButton__content--selected{background-color:#1e5881!important;border-top:.0833333333em solid rgba(138,191,228,.5)}.theme-malfunction .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-malfunction .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-malfunction .ImageButton__item--icon--horizontal .fa,.theme-malfunction .ImageButton__item--icon--horizontal .fas,.theme-malfunction .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-malfunction .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(129,65,65,.4);border:.0833333333em solid rgba(185,122,122,.2);border-left:0}.theme-malfunction .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-malfunction .ImageButton__item--color--default:hover{background-color:rgba(161,89,89,.5)}.theme-malfunction .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-malfunction .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(30,88,129,.4);border:.0833333333em solid rgba(70,142,194,.2);border-left:0}.theme-malfunction .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-malfunction .ImageButton__item--selected:hover{background-color:rgba(50,115,161,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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: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:rgba(49,63,80,.81);color:#fff}.theme-ntos .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(53,66,83,.925);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 .Divider--horizontal{margin:.5em 0}.theme-ntos .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-ntos .Divider--vertical{height:100%;margin:0 .5em}.theme-ntos .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-ntos .ImageButton__image{line-height:0;align-self:center}.theme-ntos .ImageButton__vertical,.theme-ntos .ImageButton--vertical{display:inline-block}.theme-ntos .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-ntos .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-ntos .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-ntos .ImageButton--color--default{background-color:rgba(107,125,146,.15);border:.0833333333em solid rgba(188,196,206,.2)}.theme-ntos .ImageButton--color--default--clickable{background-color:rgba(107,125,146,.15);border:.0833333333em solid rgba(188,196,206,.2);transition:color .1s,background-color .1s}.theme-ntos .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-ntos .ImageButton--color--default--clickable:hover{background-color:rgba(149,162,177,.25)}.theme-ntos .ImageButton--disabled{background-color:rgba(77,23,23,.25)!important;border:.0833333333em solid rgba(179,98,98,.15)}.theme-ntos .ImageButton--selected{background-color:rgba(27,150,56,.15);border:.0833333333em solid rgba(72,214,105,.2);transition:color .1s,background-color .1s}.theme-ntos .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-ntos .ImageButton--selected:hover{background-color:rgba(47,185,79,.25)}.theme-ntos .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-ntos .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-ntos .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-ntos .ImageButton__content__horizontal--content{padding:.5em}.theme-ntos .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-ntos .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-ntos .ImageButton__content--color--default{color:#fff;background-color:#576678;border-top:.0833333333em solid #8593a5}.theme-ntos .ImageButton__content--disabled{background-color:#4d1717!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(179,98,98,.5)}.theme-ntos .ImageButton__content--selected{background-color:#1b9638!important;border-top:.0833333333em solid rgba(157,237,176,.5)}.theme-ntos .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-ntos .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-ntos .ImageButton__item--icon--horizontal .fa,.theme-ntos .ImageButton__item--icon--horizontal .fas,.theme-ntos .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-ntos .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(107,125,146,.4);border:.0833333333em solid rgba(180,189,200,.2);border-left:0}.theme-ntos .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-ntos .ImageButton__item--color--default:hover{background-color:rgba(143,157,173,.5)}.theme-ntos .ImageButton__item--disabled{background-color:rgba(77,23,23,.5)!important;border:.0833333333em solid rgba(179,98,98,.15);border-left:0}.theme-ntos .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(27,150,56,.4);border:.0833333333em solid rgba(72,214,105,.2);border-left:0}.theme-ntos .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-ntos .ImageButton__item--selected:hover{background-color:rgba(47,185,79,.5)}.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: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:rgba(255,255,255,.81);color:#000}.theme-paper .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(255,255,255,.925);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 .Divider--horizontal{margin:.5em 0}.theme-paper .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-paper .Divider--vertical{height:100%;margin:0 .5em}.theme-paper .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-paper .ImageButton__image{line-height:0;align-self:center}.theme-paper .ImageButton__vertical,.theme-paper .ImageButton--vertical{display:inline-block}.theme-paper .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-paper .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-paper .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-paper .ImageButton--color--default{background-color:rgba(243,242,228,.15);border:.0833333333em solid rgba(255,255,255,.2)}.theme-paper .ImageButton--color--default--clickable{background-color:rgba(243,242,228,.15);border:.0833333333em solid rgba(255,255,255,.2);transition:color .1s,background-color .1s}.theme-paper .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-paper .ImageButton--color--default--clickable:hover{background-color:rgba(255,255,254,.25)}.theme-paper .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-paper .ImageButton--selected{background-color:rgba(157,8,8,.15);border:.0833333333em solid rgba(229,42,42,.2);transition:color .1s,background-color .1s}.theme-paper .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-paper .ImageButton--selected:hover{background-color:rgba(193,25,25,.25)}.theme-paper .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-paper .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-paper .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-paper .ImageButton__content__horizontal--content{padding:.5em}.theme-paper .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-paper .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-paper .ImageButton__content--color--default{color:rgba(0,0,0,.9);background-color:#e1dbb9;border-top:.0833333333em solid #fbfaf5}.theme-paper .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-paper .ImageButton__content--selected{background-color:#9d0808!important;border-top:.0833333333em solid rgba(248,127,127,.5)}.theme-paper .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-paper .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-paper .ImageButton__item--icon--horizontal .fa,.theme-paper .ImageButton__item--icon--horizontal .fas,.theme-paper .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-paper .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(243,242,228,.4);border:.0833333333em solid rgba(254,254,252,.2);border-left:0}.theme-paper .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-paper .ImageButton__item--color--default:hover{background-color:rgba(253,253,250,.5)}.theme-paper .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-paper .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(157,8,8,.4);border:.0833333333em solid rgba(229,42,42,.2);border-left:0}.theme-paper .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-paper .ImageButton__item--selected:hover{background-color:rgba(193,25,25,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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: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:rgba(255,255,255,.81);color:#000}.theme-retro .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(253,253,250,.925);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 .Divider--horizontal{margin:.5em 0}.theme-retro .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-retro .Divider--vertical{height:100%;margin:0 .5em}.theme-retro .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-retro .ImageButton__image{line-height:0;align-self:center}.theme-retro .ImageButton__vertical,.theme-retro .ImageButton--vertical{display:inline-block}.theme-retro .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-retro .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-retro .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-retro .ImageButton--color--default{background-color:rgba(243,242,228,.15);border:.0833333333em solid rgba(255,255,255,.2)}.theme-retro .ImageButton--color--default--clickable{background-color:rgba(243,242,228,.15);border:.0833333333em solid rgba(255,255,255,.2);transition:color .1s,background-color .1s}.theme-retro .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-retro .ImageButton--color--default--clickable:hover{background-color:rgba(255,255,254,.25)}.theme-retro .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-retro .ImageButton--selected{background-color:rgba(157,8,8,.15);border:.0833333333em solid rgba(229,42,42,.2);transition:color .1s,background-color .1s}.theme-retro .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-retro .ImageButton--selected:hover{background-color:rgba(193,25,25,.25)}.theme-retro .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-retro .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-retro .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-retro .ImageButton__content__horizontal--content{padding:.5em}.theme-retro .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-retro .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-retro .ImageButton__content--color--default{color:rgba(0,0,0,.9);background-color:#e1dbb9;border-top:.0833333333em solid #fbfaf5}.theme-retro .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-retro .ImageButton__content--selected{background-color:#9d0808!important;border-top:.0833333333em solid rgba(248,127,127,.5)}.theme-retro .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-retro .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-retro .ImageButton__item--icon--horizontal .fa,.theme-retro .ImageButton__item--icon--horizontal .fas,.theme-retro .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-retro .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(243,242,228,.4);border:.0833333333em solid rgba(254,254,252,.2);border-left:0}.theme-retro .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-retro .ImageButton__item--color--default:hover{background-color:rgba(253,253,250,.5)}.theme-retro .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-retro .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(157,8,8,.4);border:.0833333333em solid rgba(229,42,42,.2);border-left:0}.theme-retro .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-retro .ImageButton__item--selected:hover{background-color:rgba(193,25,25,.5)}.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: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:rgba(56,56,56,.81);color:#fff}.theme-security .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(59,59,59,.925);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 .Divider--horizontal{margin:.5em 0}.theme-security .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-security .Divider--vertical{height:100%;margin:0 .5em}.theme-security .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-security .ImageButton__image{line-height:0;align-self:center}.theme-security .ImageButton__vertical,.theme-security .ImageButton--vertical{display:inline-block}.theme-security .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-security .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-security .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-security .ImageButton--color--good{background-color:rgba(77,145,33,.15);border:.0833333333em solid rgba(130,208,79,.2)}.theme-security .ImageButton--color--clickable--good{background-color:rgba(77,145,33,.15);border:.0833333333em solid rgba(130,208,79,.2);transition:color .1s,background-color .1s}.theme-security .ImageButton--color--clickable--good:focus{transition:color .25s,background-color .25s}.theme-security .ImageButton--color--clickable--good:hover{background-color:rgba(103,179,53,.25)}.theme-security .ImageButton--color--default{background-color:rgba(185,121,119,.15);border:.0833333333em solid rgba(238,223,222,.2)}.theme-security .ImageButton--color--default--clickable{background-color:rgba(185,121,119,.15);border:.0833333333em solid rgba(238,223,222,.2);transition:color .1s,background-color .1s}.theme-security .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-security .ImageButton--color--default--clickable:hover{background-color:rgba(213,174,173,.25)}.theme-security .ImageButton--disabled{background-color:rgba(77,23,23,.25)!important;border:.0833333333em solid rgba(179,98,98,.15)}.theme-security .ImageButton--selected{background-color:rgba(27,150,56,.15);border:.0833333333em solid rgba(72,214,105,.2);transition:color .1s,background-color .1s}.theme-security .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-security .ImageButton--selected:hover{background-color:rgba(47,185,79,.25)}.theme-security .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-security .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-security .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-security .ImageButton__content__horizontal--content{padding:.5em}.theme-security .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-security .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-security .ImageButton__content--color--good{color:#fff;background-color:#48861f;border-top:.0833333333em solid #6fbd3c}.theme-security .ImageButton__content--color--default{color:#fff;background-color:#9f615e;border-top:.0833333333em solid #c49d9c}.theme-security .ImageButton__content--disabled{background-color:#4d1717!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(179,98,98,.5)}.theme-security .ImageButton__content--selected{background-color:#1b9638!important;border-top:.0833333333em solid rgba(157,237,176,.5)}.theme-security .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-security .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-security .ImageButton__item--icon--horizontal .fa,.theme-security .ImageButton__item--icon--horizontal .fas,.theme-security .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-security .ImageButton__item--color--good{transition:color .1s,background-color .1s;background-color:rgba(77,145,33,.4);border:.0833333333em solid rgba(130,208,79,.2);border-left:0}.theme-security .ImageButton__item--color--good:focus{transition:color .25s,background-color .25s}.theme-security .ImageButton__item--color--good:hover{background-color:rgba(103,179,53,.5)}.theme-security .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(185,121,119,.4);border:.0833333333em solid rgba(233,212,211,.2);border-left:0}.theme-security .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-security .ImageButton__item--color--default:hover{background-color:rgba(209,166,165,.5)}.theme-security .ImageButton__item--disabled{background-color:rgba(77,23,23,.5)!important;border:.0833333333em solid rgba(179,98,98,.15);border-left:0}.theme-security .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(27,150,56,.4);border:.0833333333em solid rgba(72,214,105,.2);border-left:0}.theme-security .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-security .ImageButton__item--selected:hover{background-color:rgba(47,185,79,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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;image-rendering:pixelated}.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;image-rendering:pixelated}.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: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:rgba(113,14,14,.81);color:#fff}.theme-syndicate .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(114,20,20,.925);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 .Divider--horizontal{margin:.5em 0}.theme-syndicate .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-syndicate .Divider--vertical{height:100%;margin:0 .5em}.theme-syndicate .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-syndicate .ImageButton__image{line-height:0;align-self:center}.theme-syndicate .ImageButton__vertical,.theme-syndicate .ImageButton--vertical{display:inline-block}.theme-syndicate .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-syndicate .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-syndicate .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-syndicate .ImageButton--color--default{background-color:rgba(99,135,99,.15);border:.0833333333em solid rgba(173,195,173,.2)}.theme-syndicate .ImageButton--color--default--clickable{background-color:rgba(99,135,99,.15);border:.0833333333em solid rgba(173,195,173,.2);transition:color .1s,background-color .1s}.theme-syndicate .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-syndicate .ImageButton--color--default--clickable:hover{background-color:rgba(137,168,137,.25)}.theme-syndicate .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-syndicate .ImageButton--selected{background-color:rgba(157,8,8,.15);border:.0833333333em solid rgba(229,42,42,.2);transition:color .1s,background-color .1s}.theme-syndicate .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-syndicate .ImageButton--selected:hover{background-color:rgba(193,25,25,.25)}.theme-syndicate .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-syndicate .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-syndicate .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-syndicate .ImageButton__content__horizontal--content{padding:.5em}.theme-syndicate .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-syndicate .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-syndicate .ImageButton__content--color--default{color:#fff;background-color:#4f6f4f;border-top:.0833333333em solid #799d79}.theme-syndicate .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-syndicate .ImageButton__content--selected{background-color:#9d0808!important;border-top:.0833333333em solid rgba(248,127,127,.5)}.theme-syndicate .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-syndicate .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-syndicate .ImageButton__item--icon--horizontal .fa,.theme-syndicate .ImageButton__item--icon--horizontal .fas,.theme-syndicate .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-syndicate .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(99,135,99,.4);border:.0833333333em solid rgba(167,190,167,.2);border-left:0}.theme-syndicate .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-syndicate .ImageButton__item--color--default:hover{background-color:rgba(132,164,132,.5)}.theme-syndicate .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-syndicate .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(157,8,8,.4);border:.0833333333em solid rgba(229,42,42,.2);border-left:0}.theme-syndicate .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-syndicate .ImageButton__item--selected:hover{background-color:rgba(193,25,25,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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}.theme-noticeboard .color-black{color:#1a1a1a!important}.theme-noticeboard .color-white{color:#fff!important}.theme-noticeboard .color-red{color:#df3e3e!important}.theme-noticeboard .color-orange{color:#f37f33!important}.theme-noticeboard .color-yellow{color:#fbda21!important}.theme-noticeboard .color-olive{color:#cbe41c!important}.theme-noticeboard .color-green{color:#25ca4c!important}.theme-noticeboard .color-teal{color:#00d6cc!important}.theme-noticeboard .color-blue{color:#2e93de!important}.theme-noticeboard .color-violet{color:#7349cf!important}.theme-noticeboard .color-purple{color:#ad45d0!important}.theme-noticeboard .color-pink{color:#e34da1!important}.theme-noticeboard .color-brown{color:#b97447!important}.theme-noticeboard .color-grey{color:#848484!important}.theme-noticeboard .color-good{color:#68c22d!important}.theme-noticeboard .color-average{color:#f29a29!important}.theme-noticeboard .color-bad{color:#df3e3e!important}.theme-noticeboard .color-label{color:#8b9bb0!important}.theme-noticeboard .color-gold{color:#f3b22f!important}.theme-noticeboard .color-bg-black{background-color:#000!important}.theme-noticeboard .color-bg-white{background-color:#d9d9d9!important}.theme-noticeboard .color-bg-red{background-color:#bd2020!important}.theme-noticeboard .color-bg-orange{background-color:#d95e0c!important}.theme-noticeboard .color-bg-yellow{background-color:#d9b804!important}.theme-noticeboard .color-bg-olive{background-color:#9aad14!important}.theme-noticeboard .color-bg-green{background-color:#1b9638!important}.theme-noticeboard .color-bg-teal{background-color:#009a93!important}.theme-noticeboard .color-bg-blue{background-color:#1c71b1!important}.theme-noticeboard .color-bg-violet{background-color:#552dab!important}.theme-noticeboard .color-bg-purple{background-color:#8b2baa!important}.theme-noticeboard .color-bg-pink{background-color:#cf2082!important}.theme-noticeboard .color-bg-brown{background-color:#8c5836!important}.theme-noticeboard .color-bg-grey{background-color:#646464!important}.theme-noticeboard .color-bg-good{background-color:#4d9121!important}.theme-noticeboard .color-bg-average{background-color:#cd7a0d!important}.theme-noticeboard .color-bg-bad{background-color:#bd2020!important}.theme-noticeboard .color-bg-label{background-color:#657a94!important}.theme-noticeboard .color-bg-gold{background-color:#d6920c!important}.theme-noticeboard .Section{position:relative;margin-bottom:.5em;background-color:#f2f2f2;box-sizing:border-box}.theme-noticeboard .Section:last-child{margin-bottom:0}.theme-noticeboard .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.theme-noticeboard .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-noticeboard .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-noticeboard .Section__rest{position:relative}.theme-noticeboard .Section__content{padding:.66em .5em}.theme-noticeboard .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-noticeboard .Section--fill{display:flex;flex-direction:column;height:100%}.theme-noticeboard .Section--fill>.Section__rest{flex-grow:1}.theme-noticeboard .Section--fill>.Section__rest>.Section__content{height:100%}.theme-noticeboard .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-noticeboard .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-noticeboard .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-noticeboard .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-noticeboard .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-noticeboard .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-noticeboard .Section .Section:first-child{margin-top:-.5em}.theme-noticeboard .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-noticeboard .Section .Section .Section .Section__titleText{font-size:1em}.theme-noticeboard .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#2b0f0c;background-image:linear-gradient(to bottom,#2b0f0c,#2b0f0c)}.theme-noticeboard .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-noticeboard .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-noticeboard .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-noticeboard .Window__contentPadding:after{height:0}.theme-noticeboard .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-noticeboard .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(69,37,33,.25);pointer-events:none}.theme-noticeboard .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-noticeboard .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-noticeboard .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-noticeboard .TitleBar{background-color:#2b0f0c;border-bottom:1px solid #2b0f0c;box-shadow:0 2px 2px #2b0f0c;box-shadow:0 .1666666667rem .1666666667rem #2b0f0c;user-select:none;-ms-user-select:none}.theme-noticeboard .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#2b0f0c;transition:color .25s,background-color .25s}.theme-noticeboard .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-noticeboard .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-noticeboard .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-noticeboard .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-noticeboard .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-noticeboard .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-noticeboard .Layout,.theme-noticeboard .Layout *{scrollbar-base-color:#f2f2f2;scrollbar-face-color:#e1e1e1;scrollbar-3dlight-color:#f2f2f2;scrollbar-highlight-color:#c8c8c8;scrollbar-track-color:#f2f2f2;scrollbar-arrow-color:#969696;scrollbar-shadow-color:#f2f2f2}.theme-noticeboard .Layout__content{background-image:none}.theme-noticeboard .Window__contentPadding{background-color:#824b28;box-shadow:inset 0 0 10px 1px rgba(0,0,0,.75);border-radius:1em}.theme-noticeboard .Stack--horizontal>.Stack__item{margin-left:1em}.theme-noticeboard .Stack--horizontal>.Stack__item:last-child{margin-right:1em}.theme-noticeboard .Section{font-family:Comic Sans MS,cursive,sans-serif;font-style:italic;white-space:pre-wrap;color:#000;box-shadow:5px 5px 5px rgba(0,0,0,.5);border-radius:100px 100px 200px 200px/10px;transition:all .1s ease-in-out}.theme-noticeboard .Section>.Section__rest>.Section__content{overflow-y:hidden;overflow-x:hidden}.theme-noticeboard .Section__content{margin-top:.25em}.theme-noticeboard .Section__title{margin-top:.5em;padding-bottom:0;border:0}.theme-noticeboard .Section__titleText{color:#000}.theme-noticeboard .Section:hover{transform:scale(1.15);border-radius:1em;box-shadow:0 0 20px 10px rgba(0,0,0,.33);z-index:2}.theme-noticeboard .Section:before{content:" ";display:block;width:10px;height:10px;background:linear-gradient(300deg,#640000,red 75%,#ff7d7d);box-shadow:1.5px 1.5px 5px rgba(0,0,0,.6);border-radius:100%;position:absolute;left:calc(50% - 12px);margin-top:.25em;transform:matrix(1,0,.4,.9,0,0)} +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-gold{color:#f3b22f!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}.color-bg-gold{background-color:#d6920c!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}.outline-color-gold{outline:.167rem solid #f3b22f!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--gold{transition:color .1s,background-color .1s;background-color:#d6920c;color:#fff}.Button--color--gold:focus{transition:color .25s,background-color .25s}.Button--color--gold:hover{background-color:#eeaf30;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: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:rgba(56,56,56,.81);color:#fff}.Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(59,59,59,.925);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:"."}.ImageButton__image{line-height:0;align-self:center}.ImageButton__vertical,.ImageButton--vertical{display:inline-block}.ImageButton__horizontal{display:flex;width:100%;align-items:center}.ImageButton--horizontal{display:flex;margin-bottom:.5em}.ImageButton--horizontal:last-child{margin-bottom:.4em}.ImageButton--color--black{background-color:rgba(0,0,0,.15);border:.0833333333em solid rgba(32,32,32,.2)}.ImageButton--color--clickable--black{background-color:rgba(0,0,0,.15);border:.0833333333em solid rgba(32,32,32,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--black:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--black:hover{background-color:rgba(16,16,16,.25)}.ImageButton--color--white{background-color:rgba(217,217,217,.15);border:.0833333333em solid rgba(250,250,250,.2)}.ImageButton--color--clickable--white{background-color:rgba(217,217,217,.15);border:.0833333333em solid rgba(250,250,250,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--white:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--white:hover{background-color:rgba(248,248,248,.25)}.ImageButton--color--red{background-color:rgba(189,32,32,.15);border:.0833333333em solid rgba(227,112,112,.2)}.ImageButton--color--clickable--red{background-color:rgba(189,32,32,.15);border:.0833333333em solid rgba(227,112,112,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--red:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--red:hover{background-color:rgba(217,63,63,.25)}.ImageButton--color--orange{background-color:rgba(217,94,12,.15);border:.0833333333em solid rgba(244,162,107,.2)}.ImageButton--color--clickable--orange{background-color:rgba(217,94,12,.15);border:.0833333333em solid rgba(244,162,107,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--orange:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--orange:hover{background-color:rgba(239,126,51,.25)}.ImageButton--color--yellow{background-color:rgba(217,184,4,.15);border:.0833333333em solid rgba(248,225,91,.2)}.ImageButton--color--clickable--yellow{background-color:rgba(217,184,4,.15);border:.0833333333em solid rgba(248,225,91,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--yellow:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--yellow:hover{background-color:rgba(245,213,35,.25)}.ImageButton--color--olive{background-color:rgba(154,173,20,.15);border:.0833333333em solid rgba(209,228,79,.2)}.ImageButton--color--clickable--olive{background-color:rgba(154,173,20,.15);border:.0833333333em solid rgba(209,228,79,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--olive:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--olive:hover{background-color:rgba(189,211,39,.25)}.ImageButton--color--green{background-color:rgba(27,150,56,.15);border:.0833333333em solid rgba(72,214,105,.2)}.ImageButton--color--clickable--green{background-color:rgba(27,150,56,.15);border:.0833333333em solid rgba(72,214,105,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--green:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--green:hover{background-color:rgba(47,185,79,.25)}.ImageButton--color--teal{background-color:rgba(0,154,147,.15);border:.0833333333em solid rgba(32,225,216,.2)}.ImageButton--color--clickable--teal{background-color:rgba(0,154,147,.15);border:.0833333333em solid rgba(32,225,216,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--teal:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--teal:hover{background-color:rgba(16,189,182,.25)}.ImageButton--color--blue{background-color:rgba(28,113,177,.15);border:.0833333333em solid rgba(96,169,224,.2)}.ImageButton--color--clickable--blue{background-color:rgba(28,113,177,.15);border:.0833333333em solid rgba(96,169,224,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--blue:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--blue:hover{background-color:rgba(48,143,214,.25)}.ImageButton--color--violet{background-color:rgba(85,45,171,.15);border:.0833333333em solid rgba(149,119,215,.2)}.ImageButton--color--clickable--violet{background-color:rgba(85,45,171,.15);border:.0833333333em solid rgba(149,119,215,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--violet:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--violet:hover{background-color:rgba(114,73,202,.25)}.ImageButton--color--purple{background-color:rgba(139,43,170,.15);border:.0833333333em solid rgba(190,115,215,.2)}.ImageButton--color--clickable--purple{background-color:rgba(139,43,170,.15);border:.0833333333em solid rgba(190,115,215,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--purple:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--purple:hover{background-color:rgba(170,70,202,.25)}.ImageButton--color--pink{background-color:rgba(207,32,130,.15);border:.0833333333em solid rgba(233,129,188,.2)}.ImageButton--color--clickable--pink{background-color:rgba(207,32,130,.15);border:.0833333333em solid rgba(233,129,188,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--pink:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--pink:hover{background-color:rgba(224,76,160,.25)}.ImageButton--color--brown{background-color:rgba(140,88,54,.15);border:.0833333333em solid rgba(195,144,111,.2)}.ImageButton--color--clickable--brown{background-color:rgba(140,88,54,.15);border:.0833333333em solid rgba(195,144,111,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--brown:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--brown:hover{background-color:rgba(174,114,76,.25)}.ImageButton--color--grey{background-color:rgba(100,100,100,.15);border:.0833333333em solid rgba(157,157,157,.2)}.ImageButton--color--clickable--grey{background-color:rgba(100,100,100,.15);border:.0833333333em solid rgba(157,157,157,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--grey:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--grey:hover{background-color:rgba(129,129,129,.25)}.ImageButton--color--good{background-color:rgba(77,145,33,.15);border:.0833333333em solid rgba(130,208,79,.2)}.ImageButton--color--clickable--good{background-color:rgba(77,145,33,.15);border:.0833333333em solid rgba(130,208,79,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--good:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--good:hover{background-color:rgba(103,179,53,.25)}.ImageButton--color--average{background-color:rgba(205,122,13,.15);border:.0833333333em solid rgba(241,178,96,.2)}.ImageButton--color--clickable--average{background-color:rgba(205,122,13,.15);border:.0833333333em solid rgba(241,178,96,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--average:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--average:hover{background-color:rgba(235,151,43,.25)}.ImageButton--color--bad{background-color:rgba(189,32,32,.15);border:.0833333333em solid rgba(227,112,112,.2)}.ImageButton--color--clickable--bad{background-color:rgba(189,32,32,.15);border:.0833333333em solid rgba(227,112,112,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--bad:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--bad:hover{background-color:rgba(217,63,63,.25)}.ImageButton--color--label{background-color:rgba(101,122,148,.15);border:.0833333333em solid rgba(175,186,201,.2)}.ImageButton--color--clickable--label{background-color:rgba(101,122,148,.15);border:.0833333333em solid rgba(175,186,201,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--label:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--label:hover{background-color:rgba(138,154,174,.25)}.ImageButton--color--gold{background-color:rgba(214,146,12,.15);border:.0833333333em solid rgba(243,197,103,.2)}.ImageButton--color--clickable--gold{background-color:rgba(214,146,12,.15);border:.0833333333em solid rgba(243,197,103,.2);transition:color .1s,background-color .1s}.ImageButton--color--clickable--gold:focus{transition:color .25s,background-color .25s}.ImageButton--color--clickable--gold:hover{background-color:rgba(238,175,48,.25)}.ImageButton--color--default{background-color:rgba(64,64,64,.15);border:.0833333333em solid rgba(114,114,114,.2)}.ImageButton--color--default--clickable{background-color:rgba(64,64,64,.15);border:.0833333333em solid rgba(114,114,114,.2);transition:color .1s,background-color .1s}.ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.ImageButton--color--default--clickable:hover{background-color:rgba(90,90,90,.25)}.ImageButton--disabled{background-color:rgba(77,23,23,.25)!important;border:.0833333333em solid rgba(179,98,98,.15)}.ImageButton--selected{background-color:rgba(27,150,56,.15);border:.0833333333em solid rgba(72,214,105,.2);transition:color .1s,background-color .1s}.ImageButton--selected:focus{transition:color .25s,background-color .25s}.ImageButton--selected:hover{background-color:rgba(47,185,79,.25)}.ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.ImageButton__content__horizontal--content{padding:.5em}.ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.ImageButton__content--color--black{color:#fff;background-color:#000;border-top:.0833333333em solid #151515}.ImageButton__content--color--white{color:rgba(0,0,0,.9);background-color:#d2d2d2;border-top:.0833333333em solid #f9f9f9}.ImageButton__content--color--red{color:#fff;background-color:#b21e1e;border-top:.0833333333em solid #dd4e4e}.ImageButton__content--color--orange{color:#fff;background-color:#cd590c;border-top:.0833333333em solid #f18945}.ImageButton__content--color--yellow{color:rgba(0,0,0,.9);background-color:#ccae03;border-top:.0833333333em solid #f7d935}.ImageButton__content--color--olive{color:rgba(0,0,0,.9);background-color:#90a213;border-top:.0833333333em solid #c7dd2e}.ImageButton__content--color--green{color:#fff;background-color:#198c34;border-top:.0833333333em solid #35c457}.ImageButton__content--color--teal{color:#fff;background-color:#008d87;border-top:.0833333333em solid #15c9c1}.ImageButton__content--color--blue{color:#fff;background-color:#1a6aa6;border-top:.0833333333em solid #3f98d9}.ImageButton__content--color--violet{color:#fff;background-color:#502aa1;border-top:.0833333333em solid #7d58ce}.ImageButton__content--color--purple{color:#fff;background-color:#8229a0;border-top:.0833333333em solid #b055ce}.ImageButton__content--color--pink{color:#fff;background-color:#c31f7b;border-top:.0833333333em solid #e45da9}.ImageButton__content--color--brown{color:#fff;background-color:#835232;border-top:.0833333333em solid #b77c54}.ImageButton__content--color--grey{color:#fff;background-color:#5e5e5e;border-top:.0833333333em solid #8a8a8a}.ImageButton__content--color--good{color:#fff;background-color:#48861f;border-top:.0833333333em solid #6fbd3c}.ImageButton__content--color--average{color:#fff;background-color:#c2730c;border-top:.0833333333em solid #eda03c}.ImageButton__content--color--bad{color:#fff;background-color:#b21e1e;border-top:.0833333333em solid #dd4e4e}.ImageButton__content--color--label{color:#fff;background-color:#60738c;border-top:.0833333333em solid #96a5b7}.ImageButton__content--color--gold{color:rgba(0,0,0,.9);background-color:#ca8a0b;border-top:.0833333333em solid #f0b542}.ImageButton__content--color--default{color:#fff;background-color:#2b2b2b;border-top:.0833333333em solid #4e4e4e}.ImageButton__content--disabled{background-color:#4d1717!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(179,98,98,.5)}.ImageButton__content--selected{background-color:#1b9638!important;border-top:.0833333333em solid rgba(157,237,176,.5)}.ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.ImageButton__item--icon--horizontal{display:flex;align-items:center}.ImageButton__item--icon--horizontal .fa,.ImageButton__item--icon--horizontal .fas,.ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.ImageButton__item--color--black{transition:color .1s,background-color .1s;background-color:rgba(0,0,0,.4);border:.0833333333em solid rgba(32,32,32,.2);border-left:0}.ImageButton__item--color--black:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--black:hover{background-color:rgba(16,16,16,.5)}.ImageButton__item--color--white{transition:color .1s,background-color .1s;background-color:rgba(217,217,217,.4);border:.0833333333em solid rgba(250,250,250,.2);border-left:0}.ImageButton__item--color--white:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--white:hover{background-color:rgba(248,248,248,.5)}.ImageButton__item--color--red{transition:color .1s,background-color .1s;background-color:rgba(189,32,32,.4);border:.0833333333em solid rgba(227,112,112,.2);border-left:0}.ImageButton__item--color--red:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--red:hover{background-color:rgba(217,63,63,.5)}.ImageButton__item--color--orange{transition:color .1s,background-color .1s;background-color:rgba(217,94,12,.4);border:.0833333333em solid rgba(244,162,107,.2);border-left:0}.ImageButton__item--color--orange:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--orange:hover{background-color:rgba(239,126,51,.5)}.ImageButton__item--color--yellow{transition:color .1s,background-color .1s;background-color:rgba(217,184,4,.4);border:.0833333333em solid rgba(248,225,91,.2);border-left:0}.ImageButton__item--color--yellow:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--yellow:hover{background-color:rgba(245,213,35,.5)}.ImageButton__item--color--olive{transition:color .1s,background-color .1s;background-color:rgba(154,173,20,.4);border:.0833333333em solid rgba(209,228,79,.2);border-left:0}.ImageButton__item--color--olive:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--olive:hover{background-color:rgba(189,211,39,.5)}.ImageButton__item--color--green{transition:color .1s,background-color .1s;background-color:rgba(27,150,56,.4);border:.0833333333em solid rgba(72,214,105,.2);border-left:0}.ImageButton__item--color--green:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--green:hover{background-color:rgba(47,185,79,.5)}.ImageButton__item--color--teal{transition:color .1s,background-color .1s;background-color:rgba(0,154,147,.4);border:.0833333333em solid rgba(32,225,216,.2);border-left:0}.ImageButton__item--color--teal:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--teal:hover{background-color:rgba(16,189,182,.5)}.ImageButton__item--color--blue{transition:color .1s,background-color .1s;background-color:rgba(28,113,177,.4);border:.0833333333em solid rgba(96,169,224,.2);border-left:0}.ImageButton__item--color--blue:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--blue:hover{background-color:rgba(48,143,214,.5)}.ImageButton__item--color--violet{transition:color .1s,background-color .1s;background-color:rgba(85,45,171,.4);border:.0833333333em solid rgba(149,119,215,.2);border-left:0}.ImageButton__item--color--violet:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--violet:hover{background-color:rgba(114,73,202,.5)}.ImageButton__item--color--purple{transition:color .1s,background-color .1s;background-color:rgba(139,43,170,.4);border:.0833333333em solid rgba(190,115,215,.2);border-left:0}.ImageButton__item--color--purple:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--purple:hover{background-color:rgba(170,70,202,.5)}.ImageButton__item--color--pink{transition:color .1s,background-color .1s;background-color:rgba(207,32,130,.4);border:.0833333333em solid rgba(233,129,188,.2);border-left:0}.ImageButton__item--color--pink:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--pink:hover{background-color:rgba(224,76,160,.5)}.ImageButton__item--color--brown{transition:color .1s,background-color .1s;background-color:rgba(140,88,54,.4);border:.0833333333em solid rgba(195,144,111,.2);border-left:0}.ImageButton__item--color--brown:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--brown:hover{background-color:rgba(174,114,76,.5)}.ImageButton__item--color--grey{transition:color .1s,background-color .1s;background-color:rgba(100,100,100,.4);border:.0833333333em solid rgba(157,157,157,.2);border-left:0}.ImageButton__item--color--grey:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--grey:hover{background-color:rgba(129,129,129,.5)}.ImageButton__item--color--good{transition:color .1s,background-color .1s;background-color:rgba(77,145,33,.4);border:.0833333333em solid rgba(130,208,79,.2);border-left:0}.ImageButton__item--color--good:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--good:hover{background-color:rgba(103,179,53,.5)}.ImageButton__item--color--average{transition:color .1s,background-color .1s;background-color:rgba(205,122,13,.4);border:.0833333333em solid rgba(241,178,96,.2);border-left:0}.ImageButton__item--color--average:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--average:hover{background-color:rgba(235,151,43,.5)}.ImageButton__item--color--bad{transition:color .1s,background-color .1s;background-color:rgba(189,32,32,.4);border:.0833333333em solid rgba(227,112,112,.2);border-left:0}.ImageButton__item--color--bad:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--bad:hover{background-color:rgba(217,63,63,.5)}.ImageButton__item--color--label{transition:color .1s,background-color .1s;background-color:rgba(101,122,148,.4);border:.0833333333em solid rgba(175,186,201,.2);border-left:0}.ImageButton__item--color--label:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--label:hover{background-color:rgba(138,154,174,.5)}.ImageButton__item--color--gold{transition:color .1s,background-color .1s;background-color:rgba(214,146,12,.4);border:.0833333333em solid rgba(243,197,103,.2);border-left:0}.ImageButton__item--color--gold:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--gold:hover{background-color:rgba(238,175,48,.5)}.ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(64,64,64,.4);border:.0833333333em solid rgba(112,112,112,.2);border-left:0}.ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.ImageButton__item--color--default:hover{background-color:rgba(88,88,88,.5)}.ImageButton__item--disabled{background-color:rgba(77,23,23,.5)!important;border:.0833333333em solid rgba(179,98,98,.15);border-left:0}.ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(27,150,56,.4);border:.0833333333em solid rgba(72,214,105,.2);border-left:0}.ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.ImageButton__item--selected:hover{background-color:rgba(47,185,79,.5)}.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}.Knob--color--gold .Knob__ringFill{stroke:#f3b22f}.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__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--color--gold{color:#fff;background-color:#825d13}.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}.ProgressBar--color--gold{border:.0833333333em solid #d6920c!important}.ProgressBar--color--gold .ProgressBar__fill{background-color:#d6920c}.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--color--gold.RoundGauge__ringFill{stroke:#f3b22f}.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}.RoundGauge__alert--gold{fill:#f3b22f;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}.Tab--selected.Tab--color--gold{color:#f6c563}.Tabs--horizontal .Tab--selected.Tab--color--gold{border-bottom-color:#f3b22f}.Tabs--vertical .Tab--selected.Tab--color--gold{border-left-color:#f3b22f}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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:0;bottom:0;left:0;width:18.3333333333em}.CameraConsole__right{position:absolute;top:0;bottom:0;left:18.3333333333em;right:0;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)}.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;image-rendering:pixelated}.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}.GeneModder__left{position:absolute;top:0;bottom:0;left:0;width:40.8333333333em}.GeneModder__right{position:absolute;top:0;bottom:0;left:40.8333333333em;right:0;background-color:rgba(0,0,0,.33)}.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;image-rendering:pixelated}.Newscaster__photo:hover{border-color:gray}.Newscaster__photoZoom{text-align:center}.Newscaster__photoZoom>img{transform:scale(2);-ms-interpolation-mode:nearest-neighbor;image-rendering:pixelated}.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}.symptoms-table{border-collapse:separate;border-spacing:0 .5ex;height:100%}.symptoms-table>tbody>tr:first-child{width:100%;font-weight:700}.symptoms-table>tbody>tr:nth-child(2)>td:first-child{padding-top:.5ex}.symptoms-table>tbody>tr>td:nth-child(n+2){text-align:center}.common-name-label>.LabeledList__cell{vertical-align:middle}.table-spacer{height:100%}.remove-section-bottom-padding .Section__content{padding-bottom:0}.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}.reagents-table{border-collapse:separate;border-spacing:0 .3em}.volume-cell{min-width:3em;text-align:right;vertical-align:middle}.volume-cell:not(:hover) .volume-actions-wrapper{display:none}.volume-cell:hover .volume-label{display:none}.reagent-absent-name-cell{color:#767676}.reagent-row>*:last-child{padding-right:.5em}.absent-row:not(:hover) .add-reagent-button{visibility:hidden}.condensed-button{margin:0;padding:0;min-height:0;line-height:0;background:none}.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__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}#research-levels tr>*:first-child{width:2em}#research-levels tr>*:nth-child(3),#research-levels tr>*:nth-child(4),#research-levels tr>*:nth-child(5){text-align:center}#research-levels tr:not(:first-child)>*:first-child{height:2em}.upgraded-level{color:#55d355}.research-level-no-effect{color:#888}.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: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:rgba(62,70,100,.81);color:#fff}.theme-abductor .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(65,73,102,.925);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 .Divider--horizontal{margin:.5em 0}.theme-abductor .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-abductor .Divider--vertical{height:100%;margin:0 .5em}.theme-abductor .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-abductor .ImageButton__image{line-height:0;align-self:center}.theme-abductor .ImageButton__vertical,.theme-abductor .ImageButton--vertical{display:inline-block}.theme-abductor .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-abductor .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-abductor .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-abductor .ImageButton--color--default{background-color:rgba(196,91,125,.15);border:.0833333333em solid rgba(236,202,213,.2)}.theme-abductor .ImageButton--color--default--clickable{background-color:rgba(196,91,125,.15);border:.0833333333em solid rgba(236,202,213,.2);transition:color .1s,background-color .1s}.theme-abductor .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-abductor .ImageButton--color--default--clickable:hover{background-color:rgba(217,149,171,.25)}.theme-abductor .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-abductor .ImageButton--selected{background-color:rgba(70,88,153,.15);border:.0833333333em solid rgba(142,155,201,.2);transition:color .1s,background-color .1s}.theme-abductor .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-abductor .ImageButton--selected:hover{background-color:rgba(101,119,181,.25)}.theme-abductor .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-abductor .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-abductor .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-abductor .ImageButton__content__horizontal--content{padding:.5em}.theme-abductor .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-abductor .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-abductor .ImageButton__content--color--default{color:#fff;background-color:#a64867;border-top:.0833333333em solid #ca859c}.theme-abductor .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-abductor .ImageButton__content--selected{background-color:#465899!important;border-top:.0833333333em solid rgba(222,226,240,.5)}.theme-abductor .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-abductor .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-abductor .ImageButton__item--icon--horizontal .fa,.theme-abductor .ImageButton__item--icon--horizontal .fas,.theme-abductor .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-abductor .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(196,91,125,.4);border:.0833333333em solid rgba(232,191,204,.2);border-left:0}.theme-abductor .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-abductor .ImageButton__item--color--default:hover{background-color:rgba(214,141,165,.5)}.theme-abductor .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-abductor .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(70,88,153,.4);border:.0833333333em solid rgba(142,155,201,.2);border-left:0}.theme-abductor .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-abductor .ImageButton__item--selected:hover{background-color:rgba(101,119,181,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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: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:rgba(32,145,79,.81);color:#fff}.theme-cardtable .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(36,145,82,.925);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 .Divider--horizontal{margin:.5em 0}.theme-cardtable .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-cardtable .Divider--vertical{height:100%;margin:0 .5em}.theme-cardtable .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-cardtable .ImageButton__image{line-height:0;align-self:center}.theme-cardtable .ImageButton__vertical,.theme-cardtable .ImageButton--vertical{display:inline-block}.theme-cardtable .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-cardtable .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-cardtable .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-cardtable .ImageButton--color--default{background-color:rgba(91,230,149,.15);border:.0833333333em solid rgba(231,251,240,.2)}.theme-cardtable .ImageButton--color--default--clickable{background-color:rgba(91,230,149,.15);border:.0833333333em solid rgba(231,251,240,.2);transition:color .1s,background-color .1s}.theme-cardtable .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-cardtable .ImageButton--color--default--clickable:hover{background-color:rgba(165,242,197,.25)}.theme-cardtable .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-cardtable .ImageButton--selected{background-color:rgba(157,8,8,.15);border:.0833333333em solid rgba(229,42,42,.2);transition:color .1s,background-color .1s}.theme-cardtable .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-cardtable .ImageButton--selected:hover{background-color:rgba(193,25,25,.25)}.theme-cardtable .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-cardtable .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-cardtable .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-cardtable .ImageButton__content__horizontal--content{padding:.5em}.theme-cardtable .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-cardtable .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-cardtable .ImageButton__content--color--default{color:rgba(0,0,0,.9);background-color:#41cd7c;border-top:.0833333333em solid #91e2b4}.theme-cardtable .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-cardtable .ImageButton__content--selected{background-color:#9d0808!important;border-top:.0833333333em solid rgba(248,127,127,.5)}.theme-cardtable .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-cardtable .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-cardtable .ImageButton__item--icon--horizontal .fa,.theme-cardtable .ImageButton__item--icon--horizontal .fas,.theme-cardtable .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-cardtable .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(91,230,149,.4);border:.0833333333em solid rgba(216,249,230,.2);border-left:0}.theme-cardtable .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-cardtable .ImageButton__item--color--default:hover{background-color:rgba(154,240,190,.5)}.theme-cardtable .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-cardtable .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(157,8,8,.4);border:.0833333333em solid rgba(229,42,42,.2);border-left:0}.theme-cardtable .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-cardtable .ImageButton__item--selected:hover{background-color:rgba(193,25,25,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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: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:rgba(67,57,73,.81);color:#fff}.theme-changeling .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(70,61,76,.925);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 .Divider--horizontal{margin:.5em 0}.theme-changeling .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-changeling .Divider--vertical{height:100%;margin:0 .5em}.theme-changeling .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-changeling .ImageButton__image{line-height:0;align-self:center}.theme-changeling .ImageButton__vertical,.theme-changeling .ImageButton--vertical{display:inline-block}.theme-changeling .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-changeling .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-changeling .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-changeling .ImageButton--color--default{background-color:rgba(115,100,127,.15);border:.0833333333em solid rgba(180,170,188,.2)}.theme-changeling .ImageButton--color--default--clickable{background-color:rgba(115,100,127,.15);border:.0833333333em solid rgba(180,170,188,.2);transition:color .1s,background-color .1s}.theme-changeling .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-changeling .ImageButton--color--default--clickable:hover{background-color:rgba(149,135,160,.25)}.theme-changeling .ImageButton--disabled{background-color:rgba(77,23,23,.25)!important;border:.0833333333em solid rgba(179,98,98,.15)}.theme-changeling .ImageButton--selected{background-color:rgba(24,133,82,.15);border:.0833333333em solid rgba(62,199,135,.2);transition:color .1s,background-color .1s}.theme-changeling .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-changeling .ImageButton--selected:hover{background-color:rgba(43,166,109,.25)}.theme-changeling .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-changeling .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-changeling .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-changeling .ImageButton__content__horizontal--content{padding:.5em}.theme-changeling .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-changeling .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-changeling .ImageButton__content--color--default{color:#fff;background-color:#5d4f67;border-top:.0833333333em solid #897995}.theme-changeling .ImageButton__content--disabled{background-color:#4d1717!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(179,98,98,.5)}.theme-changeling .ImageButton__content--selected{background-color:#188552!important;border-top:.0833333333em solid rgba(131,233,185,.5)}.theme-changeling .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-changeling .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-changeling .ImageButton__item--icon--horizontal .fa,.theme-changeling .ImageButton__item--icon--horizontal .fas,.theme-changeling .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-changeling .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(115,100,127,.4);border:.0833333333em solid rgba(175,165,183,.2);border-left:0}.theme-changeling .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-changeling .ImageButton__item--color--default:hover{background-color:rgba(145,131,156,.5)}.theme-changeling .ImageButton__item--disabled{background-color:rgba(77,23,23,.5)!important;border:.0833333333em solid rgba(179,98,98,.15);border-left:0}.theme-changeling .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(24,133,82,.4);border:.0833333333em solid rgba(62,199,135,.2);border-left:0}.theme-changeling .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-changeling .ImageButton__item--selected:hover{background-color:rgba(43,166,109,.5)}.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: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:rgba(34,44,34,.81);color:#fff}.theme-hackerman .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(38,48,38,.925);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 .Divider--horizontal{margin:.5em 0}.theme-hackerman .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-hackerman .Divider--vertical{height:100%;margin:0 .5em}.theme-hackerman .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-hackerman .ImageButton__image{line-height:0;align-self:center}.theme-hackerman .ImageButton__vertical,.theme-hackerman .ImageButton--vertical{display:inline-block}.theme-hackerman .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-hackerman .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-hackerman .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-hackerman .ImageButton--color--default{background-color:rgba(64,255,64,.15);border:.0833333333em solid rgba(226,255,226,.2)}.theme-hackerman .ImageButton--color--default--clickable{background-color:rgba(64,255,64,.15);border:.0833333333em solid rgba(226,255,226,.2);transition:color .1s,background-color .1s}.theme-hackerman .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-hackerman .ImageButton--color--default--clickable:hover{background-color:rgba(149,255,149,.25)}.theme-hackerman .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-hackerman .ImageButton--selected{background-color:rgba(128,255,128,.15);border:.0833333333em solid rgba(239,255,239,.2);transition:color .1s,background-color .1s}.theme-hackerman .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-hackerman .ImageButton--selected:hover{background-color:rgba(207,255,207,.25)}.theme-hackerman .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-hackerman .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-hackerman .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-hackerman .ImageButton__content__horizontal--content{padding:.5em}.theme-hackerman .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-hackerman .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-hackerman .ImageButton__content--color--default{color:rgba(0,0,0,.9);background-color:#28e528;border-top:.0833333333em solid #82f082}.theme-hackerman .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-hackerman .ImageButton__content--selected{background-color:#80ff80!important;border-top:.0833333333em solid rgba(255,255,255,.5)}.theme-hackerman .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-hackerman .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-hackerman .ImageButton__item--icon--horizontal .fa,.theme-hackerman .ImageButton__item--icon--horizontal .fas,.theme-hackerman .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-hackerman .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(64,255,64,.4);border:.0833333333em solid rgba(208,255,208,.2);border-left:0}.theme-hackerman .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-hackerman .ImageButton__item--color--default:hover{background-color:rgba(136,255,136,.5)}.theme-hackerman .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-hackerman .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(128,255,128,.4);border:.0833333333em solid rgba(239,255,239,.2);border-left:0}.theme-hackerman .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-hackerman .ImageButton__item--selected:hover{background-color:rgba(207,255,207,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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: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:rgba(56,56,56,.81);color:#fff}.theme-hydroponics .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(59,59,59,.925);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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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;image-rendering:pixelated}.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;image-rendering:pixelated}.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: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:rgba(44,74,92,.81);color:#fff}.theme-malfunction .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(48,77,94,.925);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 .Divider--horizontal{margin:.5em 0}.theme-malfunction .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-malfunction .Divider--vertical{height:100%;margin:0 .5em}.theme-malfunction .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-malfunction .ImageButton__image{line-height:0;align-self:center}.theme-malfunction .ImageButton__vertical,.theme-malfunction .ImageButton--vertical{display:inline-block}.theme-malfunction .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-malfunction .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-malfunction .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-malfunction .ImageButton--color--default{background-color:rgba(129,65,65,.15);border:.0833333333em solid rgba(190,125,125,.2)}.theme-malfunction .ImageButton--color--default--clickable{background-color:rgba(129,65,65,.15);border:.0833333333em solid rgba(190,125,125,.2);transition:color .1s,background-color .1s}.theme-malfunction .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-malfunction .ImageButton--color--default--clickable:hover{background-color:rgba(166,91,91,.25)}.theme-malfunction .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-malfunction .ImageButton--selected{background-color:rgba(30,88,129,.15);border:.0833333333em solid rgba(70,142,194,.2);transition:color .1s,background-color .1s}.theme-malfunction .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-malfunction .ImageButton--selected:hover{background-color:rgba(50,115,161,.25)}.theme-malfunction .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-malfunction .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-malfunction .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-malfunction .ImageButton__content__horizontal--content{padding:.5em}.theme-malfunction .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-malfunction .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-malfunction .ImageButton__content--color--default{color:#fff;background-color:#683030;border-top:.0833333333em solid #995252}.theme-malfunction .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-malfunction .ImageButton__content--selected{background-color:#1e5881!important;border-top:.0833333333em solid rgba(138,191,228,.5)}.theme-malfunction .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-malfunction .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-malfunction .ImageButton__item--icon--horizontal .fa,.theme-malfunction .ImageButton__item--icon--horizontal .fas,.theme-malfunction .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-malfunction .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(129,65,65,.4);border:.0833333333em solid rgba(185,122,122,.2);border-left:0}.theme-malfunction .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-malfunction .ImageButton__item--color--default:hover{background-color:rgba(161,89,89,.5)}.theme-malfunction .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-malfunction .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(30,88,129,.4);border:.0833333333em solid rgba(70,142,194,.2);border-left:0}.theme-malfunction .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-malfunction .ImageButton__item--selected:hover{background-color:rgba(50,115,161,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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: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:rgba(49,63,80,.81);color:#fff}.theme-ntos .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(53,66,83,.925);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 .Divider--horizontal{margin:.5em 0}.theme-ntos .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-ntos .Divider--vertical{height:100%;margin:0 .5em}.theme-ntos .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-ntos .ImageButton__image{line-height:0;align-self:center}.theme-ntos .ImageButton__vertical,.theme-ntos .ImageButton--vertical{display:inline-block}.theme-ntos .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-ntos .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-ntos .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-ntos .ImageButton--color--default{background-color:rgba(107,125,146,.15);border:.0833333333em solid rgba(188,196,206,.2)}.theme-ntos .ImageButton--color--default--clickable{background-color:rgba(107,125,146,.15);border:.0833333333em solid rgba(188,196,206,.2);transition:color .1s,background-color .1s}.theme-ntos .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-ntos .ImageButton--color--default--clickable:hover{background-color:rgba(149,162,177,.25)}.theme-ntos .ImageButton--disabled{background-color:rgba(77,23,23,.25)!important;border:.0833333333em solid rgba(179,98,98,.15)}.theme-ntos .ImageButton--selected{background-color:rgba(27,150,56,.15);border:.0833333333em solid rgba(72,214,105,.2);transition:color .1s,background-color .1s}.theme-ntos .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-ntos .ImageButton--selected:hover{background-color:rgba(47,185,79,.25)}.theme-ntos .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-ntos .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-ntos .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-ntos .ImageButton__content__horizontal--content{padding:.5em}.theme-ntos .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-ntos .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-ntos .ImageButton__content--color--default{color:#fff;background-color:#576678;border-top:.0833333333em solid #8593a5}.theme-ntos .ImageButton__content--disabled{background-color:#4d1717!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(179,98,98,.5)}.theme-ntos .ImageButton__content--selected{background-color:#1b9638!important;border-top:.0833333333em solid rgba(157,237,176,.5)}.theme-ntos .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-ntos .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-ntos .ImageButton__item--icon--horizontal .fa,.theme-ntos .ImageButton__item--icon--horizontal .fas,.theme-ntos .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-ntos .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(107,125,146,.4);border:.0833333333em solid rgba(180,189,200,.2);border-left:0}.theme-ntos .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-ntos .ImageButton__item--color--default:hover{background-color:rgba(143,157,173,.5)}.theme-ntos .ImageButton__item--disabled{background-color:rgba(77,23,23,.5)!important;border:.0833333333em solid rgba(179,98,98,.15);border-left:0}.theme-ntos .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(27,150,56,.4);border:.0833333333em solid rgba(72,214,105,.2);border-left:0}.theme-ntos .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-ntos .ImageButton__item--selected:hover{background-color:rgba(47,185,79,.5)}.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: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:rgba(255,255,255,.81);color:#000}.theme-paper .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(255,255,255,.925);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 .Divider--horizontal{margin:.5em 0}.theme-paper .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-paper .Divider--vertical{height:100%;margin:0 .5em}.theme-paper .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-paper .ImageButton__image{line-height:0;align-self:center}.theme-paper .ImageButton__vertical,.theme-paper .ImageButton--vertical{display:inline-block}.theme-paper .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-paper .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-paper .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-paper .ImageButton--color--default{background-color:rgba(243,242,228,.15);border:.0833333333em solid rgba(255,255,255,.2)}.theme-paper .ImageButton--color--default--clickable{background-color:rgba(243,242,228,.15);border:.0833333333em solid rgba(255,255,255,.2);transition:color .1s,background-color .1s}.theme-paper .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-paper .ImageButton--color--default--clickable:hover{background-color:rgba(255,255,254,.25)}.theme-paper .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-paper .ImageButton--selected{background-color:rgba(157,8,8,.15);border:.0833333333em solid rgba(229,42,42,.2);transition:color .1s,background-color .1s}.theme-paper .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-paper .ImageButton--selected:hover{background-color:rgba(193,25,25,.25)}.theme-paper .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-paper .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-paper .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-paper .ImageButton__content__horizontal--content{padding:.5em}.theme-paper .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-paper .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-paper .ImageButton__content--color--default{color:rgba(0,0,0,.9);background-color:#e1dbb9;border-top:.0833333333em solid #fbfaf5}.theme-paper .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-paper .ImageButton__content--selected{background-color:#9d0808!important;border-top:.0833333333em solid rgba(248,127,127,.5)}.theme-paper .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-paper .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-paper .ImageButton__item--icon--horizontal .fa,.theme-paper .ImageButton__item--icon--horizontal .fas,.theme-paper .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-paper .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(243,242,228,.4);border:.0833333333em solid rgba(254,254,252,.2);border-left:0}.theme-paper .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-paper .ImageButton__item--color--default:hover{background-color:rgba(253,253,250,.5)}.theme-paper .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-paper .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(157,8,8,.4);border:.0833333333em solid rgba(229,42,42,.2);border-left:0}.theme-paper .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-paper .ImageButton__item--selected:hover{background-color:rgba(193,25,25,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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: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:rgba(255,255,255,.81);color:#000}.theme-retro .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(253,253,250,.925);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 .Divider--horizontal{margin:.5em 0}.theme-retro .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-retro .Divider--vertical{height:100%;margin:0 .5em}.theme-retro .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-retro .ImageButton__image{line-height:0;align-self:center}.theme-retro .ImageButton__vertical,.theme-retro .ImageButton--vertical{display:inline-block}.theme-retro .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-retro .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-retro .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-retro .ImageButton--color--default{background-color:rgba(243,242,228,.15);border:.0833333333em solid rgba(255,255,255,.2)}.theme-retro .ImageButton--color--default--clickable{background-color:rgba(243,242,228,.15);border:.0833333333em solid rgba(255,255,255,.2);transition:color .1s,background-color .1s}.theme-retro .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-retro .ImageButton--color--default--clickable:hover{background-color:rgba(255,255,254,.25)}.theme-retro .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-retro .ImageButton--selected{background-color:rgba(157,8,8,.15);border:.0833333333em solid rgba(229,42,42,.2);transition:color .1s,background-color .1s}.theme-retro .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-retro .ImageButton--selected:hover{background-color:rgba(193,25,25,.25)}.theme-retro .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-retro .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-retro .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-retro .ImageButton__content__horizontal--content{padding:.5em}.theme-retro .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-retro .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-retro .ImageButton__content--color--default{color:rgba(0,0,0,.9);background-color:#e1dbb9;border-top:.0833333333em solid #fbfaf5}.theme-retro .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-retro .ImageButton__content--selected{background-color:#9d0808!important;border-top:.0833333333em solid rgba(248,127,127,.5)}.theme-retro .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-retro .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-retro .ImageButton__item--icon--horizontal .fa,.theme-retro .ImageButton__item--icon--horizontal .fas,.theme-retro .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-retro .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(243,242,228,.4);border:.0833333333em solid rgba(254,254,252,.2);border-left:0}.theme-retro .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-retro .ImageButton__item--color--default:hover{background-color:rgba(253,253,250,.5)}.theme-retro .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-retro .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(157,8,8,.4);border:.0833333333em solid rgba(229,42,42,.2);border-left:0}.theme-retro .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-retro .ImageButton__item--selected:hover{background-color:rgba(193,25,25,.5)}.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: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:rgba(56,56,56,.81);color:#fff}.theme-security .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(59,59,59,.925);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 .Divider--horizontal{margin:.5em 0}.theme-security .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-security .Divider--vertical{height:100%;margin:0 .5em}.theme-security .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-security .ImageButton__image{line-height:0;align-self:center}.theme-security .ImageButton__vertical,.theme-security .ImageButton--vertical{display:inline-block}.theme-security .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-security .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-security .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-security .ImageButton--color--good{background-color:rgba(77,145,33,.15);border:.0833333333em solid rgba(130,208,79,.2)}.theme-security .ImageButton--color--clickable--good{background-color:rgba(77,145,33,.15);border:.0833333333em solid rgba(130,208,79,.2);transition:color .1s,background-color .1s}.theme-security .ImageButton--color--clickable--good:focus{transition:color .25s,background-color .25s}.theme-security .ImageButton--color--clickable--good:hover{background-color:rgba(103,179,53,.25)}.theme-security .ImageButton--color--default{background-color:rgba(185,121,119,.15);border:.0833333333em solid rgba(238,223,222,.2)}.theme-security .ImageButton--color--default--clickable{background-color:rgba(185,121,119,.15);border:.0833333333em solid rgba(238,223,222,.2);transition:color .1s,background-color .1s}.theme-security .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-security .ImageButton--color--default--clickable:hover{background-color:rgba(213,174,173,.25)}.theme-security .ImageButton--disabled{background-color:rgba(77,23,23,.25)!important;border:.0833333333em solid rgba(179,98,98,.15)}.theme-security .ImageButton--selected{background-color:rgba(27,150,56,.15);border:.0833333333em solid rgba(72,214,105,.2);transition:color .1s,background-color .1s}.theme-security .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-security .ImageButton--selected:hover{background-color:rgba(47,185,79,.25)}.theme-security .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-security .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-security .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-security .ImageButton__content__horizontal--content{padding:.5em}.theme-security .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-security .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-security .ImageButton__content--color--good{color:#fff;background-color:#48861f;border-top:.0833333333em solid #6fbd3c}.theme-security .ImageButton__content--color--default{color:#fff;background-color:#9f615e;border-top:.0833333333em solid #c49d9c}.theme-security .ImageButton__content--disabled{background-color:#4d1717!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(179,98,98,.5)}.theme-security .ImageButton__content--selected{background-color:#1b9638!important;border-top:.0833333333em solid rgba(157,237,176,.5)}.theme-security .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-security .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-security .ImageButton__item--icon--horizontal .fa,.theme-security .ImageButton__item--icon--horizontal .fas,.theme-security .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-security .ImageButton__item--color--good{transition:color .1s,background-color .1s;background-color:rgba(77,145,33,.4);border:.0833333333em solid rgba(130,208,79,.2);border-left:0}.theme-security .ImageButton__item--color--good:focus{transition:color .25s,background-color .25s}.theme-security .ImageButton__item--color--good:hover{background-color:rgba(103,179,53,.5)}.theme-security .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(185,121,119,.4);border:.0833333333em solid rgba(233,212,211,.2);border-left:0}.theme-security .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-security .ImageButton__item--color--default:hover{background-color:rgba(209,166,165,.5)}.theme-security .ImageButton__item--disabled{background-color:rgba(77,23,23,.5)!important;border:.0833333333em solid rgba(179,98,98,.15);border-left:0}.theme-security .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(27,150,56,.4);border:.0833333333em solid rgba(72,214,105,.2);border-left:0}.theme-security .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-security .ImageButton__item--selected:hover{background-color:rgba(47,185,79,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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;image-rendering:pixelated}.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;image-rendering:pixelated}.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: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:rgba(113,14,14,.81);color:#fff}.theme-syndicate .Button--color--translucent{transition:color .1s,background-color .1s;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:rgba(114,20,20,.925);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 .Divider--horizontal{margin:.5em 0}.theme-syndicate .Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-syndicate .Divider--vertical{height:100%;margin:0 .5em}.theme-syndicate .Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.theme-syndicate .ImageButton__image{line-height:0;align-self:center}.theme-syndicate .ImageButton__vertical,.theme-syndicate .ImageButton--vertical{display:inline-block}.theme-syndicate .ImageButton__horizontal{display:flex;width:100%;align-items:center}.theme-syndicate .ImageButton--horizontal{display:flex;margin-bottom:.5em}.theme-syndicate .ImageButton--horizontal:last-child{margin-bottom:.4em}.theme-syndicate .ImageButton--color--default{background-color:rgba(99,135,99,.15);border:.0833333333em solid rgba(173,195,173,.2)}.theme-syndicate .ImageButton--color--default--clickable{background-color:rgba(99,135,99,.15);border:.0833333333em solid rgba(173,195,173,.2);transition:color .1s,background-color .1s}.theme-syndicate .ImageButton--color--default--clickable:focus{transition:color .25s,background-color .25s}.theme-syndicate .ImageButton--color--default--clickable:hover{background-color:rgba(137,168,137,.25)}.theme-syndicate .ImageButton--disabled{background-color:rgba(54,54,54,.25)!important;border:.0833333333em solid rgba(145,145,145,.15)}.theme-syndicate .ImageButton--selected{background-color:rgba(157,8,8,.15);border:.0833333333em solid rgba(229,42,42,.2);transition:color .1s,background-color .1s}.theme-syndicate .ImageButton--selected:focus{transition:color .25s,background-color .25s}.theme-syndicate .ImageButton--selected:hover{background-color:rgba(193,25,25,.25)}.theme-syndicate .ImageButton__content__vertical{height:1.6em;padding-top:2px;border:0;text-align:center;font-size:11px;font-weight:700}.theme-syndicate .ImageButton__content__horizontal{display:block;text-align:center;font-size:12px;flex-grow:1}.theme-syndicate .ImageButton__content__horizontal--title{font-weight:700;padding:.5em .5em 0}.theme-syndicate .ImageButton__content__horizontal--content{padding:.5em}.theme-syndicate .ImageButton__content__horizontal--divider{margin:.5em .5em 0;border-top:.1666666667em solid rgba(255,255,255,.1)}.theme-syndicate .ImageButton__content--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-syndicate .ImageButton__content--color--default{color:#fff;background-color:#4f6f4f;border-top:.0833333333em solid #799d79}.theme-syndicate .ImageButton__content--disabled{background-color:#363636!important;color:rgba(200,200,200,.75);border-top:.0833333333em solid rgba(145,145,145,.5)}.theme-syndicate .ImageButton__content--selected{background-color:#9d0808!important;border-top:.0833333333em solid rgba(248,127,127,.5)}.theme-syndicate .ImageButton__item{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;height:100%}.theme-syndicate .ImageButton__item--icon--horizontal{display:flex;align-items:center}.theme-syndicate .ImageButton__item--icon--horizontal .fa,.theme-syndicate .ImageButton__item--icon--horizontal .fas,.theme-syndicate .ImageButton__item--icon--horizontal .far{margin-left:.2em;margin-right:.2em}.theme-syndicate .ImageButton__item--color--default{transition:color .1s,background-color .1s;background-color:rgba(99,135,99,.4);border:.0833333333em solid rgba(167,190,167,.2);border-left:0}.theme-syndicate .ImageButton__item--color--default:focus{transition:color .25s,background-color .25s}.theme-syndicate .ImageButton__item--color--default:hover{background-color:rgba(132,164,132,.5)}.theme-syndicate .ImageButton__item--disabled{background-color:rgba(54,54,54,.5)!important;border:.0833333333em solid rgba(145,145,145,.15);border-left:0}.theme-syndicate .ImageButton__item--selected{transition:color .1s,background-color .1s;background-color:rgba(157,8,8,.4);border:.0833333333em solid rgba(229,42,42,.2);border-left:0}.theme-syndicate .ImageButton__item--selected:focus{transition:color .25s,background-color .25s}.theme-syndicate .ImageButton__item--selected:hover{background-color:rgba(193,25,25,.5)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.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}.theme-noticeboard .color-black{color:#1a1a1a!important}.theme-noticeboard .color-white{color:#fff!important}.theme-noticeboard .color-red{color:#df3e3e!important}.theme-noticeboard .color-orange{color:#f37f33!important}.theme-noticeboard .color-yellow{color:#fbda21!important}.theme-noticeboard .color-olive{color:#cbe41c!important}.theme-noticeboard .color-green{color:#25ca4c!important}.theme-noticeboard .color-teal{color:#00d6cc!important}.theme-noticeboard .color-blue{color:#2e93de!important}.theme-noticeboard .color-violet{color:#7349cf!important}.theme-noticeboard .color-purple{color:#ad45d0!important}.theme-noticeboard .color-pink{color:#e34da1!important}.theme-noticeboard .color-brown{color:#b97447!important}.theme-noticeboard .color-grey{color:#848484!important}.theme-noticeboard .color-good{color:#68c22d!important}.theme-noticeboard .color-average{color:#f29a29!important}.theme-noticeboard .color-bad{color:#df3e3e!important}.theme-noticeboard .color-label{color:#8b9bb0!important}.theme-noticeboard .color-gold{color:#f3b22f!important}.theme-noticeboard .color-bg-black{background-color:#000!important}.theme-noticeboard .color-bg-white{background-color:#d9d9d9!important}.theme-noticeboard .color-bg-red{background-color:#bd2020!important}.theme-noticeboard .color-bg-orange{background-color:#d95e0c!important}.theme-noticeboard .color-bg-yellow{background-color:#d9b804!important}.theme-noticeboard .color-bg-olive{background-color:#9aad14!important}.theme-noticeboard .color-bg-green{background-color:#1b9638!important}.theme-noticeboard .color-bg-teal{background-color:#009a93!important}.theme-noticeboard .color-bg-blue{background-color:#1c71b1!important}.theme-noticeboard .color-bg-violet{background-color:#552dab!important}.theme-noticeboard .color-bg-purple{background-color:#8b2baa!important}.theme-noticeboard .color-bg-pink{background-color:#cf2082!important}.theme-noticeboard .color-bg-brown{background-color:#8c5836!important}.theme-noticeboard .color-bg-grey{background-color:#646464!important}.theme-noticeboard .color-bg-good{background-color:#4d9121!important}.theme-noticeboard .color-bg-average{background-color:#cd7a0d!important}.theme-noticeboard .color-bg-bad{background-color:#bd2020!important}.theme-noticeboard .color-bg-label{background-color:#657a94!important}.theme-noticeboard .color-bg-gold{background-color:#d6920c!important}.theme-noticeboard .Section{position:relative;margin-bottom:.5em;background-color:#f2f2f2;box-sizing:border-box}.theme-noticeboard .Section:last-child{margin-bottom:0}.theme-noticeboard .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.theme-noticeboard .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-noticeboard .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-noticeboard .Section__rest{position:relative}.theme-noticeboard .Section__content{padding:.66em .5em}.theme-noticeboard .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-noticeboard .Section--fill{display:flex;flex-direction:column;height:100%}.theme-noticeboard .Section--fill>.Section__rest{flex-grow:1}.theme-noticeboard .Section--fill>.Section__rest>.Section__content{height:100%}.theme-noticeboard .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-noticeboard .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-noticeboard .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-noticeboard .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-noticeboard .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-noticeboard .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-noticeboard .Section .Section:first-child{margin-top:-.5em}.theme-noticeboard .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-noticeboard .Section .Section .Section .Section__titleText{font-size:1em}.theme-noticeboard .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#2b0f0c;background-image:linear-gradient(to bottom,#2b0f0c,#2b0f0c)}.theme-noticeboard .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-noticeboard .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-noticeboard .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-noticeboard .Window__contentPadding:after{height:0}.theme-noticeboard .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-noticeboard .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(69,37,33,.25);pointer-events:none}.theme-noticeboard .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-noticeboard .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-noticeboard .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-noticeboard .TitleBar{background-color:#2b0f0c;border-bottom:1px solid #2b0f0c;box-shadow:0 2px 2px #2b0f0c;box-shadow:0 .1666666667rem .1666666667rem #2b0f0c;user-select:none;-ms-user-select:none}.theme-noticeboard .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#2b0f0c;transition:color .25s,background-color .25s}.theme-noticeboard .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-noticeboard .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-noticeboard .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-noticeboard .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-noticeboard .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-noticeboard .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-noticeboard .Layout,.theme-noticeboard .Layout *{scrollbar-base-color:#f2f2f2;scrollbar-face-color:#e1e1e1;scrollbar-3dlight-color:#f2f2f2;scrollbar-highlight-color:#c8c8c8;scrollbar-track-color:#f2f2f2;scrollbar-arrow-color:#969696;scrollbar-shadow-color:#f2f2f2}.theme-noticeboard .Layout__content{background-image:none}.theme-noticeboard .Window__contentPadding{background-color:#824b28;box-shadow:inset 0 0 10px 1px rgba(0,0,0,.75);border-radius:1em}.theme-noticeboard .Stack--horizontal>.Stack__item{margin-left:1em}.theme-noticeboard .Stack--horizontal>.Stack__item:last-child{margin-right:1em}.theme-noticeboard .Section{font-family:Comic Sans MS,cursive,sans-serif;font-style:italic;white-space:pre-wrap;color:#000;box-shadow:5px 5px 5px rgba(0,0,0,.5);border-radius:100px 100px 200px 200px/10px;transition:all .1s ease-in-out}.theme-noticeboard .Section>.Section__rest>.Section__content{overflow-y:hidden;overflow-x:hidden}.theme-noticeboard .Section__content{margin-top:.25em}.theme-noticeboard .Section__title{margin-top:.5em;padding-bottom:0;border:0}.theme-noticeboard .Section__titleText{color:#000}.theme-noticeboard .Section:hover{transform:scale(1.15);border-radius:1em;box-shadow:0 0 20px 10px rgba(0,0,0,.33);z-index:2}.theme-noticeboard .Section:before{content:" ";display:block;width:10px;height:10px;background:linear-gradient(300deg,#640000,red 75%,#ff7d7d);box-shadow:1.5px 1.5px 5px rgba(0,0,0,.6);border-radius:100%;position:absolute;left:calc(50% - 12px);margin-top:.25em;transform:matrix(1,0,.4,.9,0,0)} diff --git a/tgui/public/tgui.bundle.js b/tgui/public/tgui.bundle.js index 05313f53cfd..42bf7fca97c 100644 --- a/tgui/public/tgui.bundle.js +++ b/tgui/public/tgui.bundle.js @@ -1,26 +1,26 @@ -(function(){(function(){var Jt={96376:function(w,r,n){"use strict";r.__esModule=!0,r.createPopper=void 0,r.popperGenerator=m;var e=h(n(74758)),a=h(n(28811)),t=h(n(98309)),o=h(n(44896)),f=h(n(33118)),V=h(n(10579)),k=h(n(56500)),S=h(n(17633));r.detectOverflow=S.default;var b=n(75573);function h(u){return u&&u.__esModule?u:{default:u}}var i={placement:"bottom",modifiers:[],strategy:"absolute"};function c(){for(var u=arguments.length,s=new Array(u),l=0;l0&&(0,a.round)(h.width)/k.offsetWidth||1,c=k.offsetHeight>0&&(0,a.round)(h.height)/k.offsetHeight||1);var m=(0,e.isElement)(k)?(0,t.default)(k):window,d=m.visualViewport,u=!(0,o.default)()&&b,s=(h.left+(u&&d?d.offsetLeft:0))/i,l=(h.top+(u&&d?d.offsetTop:0))/c,C=h.width/i,g=h.height/c;return{width:C,height:g,top:l,right:s+C,bottom:l+g,left:s,x:s,y:l}}},49035:function(w,r,n){"use strict";r.__esModule=!0,r.default=g;var e=n(46206),a=u(n(87991)),t=u(n(79752)),o=u(n(98309)),f=u(n(44896)),V=u(n(40600)),k=u(n(16599)),S=n(75573),b=u(n(37786)),h=u(n(57819)),i=u(n(4206)),c=u(n(12972)),m=u(n(81666)),d=n(63618);function u(v){return v&&v.__esModule?v:{default:v}}function s(v,p){var N=(0,b.default)(v,!1,p==="fixed");return N.top=N.top+v.clientTop,N.left=N.left+v.clientLeft,N.bottom=N.top+v.clientHeight,N.right=N.left+v.clientWidth,N.width=v.clientWidth,N.height=v.clientHeight,N.x=N.left,N.y=N.top,N}function l(v,p,N){return p===e.viewport?(0,m.default)((0,a.default)(v,N)):(0,S.isElement)(p)?s(p,N):(0,m.default)((0,t.default)((0,V.default)(v)))}function C(v){var p=(0,o.default)((0,h.default)(v)),N=["absolute","fixed"].indexOf((0,k.default)(v).position)>=0,y=N&&(0,S.isHTMLElement)(v)?(0,f.default)(v):v;return(0,S.isElement)(y)?p.filter(function(B){return(0,S.isElement)(B)&&(0,i.default)(B,y)&&(0,c.default)(B)!=="body"}):[]}function g(v,p,N,y){var B=p==="clippingParents"?C(v):[].concat(p),I=[].concat(B,[N]),L=I[0],T=I.reduce(function(A,x){var E=l(v,x,y);return A.top=(0,d.max)(E.top,A.top),A.right=(0,d.min)(E.right,A.right),A.bottom=(0,d.min)(E.bottom,A.bottom),A.left=(0,d.max)(E.left,A.left),A},l(v,L,y));return T.width=T.right-T.left,T.height=T.bottom-T.top,T.x=T.left,T.y=T.top,T}},74758:function(w,r,n){"use strict";r.__esModule=!0,r.default=i;var e=b(n(37786)),a=b(n(13390)),t=b(n(12972)),o=n(75573),f=b(n(79697)),V=b(n(40600)),k=b(n(10798)),S=n(63618);function b(c){return c&&c.__esModule?c:{default:c}}function h(c){var m=c.getBoundingClientRect(),d=(0,S.round)(m.width)/c.offsetWidth||1,u=(0,S.round)(m.height)/c.offsetHeight||1;return d!==1||u!==1}function i(c,m,d){d===void 0&&(d=!1);var u=(0,o.isHTMLElement)(m),s=(0,o.isHTMLElement)(m)&&h(m),l=(0,V.default)(m),C=(0,e.default)(c,s,d),g={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(u||!u&&!d)&&(((0,t.default)(m)!=="body"||(0,k.default)(l))&&(g=(0,a.default)(m)),(0,o.isHTMLElement)(m)?(v=(0,e.default)(m,!0),v.x+=m.clientLeft,v.y+=m.clientTop):l&&(v.x=(0,f.default)(l))),{x:C.left+g.scrollLeft-v.x,y:C.top+g.scrollTop-v.y,width:C.width,height:C.height}}},16599:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(95115));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return(0,e.default)(o).getComputedStyle(o)}},40600:function(w,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(75573);function a(t){return(((0,e.isElement)(t)?t.ownerDocument:t.document)||window.document).documentElement}},79752:function(w,r,n){"use strict";r.__esModule=!0,r.default=k;var e=V(n(40600)),a=V(n(16599)),t=V(n(79697)),o=V(n(43750)),f=n(63618);function V(S){return S&&S.__esModule?S:{default:S}}function k(S){var b,h=(0,e.default)(S),i=(0,o.default)(S),c=(b=S.ownerDocument)==null?void 0:b.body,m=(0,f.max)(h.scrollWidth,h.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),d=(0,f.max)(h.scrollHeight,h.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),u=-i.scrollLeft+(0,t.default)(S),s=-i.scrollTop;return(0,a.default)(c||h).direction==="rtl"&&(u+=(0,f.max)(h.clientWidth,c?c.clientWidth:0)-m),{width:m,height:d,x:u,y:s}}},3073:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},28811:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(37786));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),V=o.offsetWidth,k=o.offsetHeight;return Math.abs(f.width-V)<=1&&(V=f.width),Math.abs(f.height-k)<=1&&(k=f.height),{x:o.offsetLeft,y:o.offsetTop,width:V,height:k}}},12972:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e?(e.nodeName||"").toLowerCase():null}},13390:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(43750)),a=f(n(95115)),t=n(75573),o=f(n(3073));function f(k){return k&&k.__esModule?k:{default:k}}function V(k){return k===(0,a.default)(k)||!(0,t.isHTMLElement)(k)?(0,e.default)(k):(0,o.default)(k)}},44896:function(w,r,n){"use strict";r.__esModule=!0,r.default=i;var e=S(n(95115)),a=S(n(12972)),t=S(n(16599)),o=n(75573),f=S(n(87031)),V=S(n(57819)),k=S(n(35366));function S(c){return c&&c.__esModule?c:{default:c}}function b(c){return!(0,o.isHTMLElement)(c)||(0,t.default)(c).position==="fixed"?null:c.offsetParent}function h(c){var m=/firefox/i.test((0,k.default)()),d=/Trident/i.test((0,k.default)());if(d&&(0,o.isHTMLElement)(c)){var u=(0,t.default)(c);if(u.position==="fixed")return null}var s=(0,V.default)(c);for((0,o.isShadowRoot)(s)&&(s=s.host);(0,o.isHTMLElement)(s)&&["html","body"].indexOf((0,a.default)(s))<0;){var l=(0,t.default)(s);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||m&&l.willChange==="filter"||m&&l.filter&&l.filter!=="none")return s;s=s.parentNode}return null}function i(c){for(var m=(0,e.default)(c),d=b(c);d&&(0,f.default)(d)&&(0,t.default)(d).position==="static";)d=b(d);return d&&((0,a.default)(d)==="html"||(0,a.default)(d)==="body"&&(0,t.default)(d).position==="static")?m:d||h(c)||m}},57819:function(w,r,n){"use strict";r.__esModule=!0,r.default=f;var e=o(n(12972)),a=o(n(40600)),t=n(75573);function o(V){return V&&V.__esModule?V:{default:V}}function f(V){return(0,e.default)(V)==="html"?V:V.assignedSlot||V.parentNode||((0,t.isShadowRoot)(V)?V.host:null)||(0,a.default)(V)}},24426:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(57819)),a=f(n(10798)),t=f(n(12972)),o=n(75573);function f(k){return k&&k.__esModule?k:{default:k}}function V(k){return["html","body","#document"].indexOf((0,t.default)(k))>=0?k.ownerDocument.body:(0,o.isHTMLElement)(k)&&(0,a.default)(k)?k:V((0,e.default)(k))}},87991:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(95115)),a=f(n(40600)),t=f(n(79697)),o=f(n(89331));function f(k){return k&&k.__esModule?k:{default:k}}function V(k,S){var b=(0,e.default)(k),h=(0,a.default)(k),i=b.visualViewport,c=h.clientWidth,m=h.clientHeight,d=0,u=0;if(i){c=i.width,m=i.height;var s=(0,o.default)();(s||!s&&S==="fixed")&&(d=i.offsetLeft,u=i.offsetTop)}return{width:c,height:m,x:d+(0,t.default)(k),y:u}}},95115:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var a=e.ownerDocument;return a&&a.defaultView||window}return e}},43750:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(95115));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),V=f.pageXOffset,k=f.pageYOffset;return{scrollLeft:V,scrollTop:k}}},79697:function(w,r,n){"use strict";r.__esModule=!0,r.default=f;var e=o(n(37786)),a=o(n(40600)),t=o(n(43750));function o(V){return V&&V.__esModule?V:{default:V}}function f(V){return(0,e.default)((0,a.default)(V)).left+(0,t.default)(V).scrollLeft}},75573:function(w,r,n){"use strict";r.__esModule=!0,r.isElement=t,r.isHTMLElement=o,r.isShadowRoot=f;var e=a(n(95115));function a(V){return V&&V.__esModule?V:{default:V}}function t(V){var k=(0,e.default)(V).Element;return V instanceof k||V instanceof Element}function o(V){var k=(0,e.default)(V).HTMLElement;return V instanceof k||V instanceof HTMLElement}function f(V){if(typeof ShadowRoot=="undefined")return!1;var k=(0,e.default)(V).ShadowRoot;return V instanceof k||V instanceof ShadowRoot}},89331:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(35366));function a(o){return o&&o.__esModule?o:{default:o}}function t(){return!/^((?!chrome|android).)*safari/i.test((0,e.default)())}},10798:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(16599));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),V=f.overflow,k=f.overflowX,S=f.overflowY;return/auto|scroll|overlay|hidden/.test(V+S+k)}},87031:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(12972));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return["table","td","th"].indexOf((0,e.default)(o))>=0}},98309:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(24426)),a=f(n(57819)),t=f(n(95115)),o=f(n(10798));function f(k){return k&&k.__esModule?k:{default:k}}function V(k,S){var b;S===void 0&&(S=[]);var h=(0,e.default)(k),i=h===((b=k.ownerDocument)==null?void 0:b.body),c=(0,t.default)(h),m=i?[c].concat(c.visualViewport||[],(0,o.default)(h)?h:[]):h,d=S.concat(m);return i?d:d.concat(V((0,a.default)(m)))}},46206:function(w,r){"use strict";r.__esModule=!0,r.write=r.viewport=r.variationPlacements=r.top=r.start=r.right=r.reference=r.read=r.popper=r.placements=r.modifierPhases=r.main=r.left=r.end=r.clippingParents=r.bottom=r.beforeWrite=r.beforeRead=r.beforeMain=r.basePlacements=r.auto=r.afterWrite=r.afterRead=r.afterMain=void 0;var n=r.top="top",e=r.bottom="bottom",a=r.right="right",t=r.left="left",o=r.auto="auto",f=r.basePlacements=[n,e,a,t],V=r.start="start",k=r.end="end",S=r.clippingParents="clippingParents",b=r.viewport="viewport",h=r.popper="popper",i=r.reference="reference",c=r.variationPlacements=f.reduce(function(B,I){return B.concat([I+"-"+V,I+"-"+k])},[]),m=r.placements=[].concat(f,[o]).reduce(function(B,I){return B.concat([I,I+"-"+V,I+"-"+k])},[]),d=r.beforeRead="beforeRead",u=r.read="read",s=r.afterRead="afterRead",l=r.beforeMain="beforeMain",C=r.main="main",g=r.afterMain="afterMain",v=r.beforeWrite="beforeWrite",p=r.write="write",N=r.afterWrite="afterWrite",y=r.modifierPhases=[d,u,s,l,C,g,v,p,N]},95996:function(w,r,n){"use strict";r.__esModule=!0;var e={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};r.popperGenerator=r.detectOverflow=r.createPopperLite=r.createPopperBase=r.createPopper=void 0;var a=n(46206);Object.keys(a).forEach(function(k){k==="default"||k==="__esModule"||Object.prototype.hasOwnProperty.call(e,k)||k in r&&r[k]===a[k]||(r[k]=a[k])});var t=n(39805);Object.keys(t).forEach(function(k){k==="default"||k==="__esModule"||Object.prototype.hasOwnProperty.call(e,k)||k in r&&r[k]===t[k]||(r[k]=t[k])});var o=n(96376);r.popperGenerator=o.popperGenerator,r.detectOverflow=o.detectOverflow,r.createPopperBase=o.createPopper;var f=n(83312);r.createPopper=f.createPopper;var V=n(2473);r.createPopperLite=V.createPopper},19975:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=t(n(12972)),a=n(75573);function t(k){return k&&k.__esModule?k:{default:k}}function o(k){var S=k.state;Object.keys(S.elements).forEach(function(b){var h=S.styles[b]||{},i=S.attributes[b]||{},c=S.elements[b];!(0,a.isHTMLElement)(c)||!(0,e.default)(c)||(Object.assign(c.style,h),Object.keys(i).forEach(function(m){var d=i[m];d===!1?c.removeAttribute(m):c.setAttribute(m,d===!0?"":d)}))})}function f(k){var S=k.state,b={popper:{position:S.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(S.elements.popper.style,b.popper),S.styles=b,S.elements.arrow&&Object.assign(S.elements.arrow.style,b.arrow),function(){Object.keys(S.elements).forEach(function(h){var i=S.elements[h],c=S.attributes[h]||{},m=Object.keys(S.styles.hasOwnProperty(h)?S.styles[h]:b[h]),d=m.reduce(function(u,s){return u[s]="",u},{});!(0,a.isHTMLElement)(i)||!(0,e.default)(i)||(Object.assign(i.style,d),Object.keys(c).forEach(function(u){i.removeAttribute(u)}))})}}var V=r.default={name:"applyStyles",enabled:!0,phase:"write",fn:o,effect:f,requires:["computeStyles"]}},52744:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=h(n(83104)),a=h(n(28811)),t=h(n(4206)),o=h(n(44896)),f=h(n(41199)),V=n(28595),k=h(n(43286)),S=h(n(81447)),b=n(46206);function h(u){return u&&u.__esModule?u:{default:u}}var i=function(){function u(s,l){return s=typeof s=="function"?s(Object.assign({},l.rects,{placement:l.placement})):s,(0,k.default)(typeof s!="number"?s:(0,S.default)(s,b.basePlacements))}return u}();function c(u){var s,l=u.state,C=u.name,g=u.options,v=l.elements.arrow,p=l.modifiersData.popperOffsets,N=(0,e.default)(l.placement),y=(0,f.default)(N),B=[b.left,b.right].indexOf(N)>=0,I=B?"height":"width";if(!(!v||!p)){var L=i(g.padding,l),T=(0,a.default)(v),A=y==="y"?b.top:b.left,x=y==="y"?b.bottom:b.right,E=l.rects.reference[I]+l.rects.reference[y]-p[y]-l.rects.popper[I],M=p[y]-l.rects.reference[y],j=(0,o.default)(v),O=j?y==="y"?j.clientHeight||0:j.clientWidth||0:0,R=E/2-M/2,D=L[A],W=O-T[I]-L[x],U=O/2-T[I]/2+R,H=(0,V.within)(D,U,W),K=y;l.modifiersData[C]=(s={},s[K]=H,s.centerOffset=H-U,s)}}function m(u){var s=u.state,l=u.options,C=l.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 d=r.default={name:"arrow",enabled:!0,phase:"main",fn:c,effect:m,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},59894:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.mapToStyles=c;var e=n(46206),a=b(n(44896)),t=b(n(95115)),o=b(n(40600)),f=b(n(16599)),V=b(n(83104)),k=b(n(45)),S=n(63618);function b(u){return u&&u.__esModule?u:{default:u}}var h={top:"auto",right:"auto",bottom:"auto",left:"auto"};function i(u,s){var l=u.x,C=u.y,g=s.devicePixelRatio||1;return{x:(0,S.round)(l*g)/g||0,y:(0,S.round)(C*g)/g||0}}function c(u){var s,l=u.popper,C=u.popperRect,g=u.placement,v=u.variation,p=u.offsets,N=u.position,y=u.gpuAcceleration,B=u.adaptive,I=u.roundOffsets,L=u.isFixed,T=p.x,A=T===void 0?0:T,x=p.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=p.hasOwnProperty("x"),O=p.hasOwnProperty("y"),R=e.left,D=e.top,W=window;if(B){var U=(0,a.default)(l),H="clientHeight",K="clientWidth";if(U===(0,t.default)(l)&&(U=(0,o.default)(l),(0,f.default)(U).position!=="static"&&N==="absolute"&&(H="scrollHeight",K="scrollWidth")),U=U,g===e.top||(g===e.left||g===e.right)&&v===e.end){D=e.bottom;var G=L&&U===W&&W.visualViewport?W.visualViewport.height:U[H];E-=G-C.height,E*=y?1:-1}if(g===e.left||(g===e.top||g===e.bottom)&&v===e.end){R=e.right;var Y=L&&U===W&&W.visualViewport?W.visualViewport.width:U[K];A-=Y-C.width,A*=y?1:-1}}var J=Object.assign({position:N},B&&h),Z=I===!0?i({x:A,y:E},(0,t.default)(l)):{x:A,y:E};if(A=Z.x,E=Z.y,y){var le;return Object.assign({},J,(le={},le[D]=O?"0":"",le[R]=j?"0":"",le.transform=(W.devicePixelRatio||1)<=1?"translate("+A+"px, "+E+"px)":"translate3d("+A+"px, "+E+"px, 0)",le))}return Object.assign({},J,(s={},s[D]=O?E+"px":"",s[R]=j?A+"px":"",s.transform="",s))}function m(u){var s=u.state,l=u.options,C=l.gpuAcceleration,g=C===void 0?!0:C,v=l.adaptive,p=v===void 0?!0:v,N=l.roundOffsets,y=N===void 0?!0:N,B={placement:(0,V.default)(s.placement),variation:(0,k.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:p,roundOffsets:y})))),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:y})))),s.attributes.popper=Object.assign({},s.attributes.popper,{"data-popper-placement":s.placement})}var d=r.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:m,data:{}}},36692:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(95115));function a(V){return V&&V.__esModule?V:{default:V}}var t={passive:!0};function o(V){var k=V.state,S=V.instance,b=V.options,h=b.scroll,i=h===void 0?!0:h,c=b.resize,m=c===void 0?!0:c,d=(0,e.default)(k.elements.popper),u=[].concat(k.scrollParents.reference,k.scrollParents.popper);return i&&u.forEach(function(s){s.addEventListener("scroll",S.update,t)}),m&&d.addEventListener("resize",S.update,t),function(){i&&u.forEach(function(s){s.removeEventListener("scroll",S.update,t)}),m&&d.removeEventListener("resize",S.update,t)}}var f=r.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function V(){}return V}(),effect:o,data:{}}},23798:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=S(n(71376)),a=S(n(83104)),t=S(n(86459)),o=S(n(17633)),f=S(n(9041)),V=n(46206),k=S(n(45));function S(c){return c&&c.__esModule?c:{default:c}}function b(c){if((0,a.default)(c)===V.auto)return[];var m=(0,e.default)(c);return[(0,t.default)(c),m,(0,t.default)(m)]}function h(c){var m=c.state,d=c.options,u=c.name;if(!m.modifiersData[u]._skip){for(var s=d.mainAxis,l=s===void 0?!0:s,C=d.altAxis,g=C===void 0?!0:C,v=d.fallbackPlacements,p=d.padding,N=d.boundary,y=d.rootBoundary,B=d.altBoundary,I=d.flipVariations,L=I===void 0?!0:I,T=d.allowedAutoPlacements,A=m.options.placement,x=(0,a.default)(A),E=x===A,M=v||(E||!L?[(0,e.default)(A)]:b(A)),j=[A].concat(M).reduce(function(fe,ie){return fe.concat((0,a.default)(ie)===V.auto?(0,f.default)(m,{placement:ie,boundary:N,rootBoundary:y,padding:p,flipVariations:L,allowedAutoPlacements:T}):ie)},[]),O=m.rects.reference,R=m.rects.popper,D=new Map,W=!0,U=j[0],H=0;H=0,Z=J?"width":"height",le=(0,o.default)(m,{placement:K,boundary:N,rootBoundary:y,altBoundary:B,padding:p}),ne=J?Y?V.right:V.left:Y?V.bottom:V.top;O[Z]>R[Z]&&(ne=(0,e.default)(ne));var me=(0,e.default)(ne),he=[];if(l&&he.push(le[G]<=0),g&&he.push(le[ne]<=0,le[me]<=0),he.every(function(fe){return fe})){U=K,W=!1;break}D.set(K,he)}if(W)for(var ye=L?3:1,te=function(){function fe(ie){var ue=j.find(function(re){var Se=D.get(re);if(Se)return Se.slice(0,ie).every(function(Ie){return Ie})});if(ue)return U=ue,"break"}return fe}(),Q=ye;Q>0;Q--){var oe=te(Q);if(oe==="break")break}m.placement!==U&&(m.modifiersData[u]._skip=!0,m.placement=U,m.reset=!0)}}var i=r.default={name:"flip",enabled:!0,phase:"main",fn:h,requiresIfExists:["offset"],data:{_skip:!1}}},83761:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(46206),a=t(n(17633));function t(S){return S&&S.__esModule?S:{default:S}}function o(S,b,h){return h===void 0&&(h={x:0,y:0}),{top:S.top-b.height-h.y,right:S.right-b.width+h.x,bottom:S.bottom-b.height+h.y,left:S.left-b.width-h.x}}function f(S){return[e.top,e.right,e.bottom,e.left].some(function(b){return S[b]>=0})}function V(S){var b=S.state,h=S.name,i=b.rects.reference,c=b.rects.popper,m=b.modifiersData.preventOverflow,d=(0,a.default)(b,{elementContext:"reference"}),u=(0,a.default)(b,{altBoundary:!0}),s=o(d,i),l=o(u,c,m),C=f(s),g=f(l);b.modifiersData[h]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:C,hasPopperEscaped:g},b.attributes.popper=Object.assign({},b.attributes.popper,{"data-popper-reference-hidden":C,"data-popper-escaped":g})}var k=r.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:V}},39805:function(w,r,n){"use strict";r.__esModule=!0,r.preventOverflow=r.popperOffsets=r.offset=r.hide=r.flip=r.eventListeners=r.computeStyles=r.arrow=r.applyStyles=void 0;var e=h(n(19975));r.applyStyles=e.default;var a=h(n(52744));r.arrow=a.default;var t=h(n(59894));r.computeStyles=t.default;var o=h(n(36692));r.eventListeners=o.default;var f=h(n(23798));r.flip=f.default;var V=h(n(83761));r.hide=V.default;var k=h(n(61410));r.offset=k.default;var S=h(n(40107));r.popperOffsets=S.default;var b=h(n(75137));r.preventOverflow=b.default;function h(i){return i&&i.__esModule?i:{default:i}}},61410:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.distanceAndSkiddingToXY=o;var e=t(n(83104)),a=n(46206);function t(k){return k&&k.__esModule?k:{default:k}}function o(k,S,b){var h=(0,e.default)(k),i=[a.left,a.top].indexOf(h)>=0?-1:1,c=typeof b=="function"?b(Object.assign({},S,{placement:k})):b,m=c[0],d=c[1];return m=m||0,d=(d||0)*i,[a.left,a.right].indexOf(h)>=0?{x:d,y:m}:{x:m,y:d}}function f(k){var S=k.state,b=k.options,h=k.name,i=b.offset,c=i===void 0?[0,0]:i,m=a.placements.reduce(function(l,C){return l[C]=o(C,S.rects,c),l},{}),d=m[S.placement],u=d.x,s=d.y;S.modifiersData.popperOffsets!=null&&(S.modifiersData.popperOffsets.x+=u,S.modifiersData.popperOffsets.y+=s),S.modifiersData[h]=m}var V=r.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:f}},40107:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(89951));function a(f){return f&&f.__esModule?f:{default:f}}function t(f){var V=f.state,k=f.name;V.modifiersData[k]=(0,e.default)({reference:V.rects.reference,element:V.rects.popper,strategy:"absolute",placement:V.placement})}var o=r.default={name:"popperOffsets",enabled:!0,phase:"read",fn:t,data:{}}},75137:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(46206),a=c(n(83104)),t=c(n(41199)),o=c(n(28066)),f=n(28595),V=c(n(28811)),k=c(n(44896)),S=c(n(17633)),b=c(n(45)),h=c(n(34780)),i=n(63618);function c(u){return u&&u.__esModule?u:{default:u}}function m(u){var s=u.state,l=u.options,C=u.name,g=l.mainAxis,v=g===void 0?!0:g,p=l.altAxis,N=p===void 0?!1:p,y=l.boundary,B=l.rootBoundary,I=l.altBoundary,L=l.padding,T=l.tether,A=T===void 0?!0:T,x=l.tetherOffset,E=x===void 0?0:x,M=(0,S.default)(s,{boundary:y,rootBoundary:B,padding:L,altBoundary:I}),j=(0,a.default)(s.placement),O=(0,b.default)(s.placement),R=!O,D=(0,t.default)(j),W=(0,o.default)(D),U=s.modifiersData.popperOffsets,H=s.rects.reference,K=s.rects.popper,G=typeof E=="function"?E(Object.assign({},s.rects,{placement:s.placement})):E,Y=typeof G=="number"?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),J=s.modifiersData.offset?s.modifiersData.offset[s.placement]:null,Z={x:0,y:0};if(U){if(v){var le,ne=D==="y"?e.top:e.left,me=D==="y"?e.bottom:e.right,he=D==="y"?"height":"width",ye=U[D],te=ye+M[ne],Q=ye-M[me],oe=A?-K[he]/2:0,fe=O===e.start?H[he]:K[he],ie=O===e.start?-K[he]:-H[he],ue=s.elements.arrow,re=A&&ue?(0,V.default)(ue):{width:0,height:0},Se=s.modifiersData["arrow#persistent"]?s.modifiersData["arrow#persistent"].padding:(0,h.default)(),Ie=Se[ne],Ce=Se[me],ge=(0,f.within)(0,H[he],re[he]),ke=R?H[he]/2-oe-ge-Ie-Y.mainAxis:fe-ge-Ie-Y.mainAxis,Ve=R?-H[he]/2+oe+ge+Ce+Y.mainAxis:ie+ge+Ce+Y.mainAxis,Le=s.elements.arrow&&(0,k.default)(s.elements.arrow),we=Le?D==="y"?Le.clientTop||0:Le.clientLeft||0:0,xe=(le=J==null?void 0:J[D])!=null?le:0,Re=ye+ke-xe-we,He=ye+Ve-xe,Ne=(0,f.within)(A?(0,i.min)(te,Re):te,ye,A?(0,i.max)(Q,He):Q);U[D]=Ne,Z[D]=Ne-ye}if(N){var ae,de=D==="x"?e.top:e.left,ve=D==="x"?e.bottom:e.right,se=U[W],be=W==="y"?"height":"width",Pe=se+M[de],je=se-M[ve],Fe=[e.top,e.left].indexOf(j)!==-1,ze=(ae=J==null?void 0:J[W])!=null?ae:0,Ue=Fe?Pe:se-H[be]-K[be]-ze+Y.altAxis,_e=Fe?se+H[be]+K[be]-ze-Y.altAxis:je,Xe=A&&Fe?(0,f.withinMaxClamp)(Ue,se,_e):(0,f.within)(A?Ue:Pe,se,A?_e:je);U[W]=Xe,Z[W]=Xe-se}s.modifiersData[C]=Z}}var d=r.default={name:"preventOverflow",enabled:!0,phase:"main",fn:m,requiresIfExists:["offset"]}},2473:function(w,r,n){"use strict";r.__esModule=!0,r.defaultModifiers=r.createPopper=void 0;var e=n(96376);r.popperGenerator=e.popperGenerator,r.detectOverflow=e.detectOverflow;var a=V(n(36692)),t=V(n(40107)),o=V(n(59894)),f=V(n(19975));function V(b){return b&&b.__esModule?b:{default:b}}var k=r.defaultModifiers=[a.default,t.default,o.default,f.default],S=r.createPopper=(0,e.popperGenerator)({defaultModifiers:k})},83312:function(w,r,n){"use strict";r.__esModule=!0;var e={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};r.defaultModifiers=r.createPopperLite=r.createPopper=void 0;var a=n(96376);r.popperGenerator=a.popperGenerator,r.detectOverflow=a.detectOverflow;var t=d(n(36692)),o=d(n(40107)),f=d(n(59894)),V=d(n(19975)),k=d(n(61410)),S=d(n(23798)),b=d(n(75137)),h=d(n(52744)),i=d(n(83761)),c=n(2473);r.createPopperLite=c.createPopper;var m=n(39805);Object.keys(m).forEach(function(l){l==="default"||l==="__esModule"||Object.prototype.hasOwnProperty.call(e,l)||l in r&&r[l]===m[l]||(r[l]=m[l])});function d(l){return l&&l.__esModule?l:{default:l}}var u=r.defaultModifiers=[t.default,o.default,f.default,V.default,k.default,S.default,b.default,h.default,i.default],s=r.createPopperLite=r.createPopper=(0,a.popperGenerator)({defaultModifiers:u})},9041:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(45)),a=n(46206),t=f(n(17633)),o=f(n(83104));function f(k){return k&&k.__esModule?k:{default:k}}function V(k,S){S===void 0&&(S={});var b=S,h=b.placement,i=b.boundary,c=b.rootBoundary,m=b.padding,d=b.flipVariations,u=b.allowedAutoPlacements,s=u===void 0?a.placements:u,l=(0,e.default)(h),C=l?d?a.variationPlacements:a.variationPlacements.filter(function(p){return(0,e.default)(p)===l}):a.basePlacements,g=C.filter(function(p){return s.indexOf(p)>=0});g.length===0&&(g=C);var v=g.reduce(function(p,N){return p[N]=(0,t.default)(k,{placement:N,boundary:i,rootBoundary:c,padding:m})[(0,o.default)(N)],p},{});return Object.keys(v).sort(function(p,N){return v[p]-v[N]})}},89951:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(83104)),a=f(n(45)),t=f(n(41199)),o=n(46206);function f(k){return k&&k.__esModule?k:{default:k}}function V(k){var S=k.reference,b=k.element,h=k.placement,i=h?(0,e.default)(h):null,c=h?(0,a.default)(h):null,m=S.x+S.width/2-b.width/2,d=S.y+S.height/2-b.height/2,u;switch(i){case o.top:u={x:m,y:S.y-b.height};break;case o.bottom:u={x:m,y:S.y+S.height};break;case o.right:u={x:S.x+S.width,y:d};break;case o.left:u={x:S.x-b.width,y:d};break;default:u={x:S.x,y:S.y}}var s=i?(0,t.default)(i):null;if(s!=null){var l=s==="y"?"height":"width";switch(c){case o.start:u[s]=u[s]-(S[l]/2-b[l]/2);break;case o.end:u[s]=u[s]+(S[l]/2-b[l]/2);break;default:}}return u}},10579:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a;return function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(e())})})),a}}},17633:function(w,r,n){"use strict";r.__esModule=!0,r.default=i;var e=h(n(49035)),a=h(n(40600)),t=h(n(37786)),o=h(n(89951)),f=h(n(81666)),V=n(46206),k=n(75573),S=h(n(43286)),b=h(n(81447));function h(c){return c&&c.__esModule?c:{default:c}}function i(c,m){m===void 0&&(m={});var d=m,u=d.placement,s=u===void 0?c.placement:u,l=d.strategy,C=l===void 0?c.strategy:l,g=d.boundary,v=g===void 0?V.clippingParents:g,p=d.rootBoundary,N=p===void 0?V.viewport:p,y=d.elementContext,B=y===void 0?V.popper:y,I=d.altBoundary,L=I===void 0?!1:I,T=d.padding,A=T===void 0?0:T,x=(0,S.default)(typeof A!="number"?A:(0,b.default)(A,V.basePlacements)),E=B===V.popper?V.reference:V.popper,M=c.rects.popper,j=c.elements[L?E:B],O=(0,e.default)((0,k.isElement)(j)?j:j.contextElement||(0,a.default)(c.elements.popper),v,N,C),R=(0,t.default)(c.elements.reference),D=(0,o.default)({reference:R,element:M,strategy:"absolute",placement:s}),W=(0,f.default)(Object.assign({},M,D)),U=B===V.popper?W:R,H={top:O.top-U.top+x.top,bottom:U.bottom-O.bottom+x.bottom,left:O.left-U.left+x.left,right:U.right-O.right+x.right},K=c.modifiersData.offset;if(B===V.popper&&K){var G=K[s];Object.keys(H).forEach(function(Y){var J=[V.right,V.bottom].indexOf(Y)>=0?1:-1,Z=[V.top,V.bottom].indexOf(Y)>=0?"y":"x";H[Y]+=G[Z]*J})}return H}},81447:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e,a){return a.reduce(function(t,o){return t[o]=e,t},{})}},28066:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e==="x"?"y":"x"}},83104:function(w,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(46206);function a(t){return t.split("-")[0]}},34780:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(){return{top:0,right:0,bottom:0,left:0}}},41199:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},71376:function(w,r){"use strict";r.__esModule=!0,r.default=e;var n={left:"right",right:"left",bottom:"top",top:"bottom"};function e(a){return a.replace(/left|right|bottom|top/g,function(t){return n[t]})}},86459:function(w,r){"use strict";r.__esModule=!0,r.default=e;var n={start:"end",end:"start"};function e(a){return a.replace(/start|end/g,function(t){return n[t]})}},45:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e.split("-")[1]}},63618:function(w,r){"use strict";r.__esModule=!0,r.round=r.min=r.max=void 0;var n=r.max=Math.max,e=r.min=Math.min,a=r.round=Math.round},56500:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a=e.reduce(function(t,o){var f=t[o.name];return t[o.name]=f?Object.assign({},f,o,{options:Object.assign({},f.options,o.options),data:Object.assign({},f.data,o.data)}):o,t},{});return Object.keys(a).map(function(t){return a[t]})}},43286:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(34780));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return Object.assign({},(0,e.default)(),o)}},33118:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=n(46206);function a(o){var f=new Map,V=new Set,k=[];o.forEach(function(b){f.set(b.name,b)});function S(b){V.add(b.name);var h=[].concat(b.requires||[],b.requiresIfExists||[]);h.forEach(function(i){if(!V.has(i)){var c=f.get(i);c&&S(c)}}),k.push(b)}return o.forEach(function(b){V.has(b.name)||S(b)}),k}function t(o){var f=a(o);return e.modifierPhases.reduce(function(V,k){return V.concat(f.filter(function(S){return S.phase===k}))},[])}},81666:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},35366:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}},28595:function(w,r,n){"use strict";r.__esModule=!0,r.within=a,r.withinMaxClamp=t;var e=n(63618);function a(o,f,V){return(0,e.max)(o,(0,e.min)(f,V))}function t(o,f,V){var k=a(o,f,V);return k>V?V:k}},15875:function(w,r){"use strict";r.__esModule=!0,r.VNodeFlags=r.ChildFlags=void 0;var n;(function(a){a[a.Unknown=0]="Unknown",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.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=1521]="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={}))},89292:function(w,r){"use strict";r.__esModule=!0,r.Fragment=r.EMPTY_OBJ=r.Component=r.AnimationQueues=void 0,r._CI=Ot,r._HI=re,r._M=Ke,r._MCCC=Ft,r._ME=Dt,r._MFCC=Wt,r._MP=Mt,r._MR=at,r._RFC=gt,r.__render=Ht,r.createComponentVNode=le,r.createFragment=me,r.createPortal=oe,r.createRef=nn,r.createRenderer=En,r.createTextVNode=ne,r.createVNode=G,r.directClone=te,r.findDOMFromVNode=y,r.forwardRef=on,r.getFlagsForElementVnode=ie,r.linkEvent=h,r.normalizeProps=he,r.options=void 0,r.render=zt,r.rerender=Gt,r.version=void 0;var n=Array.isArray;function e(P){var F=typeof P;return F==="string"||F==="number"}function a(P){return P==null}function t(P){return P===null||P===!1||P===!0||P===void 0}function o(P){return typeof P=="function"}function f(P){return typeof P=="string"}function V(P){return typeof P=="number"}function k(P){return P===null}function S(P){return P===void 0}function b(P,F){var _={};if(P)for(var z in P)_[z]=P[z];if(F)for(var X in F)_[X]=F[X];return _}function h(P,F){return o(F)?{data:P,event:F}:null}function i(P){return!k(P)&&typeof P=="object"}var c=r.EMPTY_OBJ={},m=r.Fragment="$F",d=r.AnimationQueues=function(){function P(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]}return P}();function u(P){return P.substring(2).toLowerCase()}function s(P,F){P.appendChild(F)}function l(P,F,_){k(_)?s(P,F):P.insertBefore(F,_)}function C(P,F){return F?document.createElementNS("http://www.w3.org/2000/svg",P):document.createElement(P)}function g(P,F,_){P.replaceChild(F,_)}function v(P,F){P.removeChild(F)}function p(P){for(var F=0;F0?B(_.componentWillDisappear,T(P,F)):L(P,F,!1)}function x(P,F,_,z,X,q,ee,ce){P.componentWillMove.push({dom:z,fn:function(){function pe(){ee&4?_.componentWillMove(F,X,z):ee&8&&_.onComponentWillMove(F,X,z,ce)}return pe}(),next:q,parent:X})}function E(P,F,_,z,X){var q,ee,ce=F.flags;do{var pe=F.flags;if(pe&1521){!a(q)&&(o(q.componentWillMove)||o(q.onComponentWillMove))?x(X,P,q,F.dom,_,z,ce,ee):l(_,F.dom,z);return}var Te=F.children;if(pe&4)q=F.children,ee=F.props,F=Te.$LI;else if(pe&8)q=F.ref,ee=F.props,F=Te;else if(pe&8192)if(F.childFlags===2)F=Te;else{for(var Be=0,Ee=Te.length;Be0,Te=k(ce),Be=f(ce)&&ce[0]===H;pe||Te||Be?(_=_||F.slice(0,q),(pe||Be)&&(ee=te(ee)),(Te||Be)&&(ee.key=H+q),_.push(ee)):_&&_.push(ee),ee.flags|=65536}}_=_||F,_.length===0?z=1:z=8}else _=F,_.flags|=65536,F.flags&81920&&(_=te(F)),z=2;return P.children=_,P.childFlags=z,P}function re(P){return t(P)||e(P)?ne(P,null):n(P)?me(P,0,null):P.flags&16384?te(P):P}var Se="http://www.w3.org/1999/xlink",Ie="http://www.w3.org/XML/1998/namespace",Ce={"xlink:actuate":Se,"xlink:arcrole":Se,"xlink:href":Se,"xlink:role":Se,"xlink:show":Se,"xlink:title":Se,"xlink:type":Se,"xml:base":Ie,"xml:lang":Ie,"xml:space":Ie};function ge(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 ke=ge(0),Ve=ge(null),Le=ge(!0);function we(P,F){var _=F.$EV;return _||(_=F.$EV=ge(null)),_[P]||++ke[P]===1&&(Ve[P]=je(P)),_}function xe(P,F){var _=F.$EV;_&&_[P]&&(--ke[P]===0&&(document.removeEventListener(u(P),Ve[P]),Ve[P]=null),_[P]=null)}function Re(P,F,_,z){if(o(_))we(P,z)[P]=_;else if(i(_)){if(D(F,_))return;we(P,z)[P]=_}else xe(P,z)}function He(P){return o(P.composedPath)?P.composedPath()[0]:P.target}function Ne(P,F,_,z){var X=He(P);do{if(F&&X.disabled)return;var q=X.$EV;if(q){var ee=q[_];if(ee&&(z.dom=X,ee.event?ee.event(ee.data,P):ee(P),P.cancelBubble))return}X=X.parentNode}while(!k(X))}function ae(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function de(){return this.defaultPrevented}function ve(){return this.cancelBubble}function se(P){var F={dom:document};return P.isDefaultPrevented=de,P.isPropagationStopped=ve,P.stopPropagation=ae,Object.defineProperty(P,"currentTarget",{configurable:!0,get:function(){function _(){return F.dom}return _}()}),F}function be(P){return function(F){if(F.button!==0){F.stopPropagation();return}Ne(F,!0,P,se(F))}}function Pe(P){return function(F){Ne(F,!1,P,se(F))}}function je(P){var F=P==="onClick"||P==="onDblClick"?be(P):Pe(P);return document.addEventListener(u(P),F),F}function Fe(P,F){var _=document.createElement("i");return _.innerHTML=F,_.innerHTML===P.innerHTML}function ze(P,F,_){if(P[F]){var z=P[F];z.event?z.event(z.data,_):z(_)}else{var X=F.toLowerCase();P[X]&&P[X](_)}}function Ue(P,F){var _=function(){function z(X){var q=this.$V;if(q){var ee=q.props||c,ce=q.dom;if(f(P))ze(ee,P,X);else for(var pe=0;pe-1&&F.options[q]&&(ce=F.options[q].value),_&&a(ce)&&(ce=P.defaultValue),rt(z,ce)}}var Zt=Ue("onInput",Tt),qt=Ue("onChange");function en(P,F){_e(P,"input",Zt),F.onChange&&_e(P,"change",qt)}function Tt(P,F,_){var z=P.value,X=F.value;if(a(z)){if(_){var q=P.defaultValue;!a(q)&&q!==X&&(F.defaultValue=q,F.value=q)}}else X!==z&&(F.defaultValue=z,F.value=z)}function xt(P,F,_,z,X,q){P&64?ut(z,_):P&256?wt(z,_,X,F):P&128&&Tt(z,_,X),q&&(_.$V=F)}function tn(P,F,_){P&64?Bt(F,_):P&256?Qt(F):P&128&&en(F,_)}function At(P){return P.type&&Xe(P.type)?!a(P.checked):!a(P.value)}function nn(){return{current:null}}function on(P){var F={render:P};return F}function st(P){P&&!U(P,null)&&P.current&&(P.current=null)}function at(P,F,_){P&&(o(P)||P.current!==void 0)&&_.push(function(){!U(P,F)&&P.current!==void 0&&(P.current=F)})}function Je(P,F,_){Ze(P,_),A(P,F,_)}function Ze(P,F){var _=P.flags,z=P.children,X;if(_&481){X=P.ref;var q=P.props;st(X);var ee=P.childFlags;if(!k(q))for(var ce=Object.keys(q),pe=0,Te=ce.length;pe0?B(_.componentWillDisappear,rn(F,P)):P.textContent=""}function ft(P,F,_,z){ct(_,z),F.flags&8192?A(F,P,z):mt(P,_,z)}function Et(P,F,_,z,X){P.componentWillDisappear.push(function(q){z&4?F.componentWillDisappear(_,q):z&8&&F.onComponentWillDisappear(_,X,q)})}function an(P){var F=P.event;return function(_){F(P.data,_)}}function cn(P,F,_,z){if(i(_)){if(D(F,_))return;_=an(_)}_e(z,u(P),_)}function ln(P,F,_){if(a(F)){_.removeAttribute("style");return}var z=_.style,X,q;if(f(F)){z.cssText=F;return}if(!a(P)&&!f(P)){for(X in F)q=F[X],q!==P[X]&&z.setProperty(X,q);for(X in P)a(F[X])&&z.removeProperty(X)}else for(X in F)q=F[X],z.setProperty(X,q)}function dn(P,F,_,z,X){var q=P&&P.__html||"",ee=F&&F.__html||"";q!==ee&&!a(ee)&&!Fe(z,ee)&&(k(_)||(_.childFlags&12?ct(_.children,X):_.childFlags===2&&Ze(_.children,X),_.children=null,_.childFlags=1),z.innerHTML=ee)}function vt(P,F,_,z,X,q,ee,ce){switch(P){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":z.autofocus=!!_;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":z[P]=!!_;break;case"defaultChecked":case"value":case"volume":if(q&&P==="value")break;var pe=a(_)?"":_;z[P]!==pe&&(z[P]=pe);break;case"style":ln(F,_,z);break;case"dangerouslySetInnerHTML":dn(F,_,ee,z,ce);break;default:Le[P]?Re(P,F,_,z):P.charCodeAt(0)===111&&P.charCodeAt(1)===110?cn(P,F,_,z):a(_)?z.removeAttribute(P):X&&Ce[P]?z.setAttributeNS(Ce[P],P,_):z.setAttribute(P,_);break}}function Mt(P,F,_,z,X,q){var ee=!1,ce=(F&448)>0;ce&&(ee=At(_),ee&&tn(F,z,_));for(var pe in _)vt(pe,null,_[pe],z,X,ee,null,q);ce&&xt(F,P,z,_,!0,ee)}function Pt(P,F,_){var z=re(P.render(F,P.state,_)),X=_;return o(P.getChildContext)&&(X=b(_,P.getChildContext())),P.$CX=X,z}function Ot(P,F,_,z,X,q){var ee=new F(_,z),ce=ee.$N=!!(F.getDerivedStateFromProps||ee.getSnapshotBeforeUpdate);if(ee.$SVG=X,ee.$L=q,P.children=ee,ee.$BS=!1,ee.context=z,ee.props===c&&(ee.props=_),ce)ee.state=M(ee,_,ee.state);else if(o(ee.componentWillMount)){ee.$BR=!0,ee.componentWillMount();var pe=ee.$PS;if(!k(pe)){var Te=ee.state;if(k(Te))ee.state=pe;else for(var Be in pe)Te[Be]=pe[Be];ee.$PS=null}ee.$BR=!1}return ee.$LI=Pt(ee,_,z),ee}function gt(P,F){var _=P.props||c;return P.flags&32768?P.type.render(_,P.ref,F):P.type(_,F)}function Ke(P,F,_,z,X,q,ee){var ce=P.flags|=16384;ce&481?Dt(P,F,_,z,X,q,ee):ce&4?mn(P,F,_,z,X,q,ee):ce&8?fn(P,F,_,z,X,q,ee):ce&16?Rt(P,F,X):ce&8192?sn(P,_,F,z,X,q,ee):ce&1024&&un(P,_,F,X,q,ee)}function un(P,F,_,z,X,q){Ke(P.children,P.ref,F,!1,null,X,q);var ee=Q();Rt(ee,_,z),P.dom=ee.dom}function sn(P,F,_,z,X,q,ee){var ce=P.children,pe=P.childFlags;pe&12&&ce.length===0&&(pe=P.childFlags=2,ce=P.children=Q()),pe===2?Ke(ce,_,F,z,X,q,ee):ot(ce,_,F,z,X,q,ee)}function Rt(P,F,_){var z=P.dom=document.createTextNode(P.children);k(F)||l(F,z,_)}function Dt(P,F,_,z,X,q,ee){var ce=P.flags,pe=P.props,Te=P.className,Be=P.childFlags,Ee=P.dom=C(P.type,z=z||(ce&32)>0),Ae=P.children;if(!a(Te)&&Te!==""&&(z?Ee.setAttribute("class",Te):Ee.className=Te),Be===16)R(Ee,Ae);else if(Be!==1){var Me=z&&P.type!=="foreignObject";Be===2?(Ae.flags&16384&&(P.children=Ae=te(Ae)),Ke(Ae,Ee,_,Me,null,q,ee)):(Be===8||Be===4)&&ot(Ae,Ee,_,Me,null,q,ee)}k(F)||l(F,Ee,X),k(pe)||Mt(P,ce,pe,Ee,z,ee),at(P.ref,Ee,q)}function ot(P,F,_,z,X,q,ee){for(var ce=0;ceMe)&&(Ee=y(ce[Me-1],!1).nextSibling)}Nt(Te,Be,ce,pe,_,z,X,Ee,P,q,ee)}function Vn(P,F,_,z,X){var q=P.ref,ee=F.ref,ce=F.children;if(Nt(P.childFlags,F.childFlags,P.children,ce,q,_,!1,null,P,z,X),F.dom=P.dom,q!==ee&&!t(ce)){var pe=ce.dom;v(q,pe),s(ee,pe)}}function bn(P,F,_,z,X,q,ee){var ce=F.dom=P.dom,pe=P.props,Te=F.props,Be=!1,Ee=!1,Ae;if(z=z||(X&32)>0,pe!==Te){var Me=pe||c;if(Ae=Te||c,Ae!==c){Be=(X&448)>0,Be&&(Ee=At(Ae));for(var We in Ae){var Oe=Me[We],Ge=Ae[We];Oe!==Ge&&vt(We,Oe,Ge,ce,z,Ee,P,ee)}}if(Me!==c)for(var De in Me)a(Ae[De])&&!a(Me[De])&&vt(De,Me[De],null,ce,z,Ee,P,ee)}var tt=F.children,Ye=F.className;P.className!==Ye&&(a(Ye)?ce.removeAttribute("class"):z?ce.setAttribute("class",Ye):ce.className=Ye),X&4096?gn(ce,tt):Nt(P.childFlags,F.childFlags,P.children,tt,ce,_,z&&F.type!=="foreignObject",null,P,q,ee),Be&&xt(X,F,ce,Ae,!1,Ee);var it=F.ref,Qe=P.ref;Qe!==it&&(st(Qe),at(it,ce,q))}function yn(P,F,_,z,X,q,ee){Ze(P,ee),ot(F,_,z,X,y(P,!0),q,ee),A(P,_,ee)}function Nt(P,F,_,z,X,q,ee,ce,pe,Te,Be){switch(P){case 2:switch(F){case 2:qe(_,z,X,q,ee,ce,Te,Be);break;case 1:Je(_,X,Be);break;case 16:Ze(_,Be),R(X,z);break;default:yn(_,z,X,q,ee,Te,Be);break}break;case 1:switch(F){case 2:Ke(z,X,q,ee,ce,Te,Be);break;case 1:break;case 16:R(X,z);break;default:ot(z,X,q,ee,ce,Te,Be);break}break;case 16:switch(F){case 16:vn(_,z,X);break;case 2:mt(X,_,Be),Ke(z,X,q,ee,ce,Te,Be);break;case 1:mt(X,_,Be);break;default:mt(X,_,Be),ot(z,X,q,ee,ce,Te,Be);break}break;default:switch(F){case 16:ct(_,Be),R(X,z);break;case 2:ft(X,pe,_,Be),Ke(z,X,q,ee,ce,Te,Be);break;case 1:ft(X,pe,_,Be);break;default:var Ee=_.length|0,Ae=z.length|0;Ee===0?Ae>0&&ot(z,X,q,ee,ce,Te,Be):Ae===0?ft(X,pe,_,Be):F===8&&P===8?wn(_,z,X,q,ee,Ee,Ae,ce,pe,Te,Be):Ln(_,z,X,q,ee,Ee,Ae,ce,Te,Be);break}break}}function kn(P,F,_,z,X){X.push(function(){P.componentDidUpdate(F,_,z)})}function Ut(P,F,_,z,X,q,ee,ce,pe,Te){var Be=P.state,Ee=P.props,Ae=!!P.$N,Me=o(P.shouldComponentUpdate);if(Ae&&(F=M(P,_,F!==Be?b(Be,F):F)),ee||!Me||Me&&P.shouldComponentUpdate(_,F,X)){!Ae&&o(P.componentWillUpdate)&&P.componentWillUpdate(_,F,X),P.props=_,P.state=F,P.context=X;var We=null,Oe=Pt(P,_,X);Ae&&o(P.getSnapshotBeforeUpdate)&&(We=P.getSnapshotBeforeUpdate(Ee,Be)),qe(P.$LI,Oe,z,P.$CX,q,ce,pe,Te),P.$LI=Oe,o(P.componentDidUpdate)&&kn(P,Ee,Be,We,pe)}else P.props=_,P.state=F,P.context=X}function Sn(P,F,_,z,X,q,ee,ce){var pe=F.children=P.children;if(!k(pe)){pe.$L=ee;var Te=F.props||c,Be=F.ref,Ee=P.ref,Ae=pe.state;if(!pe.$N){if(o(pe.componentWillReceiveProps)){if(pe.$BR=!0,pe.componentWillReceiveProps(Te,z),pe.$UN)return;pe.$BR=!1}k(pe.$PS)||(Ae=b(Ae,pe.$PS),pe.$PS=null)}Ut(pe,Ae,Te,_,z,X,!1,q,ee,ce),Ee!==Be&&(st(Ee),at(Be,pe,ee))}}function Bn(P,F,_,z,X,q,ee,ce){var pe=!0,Te=F.props||c,Be=F.ref,Ee=P.props,Ae=!a(Be),Me=P.children;if(Ae&&o(Be.onComponentShouldUpdate)&&(pe=Be.onComponentShouldUpdate(Ee,Te)),pe!==!1){Ae&&o(Be.onComponentWillUpdate)&&Be.onComponentWillUpdate(Ee,Te);var We=re(gt(F,z));qe(Me,We,_,z,X,q,ee,ce),F.children=We,Ae&&o(Be.onComponentDidUpdate)&&Be.onComponentDidUpdate(Ee,Te)}else F.children=Me}function In(P,F){var _=F.children,z=F.dom=P.dom;_!==P.children&&(z.nodeValue=_)}function Ln(P,F,_,z,X,q,ee,ce,pe,Te){for(var Be=q>ee?ee:q,Ee=0,Ae,Me;Eeee)for(Ee=Be;EeEe||Me>Ae)break e;We=P[Me],Oe=F[Me]}for(We=P[Ee],Oe=F[Ae];We.key===Oe.key;){if(Oe.flags&16384&&(F[Ae]=Oe=te(Oe)),qe(We,Oe,_,z,X,ce,Te,Be),P[Ee]=Oe,Ee--,Ae--,Me>Ee||Me>Ae)break e;We=P[Ee],Oe=F[Ae]}}if(Me>Ee){if(Me<=Ae)for(Ge=Ae+1,De=GeAe)for(;Me<=Ee;)Je(P[Me++],_,Be);else Tn(P,F,z,q,ee,Ee,Ae,Me,_,X,ce,pe,Te,Be)}function Tn(P,F,_,z,X,q,ee,ce,pe,Te,Be,Ee,Ae,Me){var We,Oe,Ge=0,De=0,tt=ce,Ye=ce,it=q-ce+1,Qe=ee-ce+1,lt=new Int32Array(Qe+1),nt=it===z,bt=!1,$e=0,dt=0;if(X<4||(it|Qe)<32)for(De=tt;De<=q;++De)if(We=P[De],dtce?bt=!0:$e=ce,Oe.flags&16384&&(F[ce]=Oe=te(Oe)),qe(We,Oe,pe,_,Te,Be,Ae,Me),++dt;break}!nt&&ce>ee&&Je(We,pe,Me)}else nt||Je(We,pe,Me);else{var Yt={};for(De=Ye;De<=ee;++De)Yt[F[De].key]=De;for(De=tt;De<=q;++De)if(We=P[De],dttt;)Je(P[tt++],pe,Me);lt[ce-Ye]=De+1,$e>ce?bt=!0:$e=ce,Oe=F[ce],Oe.flags&16384&&(F[ce]=Oe=te(Oe)),qe(We,Oe,pe,_,Te,Be,Ae,Me),++dt}else nt||Je(We,pe,Me);else nt||Je(We,pe,Me)}if(nt)ft(pe,Ee,P,Me),ot(F,pe,_,Te,Be,Ae,Me);else if(bt){var Xt=xn(lt);for(ce=Xt.length-1,De=Qe-1;De>=0;De--)lt[De]===0?($e=De+Ye,Oe=F[$e],Oe.flags&16384&&(F[$e]=Oe=te(Oe)),Ge=$e+1,Ke(Oe,pe,_,Te,Ge0&&I(Me.componentWillMove)}else if(dt!==Qe)for(De=Qe-1;De>=0;De--)lt[De]===0&&($e=De+Ye,Oe=F[$e],Oe.flags&16384&&(F[$e]=Oe=te(Oe)),Ge=$e+1,Ke(Oe,pe,_,Te,Ge_t&&(_t=pe,et=new Int32Array(pe),pt=new Int32Array(pe));_>1,P[et[ce]]0&&(pt[_]=et[q-1]),et[q]=_)}q=X+1;var Te=new Int32Array(q);for(ee=et[q-1];q-- >0;)Te[q]=ee,ee=pt[ee],et[q]=0;return Te}var An=typeof document!="undefined";An&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function Ht(P,F,_,z){var X=[],q=new d,ee=F.$V;j.v=!0,a(ee)?a(P)||(P.flags&16384&&(P=te(P)),Ke(P,F,z,!1,null,X,q),F.$V=P,ee=P):a(P)?(Je(ee,F,q),F.$V=null):(P.flags&16384&&(P=te(P)),qe(ee,P,F,z,!1,null,X,q),ee=F.$V=P),p(X),B(q.componentDidAppear),j.v=!1,o(_)&&_(),o(O.renderComplete)&&O.renderComplete(ee,F)}function zt(P,F,_,z){_===void 0&&(_=null),z===void 0&&(z=c),Ht(P,F,_,z)}function En(P){return function(){function F(_,z,X,q){P||(P=_),zt(z,P,X,q)}return F}()}var ht=[],Mn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(P){window.setTimeout(P,0)},Vt=!1;function Kt(P,F,_,z){var X=P.$PS;if(o(F)&&(F=F(X?b(P.state,X):P.state,P.props,P.context)),a(X))P.$PS=F;else for(var q in F)X[q]=F[q];if(P.$BR)o(_)&&P.$L.push(_.bind(P));else{if(!j.v&&ht.length===0){$t(P,z),o(_)&&_.call(P);return}if(ht.indexOf(P)===-1&&ht.push(P),z&&(P.$F=!0),Vt||(Vt=!0,Mn(Gt)),o(_)){var ee=P.$QU;ee||(ee=P.$QU=[]),ee.push(_)}}}function Pn(P){for(var F=P.$QU,_=0;_=0;--U){var H=this.tryEntries[U],K=H.completion;if(H.tryLoc==="root")return W("end");if(H.tryLoc<=this.prev){var G=a.call(H,"catchLoc"),Y=a.call(H,"finallyLoc");if(G&&Y){if(this.prev=0;--W){var U=this.tryEntries[W];if(U.tryLoc<=this.prev&&a.call(U,"finallyLoc")&&this.prev=0;--D){var W=this.tryEntries[D];if(W.finallyLoc===R)return this.complete(W.completion,W.afterLoc),x(W),s}}return O}(),catch:function(){function O(R){for(var D=this.tryEntries.length-1;D>=0;--D){var W=this.tryEntries[D];if(W.tryLoc===R){var U=W.completion;if(U.type==="throw"){var H=U.arg;x(W)}return H}}throw new Error("illegal catch attempt")}return O}(),delegateYield:function(){function O(R,D,W){return this.delegate={iterator:M(R),resultName:D,nextLoc:W},this.method==="next"&&(this.arg=o),s}return O}()},n}(w.exports);try{regeneratorRuntime=r}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},30236:function(){"use strict";self.fetch||(self.fetch=function(w,r){return r=r||{},new Promise(function(n,e){var a=new XMLHttpRequest,t=[],o={},f=function(){function k(){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:k,headers:{keys:function(){function S(){return t}return S}(),entries:function(){function S(){return t.map(function(b){return[b,a.getResponseHeader(b)]})}return S}(),get:function(){function S(b){return a.getResponseHeader(b)}return S}(),has:function(){function S(b){return a.getResponseHeader(b)!=null}return S}()}}}return k}();for(var V in a.open(r.method||"get",w,!0),a.onload=function(){a.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(k,S){o[S]||t.push(o[S]=S)}),n(f())},a.onerror=e,a.withCredentials=r.credentials=="include",r.headers)a.setRequestHeader(V,r.headers[V]);a.send(r.body||null)})})},88510:function(w,r){"use strict";r.__esModule=!0,r.zipWith=r.zip=r.uniqBy=r.uniq=r.toKeyedArray=r.toArray=r.sortBy=r.sort=r.reduce=r.range=r.map=r.filterMap=r.filter=void 0;function n(l,C){var g=typeof Symbol!="undefined"&&l[Symbol.iterator]||l["@@iterator"];if(g)return(g=g.call(l)).next.bind(g);if(Array.isArray(l)||(g=e(l))||C&&l&&typeof l.length=="number"){g&&(l=g);var v=0;return function(){return v>=l.length?{done:!0}:{done:!1,value:l[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(l,C){if(l){if(typeof l=="string")return a(l,C);var g={}.toString.call(l).slice(8,-1);return g==="Object"&&l.constructor&&(g=l.constructor.name),g==="Map"||g==="Set"?Array.from(l):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?a(l,C):void 0}}function a(l,C){(C==null||C>l.length)&&(C=l.length);for(var g=0,v=Array(C);g0&&(0,a.round)(h.width)/k.offsetWidth||1,c=k.offsetHeight>0&&(0,a.round)(h.height)/k.offsetHeight||1);var m=(0,e.isElement)(k)?(0,t.default)(k):window,d=m.visualViewport,u=!(0,o.default)()&&y,s=(h.left+(u&&d?d.offsetLeft:0))/i,l=(h.top+(u&&d?d.offsetTop:0))/c,C=h.width/i,g=h.height/c;return{width:C,height:g,top:l,right:s+C,bottom:l+g,left:s,x:s,y:l}}},49035:function(w,r,n){"use strict";r.__esModule=!0,r.default=g;var e=n(46206),a=u(n(87991)),t=u(n(79752)),o=u(n(98309)),f=u(n(44896)),V=u(n(40600)),k=u(n(16599)),S=n(75573),y=u(n(37786)),h=u(n(57819)),i=u(n(4206)),c=u(n(12972)),m=u(n(81666)),d=n(63618);function u(v){return v&&v.__esModule?v:{default:v}}function s(v,p){var N=(0,y.default)(v,!1,p==="fixed");return N.top=N.top+v.clientTop,N.left=N.left+v.clientLeft,N.bottom=N.top+v.clientHeight,N.right=N.left+v.clientWidth,N.width=v.clientWidth,N.height=v.clientHeight,N.x=N.left,N.y=N.top,N}function l(v,p,N){return p===e.viewport?(0,m.default)((0,a.default)(v,N)):(0,S.isElement)(p)?s(p,N):(0,m.default)((0,t.default)((0,V.default)(v)))}function C(v){var p=(0,o.default)((0,h.default)(v)),N=["absolute","fixed"].indexOf((0,k.default)(v).position)>=0,b=N&&(0,S.isHTMLElement)(v)?(0,f.default)(v):v;return(0,S.isElement)(b)?p.filter(function(B){return(0,S.isElement)(B)&&(0,i.default)(B,b)&&(0,c.default)(B)!=="body"}):[]}function g(v,p,N,b){var B=p==="clippingParents"?C(v):[].concat(p),I=[].concat(B,[N]),L=I[0],T=I.reduce(function(A,x){var E=l(v,x,b);return A.top=(0,d.max)(E.top,A.top),A.right=(0,d.min)(E.right,A.right),A.bottom=(0,d.min)(E.bottom,A.bottom),A.left=(0,d.max)(E.left,A.left),A},l(v,L,b));return T.width=T.right-T.left,T.height=T.bottom-T.top,T.x=T.left,T.y=T.top,T}},74758:function(w,r,n){"use strict";r.__esModule=!0,r.default=i;var e=y(n(37786)),a=y(n(13390)),t=y(n(12972)),o=n(75573),f=y(n(79697)),V=y(n(40600)),k=y(n(10798)),S=n(63618);function y(c){return c&&c.__esModule?c:{default:c}}function h(c){var m=c.getBoundingClientRect(),d=(0,S.round)(m.width)/c.offsetWidth||1,u=(0,S.round)(m.height)/c.offsetHeight||1;return d!==1||u!==1}function i(c,m,d){d===void 0&&(d=!1);var u=(0,o.isHTMLElement)(m),s=(0,o.isHTMLElement)(m)&&h(m),l=(0,V.default)(m),C=(0,e.default)(c,s,d),g={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(u||!u&&!d)&&(((0,t.default)(m)!=="body"||(0,k.default)(l))&&(g=(0,a.default)(m)),(0,o.isHTMLElement)(m)?(v=(0,e.default)(m,!0),v.x+=m.clientLeft,v.y+=m.clientTop):l&&(v.x=(0,f.default)(l))),{x:C.left+g.scrollLeft-v.x,y:C.top+g.scrollTop-v.y,width:C.width,height:C.height}}},16599:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(95115));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return(0,e.default)(o).getComputedStyle(o)}},40600:function(w,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(75573);function a(t){return(((0,e.isElement)(t)?t.ownerDocument:t.document)||window.document).documentElement}},79752:function(w,r,n){"use strict";r.__esModule=!0,r.default=k;var e=V(n(40600)),a=V(n(16599)),t=V(n(79697)),o=V(n(43750)),f=n(63618);function V(S){return S&&S.__esModule?S:{default:S}}function k(S){var y,h=(0,e.default)(S),i=(0,o.default)(S),c=(y=S.ownerDocument)==null?void 0:y.body,m=(0,f.max)(h.scrollWidth,h.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),d=(0,f.max)(h.scrollHeight,h.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),u=-i.scrollLeft+(0,t.default)(S),s=-i.scrollTop;return(0,a.default)(c||h).direction==="rtl"&&(u+=(0,f.max)(h.clientWidth,c?c.clientWidth:0)-m),{width:m,height:d,x:u,y:s}}},3073:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},28811:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(37786));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),V=o.offsetWidth,k=o.offsetHeight;return Math.abs(f.width-V)<=1&&(V=f.width),Math.abs(f.height-k)<=1&&(k=f.height),{x:o.offsetLeft,y:o.offsetTop,width:V,height:k}}},12972:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e?(e.nodeName||"").toLowerCase():null}},13390:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(43750)),a=f(n(95115)),t=n(75573),o=f(n(3073));function f(k){return k&&k.__esModule?k:{default:k}}function V(k){return k===(0,a.default)(k)||!(0,t.isHTMLElement)(k)?(0,e.default)(k):(0,o.default)(k)}},44896:function(w,r,n){"use strict";r.__esModule=!0,r.default=i;var e=S(n(95115)),a=S(n(12972)),t=S(n(16599)),o=n(75573),f=S(n(87031)),V=S(n(57819)),k=S(n(35366));function S(c){return c&&c.__esModule?c:{default:c}}function y(c){return!(0,o.isHTMLElement)(c)||(0,t.default)(c).position==="fixed"?null:c.offsetParent}function h(c){var m=/firefox/i.test((0,k.default)()),d=/Trident/i.test((0,k.default)());if(d&&(0,o.isHTMLElement)(c)){var u=(0,t.default)(c);if(u.position==="fixed")return null}var s=(0,V.default)(c);for((0,o.isShadowRoot)(s)&&(s=s.host);(0,o.isHTMLElement)(s)&&["html","body"].indexOf((0,a.default)(s))<0;){var l=(0,t.default)(s);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||m&&l.willChange==="filter"||m&&l.filter&&l.filter!=="none")return s;s=s.parentNode}return null}function i(c){for(var m=(0,e.default)(c),d=y(c);d&&(0,f.default)(d)&&(0,t.default)(d).position==="static";)d=y(d);return d&&((0,a.default)(d)==="html"||(0,a.default)(d)==="body"&&(0,t.default)(d).position==="static")?m:d||h(c)||m}},57819:function(w,r,n){"use strict";r.__esModule=!0,r.default=f;var e=o(n(12972)),a=o(n(40600)),t=n(75573);function o(V){return V&&V.__esModule?V:{default:V}}function f(V){return(0,e.default)(V)==="html"?V:V.assignedSlot||V.parentNode||((0,t.isShadowRoot)(V)?V.host:null)||(0,a.default)(V)}},24426:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(57819)),a=f(n(10798)),t=f(n(12972)),o=n(75573);function f(k){return k&&k.__esModule?k:{default:k}}function V(k){return["html","body","#document"].indexOf((0,t.default)(k))>=0?k.ownerDocument.body:(0,o.isHTMLElement)(k)&&(0,a.default)(k)?k:V((0,e.default)(k))}},87991:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(95115)),a=f(n(40600)),t=f(n(79697)),o=f(n(89331));function f(k){return k&&k.__esModule?k:{default:k}}function V(k,S){var y=(0,e.default)(k),h=(0,a.default)(k),i=y.visualViewport,c=h.clientWidth,m=h.clientHeight,d=0,u=0;if(i){c=i.width,m=i.height;var s=(0,o.default)();(s||!s&&S==="fixed")&&(d=i.offsetLeft,u=i.offsetTop)}return{width:c,height:m,x:d+(0,t.default)(k),y:u}}},95115:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var a=e.ownerDocument;return a&&a.defaultView||window}return e}},43750:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(95115));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),V=f.pageXOffset,k=f.pageYOffset;return{scrollLeft:V,scrollTop:k}}},79697:function(w,r,n){"use strict";r.__esModule=!0,r.default=f;var e=o(n(37786)),a=o(n(40600)),t=o(n(43750));function o(V){return V&&V.__esModule?V:{default:V}}function f(V){return(0,e.default)((0,a.default)(V)).left+(0,t.default)(V).scrollLeft}},75573:function(w,r,n){"use strict";r.__esModule=!0,r.isElement=t,r.isHTMLElement=o,r.isShadowRoot=f;var e=a(n(95115));function a(V){return V&&V.__esModule?V:{default:V}}function t(V){var k=(0,e.default)(V).Element;return V instanceof k||V instanceof Element}function o(V){var k=(0,e.default)(V).HTMLElement;return V instanceof k||V instanceof HTMLElement}function f(V){if(typeof ShadowRoot=="undefined")return!1;var k=(0,e.default)(V).ShadowRoot;return V instanceof k||V instanceof ShadowRoot}},89331:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(35366));function a(o){return o&&o.__esModule?o:{default:o}}function t(){return!/^((?!chrome|android).)*safari/i.test((0,e.default)())}},10798:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(16599));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),V=f.overflow,k=f.overflowX,S=f.overflowY;return/auto|scroll|overlay|hidden/.test(V+S+k)}},87031:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(12972));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return["table","td","th"].indexOf((0,e.default)(o))>=0}},98309:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(24426)),a=f(n(57819)),t=f(n(95115)),o=f(n(10798));function f(k){return k&&k.__esModule?k:{default:k}}function V(k,S){var y;S===void 0&&(S=[]);var h=(0,e.default)(k),i=h===((y=k.ownerDocument)==null?void 0:y.body),c=(0,t.default)(h),m=i?[c].concat(c.visualViewport||[],(0,o.default)(h)?h:[]):h,d=S.concat(m);return i?d:d.concat(V((0,a.default)(m)))}},46206:function(w,r){"use strict";r.__esModule=!0,r.write=r.viewport=r.variationPlacements=r.top=r.start=r.right=r.reference=r.read=r.popper=r.placements=r.modifierPhases=r.main=r.left=r.end=r.clippingParents=r.bottom=r.beforeWrite=r.beforeRead=r.beforeMain=r.basePlacements=r.auto=r.afterWrite=r.afterRead=r.afterMain=void 0;var n=r.top="top",e=r.bottom="bottom",a=r.right="right",t=r.left="left",o=r.auto="auto",f=r.basePlacements=[n,e,a,t],V=r.start="start",k=r.end="end",S=r.clippingParents="clippingParents",y=r.viewport="viewport",h=r.popper="popper",i=r.reference="reference",c=r.variationPlacements=f.reduce(function(B,I){return B.concat([I+"-"+V,I+"-"+k])},[]),m=r.placements=[].concat(f,[o]).reduce(function(B,I){return B.concat([I,I+"-"+V,I+"-"+k])},[]),d=r.beforeRead="beforeRead",u=r.read="read",s=r.afterRead="afterRead",l=r.beforeMain="beforeMain",C=r.main="main",g=r.afterMain="afterMain",v=r.beforeWrite="beforeWrite",p=r.write="write",N=r.afterWrite="afterWrite",b=r.modifierPhases=[d,u,s,l,C,g,v,p,N]},95996:function(w,r,n){"use strict";r.__esModule=!0;var e={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};r.popperGenerator=r.detectOverflow=r.createPopperLite=r.createPopperBase=r.createPopper=void 0;var a=n(46206);Object.keys(a).forEach(function(k){k==="default"||k==="__esModule"||Object.prototype.hasOwnProperty.call(e,k)||k in r&&r[k]===a[k]||(r[k]=a[k])});var t=n(39805);Object.keys(t).forEach(function(k){k==="default"||k==="__esModule"||Object.prototype.hasOwnProperty.call(e,k)||k in r&&r[k]===t[k]||(r[k]=t[k])});var o=n(96376);r.popperGenerator=o.popperGenerator,r.detectOverflow=o.detectOverflow,r.createPopperBase=o.createPopper;var f=n(83312);r.createPopper=f.createPopper;var V=n(2473);r.createPopperLite=V.createPopper},19975:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=t(n(12972)),a=n(75573);function t(k){return k&&k.__esModule?k:{default:k}}function o(k){var S=k.state;Object.keys(S.elements).forEach(function(y){var h=S.styles[y]||{},i=S.attributes[y]||{},c=S.elements[y];!(0,a.isHTMLElement)(c)||!(0,e.default)(c)||(Object.assign(c.style,h),Object.keys(i).forEach(function(m){var d=i[m];d===!1?c.removeAttribute(m):c.setAttribute(m,d===!0?"":d)}))})}function f(k){var S=k.state,y={popper:{position:S.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(S.elements.popper.style,y.popper),S.styles=y,S.elements.arrow&&Object.assign(S.elements.arrow.style,y.arrow),function(){Object.keys(S.elements).forEach(function(h){var i=S.elements[h],c=S.attributes[h]||{},m=Object.keys(S.styles.hasOwnProperty(h)?S.styles[h]:y[h]),d=m.reduce(function(u,s){return u[s]="",u},{});!(0,a.isHTMLElement)(i)||!(0,e.default)(i)||(Object.assign(i.style,d),Object.keys(c).forEach(function(u){i.removeAttribute(u)}))})}}var V=r.default={name:"applyStyles",enabled:!0,phase:"write",fn:o,effect:f,requires:["computeStyles"]}},52744:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=h(n(83104)),a=h(n(28811)),t=h(n(4206)),o=h(n(44896)),f=h(n(41199)),V=n(28595),k=h(n(43286)),S=h(n(81447)),y=n(46206);function h(u){return u&&u.__esModule?u:{default:u}}var i=function(){function u(s,l){return s=typeof s=="function"?s(Object.assign({},l.rects,{placement:l.placement})):s,(0,k.default)(typeof s!="number"?s:(0,S.default)(s,y.basePlacements))}return u}();function c(u){var s,l=u.state,C=u.name,g=u.options,v=l.elements.arrow,p=l.modifiersData.popperOffsets,N=(0,e.default)(l.placement),b=(0,f.default)(N),B=[y.left,y.right].indexOf(N)>=0,I=B?"height":"width";if(!(!v||!p)){var L=i(g.padding,l),T=(0,a.default)(v),A=b==="y"?y.top:y.left,x=b==="y"?y.bottom:y.right,E=l.rects.reference[I]+l.rects.reference[b]-p[b]-l.rects.popper[I],P=p[b]-l.rects.reference[b],j=(0,o.default)(v),O=j?b==="y"?j.clientHeight||0:j.clientWidth||0:0,R=E/2-P/2,D=L[A],W=O-T[I]-L[x],U=O/2-T[I]/2+R,z=(0,V.within)(D,U,W),K=b;l.modifiersData[C]=(s={},s[K]=z,s.centerOffset=z-U,s)}}function m(u){var s=u.state,l=u.options,C=l.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 d=r.default={name:"arrow",enabled:!0,phase:"main",fn:c,effect:m,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},59894:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.mapToStyles=c;var e=n(46206),a=y(n(44896)),t=y(n(95115)),o=y(n(40600)),f=y(n(16599)),V=y(n(83104)),k=y(n(45)),S=n(63618);function y(u){return u&&u.__esModule?u:{default:u}}var h={top:"auto",right:"auto",bottom:"auto",left:"auto"};function i(u,s){var l=u.x,C=u.y,g=s.devicePixelRatio||1;return{x:(0,S.round)(l*g)/g||0,y:(0,S.round)(C*g)/g||0}}function c(u){var s,l=u.popper,C=u.popperRect,g=u.placement,v=u.variation,p=u.offsets,N=u.position,b=u.gpuAcceleration,B=u.adaptive,I=u.roundOffsets,L=u.isFixed,T=p.x,A=T===void 0?0:T,x=p.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 j=p.hasOwnProperty("x"),O=p.hasOwnProperty("y"),R=e.left,D=e.top,W=window;if(B){var U=(0,a.default)(l),z="clientHeight",K="clientWidth";if(U===(0,t.default)(l)&&(U=(0,o.default)(l),(0,f.default)(U).position!=="static"&&N==="absolute"&&(z="scrollHeight",K="scrollWidth")),U=U,g===e.top||(g===e.left||g===e.right)&&v===e.end){D=e.bottom;var $=L&&U===W&&W.visualViewport?W.visualViewport.height:U[z];E-=$-C.height,E*=b?1:-1}if(g===e.left||(g===e.top||g===e.bottom)&&v===e.end){R=e.right;var Y=L&&U===W&&W.visualViewport?W.visualViewport.width:U[K];A-=Y-C.width,A*=b?1:-1}}var J=Object.assign({position:N},B&&h),Z=I===!0?i({x:A,y:E},(0,t.default)(l)):{x:A,y:E};if(A=Z.x,E=Z.y,b){var le;return Object.assign({},J,(le={},le[D]=O?"0":"",le[R]=j?"0":"",le.transform=(W.devicePixelRatio||1)<=1?"translate("+A+"px, "+E+"px)":"translate3d("+A+"px, "+E+"px, 0)",le))}return Object.assign({},J,(s={},s[D]=O?E+"px":"",s[R]=j?A+"px":"",s.transform="",s))}function m(u){var s=u.state,l=u.options,C=l.gpuAcceleration,g=C===void 0?!0:C,v=l.adaptive,p=v===void 0?!0:v,N=l.roundOffsets,b=N===void 0?!0:N,B={placement:(0,V.default)(s.placement),variation:(0,k.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:p,roundOffsets:b})))),s.modifiersData.arrow!=null&&(s.styles.arrow=Object.assign({},s.styles.arrow,c(Object.assign({},B,{offsets:s.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:b})))),s.attributes.popper=Object.assign({},s.attributes.popper,{"data-popper-placement":s.placement})}var d=r.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:m,data:{}}},36692:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(95115));function a(V){return V&&V.__esModule?V:{default:V}}var t={passive:!0};function o(V){var k=V.state,S=V.instance,y=V.options,h=y.scroll,i=h===void 0?!0:h,c=y.resize,m=c===void 0?!0:c,d=(0,e.default)(k.elements.popper),u=[].concat(k.scrollParents.reference,k.scrollParents.popper);return i&&u.forEach(function(s){s.addEventListener("scroll",S.update,t)}),m&&d.addEventListener("resize",S.update,t),function(){i&&u.forEach(function(s){s.removeEventListener("scroll",S.update,t)}),m&&d.removeEventListener("resize",S.update,t)}}var f=r.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function V(){}return V}(),effect:o,data:{}}},23798:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=S(n(71376)),a=S(n(83104)),t=S(n(86459)),o=S(n(17633)),f=S(n(9041)),V=n(46206),k=S(n(45));function S(c){return c&&c.__esModule?c:{default:c}}function y(c){if((0,a.default)(c)===V.auto)return[];var m=(0,e.default)(c);return[(0,t.default)(c),m,(0,t.default)(m)]}function h(c){var m=c.state,d=c.options,u=c.name;if(!m.modifiersData[u]._skip){for(var s=d.mainAxis,l=s===void 0?!0:s,C=d.altAxis,g=C===void 0?!0:C,v=d.fallbackPlacements,p=d.padding,N=d.boundary,b=d.rootBoundary,B=d.altBoundary,I=d.flipVariations,L=I===void 0?!0:I,T=d.allowedAutoPlacements,A=m.options.placement,x=(0,a.default)(A),E=x===A,P=v||(E||!L?[(0,e.default)(A)]:y(A)),j=[A].concat(P).reduce(function(fe,ie){return fe.concat((0,a.default)(ie)===V.auto?(0,f.default)(m,{placement:ie,boundary:N,rootBoundary:b,padding:p,flipVariations:L,allowedAutoPlacements:T}):ie)},[]),O=m.rects.reference,R=m.rects.popper,D=new Map,W=!0,U=j[0],z=0;z=0,Z=J?"width":"height",le=(0,o.default)(m,{placement:K,boundary:N,rootBoundary:b,altBoundary:B,padding:p}),ne=J?Y?V.right:V.left:Y?V.bottom:V.top;O[Z]>R[Z]&&(ne=(0,e.default)(ne));var me=(0,e.default)(ne),he=[];if(l&&he.push(le[$]<=0),g&&he.push(le[ne]<=0,le[me]<=0),he.every(function(fe){return fe})){U=K,W=!1;break}D.set(K,he)}if(W)for(var ye=L?3:1,te=function(){function fe(ie){var ue=j.find(function(re){var Se=D.get(re);if(Se)return Se.slice(0,ie).every(function(Ie){return Ie})});if(ue)return U=ue,"break"}return fe}(),Q=ye;Q>0;Q--){var oe=te(Q);if(oe==="break")break}m.placement!==U&&(m.modifiersData[u]._skip=!0,m.placement=U,m.reset=!0)}}var i=r.default={name:"flip",enabled:!0,phase:"main",fn:h,requiresIfExists:["offset"],data:{_skip:!1}}},83761:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(46206),a=t(n(17633));function t(S){return S&&S.__esModule?S:{default:S}}function o(S,y,h){return h===void 0&&(h={x:0,y:0}),{top:S.top-y.height-h.y,right:S.right-y.width+h.x,bottom:S.bottom-y.height+h.y,left:S.left-y.width-h.x}}function f(S){return[e.top,e.right,e.bottom,e.left].some(function(y){return S[y]>=0})}function V(S){var y=S.state,h=S.name,i=y.rects.reference,c=y.rects.popper,m=y.modifiersData.preventOverflow,d=(0,a.default)(y,{elementContext:"reference"}),u=(0,a.default)(y,{altBoundary:!0}),s=o(d,i),l=o(u,c,m),C=f(s),g=f(l);y.modifiersData[h]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:C,hasPopperEscaped:g},y.attributes.popper=Object.assign({},y.attributes.popper,{"data-popper-reference-hidden":C,"data-popper-escaped":g})}var k=r.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:V}},39805:function(w,r,n){"use strict";r.__esModule=!0,r.preventOverflow=r.popperOffsets=r.offset=r.hide=r.flip=r.eventListeners=r.computeStyles=r.arrow=r.applyStyles=void 0;var e=h(n(19975));r.applyStyles=e.default;var a=h(n(52744));r.arrow=a.default;var t=h(n(59894));r.computeStyles=t.default;var o=h(n(36692));r.eventListeners=o.default;var f=h(n(23798));r.flip=f.default;var V=h(n(83761));r.hide=V.default;var k=h(n(61410));r.offset=k.default;var S=h(n(40107));r.popperOffsets=S.default;var y=h(n(75137));r.preventOverflow=y.default;function h(i){return i&&i.__esModule?i:{default:i}}},61410:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.distanceAndSkiddingToXY=o;var e=t(n(83104)),a=n(46206);function t(k){return k&&k.__esModule?k:{default:k}}function o(k,S,y){var h=(0,e.default)(k),i=[a.left,a.top].indexOf(h)>=0?-1:1,c=typeof y=="function"?y(Object.assign({},S,{placement:k})):y,m=c[0],d=c[1];return m=m||0,d=(d||0)*i,[a.left,a.right].indexOf(h)>=0?{x:d,y:m}:{x:m,y:d}}function f(k){var S=k.state,y=k.options,h=k.name,i=y.offset,c=i===void 0?[0,0]:i,m=a.placements.reduce(function(l,C){return l[C]=o(C,S.rects,c),l},{}),d=m[S.placement],u=d.x,s=d.y;S.modifiersData.popperOffsets!=null&&(S.modifiersData.popperOffsets.x+=u,S.modifiersData.popperOffsets.y+=s),S.modifiersData[h]=m}var V=r.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:f}},40107:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(89951));function a(f){return f&&f.__esModule?f:{default:f}}function t(f){var V=f.state,k=f.name;V.modifiersData[k]=(0,e.default)({reference:V.rects.reference,element:V.rects.popper,strategy:"absolute",placement:V.placement})}var o=r.default={name:"popperOffsets",enabled:!0,phase:"read",fn:t,data:{}}},75137:function(w,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(46206),a=c(n(83104)),t=c(n(41199)),o=c(n(28066)),f=n(28595),V=c(n(28811)),k=c(n(44896)),S=c(n(17633)),y=c(n(45)),h=c(n(34780)),i=n(63618);function c(u){return u&&u.__esModule?u:{default:u}}function m(u){var s=u.state,l=u.options,C=u.name,g=l.mainAxis,v=g===void 0?!0:g,p=l.altAxis,N=p===void 0?!1:p,b=l.boundary,B=l.rootBoundary,I=l.altBoundary,L=l.padding,T=l.tether,A=T===void 0?!0:T,x=l.tetherOffset,E=x===void 0?0:x,P=(0,S.default)(s,{boundary:b,rootBoundary:B,padding:L,altBoundary:I}),j=(0,a.default)(s.placement),O=(0,y.default)(s.placement),R=!O,D=(0,t.default)(j),W=(0,o.default)(D),U=s.modifiersData.popperOffsets,z=s.rects.reference,K=s.rects.popper,$=typeof E=="function"?E(Object.assign({},s.rects,{placement:s.placement})):E,Y=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),J=s.modifiersData.offset?s.modifiersData.offset[s.placement]:null,Z={x:0,y:0};if(U){if(v){var le,ne=D==="y"?e.top:e.left,me=D==="y"?e.bottom:e.right,he=D==="y"?"height":"width",ye=U[D],te=ye+P[ne],Q=ye-P[me],oe=A?-K[he]/2:0,fe=O===e.start?z[he]:K[he],ie=O===e.start?-K[he]:-z[he],ue=s.elements.arrow,re=A&&ue?(0,V.default)(ue):{width:0,height:0},Se=s.modifiersData["arrow#persistent"]?s.modifiersData["arrow#persistent"].padding:(0,h.default)(),Ie=Se[ne],Ce=Se[me],ge=(0,f.within)(0,z[he],re[he]),ke=R?z[he]/2-oe-ge-Ie-Y.mainAxis:fe-ge-Ie-Y.mainAxis,Ve=R?-z[he]/2+oe+ge+Ce+Y.mainAxis:ie+ge+Ce+Y.mainAxis,Le=s.elements.arrow&&(0,k.default)(s.elements.arrow),we=Le?D==="y"?Le.clientTop||0:Le.clientLeft||0:0,xe=(le=J==null?void 0:J[D])!=null?le:0,Re=ye+ke-xe-we,ze=ye+Ve-xe,Ne=(0,f.within)(A?(0,i.min)(te,Re):te,ye,A?(0,i.max)(Q,ze):Q);U[D]=Ne,Z[D]=Ne-ye}if(N){var ae,de=D==="x"?e.top:e.left,ve=D==="x"?e.bottom:e.right,se=U[W],be=W==="y"?"height":"width",Me=se+P[de],je=se-P[ve],Fe=[e.top,e.left].indexOf(j)!==-1,He=(ae=J==null?void 0:J[W])!=null?ae:0,Ue=Fe?Me:se-z[be]-K[be]-He+Y.altAxis,_e=Fe?se+z[be]+K[be]-He-Y.altAxis:je,Xe=A&&Fe?(0,f.withinMaxClamp)(Ue,se,_e):(0,f.within)(A?Ue:Me,se,A?_e:je);U[W]=Xe,Z[W]=Xe-se}s.modifiersData[C]=Z}}var d=r.default={name:"preventOverflow",enabled:!0,phase:"main",fn:m,requiresIfExists:["offset"]}},2473:function(w,r,n){"use strict";r.__esModule=!0,r.defaultModifiers=r.createPopper=void 0;var e=n(96376);r.popperGenerator=e.popperGenerator,r.detectOverflow=e.detectOverflow;var a=V(n(36692)),t=V(n(40107)),o=V(n(59894)),f=V(n(19975));function V(y){return y&&y.__esModule?y:{default:y}}var k=r.defaultModifiers=[a.default,t.default,o.default,f.default],S=r.createPopper=(0,e.popperGenerator)({defaultModifiers:k})},83312:function(w,r,n){"use strict";r.__esModule=!0;var e={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};r.defaultModifiers=r.createPopperLite=r.createPopper=void 0;var a=n(96376);r.popperGenerator=a.popperGenerator,r.detectOverflow=a.detectOverflow;var t=d(n(36692)),o=d(n(40107)),f=d(n(59894)),V=d(n(19975)),k=d(n(61410)),S=d(n(23798)),y=d(n(75137)),h=d(n(52744)),i=d(n(83761)),c=n(2473);r.createPopperLite=c.createPopper;var m=n(39805);Object.keys(m).forEach(function(l){l==="default"||l==="__esModule"||Object.prototype.hasOwnProperty.call(e,l)||l in r&&r[l]===m[l]||(r[l]=m[l])});function d(l){return l&&l.__esModule?l:{default:l}}var u=r.defaultModifiers=[t.default,o.default,f.default,V.default,k.default,S.default,y.default,h.default,i.default],s=r.createPopperLite=r.createPopper=(0,a.popperGenerator)({defaultModifiers:u})},9041:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(45)),a=n(46206),t=f(n(17633)),o=f(n(83104));function f(k){return k&&k.__esModule?k:{default:k}}function V(k,S){S===void 0&&(S={});var y=S,h=y.placement,i=y.boundary,c=y.rootBoundary,m=y.padding,d=y.flipVariations,u=y.allowedAutoPlacements,s=u===void 0?a.placements:u,l=(0,e.default)(h),C=l?d?a.variationPlacements:a.variationPlacements.filter(function(p){return(0,e.default)(p)===l}):a.basePlacements,g=C.filter(function(p){return s.indexOf(p)>=0});g.length===0&&(g=C);var v=g.reduce(function(p,N){return p[N]=(0,t.default)(k,{placement:N,boundary:i,rootBoundary:c,padding:m})[(0,o.default)(N)],p},{});return Object.keys(v).sort(function(p,N){return v[p]-v[N]})}},89951:function(w,r,n){"use strict";r.__esModule=!0,r.default=V;var e=f(n(83104)),a=f(n(45)),t=f(n(41199)),o=n(46206);function f(k){return k&&k.__esModule?k:{default:k}}function V(k){var S=k.reference,y=k.element,h=k.placement,i=h?(0,e.default)(h):null,c=h?(0,a.default)(h):null,m=S.x+S.width/2-y.width/2,d=S.y+S.height/2-y.height/2,u;switch(i){case o.top:u={x:m,y:S.y-y.height};break;case o.bottom:u={x:m,y:S.y+S.height};break;case o.right:u={x:S.x+S.width,y:d};break;case o.left:u={x:S.x-y.width,y:d};break;default:u={x:S.x,y:S.y}}var s=i?(0,t.default)(i):null;if(s!=null){var l=s==="y"?"height":"width";switch(c){case o.start:u[s]=u[s]-(S[l]/2-y[l]/2);break;case o.end:u[s]=u[s]+(S[l]/2-y[l]/2);break;default:}}return u}},10579:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a;return function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(e())})})),a}}},17633:function(w,r,n){"use strict";r.__esModule=!0,r.default=i;var e=h(n(49035)),a=h(n(40600)),t=h(n(37786)),o=h(n(89951)),f=h(n(81666)),V=n(46206),k=n(75573),S=h(n(43286)),y=h(n(81447));function h(c){return c&&c.__esModule?c:{default:c}}function i(c,m){m===void 0&&(m={});var d=m,u=d.placement,s=u===void 0?c.placement:u,l=d.strategy,C=l===void 0?c.strategy:l,g=d.boundary,v=g===void 0?V.clippingParents:g,p=d.rootBoundary,N=p===void 0?V.viewport:p,b=d.elementContext,B=b===void 0?V.popper:b,I=d.altBoundary,L=I===void 0?!1:I,T=d.padding,A=T===void 0?0:T,x=(0,S.default)(typeof A!="number"?A:(0,y.default)(A,V.basePlacements)),E=B===V.popper?V.reference:V.popper,P=c.rects.popper,j=c.elements[L?E:B],O=(0,e.default)((0,k.isElement)(j)?j:j.contextElement||(0,a.default)(c.elements.popper),v,N,C),R=(0,t.default)(c.elements.reference),D=(0,o.default)({reference:R,element:P,strategy:"absolute",placement:s}),W=(0,f.default)(Object.assign({},P,D)),U=B===V.popper?W:R,z={top:O.top-U.top+x.top,bottom:U.bottom-O.bottom+x.bottom,left:O.left-U.left+x.left,right:U.right-O.right+x.right},K=c.modifiersData.offset;if(B===V.popper&&K){var $=K[s];Object.keys(z).forEach(function(Y){var J=[V.right,V.bottom].indexOf(Y)>=0?1:-1,Z=[V.top,V.bottom].indexOf(Y)>=0?"y":"x";z[Y]+=$[Z]*J})}return z}},81447:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e,a){return a.reduce(function(t,o){return t[o]=e,t},{})}},28066:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e==="x"?"y":"x"}},83104:function(w,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(46206);function a(t){return t.split("-")[0]}},34780:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(){return{top:0,right:0,bottom:0,left:0}}},41199:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},71376:function(w,r){"use strict";r.__esModule=!0,r.default=e;var n={left:"right",right:"left",bottom:"top",top:"bottom"};function e(a){return a.replace(/left|right|bottom|top/g,function(t){return n[t]})}},86459:function(w,r){"use strict";r.__esModule=!0,r.default=e;var n={start:"end",end:"start"};function e(a){return a.replace(/start|end/g,function(t){return n[t]})}},45:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e.split("-")[1]}},63618:function(w,r){"use strict";r.__esModule=!0,r.round=r.min=r.max=void 0;var n=r.max=Math.max,e=r.min=Math.min,a=r.round=Math.round},56500:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a=e.reduce(function(t,o){var f=t[o.name];return t[o.name]=f?Object.assign({},f,o,{options:Object.assign({},f.options,o.options),data:Object.assign({},f.data,o.data)}):o,t},{});return Object.keys(a).map(function(t){return a[t]})}},43286:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(34780));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return Object.assign({},(0,e.default)(),o)}},33118:function(w,r,n){"use strict";r.__esModule=!0,r.default=t;var e=n(46206);function a(o){var f=new Map,V=new Set,k=[];o.forEach(function(y){f.set(y.name,y)});function S(y){V.add(y.name);var h=[].concat(y.requires||[],y.requiresIfExists||[]);h.forEach(function(i){if(!V.has(i)){var c=f.get(i);c&&S(c)}}),k.push(y)}return o.forEach(function(y){V.has(y.name)||S(y)}),k}function t(o){var f=a(o);return e.modifierPhases.reduce(function(V,k){return V.concat(f.filter(function(S){return S.phase===k}))},[])}},81666:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},35366:function(w,r){"use strict";r.__esModule=!0,r.default=n;function n(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}},28595:function(w,r,n){"use strict";r.__esModule=!0,r.within=a,r.withinMaxClamp=t;var e=n(63618);function a(o,f,V){return(0,e.max)(o,(0,e.min)(f,V))}function t(o,f,V){var k=a(o,f,V);return k>V?V:k}},15875:function(w,r){"use strict";r.__esModule=!0,r.VNodeFlags=r.ChildFlags=void 0;var n;(function(a){a[a.Unknown=0]="Unknown",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.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=1521]="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={}))},89292:function(w,r){"use strict";r.__esModule=!0,r.Fragment=r.EMPTY_OBJ=r.Component=r.AnimationQueues=void 0,r._CI=Ot,r._HI=re,r._M=Ke,r._MCCC=Ft,r._ME=Dt,r._MFCC=Wt,r._MP=Pt,r._MR=at,r._RFC=gt,r.__render=zt,r.createComponentVNode=le,r.createFragment=me,r.createPortal=oe,r.createRef=nn,r.createRenderer=En,r.createTextVNode=ne,r.createVNode=$,r.directClone=te,r.findDOMFromVNode=b,r.forwardRef=on,r.getFlagsForElementVnode=ie,r.linkEvent=h,r.normalizeProps=he,r.options=void 0,r.render=Ht,r.rerender=$t,r.version=void 0;var n=Array.isArray;function e(M){var F=typeof M;return F==="string"||F==="number"}function a(M){return M==null}function t(M){return M===null||M===!1||M===!0||M===void 0}function o(M){return typeof M=="function"}function f(M){return typeof M=="string"}function V(M){return typeof M=="number"}function k(M){return M===null}function S(M){return M===void 0}function y(M,F){var _={};if(M)for(var H in M)_[H]=M[H];if(F)for(var X in F)_[X]=F[X];return _}function h(M,F){return o(F)?{data:M,event:F}:null}function i(M){return!k(M)&&typeof M=="object"}var c=r.EMPTY_OBJ={},m=r.Fragment="$F",d=r.AnimationQueues=function(){function M(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]}return M}();function u(M){return M.substring(2).toLowerCase()}function s(M,F){M.appendChild(F)}function l(M,F,_){k(_)?s(M,F):M.insertBefore(F,_)}function C(M,F){return F?document.createElementNS("http://www.w3.org/2000/svg",M):document.createElement(M)}function g(M,F,_){M.replaceChild(F,_)}function v(M,F){M.removeChild(F)}function p(M){for(var F=0;F0?B(_.componentWillDisappear,T(M,F)):L(M,F,!1)}function x(M,F,_,H,X,q,ee,ce){M.componentWillMove.push({dom:H,fn:function(){function pe(){ee&4?_.componentWillMove(F,X,H):ee&8&&_.onComponentWillMove(F,X,H,ce)}return pe}(),next:q,parent:X})}function E(M,F,_,H,X){var q,ee,ce=F.flags;do{var pe=F.flags;if(pe&1521){!a(q)&&(o(q.componentWillMove)||o(q.onComponentWillMove))?x(X,M,q,F.dom,_,H,ce,ee):l(_,F.dom,H);return}var Te=F.children;if(pe&4)q=F.children,ee=F.props,F=Te.$LI;else if(pe&8)q=F.ref,ee=F.props,F=Te;else if(pe&8192)if(F.childFlags===2)F=Te;else{for(var Be=0,Ee=Te.length;Be0,Te=k(ce),Be=f(ce)&&ce[0]===z;pe||Te||Be?(_=_||F.slice(0,q),(pe||Be)&&(ee=te(ee)),(Te||Be)&&(ee.key=z+q),_.push(ee)):_&&_.push(ee),ee.flags|=65536}}_=_||F,_.length===0?H=1:H=8}else _=F,_.flags|=65536,F.flags&81920&&(_=te(F)),H=2;return M.children=_,M.childFlags=H,M}function re(M){return t(M)||e(M)?ne(M,null):n(M)?me(M,0,null):M.flags&16384?te(M):M}var Se="http://www.w3.org/1999/xlink",Ie="http://www.w3.org/XML/1998/namespace",Ce={"xlink:actuate":Se,"xlink:arcrole":Se,"xlink:href":Se,"xlink:role":Se,"xlink:show":Se,"xlink:title":Se,"xlink:type":Se,"xml:base":Ie,"xml:lang":Ie,"xml:space":Ie};function ge(M){return{onClick:M,onDblClick:M,onFocusIn:M,onFocusOut:M,onKeyDown:M,onKeyPress:M,onKeyUp:M,onMouseDown:M,onMouseMove:M,onMouseUp:M,onTouchEnd:M,onTouchMove:M,onTouchStart:M}}var ke=ge(0),Ve=ge(null),Le=ge(!0);function we(M,F){var _=F.$EV;return _||(_=F.$EV=ge(null)),_[M]||++ke[M]===1&&(Ve[M]=je(M)),_}function xe(M,F){var _=F.$EV;_&&_[M]&&(--ke[M]===0&&(document.removeEventListener(u(M),Ve[M]),Ve[M]=null),_[M]=null)}function Re(M,F,_,H){if(o(_))we(M,H)[M]=_;else if(i(_)){if(D(F,_))return;we(M,H)[M]=_}else xe(M,H)}function ze(M){return o(M.composedPath)?M.composedPath()[0]:M.target}function Ne(M,F,_,H){var X=ze(M);do{if(F&&X.disabled)return;var q=X.$EV;if(q){var ee=q[_];if(ee&&(H.dom=X,ee.event?ee.event(ee.data,M):ee(M),M.cancelBubble))return}X=X.parentNode}while(!k(X))}function ae(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function de(){return this.defaultPrevented}function ve(){return this.cancelBubble}function se(M){var F={dom:document};return M.isDefaultPrevented=de,M.isPropagationStopped=ve,M.stopPropagation=ae,Object.defineProperty(M,"currentTarget",{configurable:!0,get:function(){function _(){return F.dom}return _}()}),F}function be(M){return function(F){if(F.button!==0){F.stopPropagation();return}Ne(F,!0,M,se(F))}}function Me(M){return function(F){Ne(F,!1,M,se(F))}}function je(M){var F=M==="onClick"||M==="onDblClick"?be(M):Me(M);return document.addEventListener(u(M),F),F}function Fe(M,F){var _=document.createElement("i");return _.innerHTML=F,_.innerHTML===M.innerHTML}function He(M,F,_){if(M[F]){var H=M[F];H.event?H.event(H.data,_):H(_)}else{var X=F.toLowerCase();M[X]&&M[X](_)}}function Ue(M,F){var _=function(){function H(X){var q=this.$V;if(q){var ee=q.props||c,ce=q.dom;if(f(M))He(ee,M,X);else for(var pe=0;pe-1&&F.options[q]&&(ce=F.options[q].value),_&&a(ce)&&(ce=M.defaultValue),rt(H,ce)}}var Zt=Ue("onInput",Tt),qt=Ue("onChange");function en(M,F){_e(M,"input",Zt),F.onChange&&_e(M,"change",qt)}function Tt(M,F,_){var H=M.value,X=F.value;if(a(H)){if(_){var q=M.defaultValue;!a(q)&&q!==X&&(F.defaultValue=q,F.value=q)}}else X!==H&&(F.defaultValue=H,F.value=H)}function xt(M,F,_,H,X,q){M&64?ut(H,_):M&256?wt(H,_,X,F):M&128&&Tt(H,_,X),q&&(_.$V=F)}function tn(M,F,_){M&64?Bt(F,_):M&256?Qt(F):M&128&&en(F,_)}function At(M){return M.type&&Xe(M.type)?!a(M.checked):!a(M.value)}function nn(){return{current:null}}function on(M){var F={render:M};return F}function st(M){M&&!U(M,null)&&M.current&&(M.current=null)}function at(M,F,_){M&&(o(M)||M.current!==void 0)&&_.push(function(){!U(M,F)&&M.current!==void 0&&(M.current=F)})}function Je(M,F,_){Ze(M,_),A(M,F,_)}function Ze(M,F){var _=M.flags,H=M.children,X;if(_&481){X=M.ref;var q=M.props;st(X);var ee=M.childFlags;if(!k(q))for(var ce=Object.keys(q),pe=0,Te=ce.length;pe0?B(_.componentWillDisappear,rn(F,M)):M.textContent=""}function ft(M,F,_,H){ct(_,H),F.flags&8192?A(F,M,H):mt(M,_,H)}function Et(M,F,_,H,X){M.componentWillDisappear.push(function(q){H&4?F.componentWillDisappear(_,q):H&8&&F.onComponentWillDisappear(_,X,q)})}function an(M){var F=M.event;return function(_){F(M.data,_)}}function cn(M,F,_,H){if(i(_)){if(D(F,_))return;_=an(_)}_e(H,u(M),_)}function ln(M,F,_){if(a(F)){_.removeAttribute("style");return}var H=_.style,X,q;if(f(F)){H.cssText=F;return}if(!a(M)&&!f(M)){for(X in F)q=F[X],q!==M[X]&&H.setProperty(X,q);for(X in M)a(F[X])&&H.removeProperty(X)}else for(X in F)q=F[X],H.setProperty(X,q)}function dn(M,F,_,H,X){var q=M&&M.__html||"",ee=F&&F.__html||"";q!==ee&&!a(ee)&&!Fe(H,ee)&&(k(_)||(_.childFlags&12?ct(_.children,X):_.childFlags===2&&Ze(_.children,X),_.children=null,_.childFlags=1),H.innerHTML=ee)}function vt(M,F,_,H,X,q,ee,ce){switch(M){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":H.autofocus=!!_;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[M]=!!_;break;case"defaultChecked":case"value":case"volume":if(q&&M==="value")break;var pe=a(_)?"":_;H[M]!==pe&&(H[M]=pe);break;case"style":ln(F,_,H);break;case"dangerouslySetInnerHTML":dn(F,_,ee,H,ce);break;default:Le[M]?Re(M,F,_,H):M.charCodeAt(0)===111&&M.charCodeAt(1)===110?cn(M,F,_,H):a(_)?H.removeAttribute(M):X&&Ce[M]?H.setAttributeNS(Ce[M],M,_):H.setAttribute(M,_);break}}function Pt(M,F,_,H,X,q){var ee=!1,ce=(F&448)>0;ce&&(ee=At(_),ee&&tn(F,H,_));for(var pe in _)vt(pe,null,_[pe],H,X,ee,null,q);ce&&xt(F,M,H,_,!0,ee)}function Mt(M,F,_){var H=re(M.render(F,M.state,_)),X=_;return o(M.getChildContext)&&(X=y(_,M.getChildContext())),M.$CX=X,H}function Ot(M,F,_,H,X,q){var ee=new F(_,H),ce=ee.$N=!!(F.getDerivedStateFromProps||ee.getSnapshotBeforeUpdate);if(ee.$SVG=X,ee.$L=q,M.children=ee,ee.$BS=!1,ee.context=H,ee.props===c&&(ee.props=_),ce)ee.state=P(ee,_,ee.state);else if(o(ee.componentWillMount)){ee.$BR=!0,ee.componentWillMount();var pe=ee.$PS;if(!k(pe)){var Te=ee.state;if(k(Te))ee.state=pe;else for(var Be in pe)Te[Be]=pe[Be];ee.$PS=null}ee.$BR=!1}return ee.$LI=Mt(ee,_,H),ee}function gt(M,F){var _=M.props||c;return M.flags&32768?M.type.render(_,M.ref,F):M.type(_,F)}function Ke(M,F,_,H,X,q,ee){var ce=M.flags|=16384;ce&481?Dt(M,F,_,H,X,q,ee):ce&4?mn(M,F,_,H,X,q,ee):ce&8?fn(M,F,_,H,X,q,ee):ce&16?Rt(M,F,X):ce&8192?sn(M,_,F,H,X,q,ee):ce&1024&&un(M,_,F,X,q,ee)}function un(M,F,_,H,X,q){Ke(M.children,M.ref,F,!1,null,X,q);var ee=Q();Rt(ee,_,H),M.dom=ee.dom}function sn(M,F,_,H,X,q,ee){var ce=M.children,pe=M.childFlags;pe&12&&ce.length===0&&(pe=M.childFlags=2,ce=M.children=Q()),pe===2?Ke(ce,_,F,H,X,q,ee):ot(ce,_,F,H,X,q,ee)}function Rt(M,F,_){var H=M.dom=document.createTextNode(M.children);k(F)||l(F,H,_)}function Dt(M,F,_,H,X,q,ee){var ce=M.flags,pe=M.props,Te=M.className,Be=M.childFlags,Ee=M.dom=C(M.type,H=H||(ce&32)>0),Ae=M.children;if(!a(Te)&&Te!==""&&(H?Ee.setAttribute("class",Te):Ee.className=Te),Be===16)R(Ee,Ae);else if(Be!==1){var Pe=H&&M.type!=="foreignObject";Be===2?(Ae.flags&16384&&(M.children=Ae=te(Ae)),Ke(Ae,Ee,_,Pe,null,q,ee)):(Be===8||Be===4)&&ot(Ae,Ee,_,Pe,null,q,ee)}k(F)||l(F,Ee,X),k(pe)||Pt(M,ce,pe,Ee,H,ee),at(M.ref,Ee,q)}function ot(M,F,_,H,X,q,ee){for(var ce=0;cePe)&&(Ee=b(ce[Pe-1],!1).nextSibling)}Nt(Te,Be,ce,pe,_,H,X,Ee,M,q,ee)}function Vn(M,F,_,H,X){var q=M.ref,ee=F.ref,ce=F.children;if(Nt(M.childFlags,F.childFlags,M.children,ce,q,_,!1,null,M,H,X),F.dom=M.dom,q!==ee&&!t(ce)){var pe=ce.dom;v(q,pe),s(ee,pe)}}function bn(M,F,_,H,X,q,ee){var ce=F.dom=M.dom,pe=M.props,Te=F.props,Be=!1,Ee=!1,Ae;if(H=H||(X&32)>0,pe!==Te){var Pe=pe||c;if(Ae=Te||c,Ae!==c){Be=(X&448)>0,Be&&(Ee=At(Ae));for(var We in Ae){var Oe=Pe[We],$e=Ae[We];Oe!==$e&&vt(We,Oe,$e,ce,H,Ee,M,ee)}}if(Pe!==c)for(var De in Pe)a(Ae[De])&&!a(Pe[De])&&vt(De,Pe[De],null,ce,H,Ee,M,ee)}var tt=F.children,Ye=F.className;M.className!==Ye&&(a(Ye)?ce.removeAttribute("class"):H?ce.setAttribute("class",Ye):ce.className=Ye),X&4096?gn(ce,tt):Nt(M.childFlags,F.childFlags,M.children,tt,ce,_,H&&F.type!=="foreignObject",null,M,q,ee),Be&&xt(X,F,ce,Ae,!1,Ee);var it=F.ref,Qe=M.ref;Qe!==it&&(st(Qe),at(it,ce,q))}function yn(M,F,_,H,X,q,ee){Ze(M,ee),ot(F,_,H,X,b(M,!0),q,ee),A(M,_,ee)}function Nt(M,F,_,H,X,q,ee,ce,pe,Te,Be){switch(M){case 2:switch(F){case 2:qe(_,H,X,q,ee,ce,Te,Be);break;case 1:Je(_,X,Be);break;case 16:Ze(_,Be),R(X,H);break;default:yn(_,H,X,q,ee,Te,Be);break}break;case 1:switch(F){case 2:Ke(H,X,q,ee,ce,Te,Be);break;case 1:break;case 16:R(X,H);break;default:ot(H,X,q,ee,ce,Te,Be);break}break;case 16:switch(F){case 16:vn(_,H,X);break;case 2:mt(X,_,Be),Ke(H,X,q,ee,ce,Te,Be);break;case 1:mt(X,_,Be);break;default:mt(X,_,Be),ot(H,X,q,ee,ce,Te,Be);break}break;default:switch(F){case 16:ct(_,Be),R(X,H);break;case 2:ft(X,pe,_,Be),Ke(H,X,q,ee,ce,Te,Be);break;case 1:ft(X,pe,_,Be);break;default:var Ee=_.length|0,Ae=H.length|0;Ee===0?Ae>0&&ot(H,X,q,ee,ce,Te,Be):Ae===0?ft(X,pe,_,Be):F===8&&M===8?wn(_,H,X,q,ee,Ee,Ae,ce,pe,Te,Be):Ln(_,H,X,q,ee,Ee,Ae,ce,Te,Be);break}break}}function kn(M,F,_,H,X){X.push(function(){M.componentDidUpdate(F,_,H)})}function Ut(M,F,_,H,X,q,ee,ce,pe,Te){var Be=M.state,Ee=M.props,Ae=!!M.$N,Pe=o(M.shouldComponentUpdate);if(Ae&&(F=P(M,_,F!==Be?y(Be,F):F)),ee||!Pe||Pe&&M.shouldComponentUpdate(_,F,X)){!Ae&&o(M.componentWillUpdate)&&M.componentWillUpdate(_,F,X),M.props=_,M.state=F,M.context=X;var We=null,Oe=Mt(M,_,X);Ae&&o(M.getSnapshotBeforeUpdate)&&(We=M.getSnapshotBeforeUpdate(Ee,Be)),qe(M.$LI,Oe,H,M.$CX,q,ce,pe,Te),M.$LI=Oe,o(M.componentDidUpdate)&&kn(M,Ee,Be,We,pe)}else M.props=_,M.state=F,M.context=X}function Sn(M,F,_,H,X,q,ee,ce){var pe=F.children=M.children;if(!k(pe)){pe.$L=ee;var Te=F.props||c,Be=F.ref,Ee=M.ref,Ae=pe.state;if(!pe.$N){if(o(pe.componentWillReceiveProps)){if(pe.$BR=!0,pe.componentWillReceiveProps(Te,H),pe.$UN)return;pe.$BR=!1}k(pe.$PS)||(Ae=y(Ae,pe.$PS),pe.$PS=null)}Ut(pe,Ae,Te,_,H,X,!1,q,ee,ce),Ee!==Be&&(st(Ee),at(Be,pe,ee))}}function Bn(M,F,_,H,X,q,ee,ce){var pe=!0,Te=F.props||c,Be=F.ref,Ee=M.props,Ae=!a(Be),Pe=M.children;if(Ae&&o(Be.onComponentShouldUpdate)&&(pe=Be.onComponentShouldUpdate(Ee,Te)),pe!==!1){Ae&&o(Be.onComponentWillUpdate)&&Be.onComponentWillUpdate(Ee,Te);var We=re(gt(F,H));qe(Pe,We,_,H,X,q,ee,ce),F.children=We,Ae&&o(Be.onComponentDidUpdate)&&Be.onComponentDidUpdate(Ee,Te)}else F.children=Pe}function In(M,F){var _=F.children,H=F.dom=M.dom;_!==M.children&&(H.nodeValue=_)}function Ln(M,F,_,H,X,q,ee,ce,pe,Te){for(var Be=q>ee?ee:q,Ee=0,Ae,Pe;Eeee)for(Ee=Be;EeEe||Pe>Ae)break e;We=M[Pe],Oe=F[Pe]}for(We=M[Ee],Oe=F[Ae];We.key===Oe.key;){if(Oe.flags&16384&&(F[Ae]=Oe=te(Oe)),qe(We,Oe,_,H,X,ce,Te,Be),M[Ee]=Oe,Ee--,Ae--,Pe>Ee||Pe>Ae)break e;We=M[Ee],Oe=F[Ae]}}if(Pe>Ee){if(Pe<=Ae)for($e=Ae+1,De=$eAe)for(;Pe<=Ee;)Je(M[Pe++],_,Be);else Tn(M,F,H,q,ee,Ee,Ae,Pe,_,X,ce,pe,Te,Be)}function Tn(M,F,_,H,X,q,ee,ce,pe,Te,Be,Ee,Ae,Pe){var We,Oe,$e=0,De=0,tt=ce,Ye=ce,it=q-ce+1,Qe=ee-ce+1,lt=new Int32Array(Qe+1),nt=it===H,bt=!1,Ge=0,dt=0;if(X<4||(it|Qe)<32)for(De=tt;De<=q;++De)if(We=M[De],dtce?bt=!0:Ge=ce,Oe.flags&16384&&(F[ce]=Oe=te(Oe)),qe(We,Oe,pe,_,Te,Be,Ae,Pe),++dt;break}!nt&&ce>ee&&Je(We,pe,Pe)}else nt||Je(We,pe,Pe);else{var Yt={};for(De=Ye;De<=ee;++De)Yt[F[De].key]=De;for(De=tt;De<=q;++De)if(We=M[De],dttt;)Je(M[tt++],pe,Pe);lt[ce-Ye]=De+1,Ge>ce?bt=!0:Ge=ce,Oe=F[ce],Oe.flags&16384&&(F[ce]=Oe=te(Oe)),qe(We,Oe,pe,_,Te,Be,Ae,Pe),++dt}else nt||Je(We,pe,Pe);else nt||Je(We,pe,Pe)}if(nt)ft(pe,Ee,M,Pe),ot(F,pe,_,Te,Be,Ae,Pe);else if(bt){var Xt=xn(lt);for(ce=Xt.length-1,De=Qe-1;De>=0;De--)lt[De]===0?(Ge=De+Ye,Oe=F[Ge],Oe.flags&16384&&(F[Ge]=Oe=te(Oe)),$e=Ge+1,Ke(Oe,pe,_,Te,$e0&&I(Pe.componentWillMove)}else if(dt!==Qe)for(De=Qe-1;De>=0;De--)lt[De]===0&&(Ge=De+Ye,Oe=F[Ge],Oe.flags&16384&&(F[Ge]=Oe=te(Oe)),$e=Ge+1,Ke(Oe,pe,_,Te,$e_t&&(_t=pe,et=new Int32Array(pe),pt=new Int32Array(pe));_>1,M[et[ce]]0&&(pt[_]=et[q-1]),et[q]=_)}q=X+1;var Te=new Int32Array(q);for(ee=et[q-1];q-- >0;)Te[q]=ee,ee=pt[ee],et[q]=0;return Te}var An=typeof document!="undefined";An&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function zt(M,F,_,H){var X=[],q=new d,ee=F.$V;j.v=!0,a(ee)?a(M)||(M.flags&16384&&(M=te(M)),Ke(M,F,H,!1,null,X,q),F.$V=M,ee=M):a(M)?(Je(ee,F,q),F.$V=null):(M.flags&16384&&(M=te(M)),qe(ee,M,F,H,!1,null,X,q),ee=F.$V=M),p(X),B(q.componentDidAppear),j.v=!1,o(_)&&_(),o(O.renderComplete)&&O.renderComplete(ee,F)}function Ht(M,F,_,H){_===void 0&&(_=null),H===void 0&&(H=c),zt(M,F,_,H)}function En(M){return function(){function F(_,H,X,q){M||(M=_),Ht(H,M,X,q)}return F}()}var ht=[],Pn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(M){window.setTimeout(M,0)},Vt=!1;function Kt(M,F,_,H){var X=M.$PS;if(o(F)&&(F=F(X?y(M.state,X):M.state,M.props,M.context)),a(X))M.$PS=F;else for(var q in F)X[q]=F[q];if(M.$BR)o(_)&&M.$L.push(_.bind(M));else{if(!j.v&&ht.length===0){Gt(M,H),o(_)&&_.call(M);return}if(ht.indexOf(M)===-1&&ht.push(M),H&&(M.$F=!0),Vt||(Vt=!0,Pn($t)),o(_)){var ee=M.$QU;ee||(ee=M.$QU=[]),ee.push(_)}}}function Mn(M){for(var F=M.$QU,_=0;_=0;--U){var z=this.tryEntries[U],K=z.completion;if(z.tryLoc==="root")return W("end");if(z.tryLoc<=this.prev){var $=a.call(z,"catchLoc"),Y=a.call(z,"finallyLoc");if($&&Y){if(this.prev=0;--W){var U=this.tryEntries[W];if(U.tryLoc<=this.prev&&a.call(U,"finallyLoc")&&this.prev=0;--D){var W=this.tryEntries[D];if(W.finallyLoc===R)return this.complete(W.completion,W.afterLoc),x(W),s}}return O}(),catch:function(){function O(R){for(var D=this.tryEntries.length-1;D>=0;--D){var W=this.tryEntries[D];if(W.tryLoc===R){var U=W.completion;if(U.type==="throw"){var z=U.arg;x(W)}return z}}throw new Error("illegal catch attempt")}return O}(),delegateYield:function(){function O(R,D,W){return this.delegate={iterator:P(R),resultName:D,nextLoc:W},this.method==="next"&&(this.arg=o),s}return O}()},n}(w.exports);try{regeneratorRuntime=r}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},30236:function(){"use strict";self.fetch||(self.fetch=function(w,r){return r=r||{},new Promise(function(n,e){var a=new XMLHttpRequest,t=[],o={},f=function(){function k(){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:k,headers:{keys:function(){function S(){return t}return S}(),entries:function(){function S(){return t.map(function(y){return[y,a.getResponseHeader(y)]})}return S}(),get:function(){function S(y){return a.getResponseHeader(y)}return S}(),has:function(){function S(y){return a.getResponseHeader(y)!=null}return S}()}}}return k}();for(var V in a.open(r.method||"get",w,!0),a.onload=function(){a.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(k,S){o[S]||t.push(o[S]=S)}),n(f())},a.onerror=e,a.withCredentials=r.credentials=="include",r.headers)a.setRequestHeader(V,r.headers[V]);a.send(r.body||null)})})},88510:function(w,r){"use strict";r.__esModule=!0,r.zipWith=r.zip=r.uniqBy=r.uniq=r.toKeyedArray=r.toArray=r.sortBy=r.sort=r.reduce=r.range=r.map=r.filterMap=r.filter=void 0;function n(l,C){var g=typeof Symbol!="undefined"&&l[Symbol.iterator]||l["@@iterator"];if(g)return(g=g.call(l)).next.bind(g);if(Array.isArray(l)||(g=e(l))||C&&l&&typeof l.length=="number"){g&&(l=g);var v=0;return function(){return v>=l.length?{done:!0}:{done:!1,value:l[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(l,C){if(l){if(typeof l=="string")return a(l,C);var g={}.toString.call(l).slice(8,-1);return g==="Object"&&l.constructor&&(g=l.constructor.name),g==="Map"||g==="Set"?Array.from(l):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?a(l,C):void 0}}function a(l,C){(C==null||C>l.length)&&(C=l.length);for(var g=0,v=Array(C);gI)return 1}return 0},b=r.sortBy=function(){function l(){for(var C=arguments.length,g=new Array(C),v=0;vI)return 1}return 0},y=r.sortBy=function(){function l(){for(var C=arguments.length,g=new Array(C),v=0;v1?V-1:0),S=1;S1?V-1:0),S=1;S1?S-1:0),h=1;h1?b-1:0),i=1;i1?S-1:0),h=1;h1?y-1:0),i=1;ii?i:b}return S}(),e=r.clamp01=function(){function S(b){return b<0?0:b>1?1:b}return S}(),a=r.scale=function(){function S(b,h,i){return(b-h)/(i-h)}return S}(),t=r.round=function(){function S(b,h){if(!b||isNaN(b))return b;var i,c,m,d;return h|=0,i=Math.pow(10,h),b*=i,d=+(b>0)|-(b<0),m=Math.abs(b%1)>=.4999999999854481,c=Math.floor(b),m&&(b=c+(d>0)),(m?b:Math.round(b))/i}return S}(),o=r.toFixed=function(){function S(b,h){return h===void 0&&(h=0),Number(b).toFixed(Math.max(h,0))}return S}(),f=r.inRange=function(){function S(b,h){return h&&b>=h[0]&&b<=h[1]}return S}(),V=r.keyOfMatchingRange=function(){function S(b,h){for(var i=0,c=Object.keys(h);ii?i:y}return S}(),e=r.clamp01=function(){function S(y){return y<0?0:y>1?1:y}return S}(),a=r.scale=function(){function S(y,h,i){return(y-h)/(i-h)}return S}(),t=r.round=function(){function S(y,h){if(!y||isNaN(y))return y;var i,c,m,d;return h|=0,i=Math.pow(10,h),y*=i,d=+(y>0)|-(y<0),m=Math.abs(y%1)>=.4999999999854481,c=Math.floor(y),m&&(y=c+(d>0)),(m?y:Math.round(y))/i}return S}(),o=r.toFixed=function(){function S(y,h){return h===void 0&&(h=0),Number(y).toFixed(Math.max(h,0))}return S}(),f=r.inRange=function(){function S(y,h){return h&&y>=h[0]&&y<=h[1]}return S}(),V=r.keyOfMatchingRange=function(){function S(y,h){for(var i=0,c=Object.keys(h);i1?d-1:0),s=1;s1?y-1:0),I=1;I=0;--ie){var ue=this.tryEntries[ie],re=ue.completion;if(ue.tryLoc==="root")return fe("end");if(ue.tryLoc<=this.prev){var Se=v.call(ue,"catchLoc"),Ie=v.call(ue,"finallyLoc");if(Se&&Ie){if(this.prev=0;--fe){var ie=this.tryEntries[fe];if(ie.tryLoc<=this.prev&&v.call(ie,"finallyLoc")&&this.prev=0;--oe){var fe=this.tryEntries[oe];if(fe.finallyLoc===Q)return this.complete(fe.completion,fe.afterLoc),me(fe),O}}return te}(),catch:function(){function te(Q){for(var oe=this.tryEntries.length-1;oe>=0;--oe){var fe=this.tryEntries[oe];if(fe.tryLoc===Q){var ie=fe.completion;if(ie.type==="throw"){var ue=ie.arg;me(fe)}return ue}}throw Error("illegal catch attempt")}return te}(),delegateYield:function(){function te(Q,oe,fe){return this.delegate={iterator:ye(Q),resultName:oe,nextLoc:fe},this.method==="next"&&(this.arg=l),O}return te}()},C}function e(l,C,g,v,p,N,y){try{var B=l[N](y),I=B.value}catch(L){return void g(L)}B.done?C(I):Promise.resolve(I).then(v,p)}function a(l){return function(){var C=this,g=arguments;return new Promise(function(v,p){var N=l.apply(C,g);function y(I){e(N,v,p,y,B,"next",I)}function B(I){e(N,v,p,y,B,"throw",I)}y(void 0)})}}/** + */var a=r.createStore=function(){function S(y,h){if(h)return h(S)(y);var i,c=[],m=function(){function s(){return i}return s}(),d=function(){function s(l){c.push(l)}return s}(),u=function(){function s(l){i=y(i,l);for(var C=0;C1?d-1:0),s=1;s1?b-1:0),I=1;I=0;--ie){var ue=this.tryEntries[ie],re=ue.completion;if(ue.tryLoc==="root")return fe("end");if(ue.tryLoc<=this.prev){var Se=v.call(ue,"catchLoc"),Ie=v.call(ue,"finallyLoc");if(Se&&Ie){if(this.prev=0;--fe){var ie=this.tryEntries[fe];if(ie.tryLoc<=this.prev&&v.call(ie,"finallyLoc")&&this.prev=0;--oe){var fe=this.tryEntries[oe];if(fe.finallyLoc===Q)return this.complete(fe.completion,fe.afterLoc),me(fe),O}}return te}(),catch:function(){function te(Q){for(var oe=this.tryEntries.length-1;oe>=0;--oe){var fe=this.tryEntries[oe];if(fe.tryLoc===Q){var ie=fe.completion;if(ie.type==="throw"){var ue=ie.arg;me(fe)}return ue}}throw Error("illegal catch attempt")}return te}(),delegateYield:function(){function te(Q,oe,fe){return this.delegate={iterator:ye(Q),resultName:oe,nextLoc:fe},this.method==="next"&&(this.arg=l),O}return te}()},C}function e(l,C,g,v,p,N,b){try{var B=l[N](b),I=B.value}catch(L){return void g(L)}B.done?C(I):Promise.resolve(I).then(v,p)}function a(l){return function(){var C=this,g=arguments;return new Promise(function(v,p){var N=l.apply(C,g);function b(I){e(N,v,p,b,B,"next",I)}function B(I){e(N,v,p,b,B,"throw",I)}b(void 0)})}}/** * Browser-agnostic abstraction of key-value web storage. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=r.IMPL_HUB_STORAGE=0,o=r.IMPL_INDEXED_DB=1,f=1,V="para-tgui",k="storage-v1",S="readonly",b="readwrite",h=function(C){return function(){try{return!!C()}catch(g){return!1}}},i=h(function(){return window.hubStorage&&window.hubStorage.getItem}),c=h(function(){return(window.indexedDB||window.msIndexedDB)&&(window.IDBTransaction||window.msIDBTransaction)}),m=function(){function l(){this.impl=t}var C=l.prototype;return C.get=function(){function g(v){var p=window.hubStorage.getItem("paradise-"+v);if(typeof p=="string")return JSON.parse(p)}return g}(),C.set=function(){function g(v,p){window.hubStorage.setItem("paradise-"+v,JSON.stringify(p))}return g}(),C.remove=function(){function g(v){window.hubStorage.removeItem("paradise-"+v)}return g}(),C.clear=function(){function g(){window.hubStorage.clear()}return g}(),l}(),d=function(){function l(){this.impl=o,this.dbPromise=new Promise(function(g,v){var p=window.indexedDB||window.msIndexedDB,N=p.open(V,f);N.onupgradeneeded=function(){try{N.result.createObjectStore(k)}catch(y){v(new Error("Failed to upgrade IDB: "+N.error))}},N.onsuccess=function(){return g(N.result)},N.onerror=function(){v(new Error("Failed to open IDB: "+N.error))}})}var C=l.prototype;return C.getStore=function(){function g(v){return this.dbPromise.then(function(p){return p.transaction(k,v).objectStore(k)})}return g}(),C.get=function(){var g=a(n().mark(function(){function p(N){var y;return n().wrap(function(){function B(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,this.getStore(S);case 2:return y=I.sent,I.abrupt("return",new Promise(function(L,T){var A=y.get(N);A.onsuccess=function(){return L(A.result)},A.onerror=function(){return T(A.error)}}));case 4:case"end":return I.stop()}}return B}(),p,this)}return p}()));function v(p){return g.apply(this,arguments)}return v}(),C.set=function(){var g=a(n().mark(function(){function p(N,y){var B;return n().wrap(function(){function I(L){for(;;)switch(L.prev=L.next){case 0:return y===null&&(y=void 0),L.next=3,this.getStore(b);case 3:B=L.sent,B.put(y,N);case 5:case"end":return L.stop()}}return I}(),p,this)}return p}()));function v(p,N){return g.apply(this,arguments)}return v}(),C.remove=function(){var g=a(n().mark(function(){function p(N){var y;return n().wrap(function(){function B(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,this.getStore(b);case 2:y=I.sent,y.delete(N);case 4:case"end":return I.stop()}}return B}(),p,this)}return p}()));function v(p){return g.apply(this,arguments)}return v}(),C.clear=function(){var g=a(n().mark(function(){function p(){var N;return n().wrap(function(){function y(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,this.getStore(b);case 2:N=B.sent,N.clear();case 4:case"end":return B.stop()}}return y}(),p,this)}return p}()));function v(){return g.apply(this,arguments)}return v}(),l}(),u=function(){function l(){this.backendPromise=a(n().mark(function(){function g(){var v;return n().wrap(function(){function p(N){for(;;)switch(N.prev=N.next){case 0:if(!Byond.TRIDENT){N.next=13;break}if(!c()){N.next=11;break}return N.prev=2,v=new d,N.next=6,v.dbPromise;case 6:return N.abrupt("return",v);case 9:N.prev=9,N.t0=N.catch(2);case 11:N.next=15;break;case 13:if(!i()){N.next=15;break}return N.abrupt("return",new m);case 15:case"end":return N.stop()}}return p}(),g,null,[[2,9]])}return g}()))()}var C=l.prototype;return C.get=function(){var g=a(n().mark(function(){function p(N){var y;return n().wrap(function(){function B(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,this.backendPromise;case 2:return y=I.sent,I.abrupt("return",y.get(N));case 4:case"end":return I.stop()}}return B}(),p,this)}return p}()));function v(p){return g.apply(this,arguments)}return v}(),C.set=function(){var g=a(n().mark(function(){function p(N,y){var B;return n().wrap(function(){function I(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,this.backendPromise;case 2:return B=L.sent,L.abrupt("return",B.set(N,y));case 4:case"end":return L.stop()}}return I}(),p,this)}return p}()));function v(p,N){return g.apply(this,arguments)}return v}(),C.remove=function(){var g=a(n().mark(function(){function p(N){var y;return n().wrap(function(){function B(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,this.backendPromise;case 2:return y=I.sent,I.abrupt("return",y.remove(N));case 4:case"end":return I.stop()}}return B}(),p,this)}return p}()));function v(p){return g.apply(this,arguments)}return v}(),C.clear=function(){var g=a(n().mark(function(){function p(){var N;return n().wrap(function(){function y(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,this.backendPromise;case 2:return N=B.sent,B.abrupt("return",N.clear());case 4:case"end":return B.stop()}}return y}(),p,this)}return p}()));function v(){return g.apply(this,arguments)}return v}(),l}(),s=r.storage=new u},25328:function(w,r){"use strict";r.__esModule=!0,r.toTitleCase=r.multiline=r.decodeHtmlEntities=r.createSearch=r.createGlobPattern=r.capitalize=r.buildQueryString=void 0;function n(h,i){var c=typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(c)return(c=c.call(h)).next.bind(c);if(Array.isArray(h)||(c=e(h))||i&&h&&typeof h.length=="number"){c&&(h=c);var m=0;return function(){return m>=h.length?{done:!0}:{done:!1,value:h[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 e(h,i){if(h){if(typeof h=="string")return a(h,i);var c={}.toString.call(h).slice(8,-1);return c==="Object"&&h.constructor&&(c=h.constructor.name),c==="Map"||c==="Set"?Array.from(h):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?a(h,i):void 0}}function a(h,i){(i==null||i>h.length)&&(i=h.length);for(var c=0,m=Array(i);c=h.length?{done:!0}:{done:!1,value:h[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 e(h,i){if(h){if(typeof h=="string")return a(h,i);var c={}.toString.call(h).slice(8,-1);return c==="Object"&&h.constructor&&(c=h.constructor.name),c==="Map"||c==="Set"?Array.from(h):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?a(h,i):void 0}}function a(h,i){(i==null||i>h.length)&&(i=h.length);for(var c=0,m=Array(i);c",apos:"'"};return i.replace(/
/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(c,function(d,u){return m[u]}).replace(/&#?([0-9]+);/gi,function(d,u){var s=parseInt(u,10);return String.fromCharCode(s)}).replace(/&#x?([0-9a-f]+);/gi,function(d,u){var s=parseInt(u,16);return String.fromCharCode(s)})}return h}(),b=r.buildQueryString=function(){function h(i){return Object.keys(i).map(function(c){return encodeURIComponent(c)+"="+encodeURIComponent(i[c])}).join("&")}return h}()},69214:function(w,r){"use strict";r.__esModule=!0,r.throttle=r.sleep=r.debounce=void 0;/** + */var t=r.multiline=function(){function h(i){if(Array.isArray(i))return h(i.join(""));for(var c=i.split("\n"),m,d=n(c),u;!(u=d()).done;)for(var s=u.value,l=0;l",apos:"'"};return i.replace(/
/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(c,function(d,u){return m[u]}).replace(/&#?([0-9]+);/gi,function(d,u){var s=parseInt(u,10);return String.fromCharCode(s)}).replace(/&#x?([0-9a-f]+);/gi,function(d,u){var s=parseInt(u,16);return String.fromCharCode(s)})}return h}(),y=r.buildQueryString=function(){function h(i){return Object.keys(i).map(function(c){return encodeURIComponent(c)+"="+encodeURIComponent(i[c])}).join("&")}return h}()},69214:function(w,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,f,V){V===void 0&&(V=!1);var k;return function(){for(var S=arguments.length,b=new Array(S),h=0;h=f)o.apply(null,h),V=c;else{var m;k=setTimeout(function(){return S.apply(void 0,h)},f-(c-((m=V)!=null?m:0)))}}return S}()}return t}()},97450:function(w,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(88510);/** + */var n=r.debounce=function(){function t(o,f,V){V===void 0&&(V=!1);var k;return function(){for(var S=arguments.length,y=new Array(S),h=0;h=f)o.apply(null,h),V=c;else{var m;k=setTimeout(function(){return S.apply(void 0,h)},f-(c-((m=V)!=null?m:0)))}}return S}()}return t}()},97450:function(w,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(88510);/** * 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},f=function(u,s){return u/s},V=r.vecAdd=function(){function d(){for(var u=arguments.length,s=new Array(u),l=0;l0&&(N.style=x),N}return v}(),C=r.computeBoxClassName=function(){function v(p){var N=p.textColor||p.color,y=p.backgroundColor;return(0,e.classes)([h(N)&&"color-"+N,h(y)&&"color-bg-"+y])}return v}(),g=r.Box=function(){function v(p){var N=p.as,y=N===void 0?"div":N,B=p.className,I=p.children,L=V(p,f);if(typeof I=="function")return I(l(p));var T=typeof B=="string"?B+" "+C(L):C(L),A=l(L);return(0,a.createVNode)(t.VNodeFlags.HtmlElement,y,T,I,t.ChildFlags.UnknownChildren,A)}return v}();g.defaultHooks=e.pureComponentHooks},96184:function(w,r,n){"use strict";r.__esModule=!0,r.ButtonInput=r.ButtonConfirm=r.ButtonCheckbox=r.Button=void 0;var e=n(89005),a=n(35840),t=n(92986),o=n(9394),f=n(55937),V=n(1331),k=n(62147),S=["className","fluid","icon","iconRotation","iconSpin","color","textColor","disabled","selected","tooltip","tooltipPosition","ellipsis","compact","circular","content","iconColor","iconRight","iconStyle","children","onclick","onClick","multiLine"],b=["checked"],h=["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"],i=["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","disabled","multiLine"];/** + */function V(v,p){if(v==null)return{};var N={};for(var b in v)if({}.hasOwnProperty.call(v,b)){if(p.includes(b))continue;N[b]=v[b]}return N}var k=r.unit=function(){function v(p){if(typeof p=="string")return p.endsWith("px")?parseFloat(p)/12+"rem":p;if(typeof p=="number")return p+"rem"}return v}(),S=r.halfUnit=function(){function v(p){if(typeof p=="string")return k(p);if(typeof p=="number")return k(p*.5)}return v}(),y=function(p){return!h(p)},h=function(p){if(typeof p=="string")return o.CSS_COLORS.includes(p)},i=function(p){return function(N,b){(typeof b=="number"||typeof b=="string")&&(N[p]=b)}},c=function(p,N){return function(b,B){(typeof B=="number"||typeof B=="string")&&(b[p]=N(B))}},m=function(p,N){return function(b,B){B&&(b[p]=N)}},d=function(p,N,b){return function(B,I){if(typeof I=="number"||typeof I=="string")for(var L=0;L0&&(N.style=x),N}return v}(),C=r.computeBoxClassName=function(){function v(p){var N=p.textColor||p.color,b=p.backgroundColor;return(0,e.classes)([h(N)&&"color-"+N,h(b)&&"color-bg-"+b])}return v}(),g=r.Box=function(){function v(p){var N=p.as,b=N===void 0?"div":N,B=p.className,I=p.children,L=V(p,f);if(typeof I=="function")return I(l(p));var T=typeof B=="string"?B+" "+C(L):C(L),A=l(L);return(0,a.createVNode)(t.VNodeFlags.HtmlElement,b,T,I,t.ChildFlags.UnknownChildren,A)}return v}();g.defaultHooks=e.pureComponentHooks},96184:function(w,r,n){"use strict";r.__esModule=!0,r.ButtonInput=r.ButtonConfirm=r.ButtonCheckbox=r.Button=void 0;var e=n(89005),a=n(35840),t=n(92986),o=n(9394),f=n(55937),V=n(1331),k=n(62147),S=["className","fluid","icon","iconRotation","iconSpin","color","textColor","disabled","selected","tooltip","tooltipPosition","ellipsis","compact","circular","content","iconColor","iconRight","iconStyle","children","onclick","onClick","multiLine"],y=["checked"],h=["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"],i=["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","disabled","multiLine"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function c(v,p){v.prototype=Object.create(p.prototype),v.prototype.constructor=v,m(v,p)}function m(v,p){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(N,y){return N.__proto__=y,N},m(v,p)}function d(v,p){if(v==null)return{};var N={};for(var y in v)if({}.hasOwnProperty.call(v,y)){if(p.includes(y))continue;N[y]=v[y]}return N}var u=(0,o.createLogger)("Button"),s=r.Button=function(){function v(p){var N=p.className,y=p.fluid,B=p.icon,I=p.iconRotation,L=p.iconSpin,T=p.color,A=p.textColor,x=p.disabled,E=p.selected,M=p.tooltip,j=p.tooltipPosition,O=p.ellipsis,R=p.compact,D=p.circular,W=p.content,U=p.iconColor,H=p.iconRight,K=p.iconStyle,G=p.children,Y=p.onclick,J=p.onClick,Z=p.multiLine,le=d(p,S),ne=!!(W||G);Y&&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"),le.onClick=function(he){!x&&J&&J(he)};var me=(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Box,Object.assign({className:(0,a.classes)(["Button",y&&"Button--fluid",x&&"Button--disabled",E&&"Button--selected",ne&&"Button--hasContent",O&&"Button--ellipsis",D&&"Button--circular",R&&"Button--compact",H&&"Button--iconRight",Z&&"Button--multiLine",T&&typeof T=="string"?"Button--color--"+T:"Button--color--default",N]),tabIndex:!x&&"0",color:A,onKeyDown:function(){function he(ye){var te=window.event?ye.which:ye.keyCode;if(te===t.KEY_SPACE||te===t.KEY_ENTER){ye.preventDefault(),!x&&J&&J(ye);return}if(te===t.KEY_ESCAPE){ye.preventDefault();return}}return he}()},le,{children:[B&&!H&&(0,e.createComponentVNode)(2,V.Icon,{name:B,color:U,rotation:I,spin:L,style:K}),W,G,B&&H&&(0,e.createComponentVNode)(2,V.Icon,{name:B,color:U,rotation:I,spin:L,style:K})]})));return M&&(me=(0,e.createComponentVNode)(2,k.Tooltip,{content:M,position:j,children:me})),me}return v}();s.defaultHooks=a.pureComponentHooks;var l=r.ButtonCheckbox=function(){function v(p){var N=p.checked,y=d(p,b);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({color:"transparent",icon:N?"check-square-o":"square-o",selected:N},y)))}return v}();s.Checkbox=l;var C=r.ButtonConfirm=function(v){function p(){var y;return y=v.call(this)||this,y.handleClick=function(){y.state.clickedOnce&&y.setClickedOnce(!1)},y.state={clickedOnce:!1},y}c(p,v);var N=p.prototype;return N.setClickedOnce=function(){function y(B){var I=this;this.setState({clickedOnce:B}),B?setTimeout(function(){return window.addEventListener("click",I.handleClick)}):window.removeEventListener("click",this.handleClick)}return y}(),N.render=function(){function y(){var B=this,I=this.props,L=I.confirmContent,T=L===void 0?"Confirm?":L,A=I.confirmColor,x=A===void 0?"bad":A,E=I.confirmIcon,M=I.icon,j=I.color,O=I.content,R=I.onClick,D=d(I,h);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({content:this.state.clickedOnce?T:O,icon:this.state.clickedOnce?E:M,color:this.state.clickedOnce?x:j,onClick:function(){function W(U){return B.state.clickedOnce?R==null?void 0:R(U):B.setClickedOnce(!0)}return W}()},D)))}return y}(),p}(e.Component);s.Confirm=C;var g=r.ButtonInput=function(v){function p(){var y;return y=v.call(this)||this,y.inputRef=void 0,y.inputRef=(0,e.createRef)(),y.state={inInput:!1},y}c(p,v);var N=p.prototype;return N.setInInput=function(){function y(B){var I=this.props.disabled;if(!I&&(this.setState({inInput:B}),this.inputRef)){var L=this.inputRef.current;if(B){L.value=this.props.currentValue||"";try{L.focus(),L.select()}catch(T){}}}}return y}(),N.commitResult=function(){function y(B){if(this.inputRef){var I=this.inputRef.current,L=I.value!=="";if(L){this.props.onCommit(B,I.value);return}else{if(!this.props.defaultValue)return;this.props.onCommit(B,this.props.defaultValue)}}}return y}(),N.render=function(){function y(){var B=this,I=this.props,L=I.fluid,T=I.content,A=I.icon,x=I.iconRotation,E=I.iconSpin,M=I.tooltip,j=I.tooltipPosition,O=I.color,R=O===void 0?"default":O,D=I.disabled,W=I.multiLine,U=d(I,i),H=(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Box,Object.assign({className:(0,a.classes)(["Button",L&&"Button--fluid",D&&"Button--disabled","Button--color--"+R,W+"Button--multiLine"])},U,{onClick:function(){function K(){return B.setInInput(!0)}return K}(),children:[A&&(0,e.createComponentVNode)(2,V.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 K(G){B.state.inInput&&(B.setInInput(!1),B.commitResult(G))}return K}(),onKeyDown:function(){function K(G){if(G.keyCode===t.KEY_ENTER){B.setInInput(!1),B.commitResult(G);return}G.keyCode===t.KEY_ESCAPE&&B.setInInput(!1)}return K}()},null,this.inputRef)]})));return M&&(H=(0,e.createComponentVNode)(2,k.Tooltip,{content:M,position:j,children:H})),H}return y}(),p}(e.Component);s.Input=g},18982:function(w,r,n){"use strict";r.__esModule=!0,r.ByondUi=void 0;var e=n(89005),a=n(35840),t=n(69214),o=n(9394),f=n(55937),V=["params"],k=["params"],S=["parent","params"];function b(C,g){if(C==null)return{};var v={};for(var p in C)if({}.hasOwnProperty.call(C,p)){if(g.includes(p))continue;v[p]=C[p]}return v}function h(C,g){C.prototype=Object.create(g.prototype),C.prototype.constructor=C,i(C,g)}function i(C,g){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,p){return v.__proto__=p,v},i(C,g)}/** + */function c(v,p){v.prototype=Object.create(p.prototype),v.prototype.constructor=v,m(v,p)}function m(v,p){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(N,b){return N.__proto__=b,N},m(v,p)}function d(v,p){if(v==null)return{};var N={};for(var b in v)if({}.hasOwnProperty.call(v,b)){if(p.includes(b))continue;N[b]=v[b]}return N}var u=(0,o.createLogger)("Button"),s=r.Button=function(){function v(p){var N=p.className,b=p.fluid,B=p.icon,I=p.iconRotation,L=p.iconSpin,T=p.color,A=p.textColor,x=p.disabled,E=p.selected,P=p.tooltip,j=p.tooltipPosition,O=p.ellipsis,R=p.compact,D=p.circular,W=p.content,U=p.iconColor,z=p.iconRight,K=p.iconStyle,$=p.children,Y=p.onclick,J=p.onClick,Z=p.multiLine,le=d(p,S),ne=!!(W||$);Y&&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"),le.onClick=function(he){!x&&J&&J(he)};var me=(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Box,Object.assign({className:(0,a.classes)(["Button",b&&"Button--fluid",x&&"Button--disabled",E&&"Button--selected",ne&&"Button--hasContent",O&&"Button--ellipsis",D&&"Button--circular",R&&"Button--compact",z&&"Button--iconRight",Z&&"Button--multiLine",T&&typeof T=="string"?"Button--color--"+T:"Button--color--default",N]),tabIndex:!x&&"0",color:A,onKeyDown:function(){function he(ye){var te=window.event?ye.which:ye.keyCode;if(te===t.KEY_SPACE||te===t.KEY_ENTER){ye.preventDefault(),!x&&J&&J(ye);return}if(te===t.KEY_ESCAPE){ye.preventDefault();return}}return he}()},le,{children:[B&&!z&&(0,e.createComponentVNode)(2,V.Icon,{name:B,color:U,rotation:I,spin:L,style:K}),W,$,B&&z&&(0,e.createComponentVNode)(2,V.Icon,{name:B,color:U,rotation:I,spin:L,style:K})]})));return P&&(me=(0,e.createComponentVNode)(2,k.Tooltip,{content:P,position:j,children:me})),me}return v}();s.defaultHooks=a.pureComponentHooks;var l=r.ButtonCheckbox=function(){function v(p){var N=p.checked,b=d(p,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({color:"transparent",icon:N?"check-square-o":"square-o",selected:N},b)))}return v}();s.Checkbox=l;var C=r.ButtonConfirm=function(v){function p(){var b;return b=v.call(this)||this,b.handleClick=function(){b.state.clickedOnce&&b.setClickedOnce(!1)},b.state={clickedOnce:!1},b}c(p,v);var N=p.prototype;return N.setClickedOnce=function(){function b(B){var I=this;this.setState({clickedOnce:B}),B?setTimeout(function(){return window.addEventListener("click",I.handleClick)}):window.removeEventListener("click",this.handleClick)}return b}(),N.render=function(){function b(){var B=this,I=this.props,L=I.confirmContent,T=L===void 0?"Confirm?":L,A=I.confirmColor,x=A===void 0?"bad":A,E=I.confirmIcon,P=I.icon,j=I.color,O=I.content,R=I.onClick,D=d(I,h);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({content:this.state.clickedOnce?T:O,icon:this.state.clickedOnce?E:P,color:this.state.clickedOnce?x:j,onClick:function(){function W(U){return B.state.clickedOnce?R==null?void 0:R(U):B.setClickedOnce(!0)}return W}()},D)))}return b}(),p}(e.Component);s.Confirm=C;var g=r.ButtonInput=function(v){function p(){var b;return b=v.call(this)||this,b.inputRef=void 0,b.inputRef=(0,e.createRef)(),b.state={inInput:!1},b}c(p,v);var N=p.prototype;return N.setInInput=function(){function b(B){var I=this.props.disabled;if(!I&&(this.setState({inInput:B}),this.inputRef)){var L=this.inputRef.current;if(B){L.value=this.props.currentValue||"";try{L.focus(),L.select()}catch(T){}}}}return b}(),N.commitResult=function(){function b(B){if(this.inputRef){var I=this.inputRef.current,L=I.value!=="";if(L){this.props.onCommit(B,I.value);return}else{if(!this.props.defaultValue)return;this.props.onCommit(B,this.props.defaultValue)}}}return b}(),N.render=function(){function b(){var B=this,I=this.props,L=I.fluid,T=I.content,A=I.icon,x=I.iconRotation,E=I.iconSpin,P=I.tooltip,j=I.tooltipPosition,O=I.color,R=O===void 0?"default":O,D=I.disabled,W=I.multiLine,U=d(I,i),z=(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Box,Object.assign({className:(0,a.classes)(["Button",L&&"Button--fluid",D&&"Button--disabled","Button--color--"+R,W+"Button--multiLine"])},U,{onClick:function(){function K(){return B.setInInput(!0)}return K}(),children:[A&&(0,e.createComponentVNode)(2,V.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 K($){B.state.inInput&&(B.setInInput(!1),B.commitResult($))}return K}(),onKeyDown:function(){function K($){if($.keyCode===t.KEY_ENTER){B.setInInput(!1),B.commitResult($);return}$.keyCode===t.KEY_ESCAPE&&B.setInInput(!1)}return K}()},null,this.inputRef)]})));return P&&(z=(0,e.createComponentVNode)(2,k.Tooltip,{content:P,position:j,children:z})),z}return b}(),p}(e.Component);s.Input=g},18982:function(w,r,n){"use strict";r.__esModule=!0,r.ByondUi=void 0;var e=n(89005),a=n(35840),t=n(69214),o=n(9394),f=n(55937),V=["params"],k=["params"],S=["parent","params"];function y(C,g){if(C==null)return{};var v={};for(var p in C)if({}.hasOwnProperty.call(C,p)){if(g.includes(p))continue;v[p]=C[p]}return v}function h(C,g){C.prototype=Object.create(g.prototype),C.prototype.constructor=C,i(C,g)}function i(C,g){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,p){return v.__proto__=p,v},i(C,g)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var c=(0,o.createLogger)("ByondUi"),m=[],d=function(g){var v=m.length;m.push(null);var p=g||"byondui_"+v;return c.log("allocated '"+p+"'"),{render:function(){function N(y){c.log("rendering '"+p+"'"),m[v]=p,Byond.winset(p,y)}return N}(),unmount:function(){function N(){c.log("unmounting '"+p+"'"),m[v]=null,Byond.winset(p,{parent:""})}return N}()}};window.addEventListener("beforeunload",function(){for(var C=0;C0){var O=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,O[1]])}var D=h(j);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({position:"relative"},E,{children:function(){function W(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, -"+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({},U),null,C.ref))}return W}()})))}return l}(),u}(e.Component);i.defaultHooks=t.pureComponentHooks;var c=function(u){return null},m=r.Chart={Line:i}},4796:function(w,r,n){"use strict";r.__esModule=!0,r.Collapsible=void 0;var e=n(89005),a=n(55937),t=n(96184),o=["children","color","title","buttons"];function f(b,h){if(b==null)return{};var i={};for(var c in b)if({}.hasOwnProperty.call(b,c)){if(h.includes(c))continue;i[c]=b[c]}return i}function V(b,h){b.prototype=Object.create(h.prototype),b.prototype.constructor=b,k(b,h)}function k(b,h){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,c){return i.__proto__=c,i},k(b,h)}/** +*/var y=function(u,s,l,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);l!==void 0&&(g[0]=l[0],v[0]=l[1]),C!==void 0&&(g[1]=C[0],v[1]=C[1]);var p=(0,a.map)(function(N){return(0,a.zipWith)(function(b,B,I,L){return(b-B)/(I-B)*L})(N,g,v,s)})(u);return p},h=function(u){for(var s="",l=0;l0){var O=j[0],R=j[j.length-1];j.push([P[0]+x,R[1]]),j.push([P[0]+x,-x]),j.push([-x,-x]),j.push([-x,O[1]])}var D=h(j);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({position:"relative"},E,{children:function(){function W(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:D}),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 W}()})))}return l}(),u}(e.Component);i.defaultHooks=t.pureComponentHooks;var c=function(u){return null},m=r.Chart={Line:i}},4796:function(w,r,n){"use strict";r.__esModule=!0,r.Collapsible=void 0;var e=n(89005),a=n(55937),t=n(96184),o=["children","color","title","buttons"];function f(y,h){if(y==null)return{};var i={};for(var c in y)if({}.hasOwnProperty.call(y,c)){if(h.includes(c))continue;i[c]=y[c]}return i}function V(y,h){y.prototype=Object.create(h.prototype),y.prototype.constructor=y,k(y,h)}function k(y,h){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,c){return i.__proto__=c,i},k(y,h)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var S=r.Collapsible=function(b){function h(c){var m;m=b.call(this,c)||this;var d=c.open;return m.state={open:d||!1},m}V(h,b);var i=h.prototype;return i.render=function(){function c(){var m=this,d=this.props,u=this.state.open,s=d.children,l=d.color,C=l===void 0?"default":l,g=d.title,v=d.buttons,p=f(d,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 N(){return m.setState({open:!u})}return N}()},p,{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}(),h}(e.Component)},88894:function(w,r,n){"use strict";r.__esModule=!0,r.ColorBox=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["content","children","className","color","backgroundColor"];/** +*/var S=r.Collapsible=function(y){function h(c){var m;m=y.call(this,c)||this;var d=c.open;return m.state={open:d||!1},m}V(h,y);var i=h.prototype;return i.render=function(){function c(){var m=this,d=this.props,u=this.state.open,s=d.children,l=d.color,C=l===void 0?"default":l,g=d.title,v=d.buttons,p=f(d,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 N(){return m.setState({open:!u})}return N}()},p,{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}(),h}(e.Component)},88894:function(w,r,n){"use strict";r.__esModule=!0,r.ColorBox=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["content","children","className","color","backgroundColor"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function f(k,S){if(k==null)return{};var b={};for(var h in k)if({}.hasOwnProperty.call(k,h)){if(S.includes(h))continue;b[h]=k[h]}return b}var V=r.ColorBox=function(){function k(S){var b=S.content,h=S.children,i=S.className,c=S.color,m=S.backgroundColor,d=f(S,o);return d.color=b?null:"transparent",d.backgroundColor=c||m,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["ColorBox",i,(0,t.computeBoxClassName)(d)]),b||".",0,Object.assign({},(0,t.computeBoxProps)(d))))}return k}();V.defaultHooks=a.pureComponentHooks},73379:function(w,r,n){"use strict";r.__esModule=!0,r.Countdown=void 0;var e=n(89005),a=n(55937),t=["format"];function o(S,b){if(S==null)return{};var h={};for(var i in S)if({}.hasOwnProperty.call(S,i)){if(b.includes(i))continue;h[i]=S[i]}return h}function f(S,b){S.prototype=Object.create(b.prototype),S.prototype.constructor=S,V(S,b)}function V(S,b){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,i){return h.__proto__=i,h},V(S,b)}var k=r.Countdown=function(S){function b(i){var c;return c=S.call(this,i)||this,c.timer=null,c.state={value:Math.max(i.timeLeft*100,0)},c}f(b,S);var h=b.prototype;return h.tick=function(){function i(){var c=Math.max(this.state.value-this.props.rate,0);c<=0&&clearInterval(this.timer),this.setState(function(m){return{value:c}})}return i}(),h.componentDidMount=function(){function i(){var c=this;this.timer=setInterval(function(){return c.tick()},this.props.rate)}return i}(),h.componentWillUnmount=function(){function i(){clearInterval(this.timer)}return i}(),h.componentDidUpdate=function(){function i(c){var m=this;this.props.current!==c.current&&this.setState(function(d){return{value:Math.max(m.props.timeLeft*100,0)}}),this.timer||this.componentDidMount()}return i}(),h.render=function(){function i(){var c=this.props,m=c.format,d=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"},d,{children:m?m(this.state.value,u):u})))}return i}(),b}(e.Component);k.defaultProps={rate:1e3}},61940:function(w,r,n){"use strict";r.__esModule=!0,r.Dimmer=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","children"];/** + */function f(k,S){if(k==null)return{};var y={};for(var h in k)if({}.hasOwnProperty.call(k,h)){if(S.includes(h))continue;y[h]=k[h]}return y}var V=r.ColorBox=function(){function k(S){var y=S.content,h=S.children,i=S.className,c=S.color,m=S.backgroundColor,d=f(S,o);return d.color=y?null:"transparent",d.backgroundColor=c||m,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["ColorBox",i,(0,t.computeBoxClassName)(d)]),y||".",0,Object.assign({},(0,t.computeBoxProps)(d))))}return k}();V.defaultHooks=a.pureComponentHooks},73379:function(w,r,n){"use strict";r.__esModule=!0,r.Countdown=void 0;var e=n(89005),a=n(55937),t=["format"];function o(S,y){if(S==null)return{};var h={};for(var i in S)if({}.hasOwnProperty.call(S,i)){if(y.includes(i))continue;h[i]=S[i]}return h}function f(S,y){S.prototype=Object.create(y.prototype),S.prototype.constructor=S,V(S,y)}function V(S,y){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,i){return h.__proto__=i,h},V(S,y)}var k=r.Countdown=function(S){function y(i){var c;return c=S.call(this,i)||this,c.timer=null,c.state={value:Math.max(i.timeLeft*100,0)},c}f(y,S);var h=y.prototype;return h.tick=function(){function i(){var c=Math.max(this.state.value-this.props.rate,0);c<=0&&clearInterval(this.timer),this.setState(function(m){return{value:c}})}return i}(),h.componentDidMount=function(){function i(){var c=this;this.timer=setInterval(function(){return c.tick()},this.props.rate)}return i}(),h.componentWillUnmount=function(){function i(){clearInterval(this.timer)}return i}(),h.componentDidUpdate=function(){function i(c){var m=this;this.props.current!==c.current&&this.setState(function(d){return{value:Math.max(m.props.timeLeft*100,0)}}),this.timer||this.componentDidMount()}return i}(),h.render=function(){function i(){var c=this.props,m=c.format,d=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"},d,{children:m?m(this.state.value,u):u})))}return i}(),y}(e.Component);k.defaultProps={rate:1e3}},61940:function(w,r,n){"use strict";r.__esModule=!0,r.Dimmer=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function f(k,S){if(k==null)return{};var b={};for(var h in k)if({}.hasOwnProperty.call(k,h)){if(S.includes(h))continue;b[h]=k[h]}return b}var V=r.Dimmer=function(){function k(S){var b=S.className,h=S.children,i=f(S,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["Dimmer"].concat(b))},i,{children:(0,e.createVNode)(1,"div","Dimmer__inner",h,0)})))}return k}()},13605:function(w,r,n){"use strict";r.__esModule=!0,r.Divider=void 0;var e=n(89005),a=n(35840);/** + */function f(k,S){if(k==null)return{};var y={};for(var h in k)if({}.hasOwnProperty.call(k,h)){if(S.includes(h))continue;y[h]=k[h]}return y}var V=r.Dimmer=function(){function k(S){var y=S.className,h=S.children,i=f(S,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["Dimmer"].concat(y))},i,{children:(0,e.createVNode)(1,"div","Dimmer__inner",h,0)})))}return k}()},13605:function(w,r,n){"use strict";r.__esModule=!0,r.Divider=void 0;var e=n(89005),a=n(35840);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=r.Divider=function(){function o(f){var V=f.vertical,k=f.hidden;return(0,e.createVNode)(1,"div",(0,a.classes)(["Divider",k&&"Divider--hidden",V?"Divider--vertical":"Divider--horizontal"]))}return o}()},20342:function(w,r,n){"use strict";r.__esModule=!0,r.DraggableControl=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(9474);function f(h,i){h.prototype=Object.create(i.prototype),h.prototype.constructor=h,V(h,i)}function V(h,i){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,m){return c.__proto__=m,c},V(h,i)}var k=400,S=function(i,c){return i.screenX*c[0]+i.screenY*c[1]},b=r.DraggableControl=function(h){function i(m){var d;return d=h.call(this,m)||this,d.inputRef=(0,e.createRef)(),d.state={originalValue:m.value,value:m.value,dragging:!1,editing:!1,origin:null,suppressingFlicker:!1},d.flickerTimer=null,d.suppressFlicker=function(){var u=d.props.suppressFlicker;u>0&&(d.setState({suppressingFlicker:!0}),clearTimeout(d.flickerTimer),d.flickerTimer=setTimeout(function(){return d.setState({suppressingFlicker:!1})},u))},d.handleDragStart=function(u){var s=d.props,l=s.value,C=s.dragMatrix,g=s.disabled,v=d.state.editing;v||g||(document.body.style["pointer-events"]="none",d.ref=u.currentTarget,d.setState({originalValue:l,dragging:!1,value:l,origin:S(u,C)}),d.timer=setTimeout(function(){d.setState({dragging:!0})},250),d.dragInterval=setInterval(function(){var p=d.state,N=p.dragging,y=p.value,B=d.props.onDrag;N&&B&&B(u,y)},d.props.updateRate||k),document.addEventListener("mousemove",d.handleDragMove),document.addEventListener("mouseup",d.handleDragEnd))},d.handleDragMove=function(u){var s,l=d.props,C=l.minValue,g=l.maxValue,v=l.step,p=l.dragMatrix,N=l.disabled;if(!N){var y=d.ref.offsetWidth/((g-C)/v),B=(s=d.props.stepPixelSize)!=null?s:y;typeof B=="function"&&(B=B(y)),d.setState(function(I){var L=Object.assign({},I),T=I.origin,A=S(u,p)-T;if(I.dragging){var x=Math.trunc(A/B);L.value=(0,a.clamp)(Math.floor(L.originalValue/v)*v+x*v,C,g)}else Math.abs(A)>4&&(L.dragging=!0);return L})}},d.handleDragEnd=function(u){var s=d.props,l=s.onChange,C=s.onDrag,g=d.state,v=g.dragging,p=g.value;if(document.body.style["pointer-events"]="auto",clearTimeout(d.timer),clearInterval(d.dragInterval),d.setState({originalValue:null,dragging:!1,editing:!v,origin:null}),document.removeEventListener("mousemove",d.handleDragMove),document.removeEventListener("mouseup",d.handleDragEnd),v)d.suppressFlicker(),l&&l(u,p),C&&C(u,p);else if(d.inputRef){var N=d.inputRef.current;N.value=p;try{N.focus(),N.select()}catch(y){}}},d}f(i,h);var c=i.prototype;return c.render=function(){function m(){var d=this,u=this.state,s=u.dragging,l=u.editing,C=u.value,g=u.suppressingFlicker,v=this.props,p=v.animated,N=v.value,y=v.unit,B=v.minValue,I=v.maxValue,L=v.format,T=v.onChange,A=v.onDrag,x=v.children,E=v.height,M=v.lineHeight,j=v.fontSize,O=v.disabled,R=N;(s||g)&&(R=C);var D=function(){function H(K){return K+(y?" "+y:"")}return H}(),W=p&&!s&&!g&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:R,format:L,children:D})||D(L?L(R):R),U=(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:!l||O?"none":void 0,height:E,"line-height":M,"font-size":j},onBlur:function(){function H(K){if(l){var G=(0,a.clamp)(parseFloat(K.target.value),B,I);if(Number.isNaN(G)){d.setState({editing:!1});return}d.setState({editing:!1,value:G}),d.suppressFlicker(),T&&T(K,G),A&&A(K,G)}}return H}(),onKeyDown:function(){function H(K){if(K.keyCode===13){var G=(0,a.clamp)(parseFloat(K.target.value),B,I);if(Number.isNaN(G)){d.setState({editing:!1});return}d.setState({editing:!1,value:G}),d.suppressFlicker(),T&&T(K,G),A&&A(K,G);return}if(K.keyCode===27){d.setState({editing:!1});return}}return H}(),disabled:O},null,this.inputRef);return x({dragging:s,editing:l,value:N,displayValue:R,displayElement:W,inputElement:U,handleDragStart:this.handleDragStart})}return m}(),i}(e.Component);b.defaultHooks=t.pureComponentHooks,b.defaultProps={minValue:-1/0,maxValue:1/0,step:1,suppressFlicker:50,dragMatrix:[1,0]}},87099:function(w,r,n){"use strict";r.__esModule=!0,r.Dropdown=void 0;var e=n(89005),a=n(95996),t=n(35840),o=n(55937),f=n(1331),V=["icon","iconRotation","iconSpin","clipSelectedText","color","dropdownStyle","over","nochevron","width","onClick","onSelected","selected","disabled","displayText"],k=["className"],S;function b(l,C){if(l==null)return{};var g={};for(var v in l)if({}.hasOwnProperty.call(l,v)){if(C.includes(v))continue;g[v]=l[v]}return g}function h(l,C){l.prototype=Object.create(C.prototype),l.prototype.constructor=l,i(l,C)}function i(l,C){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,v){return g.__proto__=v,g},i(l,C)}var c={placement:"left-start",modifiers:[{name:"eventListeners",enabled:!1}]},m={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function l(){return null}return l}()},d="Layout Dropdown__menu",u="Layout Dropdown__menu-scroll",s=r.Dropdown=function(l){function C(v){var p;return p=l.call(this,v)||this,p.menuContents=void 0,p.handleClick=function(){p.state.open&&p.setOpen(!1)},p.state={open:!1,selected:p.props.selected},p.menuContents=null,p}h(C,l);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 p=this.getDOMNode()}return v}(),g.openMenu=function(){function v(){var p=C.renderedMenu;p===void 0&&(p=document.createElement("div"),p.className=d,document.body.appendChild(p),C.renderedMenu=p);var N=this.getDOMNode();C.currentOpenMenu=N,p.scrollTop=0,p.style.width=this.props.menuWidth||N.offsetWidth+"px",p.style.opacity="1",p.style.pointerEvents="auto",setTimeout(function(){var y;(y=C.renderedMenu)==null||y.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 p=this,N=C.renderedMenu;if(N){N.offsetHeight>200?N.className=u:N.className=d;var y=this.props.options,B=y===void 0?[]:y,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",p.state.selected===A&&"selected"]),x,0,{onClick:function(){function E(){p.setSelected(A)}return E}()},A)}),L=I.length?I:"No Options Found";(0,e.render)((0,e.createVNode)(1,"div",null,L,0),N,function(){var T=C.singletonPopper;T===void 0?(T=(0,a.createPopper)(C.virtualElement,N,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(p){var N=this;this.setState(function(y){return Object.assign({},y,{open:p})}),p?setTimeout(function(){N.openMenu(),window.addEventListener("click",N.handleClick)}):(this.closeMenu(),window.removeEventListener("click",this.handleClick))}return v}(),g.setSelected=function(){function v(p){this.setState(function(N){return Object.assign({},N,{selected:p})}),this.setOpen(!1),this.props.onSelected&&this.props.onSelected(p)}return v}(),g.render=function(){function v(){var p=this,N=this.props,y=N.icon,B=N.iconRotation,I=N.iconSpin,L=N.clipSelectedText,T=L===void 0?!0:L,A=N.color,x=A===void 0?"default":A,E=N.dropdownStyle,M=N.over,j=N.nochevron,O=N.width,R=N.onClick,D=N.onSelected,W=N.selected,U=N.disabled,H=N.displayText,K=b(N,V),G=K.className,Y=b(K,k),J=M?!this.state.open:this.state.open;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({width:O,className:(0,t.classes)(["Dropdown__control","Button","Button--color--"+x,U&&"Button--disabled",G]),onClick:function(){function Z(le){U&&!p.state.open||(p.setOpen(!p.state.open),R&&R(le))}return Z}()},Y,{children:[y&&(0,e.createComponentVNode)(2,f.Icon,{name:y,rotation:B,spin:I,mr:1}),(0,e.createVNode)(1,"span","Dropdown__selected-text",H||this.state.selected,0,{style:{overflow:T?"hidden":"visible"}}),j||(0,e.createVNode)(1,"span","Dropdown__arrow-button",(0,e.createComponentVNode)(2,f.Icon,{name:J?"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 l(){var C,g;return(C=(g=S.currentOpenMenu)==null?void 0:g.getBoundingClientRect())!=null?C:m}return l}()}},39473:function(w,r,n){"use strict";r.__esModule=!0,r.computeFlexProps=r.computeFlexItemProps=r.computeFlexItemClassName=r.computeFlexClassName=r.Flex=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","direction","wrap","align","justify","inline","style"],f=["className"],V=["className","style","grow","order","shrink","basis","align"],k=["className"];/** + */var t=r.Divider=function(){function o(f){var V=f.vertical,k=f.hidden;return(0,e.createVNode)(1,"div",(0,a.classes)(["Divider",k&&"Divider--hidden",V?"Divider--vertical":"Divider--horizontal"]))}return o}()},20342:function(w,r,n){"use strict";r.__esModule=!0,r.DraggableControl=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(9474);function f(h,i){h.prototype=Object.create(i.prototype),h.prototype.constructor=h,V(h,i)}function V(h,i){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,m){return c.__proto__=m,c},V(h,i)}var k=400,S=function(i,c){return i.screenX*c[0]+i.screenY*c[1]},y=r.DraggableControl=function(h){function i(m){var d;return d=h.call(this,m)||this,d.inputRef=(0,e.createRef)(),d.state={originalValue:m.value,value:m.value,dragging:!1,editing:!1,origin:null,suppressingFlicker:!1},d.flickerTimer=null,d.suppressFlicker=function(){var u=d.props.suppressFlicker;u>0&&(d.setState({suppressingFlicker:!0}),clearTimeout(d.flickerTimer),d.flickerTimer=setTimeout(function(){return d.setState({suppressingFlicker:!1})},u))},d.handleDragStart=function(u){var s=d.props,l=s.value,C=s.dragMatrix,g=s.disabled,v=d.state.editing;v||g||(document.body.style["pointer-events"]="none",d.ref=u.currentTarget,d.setState({originalValue:l,dragging:!1,value:l,origin:S(u,C)}),d.timer=setTimeout(function(){d.setState({dragging:!0})},250),d.dragInterval=setInterval(function(){var p=d.state,N=p.dragging,b=p.value,B=d.props.onDrag;N&&B&&B(u,b)},d.props.updateRate||k),document.addEventListener("mousemove",d.handleDragMove),document.addEventListener("mouseup",d.handleDragEnd))},d.handleDragMove=function(u){var s,l=d.props,C=l.minValue,g=l.maxValue,v=l.step,p=l.dragMatrix,N=l.disabled;if(!N){var b=d.ref.offsetWidth/((g-C)/v),B=(s=d.props.stepPixelSize)!=null?s:b;typeof B=="function"&&(B=B(b)),d.setState(function(I){var L=Object.assign({},I),T=I.origin,A=S(u,p)-T;if(I.dragging){var x=Math.trunc(A/B);L.value=(0,a.clamp)(Math.floor(L.originalValue/v)*v+x*v,C,g)}else Math.abs(A)>4&&(L.dragging=!0);return L})}},d.handleDragEnd=function(u){var s=d.props,l=s.onChange,C=s.onDrag,g=d.state,v=g.dragging,p=g.value;if(document.body.style["pointer-events"]="auto",clearTimeout(d.timer),clearInterval(d.dragInterval),d.setState({originalValue:null,dragging:!1,editing:!v,origin:null}),document.removeEventListener("mousemove",d.handleDragMove),document.removeEventListener("mouseup",d.handleDragEnd),v)d.suppressFlicker(),l&&l(u,p),C&&C(u,p);else if(d.inputRef){var N=d.inputRef.current;N.value=p;try{N.focus(),N.select()}catch(b){}}},d}f(i,h);var c=i.prototype;return c.render=function(){function m(){var d=this,u=this.state,s=u.dragging,l=u.editing,C=u.value,g=u.suppressingFlicker,v=this.props,p=v.animated,N=v.value,b=v.unit,B=v.minValue,I=v.maxValue,L=v.format,T=v.onChange,A=v.onDrag,x=v.children,E=v.height,P=v.lineHeight,j=v.fontSize,O=v.disabled,R=N;(s||g)&&(R=C);var D=function(){function z(K){return K+(b?" "+b:"")}return z}(),W=p&&!s&&!g&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:R,format:L,children:D})||D(L?L(R):R),U=(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:!l||O?"none":void 0,height:E,"line-height":P,"font-size":j},onBlur:function(){function z(K){if(l){var $=(0,a.clamp)(parseFloat(K.target.value),B,I);if(Number.isNaN($)){d.setState({editing:!1});return}d.setState({editing:!1,value:$}),d.suppressFlicker(),T&&T(K,$),A&&A(K,$)}}return z}(),onKeyDown:function(){function z(K){if(K.keyCode===13){var $=(0,a.clamp)(parseFloat(K.target.value),B,I);if(Number.isNaN($)){d.setState({editing:!1});return}d.setState({editing:!1,value:$}),d.suppressFlicker(),T&&T(K,$),A&&A(K,$);return}if(K.keyCode===27){d.setState({editing:!1});return}}return z}(),disabled:O},null,this.inputRef);return x({dragging:s,editing:l,value:N,displayValue:R,displayElement:W,inputElement:U,handleDragStart:this.handleDragStart})}return m}(),i}(e.Component);y.defaultHooks=t.pureComponentHooks,y.defaultProps={minValue:-1/0,maxValue:1/0,step:1,suppressFlicker:50,dragMatrix:[1,0]}},87099:function(w,r,n){"use strict";r.__esModule=!0,r.Dropdown=void 0;var e=n(89005),a=n(95996),t=n(35840),o=n(55937),f=n(1331),V=["icon","iconRotation","iconSpin","clipSelectedText","color","dropdownStyle","over","nochevron","width","onClick","onSelected","selected","disabled","displayText"],k=["className"],S;function y(l,C){if(l==null)return{};var g={};for(var v in l)if({}.hasOwnProperty.call(l,v)){if(C.includes(v))continue;g[v]=l[v]}return g}function h(l,C){l.prototype=Object.create(C.prototype),l.prototype.constructor=l,i(l,C)}function i(l,C){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,v){return g.__proto__=v,g},i(l,C)}var c={placement:"left-start",modifiers:[{name:"eventListeners",enabled:!1}]},m={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function l(){return null}return l}()},d="Layout Dropdown__menu",u="Layout Dropdown__menu-scroll",s=r.Dropdown=function(l){function C(v){var p;return p=l.call(this,v)||this,p.menuContents=void 0,p.handleClick=function(){p.state.open&&p.setOpen(!1)},p.state={open:!1,selected:p.props.selected},p.menuContents=null,p}h(C,l);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 p=this.getDOMNode()}return v}(),g.openMenu=function(){function v(){var p=C.renderedMenu;p===void 0&&(p=document.createElement("div"),p.className=d,document.body.appendChild(p),C.renderedMenu=p);var N=this.getDOMNode();C.currentOpenMenu=N,p.scrollTop=0,p.style.width=this.props.menuWidth||N.offsetWidth+"px",p.style.opacity="1",p.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 p=this,N=C.renderedMenu;if(N){N.offsetHeight>200?N.className=u:N.className=d;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",p.state.selected===A&&"selected"]),x,0,{onClick:function(){function E(){p.setSelected(A)}return E}()},A)}),L=I.length?I:"No Options Found";(0,e.render)((0,e.createVNode)(1,"div",null,L,0),N,function(){var T=C.singletonPopper;T===void 0?(T=(0,a.createPopper)(C.virtualElement,N,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(p){var N=this;this.setState(function(b){return Object.assign({},b,{open:p})}),p?setTimeout(function(){N.openMenu(),window.addEventListener("click",N.handleClick)}):(this.closeMenu(),window.removeEventListener("click",this.handleClick))}return v}(),g.setSelected=function(){function v(p){this.setState(function(N){return Object.assign({},N,{selected:p})}),this.setOpen(!1),this.props.onSelected&&this.props.onSelected(p)}return v}(),g.render=function(){function v(){var p=this,N=this.props,b=N.icon,B=N.iconRotation,I=N.iconSpin,L=N.clipSelectedText,T=L===void 0?!0:L,A=N.color,x=A===void 0?"default":A,E=N.dropdownStyle,P=N.over,j=N.nochevron,O=N.width,R=N.onClick,D=N.onSelected,W=N.selected,U=N.disabled,z=N.displayText,K=y(N,V),$=K.className,Y=y(K,k),J=P?!this.state.open:this.state.open;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({width:O,className:(0,t.classes)(["Dropdown__control","Button","Button--color--"+x,U&&"Button--disabled",$]),onClick:function(){function Z(le){U&&!p.state.open||(p.setOpen(!p.state.open),R&&R(le))}return Z}()},Y,{children:[b&&(0,e.createComponentVNode)(2,f.Icon,{name:b,rotation:B,spin:I,mr:1}),(0,e.createVNode)(1,"span","Dropdown__selected-text",z||this.state.selected,0,{style:{overflow:T?"hidden":"visible"}}),j||(0,e.createVNode)(1,"span","Dropdown__arrow-button",(0,e.createComponentVNode)(2,f.Icon,{name:J?"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 l(){var C,g;return(C=(g=S.currentOpenMenu)==null?void 0:g.getBoundingClientRect())!=null?C:m}return l}()}},39473:function(w,r,n){"use strict";r.__esModule=!0,r.computeFlexProps=r.computeFlexItemProps=r.computeFlexItemClassName=r.computeFlexClassName=r.Flex=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","direction","wrap","align","justify","inline","style"],f=["className"],V=["className","style","grow","order","shrink","basis","align"],k=["className"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function S(u,s){if(u==null)return{};var l={};for(var C in u)if({}.hasOwnProperty.call(u,C)){if(s.includes(C))continue;l[C]=u[C]}return l}var b=r.computeFlexClassName=function(){function u(s){return(0,a.classes)(["Flex",s.inline&&"Flex--inline",(0,t.computeBoxClassName)(s)])}return u}(),h=r.computeFlexProps=function(){function u(s){var l=s.className,C=s.direction,g=s.wrap,v=s.align,p=s.justify,N=s.inline,y=s.style,B=S(s,o);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},y,{"flex-direction":C,"flex-wrap":g===!0?"wrap":g,"align-items":v,"justify-content":p})},B))}return u}(),i=r.Flex=function(){function u(s){var l=s.className,C=S(s,f);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([l,b(C)]),null,1,Object.assign({},h(C))))}return u}();i.defaultHooks=a.pureComponentHooks;var c=r.computeFlexItemClassName=function(){function u(s){return(0,a.classes)(["Flex__item",(0,t.computeBoxClassName)(s)])}return u}(),m=r.computeFlexItemProps=function(){function u(s){var l=s.className,C=s.style,g=s.grow,v=s.order,p=s.shrink,N=s.basis,y=N===void 0?s.width:N,B=s.align,I=S(s,V);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},C,{"flex-grow":g!==void 0&&Number(g),"flex-shrink":p!==void 0&&Number(p),"flex-basis":(0,t.unit)(y),order:v,"align-self":B})},I))}return u}(),d=function(s){var l=s.className,C=S(s,k);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([l,c(s)]),null,1,Object.assign({},m(C))))};d.defaultHooks=a.pureComponentHooks,i.Item=d},79646:function(w,r,n){"use strict";r.__esModule=!0,r.GridColumn=r.Grid=void 0;var e=n(89005),a=n(36352),t=n(35840),o=["children"],f=["size","style"];/** + */function S(u,s){if(u==null)return{};var l={};for(var C in u)if({}.hasOwnProperty.call(u,C)){if(s.includes(C))continue;l[C]=u[C]}return l}var y=r.computeFlexClassName=function(){function u(s){return(0,a.classes)(["Flex",s.inline&&"Flex--inline",(0,t.computeBoxClassName)(s)])}return u}(),h=r.computeFlexProps=function(){function u(s){var l=s.className,C=s.direction,g=s.wrap,v=s.align,p=s.justify,N=s.inline,b=s.style,B=S(s,o);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},b,{"flex-direction":C,"flex-wrap":g===!0?"wrap":g,"align-items":v,"justify-content":p})},B))}return u}(),i=r.Flex=function(){function u(s){var l=s.className,C=S(s,f);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([l,y(C)]),null,1,Object.assign({},h(C))))}return u}();i.defaultHooks=a.pureComponentHooks;var c=r.computeFlexItemClassName=function(){function u(s){return(0,a.classes)(["Flex__item",(0,t.computeBoxClassName)(s)])}return u}(),m=r.computeFlexItemProps=function(){function u(s){var l=s.className,C=s.style,g=s.grow,v=s.order,p=s.shrink,N=s.basis,b=N===void 0?s.width:N,B=s.align,I=S(s,V);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},C,{"flex-grow":g!==void 0&&Number(g),"flex-shrink":p!==void 0&&Number(p),"flex-basis":(0,t.unit)(b),order:v,"align-self":B})},I))}return u}(),d=function(s){var l=s.className,C=S(s,k);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([l,c(s)]),null,1,Object.assign({},m(C))))};d.defaultHooks=a.pureComponentHooks,i.Item=d},79646:function(w,r,n){"use strict";r.__esModule=!0,r.GridColumn=r.Grid=void 0;var e=n(89005),a=n(36352),t=n(35840),o=["children"],f=["size","style"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function V(b,h){if(b==null)return{};var i={};for(var c in b)if({}.hasOwnProperty.call(b,c)){if(h.includes(c))continue;i[c]=b[c]}return i}var k=r.Grid=function(){function b(h){var i=h.children,c=V(h,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table,Object.assign({},c,{children:(0,e.createComponentVNode)(2,a.Table.Row,{children:i})})))}return b}();k.defaultHooks=t.pureComponentHooks;var S=r.GridColumn=function(){function b(h){var i=h.size,c=i===void 0?1:i,m=h.style,d=V(h,f);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table.Cell,Object.assign({style:Object.assign({width:c+"%"},m)},d)))}return b}();k.defaultHooks=t.pureComponentHooks,k.Column=S},1331:function(w,r,n){"use strict";r.__esModule=!0,r.IconStack=r.Icon=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["name","size","spin","className","style","rotation","inverse"],f=["className","style","children"];/** + */function V(y,h){if(y==null)return{};var i={};for(var c in y)if({}.hasOwnProperty.call(y,c)){if(h.includes(c))continue;i[c]=y[c]}return i}var k=r.Grid=function(){function y(h){var i=h.children,c=V(h,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table,Object.assign({},c,{children:(0,e.createComponentVNode)(2,a.Table.Row,{children:i})})))}return y}();k.defaultHooks=t.pureComponentHooks;var S=r.GridColumn=function(){function y(h){var i=h.size,c=i===void 0?1:i,m=h.style,d=V(h,f);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table.Cell,Object.assign({style:Object.assign({width:c+"%"},m)},d)))}return y}();k.defaultHooks=t.pureComponentHooks,k.Column=S},1331:function(w,r,n){"use strict";r.__esModule=!0,r.IconStack=r.Icon=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["name","size","spin","className","style","rotation","inverse"],f=["className","style","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function V(h,i){if(h==null)return{};var c={};for(var m in h)if({}.hasOwnProperty.call(h,m)){if(i.includes(m))continue;c[m]=h[m]}return c}var k=/-o$/,S=r.Icon=function(){function h(i){var c=i.name,m=i.size,d=i.spin,u=i.className,s=i.style,l=s===void 0?{}:s,C=i.rotation,g=i.inverse,v=V(i,o);m&&(l["font-size"]=m*100+"%"),typeof C=="number"&&(l.transform="rotate("+C+"deg)");var p=k.test(c),N=c.replace(k,"");return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"i",className:(0,a.classes)(["Icon",u,p?"far":"fas","fa-"+N,d&&"fa-spin"]),style:l},v)))}return h}();S.defaultHooks=a.pureComponentHooks;var b=r.IconStack=function(){function h(i){var c=i.className,m=i.style,d=m===void 0?{}:m,u=i.children,s=V(i,f);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"span",class:(0,a.classes)(["IconStack",c]),style:d},s,{children:u})))}return h}();S.Stack=b},66393:function(w,r,n){"use strict";r.__esModule=!0,r.ImageButtonItem=r.ImageButton=void 0;var e=n(89005),a=n(79140),t=n(35840),o=n(55937),f=n(1331),V=n(62147),k=["className","asset","color","title","vertical","content","selected","disabled","disabledContent","image","imageUrl","imageAsset","imageSize","tooltip","tooltipPosition","ellipsis","children","onClick"],S=["className","color","content","horizontal","selected","disabled","disabledContent","tooltip","tooltipPosition","icon","iconColor","iconPosition","iconRotation","iconSize","onClick","children"];/** + */function V(h,i){if(h==null)return{};var c={};for(var m in h)if({}.hasOwnProperty.call(h,m)){if(i.includes(m))continue;c[m]=h[m]}return c}var k=/-o$/,S=r.Icon=function(){function h(i){var c=i.name,m=i.size,d=i.spin,u=i.className,s=i.style,l=s===void 0?{}:s,C=i.rotation,g=i.inverse,v=V(i,o);m&&(l["font-size"]=m*100+"%"),typeof C=="number"&&(l.transform="rotate("+C+"deg)");var p=k.test(c),N=c.replace(k,"");return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"i",className:(0,a.classes)(["Icon",u,p?"far":"fas","fa-"+N,d&&"fa-spin"]),style:l},v)))}return h}();S.defaultHooks=a.pureComponentHooks;var y=r.IconStack=function(){function h(i){var c=i.className,m=i.style,d=m===void 0?{}:m,u=i.children,s=V(i,f);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"span",class:(0,a.classes)(["IconStack",c]),style:d},s,{children:u})))}return h}();S.Stack=y},66393:function(w,r,n){"use strict";r.__esModule=!0,r.ImageButtonItem=r.ImageButton=void 0;var e=n(89005),a=n(79140),t=n(35840),o=n(55937),f=n(1331),V=n(62147),k=["className","asset","color","title","vertical","content","selected","disabled","disabledContent","image","imageUrl","imageAsset","imageSize","tooltip","tooltipPosition","ellipsis","children","onClick"],S=["className","color","content","horizontal","selected","disabled","disabledContent","tooltip","tooltipPosition","icon","iconColor","iconPosition","iconRotation","iconSize","onClick","children"];/** * @file * @copyright 2024 Aylong (https://github.com/AyIong) * @license MIT - */function b(c,m){if(c==null)return{};var d={};for(var u in c)if({}.hasOwnProperty.call(c,u)){if(m.includes(u))continue;d[u]=c[u]}return d}var h=r.ImageButton=function(){function c(m){var d=m.className,u=m.asset,s=m.color,l=m.title,C=m.vertical,g=m.content,v=m.selected,p=m.disabled,N=m.disabledContent,y=m.image,B=m.imageUrl,I=m.imageAsset,L=m.imageSize,T=m.tooltip,A=m.tooltipPosition,x=m.ellipsis,E=m.children,M=m.onClick,j=b(m,k);j.onClick=function(R){!p&&M&&M(R)};var O=(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)([C?"ImageButton__vertical":"ImageButton__horizontal",v&&"ImageButton--selected",p&&"ImageButton--disabled",s&&typeof s=="string"?M?"ImageButton--color--clickable--"+s:"ImageButton--color--"+s:M?"ImageButton--color--default--clickable":"ImageButton--color--default",d,(0,o.computeBoxClassName)(j)]),[(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__image"]),u?(0,e.createVNode)(1,"div",(0,t.classes)([I,y])):(0,e.createVNode)(1,"img",null,null,1,{src:B?(0,a.resolveAsset)(B):"data:image/jpeg;base64,"+y,style:{width:L,height:L,"-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),0),g&&(C?(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__vertical",x&&"ImageButton__content--ellipsis",v&&"ImageButton__content--selected",p&&"ImageButton__content--disabled",s&&typeof s=="string"?"ImageButton__content--color--"+s:"ImageButton__content--color--default",d,(0,o.computeBoxClassName)(j)]),p&&N?N:g,0):(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal"]),[l&&(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal--title"]),[l,(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal--divider"]))],0),(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal--content"]),g,0)],0))],0,Object.assign({tabIndex:!p&&"0"},(0,o.computeBoxProps)(j))));return T&&(O=(0,e.createComponentVNode)(2,V.Tooltip,{content:T,position:A,children:O})),(0,e.createVNode)(1,"div",(0,t.classes)([C?"ImageButton--vertical":"ImageButton--horizontal"]),[O,E],0)}return c}();h.defaultHooks=t.pureComponentHooks;var i=r.ImageButtonItem=function(){function c(m){var d=m.className,u=m.color,s=m.content,l=m.horizontal,C=m.selected,g=m.disabled,v=m.disabledContent,p=m.tooltip,N=m.tooltipPosition,y=m.icon,B=m.iconColor,I=m.iconPosition,L=m.iconRotation,T=m.iconSize,A=m.onClick,x=m.children,E=b(m,S);E.onClick=function(j){!g&&A&&A(j)};var M=(0,e.createVNode)(1,"div",null,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__item",C&&"ImageButton__item--selected",g&&"ImageButton__item--disabled",u&&typeof u=="string"?"ImageButton__item--color--"+u:"ImageButton__item--color--default",d,(0,o.computeBoxClassName)(E)]),(0,e.createVNode)(1,"div",(0,t.classes)([l&&"ImageButton__item--icon--horizontal",(0,o.computeBoxClassName)(E),d]),[y&&(I==="top"||I==="left")&&(0,e.createComponentVNode)(2,f.Icon,{mb:.5,name:y,color:B,rotation:L,size:T}),(0,e.createVNode)(1,"div",null,[g&&v?v:s,x],0),y&&!(I==="top"||I==="left")&&(0,e.createComponentVNode)(2,f.Icon,{mt:.5,name:y,color:B,rotation:L,size:T})],0),2,Object.assign({tabIndex:!g&&"0"},(0,o.computeBoxProps)(E)))),2);return p&&(M=(0,e.createComponentVNode)(2,V.Tooltip,{content:p,position:N,children:M})),M}return c}();h.Item=i},79652:function(w,r,n){"use strict";r.__esModule=!0,r.toInputValue=r.Input=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(92986),f=["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus","disabled","multiline","cols","rows"],V=["className","fluid","monospace"];function k(c,m){if(c==null)return{};var d={};for(var u in c)if({}.hasOwnProperty.call(c,u)){if(m.includes(u))continue;d[u]=c[u]}return d}function S(c,m){c.prototype=Object.create(m.prototype),c.prototype.constructor=c,b(c,m)}function b(c,m){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,u){return d.__proto__=u,d},b(c,m)}/** + */function y(c,m){if(c==null)return{};var d={};for(var u in c)if({}.hasOwnProperty.call(c,u)){if(m.includes(u))continue;d[u]=c[u]}return d}var h=r.ImageButton=function(){function c(m){var d=m.className,u=m.asset,s=m.color,l=m.title,C=m.vertical,g=m.content,v=m.selected,p=m.disabled,N=m.disabledContent,b=m.image,B=m.imageUrl,I=m.imageAsset,L=m.imageSize,T=m.tooltip,A=m.tooltipPosition,x=m.ellipsis,E=m.children,P=m.onClick,j=y(m,k);j.onClick=function(R){!p&&P&&P(R)};var O=(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)([C?"ImageButton__vertical":"ImageButton__horizontal",v&&"ImageButton--selected",p&&"ImageButton--disabled",s&&typeof s=="string"?P?"ImageButton--color--clickable--"+s:"ImageButton--color--"+s:P?"ImageButton--color--default--clickable":"ImageButton--color--default",d,(0,o.computeBoxClassName)(j)]),[(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__image"]),u?(0,e.createVNode)(1,"div",(0,t.classes)([I,b])):(0,e.createVNode)(1,"img",null,null,1,{src:B?(0,a.resolveAsset)(B):"data:image/jpeg;base64,"+b,style:{width:L,height:L,"-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),0),g&&(C?(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__vertical",x&&"ImageButton__content--ellipsis",v&&"ImageButton__content--selected",p&&"ImageButton__content--disabled",s&&typeof s=="string"?"ImageButton__content--color--"+s:"ImageButton__content--color--default",d,(0,o.computeBoxClassName)(j)]),p&&N?N:g,0):(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal"]),[l&&(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal--title"]),[l,(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal--divider"]))],0),(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal--content"]),g,0)],0))],0,Object.assign({tabIndex:!p&&"0"},(0,o.computeBoxProps)(j))));return T&&(O=(0,e.createComponentVNode)(2,V.Tooltip,{content:T,position:A,children:O})),(0,e.createVNode)(1,"div",(0,t.classes)([C?"ImageButton--vertical":"ImageButton--horizontal"]),[O,E],0)}return c}();h.defaultHooks=t.pureComponentHooks;var i=r.ImageButtonItem=function(){function c(m){var d=m.className,u=m.color,s=m.content,l=m.horizontal,C=m.selected,g=m.disabled,v=m.disabledContent,p=m.tooltip,N=m.tooltipPosition,b=m.icon,B=m.iconColor,I=m.iconPosition,L=m.iconRotation,T=m.iconSize,A=m.onClick,x=m.children,E=y(m,S);E.onClick=function(j){!g&&A&&A(j)};var P=(0,e.createVNode)(1,"div",null,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__item",C&&"ImageButton__item--selected",g&&"ImageButton__item--disabled",u&&typeof u=="string"?"ImageButton__item--color--"+u:"ImageButton__item--color--default",d,(0,o.computeBoxClassName)(E)]),(0,e.createVNode)(1,"div",(0,t.classes)([l&&"ImageButton__item--icon--horizontal",(0,o.computeBoxClassName)(E),d]),[b&&(I==="top"||I==="left")&&(0,e.createComponentVNode)(2,f.Icon,{mb:.5,name:b,color:B,rotation:L,size:T}),(0,e.createVNode)(1,"div",null,[g&&v?v:s,x],0),b&&!(I==="top"||I==="left")&&(0,e.createComponentVNode)(2,f.Icon,{mt:.5,name:b,color:B,rotation:L,size:T})],0),2,Object.assign({tabIndex:!g&&"0"},(0,o.computeBoxProps)(E)))),2);return p&&(P=(0,e.createComponentVNode)(2,V.Tooltip,{content:p,position:N,children:P})),P}return c}();h.Item=i},79652:function(w,r,n){"use strict";r.__esModule=!0,r.toInputValue=r.Input=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(92986),f=["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus","disabled","multiline","cols","rows"],V=["className","fluid","monospace"];function k(c,m){if(c==null)return{};var d={};for(var u in c)if({}.hasOwnProperty.call(c,u)){if(m.includes(u))continue;d[u]=c[u]}return d}function S(c,m){c.prototype=Object.create(m.prototype),c.prototype.constructor=c,y(c,m)}function y(c,m){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,u){return d.__proto__=u,d},y(c,m)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var h=r.toInputValue=function(){function c(m){return typeof m!="number"&&typeof m!="string"?"":String(m)}return c}(),i=r.Input=function(c){function m(){var u;return u=c.call(this)||this,u.inputRef=(0,e.createRef)(),u.state={editing:!1},u.handleInput=function(s){var l=u.state.editing,C=u.props.onInput;l||u.setEditing(!0),C&&C(s,s.target.value)},u.handleFocus=function(s){var l=u.state.editing;l||u.setEditing(!0)},u.handleBlur=function(s){var l=u.state.editing,C=u.props.onChange;l&&(u.setEditing(!1),C&&C(s,s.target.value))},u.handleKeyDown=function(s){var l=u.props,C=l.onInput,g=l.onChange,v=l.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=h(u.props.value),s.target.blur();return}},u}S(m,c);var d=m.prototype;return d.componentDidMount=function(){function u(){var s=this,l=this.props.value,C=this.inputRef.current;C&&(C.value=h(l),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}(),d.componentDidUpdate=function(){function u(s,l){var C=this.state.editing,g=s.value,v=this.props.value,p=this.inputRef.current;p&&!C&&g!==v&&(p.value=h(v))}return u}(),d.setEditing=function(){function u(s){this.setState({editing:s})}return u}(),d.render=function(){function u(){var s=this.props,l=s.selfClear,C=s.onInput,g=s.onChange,v=s.onEnter,p=s.value,N=s.maxLength,y=s.placeholder,B=s.autofocus,I=s.disabled,L=s.multiline,T=s.cols,A=T===void 0?32:T,x=s.rows,E=x===void 0?4:x,M=k(s,f),j=M.className,O=M.fluid,R=M.monospace,D=k(M,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["Input",O&&"Input--fluid",R&&"Input--monospace",I&&"Input--disabled",j])},D,{children:[(0,e.createVNode)(1,"div","Input__baseline",".",16),L?(0,e.createVNode)(128,"textarea","Input__textarea",null,1,{placeholder:y,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:N,cols:A,rows:E,disabled:I},null,this.inputRef):(0,e.createVNode)(64,"input","Input__input",null,1,{placeholder:y,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:N,disabled:I},null,this.inputRef)]})))}return u}(),m}(e.Component)},76334:function(w,r,n){"use strict";r.__esModule=!0,r.Knob=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(55937),f=n(20342),V=n(59263),k=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"];/** +*/var h=r.toInputValue=function(){function c(m){return typeof m!="number"&&typeof m!="string"?"":String(m)}return c}(),i=r.Input=function(c){function m(){var u;return u=c.call(this)||this,u.inputRef=(0,e.createRef)(),u.state={editing:!1},u.handleInput=function(s){var l=u.state.editing,C=u.props.onInput;l||u.setEditing(!0),C&&C(s,s.target.value)},u.handleFocus=function(s){var l=u.state.editing;l||u.setEditing(!0)},u.handleBlur=function(s){var l=u.state.editing,C=u.props.onChange;l&&(u.setEditing(!1),C&&C(s,s.target.value))},u.handleKeyDown=function(s){var l=u.props,C=l.onInput,g=l.onChange,v=l.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=h(u.props.value),s.target.blur();return}},u}S(m,c);var d=m.prototype;return d.componentDidMount=function(){function u(){var s=this,l=this.props.value,C=this.inputRef.current;C&&(C.value=h(l),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}(),d.componentDidUpdate=function(){function u(s,l){var C=this.state.editing,g=s.value,v=this.props.value,p=this.inputRef.current;p&&!C&&g!==v&&(p.value=h(v))}return u}(),d.setEditing=function(){function u(s){this.setState({editing:s})}return u}(),d.render=function(){function u(){var s=this.props,l=s.selfClear,C=s.onInput,g=s.onChange,v=s.onEnter,p=s.value,N=s.maxLength,b=s.placeholder,B=s.autofocus,I=s.disabled,L=s.multiline,T=s.cols,A=T===void 0?32:T,x=s.rows,E=x===void 0?4:x,P=k(s,f),j=P.className,O=P.fluid,R=P.monospace,D=k(P,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["Input",O&&"Input--fluid",R&&"Input--monospace",I&&"Input--disabled",j])},D,{children:[(0,e.createVNode)(1,"div","Input__baseline",".",16),L?(0,e.createVNode)(128,"textarea","Input__textarea",null,1,{placeholder:b,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:N,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:N,disabled:I},null,this.inputRef)]})))}return u}(),m}(e.Component)},76334:function(w,r,n){"use strict";r.__esModule=!0,r.Knob=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(55937),f=n(20342),V=n(59263),k=["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(h,i){if(h==null)return{};var c={};for(var m in h)if({}.hasOwnProperty.call(h,m)){if(i.includes(m))continue;c[m]=h[m]}return c}var b=r.Knob=function(){function h(i){var c=i.animated,m=i.format,d=i.maxValue,u=i.minValue,s=i.onChange,l=i.onDrag,C=i.step,g=i.stepPixelSize,v=i.suppressFlicker,p=i.unit,N=i.value,y=i.className,B=i.style,I=i.fillValue,L=i.color,T=i.ranges,A=T===void 0?{}:T,x=i.size,E=x===void 0?1:x,M=i.bipolar,j=i.children,O=i.popUpPosition,R=S(i,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:c,format:m,maxValue:d,minValue:u,onChange:s,onDrag:l,step:C,stepPixelSize:g,suppressFlicker:v,unit:p,value:N},{children:function(){function D(W){var U=W.dragging,H=W.editing,K=W.value,G=W.displayValue,Y=W.displayElement,J=W.inputElement,Z=W.handleDragStart,le=(0,a.scale)(I!=null?I:G,u,d),ne=(0,a.scale)(G,u,d),me=L||(0,a.keyOfMatchingRange)(I!=null?I:K,A)||"default",he=(ne-.5)*270;return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["Knob","Knob--color--"+me,M&&"Knob--bipolar",y,(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("+he+"deg)"}}),2),U&&(0,e.createVNode)(1,"div",(0,t.classes)(["Knob__popupValue",O&&"Knob__popupValue--"+O]),Y,0),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,e.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,e.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((M?2.75:2)-le*1.5)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),J],0,Object.assign({},(0,o.computeBoxProps)(Object.assign({style:Object.assign({"font-size":E+"em"},B)},R)),{onMouseDown:Z})))}return D}()})))}return h}()},78621:function(w,r,n){"use strict";r.__esModule=!0,r.LabeledControls=void 0;var e=n(89005),a=n(39473),t=["children"],o=["label","children"];/** + */function S(h,i){if(h==null)return{};var c={};for(var m in h)if({}.hasOwnProperty.call(h,m)){if(i.includes(m))continue;c[m]=h[m]}return c}var y=r.Knob=function(){function h(i){var c=i.animated,m=i.format,d=i.maxValue,u=i.minValue,s=i.onChange,l=i.onDrag,C=i.step,g=i.stepPixelSize,v=i.suppressFlicker,p=i.unit,N=i.value,b=i.className,B=i.style,I=i.fillValue,L=i.color,T=i.ranges,A=T===void 0?{}:T,x=i.size,E=x===void 0?1:x,P=i.bipolar,j=i.children,O=i.popUpPosition,R=S(i,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:c,format:m,maxValue:d,minValue:u,onChange:s,onDrag:l,step:C,stepPixelSize:g,suppressFlicker:v,unit:p,value:N},{children:function(){function D(W){var U=W.dragging,z=W.editing,K=W.value,$=W.displayValue,Y=W.displayElement,J=W.inputElement,Z=W.handleDragStart,le=(0,a.scale)(I!=null?I:$,u,d),ne=(0,a.scale)($,u,d),me=L||(0,a.keyOfMatchingRange)(I!=null?I:K,A)||"default",he=(ne-.5)*270;return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["Knob","Knob--color--"+me,P&&"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("+he+"deg)"}}),2),U&&(0,e.createVNode)(1,"div",(0,t.classes)(["Knob__popupValue",O&&"Knob__popupValue--"+O]),Y,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)-le*1.5)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),J],0,Object.assign({},(0,o.computeBoxProps)(Object.assign({style:Object.assign({"font-size":E+"em"},B)},R)),{onMouseDown:Z})))}return D}()})))}return h}()},78621:function(w,r,n){"use strict";r.__esModule=!0,r.LabeledControls=void 0;var e=n(89005),a=n(39473),t=["children"],o=["label","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function f(S,b){if(S==null)return{};var h={};for(var i in S)if({}.hasOwnProperty.call(S,i)){if(b.includes(i))continue;h[i]=S[i]}return h}var V=r.LabeledControls=function(){function S(b){var h=b.children,i=f(b,t);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Flex,Object.assign({mx:-.5,align:"stretch",justify:"space-between"},i,{children:h})))}return S}(),k=function(b){var h=b.label,i=b.children,c=f(b,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:i}),(0,e.createComponentVNode)(2,a.Flex.Item,{color:"label",children:h})]})))})};V.Item=k},29319:function(w,r,n){"use strict";r.__esModule=!0,r.LabeledList=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(13605),f=n(62147);/** + */function f(S,y){if(S==null)return{};var h={};for(var i in S)if({}.hasOwnProperty.call(S,i)){if(y.includes(i))continue;h[i]=S[i]}return h}var V=r.LabeledControls=function(){function S(y){var h=y.children,i=f(y,t);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Flex,Object.assign({mx:-.5,align:"stretch",justify:"space-between"},i,{children:h})))}return S}(),k=function(y){var h=y.label,i=y.children,c=f(y,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:i}),(0,e.createComponentVNode)(2,a.Flex.Item,{color:"label",children:h})]})))})};V.Item=k},29319:function(w,r,n){"use strict";r.__esModule=!0,r.LabeledList=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(13605),f=n(62147);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var V=r.LabeledList=function(){function b(h){var i=h.children;return(0,e.createVNode)(1,"table","LabeledList",i,0)}return b}();V.defaultHooks=a.pureComponentHooks;var k=function(h){var i=h.className,c=h.label,m=h.labelColor,d=m===void 0?"label":m,u=h.color,s=h.textAlign,l=h.buttons,C=h.tooltip,g=h.content,v=h.children,p=h.preserveWhitespace,N=(0,e.createVNode)(1,"tr",(0,a.classes)(["LabeledList__row",i]),[(0,e.createComponentVNode)(2,t.Box,{as:"td",color:d,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:l?void 0:2,preserveWhitespace:p,children:[g,v]}),l&&(0,e.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",l,0)],0);return C&&(N=(0,e.createComponentVNode)(2,f.Tooltip,{content:C,children:N})),N};k.defaultHooks=a.pureComponentHooks;var S=function(h){var i=h.size?(0,t.unit)(Math.max(0,h.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":i,"padding-bottom":i}}),2)};S.defaultHooks=a.pureComponentHooks,V.Item=k,V.Divider=S},36077:function(w,r,n){"use strict";r.__esModule=!0,r.Modal=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(61940),f=["className","children","onEnter"];/** + */var V=r.LabeledList=function(){function y(h){var i=h.children;return(0,e.createVNode)(1,"table","LabeledList",i,0)}return y}();V.defaultHooks=a.pureComponentHooks;var k=function(h){var i=h.className,c=h.label,m=h.labelColor,d=m===void 0?"label":m,u=h.color,s=h.textAlign,l=h.buttons,C=h.tooltip,g=h.content,v=h.children,p=h.preserveWhitespace,N=(0,e.createVNode)(1,"tr",(0,a.classes)(["LabeledList__row",i]),[(0,e.createComponentVNode)(2,t.Box,{as:"td",color:d,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:l?void 0:2,preserveWhitespace:p,children:[g,v]}),l&&(0,e.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",l,0)],0);return C&&(N=(0,e.createComponentVNode)(2,f.Tooltip,{content:C,children:N})),N};k.defaultHooks=a.pureComponentHooks;var S=function(h){var i=h.size?(0,t.unit)(Math.max(0,h.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":i,"padding-bottom":i}}),2)};S.defaultHooks=a.pureComponentHooks,V.Item=k,V.Divider=S},36077:function(w,r,n){"use strict";r.__esModule=!0,r.Modal=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(61940),f=["className","children","onEnter"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function V(S,b){if(S==null)return{};var h={};for(var i in S)if({}.hasOwnProperty.call(S,i)){if(b.includes(i))continue;h[i]=S[i]}return h}var k=r.Modal=function(){function S(b){var h=b.className,i=b.children,c=b.onEnter,m=V(b,f),d;return c&&(d=function(){function u(s){s.keyCode===13&&c(s)}return u}()),(0,e.createComponentVNode)(2,o.Dimmer,{onKeyDown:d,children:(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Modal",h,(0,t.computeBoxClassName)(m)]),i,0,Object.assign({},(0,t.computeBoxProps)(m))))})}return S}()},73280:function(w,r,n){"use strict";r.__esModule=!0,r.NanoMap=void 0;var e=n(89005),a=n(36036),t=n(72253),o=n(29319),f=n(79911),V=n(79140);function k(m,d){m.prototype=Object.create(d.prototype),m.prototype.constructor=m,S(m,d)}function S(m,d){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,s){return u.__proto__=s,u},S(m,d)}var b=function(d){return d.stopPropagation&&d.stopPropagation(),d.preventDefault&&d.preventDefault(),d.cancelBubble=!0,d.returnValue=!1,!1},h=r.NanoMap=function(m){function d(s){var l;l=m.call(this,s)||this;var C=window.innerWidth/2-256,g=window.innerHeight/2-256;return l.state={offsetX:128,offsetY:48,transform:"none",dragging:!1,originX:null,originY:null,zoom:1},l.handleDragStart=function(v){l.ref=v.target,l.setState({dragging:!1,originX:v.screenX,originY:v.screenY}),document.addEventListener("mousemove",l.handleDragMove),document.addEventListener("mouseup",l.handleDragEnd),b(v)},l.handleDragMove=function(v){l.setState(function(p){var N=Object.assign({},p),y=v.screenX-N.originX,B=v.screenY-N.originY;return p.dragging?(N.offsetX+=y,N.offsetY+=B,N.originX=v.screenX,N.originY=v.screenY):N.dragging=!0,N}),b(v)},l.handleDragEnd=function(v){l.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",l.handleDragMove),document.removeEventListener("mouseup",l.handleDragEnd),b(v)},l.handleZoom=function(v,p){l.setState(function(N){var y=Math.min(Math.max(p,1),8),B=(y-N.zoom)*1.5;return N.zoom=y,N.offsetX=N.offsetX-262*B,N.offsetY=N.offsetY-256*B,s.onZoom&&s.onZoom(N.zoom),N})},l}k(d,m);var u=d.prototype;return u.render=function(){function s(){var l=(0,t.useBackend)(this.context),C=l.config,g=this.state,v=g.dragging,p=g.offsetX,N=g.offsetY,y=g.zoom,B=y===void 0?1:y,I=this.props.children,L=C.map+"_nanomap_z1.png",T=510*B+"px",A={width:T,height:T,"margin-top":N+"px","margin-left":p+"px",overflow:"hidden",position:"relative","background-size":"cover","background-repeat":"no-repeat","text-align":"center",cursor:v?"move":"auto"},x={width:"100%",height:"100%",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"};return(0,e.createComponentVNode)(2,a.Box,{className:"NanoMap__container",children:[(0,e.createComponentVNode)(2,a.Box,{style:A,onMouseDown:this.handleDragStart,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,V.resolveAsset)(L),style:x}),(0,e.createComponentVNode)(2,a.Box,{children:I})]}),(0,e.createComponentVNode)(2,c,{zoom:B,onZoom:this.handleZoom})]})}return s}(),d}(e.Component),i=function(d,u){var s=d.x,l=d.y,C=d.zoom,g=C===void 0?1:C,v=d.icon,p=d.tooltip,N=d.color,y=s*2*g-g-3,B=l*2*g-g-3;return(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,a.Tooltip,{content:p,children:(0,e.createComponentVNode)(2,a.Box,{position:"absolute",className:"NanoMap__marker",lineHeight:"0",bottom:B+"px",left:y+"px",children:(0,e.createComponentVNode)(2,a.Icon,{name:v,color:N,fontSize:"6px"})})}),2)};h.Marker=i;var c=function(d,u){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,f.Slider,{minValue:1,maxValue:8,stepPixelSize:10,format:function(){function s(l){return l+"x"}return s}(),value:d.zoom,onDrag:function(){function s(l,C){return d.onZoom(l,C)}return s}()})})})})};h.Zoomer=c},74733:function(w,r,n){"use strict";r.__esModule=!0,r.NoticeBox=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","color","info","warning","success","danger"];/** + */function V(S,y){if(S==null)return{};var h={};for(var i in S)if({}.hasOwnProperty.call(S,i)){if(y.includes(i))continue;h[i]=S[i]}return h}var k=r.Modal=function(){function S(y){var h=y.className,i=y.children,c=y.onEnter,m=V(y,f),d;return c&&(d=function(){function u(s){s.keyCode===13&&c(s)}return u}()),(0,e.createComponentVNode)(2,o.Dimmer,{onKeyDown:d,children:(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Modal",h,(0,t.computeBoxClassName)(m)]),i,0,Object.assign({},(0,t.computeBoxProps)(m))))})}return S}()},73280:function(w,r,n){"use strict";r.__esModule=!0,r.NanoMap=void 0;var e=n(89005),a=n(36036),t=n(72253),o=n(29319),f=n(79911),V=n(79140);function k(m,d){m.prototype=Object.create(d.prototype),m.prototype.constructor=m,S(m,d)}function S(m,d){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,s){return u.__proto__=s,u},S(m,d)}var y=function(d){return d.stopPropagation&&d.stopPropagation(),d.preventDefault&&d.preventDefault(),d.cancelBubble=!0,d.returnValue=!1,!1},h=r.NanoMap=function(m){function d(s){var l;l=m.call(this,s)||this;var C=window.innerWidth/2-256,g=window.innerHeight/2-256;return l.state={offsetX:128,offsetY:48,transform:"none",dragging:!1,originX:null,originY:null,zoom:1},l.handleDragStart=function(v){l.ref=v.target,l.setState({dragging:!1,originX:v.screenX,originY:v.screenY}),document.addEventListener("mousemove",l.handleDragMove),document.addEventListener("mouseup",l.handleDragEnd),y(v)},l.handleDragMove=function(v){l.setState(function(p){var N=Object.assign({},p),b=v.screenX-N.originX,B=v.screenY-N.originY;return p.dragging?(N.offsetX+=b,N.offsetY+=B,N.originX=v.screenX,N.originY=v.screenY):N.dragging=!0,N}),y(v)},l.handleDragEnd=function(v){l.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",l.handleDragMove),document.removeEventListener("mouseup",l.handleDragEnd),y(v)},l.handleZoom=function(v,p){l.setState(function(N){var b=Math.min(Math.max(p,1),8),B=(b-N.zoom)*1.5;return N.zoom=b,N.offsetX=N.offsetX-262*B,N.offsetY=N.offsetY-256*B,s.onZoom&&s.onZoom(N.zoom),N})},l}k(d,m);var u=d.prototype;return u.render=function(){function s(){var l=(0,t.useBackend)(this.context),C=l.config,g=this.state,v=g.dragging,p=g.offsetX,N=g.offsetY,b=g.zoom,B=b===void 0?1:b,I=this.props.children,L=C.map+"_nanomap_z1.png",T=510*B+"px",A={width:T,height:T,"margin-top":N+"px","margin-left":p+"px",overflow:"hidden",position:"relative","background-size":"cover","background-repeat":"no-repeat","text-align":"center",cursor:v?"move":"auto"},x={width:"100%",height:"100%",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"};return(0,e.createComponentVNode)(2,a.Box,{className:"NanoMap__container",children:[(0,e.createComponentVNode)(2,a.Box,{style:A,onMouseDown:this.handleDragStart,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,V.resolveAsset)(L),style:x}),(0,e.createComponentVNode)(2,a.Box,{children:I})]}),(0,e.createComponentVNode)(2,c,{zoom:B,onZoom:this.handleZoom})]})}return s}(),d}(e.Component),i=function(d,u){var s=d.x,l=d.y,C=d.zoom,g=C===void 0?1:C,v=d.icon,p=d.tooltip,N=d.color,b=s*2*g-g-3,B=l*2*g-g-3;return(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,a.Tooltip,{content:p,children:(0,e.createComponentVNode)(2,a.Box,{position:"absolute",className:"NanoMap__marker",lineHeight:"0",bottom:B+"px",left:b+"px",children:(0,e.createComponentVNode)(2,a.Icon,{name:v,color:N,fontSize:"6px"})})}),2)};h.Marker=i;var c=function(d,u){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,f.Slider,{minValue:1,maxValue:8,stepPixelSize:10,format:function(){function s(l){return l+"x"}return s}(),value:d.zoom,onDrag:function(){function s(l,C){return d.onZoom(l,C)}return s}()})})})})};h.Zoomer=c},74733:function(w,r,n){"use strict";r.__esModule=!0,r.NoticeBox=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","color","info","warning","success","danger"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function f(k,S){if(k==null)return{};var b={};for(var h in k)if({}.hasOwnProperty.call(k,h)){if(S.includes(h))continue;b[h]=k[h]}return b}var V=r.NoticeBox=function(){function k(S){var b=S.className,h=S.color,i=S.info,c=S.warning,m=S.success,d=S.danger,u=f(S,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["NoticeBox",h&&"NoticeBox--color--"+h,i&&"NoticeBox--type--info",m&&"NoticeBox--type--success",d&&"NoticeBox--type--danger",b])},u)))}return k}();V.defaultHooks=a.pureComponentHooks},59263:function(w,r,n){"use strict";r.__esModule=!0,r.NumberInput=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(9474),f=n(55937);function V(h,i){h.prototype=Object.create(i.prototype),h.prototype.constructor=h,k(h,i)}function k(h,i){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,m){return c.__proto__=m,c},k(h,i)}/** + */function f(k,S){if(k==null)return{};var y={};for(var h in k)if({}.hasOwnProperty.call(k,h)){if(S.includes(h))continue;y[h]=k[h]}return y}var V=r.NoticeBox=function(){function k(S){var y=S.className,h=S.color,i=S.info,c=S.warning,m=S.success,d=S.danger,u=f(S,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["NoticeBox",h&&"NoticeBox--color--"+h,i&&"NoticeBox--type--info",m&&"NoticeBox--type--success",d&&"NoticeBox--type--danger",y])},u)))}return k}();V.defaultHooks=a.pureComponentHooks},59263:function(w,r,n){"use strict";r.__esModule=!0,r.NumberInput=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(9474),f=n(55937);function V(h,i){h.prototype=Object.create(i.prototype),h.prototype.constructor=h,k(h,i)}function k(h,i){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,m){return c.__proto__=m,c},k(h,i)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var S=400,b=r.NumberInput=function(h){function i(m){var d;d=h.call(this,m)||this;var u=m.value;return d.inputRef=(0,e.createRef)(),d.state={value:u,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},d.flickerTimer=null,d.suppressFlicker=function(){var s=d.props.suppressFlicker;s>0&&(d.setState({suppressingFlicker:!0}),clearTimeout(d.flickerTimer),d.flickerTimer=setTimeout(function(){return d.setState({suppressingFlicker:!1})},s))},d.handleDragStart=function(s){var l=d.props.value,C=d.state.editing;C||(document.body.style["pointer-events"]="none",d.ref=s.target,d.setState({dragging:!1,origin:s.screenY,value:l,internalValue:l}),d.timer=setTimeout(function(){d.setState({dragging:!0})},250),d.dragInterval=setInterval(function(){var g=d.state,v=g.dragging,p=g.value,N=d.props.onDrag;v&&N&&N(s,p)},d.props.updateRate||S),document.addEventListener("mousemove",d.handleDragMove),document.addEventListener("mouseup",d.handleDragEnd))},d.handleDragMove=function(s){var l=d.props,C=l.minValue,g=l.maxValue,v=l.step,p=l.stepPixelSize;d.setState(function(N){var y=Object.assign({},N),B=y.origin-s.screenY;if(N.dragging){var I=Number.isFinite(C)?C%v:0;y.internalValue=(0,a.clamp)(y.internalValue+B*v/p,C-v,g+v),y.value=(0,a.clamp)(y.internalValue-y.internalValue%v+I,C,g),y.origin=s.screenY}else Math.abs(B)>4&&(y.dragging=!0);return y})},d.handleDragEnd=function(s){var l=d.props,C=l.onChange,g=l.onDrag,v=d.state,p=v.dragging,N=v.value,y=v.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(d.timer),clearInterval(d.dragInterval),d.setState({dragging:!1,editing:!p,origin:null}),document.removeEventListener("mousemove",d.handleDragMove),document.removeEventListener("mouseup",d.handleDragEnd),p)d.suppressFlicker(),C&&C(s,N),g&&g(s,N);else if(d.inputRef){var B=d.inputRef.current;B.value=y;try{B.focus(),B.select()}catch(I){}}},d}V(i,h);var c=i.prototype;return c.render=function(){function m(){var d=this,u=this.state,s=u.dragging,l=u.editing,C=u.value,g=u.suppressingFlicker,v=this.props,p=v.className,N=v.fluid,y=v.animated,B=v.value,I=v.unit,L=v.minValue,T=v.maxValue,A=v.height,x=v.width,E=v.lineHeight,M=v.fontSize,j=v.format,O=v.onChange,R=v.onDrag,D=B;(s||g)&&(D=C);var W=(0,e.createVNode)(1,"div","NumberInput__content",[y&&!s&&!g?(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:D,format:j}):j?j(D):D,I?" "+I:""],0);return(0,e.createComponentVNode)(2,f.Box,{className:(0,t.classes)(["NumberInput",N&&"NumberInput--fluid",p]),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-L)/(T-L)*100,0,100)+"%"}}),2),W,(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:l?void 0:"none",height:A,"line-height":E,"font-size":M},onBlur:function(){function U(H){if(l){var K=(0,a.clamp)(parseFloat(H.target.value),L,T);if(Number.isNaN(K)){d.setState({editing:!1});return}d.setState({editing:!1,value:K}),d.suppressFlicker(),O&&O(H,K),R&&R(H,K)}}return U}(),onKeyDown:function(){function U(H){if(H.keyCode===13){var K=(0,a.clamp)(parseFloat(H.target.value),L,T);if(Number.isNaN(K)){d.setState({editing:!1});return}d.setState({editing:!1,value:K}),d.suppressFlicker(),O&&O(H,K),R&&R(H,K);return}if(H.keyCode===27){d.setState({editing:!1});return}}return U}()},null,this.inputRef)]})}return m}(),i}(e.Component);b.defaultHooks=t.pureComponentHooks,b.defaultProps={minValue:-1/0,maxValue:1/0,step:1,stepPixelSize:1,suppressFlicker:50}},50186:function(w,r,n){"use strict";r.__esModule=!0,r.Popper=void 0;var e=n(95996),a=n(89005);function t(V,k){V.prototype=Object.create(k.prototype),V.prototype.constructor=V,o(V,k)}function o(V,k){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,b){return S.__proto__=b,S},o(V,k)}var f=r.Popper=function(V){function k(){var b;return b=V.call(this)||this,b.renderedContent=void 0,b.popperInstance=void 0,k.id+=1,b}t(k,V);var S=k.prototype;return S.componentDidMount=function(){function b(){var h=this,i=this.props,c=i.additionalStyles,m=i.options;if(this.renderedContent=document.createElement("div"),c)for(var d=0,u=Object.entries(c);d0&&(d.setState({suppressingFlicker:!0}),clearTimeout(d.flickerTimer),d.flickerTimer=setTimeout(function(){return d.setState({suppressingFlicker:!1})},s))},d.handleDragStart=function(s){var l=d.props.value,C=d.state.editing;C||(document.body.style["pointer-events"]="none",d.ref=s.target,d.setState({dragging:!1,origin:s.screenY,value:l,internalValue:l}),d.timer=setTimeout(function(){d.setState({dragging:!0})},250),d.dragInterval=setInterval(function(){var g=d.state,v=g.dragging,p=g.value,N=d.props.onDrag;v&&N&&N(s,p)},d.props.updateRate||S),document.addEventListener("mousemove",d.handleDragMove),document.addEventListener("mouseup",d.handleDragEnd))},d.handleDragMove=function(s){var l=d.props,C=l.minValue,g=l.maxValue,v=l.step,p=l.stepPixelSize;d.setState(function(N){var b=Object.assign({},N),B=b.origin-s.screenY;if(N.dragging){var I=Number.isFinite(C)?C%v:0;b.internalValue=(0,a.clamp)(b.internalValue+B*v/p,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})},d.handleDragEnd=function(s){var l=d.props,C=l.onChange,g=l.onDrag,v=d.state,p=v.dragging,N=v.value,b=v.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(d.timer),clearInterval(d.dragInterval),d.setState({dragging:!1,editing:!p,origin:null}),document.removeEventListener("mousemove",d.handleDragMove),document.removeEventListener("mouseup",d.handleDragEnd),p)d.suppressFlicker(),C&&C(s,N),g&&g(s,N);else if(d.inputRef){var B=d.inputRef.current;B.value=b;try{B.focus(),B.select()}catch(I){}}},d}V(i,h);var c=i.prototype;return c.render=function(){function m(){var d=this,u=this.state,s=u.dragging,l=u.editing,C=u.value,g=u.suppressingFlicker,v=this.props,p=v.className,N=v.fluid,b=v.animated,B=v.value,I=v.unit,L=v.minValue,T=v.maxValue,A=v.height,x=v.width,E=v.lineHeight,P=v.fontSize,j=v.format,O=v.onChange,R=v.onDrag,D=B;(s||g)&&(D=C);var W=(0,e.createVNode)(1,"div","NumberInput__content",[b&&!s&&!g?(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:D,format:j}):j?j(D):D,I?" "+I:""],0);return(0,e.createComponentVNode)(2,f.Box,{className:(0,t.classes)(["NumberInput",N&&"NumberInput--fluid",p]),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)((D-L)/(T-L)*100,0,100)+"%"}}),2),W,(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:l?void 0:"none",height:A,"line-height":E,"font-size":P},onBlur:function(){function U(z){if(l){var K=(0,a.clamp)(parseFloat(z.target.value),L,T);if(Number.isNaN(K)){d.setState({editing:!1});return}d.setState({editing:!1,value:K}),d.suppressFlicker(),O&&O(z,K),R&&R(z,K)}}return U}(),onKeyDown:function(){function U(z){if(z.keyCode===13){var K=(0,a.clamp)(parseFloat(z.target.value),L,T);if(Number.isNaN(K)){d.setState({editing:!1});return}d.setState({editing:!1,value:K}),d.suppressFlicker(),O&&O(z,K),R&&R(z,K);return}if(z.keyCode===27){d.setState({editing:!1});return}}return U}()},null,this.inputRef)]})}return m}(),i}(e.Component);y.defaultHooks=t.pureComponentHooks,y.defaultProps={minValue:-1/0,maxValue:1/0,step:1,stepPixelSize:1,suppressFlicker:50}},50186:function(w,r,n){"use strict";r.__esModule=!0,r.Popper=void 0;var e=n(95996),a=n(89005);function t(V,k){V.prototype=Object.create(k.prototype),V.prototype.constructor=V,o(V,k)}function o(V,k){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,y){return S.__proto__=y,S},o(V,k)}var f=r.Popper=function(V){function k(){var y;return y=V.call(this)||this,y.renderedContent=void 0,y.popperInstance=void 0,k.id+=1,y}t(k,V);var S=k.prototype;return S.componentDidMount=function(){function y(){var h=this,i=this.props,c=i.additionalStyles,m=i.options;if(this.renderedContent=document.createElement("div"),c)for(var d=0,u=Object.entries(c);dm)return"in the future";c=c/10,m=m/10;var d=m-c;if(d>3600){var u=Math.round(d/3600);return u+" hour"+(u===1?"":"s")+" ago"}else if(d>60){var s=Math.round(d/60);return s+" minute"+(s===1?"":"s")+" ago"}else{var l=Math.round(d);return l+" second"+(l===1?"":"s")+" ago"}return"just now"}return i}()},40944:function(w,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595);/** +*/var i=r.TextArea=function(c){function m(u,s){var l;l=c.call(this,u,s)||this,l.textareaRef=u.innerRef||(0,e.createRef)(),l.fillerRef=(0,e.createRef)(),l.state={editing:!1};var C=u.dontUseTabForIndent,g=C===void 0?!1:C;return l.handleOnInput=function(v){var p=l.state.editing,N=l.props.onInput;p||l.setEditing(!0),N&&N(v,v.target.value)},l.handleOnChange=function(v){var p=l.state.editing,N=l.props.onChange;p&&l.setEditing(!1),N&&N(v,v.target.value)},l.handleKeyPress=function(v){var p=l.state.editing,N=l.props.onKeyPress;p||l.setEditing(!0),N&&N(v,v.target.value)},l.handleKeyDown=function(v){var p=l.state.editing,N=l.props,b=N.onChange,B=N.onInput,I=N.onEnter,L=N.onKeyDown;if(v.keyCode===f.KEY_ENTER){l.setEditing(!1),b&&b(v,v.target.value),B&&B(v,v.target.value),I&&I(v,v.target.value),l.props.selfClear&&(v.target.value="",v.target.blur());return}if(v.keyCode===f.KEY_ESCAPE){l.props.onEscape&&l.props.onEscape(v),l.setEditing(!1),l.props.selfClear?v.target.value="":(v.target.value=(0,o.toInputValue)(l.props.value),v.target.blur());return}if(p||l.setEditing(!0),L&&L(v,v.target.value),!g){var T=v.keyCode||v.which;if(T===f.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}}},l.handleFocus=function(v){var p=l.state.editing;p||l.setEditing(!0)},l.handleBlur=function(v){var p=l.state.editing,N=l.props.onChange;p&&(l.setEditing(!1),N&&N(v,v.target.value))},l}y(m,c);var d=m.prototype;return d.componentDidMount=function(){function u(){var s=this,l=this.props.value,C=this.textareaRef.current;C&&(C.value=(0,o.toInputValue)(l)),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){C.focus(),s.props.autoSelect&&C.select()},1)}return u}(),d.componentDidUpdate=function(){function u(s,l){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}(),d.setEditing=function(){function u(s){this.setState({editing:s})}return u}(),d.getValue=function(){function u(){return this.textareaRef.current&&this.textareaRef.current.value}return u}(),d.render=function(){function u(){var s=this.props,l=s.onChange,C=s.onKeyDown,g=s.onKeyPress,v=s.onInput,p=s.onFocus,N=s.onBlur,b=s.onEnter,B=s.value,I=s.maxLength,L=s.placeholder,T=S(s,V),A=T.className,x=T.fluid,E=S(T,k);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:L,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}(),m}(e.Component)},5169:function(w,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),f=(Math.floor(t)%60).toString(10);return[o,f].map(function(V){return V.length<2?"0"+V:V}).join(":")},e=r.TimeDisplay=function(){function a(t){var o=t.totalSeconds,f=o===void 0?0:o;return n(f)}return a}()},62147:function(w,r,n){"use strict";r.__esModule=!0,r.Tooltip=void 0;var e=n(89005),a=n(95996),t;function o(y,h){y.prototype=Object.create(h.prototype),y.prototype.constructor=y,f(y,h)}function f(y,h){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,c){return i.__proto__=c,i},f(y,h)}var V={modifiers:[{name:"eventListeners",enabled:!1}]},k={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function y(){return null}return y}()},S=r.Tooltip=function(y){function h(){return y.apply(this,arguments)||this}o(h,y);var i=h.prototype;return i.getDOMNode=function(){function c(){return(0,e.findDOMFromVNode)(this.$LI,!0)}return c}(),i.componentDidMount=function(){function c(){var m=this,d=this.getDOMNode();d&&(d.addEventListener("mouseenter",function(){var u=h.renderedTooltip;u===void 0&&(u=document.createElement("div"),u.className="Tooltip",document.body.appendChild(u),h.renderedTooltip=u),h.currentHoveredElement=d,u.style.opacity="1",m.renderPopperContent()}),d.addEventListener("mouseleave",function(){m.fadeOut()}))}return c}(),i.fadeOut=function(){function c(){h.currentHoveredElement===this.getDOMNode()&&(h.currentHoveredElement=void 0,h.renderedTooltip.style.opacity="0")}return c}(),i.renderPopperContent=function(){function c(){var m=this,d=h.renderedTooltip;d&&(0,e.render)((0,e.createVNode)(1,"span",null,this.props.content,0),d,function(){var u=h.singletonPopper;u===void 0?(u=(0,a.createPopper)(h.virtualElement,d,Object.assign({},V,{placement:m.props.position||"auto"})),h.singletonPopper=u):(u.setOptions(Object.assign({},V,{placement:m.props.position||"auto"})),u.update())},this.context)}return c}(),i.componentDidUpdate=function(){function c(){h.currentHoveredElement===this.getDOMNode()&&this.renderPopperContent()}return c}(),i.componentWillUnmount=function(){function c(){this.fadeOut()}return c}(),i.render=function(){function c(){return this.props.children}return c}(),h}(e.Component);t=S,S.renderedTooltip=void 0,S.singletonPopper=void 0,S.currentHoveredElement=void 0,S.virtualElement={getBoundingClientRect:function(){function y(){var h,i;return(h=(i=t.currentHoveredElement)==null?void 0:i.getBoundingClientRect())!=null?h:k}return y}()}},36036:function(w,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.ImageButton=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(9474);r.AnimatedNumber=e.AnimatedNumber;var a=n(27185);r.Autofocus=a.Autofocus;var t=n(5814);r.Blink=t.Blink;var o=n(61773);r.BlockQuote=o.BlockQuote;var f=n(55937);r.Box=f.Box;var V=n(96184);r.Button=V.Button;var k=n(18982);r.ByondUi=k.ByondUi;var S=n(66820);r.Chart=S.Chart;var y=n(4796);r.Collapsible=y.Collapsible;var h=n(88894);r.ColorBox=h.ColorBox;var i=n(73379);r.Countdown=i.Countdown;var c=n(61940);r.Dimmer=c.Dimmer;var m=n(13605);r.Divider=m.Divider;var d=n(20342);r.DraggableControl=d.DraggableControl;var u=n(87099);r.Dropdown=u.Dropdown;var s=n(39473);r.Flex=s.Flex;var l=n(79646);r.Grid=l.Grid;var C=n(1331);r.Icon=C.Icon;var g=n(66393);r.ImageButton=g.ImageButton;var v=n(79652);r.Input=v.Input;var p=n(76334);r.Knob=p.Knob;var N=n(78621);r.LabeledControls=N.LabeledControls;var b=n(29319);r.LabeledList=b.LabeledList;var B=n(36077);r.Modal=B.Modal;var I=n(73280);r.NanoMap=I.NanoMap;var L=n(74733);r.NoticeBox=L.NoticeBox;var T=n(59263);r.NumberInput=T.NumberInput;var A=n(50186);r.Popper=A.Popper;var x=n(92704);r.ProgressBar=x.ProgressBar;var E=n(9075);r.RestrictedInput=E.RestrictedInput;var P=n(11441);r.RoundGauge=P.RoundGauge;var j=n(97079);r.Section=j.Section;var O=n(79911);r.Slider=O.Slider;var R=n(96690);r.Stack=R.Stack;var D=n(36352);r.Table=D.Table;var W=n(85138);r.Tabs=W.Tabs;var U=n(44868);r.TextArea=U.TextArea;var z=n(5169);r.TimeDisplay=z.TimeDisplay;var K=n(62147);r.Tooltip=K.Tooltip},76910:function(w,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"}},f=r.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"],V=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"}],k=[{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 i(c,m){var d=String(c).toLowerCase(),u=k.find(function(s){return s.id===d||s.name.toLowerCase()===d});return u&&u.label||m||c}return i}(),y=r.getGasColor=function(){function i(c){var m=String(c).toLowerCase(),d=k.find(function(u){return u.id===m||u.name.toLowerCase()===m});return d&&d.color}return i}(),h=r.timeAgo=function(){function i(c,m){if(c>m)return"in the future";c=c/10,m=m/10;var d=m-c;if(d>3600){var u=Math.round(d/3600);return u+" hour"+(u===1?"":"s")+" ago"}else if(d>60){var s=Math.round(d/60);return s+" minute"+(s===1?"":"s")+" ago"}else{var l=Math.round(d);return l+" second"+(l===1?"":"s")+" ago"}return"just now"}return i}()},40944:function(w,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var f=n(4085),V=function(){return f.keys().map(function(b){return f(b)})},k=r.KitchenSink=function(){function S(b,h){var i=b.panel,c=(0,a.useLocalState)(h,"kitchenSinkTheme"),m=c[0],d=(0,a.useLocalState)(h,"pageIndex",0),u=d[0],s=d[1],l=V(),C=l[u],g=i?o.Pane:o.Window;return(0,e.createComponentVNode)(2,g,{title:"Kitchen Sink",width:600,height:500,theme:m,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:l.map(function(v,p){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{color:"transparent",selected:p===u,onClick:function(){function N(){return s(p)}return N}(),children:v.meta.title},p)})})})}),(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}()},77384:function(w,r,n){"use strict";r.__esModule=!0,r.toggleKitchenSink=r.toggleDebugLayout=r.openExternalBrowser=void 0;var e=n(85307);/** + */var f=n(4085),V=function(){return f.keys().map(function(y){return f(y)})},k=r.KitchenSink=function(){function S(y,h){var i=y.panel,c=(0,a.useLocalState)(h,"kitchenSinkTheme"),m=c[0],d=(0,a.useLocalState)(h,"pageIndex",0),u=d[0],s=d[1],l=V(),C=l[u],g=i?o.Pane:o.Window;return(0,e.createComponentVNode)(2,g,{title:"Kitchen Sink",width:600,height:500,theme:m,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:l.map(function(v,p){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{color:"transparent",selected:p===u,onClick:function(){function N(){return s(p)}return N}(),children:v.meta.title},p)})})})}),(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}()},77384:function(w,r,n){"use strict";r.__esModule=!0,r.toggleKitchenSink=r.toggleDebugLayout=r.openExternalBrowser=void 0;var e=n(85307);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT @@ -206,7 +206,7 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var f=["backend/update","chat/message"],V=r.debugMiddleware=function(){function S(b){return(0,t.acquireHotKey)(e.KEY_F11),(0,t.acquireHotKey)(e.KEY_F12),a.globalEvents.on("keydown",function(h){h.code===e.KEY_F11&&b.dispatch((0,o.toggleDebugLayout)()),h.code===e.KEY_F12&&b.dispatch((0,o.toggleKitchenSink)()),h.ctrl&&h.alt&&h.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(h){return function(i){return h(i)}}}return S}(),k=r.relayMiddleware=function(){function S(b){var h=n(7435),i=location.search==="?external";return i?h.subscribe(function(c){var m=c.type,d=c.payload;m==="relay"&&d.windowId===Byond.windowId&&b.dispatch(Object.assign({},d.action,{relayed:!0}))}):((0,t.acquireHotKey)(e.KEY_F10),a.globalEvents.on("keydown",function(c){c===e.KEY_F10&&b.dispatch((0,o.openExternalBrowser)())})),function(c){return function(m){var d=m.type,u=m.payload,s=m.relayed;if(d===o.openExternalBrowser.type){window.open(location.href+"?external","_blank");return}return f.includes(d)&&!s&&!i&&h.sendMessage({type:"relay",payload:{windowId:Byond.windowId,action:m}}),c(m)}}}return S}()},19147:function(w,r){"use strict";r.__esModule=!0,r.debugReducer=void 0;/** + */var f=["backend/update","chat/message"],V=r.debugMiddleware=function(){function S(y){return(0,t.acquireHotKey)(e.KEY_F11),(0,t.acquireHotKey)(e.KEY_F12),a.globalEvents.on("keydown",function(h){h.code===e.KEY_F11&&y.dispatch((0,o.toggleDebugLayout)()),h.code===e.KEY_F12&&y.dispatch((0,o.toggleKitchenSink)()),h.ctrl&&h.alt&&h.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(h){return function(i){return h(i)}}}return S}(),k=r.relayMiddleware=function(){function S(y){var h=n(7435),i=location.search==="?external";return i?h.subscribe(function(c){var m=c.type,d=c.payload;m==="relay"&&d.windowId===Byond.windowId&&y.dispatch(Object.assign({},d.action,{relayed:!0}))}):((0,t.acquireHotKey)(e.KEY_F10),a.globalEvents.on("keydown",function(c){c===e.KEY_F10&&y.dispatch((0,o.openExternalBrowser)())})),function(c){return function(m){var d=m.type,u=m.payload,s=m.relayed;if(d===o.openExternalBrowser.type){window.open(location.href+"?external","_blank");return}return f.includes(d)&&!s&&!i&&h.sendMessage({type:"relay",payload:{windowId:Byond.windowId,action:m}}),c(m)}}}return S}()},19147:function(w,r){"use strict";r.__esModule=!0,r.debugReducer=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT @@ -214,17 +214,17 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.selectDebug=function(){function e(a){return a.debug}return e}()},35421:function(w,r,n){"use strict";r.__esModule=!0,r.storeWindowGeometry=r.setupDrag=r.setWindowSize=r.setWindowPosition=r.setWindowKey=r.resizeStartHandler=r.recallWindowGeometry=r.getWindowSize=r.getWindowPosition=r.getScreenSize=r.getScreenPosition=r.dragStartHandler=void 0;var e=n(27108),a=n(97450),t=n(9394);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 W};var D,W={},U=Object.prototype,H=U.hasOwnProperty,K=Object.defineProperty||function(Ne,ae,de){Ne[ae]=de.value},G=typeof Symbol=="function"?Symbol:{},Y=G.iterator||"@@iterator",J=G.asyncIterator||"@@asyncIterator",Z=G.toStringTag||"@@toStringTag";function le(Ne,ae,de){return Object.defineProperty(Ne,ae,{value:de,enumerable:!0,configurable:!0,writable:!0}),Ne[ae]}try{le({},"")}catch(Ne){le=function(de,ve,se){return de[ve]=se}}function ne(Ne,ae,de,ve){var se=ae&&ae.prototype instanceof fe?ae:fe,be=Object.create(se.prototype),Pe=new Re(ve||[]);return K(be,"_invoke",{value:Ve(Ne,de,Pe)}),be}function me(Ne,ae,de){try{return{type:"normal",arg:Ne.call(ae,de)}}catch(ve){return{type:"throw",arg:ve}}}W.wrap=ne;var he="suspendedStart",ye="suspendedYield",te="executing",Q="completed",oe={};function fe(){}function ie(){}function ue(){}var re={};le(re,Y,function(){return this});var Se=Object.getPrototypeOf,Ie=Se&&Se(Se(He([])));Ie&&Ie!==U&&H.call(Ie,Y)&&(re=Ie);var Ce=ue.prototype=fe.prototype=Object.create(re);function ge(Ne){["next","throw","return"].forEach(function(ae){le(Ne,ae,function(de){return this._invoke(ae,de)})})}function ke(Ne,ae){function de(se,be,Pe,je){var Fe=me(Ne[se],Ne,be);if(Fe.type!=="throw"){var ze=Fe.arg,Ue=ze.value;return Ue&&typeof Ue=="object"&&H.call(Ue,"__await")?ae.resolve(Ue.__await).then(function(_e){de("next",_e,Pe,je)},function(_e){de("throw",_e,Pe,je)}):ae.resolve(Ue).then(function(_e){ze.value=_e,Pe(ze)},function(_e){return de("throw",_e,Pe,je)})}je(Fe.arg)}var ve;K(this,"_invoke",{value:function(){function se(be,Pe){function je(){return new ae(function(Fe,ze){de(be,Pe,Fe,ze)})}return ve=ve?ve.then(je,je):je()}return se}()})}function Ve(Ne,ae,de){var ve=he;return function(se,be){if(ve===te)throw Error("Generator is already running");if(ve===Q){if(se==="throw")throw be;return{value:D,done:!0}}for(de.method=se,de.arg=be;;){var Pe=de.delegate;if(Pe){var je=Le(Pe,de);if(je){if(je===oe)continue;return je}}if(de.method==="next")de.sent=de._sent=de.arg;else if(de.method==="throw"){if(ve===he)throw ve=Q,de.arg;de.dispatchException(de.arg)}else de.method==="return"&&de.abrupt("return",de.arg);ve=te;var Fe=me(Ne,ae,de);if(Fe.type==="normal"){if(ve=de.done?Q:ye,Fe.arg===oe)continue;return{value:Fe.arg,done:de.done}}Fe.type==="throw"&&(ve=Q,de.method="throw",de.arg=Fe.arg)}}}function Le(Ne,ae){var de=ae.method,ve=Ne.iterator[de];if(ve===D)return ae.delegate=null,de==="throw"&&Ne.iterator.return&&(ae.method="return",ae.arg=D,Le(Ne,ae),ae.method==="throw")||de!=="return"&&(ae.method="throw",ae.arg=new TypeError("The iterator does not provide a '"+de+"' method")),oe;var se=me(ve,Ne.iterator,ae.arg);if(se.type==="throw")return ae.method="throw",ae.arg=se.arg,ae.delegate=null,oe;var be=se.arg;return be?be.done?(ae[Ne.resultName]=be.value,ae.next=Ne.nextLoc,ae.method!=="return"&&(ae.method="next",ae.arg=D),ae.delegate=null,oe):be:(ae.method="throw",ae.arg=new TypeError("iterator result is not an object"),ae.delegate=null,oe)}function we(Ne){var ae={tryLoc:Ne[0]};1 in Ne&&(ae.catchLoc=Ne[1]),2 in Ne&&(ae.finallyLoc=Ne[2],ae.afterLoc=Ne[3]),this.tryEntries.push(ae)}function xe(Ne){var ae=Ne.completion||{};ae.type="normal",delete ae.arg,Ne.completion=ae}function Re(Ne){this.tryEntries=[{tryLoc:"root"}],Ne.forEach(we,this),this.reset(!0)}function He(Ne){if(Ne||Ne===""){var ae=Ne[Y];if(ae)return ae.call(Ne);if(typeof Ne.next=="function")return Ne;if(!isNaN(Ne.length)){var de=-1,ve=function(){function se(){for(;++de=0;--se){var be=this.tryEntries[se],Pe=be.completion;if(be.tryLoc==="root")return ve("end");if(be.tryLoc<=this.prev){var je=H.call(be,"catchLoc"),Fe=H.call(be,"finallyLoc");if(je&&Fe){if(this.prev=0;--ve){var se=this.tryEntries[ve];if(se.tryLoc<=this.prev&&H.call(se,"finallyLoc")&&this.prev=0;--de){var ve=this.tryEntries[de];if(ve.finallyLoc===ae)return this.complete(ve.completion,ve.afterLoc),xe(ve),oe}}return Ne}(),catch:function(){function Ne(ae){for(var de=this.tryEntries.length-1;de>=0;--de){var ve=this.tryEntries[de];if(ve.tryLoc===ae){var se=ve.completion;if(se.type==="throw"){var be=se.arg;xe(ve)}return be}}throw Error("illegal catch attempt")}return Ne}(),delegateYield:function(){function Ne(ae,de,ve){return this.delegate={iterator:He(ae),resultName:de,nextLoc:ve},this.method==="next"&&(this.arg=D),oe}return Ne}()},W}function f(D,W,U,H,K,G,Y){try{var J=D[G](Y),Z=J.value}catch(le){return void U(le)}J.done?W(Z):Promise.resolve(Z).then(H,K)}function V(D){return function(){var W=this,U=arguments;return new Promise(function(H,K){var G=D.apply(W,U);function Y(Z){f(G,H,K,Y,J,"next",Z)}function J(Z){f(G,H,K,Y,J,"throw",Z)}Y(void 0)})}}/** + */var n=r.selectDebug=function(){function e(a){return a.debug}return e}()},35421:function(w,r,n){"use strict";r.__esModule=!0,r.storeWindowGeometry=r.setupDrag=r.setWindowSize=r.setWindowPosition=r.setWindowKey=r.resizeStartHandler=r.recallWindowGeometry=r.getWindowSize=r.getWindowPosition=r.getScreenSize=r.getScreenPosition=r.dragStartHandler=void 0;var e=n(27108),a=n(97450),t=n(9394);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 W};var D,W={},U=Object.prototype,z=U.hasOwnProperty,K=Object.defineProperty||function(Ne,ae,de){Ne[ae]=de.value},$=typeof Symbol=="function"?Symbol:{},Y=$.iterator||"@@iterator",J=$.asyncIterator||"@@asyncIterator",Z=$.toStringTag||"@@toStringTag";function le(Ne,ae,de){return Object.defineProperty(Ne,ae,{value:de,enumerable:!0,configurable:!0,writable:!0}),Ne[ae]}try{le({},"")}catch(Ne){le=function(de,ve,se){return de[ve]=se}}function ne(Ne,ae,de,ve){var se=ae&&ae.prototype instanceof fe?ae:fe,be=Object.create(se.prototype),Me=new Re(ve||[]);return K(be,"_invoke",{value:Ve(Ne,de,Me)}),be}function me(Ne,ae,de){try{return{type:"normal",arg:Ne.call(ae,de)}}catch(ve){return{type:"throw",arg:ve}}}W.wrap=ne;var he="suspendedStart",ye="suspendedYield",te="executing",Q="completed",oe={};function fe(){}function ie(){}function ue(){}var re={};le(re,Y,function(){return this});var Se=Object.getPrototypeOf,Ie=Se&&Se(Se(ze([])));Ie&&Ie!==U&&z.call(Ie,Y)&&(re=Ie);var Ce=ue.prototype=fe.prototype=Object.create(re);function ge(Ne){["next","throw","return"].forEach(function(ae){le(Ne,ae,function(de){return this._invoke(ae,de)})})}function ke(Ne,ae){function de(se,be,Me,je){var Fe=me(Ne[se],Ne,be);if(Fe.type!=="throw"){var He=Fe.arg,Ue=He.value;return Ue&&typeof Ue=="object"&&z.call(Ue,"__await")?ae.resolve(Ue.__await).then(function(_e){de("next",_e,Me,je)},function(_e){de("throw",_e,Me,je)}):ae.resolve(Ue).then(function(_e){He.value=_e,Me(He)},function(_e){return de("throw",_e,Me,je)})}je(Fe.arg)}var ve;K(this,"_invoke",{value:function(){function se(be,Me){function je(){return new ae(function(Fe,He){de(be,Me,Fe,He)})}return ve=ve?ve.then(je,je):je()}return se}()})}function Ve(Ne,ae,de){var ve=he;return function(se,be){if(ve===te)throw Error("Generator is already running");if(ve===Q){if(se==="throw")throw be;return{value:D,done:!0}}for(de.method=se,de.arg=be;;){var Me=de.delegate;if(Me){var je=Le(Me,de);if(je){if(je===oe)continue;return je}}if(de.method==="next")de.sent=de._sent=de.arg;else if(de.method==="throw"){if(ve===he)throw ve=Q,de.arg;de.dispatchException(de.arg)}else de.method==="return"&&de.abrupt("return",de.arg);ve=te;var Fe=me(Ne,ae,de);if(Fe.type==="normal"){if(ve=de.done?Q:ye,Fe.arg===oe)continue;return{value:Fe.arg,done:de.done}}Fe.type==="throw"&&(ve=Q,de.method="throw",de.arg=Fe.arg)}}}function Le(Ne,ae){var de=ae.method,ve=Ne.iterator[de];if(ve===D)return ae.delegate=null,de==="throw"&&Ne.iterator.return&&(ae.method="return",ae.arg=D,Le(Ne,ae),ae.method==="throw")||de!=="return"&&(ae.method="throw",ae.arg=new TypeError("The iterator does not provide a '"+de+"' method")),oe;var se=me(ve,Ne.iterator,ae.arg);if(se.type==="throw")return ae.method="throw",ae.arg=se.arg,ae.delegate=null,oe;var be=se.arg;return be?be.done?(ae[Ne.resultName]=be.value,ae.next=Ne.nextLoc,ae.method!=="return"&&(ae.method="next",ae.arg=D),ae.delegate=null,oe):be:(ae.method="throw",ae.arg=new TypeError("iterator result is not an object"),ae.delegate=null,oe)}function we(Ne){var ae={tryLoc:Ne[0]};1 in Ne&&(ae.catchLoc=Ne[1]),2 in Ne&&(ae.finallyLoc=Ne[2],ae.afterLoc=Ne[3]),this.tryEntries.push(ae)}function xe(Ne){var ae=Ne.completion||{};ae.type="normal",delete ae.arg,Ne.completion=ae}function Re(Ne){this.tryEntries=[{tryLoc:"root"}],Ne.forEach(we,this),this.reset(!0)}function ze(Ne){if(Ne||Ne===""){var ae=Ne[Y];if(ae)return ae.call(Ne);if(typeof Ne.next=="function")return Ne;if(!isNaN(Ne.length)){var de=-1,ve=function(){function se(){for(;++de=0;--se){var be=this.tryEntries[se],Me=be.completion;if(be.tryLoc==="root")return ve("end");if(be.tryLoc<=this.prev){var je=z.call(be,"catchLoc"),Fe=z.call(be,"finallyLoc");if(je&&Fe){if(this.prev=0;--ve){var se=this.tryEntries[ve];if(se.tryLoc<=this.prev&&z.call(se,"finallyLoc")&&this.prev=0;--de){var ve=this.tryEntries[de];if(ve.finallyLoc===ae)return this.complete(ve.completion,ve.afterLoc),xe(ve),oe}}return Ne}(),catch:function(){function Ne(ae){for(var de=this.tryEntries.length-1;de>=0;--de){var ve=this.tryEntries[de];if(ve.tryLoc===ae){var se=ve.completion;if(se.type==="throw"){var be=se.arg;xe(ve)}return be}}throw Error("illegal catch attempt")}return Ne}(),delegateYield:function(){function Ne(ae,de,ve){return this.delegate={iterator:ze(ae),resultName:de,nextLoc:ve},this.method==="next"&&(this.arg=D),oe}return Ne}()},W}function f(D,W,U,z,K,$,Y){try{var J=D[$](Y),Z=J.value}catch(le){return void U(le)}J.done?W(Z):Promise.resolve(Z).then(z,K)}function V(D){return function(){var W=this,U=arguments;return new Promise(function(z,K){var $=D.apply(W,U);function Y(Z){f($,z,K,Y,J,"next",Z)}function J(Z){f($,z,K,Y,J,"throw",Z)}Y(void 0)})}}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var k=(0,t.createLogger)("drag"),S=Byond.windowId,b=!1,h=!1,i=[0,0],c,m,d,u,s,l=r.setWindowKey=function(){function D(W){S=W}return D}(),C=r.getWindowPosition=function(){function D(){return[window.screenLeft,window.screenTop]}return D}(),g=r.getWindowSize=function(){function D(){return[window.innerWidth,window.innerHeight]}return D}(),v=r.setWindowPosition=function(){function D(W){var U=(0,a.vecAdd)(W,i);return Byond.winset(Byond.windowId,{pos:U[0]+","+U[1]})}return D}(),p=r.setWindowSize=function(){function D(W){return Byond.winset(Byond.windowId,{size:W[0]+"x"+W[1]})}return D}(),N=r.getScreenPosition=function(){function D(){return[0-i[0],0-i[1]]}return D}(),y=r.getScreenSize=function(){function D(){return[window.screen.availWidth,window.screen.availHeight]}return D}(),B=function(W,U,H){H===void 0&&(H=50);for(var K=[U],G,Y=0;Yle&&(G[J]=le-U[J],Y=!0)}return[Y,G]},x=r.dragStartHandler=function(){function D(W){k.log("drag start"),b=!0,m=[window.screenLeft-W.screenX,window.screenTop-W.screenY],document.addEventListener("mousemove",M),document.addEventListener("mouseup",E),M(W)}return D}(),E=function D(W){k.log("drag end"),M(W),document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",D),b=!1,I()},M=function(W){b&&(W.preventDefault(),v((0,a.vecAdd)([W.screenX,W.screenY],m)))},j=r.resizeStartHandler=function(){function D(W,U){return function(H){d=[W,U],k.log("resize start",d),h=!0,m=[window.screenLeft-H.screenX,window.screenTop-H.screenY],u=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",R),document.addEventListener("mouseup",O),R(H)}}return D}(),O=function D(W){k.log("resize end",s),R(W),document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",D),h=!1,I()},R=function(W){h&&(W.preventDefault(),s=(0,a.vecAdd)(u,(0,a.vecMultiply)(d,(0,a.vecAdd)([W.screenX,W.screenY],(0,a.vecInverse)([window.screenLeft,window.screenTop]),m,[1,1]))),s[0]=Math.max(s[0],150),s[1]=Math.max(s[1],50),p(s))}},24826:function(w,r,n){"use strict";r.__esModule=!0,r.setupGlobalEvents=r.removeScrollableNode=r.globalEvents=r.canStealFocus=r.addScrollableNode=r.KeyEvent=void 0;var e=n(92868),a=n(92986);/** +*/var k=(0,t.createLogger)("drag"),S=Byond.windowId,y=!1,h=!1,i=[0,0],c,m,d,u,s,l=r.setWindowKey=function(){function D(W){S=W}return D}(),C=r.getWindowPosition=function(){function D(){return[window.screenLeft,window.screenTop]}return D}(),g=r.getWindowSize=function(){function D(){return[window.innerWidth,window.innerHeight]}return D}(),v=r.setWindowPosition=function(){function D(W){var U=(0,a.vecAdd)(W,i);return Byond.winset(Byond.windowId,{pos:U[0]+","+U[1]})}return D}(),p=r.setWindowSize=function(){function D(W){return Byond.winset(Byond.windowId,{size:W[0]+"x"+W[1]})}return D}(),N=r.getScreenPosition=function(){function D(){return[0-i[0],0-i[1]]}return D}(),b=r.getScreenSize=function(){function D(){return[window.screen.availWidth,window.screen.availHeight]}return D}(),B=function(W,U,z){z===void 0&&(z=50);for(var K=[U],$,Y=0;Yle&&($[J]=le-U[J],Y=!0)}return[Y,$]},x=r.dragStartHandler=function(){function D(W){k.log("drag start"),y=!0,m=[window.screenLeft-W.screenX,window.screenTop-W.screenY],document.addEventListener("mousemove",P),document.addEventListener("mouseup",E),P(W)}return D}(),E=function D(W){k.log("drag end"),P(W),document.removeEventListener("mousemove",P),document.removeEventListener("mouseup",D),y=!1,I()},P=function(W){y&&(W.preventDefault(),v((0,a.vecAdd)([W.screenX,W.screenY],m)))},j=r.resizeStartHandler=function(){function D(W,U){return function(z){d=[W,U],k.log("resize start",d),h=!0,m=[window.screenLeft-z.screenX,window.screenTop-z.screenY],u=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",R),document.addEventListener("mouseup",O),R(z)}}return D}(),O=function D(W){k.log("resize end",s),R(W),document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",D),h=!1,I()},R=function(W){h&&(W.preventDefault(),s=(0,a.vecAdd)(u,(0,a.vecMultiply)(d,(0,a.vecAdd)([W.screenX,W.screenY],(0,a.vecInverse)([window.screenLeft,window.screenTop]),m,[1,1]))),s[0]=Math.max(s[0],150),s[1]=Math.max(s[1],50),p(s))}},24826:function(w,r,n){"use strict";r.__esModule=!0,r.setupGlobalEvents=r.removeScrollableNode=r.globalEvents=r.canStealFocus=r.addScrollableNode=r.KeyEvent=void 0;var e=n(92868),a=n(92986);/** * 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,f=r.setupGlobalEvents=function(){function p(N){N===void 0&&(N={}),o=!!N.ignoreWindowFocus}return p}(),V,k=!0,S=function p(N,y){if(o){k=!0;return}if(V&&(clearTimeout(V),V=null),y){V=setTimeout(function(){return p(N)});return}k!==N&&(k=N,t.emit(N?"window-focus":"window-blur"),t.emit("window-focus-change",N))},b=null,h=r.canStealFocus=function(){function p(N){var y=String(N.tagName).toLowerCase();return y==="input"||y==="textarea"}return p}(),i=function(N){c(),b=N,b.addEventListener("blur",c)},c=function p(){b&&(b.removeEventListener("blur",p),b=null)},m=null,d=null,u=[],s=r.addScrollableNode=function(){function p(N){u.push(N)}return p}(),l=r.removeScrollableNode=function(){function p(N){var y=u.indexOf(N);y>=0&&u.splice(y,1)}return p}(),C=function(N){if(!(b||!k))for(var y=document.body;N&&N!==y;){if(u.includes(N)){if(N.contains(m))return;m=N,N.focus();return}N=N.parentNode}};window.addEventListener("mousemove",function(p){var N=p.target;N!==d&&(d=N,C(N))}),window.addEventListener("focusin",function(p){if(d=null,m=p.target,S(!0),h(p.target)){i(p.target);return}}),window.addEventListener("focusout",function(p){d=null,S(!1,!0)}),window.addEventListener("blur",function(p){d=null,S(!1,!0)}),window.addEventListener("beforeunload",function(p){S(!1)});var g={},v=r.KeyEvent=function(){function p(y,B,I){this.event=y,this.type=B,this.code=window.event?y.which:y.keyCode,this.ctrl=y.ctrlKey,this.shift=y.shiftKey,this.alt=y.altKey,this.repeat=!!I}var N=p.prototype;return N.hasModifierKeys=function(){function y(){return this.ctrl||this.alt||this.shift}return y}(),N.isModifierKey=function(){function y(){return this.code===a.KEY_CTRL||this.code===a.KEY_SHIFT||this.code===a.KEY_ALT}return y}(),N.isDown=function(){function y(){return this.type==="keydown"}return y}(),N.isUp=function(){function y(){return this.type==="keyup"}return y}(),N.toString=function(){function y(){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 y}(),p}();document.addEventListener("keydown",function(p){if(!h(p.target)){var N=p.keyCode,y=new v(p,"keydown",g[N]);t.emit("keydown",y),t.emit("key",y),g[N]=!0}}),document.addEventListener("keyup",function(p){if(!h(p.target)){var N=p.keyCode,y=new v(p,"keyup");t.emit("keyup",y),t.emit("key",y),g[N]=!1}})},87695:function(w,r){"use strict";r.__esModule=!0,r.focusWindow=r.focusMap=void 0;/** + */var t=r.globalEvents=new e.EventEmitter,o=!1,f=r.setupGlobalEvents=function(){function p(N){N===void 0&&(N={}),o=!!N.ignoreWindowFocus}return p}(),V,k=!0,S=function p(N,b){if(o){k=!0;return}if(V&&(clearTimeout(V),V=null),b){V=setTimeout(function(){return p(N)});return}k!==N&&(k=N,t.emit(N?"window-focus":"window-blur"),t.emit("window-focus-change",N))},y=null,h=r.canStealFocus=function(){function p(N){var b=String(N.tagName).toLowerCase();return b==="input"||b==="textarea"}return p}(),i=function(N){c(),y=N,y.addEventListener("blur",c)},c=function p(){y&&(y.removeEventListener("blur",p),y=null)},m=null,d=null,u=[],s=r.addScrollableNode=function(){function p(N){u.push(N)}return p}(),l=r.removeScrollableNode=function(){function p(N){var b=u.indexOf(N);b>=0&&u.splice(b,1)}return p}(),C=function(N){if(!(y||!k))for(var b=document.body;N&&N!==b;){if(u.includes(N)){if(N.contains(m))return;m=N,N.focus();return}N=N.parentNode}};window.addEventListener("mousemove",function(p){var N=p.target;N!==d&&(d=N,C(N))}),window.addEventListener("focusin",function(p){if(d=null,m=p.target,S(!0),h(p.target)){i(p.target);return}}),window.addEventListener("focusout",function(p){d=null,S(!1,!0)}),window.addEventListener("blur",function(p){d=null,S(!1,!0)}),window.addEventListener("beforeunload",function(p){S(!1)});var g={},v=r.KeyEvent=function(){function p(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 N=p.prototype;return N.hasModifierKeys=function(){function b(){return this.ctrl||this.alt||this.shift}return b}(),N.isModifierKey=function(){function b(){return this.code===a.KEY_CTRL||this.code===a.KEY_SHIFT||this.code===a.KEY_ALT}return b}(),N.isDown=function(){function b(){return this.type==="keydown"}return b}(),N.isUp=function(){function b(){return this.type==="keyup"}return b}(),N.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}(),p}();document.addEventListener("keydown",function(p){if(!h(p.target)){var N=p.keyCode,b=new v(p,"keydown",g[N]);t.emit("keydown",b),t.emit("key",b),g[N]=!0}}),document.addEventListener("keyup",function(p){if(!h(p.target)){var N=p.keyCode,b=new v(p,"keyup");t.emit("keyup",b),t.emit("key",b),g[N]=!1}})},87695:function(w,r){"use strict";r.__esModule=!0,r.focusWindow=r.focusMap=void 0;/** * Various focus helpers. * * @file @@ -234,23 +234,23 @@ * @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(b,h,i){if(h===void 0&&(h=-t),i===void 0&&(i=""),typeof b!="number"||!Number.isFinite(b))return b;var c=Math.floor(Math.log10(b)),m=Math.floor(Math.max(h*3,c)),d=Math.floor(c/3),u=Math.floor(m/3),s=(0,e.clamp)(t+u,0,a.length),l=a[s],C=b/Math.pow(1e3,u),g=d>h?2+u*3-m:0,v=(0,e.toFixed)(C,g)+" "+l+i;return v.trim()}return S}(),f=r.formatPower=function(){function S(b,h){return h===void 0&&(h=0),o(b,h,"W")}return S}(),V=r.formatMoney=function(){function S(b,h){if(h===void 0&&(h=0),!Number.isFinite(b))return b;var i=(0,e.round)(b,h);h>0&&(i=(0,e.toFixed)(b,h)),i=String(i);var c=i.length,m=i.indexOf(".");m===-1&&(m=c);for(var d="",u=0;u0&&u=0?"+":h<0?"\u2013":"",c=Math.abs(h);return c===1/0?c="Inf":c=(0,e.toFixed)(c,2),i+c+" dB"}return S}()},56518:function(w,r,n){"use strict";r.__esModule=!0,r.setupHotKeys=r.releaseHotKey=r.releaseHeldKeys=r.acquireHotKey=void 0;var e=f(n(92986)),a=n(24826),t=n(9394);function o(s){if(typeof WeakMap!="function")return null;var l=new WeakMap,C=new WeakMap;return(o=function(v){return v?C:l})(s)}function f(s,l){if(!l&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var C=o(l);if(C&&C.has(s))return C.get(s);var g={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in s)if(p!=="default"&&{}.hasOwnProperty.call(s,p)){var N=v?Object.getOwnPropertyDescriptor(s,p):null;N&&(N.get||N.set)?Object.defineProperty(g,p,N):g[p]=s[p]}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(y,h,i){if(h===void 0&&(h=-t),i===void 0&&(i=""),typeof y!="number"||!Number.isFinite(y))return y;var c=Math.floor(Math.log10(y)),m=Math.floor(Math.max(h*3,c)),d=Math.floor(c/3),u=Math.floor(m/3),s=(0,e.clamp)(t+u,0,a.length),l=a[s],C=y/Math.pow(1e3,u),g=d>h?2+u*3-m:0,v=(0,e.toFixed)(C,g)+" "+l+i;return v.trim()}return S}(),f=r.formatPower=function(){function S(y,h){return h===void 0&&(h=0),o(y,h,"W")}return S}(),V=r.formatMoney=function(){function S(y,h){if(h===void 0&&(h=0),!Number.isFinite(y))return y;var i=(0,e.round)(y,h);h>0&&(i=(0,e.toFixed)(y,h)),i=String(i);var c=i.length,m=i.indexOf(".");m===-1&&(m=c);for(var d="",u=0;u0&&u=0?"+":h<0?"\u2013":"",c=Math.abs(h);return c===1/0?c="Inf":c=(0,e.toFixed)(c,2),i+c+" dB"}return S}()},56518:function(w,r,n){"use strict";r.__esModule=!0,r.setupHotKeys=r.releaseHotKey=r.releaseHeldKeys=r.acquireHotKey=void 0;var e=f(n(92986)),a=n(24826),t=n(9394);function o(s){if(typeof WeakMap!="function")return null;var l=new WeakMap,C=new WeakMap;return(o=function(v){return v?C:l})(s)}function f(s,l){if(!l&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var C=o(l);if(C&&C.has(s))return C.get(s);var g={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in s)if(p!=="default"&&{}.hasOwnProperty.call(s,p)){var N=v?Object.getOwnPropertyDescriptor(s,p):null;N&&(N.get||N.set)?Object.defineProperty(g,p,N):g[p]=s[p]}return g.default=s,C&&C.set(s,g),g}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var V=(0,t.createLogger)("hotkeys"),k={},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],b={},h=function(l){if(l===16)return"Shift";if(l===17)return"Ctrl";if(l===18)return"Alt";if(l===33)return"Northeast";if(l===34)return"Southeast";if(l===35)return"Southwest";if(l===36)return"Northwest";if(l===37)return"West";if(l===38)return"North";if(l===39)return"East";if(l===40)return"South";if(l===45)return"Insert";if(l===46)return"Delete";if(l>=48&&l<=57||l>=65&&l<=90)return String.fromCharCode(l);if(l>=96&&l<=105)return"Numpad"+(l-96);if(l>=112&&l<=123)return"F"+(l-111);if(l===188)return",";if(l===189)return"-";if(l===190)return"."},i=function(l){var C=String(l);if(C==="Ctrl+F5"||C==="Ctrl+R"){location.reload();return}if(C!=="Ctrl+F"&&!(l.event.defaultPrevented||l.isModifierKey()||S.includes(l.code))){C==="F5"&&(l.event.preventDefault(),l.event.returnValue=!1);var g=h(l.code);if(g){var v=k[g];if(v)return V.debug("macro",v),Byond.command(v);if(l.isDown()&&!b[g]){b[g]=!0;var p='Key_Down "'+g+'"';return V.debug(p),Byond.command(p)}if(l.isUp()&&b[g]){b[g]=!1;var N='Key_Up "'+g+'"';return V.debug(N),Byond.command(N)}}}},c=r.acquireHotKey=function(){function s(l){S.push(l)}return s}(),m=r.releaseHotKey=function(){function s(l){var C=S.indexOf(l);C>=0&&S.splice(C,1)}return s}(),d=r.releaseHeldKeys=function(){function s(){for(var l=0,C=Object.keys(b);l=75?c="green":i.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:i.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:i.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,i.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:!!i.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:i.laws.map(function(m,d){return(0,e.createComponentVNode)(2,t.Box,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:i.wireless?"check":"times",content:i.wireless?"Enabled":"Disabled",color:i.wireless?"green":"red",onClick:function(){function m(){return h("wireless")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:i.radio?"check":"times",content:i.radio?"Enabled":"Disabled",color:i.radio?"green":"red",onClick:function(){function m(){return h("radio")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wipe",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:i.flushing||i.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function m(){return h("wipe")}return m}()})})]})})})]})})})}return V}()},39454:function(w,r,n){"use strict";r.__esModule=!0,r.AIFixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AIFixer=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data;if(i.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;(i.stat===2||i.stat===null)&&(c=!1);var m=null;i.integrity>=75?m="green":i.integrity>=25?m="yellow":m="red";var d=!0;return i.integrity>=100&&i.stat!==2&&(d=!1),(0,e.createComponentVNode)(2,o.Window,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:i.occupant,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:m,value:i.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:!!i.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:i.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:i.wireless?"times":"check",content:i.wireless?"Disabled":"Enabled",color:i.wireless?"red":"green",onClick:function(){function u(){return h("wireless")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.radio?"times":"check",content:i.radio?"Disabled":"Enabled",color:i.radio?"red":"green",onClick:function(){function u(){return h("radio")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!d||i.active,content:!d||i.active?"Already Repaired":"Repair",onClick:function(){function u(){return h("fix")}return u}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:i.active?"Reconstruction in progress.":""})]})})]})})})}return V}()},88422:function(w,r,n){"use strict";r.__esModule=!0,r.APC=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(195),V=r.APC=function(){function h(i,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,b)})})}return h}(),k={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"}},b=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.locked&&!u.siliconUser,l=u.normallyLocked,C=k[u.externalPower]||k[0],g=k[u.chargingStatus]||k[0],v=u.powerChannels||[],p=S[u.malfStatus]||S[0],N=u.powerCellStatus/100;return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main Breaker",color: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 y(){return d("breaker")}return y}()}),children:["[ ",C.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:N})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color: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 y(){return d("charge")}return y}()}),children:["[ ",g.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[v.map(function(y){var B=y.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:y.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:y.status>=2?"good":"bad",children:y.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!s&&(y.status===1||y.status===3),disabled:s,onClick:function(){function I(){return d("channel",B.auto)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!s&&y.status===2,disabled:s,onClick:function(){function I(){return d("channel",B.on)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!s&&y.status===0,disabled:s,onClick:function(){function I(){return d("channel",B.off)}return I}()})],4),children:[y.powerLoad," W"]},y.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:p.icon,content:p.content,color:"bad",onClick:function(){function y(){return d(p.action)}return y}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function y(){return d("overload")}return y}()})],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 y(){return d("cover")}return y}()})}),(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 y(){return d("emergency_lighting")}return y}()})}),(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 y(){return d("toggle_nightshift")}return y}()})})]})})],4)}},99660:function(w,r,n){"use strict";r.__esModule=!0,r.ATM=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ATM=function(){function m(d,u){var s=(0,a.useBackend)(u),l=s.act,C=s.data,g=C.view_screen,v=C.authenticated_account,p=C.ticks_left_locked_down,N=C.linked_db,y;if(p>0)y=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(!N)y=(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:y=(0,e.createComponentVNode)(2,k);break;case 2:y=(0,e.createComponentVNode)(2,S);break;case 3:y=(0,e.createComponentVNode)(2,i);break;default:y=(0,e.createComponentVNode)(2,b)}else y=(0,e.createComponentVNode)(2,h);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Section,{children:y})]})})}return m}(),V=function(d,u){var s=(0,a.useBackend)(u),l=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 p(){return l("insert_card")}return p}()})})})]})},k=function(d,u){var s=(0,a.useBackend)(u),l=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 l("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 l("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(d,u){var s=(0,a.useBackend)(u),l=s.act,C=s.data,g=(0,a.useLocalState)(u,"targetAccNumber",0),v=g[0],p=g[1],N=(0,a.useLocalState)(u,"fundsAmount",0),y=N[0],B=N[1],I=(0,a.useLocalState)(u,"purpose",0),L=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,M){return p(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 l("transfer",{target_acc_number:v,funds_amount:y,purpose:L})}return x}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},b=function(d,u){var s=(0,a.useBackend)(u),l=s.act,C=s.data,g=(0,a.useLocalState)(u,"fundsAmount",0),v=g[0],p=g[1],N=C.owner_name,y=C.money;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function B(){return l("logout")}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",y]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function B(I,L){return p(L)}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function B(){return l("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 l("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 l("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 l("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 l("balance_statement")}return B}()})})]})],4)},h=function(d,u){var s=(0,a.useBackend)(u),l=s.act,C=s.data,g=(0,a.useLocalState)(u,"accountID",null),v=g[0],p=g[1],N=(0,a.useLocalState)(u,"accountPin",null),y=N[0],B=N[1],I=C.machine_id,L=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 p(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 l("attempt_auth",{account_num:v,account_pin:y})}return T}()})})]})})},i=function(d,u){var s=(0,a.useBackend)(u),l=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(d,u){var s=(0,a.useBackend)(u),l=s.act,C=s.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function g(){return l("view_screen",{view_screen:0})}return g}()})}},86423:function(w,r,n){"use strict";r.__esModule=!0,r.AccountsUplinkTerminal=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(36352),V=n(98595),k=n(321),S=n(5485),b=r.AccountsUplinkTerminal=function(){function C(g,v){var p=(0,t.useBackend)(v),N=p.act,y=p.data,B=y.loginState,I=y.currentPage,L;if(B.logged_in)I===1?L=(0,e.createComponentVNode)(2,i):I===2?L=(0,e.createComponentVNode)(2,s):I===3&&(L=(0,e.createComponentVNode)(2,l));else return(0,e.createComponentVNode)(2,V.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S.LoginScreen)})})});return(0,e.createComponentVNode)(2,V.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.LoginInfo),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:L})]})})})}return C}(),h=function(g,v){var p=(0,t.useBackend)(v),N=p.data,y=(0,t.useLocalState)(v,"tabIndex",0),B=y[0],I=y[1],L=N.login_state;return(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,mb:1,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===0,onClick:function(){function T(){return I(0)}return T}(),children:"User Accounts"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===1,onClick:function(){function T(){return I(1)}return T}(),children:"Department Accounts"})]})})})},i=function(g,v){var p=(0,t.useLocalState)(v,"tabIndex",0),N=p[0];switch(N){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},c=function(g,v){var p=(0,t.useBackend)(v),N=p.act,y=p.data,B=y.accounts,I=(0,t.useLocalState)(v,"searchText",""),L=I[0],T=I[1],A=(0,t.useLocalState)(v,"sortId","owner_name"),x=A[0],E=A[1],M=(0,t.useLocalState)(v,"sortOrder",!0),j=M[0],O=M[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,d,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,d,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,d,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,d,{id:"money",children:"Account Balance"})]}),B.filter((0,a.createSearch)(L,function(R){return R.owner_name+"|"+R.account_number+"|"+R.suspended+"|"+R.money})).sort(function(R,D){var W=j?1:-1;return R[x].localeCompare(D[x])*W}).map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+R.suspended,onClick:function(){function D(){return N("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)})]})})})]})},m=function(g,v){var p=(0,t.useBackend)(v),N=p.act,y=p.data,B=y.department_accounts;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,f.TableCell,{children:"Department Name"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Number"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Status"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Balance"})]}),B.map(function(I){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+I.suspended,onClick:function(){function L(){return N("view_account_detail",{account_num:I.account_number})}return L}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wallet"})," ",I.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",I.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.money})]},I.account_number)})]})})})})},d=function(g,v){var p=(0,t.useLocalState)(v,"sortId","name"),N=p[0],y=p[1],B=(0,t.useLocalState)(v,"sortOrder",!0),I=B[0],L=B[1],T=g.id,A=g.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:N!==T&&"transparent",width:"100%",onClick:function(){function x(){N===T?L(!I):(y(T),L(!0))}return x}(),children:[A,N===T&&(0,e.createComponentVNode)(2,o.Icon,{name:I?"sort-up":"sort-down",ml:"0.25rem;"})]})})},u=function(g,v){var p=(0,t.useBackend)(v),N=p.act,y=p.data,B=y.is_printing,I=(0,t.useLocalState)(v,"searchText",""),L=I[0],T=I[1];return(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"New Account",icon:"plus",onClick:function(){function A(){return N("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 p=(0,t.useBackend)(v),N=p.act,y=p.data,B=y.account_number,I=y.owner_name,L=y.money,T=y.suspended,A=y.transactions,x=y.account_pin,E=y.is_department_account;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"#"+B+" / "+I,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function M(){return N("back")}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",B]}),!!E&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin",children: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 N("set_account_pin",{account_number:B})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:I}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:L}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:T?"red":"green",children:[T?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:T?"Unsuspend":"Suspend",icon:T?"unlock":"lock",onClick:function(){function M(){return N("toggle_suspension")}return M}()})]})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Transactions",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),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)})]})})})]})},l=function(g,v){var p=(0,t.useBackend)(v),N=p.act,y=p.data,B=(0,t.useLocalState)(v,"accName",""),I=B[0],L=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 N("back")}return E}()}),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Name Here",onChange:function(){function E(M,j){return L(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 N("finalise_create_account",{holder_name:I,starting_funds:A})}return E}()})]})}},56793:function(w,r,n){"use strict";r.__esModule=!0,r.AiAirlock=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},V=r.AiAirlock=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=f[c.power.main]||f[0],d=f[c.power.backup]||f[0],u=f[c.shock]||f[0];return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main",color:m.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){function s(){return i("disrupt-main")}return s}()}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"["+c.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:d.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){function s(){return i("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 i("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 i("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 i("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 i("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 i("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 i("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 i("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 i("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 i("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 i("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 k}()},72475:function(w,r,n){"use strict";r.__esModule=!0,r.AirAlarm=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(195),V=r.AirAlarm=function(){function u(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.locked;return(0,e.createComponentVNode)(2,o.Window,{width:570,height:p?310:755,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,S),!p&&(0,e.createFragment)([(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h)],4)]})})}return u}(),k=function(s){return s===0?"green":s===1?"orange":"red"},S=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.air,N=v.mode,y=v.atmos_alarm,B=v.locked,I=v.alarmActivated,L=v.rcon,T=v.target_temp,A;return p.danger.overall===0?y===0?A="Optimal":A="Caution: Atmos alert in area":p.danger.overall===1?A="Caution":A="DANGER: Internals Required",(0,e.createComponentVNode)(2,t.Section,{title:"Air Status",children:p?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:k(p.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.pressure})," kPa",!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:N===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:N===3,icon:"exclamation-triangle",onClick:function(){function x(){return g("mode",{mode:N===3?1:3})}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.oxygen/100,fractionDigits:"1",color:k(p.danger.oxygen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.nitrogen/100,fractionDigits:"1",color:k(p.danger.nitrogen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.co2/100,fractionDigits:"1",color:k(p.danger.co2)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxins",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.plasma/100,fractionDigits:"1",color:k(p.danger.plasma)})}),p.contents.n2o>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.n2o/100,fractionDigits:"1",color:k(p.danger.n2o)})}),p.contents.other>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.other/100,fractionDigits:"1",color:k(p.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:k(p.danger.temperature),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.temperature})," K / ",(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.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:p.thermostat_state?"On":"Off",selected:p.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:k(p.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:L===1,onClick:function(){function x(){return g("set_rcon",{rcon:1})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:L===2,onClick:function(){function x(){return g("set_rcon",{rcon:2})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:L===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!"})})},b=function(s,l){var C=(0,a.useLocalState)(l,"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 p(){return v(0)}return p}(),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 p(){return v(1)}return p}(),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 p(){return v(2)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog"})," Mode"]},"Mode"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===3,onClick:function(){function p(){return v(3)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},h=function(s,l){var C=(0,a.useLocalState)(l,"tabIndex",0),g=C[0],v=C[1];switch(g){case 0:return(0,e.createComponentVNode)(2,i);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,d);default:return"WE SHOULDN'T BE HERE!"}},i=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.vents;return p.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:N.power?"On":"Off",selected:N.power,icon:"power-off",onClick:function(){function y(){return g("command",{cmd:"power",val:!N.power,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:N.direction?"Blowing":"Siphoning",icon:N.direction?"sign-out-alt":"sign-in-alt",onClick:function(){function y(){return g("command",{cmd:"direction",val:!N.direction,id_tag:N.id_tag})}return y}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:N.checks===1,onClick:function(){function y(){return g("command",{cmd:"checks",val:1,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:N.checks===2,onClick:function(){function y(){return g("command",{cmd:"checks",val:2,id_tag:N.id_tag})}return y}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:N.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function y(){return g("command",{cmd:"set_external_pressure",id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function y(){return g("command",{cmd:"set_external_pressure",val:101.325,id_tag:N.id_tag})}return y}()})]})]})},N.name)})},c=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.scrubbers;return p.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:N.power?"On":"Off",selected:N.power,icon:"power-off",onClick:function(){function y(){return g("command",{cmd:"power",val:!N.power,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:N.scrubbing?"Scrubbing":"Siphoning",icon:N.scrubbing?"filter":"sign-in-alt",onClick:function(){function y(){return g("command",{cmd:"scrubbing",val:!N.scrubbing,id_tag:N.id_tag})}return y}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:N.widenet?"Extended":"Normal",selected:N.widenet,icon:"expand-arrows-alt",onClick:function(){function y(){return g("command",{cmd:"widenet",val:!N.widenet,id_tag:N.id_tag})}return y}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:N.filter_co2,onClick:function(){function y(){return g("command",{cmd:"co2_scrub",val:!N.filter_co2,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:N.filter_toxins,onClick:function(){function y(){return g("command",{cmd:"tox_scrub",val:!N.filter_toxins,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:N.filter_n2o,onClick:function(){function y(){return g("command",{cmd:"n2o_scrub",val:!N.filter_n2o,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:N.filter_o2,onClick:function(){function y(){return g("command",{cmd:"o2_scrub",val:!N.filter_o2,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:N.filter_n2,onClick:function(){function y(){return g("command",{cmd:"n2_scrub",val:!N.filter_n2,id_tag:N.id_tag})}return y}()})]})]})},N.name)})},m=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.modes,N=v.presets,y=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:p.map(function(L){return(!L.emagonly||L.emagonly&&!!y)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===B,onClick:function(){function T(){return g("mode",{mode:L.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"System Presets",children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,e.createComponentVNode)(2,t.Table,{mt:1,children:N.map(function(L){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===I,onClick:function(){function T(){return g("preset",{preset:L.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})]})],4)},d=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=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"})]}),p.map(function(N){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:N.name}),N.settings.map(function(y){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:y.selected===-1?"Off":y.selected,onClick:function(){function B(){return g("command",{cmd:"set_threshold",env:y.env,var:y.val})}return B}()})},y.val)})]},N.name)})]})})}},12333:function(w,r,n){"use strict";r.__esModule=!0,r.AirlockAccessController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AirlockAccessController=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.exterior_status,m=i.interior_status,d=i.processing,u,s;return c==="open"?u=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:d,onClick:function(){function l(){return h("force_ext")}return l}()}):u=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:d,onClick:function(){function l(){return h("cycle_ext_door")}return l}()}),m==="open"?s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:d,color:m==="open"?"red":d?"yellow":null,onClick:function(){function l(){return h("force_int")}return l}()}):s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:d,onClick:function(){function l(){return h("cycle_int_door")}return l}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:c==="closed"?"Locked":"Open"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Door Status",children:m==="closed"?"Locked":"Open"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.Box,{children:[u,s]})})]})})}return V}()},28736:function(w,r,n){"use strict";r.__esModule=!0,r.AirlockElectronics=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(49148),V=1,k=2,S=4,b=8,h=r.AirlockElectronics=function(){function m(d,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,i),(0,e.createComponentVNode)(2,c)]})})})}return m}(),i=function(d,u){var s=(0,a.useBackend)(u),l=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,onClick:function(){function v(){return l("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&k,onClick:function(){function v(){return l("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-right",content:"West",selected:g&b,onClick:function(){function v(){return l("unrestricted_access",{unres_dir:b})}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&V,onClick:function(){function v(){return l("unrestricted_access",{unres_dir:V})}return v}()})})]})]})})},c=function(d,u){var s=(0,a.useBackend)(u),l=s.act,C=s.data,g=C.selected_accesses,v=C.one_access,p=C.regions;return(0,e.createComponentVNode)(2,f.AccessList,{usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:v,content:"One",onClick:function(){function N(){return l("set_one_access",{access:"one"})}return N}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!v,content:"All",onClick:function(){function N(){return l("set_one_access",{access:"all"})}return N}()})],4),accesses:p,selectedList:g,accessMod:function(){function N(y){return l("set",{access:y})}return N}(),grantAll:function(){function N(){return l("grant_all")}return N}(),denyAll:function(){function N(){return l("clear_all")}return N}(),grantDep:function(){function N(y){return l("grant_region",{region:y})}return N}(),denyDep:function(){function N(y){return l("deny_region",{region:y})}return N}()})}},47365:function(w,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(89005),a=n(51057),t=n(72253),o=n(92986),f=n(36036),V=n(98595),k=-1,S=1,b=r.AlertModal=function(){function c(m,d){var u=(0,t.useBackend)(d),s=u.act,l=u.data,C=l.autofocus,g=l.buttons,v=g===void 0?[]:g,p=l.large_buttons,N=l.message,y=N===void 0?"":N,B=l.timeout,I=l.title,L=(0,t.useLocalState)(d,"selected",0),T=L[0],A=L[1],x=110+(y.length>30?Math.ceil(y.length/4):0)+(y.length&&p?5:0),E=325+(v.length>2?100:0),M=function(){function j(O){T===0&&O===k?A(v.length-1):T===v.length-1&&O===S?A(0):A(T+O)}return j}();return(0,e.createComponentVNode)(2,V.Window,{title:I,height:x,width:E,children:[!!B&&(0,e.createComponentVNode)(2,a.Loader,{value:B}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function j(O){var R=window.event?O.which:O.keyCode;R===o.KEY_SPACE||R===o.KEY_ENTER?s("choose",{choice:v[T]}):R===o.KEY_ESCAPE?s("cancel"):R===o.KEY_LEFT?(O.preventDefault(),M(k)):(R===o.KEY_TAB||R===o.KEY_RIGHT)&&(O.preventDefault(),M(S))}return j}(),children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:1,children:(0,e.createComponentVNode)(2,f.Box,{color:"label",overflow:"hidden",children:y})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:[!!C&&(0,e.createComponentVNode)(2,f.Autofocus),(0,e.createComponentVNode)(2,h,{selected:T})]})]})})})]})}return c}(),h=function(m,d){var u=(0,t.useBackend)(d),s=u.data,l=s.buttons,C=l===void 0?[]:l,g=s.large_buttons,v=s.swapped_buttons,p=m.selected;return(0,e.createComponentVNode)(2,f.Flex,{fill:!0,align:"center",direction:v?"row":"row-reverse",justify:"space-around",wrap:!0,children:C==null?void 0:C.map(function(N,y){return g&&C.length<3?(0,e.createComponentVNode)(2,f.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i,{button:N,id:y.toString(),selected:p===y})},y):(0,e.createComponentVNode)(2,f.Flex.Item,{grow:g?1:0,children:(0,e.createComponentVNode)(2,i,{button:N,id:y.toString(),selected:p===y})},y)})})},i=function(m,d){var u=(0,t.useBackend)(d),s=u.act,l=u.data,C=l.large_buttons,g=m.button,v=m.selected,p=g.length>7?"100%":7;return(0,e.createComponentVNode)(2,f.Button,{mx:C?1:0,pt:C?.33:0,content:g,fluid:!!C,onClick:function(){function N(){return s("choose",{choice:g})}return N}(),selected:v,textAlign:"center",height:!!C&&2,width:!C&&p})}},71824:function(w,r,n){"use strict";r.__esModule=!0,r.AppearanceChanger=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AppearanceChanger=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.change_race,d=c.species,u=c.specimen,s=c.change_gender,l=c.gender,C=c.change_eye_color,g=c.change_skin_tone,v=c.change_skin_color,p=c.change_head_accessory_color,N=c.change_hair_color,y=c.change_secondary_hair_color,B=c.change_facial_hair_color,I=c.change_secondary_facial_hair_color,L=c.change_head_marking_color,T=c.change_body_marking_color,A=c.change_tail_marking_color,x=c.change_head_accessory,E=c.head_accessory_styles,M=c.head_accessory_style,j=c.change_hair,O=c.hair_styles,R=c.hair_style,D=c.change_hair_gradient,W=c.change_facial_hair,U=c.facial_hair_styles,H=c.facial_hair_style,K=c.change_head_markings,G=c.head_marking_styles,Y=c.head_marking_style,J=c.change_body_markings,Z=c.body_marking_styles,le=c.body_marking_style,ne=c.change_tail_markings,me=c.tail_marking_styles,he=c.tail_marking_style,ye=c.change_body_accessory,te=c.body_accessory_styles,Q=c.body_accessory_style,oe=c.change_alt_head,fe=c.alt_head_styles,ie=c.alt_head_style,ue=!1;return(C||g||v||p||N||y||B||I||L||T||A)&&(ue=!0),(0,e.createComponentVNode)(2,o.Window,{width:800,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:d.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.specimen,selected:re.specimen===u,onClick:function(){function Se(){return i("race",{race:re.specimen})}return Se}()},re.specimen)})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:l==="male",onClick:function(){function re(){return i("gender",{gender:"male"})}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:l==="female",onClick:function(){function re(){return i("gender",{gender:"female"})}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:l==="plural",onClick:function(){function re(){return i("gender",{gender:"plural"})}return re}()})]}),!!ue&&(0,e.createComponentVNode)(2,V),!!x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:E.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.headaccessorystyle,selected:re.headaccessorystyle===M,onClick:function(){function Se(){return i("head_accessory",{head_accessory:re.headaccessorystyle})}return Se}()},re.headaccessorystyle)})}),!!j&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:O.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.hairstyle,selected:re.hairstyle===R,onClick:function(){function Se(){return i("hair",{hair:re.hairstyle})}return Se}()},re.hairstyle)})}),!!D&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function re(){return i("hair_gradient")}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function re(){return i("hair_gradient_offset")}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function re(){return i("hair_gradient_colour")}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function re(){return i("hair_gradient_alpha")}return re}()})]}),!!W&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:U.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.facialhairstyle,selected:re.facialhairstyle===H,onClick:function(){function Se(){return i("facial_hair",{facial_hair:re.facialhairstyle})}return Se}()},re.facialhairstyle)})}),!!K&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:G.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.headmarkingstyle,selected:re.headmarkingstyle===Y,onClick:function(){function Se(){return i("head_marking",{head_marking:re.headmarkingstyle})}return Se}()},re.headmarkingstyle)})}),!!J&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:Z.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.bodymarkingstyle,selected:re.bodymarkingstyle===le,onClick:function(){function Se(){return i("body_marking",{body_marking:re.bodymarkingstyle})}return Se}()},re.bodymarkingstyle)})}),!!ne&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:me.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.tailmarkingstyle,selected:re.tailmarkingstyle===he,onClick:function(){function Se(){return i("tail_marking",{tail_marking:re.tailmarkingstyle})}return Se}()},re.tailmarkingstyle)})}),!!ye&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:te.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.bodyaccessorystyle,selected:re.bodyaccessorystyle===Q,onClick:function(){function Se(){return i("body_accessory",{body_accessory:re.bodyaccessorystyle})}return Se}()},re.bodyaccessorystyle)})}),!!oe&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:fe.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.altheadstyle,selected:re.altheadstyle===ie,onClick:function(){function Se(){return i("alt_head",{alt_head:re.altheadstyle})}return Se}()},re.altheadstyle)})})]})})})}return k}(),V=function(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=[{key:"change_eye_color",text:"Change eye color",action:"eye_color"},{key:"change_skin_tone",text:"Change skin tone",action:"skin_tone"},{key:"change_skin_color",text:"Change skin color",action:"skin_color"},{key:"change_head_accessory_color",text:"Change head accessory color",action:"head_accessory_color"},{key:"change_hair_color",text:"Change hair color",action:"hair_color"},{key:"change_secondary_hair_color",text:"Change secondary hair color",action:"secondary_hair_color"},{key:"change_facial_hair_color",text:"Change facial hair color",action:"facial_hair_color"},{key:"change_secondary_facial_hair_color",text:"Change secondary facial hair color",action:"secondary_facial_hair_color"},{key:"change_head_marking_color",text:"Change head marking color",action:"head_marking_color"},{key:"change_body_marking_color",text:"Change body marking color",action:"body_marking_color"},{key:"change_tail_marking_color",text:"Change tail marking color",action:"tail_marking_color"}];return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Colors",children:m.map(function(d){return!!c[d.key]&&(0,e.createComponentVNode)(2,t.Button,{content:d.text,onClick:function(){function u(){return i(d.action)}return u}()},d.key)})})}},72285:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AtmosAlertConsole=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.priority||[],m=i.minor||[];return(0,e.createComponentVNode)(2,o.Window,{width:350,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Alarms",children:(0,e.createVNode)(1,"ul",null,[c.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),c.map(function(d){return(0,e.createVNode)(1,"li","color-bad",d,0,null,d)}),m.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),m.map(function(d){return(0,e.createVNode)(1,"li","color-average",d,0,null,d)})],0)})})})}return V}()},65805:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(36352),f=n(98595),V=function(c){if(c===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(c===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(c===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},k=function(c){if(c===0)return"green";if(c===1)return"orange";if(c===2)return"red"},S=r.AtmosControl=function(){function i(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=(0,a.useLocalState)(m,"tabIndex",0),C=l[0],g=l[1],v=function(){function p(N){switch(N){case 0:return(0,e.createComponentVNode)(2,b);case 1:return(0,e.createComponentVNode)(2,h);default:return"WE SHOULDN'T BE HERE!"}}return p}();return(0,e.createComponentVNode)(2,f.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,f.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 p(){return g(0)}return p}(),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 p(){return g(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),v(C)]})})})}return i}(),b=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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"})]}),l.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:V(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)})]})})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.data,s=(0,a.useLocalState)(m,"zoom",1),l=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(p){return C(p)}return v}(),children:g.filter(function(v){return v.z===2}).map(function(v){return(0,e.createComponentVNode)(2,t.NanoMap.Marker,{x:v.x,y:v.y,zoom:l,icon:"circle",tooltip:v.name,color:k(v.danger)},v.ref)})})})}},87816:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosFilter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AtmosFilter=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.on,m=i.pressure,d=i.max_pressure,u=i.filter_type,s=i.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 l(){return h("power")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function l(){return h("min_pressure")}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:d,value:m,onDrag:function(){function l(C,g){return h("custom_pressure",{pressure:g})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function l(){return h("max_pressure")}return l}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:s.map(function(l){return(0,e.createComponentVNode)(2,t.Button,{selected:l.gas_type===u,content:l.label,onClick:function(){function C(){return h("set_filter",{filter:l.gas_type})}return C}()},l.label)})})]})})})})}return V}()},52977:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AtmosMixer=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.on,d=c.pressure,u=c.max_pressure,s=c.node1_concentration,l=c.node2_concentration;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:m?"On":"Off",color:m?null:"red",selected:m,onClick:function(){function C(){return i("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:d===0,width:2.2,onClick:function(){function C(){return i("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:d,onDrag:function(){function C(g,v){return i("custom_pressure",{pressure:v})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:d===u,width:2.2,onClick:function(){function C(){return i("max_pressure")}return C}()})]}),(0,e.createComponentVNode)(2,V,{node_name:"Node 1",node_ref:s}),(0,e.createComponentVNode)(2,V,{node_name:"Node 2",node_ref:l})]})})})})}return k}(),V=function(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=S.node_name,d=S.node_ref;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:m,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:d===0,onClick:function(){function u(){return i("set_node",{node_name:m,concentration:(d-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:d,onChange:function(){function u(s,l){return i("set_node",{node_name:m,concentration:l/100})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:d===100,onClick:function(){function u(){return i("set_node",{node_name:m,concentration:(d+10)/100})}return u}()})]})}},11748:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosPump=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AtmosPump=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.on,m=i.rate,d=i.max_rate,u=i.gas_unit,s=i.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 l(){return h("power")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function l(){return h("min_rate")}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:u,width:6.1,lineHeight:1.5,step:s,minValue:0,maxValue:d,value:m,onDrag:function(){function l(C,g){return h("custom_rate",{rate:g})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function l(){return h("max_rate")}return l}()})]})]})})})})}return V}()},69321:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosTankControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(44879),f=n(76910),V=n(98595),k=r.AtmosTankControl=function(){function S(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.sensors||{};return(0,e.createComponentVNode)(2,V.Window,{width:400,height:400,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:[Object.keys(d).map(function(u){return(0,e.createComponentVNode)(2,t.Section,{title:u,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[Object.keys(d[u]).indexOf("pressure")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:[d[u].pressure," kpa"]}):"",Object.keys(d[u]).indexOf("temperature")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[d[u].temperature," K"]}):"",["o2","n2","plasma","co2","n2o"].map(function(s){return Object.keys(d[u]).indexOf(s)>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:(0,f.getGasLabel)(s),children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:(0,f.getGasColor)(s),value:d[u][s],minValue:0,maxValue:100,children:(0,o.toFixed)(d[u][s],2)+"%"})},(0,f.getGasLabel)(s)):""})]})},u)}),m.inlet&&Object.keys(m.inlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Inlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.inlet.on,"power-off"),content:m.inlet.on?"On":"Off",color:m.inlet.on?null:"red",selected:m.inlet.on,onClick:function(){function 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:m.inlet.rate,onDrag:function(){function u(s,l){return c("set_pressure",{dev:"inlet",val:l})}return u}()})})]})}):"",m.outlet&&Object.keys(m.outlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Outlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.outlet.on,"power-off"),content:m.outlet.on?"On":"Off",color:m.outlet.on?null:"red",selected:m.outlet.on,onClick:function(){function 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:m.outlet.rate,onDrag:function(){function u(s,l){return c("set_pressure",{dev:"outlet",val:l})}return u}()})})]})}):""]})})}return S}()},59179:function(w,r,n){"use strict";r.__esModule=!0,r.Autolathe=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),f=n(36036),V=n(98595),k=n(25328),S=function(i,c,m,d){return i.requirements===null?!0:!(i.requirements.metal*d>c||i.requirements.glass*d>m)},b=r.Autolathe=function(){function h(i,c){var m=(0,o.useBackend)(c),d=m.act,u=m.data,s=u.total_amount,l=u.max_amount,C=u.metal_amount,g=u.glass_amount,v=u.busyname,p=u.busyamt,N=u.showhacked,y=u.buildQueue,B=u.buildQueueLen,I=u.recipes,L=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,"),M=g.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),j=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),O=(0,o.useSharedState)(c,"search_text",""),R=O[0],D=O[1],W=(0,k.createSearch)(R,function(G){return G.name}),U="";B>0&&(U=y.map(function(G,Y){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"times",color:"transparent",content:y[Y][0],onClick:function(){function J(){return d("remove_from_queue",{remove_from_queue:y.indexOf(G)+1})}return J}()},G)},Y)}));var H=(0,a.flow)([(0,t.filter)(function(G){return(G.category.indexOf(A)>-1||R)&&(u.showhacked||!G.hacked)}),R&&(0,t.filter)(W),(0,t.sortBy)(function(G){return G.name.toLowerCase()})])(I),K="Build";return R?K="Results for: '"+R+"':":A&&(K="Build ("+A+")"),(0,e.createComponentVNode)(2,V.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"70%",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:K,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"150px",options:L,selected:A,onSelected:function(){function G(Y){return x(Y)}return G}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function G(Y,J){return D(J)}return G}(),mb:1}),H.map(function(G){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+G.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===G.name&&u.busyamt===1,disabled:!S(G,u.metal_amount,u.glass_amount,1),onClick:function(){function Y(){return d("make",{make:G.uid,multiplier:1})}return Y}(),children:(0,k.toTitleCase)(G.name)}),G.max_multiplier>=10&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===G.name&&u.busyamt===10,disabled:!S(G,u.metal_amount,u.glass_amount,10),onClick:function(){function Y(){return d("make",{make:G.uid,multiplier:10})}return Y}(),children:"10x"}),G.max_multiplier>=25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===G.name&&u.busyamt===25,disabled:!S(G,u.metal_amount,u.glass_amount,25),onClick:function(){function Y(){return d("make",{make:G.uid,multiplier:25})}return Y}(),children:"25x"}),G.max_multiplier>25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===G.name&&u.busyamt===G.max_multiplier,disabled:!S(G,u.metal_amount,u.glass_amount,G.max_multiplier),onClick:function(){function Y(){return d("make",{make:G.uid,multiplier:G.max_multiplier})}return Y}(),children:[G.max_multiplier,"x"]}),G.requirements&&Object.keys(G.requirements).map(function(Y){return(0,k.toTitleCase)(Y)+": "+G.requirements[Y]}).join(", ")||(0,e.createComponentVNode)(2,f.Box,{children:"No resources required."})]},G.ref)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:[(0,e.createComponentVNode)(2,f.Section,{title:"Materials",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Metal",children:E}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Glass",children:M}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Total",children:j}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Storage",children:[u.fill_percent,"% Full"]})]})}),(0,e.createComponentVNode)(2,f.Section,{title:"Building",children:(0,e.createComponentVNode)(2,f.Box,{color:v?"green":"",children:v||"Nothing"})}),(0,e.createComponentVNode)(2,f.Section,{title:"Build Queue",height:23.7,children:[U,(0,e.createComponentVNode)(2,f.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!u.buildQueueLen,onClick:function(){function G(){return d("clear_queue")}return G}()})]})]})]})})})}return h}()},5147:function(w,r,n){"use strict";r.__esModule=!0,r.BioChipPad=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.BioChipPad=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.implant,m=i.contains_case,d=i.gps,u=i.tag,s=(0,a.useLocalState)(S,"newTag",u),l=s[0],C=s[1];return(0,e.createComponentVNode)(2,o.Window,{width:410,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Bio-chip Mini-Computer",buttons:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject Case",icon:"eject",disabled:!m,onClick:function(){function g(){return h("eject_case")}return g}()})}),children:c&&m?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+c.image,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),c.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:c.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:c.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:c.function}),!!d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,t.Input,{width:"5.5rem",value:u,onEnter:function(){function g(){return h("tag",{newtag:l})}return g}(),onInput:function(){function g(v,p){return C(p)}return g}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:u===l,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function g(){return h("tag",{newtag:l})}return g}(),children:(0,e.createComponentVNode)(2,t.Icon,{name:"pen"})})]})]})],4):m?(0,e.createComponentVNode)(2,t.Box,{children:"This bio-chip case has no implant!"}):(0,e.createComponentVNode)(2,t.Box,{children:"Please insert a bio-chip casing!"})})})})}return V}()},64273:function(w,r,n){"use strict";r.__esModule=!0,r.Biogenerator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(62411),V=r.Biogenerator=function(){function i(c,m){var d=(0,a.useBackend)(m),u=d.data,s=d.config,l=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,f.Operating,{operating:C,name:g}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b),l?(0,e.createComponentVNode)(2,h):(0,e.createComponentVNode)(2,k)]})})})}return i}(),k=function(c,m){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The biogenerator is missing a container."]})})})},S=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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:l}),(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"})]})]})},b=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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:!l,tooltip:l?"":"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:!l,tooltip:l?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function g(){return u("eject_plants")}return g}()})})]})})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=s.biomass,C=s.product_list,g=(0,a.useSharedState)(m,"vendAmount",1),v=g[0],p=g[1],N=Object.entries(C).map(function(y,B){var I=Object.entries(y[1]).map(function(L){return L[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:y[0],open:!0,children:I.map(function(L){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",ml:"2px",children:L.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"20%",children:[L.cost*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:lu&&"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:[!!p&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Safety Protocols disabled"}),u>N&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"High Power, Instability likely"}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Input Management",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Level",children: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:d===0,tooltip:"Set to 0",onClick:function(){function I(){return i("set",{set_level:0})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:d===0,onClick:function(){function I(){return i("set",{set_level:u})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:d===0,tooltip:"Decrease one step",onClick:function(){function I(){return i("decrease")}return I}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{value:d,fillValue:u,minValue:0,color:B,maxValue:v,stepPixelSize:20,step:1,onChange:function(){function I(L,T){return i("set",{set_level:T})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:d===v,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function I(){return i("increase")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:d===v,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function I(){return i("set",{set_level:v})}return I}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Power Use",children:(0,f.formatPower)(C)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power for next level",children:(0,f.formatPower)(y)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,f.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:l})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:m.map(function(I){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:I.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:I.price>=s,onClick:function(){function L(){return i("vend",{target:I.key})}return L}(),content:I.price})},I.key)})})})})]})})]})})})}return k}()},33758:function(w,r,n){"use strict";r.__esModule=!0,r.BodyScanner=void 0;var e=n(89005),a=n(44879),t=n(25328),o=n(72253),f=n(36036),V=n(98595),k=[["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."]],b=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Cellular","cloneLoss"],["Burn","fireLoss"],["Inebriation","drunkenness"]],h={average:[.25,.5],bad:[.5,1/0]},i=function(B,I){for(var L=[],T=0;T0?B.filter(function(I){return!!I}).reduce(function(I,L){return(0,e.createFragment)([I,(0,e.createComponentVNode)(2,f.Box,{children:L},L)],0)},null):null},m=function(B){if(B>100){if(B<300)return"mild infection";if(B<400)return"mild infection+";if(B<500)return"mild infection++";if(B<700)return"acute infection";if(B<800)return"acute infection+";if(B<900)return"acute infection++";if(B>=900)return"septic"}return""},d=r.BodyScanner=function(){function y(B,I){var L=(0,o.useBackend)(I),T=L.data,A=T.occupied,x=T.occupant,E=x===void 0?{}:x,M=A?(0,e.createComponentVNode)(2,u,{occupant:E}):(0,e.createComponentVNode)(2,N);return(0,e.createComponentVNode)(2,V.Window,{width:700,height:600,title:"Body Scanner",children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:M})})}return y}(),u=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,s,{occupant:I}),(0,e.createComponentVNode)(2,l,{occupant:I}),(0,e.createComponentVNode)(2,C,{occupant:I}),(0,e.createComponentVNode)(2,v,{organs:I.extOrgan}),(0,e.createComponentVNode)(2,p,{organs:I.intOrgan})]})},s=function(B,I){var L=(0,o.useBackend)(I),T=L.act,A=L.data,x=A.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Button,{icon:"print",onClick:function(){function E(){return T("print_p")}return E}(),children:"Print Report"}),(0,e.createComponentVNode)(2,f.Button,{icon:"user-slash",onClick:function(){function E(){return T("ejectify")}return E}(),children:"Eject"})],4),children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.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,f.LabeledList.Item,{label:"Status",color:k[x.stat][0],children:k[x.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(x.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(x.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Implants",children:x.implant_len?(0,e.createComponentVNode)(2,f.Box,{children:x.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"None"})})]})})},l=function(B){var I=B.occupant;return I.hasBorer||I.blind||I.colourblind||I.nearsighted||I.hasVirus?(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:S.map(function(L,T){if(I[L[0]])return(0,e.createComponentVNode)(2,f.Box,{color:L[1],bold:L[1]==="bad",children:L[2]},L[2])})}):(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No abnormalities found."})})},C=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Damage",children:(0,e.createComponentVNode)(2,f.Table,{children:i(b,function(L,T,A){return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Table.Row,{color:"label",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:[L[0],":"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:!!T&&T[0]+":"})]}),(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:(0,e.createComponentVNode)(2,g,{value:I[L[1]],marginBottom:A100)&&"average"||!!I.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{m:-.5,min:"0",max:I.maxHealth,mt:L>0&&"0.5rem",value:I.totalLoss/I.maxHealth,ranges:h,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Tooltip,{content:"Total damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(I.totalLoss)]})}),!!I.bruteLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Brute damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,f.Icon,{name:"bone",mr:.5}),(0,a.round)(I.bruteLoss)]})}),!!I.fireLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Burn damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"fire",mr:.5}),(0,a.round)(I.fireLoss)]})})]})})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([!!I.internalBleeding&&"Internal bleeding",!!I.burnWound&&"Critical tissue burns",!!I.lungRuptured&&"Ruptured lung",!!I.status.broken&&I.status.broken,m(I.germ_level),!!I.open&&"Open incision"])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:[c([!!I.status.splinted&&(0,e.createComponentVNode)(2,f.Box,{color:"good",children:"Splinted"}),!!I.status.robotic&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),!!I.status.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})]),c(I.shrapnel.map(function(T){return T.known?T.name:"Unknown object"}))]})]})]},L)})]})})},p=function(B){return B.organs.length===0?(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Table,{children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",children:"Injuries"})]}),B.organs.map(function(I,L){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{color:!!I.dead&&"bad"||I.germ_level>100&&"average"||I.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:I.maxHealth,value:I.damage/I.maxHealth,mt:L>0&&"0.5rem",ranges:h,children:(0,a.round)(I.damage)})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([m(I.germ_level)])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:c([I.robotic===1&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),I.robotic===2&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Assisted"}),!!I.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})])})]})]},L)})]})})},N=function(){return(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},67963:function(w,r,n){"use strict";r.__esModule=!0,r.BookBinder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),V=n(39473),k=r.BookBinder=function(){function S(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.selectedbook,u=m.book_categories,s=[];return u.map(function(l){return s[l.description]=l.category_id}),(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Book Binder",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",width:"auto",content:"Print Book",onClick:function(){function l(){return c("print_book")}return l}()}),children:[(0,e.createComponentVNode)(2,t.Box,{ml:10,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:"1rem"}),"Book Binder"]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.title,onClick:function(){function l(){return(0,f.modalOpen)(h,"edit_selected_title")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.author,onClick:function(){function l(){return(0,f.modalOpen)(h,"edit_selected_author")}return l}()})}),(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(l){return l.description}),onSelected:function(){function l(C){return c("toggle_binder_category",{category_id:s[C]})}return l}()})})}),(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 l(){return(0,f.modalOpen)(h,"edit_selected_summary")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:d.summary})]}),(0,e.createVNode)(1,"br"),u.filter(function(l){return d.categories.includes(l.category_id)}).map(function(l){return(0,e.createComponentVNode)(2,t.Button,{content:l.description,selected:!0,icon:"unlink",onClick:function(){function C(){return c("toggle_binder_category",{category_id:l.category_id})}return C}()},l.category_id)})]})})]})})})]})}return S}()},61925:function(w,r,n){"use strict";r.__esModule=!0,r.BotCall=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(i){var c=[{modes:[0],label:"Idle",color:"green"},{modes:[1,2,3],label:"Arresting",color:"yellow"},{modes:[4,5],label:"Patrolling",color:"average"},{modes:[9],label:"Moving",color:"average"},{modes:[6,11],label:"Responding",color:"green"},{modes:[12],label:"Delivering Cargo",color:"blue"},{modes:[13],label:"Returning Home",color:"blue"},{modes:[7,8,10,14,15,16,17,18,19],label:"Working",color:"blue"}],m=c.find(function(d){return d.modes.includes(i)});return(0,e.createComponentVNode)(2,t.Box,{color:m.color,children:[" ",m.label," "]})},V=r.BotCall=function(){function h(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=(0,a.useLocalState)(c,"tabIndex",0),l=s[0],C=s[1],g={0:"Security",1:"Medibot",2:"Cleanbot",3:"Floorbot",4:"Mule",5:"Honkbot"},v=function(){function p(N){return g[N]?(0,e.createComponentVNode)(2,k,{model:g[N]}):"This should not happen. Report on Paradise Github"}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:700,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:l===0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:Array.from({length:6}).map(function(p,N){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:l===N,onClick:function(){function y(){return C(N)}return y}(),children:g[N]},N)})})}),v(l)]})})})}return h}(),k=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.bots;return s[i.model]!==void 0?(0,e.createComponentVNode)(2,b,{model:[i.model]}):(0,e.createComponentVNode)(2,S,{model:[i.model]})},S=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data;return(0,e.createComponentVNode)(2,t.Stack,{justify:"center",align:"center",fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Box,{bold:1,color:"bad",children:["No ",[i.model]," detected"]})})},b=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.bots;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Model"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Location"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Interface"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Call"})]}),s[i.model].map(function(l){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.model}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.on?f(l.status):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Off"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.location}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Interface",onClick:function(){function C(){return d("interface",{botref:l.UID})}return C}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Call",onClick:function(){function C(){return d("call",{botref:l.UID})}return C}()})})]},l.UID)})]})})})}},20464:function(w,r,n){"use strict";r.__esModule=!0,r.BotClean=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),V=r.BotClean=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.locked,d=c.noaccess,u=c.maintpanel,s=c.on,l=c.autopatrol,C=c.canhack,g=c.emagged,v=c.remote_disabled,p=c.painame,N=c.cleanblood,y=c.area;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Cleaning Settings",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"Clean Blood",disabled:d,onClick:function(){function B(){return i("blood")}return B}()})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc Settings",children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:y?"Reset Area Selection":"Restrict to Current Area",onClick:function(){function B(){return i("area")}return B}()}),y!==null&&(0,e.createComponentVNode)(2,t.LabeledList,{mb:1,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Locked Area",children:y})})]}),p&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:p,disabled:d,onClick:function(){function B(){return i("ejectpai")}return B}()})})]})})}return k}()},69479:function(w,r,n){"use strict";r.__esModule=!0,r.BotFloor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),V=r.BotFloor=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.noaccess,d=c.painame,u=c.hullplating,s=c.replace,l=c.eat,C=c.make,g=c.fixfloor,v=c.nag_empty,p=c.magnet,N=c.tiles_amount;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Floor Settings",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"5px",children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tiles Left",children:N})}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked: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:m,onClick:function(){function y(){return i("autotile")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Add floor tiles on exposed hull plating",tooltip:"Example: It will add tiles to maintenance",disabled:m,onClick:function(){function y(){return i("replacetiles")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Repair damaged tiles and platings",disabled:m,onClick:function(){function y(){return i("fixfloors")}return y}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Miscellaneous",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:l,content:"Finds tiles",disabled:m,onClick:function(){function y(){return i("eattiles")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:C,content:"Make pieces of metal into tiles when empty",disabled:m,onClick:function(){function y(){return i("maketiles")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Transmit notice when empty",disabled:m,onClick:function(){function y(){return i("nagonempty")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"Traction Magnets",disabled:m,onClick:function(){function y(){return i("anchored")}return y}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function y(){return i("ejectpai")}return y}()})})]})})}return k}()},59887:function(w,r,n){"use strict";r.__esModule=!0,r.BotHonk=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),V=r.BotHonk=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:220,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.BotStatus)})})}return k}()},80063:function(w,r,n){"use strict";r.__esModule=!0,r.BotMed=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),V=r.BotMed=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.locked,d=c.noaccess,u=c.maintpanel,s=c.on,l=c.autopatrol,C=c.canhack,g=c.emagged,v=c.remote_disabled,p=c.painame,N=c.shut_up,y=c.declare_crit,B=c.stationary_mode,I=c.heal_threshold,L=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,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Communication Settings",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Speaker",checked:!N,disabled:d,onClick:function(){function E(){return i("toggle_speaker")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Critical Patient Alerts",checked:y,disabled:d,onClick:function(){function E(){return i("toggle_critical_alerts")}return E}()})]}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Treatment Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Healing Threshold",children:(0,e.createComponentVNode)(2,t.Slider,{value:I.value,minValue:I.min,maxValue:I.max,step:5,disabled:d,onChange:function(){function E(M,j){return i("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:L.value,minValue:L.min,maxValue:L.max,step:5,format:function(){function E(M){return M+"u"}return E}(),disabled:d,onChange:function(){function E(M,j){return i("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:d,onClick:function(){function E(){return i("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:d,onClick:function(){function E(){return i("eject_reagent_glass")}return E}()})})]})})]}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{mt:1,fluid:!0,content:"Treat Viral Infections",checked:A,disabled:d,onClick:function(){function E(){return i("toggle_treat_viral")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Stationary Mode",checked:B,disabled:d,onClick:function(){function E(){return i("toggle_stationary_mode")}return E}()})]}),p&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:p,disabled:d,onClick:function(){function E(){return i("ejectpai")}return E}()})})]})})})}return k}()},74439:function(w,r,n){"use strict";r.__esModule=!0,r.BotSecurity=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),V=r.BotSecurity=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.noaccess,d=c.painame,u=c.check_id,s=c.check_weapons,l=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,f.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:m,onClick:function(){function v(){return i("authid")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Unauthorized Weapons",disabled:m,onClick:function(){function v(){return i("authweapon")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:l,content:"Wanted Criminals",disabled:m,onClick:function(){function v(){return i("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:m,onClick:function(){function v(){return i("arrtype")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Announce Arrests On Radio",disabled:m,onClick:function(){function v(){return i("arrdeclare")}return v}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function v(){return i("ejectpai")}return v}()})})]})})}return k}()},10833:function(w,r,n){"use strict";r.__esModule=!0,r.BrigCells=void 0;var e=n(89005),a=n(98595),t=n(36036),o=n(72253),f=function(b,h){var i=b.cell,c=(0,o.useBackend)(h),m=c.act,d=i.cell_id,u=i.occupant,s=i.crimes,l=i.brigged_by,C=i.time_left_seconds,g=i.time_set_seconds,v=i.ref,p="";C>0&&(p+=" BrigCells__listRow--active");var N=function(){m("release",{ref:v})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:p,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(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:l}),(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:N,children:"Release"})})]})},V=function(b){var h=b.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"})]}),h.map(function(i){return(0,e.createComponentVNode)(2,f,{cell:i},i.ref)})]})},k=r.BrigCells=function(){function S(b,h){var i=(0,o.useBackend)(h),c=i.act,m=i.data,d=m.cells;return(0,e.createComponentVNode)(2,a.Window,{theme:"security",width:800,height:400,children:(0,e.createComponentVNode)(2,a.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V,{cells:d})})})})})}return S}()},45761:function(w,r,n){"use strict";r.__esModule=!0,r.BrigTimer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.BrigTimer=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data;i.nameText=i.occupant,i.timing&&(i.prisoner_hasrec?i.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i.occupant}):i.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:i.occupant}));var c="pencil-alt";i.prisoner_name&&(i.prisoner_hasrec||(c="exclamation-triangle"));var m=[],d=0;for(d=0;dm?this.substring(0,m)+"...":this};var b=function(d,u){var s,l;if(!u)return[];var C=d.findIndex(function(g){return g.name===u.name});return[(s=d[C-1])==null?void 0:s.name,(l=d[C+1])==null?void 0:l.name]},h=function(d,u){u===void 0&&(u="");var s=(0,f.createSearch)(u,function(l){return l.name});return(0,t.flow)([(0,a.filter)(function(l){return l==null?void 0:l.name}),u&&(0,a.filter)(s),(0,a.sortBy)(function(l){return l.name})])(d)},i=r.CameraConsole=function(){function m(d,u){var s=(0,V.useBackend)(u),l=s.act,C=s.data,g=s.config,v=C.mapRef,p=C.activeCamera,N=h(C.cameras),y=b(N,p),B=y[0],I=y[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,k.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),p&&p.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,k.Button,{icon:"chevron-left",disabled:!B,onClick:function(){function L(){return l("switch_camera",{name:B})}return L}()}),(0,e.createComponentVNode)(2,k.Button,{icon:"chevron-right",disabled:!I,onClick:function(){function L(){return l("switch_camera",{name:I})}return L}()})],4),(0,e.createComponentVNode)(2,k.ByondUi,{className:"CameraConsole__map",params:{id:v,type:"map"}})],4)]})}return m}(),c=r.CameraConsoleContent=function(){function m(d,u){var s=(0,V.useBackend)(u),l=s.act,C=s.data,g=(0,V.useLocalState)(u,"searchText",""),v=g[0],p=g[1],N=C.activeCamera,y=h(C.cameras,v);return(0,e.createComponentVNode)(2,k.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function B(I,L){return p(L)}return B}()})}),(0,e.createComponentVNode)(2,k.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,k.Section,{fill:!0,scrollable:!0,children:y.map(function(B){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",N&&B.name===N.name&&"Button--selected"]),B.name.trimLongStr(23),0,{title:B.name,onClick:function(){function I(){return l("switch_camera",{name:B.name})}return I}()},B.name)})})})]})}return m}()},52927:function(w,r,n){"use strict";r.__esModule=!0,r.Canister=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(49968),V=n(98595),k=r.Canister=function(){function S(b,h){var i=(0,t.useBackend)(h),c=i.act,m=i.data,d=m.portConnected,u=m.tankPressure,s=m.releasePressure,l=m.defaultReleasePressure,C=m.minReleasePressure,g=m.maxReleasePressure,v=m.valveOpen,p=m.name,N=m.canLabel,y=m.colorContainer,B=m.color_index,I=m.hasHoldingTank,L=m.holdingTank,T="";B.prim&&(T=y.prim.options[B.prim].name);var A="";B.sec&&(A=y.sec.options[B.sec].name);var x="";B.ter&&(x=y.ter.options[B.ter].name);var E="";B.quart&&(E=y.quart.options[B.quart].name);var M=[],j=[],O=[],R=[],D=0;for(D=0;Dp.current_positions&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:p.total_positions-p.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:l.cooldown_time||!p.can_close,onClick:function(){function N(){return s("make_job_unavailable",{job:p.title})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:l.cooldown_time||!p.can_open,onClick:function(){function N(){return s("make_job_available",{job:p.title})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:l.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l.priority_jobs.indexOf(p.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:p.is_priority?"Yes":"No",selected:p.is_priority,disabled:l.cooldown_time||!p.can_prioritize,onClick:function(){function N(){return s("prioritize_job",{job:p.title})}return N}()})})]},p.title)})]})})]}):v=(0,e.createComponentVNode)(2,S);break;case 2:!l.authenticated||!l.scan_name?v=(0,e.createComponentVNode)(2,S):l.modify_name?v=(0,e.createComponentVNode)(2,f.AccessList,{accesses:l.regions,selectedList:l.selectedAccess,accessMod:function(){function p(N){return s("set",{access:N})}return p}(),grantAll:function(){function p(){return s("grant_all")}return p}(),denyAll:function(){function p(){return s("clear_all")}return p}(),grantDep:function(){function p(N){return s("grant_region",{region:N})}return p}(),denyDep:function(){function p(N){return s("deny_region",{region:N})}return p}()}):v=(0,e.createComponentVNode)(2,b);break;case 3:l.authenticated?l.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:!l.authenticated||l.records.length===0||l.target_dept,onClick:function(){function p(){return s("wipe_all_logs")}return p}()}),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"}),!!l.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),l.records.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.transferee}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.oldvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.newvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.whodidit}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.timestamp}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.reason}),!!l.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.deletedby})]},p.timestamp)})]}),!!l.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!l.authenticated||l.records.length===0,onClick:function(){function p(){return s("wipe_my_logs")}return p}()})})]}):v=(0,e.createComponentVNode)(2,h):v=(0,e.createComponentVNode)(2,S);break;case 4:!l.authenticated||!l.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"})]}),l.people_dept.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.crimstat}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:p.buttontext,disabled:!p.demotable,onClick:function(){function N(){return s("remote_demote",{remote_demote:p.name})}return N}()})})]},p.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}()},64083:function(w,r,n){"use strict";r.__esModule=!0,r.CargoConsole=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),f=n(36036),V=n(98595),k=n(25328),S=r.CargoConsole=function(){function u(s,l){return(0,e.createComponentVNode)(2,V.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)]})})})}return u}(),b=function(s,l){var C=(0,o.useLocalState)(l,"contentsModal",null),g=C[0],v=C[1],p=(0,o.useLocalState)(l,"contentsModalTitle",null),N=p[0],y=p[1];if(g!==null&&N!==null)return(0,e.createComponentVNode)(2,f.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,f.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[N,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,f.Box,{children:g.map(function(B){return(0,e.createComponentVNode)(2,f.Box,{children:["- ",B]},B)})}),(0,e.createComponentVNode)(2,f.Box,{m:2,children:(0,e.createComponentVNode)(2,f.Button,{content:"Close",onClick:function(){function B(){v(null),y(null)}return B}()})})]})},h=function(s,l){var C=(0,o.useBackend)(l),g=C.act,v=C.data,p=v.is_public,N=v.timeleft,y=v.moving,B=v.at_station,I,L;return!y&&!B?(I="Docked off-station",L="Call Shuttle"):!y&&B?(I="Docked at the station",L="Return Shuttle"):y&&(L="In Transit...",N!==1?I="Shuttle is en route (ETA: "+N+" minutes)":I="Shuttle is en route (ETA: "+N+" minute)"),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Status",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Shuttle Status",children:I}),p===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,f.Button,{content:L,disabled:y,onClick:function(){function T(){return g("moveShuttle")}return T}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Central Command Messages",onClick:function(){function T(){return g("showMessages")}return T}()})]})]})})})},i=function(s,l){var C,g=(0,o.useBackend)(l),v=g.act,p=g.data,N=p.accounts,y=(0,o.useLocalState)(l,"selectedAccount"),B=y[0],I=y[1],L=[];return N.map(function(T){return L[T.name]=T.account_UID}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Payment",children:[(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:N.map(function(T){return T.name}),selected:(C=N.filter(function(T){return T.account_UID===B})[0])==null?void 0:C.name,onSelected:function(){function T(A){return I(L[A])}return T}()}),N.filter(function(T){return T.account_UID===B}).map(function(T){return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Account Name",children:(0,e.createComponentVNode)(2,f.Stack.Item,{mt:1,children:T.name})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Balance",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:T.balance})})]},T.account_UID)})]})})},c=function(s,l){var C=(0,o.useBackend)(l),g=C.act,v=C.data,p=v.requests,N=v.categories,y=v.supply_packs,B=(0,o.useSharedState)(l,"category","Emergency"),I=B[0],L=B[1],T=(0,o.useSharedState)(l,"search_text",""),A=T[0],x=T[1],E=(0,o.useLocalState)(l,"contentsModal",null),M=E[0],j=E[1],O=(0,o.useLocalState)(l,"contentsModalTitle",null),R=O[0],D=O[1],W=(0,k.createSearch)(A,function(J){return J.name}),U=(0,o.useLocalState)(l,"selectedAccount"),H=U[0],K=U[1],G=(0,a.flow)([(0,t.filter)(function(J){return J.cat===N.filter(function(Z){return Z.name===I})[0].category||A}),A&&(0,t.filter)(W),(0,t.sortBy)(function(J){return J.name.toLowerCase()})])(y),Y="Crate Catalogue";return A?Y="Results for '"+A+"':":I&&(Y="Browsing "+I),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:Y,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:N.map(function(J){return J.name}),selected:I,onSelected:function(){function J(Z){return L(Z)}return J}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function J(Z,le){return x(le)}return J}(),mb:1}),(0,e.createComponentVNode)(2,f.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:G.map(function(J){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{bold:!0,children:[J.name," (",J.cost," Credits)"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,f.Button,{content:"Order 1",icon:"shopping-cart",disabled:!H,onClick:function(){function Z(){return g("order",{crate:J.ref,multiple:!1,account:H})}return Z}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Order Multiple",icon:"cart-plus",disabled:!H||J.singleton,onClick:function(){function Z(){return g("order",{crate:J.ref,multiple:!0,account:H})}return Z}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Contents",icon:"search",onClick:function(){function Z(){j(J.contents),D(J.name)}return Z}()})]})]},J.name)})})})]})})},m=function(s,l){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,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{mt:.5,children:"Approval Required:"}),!!C.req_cargo_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"brown",content:"QM",icon:"user-tie",tooltip:"This Order requires approval from the QM still"})}),!!C.req_head_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.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"})})]})},d=function(s,l){var C=(0,o.useBackend)(l),g=C.act,v=C.data,p=v.requests,N=v.orders,y=v.shipments;return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Orders",children:[(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,f.Table,{children:p.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{className:"Cargo_RequestList",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{mb:1,children:[(0,e.createComponentVNode)(2,f.Box,{children:["Order #",B.ordernum,": ",B.supply_type," (",B.cost," credits) for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)," with"," ",B.department?"The "+B.department+" Department":"Their Personal"," Account"]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]}),(0,e.createComponentVNode)(2,m,{request:B})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,f.Button,{content:"Approve",color:"green",disabled:!B.can_approve,onClick:function(){function I(){return g("approve",{ordernum:B.ordernum})}return I}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Deny",color:"red",disabled:!B.can_deny,onClick:function(){function I(){return g("deny",{ordernum:B.ordernum})}return I}()})]})]},B.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Orders Awaiting Delivery"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:N.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Order in Transit"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:y.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})})]})}},87331:function(w,r,n){"use strict";r.__esModule=!0,r.ChangelogView=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ChangelogView=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=(0,a.useLocalState)(S,"onlyRecent",0),m=c[0],d=c[1],u=i.cl_data,s=i.last_cl,l={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 l?l[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:m?"Showing all changes":"Showing changes since last connection",onClick:function(){function g(){return d(!m)}return g}()}),children:u.map(function(g){return!m&&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 h("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 V}()},36108:function(w,r,n){"use strict";r.__esModule=!0,r.ChemDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(85870),f=n(98595),V=[1,5,10,20,30,50],k=[1,5,10],S=r.ChemDispenser=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,l=u.data,C=l.chemicals;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:400+C.length*8,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,i)]})})})}return c}(),b=function(m,d){var u=(0,a.useBackend)(d),s=u.act,l=u.data,C=l.amount,g=l.energy,v=l.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:V.map(function(p,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:C===p,content:p,onClick:function(){function y(){return s("amount",{amount:p})}return y}()})},N)})})})]})})})},h=function(m,d){for(var u=(0,a.useBackend)(d),s=u.act,l=u.data,C=l.chemicals,g=C===void 0?[]:C,v=[],p=0;p<(g.length+1)%3;p++)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:l.glass?"Drink Dispenser":"Chemical Dispenser",children:[g.map(function(N,y){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:N.title,style:{"margin-left":"2px"},onClick:function(){function B(){return s("dispense",{reagent:N.id})}return B}()},y)}),v.map(function(N,y){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},y)})]})})},i=function(m,d){var u=(0,a.useBackend)(d),s=u.act,l=u.data,C=l.isBeakerLoaded,g=l.beakerCurrentVolume,v=l.beakerMaxVolume,p=l.beakerContents,N=p===void 0?[]:p;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:l.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 y(){return s("ejectBeaker")}return y}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:C,beakerContents:N,buttons:function(){function y(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}()}),k.map(function(I,L){return(0,e.createComponentVNode)(2,t.Button,{content:I,onClick:function(){function T(){return s("remove",{reagent:B.id,amount:I})}return T}()},L)}),(0,e.createComponentVNode)(2,t.Button,{content:"ALL",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:B.volume})}return I}()})],0)}return y}()})})})}},13146:function(w,r,n){"use strict";r.__esModule=!0,r.ChemHeater=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(85870),V=n(98595),k=r.ChemHeater=function(){function h(i,c){return(0,e.createComponentVNode)(2,V.Window,{width:350,height:275,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b)]})})})}return h}(),S=function(i,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.targetTemp,l=u.targetTempReached,C=u.autoEject,g=u.isActive,v=u.currentTemp,p=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 N(){return d("toggle_autoeject")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{content:g?"On":"Off",icon:"power-off",selected:g,disabled:!p,onClick:function(){function N(){return d("toggle_on")}return N}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,a.round)(s,0),minValue:0,maxValue:1e3,onDrag:function(){function N(y,B){return d("adjust_temperature",{target:B})}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Reading",color:l?"good":"average",children:p&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:v,format:function(){function N(y){return(0,a.toFixed)(y)+" K"}return N}()})||"\u2014"})]})})})},b=function(i,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.isBeakerLoaded,l=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:[l," / ",C," units"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function v(){return d("eject_beaker")}return v}()})]}),children:(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:s,beakerContents:g})})})}},56541:function(w,r,n){"use strict";r.__esModule=!0,r.ChemMaster=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(85870),V=n(3939),k=n(35840),S=["icon"];function b(I,L){if(I==null)return{};var T={};for(var A in I)if({}.hasOwnProperty.call(I,A)){if(L.includes(A))continue;T[A]=I[A]}return T}function h(I,L){I.prototype=Object.create(L.prototype),I.prototype.constructor=I,i(I,L)}function i(I,L){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,A){return T.__proto__=A,T},i(I,L)}var c=[1,5,10],m=function(L,T){var A=(0,a.useBackend)(T),x=A.act,E=A.data,M=L.args.analysis;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:E.condi?"Condiment Analysis":"Reagent Analysis",children:(0,e.createComponentVNode)(2,t.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:M.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:(M.desc||"").length>0?M.desc:"N/A"}),M.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood type",children:M.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:M.blood_dna})],4),!E.condi&&(0,e.createComponentVNode)(2,t.Button,{icon:E.printing?"spinner":"print",disabled:E.printing,iconSpin:!!E.printing,ml:"0.5rem",content:"Print",onClick:function(){function j(){return x("print",{idx:M.idx,beaker:L.args.beaker})}return j}()})]})})})})},d=function(I){return I[I.ToDisposals=0]="ToDisposals",I[I.ToBeaker=1]="ToBeaker",I}(d||{}),u=r.ChemMaster=function(){function I(L,T){return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,B)]})})]})}return I}(),s=function(L,T){var A=(0,a.useBackend)(T),x=A.act,E=A.data,M=E.beaker,j=E.beaker_reagents,O=E.buffer_reagents,R=O.length>0;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:R?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function D(){return x("eject")}return D}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function D(){return x("eject")}return D}()}),children:M?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function D(W,U){return(0,e.createComponentVNode)(2,t.Box,{mb:U0?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function O(R,D){return(0,e.createComponentVNode)(2,t.Box,{mb:D0&&(R=O.map(function(D){var W=D.id,U=D.sprite;return(0,e.createComponentVNode)(2,N,{icon:U,color:"translucent",onClick:function(){function H(){return x("set_sprite_style",{production_mode:M,style:W})}return H}(),selected:j===W},W)})),(0,e.createComponentVNode)(2,p,{productionData:L.productionData,children:R&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:R})})},B=function(L,T){var A=(0,a.useBackend)(T),x=A.act,E=A.data,M=E.loaded_pill_bottle_style,j=E.containerstyles,O=E.loaded_pill_bottle,R={width:"20px",height:"20px"},D=j.map(function(W){var U=W.color,H=W.name,K=M===U;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:R.width,height:R.height},onClick:function(){function G(){return x("set_container_style",{style:U})}return G}(),icon:K&&"check",iconStyle:{position:"relative","z-index":1},tooltip:H,tooltipPosition:"top",children:[!K&&(0,e.createVNode)(1,"div",null,null,1,{style:{display:"inline-block"}}),(0,e.createVNode)(1,"span","Button",null,1,{style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:R.width,height:R.height,"background-color":U,opacity:.6,filter:"alpha(opacity=60)"}})]},U)});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:!O,content:"Eject Container",onClick:function(){function W(){return x("ejectp")}return W}()}),children:O?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:R.width,height:R.height},icon:"tint-slash",onClick:function(){function W(){return x("clear_container_style")}return W}(),selected:!M,tooltip:"Default",tooltipPosition:"top"}),D]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,V.modalRegisterBodyOverride)("analyze",m)},37173:function(w,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(79140),V=1,k=32,S=128,b=r.CloningConsole=function(){function u(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.tab,N=v.has_scanner,y=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:N?"Online":"Missing"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected pods",children:y})]})}),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===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:p===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,h)})]})})}return u}(),h=function(s,l){var C=(0,a.useBackend)(l),g=C.data,v=g.tab,p;return v===1?p=(0,e.createComponentVNode)(2,i):v===2&&(p=(0,e.createComponentVNode)(2,c)),p},i=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.pods,N=v.pod_amount,y=v.selected_pod_UID;return(0,e.createComponentVNode)(2,t.Box,{children:[!N&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No pods connected."}),!!N&&p.map(function(B,I){return(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Pod "+(I+1),children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"96px",shrink:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,f.resolveAsset)("pod_"+(B.cloning?"cloning":"idle")+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{selected:y===B.uid,onClick:function(){function L(){return g("select_pod",{uid:B.uid})}return L}(),children:"Select"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Progress",children:[!B.cloning&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Pod is inactive."}),!!B.cloning&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.clone_progress,maxValue:100,color:"good"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.biomass,ranges:{good:[2*B.biomass_storage_capacity/3,B.biomass_storage_capacity],average:[B.biomass_storage_capacity/3,2*B.biomass_storage_capacity/3],bad:[0,B.biomass_storage_capacity/3]},minValue:0,maxValue:B.biomass_storage_capacity,children:[B.biomass,"/",B.biomass_storage_capacity+" ("+100*B.biomass/B.biomass_storage_capacity+"%)"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sanguine Reagent",children:B.sanguine_reagent}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Osseous Reagent",children:B.osseous_reagent})]})})]})},B)})]})},c=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.selected_pod_data,N=v.has_scanned,y=v.scanner_has_patient,B=v.feedback,I=v.scan_successful,L=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:[!N&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:y?"No scan detected for current patient.":"No patient is in the scanner."}),!!N&&(0,e.createComponentVNode)(2,t.Box,{color:B.color,children:B.text})]}),(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Damages Breakdown",children:(0,e.createComponentVNode)(2,t.Box,{children:[(!I||!N)&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No valid scan detected."}),!!I&&!!N&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function 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:L[0],maxValue:p.biomass_storage_capacity,ranges:{bad:[2*p.biomass_storage_capacity/3,p.biomass_storage_capacity],average:[p.biomass_storage_capacity/3,2*p.biomass_storage_capacity/3],good:[0,p.biomass_storage_capacity/3]},color:L[0]>p.biomass?"bad":null,children:["Biomass: ",L[0],"/",p.biomass,"/",p.biomass_storage_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[1],maxValue:p.max_reagent_capacity,ranges:{bad:[2*p.max_reagent_capacity/3,p.max_reagent_capacity],average:[p.max_reagent_capacity/3,2*p.max_reagent_capacity/3],good:[0,p.max_reagent_capacity/3]},color:L[1]>p.sanguine_reagent?"bad":"good",children:["Sanguine: ",L[1],"/",p.sanguine_reagent,"/",p.max_reagent_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[2],maxValue:p.max_reagent_capacity,ranges:{bad:[2*p.max_reagent_capacity/3,p.max_reagent_capacity],average:[p.max_reagent_capacity/3,2*p.max_reagent_capacity/3],good:[0,p.max_reagent_capacity/3]},color:L[2]>p.osseous_reagent?"bad":"good",children:["Osseous: ",L[2],"/",p.osseous_reagent,"/",p.max_reagent_capacity]})})]}),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)]})]})})]})]})},m=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.patient_limb_data,N=v.limb_list,y=v.desired_limb_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Limbs",children:N.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"15%",height:"20px",children:[p[B][4],":"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),p[B][3]===0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:y[B][0]+y[B][1],maxValue:p[B][5],ranges:{good:[0,p[B][5]/3],average:[p[B][5]/3,2*p[B][5]/3],bad:[2*p[B][5]/3,p[B][5]]},children:["Post-Cloning Damage: ",(0,e.createComponentVNode)(2,t.Icon,{name:"bone"})," "+y[B][0]+" / ",(0,e.createComponentVNode)(2,t.Icon,{name:"fire"})," "+y[B][1]]})}),p[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 ",p[B][4]," is missing!"]})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[!!p[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!y[B][3],onClick:function(){function L(){return g("toggle_limb_repair",{limb:B,type:"replace"})}return L}(),children:"Replace Limb"})}),!p[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][0]||p[B][1]),checked:!(y[B][0]||y[B][1]),onClick:function(){function L(){return g("toggle_limb_repair",{limb:B,type:"damage"})}return L}(),children:"Repair Damages"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][2]&V),checked:!(y[B][2]&V),onClick:function(){function L(){return g("toggle_limb_repair",{limb:B,type:"bone"})}return L}(),children:"Mend Bone"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][2]&k),checked:!(y[B][2]&k),onClick:function(){function L(){return g("toggle_limb_repair",{limb:B,type:"ib"})}return L}(),children:"Mend IB"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][2]&S),checked:!(y[B][2]&S),onClick:function(){function L(){return g("toggle_limb_repair",{limb:B,type:"critburn"})}return L}(),children:"Mend Critical Burn"})]})]})]},B)})})},d=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.patient_organ_data,N=v.organ_list,y=v.desired_organ_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Organs",children:N.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"20%",height:"20px",children:[p[B][3],":"," "]}),p[B][5]!=="heart"&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!!p[B][2]&&(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!y[B][2]&&!y[B][1],onClick:function(){function L(){return g("toggle_organ_repair",{organ:B,type:"replace"})}return L}(),children:"Replace Organ"}),!p[B][2]&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!p[B][0],checked:!y[B][0],onClick:function(){function L(){return g("toggle_organ_repair",{organ:B,type:"damage"})}return L}(),children:"Repair Damages"})})]})}),p[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:[!!p[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",p[B][3]," is missing!"]}),!p[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:y[B][0],maxValue:p[B][4],ranges:{good:[0,p[B][4]/3],average:[p[B][4]/3,2*p[B][4]/3],bad:[2*p[B][4]/3,p[B][4]]},children:"Post-Cloning Damage: "+y[B][0]})]})]})},B)})})}},98723:function(w,r,n){"use strict";r.__esModule=!0,r.CloningPod=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.CloningPod=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.biomass,m=i.biomass_storage_capacity,d=i.sanguine_reagent,u=i.osseous_reagent,s=i.organs,l=i.currently_cloning;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Liquid Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Biomass:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:c,ranges:{good:[2*m/3,m],average:[m/3,2*m/3],bad:[0,m/3]},minValue:0,maxValue:m})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Sanguine Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:d+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:d,step:1,unit:"units",onChange:function(){function C(g,v){return h("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 h("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 h("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 h("purge_reagent",{reagent:"osseous_reagent"})}return C}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Organ Storage",children:[!l&&(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 h("eject_organ",{organ_ref:C.ref})}return g}()})})]},C)})]}),!!l&&(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Unable to access organ storage while cloning."]})})]})]})})}return V}()},18259:function(w,r,n){"use strict";r.__esModule=!0,r.CoinMint=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),V=r.CoinMint=function(){function k(S,b){var h=(0,t.useBackend)(b),i=h.act,c=h.data,m=c.materials,d=c.moneyBag,u=c.moneyBagContent,s=c.moneyBagMaxContent,l=(d?210:138)+Math.ceil(m.length/4)*64;return(0,e.createComponentVNode)(2,f.Window,{width:210,height:l,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.NoticeBox,{m:0,info:!0,children:["Total coins produced: ",c.totalCoins]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Coin Type",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",color:c.active&&"bad",tooltip:!d&&"Need a money bag",disabled:!d,onClick:function(){function C(){return i("activate")}return C}()}),children:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.ProgressBar,{minValue:0,maxValue:c.maxMaterials,value:c.totalMaterials})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",tooltip:"Eject selected material",onClick:function(){function C(){return i("ejectMat")}return C}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:m.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{bold:!0,inline:!0,m:.2,textAlign:"center",color:"translucent",selected:C.id===c.chosenMaterial,tooltip:C.name,content:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",C.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:C.amount})]}),onClick:function(){function g(){return i("selectMaterial",{material:C.id})}return g}()},C.id)})})]})})}),!!d&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Money Bag",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",disabled:c.active,onClick:function(){function C(){return i("ejectBag")}return C}()}),children:(0,e.createComponentVNode)(2,o.ProgressBar,{width:"100%",minValue:0,maxValue:s,value:u,children:[u," / ",s]})})})]})})})}return k}()},8444:function(w,r,n){"use strict";r.__esModule=!0,r.ColourMatrixTester=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ColourMatrixTester=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.colour_data,m=[[{name:"RR",idx:0},{name:"RG",idx:1},{name:"RB",idx:2},{name:"RA",idx:3}],[{name:"GR",idx:4},{name:"GG",idx:5},{name:"GB",idx:6},{name:"GA",idx:7}],[{name:"BR",idx:8},{name:"BG",idx:9},{name:"BB",idx:10},{name:"BA",idx:11}],[{name:"AR",idx:12},{name:"AG",idx:13},{name:"AB",idx:14},{name:"AA",idx:15}]];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:190,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Matrix",children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",textColor:"label",children:d.map(function(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(l,C){return h("setvalue",{idx:u.idx+1,value:C})}return s}()})]},u.name)})},d)})})})})})}return V}()},63818:function(w,r,n){"use strict";r.__esModule=!0,r.CommunicationsComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(s){switch(s){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,i);case 3:return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,c)})});case 4:return(0,e.createComponentVNode)(2,d);default:return"ERROR. Unknown menu_state. Please contact NT Technical Support."}},V=r.CommunicationsComputer=function(){function u(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=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,k),f(p)]})})})}return u}(),k=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.authenticated,N=v.noauthbutton,y=v.esc_section,B=v.esc_callable,I=v.esc_recallable,L=v.esc_status,T=v.authhead,A=v.is_ai,x=v.lastCallLoc,E=!1,M;return p?p===1?M="Command":p===2?M="Captain":p===3?M="CentComm Officer":p===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:p?"sign-out-alt":"id-card",selected:p,disabled:N,content:p?"Log Out ("+M+")":"Log In",onClick:function(){function j(){return g("auth")}return j}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!y&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Escape Shuttle",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!L&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:L}),!!B&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"Call Shuttle",disabled:!T,onClick:function(){function j(){return g("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 g("cancelshuttle")}return j}()})}),!!x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Last Call/Recall From",children:x})]})})})],4)},S=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.is_admin;return p?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,h)},b=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.is_admin,N=v.gamma_armory_location,y=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,m,{levels:y,required_access:p,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:!p,onClick:function(){function L(){return g("send_to_cc_announcement_page")}return L}()}),B===4&&(0,e.createComponentVNode)(2,t.Button,{icon:"plus",content:"Make Other Announcement",disabled:!p,onClick:function(){function L(){return g("make_other_announcement")}return L}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Response Team",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"Dispatch ERT",disabled:!p,onClick:function(){function L(){return g("dispatch_ert")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:I,content:I?"ERT calling enabled":"ERT calling disabled",tooltip:I?"Command can request an ERT":"ERTs cannot be requested",disabled:!p,onClick:function(){function L(){return g("toggle_ert_allowed")}return L}(),selected:null})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Get Authentication Codes",disabled:!p,onClick:function(){function L(){return g("send_nuke_codes")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gamma Armory",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"biohazard",content:N?"Send Gamma Armory":"Recall Gamma Armory",disabled:!p,onClick:function(){function L(){return g("move_gamma_armory")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"coins",content:"View Economy",disabled:!p,onClick:function(){function L(){return g("view_econ")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fax",content:"Fax Manager",disabled:!p,onClick:function(){function L(){return g("view_fax")}return L}()})]})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"View Command accessible controls",children:(0,e.createComponentVNode)(2,h)})]})},h=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.msg_cooldown,N=v.emagged,y=v.cc_cooldown,B=v.security_level_color,I=v.str_security_level,L=v.levels,T=v.authcapt,A=v.authhead,x=v.messages,E="Make Priority Announcement";p>0&&(E+=" ("+p+"s)");var M=N?"Message [UNKNOWN]":"Message CentComm",j="Request Authentication Codes";return y>0&&(M+=" ("+y+"s)",j+=" ("+y+"s)"),(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Captain-Only Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:B,children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,m,{levels:L,required_access:T})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:E,disabled:!T||p>0,onClick:function(){function O(){return g("announce")}return O}()})}),!!N&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:M,disabled:!T||y>0,onClick:function(){function O(){return g("MessageSyndicate")}return O}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!T,onClick:function(){function O(){return g("RestoreBackup")}return O}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:M,disabled:!T||y>0,onClick:function(){function O(){return g("MessageCentcomm")}return O}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:j,disabled:!T||y>0,onClick:function(){function O(){return g("nukerequest")}return O}()})})]})})}),(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 O(){return g("status")}return O}()})}),(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 O(){return g("messagelist")}return O}()})})]})})})],4)},i=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.stat_display,N=v.authhead,y=v.current_message_title,B=p.presets.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.name===p.type,disabled:!N,onClick:function(){function T(){return g("setstat",{statdisp:L.name})}return T}()},L.name)}),I=p.alerts.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.alert===p.icon,disabled:!N,onClick:function(){function T(){return g("setstat",{statdisp:3,alert:L.alert})}return T}()},L.alert)});return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Status Screens",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function L(){return g("main")}return L}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Presets",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alerts",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:p.line_1,disabled:!N,onClick:function(){function L(){return g("setmsg1")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:p.line_2,disabled:!N,onClick:function(){function L(){return g("setmsg2")}return L}()})})]})})})},c=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.authhead,N=v.current_message_title,y=v.current_message,B=v.messages,I=v.security_level,L;if(N)L=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Return To Message List",disabled:!p,onClick:function(){function A(){return g("messagelist")}return A}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:y})})});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:!p||N===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:!p,onClick:function(){function x(){return g("delmessage",{msgid:A.id})}return x}()})]},A.id)});L=(0,e.createComponentVNode)(2,t.Section,{title:"Messages Received",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function A(){return g("main")}return A}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:T})})}return(0,e.createComponentVNode)(2,t.Box,{children:L})},m=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=s.levels,N=s.required_access,y=s.use_confirm,B=v.security_level;return y?p.map(function(I){return(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:I.icon,content:I.name,disabled:!N||I.id===B,tooltip:I.tooltip,onClick:function(){function L(){return g("newalertlevel",{level:I.id})}return L}()},I.name)}):p.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{icon:I.icon,content:I.name,disabled:!N||I.id===B,tooltip:I.tooltip,onClick:function(){function L(){return g("newalertlevel",{level:I.id})}return L}()},I.name)})},d=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.is_admin,N=v.possible_cc_sounds;if(!p)return g("main");var y=(0,a.useLocalState)(l,"subtitle",""),B=y[0],I=y[1],L=(0,a.useLocalState)(l,"text",""),T=L[0],A=L[1],x=(0,a.useLocalState)(l,"classified",0),E=x[0],M=x[1],j=(0,a.useLocalState)(l,"beepsound","Beep"),O=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 g("main")}return D}()}),children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Subtitle here.",fluid:!0,value:B,onChange:function(){function D(W,U){return I(U)}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(W,U){return A(U)}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 g("make_cc_announcement",{subtitle:B,text:T,classified:E,beepsound:O})}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:N,selected:O,onSelected:function(){function D(W){return R(W)}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 g("test_sound",{sound:O})}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}()})})]})]})})}},20562:function(w,r,n){"use strict";r.__esModule=!0,r.CompostBin=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.CompostBin=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.biomass,m=i.compost,d=i.biomass_capacity,u=i.compost_capacity,s=i.potassium,l=i.potassium_capacity,C=i.potash,g=i.potash_capacity,v=(0,a.useSharedState)(S,"vendAmount",1),p=v[0],N=v[1];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:250,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{label:"Resources",children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:c,minValue:0,maxValue:d,ranges:{good:[d*.5,1/0],average:[d*.25,d*.5],bad:[-1/0,d*.25]},children:[c," / ",d," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compost",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:m,minValue:0,maxValue:u,ranges:{good:[u*.5,1/0],average:[u*.25,u*.5],bad:[-1/0,u*.25]},children:[m," / ",u," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potassium",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:s,minValue:0,maxValue:l,ranges:{good:[l*.5,1/0],average:[l*.25,l*.5],bad:[-1/0,l*.25]},children:[s," / ",l," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potash",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:C,minValue:0,maxValue:g,ranges:{good:[g*.5,1/0],average:[g*.25,g*.5],bad:[-1/0,g*.25]},children:[C," / ",g," 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:p,width:"32px",minValue:1,maxValue:10,stepPixelSize:7,onChange:function(){function y(B,I){return N(I)}return y}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,align:"center",content:"Make Soil",disabled:m<25*p,icon:"arrow-circle-down",onClick:function(){function y(){return h("create",{amount:p})}return y}()})})})]})})})}return V}()},21813:function(w,r,n){"use strict";r.__esModule=!0,r.Contractor=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(73379),V=n(98595);function k(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(p,N){return p.__proto__=N,p},S(g,v)}var b={1:["ACTIVE","good"],2:["COMPLETED","good"],3:["FAILED","bad"]},h=["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"],i=r.Contractor=function(){function g(v,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I;B.unauthorized?I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,l,{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,m)}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",overflow:"hidden",children:B.page===1?(0,e.createComponentVNode)(2,d,{height:"100%"}):(0,e.createComponentVNode)(2,s,{height:"100%"})})],4):I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,l,{height:"100%",allMessages:h,finishedTimeout:3e3,onFinished:function(){function x(){return y("complete_load_animation")}return x}()})});var L=(0,t.useLocalState)(p,"viewingPhoto",""),T=L[0],A=L[1];return(0,e.createComponentVNode)(2,V.Window,{theme:"syndicate",width:500,height:600,children:[T&&(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,V.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:I})})]})}return g}(),c=function(v,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I=B.tc_available,L=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 y("claim")}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Earned",children:[L," TC"]})]})}),(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contracts Completed",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Box,{height:"20px",lineHeight:"20px",inline:!0,children:T})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},m=function(v,p){var N=(0,t.useBackend)(p),y=N.act,B=N.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 L(){return y("page",{page:1})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===2,onClick:function(){function L(){return y("page",{page:2})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},d=function(v,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I=B.contracts,L=B.contract_active,T=B.can_extract,A=!!L&&I.filter(function(O){return O.status===1})[0],x=A&&A.time_left>0,E=(0,t.useLocalState)(p,"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,f.Countdown,{timeLeft:A.time_left,format:function(){function O(R,D){return" ("+D.substr(3)+")"}return O}()})],onClick:function(){function O(){return y("extract")}return O}()})},v,{children:I.slice().sort(function(O,R){return O.status===1?-1:R.status===1?1:O.status-R.status}).map(function(O){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:O.status===1&&"good",children:O.target_name}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:O.has_photo&&(0,e.createComponentVNode)(2,o.Button,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){function D(){return j("target_photo_"+O.uid+".png")}return D}()})})]}),className:"Contractor__Contract",buttons:(0,e.createComponentVNode)(2,o.Box,{width:"100%",children:[!!b[O.status]&&(0,e.createComponentVNode)(2,o.Box,{color:b[O.status][1],inline:!0,mt:O.status!==1&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:b[O.status][0]}),O.status===1&&(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){function D(){return y("abort")}return D}()})]}),children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"2",mr:"0.5rem",children:[O.fluff_message,!!O.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 ",O.completed_time]}),!!O.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."]}),!!O.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: ",O.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(O)]}),(R=O.difficulties)==null?void 0:R.map(function(D,W){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!L,content:D.name+" ("+D.reward+" TC)",onClick:function(){function U(){return y("activate",{uid:O.uid,difficulty:W+1})}return U}()},W)}),!!O.objective&&(0,e.createComponentVNode)(2,o.Box,{color:"white",bold:!0,children:[O.objective.extraction_name,(0,e.createVNode)(1,"br"),"(",(O.objective.rewards.tc||0)+" TC",",\xA0",(O.objective.rewards.credits||0)+" Credits",")"]})]})]})},O.uid)})})))},u=function(v){if(!(!v.objective||v.status>1)){var p=v.objective.locs.user_area_id,N=v.objective.locs.user_coords,y=v.objective.locs.target_area_id,B=v.objective.locs.target_coords,I=p===y;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:I?"dot-circle-o":"arrow-alt-circle-right-o",color:I?"green":"yellow",rotation:I?null:-(0,a.rad2deg)(Math.atan2(B[1]-N[1],B[0]-N[0])),lineHeight:I?null:"0.85",size:"1.5"})})}},s=function(v,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I=B.rep,L=B.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},v,{children:L.map(function(T){return(0,e.createComponentVNode)(2,o.Section,{title:T.name,children:[T.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:I-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:T.stock===0?"bad":"good",ml:"0.5rem",children:[T.stock," in stock"]})]},T.uid)})})))},l=function(g){function v(N){var y;return y=g.call(this,N)||this,y.timer=null,y.state={currentIndex:0,currentDisplay:[]},y}k(v,g);var p=v.prototype;return p.tick=function(){function N(){var y=this.props,B=this.state;if(B.currentIndex<=y.allMessages.length){this.setState(function(L){return{currentIndex:L.currentIndex+1}});var I=B.currentDisplay;I.push(y.allMessages[B.currentIndex])}else clearTimeout(this.timer),setTimeout(y.onFinished,y.finishedTimeout)}return N}(),p.componentDidMount=function(){function N(){var y=this,B=this.props.linesPerSecond,I=B===void 0?2.5:B;this.timer=setInterval(function(){return y.tick()},1e3/I)}return N}(),p.componentWillUnmount=function(){function N(){clearTimeout(this.timer)}return N}(),p.render=function(){function N(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(y){return(0,e.createFragment)([y,(0,e.createVNode)(1,"br")],0,y)})})}return N}(),v}(e.Component),C=function(v,p){var N=(0,t.useLocalState)(p,"viewingPhoto",""),y=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:y}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function I(){return B("")}return I}()})]})}},54151:function(w,r,n){"use strict";r.__esModule=!0,r.ConveyorSwitch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ConveyorSwitch=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.slowFactor,m=i.oneWay,d=i.position;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lever position",children:d>0?"forward":d<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!m,onClick:function(){function u(){return h("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 h("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 h("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,l){return h("slowFactor",{value:l})}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 h("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 h("slowFactor",{value:c+5})}return u}()})," "]})]})})]})})})})}return V}()},73169:function(w,r,n){"use strict";r.__esModule=!0,r.CrewMonitor=void 0;var e=n(89005),a=n(88510),t=n(25328),o=n(72253),f=n(36036),V=n(36352),k=n(76910),S=n(98595),b=function(u,s){return u.dead?"Deceased":parseInt(u.health,10)<=s?"Critical":parseInt(u.stat,10)===1?"Unconscious":"Living"},h=function(u,s){return u.dead?"red":parseInt(u.health,10)<=s?"orange":parseInt(u.stat,10)===1?"blue":"green"},i=r.CrewMonitor=function(){function d(u,s){var l=(0,o.useBackend)(s),C=l.act,g=l.data,v=(0,o.useLocalState)(s,"tabIndex",0),p=v[0],N=v[1],y=function(){function B(I){switch(I){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return B}();return(0,e.createComponentVNode)(2,S.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"table",selected:p===0,onClick:function(){function B(){return N(0)}return B}(),children:"Data View"},"DataView"),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"map-marked-alt",selected:p===1,onClick:function(){function B(){return N(1)}return B}(),children:"Map View"},"MapView")]})}),y(p)]})})})}return d}(),c=function(u,s){var l=(0,o.useBackend)(s),C=l.act,g=l.data,v=(0,a.sortBy)(function(A){return A.name})(g.crewmembers||[]),p=g.possible_levels,N=g.viewing_current_z_level,y=g.is_advanced,B=(0,o.useLocalState)(s,"search",""),I=B[0],L=B[1],T=(0,t.createSearch)(I,function(A){return A.name+"|"+A.assignment+"|"+A.area});return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,backgroundColor:"transparent",children:[(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name, assignment or location..",width:"100%",onInput:function(){function A(x,E){return L(E)}return A}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:y?(0,e.createComponentVNode)(2,f.Dropdown,{mr:"5px",width:"50px",options:p,selected:N,onSelected:function(){function A(x){return C("switch_level",{new_level:x})}return A}()}):null})]}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Location"})]}),v.filter(T).map(function(A){return(0,e.createComponentVNode)(2,f.Table.Row,{bold:!!A.is_command,children:[(0,e.createComponentVNode)(2,V.TableCell,{children:[A.name," (",A.assignment,")"]}),(0,e.createComponentVNode)(2,V.TableCell,{children:[(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:h(A,g.critThreshold),children:b(A,g.critThreshold)}),A.sensor_type>=2||g.ignoreSensors?(0,e.createComponentVNode)(2,f.Box,{inline:!0,ml:1,children:["(",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.oxy,children:A.oxy}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.toxin,children:A.tox}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.burn,children:A.fire}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.brute,children:A.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,V.TableCell,{children:A.sensor_type===3||g.ignoreSensors?g.isAI||g.isObserver?(0,e.createComponentVNode)(2,f.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,f.Box,{inline:!0,color:"grey",children:"Not Available"})})]},A.name)})]})]})},m=function(u,s){var l=(0,o.useBackend)(s),C=l.act,g=l.data,v=(0,o.useLocalState)(s,"zoom",1),p=v[0],N=v[1];return(0,e.createComponentVNode)(2,f.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,f.NanoMap,{onZoom:function(){function y(B){return N(B)}return y}(),children:g.crewmembers.filter(function(y){return y.sensor_type===3||g.ignoreSensors}).map(function(y){return(0,e.createComponentVNode)(2,f.NanoMap.Marker,{x:y.x,y:y.y,zoom:p,icon:"circle",tooltip:y.name+" ("+y.assignment+")",color:h(y,g.critThreshold),onClick:function(){function B(){return g.isObserver?C("track",{track:y.ref}):null}return B}()},y.ref)})})})}},63987:function(w,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],V=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],k=r.Cryo=function(){function h(i,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 h}(),S=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.isOperating,l=u.hasOccupant,C=u.occupant,g=C===void 0?[]:C,v=u.cellTemperature,p=u.cellTemperatureStatus,N=u.isBeakerLoaded,y=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 L(){return d("ejectOccupant")}return L}(),disabled:!l,children:"Eject"}),children:l?(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:V[g.stat][0],children:V[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),f.map(function(L){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:L.label,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:g[L.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(g[L.type])})})},L.id)})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Cell",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function L(){return d("ejectBeaker")}return L}(),disabled:!N,children:"Eject Beaker"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",onClick:function(){function L(){return d(s?"switchOff":"switchOn")}return L}(),selected:s,children:s?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",color:p,children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:v})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,b)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dosage interval",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{average:[-1/0,99],good:[99,1/0]},color:!N&&"average",value:y,minValue:0,maxValue:100})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject healthy occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:B?"toggle-on":"toggle-off",selected:B,onClick:function(){function L(){return d(B?"auto_eject_healthy_off":"auto_eject_healthy_on")}return L}(),children:B?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject dead occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"toggle-on":"toggle-off",selected:I,onClick:function(){function L(){return d(I?"auto_eject_dead_off":"auto_eject_dead_on")}return L}(),children:I?"On":"Off"})})]})})})],4)},b=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.isBeakerLoaded,l=u.beakerLabel,C=u.beakerVolume;return s?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!l&&"average",children:[l||"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"})}},86099:function(w,r,n){"use strict";r.__esModule=!0,r.CryopodConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(25328),V=r.CryopodConsole=function(){function b(h,i){var c=(0,a.useBackend)(i),m=c.data,d=m.account_name,u=m.allow_items;return(0,e.createComponentVNode)(2,o.Window,{title:"Cryopod Console",width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(d||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,k),!!u&&(0,e.createComponentVNode)(2,S)]})})}return b}(),k=function(h,i){var c=(0,a.useBackend)(i),m=c.data,d=m.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:d.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(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(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.frozen_items,s=function(C){var g=C.toString();return g.startsWith("the ")&&(g=g.slice(4,g.length)),(0,f.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(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s(l.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function C(){return m("one_item",{item:l.uid})}return C}()})},l)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function l(){return m("all_items")}return l}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},12692:function(w,r,n){"use strict";r.__esModule=!0,r.DNAModifier=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],k=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],S=[5,10,20,30,50],b=r.DNAModifier=function(){function p(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.irradiating,A=L.dnaBlockSize,x=L.occupant;y.dnaBlockSize=A,y.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,f.ComplexModal),E,(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,h)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i)})]})})]})}return p}(),h=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.locked,A=L.hasOccupant,x=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!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:V[x.stat][0],children:V[x.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),y.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:L.occupant.uniqueEnzymes?L.occupant.uniqueEnzymes:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 Unknown"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Cell unoccupied."})})},i=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.selectedMenuKey,A=L.hasOccupant,x=L.occupant;if(A){if(y.isDNAInvalid)return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No operation possible on this subject."]})})})}else return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant in DNA modifier."]})})});var E;return T==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)],4):T==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)],4):T==="buffer"?E=(0,e.createComponentVNode)(2,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:k.map(function(M,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:M[2],selected:T===M[0],onClick:function(){function O(){return I("selectMenuKey",{key:M[0]})}return O}(),children:M[1]},j)})}),E]})},c=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.selectedUIBlock,A=L.selectedUISubBlock,x=L.selectedUITarget,E=L.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:y.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,O){return I("changeUITarget",{value:O})}return M}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){function M(){return I("pulseUIRadiation")}return M}()})]})},m=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.selectedSEBlock,A=L.selectedSESubBlock,x=L.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:y.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){function E(){return I("pulseSERadiation")}return E}()})]})},d=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.radiationIntensity,A=L.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Emitter",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Intensity",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:T,popUpPosition:"right",ml:"0",onChange:function(){function 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}()})]})},u=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.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,l)})]})},s=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=N.id,A=N.name,x=N.buffer,E=L.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||!L.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:!L.hasDisk||!L.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."})]})})},l=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.hasDisk,A=L.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!T||!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(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.isBeakerLoaded,A=L.beakerVolume,x=L.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function E(){return I("ejectBeaker")}return E}()}),children:T?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inject",children:[S.map(function(E,M){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>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)]})})})},g=function(N,y){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"average",children:(0,e.createVNode)(1,"h1",null,[(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"}),(0,e.createTextVNode)("\xA0Irradiating occupant\xA0"),(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"})],4)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,[(0,e.createTextVNode)("For "),N.duration,(0,e.createTextVNode)(" second"),N.duration===1?"":"s"],0)})]})},v=function(N,y){for(var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=N.dnaString,A=N.selectedBlock,x=N.selectedSubblock,E=N.blockSize,M=N.action,j=T.split(""),O=0,R=[],D=function(){for(var H=W/E+1,K=[],G=function(){var Z=Y+1;K.push((0,e.createComponentVNode)(2,t.Button,{selected:A===H&&x===Z,content:j[W+Y],mb:"0",onClick:function(){function le(){return I(M,{block:H,subblock:Z})}return le}()}))},Y=0;Yl.spawnpoints?"red":"green",children:[l.total," total, versus ",l.spawnpoints," spawnpoints"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispatch",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,textAlign:"center",icon:"ambulance",content:"Send ERT",onClick:function(){function N(){return s("dispatch_ert",{silent:v})}return N}()})})]})})})},h=function(m,d){var u=(0,a.useBackend)(d),s=u.act,l=u.data,C=l.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,f.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."]})})})})},i=function(m,d){var u=(0,a.useBackend)(d),s=u.act,l=u.data,C=(0,a.useLocalState)(d,"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 p(N,y){return v(y)}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Deny ERT",fluid:!0,icon:"times",center:!0,mt:2,textAlign:"center",onClick:function(){function p(){return s("deny_ert",{reason:g})}return p}()})]})})}},90217:function(w,r,n){"use strict";r.__esModule=!0,r.EconomyManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),V=r.EconomyManager=function(){function S(b,h){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,k)})]})}return S}(),k=function(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.next_payroll_time;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"coins",verticalAlign:"middle",size:3,mr:"1rem"}),"Economy Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{label:"Pay Bonuses and Deductions",children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Global",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Global Payroll Modification",onClick:function(){function 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: ",d," 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)}},82565:function(w,r,n){"use strict";r.__esModule=!0,r.Electropack=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=r.Electropack=function(){function k(S,b){var h=(0,t.useBackend)(b),i=h.act,c=h.data,m=c.power,d=c.code,u=c.frequency,s=c.minFrequency,l=c.maxFrequency;return(0,e.createComponentVNode)(2,f.Window,{width:360,height:135,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,o.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,onClick:function(){function C(){return i("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 i("reset",{reset:"freq"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:s/10,maxValue:l/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 i("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 i("reset",{reset:"code"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:d,width:"80px",onChange:function(){function C(g,v){return i("code",{code:v})}return C}()})})]})})})})}return k}()},11243:function(w,r,n){"use strict";r.__esModule=!0,r.Emojipedia=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),V=r.Emojipedia=function(){function S(b,h){var i=(0,t.useBackend)(h),c=i.data,m=c.emoji_list,d=(0,t.useLocalState)(h,"searchText",""),u=d[0],s=d[1],l=m.filter(function(C){return C.name.toLowerCase().includes(u.toLowerCase())});return(0,e.createComponentVNode)(2,f.Window,{width:325,height:400,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Emojipedia v1.0.1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by name",value:u,onInput:function(){function C(g,v){return s(v)}return C}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Click on an emoji to copy its tag!",tooltipPosition:"bottom",icon:"circle-question"})],4),children:l.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{m:1,color:"transparent",className:(0,a.classes)(["emoji16x16","emoji-"+C.name]),style:{transform:"scale(1.5)"},tooltip:C.name,onClick:function(){function g(){k(C.name)}return g}()},C.name)})})})})}return S}(),k=function(b){var h=document.createElement("input"),i=":"+b+":";h.value=i,document.body.appendChild(h),h.select(),document.execCommand("copy"),document.body.removeChild(h)}},36730:function(w,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),V=n(64795),k=n(88510),S=r.EvolutionMenu=function(){function i(c,m){return(0,e.createComponentVNode)(2,f.Window,{width:480,height:580,theme:"changeling",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h)]})})})}return i}(),b=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,l=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:l}),(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"})]})]})})})},h=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,l=s.evo_points,C=s.ability_tabs,g=s.purchased_abilities,v=s.view_mode,p=(0,t.useLocalState)(m,"selectedTab",C[0]),N=p[0],y=p[1],B=(0,t.useLocalState)(m,"searchText",""),I=B[0],L=B[1],T=(0,t.useLocalState)(m,"ability_tabs",C[0].abilities),A=T[0],x=T[1],E=function(R,D){if(D===void 0&&(D=""),!R||R.length===0)return[];var W=(0,a.createSearch)(D,function(U){return U.name+"|"+U.description});return(0,V.flow)([(0,k.filter)(function(U){return U==null?void 0:U.name}),(0,k.filter)(W),(0,k.sortBy)(function(U){return U==null?void 0:U.name})])(R)},M=function(R){if(L(R),R==="")return x(N.abilities);x(E(C.map(function(D){return D.abilities}).flat(),R))},j=function(R){y(R),x(R.abilities),L("")};return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Abilities",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{width:"200px",placeholder:"Search Abilities",onInput:function(){function O(R,D){M(D)}return O}(),value:I}),(0,e.createComponentVNode)(2,o.Button,{icon:v?"square-o":"check-square-o",selected:!v,content:"Compact",onClick:function(){function O(){return u("set_view_mode",{mode:0})}return O}()}),(0,e.createComponentVNode)(2,o.Button,{icon:v?"check-square-o":"square-o",selected:v,content:"Expanded",onClick:function(){function O(){return u("set_view_mode",{mode:1})}return O}()})],4),children:[(0,e.createComponentVNode)(2,o.Tabs,{children:C.map(function(O){return(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===""&&N===O,onClick:function(){function R(){j(O)}return R}(),children:O.category},O)})}),A.map(function(O,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:O.name}),g.includes(O.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:O.cost})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,o.Button,{mr:.5,disabled:O.cost>l||g.includes(O.power_path),content:"Evolve",onClick:function(){function D(){return u("purchase",{power_path:O.power_path})}return D}()})})]}),!!v&&(0,e.createComponentVNode)(2,o.Stack,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:O.description+" "+O.helptext})]},R)})]})})}},17370:function(w,r,n){"use strict";r.__esModule=!0,r.ExosuitFabricator=void 0;var e=n(89005),a=n(35840),t=n(25328),o=n(72253),f=n(36036),V=n(73379),k=n(98595),S=["id","amount","lineDisplay","onClick"];function b(g,v){if(g==null)return{};var p={};for(var N in g)if({}.hasOwnProperty.call(g,N)){if(v.includes(N))continue;p[N]=g[N]}return p}var h=2e3,i={bananium:"clown",tranquillite:"mime"},c=r.ExosuitFabricator=function(){function g(v,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.building;return(0,e.createComponentVNode)(2,k.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,k.Window.Content,{className:"Exofab",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,d)}),I&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,u)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s)})]})})]})})})}return g}(),m=function(v,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.materials,L=B.capacity,T=Object.values(I).reduce(function(A,x){return A+x},0);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Materials",className:"Exofab__materials",buttons:(0,e.createComponentVNode)(2,f.Box,{color:"label",mt:"0.25rem",children:[(T/L*100).toPrecision(3),"% full"]}),children:["metal","glass","silver","gold","uranium","titanium","plasma","diamond","bluespace","bananium","tranquillite","plastic"].map(function(A){return(0,e.createComponentVNode)(2,l,{mt:-2,id:A,bold:A==="metal"||A==="glass",onClick:function(){function x(){return y("withdraw",{id:A})}return x}()},A)})})},d=function(v,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.curCategory,L=B.categories,T=B.designs,A=B.syncing,x=(0,o.useLocalState)(p,"searchText",""),E=x[0],M=x[1],j=(0,t.createSearch)(E,function(R){return R.name}),O=T.filter(j);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,className:"Exofab__designs",title:(0,e.createComponentVNode)(2,f.Dropdown,{className:"Exofab__dropdown",selected:I,options:L,onSelected:function(){function R(D){return y("category",{cat:D})}return R}()}),buttons:(0,e.createComponentVNode)(2,f.Box,{mt:"2px",children:[(0,e.createComponentVNode)(2,f.Button,{icon:"plus",content:"Queue all",onClick:function(){function R(){return y("queueall")}return R}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:A,iconSpin:A,icon:"sync-alt",content:A?"Synchronizing...":"Synchronize with R&D servers",onClick:function(){function R(){return y("sync")}return R}()})]}),children:[(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function R(D,W){return M(W)}return R}()}),O.map(function(R){return(0,e.createComponentVNode)(2,C,{design:R},R.id)}),O.length===0&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No designs found."})]})},u=function(v,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.building,L=B.buildStart,T=B.buildEnd,A=B.worldTime;return(0,e.createComponentVNode)(2,f.Section,{className:"Exofab__building",stretchContents:!0,children:(0,e.createComponentVNode)(2,f.ProgressBar.Countdown,{start:L,current:A,end:T,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Icon,{name:"cog",spin:!0})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:["Building ",I,"\xA0(",(0,e.createComponentVNode)(2,V.Countdown,{current:A,timeLeft:T-A,format:function(){function x(E,M){return M.substr(3)}return x}()}),")"]})]})})})},s=function(v,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.queue,L=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,f.Section,{fill:!0,scrollable:!0,className:"Exofab__queue",title:"Queue",buttons:(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Button,{selected:L,icon:L?"toggle-on":"toggle-off",content:"Process",onClick:function(){function x(){return y("process")}return x}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:I.length===0,icon:"eraser",content:"Clear",onClick:function(){function x(){return y("unqueueall")}return x}()})]}),children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:I.length===0?(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"The queue is empty."}):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--queue",grow:!0,overflow:"auto",children:I.map(function(x,E){return(0,e.createComponentVNode)(2,f.Box,{color:x.notEnough&&"bad",children:[E+1,". ",x.name,E>0&&(0,e.createComponentVNode)(2,f.Button,{icon:"arrow-up",onClick:function(){function M(){return y("queueswap",{from:E+1,to:E})}return M}()}),E0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--time",children:[(0,e.createComponentVNode)(2,f.Divider),"Processing time:",(0,e.createComponentVNode)(2,f.Icon,{name:"clock",mx:"0.5rem"}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,bold:!0,children:new Date(A/10*1e3).toISOString().substr(14,5)})]}),Object.keys(T).length>0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,e.createComponentVNode)(2,f.Divider),"Lacking materials to complete:",T.map(function(x){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,l,{id:x[0],amount:-x[1],lineDisplay:!0})},x[0])})]})],0)})})},l=function(v,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=v.id,L=v.amount,T=v.lineDisplay,A=v.onClick,x=b(v,S),E=B.materials[I]||0,M=L||E;if(!(M<=0&&!(I==="metal"||I==="glass"))){var j=L&&L>E;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",T&&"Exofab__material--line"])},x,{children:T?(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:(0,a.classes)(["materials32x32",I])}),(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__material--amount",color:j&&"bad",ml:0,mr:1,children:M.toLocaleString("en-US")})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{basis:"content",children:(0,e.createComponentVNode)(2,f.Button,{width:"85%",color:"transparent",onClick:A,children:(0,e.createComponentVNode)(2,f.Box,{mt:1,className:(0,a.classes)(["materials32x32",I])})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--name",children:I}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--amount",children:[M.toLocaleString("en-US")," cm\xB3 (",Math.round(M/h*10)/10," ","sheets)"]})]})],4)})))}},C=function(v,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=v.design;return(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,f.Button,{disabled:I.notEnough||B.building,icon:"cog",content:I.name,onClick:function(){function L(){return y("build",{id:I.id})}return L}()}),(0,e.createComponentVNode)(2,f.Button,{icon:"plus-circle",onClick:function(){function L(){return y("queue",{id:I.id})}return L}()}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design--cost",children:Object.entries(I.cost).map(function(L){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,l,{id:L[0],amount:L[1],lineDisplay:!0})},L[0])})}),(0,e.createComponentVNode)(2,f.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"clock"}),I.time>0?(0,e.createFragment)([I.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})}},59128:function(w,r,n){"use strict";r.__esModule=!0,r.ExperimentConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=new Map([[0,{text:"Conscious",color:"good"}],[1,{text:"Unconscious",color:"average"}],[2,{text:"Deceased",color:"bad"}]]),V=new Map([[0,{label:"Probe",icon:"thermometer"}],[1,{label:"Dissect",icon:"brain"}],[2,{label:"Analyze",icon:"search"}]]),k=r.ExperimentConsole=function(){function S(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.open,u=m.feedback,s=m.occupant,l=m.occupant_name,C=m.occupant_status,g=function(){function p(){if(!s)return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No specimen detected."});var N=function(){function B(){return f.get(C)}return B}(),y=N();return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:y.color,children:y.text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Experiments",children:[0,1,2].map(function(B){return(0,e.createComponentVNode)(2,t.Button,{icon:V.get(B).icon,content:V.get(B).label,onClick:function(){function I(){return c("experiment",{experiment_type:B})}return I}()},B)})})]})}return p}(),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:!d,onClick:function(){function p(){return c("door")}return p}()}),children:v})]})})}return S}()},97086:function(w,r,n){"use strict";r.__esModule=!0,r.ExternalAirlockController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=0,V=1013,k=function(h){var i="good",c=80,m=95,d=110,u=120;return hd?i="average":h>u&&(i="bad"),i},S=r.ExternalAirlockController=function(){function b(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.chamber_pressure,s=d.exterior_status,l=d.interior_status,C=d.processing;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:205,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:k(u),value:u,minValue:f,maxValue:V,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 m("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 m("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 m("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:l==="open"?"red":C?"yellow":null,onClick:function(){function g(){return m("force_ext")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Force Interior Door",icon:"exclamation-triangle",color:l==="open"?"red":C?"yellow":null,onClick:function(){function g(){return m("force_int")}return g}()})]})]})]})})}return b}()},96142:function(w,r,n){"use strict";r.__esModule=!0,r.FaxMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.FaxMachine=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.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:i.scan_name?"eject":"id-card",selected:i.scan_name,content:i.scan_name?i.scan_name:"-----",tooltip:i.scan_name?"Eject ID":"Insert ID",onClick:function(){function c(){return h("scan")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.authenticated?"sign-out-alt":"id-card",selected:i.authenticated,disabled:i.nologin,content:i.realauth?"Log Out":"Log In",onClick:function(){function c(){return h("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:i.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:i.paper?"eject":"paperclip",disabled:!i.authenticated&&!i.paper,content:i.paper?i.paper:"-----",onClick:function(){function c(){return h("paper")}return c}()}),!!i.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function c(){return h("rename")}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:i.destination?i.destination:"-----",disabled:!i.authenticated,onClick:function(){function c(){return h("dept")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:i.sendError?i.sendError:"Send",disabled:!i.paper||!i.destination||!i.authenticated||i.sendError,onClick:function(){function c(){return h("send")}return c}()})})]})})]})})}return V}()},74123:function(w,r,n){"use strict";r.__esModule=!0,r.FilingCabinet=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.FilingCabinet=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=b.config,m=i.contents,d=c.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Contents",children:[!m&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"folder-open",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"The ",d," is empty."]})}),!!m&&m.slice().map(function(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 h("retrieve",{index:u.index})}return s}()})})]},u)})]})})})})}return V}()},83767:function(w,r,n){"use strict";r.__esModule=!0,r.FloorPainter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=S.image,d=S.isSelected,u=S.onSelect;return(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+m,style:{"border-style":d&&"solid"||"none","border-width":"2px","border-color":"orange",padding:d&&"2px"||"4px"},onClick:u})},V=r.FloorPainter=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.availableStyles,d=c.selectedStyle,u=c.selectedDir,s=c.directionsPreview,l=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 i("cycle_style",{offset:-1})}return C}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:m,selected:d,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function C(g){return i("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 i("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:m.map(function(C){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,f,{image:l[C],isSelected:d===C,onSelect:function(){function g(){return i("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,f,{image:s[g],isSelected:g===u,onSelect:function(){function v(){return i("select_direction",{direction:g})}return v}()})},g)})},C)})})})})]})})})}return k}()},53424:function(w,r,n){"use strict";r.__esModule=!0,r.GPS=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=function(d){return d?"("+d.join(", ")+")":"ERROR"},k=function(d,u){if(!(!d||!u)){if(d[2]!==u[2])return null;var s=Math.atan2(u[1]-d[1],u[0]-d[0]),l=Math.sqrt(Math.pow(u[1]-d[1],2)+Math.pow(u[0]-d[0],2));return{angle:(0,a.rad2deg)(s),distance:l}}},S=r.GPS=function(){function m(d,u){var s=(0,t.useBackend)(u),l=s.data,C=l.emped,g=l.active,v=l.area,p=l.position,N=l.saved;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:C?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,b,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,h)}),g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,i,{area:v,position:p})}),N&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,i,{title:"Saved Position",position:N})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,c,{height:"100%"})})],0):(0,e.createComponentVNode)(2,b)],0)})})})}return m}(),b=function(d,u){var s=d.emp;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:s?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),s?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},h=function(d,u){var s=(0,t.useBackend)(u),l=s.act,C=s.data,g=C.active,v=C.tag,p=C.same_z,N=(0,t.useLocalState)(u,"newTag",v),y=N[0],B=N[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 l("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 l("tag",{newtag:y})}return I}(),onInput:function(){function I(L,T){return B(T)}return I}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:v===y,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function I(){return l("tag",{newtag:y})}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:!p,icon:p?"compress":"expand",content:p?"Local Sector":"Global",onClick:function(){function I(){return l("same_z")}return I}()})})]})})},i=function(d,u){var s=d.title,l=d.area,C=d.position;return(0,e.createComponentVNode)(2,o.Section,{title:s||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[l&&(0,e.createFragment)([l,(0,e.createVNode)(1,"br")],0),V(C)]})})},c=function(d,u){var s=(0,t.useBackend)(u),l=s.data,C=l.position,g=l.signals;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,title:"Signals"},d,{children:(0,e.createComponentVNode)(2,o.Table,{children:g.map(function(v){return Object.assign({},v,k(C,v.position))}).map(function(v,p){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:p%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:V(v.position)})]},p)})})})))}},89124:function(w,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(3939),f=n(98595),V=r.GeneModder=function(){function u(s,l){var C=(0,a.useBackend)(l),g=C.data,v=g.has_seed;return(0,e.createComponentVNode)(2,f.Window,{width:950,height:650,children:[(0,e.createVNode)(1,"div","GeneModder__left",(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,d,{scrollable:!0})}),2),(0,e.createVNode)(1,"div","GeneModder__right",(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,o.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),v===0?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,k)]})}),2)]})}return u}(),k=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Genes",fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c)]})},S=function(s,l){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."]})})})},b=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.has_seed,N=v.seed,y=v.has_disk,B=v.disk,I,L;return p?I=(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,"+N.image,style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,t.Button,{content:N.name,onClick:function(){function T(){return g("eject_seed")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function T(){return g("variant_name")}return T}()})]}):I=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:"None",onClick:function(){function T(){return g("eject_seed")}return T}()})}),y?L=B.name:L="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:I}),(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:L,tooltip:"Select Empty Disk",onClick:function(){function T(){return g("select_empty_disk")}return T}()})})})]})})},h=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.disk,N=v.core_genes;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core Genes",open:!0,children:[N.map(function(y){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:y.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function B(){return g("extract",{id:y.id})}return B}()})})]},y)})," ",(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:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function y(){return g("bulk_extract_core")}return y}()})})})]},"Core Genes")},i=function(s,l){var C=(0,a.useBackend)(l),g=C.data,v=g.reagent_genes,p=g.has_reagent;return(0,e.createComponentVNode)(2,m,{title:"Reagent Genes",gene_set:v,do_we_show:p})},c=function(s,l){var C=(0,a.useBackend)(l),g=C.data,v=g.trait_genes,p=g.has_trait;return(0,e.createComponentVNode)(2,m,{title:"Trait Genes",gene_set:v,do_we_show:p})},m=function(s,l){var C=s.title,g=s.gene_set,v=s.do_we_show,p=(0,a.useBackend)(l),N=p.act,y=p.data,B=y.disk;return(0,e.createComponentVNode)(2,t.Collapsible,{title:C,open:!0,children:v?g.map(function(I){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:I.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 L(){return N("extract",{id:I.id})}return L}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"times",onClick:function(){function L(){return N("remove",{id:I.id})}return L}()})})]},I)}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"No Genes Detected"})},C)},d=function(s,l){var C=s.title,g=s.gene_set,v=s.do_we_show,p=(0,a.useBackend)(l),N=p.act,y=p.data,B=y.has_seed,I=y.empty_disks,L=y.stat_disks,T=y.trait_disks,A=y.reagent_disks;return(0,e.createComponentVNode)(2,t.Section,{title:"Disks",children:[(0,e.createVNode)(1,"br"),"Empty Disks: ",I,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:12,icon:"arrow-down",tooltip:"Eject an Empty disk",content:"Eject Empty Disk",onClick:function(){function x(){return N("eject_empty_disk")}return x}()}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stats",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[L.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[x.stat==="All"?(0,e.createComponentVNode)(2,t.Button,{content:"Replace All",tooltip:"Write disk stats to seed",disabled:!(x!=null&&x.ready)||!B,icon:"arrow-circle-down",onClick:function(){function E(){return N("bulk_replace_core",{index:x.index})}return E}()}):(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",tooltip:"Write disk stat to seed",disabled:!x||!B,content:"Replace",onClick:function(){function E(){return N("replace",{index:x.index,stat:x.stat})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return N("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Traits",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[T.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",disabled:!x||!x.can_insert,tooltip:"Add disk trait to seed",content:"Insert",onClick:function(){function E(){return N("insert",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return N("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Reagents",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[A.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",disabled:!x||!x.can_insert,tooltip:"Add disk reagent to seed",content:"Insert",onClick:function(){function E(){return N("insert",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return N("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})})]})]})}},73053:function(w,r,n){"use strict";r.__esModule=!0,r.GenericCrewManifest=void 0;var e=n(89005),a=n(36036),t=n(98595),o=n(41874),f=r.GenericCrewManifest=function(){function V(k,S){return(0,e.createComponentVNode)(2,t.Window,{theme:"nologo",width:588,height:510,children:(0,e.createComponentVNode)(2,t.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:(0,e.createComponentVNode)(2,o.CrewManifest)})})})}return V}()},42914:function(w,r,n){"use strict";r.__esModule=!0,r.GhostHudPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GhostHudPanel=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.data,c=i.security,m=i.medical,d=i.diagnostic,u=i.radioactivity,s=i.ahud;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:207,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,V,{label:"Medical",type:"medical",is_active:m}),(0,e.createComponentVNode)(2,V,{label:"Security",type:"security",is_active:c}),(0,e.createComponentVNode)(2,V,{label:"Diagnostic",type:"diagnostic",is_active:d}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,V,{label:"Radioactivity",type:"radioactivity",is_active:u,act_on:"rads_on",act_off:"rads_off"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,V,{label:"Antag HUD",is_active:s,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return k}(),V=function(S,b){var h=(0,a.useBackend)(b),i=h.act,c=S.label,m=S.type,d=m===void 0?null:m,u=S.is_active,s=S.act_on,l=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 i(u?g:l,{hud_type:d})}return v}()})})]})}},25825:function(w,r,n){"use strict";r.__esModule=!0,r.GlandDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GlandDispenser=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.glands,m=c===void 0?[]:c;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:338,theme:"abductor",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:d.color,content:d.amount||"0",disabled:!d.amount,onClick:function(){function u(){return h("dispense",{gland_id:d.id})}return u}()},d.id)})})})})}return V}()},10270:function(w,r,n){"use strict";r.__esModule=!0,r.GravityGen=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GravityGen=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.charging_state,m=i.charge_count,d=i.breaker,u=i.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}(),l=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:[l(c),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Generator Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"Online":"Offline",color:d?"green":"red",px:1.5,onClick:function(){function C(){return h("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:m/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})})]})})]})})})}return V}()},48657:function(w,r,n){"use strict";r.__esModule=!0,r.GuestPass=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(49148),V=r.GuestPass=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:690,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:!c.showlogs,onClick:function(){function m(){return i("mode",{mode:0})}return m}(),children:"Issue Pass"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"scroll",selected:c.showlogs,onClick:function(){function m(){return i("mode",{mode:1})}return m}(),children:["Records (",c.issue_log.length,")"]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.scan_name?"eject":"id-card",selected:c.scan_name,content:c.scan_name?c.scan_name:"-----",tooltip:c.scan_name?"Eject ID":"Insert ID",onClick:function(){function m(){return i("scan")}return m}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!c.showlogs&&(0,e.createComponentVNode)(2,t.Section,{title:"Issue Guest Pass",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Issue To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.giv_name?c.giv_name:"-----",disabled:!c.scan_name,onClick:function(){function m(){return i("giv_name")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reason",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.reason?c.reason:"-----",disabled:!c.scan_name,onClick:function(){function m(){return i("reason")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.duration?c.duration:"-----",disabled:!c.scan_name,onClick:function(){function m(){return i("duration")}return m}()})})]})})}),!c.showlogs&&(c.scan_name?(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:c.printmsg,disabled:!c.canprint,onClick:function(){function m(){return i("issue")}return m}()}),grantableList:c.grantableList,accesses:c.regions,selectedList:c.selectedAccess,accessMod:function(){function m(d){return i("access",{access:d})}return m}(),grantAll:function(){function m(){return i("grant_all")}return m}(),denyAll:function(){function m(){return i("clear_all")}return m}(),grantDep:function(){function m(d){return i("grant_region",{region:d})}return m}(),denyDep:function(){function m(d){return i("deny_region",{region:d})}return m}()})}):(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Please, insert ID Card"]})})})})),!!c.showlogs&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Issuance Log",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:!c.scan_name,onClick:function(){function m(){return i("print")}return m}()}),children:!!c.issue_log.length&&(0,e.createComponentVNode)(2,t.LabeledList,{children:c.issue_log.map(function(m,d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No logs"]})})})})]})})})}return k}()},67834:function(w,r,n){"use strict";r.__esModule=!0,r.HandheldChemDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=[1,5,10,20,30,50],V=null,k=r.HandheldChemDispenser=function(){function h(i,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,b)]})})})}return h}(),S=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.amount,l=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:l,minValue:0,maxValue:C,ranges:{good:[C*.5,1/0],average:[C*.25,C*.5],bad:[-1/0,C*.25]},children:[l," / ",C," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Amount",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:f.map(function(v,p){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 N(){return d("amount",{amount:v})}return N}()})},p)})})}),(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 d("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 d("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 d("mode",{mode:"isolate"})}return v}()})]})})]})})})},b=function(i,c){for(var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.chemicals,l=s===void 0?[]:s,C=u.current_reagent,g=[],v=0;v<(l.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:[l.map(function(p,N){return(0,e.createComponentVNode)(2,t.Button,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:C===p.id,content:p.title,style:{"margin-left":"2px"},onClick:function(){function y(){return d("dispense",{reagent:p.id})}return y}()},N)}),g.map(function(p,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},N)})]})})}},46098:function(w,r,n){"use strict";r.__esModule=!0,r.HealthSensor=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=r.HealthSensor=function(){function S(b,h){var i=(0,t.useBackend)(h),c=i.act,m=i.data,d=m.on,u=m.user_health,s=m.minHealth,l=m.maxHealth,C=m.alarm_health;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:125,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scanning",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",content:d?"On":"Off",color:d?null:"red",selected:d,onClick:function(){function 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:l,value:C,format:function(){function g(v){return(0,a.toFixed)(v,1)}return g}(),width:"80px",onDrag:function(){function g(v,p){return c("alarm_health",{alarm_health:p})}return g}()})}),u!==null&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"User health",children:(0,e.createComponentVNode)(2,o.Box,{color:k(u),bold:u>=100,children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:u})})})]})})})})}return S}(),k=function(b){return b>50?"green":b>0?"orange":"red"}},36771:function(w,r,n){"use strict";r.__esModule=!0,r.Holodeck=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Holodeck=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=(0,a.useLocalState)(b,"currentDeck",""),d=m[0],u=m[1],s=(0,a.useLocalState)(b,"showReload",!1),l=s[0],C=s[1],g=c.decks,v=c.ai_override,p=c.emagged,N=function(){function y(B){i("select_deck",{deck:B}),u(B),C(!0),setTimeout(function(){C(!1)},3e3)}return y}();return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:[l&&(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Holodeck Control System",children:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"b",null,"Currently Loaded Program:",16)," ",d]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Available Programs",children:[g.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{width:15.5,color:"transparent",content:y,selected:y===d,onClick:function(){function B(){return N(y)}return B}()},y)}),(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:p?"Turn On":"Turn Off",color:p?"good":"bad",onClick:function(){function y(){return i("ai_override")}return y}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety Protocols",children:(0,e.createComponentVNode)(2,t.Box,{color:p?"bad":"good",children:[p?"Off":"On",!!p&&(0,e.createComponentVNode)(2,t.Button,{ml:9.5,width:15.5,color:"red",content:"Wildlife Simulation",onClick:function(){function y(){return i("wildlifecarp")}return y}()})]})})]})]})})]})})]})}return k}(),V=function(S,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.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)})]})}},25471:function(w,r,n){"use strict";r.__esModule=!0,r.Instrument=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=r.Instrument=function(){function i(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,h)]})})]})}return i}(),k=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,l=s.help;if(l)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.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.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,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,l=s.lines,C=s.playing,g=s.repeat,v=s.maxRepeats,p=s.tempo,N=s.minTempo,y=s.maxTempo,B=s.tickLag,I=s.volume,L=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:l.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,M){return u("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:p>=y,content:"-",as:"span",mr:"0.5rem",onClick:function(){function x(){return u("tempo",{new:p+B})}return x}()}),(0,a.round)(600/p)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:p<=N,content:"+",as:"span",ml:"0.5rem",onClick:function(){function x(){return u("tempo",{new:p-B})}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:L,maxValue:T,value:I,stepPixelSize:6,onDrag:function(){function x(E,M){return u("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,b)]})},b=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,l=s.allowedInstrumentNames,C=s.instrumentLoaded,g=s.instrument,v=s.canNoteShift,p=s.noteShift,N=s.noteShiftMin,y=s.noteShiftMax,B=s.sustainMode,I=s.sustainLinearDuration,L=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(O){return(0,a.round)(O*100)/100+" seconds"}return j}(),onChange:function(){function j(O,R){return u("setlinearfalloff",{new:R/10})}return j}()})):B===2&&(E="Exponential",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:L,step:.01,format:function(){function j(O){return(0,a.round)(O*1e3)/1e3+"% per decisecond"}return j}(),onChange:function(){function j(O,R){return u("setexpfalloff",{new:R})}return j}()})),l.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:l,selected:g,width:"50%",onSelected:function(){function j(O){return u("switchinstrument",{name:O})}return j}()}):(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:N,maxValue:y,value:p,stepPixelSize:2,format:function(){function j(O){return O+" keys / "+(0,a.round)(O/12*100)/100+" octaves"}return j}(),onChange:function(){function j(O,R){return u("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(O){return u("setsustainmode",{new:O})}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(O,R){return u("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 u("togglesustainhold")}return j}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function j(){return u("reset")}return j}()})]})})})},h=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,l=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||l,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,p){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:p+1,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:l,icon:"pen",onClick:function(){function N(){return u("modifyline",{line:p+1})}return N}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:l,icon:"trash",onClick:function(){function N(){return u("deleteline",{line:p+1})}return N}()})],4),children:v},p)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},13618:function(w,r,n){"use strict";r.__esModule=!0,r.KeyComboModal=void 0;var e=n(89005),a=n(70611),t=n(72253),o=n(36036),f=n(98595),V=n(19203),k=n(51057),S=function(d){return d.key!==a.KEY.Alt&&d.key!==a.KEY.Control&&d.key!==a.KEY.Shift&&d.key!==a.KEY.Escape},b={DEL:"Delete",DOWN:"South",END:"Southwest",HOME:"Northwest",INSERT:"Insert",LEFT:"West",PAGEDOWN:"Southeast",PAGEUP:"Northeast",RIGHT:"East",SPACEBAR:"Space",UP:"North"},h=3,i=function(d){var u="";if(d.altKey&&(u+="Alt"),d.ctrlKey&&(u+="Ctrl"),d.shiftKey&&!(d.keyCode>=48&&d.keyCode<=57)&&(u+="Shift"),d.location===h&&(u+="Numpad"),S(d))if(d.shiftKey&&d.keyCode>=48&&d.keyCode<=57){var s=d.keyCode-48;u+="Shift"+s}else{var l=d.key.toUpperCase();u+=b[l]||l}return u},c=r.KeyComboModal=function(){function m(d,u){var s=(0,t.useBackend)(u),l=s.act,C=s.data,g=C.init_value,v=C.large_buttons,p=C.message,N=p===void 0?"":p,y=C.title,B=C.timeout,I=(0,t.useLocalState)(u,"input",g),L=I[0],T=I[1],A=(0,t.useLocalState)(u,"binding",!0),x=A[0],E=A[1],M=function(){function R(D){if(!x){D.key===a.KEY.Enter&&l("submit",{entry:L}),D.key===a.KEY.Escape&&l("cancel");return}if(D.preventDefault(),S(D)){j(i(D)),E(!1);return}else if(D.key===a.KEY.Escape){j(g),E(!1);return}}return R}(),j=function(){function R(D){D!==L&&T(D)}return R}(),O=130+(N.length>30?Math.ceil(N.length/3):0)+(N.length&&v?5:0);return(0,e.createComponentVNode)(2,f.Window,{title:y,width:240,height:O,children:[B&&(0,e.createComponentVNode)(2,k.Loader,{value:B}),(0,e.createComponentVNode)(2,f.Window.Content,{onKeyDown:function(){function R(D){M(D)}return R}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Autofocus),(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.Box,{color:"label",children:N})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:x,content:x&&x!==null?"Awaiting input...":""+L,width:"100%",textAlign:"center",onClick:function(){function R(){j(g),E(!0)}return R}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,V.InputButtons,{input:L})})]})]})})]})}return m}()},35655:function(w,r,n){"use strict";r.__esModule=!0,r.KeycardAuth=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.KeycardAuth=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.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(!i.swiping&&!i.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:!i.redAvailable,onClick:function(){function d(){return h("triggerevent",{triggerevent:"Red Alert"})}return d}(),content:"Red Alert"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Emergency Response Team"})}return d}(),content:"Call ERT"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Maint Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return d}(),content:"Revoke"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Station-Wide Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return d}(),content:"Revoke"})]})]})})]})});var m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!i.hasSwiped&&!i.ertreason&&i.event==="Emergency Response Team"?m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):i.hasConfirm?m=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):i.isRemote?m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):i.hasSwiped&&(m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Waiting for second person to confirm..."})),(0,e.createComponentVNode)(2,o.Window,{width:540,height:265,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,i.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:i.ertreason?"":"red",icon:i.ertreason?"check":"pencil-alt",content:i.ertreason?i.ertreason:"-----",disabled:i.busy,onClick:function(){function d(){return h("ert")}return d}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:i.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:i.busy||i.hasConfirm,onClick:function(){function d(){return h("reset")}return d}()}),children:m})]})})}return V}()},62955:function(w,r,n){"use strict";r.__esModule=!0,r.KitchenMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(62411),V=r.KitchenMachine=function(){function S(b,h){var i=(0,a.useBackend)(h),c=i.data,m=i.config,d=c.ingredients,u=c.operating,s=m.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Operating,{operating:u,name:s}),(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,title:"Ingredients",children:(0,e.createComponentVNode)(2,t.Table,{className:"Ingredient__Table",children:d.map(function(l){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:l.name}),2),(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:[l.amount," ",l.units]}),2)]},l.name)})})})})]})})})}return S}(),k=function(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.inactive,u=m.tooltip;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:d,tooltip:d?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:d,tooltip:d?u:"",tooltipPosition:"bottom",content:"Eject Contents",onClick:function(){function s(){return c("eject")}return s}()})})]})})}},9525:function(w,r,n){"use strict";r.__esModule=!0,r.LawManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.LawManager=function(){function b(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.isAdmin,s=d.isSlaved,l=d.isMalf,C=d.isAIMalf,g=d.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:l?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,"."]}),!!(l||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 m("set_view",{set_view:0})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:g===1,onClick:function(){function v(){return m("set_view",{set_view:1})}return v}()})]}),g===0&&(0,e.createComponentVNode)(2,V),g===1&&(0,e.createComponentVNode)(2,k)]})})}return b}(),V=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.has_zeroth_laws,s=d.zeroth_laws,l=d.has_ion_laws,C=d.ion_laws,g=d.ion_law_nr,v=d.has_inherent_laws,p=d.inherent_laws,N=d.has_supplied_laws,y=d.supplied_laws,B=d.channels,I=d.channel,L=d.isMalf,T=d.isAdmin,A=d.zeroth_law,x=d.ion_law,E=d.inherent_law,M=d.supplied_law,j=d.supplied_law_position;return(0,e.createFragment)([!!u&&(0,e.createComponentVNode)(2,S,{title:"ERR_NULL_VALUE",laws:s,ctx:i}),!!l&&(0,e.createComponentVNode)(2,S,{title:g,laws:C,ctx:i}),!!v&&(0,e.createComponentVNode)(2,S,{title:"Inherent",laws:p,ctx:i}),!!N&&(0,e.createComponentVNode)(2,S,{title:"Supplied",laws:y,ctx:i}),(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(O){return(0,e.createComponentVNode)(2,t.Button,{content:O.channel,selected:O.channel===I,onClick:function(){function R(){return m("law_channel",{law_channel:O.channel})}return R}()},O.channel)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State Laws",children:(0,e.createComponentVNode)(2,t.Button,{content:"State Laws",onClick:function(){function O(){return m("state_laws")}return O}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Law Notification",children:(0,e.createComponentVNode)(2,t.Button,{content:"Notify",onClick:function(){function O(){return m("notify_laws")}return O}()})})]})}),!!L&&(0,e.createComponentVNode)(2,t.Section,{title:"Add Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"60%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Actions"})]}),!!(T&&!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 O(){return m("change_zeroth_law")}return O}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function O(){return m("add_zeroth_law")}return O}()})]})]}),(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 O(){return m("change_ion_law")}return O}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function O(){return m("add_ion_law")}return O}()})]})]}),(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 O(){return m("change_inherent_law")}return O}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function O(){return m("add_inherent_law")}return O}()})]})]}),(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 O(){return m("change_supplied_law_position")}return O}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function O(){return m("change_supplied_law")}return O}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function O(){return m("add_supplied_law")}return O}()})]})]})]})})],0)},k=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.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 l(){return m("transfer_laws",{transfer_laws:s.ref})}return l}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.laws.has_ion_laws>0&&s.laws.ion_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)}),s.laws.has_zeroth_laws>0&&s.laws.zeroth_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)}),s.laws.has_inherent_laws>0&&s.laws.inherent_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)}),s.laws.has_supplied_laws>0&&s.laws.inherent_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)})]})},s.name)})})},S=function(h,i){var c=(0,a.useBackend)(h.ctx),m=c.act,d=c.data,u=d.isMalf;return(0,e.createComponentVNode)(2,t.Section,{title:h.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?"})]}),h.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 l(){return m("state_law",{ref:s.ref,state_law:s.state?0:1})}return l}()}),!!u&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function l(){return m("edit_law",{edit_law:s.ref})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function l(){return m("delete_law",{delete_law:s.ref})}return l}()})],4)]})]},s.law)})]})})}},85066:function(w,r,n){"use strict";r.__esModule=!0,r.LibraryComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),V=r.LibraryComputer=function(){function g(v,p){return(0,e.createComponentVNode)(2,o.Window,{width:1050,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c)]})})]})}return g}(),k=function(v,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=v.args,L=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:I.summary}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",verticalAlign:"top"})]}),!I.isProgrammatic&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Categories",children:I.categories.join(", ")})]}),(0,e.createVNode)(1,"br"),L===I.ckey&&(0,e.createComponentVNode)(2,t.Button,{content:"Delete Book",icon:"trash",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return y("delete_book",{bookid:I.id,user_ckey:L})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Report Book",icon:"flag",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,f.modalOpen)(p,"report_book",{bookid:I.id})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Rate Book",icon:"star",color:"caution",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,f.modalOpen)(p,"rate_info",{bookid:I.id})}return T}()})]})},S=function(v,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=v.args,L=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===L,onClick:function(){function M(){return y("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 y("submit_report",{bookid:I.id,user_ckey:A})}return x}()})]})},b=function(v,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.selected_rating,L=Array(10).fill().map(function(T,A){return 1+A});return(0,e.createComponentVNode)(2,t.Stack,{children:[L.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 y("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"})]})]})},h=function(v,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=v.args,L=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.current_rating?I.current_rating:0,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Ratings",children:I.total_ratings?I.total_ratings:0})]}),(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,t.Button.Confirm,{mt:2,content:"Submit",icon:"paper-plane",onClick:function(){function T(){return y("rate_book",{bookid:I.id,user_ckey:L})}return T}()})]})},i=function(v,p){var N=(0,a.useBackend)(p),y=N.data,B=(0,a.useLocalState)(p,"tabIndex",0),I=B[0],L=B[1],T=y.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 L(0)}return A}(),children:"Book Archives"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===1,onClick:function(){function A(){return L(1)}return A}(),children:"Corporate Literature"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===2,onClick:function(){function A(){return L(2)}return A}(),children:"Upload Book"}),T===1&&(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===3,onClick:function(){function A(){return L(3)}return A}(),children:"Patron Manager"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===4,onClick:function(){function A(){return L(4)}return A}(),children:"Inventory"})]})})},c=function(v,p){var N=(0,a.useLocalState)(p,"tabIndex",0),y=N[0];switch(y){case 0:return(0,e.createComponentVNode)(2,d);case 1:return(0,e.createComponentVNode)(2,u);case 2:return(0,e.createComponentVNode)(2,s);case 3:return(0,e.createComponentVNode)(2,l);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."}},m=function(v,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.searchcontent,L=B.book_categories,T=B.user_ckey,A=[];return L.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,f.modalOpen)(p,"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,f.modalOpen)(p,"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,f.modalOpen)(p,"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,f.modalOpen)(p,"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:L.map(function(x){return x.description}),onSelected:function(){function x(E){return y("toggle_search_category",{category_id:A[E]})}return x}()})})})}),(0,e.createVNode)(1,"br"),L.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 y("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 y("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 y("clear_ckey_search")}return x}()}):(0,e.createComponentVNode)(2,t.Button,{content:"Find My Books",icon:"search",onClick:function(){function x(){return y("find_users_books",{user_ckey:T})}return x}()})]})]})},d=function(v,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.external_booklist,L=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:L===1,onClick:function(){function x(){return y("deincrementpagemax")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",disabled:L===1,onClick:function(){function x(){return y("deincrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{bold:!0,content:L,onClick:function(){function x(){return(0,f.modalOpen)(p,"setpagenumber")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",disabled:L===T,onClick:function(){function x(){return y("incrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",disabled:L===T,onClick:function(){function x(){return y("incrementpagemax")}return x}()})],4),children:[(0,e.createComponentVNode)(2,m),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ratings"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Category"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(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 y("order_external_book",{bookid:x.id})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function E(){return(0,f.modalOpen)(p,"expand_info",{bookid:x.id})}return E}()})]})]},x.id)})]})]})},u=function(v,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.programmatic_booklist,L=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Corporate Book Catalog",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(T,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:[L===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function x(){return y("order_programmatic_book",{bookid:T.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function x(){return(0,f.modalOpen)(p,"expand_info",{bookid:T.id})}return x}()})]})]},A)})]})})},s=function(v,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.selectedbook,L=B.book_categories,T=B.user_ckey,A=[];return L.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 y("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,f.modalOpen)(p,"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,f.modalOpen)(p,"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:L.map(function(x){return x.description}),onSelected:function(){function x(E){return y("toggle_upload_category",{category_id:A[E]})}return x}()})})})]}),(0,e.createVNode)(1,"br"),L.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 y("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,f.modalOpen)(p,"edit_selected_summary")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:I.summary})]})})]})]})},l=function(v,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.checkout_data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Checked Out Books",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Patron"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actions"})]}),I.map(function(L,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-tag"}),L.patron_name]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.timeleft>=0?L.timeleft:"LATE"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:(0,e.createComponentVNode)(2,t.Button,{content:"Mark Lost",icon:"flag",color:"bad",disabled:L.timeleft>=0,onClick:function(){function A(){return y("reportlost",{libraryid:L.libraryid})}return A}()})})]},T)})]})})},C=function(v,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.inventory_list;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Library Inventory",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"LIB ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"})]}),I.map(function(L,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.libraryid}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"})," ",L.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.checked_out?"Checked Out":"Available"})]},T)})]})})};(0,f.modalRegisterBodyOverride)("expand_info",k),(0,f.modalRegisterBodyOverride)("report_book",S),(0,f.modalRegisterBodyOverride)("rate_info",h)},9516:function(w,r,n){"use strict";r.__esModule=!0,r.LibraryManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),V=r.LibraryManager=function(){function i(c,m){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,k)})]})}return i}(),k=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=s.pagestate;switch(l){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,h);case 3:return(0,e.createComponentVNode)(2,b);default:return"WE SHOULDN'T BE HERE!"}},S=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-shield",verticalAlign:"middle",size:3,mr:"1rem"}),"Library Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",width:"auto",color:"danger",content:"Delete Book by SSID",onClick:function(){function l(){return(0,f.modalOpen)(m,"specify_ssid_delete")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",width:"auto",color:"danger",content:"Delete All Books By CKEY",onClick:function(){function l(){return(0,f.modalOpen)(m,"specify_ckey_delete")}return l}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Books By CKEY",onClick:function(){function l(){return(0,f.modalOpen)(m,"specify_ckey_search")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Reported Books",onClick:function(){function l(){return u("view_reported_books")}return l}()})]})},b=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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"})]}),l.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)})]})})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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 ",l,(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)})]})})}},90447:function(w,r,n){"use strict";r.__esModule=!0,r.ListInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(36036),f=n(72253),V=n(92986),k=n(98595),S=r.ListInputModal=function(){function i(c,m){var d=(0,f.useBackend)(m),u=d.act,s=d.data,l=s.items,C=l===void 0?[]:l,g=s.message,v=g===void 0?"":g,p=s.init_value,N=s.timeout,y=s.title,B=(0,f.useLocalState)(m,"selected",C.indexOf(p)),I=B[0],L=B[1],T=(0,f.useLocalState)(m,"searchBarVisible",C.length>10),A=T[0],x=T[1],E=(0,f.useLocalState)(m,"searchQuery",""),M=E[0],j=E[1],O=function(){function Y(J){var Z=K.length-1;if(J===V.KEY_DOWN)if(I===null||I===Z){var le;L(0),(le=document.getElementById("0"))==null||le.scrollIntoView()}else{var ne;L(I+1),(ne=document.getElementById((I+1).toString()))==null||ne.scrollIntoView()}else if(J===V.KEY_UP)if(I===null||I===0){var me;L(Z),(me=document.getElementById(Z.toString()))==null||me.scrollIntoView()}else{var he;L(I-1),(he=document.getElementById((I-1).toString()))==null||he.scrollIntoView()}}return Y}(),R=function(){function Y(J){J!==I&&L(J)}return Y}(),D=function(){function Y(){x(!1),x(!0)}return Y}(),W=function(){function Y(J){var Z=String.fromCharCode(J),le=C.find(function(he){return he==null?void 0:he.toLowerCase().startsWith(Z==null?void 0:Z.toLowerCase())});if(le){var ne,me=C.indexOf(le);L(me),(ne=document.getElementById(me.toString()))==null||ne.scrollIntoView()}}return Y}(),U=function(){function Y(J){var Z;J!==M&&(j(J),L(0),(Z=document.getElementById("0"))==null||Z.scrollIntoView())}return Y}(),H=function(){function Y(){x(!A),j("")}return Y}(),K=C.filter(function(Y){return Y==null?void 0:Y.toLowerCase().includes(M.toLowerCase())}),G=330+Math.ceil(v.length/3);return A||setTimeout(function(){var Y;return(Y=document.getElementById(I.toString()))==null?void 0:Y.focus()},1),(0,e.createComponentVNode)(2,k.Window,{title:y,width:325,height:G,children:[N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:function(){function Y(J){var Z=window.event?J.which:J.keyCode;(Z===V.KEY_DOWN||Z===V.KEY_UP)&&(J.preventDefault(),O(Z)),Z===V.KEY_ENTER&&(J.preventDefault(),u("submit",{entry:K[I]})),!A&&Z>=V.KEY_A&&Z<=V.KEY_Z&&(J.preventDefault(),W(Z)),Z===V.KEY_ESCAPE&&(J.preventDefault(),u("cancel"))}return Y}(),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 Y(){return H()}return Y}()}),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,b,{filteredItems:K,onClick:R,onFocusSearch:D,searchBarVisible:A,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:A&&(0,e.createComponentVNode)(2,h,{filteredItems:K,onSearch:U,searchQuery:M,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:K[I]})})]})})})]})}return i}(),b=function(c,m){var d=(0,f.useBackend)(m),u=d.act,s=c.filteredItems,l=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(p,N){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:N,onClick:function(){function y(){return l(N)}return y}(),onDblClick:function(){function y(B){B.preventDefault(),u("submit",{entry:s[v]})}return y}(),onKeyDown:function(){function y(B){var I=window.event?B.which:B.keyCode;g&&I>=V.KEY_A&&I<=V.KEY_Z&&(B.preventDefault(),C())}return y}(),selected:N===v,style:{animation:"none",transition:"none"},children:p.replace(/^\w/,function(y){return y.toUpperCase()})},N)})})},h=function(c,m){var d=(0,f.useBackend)(m),u=d.act,s=c.filteredItems,l=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(p){p.preventDefault(),u("submit",{entry:s[g]})}return v}(),onInput:function(){function v(p,N){return l(N)}return v}(),placeholder:"Search...",value:C})}},77613:function(w,r,n){"use strict";r.__esModule=!0,r.MODsuitContent=r.MODsuit=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(I,L){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.NumberInput,{value:A,minValue:-50,maxValue:50,stepPixelSize:5,width:"39px",onChange:function(){function j(O,R){return M("configure",{key:T,value:R,ref:x})}return j}()})},V=function(I,L){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),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}()})},k=function(I,L){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"paint-brush",onClick:function(){function j(){return M("configure",{key:T,ref:x})}return j}()}),(0,e.createComponentVNode)(2,t.ColorBox,{color:A,mr:.5})],4)},S=function(I,L){var T=I.name,A=I.value,x=I.values,E=I.module_ref,M=(0,a.useBackend)(L),j=M.act;return(0,e.createComponentVNode)(2,t.Dropdown,{displayText:A,options:x,onSelected:function(){function O(R){return j("configure",{key:T,value:R,ref:E})}return O}()})},b=function(I,L){var T=I.name,A=I.display_name,x=I.type,E=I.value,M=I.values,j=I.module_ref,O={number:(0,e.normalizeProps)((0,e.createComponentVNode)(2,f,Object.assign({},I))),bool:(0,e.normalizeProps)((0,e.createComponentVNode)(2,V,Object.assign({},I))),color:(0,e.normalizeProps)((0,e.createComponentVNode)(2,k,Object.assign({},I))),list:(0,e.normalizeProps)((0,e.createComponentVNode)(2,S,Object.assign({},I)))};return(0,e.createComponentVNode)(2,t.Box,{children:[A,": ",O[x]]})},h=function(I,L){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})})]})},i=function(I,L){var T=I.active,A=I.userhealth,x=I.usermaxhealth,E=I.userbrute,M=I.userburn,j=I.usertoxin,O=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?O/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?O:0})})})})]})],4)},c=function(I,L){var T=I.active,A=I.statustime,x=I.statusid,E=I.statushealth,M=I.statusmaxhealth,j=I.statusbrute,O=I.statusburn,R=I.statustoxin,D=I.statusoxy,W=I.statustemp,U=I.statusnutrition,H=I.statusfingerprints,K=I.statusdna,G=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?O/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?O: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?W: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?H:"???"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:T?K:"???"})]})}),!!T&&!!G&&(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"})})]}),G.map(function(Y){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:Y.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:Y.type}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[Y.stage,"/",Y.maxstage]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:Y.cure})]},Y.name)})]})})],0)},m={rad_counter:h,health_analyzer:i,status_readout:c},d=function(){return(0,e.createComponentVNode)(2,t.Section,{align:"center",fill:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{color:"red",name:"exclamation-triangle",size:15}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"30px",color:"red",children:"ERROR: INTERFACE UNRESPONSIVE"})]})},u=function(I,L){var T=(0,a.useBackend)(L),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,L){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,b,{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"})})})]})})},l=function(I){switch(I){case 1:return"Use";case 2:return"Toggle";case 3:return"Select"}},C=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.active,M=x.malfunctioning,j=x.locked,O=x.open,R=x.selected_module,D=x.complexity,W=x.complexity_max,U=x.wearer_name,H=x.wearer_job,K=M?"Malfunctioning":E?"Active":"Inactive";return(0,e.createComponentVNode)(2,t.Section,{title:"Parameters",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:E?"Deactivate":"Activate",onClick:function(){function G(){return A("activate")}return G}()}),children:K}),(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 G(){return A("lock")}return G}()}),children:j?"Locked":"Unlocked"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover",children:O?"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," (",W,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:[U,", ",H]})]})})},g=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.active,M=x.control,j=x.helmet,O=x.chestplate,R=x.gauntlets,D=x.boots,W=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:M}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Helmet",children:j||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chestplate",children:O||"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:W&&(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Type",children:W}),(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,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.active,M=x.modules,j=M.filter(function(O){return!!O.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(O){var R=m[O.id];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!E&&(0,e.createComponentVNode)(2,u),(0,e.normalizeProps)((0,e.createComponentVNode)(2,R,Object.assign({},O,{active:E})))]},O.ref)})||(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Info Modules Detected"})})})},p=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.complexity_max,M=x.modules,j=(0,a.useLocalState)(L,"module_configuration",null),O=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:[O===D.ref&&(0,e.createComponentVNode)(2,s,{configuration_data:D.configuration_data,module_ref:D.ref,onExit:function(){function W(){return R(null)}return W}()}),(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 W(){return A("select",{ref:D.ref})}return W}(),icon:"bullseye",selected:D.module_active,tooltip:l(D.module_type),tooltipPosition:"left",disabled:!D.module_type}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function W(){return R(D.ref)}return W}(),icon:"cog",selected:O===D.ref,tooltip:"Configure",tooltipPosition:"left",disabled:D.configuration_data.length===0}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function W(){return A("pin",{ref:D.ref})}return W}(),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"})})})})},N=r.MODsuitContent=function(){function B(I,L){var T=(0,a.useBackend)(L),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,d)||(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,p)})]})})}return B}(),y=r.MODsuit=function(){function B(I,L){var T=(0,a.useBackend)(L),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,N)})})})}return B}()},78624:function(w,r,n){"use strict";r.__esModule=!0,r.MagnetController=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=n(3939),k=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 b(h,i){var c=(0,t.useBackend)(i),m=c.act,d=c.data,u=d.autolink,s=d.code,l=d.frequency,C=d.linkedMagnets,g=d.magnetConfiguration,v=d.path,p=d.pathPosition,N=d.probing,y=d.powerState,B=d.speed;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[!u&&(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Probe",icon:N?"spinner":"sync",iconSpin:!!N,disabled:N,onClick:function(){function I(){return m("probe_magnets")}return I}()}),title:"Magnet Linking",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,a.toFixed)(l/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:y?"power-off":"times",content:y?"On":"Off",selected:y,onClick:function(){function I(){return m("toggle_power")}return I}()}),title:"Controller Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:B.value,minValue:B.min,maxValue:B.max,onChange:function(){function I(L,T){return m("set_speed",{speed:T})}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Path",children:[Array.from(k.entries()).map(function(I){var L=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 m("path_add",{code:L})}return E}()},L)}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",confirmIcon:"trash",confirmContent:"",float:"right",tooltip:"Reset Path",tooltipPosition:"left",onClick:function(){function I(){return m("path_clear")}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file-import",float:"right",tooltip:"Manually input path",tooltipPosition:"left",onClick:function(){function I(){return(0,V.modalOpen)(i,"path_custom_input")}return I}()}),(0,e.createComponentVNode)(2,o.BlockQuote,{children:v.map(function(I,L){var T=k.get(I)||{icon:"question"},A=T.icon,x=T.tooltip;return(0,e.createComponentVNode)(2,o.Button.Confirm,{selected:L+2===p,icon:A,confirmIcon:A,confirmContent:"",tooltip:x,onClick:function(){function E(){return m("path_remove",{index:L+1,code:I})}return E}()},L)})})]})]})}),C.map(function(I,L){var T=I.uid,A=I.powerState,x=I.electricityLevel,E=I.magneticField;return(0,e.createComponentVNode)(2,o.Section,{title:"Magnet #"+(L+1)+" Configuration",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:A?"power-off":"times",content:A?"On":"Off",selected:A,onClick:function(){function M(){return m("toggle_magnet_power",{id:T})}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Move Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:x,minValue:g.electricityLevel.min,maxValue:g.electricityLevel.max,onChange:function(){function M(j,O){return m("set_electricity_level",{id:T,electricityLevel:O})}return M}()})}),(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 M(j,O){return m("set_magnetic_field",{id:T,magneticField:O})}return M}()})})]})},T)})]})]})}return b}()},72106:function(w,r,n){"use strict";r.__esModule=!0,r.MechBayConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.MechBayConsole=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.recharge_port,m=c&&c.mech,d=m&&m.cell,u=m&&m.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:155,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:u?"Mech status: "+u:"Mech status",textAlign:"center",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Sync",onClick:function(){function s(){return h("reconnect")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:m.health/m.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||!d&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:d.charge/d.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:d.charge})," / "+d.maxcharge]})})]})})})})}return V}()},7466:function(w,r,n){"use strict";r.__esModule=!0,r.MechaControlConsole=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=n(25328),k=r.MechaControlConsole=function(){function S(b,h){var i=(0,t.useBackend)(h),c=i.act,m=i.data,d=m.beacons,u=m.stored_data;return u.length?(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"window-close",onClick:function(){function s(){return c("clear_log")}return s}()}),children: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,V.decodeHtmlEntities)(s.message)})]},s.time)})})})}):(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:d.length&&d.map(function(s){return(0,e.createComponentVNode)(2,o.Section,{title:s.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function l(){return c("send_message",{mt:s.uid})}return l}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function l(){return c("get_log",{mt:s.uid})}return l}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"Sabotage",icon:"bomb",onClick:function(){function l(){return c("shock",{mt:s.uid})}return l}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.maxHealth*.75,1/0],average:[s.maxHealth*.5,s.maxHealth*.75],bad:[-1/0,s.maxHealth*.5]},value:s.health,maxValue:s.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:s.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.cellMaxCharge*.75,1/0],average:[s.cellMaxCharge*.5,s.cellMaxCharge*.75],bad:[-1/0,s.cellMaxCharge*.5]},value:s.cellCharge,maxValue:s.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[s.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:s.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,V.toTitleCase)(s.location)||"Unknown"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Active Equipment",children:s.active||"None"}),s.cargoMax&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cargo Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{bad:[s.cargoMax*.75,1/0],average:[s.cargoMax*.5,s.cargoMax*.75],good:[-1/0,s.cargoMax*.5]},value:s.cargoUsed,maxValue:s.cargoMax})})||null]})},s.name)})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No mecha beacons found."})})})}return S}()},79625:function(w,r,n){"use strict";r.__esModule=!0,r.MedicalRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(3939),V=n(98595),k=n(321),S=n(5485),b=n(22091),h={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},i={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},c=function(A,x){(0,f.modalOpen)(A,"edit",{field:x.edit,value:x.value})},m=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:h[E.severity],children:E.severity})]})})})},d=r.MedicalRecords=function(){function T(A,x){var E=(0,t.useBackend)(x),M=E.data,j=M.loginState,O=M.screen;if(!j.logged_in)return(0,e.createComponentVNode)(2,V.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});var R;return O===2?R=(0,e.createComponentVNode)(2,u):O===3?R=(0,e.createComponentVNode)(2,s):O===4?R=(0,e.createComponentVNode)(2,l):O===5?R=(0,e.createComponentVNode)(2,p):O===6?R=(0,e.createComponentVNode)(2,N):O===7&&(R=(0,e.createComponentVNode)(2,y)),(0,e.createComponentVNode)(2,V.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.LoginInfo),(0,e.createComponentVNode)(2,b.TemporaryNotice),(0,e.createComponentVNode)(2,L),R]})})]})}return T}(),u=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,O=j.records,R=(0,t.useLocalState)(x,"searchText",""),D=R[0],W=R[1],U=(0,t.useLocalState)(x,"sortId","name"),H=U[0],K=U[1],G=(0,t.useLocalState)(x,"sortOrder",!0),Y=G[0],J=G[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 Z(){return M("screen",{screen:3})}return Z}()})}),(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 Z(le,ne){return W(ne)}return Z}()})})]})}),(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"})]}),O.filter((0,a.createSearch)(D,function(Z){return Z.name+"|"+Z.id+"|"+Z.rank+"|"+Z.p_stat+"|"+Z.m_stat})).sort(function(Z,le){var ne=Y?1:-1;return Z[H].localeCompare(le[H])*ne}).map(function(Z){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+i[Z.p_stat],onClick:function(){function le(){return M("view_record",{view_record:Z.ref})}return le}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",Z.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Z.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Z.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Z.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Z.m_stat})]},Z.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}()})})]})})},l=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,O=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,C)})}),!O||!O.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:!!O.empty,content:"Delete Medical Record",onClick:function(){function D(){return M("del_med_record")}return D}()}),children:(0,e.createComponentVNode)(2,g)})}),(0,e.createComponentVNode)(2,v)],4)],0)},C=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(O,R){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 D(){return c(x,O)}return D}()})]},R)})})}),!!j.has_photos&&j.photos.map(function(O,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:O,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",R+1]},R)})]})},g=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,O=j.medical;return!O||!O.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:O.fields.map(function(R,D){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:R.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(R.value),!!R.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:R.line_break?"1rem":"initial",onClick:function(){function W(){return c(x,R)}return W}()})]},D)})})})})},v=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,O=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,f.modalOpen)(x,"add_comment")}return R}()}),children:O.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):O.comments.map(function(R,D){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:R.header}),(0,e.createVNode)(1,"br"),R.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function W(){return M("del_comment",{del_comment:D+1})}return W}()})]},D)})})})},p=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,O=j.virus,R=(0,t.useLocalState)(x,"searchText",""),D=R[0],W=R[1],U=(0,t.useLocalState)(x,"sortId2","name"),H=U[0],K=U[1],G=(0,t.useLocalState)(x,"sortOrder2",!0),Y=G[0],J=G[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 Z(le,ne){return W(ne)}return Z}()})}),(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"})]}),O.filter((0,a.createSearch)(D,function(Z){return Z.name+"|"+Z.max_stages+"|"+Z.severity})).sort(function(Z,le){var ne=Y?1:-1;return Z[H].localeCompare(le[H])*ne}).map(function(Z){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+Z.severity,onClick:function(){function le(){return M("vir",{vir:Z.D})}return le}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",Z.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Z.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:h[Z.severity],children:Z.severity})]},Z.id)})]})})})})],4)},N=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,O=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:O.length!==0&&O.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"})})})})},y=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,O=j.medbots;return O.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"})]}),O.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],O=(0,t.useLocalState)(x,"sortOrder",!0),R=O[0],D=O[1],W=A.id,U=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==W&&"transparent",onClick:function(){function H(){M===W?D(!R):(j(W),D(!0))}return H}(),children:[U,M===W&&(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],O=(0,t.useLocalState)(x,"sortOrder2",!0),R=O[0],D=O[1],W=A.id,U=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==W&&"transparent",onClick:function(){function H(){M===W?D(!R):(j(W),D(!0))}return H}(),children:[U,M===W&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},L=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,O=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:O===2,onClick:function(){function D(){M("screen",{screen:2})}return D}(),children:"List Records"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:O===5,onClick:function(){function D(){M("screen",{screen:5})}return D}(),children:"Virus Database"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"vial",selected:O===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:O===7,onClick:function(){function D(){return M("screen",{screen:7})}return D}(),children:"Medibot Tracking"}),O===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:O===3,children:"Record Maintenance"}),O===4&&R&&!R.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:O===4,children:["Record: ",R.fields[0].value]})]})})};(0,f.modalRegisterBodyOverride)("virus",m)},54989:function(w,r,n){"use strict";r.__esModule=!0,r.MerchVendor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=h.product,s=h.productImage,l=h.productCategory,C=d.user_money;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children: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 m("purchase",{name:u.name,category:l})}return g}()})})]})},V=function(h,i){var c=(0,a.useBackend)(i),m=c.data,d=(0,a.useLocalState)(i,"tabIndex",1),u=d[0],s=m.products,l=m.imagelist,C=["apparel","toy","decoration"];return(0,e.createComponentVNode)(2,t.Table,{children:s[C[u]].map(function(g){return(0,e.createComponentVNode)(2,f,{product:g,productImage:l[g.path],productCategory:C[u]},g.name)})})},k=r.MerchVendor=function(){function b(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.user_cash,s=d.inserted_cash;return(0,e.createComponentVNode)(2,o.Window,{title:"Merch Computer",width:450,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"light-grey",inline:!0,mr:"0.5rem",children:["There is ",(0,e.createVNode)(1,"b",null,s,0)," credits inserted."]}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s,icon:"money-bill-wave-alt",content:"Dispense Change",textAlign:"left",onClick:function(){function l(){return m("change")}return l}()})],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,V)]})})]})})})}return b}(),S=function(h,i){var c=(0,a.useBackend)(i),m=c.data,d=(0,a.useLocalState)(i,"tabIndex",1),u=d[0],s=d[1],l=m.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"})]})}},87684:function(w,r,n){"use strict";r.__esModule=!0,r.MiningVendor=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),V=["title","items"];function k(d,u){if(d==null)return{};var s={};for(var l in d)if({}.hasOwnProperty.call(d,l)){if(u.includes(l))continue;s[l]=d[l]}return s}var S={Alphabetical:function(){function d(u,s){return u-s}return d}(),Availability:function(){function d(u,s){return-(u.affordable-s.affordable)}return d}(),Price:function(){function d(u,s){return u.price-s.price}return d}()},b=r.MiningVendor=function(){function d(u,s){return(0,e.createComponentVNode)(2,f.Window,{width:400,height:455,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,i)]})})})}return d}(),h=function(u,s){var l=(0,t.useBackend)(s),C=l.act,g=l.data,v=g.has_id,p=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 ",p.name,".",(0,e.createVNode)(1,"br"),"You have ",p.points.toLocaleString("en-US")," points."]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){function N(){return C("logoff")}return N}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},i=function(u,s){var l=(0,t.useBackend)(s),C=l.act,g=l.data,v=g.has_id,p=g.id,N=g.items,y=(0,t.useLocalState)(s,"search",""),B=y[0],I=y[1],L=(0,t.useLocalState)(s,"sort","Alphabetical"),T=L[0],A=L[1],x=(0,t.useLocalState)(s,"descending",!1),E=x[0],M=x[1],j=(0,a.createSearch)(B,function(D){return D[0]}),O=!1,R=Object.entries(N).map(function(D,W){var U=Object.entries(D[1]).filter(j).map(function(H){return H[1].affordable=v&&p.points>=H[1].price,H[1]}).sort(S[T]);if(U.length!==0)return E&&(U=U.reverse()),O=!0,(0,e.createComponentVNode)(2,m,{title:D[0],items:U},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:O?R:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},c=function(u,s){var l=(0,t.useLocalState)(s,"search",""),C=l[0],g=l[1],v=(0,t.useLocalState)(s,"sort",""),p=v[0],N=v[1],y=(0,t.useLocalState)(s,"descending",!1),B=y[0],I=y[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{mt:.2,placeholder:"Search by item name..",width:"100%",onInput:function(){function L(T,A){return g(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:"Alphabetical",options:Object.keys(S),width:"100%",onSelected:function(){function L(T){return N(T)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:B?"arrow-down":"arrow-up",height:"21px",tooltip:B?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function L(){return I(!B)}return L}()})})]})})},m=function(u,s){var l=(0,t.useBackend)(s),C=l.act,g=l.data,v=u.title,p=u.items,N=k(u,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:v},N,{children:p.map(function(y){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:y.name}),(0,e.createComponentVNode)(2,o.Button,{disabled:!g.has_id||g.id.points0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:te>=10?"9+":te})}),(0,e.createComponentVNode)(2,s,{icon:"briefcase",title:"Job Openings",selected:D===1,onClick:function(){function Q(){return x("jobs")}return Q}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:W.map(function(Q){return(0,e.createComponentVNode)(2,s,{icon:Q.icon,title:Q.name,selected:D===2&&W[H-1]===Q,onClick:function(){function oe(){return x("channel",{uid:Q.uid})}return oe}(),children:Q.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:Q.unread>=10?"9+":Q.unread})},Q)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!M||!!j)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function Q(){return(0,k.modalOpen)(T,"wanted_notice")}return Q}()}),(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 Q(){return he(!me)}return Q}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,s,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function Q(){return(0,k.modalOpen)(T,"create_story")}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:"plus-circle",title:"New Channel",onClick:function(){function Q(){return(0,k.modalOpen)(T,"create_channel")}return Q}()}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,s,{icon:R?"spinner":"print",iconSpin:R,title:R?"Printing...":"Print Newspaper",onClick:function(){function Q(){return x("print_newspaper")}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:O?"volume-mute":"volume-up",title:"Mute: "+(O?"On":"Off"),onClick:function(){function Q(){return x("toggle_mute")}return Q}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,S.TemporaryNotice),ye]})]})})]})}return I}(),s=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=L.icon,M=E===void 0?"":E,j=L.iconSpin,O=L.selected,R=O===void 0?!1:O,D=L.security,W=D===void 0?!1:D,U=L.onClick,H=L.title,K=L.children,G=i(L,b);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Newscaster__menuButton",R&&"Newscaster__menuButton--selected",W&&"Newscaster__menuButton--security"]),onClick:U},G,{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}),K]})))},l=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.screen,j=E.is_admin,O=E.channel_idx,R=E.channel_can_manage,D=E.channels,W=E.stories,U=E.wanted,H=(0,t.useLocalState)(T,"fullStories",[]),K=H[0],G=H[1],Y=(0,t.useLocalState)(T,"censorMode",!1),J=Y[0],Z=Y[1],le=M===2&&O>-1?D[O-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:le?le.icon:"newspaper",mr:"0.5rem"}),le?le.name:"Headlines"],0),children:W.length>0?W.slice().reverse().map(function(ne){return!K.includes(ne.uid)&&ne.body.length+3>c?Object.assign({},ne,{body_short:ne.body.substr(0,c-4)+"..."}):ne}).map(function(ne,me){return(0,e.createComponentVNode)(2,g,{story:ne},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."]})}),!!le&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,height:"40%",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"info-circle",mr:"0.5rem"}),(0,e.createTextVNode)("About")],4),buttons:(0,e.createFragment)([J&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!le.admin&&!j,selected:le.censored,icon:le.censored?"comment-slash":"comment",content:le.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function ne(){return x("censor_channel",{uid:le.uid})}return ne}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!R,icon:"cog",content:"Manage",onClick:function(){function ne(){return(0,k.modalOpen)(T,"manage_channel",{uid:le.uid})}return ne}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:le.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:le.author||"N/A"}),!!j&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Ckey",children:le.author_ckey}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:le.public?"Yes":"No"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Views",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"eye",mr:"0.5rem"}),W.reduce(function(ne,me){return ne+me.view_count},0).toLocaleString()]})]})})]})},C=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.jobs,j=E.wanted,O=Object.entries(M).reduce(function(R,D){var W=D[0],U=D[1];return R+U.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!j&&(0,e.createComponentVNode)(2,g,{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:O>0?m.map(function(R){return Object.assign({},d[R],{id:R,jobs:M[R]})}).filter(function(R){return!!R&&R.jobs.length>0}).map(function(R){return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__jobCategory","Newscaster__jobCategory--"+R.id]),title:R.title,buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:R.fluff_text}),children:R.jobs.map(function(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."})]})]})},g=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=L.story,j=L.wanted,O=j===void 0?!1:j,R=E.is_admin,D=(0,t.useLocalState)(T,"fullStories",[]),W=D[0],U=D[1],H=(0,t.useLocalState)(T,"censorMode",!1),K=H[0],G=H[1];return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__story",O&&"Newscaster__story--wanted"]),title:(0,e.createFragment)([O&&(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:[!O&&K&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:(0,e.createComponentVNode)(2,o.Button,{enabled:M.censor_flags&2,icon:M.censor_flags&2?"comment-slash":"comment",content:M.censor_flags&2?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){function Y(){return x("censor_story",{uid:M.uid})}return Y}()})}),(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),!O&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),M.view_count.toLocaleString(),(0,e.createTextVNode)(" |\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,f.timeAgo)(M.publish_time,E.world_time)]})]})}),children:(0,e.createComponentVNode)(2,o.Box,{children:M.censor_flags&2?"[REDACTED]":(0,e.createFragment)([!!M.has_photo&&(0,e.createComponentVNode)(2,v,{name:"story_photo_"+M.uid+".png",float:"right",ml:"0.5rem"}),(M.body_short||M.body).split("\n").map(function(Y,J){return(0,e.createComponentVNode)(2,o.Box,{children:Y||(0,e.createVNode)(1,"br")},J)}),M.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function Y(){return U([].concat(W,[M.uid]))}return Y}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},v=function(L,T){var A=L.name,x=i(L,h),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 O(){return j(A)}return O}()},x)))},p=function(L,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}()})]})},N=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=!!L.args.uid&&E.channels.filter(function(ie){return ie.uid===L.args.uid}).pop();if(L.id==="manage_channel"&&!M){(0,k.modalClose)(T);return}var j=L.id==="manage_channel",O=!!L.args.is_admin,R=L.args.scanned_user,D=(0,t.useLocalState)(T,"author",(M==null?void 0:M.author)||R||"Unknown"),W=D[0],U=D[1],H=(0,t.useLocalState)(T,"name",(M==null?void 0:M.name)||""),K=H[0],G=H[1],Y=(0,t.useLocalState)(T,"description",(M==null?void 0:M.description)||""),J=Y[0],Z=Y[1],le=(0,t.useLocalState)(T,"icon",(M==null?void 0:M.icon)||"newspaper"),ne=le[0],me=le[1],he=(0,t.useLocalState)(T,"isPublic",j?!!(M!=null&&M.public):!1),ye=he[0],te=he[1],Q=(0,t.useLocalState)(T,"adminLocked",(M==null?void 0:M.admin)===1||!1),oe=Q[0],fe=Q[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:!O,width:"100%",value:W,onInput:function(){function ie(ue,re){return U(re)}return ie}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:K,onInput:function(){function ie(ue,re){return G(re)}return ie}()})}),(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:J,onInput:function(){function ie(ue,re){return Z(re)}return ie}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!O,value:ne,width:"35%",mr:"0.5rem",onInput:function(){function ie(ue,re){return me(re)}return ie}()}),(0,e.createComponentVNode)(2,o.Icon,{name:ne,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 ie(){return te(!ye)}return ie}()})}),O&&(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 ie(){return fe(!oe)}return ie}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:W.trim().length===0||K.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function ie(){(0,k.modalAnswer)(T,L.id,"",{author:W,name:K.substr(0,49),description:J.substr(0,128),icon:ne,public:ye?1:0,admin_locked:oe?1:0})}return ie}()})]})},y=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.photo,j=E.channels,O=E.channel_idx,R=O===void 0?-1:O,D=!!L.args.is_admin,W=L.args.scanned_user,U=j.slice().sort(function(ie,ue){if(R<0)return 0;var re=j[R-1];if(re.uid===ie.uid)return-1;if(re.uid===ue.uid)return 1}).filter(function(ie){return D||!ie.frozen&&(ie.author===W||!!ie.public)}),H=(0,t.useLocalState)(T,"author",W||"Unknown"),K=H[0],G=H[1],Y=(0,t.useLocalState)(T,"channel",U.length>0?U[0].name:""),J=Y[0],Z=Y[1],le=(0,t.useLocalState)(T,"title",""),ne=le[0],me=le[1],he=(0,t.useLocalState)(T,"body",""),ye=he[0],te=he[1],Q=(0,t.useLocalState)(T,"adminLocked",!1),oe=Q[0],fe=Q[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!D,width:"100%",value:K,onInput:function(){function ie(ue,re){return G(re)}return ie}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:J,options:U.map(function(ie){return ie.name}),mb:"0",width:"100%",onSelected:function(){function ie(ue){return Z(ue)}return ie}()})}),(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:ne,onInput:function(){function ie(ue,re){return me(re)}return ie}()})}),(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 ie(ue,re){return te(re)}return ie}()})}),(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 ie(){return x(M?"eject_photo":"attach_photo")}return ie}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:ne,maxHeight:"13.5rem",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:[!!M&&(0,e.createComponentVNode)(2,v,{name:"inserted_photo_"+M.uid+".png",float:"right"}),ye.split("\n").map(function(ie,ue){return(0,e.createComponentVNode)(2,o.Box,{children:ie||(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 ie(){return fe(!oe)}return ie}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:K.trim().length===0||J.trim().length===0||ne.trim().length===0||ye.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function ie(){(0,k.modalAnswer)(T,"create_story","",{author:K,channel:J,title:ne.substr(0,127),body:ye.substr(0,1023),admin_locked:oe?1:0})}return ie}()})]})},B=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.photo,j=E.wanted,O=!!L.args.is_admin,R=L.args.scanned_user,D=(0,t.useLocalState)(T,"author",(j==null?void 0:j.author)||R||"Unknown"),W=D[0],U=D[1],H=(0,t.useLocalState)(T,"name",(j==null?void 0:j.title.substr(8))||""),K=H[0],G=H[1],Y=(0,t.useLocalState)(T,"description",(j==null?void 0:j.body)||""),J=Y[0],Z=Y[1],le=(0,t.useLocalState)(T,"adminLocked",(j==null?void 0:j.admin_locked)===1||!1),ne=le[0],me=le[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Authority",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!O,width:"100%",value:W,onInput:function(){function he(ye,te){return U(te)}return he}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",value:K,maxLength:"128",onInput:function(){function he(ye,te){return G(te)}return he}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:J,maxLength:"512",rows:"4",onInput:function(){function he(ye,te){return Z(te)}return he}()})}),(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 he(){return x(M?"eject_photo":"attach_photo")}return he}()}),!!M&&(0,e.createComponentVNode)(2,v,{name:"inserted_photo_"+M.uid+".png",float:"right"})]}),O&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ne,icon:ne?"lock":"lock-open",content:ne?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function he(){return me(!ne)}return he}()})})]})}),(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 he(){x("clear_wanted_notice"),(0,k.modalClose)(T)}return he}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:W.trim().length===0||K.trim().length===0||J.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function he(){(0,k.modalAnswer)(T,L.id,"",{author:W,name:K.substr(0,127),description:J.substr(0,511),admin_locked:ne?1:0})}return he}()})]})};(0,k.modalRegisterBodyOverride)("create_channel",N),(0,k.modalRegisterBodyOverride)("manage_channel",N),(0,k.modalRegisterBodyOverride)("create_story",y),(0,k.modalRegisterBodyOverride)("wanted_notice",B)},48286:function(w,r,n){"use strict";r.__esModule=!0,r.Noticeboard=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),V=r.Noticeboard=function(){function k(S,b){var h=(0,t.useBackend)(b),i=h.act,c=h.data,m=c.papers;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:300,theme:"noticeboard",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:m.map(function(d){return(0,e.createComponentVNode)(2,o.Stack.Item,{align:"center",width:"22.45%",height:"85%",onClick:function(){function u(){return i("interact",{paper:d.ref})}return u}(),onContextMenu:function(){function u(s){s.preventDefault(),i("showFull",{paper:d.ref})}return u}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,fontSize:.75,title:d.name,children:(0,a.decodeHtmlEntities)(d.contents)})},d.ref)})})})})}return k}()},41166:function(w,r,n){"use strict";r.__esModule=!0,r.NuclearBomb=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.NuclearBomb=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data;return i.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:i.authdisk?"eject":"id-card",selected:i.authdisk,content:i.diskname?i.diskname:"-----",tooltip:i.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function c(){return h("auth")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!i.authdisk,selected:i.authcode,content:i.codemsg,onClick:function(){function c(){return h("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:i.anchored?"check":"times",selected:i.anchored,disabled:!i.authdisk,content:i.anchored?"YES":"NO",onClick:function(){function c(){return h("toggle_anchor")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:i.time,disabled:!i.authfull,tooltip:"Set Timer",onClick:function(){function c(){return h("set_time")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.safety?"check":"times",selected:i.safety,disabled:!i.authfull,content:i.safety?"ON":"OFF",tooltip:i.safety?"Disable Safety":"Enable Safety",onClick:function(){function c(){return h("toggle_safety")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(i.timer,"bomb"),disabled:i.safety||!i.authfull,color:"red",content:i.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function c(){return h("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 h("deploy")}return c}()})})})})}return V}()},52416:function(w,r,n){"use strict";r.__esModule=!0,r.NumberInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(92986),f=n(72253),V=n(36036),k=n(98595),S=r.NumberInputModal=function(){function h(i,c){var m=(0,f.useBackend)(c),d=m.act,u=m.data,s=u.init_value,l=u.large_buttons,C=u.message,g=C===void 0?"":C,v=u.timeout,p=u.title,N=(0,f.useLocalState)(c,"input",s),y=N[0],B=N[1],I=function(){function A(x){x!==y&&B(x)}return A}(),L=function(){function A(x){x!==y&&B(x)}return A}(),T=140+Math.max(Math.ceil(g.length/3),g.length>0&&l?5:0);return(0,e.createComponentVNode)(2,k.Window,{title:p,width:270,height:T,children:[v&&(0,e.createComponentVNode)(2,a.Loader,{value:v}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:function(){function A(x){var E=window.event?x.which:x.keyCode;E===o.KEY_ENTER&&d("submit",{entry:y}),E===o.KEY_ESCAPE&&d("cancel")}return A}(),children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,b,{input:y,onClick:L,onChange:I})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:y})})]})})})]})}return h}(),b=function(i,c){var m=(0,f.useBackend)(c),d=m.act,u=m.data,s=u.min_value,l=u.max_value,C=u.init_value,g=u.round_value,v=i.input,p=i.onClick,N=i.onChange,y=Math.round(v!==s?Math.max(v/2,s):l/2),B=v===s&&s>0||v===1;return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:v===s,icon:"angle-double-left",onClick:function(){function I(){return p(s)}return I}(),tooltip:v===s?"Min":"Min ("+s+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!g,minValue:s,maxValue:l,onChange:function(){function I(L,T){return N(T)}return I}(),onEnter:function(){function I(L,T){return d("submit",{entry:T})}return I}(),value:v})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:v===l,icon:"angle-double-right",onClick:function(){function I(){return p(l)}return I}(),tooltip:v===l?"Max":"Max ("+l+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:B,icon:"divide",onClick:function(){function I(){return p(y)}return I}(),tooltip:B?"Split":"Split ("+y+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:v===C,icon:"redo",onClick:function(){function I(){return p(C)}return I}(),tooltip:C?"Reset ("+C+")":"Reset"})})]})}},1218:function(w,r,n){"use strict";r.__esModule=!0,r.OperatingComputer=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(98595),f=n(36036),V=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],k=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},b=["bad","average","average","good","average","average","bad"],h=r.OperatingComputer=function(){function d(u,s){var l=(0,t.useBackend)(s),C=l.act,g=l.data,v=g.hasOccupant,p=g.choice,N;return p?N=(0,e.createComponentVNode)(2,m):N=v?(0,e.createComponentVNode)(2,i):(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Window,{width:650,height:455,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!p,icon:"user",onClick:function(){function y(){return C("choiceOff")}return y}(),children:"Patient"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!!p,icon:"cog",onClick:function(){function y(){return C("choiceOn")}return y}(),children:"Options"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,children:N})})]})})})}return d}(),i=function(u,s){var l=(0,t.useBackend)(s),C=l.data,g=C.occupant;return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,title:"Patient",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:g.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Status",color:V[g.stat][0],children:V[g.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:g.maxHealth,value:g.health/g.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),k.map(function(v,p){return(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:v[0]+" Damage",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:"100",value:g[v[1]]/100,ranges:S,children:(0,a.round)(g[v[1]])},p)},p)}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:g.maxTemp,value:g.bodyTemperature/g.maxTemp,color:b[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,f.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,f.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,f.LabeledList.Item,{label:"Pulse",children:[g.pulse," BPM"]})],4)]})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Current Procedure",level:"2",children:g.inSurgery?(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Procedure",children:g.surgeryName}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Next Step",children:g.stepName})]}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No procedure ongoing."})})})]})},c=function(){return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No patient detected."]})})},m=function(u,s){var l=(0,t.useBackend)(s),C=l.act,g=l.data,v=g.verbose,p=g.health,N=g.healthAlarm,y=g.oxy,B=g.oxyAlarm,I=g.crit;return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Loudspeaker",children:(0,e.createComponentVNode)(2,f.Button,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"On":"Off",onClick:function(){function L(){return C(v?"verboseOff":"verboseOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer",children:(0,e.createComponentVNode)(2,f.Button,{selected:p,icon:p?"toggle-on":"toggle-off",content:p?"On":"Off",onClick:function(){function L(){return C(p?"healthOff":"healthOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:N,stepPixelSize:5,ml:"0",onChange:function(){function L(T,A){return C("health_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm",children:(0,e.createComponentVNode)(2,f.Button,{selected:y,icon:y?"toggle-on":"toggle-off",content:y?"On":"Off",onClick:function(){function L(){return C(y?"oxyOff":"oxyOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:B,stepPixelSize:5,ml:"0",onChange:function(){function L(T,A){return C("oxy_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Critical Alert",children:(0,e.createComponentVNode)(2,f.Button,{selected:I,icon:I?"toggle-on":"toggle-off",content:I?"On":"Off",onClick:function(){function L(){return C(I?"critOff":"critOn")}return L}()})})]})}},46892:function(w,r,n){"use strict";r.__esModule=!0,r.Orbit=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),V=n(35840);function k(l,C){var g=typeof Symbol!="undefined"&&l[Symbol.iterator]||l["@@iterator"];if(g)return(g=g.call(l)).next.bind(g);if(Array.isArray(l)||(g=S(l))||C&&l&&typeof l.length=="number"){g&&(l=g);var v=0;return function(){return v>=l.length?{done:!0}:{done:!1,value:l[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(l,C){if(l){if(typeof l=="string")return b(l,C);var g={}.toString.call(l).slice(8,-1);return g==="Object"&&l.constructor&&(g=l.constructor.name),g==="Map"||g==="Set"?Array.from(l):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?b(l,C):void 0}}function b(l,C){(C==null||C>l.length)&&(C=l.length);for(var g=0,v=Array(C);gg},m=function(C,g){var v=C.name,p=g.name;if(!v||!p)return 0;var N=v.match(h),y=p.match(h);if(N&&y&&v.replace(h,"")===p.replace(h,"")){var B=parseInt(N[1],10),I=parseInt(y[1],10);return B-I}return c(v,p)},d=function(C,g){var v=C.searchText,p=C.source,N=C.title,y=C.color,B=C.sorted,I=p.filter(i(v));return B&&I.sort(m),p.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:N+" - ("+p.length+")",children:I.map(function(L){return(0,e.createComponentVNode)(2,u,{thing:L,color:y},L.name)})})},u=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=C.color,y=C.thing;return(0,e.createComponentVNode)(2,o.Button,{color:N,tooltip:y.assigned_role?(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",mr:"0.5em",className:(0,V.classes)(["orbit_job16x16",y.assigned_role_sprite])})," ",y.assigned_role]}):"",tooltipPosition:"bottom",onClick:function(){function B(){return p("orbit",{ref:y.ref})}return B}(),children:[y.name,y.orbiters&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,ml:1,children:["(",y.orbiters," ",(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),")"]})]})},s=r.Orbit=function(){function l(C,g){for(var v=(0,t.useBackend)(g),p=v.act,N=v.data,y=N.alive,B=N.antagonists,I=N.highlights,L=N.response_teams,T=N.tourist,A=N.auto_observe,x=N.dead,E=N.ssd,M=N.ghosts,j=N.misc,O=N.npcs,R=(0,t.useLocalState)(g,"searchText",""),D=R[0],W=R[1],U={},H=k(B),K;!(K=H()).done;){var G=K.value;U[G.antag]===void 0&&(U[G.antag]=[]),U[G.antag].push(G)}var Y=Object.entries(U);Y.sort(function(Z,le){return c(Z[0],le[0])});var J=function(){function Z(le){for(var ne=0,me=[Y.map(function(te){var Q=te[0],oe=te[1];return oe}),T,I,y,M,E,x,O,j];ne0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:Y.map(function(Z){var le=Z[0],ne=Z[1];return(0,e.createComponentVNode)(2,o.Section,{title:le+" - ("+ne.length+")",level:2,children:ne.filter(i(D)).sort(m).map(function(me){return(0,e.createComponentVNode)(2,u,{color:"bad",thing:me},me.name)})},le)})}),I.length>0&&(0,e.createComponentVNode)(2,d,{title:"Highlights",source:I,searchText:D,color:"teal"}),(0,e.createComponentVNode)(2,d,{title:"Response Teams",source:L,searchText:D,color:"purple"}),(0,e.createComponentVNode)(2,d,{title:"Tourists",source:T,searchText:D,color:"violet"}),(0,e.createComponentVNode)(2,d,{title:"Alive",source:y,searchText:D,color:"good"}),(0,e.createComponentVNode)(2,d,{title:"Ghosts",source:M,searchText:D,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"SSD",source:E,searchText:D,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"Dead",source:x,searchText:D,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"NPCs",source:O,searchText:D,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"Misc",source:j,searchText:D,sorted:!1})]})})}return l}()},15421:function(w,r,n){"use strict";r.__esModule=!0,r.OreRedemption=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),V=n(9394);function k(l){if(l==null)throw new TypeError("Cannot destructure "+l)}var S=(0,V.createLogger)("OreRedemption"),b=function(C){return C.toLocaleString("en-US")+" pts"},h=r.OreRedemption=function(){function l(C,g){return(0,e.createComponentVNode)(2,f.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,i,{height:"100%"})}),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m)]})})})}return l}(),i=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,y=N.id,B=N.points,I=N.disk,L=Object.assign({},(k(C),C));return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({},L,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"average",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"This machine only accepts ore. Gibtonite is not accepted."]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:B>0?"good":"grey",bold:B>0&&"good",children:b(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 p("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 p("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),p=v.act,N=v.data,y=N.sheets,B=Object.assign({},(k(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,d,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),y.map(function(I){return(0,e.createComponentVNode)(2,u,{ore:I},I.id)})]})))})},m=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,y=N.alloys,B=Object.assign({},(k(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,d,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),y.map(function(I){return(0,e.createComponentVNode)(2,s,{ore:I},I.id)})]})))})},d=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(p){return(0,e.createComponentVNode)(2,o.Stack.Item,{basis:p[1],textAlign:"center",color:"label",bold:!0,children:p[0]},p)})]})})},u=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=C.ore;if(!(N.value&&N.amount<=0&&!(["metal","glass"].indexOf(N.id)>-1)))return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"45%",align:"middle",children:(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",N.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:N.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:N.amount>=1?"good":"gray",bold:N.amount>=1,align:"center",children:N.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:N.value}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(N.amount,50),stepPixelSize:6,onChange:function(){function y(B,I){return p(N.value?"sheet":"alloy",{id:N.id,amount:I})}return y}()})})]})})},s=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=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",N.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:N.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:N.amount>=1?"good":"gray",align:"center",children:N.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:N.amount>=1?"good":"gray",bold:N.amount>=1,align:"center",children:N.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(N.amount,50),stepPixelSize:6,onChange:function(){function y(B,I){return p(N.value?"sheet":"alloy",{id:N.id,amount:I})}return y}()})})]})})}},52754:function(w,r,n){"use strict";r.__esModule=!0,r.PAI=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(71253),V=n(70752),k=function(h){var i;try{i=V("./"+h+".js")}catch(m){if(m.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",h);throw m}var c=i[h];return c||(0,f.routingError)("missingExport",h)},S=r.PAI=function(){function b(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.app_template,s=d.app_icon,l=d.app_title,C=k(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}),l,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 m("Back")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Home",icon:"arrow-up",onClick:function(){function g(){return m("MASTER_back")}return g}()})],4)]}),children:(0,e.createComponentVNode)(2,C)})})})})})}return b}()},85175:function(w,r,n){"use strict";r.__esModule=!0,r.PDA=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(71253),V=n(59395),k=function(c){var m;try{m=V("./"+c+".js")}catch(u){if(u.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",c);throw u}var d=m[c];return d||(0,f.routingError)("missingExport",c)},S=r.PDA=function(){function i(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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=k(l.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,b)}),(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:l.icon,mr:1}),l.name]}),children:(0,e.createComponentVNode)(2,g)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,h)})]})})})}return i}(),b=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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 p(){return u("Authenticate")}return p}(),content:l?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 p(){return u("Eject")}return p}(),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})]})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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:[!!l.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:l.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:l.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:l.is_home?"disabled":"white",icon:"home",onClick:function(){function C(){u("Home")}return C}()})})]})})}},68654:function(w,r,n){"use strict";r.__esModule=!0,r.Pacman=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(49968),V=r.Pacman=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.active,d=c.anchored,u=c.broken,s=c.emagged,l=c.fuel_type,C=c.fuel_usage,g=c.fuel_stored,v=c.fuel_cap,p=c.is_ai,N=c.tmp_current,y=c.tmp_max,B=c.tmp_overheat,I=c.output_max,L=c.power_gen,T=c.output_set,A=c.has_fuel,x=g/v,E=N/y,M=T*L,j=Math.round(g/C),O=Math.round(j/60),R=j>120?O+" minutes":j+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:225,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(u||!d)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!u&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!u&&!d&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!u&&!!d&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!A,selected:m,onClick:function(){function D(){return i("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(W,U){return i("change_power",{change_power:U})}return D}()}),"(",(0,f.formatPower)(M),")"]})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:E,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[N," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[B>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),B>20&&B<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),B>1&&B<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),B===0&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Optimal"})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fuel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:m||p||!A,onClick:function(){function D(){return i("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:l}),(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?R:"N/A"),!A&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return k}()},1701:function(w,r,n){"use strict";r.__esModule=!0,r.PanDEMIC=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PanDEMIC=function(){function d(u,s){var l=(0,a.useBackend)(s),C=l.data,g=C.beakerLoaded,v=C.beakerContainsBlood,p=C.beakerContainsVirus,N=C.resistances,y=N===void 0?[]:N,B;return g?v?v&&!p&&(B=(0,e.createFragment)([(0,e.createTextVNode)("No disease detected in provided blood sample.")],4)):B=(0,e.createFragment)([(0,e.createTextVNode)("No blood sample found in the loaded container.")],4):B=(0,e.createFragment)([(0,e.createTextVNode)("No container loaded.")],4),(0,e.createComponentVNode)(2,o.Window,{width:575,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[B&&!p?(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,V,{fill:!0,vertical:!0}),children:(0,e.createComponentVNode)(2,t.NoticeBox,{children:B})}):(0,e.createComponentVNode)(2,b),(y==null?void 0:y.length)>0&&(0,e.createComponentVNode)(2,m,{align:"bottom"})]})})})}return d}(),V=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.beakerLoaded;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!v,onClick:function(){function p(){return C("eject_beaker")}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",confirmIcon:"eraser",content:"Destroy",confirmContent:"Destroy",disabled:!v,onClick:function(){function p(){return C("destroy_eject_beaker")}return p}()})],4)},k=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.beakerContainsVirus,p=u.strain,N=p.commonName,y=p.description,B=p.diseaseAgent,I=p.bloodDNA,L=p.bloodType,T=p.possibleTreatments,A=p.transmissionRoute,x=p.isAdvanced,E=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",children:I?(0,e.createVNode)(1,"span",null,I,0,{style:{"font-family":"'Courier New', monospace"}}):"Undetectable"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood Type",children:(0,e.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:L!=null?L:"Undetectable"}})})],4);if(!v)return(0,e.createComponentVNode)(2,t.LabeledList,{children:E});var M;return x&&(N!=null&&N!=="Unknown"?M=(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print Release Forms",onClick:function(){function j(){return C("print_release_forms",{strain_index:u.strainIndex})}return j}(),style:{"margin-left":"auto"}}):M=(0,e.createComponentVNode)(2,t.Button,{icon:"pen",content:"Name Disease",onClick:function(){function j(){return C("name_strain",{strain_index:u.strainIndex})}return j}(),style:{"margin-left":"auto"}})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Common Name",className:"common-name-label",children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,align:"center",children:[N!=null?N:"Unknown",M]})}),y&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:y}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Disease Agent",children:B}),E,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Spread Vector",children:A!=null?A:"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Possible Cures",children:T!=null?T:"None"})]})},S=function(u,s){var l,C=(0,a.useBackend)(s),g=C.act,v=C.data,p=!!v.synthesisCooldown,N=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:p?"spinner":"clone",iconSpin:p,content:"Clone",disabled:p,onClick:function(){function y(){return g("clone_strain",{strain_index:u.strainIndex})}return y}()}),u.sectionButtons],0);return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:(l=u.sectionTitle)!=null?l:"Strain Information",buttons:N,children:(0,e.createComponentVNode)(2,k,{strain:u.strain,strainIndex:u.strainIndex})})})},b=function(u,s){var l,C=(0,a.useBackend)(s),g=C.act,v=C.data,p=v.selectedStrainIndex,N=v.strains,y=N[p-1];if(N.length===0)return(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,V),children:(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No disease detected in provided blood sample."})});if(N.length===1){var B;return(0,e.createFragment)([(0,e.createComponentVNode)(2,S,{strain:N[0],strainIndex:1,sectionButtons:(0,e.createComponentVNode)(2,V)}),((B=N[0].symptoms)==null?void 0:B.length)>0&&(0,e.createComponentVNode)(2,i,{strain:N[0]})],0)}var I=(0,e.createComponentVNode)(2,V);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Culture Information",fill:!0,buttons:I,children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",style:{height:"100%"},children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:N.map(function(L,T){var A;return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"virus",selected:p-1===T,onClick:function(){function x(){return g("switch_strain",{strain_index:T+1})}return x}(),children:(A=L.commonName)!=null?A:"Unknown"},T)})})}),(0,e.createComponentVNode)(2,S,{strain:y,strainIndex:p}),((l=y.symptoms)==null?void 0:l.length)>0&&(0,e.createComponentVNode)(2,i,{className:"remove-section-bottom-padding",strain:y})]})})})},h=function(u){return u.reduce(function(s,l){return s+l},0)},i=function(u){var s=u.strain.symptoms;return(0,e.createComponentVNode)(2,t.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Infection Symptoms",fill:!0,className:u.className,children:(0,e.createComponentVNode)(2,t.Table,{className:"symptoms-table",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stealth"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Resistance"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stage Speed"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Transmissibility"})]}),s.map(function(l,C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.stealth}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.resistance}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.stageSpeed}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.transmissibility})]},C)}),(0,e.createComponentVNode)(2,t.Table.Row,{className:"table-spacer"}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"font-weight":"bold"},children:"Total"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(l){return l.stealth}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(l){return l.resistance}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(l){return l.stageSpeed}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(l){return l.transmissibility}))})]})]})})})},c=["flask","vial","eye-dropper"],m=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.synthesisCooldown,p=g.beakerContainsVirus,N=g.resistances;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Antibodies",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,wrap:!0,children:N.map(function(y,B){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:c[B%c.length],disabled:!!v,onClick:function(){function I(){return C("clone_vaccine",{resistance_index:B+1})}return I}(),mr:"0.5em"}),y]},B)})})})})}},67921:function(w,r,n){"use strict";r.__esModule=!0,r.ParticleAccelerator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ParticleAccelerator=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.assembled,m=i.power,d=i.strength,u=i.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 h("scan")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",mb:"5px",children:(0,e.createComponentVNode)(2,t.Box,{color:c?"good":"bad",children:c?"Operational":"Error: Verify Configuration"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,disabled:!c,onClick:function(){function s(){return h("power")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Strength",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:!c||d===0,onClick:function(){function s(){return h("remove_strength")}return s}(),mr:"4px"}),d,(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:!c||d===u,onClick:function(){function s(){return h("add_strength")}return s}(),ml:"4px"})]})]})})})})}return V}()},71432:function(w,r,n){"use strict";r.__esModule=!0,r.PdaPainter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PdaPainter=function(){function b(h,i){var c=(0,a.useBackend)(i),m=c.data,d=m.has_pda;return(0,e.createComponentVNode)(2,o.Window,{width:510,height:505,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:d?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,V)})})}return b}(),V=function(h,i){var c=(0,a.useBackend)(i),m=c.act;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"download",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:"160px",textAlign:"center",content:"Insert PDA",onClick:function(){function d(){return m("insert_pda")}return d}()})]})})})},k=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.pda_colors;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,S)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Table,{className:"PdaPainter__list",children:Object.keys(u).map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{onClick:function(){function l(){return m("choose_pda",{selectedPda:s})}return l}(),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","image-rendering":"pixelated"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s})]},s)})})})})]})},S=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.current_appearance,s=d.preview_appearance;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Current PDA",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+u,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",content:"Eject",color:"green",onClick:function(){function l(){return m("eject_pda")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"paint-roller",content:"Paint PDA",onClick:function(){function l(){return m("paint_pda")}return l}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Preview",children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})]})}},33388:function(w,r,n){"use strict";r.__esModule=!0,r.PersonalCrafting=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PersonalCrafting=function(){function S(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.busy,u=m.category,s=m.display_craftable_only,l=m.display_compact,C=m.prev_cat,g=m.next_cat,v=m.subcategory,p=m.prev_subcat,N=m.next_subcat;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!d&&(0,e.createComponentVNode)(2,t.Dimmer,{fontSize:"32px",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog",spin:1})," Crafting..."]}),(0,e.createComponentVNode)(2,t.Section,{title: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 y(){return c("toggle_recipes")}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:l?"check-square-o":"square-o",selected:l,onClick:function(){function y(){return c("toggle_compact")}return y}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:C,icon:"arrow-left",onClick:function(){function y(){return c("backwardCat")}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:g,icon:"arrow-right",onClick:function(){function y(){return c("forwardCat")}return y}()})]}),v&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:p,icon:"arrow-left",onClick:function(){function y(){return c("backwardSubCat")}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:N,icon:"arrow-right",onClick:function(){function y(){return c("forwardSubCat")}return y}()})]}),l?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,k)]})]})})}return S}(),V=function(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.display_craftable_only,u=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[u.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return c("make",{make:l.ref})}return C}()}),l.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:l.req_text,content:"Requirements",color:"transparent"}),l.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.tool_text,content:"Tools",color:"transparent"})]},l.name)}),!d&&s.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),l.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:l.req_text,content:"Requirements",color:"transparent"}),l.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.tool_text,content:"Tools",color:"transparent"})]},l.name)})]})})},k=function(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.display_craftable_only,u=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[u.map(function(l){return(0,e.createComponentVNode)(2,t.Section,{title:l.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return c("make",{make:l.ref})}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[l.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:l.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:l.req_text}),l.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:l.tool_text})]})},l.name)}),!d&&s.map(function(l){return(0,e.createComponentVNode)(2,t.Section,{title:l.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[l.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:l.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:l.req_text}),l.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:l.tool_text})]})},l.name)})]})}},56150:function(w,r,n){"use strict";r.__esModule=!0,r.Photocopier=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Photocopier=function(){function S(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:440,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Photocopier",color:"silver",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Copies:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"2em",bold:!0,children:m.copynumber}),(0,e.createComponentVNode)(2,t.Stack.Item,{float:"right",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"minus",textAlign:"center",content:"",onClick:function(){function d(){return c("minus")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"plus",textAlign:"center",content:"",onClick:function(){function d(){return c("add")}return d}()})]})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Toner:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,children:m.toner})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Document:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.copyitem&&!m.mob,content:m.copyitem?m.copyitem:m.mob?m.mob+"'s ass!":"document",onClick:function(){function d(){return c("removedocument")}return d}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Folder:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.folder,content:m.folder?m.folder:"folder",onClick:function(){function d(){return c("removefolder")}return d}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,V)}),(0,e.createComponentVNode)(2,k)]})})})}return S}(),V=function(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.issilicon;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"copy",float:"center",textAlign:"center",content:"Copy",onClick:function(){function 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}()}),!!d&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file",color:"green",float:"center",textAlign:"center",content:"Print Text",onClick:function(){function 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)},k=function(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Scanned Files",children:m.files.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:m.toner<=0,onClick:function(){function u(){return c("filecopy",{uid:d.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:d.uid})}return u}()})]})},d.name)})})}},84676:function(w,r,n){"use strict";r.__esModule=!0,r.PoolController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=["tempKey"];function V(h,i){if(h==null)return{};var c={};for(var m in h)if({}.hasOwnProperty.call(h,m)){if(i.includes(m))continue;c[m]=h[m]}return c}var k={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(i,c){var m=i.tempKey,d=V(i,f),u=k[m];if(!u)return null;var s=(0,a.useBackend)(c),l=s.data,C=s.act,g=l.currentTemp,v=u.label,p=u.icon,N=m===g,y=function(){C("setTemp",{temp:m})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({color:"transparent",selected:N,onClick:y},d,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:p}),v]})))},b=r.PoolController=function(){function h(i,c){for(var m=(0,a.useBackend)(c),d=m.data,u=d.emagged,s=d.currentTemp,l=k[s]||k.normal,C=l.label,g=l.color,v=[],p=0,N=Object.entries(k);p50?"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=f.pureComponentHooks;var s=function(C){var g,v,p=C.status;switch(p){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 N=(v?"On":"Off")+(" ["+(g?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,S.ColorBox,{color:v?"good":"bad",content:g?void 0:"M",title:N})};s.defaultHooks=f.pureComponentHooks},50992:function(w,r,n){"use strict";r.__esModule=!0,r.PrisonerImplantManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),f=n(3939),V=n(321),k=n(5485),S=n(98595),b=r.PrisonerImplantManager=function(){function h(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.loginState,l=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,k.LoginScreen)})});var p=[1,5,10];return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.name?"eject":"id-card",selected:l.name,content:l.name?l.name:"-----",tooltip:l.name?"Eject ID":"Insert ID",onClick:function(){function N(){return d("id_card")}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[l.points!==null?l.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:l.points===null,content:"Reset",onClick:function(){function N(){return d("reset_points")}return N}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[l.goal!==null?l.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:l.goal===null,content:"Edit",onClick:function(){function N(){return(0,f.modalOpen)(c,"set_points")}return N}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:l.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(N){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",N.subject]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:N.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:N.health}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){function y(){return(0,f.modalOpen)(c,"warn",{uid:N.uid})}return y}()})})]})]},N.subject)]}),(0,e.createVNode)(1,"br")],4)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Chemical Implants",children:C.map(function(N){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",N.name]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Reagents",children:N.volume})}),p.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:N.volumec;return(0,e.createComponentVNode)(2,t.ImageButton,{asset:!0,imageAsset:"prize_counter64x64",image:g.imageID,title:g.name,content:g.desc,children:(0,e.createComponentVNode)(2,t.ImageButton.Item,{bold:!0,width:"64px",fontSize:1.5,textColor:v&&"gray",content:g.cost,icon:"ticket",iconSize:1.6,iconColor:v?"bad":"good",tooltip:v&&"Not enough tickets",disabled:v,onClick:function(){function p(){return h("purchase",{purchase:g.itemID})}return p}()})},g.name)})})})})})})}return V}()},94813:function(w,r,n){"use strict";r.__esModule=!0,r.RCD=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),V=n(49148),k=r.RCD=function(){function d(u,s){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:670,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c)]})})]})}return d}(),S=function(u,s){var l=(0,a.useBackend)(s),C=l.data,g=C.matter,v=C.max_matter,p=v*.7,N=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:[p,1/0],average:[N,p],bad:[-1/0,N]},value:g,maxValue:v,children:(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:g+" / "+v+" units"})})})})},b=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,h,{mode_type:"Floors and Walls"}),(0,e.createComponentVNode)(2,h,{mode_type:"Airlocks"}),(0,e.createComponentVNode)(2,h,{mode_type:"Windows"}),(0,e.createComponentVNode)(2,h,{mode_type:"Deconstruction"})]})})})},h=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=u.mode_type,p=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:p===v?1:0,onClick:function(){function N(){return C("mode",{mode:v})}return N}()})})},i=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.door_name,p=g.electrochromic,N=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 y(){return(0,f.modalOpen)(s,"renameAirlock")}return y}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:N===1&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:p?"toggle-on":"toggle-off",content:"Electrochromic",selected:p,onClick:function(){function y(){return C("electrochromic")}return y}()})})]})})})},c=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.tab,p=g.locked,N=g.one_access,y=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,m,{check_number:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m,{check_number:1})})]})}):v===2&&p?(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,V.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:N,content:"One",onClick:function(){function I(){return C("set_one_access",{access:"one"})}return I}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!N,width:4,content:"All",onClick:function(){function I(){return C("set_one_access",{access:"all"})}return I}()})],4),accesses:B,selectedList:y,accessMod:function(){function I(L){return C("set",{access:L})}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(L){return C("grant_region",{region:L})}return I}(),denyDep:function(){function I(L){return C("deny_region",{region:L})}return I}()})})],4)},m=function(u,s){for(var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.door_types_ui_list,p=g.door_type,N=u.check_number,y=[],B=0;B0?"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}()})]})}),!!p&&(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}()})})]})})},k=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.department,p=[],N;switch(u.purpose){case"ASSISTANCE":p=g.assist_dept,N="Request assistance from another department";break;case"SUPPLIES":p=g.supply_dept,N="Request supplies from another department";break;case"INFO":p=g.info_dept,N="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function y(){return C("setScreen",{setScreen:0})}return y}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:p.filter(function(y){return y!==v}).map(function(y){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:y,textAlign:"right",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function B(){return C("writeInput",{write:y,priority:"1"})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function B(){return C("writeInput",{write:y,priority:"2"})}return B}()})]},y)})})})})},S=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v;switch(u.type){case"SUCCESS":v="Message sent successfully";break;case"FAIL":v="Unable to contact messaging server";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 p(){return C("setScreen",{setScreen:0})}return p}()})})},b=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v,p;switch(u.type){case"MESSAGES":v=g.message_log,p="Message Log";break;case"SHIPPING":v=g.shipping_log,p="Shipping label print log";break}return v.reverse(),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:p,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return C("setScreen",{setScreen:0})}return N}()}),children:v.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:[N.map(function(y,B){return(0,e.createVNode)(1,"div",null,y,0,null,B)}),(0,e.createVNode)(1,"hr")]},N)})})})},h=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.recipient,p=g.message,N=g.msgVerified,y=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:p}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",color:"green",children:N}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:y})]})})}),(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)},i=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.message,p=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 N(){return C("setScreen",{setScreen:0})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Edit Message",icon:"edit",onClick:function(){function N(){return C("writeAnnouncement")}return N}()})],4),children:v})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[p?(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:!(p&&v),onClick:function(){function N(){return C("sendAnnouncement")}return N}()})]})})],4)},c=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.shipDest,p=g.msgVerified,N=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 y(){return C("setScreen",{setScreen:0})}return y}()}),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:p})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Print Label",icon:"print",disabled:!(v&&p),onClick:function(){function y(){return C("printLabel")}return y}()})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Destinations",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:N.map(function(y){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:y,textAlign:"right",className:"candystripe",children:(0,e.createComponentVNode)(2,t.Button,{content:v===y?"Selected":"Select",selected:v===y,onClick:function(){function B(){return C("shipSelect",{shipSelect:y})}return B}()})},y)})})})})],4)},m=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.secondaryGoalAuth,p=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 N(){return C("setScreen",{setScreen:0})}return N}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[p?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&&p),onClick:function(){function N(){return C("requestSecondaryGoal")}return N}()})]})})],4)}},16475:function(w,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),f=n(13472),V=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},k=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 b(h,i){var c=(0,a.useBackend)(i),m=c.data,d=m.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,f.RndNavbar),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.MAIN,render:function(){function u(){return(0,e.createComponentVNode)(2,f.MainMenu)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.LEVELS,render:function(){function u(){return(0,e.createComponentVNode)(2,f.CurrentLevels)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.DISK,render:function(){function u(){return(0,e.createComponentVNode)(2,f.DataDiskMenu)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.DESTROY,render:function(){function u(){return(0,e.createComponentVNode)(2,f.DeconstructionMenu)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:function(){function u(s){return s===V.LATHE||s===V.IMPRINTER}return u}(),render:function(){function u(){return(0,e.createComponentVNode)(2,f.LatheMenu)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.SETTINGS,render:function(){function u(){return(0,e.createComponentVNode)(2,f.SettingsMenu)}return u}()}),d?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:d})})}):null]})})})}return b}()},93098:function(w,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.CurrentLevels=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=b.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),h.map(function(i,c){var m=i.name,d=i.level,u=i.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[c>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:m}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",d]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",u]})]},m)})]})}return f}()},19192:function(w,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),f=n(16475),V="design",k="tech",S=function(s,l){var C=(0,a.useBackend)(l),g=C.data,v=C.act,p=g.disk_data;return p?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:p.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:p.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:p.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function N(){return v("updt_tech")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function N(){return v("clear_tech")}return N}()}),(0,e.createComponentVNode)(2,i)]})]}):null},b=function(s,l){var C=(0,a.useBackend)(l),g=C.data,v=C.act,p=g.disk_data;if(!p)return null;var N=p.name,y=p.lathe_types,B=p.materials,I=y.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:N}),I?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:I}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),B.map(function(L){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,L.name,0,{style:{"text-transform":"capitalize"}})," x ",L.amount]},L.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function L(){return v("updt_design")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function L(){return v("clear_design")}return L}()}),(0,e.createComponentVNode)(2,i)]})]})},h=function(s,l){var C=(0,a.useBackend)(l),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:f.SUBMENU.DISK_COPY,icon:"arrow-down",content:v===k?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,i)]})]})},i=function(s,l){var C=(0,a.useBackend)(l),g=C.data,v=C.act,p=g.disk_type;return p?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function N(){var y=p===k?"eject_tech":"eject_design";v(y)}return N}()}):null},c=function(s,l){var C=(0,a.useBackend)(l),g=C.data,v=g.disk_data,p=g.disk_type,N=function(){if(!v)return(0,e.createComponentVNode)(2,h);switch(p){case V:return(0,e.createComponentVNode)(2,b);case k:return(0,e.createComponentVNode)(2,S);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:N()})},m=function(s,l){var C=(0,a.useBackend)(l),g=C.data,v=C.act,p=g.disk_type,N=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:N.sort(function(y,B){return y.name.localeCompare(B.name)}).map(function(y){var B=y.name,I=y.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:B,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function L(){p===k?v("copy_tech",{id:I}):v("copy_design",{id:I})}return L}()})},I)})})})})},d=r.DataDiskMenu=function(){function u(s,l){var C=(0,a.useBackend)(l),g=C.data,v=g.disk_type;return v?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.MAIN,render:function(){function p(){return(0,e.createComponentVNode)(2,c)}return p}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.DISK_COPY,render:function(){function p(){return(0,e.createComponentVNode)(2,m)}return p}()})],4):null}return u}()},20887:function(w,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.DeconstructionMenu=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=S.act,i=b.loaded_item,c=b.linked_destroy;return c?i?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",i.name]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Origin Tech:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:i.origin_tech.map(function(m){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+m.name,children:[m.object_level," ",m.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),m.current_level,(0,e.createTextVNode)(")")],0):null]},m.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function m(){h("deconstruct")}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function m(){h("eject_item")}return m}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return f}()},10666:function(w,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),f=r.LatheCategory=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.data,i=b.act,c=h.category,m=h.matching_designs,d=h.menu,u=d===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:m.map(function(l){var C=l.id,g=l.name,v=l.can_build,p=l.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 N(){return i(s,{id:C,amount:1})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function N(){return i(s,{id:C,amount:5})}return N}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function N(){return i(s,{id:C,amount:10})}return N}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.map(function(N){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",N.is_red?"color-red":null,[N.amount,(0,e.createTextVNode)(" "),N.name],0)],0)})})]},C)})})]})}return V}()},52285:function(w,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheChemicalStorage=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=S.act,i=b.loaded_chemicals,c=b.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function m(){var d=c?"disposeallP":"disposeallI";h(d)}return m}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:i.map(function(m){var d=m.volume,u=m.name,s=m.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+d+" of "+u,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function l(){var C=c?"disposeP":"disposeI";h(C,{id:s})}return l}()})},s)})})]})}return f}()},71964:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),f=r.LatheMainMenu=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.data,i=b.act,c=h.menu,m=h.categories,d=c===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:d+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:m.map(function(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(){i("setCategory",{category:u})}return s}()})},u)})})]})}return V}()},17906:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterialStorage=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=S.act,i=b.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:i.map(function(c){var m=c.id,d=c.amount,u=c.name,s=function(){function v(p){var N=b.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";h(N,{id:m,amount:p})}return v}(),l=Math.floor(d/2e3),C=d<1,g=l===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:["* ",d," of ",u]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",l," sheet",g,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function 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}()}),d>=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})]},m)})})})}return f}()},83706:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterials=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=b.total_materials,i=b.max_materials,c=b.max_chemicals,m=b.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:h}),i?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+i}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:m}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return f}()},76749:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(89005),a=n(72253),t=n(12059),o=n(13472),f=n(36036),V=n(16475),k=r.LatheMenu=function(){function S(b,h){var i=(0,a.useBackend)(h),c=i.data,m=c.menu,d=c.linked_lathe,u=c.linked_imprinter;return m===4&&!d?(0,e.createComponentVNode)(2,f.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):m===5&&!u?(0,e.createComponentVNode)(2,f.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.MAIN,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_CATEGORY,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_MAT_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return s}()})]})}return S}()},74698:function(w,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheSearch=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function h(i,c){return b("search",{to_search:c})}return h}()})})}return f}()},17180:function(w,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),f=n(16475),V=r.MainMenu=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.data,c=i.disk_type,m=i.linked_destroy,d=i.linked_lathe,u=i.linked_imprinter,s=i.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!c,menu:f.MENU.DISK,submenu:f.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,menu:f.MENU.DESTROY,submenu:f.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!d,menu:f.MENU.LATHE,submenu:f.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!u,menu:f.MENU.IMPRINTER,submenu:f.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:f.MENU.SETTINGS,submenu:f.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:s.map(function(l){var C=l.name,g=l.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:C,children:g},C)})})]})}return k}()},63459:function(w,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.RndNavButton=function(){function f(V,k){var S=V.icon,b=V.children,h=V.disabled,i=V.content,c=(0,a.useBackend)(k),m=c.data,d=c.act,u=m.menu,s=m.submenu,l=u,C=s;return V.menu!==null&&V.menu!==void 0&&(l=V.menu),V.submenu!==null&&V.submenu!==void 0&&(C=V.submenu),(0,e.createComponentVNode)(2,t.Button,{content:i,icon:S,disabled:h,onClick:function(){function g(){d("nav",{menu:l,submenu:C})}return g}(),children:b})}return f}()},94942:function(w,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(89005),a=n(13472),t=n(36036),o=n(16475),f=r.RndNavbar=function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function k(S){return S!==o.MENU.MAIN}return k}(),render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function k(S){return S!==o.SUBMENU.MAIN}return k}(),render:function(){function k(){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 k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function k(S){return S===o.MENU.LATHE||S===o.MENU.IMPRINTER}return k}(),submenu:o.SUBMENU.MAIN,render:function(){function k(){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 k}()})]})}return V}()},12059:function(w,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(72253),a=r.RndRoute=function(){function t(o,f){var V=o.render,k=(0,e.useBackend)(f),S=k.data,b=S.menu,h=S.submenu,i=function(){function m(d,u){return d==null?!0:typeof d=="function"?d(u):d===u}return m}(),c=i(o.menu,b)&&i(o.submenu,h);return c?V():null}return t}()},52580:function(w,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),f=n(16475),V=r.SettingsMenu=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.data,c=h.act,m=i.sync,d=i.admin,u=i.linked_destroy,s=i.linked_lathe,l=i.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.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:!m,onClick:function(){function g(){c("sync")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:m,onClick:function(){function g(){c("togglesync")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!m,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function g(){c("togglesync")}return g}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,content:"Device Linkage Menu",icon:"link",menu:f.MENU.SETTINGS,submenu:f.SUBMENU.SETTINGS_DEVICES}),d===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function g(){return c("maxresearch")}return g}()}):null]})})}return C}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.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"}),l?(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 k}()},13472:function(w,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(93098);r.CurrentLevels=e.CurrentLevels;var a=n(19192);r.DataDiskMenu=a.DataDiskMenu;var t=n(20887);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(10666);r.LatheCategory=o.LatheCategory;var f=n(52285);r.LatheChemicalStorage=f.LatheChemicalStorage;var V=n(71964);r.LatheMainMenu=V.LatheMainMenu;var k=n(83706);r.LatheMaterials=k.LatheMaterials;var S=n(17906);r.LatheMaterialStorage=S.LatheMaterialStorage;var b=n(76749);r.LatheMenu=b.LatheMenu;var h=n(74698);r.LatheSearch=h.LatheSearch;var i=n(17180);r.MainMenu=i.MainMenu;var c=n(94942);r.RndNavbar=c.RndNavbar;var m=n(63459);r.RndNavButton=m.RndNavButton;var d=n(12059);r.RndRoute=d.RndRoute;var u=n(52580);r.SettingsMenu=u.SettingsMenu},26109:function(w,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(25328),V=function(b,h){var i=b/h;return i<=.2?"good":i<=.5?"average":"bad"},k=r.RobotSelfDiagnosis=function(){function S(b,h){var i=(0,a.useBackend)(h),c=i.data,m=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:m.map(function(d,u){return(0,e.createComponentVNode)(2,t.Section,{title:(0,f.capitalize)(d.name),children:d.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:d.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:V(d.brute_damage,d.max_damage),children:d.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:V(d.electronic_damage,d.max_damage),children:d.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:d.powered?"good":"bad",children:d.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:d.status?"good":"bad",children:d.status?"Yes":"No"})]})})]})},u)})})})}return S}()},97997:function(w,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.RoboticsControlConsole=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.can_hack,d=c.safety,u=c.show_lock_all,s=c.cyborgs,l=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:d?"lock":"unlock",content:d?"Disable Safety":"Enable Safety",selected:d,onClick:function(){function C(){return i("arm",{})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lock",disabled:d,content:"Lock ALL Cyborgs",color:"bad",onClick:function(){function C(){return i("masslock",{})}return C}()})]}),(0,e.createComponentVNode)(2,V,{cyborgs:l,can_hack:m})]})})}return k}(),V=function(S,b){var h=S.cyborgs,i=S.can_hack,c=(0,a.useBackend)(b),m=c.act,d=c.data,u="Detonate";return d.detonate_cooldown>0&&(u+=" ("+d.detonate_cooldown+"s)"),h.length?h.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 l(){return m("hackbot",{uid:s.uid})}return l}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:s.locked_down?"unlock":"lock",color:s.locked_down?"good":"default",content:s.locked_down?"Release":"Lockdown",disabled:!d.auth,onClick:function(){function l(){return m("stopbot",{uid:s.uid})}return l}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:u,disabled:!d.auth||d.detonate_cooldown>0,color:"bad",onClick:function(){function l(){return m("killbot",{uid:s.uid})}return l}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:s.status?"bad":s.locked_down?"average":"good",children:s.status?"Not Responding":s.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:s.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.health>50?"good":"bad",value:s.health/100})}),typeof s.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.charge>30?"good":"bad",value:s.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:s.cell_capacity<3e4?"average":"good",children:s.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!s.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:s.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:s.synchronization?"default":"average",children:s.synchronization||"None"})})]})},s.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},54431:function(w,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Safe=function(){function b(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.dial,s=d.open,l=d.locked,C=d.contents;return(0,e.createComponentVNode)(2,o.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,t.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),s?(0,e.createComponentVNode)(2,k):(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 b}(),V=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.dial,s=d.open,l=d.locked,C=function(v,p){return(0,e.createComponentVNode)(2,t.Button,{disabled:s||p&&!l,icon:"arrow-"+(p?"right":"left"),content:(p?"Right":"Left")+" "+v,iconRight:p,onClick:function(){function N(){return m(p?"turnleft":"turnright",{num:v})}return N}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:l,icon:s?"lock":"lock-open",content:s?"Close":"Open",mb:"0.5rem",onClick:function(){function g(){return m("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})]})},k=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.contents;return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--contents",overflow:"auto",children:u.map(function(s,l){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mb:"0.5rem",onClick:function(){function C(){return m("retrieve",{index:l+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(h,i){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."})]})}},29740:function(w,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SatelliteControl=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.satellites,m=i.notice,d=i.meteor_shield,u=i.meteor_shield_coverage,s=i.meteor_shield_coverage_max,l=i.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[d&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:l>=100?"good":"average",value:u,maxValue:s,children:[l," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:i.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 h("toggle",{id:C.id})}return g}()})]},C.id)})]})})]})})}return V}()},44162:function(w,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),V=n(36352),k=n(92986),S=r.SecureStorage=function(){function c(m,d){return(0,e.createComponentVNode)(2,f.Window,{theme:"securestorage",height:500,width:280,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,h)})})})})}return c}(),b=function(m,d){var u=(0,t.useBackend)(d),s=u.act,l=window.event?m.which:m.keyCode;if(l===k.KEY_ENTER){m.preventDefault(),s("keypad",{digit:"E"});return}if(l===k.KEY_ESCAPE){m.preventDefault(),s("keypad",{digit:"C"});return}if(l===k.KEY_BACKSPACE){m.preventDefault(),s("backspace");return}if(l>=k.KEY_0&&l<=k.KEY_9){m.preventDefault(),s("keypad",{digit:l-k.KEY_0});return}if(l>=k.KEY_NUMPAD_0&&l<=k.KEY_NUMPAD_9){m.preventDefault(),s("keypad",{digit:l-k.KEY_NUMPAD_0});return}},h=function(m,d){var u=(0,t.useBackend)(d),s=u.act,l=u.data,C=l.locked,g=l.no_passcode,v=l.emagged,p=l.user_entered_code,N=[["1","2","3"],["4","5","6"],["7","8","9"],["C","0","E"]],y=g?"":C?"bad":"good";return(0,e.createComponentVNode)(2,o.Section,{fill:!0,onKeyDown:function(){function B(I){return b(I,d)}return B}(),children:[(0,e.createComponentVNode)(2,o.Stack.Item,{height:7.3,children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["SecureStorage__displayBox","SecureStorage__displayBox--"+y]),height:"100%",children:v?"ERROR":p})}),(0,e.createComponentVNode)(2,o.Table,{children:N.map(function(B){return(0,e.createComponentVNode)(2,V.TableRow,{children:B.map(function(I){return(0,e.createComponentVNode)(2,V.TableCell,{children:(0,e.createComponentVNode)(2,i,{number:I})},I)})},B[0])})})]})},i=function(m,d){var u=(0,t.useBackend)(d),s=u.act,l=u.data,C=m.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}()})}},6272:function(w,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),V=n(3939),k=n(321),S=n(5485),b=n(22091),h={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},i=function(p,N){(0,V.modalOpen)(p,"edit",{field:N.edit,value:N.value})},c=r.SecurityRecords=function(){function v(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.loginState,T=I.currentPage,A;if(L.logged_in)T===1?A=(0,e.createComponentVNode)(2,d):T===2&&(A=(0,e.createComponentVNode)(2,l));else return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.LoginInfo),(0,e.createComponentVNode)(2,b.TemporaryNotice),(0,e.createComponentVNode)(2,m),A]})})]})}return v}(),m=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.currentPage,T=I.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:L===1,onClick:function(){function A(){return B("page",{page:1})}return A}(),children:"List Records"}),L===2&&T&&!T.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:L===2,children:["Record: ",T.fields[0].value]})]})})},d=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.records,T=(0,t.useLocalState)(N,"searchText",""),A=T[0],x=T[1],E=(0,t.useLocalState)(N,"sortId","name"),M=E[0],j=E[1],O=(0,t.useLocalState)(N,"sortOrder",!0),R=O[0],D=O[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"})]}),L.filter((0,a.createSearch)(A,function(W){return W.name+"|"+W.id+"|"+W.rank+"|"+W.fingerprint+"|"+W.status})).sort(function(W,U){var H=R?1:-1;return W[M].localeCompare(U[M])*H}).map(function(W){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+h[W.status],onClick:function(){function U(){return B("view",{uid_gen:W.uid_gen,uid_sec:W.uid_sec})}return U}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",W.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:W.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:W.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:W.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:W.status})]},W.id)})]})})})],4)},u=function(p,N){var y=(0,t.useLocalState)(N,"sortId","name"),B=y[0],I=y[1],L=(0,t.useLocalState)(N,"sortOrder",!0),T=L[0],A=L[1],x=p.id,E=p.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(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.isPrinting,T=(0,t.useLocalState)(N,"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:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Cell Log",onClick:function(){function E(){return(0,V.modalOpen)(N,"print_cell_log")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function E(M,j){return x(j)}return E}()})})]})},l=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=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:L,icon:L?"spinner":"print",iconSpin:!!L,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,preserveWhitespace:!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 i(N,x)}return M}()})]},E)})})})})}),(0,e.createComponentVNode)(2,g)],4)],0)},C=function(p,N){var y=(0,t.useBackend)(N),B=y.data,I=B.general;return!I||!I.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:I.fields.map(function(L,T){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:L.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+L.value),!!L.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:L.line_break?"1rem":"initial",onClick:function(){function A(){return i(N,L)}return A}()})]},T)})})}),!!I.has_photos&&I.photos.map(function(L,T){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:L,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",T+1]},T)})]})},g=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function T(){return(0,V.modalOpen)(N,"comment_add")}return T}()}),children:L.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):L.comments.map(function(T,A){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:T.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),T.text||T,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function x(){return B("comment_delete",{id:A+1})}return x}()})]},A)})})})}},5099:function(w,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),V=n(3939);function k(u,s){var l=typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(l)return(l=l.call(u)).next.bind(l);if(Array.isArray(u)||(l=S(u))||s&&u&&typeof u.length=="number"){l&&(u=l);var C=0;return function(){return C>=u.length?{done:!0}:{done:!1,value:u[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 S(u,s){if(u){if(typeof u=="string")return b(u,s);var l={}.toString.call(u).slice(8,-1);return l==="Object"&&u.constructor&&(l=u.constructor.name),l==="Map"||l==="Set"?Array.from(u):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?b(u,s):void 0}}function b(u,s){(s==null||s>u.length)&&(s=u.length);for(var l=0,C=Array(s);l=A},g=function(T,A){return T<=A},v=s.split(" "),p=[],N=function(){var T=I.value,A=T.split(":");if(A.length===0)return 0;if(A.length===1)return p.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=l;if(A[1][A[1].length-1]==="-"?(E=g,x=Number(A[1].substring(0,A[1].length-1))):A[1][A[1].length-1]==="+"?(E=C,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":p.push(function(M){return E(M.lifespan,x)});break;case"e":case"end":case"endurance":p.push(function(M){return E(M.endurance,x)});break;case"m":case"mat":case"maturation":p.push(function(M){return E(M.maturation,x)});break;case"pr":case"prod":case"production":p.push(function(M){return E(M.production,x)});break;case"y":case"yield":p.push(function(M){return E(M.yield,x)});break;case"po":case"pot":case"potency":p.push(function(M){return E(M.potency,x)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":p.push(function(M){return E(M.amount,x)});break;default:return{v:function(){function M(j){return!1}return M}()}}},y,B=k(v),I;!(I=B()).done;)if(y=N(),y!==0&&y)return y.v;return function(L){for(var T=0,A=p;T=1?Number(E):1)}return A}()})]})]})}},2916:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ShuttleConsole=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.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:i.status?i.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),!!i.shuttle&&(!!i.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Send to ",children:i.docking_ports.map(function(c){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:c.name,onClick:function(){function m(){return h("move",{move:c.id})}return m}()},c.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!i.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:!i.status,onClick:function(){function c(){return h("request")}return c}()})})],0))]})})})})}return V}()},39401:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ShuttleManipulator=function(){function b(h,i){var c=(0,a.useLocalState)(i,"tabIndex",0),m=c[0],d=c[1],u=function(){function s(l){switch(l){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,k);case 2:return(0,e.createComponentVNode)(2,S);default:return"WE SHOULDN'T BE HERE!"}}return s}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===0,onClick:function(){function s(){return d(0)}return s}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===1,onClick:function(){function s(){return d(1)}return s}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===2,onClick:function(){function s(){return d(2)}return s}(),icon:"tools",children:"Modification"},"Modification")]}),u(m)]})})})}return b}(),V=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.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 l(){return m("jump_to",{type:"mobile",id:s.id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function l(){return m("fast_travel",{id:s.id})}return l}()})]})]})},s.name)})})},k=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.templates_tabs,s=d.existing_shuttle,l=d.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 m("select_template_category",{cat:C})}return g}(),children:C},C)})}),!!s&&l[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 m("select_template",{shuttle_id:C.shuttle_id})}return g}()})})]})},C.name)})]})},S=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.existing_shuttle,s=d.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 l(){return m("jump_to",{type:"mobile",id:u.id})}return l}()})})]})}):(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 l(){return m("preview",{shuttle_id:s.shuttle_id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function l(){return m("load",{shuttle_id:s.shuttle_id})}return l}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},88284:function(w,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],k=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},b=["bad","average","average","good","average","average","bad"],h=r.Sleeper=function(){function l(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,y=N.hasOccupant,B=y?(0,e.createComponentVNode)(2,i):(0,e.createComponentVNode)(2,s);return(0,e.createComponentVNode)(2,f.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:B}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,d)})]})})})}return l}(),i=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,y=N.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,u)],4)},c=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,y=N.occupant,B=N.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:B?"toggle-on":"toggle-off",selected:B,content:B?"On":"Off",onClick:function(){function I(){return p("auto_eject_dead_"+(B?"off":"on"))}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function I(){return p("ejectify")}return I}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:y.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:y.maxHealth,value:y.health/y.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(y.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:V[y.stat][0],children:V[y.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:y.maxTemp,value:y.bodyTemperature/y.maxTemp,color:b[y.temperatureSuitability+3],children:[(0,a.round)(y.btCelsius,0),"\xB0C,",(0,a.round)(y.btFaren,0),"\xB0F"]})}),!!y.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:y.bloodMax,value:y.bloodLevel/y.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[y.bloodPercent,"%, ",y.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[y.pulse," BPM"]})],4)]})})},m=function(C,g){var v=(0,t.useBackend)(g),p=v.data,N=p.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:k.map(function(y,B){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:y[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:N[y[1]]/100,ranges:S,children:(0,a.round)(N[y[1]],0)},B)},B)})})})},d=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,y=N.hasOccupant,B=N.isBeakerLoaded,I=N.beakerMaxSpace,L=N.beakerFreeSpace,T=N.dialysis,A=T&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!B||L<=0||!y,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Active":"Inactive",onClick:function(){function x(){return p("togglefilter")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B,icon:"eject",content:"Eject",onClick:function(){function x(){return p("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:L/I,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},u=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,y=N.occupant,B=N.chemicals,I=N.maxchem,L=N.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:B.map(function(T,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"]}),L.map(function(M,j){return(0,e.createComponentVNode)(2,o.Button,{disabled:!T.injectable||T.occ_amount+M>I||y.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 O(){return p("chemical",{chemid:T.id,amount:M})}return O}()},j)})]})})},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."]})})})}},21597:function(w,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SlotMachine=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data;if(i.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 i.plays===1?c=i.plays+" player has tried their luck today!":c=i.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:i.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:i.working,content:i.working?"Spinning...":"Spin",onClick:function(){function m(){return h("spin")}return m}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:i.resultlvl,children:i.result})]})})})}return V}()},46348:function(w,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Smartfridge=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.secure,m=i.can_dry,d=i.drying,u=i.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m?"Drying rack":"Contents",buttons:!!m&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){function s(){return h("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,l){return s.display_name.localeCompare(l.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 l(){return h("vend",{index:s.vend,amount:1})}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:s.quantity,step:1,stepPixelSize:3,onChange:function(){function l(C,g){return h("vend",{index:s.vend,amount:g})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function l(){return h("vend",{index:s.vend,amount:s.quantity})}return l}()})]})]},s)})]})]})})})}return V}()},86162:function(w,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(49968),f=n(98595),V=1e3,k=r.Smes=function(){function S(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.capacityPercent,u=m.capacity,s=m.charge,l=m.inputAttempt,C=m.inputting,g=m.inputLevel,v=m.inputLevelMax,p=m.inputAvailable,N=m.outputPowernet,y=m.outputAttempt,B=m.outputting,I=m.outputLevel,L=m.outputLevelMax,T=m.outputUsed,A=d>=100&&"good"||C&&"average"||"bad",x=B&&"good"||s>0&&"average"||"bad";return(0,e.createComponentVNode)(2,f.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:d*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:l?"sync-alt":"times",selected:l,onClick:function(){function E(){return c("tryinput")}return E}(),children:l?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:d>=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/V,fillValue:p/V,minValue:0,maxValue:v/V,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*V,1)}return E}(),onChange:function(){function E(M,j){return c("input",{target:j*V})}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)(p)})]})}),(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:y?"power-off":"times",selected:y,onClick:function(){function E(){return c("tryoutput")}return E}(),children:y?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:x,children:N?B?"Sending":s>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:I===0,onClick:function(){function E(){return c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:I===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:I/V,minValue:0,maxValue:L/V,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*V,1)}return E}(),onChange:function(){function E(M,j){return c("output",{target:j*V})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:I===L,onClick:function(){function E(){return c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:I===L,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(T)})]})})]})})})}return S}()},63584:function(w,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SolarControl=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=0,m=1,d=2,u=i.generated,s=i.generated_ratio,l=i.tracking_state,C=i.tracking_rate,g=i.connected_panels,v=i.connected_tracker,p=i.cdir,N=i.direction,y=i.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 h("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:[p,"\xB0 (",N,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[l===d&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),l===m&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",C,"\xB0/h (",y,")"," "]}),l===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:[l!==d&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:p,onDrag:function(){function B(I,L){return h("cdir",{cdir:L})}return B}()}),l===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:l===c,onClick:function(){function B(){return h("track",{track:c})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:l===m,onClick:function(){function B(){return h("track",{track:m})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:l===d,disabled:!v,onClick:function(){function B(){return h("track",{track:d})}return B}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[l===m&&(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 L=Math.sign(I)>0?"+":"-";return L+Math.abs(I)}return B}(),onDrag:function(){function B(I,L){return h("tdir",{tdir:L})}return B}()}),l===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),l===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return V}()},38096:function(w,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SpawnersMenu=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:m.name+" ("+m.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function d(){return h("jump",{ID:m.uids})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function d(){return h("spawn",{ID:m.uids})}return d}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:m.desc}),!!m.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:m.fluff}),!!m.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:m.important_info})]},m.name)})})})})}return V}()},30586:function(w,r,n){"use strict";r.__esModule=!0,r.SpecMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SpecMenu=function(){function h(i,c){return(0,e.createComponentVNode)(2,o.Window,{width:1100,height:600,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b)]})})})}return h}(),V=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.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 l(){return d("hemomancer")}return l}()}),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)]})})},k=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.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 l(){return d("umbrae")}return l}()}),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(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.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 l(){return d("gargantua")}return l}()}),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)]})})},b=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.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 l(){return d("dantalion")}return l}()}),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)]})})}},38307:function(w,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.StationAlertConsole=function(){function k(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,V)})})}return k}(),V=r.StationAlertConsoleContent=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.data,c=i.alarms||[],m=c.Fire||[],d=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,[m.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),m.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Atmospherics Alarms",children:(0,e.createVNode)(1,"ul",null,[d.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),d.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Alarms",children:(0,e.createVNode)(1,"ul",null,[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 k}()},96091:function(w,r,n){"use strict";r.__esModule=!0,r.StationTraitsPanel=void 0;var e=n(89005),a=n(88510),t=n(42127),o=n(72253),f=n(36036),V=n(98595),k=function(i){return i[i.SetupFutureStationTraits=0]="SetupFutureStationTraits",i[i.ViewStationTraits=1]="ViewStationTraits",i}(k||{}),S=function(c,m){var d=(0,o.useBackend)(m),u=d.act,s=d.data,l=s.future_station_traits,C=(0,o.useLocalState)(m,"selectedFutureTrait",null),g=C[0],v=C[1],p=Object.fromEntries(s.valid_station_traits.map(function(y){return[y.name,y.path]})),N=Object.keys(p);return N.sort(),(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Dropdown,{displayText:!g&&"Select trait to add...",onSelected:v,options:N,selected:g,width:"100%"})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"green",icon:"plus",onClick:function(){function y(){if(g){var B=p[g],I=[B];if(l){var L,T=l.map(function(A){return A.path});if(T.indexOf(B)!==-1)return;I=(L=I).concat.apply(L,T)}u("setup_future_traits",{station_traits:I})}}return y}(),children:"Add"})})]}),(0,e.createComponentVNode)(2,f.Divider),Array.isArray(l)?l.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:l.map(function(y){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:y.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"red",icon:"times",onClick:function(){function B(){u("setup_future_traits",{station_traits:(0,a.filterMap)(l,function(I){if(I.path!==y.path)return I.path})})}return B}(),children:"Delete"})})]})},y.path)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No station traits will run next round."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"good",icon:"times",tooltip:"The next round will roll station traits randomly, just like normal",onClick:function(){function y(){return u("clear_future_traits")}return y}(),children:"Run Station Traits Normally"})]}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No future station traits are planned."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"red",icon:"times",onClick:function(){function y(){return u("setup_future_traits",{station_traits:[]})}return y}(),children:"Prevent station traits from running next round"})]})]})},b=function(c,m){var d=(0,o.useBackend)(m),u=d.act,s=d.data;return s.current_traits.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:s.current_traits.map(function(l){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:l.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button.Confirm,{content:"Revert",color:"red",disabled:s.too_late_to_revert||!l.can_revert,tooltip:!l.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:l.ref})}return C}()})})]})},l.ref)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:"There are no active station traits."})},h=r.StationTraitsPanel=function(){function i(c,m){var d=(0,o.useLocalState)(m,"station_traits_tab",k.ViewStationTraits),u=d[0],s=d[1],l;switch(u){case k.SetupFutureStationTraits:l=(0,e.createComponentVNode)(2,S);break;case k.ViewStationTraits:l=(0,e.createComponentVNode)(2,b);break;default:(0,t.exhaustiveCheck)(u)}return(0,e.createComponentVNode)(2,V.Window,{title:"Modify Station Traits",height:350,width:350,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"eye",selected:u===k.ViewStationTraits,onClick:function(){function C(){return s(k.ViewStationTraits)}return C}(),children:"View"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"edit",selected:u===k.SetupFutureStationTraits,onClick:function(){function C(){return s(k.SetupFutureStationTraits)}return C}(),children:"Edit"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{m:0,children:[(0,e.createComponentVNode)(2,f.Divider),l]})]})})})}return i}()},39409:function(w,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(89005),a=n(88510),t=n(79140),o=n(72253),f=n(36036),V=n(98595),k=5,S=9,b=function(g){return g===0?5:9},h="64px",i=function(g){return g[0]+"/"+g[1]},c=function(g){var v=g.align,p=g.children;return(0,e.createComponentVNode)(2,f.Box,{style:{position:"absolute",left:v==="left"?"6px":"48px","text-align":v,"text-shadow":"2px 2px 2px #000",top:"2px"},children:p})},m={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"}},d={eyes:{displayName:"eyewear",gridSpot:i([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:i([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:i([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:i([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:i([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:i([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:i([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:i([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:i([1,4])},jumpsuit:{displayName:"uniform",gridSpot:i([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:i([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:i([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:i([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:i([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:i([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:i([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:i([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:i([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:i([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:i([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:i([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:i([4,4]),image:"inventory-pda.png"}},u={eyes:{displayName:"eyewear",gridSpot:i([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:i([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:i([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:i([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:i([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:i([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:i([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:i([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:i([1,4])},jumpsuit:{displayName:"uniform",gridSpot:i([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:i([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:i([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:i([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:i([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:i([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:i([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:i([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:i([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:i([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:i([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:i([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:i([4,8]),image:"inventory-pda.png"}},s=function(C){return C[C.Completely=1]="Completely",C[C.Hidden=2]="Hidden",C}(s||{}),l=r.StripMenu=function(){function C(g,v){var p=(0,o.useBackend)(v),N=p.act,y=p.data,B=new Map;if(y.show_mode===0)for(var I=0,L=Object.keys(y.items);I=.01})},(0,a.sortBy)(function(T){return-T.amount})])(g.gases||[]),L=Math.max.apply(Math,[1].concat(I.map(function(T){return T.amount})));return(0,e.createComponentVNode)(2,S.Window,{width:550,height:185,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"270px",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Metrics",children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:p/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:N,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.toFixed)(N)+" MeV/cm3"})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:i(y),minValue:0,maxValue:i(1e4),ranges:{teal:[-1/0,i(80)],good:[i(80),i(373)],average:[i(373),i(1e3)],bad:[i(1e3),1/0]},children:(0,o.toFixed)(y)+" K"})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:i(B),minValue:0,maxValue:i(5e4),ranges:{good:[i(1),i(300)],average:[-1/0,i(1e3)],bad:[i(1e3),1/0]},children:(0,o.toFixed)(B)+" kPa"})})]})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"arrow-left",content:"Back",onClick:function(){function T(){return C("back")}return T}()}),children:(0,e.createComponentVNode)(2,V.LabeledList,{children:I.map(function(T){return(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:(0,k.getGasLabel)(T.name),children:(0,e.createComponentVNode)(2,V.ProgressBar,{color:(0,k.getGasColor)(T.name),value:T.amount,minValue:0,maxValue:L,children:(0,o.toFixed)(T.amount,2)+"%"})},T.name)})})})})]})})})}},46029:function(w,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SyndicateComputerSimple=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data;return(0,e.createComponentVNode)(2,o.Window,{theme:"syndicate",width:400,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:i.rows.map(function(c){return(0,e.createComponentVNode)(2,t.Section,{title:c.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:c.buttontitle,disabled:c.buttondisabled,tooltip:c.buttontooltip,tooltipPosition:"left",onClick:function(){function m(){return h(c.buttonact)}return m}()}),children:[c.status,!!c.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:c.bullets.map(function(m){return(0,e.createComponentVNode)(2,t.Box,{children:m},m)})})]},c.title)})})})}return V}()},36372:function(w,r,n){"use strict";r.__esModule=!0,r.TEG=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(S){return S.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},V=r.TEG=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data;return c.error?(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[c.error,(0,e.createComponentVNode)(2,t.Button,{icon:"circle",content:"Recheck",onClick:function(){function m(){return i("check")}return m}()})]})})}):(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cold Loop ("+c.cold_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Inlet",children:[f(c.cold_inlet_temp)," K, ",f(c.cold_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Outlet",children:[f(c.cold_outlet_temp)," K, ",f(c.cold_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Hot Loop ("+c.hot_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Inlet",children:[f(c.hot_inlet_temp)," K, ",f(c.hot_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Outlet",children:[f(c.hot_outlet_temp)," K, ",f(c.hot_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Output",children:[f(c.output_power)," W",!!c.warning_switched&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold inlet temperature exceeds hot inlet temperature."}),!!c.warning_cold_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold circulator inlet pressure is under 1,000 kPa."}),!!c.warning_hot_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Hot circulator inlet pressure is under 1,000 kPa."})]})]})})}return k}()},56441:function(w,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TachyonArray=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.records,d=m===void 0?[]:m,u=c.explosion_target,s=c.toxins_tech,l=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:!d.length||l,align:"center",onClick:function(){function C(){return i("print_logs")}return C}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!d.length,color:"bad",align:"center",onClick:function(){function C(){return i("delete_logs")}return C}()})]})]})}),d.length?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return k}(),V=r.TachyonArrayContent=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.records,d=m===void 0?[]:m;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),d.map(function(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 i("delete_record",{index:u.index})}return s}()})})]},u.index)})]})})})})}return k}()},1754:function(w,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Tank=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c;return i.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,width:"76%",icon:i.connected?"check":"times",content:i.connected?"Internals On":"Internals Off",selected:i.connected,onClick:function(){function m(){return h("internals")}return m}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:325,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:i.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:i.ReleasePressure===i.minReleasePressure,tooltip:"Min",onClick:function(){function m(){return h("pressure",{pressure:"min"})}return m}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(i.releasePressure),width:"65px",unit:"kPa",minValue:i.minReleasePressure,maxValue:i.maxReleasePressure,onChange:function(){function m(d,u){return h("pressure",{pressure:u})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:i.ReleasePressure===i.maxReleasePressure,tooltip:"Max",onClick:function(){function m(){return h("pressure",{pressure:"max"})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:i.ReleasePressure===i.defaultReleasePressure,tooltip:"Reset",onClick:function(){function m(){return h("pressure",{pressure:"reset"})}return m}()})]}),c]})})})})}return V}()},7579:function(w,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TankDispenser=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.o_tanks,m=i.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Dispense Oxygen Tank ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function d(){return h("oxygen")}return d}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mt:1,fluid:!0,content:"Dispense Plasma Tank ("+m+")",disabled:m===0,icon:"arrow-circle-down",onClick:function(){function d(){return h("plasma")}return d}()})})]})})})}return V}()},16136:function(w,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TcommsCore=function(){function h(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.ion,l=(0,a.useLocalState)(c,"tabIndex",0),C=l[0],g=l[1],v=function(){function p(N){switch(N){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,b);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s===1&&(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"wrench",selected:C===0,onClick:function(){function p(){return g(0)}return p}(),children:"Configuration"},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"link",selected:C===1,onClick:function(){function p(){return g(1)}return p}(),children:"Device Linkage"},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"user-times",selected:C===2,onClick:function(){function p(){return g(2)}return p}(),children:"User Filtering"},"FilterPage")]}),v(C)]})})}return h}(),V=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},k=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.active,l=u.sectors_available,C=u.nttc_toggle_jobs,g=u.nttc_toggle_job_color,v=u.nttc_toggle_name_color,p=u.nttc_toggle_command_bold,N=u.nttc_job_indicator_type,y=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 d("toggle_active")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:l})]})}),(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 d("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 d("nttc_toggle_job_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"user-tag",onClick:function(){function I(){return d("nttc_toggle_name_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"On":"Off",selected:p,icon:"volume-up",onClick:function(){function I(){return d("nttc_toggle_command_bold")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:N||"Unset",selected:N,icon:"pencil-alt",onClick:function(){function I(){return d("nttc_job_indicator_type")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:y||"Unset",selected:y,icon:"globe",onClick:function(){function I(){return d("nttc_setting_language")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:B||"Unset",selected:B,icon:"server",onClick:function(){function I(){return d("network_id")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function I(){return d("import")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function I(){return d("export")}return I}()})]})],4)},S=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.link_password,l=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 d("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"})]}),l.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 d("unlink",{addr:C.addr})}return g}()})})]},C.addr)})]})]})},b=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.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 l(){return d("add_filter")}return l}()}),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(l){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function C(){return d("remove_filter",{user:l})}return C}()})})]},l)})]})})}},88046:function(w,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TcommsRelay=function(){function S(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.linked,u=m.active,s=m.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:292,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:u?"On":"Off",selected:u,icon:"power-off",onClick:function(){function l(){return c("toggle_active")}return l}()})}),(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 l(){return c("network_id")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:d===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),d===1?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,k)]})})}return S}(),V=function(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.linked_core_id,u=m.linked_core_addr,s=m.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children: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 l(){return c("toggle_hidden_link")}return l}()})}),(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 l(){return c("unlink")}return l}()})})]})})},k=function(b,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),d.map(function(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)})]})})}},20802:function(w,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Teleporter=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.targetsTeleport?i.targetsTeleport:{},m=0,d=1,u=2,s=i.calibrated,l=i.calibrating,C=i.powerstation,g=i.regime,v=i.teleporterhub,p=i.target,N=i.locked,y=i.adv_beacon_allowed,B=i.advanced_beacon_locking;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",buttons:(0,e.createFragment)(!!y&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",children:"Advanced Beacon Locking:\xA0"}),(0,e.createComponentVNode)(2,t.Button,{selected:B,icon:B?"toggle-on":"toggle-off",content:B?"Enabled":"Disabled",onClick:function(){function I(){return h("advanced_beacon_locking",{on:B?0:1})}return I}()})],4),0),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===m&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:p,disabled:l,options:Object.keys(c),color:p!=="None"?"default":"bad",onSelected:function(){function I(L){return h("settarget",{x:c[L].x,y:c[L].y,z:c[L].z,tptarget:c[L].pretarget})}return I}()}),g===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:p,disabled:l,options:Object.keys(c),color:p!=="None"?"default":"bad",onSelected:function(){function I(L){return h("settarget",{x:c[L].x,y:c[L].y,z:c[L].z,tptarget:c[L].pretarget})}return I}()}),g===u&&(0,e.createComponentVNode)(2,t.Box,{children:p})]})]}),(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===d?"good":null,onClick:function(){function I(){return h("setregime",{regime:d})}return I}()})}),(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===m?"good":null,onClick:function(){function I(){return h("setregime",{regime:m})}return I}()})}),(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:!N,onClick:function(){function I(){return h("setregime",{regime:u})}return I}()})})]}),(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:[p!=="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:l&&(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||l),onClick:function(){function I(){return h("calibrate")}return I}()})})]}),p==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})]}),!!(N&&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 I(){return h("load")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function I(){return h("eject")}return I}()})]})})]})})})})}return V}()},48517:function(w,r,n){"use strict";r.__esModule=!0,r.TelescienceConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TelescienceConsole=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.last_msg,m=i.linked_pad,d=i.held_gps,u=i.lastdata,s=i.power_levels,l=i.current_max_power,C=i.current_power,g=i.current_bearing,v=i.current_elevation,p=i.current_sector,N=i.working,y=i.max_z,B=(0,a.useLocalState)(S,"dummyrot",g),I=B[0],L=B[1];return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createFragment)([c,!(u.length>0)||(0,e.createVNode)(1,"ul",null,u.map(function(T){return(0,e.createVNode)(1,"li",null,T,0,null,T)}),0)],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Telepad Status",children:m===1?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Bearing",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:[(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:360,disabled:N,value:g,onDrag:function(){function T(A,x){return L(x)}return T}(),onChange:function(){function T(A,x){return h("setbear",{bear:x})}return T}()}),(0,e.createComponentVNode)(2,t.Icon,{ml:1,size:1,name:"arrow-up",rotation:I})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Elevation",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:100,disabled:N,value:v,onChange:function(){function T(A,x){return h("setelev",{elev:x})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Level",children:s.map(function(T,A){return(0,e.createComponentVNode)(2,t.Button,{content:T,selected:C===T,disabled:A>=l-1||N,onClick:function(){function x(){return h("setpwr",{pwr:A+1})}return x}()},T)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Sector",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:1,minValue:2,maxValue:y,value:p,disabled:N,onChange:function(){function T(A,x){return h("setz",{newz:x})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Telepad Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Send",disabled:N,onClick:function(){function T(){return h("pad_send")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Receive",disabled:N,onClick:function(){function T(){return h("pad_receive")}return T}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Crystal Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Recalibrate Crystals",disabled:N,onClick:function(){function T(){return h("recal_crystals")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Crystals",disabled:N,onClick:function(){function T(){return h("eject_crystals")}return T}()})]})]}):(0,e.createFragment)([(0,e.createTextVNode)("No pad linked to console. Please use a multitool to link a pad.")],4)}),(0,e.createComponentVNode)(2,t.Section,{title:"GPS Actions",children:d===1?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||N,content:"Eject GPS",onClick:function(){function T(){return h("eject_gps")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||N,content:"Store Coordinates",onClick:function(){function T(){return h("store_to_gps")}return T}()})],4):(0,e.createFragment)([(0,e.createTextVNode)("Please insert a GPS to store coordinates to it.")],4)})]})})}return V}()},21800:function(w,r,n){"use strict";r.__esModule=!0,r.TempGun=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=r.TempGun=function(){function h(i,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.target_temperature,l=u.temperature,C=u.max_temp,g=u.min_temp;return(0,e.createComponentVNode)(2,f.Window,{width:250,height:121,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:10,stepPixelSize:6,minValue:g,maxValue:C,value:s,format:function(){function v(p){return(0,a.toFixed)(p,2)}return v}(),width:"50px",onDrag:function(){function v(p,N){return d("target_temperature",{target_temperature:N})}return v}()}),"\xB0C"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Temperature",children:(0,e.createComponentVNode)(2,o.Box,{color:k(l),bold:l>500-273.15,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:(0,a.round)(l,2)}),"\xB0C"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power Cost",children:(0,e.createComponentVNode)(2,o.Box,{color:b(l),children:S(l)})})]})})})})}return h}(),k=function(i){return i<=-100?"blue":i<=0?"teal":i<=100?"green":i<=200?"orange":"red"},S=function(i){return i<=100-273.15?"High":i<=250-273.15?"Medium":i<=300-273.15?"Low":i<=400-273.15?"Medium":"High"},b=function(i){return i<=100-273.15?"red":i<=250-273.15?"orange":i<=300-273.15?"green":i<=400-273.15?"orange":"red"}},24410:function(w,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(72253),f=n(92986),V=n(36036),k=n(98595),S=r.sanitizeMultiline=function(){function c(m){return m.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),b=r.removeAllSkiplines=function(){function c(m){return m.replace(/[\r\n]+/,"")}return c}(),h=r.TextInputModal=function(){function c(m,d){var u=(0,o.useBackend)(d),s=u.act,l=u.data,C=l.max_length,g=l.message,v=g===void 0?"":g,p=l.multiline,N=l.placeholder,y=l.timeout,B=l.title,I=(0,o.useLocalState)(d,"input",N||""),L=I[0],T=I[1],A=function(){function M(j){if(j!==L){var O=p?S(j):b(j);T(O)}}return M}(),x=p||L.length>=40,E=130+(v.length>40?Math.ceil(v.length/4):0)+(x?80:0);return(0,e.createComponentVNode)(2,k.Window,{title:B,width:325,height:E,children:[y&&(0,e.createComponentVNode)(2,a.Loader,{value:y}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:function(){function M(j){var O=window.event?j.which:j.keyCode;O===f.KEY_ENTER&&(!x||!j.shiftKey)&&s("submit",{entry:L}),O===f.KEY_ESCAPE&&s("cancel")}return M}(),children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Box,{color:"label",children:v})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i,{input:L,onType:A})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+C})})]})})})]})}return c}(),i=function(m,d){var u=(0,o.useBackend)(d),s=u.act,l=u.data,C=l.max_length,g=l.multiline,v=m.input,p=m.onType,N=g||v.length>=40;return(0,e.createComponentVNode)(2,V.TextArea,{autoFocus:!0,autoSelect:!0,height:g||v.length>=40?"100%":"1.8rem",maxLength:C,onEscape:function(){function y(){return s("cancel")}return y}(),onEnter:function(){function y(B){N&&B.shiftKey||(B.preventDefault(),s("submit",{entry:v}))}return y}(),onInput:function(){function y(B,I){return p(I)}return y}(),placeholder:"Type something...",value:v})}},25036:function(w,r,n){"use strict";r.__esModule=!0,r.ThermoMachine=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=r.ThermoMachine=function(){function k(S,b){var h=(0,t.useBackend)(b),i=h.act,c=h.data;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:225,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{title:"Status",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.temperature,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pressure",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.pressure,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," kPa"]})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Controls",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:c.on?"power-off":"times",content:c.on?"On":"Off",selected:c.on,onClick:function(){function m(){return i("power")}return m}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Setting",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:c.cooling?"temperature-low":"temperature-high",content:c.cooling?"Cooling":"Heating",selected:c.cooling,onClick:function(){function m(){return i("cooling")}return m}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"fast-backward",disabled:c.target===c.min,title:"Minimum temperature",onClick:function(){function m(){return i("target",{target:c.min})}return m}()}),(0,e.createComponentVNode)(2,o.NumberInput,{animated:!0,value:Math.round(c.target),unit:"K",width:5.4,lineHeight:1.4,minValue:Math.round(c.min),maxValue:Math.round(c.max),step:5,stepPixelSize:3,onDrag:function(){function m(d,u){return i("target",{target:u})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"fast-forward",disabled:c.target===c.max,title:"Maximum Temperature",onClick:function(){function m(){return i("target",{target:c.max})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"sync",disabled:c.target===c.initial,title:"Room Temperature",onClick:function(){function m(){return i("target",{target:c.initial})}return m}()})]})]})})]})})}return k}()},20035:function(w,r,n){"use strict";r.__esModule=!0,r.TransferValve=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TransferValve=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.tank_one,m=i.tank_two,d=i.attached_device,u=i.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||!m,onClick:function(){function s(){return h("toggle")}return s}()})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Assembly",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Configure Assembly",disabled:!d,onClick:function(){function s(){return h("device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:d?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:d,disabled:!d,onClick:function(){function s(){return h("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 h("tankone")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment Two",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:m?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:m,disabled:!m,onClick:function(){function s(){return h("tanktwo")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})})]})})}return V}()},78166:function(w,r,n){"use strict";r.__esModule=!0,r.TurbineComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(44879),V=r.TurbineComputer=function(){function b(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.compressor,s=d.compressor_broken,l=d.turbine,C=d.turbine_broken,g=d.online,v=!!(u&&!s&&l&&!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 p(){return m("toggle_power")}return p}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Disconnect",onClick:function(){function p(){return m("disconnect")}return p}()})],4),children:v?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,k)})})})}return b}(),k=function(h,i){var c=(0,a.useBackend)(i),m=c.data,d=m.compressor,u=m.compressor_broken,s=m.turbine,l=m.turbine_broken,C=m.online;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compressor Status",color:!d||u?"bad":"good",children:u?d?"Offline":"Missing":"Online"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Status",color:!s||l?"bad":"good",children:l?s?"Offline":"Missing":"Online"})]})},S=function(h,i){var c=(0,a.useBackend)(i),m=c.data,d=m.rpm,u=m.temperature,s=m.power,l=m.bearing_heat;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Speed",children:[d," RPM"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Temp",children:[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:l,minValue:0,maxValue:100,ranges:{good:[-1/0,60],average:[60,90],bad:[90,1/0]},children:(0,f.toFixed)(l)+"%"})})]})}},52847:function(w,r,n){"use strict";r.__esModule=!0,r.Uplink=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(25328),f=n(72253),V=n(36036),k=n(98595),S=n(3939),b=function(g){switch(g){case 0:return(0,e.createComponentVNode)(2,i);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,l);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}},h=r.Uplink=function(){function C(g,v){var p=(0,f.useBackend)(v),N=p.act,y=p.data,B=y.cart,I=(0,f.useLocalState)(v,"tabIndex",0),L=I[0],T=I[1],A=(0,f.useLocalState)(v,"searchText",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,k.Window,{width:900,height:600,theme:"syndicate",children:[(0,e.createComponentVNode)(2,S.ComplexModal),(0,e.createComponentVNode)(2,k.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Tabs,{children:[(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===0,onClick:function(){function M(){T(0),E("")}return M}(),icon:"store",children:"View Market"},"PurchasePage"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===1,onClick:function(){function M(){T(1),E("")}return M}(),icon:"shopping-cart",children:["View Shopping Cart ",B&&B.length?"("+B.length+")":""]},"Cart"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===2,onClick:function(){function M(){T(2),E("")}return M}(),icon:"user",children:"Exploitable Information"},"ExploitableInfo"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{onClick:function(){function M(){return N("lock")}return M}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:b(L)})]})})]})}return C}(),i=function(g,v){var p=(0,f.useBackend)(v),N=p.act,y=p.data,B=y.crystals,I=y.cats,L=(0,f.useLocalState)(v,"uplinkItems",I[0].items),T=L[0],A=L[1],x=(0,f.useLocalState)(v,"searchText",""),E=x[0],M=x[1],j=function(H,K){K===void 0&&(K="");var G=(0,o.createSearch)(K,function(Y){var J=Y.hijack_only===1?"|hijack":"";return Y.name+"|"+Y.desc+"|"+Y.cost+"tc"+J});return(0,t.flow)([(0,a.filter)(function(Y){return Y==null?void 0:Y.name}),K&&(0,a.filter)(G),(0,a.sortBy)(function(Y){return Y==null?void 0:Y.name})])(H)},O=function(H){if(M(H),H==="")return A(I[0].items);A(j(I.map(function(K){return K.items}).flat(),H))},R=(0,f.useLocalState)(v,"showDesc",1),D=R[0],W=R[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:D,onClick:function(){function U(){return W(!D)}return U}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Random Item",icon:"question",onClick:function(){function U(){return N("buyRandom")}return U}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function U(){return N("refund")}return U}()})],4),children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function U(H,K){O(K)}return U}(),value:E})})})}),(0,e.createComponentVNode)(2,V.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:I.map(function(U){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:E!==""?!1:U.items===T,onClick:function(){function H(){A(U.items),M("")}return H}(),children:U.cat},U)})})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:T.map(function(U){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:U,showDecription:D},(0,o.decodeHtmlEntities)(U.name))},(0,o.decodeHtmlEntities)(U.name))})})})})]})]})},c=function(g,v){var p=(0,f.useBackend)(v),N=p.act,y=p.data,B=y.cart,I=y.crystals,L=y.cart_price,T=(0,f.useLocalState)(v,"showDesc",0),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+I+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:A,onClick:function(){function E(){return x(!A)}return E}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function E(){return N("empty_cart")}return E}(),disabled:!B}),(0,e.createComponentVNode)(2,V.Button,{content:"Purchase Cart ("+L+"TC)",icon:"shopping-cart",onClick:function(){function E(){return N("purchase_cart")}return E}(),disabled:!B||L>I})],4),children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:B?B.map(function(E){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:E,showDecription:A,buttons:(0,e.createComponentVNode)(2,s,{i:E})})},(0,o.decodeHtmlEntities)(E.name))}):(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,m)]})},m=function(g,v){var p=(0,f.useBackend)(v),N=p.act,y=p.data,B=y.cats,I=y.lucky_numbers;return(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function L(){return N("shuffle_lucky_numbers")}return L}()}),children:(0,e.createComponentVNode)(2,V.Stack,{wrap:!0,children:I.map(function(L){return B[L.cat].items[L.item]}).filter(function(L){return L!=null}).map(function(L,T){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,d,{grow:!0,i:L})},T)})})})})},d=function(g,v){var p=g.i,N=g.showDecription,y=N===void 0?1:N,B=g.buttons,I=B===void 0?(0,e.createComponentVNode)(2,u,{i:p}):B;return(0,e.createComponentVNode)(2,V.Section,{title:(0,o.decodeHtmlEntities)(p.name),showBottom:y,buttons:I,children:y?(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(p.desc)}):null})},u=function(g,v){var p=(0,f.useBackend)(v),N=p.act,y=p.data,B=g.i,I=y.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function L(){return N("add_to_cart",{item:B.obj_path})}return L}(),disabled:B.cost>I}),(0,e.createComponentVNode)(2,V.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function L(){return N("buyItem",{item:B.obj_path})}return L}(),disabled:B.cost>I})],4)},s=function(g,v){var p=(0,f.useBackend)(v),N=p.act,y=p.data,B=g.i,I=y.exploitable;return(0,e.createComponentVNode)(2,V.Stack,{children:[(0,e.createComponentVNode)(2,V.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function L(){return N("remove_from_cart",{item:B.obj_path})}return L}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function L(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return L}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,V.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function L(T,A){return N("set_cart_item_quantity",{item:B.obj_path,quantity:A})}return L}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,V.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function L(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return L}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},l=function(g,v){var p=(0,f.useBackend)(v),N=p.act,y=p.data,B=y.exploitable,I=(0,f.useLocalState)(v,"selectedRecord",B[0]),L=I[0],T=I[1],A=(0,f.useLocalState)(v,"searchText",""),x=A[0],E=A[1],M=function(R,D){D===void 0&&(D="");var W=(0,o.createSearch)(D,function(U){return U.name});return(0,t.flow)([(0,a.filter)(function(U){return U==null?void 0:U.name}),D&&(0,a.filter)(W),(0,a.sortBy)(function(U){return U.name})])(R)},j=M(B,x);return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Exploitable Records",children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function O(R,D){return E(D)}return O}()}),(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:j.map(function(O){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:O===L,onClick:function(){function R(){return T(O)}return R}(),children:O.name},O)})})]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:L.name,children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:L.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:L.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:L.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:L.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:L.species})]})})})]})}},12261:function(w,r,n){"use strict";r.__esModule=!0,r.Vending=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=S.product,d=S.productStock,u=S.productImage,s=c.chargesMoney,l=c.user,C=c.usermoney,g=c.inserted_cash,v=c.vend_ready,p=c.inserted_item_name,N=!s||m.price===0,y="ERROR!",B="";N?(y="FREE",B="arrow-circle-down"):(y=m.price,B="shopping-cart");var I=!v||d===0||!N&&m.price>C&&m.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:m.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Box,{color:d<=0&&"bad"||d<=m.max_amount/2&&"average"||"good",children:[d," in stock"]})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,disabled:I,icon:B,content:y,textAlign:"left",onClick:function(){function L(){return i("vend",{inum:m.inum})}return L}()})})]})},V=r.Vending=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.user,d=c.usermoney,u=c.inserted_cash,s=c.chargesMoney,l=c.product_records,C=l===void 0?[]:l,g=c.hidden_records,v=g===void 0?[]:g,p=c.stock,N=c.vend_ready,y=c.inserted_item_name,B=c.panel_open,I=c.speaker,L=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:!!y&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:(0,e.createVNode)(1,"span",null,y,0,{style:{"text-transform":"capitalize"}}),onClick:function(){function A(){return i("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 i("change")}return A}()})})]}),children:m&&(0,e.createComponentVNode)(2,t.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,m.name,0),", ",(0,e.createVNode)(1,"b",null,m.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[d,(0,e.createTextVNode)(" credits")],0),".",(0,e.createVNode)(1,"br")]})})}),!!B&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"check":"volume-mute",selected:I,content:"Speaker",textAlign:"left",onClick:function(){function A(){return i("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,f,{product:A,productStock:p[A.name],productImage:L[A.path]},A.name)})})})})]})})})}return k}()},68971:function(w,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.VolumeMixer=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(m,d){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:d>0&&"0.5rem",children:m.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function u(){return h("volume",{channel:m.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:m.volume,onChange:function(){function u(s,l){return h("volume",{channel:m.num,volume:l})}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 h("volume",{channel:m.num,volume:100})}return u}()})})})]})})],4,m.num)})})})})}return V}()},2510:function(w,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.VotePanel=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.remaining,m=i.question,d=i.choices,u=i.user_vote,s=i.counts,l=i.show_counts;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:360,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1.5,ml:.5,children:["Time remaining: ",Math.round(c/10),"s"]}),d.map(function(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+(l?" ("+(s[C]||0)+")":""),onClick:function(){function g(){return h("vote",{target:C})}return g}(),selected:C===u})},C)})]})})})}return V}()},30138:function(w,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Wires=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.wires||[],m=i.status||[],d=56+c.length*23+(status?0:15+m.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:d,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(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 h("cut",{wire:u.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function s(){return h("pulse",{wire:u.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:u.attached?"Detach":"Attach",onClick:function(){function s(){return h("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)})})})}),!!m.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:u},u)})})})]})})})}return V}()},21400:function(w,r,n){"use strict";r.__esModule=!0,r.WizardApprenticeContract=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.WizardApprenticeContract=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.used;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:555,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Contract of Apprenticeship",children:["Using this contract, you may summon an apprentice to aid you on your mission.",(0,e.createVNode)(1,"p",null,"If you are unable to establish contact with your apprentice, you can feed the contract back to the spellbook to refund your points.",16),c?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"You've already summoned an apprentice or you are in process of summoning one."}):""]}),(0,e.createComponentVNode)(2,t.Section,{title:"Which school of magic is your apprentice studying?",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fire",children:["Your apprentice is skilled in bending fire. ",(0,e.createVNode)(1,"br"),"They know Fireball, Sacred Flame, and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("fire")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Translocation",children:["Your apprentice is able to defy physics, learning how to move through bluespace. ",(0,e.createVNode)(1,"br"),"They know Teleport, Blink and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("translocation")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Restoration",children:["Your apprentice is dedicated to supporting your magical prowess.",(0,e.createVNode)(1,"br"),"They come equipped with a Staff of Healing, have the unique ability to teleport back to you, and know Charge and Knock.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("restoration")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stealth",children:["Your apprentice is learning the art of infiltrating mundane facilities. ",(0,e.createVNode)(1,"br"),"They know Mindswap, Knock, Homing Toolbox, and Disguise Self, all of which can be cast without robes. They also join you in a Maintenance Dweller disguise, complete with Gloves of Shock Immunity and a Belt of Tools.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("stealth")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Honk",children:["Your apprentice is here to spread the Honkmother's blessings.",(0,e.createVNode)(1,"br"),"They know Banana Touch, Instant Summons, Ethereal Jaunt, and come equipped with a Staff of Slipping."," ",(0,e.createVNode)(1,"br"),"While under your tutelage, they have been 'blessed' with clown shoes that are impossible to remove.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("honk")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})})]})})}return V}()},49148:function(w,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036);function f(h,i){var c=typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(c)return(c=c.call(h)).next.bind(c);if(Array.isArray(h)||(c=V(h))||i&&h&&typeof h.length=="number"){c&&(h=c);var m=0;return function(){return m>=h.length?{done:!0}:{done:!1,value:h[m++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(h,i){if(h){if(typeof h=="string")return k(h,i);var c={}.toString.call(h).slice(8,-1);return c==="Object"&&h.constructor&&(c=h.constructor.name),c==="Map"||c==="Set"?Array.from(h):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?k(h,i):void 0}}function k(h,i){(i==null||i>h.length)&&(i=h.length);for(var c=0,m=Array(i);c0&&!y.includes(D.ref)&&!p.includes(D.ref),checked:p.includes(D.ref),onClick:function(){function W(){return B(D.ref)}return W}()},D.desc)})]})]})})}return h}()},26991:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),f=function(S,b,h,i,c){return Si?"average":S>c?"bad":"good"},V=r.AtmosScan=function(){function k(S,b){var h=S.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(i){return i.val!=="0"||i.entry==="Pressure"||i.entry==="Temperature"})(h).map(function(i){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:i.entry,color:f(i.val,i.bad_low,i.poor_low,i.poor_high,i.bad_high),children:[i.val,i.units]},i.entry)})})})}return k}()},85870:function(w,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(89005),a=n(36036),t=n(15964),o=function(k){return k+" unit"+(k===1?"":"s")},f=r.BeakerContents=function(){function V(k){var S=k.beakerLoaded,b=k.beakerContents,h=b===void 0?[]:b,i=k.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."})||h.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),h.map(function(c,m){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!i&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:i(c,m)})]},c.name)})]})}return V}();f.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},92963:function(w,r,n){"use strict";r.__esModule=!0,r.BotStatus=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.BotStatus=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,i=h.locked,c=h.noaccess,m=h.maintpanel,d=h.on,u=h.autopatrol,s=h.canhack,l=h.emagged,C=h.remote_disabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",i?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,disabled:c,onClick:function(){function g(){return b("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 b("autopatrol")}return g}()})}),!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:l?"bad":"good",children:l?"DISABLED!":"Enabled"})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:l?"Restore Safties":"Hack",disabled:c,color:"bad",onClick:function(){function g(){return b("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 b("disableremote")}return g}()})})]})})],4)}return f}()},3939:function(w,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(89005),a=n(72253),t=n(36036),o={},f=r.modalOpen=function(){function h(i,c,m){var d=(0,a.useBackend)(i),u=d.act,s=d.data,l=Object.assign(s.modal?s.modal.args:{},m||{});u("modal_open",{id:c,arguments:JSON.stringify(l)})}return h}(),V=r.modalRegisterBodyOverride=function(){function h(i,c){o[i]=c}return h}(),k=r.modalAnswer=function(){function h(i,c,m,d){var u=(0,a.useBackend)(i),s=u.act,l=u.data;if(l.modal){var C=Object.assign(l.modal.args||{},d||{});s("modal_answer",{id:c,answer:m,arguments:JSON.stringify(C)})}}return h}(),S=r.modalClose=function(){function h(i,c){var m=(0,a.useBackend)(i),d=m.act;d("modal_close",{id:c})}return h}(),b=r.ComplexModal=function(){function h(i,c){var m=(0,a.useBackend)(c),d=m.data;if(d.modal){var u=d.modal,s=u.id,l=u.text,C=u.type,g,v=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return S(c)}return L}()}),p,N,y="auto";if(o[s])p=o[s](d.modal,c);else if(C==="input"){var B=d.modal.value;g=function(){function L(T){return k(c,s,B)}return L}(),p=(0,e.createComponentVNode)(2,t.Input,{value:d.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(T,A){B=A}return L}()}),N=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function L(){return S(c)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return k(c,s,B)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(C==="choice"){var I=typeof d.modal.choices=="object"?Object.values(d.modal.choices):d.modal.choices;p=(0,e.createComponentVNode)(2,t.Dropdown,{options:I,selected:d.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(T){return k(c,s,T)}return L}()}),y="initial"}else C==="bento"?p=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:d.modal.choices.map(function(L,T){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:T+1===parseInt(d.modal.value,10),onClick:function(){function A(){return k(c,s,T+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},T)})}):C==="boolean"&&(N=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:d.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return k(c,s,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:d.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return k(c,s,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:i.maxWidth||window.innerWidth/2+"px",maxHeight:i.maxHeight||window.innerHeight/2+"px",onEnter:g,mx:"auto",overflowY:y,"padding-bottom":"5px",children:[l&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:l}),o[s]&&v,p,N]})}}return h}()},41874:function(w,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(25328),f=n(76910),V=f.COLORS.department,k=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],S=function(m){return k.indexOf(m)!==-1?"green":"orange"},b=function(m){if(k.indexOf(m)!==-1)return!0},h=function(m){return m.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),m.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{color:S(d.rank),bold:b(d.rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.active})]},d.name+d.rank)})]})},i=r.CrewManifest=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,l;if(m.data)l=m.data;else{var C=(0,a.useBackend)(d),g=C.data;l=g}var v=l,p=v.manifest,N=p.heads,y=p.sec,B=p.eng,I=p.med,L=p.sci,T=p.ser,A=p.sup,x=p.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:h(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:h(y)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:h(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:h(I)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:h(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:h(T)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:h(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:h(x)})]})}return c}()},19203:function(w,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(89005),a=n(36036),t=n(72253),o=r.InputButtons=function(){function f(V,k){var S=(0,t.useBackend)(k),b=S.act,h=S.data,i=h.large_buttons,c=h.swapped_buttons,m=V.input,d=V.message,u=V.disabled,s=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!i,fluid:!!i,onClick:function(){function C(){return b("submit",{entry:m})}return C}(),textAlign:"center",tooltip:i&&d,disabled:u,width:!i&&6}),l=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!i,fluid:!!i,onClick:function(){function C(){return b("cancel")}return C}(),textAlign:"center",width:!i&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[i?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:l}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:l}),!i&&d&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:d})}),i?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:s}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:s})]})}return f}()},195:function(w,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.InterfaceLockNoticeBox=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,i=V.siliconUser,c=i===void 0?h.siliconUser:i,m=V.locked,d=m===void 0?h.locked:m,u=V.normallyLocked,s=u===void 0?h.normallyLocked:u,l=V.onLockStatusChange,C=l===void 0?function(){return b("lock")}:l,g=V.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 p(){C&&C(!d)}return p}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",v," to ",d?"unlock":"lock"," this interface."]})}return f}()},51057:function(w,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(89005),a=n(44879),t=n(36036),o=r.Loader=function(){function f(V){var k=V.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(k)*100+"%"}}),2)}return f}()},321:function(w,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginInfo=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,i=h.loginState;if(h)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",i.name," (",i.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!i.id,content:"Eject ID",color:"good",onClick:function(){function c(){return b("login_eject")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return b("login_logout")}return c}()})]})]})})}return f}()},5485:function(w,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginScreen=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,i=h.loginState,c=h.isAI,m=h.isRobot,d=h.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:i.id?i.id:"----------",ml:"0.5rem",onClick:function(){function u(){return b("login_insert")}return u}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!i.id,content:"Login",onClick:function(){function u(){return b("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 b("login_login",{login_type:2})}return u}()}),!!m&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function u(){return b("login_login",{login_type:3})}return u}()}),!!d&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function u(){return b("login_login",{login_type:4})}return u}()})]})})})}return f}()},62411:function(w,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(89005),a=n(36036),t=n(15964),o=r.Operating=function(){function f(V){var k=V.operating,S=V.name;if(k)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",S," is processing..."]})})})}return f}();o.propTypes={operating:t.bool,name:t.string}},13545:function(w,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=r.Signaler=function(){function V(k,S){var b=(0,t.useBackend)(S),h=b.act,i=k.data,c=i.code,m=i.frequency,d=i.minFrequency,u=i.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:d/10,maxValue:u/10,value:m/10,format:function(){function s(l){return(0,a.toFixed)(l,1)}return s}(),width:"80px",onDrag:function(){function s(l,C){return h("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(l,C){return h("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 h("signal")}return s}()})]})}return V}()},41984:function(w,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(89005),a=n(72253),t=n(25328),o=n(64795),f=n(88510),V=n(36036),k=r.SimpleRecords=function(){function h(i,c){var m=i.data.records;return(0,e.createComponentVNode)(2,V.Box,{children:m?(0,e.createComponentVNode)(2,b,{data:i.data,recordType:i.recordType}):(0,e.createComponentVNode)(2,S,{data:i.data})})}return h}(),S=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=i.data.recordsList,s=(0,a.useLocalState)(c,"searchText",""),l=s[0],C=s[1],g=function(N,y){y===void 0&&(y="");var B=(0,t.createSearch)(y,function(I){return I.Name});return(0,o.flow)([(0,f.filter)(function(I){return I==null?void 0:I.Name}),y&&(0,f.filter)(B),(0,f.sortBy)(function(I){return I.Name})])(u)},v=g(u,l);return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function p(N,y){return C(y)}return p}()}),v.map(function(p){return(0,e.createComponentVNode)(2,V.Box,{children:(0,e.createComponentVNode)(2,V.Button,{mb:.5,content:p.Name,icon:"user",onClick:function(){function N(){return d("Records",{target:p.uid})}return N}()})},p)})]})},b=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=i.data.records,s=u.general,l=u.medical,C=u.security,g;switch(i.recordType){case"MED":g=(0,e.createComponentVNode)(2,V.Section,{level:2,title:"Medical Data",children:l?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Blood Type",children:l.blood_type}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Minor Disabilities",children:l.mi_dis}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:l.mi_dis_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Major Disabilities",children:l.ma_dis}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:l.ma_dis_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Allergies",children:l.alg}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:l.alg_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Current Diseases",children:l.cdi}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:l.cdi_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:l.notes})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":g=(0,e.createComponentVNode)(2,V.Section,{level:2,title:"Security Data",children:C?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Criminal Status",children:C.criminal}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Minor Crimes",children:C.mi_crim}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:C.mi_crim_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Major Crimes",children:C.ma_crim}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:C.ma_crim_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:C.notes})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createComponentVNode)(2,V.Section,{title:"General Data",children:s?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Name",children:s.name}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:s.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:s.species}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:s.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:s.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"General record lost!"})}),g]})}},22091:function(w,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.TemporaryNotice=function(){function f(V,k){var S,b=(0,a.useBackend)(k),h=b.act,i=b.data,c=i.temp;if(c){var m=(S={},S[c.style]=!0,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},m,{children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:c.text}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",onClick:function(){function d(){return h("cleartemp")}return d}()})})]})})))}}return f}()},80818:function(w,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pai_atmosphere=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:h.app_data})}return f}()},23903:function(w,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_bioscan=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,i=h.app_data,c=i.holder,m=i.dead,d=i.health,u=i.brute,s=i.oxy,l=i.tox,C=i.burn,g=i.temp;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:m?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:d/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l})}),(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 f}()},64988:function(w,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_directives=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,i=h.app_data,c=i.master,m=i.dna,d=i.prime,u=i.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+m+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function s(){return b("getdna")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children: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 f}()},13813:function(w,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_doorjack=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,i=h.app_data,c=i.cable,m=i.machine,d=i.inprogress,u=i.progress,s=i.aborted,l;m?l=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):l=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function g(){return b("cable")}return g}()});var C;return m&&(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}),d?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function g(){return b("cancel")}return g}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function g(){return b("jack")}return g}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:l}),C]})}return f}()},66025:function(w,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_main_menu=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,i=h.app_data,c=i.available_software,m=i.installed_software,d=i.installed_toggles,u=i.available_ram,s=i.emotions,l=i.current_emotion,C=i.speech_verbs,g=i.current_speech_verb,v=i.available_chassises,p=i.current_chassis,N=[];return m.map(function(y){return N[y.key]=y.name}),d.map(function(y){return N[y.key]=y.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(y){return!N[y.key]}).map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name+" ("+y.cost+")",icon:y.icon,disabled:y.cost>u,onClick:function(){function B(){return b("purchaseSoftware",{key:y.key})}return B}()},y.key)}),c.filter(function(y){return!N[y.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[m.filter(function(y){return y.key!=="mainmenu"}).map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,icon:y.icon,onClick:function(){function B(){return b("startSoftware",{software_key:y.key})}return B}()},y.key)}),m.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[d.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,icon:y.icon,selected:y.active,onClick:function(){function B(){return b("setToggle",{toggle_key:y.key})}return B}()},y.key)}),d.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:s.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,selected:y.id===l,onClick:function(){function B(){return b("setEmotion",{emotion:y.id})}return B}()},y.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Speaking State",children:C.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,selected:y.name===g,onClick:function(){function B(){return b("setSpeechStyle",{speech_state:y.name})}return B}()},y.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Chassis Type",children:v.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,selected:y.icon===p,onClick:function(){function B(){return b("setChassis",{chassis_to_change:y.icon})}return B}()},y.id)})})]})})}return f}()},2983:function(w,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pai_manifest=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:h.app_data})}return f}()},40758:function(w,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_medrecords=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:b.app_data,recordType:"MED"})}return f}()},98599:function(w,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(89005),a=n(72253),t=n(77595),o=r.pai_messenger=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,i=h.app_data.active_convo;return i?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:h.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:h.app_data})}return f}()},50775:function(w,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(89005),a=n(72253),t=n(44879),o=n(36036),f=r.pai_radio=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,i=b.data,c=i.app_data,m=c.minFrequency,d=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:m/10,maxValue:d/10,value:u/10,format:function(){function l(C){return(0,t.toFixed)(C,1)}return l}(),onChange:function(){function l(C,g){return h("freq",{freq:g})}return l}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function l(){return h("freq",{freq:"145.9"})}return l}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return h("toggleBroadcast")}return l}(),selected:s,content:s?"Enabled":"Disabled"})})]})}return V}()},48623:function(w,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_secrecords=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:b.app_data,recordType:"SEC"})}return f}()},47297:function(w,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pai_signaler=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:h.app_data})}return f}()},78532:function(w,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pda_atmos_scan=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:b})}return f}()},40253:function(w,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_janitor=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,i=h.janitor,c=i.user_loc,m=i.mops,d=i.buckets,u=i.cleanbots,s=i.carts,l=i.janicarts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:m.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - ",C.status]},C)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:d.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)})}),l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janicart Locations",children:l.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.direction_from_user,")"]},C)})})]})}return f}()},58293:function(w,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=r.pda_main_menu=function(){function V(k,S){var b=(0,t.useBackend)(S),h=b.act,i=b.data,c=i.owner,m=i.ownjob,d=i.idInserted,u=i.categories,s=i.pai,l=i.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",m]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!d,onClick:function(){function C(){return h("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=i.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 l?v.notify_icon:v.icon,iconSpin:v.uid in l,color:v.uid in l?"red":"transparent",content:v.name,onClick:function(){function p(){return h("StartProgram",{program:v.uid})}return p}()},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 h("pai",{option:1})}return C}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function C(){return h("pai",{option:2})}return C}()})]})})]})}return V}()},58059:function(w,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pda_manifest=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return f}()},18147:function(w,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_medical=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:b,recordType:"MED"})}return f}()},77595:function(w,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),f=r.pda_messenger=function(){function b(h,i){var c=(0,t.useBackend)(i),m=c.act,d=c.data,u=d.active_convo;return u?(0,e.createComponentVNode)(2,V,{data:d}):(0,e.createComponentVNode)(2,k,{data:d})}return b}(),V=r.ActiveConversation=function(){function b(h,i){var c=(0,t.useBackend)(i),m=c.act,d=h.data,u=d.convo_name,s=d.convo_job,l=d.messages,C=d.active_convo,g=(0,t.useLocalState)(i,"clipboardMode",!1),v=g[0],p=g[1],N=(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 y(){return p(!v)}return y}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function y(){return m("Message",{target:C})}return y}(),content:"Reply"})],4),children:(0,a.filter)(function(y){return y.target===C})(l).map(function(y,B){return(0,e.createComponentVNode)(2,o.Box,{textAlign:y.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:y.sent?"#4d9121":"#cd7a0d",position:"absolute",left:y.sent?null:"0px",right:y.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:y.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:y.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:y.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[y.sent?"You:":"Them:"," ",y.message]})]},B)})});return v&&(N=(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 y(){return p(!v)}return y}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function y(){return m("Message",{target:C})}return y}(),content:"Reply"})],4),children:(0,a.filter)(function(y){return y.target===C})(l).map(function(y,B){return(0,e.createComponentVNode)(2,o.Box,{color:y.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[y.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:y.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 y(){return m("Clear",{option:"Convo"})}return y}()})})})}),N]})}return b}(),k=r.MessengerList=function(){function b(h,i){var c=(0,t.useBackend)(i),m=c.act,d=h.data,u=d.convopdas,s=d.pdas,l=d.charges,C=d.silent,g=d.toff,v=d.ringtone_list,p=d.ringtone,N=(0,t.useLocalState)(i,"searchTerm",""),y=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!C,icon:C?"volume-mute":"volume-up",onClick:function(){function I(){return m("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 m("Toggle Messenger")}return I}(),children:["Messenger: ",g?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function I(){return m("Clear",{option:"All"})}return I}(),children:"Delete All Conversations"}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function I(){return m("Ringtone")}return I}(),children:"Set Custom Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:p,width:"100px",options:Object.keys(v),onSelected:function(){function I(L){return m("Available_Ringtones",{selected_ringtone:L})}return I}()})})]})}),!g&&(0,e.createComponentVNode)(2,o.Box,{children:[!!l&&(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:[l," 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:y,onInput:function(){function I(L,T){B(T)}return I}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,S,{title:"Current Conversations",data:d,pdas:u,msgAct:"Select Conversation",searchTerm:y}),(0,e.createComponentVNode)(2,S,{title:"Other PDAs",pdas:s,msgAct:"Message",data:d,searchTerm:y})]})}return b}(),S=function(h,i){var c=(0,t.useBackend)(i),m=c.act,d=h.data,u=h.pdas,s=h.title,l=h.msgAct,C=h.searchTerm,g=d.charges,v=d.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(p){return p.Name.toLowerCase().includes(C.toLowerCase())}).map(function(p){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:p.Name,onClick:function(){function N(){return m(l,{target:p.uid})}return N}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!g&&v.map(function(N){return(0,e.createComponentVNode)(2,o.Button,{icon:N.icon,content:N.name,onClick:function(){function y(){return m("Messenger Plugin",{plugin:N.uid,target:p.uid})}return y}()},N.uid)})})]},p.uid)})})}},24635:function(w,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_mule=function(){function k(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.mulebot,d=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:d?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,f)})}return k}(),f=function(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.mulebot,d=m.bots;return d.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 i("control",{bot:u.uid})}return s}()})},u.Name)})},V=function(S,b){var h=(0,a.useBackend)(b),i=h.act,c=h.data,m=c.mulebot,d=m.botstatus,u=m.active,s=d.mode,l=d.loca,C=d.load,g=d.powr,v=d.dest,p=d.home,N=d.retn,y=d.pick,B;switch(s){case 0:B="Ready";break;case 1:B="Loading/Unloading";break;case 2:case 12:B="Navigating to delivery location";break;case 3:B="Navigating to Home";break;case 4:B="Waiting for clear path";break;case 5:case 6:B="Calculating navigation path";break;case 7:B="Unable to locate destination";break;default:B=s;break}return(0,e.createComponentVNode)(2,t.Section,{title: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:l}),(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:p}),(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 i("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 i("unload")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:y?"Yes":"No",selected:y,onClick:function(){function I(){return i("set_pickup_type",{autopick:y?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Yes":"No",selected:N,onClick:function(){function I(){return i("set_auto_return",{autoret:N?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function I(){return i("stop")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function I(){return i("start")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function I(){return i("home")}return I}()})]})]})]})}},23734:function(w,r,n){"use strict";r.__esModule=!0,r.pda_nanobank=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=r.pda_nanobank=function(){function d(u,s){var l=(0,t.useBackend)(s),C=l.act,g=l.data,v=g.logged_in,p=g.owner_name,N=g.money;return v?(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:p}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:["$",N]})]})}),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k)]})],4):(0,e.createComponentVNode)(2,i)}return d}(),V=function(u,s){var l=(0,t.useBackend)(s),C=l.data,g=C.is_premium,v=(0,t.useLocalState)(s,"tabIndex",1),p=v[0],N=v[1];return(0,e.createComponentVNode)(2,o.Tabs,{mt:2,children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===1,onClick:function(){function y(){return N(1)}return y}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transfers"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===2,onClick:function(){function y(){return N(2)}return y}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Account Actions"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===3,onClick:function(){function y(){return N(3)}return y}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transaction History"]}),!!g&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===4,onClick:function(){function y(){return N(4)}return y}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Supply Orders"]})]})},k=function(u,s){var l=(0,t.useLocalState)(s,"tabIndex",1),C=l[0],g=(0,t.useBackend)(s),v=g.data,p=v.db_status;if(!p)return(0,e.createComponentVNode)(2,o.Box,{children:"Account Database Connection Severed"});switch(C){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,b);case 3:return(0,e.createComponentVNode)(2,h);case 4:return(0,e.createComponentVNode)(2,m);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},S=function(u,s){var l,C=(0,t.useBackend)(s),g=C.act,v=C.data,p=v.requests,N=v.available_accounts,y=v.money,B=(0,t.useLocalState)(s,"selectedAccount"),I=B[0],L=B[1],T=(0,t.useLocalState)(s,"transferAmount"),A=T[0],x=T[1],E=(0,t.useLocalState)(s,"searchText",""),M=E[0],j=E[1],O=[];return N.map(function(R){return O[R.name]=R.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 R(D,W){return j(W)}return R}()}),(0,e.createComponentVNode)(2,o.Dropdown,{mt:.6,width:"190px",options:N.filter((0,a.createSearch)(M,function(R){return R.name})).map(function(R){return R.name}),selected:(l=N.filter(function(R){return R.UID===I})[0])==null?void 0:l.name,onSelected:function(){function R(D){return L(O[D])}return R}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Amount",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Up to 5000",onInput:function(){function R(D,W){return x(W)}return R}()})}),(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:y0&&l.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 f}()},17617:function(w,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(24826),f=["className","theme","children"],V=["className","scrollable","children"];/** + */var V=(0,t.createLogger)("hotkeys"),k={},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],y={},h=function(l){if(l===16)return"Shift";if(l===17)return"Ctrl";if(l===18)return"Alt";if(l===33)return"Northeast";if(l===34)return"Southeast";if(l===35)return"Southwest";if(l===36)return"Northwest";if(l===37)return"West";if(l===38)return"North";if(l===39)return"East";if(l===40)return"South";if(l===45)return"Insert";if(l===46)return"Delete";if(l>=48&&l<=57||l>=65&&l<=90)return String.fromCharCode(l);if(l>=96&&l<=105)return"Numpad"+(l-96);if(l>=112&&l<=123)return"F"+(l-111);if(l===188)return",";if(l===189)return"-";if(l===190)return"."},i=function(l){var C=String(l);if(C==="Ctrl+F5"||C==="Ctrl+R"){location.reload();return}if(C!=="Ctrl+F"&&!(l.event.defaultPrevented||l.isModifierKey()||S.includes(l.code))){C==="F5"&&(l.event.preventDefault(),l.event.returnValue=!1);var g=h(l.code);if(g){var v=k[g];if(v)return V.debug("macro",v),Byond.command(v);if(l.isDown()&&!y[g]){y[g]=!0;var p='Key_Down "'+g+'"';return V.debug(p),Byond.command(p)}if(l.isUp()&&y[g]){y[g]=!1;var N='Key_Up "'+g+'"';return V.debug(N),Byond.command(N)}}}},c=r.acquireHotKey=function(){function s(l){S.push(l)}return s}(),m=r.releaseHotKey=function(){function s(l){var C=S.indexOf(l);C>=0&&S.splice(C,1)}return s}(),d=r.releaseHeldKeys=function(){function s(){for(var l=0,C=Object.keys(y);l=75?c="green":i.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:i.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:i.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,i.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:!!i.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:i.laws.map(function(m,d){return(0,e.createComponentVNode)(2,t.Box,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:i.wireless?"check":"times",content:i.wireless?"Enabled":"Disabled",color:i.wireless?"green":"red",onClick:function(){function m(){return h("wireless")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:i.radio?"check":"times",content:i.radio?"Enabled":"Disabled",color:i.radio?"green":"red",onClick:function(){function m(){return h("radio")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wipe",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:i.flushing||i.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function m(){return h("wipe")}return m}()})})]})})})]})})})}return V}()},39454:function(w,r,n){"use strict";r.__esModule=!0,r.AIFixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AIFixer=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data;if(i.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;(i.stat===2||i.stat===null)&&(c=!1);var m=null;i.integrity>=75?m="green":i.integrity>=25?m="yellow":m="red";var d=!0;return i.integrity>=100&&i.stat!==2&&(d=!1),(0,e.createComponentVNode)(2,o.Window,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:i.occupant,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:m,value:i.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:!!i.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:i.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:i.wireless?"times":"check",content:i.wireless?"Disabled":"Enabled",color:i.wireless?"red":"green",onClick:function(){function u(){return h("wireless")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.radio?"times":"check",content:i.radio?"Disabled":"Enabled",color:i.radio?"red":"green",onClick:function(){function u(){return h("radio")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!d||i.active,content:!d||i.active?"Already Repaired":"Repair",onClick:function(){function u(){return h("fix")}return u}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:i.active?"Reconstruction in progress.":""})]})})]})})})}return V}()},88422:function(w,r,n){"use strict";r.__esModule=!0,r.APC=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(195),V=r.APC=function(){function h(i,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,y)})})}return h}(),k={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"}},y=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.locked&&!u.siliconUser,l=u.normallyLocked,C=k[u.externalPower]||k[0],g=k[u.chargingStatus]||k[0],v=u.powerChannels||[],p=S[u.malfStatus]||S[0],N=u.powerCellStatus/100;return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main Breaker",color: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 d("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:N})}),(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 d("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 d("channel",B.auto)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!s&&b.status===2,disabled:s,onClick:function(){function I(){return d("channel",B.on)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!s&&b.status===0,disabled:s,onClick:function(){function I(){return d("channel",B.off)}return I}()})],4),children:[b.powerLoad," W"]},b.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[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:p.icon,content:p.content,color:"bad",onClick:function(){function b(){return d(p.action)}return b}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function b(){return d("overload")}return b}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.4,icon:u.coverLocked?"lock":"unlock",content:u.coverLocked?"Engaged":"Disengaged",disabled:s,onClick:function(){function b(){return d("cover")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:u.emergencyLights?"Enabled":"Disabled",disabled:s,onClick:function(){function b(){return d("emergency_lighting")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:u.nightshiftLights?"Enabled":"Disabled",onClick:function(){function b(){return d("toggle_nightshift")}return b}()})})]})})],4)}},99660:function(w,r,n){"use strict";r.__esModule=!0,r.ATM=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ATM=function(){function m(d,u){var s=(0,a.useBackend)(u),l=s.act,C=s.data,g=C.view_screen,v=C.authenticated_account,p=C.ticks_left_locked_down,N=C.linked_db,b;if(p>0)b=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(!N)b=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});else if(v)switch(g){case 1:b=(0,e.createComponentVNode)(2,k);break;case 2:b=(0,e.createComponentVNode)(2,S);break;case 3:b=(0,e.createComponentVNode)(2,i);break;default:b=(0,e.createComponentVNode)(2,y)}else b=(0,e.createComponentVNode)(2,h);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Section,{children:b})]})})}return m}(),V=function(d,u){var s=(0,a.useBackend)(u),l=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 p(){return l("insert_card")}return p}()})})})]})},k=function(d,u){var s=(0,a.useBackend)(u),l=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 l("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 l("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(d,u){var s=(0,a.useBackend)(u),l=s.act,C=s.data,g=(0,a.useLocalState)(u,"targetAccNumber",0),v=g[0],p=g[1],N=(0,a.useLocalState)(u,"fundsAmount",0),b=N[0],B=N[1],I=(0,a.useLocalState)(u,"purpose",0),L=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 p(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 l("transfer",{target_acc_number:v,funds_amount:b,purpose:L})}return x}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},y=function(d,u){var s=(0,a.useBackend)(u),l=s.act,C=s.data,g=(0,a.useLocalState)(u,"fundsAmount",0),v=g[0],p=g[1],N=C.owner_name,b=C.money;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function B(){return l("logout")}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",b]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function B(I,L){return p(L)}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function B(){return l("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 l("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 l("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 l("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 l("balance_statement")}return B}()})})]})],4)},h=function(d,u){var s=(0,a.useBackend)(u),l=s.act,C=s.data,g=(0,a.useLocalState)(u,"accountID",null),v=g[0],p=g[1],N=(0,a.useLocalState)(u,"accountPin",null),b=N[0],B=N[1],I=C.machine_id,L=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 p(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 l("attempt_auth",{account_num:v,account_pin:b})}return T}()})})]})})},i=function(d,u){var s=(0,a.useBackend)(u),l=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(d,u){var s=(0,a.useBackend)(u),l=s.act,C=s.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function g(){return l("view_screen",{view_screen:0})}return g}()})}},86423:function(w,r,n){"use strict";r.__esModule=!0,r.AccountsUplinkTerminal=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(36352),V=n(98595),k=n(321),S=n(5485),y=r.AccountsUplinkTerminal=function(){function C(g,v){var p=(0,t.useBackend)(v),N=p.act,b=p.data,B=b.loginState,I=b.currentPage,L;if(B.logged_in)I===1?L=(0,e.createComponentVNode)(2,i):I===2?L=(0,e.createComponentVNode)(2,s):I===3&&(L=(0,e.createComponentVNode)(2,l));else return(0,e.createComponentVNode)(2,V.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S.LoginScreen)})})});return(0,e.createComponentVNode)(2,V.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.LoginInfo),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:L})]})})})}return C}(),h=function(g,v){var p=(0,t.useBackend)(v),N=p.data,b=(0,t.useLocalState)(v,"tabIndex",0),B=b[0],I=b[1],L=N.login_state;return(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,mb:1,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===0,onClick:function(){function T(){return I(0)}return T}(),children:"User Accounts"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===1,onClick:function(){function T(){return I(1)}return T}(),children:"Department Accounts"})]})})})},i=function(g,v){var p=(0,t.useLocalState)(v,"tabIndex",0),N=p[0];switch(N){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},c=function(g,v){var p=(0,t.useBackend)(v),N=p.act,b=p.data,B=b.accounts,I=(0,t.useLocalState)(v,"searchText",""),L=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),j=P[0],O=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,d,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,d,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,d,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,d,{id:"money",children:"Account Balance"})]}),B.filter((0,a.createSearch)(L,function(R){return R.owner_name+"|"+R.account_number+"|"+R.suspended+"|"+R.money})).sort(function(R,D){var W=j?1:-1;return R[x].localeCompare(D[x])*W}).map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+R.suspended,onClick:function(){function D(){return N("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)})]})})})]})},m=function(g,v){var p=(0,t.useBackend)(v),N=p.act,b=p.data,B=b.department_accounts;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,f.TableCell,{children:"Department Name"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Number"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Status"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Balance"})]}),B.map(function(I){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+I.suspended,onClick:function(){function L(){return N("view_account_detail",{account_num:I.account_number})}return L}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wallet"})," ",I.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",I.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.money})]},I.account_number)})]})})})})},d=function(g,v){var p=(0,t.useLocalState)(v,"sortId","name"),N=p[0],b=p[1],B=(0,t.useLocalState)(v,"sortOrder",!0),I=B[0],L=B[1],T=g.id,A=g.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:N!==T&&"transparent",width:"100%",onClick:function(){function x(){N===T?L(!I):(b(T),L(!0))}return x}(),children:[A,N===T&&(0,e.createComponentVNode)(2,o.Icon,{name:I?"sort-up":"sort-down",ml:"0.25rem;"})]})})},u=function(g,v){var p=(0,t.useBackend)(v),N=p.act,b=p.data,B=b.is_printing,I=(0,t.useLocalState)(v,"searchText",""),L=I[0],T=I[1];return(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"New Account",icon:"plus",onClick:function(){function A(){return N("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 p=(0,t.useBackend)(v),N=p.act,b=p.data,B=b.account_number,I=b.owner_name,L=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 N("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 N("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:L}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:T?"red":"green",children:[T?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:T?"Unsuspend":"Suspend",icon:T?"unlock":"lock",onClick:function(){function P(){return N("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)})]})})})]})},l=function(g,v){var p=(0,t.useBackend)(v),N=p.act,b=p.data,B=(0,t.useLocalState)(v,"accName",""),I=B[0],L=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 N("back")}return E}()}),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Name Here",onChange:function(){function E(P,j){return L(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(P,j){return x(j)}return E}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function E(){return N("finalise_create_account",{holder_name:I,starting_funds:A})}return E}()})]})}},56793:function(w,r,n){"use strict";r.__esModule=!0,r.AiAirlock=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},V=r.AiAirlock=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=f[c.power.main]||f[0],d=f[c.power.backup]||f[0],u=f[c.shock]||f[0];return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main",color:m.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){function s(){return i("disrupt-main")}return s}()}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"["+c.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:d.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){function s(){return i("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 i("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 i("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 i("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 i("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 i("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 i("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 i("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 i("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 i("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 i("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 k}()},72475:function(w,r,n){"use strict";r.__esModule=!0,r.AirAlarm=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(195),V=r.AirAlarm=function(){function u(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.locked;return(0,e.createComponentVNode)(2,o.Window,{width:570,height:p?310:755,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,S),!p&&(0,e.createFragment)([(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,h)],4)]})})}return u}(),k=function(s){return s===0?"green":s===1?"orange":"red"},S=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.air,N=v.mode,b=v.atmos_alarm,B=v.locked,I=v.alarmActivated,L=v.rcon,T=v.target_temp,A;return p.danger.overall===0?b===0?A="Optimal":A="Caution: Atmos alert in area":p.danger.overall===1?A="Caution":A="DANGER: Internals Required",(0,e.createComponentVNode)(2,t.Section,{title:"Air Status",children:p?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:k(p.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.pressure})," kPa",!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:N===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:N===3,icon:"exclamation-triangle",onClick:function(){function x(){return g("mode",{mode:N===3?1:3})}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.oxygen/100,fractionDigits:"1",color:k(p.danger.oxygen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.nitrogen/100,fractionDigits:"1",color:k(p.danger.nitrogen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.co2/100,fractionDigits:"1",color:k(p.danger.co2)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxins",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.plasma/100,fractionDigits:"1",color:k(p.danger.plasma)})}),p.contents.n2o>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.n2o/100,fractionDigits:"1",color:k(p.danger.n2o)})}),p.contents.other>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.other/100,fractionDigits:"1",color:k(p.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:k(p.danger.temperature),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.temperature})," K / ",(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.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:p.thermostat_state?"On":"Off",selected:p.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:k(p.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:L===1,onClick:function(){function x(){return g("set_rcon",{rcon:1})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:L===2,onClick:function(){function x(){return g("set_rcon",{rcon:2})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:L===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!"})})},y=function(s,l){var C=(0,a.useLocalState)(l,"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 p(){return v(0)}return p}(),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 p(){return v(1)}return p}(),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 p(){return v(2)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog"})," Mode"]},"Mode"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===3,onClick:function(){function p(){return v(3)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},h=function(s,l){var C=(0,a.useLocalState)(l,"tabIndex",0),g=C[0],v=C[1];switch(g){case 0:return(0,e.createComponentVNode)(2,i);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,d);default:return"WE SHOULDN'T BE HERE!"}},i=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.vents;return p.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:N.power?"On":"Off",selected:N.power,icon:"power-off",onClick:function(){function b(){return g("command",{cmd:"power",val:!N.power,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:N.direction?"Blowing":"Siphoning",icon:N.direction?"sign-out-alt":"sign-in-alt",onClick:function(){function b(){return g("command",{cmd:"direction",val:!N.direction,id_tag:N.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:N.checks===1,onClick:function(){function b(){return g("command",{cmd:"checks",val:1,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:N.checks===2,onClick:function(){function b(){return g("command",{cmd:"checks",val:2,id_tag:N.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:N.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function b(){return g("command",{cmd:"set_external_pressure",id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function b(){return g("command",{cmd:"set_external_pressure",val:101.325,id_tag:N.id_tag})}return b}()})]})]})},N.name)})},c=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.scrubbers;return p.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:N.power?"On":"Off",selected:N.power,icon:"power-off",onClick:function(){function b(){return g("command",{cmd:"power",val:!N.power,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:N.scrubbing?"Scrubbing":"Siphoning",icon:N.scrubbing?"filter":"sign-in-alt",onClick:function(){function b(){return g("command",{cmd:"scrubbing",val:!N.scrubbing,id_tag:N.id_tag})}return b}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:N.widenet?"Extended":"Normal",selected:N.widenet,icon:"expand-arrows-alt",onClick:function(){function b(){return g("command",{cmd:"widenet",val:!N.widenet,id_tag:N.id_tag})}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:N.filter_co2,onClick:function(){function b(){return g("command",{cmd:"co2_scrub",val:!N.filter_co2,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:N.filter_toxins,onClick:function(){function b(){return g("command",{cmd:"tox_scrub",val:!N.filter_toxins,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:N.filter_n2o,onClick:function(){function b(){return g("command",{cmd:"n2o_scrub",val:!N.filter_n2o,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:N.filter_o2,onClick:function(){function b(){return g("command",{cmd:"o2_scrub",val:!N.filter_o2,id_tag:N.id_tag})}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:N.filter_n2,onClick:function(){function b(){return g("command",{cmd:"n2_scrub",val:!N.filter_n2,id_tag:N.id_tag})}return b}()})]})]})},N.name)})},m=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.modes,N=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:p.map(function(L){return(!L.emagonly||L.emagonly&&!!b)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===B,onClick:function(){function T(){return g("mode",{mode:L.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"System Presets",children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,e.createComponentVNode)(2,t.Table,{mt:1,children:N.map(function(L){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===I,onClick:function(){function T(){return g("preset",{preset:L.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})]})],4)},d=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=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"})]}),p.map(function(N){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:N.name}),N.settings.map(function(b){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:b.selected===-1?"Off":b.selected,onClick:function(){function B(){return g("command",{cmd:"set_threshold",env:b.env,var:b.val})}return B}()})},b.val)})]},N.name)})]})})}},12333:function(w,r,n){"use strict";r.__esModule=!0,r.AirlockAccessController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AirlockAccessController=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.exterior_status,m=i.interior_status,d=i.processing,u,s;return c==="open"?u=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:d,onClick:function(){function l(){return h("force_ext")}return l}()}):u=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:d,onClick:function(){function l(){return h("cycle_ext_door")}return l}()}),m==="open"?s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:d,color:m==="open"?"red":d?"yellow":null,onClick:function(){function l(){return h("force_int")}return l}()}):s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:d,onClick:function(){function l(){return h("cycle_int_door")}return l}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:c==="closed"?"Locked":"Open"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Door Status",children:m==="closed"?"Locked":"Open"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.Box,{children:[u,s]})})]})})}return V}()},28736:function(w,r,n){"use strict";r.__esModule=!0,r.AirlockElectronics=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(49148),V=1,k=2,S=4,y=8,h=r.AirlockElectronics=function(){function m(d,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,i),(0,e.createComponentVNode)(2,c)]})})})}return m}(),i=function(d,u){var s=(0,a.useBackend)(u),l=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,onClick:function(){function v(){return l("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&k,onClick:function(){function v(){return l("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-right",content:"West",selected:g&y,onClick:function(){function v(){return l("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-down",content:"North",selected:g&V,onClick:function(){function v(){return l("unrestricted_access",{unres_dir:V})}return v}()})})]})]})})},c=function(d,u){var s=(0,a.useBackend)(u),l=s.act,C=s.data,g=C.selected_accesses,v=C.one_access,p=C.regions;return(0,e.createComponentVNode)(2,f.AccessList,{usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:v,content:"One",onClick:function(){function N(){return l("set_one_access",{access:"one"})}return N}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!v,content:"All",onClick:function(){function N(){return l("set_one_access",{access:"all"})}return N}()})],4),accesses:p,selectedList:g,accessMod:function(){function N(b){return l("set",{access:b})}return N}(),grantAll:function(){function N(){return l("grant_all")}return N}(),denyAll:function(){function N(){return l("clear_all")}return N}(),grantDep:function(){function N(b){return l("grant_region",{region:b})}return N}(),denyDep:function(){function N(b){return l("deny_region",{region:b})}return N}()})}},47365:function(w,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(89005),a=n(51057),t=n(72253),o=n(92986),f=n(36036),V=n(98595),k=-1,S=1,y=r.AlertModal=function(){function c(m,d){var u=(0,t.useBackend)(d),s=u.act,l=u.data,C=l.autofocus,g=l.buttons,v=g===void 0?[]:g,p=l.large_buttons,N=l.message,b=N===void 0?"":N,B=l.timeout,I=l.title,L=(0,t.useLocalState)(d,"selected",0),T=L[0],A=L[1],x=110+(b.length>30?Math.ceil(b.length/4):0)+(b.length&&p?5:0),E=325+(v.length>2?100:0),P=function(){function j(O){T===0&&O===k?A(v.length-1):T===v.length-1&&O===S?A(0):A(T+O)}return j}();return(0,e.createComponentVNode)(2,V.Window,{title:I,height:x,width:E,children:[!!B&&(0,e.createComponentVNode)(2,a.Loader,{value:B}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function j(O){var R=window.event?O.which:O.keyCode;R===o.KEY_SPACE||R===o.KEY_ENTER?s("choose",{choice:v[T]}):R===o.KEY_ESCAPE?s("cancel"):R===o.KEY_LEFT?(O.preventDefault(),P(k)):(R===o.KEY_TAB||R===o.KEY_RIGHT)&&(O.preventDefault(),P(S))}return j}(),children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:1,children:(0,e.createComponentVNode)(2,f.Box,{color:"label",overflow:"hidden",children:b})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:[!!C&&(0,e.createComponentVNode)(2,f.Autofocus),(0,e.createComponentVNode)(2,h,{selected:T})]})]})})})]})}return c}(),h=function(m,d){var u=(0,t.useBackend)(d),s=u.data,l=s.buttons,C=l===void 0?[]:l,g=s.large_buttons,v=s.swapped_buttons,p=m.selected;return(0,e.createComponentVNode)(2,f.Flex,{fill:!0,align:"center",direction:v?"row":"row-reverse",justify:"space-around",wrap:!0,children:C==null?void 0:C.map(function(N,b){return g&&C.length<3?(0,e.createComponentVNode)(2,f.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i,{button:N,id:b.toString(),selected:p===b})},b):(0,e.createComponentVNode)(2,f.Flex.Item,{grow:g?1:0,children:(0,e.createComponentVNode)(2,i,{button:N,id:b.toString(),selected:p===b})},b)})})},i=function(m,d){var u=(0,t.useBackend)(d),s=u.act,l=u.data,C=l.large_buttons,g=m.button,v=m.selected,p=g.length>7?"100%":7;return(0,e.createComponentVNode)(2,f.Button,{mx:C?1:0,pt:C?.33:0,content:g,fluid:!!C,onClick:function(){function N(){return s("choose",{choice:g})}return N}(),selected:v,textAlign:"center",height:!!C&&2,width:!C&&p})}},71824:function(w,r,n){"use strict";r.__esModule=!0,r.AppearanceChanger=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AppearanceChanger=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.change_race,d=c.species,u=c.specimen,s=c.change_gender,l=c.gender,C=c.change_eye_color,g=c.change_skin_tone,v=c.change_skin_color,p=c.change_head_accessory_color,N=c.change_hair_color,b=c.change_secondary_hair_color,B=c.change_facial_hair_color,I=c.change_secondary_facial_hair_color,L=c.change_head_marking_color,T=c.change_body_marking_color,A=c.change_tail_marking_color,x=c.change_head_accessory,E=c.head_accessory_styles,P=c.head_accessory_style,j=c.change_hair,O=c.hair_styles,R=c.hair_style,D=c.change_hair_gradient,W=c.change_facial_hair,U=c.facial_hair_styles,z=c.facial_hair_style,K=c.change_head_markings,$=c.head_marking_styles,Y=c.head_marking_style,J=c.change_body_markings,Z=c.body_marking_styles,le=c.body_marking_style,ne=c.change_tail_markings,me=c.tail_marking_styles,he=c.tail_marking_style,ye=c.change_body_accessory,te=c.body_accessory_styles,Q=c.body_accessory_style,oe=c.change_alt_head,fe=c.alt_head_styles,ie=c.alt_head_style,ue=!1;return(C||g||v||p||N||b||B||I||L||T||A)&&(ue=!0),(0,e.createComponentVNode)(2,o.Window,{width:800,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:d.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.specimen,selected:re.specimen===u,onClick:function(){function Se(){return i("race",{race:re.specimen})}return Se}()},re.specimen)})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:l==="male",onClick:function(){function re(){return i("gender",{gender:"male"})}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:l==="female",onClick:function(){function re(){return i("gender",{gender:"female"})}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:l==="plural",onClick:function(){function re(){return i("gender",{gender:"plural"})}return re}()})]}),!!ue&&(0,e.createComponentVNode)(2,V),!!x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:E.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.headaccessorystyle,selected:re.headaccessorystyle===P,onClick:function(){function Se(){return i("head_accessory",{head_accessory:re.headaccessorystyle})}return Se}()},re.headaccessorystyle)})}),!!j&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:O.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.hairstyle,selected:re.hairstyle===R,onClick:function(){function Se(){return i("hair",{hair:re.hairstyle})}return Se}()},re.hairstyle)})}),!!D&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function re(){return i("hair_gradient")}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function re(){return i("hair_gradient_offset")}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function re(){return i("hair_gradient_colour")}return re}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function re(){return i("hair_gradient_alpha")}return re}()})]}),!!W&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:U.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.facialhairstyle,selected:re.facialhairstyle===z,onClick:function(){function Se(){return i("facial_hair",{facial_hair:re.facialhairstyle})}return Se}()},re.facialhairstyle)})}),!!K&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:$.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.headmarkingstyle,selected:re.headmarkingstyle===Y,onClick:function(){function Se(){return i("head_marking",{head_marking:re.headmarkingstyle})}return Se}()},re.headmarkingstyle)})}),!!J&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:Z.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.bodymarkingstyle,selected:re.bodymarkingstyle===le,onClick:function(){function Se(){return i("body_marking",{body_marking:re.bodymarkingstyle})}return Se}()},re.bodymarkingstyle)})}),!!ne&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:me.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.tailmarkingstyle,selected:re.tailmarkingstyle===he,onClick:function(){function Se(){return i("tail_marking",{tail_marking:re.tailmarkingstyle})}return Se}()},re.tailmarkingstyle)})}),!!ye&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:te.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.bodyaccessorystyle,selected:re.bodyaccessorystyle===Q,onClick:function(){function Se(){return i("body_accessory",{body_accessory:re.bodyaccessorystyle})}return Se}()},re.bodyaccessorystyle)})}),!!oe&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:fe.map(function(re){return(0,e.createComponentVNode)(2,t.Button,{content:re.altheadstyle,selected:re.altheadstyle===ie,onClick:function(){function Se(){return i("alt_head",{alt_head:re.altheadstyle})}return Se}()},re.altheadstyle)})})]})})})}return k}(),V=function(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=[{key:"change_eye_color",text:"Change eye color",action:"eye_color"},{key:"change_skin_tone",text:"Change skin tone",action:"skin_tone"},{key:"change_skin_color",text:"Change skin color",action:"skin_color"},{key:"change_head_accessory_color",text:"Change head accessory color",action:"head_accessory_color"},{key:"change_hair_color",text:"Change hair color",action:"hair_color"},{key:"change_secondary_hair_color",text:"Change secondary hair color",action:"secondary_hair_color"},{key:"change_facial_hair_color",text:"Change facial hair color",action:"facial_hair_color"},{key:"change_secondary_facial_hair_color",text:"Change secondary facial hair color",action:"secondary_facial_hair_color"},{key:"change_head_marking_color",text:"Change head marking color",action:"head_marking_color"},{key:"change_body_marking_color",text:"Change body marking color",action:"body_marking_color"},{key:"change_tail_marking_color",text:"Change tail marking color",action:"tail_marking_color"}];return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Colors",children:m.map(function(d){return!!c[d.key]&&(0,e.createComponentVNode)(2,t.Button,{content:d.text,onClick:function(){function u(){return i(d.action)}return u}()},d.key)})})}},72285:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AtmosAlertConsole=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.priority||[],m=i.minor||[];return(0,e.createComponentVNode)(2,o.Window,{width:350,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Alarms",children:(0,e.createVNode)(1,"ul",null,[c.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),c.map(function(d){return(0,e.createVNode)(1,"li","color-bad",d,0,null,d)}),m.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),m.map(function(d){return(0,e.createVNode)(1,"li","color-average",d,0,null,d)})],0)})})})}return V}()},65805:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(36352),f=n(98595),V=function(c){if(c===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(c===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(c===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},k=function(c){if(c===0)return"green";if(c===1)return"orange";if(c===2)return"red"},S=r.AtmosControl=function(){function i(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=(0,a.useLocalState)(m,"tabIndex",0),C=l[0],g=l[1],v=function(){function p(N){switch(N){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,h);default:return"WE SHOULDN'T BE HERE!"}}return p}();return(0,e.createComponentVNode)(2,f.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,f.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 p(){return g(0)}return p}(),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 p(){return g(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),v(C)]})})})}return i}(),y=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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"})]}),l.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:V(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)})]})})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.data,s=(0,a.useLocalState)(m,"zoom",1),l=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(p){return C(p)}return v}(),children:g.filter(function(v){return v.z===2}).map(function(v){return(0,e.createComponentVNode)(2,t.NanoMap.Marker,{x:v.x,y:v.y,zoom:l,icon:"circle",tooltip:v.name,color:k(v.danger)},v.ref)})})})}},87816:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosFilter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AtmosFilter=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.on,m=i.pressure,d=i.max_pressure,u=i.filter_type,s=i.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 l(){return h("power")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function l(){return h("min_pressure")}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:d,value:m,onDrag:function(){function l(C,g){return h("custom_pressure",{pressure:g})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function l(){return h("max_pressure")}return l}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:s.map(function(l){return(0,e.createComponentVNode)(2,t.Button,{selected:l.gas_type===u,content:l.label,onClick:function(){function C(){return h("set_filter",{filter:l.gas_type})}return C}()},l.label)})})]})})})})}return V}()},52977:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AtmosMixer=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.on,d=c.pressure,u=c.max_pressure,s=c.node1_concentration,l=c.node2_concentration;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:m?"On":"Off",color:m?null:"red",selected:m,onClick:function(){function C(){return i("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:d===0,width:2.2,onClick:function(){function C(){return i("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:d,onDrag:function(){function C(g,v){return i("custom_pressure",{pressure:v})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:d===u,width:2.2,onClick:function(){function C(){return i("max_pressure")}return C}()})]}),(0,e.createComponentVNode)(2,V,{node_name:"Node 1",node_ref:s}),(0,e.createComponentVNode)(2,V,{node_name:"Node 2",node_ref:l})]})})})})}return k}(),V=function(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=S.node_name,d=S.node_ref;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:m,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:d===0,onClick:function(){function u(){return i("set_node",{node_name:m,concentration:(d-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:d,onChange:function(){function u(s,l){return i("set_node",{node_name:m,concentration:l/100})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:d===100,onClick:function(){function u(){return i("set_node",{node_name:m,concentration:(d+10)/100})}return u}()})]})}},11748:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosPump=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AtmosPump=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.on,m=i.rate,d=i.max_rate,u=i.gas_unit,s=i.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 l(){return h("power")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function l(){return h("min_rate")}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:u,width:6.1,lineHeight:1.5,step:s,minValue:0,maxValue:d,value:m,onDrag:function(){function l(C,g){return h("custom_rate",{rate:g})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function l(){return h("max_rate")}return l}()})]})]})})})})}return V}()},69321:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosTankControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(44879),f=n(76910),V=n(98595),k=r.AtmosTankControl=function(){function S(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.sensors||{};return(0,e.createComponentVNode)(2,V.Window,{width:400,height:400,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:[Object.keys(d).map(function(u){return(0,e.createComponentVNode)(2,t.Section,{title:u,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[Object.keys(d[u]).indexOf("pressure")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:[d[u].pressure," kpa"]}):"",Object.keys(d[u]).indexOf("temperature")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[d[u].temperature," K"]}):"",["o2","n2","plasma","co2","n2o"].map(function(s){return Object.keys(d[u]).indexOf(s)>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:(0,f.getGasLabel)(s),children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:(0,f.getGasColor)(s),value:d[u][s],minValue:0,maxValue:100,children:(0,o.toFixed)(d[u][s],2)+"%"})},(0,f.getGasLabel)(s)):""})]})},u)}),m.inlet&&Object.keys(m.inlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Inlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.inlet.on,"power-off"),content:m.inlet.on?"On":"Off",color:m.inlet.on?null:"red",selected:m.inlet.on,onClick:function(){function 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:m.inlet.rate,onDrag:function(){function u(s,l){return c("set_pressure",{dev:"inlet",val:l})}return u}()})})]})}):"",m.outlet&&Object.keys(m.outlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Outlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.outlet.on,"power-off"),content:m.outlet.on?"On":"Off",color:m.outlet.on?null:"red",selected:m.outlet.on,onClick:function(){function 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:m.outlet.rate,onDrag:function(){function u(s,l){return c("set_pressure",{dev:"outlet",val:l})}return u}()})})]})}):""]})})}return S}()},59179:function(w,r,n){"use strict";r.__esModule=!0,r.Autolathe=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),f=n(36036),V=n(98595),k=n(25328),S=function(i,c,m,d){return i.requirements===null?!0:!(i.requirements.metal*d>c||i.requirements.glass*d>m)},y=r.Autolathe=function(){function h(i,c){var m=(0,o.useBackend)(c),d=m.act,u=m.data,s=u.total_amount,l=u.max_amount,C=u.metal_amount,g=u.glass_amount,v=u.busyname,p=u.busyamt,N=u.showhacked,b=u.buildQueue,B=u.buildQueueLen,I=u.recipes,L=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,"),j=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),O=(0,o.useSharedState)(c,"search_text",""),R=O[0],D=O[1],W=(0,k.createSearch)(R,function($){return $.name}),U="";B>0&&(U=b.map(function($,Y){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"times",color:"transparent",content:b[Y][0],onClick:function(){function J(){return d("remove_from_queue",{remove_from_queue:b.indexOf($)+1})}return J}()},$)},Y)}));var z=(0,a.flow)([(0,t.filter)(function($){return($.category.indexOf(A)>-1||R)&&(u.showhacked||!$.hacked)}),R&&(0,t.filter)(W),(0,t.sortBy)(function($){return $.name.toLowerCase()})])(I),K="Build";return R?K="Results for: '"+R+"':":A&&(K="Build ("+A+")"),(0,e.createComponentVNode)(2,V.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"70%",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:K,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"150px",options:L,selected:A,onSelected:function(){function $(Y){return x(Y)}return $}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function $(Y,J){return D(J)}return $}(),mb:1}),z.map(function($){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+$.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===$.name&&u.busyamt===1,disabled:!S($,u.metal_amount,u.glass_amount,1),onClick:function(){function Y(){return d("make",{make:$.uid,multiplier:1})}return Y}(),children:(0,k.toTitleCase)($.name)}),$.max_multiplier>=10&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===$.name&&u.busyamt===10,disabled:!S($,u.metal_amount,u.glass_amount,10),onClick:function(){function Y(){return d("make",{make:$.uid,multiplier:10})}return Y}(),children:"10x"}),$.max_multiplier>=25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===$.name&&u.busyamt===25,disabled:!S($,u.metal_amount,u.glass_amount,25),onClick:function(){function Y(){return d("make",{make:$.uid,multiplier:25})}return Y}(),children:"25x"}),$.max_multiplier>25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===$.name&&u.busyamt===$.max_multiplier,disabled:!S($,u.metal_amount,u.glass_amount,$.max_multiplier),onClick:function(){function Y(){return d("make",{make:$.uid,multiplier:$.max_multiplier})}return Y}(),children:[$.max_multiplier,"x"]}),$.requirements&&Object.keys($.requirements).map(function(Y){return(0,k.toTitleCase)(Y)+": "+$.requirements[Y]}).join(", ")||(0,e.createComponentVNode)(2,f.Box,{children:"No resources required."})]},$.ref)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:[(0,e.createComponentVNode)(2,f.Section,{title:"Materials",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Metal",children:E}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Glass",children:P}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Total",children:j}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Storage",children:[u.fill_percent,"% Full"]})]})}),(0,e.createComponentVNode)(2,f.Section,{title:"Building",children:(0,e.createComponentVNode)(2,f.Box,{color:v?"green":"",children:v||"Nothing"})}),(0,e.createComponentVNode)(2,f.Section,{title:"Build Queue",height:23.7,children:[U,(0,e.createComponentVNode)(2,f.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!u.buildQueueLen,onClick:function(){function $(){return d("clear_queue")}return $}()})]})]})]})})})}return h}()},5147:function(w,r,n){"use strict";r.__esModule=!0,r.BioChipPad=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.BioChipPad=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.implant,m=i.contains_case,d=i.gps,u=i.tag,s=(0,a.useLocalState)(S,"newTag",u),l=s[0],C=s[1];return(0,e.createComponentVNode)(2,o.Window,{width:410,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Bio-chip Mini-Computer",buttons:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject Case",icon:"eject",disabled:!m,onClick:function(){function g(){return h("eject_case")}return g}()})}),children:c&&m?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+c.image,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),c.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:c.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:c.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:c.function}),!!d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,t.Input,{width:"5.5rem",value:u,onEnter:function(){function g(){return h("tag",{newtag:l})}return g}(),onInput:function(){function g(v,p){return C(p)}return g}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:u===l,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function g(){return h("tag",{newtag:l})}return g}(),children:(0,e.createComponentVNode)(2,t.Icon,{name:"pen"})})]})]})],4):m?(0,e.createComponentVNode)(2,t.Box,{children:"This bio-chip case has no implant!"}):(0,e.createComponentVNode)(2,t.Box,{children:"Please insert a bio-chip casing!"})})})})}return V}()},64273:function(w,r,n){"use strict";r.__esModule=!0,r.Biogenerator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(62411),V=r.Biogenerator=function(){function i(c,m){var d=(0,a.useBackend)(m),u=d.data,s=d.config,l=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,f.Operating,{operating:C,name:g}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,y),l?(0,e.createComponentVNode)(2,h):(0,e.createComponentVNode)(2,k)]})})})}return i}(),k=function(c,m){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The biogenerator is missing a container."]})})})},S=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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:l}),(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"})]})]})},y=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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:!l,tooltip:l?"":"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:!l,tooltip:l?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function g(){return u("eject_plants")}return g}()})})]})})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=s.biomass,C=s.product_list,g=(0,a.useSharedState)(m,"vendAmount",1),v=g[0],p=g[1],N=Object.entries(C).map(function(b,B){var I=Object.entries(b[1]).map(function(L){return L[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:b[0],open:!0,children:I.map(function(L){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",ml:"2px",children:L.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"20%",children:[L.cost*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:lu&&"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:[!!p&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Safety Protocols disabled"}),u>N&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"High Power, Instability likely"}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Input Management",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Level",children: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:d===0,tooltip:"Set to 0",onClick:function(){function I(){return i("set",{set_level:0})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:d===0,onClick:function(){function I(){return i("set",{set_level:u})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:d===0,tooltip:"Decrease one step",onClick:function(){function I(){return i("decrease")}return I}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{value:d,fillValue:u,minValue:0,color:B,maxValue:v,stepPixelSize:20,step:1,onChange:function(){function I(L,T){return i("set",{set_level:T})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:d===v,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function I(){return i("increase")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:d===v,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function I(){return i("set",{set_level:v})}return I}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Power Use",children:(0,f.formatPower)(C)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power for next level",children:(0,f.formatPower)(b)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,f.formatPower)(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:l})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:m.map(function(I){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:I.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:I.price>=s,onClick:function(){function L(){return i("vend",{target:I.key})}return L}(),content:I.price})},I.key)})})})})]})})]})})})}return k}()},33758:function(w,r,n){"use strict";r.__esModule=!0,r.BodyScanner=void 0;var e=n(89005),a=n(44879),t=n(25328),o=n(72253),f=n(36036),V=n(98595),k=[["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."]],y=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Cellular","cloneLoss"],["Burn","fireLoss"],["Inebriation","drunkenness"]],h={average:[.25,.5],bad:[.5,1/0]},i=function(B,I){for(var L=[],T=0;T0?B.filter(function(I){return!!I}).reduce(function(I,L){return(0,e.createFragment)([I,(0,e.createComponentVNode)(2,f.Box,{children:L},L)],0)},null):null},m=function(B){if(B>100){if(B<300)return"mild infection";if(B<400)return"mild infection+";if(B<500)return"mild infection++";if(B<700)return"acute infection";if(B<800)return"acute infection+";if(B<900)return"acute infection++";if(B>=900)return"septic"}return""},d=r.BodyScanner=function(){function b(B,I){var L=(0,o.useBackend)(I),T=L.data,A=T.occupied,x=T.occupant,E=x===void 0?{}:x,P=A?(0,e.createComponentVNode)(2,u,{occupant:E}):(0,e.createComponentVNode)(2,N);return(0,e.createComponentVNode)(2,V.Window,{width:700,height:600,title:"Body Scanner",children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:P})})}return b}(),u=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,s,{occupant:I}),(0,e.createComponentVNode)(2,l,{occupant:I}),(0,e.createComponentVNode)(2,C,{occupant:I}),(0,e.createComponentVNode)(2,v,{organs:I.extOrgan}),(0,e.createComponentVNode)(2,p,{organs:I.intOrgan})]})},s=function(B,I){var L=(0,o.useBackend)(I),T=L.act,A=L.data,x=A.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Button,{icon:"print",onClick:function(){function E(){return T("print_p")}return E}(),children:"Print Report"}),(0,e.createComponentVNode)(2,f.Button,{icon:"user-slash",onClick:function(){function E(){return T("ejectify")}return E}(),children:"Eject"})],4),children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.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,f.LabeledList.Item,{label:"Status",color:k[x.stat][0],children:k[x.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(x.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(x.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Implants",children:x.implant_len?(0,e.createComponentVNode)(2,f.Box,{children:x.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"None"})})]})})},l=function(B){var I=B.occupant;return I.hasBorer||I.blind||I.colourblind||I.nearsighted||I.hasVirus?(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:S.map(function(L,T){if(I[L[0]])return(0,e.createComponentVNode)(2,f.Box,{color:L[1],bold:L[1]==="bad",children:L[2]},L[2])})}):(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No abnormalities found."})})},C=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Damage",children:(0,e.createComponentVNode)(2,f.Table,{children:i(y,function(L,T,A){return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Table.Row,{color:"label",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:[L[0],":"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:!!T&&T[0]+":"})]}),(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:(0,e.createComponentVNode)(2,g,{value:I[L[1]],marginBottom:A100)&&"average"||!!I.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{m:-.5,min:"0",max:I.maxHealth,mt:L>0&&"0.5rem",value:I.totalLoss/I.maxHealth,ranges:h,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Tooltip,{content:"Total damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(I.totalLoss)]})}),!!I.bruteLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Brute damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,f.Icon,{name:"bone",mr:.5}),(0,a.round)(I.bruteLoss)]})}),!!I.fireLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Burn damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"fire",mr:.5}),(0,a.round)(I.fireLoss)]})})]})})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([!!I.internalBleeding&&"Internal bleeding",!!I.burnWound&&"Critical tissue burns",!!I.lungRuptured&&"Ruptured lung",!!I.status.broken&&I.status.broken,m(I.germ_level),!!I.open&&"Open incision"])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:[c([!!I.status.splinted&&(0,e.createComponentVNode)(2,f.Box,{color:"good",children:"Splinted"}),!!I.status.robotic&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),!!I.status.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})]),c(I.shrapnel.map(function(T){return T.known?T.name:"Unknown object"}))]})]})]},L)})]})})},p=function(B){return B.organs.length===0?(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Table,{children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",children:"Injuries"})]}),B.organs.map(function(I,L){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{color:!!I.dead&&"bad"||I.germ_level>100&&"average"||I.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:I.maxHealth,value:I.damage/I.maxHealth,mt:L>0&&"0.5rem",ranges:h,children:(0,a.round)(I.damage)})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([m(I.germ_level)])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:c([I.robotic===1&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),I.robotic===2&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Assisted"}),!!I.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})])})]})]},L)})]})})},N=function(){return(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},67963:function(w,r,n){"use strict";r.__esModule=!0,r.BookBinder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),V=n(39473),k=r.BookBinder=function(){function S(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.selectedbook,u=m.book_categories,s=[];return u.map(function(l){return s[l.description]=l.category_id}),(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Book Binder",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",width:"auto",content:"Print Book",onClick:function(){function l(){return c("print_book")}return l}()}),children:[(0,e.createComponentVNode)(2,t.Box,{ml:10,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:"1rem"}),"Book Binder"]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.title,onClick:function(){function l(){return(0,f.modalOpen)(h,"edit_selected_title")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.author,onClick:function(){function l(){return(0,f.modalOpen)(h,"edit_selected_author")}return l}()})}),(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(l){return l.description}),onSelected:function(){function l(C){return c("toggle_binder_category",{category_id:s[C]})}return l}()})})}),(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 l(){return(0,f.modalOpen)(h,"edit_selected_summary")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:d.summary})]}),(0,e.createVNode)(1,"br"),u.filter(function(l){return d.categories.includes(l.category_id)}).map(function(l){return(0,e.createComponentVNode)(2,t.Button,{content:l.description,selected:!0,icon:"unlink",onClick:function(){function C(){return c("toggle_binder_category",{category_id:l.category_id})}return C}()},l.category_id)})]})})]})})})]})}return S}()},61925:function(w,r,n){"use strict";r.__esModule=!0,r.BotCall=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(i){var c=[{modes:[0],label:"Idle",color:"green"},{modes:[1,2,3],label:"Arresting",color:"yellow"},{modes:[4,5],label:"Patrolling",color:"average"},{modes:[9],label:"Moving",color:"average"},{modes:[6,11],label:"Responding",color:"green"},{modes:[12],label:"Delivering Cargo",color:"blue"},{modes:[13],label:"Returning Home",color:"blue"},{modes:[7,8,10,14,15,16,17,18,19],label:"Working",color:"blue"}],m=c.find(function(d){return d.modes.includes(i)});return(0,e.createComponentVNode)(2,t.Box,{color:m.color,children:[" ",m.label," "]})},V=r.BotCall=function(){function h(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=(0,a.useLocalState)(c,"tabIndex",0),l=s[0],C=s[1],g={0:"Security",1:"Medibot",2:"Cleanbot",3:"Floorbot",4:"Mule",5:"Honkbot"},v=function(){function p(N){return g[N]?(0,e.createComponentVNode)(2,k,{model:g[N]}):"This should not happen. Report on Paradise Github"}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:700,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:l===0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:Array.from({length:6}).map(function(p,N){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:l===N,onClick:function(){function b(){return C(N)}return b}(),children:g[N]},N)})})}),v(l)]})})})}return h}(),k=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.bots;return s[i.model]!==void 0?(0,e.createComponentVNode)(2,y,{model:[i.model]}):(0,e.createComponentVNode)(2,S,{model:[i.model]})},S=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data;return(0,e.createComponentVNode)(2,t.Stack,{justify:"center",align:"center",fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Box,{bold:1,color:"bad",children:["No ",[i.model]," detected"]})})},y=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.bots;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Model"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Location"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Interface"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Call"})]}),s[i.model].map(function(l){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.model}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.on?f(l.status):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Off"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.location}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Interface",onClick:function(){function C(){return d("interface",{botref:l.UID})}return C}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Call",onClick:function(){function C(){return d("call",{botref:l.UID})}return C}()})})]},l.UID)})]})})})}},20464:function(w,r,n){"use strict";r.__esModule=!0,r.BotClean=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),V=r.BotClean=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.locked,d=c.noaccess,u=c.maintpanel,s=c.on,l=c.autopatrol,C=c.canhack,g=c.emagged,v=c.remote_disabled,p=c.painame,N=c.cleanblood,b=c.area;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Cleaning Settings",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"Clean Blood",disabled:d,onClick:function(){function B(){return i("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 i("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})})]}),p&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:p,disabled:d,onClick:function(){function B(){return i("ejectpai")}return B}()})})]})})}return k}()},69479:function(w,r,n){"use strict";r.__esModule=!0,r.BotFloor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),V=r.BotFloor=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.noaccess,d=c.painame,u=c.hullplating,s=c.replace,l=c.eat,C=c.make,g=c.fixfloor,v=c.nag_empty,p=c.magnet,N=c.tiles_amount;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Floor Settings",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"5px",children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tiles Left",children:N})}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked: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:m,onClick:function(){function b(){return i("autotile")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Add floor tiles on exposed hull plating",tooltip:"Example: It will add tiles to maintenance",disabled:m,onClick:function(){function b(){return i("replacetiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Repair damaged tiles and platings",disabled:m,onClick:function(){function b(){return i("fixfloors")}return b}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Miscellaneous",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:l,content:"Finds tiles",disabled:m,onClick:function(){function b(){return i("eattiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:C,content:"Make pieces of metal into tiles when empty",disabled:m,onClick:function(){function b(){return i("maketiles")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Transmit notice when empty",disabled:m,onClick:function(){function b(){return i("nagonempty")}return b}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"Traction Magnets",disabled:m,onClick:function(){function b(){return i("anchored")}return b}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function b(){return i("ejectpai")}return b}()})})]})})}return k}()},59887:function(w,r,n){"use strict";r.__esModule=!0,r.BotHonk=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),V=r.BotHonk=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:220,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.BotStatus)})})}return k}()},80063:function(w,r,n){"use strict";r.__esModule=!0,r.BotMed=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),V=r.BotMed=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.locked,d=c.noaccess,u=c.maintpanel,s=c.on,l=c.autopatrol,C=c.canhack,g=c.emagged,v=c.remote_disabled,p=c.painame,N=c.shut_up,b=c.declare_crit,B=c.stationary_mode,I=c.heal_threshold,L=c.injection_amount,T=c.use_beaker,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,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Communication Settings",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Speaker",checked:!N,disabled:d,onClick:function(){function E(){return i("toggle_speaker")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Critical Patient Alerts",checked:b,disabled:d,onClick:function(){function E(){return i("toggle_critical_alerts")}return E}()})]}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Treatment Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Healing Threshold",children:(0,e.createComponentVNode)(2,t.Slider,{value:I.value,minValue:I.min,maxValue:I.max,step:5,disabled:d,onChange:function(){function E(P,j){return i("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:L.value,minValue:L.min,maxValue:L.max,step:5,format:function(){function E(P){return P+"u"}return E}(),disabled:d,onChange:function(){function E(P,j){return i("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:d,onClick:function(){function E(){return i("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:d,onClick:function(){function E(){return i("eject_reagent_glass")}return E}()})})]})})]}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{mt:1,fluid:!0,content:"Treat Viral Infections",checked:A,disabled:d,onClick:function(){function E(){return i("toggle_treat_viral")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Stationary Mode",checked:B,disabled:d,onClick:function(){function E(){return i("toggle_stationary_mode")}return E}()})]}),p&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:p,disabled:d,onClick:function(){function E(){return i("ejectpai")}return E}()})})]})})})}return k}()},74439:function(w,r,n){"use strict";r.__esModule=!0,r.BotSecurity=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),V=r.BotSecurity=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.noaccess,d=c.painame,u=c.check_id,s=c.check_weapons,l=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,f.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:m,onClick:function(){function v(){return i("authid")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Unauthorized Weapons",disabled:m,onClick:function(){function v(){return i("authweapon")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:l,content:"Wanted Criminals",disabled:m,onClick:function(){function v(){return i("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:m,onClick:function(){function v(){return i("arrtype")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Announce Arrests On Radio",disabled:m,onClick:function(){function v(){return i("arrdeclare")}return v}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function v(){return i("ejectpai")}return v}()})})]})})}return k}()},10833:function(w,r,n){"use strict";r.__esModule=!0,r.BrigCells=void 0;var e=n(89005),a=n(98595),t=n(36036),o=n(72253),f=function(y,h){var i=y.cell,c=(0,o.useBackend)(h),m=c.act,d=i.cell_id,u=i.occupant,s=i.crimes,l=i.brigged_by,C=i.time_left_seconds,g=i.time_set_seconds,v=i.ref,p="";C>0&&(p+=" BrigCells__listRow--active");var N=function(){m("release",{ref:v})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:p,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(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:l}),(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:N,children:"Release"})})]})},V=function(y){var h=y.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"})]}),h.map(function(i){return(0,e.createComponentVNode)(2,f,{cell:i},i.ref)})]})},k=r.BrigCells=function(){function S(y,h){var i=(0,o.useBackend)(h),c=i.act,m=i.data,d=m.cells;return(0,e.createComponentVNode)(2,a.Window,{theme:"security",width:800,height:400,children:(0,e.createComponentVNode)(2,a.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V,{cells:d})})})})})}return S}()},45761:function(w,r,n){"use strict";r.__esModule=!0,r.BrigTimer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.BrigTimer=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data;i.nameText=i.occupant,i.timing&&(i.prisoner_hasrec?i.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i.occupant}):i.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:i.occupant}));var c="pencil-alt";i.prisoner_name&&(i.prisoner_hasrec||(c="exclamation-triangle"));var m=[],d=0;for(d=0;dm?this.substring(0,m)+"...":this};var y=function(d,u){var s,l;if(!u)return[];var C=d.findIndex(function(g){return g.name===u.name});return[(s=d[C-1])==null?void 0:s.name,(l=d[C+1])==null?void 0:l.name]},h=function(d,u){u===void 0&&(u="");var s=(0,f.createSearch)(u,function(l){return l.name});return(0,t.flow)([(0,a.filter)(function(l){return l==null?void 0:l.name}),u&&(0,a.filter)(s),(0,a.sortBy)(function(l){return l.name})])(d)},i=r.CameraConsole=function(){function m(d,u){var s=(0,V.useBackend)(u),l=s.act,C=s.data,g=s.config,v=C.mapRef,p=C.activeCamera,N=h(C.cameras),b=y(N,p),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,k.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),p&&p.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,k.Button,{icon:"chevron-left",disabled:!B,onClick:function(){function L(){return l("switch_camera",{name:B})}return L}()}),(0,e.createComponentVNode)(2,k.Button,{icon:"chevron-right",disabled:!I,onClick:function(){function L(){return l("switch_camera",{name:I})}return L}()})],4),(0,e.createComponentVNode)(2,k.ByondUi,{className:"CameraConsole__map",params:{id:v,type:"map"}})],4)]})}return m}(),c=r.CameraConsoleContent=function(){function m(d,u){var s=(0,V.useBackend)(u),l=s.act,C=s.data,g=(0,V.useLocalState)(u,"searchText",""),v=g[0],p=g[1],N=C.activeCamera,b=h(C.cameras,v);return(0,e.createComponentVNode)(2,k.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function B(I,L){return p(L)}return B}()})}),(0,e.createComponentVNode)(2,k.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,k.Section,{fill:!0,scrollable:!0,children:b.map(function(B){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",N&&B.name===N.name&&"Button--selected"]),B.name.trimLongStr(23),0,{title:B.name,onClick:function(){function I(){return l("switch_camera",{name:B.name})}return I}()},B.name)})})})]})}return m}()},52927:function(w,r,n){"use strict";r.__esModule=!0,r.Canister=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(49968),V=n(98595),k=r.Canister=function(){function S(y,h){var i=(0,t.useBackend)(h),c=i.act,m=i.data,d=m.portConnected,u=m.tankPressure,s=m.releasePressure,l=m.defaultReleasePressure,C=m.minReleasePressure,g=m.maxReleasePressure,v=m.valveOpen,p=m.name,N=m.canLabel,b=m.colorContainer,B=m.color_index,I=m.hasHoldingTank,L=m.holdingTank,T="";B.prim&&(T=b.prim.options[B.prim].name);var 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=[],j=[],O=[],R=[],D=0;for(D=0;Dp.current_positions&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:p.total_positions-p.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:l.cooldown_time||!p.can_close,onClick:function(){function N(){return s("make_job_unavailable",{job:p.title})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:l.cooldown_time||!p.can_open,onClick:function(){function N(){return s("make_job_available",{job:p.title})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:l.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l.priority_jobs.indexOf(p.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:p.is_priority?"Yes":"No",selected:p.is_priority,disabled:l.cooldown_time||!p.can_prioritize,onClick:function(){function N(){return s("prioritize_job",{job:p.title})}return N}()})})]},p.title)})]})})]}):v=(0,e.createComponentVNode)(2,S);break;case 2:!l.authenticated||!l.scan_name?v=(0,e.createComponentVNode)(2,S):l.modify_name?v=(0,e.createComponentVNode)(2,f.AccessList,{accesses:l.regions,selectedList:l.selectedAccess,accessMod:function(){function p(N){return s("set",{access:N})}return p}(),grantAll:function(){function p(){return s("grant_all")}return p}(),denyAll:function(){function p(){return s("clear_all")}return p}(),grantDep:function(){function p(N){return s("grant_region",{region:N})}return p}(),denyDep:function(){function p(N){return s("deny_region",{region:N})}return p}()}):v=(0,e.createComponentVNode)(2,y);break;case 3:l.authenticated?l.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:!l.authenticated||l.records.length===0||l.target_dept,onClick:function(){function p(){return s("wipe_all_logs")}return p}()}),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"}),!!l.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),l.records.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.transferee}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.oldvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.newvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.whodidit}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.timestamp}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.reason}),!!l.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.deletedby})]},p.timestamp)})]}),!!l.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!l.authenticated||l.records.length===0,onClick:function(){function p(){return s("wipe_my_logs")}return p}()})})]}):v=(0,e.createComponentVNode)(2,h):v=(0,e.createComponentVNode)(2,S);break;case 4:!l.authenticated||!l.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"})]}),l.people_dept.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.crimstat}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:p.buttontext,disabled:!p.demotable,onClick:function(){function N(){return s("remote_demote",{remote_demote:p.name})}return N}()})})]},p.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}()},64083:function(w,r,n){"use strict";r.__esModule=!0,r.CargoConsole=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),f=n(36036),V=n(98595),k=n(25328),S=r.CargoConsole=function(){function u(s,l){return(0,e.createComponentVNode)(2,V.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)]})})})}return u}(),y=function(s,l){var C=(0,o.useLocalState)(l,"contentsModal",null),g=C[0],v=C[1],p=(0,o.useLocalState)(l,"contentsModalTitle",null),N=p[0],b=p[1];if(g!==null&&N!==null)return(0,e.createComponentVNode)(2,f.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,f.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[N,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,f.Box,{children:g.map(function(B){return(0,e.createComponentVNode)(2,f.Box,{children:["- ",B]},B)})}),(0,e.createComponentVNode)(2,f.Box,{m:2,children:(0,e.createComponentVNode)(2,f.Button,{content:"Close",onClick:function(){function B(){v(null),b(null)}return B}()})})]})},h=function(s,l){var C=(0,o.useBackend)(l),g=C.act,v=C.data,p=v.is_public,N=v.timeleft,b=v.moving,B=v.at_station,I,L;return!b&&!B?(I="Docked off-station",L="Call Shuttle"):!b&&B?(I="Docked at the station",L="Return Shuttle"):b&&(L="In Transit...",N!==1?I="Shuttle is en route (ETA: "+N+" minutes)":I="Shuttle is en route (ETA: "+N+" minute)"),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Status",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Shuttle Status",children:I}),p===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,f.Button,{content:L,disabled:b,onClick:function(){function T(){return g("moveShuttle")}return T}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Central Command Messages",onClick:function(){function T(){return g("showMessages")}return T}()})]})]})})})},i=function(s,l){var C,g=(0,o.useBackend)(l),v=g.act,p=g.data,N=p.accounts,b=(0,o.useLocalState)(l,"selectedAccount"),B=b[0],I=b[1],L=[];return N.map(function(T){return L[T.name]=T.account_UID}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Payment",children:[(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:N.map(function(T){return T.name}),selected:(C=N.filter(function(T){return T.account_UID===B})[0])==null?void 0:C.name,onSelected:function(){function T(A){return I(L[A])}return T}()}),N.filter(function(T){return T.account_UID===B}).map(function(T){return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Account Name",children:(0,e.createComponentVNode)(2,f.Stack.Item,{mt:1,children:T.name})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Balance",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:T.balance})})]},T.account_UID)})]})})},c=function(s,l){var C=(0,o.useBackend)(l),g=C.act,v=C.data,p=v.requests,N=v.categories,b=v.supply_packs,B=(0,o.useSharedState)(l,"category","Emergency"),I=B[0],L=B[1],T=(0,o.useSharedState)(l,"search_text",""),A=T[0],x=T[1],E=(0,o.useLocalState)(l,"contentsModal",null),P=E[0],j=E[1],O=(0,o.useLocalState)(l,"contentsModalTitle",null),R=O[0],D=O[1],W=(0,k.createSearch)(A,function(J){return J.name}),U=(0,o.useLocalState)(l,"selectedAccount"),z=U[0],K=U[1],$=(0,a.flow)([(0,t.filter)(function(J){return J.cat===N.filter(function(Z){return Z.name===I})[0].category||A}),A&&(0,t.filter)(W),(0,t.sortBy)(function(J){return J.name.toLowerCase()})])(b),Y="Crate Catalogue";return A?Y="Results for '"+A+"':":I&&(Y="Browsing "+I),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:Y,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:N.map(function(J){return J.name}),selected:I,onSelected:function(){function J(Z){return L(Z)}return J}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function J(Z,le){return x(le)}return J}(),mb:1}),(0,e.createComponentVNode)(2,f.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:$.map(function(J){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{bold:!0,children:[J.name," (",J.cost," Credits)"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,f.Button,{content:"Order 1",icon:"shopping-cart",disabled:!z,onClick:function(){function Z(){return g("order",{crate:J.ref,multiple:!1,account:z})}return Z}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Order Multiple",icon:"cart-plus",disabled:!z||J.singleton,onClick:function(){function Z(){return g("order",{crate:J.ref,multiple:!0,account:z})}return Z}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Contents",icon:"search",onClick:function(){function Z(){j(J.contents),D(J.name)}return Z}()})]})]},J.name)})})})]})})},m=function(s,l){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,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{mt:.5,children:"Approval Required:"}),!!C.req_cargo_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"brown",content:"QM",icon:"user-tie",tooltip:"This Order requires approval from the QM still"})}),!!C.req_head_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.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"})})]})},d=function(s,l){var C=(0,o.useBackend)(l),g=C.act,v=C.data,p=v.requests,N=v.orders,b=v.shipments;return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Orders",children:[(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,f.Table,{children:p.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{className:"Cargo_RequestList",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{mb:1,children:[(0,e.createComponentVNode)(2,f.Box,{children:["Order #",B.ordernum,": ",B.supply_type," (",B.cost," credits) for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)," with"," ",B.department?"The "+B.department+" Department":"Their Personal"," Account"]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]}),(0,e.createComponentVNode)(2,m,{request:B})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,f.Button,{content:"Approve",color:"green",disabled:!B.can_approve,onClick:function(){function I(){return g("approve",{ordernum:B.ordernum})}return I}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Deny",color:"red",disabled:!B.can_deny,onClick:function(){function I(){return g("deny",{ordernum:B.ordernum})}return I}()})]})]},B.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Orders Awaiting Delivery"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:N.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Order in Transit"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:b.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})})]})}},87331:function(w,r,n){"use strict";r.__esModule=!0,r.ChangelogView=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ChangelogView=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=(0,a.useLocalState)(S,"onlyRecent",0),m=c[0],d=c[1],u=i.cl_data,s=i.last_cl,l={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 l?l[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:m?"Showing all changes":"Showing changes since last connection",onClick:function(){function g(){return d(!m)}return g}()}),children:u.map(function(g){return!m&&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 h("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 V}()},36108:function(w,r,n){"use strict";r.__esModule=!0,r.ChemDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(85870),f=n(98595),V=[1,5,10,20,30,50],k=[1,5,10],S=r.ChemDispenser=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,l=u.data,C=l.chemicals;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:400+C.length*8,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,i)]})})})}return c}(),y=function(m,d){var u=(0,a.useBackend)(d),s=u.act,l=u.data,C=l.amount,g=l.energy,v=l.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:V.map(function(p,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:C===p,content:p,onClick:function(){function b(){return s("amount",{amount:p})}return b}()})},N)})})})]})})})},h=function(m,d){for(var u=(0,a.useBackend)(d),s=u.act,l=u.data,C=l.chemicals,g=C===void 0?[]:C,v=[],p=0;p<(g.length+1)%3;p++)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:l.glass?"Drink Dispenser":"Chemical Dispenser",children:[g.map(function(N,b){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:N.title,style:{"margin-left":"2px"},onClick:function(){function B(){return s("dispense",{reagent:N.id})}return B}()},b)}),v.map(function(N,b){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},b)})]})})},i=function(m,d){var u=(0,a.useBackend)(d),s=u.act,l=u.data,C=l.isBeakerLoaded,g=l.beakerCurrentVolume,v=l.beakerMaxVolume,p=l.beakerContents,N=p===void 0?[]:p;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:l.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:N,buttons:function(){function b(B){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:-1})}return I}()}),k.map(function(I,L){return(0,e.createComponentVNode)(2,t.Button,{content:I,onClick:function(){function T(){return s("remove",{reagent:B.id,amount:I})}return T}()},L)}),(0,e.createComponentVNode)(2,t.Button,{content:"ALL",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:B.volume})}return I}()})],0)}return b}()})})})}},13146:function(w,r,n){"use strict";r.__esModule=!0,r.ChemHeater=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(85870),V=n(98595),k=r.ChemHeater=function(){function h(i,c){return(0,e.createComponentVNode)(2,V.Window,{width:350,height:275,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,y)]})})})}return h}(),S=function(i,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.targetTemp,l=u.targetTempReached,C=u.autoEject,g=u.isActive,v=u.currentTemp,p=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 N(){return d("toggle_autoeject")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{content:g?"On":"Off",icon:"power-off",selected:g,disabled:!p,onClick:function(){function N(){return d("toggle_on")}return N}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,a.round)(s,0),minValue:0,maxValue:1e3,onDrag:function(){function N(b,B){return d("adjust_temperature",{target:B})}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Reading",color:l?"good":"average",children:p&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:v,format:function(){function N(b){return(0,a.toFixed)(b)+" K"}return N}()})||"\u2014"})]})})})},y=function(i,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.isBeakerLoaded,l=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:[l," / ",C," units"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function v(){return d("eject_beaker")}return v}()})]}),children:(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:s,beakerContents:g})})})}},56541:function(w,r,n){"use strict";r.__esModule=!0,r.ChemMaster=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(85870),V=n(3939),k=n(35840),S=["icon"];function y(I,L){if(I==null)return{};var T={};for(var A in I)if({}.hasOwnProperty.call(I,A)){if(L.includes(A))continue;T[A]=I[A]}return T}function h(I,L){I.prototype=Object.create(L.prototype),I.prototype.constructor=I,i(I,L)}function i(I,L){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,A){return T.__proto__=A,T},i(I,L)}var c=[1,5,10],m=function(L,T){var A=(0,a.useBackend)(T),x=A.act,E=A.data,P=L.args.analysis;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:E.condi?"Condiment Analysis":"Reagent Analysis",children:(0,e.createComponentVNode)(2,t.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:P.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:(P.desc||"").length>0?P.desc:"N/A"}),P.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood type",children:P.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:P.blood_dna})],4),!E.condi&&(0,e.createComponentVNode)(2,t.Button,{icon:E.printing?"spinner":"print",disabled:E.printing,iconSpin:!!E.printing,ml:"0.5rem",content:"Print",onClick:function(){function j(){return x("print",{idx:P.idx,beaker:L.args.beaker})}return j}()})]})})})})},d=function(I){return I[I.ToDisposals=0]="ToDisposals",I[I.ToBeaker=1]="ToBeaker",I}(d||{}),u=r.ChemMaster=function(){function I(L,T){return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,B)]})})]})}return I}(),s=function(L,T){var A=(0,a.useBackend)(T),x=A.act,E=A.data,P=E.beaker,j=E.beaker_reagents,O=E.buffer_reagents,R=O.length>0;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:R?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!P,content:"Eject and Clear Buffer",onClick:function(){function D(){return x("eject")}return D}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!P,content:"Eject and Clear Buffer",onClick:function(){function D(){return x("eject")}return D}()}),children:P?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function D(W,U){return(0,e.createComponentVNode)(2,t.Box,{mb:U0?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function O(R,D){return(0,e.createComponentVNode)(2,t.Box,{mb:D0&&(R=O.map(function(D){var W=D.id,U=D.sprite;return(0,e.createComponentVNode)(2,N,{icon:U,color:"translucent",onClick:function(){function z(){return x("set_sprite_style",{production_mode:P,style:W})}return z}(),selected:j===W},W)})),(0,e.createComponentVNode)(2,p,{productionData:L.productionData,children:R&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:R})})},B=function(L,T){var A=(0,a.useBackend)(T),x=A.act,E=A.data,P=E.loaded_pill_bottle_style,j=E.containerstyles,O=E.loaded_pill_bottle,R={width:"20px",height:"20px"},D=j.map(function(W){var U=W.color,z=W.name,K=P===U;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:R.width,height:R.height},onClick:function(){function $(){return x("set_container_style",{style:U})}return $}(),icon:K&&"check",iconStyle:{position:"relative","z-index":1},tooltip:z,tooltipPosition:"top",children:[!K&&(0,e.createVNode)(1,"div",null,null,1,{style:{display:"inline-block"}}),(0,e.createVNode)(1,"span","Button",null,1,{style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:R.width,height:R.height,"background-color":U,opacity:.6,filter:"alpha(opacity=60)"}})]},U)});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:!O,content:"Eject Container",onClick:function(){function W(){return x("ejectp")}return W}()}),children:O?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:R.width,height:R.height},icon:"tint-slash",onClick:function(){function W(){return x("clear_container_style")}return W}(),selected:!P,tooltip:"Default",tooltipPosition:"top"}),D]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,V.modalRegisterBodyOverride)("analyze",m)},37173:function(w,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(79140),V=1,k=32,S=128,y=r.CloningConsole=function(){function u(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.tab,N=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:N?"Online":"Missing"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected pods",children:b})]})}),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===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:p===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,h)})]})})}return u}(),h=function(s,l){var C=(0,a.useBackend)(l),g=C.data,v=g.tab,p;return v===1?p=(0,e.createComponentVNode)(2,i):v===2&&(p=(0,e.createComponentVNode)(2,c)),p},i=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.pods,N=v.pod_amount,b=v.selected_pod_UID;return(0,e.createComponentVNode)(2,t.Box,{children:[!N&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No pods connected."}),!!N&&p.map(function(B,I){return(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Pod "+(I+1),children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"96px",shrink:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,f.resolveAsset)("pod_"+(B.cloning?"cloning":"idle")+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{selected:b===B.uid,onClick:function(){function L(){return g("select_pod",{uid:B.uid})}return L}(),children:"Select"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Progress",children:[!B.cloning&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Pod is inactive."}),!!B.cloning&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.clone_progress,maxValue:100,color:"good"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.biomass,ranges:{good:[2*B.biomass_storage_capacity/3,B.biomass_storage_capacity],average:[B.biomass_storage_capacity/3,2*B.biomass_storage_capacity/3],bad:[0,B.biomass_storage_capacity/3]},minValue:0,maxValue:B.biomass_storage_capacity,children:[B.biomass,"/",B.biomass_storage_capacity+" ("+100*B.biomass/B.biomass_storage_capacity+"%)"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sanguine Reagent",children:B.sanguine_reagent}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Osseous Reagent",children:B.osseous_reagent})]})})]})},B)})]})},c=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.selected_pod_data,N=v.has_scanned,b=v.scanner_has_patient,B=v.feedback,I=v.scan_successful,L=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:[!N&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:b?"No scan detected for current patient.":"No patient is in the scanner."}),!!N&&(0,e.createComponentVNode)(2,t.Box,{color:B.color,children:B.text})]}),(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Damages Breakdown",children:(0,e.createComponentVNode)(2,t.Box,{children:[(!I||!N)&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No valid scan detected."}),!!I&&!!N&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function 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:L[0],maxValue:p.biomass_storage_capacity,ranges:{bad:[2*p.biomass_storage_capacity/3,p.biomass_storage_capacity],average:[p.biomass_storage_capacity/3,2*p.biomass_storage_capacity/3],good:[0,p.biomass_storage_capacity/3]},color:L[0]>p.biomass?"bad":null,children:["Biomass: ",L[0],"/",p.biomass,"/",p.biomass_storage_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[1],maxValue:p.max_reagent_capacity,ranges:{bad:[2*p.max_reagent_capacity/3,p.max_reagent_capacity],average:[p.max_reagent_capacity/3,2*p.max_reagent_capacity/3],good:[0,p.max_reagent_capacity/3]},color:L[1]>p.sanguine_reagent?"bad":"good",children:["Sanguine: ",L[1],"/",p.sanguine_reagent,"/",p.max_reagent_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[2],maxValue:p.max_reagent_capacity,ranges:{bad:[2*p.max_reagent_capacity/3,p.max_reagent_capacity],average:[p.max_reagent_capacity/3,2*p.max_reagent_capacity/3],good:[0,p.max_reagent_capacity/3]},color:L[2]>p.osseous_reagent?"bad":"good",children:["Osseous: ",L[2],"/",p.osseous_reagent,"/",p.max_reagent_capacity]})})]}),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)]})]})})]})]})},m=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.patient_limb_data,N=v.limb_list,b=v.desired_limb_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Limbs",children:N.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"15%",height:"20px",children:[p[B][4],":"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),p[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:p[B][5],ranges:{good:[0,p[B][5]/3],average:[p[B][5]/3,2*p[B][5]/3],bad:[2*p[B][5]/3,p[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]]})}),p[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 ",p[B][4]," is missing!"]})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[!!p[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!b[B][3],onClick:function(){function L(){return g("toggle_limb_repair",{limb:B,type:"replace"})}return L}(),children:"Replace Limb"})}),!p[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][0]||p[B][1]),checked:!(b[B][0]||b[B][1]),onClick:function(){function L(){return g("toggle_limb_repair",{limb:B,type:"damage"})}return L}(),children:"Repair Damages"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][2]&V),checked:!(b[B][2]&V),onClick:function(){function L(){return g("toggle_limb_repair",{limb:B,type:"bone"})}return L}(),children:"Mend Bone"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][2]&k),checked:!(b[B][2]&k),onClick:function(){function L(){return g("toggle_limb_repair",{limb:B,type:"ib"})}return L}(),children:"Mend IB"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][2]&S),checked:!(b[B][2]&S),onClick:function(){function L(){return g("toggle_limb_repair",{limb:B,type:"critburn"})}return L}(),children:"Mend Critical Burn"})]})]})]},B)})})},d=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.patient_organ_data,N=v.organ_list,b=v.desired_organ_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Organs",children:N.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"20%",height:"20px",children:[p[B][3],":"," "]}),p[B][5]!=="heart"&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!!p[B][2]&&(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!b[B][2]&&!b[B][1],onClick:function(){function L(){return g("toggle_organ_repair",{organ:B,type:"replace"})}return L}(),children:"Replace Organ"}),!p[B][2]&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!p[B][0],checked:!b[B][0],onClick:function(){function L(){return g("toggle_organ_repair",{organ:B,type:"damage"})}return L}(),children:"Repair Damages"})})]})}),p[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:[!!p[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",p[B][3]," is missing!"]}),!p[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:b[B][0],maxValue:p[B][4],ranges:{good:[0,p[B][4]/3],average:[p[B][4]/3,2*p[B][4]/3],bad:[2*p[B][4]/3,p[B][4]]},children:"Post-Cloning Damage: "+b[B][0]})]})]})},B)})})}},98723:function(w,r,n){"use strict";r.__esModule=!0,r.CloningPod=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.CloningPod=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.biomass,m=i.biomass_storage_capacity,d=i.sanguine_reagent,u=i.osseous_reagent,s=i.organs,l=i.currently_cloning;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Liquid Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Biomass:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:c,ranges:{good:[2*m/3,m],average:[m/3,2*m/3],bad:[0,m/3]},minValue:0,maxValue:m})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Sanguine Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:d+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:d,step:1,unit:"units",onChange:function(){function C(g,v){return h("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 h("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 h("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 h("purge_reagent",{reagent:"osseous_reagent"})}return C}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Organ Storage",children:[!l&&(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 h("eject_organ",{organ_ref:C.ref})}return g}()})})]},C)})]}),!!l&&(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Unable to access organ storage while cloning."]})})]})]})})}return V}()},18259:function(w,r,n){"use strict";r.__esModule=!0,r.CoinMint=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),V=r.CoinMint=function(){function k(S,y){var h=(0,t.useBackend)(y),i=h.act,c=h.data,m=c.materials,d=c.moneyBag,u=c.moneyBagContent,s=c.moneyBagMaxContent,l=(d?210:138)+Math.ceil(m.length/4)*64;return(0,e.createComponentVNode)(2,f.Window,{width:210,height:l,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.NoticeBox,{m:0,info:!0,children:["Total coins produced: ",c.totalCoins]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Coin Type",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",color:c.active&&"bad",tooltip:!d&&"Need a money bag",disabled:!d,onClick:function(){function C(){return i("activate")}return C}()}),children:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.ProgressBar,{minValue:0,maxValue:c.maxMaterials,value:c.totalMaterials})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",tooltip:"Eject selected material",onClick:function(){function C(){return i("ejectMat")}return C}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:m.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{bold:!0,inline:!0,m:.2,textAlign:"center",color:"translucent",selected:C.id===c.chosenMaterial,tooltip:C.name,content:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",C.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:C.amount})]}),onClick:function(){function g(){return i("selectMaterial",{material:C.id})}return g}()},C.id)})})]})})}),!!d&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Money Bag",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",disabled:c.active,onClick:function(){function C(){return i("ejectBag")}return C}()}),children:(0,e.createComponentVNode)(2,o.ProgressBar,{width:"100%",minValue:0,maxValue:s,value:u,children:[u," / ",s]})})})]})})})}return k}()},8444:function(w,r,n){"use strict";r.__esModule=!0,r.ColourMatrixTester=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ColourMatrixTester=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.colour_data,m=[[{name:"RR",idx:0},{name:"RG",idx:1},{name:"RB",idx:2},{name:"RA",idx:3}],[{name:"GR",idx:4},{name:"GG",idx:5},{name:"GB",idx:6},{name:"GA",idx:7}],[{name:"BR",idx:8},{name:"BG",idx:9},{name:"BB",idx:10},{name:"BA",idx:11}],[{name:"AR",idx:12},{name:"AG",idx:13},{name:"AB",idx:14},{name:"AA",idx:15}]];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:190,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Matrix",children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",textColor:"label",children:d.map(function(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(l,C){return h("setvalue",{idx:u.idx+1,value:C})}return s}()})]},u.name)})},d)})})})})})}return V}()},63818:function(w,r,n){"use strict";r.__esModule=!0,r.CommunicationsComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(s){switch(s){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,i);case 3:return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,c)})});case 4:return(0,e.createComponentVNode)(2,d);default:return"ERROR. Unknown menu_state. Please contact NT Technical Support."}},V=r.CommunicationsComputer=function(){function u(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=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,k),f(p)]})})})}return u}(),k=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.authenticated,N=v.noauthbutton,b=v.esc_section,B=v.esc_callable,I=v.esc_recallable,L=v.esc_status,T=v.authhead,A=v.is_ai,x=v.lastCallLoc,E=!1,P;return p?p===1?P="Command":p===2?P="Captain":p===3?P="CentComm Officer":p===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:p?"sign-out-alt":"id-card",selected:p,disabled:N,content:p?"Log Out ("+P+")":"Log In",onClick:function(){function j(){return g("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:[!!L&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:L}),!!B&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"Call Shuttle",disabled:!T,onClick:function(){function j(){return g("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 g("cancelshuttle")}return j}()})}),!!x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Last Call/Recall From",children:x})]})})})],4)},S=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.is_admin;return p?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,h)},y=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.is_admin,N=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,m,{levels:b,required_access:p,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:!p,onClick:function(){function L(){return g("send_to_cc_announcement_page")}return L}()}),B===4&&(0,e.createComponentVNode)(2,t.Button,{icon:"plus",content:"Make Other Announcement",disabled:!p,onClick:function(){function L(){return g("make_other_announcement")}return L}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Response Team",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"Dispatch ERT",disabled:!p,onClick:function(){function L(){return g("dispatch_ert")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:I,content:I?"ERT calling enabled":"ERT calling disabled",tooltip:I?"Command can request an ERT":"ERTs cannot be requested",disabled:!p,onClick:function(){function L(){return g("toggle_ert_allowed")}return L}(),selected:null})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Get Authentication Codes",disabled:!p,onClick:function(){function L(){return g("send_nuke_codes")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gamma Armory",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"biohazard",content:N?"Send Gamma Armory":"Recall Gamma Armory",disabled:!p,onClick:function(){function L(){return g("move_gamma_armory")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"coins",content:"View Economy",disabled:!p,onClick:function(){function L(){return g("view_econ")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fax",content:"Fax Manager",disabled:!p,onClick:function(){function L(){return g("view_fax")}return L}()})]})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"View Command accessible controls",children:(0,e.createComponentVNode)(2,h)})]})},h=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.msg_cooldown,N=v.emagged,b=v.cc_cooldown,B=v.security_level_color,I=v.str_security_level,L=v.levels,T=v.authcapt,A=v.authhead,x=v.messages,E="Make Priority Announcement";p>0&&(E+=" ("+p+"s)");var P=N?"Message [UNKNOWN]":"Message CentComm",j="Request Authentication Codes";return b>0&&(P+=" ("+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,m,{levels:L,required_access:T})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:E,disabled:!T||p>0,onClick:function(){function O(){return g("announce")}return O}()})}),!!N&&(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 O(){return g("MessageSyndicate")}return O}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!T,onClick:function(){function O(){return g("RestoreBackup")}return O}()})]})||(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 O(){return g("MessageCentcomm")}return O}()})}),(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 O(){return g("nukerequest")}return O}()})})]})})}),(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 O(){return g("status")}return O}()})}),(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 O(){return g("messagelist")}return O}()})})]})})})],4)},i=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.stat_display,N=v.authhead,b=v.current_message_title,B=p.presets.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.name===p.type,disabled:!N,onClick:function(){function T(){return g("setstat",{statdisp:L.name})}return T}()},L.name)}),I=p.alerts.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.alert===p.icon,disabled:!N,onClick:function(){function T(){return g("setstat",{statdisp:3,alert:L.alert})}return T}()},L.alert)});return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Status Screens",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function L(){return g("main")}return L}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Presets",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alerts",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:p.line_1,disabled:!N,onClick:function(){function L(){return g("setmsg1")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:p.line_2,disabled:!N,onClick:function(){function L(){return g("setmsg2")}return L}()})})]})})})},c=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.authhead,N=v.current_message_title,b=v.current_message,B=v.messages,I=v.security_level,L;if(N)L=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Return To Message List",disabled:!p,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:!p||N===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:!p,onClick:function(){function x(){return g("delmessage",{msgid:A.id})}return x}()})]},A.id)});L=(0,e.createComponentVNode)(2,t.Section,{title:"Messages Received",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function A(){return g("main")}return A}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:T})})}return(0,e.createComponentVNode)(2,t.Box,{children:L})},m=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=s.levels,N=s.required_access,b=s.use_confirm,B=v.security_level;return b?p.map(function(I){return(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:I.icon,content:I.name,disabled:!N||I.id===B,tooltip:I.tooltip,onClick:function(){function L(){return g("newalertlevel",{level:I.id})}return L}()},I.name)}):p.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{icon:I.icon,content:I.name,disabled:!N||I.id===B,tooltip:I.tooltip,onClick:function(){function L(){return g("newalertlevel",{level:I.id})}return L}()},I.name)})},d=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.is_admin,N=v.possible_cc_sounds;if(!p)return g("main");var b=(0,a.useLocalState)(l,"subtitle",""),B=b[0],I=b[1],L=(0,a.useLocalState)(l,"text",""),T=L[0],A=L[1],x=(0,a.useLocalState)(l,"classified",0),E=x[0],P=x[1],j=(0,a.useLocalState)(l,"beepsound","Beep"),O=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 g("main")}return D}()}),children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Subtitle here.",fluid:!0,value:B,onChange:function(){function D(W,U){return I(U)}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(W,U){return A(U)}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 g("make_cc_announcement",{subtitle:B,text:T,classified:E,beepsound:O})}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:N,selected:O,onSelected:function(){function D(W){return R(W)}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 g("test_sound",{sound:O})}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 P(!E)}return D}()})})]})]})})}},20562:function(w,r,n){"use strict";r.__esModule=!0,r.CompostBin=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.CompostBin=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.biomass,m=i.compost,d=i.biomass_capacity,u=i.compost_capacity,s=i.potassium,l=i.potassium_capacity,C=i.potash,g=i.potash_capacity,v=(0,a.useSharedState)(S,"vendAmount",1),p=v[0],N=v[1];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:250,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{label:"Resources",children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:c,minValue:0,maxValue:d,ranges:{good:[d*.5,1/0],average:[d*.25,d*.5],bad:[-1/0,d*.25]},children:[c," / ",d," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compost",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:m,minValue:0,maxValue:u,ranges:{good:[u*.5,1/0],average:[u*.25,u*.5],bad:[-1/0,u*.25]},children:[m," / ",u," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potassium",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:s,minValue:0,maxValue:l,ranges:{good:[l*.5,1/0],average:[l*.25,l*.5],bad:[-1/0,l*.25]},children:[s," / ",l," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potash",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:C,minValue:0,maxValue:g,ranges:{good:[g*.5,1/0],average:[g*.25,g*.5],bad:[-1/0,g*.25]},children:[C," / ",g," 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:p,width:"32px",minValue:1,maxValue:10,stepPixelSize:7,onChange:function(){function b(B,I){return N(I)}return b}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,align:"center",content:"Make Soil",disabled:m<25*p,icon:"arrow-circle-down",onClick:function(){function b(){return h("create",{amount:p})}return b}()})})})]})})})}return V}()},21813:function(w,r,n){"use strict";r.__esModule=!0,r.Contractor=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(73379),V=n(98595);function k(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(p,N){return p.__proto__=N,p},S(g,v)}var y={1:["ACTIVE","good"],2:["COMPLETED","good"],3:["FAILED","bad"]},h=["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"],i=r.Contractor=function(){function g(v,p){var N=(0,t.useBackend)(p),b=N.act,B=N.data,I;B.unauthorized?I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,l,{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,m)}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",overflow:"hidden",children:B.page===1?(0,e.createComponentVNode)(2,d,{height:"100%"}):(0,e.createComponentVNode)(2,s,{height:"100%"})})],4):I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,l,{height:"100%",allMessages:h,finishedTimeout:3e3,onFinished:function(){function x(){return b("complete_load_animation")}return x}()})});var L=(0,t.useLocalState)(p,"viewingPhoto",""),T=L[0],A=L[1];return(0,e.createComponentVNode)(2,V.Window,{theme:"syndicate",width:500,height:600,children:[T&&(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,V.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:I})})]})}return g}(),c=function(v,p){var N=(0,t.useBackend)(p),b=N.act,B=N.data,I=B.tc_available,L=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:[L," TC"]})]})}),(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contracts Completed",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Box,{height:"20px",lineHeight:"20px",inline:!0,children:T})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},m=function(v,p){var N=(0,t.useBackend)(p),b=N.act,B=N.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 L(){return b("page",{page:1})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===2,onClick:function(){function L(){return b("page",{page:2})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},d=function(v,p){var N=(0,t.useBackend)(p),b=N.act,B=N.data,I=B.contracts,L=B.contract_active,T=B.can_extract,A=!!L&&I.filter(function(O){return O.status===1})[0],x=A&&A.time_left>0,E=(0,t.useLocalState)(p,"viewingPhoto",""),P=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,f.Countdown,{timeLeft:A.time_left,format:function(){function O(R,D){return" ("+D.substr(3)+")"}return O}()})],onClick:function(){function O(){return b("extract")}return O}()})},v,{children:I.slice().sort(function(O,R){return O.status===1?-1:R.status===1?1:O.status-R.status}).map(function(O){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:O.status===1&&"good",children:O.target_name}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:O.has_photo&&(0,e.createComponentVNode)(2,o.Button,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){function D(){return j("target_photo_"+O.uid+".png")}return D}()})})]}),className:"Contractor__Contract",buttons:(0,e.createComponentVNode)(2,o.Box,{width:"100%",children:[!!y[O.status]&&(0,e.createComponentVNode)(2,o.Box,{color:y[O.status][1],inline:!0,mt:O.status!==1&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:y[O.status][0]}),O.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:[O.fluff_message,!!O.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 ",O.completed_time]}),!!O.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."]}),!!O.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: ",O.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(O)]}),(R=O.difficulties)==null?void 0:R.map(function(D,W){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!L,content:D.name+" ("+D.reward+" TC)",onClick:function(){function U(){return b("activate",{uid:O.uid,difficulty:W+1})}return U}()},W)}),!!O.objective&&(0,e.createComponentVNode)(2,o.Box,{color:"white",bold:!0,children:[O.objective.extraction_name,(0,e.createVNode)(1,"br"),"(",(O.objective.rewards.tc||0)+" TC",",\xA0",(O.objective.rewards.credits||0)+" Credits",")"]})]})]})},O.uid)})})))},u=function(v){if(!(!v.objective||v.status>1)){var p=v.objective.locs.user_area_id,N=v.objective.locs.user_coords,b=v.objective.locs.target_area_id,B=v.objective.locs.target_coords,I=p===b;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:I?"dot-circle-o":"arrow-alt-circle-right-o",color:I?"green":"yellow",rotation:I?null:-(0,a.rad2deg)(Math.atan2(B[1]-N[1],B[0]-N[0])),lineHeight:I?null:"0.85",size:"1.5"})})}},s=function(v,p){var N=(0,t.useBackend)(p),b=N.act,B=N.data,I=B.rep,L=B.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},v,{children:L.map(function(T){return(0,e.createComponentVNode)(2,o.Section,{title:T.name,children:[T.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:I-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:T.stock===0?"bad":"good",ml:"0.5rem",children:[T.stock," in stock"]})]},T.uid)})})))},l=function(g){function v(N){var b;return b=g.call(this,N)||this,b.timer=null,b.state={currentIndex:0,currentDisplay:[]},b}k(v,g);var p=v.prototype;return p.tick=function(){function N(){var b=this.props,B=this.state;if(B.currentIndex<=b.allMessages.length){this.setState(function(L){return{currentIndex:L.currentIndex+1}});var I=B.currentDisplay;I.push(b.allMessages[B.currentIndex])}else clearTimeout(this.timer),setTimeout(b.onFinished,b.finishedTimeout)}return N}(),p.componentDidMount=function(){function N(){var b=this,B=this.props.linesPerSecond,I=B===void 0?2.5:B;this.timer=setInterval(function(){return b.tick()},1e3/I)}return N}(),p.componentWillUnmount=function(){function N(){clearTimeout(this.timer)}return N}(),p.render=function(){function N(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(b){return(0,e.createFragment)([b,(0,e.createVNode)(1,"br")],0,b)})})}return N}(),v}(e.Component),C=function(v,p){var N=(0,t.useLocalState)(p,"viewingPhoto",""),b=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:b}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function I(){return B("")}return I}()})]})}},54151:function(w,r,n){"use strict";r.__esModule=!0,r.ConveyorSwitch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ConveyorSwitch=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.slowFactor,m=i.oneWay,d=i.position;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lever position",children:d>0?"forward":d<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!m,onClick:function(){function u(){return h("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 h("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 h("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,l){return h("slowFactor",{value:l})}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 h("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 h("slowFactor",{value:c+5})}return u}()})," "]})]})})]})})})})}return V}()},73169:function(w,r,n){"use strict";r.__esModule=!0,r.CrewMonitor=void 0;var e=n(89005),a=n(88510),t=n(25328),o=n(72253),f=n(36036),V=n(36352),k=n(76910),S=n(98595),y=function(u,s){return u.dead?"Deceased":parseInt(u.health,10)<=s?"Critical":parseInt(u.stat,10)===1?"Unconscious":"Living"},h=function(u,s){return u.dead?"red":parseInt(u.health,10)<=s?"orange":parseInt(u.stat,10)===1?"blue":"green"},i=r.CrewMonitor=function(){function d(u,s){var l=(0,o.useBackend)(s),C=l.act,g=l.data,v=(0,o.useLocalState)(s,"tabIndex",0),p=v[0],N=v[1],b=function(){function B(I){switch(I){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return B}();return(0,e.createComponentVNode)(2,S.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"table",selected:p===0,onClick:function(){function B(){return N(0)}return B}(),children:"Data View"},"DataView"),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"map-marked-alt",selected:p===1,onClick:function(){function B(){return N(1)}return B}(),children:"Map View"},"MapView")]})}),b(p)]})})})}return d}(),c=function(u,s){var l=(0,o.useBackend)(s),C=l.act,g=l.data,v=(0,a.sortBy)(function(A){return A.name})(g.crewmembers||[]),p=g.possible_levels,N=g.viewing_current_z_level,b=g.is_advanced,B=(0,o.useLocalState)(s,"search",""),I=B[0],L=B[1],T=(0,t.createSearch)(I,function(A){return A.name+"|"+A.assignment+"|"+A.area});return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,backgroundColor:"transparent",children:[(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name, assignment or location..",width:"100%",onInput:function(){function A(x,E){return L(E)}return A}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:b?(0,e.createComponentVNode)(2,f.Dropdown,{mr:"5px",width:"50px",options:p,selected:N,onSelected:function(){function A(x){return C("switch_level",{new_level:x})}return A}()}):null})]}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Location"})]}),v.filter(T).map(function(A){return(0,e.createComponentVNode)(2,f.Table.Row,{bold:!!A.is_command,children:[(0,e.createComponentVNode)(2,V.TableCell,{children:[A.name," (",A.assignment,")"]}),(0,e.createComponentVNode)(2,V.TableCell,{children:[(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:h(A,g.critThreshold),children:y(A,g.critThreshold)}),A.sensor_type>=2||g.ignoreSensors?(0,e.createComponentVNode)(2,f.Box,{inline:!0,ml:1,children:["(",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.oxy,children:A.oxy}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.toxin,children:A.tox}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.burn,children:A.fire}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.brute,children:A.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,V.TableCell,{children:A.sensor_type===3||g.ignoreSensors?g.isAI||g.isObserver?(0,e.createComponentVNode)(2,f.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,f.Box,{inline:!0,color:"grey",children:"Not Available"})})]},A.name)})]})]})},m=function(u,s){var l=(0,o.useBackend)(s),C=l.act,g=l.data,v=(0,o.useLocalState)(s,"zoom",1),p=v[0],N=v[1];return(0,e.createComponentVNode)(2,f.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,f.NanoMap,{onZoom:function(){function b(B){return N(B)}return b}(),children:g.crewmembers.filter(function(b){return b.sensor_type===3||g.ignoreSensors}).map(function(b){return(0,e.createComponentVNode)(2,f.NanoMap.Marker,{x:b.x,y:b.y,zoom:p,icon:"circle",tooltip:b.name+" ("+b.assignment+")",color:h(b,g.critThreshold),onClick:function(){function B(){return g.isObserver?C("track",{track:b.ref}):null}return B}()},b.ref)})})})}},63987:function(w,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],V=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],k=r.Cryo=function(){function h(i,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 h}(),S=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.isOperating,l=u.hasOccupant,C=u.occupant,g=C===void 0?[]:C,v=u.cellTemperature,p=u.cellTemperatureStatus,N=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 L(){return d("ejectOccupant")}return L}(),disabled:!l,children:"Eject"}),children:l?(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:V[g.stat][0],children:V[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),f.map(function(L){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:L.label,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:g[L.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(g[L.type])})})},L.id)})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Cell",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function L(){return d("ejectBeaker")}return L}(),disabled:!N,children:"Eject Beaker"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",onClick:function(){function L(){return d(s?"switchOff":"switchOn")}return L}(),selected:s,children:s?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",color:p,children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:v})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,y)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dosage interval",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{average:[-1/0,99],good:[99,1/0]},color:!N&&"average",value:b,minValue:0,maxValue:100})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject healthy occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:B?"toggle-on":"toggle-off",selected:B,onClick:function(){function L(){return d(B?"auto_eject_healthy_off":"auto_eject_healthy_on")}return L}(),children:B?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject dead occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"toggle-on":"toggle-off",selected:I,onClick:function(){function L(){return d(I?"auto_eject_dead_off":"auto_eject_dead_on")}return L}(),children:I?"On":"Off"})})]})})})],4)},y=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.isBeakerLoaded,l=u.beakerLabel,C=u.beakerVolume;return s?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!l&&"average",children:[l||"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"})}},86099:function(w,r,n){"use strict";r.__esModule=!0,r.CryopodConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(25328),V=r.CryopodConsole=function(){function y(h,i){var c=(0,a.useBackend)(i),m=c.data,d=m.account_name,u=m.allow_items;return(0,e.createComponentVNode)(2,o.Window,{title:"Cryopod Console",width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(d||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,k),!!u&&(0,e.createComponentVNode)(2,S)]})})}return y}(),k=function(h,i){var c=(0,a.useBackend)(i),m=c.data,d=m.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:d.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(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(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.frozen_items,s=function(C){var g=C.toString();return g.startsWith("the ")&&(g=g.slice(4,g.length)),(0,f.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(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s(l.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function C(){return m("one_item",{item:l.uid})}return C}()})},l)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function l(){return m("all_items")}return l}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},12692:function(w,r,n){"use strict";r.__esModule=!0,r.DNAModifier=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],k=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],S=[5,10,20,30,50],y=r.DNAModifier=function(){function p(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.irradiating,A=L.dnaBlockSize,x=L.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,f.ComplexModal),E,(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,h)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i)})]})})]})}return p}(),h=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.locked,A=L.hasOccupant,x=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!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:V[x.stat][0],children:V[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:L.occupant.uniqueEnzymes?L.occupant.uniqueEnzymes:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 Unknown"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Cell unoccupied."})})},i=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.selectedMenuKey,A=L.hasOccupant,x=L.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,d)],4):T==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)],4):T==="buffer"?E=(0,e.createComponentVNode)(2,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:k.map(function(P,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:P[2],selected:T===P[0],onClick:function(){function O(){return I("selectMenuKey",{key:P[0]})}return O}(),children:P[1]},j)})}),E]})},c=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.selectedUIBlock,A=L.selectedUISubBlock,x=L.selectedUITarget,E=L.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(j){return j.toString(16).toUpperCase()}return P}(),ml:"0",onChange:function(){function P(j,O){return I("changeUITarget",{value:O})}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}()})]})},m=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.selectedSEBlock,A=L.selectedSESubBlock,x=L.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}()})]})},d=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.radiationIntensity,A=L.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Emitter",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Intensity",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:T,popUpPosition:"right",ml:"0",onChange:function(){function 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(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.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,l)})]})},s=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=N.id,A=N.name,x=N.buffer,E=L.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 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||!L.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:!L.hasDisk||!L.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."})]})})},l=function(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.hasDisk,A=L.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!T||!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(N,b){var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=L.isBeakerLoaded,A=L.beakerVolume,x=L.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function E(){return I("ejectBeaker")}return E}()}),children:T?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inject",children:[S.map(function(E,P){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}()},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(N,b){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"average",children:(0,e.createVNode)(1,"h1",null,[(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"}),(0,e.createTextVNode)("\xA0Irradiating occupant\xA0"),(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"})],4)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,[(0,e.createTextVNode)("For "),N.duration,(0,e.createTextVNode)(" second"),N.duration===1?"":"s"],0)})]})},v=function(N,b){for(var B=(0,a.useBackend)(b),I=B.act,L=B.data,T=N.dnaString,A=N.selectedBlock,x=N.selectedSubblock,E=N.blockSize,P=N.action,j=T.split(""),O=0,R=[],D=function(){for(var z=W/E+1,K=[],$=function(){var Z=Y+1;K.push((0,e.createComponentVNode)(2,t.Button,{selected:A===z&&x===Z,content:j[W+Y],mb:"0",onClick:function(){function le(){return I(P,{block:z,subblock:Z})}return le}()}))},Y=0;Yl.spawnpoints?"red":"green",children:[l.total," total, versus ",l.spawnpoints," spawnpoints"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispatch",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,textAlign:"center",icon:"ambulance",content:"Send ERT",onClick:function(){function N(){return s("dispatch_ert",{silent:v})}return N}()})})]})})})},h=function(m,d){var u=(0,a.useBackend)(d),s=u.act,l=u.data,C=l.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,f.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."]})})})})},i=function(m,d){var u=(0,a.useBackend)(d),s=u.act,l=u.data,C=(0,a.useLocalState)(d,"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 p(N,b){return v(b)}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Deny ERT",fluid:!0,icon:"times",center:!0,mt:2,textAlign:"center",onClick:function(){function p(){return s("deny_ert",{reason:g})}return p}()})]})})}},90217:function(w,r,n){"use strict";r.__esModule=!0,r.EconomyManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),V=r.EconomyManager=function(){function S(y,h){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,k)})]})}return S}(),k=function(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.next_payroll_time;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"coins",verticalAlign:"middle",size:3,mr:"1rem"}),"Economy Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{label:"Pay Bonuses and Deductions",children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Global",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Global Payroll Modification",onClick:function(){function 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: ",d," 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)}},82565:function(w,r,n){"use strict";r.__esModule=!0,r.Electropack=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=r.Electropack=function(){function k(S,y){var h=(0,t.useBackend)(y),i=h.act,c=h.data,m=c.power,d=c.code,u=c.frequency,s=c.minFrequency,l=c.maxFrequency;return(0,e.createComponentVNode)(2,f.Window,{width:360,height:135,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,o.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,onClick:function(){function C(){return i("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 i("reset",{reset:"freq"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:s/10,maxValue:l/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 i("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 i("reset",{reset:"code"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:d,width:"80px",onChange:function(){function C(g,v){return i("code",{code:v})}return C}()})})]})})})})}return k}()},11243:function(w,r,n){"use strict";r.__esModule=!0,r.Emojipedia=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),V=r.Emojipedia=function(){function S(y,h){var i=(0,t.useBackend)(h),c=i.data,m=c.emoji_list,d=(0,t.useLocalState)(h,"searchText",""),u=d[0],s=d[1],l=m.filter(function(C){return C.name.toLowerCase().includes(u.toLowerCase())});return(0,e.createComponentVNode)(2,f.Window,{width:325,height:400,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Emojipedia v1.0.1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by name",value:u,onInput:function(){function C(g,v){return s(v)}return C}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Click on an emoji to copy its tag!",tooltipPosition:"bottom",icon:"circle-question"})],4),children:l.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{m:1,color:"transparent",className:(0,a.classes)(["emoji16x16","emoji-"+C.name]),style:{transform:"scale(1.5)"},tooltip:C.name,onClick:function(){function g(){k(C.name)}return g}()},C.name)})})})})}return S}(),k=function(y){var h=document.createElement("input"),i=":"+y+":";h.value=i,document.body.appendChild(h),h.select(),document.execCommand("copy"),document.body.removeChild(h)}},36730:function(w,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),V=n(64795),k=n(88510),S=r.EvolutionMenu=function(){function i(c,m){return(0,e.createComponentVNode)(2,f.Window,{width:480,height:580,theme:"changeling",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,h)]})})})}return i}(),y=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,l=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:l}),(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"})]})]})})})},h=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,l=s.evo_points,C=s.ability_tabs,g=s.purchased_abilities,v=s.view_mode,p=(0,t.useLocalState)(m,"selectedTab",C[0]),N=p[0],b=p[1],B=(0,t.useLocalState)(m,"searchText",""),I=B[0],L=B[1],T=(0,t.useLocalState)(m,"ability_tabs",C[0].abilities),A=T[0],x=T[1],E=function(R,D){if(D===void 0&&(D=""),!R||R.length===0)return[];var W=(0,a.createSearch)(D,function(U){return U.name+"|"+U.description});return(0,V.flow)([(0,k.filter)(function(U){return U==null?void 0:U.name}),(0,k.filter)(W),(0,k.sortBy)(function(U){return U==null?void 0:U.name})])(R)},P=function(R){if(L(R),R==="")return x(N.abilities);x(E(C.map(function(D){return D.abilities}).flat(),R))},j=function(R){b(R),x(R.abilities),L("")};return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Abilities",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{width:"200px",placeholder:"Search Abilities",onInput:function(){function O(R,D){P(D)}return O}(),value:I}),(0,e.createComponentVNode)(2,o.Button,{icon:v?"square-o":"check-square-o",selected:!v,content:"Compact",onClick:function(){function O(){return u("set_view_mode",{mode:0})}return O}()}),(0,e.createComponentVNode)(2,o.Button,{icon:v?"check-square-o":"square-o",selected:v,content:"Expanded",onClick:function(){function O(){return u("set_view_mode",{mode:1})}return O}()})],4),children:[(0,e.createComponentVNode)(2,o.Tabs,{children:C.map(function(O){return(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===""&&N===O,onClick:function(){function R(){j(O)}return R}(),children:O.category},O)})}),A.map(function(O,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:O.name}),g.includes(O.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:O.cost})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,o.Button,{mr:.5,disabled:O.cost>l||g.includes(O.power_path),content:"Evolve",onClick:function(){function D(){return u("purchase",{power_path:O.power_path})}return D}()})})]}),!!v&&(0,e.createComponentVNode)(2,o.Stack,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:O.description+" "+O.helptext})]},R)})]})})}},17370:function(w,r,n){"use strict";r.__esModule=!0,r.ExosuitFabricator=void 0;var e=n(89005),a=n(35840),t=n(25328),o=n(72253),f=n(36036),V=n(73379),k=n(98595),S=["id","amount","lineDisplay","onClick"];function y(g,v){if(g==null)return{};var p={};for(var N in g)if({}.hasOwnProperty.call(g,N)){if(v.includes(N))continue;p[N]=g[N]}return p}var h=2e3,i={bananium:"clown",tranquillite:"mime"},c=r.ExosuitFabricator=function(){function g(v,p){var N=(0,o.useBackend)(p),b=N.act,B=N.data,I=B.building;return(0,e.createComponentVNode)(2,k.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,k.Window.Content,{className:"Exofab",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,d)}),I&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,u)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s)})]})})]})})})}return g}(),m=function(v,p){var N=(0,o.useBackend)(p),b=N.act,B=N.data,I=B.materials,L=B.capacity,T=Object.values(I).reduce(function(A,x){return A+x},0);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Materials",className:"Exofab__materials",buttons:(0,e.createComponentVNode)(2,f.Box,{color:"label",mt:"0.25rem",children:[(T/L*100).toPrecision(3),"% full"]}),children:["metal","glass","silver","gold","uranium","titanium","plasma","diamond","bluespace","bananium","tranquillite","plastic"].map(function(A){return(0,e.createComponentVNode)(2,l,{mt:-2,id:A,bold:A==="metal"||A==="glass",onClick:function(){function x(){return b("withdraw",{id:A})}return x}()},A)})})},d=function(v,p){var N=(0,o.useBackend)(p),b=N.act,B=N.data,I=B.curCategory,L=B.categories,T=B.designs,A=B.syncing,x=(0,o.useLocalState)(p,"searchText",""),E=x[0],P=x[1],j=(0,t.createSearch)(E,function(R){return R.name}),O=T.filter(j);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,className:"Exofab__designs",title:(0,e.createComponentVNode)(2,f.Dropdown,{className:"Exofab__dropdown",selected:I,options:L,onSelected:function(){function R(D){return b("category",{cat:D})}return R}()}),buttons:(0,e.createComponentVNode)(2,f.Box,{mt:"2px",children:[(0,e.createComponentVNode)(2,f.Button,{icon:"plus",content:"Queue all",onClick:function(){function R(){return b("queueall")}return R}()}),(0,e.createComponentVNode)(2,f.Button,{disabled: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,f.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function R(D,W){return P(W)}return R}()}),O.map(function(R){return(0,e.createComponentVNode)(2,C,{design:R},R.id)}),O.length===0&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No designs found."})]})},u=function(v,p){var N=(0,o.useBackend)(p),b=N.act,B=N.data,I=B.building,L=B.buildStart,T=B.buildEnd,A=B.worldTime;return(0,e.createComponentVNode)(2,f.Section,{className:"Exofab__building",stretchContents:!0,children:(0,e.createComponentVNode)(2,f.ProgressBar.Countdown,{start:L,current:A,end:T,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Icon,{name:"cog",spin:!0})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:["Building ",I,"\xA0(",(0,e.createComponentVNode)(2,V.Countdown,{current:A,timeLeft:T-A,format:function(){function x(E,P){return P.substr(3)}return x}()}),")"]})]})})})},s=function(v,p){var N=(0,o.useBackend)(p),b=N.act,B=N.data,I=B.queue,L=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,f.Section,{fill:!0,scrollable:!0,className:"Exofab__queue",title:"Queue",buttons:(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Button,{selected:L,icon:L?"toggle-on":"toggle-off",content:"Process",onClick:function(){function x(){return b("process")}return x}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:I.length===0,icon:"eraser",content:"Clear",onClick:function(){function x(){return b("unqueueall")}return x}()})]}),children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:I.length===0?(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"The queue is empty."}):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--queue",grow:!0,overflow:"auto",children:I.map(function(x,E){return(0,e.createComponentVNode)(2,f.Box,{color:x.notEnough&&"bad",children:[E+1,". ",x.name,E>0&&(0,e.createComponentVNode)(2,f.Button,{icon:"arrow-up",onClick:function(){function P(){return b("queueswap",{from:E+1,to:E})}return P}()}),E0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--time",children:[(0,e.createComponentVNode)(2,f.Divider),"Processing time:",(0,e.createComponentVNode)(2,f.Icon,{name:"clock",mx:"0.5rem"}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,bold:!0,children:new Date(A/10*1e3).toISOString().substr(14,5)})]}),Object.keys(T).length>0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,e.createComponentVNode)(2,f.Divider),"Lacking materials to complete:",T.map(function(x){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,l,{id:x[0],amount:-x[1],lineDisplay:!0})},x[0])})]})],0)})})},l=function(v,p){var N=(0,o.useBackend)(p),b=N.act,B=N.data,I=v.id,L=v.amount,T=v.lineDisplay,A=v.onClick,x=y(v,S),E=B.materials[I]||0,P=L||E;if(!(P<=0&&!(I==="metal"||I==="glass"))){var j=L&&L>E;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",T&&"Exofab__material--line"])},x,{children:T?(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:(0,a.classes)(["materials32x32",I])}),(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__material--amount",color:j&&"bad",ml:0,mr:1,children:P.toLocaleString("en-US")})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{basis:"content",children:(0,e.createComponentVNode)(2,f.Button,{width:"85%",color:"transparent",onClick:A,children:(0,e.createComponentVNode)(2,f.Box,{mt:1,className:(0,a.classes)(["materials32x32",I])})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--name",children:I}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--amount",children:[P.toLocaleString("en-US")," cm\xB3 (",Math.round(P/h*10)/10," ","sheets)"]})]})],4)})))}},C=function(v,p){var N=(0,o.useBackend)(p),b=N.act,B=N.data,I=v.design;return(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,f.Button,{disabled:I.notEnough||B.building,icon:"cog",content:I.name,onClick:function(){function L(){return b("build",{id:I.id})}return L}()}),(0,e.createComponentVNode)(2,f.Button,{icon:"plus-circle",onClick:function(){function L(){return b("queue",{id:I.id})}return L}()}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design--cost",children:Object.entries(I.cost).map(function(L){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,l,{id:L[0],amount:L[1],lineDisplay:!0})},L[0])})}),(0,e.createComponentVNode)(2,f.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"clock"}),I.time>0?(0,e.createFragment)([I.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})}},59128:function(w,r,n){"use strict";r.__esModule=!0,r.ExperimentConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=new Map([[0,{text:"Conscious",color:"good"}],[1,{text:"Unconscious",color:"average"}],[2,{text:"Deceased",color:"bad"}]]),V=new Map([[0,{label:"Probe",icon:"thermometer"}],[1,{label:"Dissect",icon:"brain"}],[2,{label:"Analyze",icon:"search"}]]),k=r.ExperimentConsole=function(){function S(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.open,u=m.feedback,s=m.occupant,l=m.occupant_name,C=m.occupant_status,g=function(){function p(){if(!s)return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No specimen detected."});var N=function(){function B(){return f.get(C)}return B}(),b=N();return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:b.color,children:b.text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Experiments",children:[0,1,2].map(function(B){return(0,e.createComponentVNode)(2,t.Button,{icon:V.get(B).icon,content:V.get(B).label,onClick:function(){function I(){return c("experiment",{experiment_type:B})}return I}()},B)})})]})}return p}(),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:!d,onClick:function(){function p(){return c("door")}return p}()}),children:v})]})})}return S}()},97086:function(w,r,n){"use strict";r.__esModule=!0,r.ExternalAirlockController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=0,V=1013,k=function(h){var i="good",c=80,m=95,d=110,u=120;return hd?i="average":h>u&&(i="bad"),i},S=r.ExternalAirlockController=function(){function y(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.chamber_pressure,s=d.exterior_status,l=d.interior_status,C=d.processing;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:205,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:k(u),value:u,minValue:f,maxValue:V,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 m("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 m("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 m("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:l==="open"?"red":C?"yellow":null,onClick:function(){function g(){return m("force_ext")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Force Interior Door",icon:"exclamation-triangle",color:l==="open"?"red":C?"yellow":null,onClick:function(){function g(){return m("force_int")}return g}()})]})]})]})})}return y}()},96142:function(w,r,n){"use strict";r.__esModule=!0,r.FaxMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.FaxMachine=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.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:i.scan_name?"eject":"id-card",selected:i.scan_name,content:i.scan_name?i.scan_name:"-----",tooltip:i.scan_name?"Eject ID":"Insert ID",onClick:function(){function c(){return h("scan")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.authenticated?"sign-out-alt":"id-card",selected:i.authenticated,disabled:i.nologin,content:i.realauth?"Log Out":"Log In",onClick:function(){function c(){return h("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:i.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:i.paper?"eject":"paperclip",disabled:!i.authenticated&&!i.paper,content:i.paper?i.paper:"-----",onClick:function(){function c(){return h("paper")}return c}()}),!!i.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function c(){return h("rename")}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:i.destination?i.destination:"-----",disabled:!i.authenticated,onClick:function(){function c(){return h("dept")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:i.sendError?i.sendError:"Send",disabled:!i.paper||!i.destination||!i.authenticated||i.sendError,onClick:function(){function c(){return h("send")}return c}()})})]})})]})})}return V}()},74123:function(w,r,n){"use strict";r.__esModule=!0,r.FilingCabinet=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.FilingCabinet=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=y.config,m=i.contents,d=c.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Contents",children:[!m&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"folder-open",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"The ",d," is empty."]})}),!!m&&m.slice().map(function(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 h("retrieve",{index:u.index})}return s}()})})]},u)})]})})})})}return V}()},83767:function(w,r,n){"use strict";r.__esModule=!0,r.FloorPainter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=S.image,d=S.isSelected,u=S.onSelect;return(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+m,style:{"border-style":d&&"solid"||"none","border-width":"2px","border-color":"orange",padding:d&&"2px"||"4px"},onClick:u})},V=r.FloorPainter=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.availableStyles,d=c.selectedStyle,u=c.selectedDir,s=c.directionsPreview,l=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 i("cycle_style",{offset:-1})}return C}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:m,selected:d,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function C(g){return i("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 i("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:m.map(function(C){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,f,{image:l[C],isSelected:d===C,onSelect:function(){function g(){return i("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,f,{image:s[g],isSelected:g===u,onSelect:function(){function v(){return i("select_direction",{direction:g})}return v}()})},g)})},C)})})})})]})})})}return k}()},53424:function(w,r,n){"use strict";r.__esModule=!0,r.GPS=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=function(d){return d?"("+d.join(", ")+")":"ERROR"},k=function(d,u){if(!(!d||!u)){if(d[2]!==u[2])return null;var s=Math.atan2(u[1]-d[1],u[0]-d[0]),l=Math.sqrt(Math.pow(u[1]-d[1],2)+Math.pow(u[0]-d[0],2));return{angle:(0,a.rad2deg)(s),distance:l}}},S=r.GPS=function(){function m(d,u){var s=(0,t.useBackend)(u),l=s.data,C=l.emped,g=l.active,v=l.area,p=l.position,N=l.saved;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:C?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,y,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,h)}),g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,i,{area:v,position:p})}),N&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,i,{title:"Saved Position",position:N})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,c,{height:"100%"})})],0):(0,e.createComponentVNode)(2,y)],0)})})})}return m}(),y=function(d,u){var s=d.emp;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:s?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),s?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},h=function(d,u){var s=(0,t.useBackend)(u),l=s.act,C=s.data,g=C.active,v=C.tag,p=C.same_z,N=(0,t.useLocalState)(u,"newTag",v),b=N[0],B=N[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 l("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 l("tag",{newtag:b})}return I}(),onInput:function(){function I(L,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 l("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:!p,icon:p?"compress":"expand",content:p?"Local Sector":"Global",onClick:function(){function I(){return l("same_z")}return I}()})})]})})},i=function(d,u){var s=d.title,l=d.area,C=d.position;return(0,e.createComponentVNode)(2,o.Section,{title:s||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[l&&(0,e.createFragment)([l,(0,e.createVNode)(1,"br")],0),V(C)]})})},c=function(d,u){var s=(0,t.useBackend)(u),l=s.data,C=l.position,g=l.signals;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,title:"Signals"},d,{children:(0,e.createComponentVNode)(2,o.Table,{children:g.map(function(v){return Object.assign({},v,k(C,v.position))}).map(function(v,p){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:p%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:V(v.position)})]},p)})})})))}},89124:function(w,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(3939),f=n(98595),V=r.GeneModder=function(){function u(s,l){var C=(0,a.useBackend)(l),g=C.data,v=g.has_seed;return(0,e.createComponentVNode)(2,f.Window,{width:950,height:650,children:[(0,e.createVNode)(1,"div","GeneModder__left",(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,d,{scrollable:!0})}),2),(0,e.createVNode)(1,"div","GeneModder__right",(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,o.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),v===0?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,k)]})}),2)]})}return u}(),k=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Genes",fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c)]})},S=function(s,l){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."]})})})},y=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.has_seed,N=v.seed,b=v.has_disk,B=v.disk,I,L;return p?I=(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,"+N.image,style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,t.Button,{content:N.name,onClick:function(){function T(){return g("eject_seed")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function T(){return g("variant_name")}return T}()})]}):I=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:"None",onClick:function(){function T(){return g("eject_seed")}return T}()})}),b?L=B.name:L="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:I}),(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:L,tooltip:"Select Empty Disk",onClick:function(){function T(){return g("select_empty_disk")}return T}()})})})]})})},h=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.disk,N=v.core_genes;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core Genes",open:!0,children:[N.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:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function B(){return g("extract",{id:b.id})}return B}()})})]},b)})," ",(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:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function b(){return g("bulk_extract_core")}return b}()})})})]},"Core Genes")},i=function(s,l){var C=(0,a.useBackend)(l),g=C.data,v=g.reagent_genes,p=g.has_reagent;return(0,e.createComponentVNode)(2,m,{title:"Reagent Genes",gene_set:v,do_we_show:p})},c=function(s,l){var C=(0,a.useBackend)(l),g=C.data,v=g.trait_genes,p=g.has_trait;return(0,e.createComponentVNode)(2,m,{title:"Trait Genes",gene_set:v,do_we_show:p})},m=function(s,l){var C=s.title,g=s.gene_set,v=s.do_we_show,p=(0,a.useBackend)(l),N=p.act,b=p.data,B=b.disk;return(0,e.createComponentVNode)(2,t.Collapsible,{title:C,open:!0,children:v?g.map(function(I){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:I.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 L(){return N("extract",{id:I.id})}return L}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"times",onClick:function(){function L(){return N("remove",{id:I.id})}return L}()})})]},I)}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"No Genes Detected"})},C)},d=function(s,l){var C=s.title,g=s.gene_set,v=s.do_we_show,p=(0,a.useBackend)(l),N=p.act,b=p.data,B=b.has_seed,I=b.empty_disks,L=b.stat_disks,T=b.trait_disks,A=b.reagent_disks;return(0,e.createComponentVNode)(2,t.Section,{title:"Disks",children:[(0,e.createVNode)(1,"br"),"Empty Disks: ",I,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:12,icon:"arrow-down",tooltip:"Eject an Empty disk",content:"Eject Empty Disk",onClick:function(){function x(){return N("eject_empty_disk")}return x}()}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stats",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[L.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[x.stat==="All"?(0,e.createComponentVNode)(2,t.Button,{content:"Replace All",tooltip:"Write disk stats to seed",disabled:!(x!=null&&x.ready)||!B,icon:"arrow-circle-down",onClick:function(){function E(){return N("bulk_replace_core",{index:x.index})}return E}()}):(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",tooltip:"Write disk stat to seed",disabled:!x||!B,content:"Replace",onClick:function(){function E(){return N("replace",{index:x.index,stat:x.stat})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return N("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Traits",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[T.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",disabled:!x||!x.can_insert,tooltip:"Add disk trait to seed",content:"Insert",onClick:function(){function E(){return N("insert",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return N("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Reagents",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[A.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",disabled:!x||!x.can_insert,tooltip:"Add disk reagent to seed",content:"Insert",onClick:function(){function E(){return N("insert",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return N("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})})]})]})}},73053:function(w,r,n){"use strict";r.__esModule=!0,r.GenericCrewManifest=void 0;var e=n(89005),a=n(36036),t=n(98595),o=n(41874),f=r.GenericCrewManifest=function(){function V(k,S){return(0,e.createComponentVNode)(2,t.Window,{theme:"nologo",width:588,height:510,children:(0,e.createComponentVNode)(2,t.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:(0,e.createComponentVNode)(2,o.CrewManifest)})})})}return V}()},42914:function(w,r,n){"use strict";r.__esModule=!0,r.GhostHudPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GhostHudPanel=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.data,c=i.security,m=i.medical,d=i.diagnostic,u=i.radioactivity,s=i.ahud;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:207,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,V,{label:"Medical",type:"medical",is_active:m}),(0,e.createComponentVNode)(2,V,{label:"Security",type:"security",is_active:c}),(0,e.createComponentVNode)(2,V,{label:"Diagnostic",type:"diagnostic",is_active:d}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,V,{label:"Radioactivity",type:"radioactivity",is_active:u,act_on:"rads_on",act_off:"rads_off"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,V,{label:"Antag HUD",is_active:s,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return k}(),V=function(S,y){var h=(0,a.useBackend)(y),i=h.act,c=S.label,m=S.type,d=m===void 0?null:m,u=S.is_active,s=S.act_on,l=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 i(u?g:l,{hud_type:d})}return v}()})})]})}},25825:function(w,r,n){"use strict";r.__esModule=!0,r.GlandDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GlandDispenser=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.glands,m=c===void 0?[]:c;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:338,theme:"abductor",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:d.color,content:d.amount||"0",disabled:!d.amount,onClick:function(){function u(){return h("dispense",{gland_id:d.id})}return u}()},d.id)})})})})}return V}()},10270:function(w,r,n){"use strict";r.__esModule=!0,r.GravityGen=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GravityGen=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.charging_state,m=i.charge_count,d=i.breaker,u=i.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}(),l=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:[l(c),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Generator Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"Online":"Offline",color:d?"green":"red",px:1.5,onClick:function(){function C(){return h("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:m/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})})]})})]})})})}return V}()},48657:function(w,r,n){"use strict";r.__esModule=!0,r.GuestPass=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(49148),V=r.GuestPass=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:690,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:!c.showlogs,onClick:function(){function m(){return i("mode",{mode:0})}return m}(),children:"Issue Pass"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"scroll",selected:c.showlogs,onClick:function(){function m(){return i("mode",{mode:1})}return m}(),children:["Records (",c.issue_log.length,")"]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.scan_name?"eject":"id-card",selected:c.scan_name,content:c.scan_name?c.scan_name:"-----",tooltip:c.scan_name?"Eject ID":"Insert ID",onClick:function(){function m(){return i("scan")}return m}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!c.showlogs&&(0,e.createComponentVNode)(2,t.Section,{title:"Issue Guest Pass",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Issue To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.giv_name?c.giv_name:"-----",disabled:!c.scan_name,onClick:function(){function m(){return i("giv_name")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reason",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.reason?c.reason:"-----",disabled:!c.scan_name,onClick:function(){function m(){return i("reason")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.duration?c.duration:"-----",disabled:!c.scan_name,onClick:function(){function m(){return i("duration")}return m}()})})]})})}),!c.showlogs&&(c.scan_name?(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:c.printmsg,disabled:!c.canprint,onClick:function(){function m(){return i("issue")}return m}()}),grantableList:c.grantableList,accesses:c.regions,selectedList:c.selectedAccess,accessMod:function(){function m(d){return i("access",{access:d})}return m}(),grantAll:function(){function m(){return i("grant_all")}return m}(),denyAll:function(){function m(){return i("clear_all")}return m}(),grantDep:function(){function m(d){return i("grant_region",{region:d})}return m}(),denyDep:function(){function m(d){return i("deny_region",{region:d})}return m}()})}):(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Please, insert ID Card"]})})})})),!!c.showlogs&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Issuance Log",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:!c.scan_name,onClick:function(){function m(){return i("print")}return m}()}),children:!!c.issue_log.length&&(0,e.createComponentVNode)(2,t.LabeledList,{children:c.issue_log.map(function(m,d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No logs"]})})})})]})})})}return k}()},67834:function(w,r,n){"use strict";r.__esModule=!0,r.HandheldChemDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=[1,5,10,20,30,50],V=null,k=r.HandheldChemDispenser=function(){function h(i,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,y)]})})})}return h}(),S=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.amount,l=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:l,minValue:0,maxValue:C,ranges:{good:[C*.5,1/0],average:[C*.25,C*.5],bad:[-1/0,C*.25]},children:[l," / ",C," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Amount",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:f.map(function(v,p){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 N(){return d("amount",{amount:v})}return N}()})},p)})})}),(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 d("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 d("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 d("mode",{mode:"isolate"})}return v}()})]})})]})})})},y=function(i,c){for(var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.chemicals,l=s===void 0?[]:s,C=u.current_reagent,g=[],v=0;v<(l.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:[l.map(function(p,N){return(0,e.createComponentVNode)(2,t.Button,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:C===p.id,content:p.title,style:{"margin-left":"2px"},onClick:function(){function b(){return d("dispense",{reagent:p.id})}return b}()},N)}),g.map(function(p,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},N)})]})})}},46098:function(w,r,n){"use strict";r.__esModule=!0,r.HealthSensor=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=r.HealthSensor=function(){function S(y,h){var i=(0,t.useBackend)(h),c=i.act,m=i.data,d=m.on,u=m.user_health,s=m.minHealth,l=m.maxHealth,C=m.alarm_health;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:125,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scanning",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",content:d?"On":"Off",color:d?null:"red",selected:d,onClick:function(){function 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:l,value:C,format:function(){function g(v){return(0,a.toFixed)(v,1)}return g}(),width:"80px",onDrag:function(){function g(v,p){return c("alarm_health",{alarm_health:p})}return g}()})}),u!==null&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"User health",children:(0,e.createComponentVNode)(2,o.Box,{color:k(u),bold:u>=100,children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:u})})})]})})})})}return S}(),k=function(y){return y>50?"green":y>0?"orange":"red"}},36771:function(w,r,n){"use strict";r.__esModule=!0,r.Holodeck=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Holodeck=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=(0,a.useLocalState)(y,"currentDeck",""),d=m[0],u=m[1],s=(0,a.useLocalState)(y,"showReload",!1),l=s[0],C=s[1],g=c.decks,v=c.ai_override,p=c.emagged,N=function(){function b(B){i("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:[l&&(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Holodeck Control System",children:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"b",null,"Currently Loaded Program:",16)," ",d]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Available Programs",children:[g.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{width:15.5,color:"transparent",content:b,selected:b===d,onClick:function(){function B(){return N(b)}return B}()},b)}),(0,e.createVNode)(1,"hr",null,null,1,{color:"gray"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!v&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Override Protocols",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"Turn On":"Turn Off",color:p?"good":"bad",onClick:function(){function b(){return i("ai_override")}return b}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety Protocols",children:(0,e.createComponentVNode)(2,t.Box,{color:p?"bad":"good",children:[p?"Off":"On",!!p&&(0,e.createComponentVNode)(2,t.Button,{ml:9.5,width:15.5,color:"red",content:"Wildlife Simulation",onClick:function(){function b(){return i("wildlifecarp")}return b}()})]})})]})]})})]})})]})}return k}(),V=function(S,y){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)})]})}},25471:function(w,r,n){"use strict";r.__esModule=!0,r.Instrument=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=r.Instrument=function(){function i(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,h)]})})]})}return i}(),k=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,l=s.help;if(l)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.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.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,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,l=s.lines,C=s.playing,g=s.repeat,v=s.maxRepeats,p=s.tempo,N=s.minTempo,b=s.maxTempo,B=s.tickLag,I=s.volume,L=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:l.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:p>=b,content:"-",as:"span",mr:"0.5rem",onClick:function(){function x(){return u("tempo",{new:p+B})}return x}()}),(0,a.round)(600/p)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:p<=N,content:"+",as:"span",ml:"0.5rem",onClick:function(){function x(){return u("tempo",{new:p-B})}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:L,maxValue:T,value:I,stepPixelSize:6,onDrag:function(){function 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,y)]})},y=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,l=s.allowedInstrumentNames,C=s.instrumentLoaded,g=s.instrument,v=s.canNoteShift,p=s.noteShift,N=s.noteShiftMin,b=s.noteShiftMax,B=s.sustainMode,I=s.sustainLinearDuration,L=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 j(O){return(0,a.round)(O*100)/100+" seconds"}return j}(),onChange:function(){function j(O,R){return u("setlinearfalloff",{new:R/10})}return j}()})):B===2&&(E="Exponential",P=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:L,step:.01,format:function(){function j(O){return(0,a.round)(O*1e3)/1e3+"% per decisecond"}return j}(),onChange:function(){function j(O,R){return u("setexpfalloff",{new:R})}return j}()})),l.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:l,selected:g,width:"50%",onSelected:function(){function j(O){return u("switchinstrument",{name:O})}return j}()}):(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:N,maxValue:b,value:p,stepPixelSize:2,format:function(){function j(O){return O+" keys / "+(0,a.round)(O/12*100)/100+" octaves"}return j}(),onChange:function(){function j(O,R){return u("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(O){return u("setsustainmode",{new:O})}return j}()}),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 j(O,R){return u("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 u("togglesustainhold")}return j}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function j(){return u("reset")}return j}()})]})})})},h=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,l=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||l,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,p){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:p+1,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:l,icon:"pen",onClick:function(){function N(){return u("modifyline",{line:p+1})}return N}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:l,icon:"trash",onClick:function(){function N(){return u("deleteline",{line:p+1})}return N}()})],4),children:v},p)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},13618:function(w,r,n){"use strict";r.__esModule=!0,r.KeyComboModal=void 0;var e=n(89005),a=n(70611),t=n(72253),o=n(36036),f=n(98595),V=n(19203),k=n(51057),S=function(d){return d.key!==a.KEY.Alt&&d.key!==a.KEY.Control&&d.key!==a.KEY.Shift&&d.key!==a.KEY.Escape},y={DEL:"Delete",DOWN:"South",END:"Southwest",HOME:"Northwest",INSERT:"Insert",LEFT:"West",PAGEDOWN:"Southeast",PAGEUP:"Northeast",RIGHT:"East",SPACEBAR:"Space",UP:"North"},h=3,i=function(d){var u="";if(d.altKey&&(u+="Alt"),d.ctrlKey&&(u+="Ctrl"),d.shiftKey&&!(d.keyCode>=48&&d.keyCode<=57)&&(u+="Shift"),d.location===h&&(u+="Numpad"),S(d))if(d.shiftKey&&d.keyCode>=48&&d.keyCode<=57){var s=d.keyCode-48;u+="Shift"+s}else{var l=d.key.toUpperCase();u+=y[l]||l}return u},c=r.KeyComboModal=function(){function m(d,u){var s=(0,t.useBackend)(u),l=s.act,C=s.data,g=C.init_value,v=C.large_buttons,p=C.message,N=p===void 0?"":p,b=C.title,B=C.timeout,I=(0,t.useLocalState)(u,"input",g),L=I[0],T=I[1],A=(0,t.useLocalState)(u,"binding",!0),x=A[0],E=A[1],P=function(){function R(D){if(!x){D.key===a.KEY.Enter&&l("submit",{entry:L}),D.key===a.KEY.Escape&&l("cancel");return}if(D.preventDefault(),S(D)){j(i(D)),E(!1);return}else if(D.key===a.KEY.Escape){j(g),E(!1);return}}return R}(),j=function(){function R(D){D!==L&&T(D)}return R}(),O=130+(N.length>30?Math.ceil(N.length/3):0)+(N.length&&v?5:0);return(0,e.createComponentVNode)(2,f.Window,{title:b,width:240,height:O,children:[B&&(0,e.createComponentVNode)(2,k.Loader,{value:B}),(0,e.createComponentVNode)(2,f.Window.Content,{onKeyDown:function(){function R(D){P(D)}return R}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Autofocus),(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.Box,{color:"label",children:N})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:x,content:x&&x!==null?"Awaiting input...":""+L,width:"100%",textAlign:"center",onClick:function(){function R(){j(g),E(!0)}return R}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,V.InputButtons,{input:L})})]})]})})]})}return m}()},35655:function(w,r,n){"use strict";r.__esModule=!0,r.KeycardAuth=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.KeycardAuth=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.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(!i.swiping&&!i.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:!i.redAvailable,onClick:function(){function d(){return h("triggerevent",{triggerevent:"Red Alert"})}return d}(),content:"Red Alert"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Emergency Response Team"})}return d}(),content:"Call ERT"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Maint Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return d}(),content:"Revoke"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Station-Wide Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return d}(),content:"Revoke"})]})]})})]})});var m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!i.hasSwiped&&!i.ertreason&&i.event==="Emergency Response Team"?m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):i.hasConfirm?m=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):i.isRemote?m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):i.hasSwiped&&(m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Waiting for second person to confirm..."})),(0,e.createComponentVNode)(2,o.Window,{width:540,height:265,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,i.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:i.ertreason?"":"red",icon:i.ertreason?"check":"pencil-alt",content:i.ertreason?i.ertreason:"-----",disabled:i.busy,onClick:function(){function d(){return h("ert")}return d}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:i.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:i.busy||i.hasConfirm,onClick:function(){function d(){return h("reset")}return d}()}),children:m})]})})}return V}()},62955:function(w,r,n){"use strict";r.__esModule=!0,r.KitchenMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(62411),V=r.KitchenMachine=function(){function S(y,h){var i=(0,a.useBackend)(h),c=i.data,m=i.config,d=c.ingredients,u=c.operating,s=m.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Operating,{operating:u,name:s}),(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,title:"Ingredients",children:(0,e.createComponentVNode)(2,t.Table,{className:"Ingredient__Table",children:d.map(function(l){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:l.name}),2),(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:[l.amount," ",l.units]}),2)]},l.name)})})})})]})})})}return S}(),k=function(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.inactive,u=m.tooltip;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:d,tooltip:d?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:d,tooltip:d?u:"",tooltipPosition:"bottom",content:"Eject Contents",onClick:function(){function s(){return c("eject")}return s}()})})]})})}},9525:function(w,r,n){"use strict";r.__esModule=!0,r.LawManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.LawManager=function(){function y(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.isAdmin,s=d.isSlaved,l=d.isMalf,C=d.isAIMalf,g=d.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:l?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,"."]}),!!(l||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 m("set_view",{set_view:0})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:g===1,onClick:function(){function v(){return m("set_view",{set_view:1})}return v}()})]}),g===0&&(0,e.createComponentVNode)(2,V),g===1&&(0,e.createComponentVNode)(2,k)]})})}return y}(),V=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.has_zeroth_laws,s=d.zeroth_laws,l=d.has_ion_laws,C=d.ion_laws,g=d.ion_law_nr,v=d.has_inherent_laws,p=d.inherent_laws,N=d.has_supplied_laws,b=d.supplied_laws,B=d.channels,I=d.channel,L=d.isMalf,T=d.isAdmin,A=d.zeroth_law,x=d.ion_law,E=d.inherent_law,P=d.supplied_law,j=d.supplied_law_position;return(0,e.createFragment)([!!u&&(0,e.createComponentVNode)(2,S,{title:"ERR_NULL_VALUE",laws:s,ctx:i}),!!l&&(0,e.createComponentVNode)(2,S,{title:g,laws:C,ctx:i}),!!v&&(0,e.createComponentVNode)(2,S,{title:"Inherent",laws:p,ctx:i}),!!N&&(0,e.createComponentVNode)(2,S,{title:"Supplied",laws:b,ctx:i}),(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(O){return(0,e.createComponentVNode)(2,t.Button,{content:O.channel,selected:O.channel===I,onClick:function(){function R(){return m("law_channel",{law_channel:O.channel})}return R}()},O.channel)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State Laws",children:(0,e.createComponentVNode)(2,t.Button,{content:"State Laws",onClick:function(){function O(){return m("state_laws")}return O}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Law Notification",children:(0,e.createComponentVNode)(2,t.Button,{content:"Notify",onClick:function(){function O(){return m("notify_laws")}return O}()})})]})}),!!L&&(0,e.createComponentVNode)(2,t.Section,{title:"Add Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"60%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Actions"})]}),!!(T&&!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 O(){return m("change_zeroth_law")}return O}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function O(){return m("add_zeroth_law")}return O}()})]})]}),(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 O(){return m("change_ion_law")}return O}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function O(){return m("add_ion_law")}return O}()})]})]}),(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 O(){return m("change_inherent_law")}return O}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function O(){return m("add_inherent_law")}return O}()})]})]}),(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:j,onClick:function(){function O(){return m("change_supplied_law_position")}return O}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function O(){return m("change_supplied_law")}return O}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function O(){return m("add_supplied_law")}return O}()})]})]})]})})],0)},k=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.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 l(){return m("transfer_laws",{transfer_laws:s.ref})}return l}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.laws.has_ion_laws>0&&s.laws.ion_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)}),s.laws.has_zeroth_laws>0&&s.laws.zeroth_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)}),s.laws.has_inherent_laws>0&&s.laws.inherent_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)}),s.laws.has_supplied_laws>0&&s.laws.inherent_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)})]})},s.name)})})},S=function(h,i){var c=(0,a.useBackend)(h.ctx),m=c.act,d=c.data,u=d.isMalf;return(0,e.createComponentVNode)(2,t.Section,{title:h.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?"})]}),h.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 l(){return m("state_law",{ref:s.ref,state_law:s.state?0:1})}return l}()}),!!u&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function l(){return m("edit_law",{edit_law:s.ref})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function l(){return m("delete_law",{delete_law:s.ref})}return l}()})],4)]})]},s.law)})]})})}},85066:function(w,r,n){"use strict";r.__esModule=!0,r.LibraryComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),V=r.LibraryComputer=function(){function g(v,p){return(0,e.createComponentVNode)(2,o.Window,{width:1050,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c)]})})]})}return g}(),k=function(v,p){var N=(0,a.useBackend)(p),b=N.act,B=N.data,I=v.args,L=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:I.summary}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",verticalAlign:"top"})]}),!I.isProgrammatic&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Categories",children:I.categories.join(", ")})]}),(0,e.createVNode)(1,"br"),L===I.ckey&&(0,e.createComponentVNode)(2,t.Button,{content:"Delete Book",icon:"trash",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return b("delete_book",{bookid:I.id,user_ckey:L})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Report Book",icon:"flag",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,f.modalOpen)(p,"report_book",{bookid:I.id})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Rate Book",icon:"star",color:"caution",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,f.modalOpen)(p,"rate_info",{bookid:I.id})}return T}()})]})},S=function(v,p){var N=(0,a.useBackend)(p),b=N.act,B=N.data,I=v.args,L=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===L,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}()})]})},y=function(v,p){var N=(0,a.useBackend)(p),b=N.act,B=N.data,I=B.selected_rating,L=Array(10).fill().map(function(T,A){return 1+A});return(0,e.createComponentVNode)(2,t.Stack,{children:[L.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"})]})]})},h=function(v,p){var N=(0,a.useBackend)(p),b=N.act,B=N.data,I=v.args,L=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.current_rating?I.current_rating:0,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Ratings",children:I.total_ratings?I.total_ratings:0})]}),(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Button.Confirm,{mt:2,content:"Submit",icon:"paper-plane",onClick:function(){function T(){return b("rate_book",{bookid:I.id,user_ckey:L})}return T}()})]})},i=function(v,p){var N=(0,a.useBackend)(p),b=N.data,B=(0,a.useLocalState)(p,"tabIndex",0),I=B[0],L=B[1],T=b.login_state;return(0,e.createComponentVNode)(2,t.Stack.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===0,onClick:function(){function A(){return L(0)}return A}(),children:"Book Archives"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===1,onClick:function(){function A(){return L(1)}return A}(),children:"Corporate Literature"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===2,onClick:function(){function A(){return L(2)}return A}(),children:"Upload Book"}),T===1&&(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===3,onClick:function(){function A(){return L(3)}return A}(),children:"Patron Manager"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===4,onClick:function(){function A(){return L(4)}return A}(),children:"Inventory"})]})})},c=function(v,p){var N=(0,a.useLocalState)(p,"tabIndex",0),b=N[0];switch(b){case 0:return(0,e.createComponentVNode)(2,d);case 1:return(0,e.createComponentVNode)(2,u);case 2:return(0,e.createComponentVNode)(2,s);case 3:return(0,e.createComponentVNode)(2,l);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."}},m=function(v,p){var N=(0,a.useBackend)(p),b=N.act,B=N.data,I=B.searchcontent,L=B.book_categories,T=B.user_ckey,A=[];return L.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,f.modalOpen)(p,"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,f.modalOpen)(p,"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,f.modalOpen)(p,"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,f.modalOpen)(p,"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:L.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"),L.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}()})]})]})},d=function(v,p){var N=(0,a.useBackend)(p),b=N.act,B=N.data,I=B.external_booklist,L=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:L===1,onClick:function(){function x(){return b("deincrementpagemax")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",disabled:L===1,onClick:function(){function x(){return b("deincrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{bold:!0,content:L,onClick:function(){function x(){return(0,f.modalOpen)(p,"setpagenumber")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",disabled:L===T,onClick:function(){function x(){return b("incrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",disabled:L===T,onClick:function(){function x(){return b("incrementpagemax")}return x}()})],4),children:[(0,e.createComponentVNode)(2,m),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ratings"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Category"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(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,f.modalOpen)(p,"expand_info",{bookid:x.id})}return E}()})]})]},x.id)})]})]})},u=function(v,p){var N=(0,a.useBackend)(p),b=N.act,B=N.data,I=B.programmatic_booklist,L=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Corporate Book Catalog",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(T,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:[L===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,f.modalOpen)(p,"expand_info",{bookid:T.id})}return x}()})]})]},A)})]})})},s=function(v,p){var N=(0,a.useBackend)(p),b=N.act,B=N.data,I=B.selectedbook,L=B.book_categories,T=B.user_ckey,A=[];return L.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,f.modalOpen)(p,"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,f.modalOpen)(p,"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:L.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"),L.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,f.modalOpen)(p,"edit_selected_summary")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:I.summary})]})})]})]})},l=function(v,p){var N=(0,a.useBackend)(p),b=N.act,B=N.data,I=B.checkout_data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Checked Out Books",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Patron"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actions"})]}),I.map(function(L,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-tag"}),L.patron_name]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.timeleft>=0?L.timeleft:"LATE"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:(0,e.createComponentVNode)(2,t.Button,{content:"Mark Lost",icon:"flag",color:"bad",disabled:L.timeleft>=0,onClick:function(){function A(){return b("reportlost",{libraryid:L.libraryid})}return A}()})})]},T)})]})})},C=function(v,p){var N=(0,a.useBackend)(p),b=N.act,B=N.data,I=B.inventory_list;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Library Inventory",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"LIB ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"})]}),I.map(function(L,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.libraryid}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"})," ",L.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.checked_out?"Checked Out":"Available"})]},T)})]})})};(0,f.modalRegisterBodyOverride)("expand_info",k),(0,f.modalRegisterBodyOverride)("report_book",S),(0,f.modalRegisterBodyOverride)("rate_info",h)},9516:function(w,r,n){"use strict";r.__esModule=!0,r.LibraryManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),V=r.LibraryManager=function(){function i(c,m){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,k)})]})}return i}(),k=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=s.pagestate;switch(l){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,h);case 3:return(0,e.createComponentVNode)(2,y);default:return"WE SHOULDN'T BE HERE!"}},S=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-shield",verticalAlign:"middle",size:3,mr:"1rem"}),"Library Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",width:"auto",color:"danger",content:"Delete Book by SSID",onClick:function(){function l(){return(0,f.modalOpen)(m,"specify_ssid_delete")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",width:"auto",color:"danger",content:"Delete All Books By CKEY",onClick:function(){function l(){return(0,f.modalOpen)(m,"specify_ckey_delete")}return l}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Books By CKEY",onClick:function(){function l(){return(0,f.modalOpen)(m,"specify_ckey_search")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Reported Books",onClick:function(){function l(){return u("view_reported_books")}return l}()})]})},y=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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"})]}),l.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)})]})})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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 ",l,(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)})]})})}},90447:function(w,r,n){"use strict";r.__esModule=!0,r.ListInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(36036),f=n(72253),V=n(92986),k=n(98595),S=r.ListInputModal=function(){function i(c,m){var d=(0,f.useBackend)(m),u=d.act,s=d.data,l=s.items,C=l===void 0?[]:l,g=s.message,v=g===void 0?"":g,p=s.init_value,N=s.timeout,b=s.title,B=(0,f.useLocalState)(m,"selected",C.indexOf(p)),I=B[0],L=B[1],T=(0,f.useLocalState)(m,"searchBarVisible",C.length>10),A=T[0],x=T[1],E=(0,f.useLocalState)(m,"searchQuery",""),P=E[0],j=E[1],O=function(){function Y(J){var Z=K.length-1;if(J===V.KEY_DOWN)if(I===null||I===Z){var le;L(0),(le=document.getElementById("0"))==null||le.scrollIntoView()}else{var ne;L(I+1),(ne=document.getElementById((I+1).toString()))==null||ne.scrollIntoView()}else if(J===V.KEY_UP)if(I===null||I===0){var me;L(Z),(me=document.getElementById(Z.toString()))==null||me.scrollIntoView()}else{var he;L(I-1),(he=document.getElementById((I-1).toString()))==null||he.scrollIntoView()}}return Y}(),R=function(){function Y(J){J!==I&&L(J)}return Y}(),D=function(){function Y(){x(!1),x(!0)}return Y}(),W=function(){function Y(J){var Z=String.fromCharCode(J),le=C.find(function(he){return he==null?void 0:he.toLowerCase().startsWith(Z==null?void 0:Z.toLowerCase())});if(le){var ne,me=C.indexOf(le);L(me),(ne=document.getElementById(me.toString()))==null||ne.scrollIntoView()}}return Y}(),U=function(){function Y(J){var Z;J!==P&&(j(J),L(0),(Z=document.getElementById("0"))==null||Z.scrollIntoView())}return Y}(),z=function(){function Y(){x(!A),j("")}return Y}(),K=C.filter(function(Y){return Y==null?void 0:Y.toLowerCase().includes(P.toLowerCase())}),$=330+Math.ceil(v.length/3);return A||setTimeout(function(){var Y;return(Y=document.getElementById(I.toString()))==null?void 0:Y.focus()},1),(0,e.createComponentVNode)(2,k.Window,{title:b,width:325,height:$,children:[N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:function(){function Y(J){var Z=window.event?J.which:J.keyCode;(Z===V.KEY_DOWN||Z===V.KEY_UP)&&(J.preventDefault(),O(Z)),Z===V.KEY_ENTER&&(J.preventDefault(),u("submit",{entry:K[I]})),!A&&Z>=V.KEY_A&&Z<=V.KEY_Z&&(J.preventDefault(),W(Z)),Z===V.KEY_ESCAPE&&(J.preventDefault(),u("cancel"))}return Y}(),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 Y(){return z()}return Y}()}),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,y,{filteredItems:K,onClick:R,onFocusSearch:D,searchBarVisible:A,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:A&&(0,e.createComponentVNode)(2,h,{filteredItems:K,onSearch:U,searchQuery:P,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:K[I]})})]})})})]})}return i}(),y=function(c,m){var d=(0,f.useBackend)(m),u=d.act,s=c.filteredItems,l=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(p,N){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:N,onClick:function(){function b(){return l(N)}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>=V.KEY_A&&I<=V.KEY_Z&&(B.preventDefault(),C())}return b}(),selected:N===v,style:{animation:"none",transition:"none"},children:p.replace(/^\w/,function(b){return b.toUpperCase()})},N)})})},h=function(c,m){var d=(0,f.useBackend)(m),u=d.act,s=c.filteredItems,l=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(p){p.preventDefault(),u("submit",{entry:s[g]})}return v}(),onInput:function(){function v(p,N){return l(N)}return v}(),placeholder:"Search...",value:C})}},77613:function(w,r,n){"use strict";r.__esModule=!0,r.MODsuitContent=r.MODsuit=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(I,L){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),P=E.act;return(0,e.createComponentVNode)(2,t.NumberInput,{value:A,minValue:-50,maxValue:50,stepPixelSize:5,width:"39px",onChange:function(){function j(O,R){return P("configure",{key:T,value:R,ref:x})}return j}()})},V=function(I,L){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),P=E.act;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:A,onClick:function(){function j(){return P("configure",{key:T,value:!A,ref:x})}return j}()})},k=function(I,L){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),P=E.act;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"paint-brush",onClick:function(){function j(){return P("configure",{key:T,ref:x})}return j}()}),(0,e.createComponentVNode)(2,t.ColorBox,{color:A,mr:.5})],4)},S=function(I,L){var T=I.name,A=I.value,x=I.values,E=I.module_ref,P=(0,a.useBackend)(L),j=P.act;return(0,e.createComponentVNode)(2,t.Dropdown,{displayText:A,options:x,onSelected:function(){function O(R){return j("configure",{key:T,value:R,ref:E})}return O}()})},y=function(I,L){var T=I.name,A=I.display_name,x=I.type,E=I.value,P=I.values,j=I.module_ref,O={number:(0,e.normalizeProps)((0,e.createComponentVNode)(2,f,Object.assign({},I))),bool:(0,e.normalizeProps)((0,e.createComponentVNode)(2,V,Object.assign({},I))),color:(0,e.normalizeProps)((0,e.createComponentVNode)(2,k,Object.assign({},I))),list:(0,e.normalizeProps)((0,e.createComponentVNode)(2,S,Object.assign({},I)))};return(0,e.createComponentVNode)(2,t.Box,{children:[A,": ",O[x]]})},h=function(I,L){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})})]})},i=function(I,L){var T=I.active,A=I.userhealth,x=I.usermaxhealth,E=I.userbrute,P=I.userburn,j=I.usertoxin,O=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?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?O/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?O:0})})})})]})],4)},c=function(I,L){var T=I.active,A=I.statustime,x=I.statusid,E=I.statushealth,P=I.statusmaxhealth,j=I.statusbrute,O=I.statusburn,R=I.statustoxin,D=I.statusoxy,W=I.statustemp,U=I.statusnutrition,z=I.statusfingerprints,K=I.statusdna,$=I.statusviruses;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Time",children:T?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?j/P: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?O/P:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?O: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/P: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/P: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?W: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?z:"???"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:T?K:"???"})]})}),!!T&&!!$&&(0,e.createComponentVNode)(2,t.Section,{title:"Diseases",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"signature",tooltip:"Name",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"wind",tooltip:"Type",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Stage",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"flask",tooltip:"Cure",tooltipPosition:"top"})})]}),$.map(function(Y){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:Y.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:Y.type}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[Y.stage,"/",Y.maxstage]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:Y.cure})]},Y.name)})]})})],0)},m={rad_counter:h,health_analyzer:i,status_readout:c},d=function(){return(0,e.createComponentVNode)(2,t.Section,{align:"center",fill:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{color:"red",name:"exclamation-triangle",size:15}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"30px",color:"red",children:"ERROR: INTERFACE UNRESPONSIVE"})]})},u=function(I,L){var T=(0,a.useBackend)(L),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,L){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,y,{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"})})})]})})},l=function(I){switch(I){case 1:return"Use";case 2:return"Toggle";case 3:return"Select"}},C=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.active,P=x.malfunctioning,j=x.locked,O=x.open,R=x.selected_module,D=x.complexity,W=x.complexity_max,U=x.wearer_name,z=x.wearer_job,K=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 $(){return A("activate")}return $}()}),children:K}),(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 $(){return A("lock")}return $}()}),children:j?"Locked":"Unlocked"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover",children:O?"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," (",W,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:[U,", ",z]})]})})},g=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.active,P=x.control,j=x.helmet,O=x.chestplate,R=x.gauntlets,D=x.boots,W=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:j||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chestplate",children:O||"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:W&&(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Type",children:W}),(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,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.active,P=x.modules,j=P.filter(function(O){return!!O.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(O){var R=m[O.id];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!E&&(0,e.createComponentVNode)(2,u),(0,e.normalizeProps)((0,e.createComponentVNode)(2,R,Object.assign({},O,{active:E})))]},O.ref)})||(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Info Modules Detected"})})})},p=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.complexity_max,P=x.modules,j=(0,a.useLocalState)(L,"module_configuration",null),O=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:P.length!==0&&P.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:[O===D.ref&&(0,e.createComponentVNode)(2,s,{configuration_data:D.configuration_data,module_ref:D.ref,onExit:function(){function W(){return R(null)}return W}()}),(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 W(){return A("select",{ref:D.ref})}return W}(),icon:"bullseye",selected:D.module_active,tooltip:l(D.module_type),tooltipPosition:"left",disabled:!D.module_type}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function W(){return R(D.ref)}return W}(),icon:"cog",selected:O===D.ref,tooltip:"Configure",tooltipPosition:"left",disabled:D.configuration_data.length===0}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function W(){return A("pin",{ref:D.ref})}return W}(),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"})})})})},N=r.MODsuitContent=function(){function B(I,L){var T=(0,a.useBackend)(L),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,d)||(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,p)})]})})}return B}(),b=r.MODsuit=function(){function B(I,L){var T=(0,a.useBackend)(L),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,N)})})})}return B}()},78624:function(w,r,n){"use strict";r.__esModule=!0,r.MagnetController=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=n(3939),k=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 y(h,i){var c=(0,t.useBackend)(i),m=c.act,d=c.data,u=d.autolink,s=d.code,l=d.frequency,C=d.linkedMagnets,g=d.magnetConfiguration,v=d.path,p=d.pathPosition,N=d.probing,b=d.powerState,B=d.speed;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[!u&&(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Probe",icon:N?"spinner":"sync",iconSpin:!!N,disabled:N,onClick:function(){function I(){return m("probe_magnets")}return I}()}),title:"Magnet Linking",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,a.toFixed)(l/10,1)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:s})]})}),(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{icon:b?"power-off":"times",content:b?"On":"Off",selected:b,onClick:function(){function I(){return m("toggle_power")}return I}()}),title:"Controller Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:B.value,minValue:B.min,maxValue:B.max,onChange:function(){function I(L,T){return m("set_speed",{speed:T})}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Path",children:[Array.from(k.entries()).map(function(I){var L=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 m("path_add",{code:L})}return E}()},L)}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",confirmIcon:"trash",confirmContent:"",float:"right",tooltip:"Reset Path",tooltipPosition:"left",onClick:function(){function I(){return m("path_clear")}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file-import",float:"right",tooltip:"Manually input path",tooltipPosition:"left",onClick:function(){function I(){return(0,V.modalOpen)(i,"path_custom_input")}return I}()}),(0,e.createComponentVNode)(2,o.BlockQuote,{children:v.map(function(I,L){var T=k.get(I)||{icon:"question"},A=T.icon,x=T.tooltip;return(0,e.createComponentVNode)(2,o.Button.Confirm,{selected:L+2===p,icon:A,confirmIcon:A,confirmContent:"",tooltip:x,onClick:function(){function E(){return m("path_remove",{index:L+1,code:I})}return E}()},L)})})]})]})}),C.map(function(I,L){var T=I.uid,A=I.powerState,x=I.electricityLevel,E=I.magneticField;return(0,e.createComponentVNode)(2,o.Section,{title:"Magnet #"+(L+1)+" Configuration",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:A?"power-off":"times",content:A?"On":"Off",selected:A,onClick:function(){function P(){return m("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(j,O){return m("set_electricity_level",{id:T,electricityLevel:O})}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(j,O){return m("set_magnetic_field",{id:T,magneticField:O})}return P}()})})]})},T)})]})]})}return y}()},72106:function(w,r,n){"use strict";r.__esModule=!0,r.MechBayConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.MechBayConsole=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.recharge_port,m=c&&c.mech,d=m&&m.cell,u=m&&m.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:155,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:u?"Mech status: "+u:"Mech status",textAlign:"center",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Sync",onClick:function(){function s(){return h("reconnect")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:m.health/m.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||!d&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:d.charge/d.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:d.charge})," / "+d.maxcharge]})})]})})})})}return V}()},7466:function(w,r,n){"use strict";r.__esModule=!0,r.MechaControlConsole=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=n(25328),k=r.MechaControlConsole=function(){function S(y,h){var i=(0,t.useBackend)(h),c=i.act,m=i.data,d=m.beacons,u=m.stored_data;return u.length?(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"window-close",onClick:function(){function s(){return c("clear_log")}return s}()}),children: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,V.decodeHtmlEntities)(s.message)})]},s.time)})})})}):(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:d.length&&d.map(function(s){return(0,e.createComponentVNode)(2,o.Section,{title:s.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function l(){return c("send_message",{mt:s.uid})}return l}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function l(){return c("get_log",{mt:s.uid})}return l}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"Sabotage",icon:"bomb",onClick:function(){function l(){return c("shock",{mt:s.uid})}return l}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.maxHealth*.75,1/0],average:[s.maxHealth*.5,s.maxHealth*.75],bad:[-1/0,s.maxHealth*.5]},value:s.health,maxValue:s.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:s.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.cellMaxCharge*.75,1/0],average:[s.cellMaxCharge*.5,s.cellMaxCharge*.75],bad:[-1/0,s.cellMaxCharge*.5]},value:s.cellCharge,maxValue:s.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[s.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:s.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,V.toTitleCase)(s.location)||"Unknown"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Active Equipment",children:s.active||"None"}),s.cargoMax&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cargo Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{bad:[s.cargoMax*.75,1/0],average:[s.cargoMax*.5,s.cargoMax*.75],good:[-1/0,s.cargoMax*.5]},value:s.cargoUsed,maxValue:s.cargoMax})})||null]})},s.name)})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No mecha beacons found."})})})}return S}()},79625:function(w,r,n){"use strict";r.__esModule=!0,r.MedicalRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(3939),V=n(98595),k=n(321),S=n(5485),y=n(22091),h={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},i={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},c=function(A,x){(0,f.modalOpen)(A,"edit",{field:x.edit,value:x.value})},m=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:h[E.severity],children:E.severity})]})})})},d=r.MedicalRecords=function(){function T(A,x){var E=(0,t.useBackend)(x),P=E.data,j=P.loginState,O=P.screen;if(!j.logged_in)return(0,e.createComponentVNode)(2,V.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});var R;return O===2?R=(0,e.createComponentVNode)(2,u):O===3?R=(0,e.createComponentVNode)(2,s):O===4?R=(0,e.createComponentVNode)(2,l):O===5?R=(0,e.createComponentVNode)(2,p):O===6?R=(0,e.createComponentVNode)(2,N):O===7&&(R=(0,e.createComponentVNode)(2,b)),(0,e.createComponentVNode)(2,V.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.LoginInfo),(0,e.createComponentVNode)(2,y.TemporaryNotice),(0,e.createComponentVNode)(2,L),R]})})]})}return T}(),u=function(A,x){var E=(0,t.useBackend)(x),P=E.act,j=E.data,O=j.records,R=(0,t.useLocalState)(x,"searchText",""),D=R[0],W=R[1],U=(0,t.useLocalState)(x,"sortId","name"),z=U[0],K=U[1],$=(0,t.useLocalState)(x,"sortOrder",!0),Y=$[0],J=$[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 Z(){return P("screen",{screen:3})}return Z}()})}),(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 Z(le,ne){return W(ne)}return Z}()})})]})}),(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"})]}),O.filter((0,a.createSearch)(D,function(Z){return Z.name+"|"+Z.id+"|"+Z.rank+"|"+Z.p_stat+"|"+Z.m_stat})).sort(function(Z,le){var ne=Y?1:-1;return Z[z].localeCompare(le[z])*ne}).map(function(Z){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+i[Z.p_stat],onClick:function(){function le(){return P("view_record",{view_record:Z.ref})}return le}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",Z.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Z.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Z.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Z.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Z.m_stat})]},Z.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 j(){return P("del_all_med_records")}return j}()})})]})})},l=function(A,x){var E=(0,t.useBackend)(x),P=E.act,j=E.data,O=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 P("print_record")}return D}()}),children:(0,e.createComponentVNode)(2,C)})}),!O||!O.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 P("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:!!O.empty,content:"Delete Medical Record",onClick:function(){function D(){return P("del_med_record")}return D}()}),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,j=P.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(O,R){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 D(){return c(x,O)}return D}()})]},R)})})}),!!j.has_photos&&j.photos.map(function(O,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:O,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",R+1]},R)})]})},g=function(A,x){var E=(0,t.useBackend)(x),P=E.act,j=E.data,O=j.medical;return!O||!O.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:O.fields.map(function(R,D){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:R.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(R.value),!!R.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:R.line_break?"1rem":"initial",onClick:function(){function W(){return c(x,R)}return W}()})]},D)})})})})},v=function(A,x){var E=(0,t.useBackend)(x),P=E.act,j=E.data,O=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,f.modalOpen)(x,"add_comment")}return R}()}),children:O.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):O.comments.map(function(R,D){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:R.header}),(0,e.createVNode)(1,"br"),R.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function W(){return P("del_comment",{del_comment:D+1})}return W}()})]},D)})})})},p=function(A,x){var E=(0,t.useBackend)(x),P=E.act,j=E.data,O=j.virus,R=(0,t.useLocalState)(x,"searchText",""),D=R[0],W=R[1],U=(0,t.useLocalState)(x,"sortId2","name"),z=U[0],K=U[1],$=(0,t.useLocalState)(x,"sortOrder2",!0),Y=$[0],J=$[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 Z(le,ne){return W(ne)}return Z}()})}),(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"})]}),O.filter((0,a.createSearch)(D,function(Z){return Z.name+"|"+Z.max_stages+"|"+Z.severity})).sort(function(Z,le){var ne=Y?1:-1;return Z[z].localeCompare(le[z])*ne}).map(function(Z){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+Z.severity,onClick:function(){function le(){return P("vir",{vir:Z.D})}return le}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",Z.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Z.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:h[Z.severity],children:Z.severity})]},Z.id)})]})})})})],4)},N=function(A,x){var E=(0,t.useBackend)(x),P=E.act,j=E.data,O=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:O.length!==0&&O.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),P=E.act,j=E.data,O=j.medbots;return O.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"})]}),O.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"),P=E[0],j=E[1],O=(0,t.useLocalState)(x,"sortOrder",!0),R=O[0],D=O[1],W=A.id,U=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:P!==W&&"transparent",onClick:function(){function z(){P===W?D(!R):(j(W),D(!0))}return z}(),children:[U,P===W&&(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"),P=E[0],j=E[1],O=(0,t.useLocalState)(x,"sortOrder2",!0),R=O[0],D=O[1],W=A.id,U=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:P!==W&&"transparent",onClick:function(){function z(){P===W?D(!R):(j(W),D(!0))}return z}(),children:[U,P===W&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},L=function(A,x){var E=(0,t.useBackend)(x),P=E.act,j=E.data,O=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:O===2,onClick:function(){function D(){P("screen",{screen:2})}return D}(),children:"List Records"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:O===5,onClick:function(){function D(){P("screen",{screen:5})}return D}(),children:"Virus Database"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"vial",selected:O===6,onClick:function(){function D(){P("screen",{screen:6})}return D}(),children:"Virology Goals"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:O===7,onClick:function(){function D(){return P("screen",{screen:7})}return D}(),children:"Medibot Tracking"}),O===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:O===3,children:"Record Maintenance"}),O===4&&R&&!R.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:O===4,children:["Record: ",R.fields[0].value]})]})})};(0,f.modalRegisterBodyOverride)("virus",m)},54989:function(w,r,n){"use strict";r.__esModule=!0,r.MerchVendor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=h.product,s=h.productImage,l=h.productCategory,C=d.user_money;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children: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 m("purchase",{name:u.name,category:l})}return g}()})})]})},V=function(h,i){var c=(0,a.useBackend)(i),m=c.data,d=(0,a.useLocalState)(i,"tabIndex",1),u=d[0],s=m.products,l=m.imagelist,C=["apparel","toy","decoration"];return(0,e.createComponentVNode)(2,t.Table,{children:s[C[u]].map(function(g){return(0,e.createComponentVNode)(2,f,{product:g,productImage:l[g.path],productCategory:C[u]},g.name)})})},k=r.MerchVendor=function(){function y(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.user_cash,s=d.inserted_cash;return(0,e.createComponentVNode)(2,o.Window,{title:"Merch Computer",width:450,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"light-grey",inline:!0,mr:"0.5rem",children:["There is ",(0,e.createVNode)(1,"b",null,s,0)," credits inserted."]}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s,icon:"money-bill-wave-alt",content:"Dispense Change",textAlign:"left",onClick:function(){function l(){return m("change")}return l}()})],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,V)]})})]})})})}return y}(),S=function(h,i){var c=(0,a.useBackend)(i),m=c.data,d=(0,a.useLocalState)(i,"tabIndex",1),u=d[0],s=d[1],l=m.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"})]})}},87684:function(w,r,n){"use strict";r.__esModule=!0,r.MiningVendor=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),V=["title","items"];function k(d,u){if(d==null)return{};var s={};for(var l in d)if({}.hasOwnProperty.call(d,l)){if(u.includes(l))continue;s[l]=d[l]}return s}var S={Alphabetical:function(){function d(u,s){return u-s}return d}(),Availability:function(){function d(u,s){return-(u.affordable-s.affordable)}return d}(),Price:function(){function d(u,s){return u.price-s.price}return d}()},y=r.MiningVendor=function(){function d(u,s){return(0,e.createComponentVNode)(2,f.Window,{width:400,height:455,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,i)]})})})}return d}(),h=function(u,s){var l=(0,t.useBackend)(s),C=l.act,g=l.data,v=g.has_id,p=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 ",p.name,".",(0,e.createVNode)(1,"br"),"You have ",p.points.toLocaleString("en-US")," points."]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){function N(){return C("logoff")}return N}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},i=function(u,s){var l=(0,t.useBackend)(s),C=l.act,g=l.data,v=g.has_id,p=g.id,N=g.items,b=(0,t.useLocalState)(s,"search",""),B=b[0],I=b[1],L=(0,t.useLocalState)(s,"sort","Alphabetical"),T=L[0],A=L[1],x=(0,t.useLocalState)(s,"descending",!1),E=x[0],P=x[1],j=(0,a.createSearch)(B,function(D){return D[0]}),O=!1,R=Object.entries(N).map(function(D,W){var U=Object.entries(D[1]).filter(j).map(function(z){return z[1].affordable=v&&p.points>=z[1].price,z[1]}).sort(S[T]);if(U.length!==0)return E&&(U=U.reverse()),O=!0,(0,e.createComponentVNode)(2,m,{title:D[0],items:U},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:O?R:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},c=function(u,s){var l=(0,t.useLocalState)(s,"search",""),C=l[0],g=l[1],v=(0,t.useLocalState)(s,"sort",""),p=v[0],N=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 L(T,A){return g(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:"Alphabetical",options:Object.keys(S),width:"100%",onSelected:function(){function L(T){return N(T)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:B?"arrow-down":"arrow-up",height:"21px",tooltip:B?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function L(){return I(!B)}return L}()})})]})})},m=function(u,s){var l=(0,t.useBackend)(s),C=l.act,g=l.data,v=u.title,p=u.items,N=k(u,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:v},N,{children:p.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.points0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:te>=10?"9+":te})}),(0,e.createComponentVNode)(2,s,{icon:"briefcase",title:"Job Openings",selected:D===1,onClick:function(){function Q(){return x("jobs")}return Q}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:W.map(function(Q){return(0,e.createComponentVNode)(2,s,{icon:Q.icon,title:Q.name,selected:D===2&&W[z-1]===Q,onClick:function(){function oe(){return x("channel",{uid:Q.uid})}return oe}(),children:Q.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:Q.unread>=10?"9+":Q.unread})},Q)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!P||!!j)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function Q(){return(0,k.modalOpen)(T,"wanted_notice")}return Q}()}),(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 Q(){return he(!me)}return Q}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,s,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function Q(){return(0,k.modalOpen)(T,"create_story")}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:"plus-circle",title:"New Channel",onClick:function(){function Q(){return(0,k.modalOpen)(T,"create_channel")}return Q}()}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,s,{icon:R?"spinner":"print",iconSpin:R,title:R?"Printing...":"Print Newspaper",onClick:function(){function Q(){return x("print_newspaper")}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:O?"volume-mute":"volume-up",title:"Mute: "+(O?"On":"Off"),onClick:function(){function Q(){return x("toggle_mute")}return Q}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,S.TemporaryNotice),ye]})]})})]})}return I}(),s=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=L.icon,P=E===void 0?"":E,j=L.iconSpin,O=L.selected,R=O===void 0?!1:O,D=L.security,W=D===void 0?!1:D,U=L.onClick,z=L.title,K=L.children,$=i(L,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Newscaster__menuButton",R&&"Newscaster__menuButton--selected",W&&"Newscaster__menuButton--security"]),onClick:U},$,{children:[R&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:P,spin:j,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:z}),K]})))},l=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=E.screen,j=E.is_admin,O=E.channel_idx,R=E.channel_can_manage,D=E.channels,W=E.stories,U=E.wanted,z=(0,t.useLocalState)(T,"fullStories",[]),K=z[0],$=z[1],Y=(0,t.useLocalState)(T,"censorMode",!1),J=Y[0],Z=Y[1],le=P===2&&O>-1?D[O-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:le?le.icon:"newspaper",mr:"0.5rem"}),le?le.name:"Headlines"],0),children:W.length>0?W.slice().reverse().map(function(ne){return!K.includes(ne.uid)&&ne.body.length+3>c?Object.assign({},ne,{body_short:ne.body.substr(0,c-4)+"..."}):ne}).map(function(ne,me){return(0,e.createComponentVNode)(2,g,{story:ne},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."]})}),!!le&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,height:"40%",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"info-circle",mr:"0.5rem"}),(0,e.createTextVNode)("About")],4),buttons:(0,e.createFragment)([J&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!le.admin&&!j,selected:le.censored,icon:le.censored?"comment-slash":"comment",content:le.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function ne(){return x("censor_channel",{uid:le.uid})}return ne}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!R,icon:"cog",content:"Manage",onClick:function(){function ne(){return(0,k.modalOpen)(T,"manage_channel",{uid:le.uid})}return ne}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:le.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:le.author||"N/A"}),!!j&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Ckey",children:le.author_ckey}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:le.public?"Yes":"No"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Views",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"eye",mr:"0.5rem"}),W.reduce(function(ne,me){return ne+me.view_count},0).toLocaleString()]})]})})]})},C=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=E.jobs,j=E.wanted,O=Object.entries(P).reduce(function(R,D){var W=D[0],U=D[1];return R+U.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!j&&(0,e.createComponentVNode)(2,g,{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:O>0?m.map(function(R){return Object.assign({},d[R],{id:R,jobs:P[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."})]})]})},g=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=L.story,j=L.wanted,O=j===void 0?!1:j,R=E.is_admin,D=(0,t.useLocalState)(T,"fullStories",[]),W=D[0],U=D[1],z=(0,t.useLocalState)(T,"censorMode",!1),K=z[0],$=z[1];return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__story",O&&"Newscaster__story--wanted"]),title:(0,e.createFragment)([O&&(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:[!O&&K&&(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 Y(){return x("censor_story",{uid:P.uid})}return Y}()})}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",P.author," |\xA0",!!R&&(0,e.createFragment)([(0,e.createTextVNode)("ckey: "),P.author_ckey,(0,e.createTextVNode)(" |\xA0")],0),!O&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),P.view_count.toLocaleString(),(0,e.createTextVNode)(" |\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,f.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,J){return(0,e.createComponentVNode)(2,o.Box,{children:Y||(0,e.createVNode)(1,"br")},J)}),P.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function Y(){return U([].concat(W,[P.uid]))}return Y}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},v=function(L,T){var A=L.name,x=i(L,h),E=(0,t.useLocalState)(T,"viewingPhoto",""),P=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 O(){return j(A)}return O}()},x)))},p=function(L,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}()})]})},N=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=!!L.args.uid&&E.channels.filter(function(ie){return ie.uid===L.args.uid}).pop();if(L.id==="manage_channel"&&!P){(0,k.modalClose)(T);return}var j=L.id==="manage_channel",O=!!L.args.is_admin,R=L.args.scanned_user,D=(0,t.useLocalState)(T,"author",(P==null?void 0:P.author)||R||"Unknown"),W=D[0],U=D[1],z=(0,t.useLocalState)(T,"name",(P==null?void 0:P.name)||""),K=z[0],$=z[1],Y=(0,t.useLocalState)(T,"description",(P==null?void 0:P.description)||""),J=Y[0],Z=Y[1],le=(0,t.useLocalState)(T,"icon",(P==null?void 0:P.icon)||"newspaper"),ne=le[0],me=le[1],he=(0,t.useLocalState)(T,"isPublic",j?!!(P!=null&&P.public):!1),ye=he[0],te=he[1],Q=(0,t.useLocalState)(T,"adminLocked",(P==null?void 0:P.admin)===1||!1),oe=Q[0],fe=Q[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:j?"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:!O,width:"100%",value:W,onInput:function(){function ie(ue,re){return U(re)}return ie}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:K,onInput:function(){function ie(ue,re){return $(re)}return ie}()})}),(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:J,onInput:function(){function ie(ue,re){return Z(re)}return ie}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!O,value:ne,width:"35%",mr:"0.5rem",onInput:function(){function ie(ue,re){return me(re)}return ie}()}),(0,e.createComponentVNode)(2,o.Icon,{name:ne,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 ie(){return te(!ye)}return ie}()})}),O&&(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 ie(){return fe(!oe)}return ie}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:W.trim().length===0||K.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function ie(){(0,k.modalAnswer)(T,L.id,"",{author:W,name:K.substr(0,49),description:J.substr(0,128),icon:ne,public:ye?1:0,admin_locked:oe?1:0})}return ie}()})]})},b=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=E.photo,j=E.channels,O=E.channel_idx,R=O===void 0?-1:O,D=!!L.args.is_admin,W=L.args.scanned_user,U=j.slice().sort(function(ie,ue){if(R<0)return 0;var re=j[R-1];if(re.uid===ie.uid)return-1;if(re.uid===ue.uid)return 1}).filter(function(ie){return D||!ie.frozen&&(ie.author===W||!!ie.public)}),z=(0,t.useLocalState)(T,"author",W||"Unknown"),K=z[0],$=z[1],Y=(0,t.useLocalState)(T,"channel",U.length>0?U[0].name:""),J=Y[0],Z=Y[1],le=(0,t.useLocalState)(T,"title",""),ne=le[0],me=le[1],he=(0,t.useLocalState)(T,"body",""),ye=he[0],te=he[1],Q=(0,t.useLocalState)(T,"adminLocked",!1),oe=Q[0],fe=Q[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!D,width:"100%",value:K,onInput:function(){function ie(ue,re){return $(re)}return ie}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:J,options:U.map(function(ie){return ie.name}),mb:"0",width:"100%",onSelected:function(){function ie(ue){return Z(ue)}return ie}()})}),(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:ne,onInput:function(){function ie(ue,re){return me(re)}return ie}()})}),(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 ie(ue,re){return te(re)}return ie}()})}),(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 ie(){return x(P?"eject_photo":"attach_photo")}return ie}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:ne,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(ie,ue){return(0,e.createComponentVNode)(2,o.Box,{children:ie||(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 ie(){return fe(!oe)}return ie}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:K.trim().length===0||J.trim().length===0||ne.trim().length===0||ye.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function ie(){(0,k.modalAnswer)(T,"create_story","",{author:K,channel:J,title:ne.substr(0,127),body:ye.substr(0,1023),admin_locked:oe?1:0})}return ie}()})]})},B=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,P=E.photo,j=E.wanted,O=!!L.args.is_admin,R=L.args.scanned_user,D=(0,t.useLocalState)(T,"author",(j==null?void 0:j.author)||R||"Unknown"),W=D[0],U=D[1],z=(0,t.useLocalState)(T,"name",(j==null?void 0:j.title.substr(8))||""),K=z[0],$=z[1],Y=(0,t.useLocalState)(T,"description",(j==null?void 0:j.body)||""),J=Y[0],Z=Y[1],le=(0,t.useLocalState)(T,"adminLocked",(j==null?void 0:j.admin_locked)===1||!1),ne=le[0],me=le[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Authority",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!O,width:"100%",value:W,onInput:function(){function he(ye,te){return U(te)}return he}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",value:K,maxLength:"128",onInput:function(){function he(ye,te){return $(te)}return he}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:J,maxLength:"512",rows:"4",onInput:function(){function he(ye,te){return Z(te)}return he}()})}),(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 he(){return x(P?"eject_photo":"attach_photo")}return he}()}),!!P&&(0,e.createComponentVNode)(2,v,{name:"inserted_photo_"+P.uid+".png",float:"right"})]}),O&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ne,icon:ne?"lock":"lock-open",content:ne?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function he(){return me(!ne)}return he}()})})]})}),(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 he(){x("clear_wanted_notice"),(0,k.modalClose)(T)}return he}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:W.trim().length===0||K.trim().length===0||J.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function he(){(0,k.modalAnswer)(T,L.id,"",{author:W,name:K.substr(0,127),description:J.substr(0,511),admin_locked:ne?1:0})}return he}()})]})};(0,k.modalRegisterBodyOverride)("create_channel",N),(0,k.modalRegisterBodyOverride)("manage_channel",N),(0,k.modalRegisterBodyOverride)("create_story",b),(0,k.modalRegisterBodyOverride)("wanted_notice",B)},48286:function(w,r,n){"use strict";r.__esModule=!0,r.Noticeboard=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),V=r.Noticeboard=function(){function k(S,y){var h=(0,t.useBackend)(y),i=h.act,c=h.data,m=c.papers;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:300,theme:"noticeboard",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:m.map(function(d){return(0,e.createComponentVNode)(2,o.Stack.Item,{align:"center",width:"22.45%",height:"85%",onClick:function(){function u(){return i("interact",{paper:d.ref})}return u}(),onContextMenu:function(){function u(s){s.preventDefault(),i("showFull",{paper:d.ref})}return u}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,fontSize:.75,title:d.name,children:(0,a.decodeHtmlEntities)(d.contents)})},d.ref)})})})})}return k}()},41166:function(w,r,n){"use strict";r.__esModule=!0,r.NuclearBomb=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.NuclearBomb=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data;return i.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:i.authdisk?"eject":"id-card",selected:i.authdisk,content:i.diskname?i.diskname:"-----",tooltip:i.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function c(){return h("auth")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!i.authdisk,selected:i.authcode,content:i.codemsg,onClick:function(){function c(){return h("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:i.anchored?"check":"times",selected:i.anchored,disabled:!i.authdisk,content:i.anchored?"YES":"NO",onClick:function(){function c(){return h("toggle_anchor")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:i.time,disabled:!i.authfull,tooltip:"Set Timer",onClick:function(){function c(){return h("set_time")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.safety?"check":"times",selected:i.safety,disabled:!i.authfull,content:i.safety?"ON":"OFF",tooltip:i.safety?"Disable Safety":"Enable Safety",onClick:function(){function c(){return h("toggle_safety")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(i.timer,"bomb"),disabled:i.safety||!i.authfull,color:"red",content:i.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function c(){return h("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 h("deploy")}return c}()})})})})}return V}()},52416:function(w,r,n){"use strict";r.__esModule=!0,r.NumberInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(92986),f=n(72253),V=n(36036),k=n(98595),S=r.NumberInputModal=function(){function h(i,c){var m=(0,f.useBackend)(c),d=m.act,u=m.data,s=u.init_value,l=u.large_buttons,C=u.message,g=C===void 0?"":C,v=u.timeout,p=u.title,N=(0,f.useLocalState)(c,"input",s),b=N[0],B=N[1],I=function(){function A(x){x!==b&&B(x)}return A}(),L=function(){function A(x){x!==b&&B(x)}return A}(),T=140+Math.max(Math.ceil(g.length/3),g.length>0&&l?5:0);return(0,e.createComponentVNode)(2,k.Window,{title:p,width:270,height:T,children:[v&&(0,e.createComponentVNode)(2,a.Loader,{value:v}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:function(){function A(x){var E=window.event?x.which:x.keyCode;E===o.KEY_ENTER&&d("submit",{entry:b}),E===o.KEY_ESCAPE&&d("cancel")}return A}(),children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,y,{input:b,onClick:L,onChange:I})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:b})})]})})})]})}return h}(),y=function(i,c){var m=(0,f.useBackend)(c),d=m.act,u=m.data,s=u.min_value,l=u.max_value,C=u.init_value,g=u.round_value,v=i.input,p=i.onClick,N=i.onChange,b=Math.round(v!==s?Math.max(v/2,s):l/2),B=v===s&&s>0||v===1;return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:v===s,icon:"angle-double-left",onClick:function(){function I(){return p(s)}return I}(),tooltip:v===s?"Min":"Min ("+s+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!g,minValue:s,maxValue:l,onChange:function(){function I(L,T){return N(T)}return I}(),onEnter:function(){function I(L,T){return d("submit",{entry:T})}return I}(),value:v})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:v===l,icon:"angle-double-right",onClick:function(){function I(){return p(l)}return I}(),tooltip:v===l?"Max":"Max ("+l+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:B,icon:"divide",onClick:function(){function I(){return p(b)}return I}(),tooltip:B?"Split":"Split ("+b+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:v===C,icon:"redo",onClick:function(){function I(){return p(C)}return I}(),tooltip:C?"Reset ("+C+")":"Reset"})})]})}},1218:function(w,r,n){"use strict";r.__esModule=!0,r.OperatingComputer=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(98595),f=n(36036),V=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],k=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},y=["bad","average","average","good","average","average","bad"],h=r.OperatingComputer=function(){function d(u,s){var l=(0,t.useBackend)(s),C=l.act,g=l.data,v=g.hasOccupant,p=g.choice,N;return p?N=(0,e.createComponentVNode)(2,m):N=v?(0,e.createComponentVNode)(2,i):(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Window,{width:650,height:455,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!p,icon:"user",onClick:function(){function b(){return C("choiceOff")}return b}(),children:"Patient"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!!p,icon:"cog",onClick:function(){function b(){return C("choiceOn")}return b}(),children:"Options"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,children:N})})]})})})}return d}(),i=function(u,s){var l=(0,t.useBackend)(s),C=l.data,g=C.occupant;return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,title:"Patient",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:g.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Status",color:V[g.stat][0],children:V[g.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:g.maxHealth,value:g.health/g.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),k.map(function(v,p){return(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:v[0]+" Damage",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:"100",value:g[v[1]]/100,ranges:S,children:(0,a.round)(g[v[1]])},p)},p)}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:g.maxTemp,value:g.bodyTemperature/g.maxTemp,color:y[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,f.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,f.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,f.LabeledList.Item,{label:"Pulse",children:[g.pulse," BPM"]})],4)]})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Current Procedure",level:"2",children:g.inSurgery?(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Procedure",children:g.surgeryName}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Next Step",children:g.stepName})]}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No procedure ongoing."})})})]})},c=function(){return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No patient detected."]})})},m=function(u,s){var l=(0,t.useBackend)(s),C=l.act,g=l.data,v=g.verbose,p=g.health,N=g.healthAlarm,b=g.oxy,B=g.oxyAlarm,I=g.crit;return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Loudspeaker",children:(0,e.createComponentVNode)(2,f.Button,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"On":"Off",onClick:function(){function L(){return C(v?"verboseOff":"verboseOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer",children:(0,e.createComponentVNode)(2,f.Button,{selected:p,icon:p?"toggle-on":"toggle-off",content:p?"On":"Off",onClick:function(){function L(){return C(p?"healthOff":"healthOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:N,stepPixelSize:5,ml:"0",onChange:function(){function L(T,A){return C("health_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm",children:(0,e.createComponentVNode)(2,f.Button,{selected:b,icon:b?"toggle-on":"toggle-off",content:b?"On":"Off",onClick:function(){function L(){return C(b?"oxyOff":"oxyOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:B,stepPixelSize:5,ml:"0",onChange:function(){function L(T,A){return C("oxy_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Critical Alert",children:(0,e.createComponentVNode)(2,f.Button,{selected:I,icon:I?"toggle-on":"toggle-off",content:I?"On":"Off",onClick:function(){function L(){return C(I?"critOff":"critOn")}return L}()})})]})}},46892:function(w,r,n){"use strict";r.__esModule=!0,r.Orbit=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),V=n(35840);function k(l,C){var g=typeof Symbol!="undefined"&&l[Symbol.iterator]||l["@@iterator"];if(g)return(g=g.call(l)).next.bind(g);if(Array.isArray(l)||(g=S(l))||C&&l&&typeof l.length=="number"){g&&(l=g);var v=0;return function(){return v>=l.length?{done:!0}:{done:!1,value:l[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(l,C){if(l){if(typeof l=="string")return y(l,C);var g={}.toString.call(l).slice(8,-1);return g==="Object"&&l.constructor&&(g=l.constructor.name),g==="Map"||g==="Set"?Array.from(l):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?y(l,C):void 0}}function y(l,C){(C==null||C>l.length)&&(C=l.length);for(var g=0,v=Array(C);gg},m=function(C,g){var v=C.name,p=g.name;if(!v||!p)return 0;var N=v.match(h),b=p.match(h);if(N&&b&&v.replace(h,"")===p.replace(h,"")){var B=parseInt(N[1],10),I=parseInt(b[1],10);return B-I}return c(v,p)},d=function(C,g){var v=C.searchText,p=C.source,N=C.title,b=C.color,B=C.sorted,I=p.filter(i(v));return B&&I.sort(m),p.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:N+" - ("+p.length+")",children:I.map(function(L){return(0,e.createComponentVNode)(2,u,{thing:L,color:b},L.name)})})},u=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=C.color,b=C.thing;return(0,e.createComponentVNode)(2,o.Button,{color:N,tooltip:b.assigned_role?(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",mr:"0.5em",className:(0,V.classes)(["orbit_job16x16",b.assigned_role_sprite])})," ",b.assigned_role]}):"",tooltipPosition:"bottom",onClick:function(){function B(){return p("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 l(C,g){for(var v=(0,t.useBackend)(g),p=v.act,N=v.data,b=N.alive,B=N.antagonists,I=N.highlights,L=N.response_teams,T=N.tourist,A=N.auto_observe,x=N.dead,E=N.ssd,P=N.ghosts,j=N.misc,O=N.npcs,R=(0,t.useLocalState)(g,"searchText",""),D=R[0],W=R[1],U={},z=k(B),K;!(K=z()).done;){var $=K.value;U[$.antag]===void 0&&(U[$.antag]=[]),U[$.antag].push($)}var Y=Object.entries(U);Y.sort(function(Z,le){return c(Z[0],le[0])});var J=function(){function Z(le){for(var ne=0,me=[Y.map(function(te){var Q=te[0],oe=te[1];return oe}),T,I,b,P,E,x,O,j];ne0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:Y.map(function(Z){var le=Z[0],ne=Z[1];return(0,e.createComponentVNode)(2,o.Section,{title:le+" - ("+ne.length+")",level:2,children:ne.filter(i(D)).sort(m).map(function(me){return(0,e.createComponentVNode)(2,u,{color:"bad",thing:me},me.name)})},le)})}),I.length>0&&(0,e.createComponentVNode)(2,d,{title:"Highlights",source:I,searchText:D,color:"teal"}),(0,e.createComponentVNode)(2,d,{title:"Response Teams",source:L,searchText:D,color:"purple"}),(0,e.createComponentVNode)(2,d,{title:"Tourists",source:T,searchText:D,color:"violet"}),(0,e.createComponentVNode)(2,d,{title:"Alive",source:b,searchText:D,color:"good"}),(0,e.createComponentVNode)(2,d,{title:"Ghosts",source:P,searchText:D,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"SSD",source:E,searchText:D,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"Dead",source:x,searchText:D,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"NPCs",source:O,searchText:D,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"Misc",source:j,searchText:D,sorted:!1})]})})}return l}()},15421:function(w,r,n){"use strict";r.__esModule=!0,r.OreRedemption=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),V=n(9394);function k(l){if(l==null)throw new TypeError("Cannot destructure "+l)}var S=(0,V.createLogger)("OreRedemption"),y=function(C){return C.toLocaleString("en-US")+" pts"},h=r.OreRedemption=function(){function l(C,g){return(0,e.createComponentVNode)(2,f.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,i,{height:"100%"})}),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m)]})})})}return l}(),i=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,b=N.id,B=N.points,I=N.disk,L=Object.assign({},(k(C),C));return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({},L,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"average",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"This machine only accepts ore. Gibtonite is not accepted."]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:B>0?"good":"grey",bold:B>0&&"good",children:y(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 p("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 p("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),p=v.act,N=v.data,b=N.sheets,B=Object.assign({},(k(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,d,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),b.map(function(I){return(0,e.createComponentVNode)(2,u,{ore:I},I.id)})]})))})},m=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,b=N.alloys,B=Object.assign({},(k(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,d,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),b.map(function(I){return(0,e.createComponentVNode)(2,s,{ore:I},I.id)})]})))})},d=function(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(p){return(0,e.createComponentVNode)(2,o.Stack.Item,{basis:p[1],textAlign:"center",color:"label",bold:!0,children:p[0]},p)})]})})},u=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=C.ore;if(!(N.value&&N.amount<=0&&!(["metal","glass"].indexOf(N.id)>-1)))return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"45%",align:"middle",children:(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",N.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:N.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:N.amount>=1?"good":"gray",bold:N.amount>=1,align:"center",children:N.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:N.value}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(N.amount,50),stepPixelSize:6,onChange:function(){function b(B,I){return p(N.value?"sheet":"alloy",{id:N.id,amount:I})}return b}()})})]})})},s=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=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",N.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:N.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:N.amount>=1?"good":"gray",align:"center",children:N.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:N.amount>=1?"good":"gray",bold:N.amount>=1,align:"center",children:N.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(N.amount,50),stepPixelSize:6,onChange:function(){function b(B,I){return p(N.value?"sheet":"alloy",{id:N.id,amount:I})}return b}()})})]})})}},52754:function(w,r,n){"use strict";r.__esModule=!0,r.PAI=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(71253),V=n(70752),k=function(h){var i;try{i=V("./"+h+".js")}catch(m){if(m.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",h);throw m}var c=i[h];return c||(0,f.routingError)("missingExport",h)},S=r.PAI=function(){function y(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.app_template,s=d.app_icon,l=d.app_title,C=k(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}),l,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 m("Back")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Home",icon:"arrow-up",onClick:function(){function g(){return m("MASTER_back")}return g}()})],4)]}),children:(0,e.createComponentVNode)(2,C)})})})})})}return y}()},85175:function(w,r,n){"use strict";r.__esModule=!0,r.PDA=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(71253),V=n(59395),k=function(c){var m;try{m=V("./"+c+".js")}catch(u){if(u.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",c);throw u}var d=m[c];return d||(0,f.routingError)("missingExport",c)},S=r.PDA=function(){function i(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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=k(l.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,y)}),(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:l.icon,mr:1}),l.name]}),children:(0,e.createComponentVNode)(2,g)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,h)})]})})})}return i}(),y=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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 p(){return u("Authenticate")}return p}(),content:l?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 p(){return u("Eject")}return p}(),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})]})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=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:[!!l.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:l.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:l.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:l.is_home?"disabled":"white",icon:"home",onClick:function(){function C(){u("Home")}return C}()})})]})})}},68654:function(w,r,n){"use strict";r.__esModule=!0,r.Pacman=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(49968),V=r.Pacman=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.active,d=c.anchored,u=c.broken,s=c.emagged,l=c.fuel_type,C=c.fuel_usage,g=c.fuel_stored,v=c.fuel_cap,p=c.is_ai,N=c.tmp_current,b=c.tmp_max,B=c.tmp_overheat,I=c.output_max,L=c.power_gen,T=c.output_set,A=c.has_fuel,x=g/v,E=N/b,P=T*L,j=Math.round(g/C),O=Math.round(j/60),R=j>120?O+" minutes":j+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:225,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(u||!d)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!u&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!u&&!d&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!u&&!!d&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!A,selected:m,onClick:function(){function D(){return i("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(W,U){return i("change_power",{change_power:U})}return D}()}),"(",(0,f.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:[N," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[B>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),B>20&&B<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),B>1&&B<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),B===0&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Optimal"})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fuel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:m||p||!A,onClick:function(){function D(){return i("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:l}),(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?R:"N/A"),!A&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return k}()},1701:function(w,r,n){"use strict";r.__esModule=!0,r.PanDEMIC=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PanDEMIC=function(){function d(u,s){var l=(0,a.useBackend)(s),C=l.data,g=C.beakerLoaded,v=C.beakerContainsBlood,p=C.beakerContainsVirus,N=C.resistances,b=N===void 0?[]:N,B;return g?v?v&&!p&&(B=(0,e.createFragment)([(0,e.createTextVNode)("No disease detected in provided blood sample.")],4)):B=(0,e.createFragment)([(0,e.createTextVNode)("No blood sample found in the loaded container.")],4):B=(0,e.createFragment)([(0,e.createTextVNode)("No container loaded.")],4),(0,e.createComponentVNode)(2,o.Window,{width:575,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[B&&!p?(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,V,{fill:!0,vertical:!0}),children:(0,e.createComponentVNode)(2,t.NoticeBox,{children:B})}):(0,e.createComponentVNode)(2,y),(b==null?void 0:b.length)>0&&(0,e.createComponentVNode)(2,m,{align:"bottom"})]})})})}return d}(),V=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.beakerLoaded;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!v,onClick:function(){function p(){return C("eject_beaker")}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",confirmIcon:"eraser",content:"Destroy",confirmContent:"Destroy",disabled:!v,onClick:function(){function p(){return C("destroy_eject_beaker")}return p}()})],4)},k=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.beakerContainsVirus,p=u.strain,N=p.commonName,b=p.description,B=p.diseaseAgent,I=p.bloodDNA,L=p.bloodType,T=p.possibleTreatments,A=p.transmissionRoute,x=p.isAdvanced,E=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",children:I?(0,e.createVNode)(1,"span",null,I,0,{style:{"font-family":"'Courier New', monospace"}}):"Undetectable"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood Type",children:(0,e.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:L!=null?L:"Undetectable"}})})],4);if(!v)return(0,e.createComponentVNode)(2,t.LabeledList,{children:E});var P;return x&&(N!=null&&N!=="Unknown"?P=(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print Release Forms",onClick:function(){function j(){return C("print_release_forms",{strain_index:u.strainIndex})}return j}(),style:{"margin-left":"auto"}}):P=(0,e.createComponentVNode)(2,t.Button,{icon:"pen",content:"Name Disease",onClick:function(){function j(){return C("name_strain",{strain_index:u.strainIndex})}return j}(),style:{"margin-left":"auto"}})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Common Name",className:"common-name-label",children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,align:"center",children:[N!=null?N:"Unknown",P]})}),b&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:b}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Disease Agent",children:B}),E,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Spread Vector",children:A!=null?A:"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Possible Cures",children:T!=null?T:"None"})]})},S=function(u,s){var l,C=(0,a.useBackend)(s),g=C.act,v=C.data,p=!!v.synthesisCooldown,N=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:p?"spinner":"clone",iconSpin:p,content:"Clone",disabled:p,onClick:function(){function b(){return g("clone_strain",{strain_index:u.strainIndex})}return b}()}),u.sectionButtons],0);return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:(l=u.sectionTitle)!=null?l:"Strain Information",buttons:N,children:(0,e.createComponentVNode)(2,k,{strain:u.strain,strainIndex:u.strainIndex})})})},y=function(u,s){var l,C=(0,a.useBackend)(s),g=C.act,v=C.data,p=v.selectedStrainIndex,N=v.strains,b=N[p-1];if(N.length===0)return(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,V),children:(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No disease detected in provided blood sample."})});if(N.length===1){var B;return(0,e.createFragment)([(0,e.createComponentVNode)(2,S,{strain:N[0],strainIndex:1,sectionButtons:(0,e.createComponentVNode)(2,V)}),((B=N[0].symptoms)==null?void 0:B.length)>0&&(0,e.createComponentVNode)(2,i,{strain:N[0]})],0)}var I=(0,e.createComponentVNode)(2,V);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Culture Information",fill:!0,buttons:I,children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",style:{height:"100%"},children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:N.map(function(L,T){var A;return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"virus",selected:p-1===T,onClick:function(){function x(){return g("switch_strain",{strain_index:T+1})}return x}(),children:(A=L.commonName)!=null?A:"Unknown"},T)})})}),(0,e.createComponentVNode)(2,S,{strain:b,strainIndex:p}),((l=b.symptoms)==null?void 0:l.length)>0&&(0,e.createComponentVNode)(2,i,{className:"remove-section-bottom-padding",strain:b})]})})})},h=function(u){return u.reduce(function(s,l){return s+l},0)},i=function(u){var s=u.strain.symptoms;return(0,e.createComponentVNode)(2,t.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Infection Symptoms",fill:!0,className:u.className,children:(0,e.createComponentVNode)(2,t.Table,{className:"symptoms-table",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stealth"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Resistance"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stage Speed"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Transmissibility"})]}),s.map(function(l,C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.stealth}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.resistance}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.stageSpeed}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l.transmissibility})]},C)}),(0,e.createComponentVNode)(2,t.Table.Row,{className:"table-spacer"}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"font-weight":"bold"},children:"Total"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(l){return l.stealth}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(l){return l.resistance}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(l){return l.stageSpeed}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(l){return l.transmissibility}))})]})]})})})},c=["flask","vial","eye-dropper"],m=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.synthesisCooldown,p=g.beakerContainsVirus,N=g.resistances;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Antibodies",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,wrap:!0,children:N.map(function(b,B){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:c[B%c.length],disabled:!!v,onClick:function(){function I(){return C("clone_vaccine",{resistance_index:B+1})}return I}(),mr:"0.5em"}),b]},B)})})})})}},67921:function(w,r,n){"use strict";r.__esModule=!0,r.ParticleAccelerator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ParticleAccelerator=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.assembled,m=i.power,d=i.strength,u=i.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 h("scan")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",mb:"5px",children:(0,e.createComponentVNode)(2,t.Box,{color:c?"good":"bad",children:c?"Operational":"Error: Verify Configuration"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,disabled:!c,onClick:function(){function s(){return h("power")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Strength",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:!c||d===0,onClick:function(){function s(){return h("remove_strength")}return s}(),mr:"4px"}),d,(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:!c||d===u,onClick:function(){function s(){return h("add_strength")}return s}(),ml:"4px"})]})]})})})})}return V}()},71432:function(w,r,n){"use strict";r.__esModule=!0,r.PdaPainter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PdaPainter=function(){function y(h,i){var c=(0,a.useBackend)(i),m=c.data,d=m.has_pda;return(0,e.createComponentVNode)(2,o.Window,{width:510,height:505,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:d?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,V)})})}return y}(),V=function(h,i){var c=(0,a.useBackend)(i),m=c.act;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"download",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:"160px",textAlign:"center",content:"Insert PDA",onClick:function(){function d(){return m("insert_pda")}return d}()})]})})})},k=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.pda_colors;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,S)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Table,{className:"PdaPainter__list",children:Object.keys(u).map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{onClick:function(){function l(){return m("choose_pda",{selectedPda:s})}return l}(),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","image-rendering":"pixelated"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s})]},s)})})})})]})},S=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.current_appearance,s=d.preview_appearance;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Current PDA",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+u,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",content:"Eject",color:"green",onClick:function(){function l(){return m("eject_pda")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"paint-roller",content:"Paint PDA",onClick:function(){function l(){return m("paint_pda")}return l}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Preview",children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})]})}},33388:function(w,r,n){"use strict";r.__esModule=!0,r.PersonalCrafting=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PersonalCrafting=function(){function S(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.busy,u=m.category,s=m.display_craftable_only,l=m.display_compact,C=m.prev_cat,g=m.next_cat,v=m.subcategory,p=m.prev_subcat,N=m.next_subcat;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!d&&(0,e.createComponentVNode)(2,t.Dimmer,{fontSize:"32px",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog",spin:1})," Crafting..."]}),(0,e.createComponentVNode)(2,t.Section,{title: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:l?"check-square-o":"square-o",selected:l,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:p,icon:"arrow-left",onClick:function(){function b(){return c("backwardSubCat")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:N,icon:"arrow-right",onClick:function(){function b(){return c("forwardSubCat")}return b}()})]}),l?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,k)]})]})})}return S}(),V=function(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.display_craftable_only,u=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[u.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return c("make",{make:l.ref})}return C}()}),l.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:l.req_text,content:"Requirements",color:"transparent"}),l.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.tool_text,content:"Tools",color:"transparent"})]},l.name)}),!d&&s.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),l.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:l.req_text,content:"Requirements",color:"transparent"}),l.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.tool_text,content:"Tools",color:"transparent"})]},l.name)})]})})},k=function(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.display_craftable_only,u=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[u.map(function(l){return(0,e.createComponentVNode)(2,t.Section,{title:l.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return c("make",{make:l.ref})}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[l.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:l.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:l.req_text}),l.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:l.tool_text})]})},l.name)}),!d&&s.map(function(l){return(0,e.createComponentVNode)(2,t.Section,{title:l.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[l.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:l.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:l.req_text}),l.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:l.tool_text})]})},l.name)})]})}},56150:function(w,r,n){"use strict";r.__esModule=!0,r.Photocopier=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Photocopier=function(){function S(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:440,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Photocopier",color:"silver",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Copies:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"2em",bold:!0,children:m.copynumber}),(0,e.createComponentVNode)(2,t.Stack.Item,{float:"right",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"minus",textAlign:"center",content:"",onClick:function(){function d(){return c("minus")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"plus",textAlign:"center",content:"",onClick:function(){function d(){return c("add")}return d}()})]})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Toner:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,children:m.toner})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Document:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.copyitem&&!m.mob,content:m.copyitem?m.copyitem:m.mob?m.mob+"'s ass!":"document",onClick:function(){function d(){return c("removedocument")}return d}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Folder:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.folder,content:m.folder?m.folder:"folder",onClick:function(){function d(){return c("removefolder")}return d}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,V)}),(0,e.createComponentVNode)(2,k)]})})})}return S}(),V=function(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.issilicon;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"copy",float:"center",textAlign:"center",content:"Copy",onClick:function(){function 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}()}),!!d&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file",color:"green",float:"center",textAlign:"center",content:"Print Text",onClick:function(){function 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)},k=function(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Scanned Files",children:m.files.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:m.toner<=0,onClick:function(){function u(){return c("filecopy",{uid:d.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:d.uid})}return u}()})]})},d.name)})})}},84676:function(w,r,n){"use strict";r.__esModule=!0,r.PoolController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=["tempKey"];function V(h,i){if(h==null)return{};var c={};for(var m in h)if({}.hasOwnProperty.call(h,m)){if(i.includes(m))continue;c[m]=h[m]}return c}var k={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(i,c){var m=i.tempKey,d=V(i,f),u=k[m];if(!u)return null;var s=(0,a.useBackend)(c),l=s.data,C=s.act,g=l.currentTemp,v=u.label,p=u.icon,N=m===g,b=function(){C("setTemp",{temp:m})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({color:"transparent",selected:N,onClick:b},d,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:p}),v]})))},y=r.PoolController=function(){function h(i,c){for(var m=(0,a.useBackend)(c),d=m.data,u=d.emagged,s=d.currentTemp,l=k[s]||k.normal,C=l.label,g=l.color,v=[],p=0,N=Object.entries(k);p50?"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=f.pureComponentHooks;var s=function(C){var g,v,p=C.status;switch(p){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 N=(v?"On":"Off")+(" ["+(g?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,S.ColorBox,{color:v?"good":"bad",content:g?void 0:"M",title:N})};s.defaultHooks=f.pureComponentHooks},50992:function(w,r,n){"use strict";r.__esModule=!0,r.PrisonerImplantManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),f=n(3939),V=n(321),k=n(5485),S=n(98595),y=r.PrisonerImplantManager=function(){function h(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.loginState,l=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,k.LoginScreen)})});var p=[1,5,10];return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.name?"eject":"id-card",selected:l.name,content:l.name?l.name:"-----",tooltip:l.name?"Eject ID":"Insert ID",onClick:function(){function N(){return d("id_card")}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[l.points!==null?l.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:l.points===null,content:"Reset",onClick:function(){function N(){return d("reset_points")}return N}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[l.goal!==null?l.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:l.goal===null,content:"Edit",onClick:function(){function N(){return(0,f.modalOpen)(c,"set_points")}return N}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:l.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(N){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",N.subject]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:N.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:N.health}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){function b(){return(0,f.modalOpen)(c,"warn",{uid:N.uid})}return b}()})})]})]},N.subject)]}),(0,e.createVNode)(1,"br")],4)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Chemical Implants",children:C.map(function(N){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",N.name]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Reagents",children:N.volume})}),p.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:N.volumec;return(0,e.createComponentVNode)(2,t.ImageButton,{asset:!0,imageAsset:"prize_counter64x64",image:g.imageID,title:g.name,content:g.desc,children:(0,e.createComponentVNode)(2,t.ImageButton.Item,{bold:!0,width:"64px",fontSize:1.5,textColor:v&&"gray",content:g.cost,icon:"ticket",iconSize:1.6,iconColor:v?"bad":"good",tooltip:v&&"Not enough tickets",disabled:v,onClick:function(){function p(){return h("purchase",{purchase:g.itemID})}return p}()})},g.name)})})})})})})}return V}()},94813:function(w,r,n){"use strict";r.__esModule=!0,r.RCD=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),V=n(49148),k=r.RCD=function(){function d(u,s){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:670,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c)]})})]})}return d}(),S=function(u,s){var l=(0,a.useBackend)(s),C=l.data,g=C.matter,v=C.max_matter,p=v*.7,N=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:[p,1/0],average:[N,p],bad:[-1/0,N]},value:g,maxValue:v,children:(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:g+" / "+v+" units"})})})})},y=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,h,{mode_type:"Floors and Walls"}),(0,e.createComponentVNode)(2,h,{mode_type:"Airlocks"}),(0,e.createComponentVNode)(2,h,{mode_type:"Windows"}),(0,e.createComponentVNode)(2,h,{mode_type:"Deconstruction"})]})})})},h=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=u.mode_type,p=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:p===v?1:0,onClick:function(){function N(){return C("mode",{mode:v})}return N}()})})},i=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.door_name,p=g.electrochromic,N=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,f.modalOpen)(s,"renameAirlock")}return b}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:N===1&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:p?"toggle-on":"toggle-off",content:"Electrochromic",selected:p,onClick:function(){function b(){return C("electrochromic")}return b}()})})]})})})},c=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.tab,p=g.locked,N=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,m,{check_number:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m,{check_number:1})})]})}):v===2&&p?(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,V.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:N,content:"One",onClick:function(){function I(){return C("set_one_access",{access:"one"})}return I}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!N,width:4,content:"All",onClick:function(){function I(){return C("set_one_access",{access:"all"})}return I}()})],4),accesses:B,selectedList:b,accessMod:function(){function I(L){return C("set",{access:L})}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(L){return C("grant_region",{region:L})}return I}(),denyDep:function(){function I(L){return C("deny_region",{region:L})}return I}()})})],4)},m=function(u,s){for(var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.door_types_ui_list,p=g.door_type,N=u.check_number,b=[],B=0;B0?"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}()})]})}),!!p&&(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}()})})]})})},k=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.department,p=[],N;switch(u.purpose){case"ASSISTANCE":p=g.assist_dept,N="Request assistance from another department";break;case"SUPPLIES":p=g.supply_dept,N="Request supplies from another department";break;case"INFO":p=g.info_dept,N="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function b(){return C("setScreen",{setScreen:0})}return b}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:p.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 l=(0,a.useBackend)(s),C=l.act,g=l.data,v;switch(u.type){case"SUCCESS":v="Message sent successfully";break;case"FAIL":v="Unable to contact messaging server";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 p(){return C("setScreen",{setScreen:0})}return p}()})})},y=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v,p;switch(u.type){case"MESSAGES":v=g.message_log,p="Message Log";break;case"SHIPPING":v=g.shipping_log,p="Shipping label print log";break}return v.reverse(),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:p,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return C("setScreen",{setScreen:0})}return N}()}),children:v.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:[N.map(function(b,B){return(0,e.createVNode)(1,"div",null,b,0,null,B)}),(0,e.createVNode)(1,"hr")]},N)})})})},h=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.recipient,p=g.message,N=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:p}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",color:"green",children:N}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:b})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function B(){return C("department",{department:v})}return B}()})})})],4)},i=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.message,p=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 N(){return C("setScreen",{setScreen:0})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Edit Message",icon:"edit",onClick:function(){function N(){return C("writeAnnouncement")}return N}()})],4),children:v})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[p?(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:!(p&&v),onClick:function(){function N(){return C("sendAnnouncement")}return N}()})]})})],4)},c=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.shipDest,p=g.msgVerified,N=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:p})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Print Label",icon:"print",disabled:!(v&&p),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:N.map(function(b){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:b,textAlign:"right",className:"candystripe",children:(0,e.createComponentVNode)(2,t.Button,{content:v===b?"Selected":"Select",selected:v===b,onClick:function(){function B(){return C("shipSelect",{shipSelect:b})}return B}()})},b)})})})})],4)},m=function(u,s){var l=(0,a.useBackend)(s),C=l.act,g=l.data,v=g.secondaryGoalAuth,p=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 N(){return C("setScreen",{setScreen:0})}return N}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[p?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&&p),onClick:function(){function N(){return C("requestSecondaryGoal")}return N}()})]})})],4)}},37556:function(w,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o="design",f="tech",V=function(c,m){var d=(0,a.useBackend)(m),u=d.data,s=d.act,l=u.disk_data;return l?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:l.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:l.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:l.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function C(){return s("updt_tech")}return C}()})})]}):null},k=function(c,m){var d=(0,a.useBackend)(m),u=d.data,s=d.act,l=u.disk_data;if(!l)return null;var C=l.name,g=l.lathe_types,v=l.materials,p=g.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:C}),p?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:p}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),v.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,N.name,0,{style:{"text-transform":"capitalize"}})," x ",N.amount]},N.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 N(){return s("updt_design")}return N}()})})]})},S=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,l=s.disk_data;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Section,Object.assign({buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Erase",icon:"eraser",disabled:!l,onClick:function(){function C(){return u("erase_disk")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",icon:"eject",onClick:function(){function C(){u("eject_disk")}return C}()})],4)},c)))},y=function(c,m){var d=(0,a.useBackend)(m),u=d.data,s=d.act,l=u.disk_type,C=u.to_copy,g=c.title;return(0,e.createComponentVNode)(2,S,{title:g,children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:C.sort(function(v,p){return v.name.localeCompare(p.name)}).map(function(v){var p=v.name,N=v.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:p,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function b(){l===f?s("copy_tech",{id:N}):s("copy_design",{id:N})}return b}()})},N)})})})})},h=r.DataDiskMenu=function(){function i(c,m){var d=(0,a.useBackend)(m),u=d.data,s=u.disk_type,l=u.disk_data;if(!s)return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",children:"No disk loaded."});switch(s){case o:return l?(0,e.createComponentVNode)(2,S,{title:"Design Disk",children:(0,e.createComponentVNode)(2,k)}):(0,e.createComponentVNode)(2,y,{title:"Design Disk"});case f:return l?(0,e.createComponentVNode)(2,S,{title:"Technology Disk",children:(0,e.createComponentVNode)(2,V)}):(0,e.createComponentVNode)(2,y,{title:"Technology Disk"});default:return(0,e.createFragment)([(0,e.createTextVNode)("UNRECOGNIZED DISK TYPE")],4)}}return i}()},58147:function(w,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=r.DeconstructionMenu=function(){function k(S,y){var h=(0,t.useBackend)(y),i=h.data,c=h.act,m=i.tech_levels,d=i.loaded_item,u=i.linked_destroy;return u?d?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"Object Analysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Deconstruct",icon:"microscope",onClick:function(){function s(){c("deconstruct")}return s}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Eject",icon:"eject",onClick:function(){function s(){c("eject_item")}return s}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:d.name})})}),(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{id:"research-levels",children:[(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Research Field"}),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Current Level"}),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Object Level"}),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"New Level"})]}),m.map(function(s){return(0,e.createComponentVNode)(2,V,{techLevel:s},s.id)})]})})],4):(0,e.createComponentVNode)(2,o.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,o.Section,{title:"Deconstruction Menu",children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return k}(),V=function(S,y){var h=S.techLevel,i=h.name,c=h.desc,m=h.level,d=h.object_level,u=h.ui_icon,s=d!=null,l=s&&d>=m?Math.max(d,m+1):m;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"circle-info",tooltip:c})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:u})," ",i]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:m}),s?(0,e.createComponentVNode)(2,o.Table.Cell,{children:d}):(0,e.createComponentVNode)(2,o.Table.Cell,{className:"research-level-no-effect",children:"-"}),(0,e.createComponentVNode)(2,o.Table.Cell,{className:(0,a.classes)([l!==m&&"upgraded-level"]),children:l})]})}},16830:function(w,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(52662),f=r.LatheCategory=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.data,i=y.act,c=h.category,m=h.matching_designs,d=h.menu,u=d===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:m.map(function(l){var C=l.id,g=l.name,v=l.can_build,p=l.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 N(){return i(s,{id:C,amount:1})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function N(){return i(s,{id:C,amount:5})}return N}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function N(){return i(s,{id:C,amount:10})}return N}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.map(function(N){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",N.is_red?"color-red":null,[N.amount,(0,e.createTextVNode)(" "),N.name],0)],0)})})]},C)})})]})}return V}()},70497:function(w,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheChemicalStorage=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.data,h=S.act,i=y.loaded_chemicals,c=y.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function m(){var d=c?"disposeallP":"disposeallI";h(d)}return m}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:i.map(function(m){var d=m.volume,u=m.name,s=m.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+d+" of "+u,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function l(){var C=c?"disposeP":"disposeI";h(C,{id:s})}return l}()})},s)})})]})}return f}()},70864:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(52662),f=n(68198),V=r.LatheMainMenu=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.data,c=h.act,m=i.menu,d=i.categories,u=m===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,f.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:d.map(function(s){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:s,onClick:function(){function l(){c("setCategory",{category:s})}return l}()})},s)})})]})}return k}()},42878:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterialStorage=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.data,h=S.act,i=y.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:i.map(function(c){var m=c.id,d=c.amount,u=c.name,s=function(){function v(p){var N=y.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";h(N,{id:m,amount:p})}return v}(),l=Math.floor(d/2e3),C=d<1,g=l===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:["* ",d," of ",u]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",l," sheet",g,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function 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}()}),d>=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})]},m)})})})}return f}()},52662:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterials=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.data,h=y.total_materials,i=y.max_materials,c=y.max_chemicals,m=y.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:h}),i?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+i}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:m}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return f}()},9681:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(12644),f=n(70864),V=n(16830),k=n(42878),S=n(70497),y=["menu"];function h(u,s){if(u==null)return{};var l={};for(var C in u)if({}.hasOwnProperty.call(u,C)){if(s.includes(C))continue;l[C]=u[C]}return l}var i=t.Tabs.Tab,c=function(s,l){var C=(0,a.useBackend)(l),g=C.act,v=C.data,p=v.menu===o.MENU.LATHE?["nav_protolathe",v.submenu_protolathe]:["nav_imprinter",v.submenu_imprinter],N=p[0],b=p[1],B=s.menu,I=h(s,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,i,Object.assign({selected:b===B,onClick:function(){function L(){return g(N,{menu:B})}return L}()},I)))},m=function(s){switch(s){case o.PRINTER_MENU.MAIN:return(0,e.createComponentVNode)(2,f.LatheMainMenu);case o.PRINTER_MENU.SEARCH:return(0,e.createComponentVNode)(2,V.LatheCategory);case o.PRINTER_MENU.MATERIALS:return(0,e.createComponentVNode)(2,k.LatheMaterialStorage);case o.PRINTER_MENU.CHEMICALS:return(0,e.createComponentVNode)(2,S.LatheChemicalStorage)}},d=r.LatheMenu=function(){function u(s,l){var C=(0,a.useBackend)(l),g=C.data,v=g.menu,p=g.linked_lathe,N=g.linked_imprinter;return v===o.MENU.LATHE&&!p?(0,e.createComponentVNode)(2,t.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):v===o.MENU.IMPRINTER&&!N?(0,e.createComponentVNode)(2,t.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,c,{menu:o.PRINTER_MENU.MAIN,icon:"bars",children:"Main Menu"}),(0,e.createComponentVNode)(2,c,{menu:o.PRINTER_MENU.MATERIALS,icon:"layer-group",children:"Materials"}),(0,e.createComponentVNode)(2,c,{menu:o.PRINTER_MENU.CHEMICALS,icon:"flask-vial",children:"Chemicals"})]}),m(g.menu===o.MENU.LATHE?g.submenu_protolathe:g.submenu_imprinter)]})}return u}()},68198:function(w,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheSearch=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function h(i,c){return y("search",{to_search:c})}return h}()})})}return f}()},6256:function(w,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.SettingsMenu=function(){function k(S,y){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,V)]})}return k}(),f=function(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.sync,d=c.admin;return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!m,onClick:function(){function u(){i("sync")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:m,onClick:function(){function u(){i("togglesync")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!m,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function u(){i("togglesync")}return u}()}),d===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function u(){return i("maxresearch")}return u}()}):null]})})},V=function(S,y){var h=(0,a.useBackend)(y),i=h.data,c=h.act,m=i.linked_destroy,d=i.linked_lathe,u=i.linked_imprinter;return(0,e.createComponentVNode)(2,t.Section,{title:"Linked Devices",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function s(){return c("find_device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",disabled:!m,content:m?"Unlink":"Undetected",onClick:function(){function s(){return c("disconnect",{item:"destroy"})}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",disabled:!d,content:d?"Unlink":"Undetected",onClick:function(){function s(){c("disconnect",{item:"lathe"})}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",disabled:!u,content:u?"Unlink":"Undetected",onClick:function(){function s(){return c("disconnect",{item:"imprinter"})}return s}()})})]})})}},12644:function(w,r,n){"use strict";r.__esModule=!0,r.RndConsole=r.PRINTER_MENU=r.MENU=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),f=n(35840),V=n(37556),k=n(9681),S=n(6256),y=n(58147),h=["menu"];function i(v,p){if(v==null)return{};var N={};for(var b in v)if({}.hasOwnProperty.call(v,b)){if(p.includes(b))continue;N[b]=v[b]}return N}var c=o.Tabs.Tab,m=r.MENU={MAIN:0,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},d=r.PRINTER_MENU={MAIN:0,SEARCH:1,MATERIALS:2,CHEMICALS:3},u=function(p){switch(p){case m.MAIN:return(0,e.createComponentVNode)(2,g);case m.DISK:return(0,e.createComponentVNode)(2,V.DataDiskMenu);case m.DESTROY:return(0,e.createComponentVNode)(2,y.DeconstructionMenu);case m.LATHE:case m.IMPRINTER:return(0,e.createComponentVNode)(2,k.LatheMenu);case m.SETTINGS:return(0,e.createComponentVNode)(2,S.SettingsMenu);default:return"UNKNOWN MENU"}},s=function(p,N){var b=(0,a.useBackend)(N),B=b.act,I=b.data,L=I.menu,T=p.menu,A=i(p,h);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,c,Object.assign({selected:L===T,onClick:function(){function x(){return B("nav",{menu:T})}return x}()},A)))},l=r.RndConsole=function(){function v(p,N){var b=(0,a.useBackend)(N),B=b.act,I=b.data,L=I.menu,T=I.linked_destroy,A=I.linked_lathe,x=I.linked_imprinter,E=I.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,o.Tabs,{children:[(0,e.createComponentVNode)(2,s,{icon:"flask",menu:m.MAIN,children:"Research"}),!!T&&(0,e.createComponentVNode)(2,s,{icon:"microscope",menu:m.DESTROY,children:"Analyze"}),!!A&&(0,e.createComponentVNode)(2,s,{icon:"print",menu:m.LATHE,children:"Protolathe"}),!!x&&(0,e.createComponentVNode)(2,s,{icon:"memory",menu:m.IMPRINTER,children:"Imprinter"}),(0,e.createComponentVNode)(2,s,{icon:"floppy-disk",menu:m.DISK,children:"Disk"}),(0,e.createComponentVNode)(2,s,{icon:"cog",menu:m.SETTINGS,children:"Settings"})]}),u(L),(0,e.createComponentVNode)(2,C)]})})})}return v}(),C=function(p,N){var b=(0,a.useBackend)(N),B=b.data,I=B.wait_message;return 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},g=function(p,N){var b=(0,a.useBackend)(N),B=b.data,I=B.tech_levels;return(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{id:"research-levels",children:[(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Research Field"}),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Level"})]}),I.map(function(L){var T=L.id,A=L.name,x=L.desc,E=L.level,P=L.ui_icon;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"circle-info",tooltip:x})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:P})," ",A]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:E})]},T)})]})})}},26109:function(w,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(25328),V=function(y,h){var i=y/h;return i<=.2?"good":i<=.5?"average":"bad"},k=r.RobotSelfDiagnosis=function(){function S(y,h){var i=(0,a.useBackend)(h),c=i.data,m=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:m.map(function(d,u){return(0,e.createComponentVNode)(2,t.Section,{title:(0,f.capitalize)(d.name),children:d.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:d.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:V(d.brute_damage,d.max_damage),children:d.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:V(d.electronic_damage,d.max_damage),children:d.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:d.powered?"good":"bad",children:d.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:d.status?"good":"bad",children:d.status?"Yes":"No"})]})})]})},u)})})})}return S}()},97997:function(w,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.RoboticsControlConsole=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.can_hack,d=c.safety,u=c.show_lock_all,s=c.cyborgs,l=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:d?"lock":"unlock",content:d?"Disable Safety":"Enable Safety",selected:d,onClick:function(){function C(){return i("arm",{})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lock",disabled:d,content:"Lock ALL Cyborgs",color:"bad",onClick:function(){function C(){return i("masslock",{})}return C}()})]}),(0,e.createComponentVNode)(2,V,{cyborgs:l,can_hack:m})]})})}return k}(),V=function(S,y){var h=S.cyborgs,i=S.can_hack,c=(0,a.useBackend)(y),m=c.act,d=c.data,u="Detonate";return d.detonate_cooldown>0&&(u+=" ("+d.detonate_cooldown+"s)"),h.length?h.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 l(){return m("hackbot",{uid:s.uid})}return l}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:s.locked_down?"unlock":"lock",color:s.locked_down?"good":"default",content:s.locked_down?"Release":"Lockdown",disabled:!d.auth,onClick:function(){function l(){return m("stopbot",{uid:s.uid})}return l}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:u,disabled:!d.auth||d.detonate_cooldown>0,color:"bad",onClick:function(){function l(){return m("killbot",{uid:s.uid})}return l}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:s.status?"bad":s.locked_down?"average":"good",children:s.status?"Not Responding":s.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:s.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.health>50?"good":"bad",value:s.health/100})}),typeof s.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.charge>30?"good":"bad",value:s.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:s.cell_capacity<3e4?"average":"good",children:s.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!s.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:s.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:s.synchronization?"default":"average",children:s.synchronization||"None"})})]})},s.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},54431:function(w,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Safe=function(){function y(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.dial,s=d.open,l=d.locked,C=d.contents;return(0,e.createComponentVNode)(2,o.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,t.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),s?(0,e.createComponentVNode)(2,k):(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 y}(),V=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.dial,s=d.open,l=d.locked,C=function(v,p){return(0,e.createComponentVNode)(2,t.Button,{disabled:s||p&&!l,icon:"arrow-"+(p?"right":"left"),content:(p?"Right":"Left")+" "+v,iconRight:p,onClick:function(){function N(){return m(p?"turnleft":"turnright",{num:v})}return N}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:l,icon:s?"lock":"lock-open",content:s?"Close":"Open",mb:"0.5rem",onClick:function(){function g(){return m("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})]})},k=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.contents;return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--contents",overflow:"auto",children:u.map(function(s,l){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mb:"0.5rem",onClick:function(){function C(){return m("retrieve",{index:l+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(h,i){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."})]})}},29740:function(w,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SatelliteControl=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.satellites,m=i.notice,d=i.meteor_shield,u=i.meteor_shield_coverage,s=i.meteor_shield_coverage_max,l=i.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[d&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:l>=100?"good":"average",value:u,maxValue:s,children:[l," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:i.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 h("toggle",{id:C.id})}return g}()})]},C.id)})]})})]})})}return V}()},44162:function(w,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),V=n(36352),k=n(92986),S=r.SecureStorage=function(){function c(m,d){return(0,e.createComponentVNode)(2,f.Window,{theme:"securestorage",height:500,width:280,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,h)})})})})}return c}(),y=function(m,d){var u=(0,t.useBackend)(d),s=u.act,l=window.event?m.which:m.keyCode;if(l===k.KEY_ENTER){m.preventDefault(),s("keypad",{digit:"E"});return}if(l===k.KEY_ESCAPE){m.preventDefault(),s("keypad",{digit:"C"});return}if(l===k.KEY_BACKSPACE){m.preventDefault(),s("backspace");return}if(l>=k.KEY_0&&l<=k.KEY_9){m.preventDefault(),s("keypad",{digit:l-k.KEY_0});return}if(l>=k.KEY_NUMPAD_0&&l<=k.KEY_NUMPAD_9){m.preventDefault(),s("keypad",{digit:l-k.KEY_NUMPAD_0});return}},h=function(m,d){var u=(0,t.useBackend)(d),s=u.act,l=u.data,C=l.locked,g=l.no_passcode,v=l.emagged,p=l.user_entered_code,N=[["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 y(I,d)}return B}(),children:[(0,e.createComponentVNode)(2,o.Stack.Item,{height:7.3,children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["SecureStorage__displayBox","SecureStorage__displayBox--"+b]),height:"100%",children:v?"ERROR":p})}),(0,e.createComponentVNode)(2,o.Table,{children:N.map(function(B){return(0,e.createComponentVNode)(2,V.TableRow,{children:B.map(function(I){return(0,e.createComponentVNode)(2,V.TableCell,{children:(0,e.createComponentVNode)(2,i,{number:I})},I)})},B[0])})})]})},i=function(m,d){var u=(0,t.useBackend)(d),s=u.act,l=u.data,C=m.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}()})}},6272:function(w,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),V=n(3939),k=n(321),S=n(5485),y=n(22091),h={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},i=function(p,N){(0,V.modalOpen)(p,"edit",{field:N.edit,value:N.value})},c=r.SecurityRecords=function(){function v(p,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.loginState,T=I.currentPage,A;if(L.logged_in)T===1?A=(0,e.createComponentVNode)(2,d):T===2&&(A=(0,e.createComponentVNode)(2,l));else return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.LoginInfo),(0,e.createComponentVNode)(2,y.TemporaryNotice),(0,e.createComponentVNode)(2,m),A]})})]})}return v}(),m=function(p,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.currentPage,T=I.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:L===1,onClick:function(){function A(){return B("page",{page:1})}return A}(),children:"List Records"}),L===2&&T&&!T.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:L===2,children:["Record: ",T.fields[0].value]})]})})},d=function(p,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.records,T=(0,t.useLocalState)(N,"searchText",""),A=T[0],x=T[1],E=(0,t.useLocalState)(N,"sortId","name"),P=E[0],j=E[1],O=(0,t.useLocalState)(N,"sortOrder",!0),R=O[0],D=O[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"})]}),L.filter((0,a.createSearch)(A,function(W){return W.name+"|"+W.id+"|"+W.rank+"|"+W.fingerprint+"|"+W.status})).sort(function(W,U){var z=R?1:-1;return W[P].localeCompare(U[P])*z}).map(function(W){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+h[W.status],onClick:function(){function U(){return B("view",{uid_gen:W.uid_gen,uid_sec:W.uid_sec})}return U}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",W.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:W.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:W.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:W.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:W.status})]},W.id)})]})})})],4)},u=function(p,N){var b=(0,t.useLocalState)(N,"sortId","name"),B=b[0],I=b[1],L=(0,t.useLocalState)(N,"sortOrder",!0),T=L[0],A=L[1],x=p.id,E=p.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(p,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.isPrinting,T=(0,t.useLocalState)(N,"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:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Cell Log",onClick:function(){function E(){return(0,V.modalOpen)(N,"print_cell_log")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function E(P,j){return x(j)}return E}()})})]})},l=function(p,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=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:L,icon:L?"spinner":"print",iconSpin:!!L,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,preserveWhitespace:!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 i(N,x)}return P}()})]},E)})})})})}),(0,e.createComponentVNode)(2,g)],4)],0)},C=function(p,N){var b=(0,t.useBackend)(N),B=b.data,I=B.general;return!I||!I.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:I.fields.map(function(L,T){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:L.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+L.value),!!L.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:L.line_break?"1rem":"initial",onClick:function(){function A(){return i(N,L)}return A}()})]},T)})})}),!!I.has_photos&&I.photos.map(function(L,T){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:L,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",T+1]},T)})]})},g=function(p,N){var b=(0,t.useBackend)(N),B=b.act,I=b.data,L=I.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function T(){return(0,V.modalOpen)(N,"comment_add")}return T}()}),children:L.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):L.comments.map(function(T,A){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:T.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),T.text||T,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function x(){return B("comment_delete",{id:A+1})}return x}()})]},A)})})})}},5099:function(w,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),V=n(3939);function k(u,s){var l=typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(l)return(l=l.call(u)).next.bind(l);if(Array.isArray(u)||(l=S(u))||s&&u&&typeof u.length=="number"){l&&(u=l);var C=0;return function(){return C>=u.length?{done:!0}:{done:!1,value:u[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 S(u,s){if(u){if(typeof u=="string")return y(u,s);var l={}.toString.call(u).slice(8,-1);return l==="Object"&&u.constructor&&(l=u.constructor.name),l==="Map"||l==="Set"?Array.from(u):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?y(u,s):void 0}}function y(u,s){(s==null||s>u.length)&&(s=u.length);for(var l=0,C=Array(s);l=A},g=function(T,A){return T<=A},v=s.split(" "),p=[],N=function(){var T=I.value,A=T.split(":");if(A.length===0)return 0;if(A.length===1)return p.push(function(P){return(P.name+" ("+P.variant+")").toLocaleLowerCase().includes(A[0].toLocaleLowerCase())}),0;if(A.length>2)return{v:function(){function P(j){return!1}return P}()};var x,E=l;if(A[1][A[1].length-1]==="-"?(E=g,x=Number(A[1].substring(0,A[1].length-1))):A[1][A[1].length-1]==="+"?(E=C,x=Number(A[1].substring(0,A[1].length-1))):x=Number(A[1]),isNaN(x))return{v:function(){function P(j){return!1}return P}()};switch(A[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":p.push(function(P){return E(P.lifespan,x)});break;case"e":case"end":case"endurance":p.push(function(P){return E(P.endurance,x)});break;case"m":case"mat":case"maturation":p.push(function(P){return E(P.maturation,x)});break;case"pr":case"prod":case"production":p.push(function(P){return E(P.production,x)});break;case"y":case"yield":p.push(function(P){return E(P.yield,x)});break;case"po":case"pot":case"potency":p.push(function(P){return E(P.potency,x)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":p.push(function(P){return E(P.amount,x)});break;default:return{v:function(){function P(j){return!1}return P}()}}},b,B=k(v),I;!(I=B()).done;)if(b=N(),b!==0&&b)return b.v;return function(L){for(var T=0,A=p;T=1?Number(E):1)}return A}()})]})]})}},2916:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ShuttleConsole=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.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:i.status?i.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),!!i.shuttle&&(!!i.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Send to ",children:i.docking_ports.map(function(c){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:c.name,onClick:function(){function m(){return h("move",{move:c.id})}return m}()},c.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!i.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:!i.status,onClick:function(){function c(){return h("request")}return c}()})})],0))]})})})})}return V}()},39401:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ShuttleManipulator=function(){function y(h,i){var c=(0,a.useLocalState)(i,"tabIndex",0),m=c[0],d=c[1],u=function(){function s(l){switch(l){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,k);case 2:return(0,e.createComponentVNode)(2,S);default:return"WE SHOULDN'T BE HERE!"}}return s}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===0,onClick:function(){function s(){return d(0)}return s}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===1,onClick:function(){function s(){return d(1)}return s}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===2,onClick:function(){function s(){return d(2)}return s}(),icon:"tools",children:"Modification"},"Modification")]}),u(m)]})})})}return y}(),V=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.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 l(){return m("jump_to",{type:"mobile",id:s.id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function l(){return m("fast_travel",{id:s.id})}return l}()})]})]})},s.name)})})},k=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.templates_tabs,s=d.existing_shuttle,l=d.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 m("select_template_category",{cat:C})}return g}(),children:C},C)})}),!!s&&l[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 m("select_template",{shuttle_id:C.shuttle_id})}return g}()})})]})},C.name)})]})},S=function(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.existing_shuttle,s=d.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 l(){return m("jump_to",{type:"mobile",id:u.id})}return l}()})})]})}):(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 l(){return m("preview",{shuttle_id:s.shuttle_id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function l(){return m("load",{shuttle_id:s.shuttle_id})}return l}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},88284:function(w,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],k=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},y=["bad","average","average","good","average","average","bad"],h=r.Sleeper=function(){function l(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,b=N.hasOccupant,B=b?(0,e.createComponentVNode)(2,i):(0,e.createComponentVNode)(2,s);return(0,e.createComponentVNode)(2,f.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:B}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,d)})]})})})}return l}(),i=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,b=N.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,u)],4)},c=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,b=N.occupant,B=N.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:B?"toggle-on":"toggle-off",selected:B,content:B?"On":"Off",onClick:function(){function I(){return p("auto_eject_dead_"+(B?"off":"on"))}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function I(){return p("ejectify")}return I}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:b.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.maxHealth,value:b.health/b.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(b.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:V[b.stat][0],children:V[b.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.maxTemp,value:b.bodyTemperature/b.maxTemp,color:y[b.temperatureSuitability+3],children:[(0,a.round)(b.btCelsius,0),"\xB0C,",(0,a.round)(b.btFaren,0),"\xB0F"]})}),!!b.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:b.bloodMax,value:b.bloodLevel/b.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[b.bloodPercent,"%, ",b.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[b.pulse," BPM"]})],4)]})})},m=function(C,g){var v=(0,t.useBackend)(g),p=v.data,N=p.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:k.map(function(b,B){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:b[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:N[b[1]]/100,ranges:S,children:(0,a.round)(N[b[1]],0)},B)},B)})})})},d=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,b=N.hasOccupant,B=N.isBeakerLoaded,I=N.beakerMaxSpace,L=N.beakerFreeSpace,T=N.dialysis,A=T&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!B||L<=0||!b,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Active":"Inactive",onClick:function(){function x(){return p("togglefilter")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B,icon:"eject",content:"Eject",onClick:function(){function x(){return p("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:L/I,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},u=function(C,g){var v=(0,t.useBackend)(g),p=v.act,N=v.data,b=N.occupant,B=N.chemicals,I=N.maxchem,L=N.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:B.map(function(T,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"]}),L.map(function(P,j){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 O(){return p("chemical",{chemid:T.id,amount:P})}return O}()},j)})]})})},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."]})})})}},21597:function(w,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SlotMachine=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data;if(i.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 i.plays===1?c=i.plays+" player has tried their luck today!":c=i.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:i.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:i.working,content:i.working?"Spinning...":"Spin",onClick:function(){function m(){return h("spin")}return m}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:i.resultlvl,children:i.result})]})})})}return V}()},46348:function(w,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Smartfridge=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.secure,m=i.can_dry,d=i.drying,u=i.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m?"Drying rack":"Contents",buttons:!!m&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){function s(){return h("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,l){return s.display_name.localeCompare(l.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 l(){return h("vend",{index:s.vend,amount:1})}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:s.quantity,step:1,stepPixelSize:3,onChange:function(){function l(C,g){return h("vend",{index:s.vend,amount:g})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function l(){return h("vend",{index:s.vend,amount:s.quantity})}return l}()})]})]},s)})]})]})})})}return V}()},86162:function(w,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(49968),f=n(98595),V=1e3,k=r.Smes=function(){function S(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.capacityPercent,u=m.capacity,s=m.charge,l=m.inputAttempt,C=m.inputting,g=m.inputLevel,v=m.inputLevelMax,p=m.inputAvailable,N=m.outputPowernet,b=m.outputAttempt,B=m.outputting,I=m.outputLevel,L=m.outputLevelMax,T=m.outputUsed,A=d>=100&&"good"||C&&"average"||"bad",x=B&&"good"||s>0&&"average"||"bad";return(0,e.createComponentVNode)(2,f.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:d*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:l?"sync-alt":"times",selected:l,onClick:function(){function E(){return c("tryinput")}return E}(),children:l?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:d>=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/V,fillValue:p/V,minValue:0,maxValue:v/V,step:5,stepPixelSize:4,format:function(){function E(P){return(0,o.formatPower)(P*V,1)}return E}(),onChange:function(){function E(P,j){return c("input",{target:j*V})}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)(p)})]})}),(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:N?B?"Sending":s>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:I===0,onClick:function(){function E(){return c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:I===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:I/V,minValue:0,maxValue:L/V,step:5,stepPixelSize:4,format:function(){function E(P){return(0,o.formatPower)(P*V,1)}return E}(),onChange:function(){function E(P,j){return c("output",{target:j*V})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:I===L,onClick:function(){function E(){return c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:I===L,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(T)})]})})]})})})}return S}()},63584:function(w,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SolarControl=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=0,m=1,d=2,u=i.generated,s=i.generated_ratio,l=i.tracking_state,C=i.tracking_rate,g=i.connected_panels,v=i.connected_tracker,p=i.cdir,N=i.direction,b=i.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 h("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:[p,"\xB0 (",N,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[l===d&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),l===m&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",C,"\xB0/h (",b,")"," "]}),l===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:[l!==d&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:p,onDrag:function(){function B(I,L){return h("cdir",{cdir:L})}return B}()}),l===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:l===c,onClick:function(){function B(){return h("track",{track:c})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:l===m,onClick:function(){function B(){return h("track",{track:m})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:l===d,disabled:!v,onClick:function(){function B(){return h("track",{track:d})}return B}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[l===m&&(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 L=Math.sign(I)>0?"+":"-";return L+Math.abs(I)}return B}(),onDrag:function(){function B(I,L){return h("tdir",{tdir:L})}return B}()}),l===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),l===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return V}()},38096:function(w,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SpawnersMenu=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:m.name+" ("+m.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function d(){return h("jump",{ID:m.uids})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function d(){return h("spawn",{ID:m.uids})}return d}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:m.desc}),!!m.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:m.fluff}),!!m.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:m.important_info})]},m.name)})})})})}return V}()},30586:function(w,r,n){"use strict";r.__esModule=!0,r.SpecMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SpecMenu=function(){function h(i,c){return(0,e.createComponentVNode)(2,o.Window,{width:1100,height:600,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,y)]})})})}return h}(),V=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.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 l(){return d("hemomancer")}return l}()}),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)]})})},k=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.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 l(){return d("umbrae")}return l}()}),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(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.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 l(){return d("gargantua")}return l}()}),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)]})})},y=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.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 l(){return d("dantalion")}return l}()}),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)]})})}},38307:function(w,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.StationAlertConsole=function(){function k(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,V)})})}return k}(),V=r.StationAlertConsoleContent=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.data,c=i.alarms||[],m=c.Fire||[],d=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,[m.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),m.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Atmospherics Alarms",children:(0,e.createVNode)(1,"ul",null,[d.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),d.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Alarms",children:(0,e.createVNode)(1,"ul",null,[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 k}()},96091:function(w,r,n){"use strict";r.__esModule=!0,r.StationTraitsPanel=void 0;var e=n(89005),a=n(88510),t=n(42127),o=n(72253),f=n(36036),V=n(98595),k=function(i){return i[i.SetupFutureStationTraits=0]="SetupFutureStationTraits",i[i.ViewStationTraits=1]="ViewStationTraits",i}(k||{}),S=function(c,m){var d=(0,o.useBackend)(m),u=d.act,s=d.data,l=s.future_station_traits,C=(0,o.useLocalState)(m,"selectedFutureTrait",null),g=C[0],v=C[1],p=Object.fromEntries(s.valid_station_traits.map(function(b){return[b.name,b.path]})),N=Object.keys(p);return N.sort(),(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Dropdown,{displayText:!g&&"Select trait to add...",onSelected:v,options:N,selected:g,width:"100%"})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"green",icon:"plus",onClick:function(){function b(){if(g){var B=p[g],I=[B];if(l){var L,T=l.map(function(A){return A.path});if(T.indexOf(B)!==-1)return;I=(L=I).concat.apply(L,T)}u("setup_future_traits",{station_traits:I})}}return b}(),children:"Add"})})]}),(0,e.createComponentVNode)(2,f.Divider),Array.isArray(l)?l.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:l.map(function(b){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:b.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"red",icon:"times",onClick:function(){function B(){u("setup_future_traits",{station_traits:(0,a.filterMap)(l,function(I){if(I.path!==b.path)return I.path})})}return B}(),children:"Delete"})})]})},b.path)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No station traits will run next round."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"good",icon:"times",tooltip:"The next round will roll station traits randomly, just like normal",onClick:function(){function b(){return u("clear_future_traits")}return b}(),children:"Run Station Traits Normally"})]}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No future station traits are planned."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"red",icon:"times",onClick:function(){function b(){return u("setup_future_traits",{station_traits:[]})}return b}(),children:"Prevent station traits from running next round"})]})]})},y=function(c,m){var d=(0,o.useBackend)(m),u=d.act,s=d.data;return s.current_traits.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:s.current_traits.map(function(l){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:l.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button.Confirm,{content:"Revert",color:"red",disabled:s.too_late_to_revert||!l.can_revert,tooltip:!l.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:l.ref})}return C}()})})]})},l.ref)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:"There are no active station traits."})},h=r.StationTraitsPanel=function(){function i(c,m){var d=(0,o.useLocalState)(m,"station_traits_tab",k.ViewStationTraits),u=d[0],s=d[1],l;switch(u){case k.SetupFutureStationTraits:l=(0,e.createComponentVNode)(2,S);break;case k.ViewStationTraits:l=(0,e.createComponentVNode)(2,y);break;default:(0,t.exhaustiveCheck)(u)}return(0,e.createComponentVNode)(2,V.Window,{title:"Modify Station Traits",height:350,width:350,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"eye",selected:u===k.ViewStationTraits,onClick:function(){function C(){return s(k.ViewStationTraits)}return C}(),children:"View"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"edit",selected:u===k.SetupFutureStationTraits,onClick:function(){function C(){return s(k.SetupFutureStationTraits)}return C}(),children:"Edit"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{m:0,children:[(0,e.createComponentVNode)(2,f.Divider),l]})]})})})}return i}()},39409:function(w,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(89005),a=n(88510),t=n(79140),o=n(72253),f=n(36036),V=n(98595),k=5,S=9,y=function(g){return g===0?5:9},h="64px",i=function(g){return g[0]+"/"+g[1]},c=function(g){var v=g.align,p=g.children;return(0,e.createComponentVNode)(2,f.Box,{style:{position:"absolute",left:v==="left"?"6px":"48px","text-align":v,"text-shadow":"2px 2px 2px #000",top:"2px"},children:p})},m={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"}},d={eyes:{displayName:"eyewear",gridSpot:i([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:i([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:i([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:i([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:i([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:i([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:i([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:i([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:i([1,4])},jumpsuit:{displayName:"uniform",gridSpot:i([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:i([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:i([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:i([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:i([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:i([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:i([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:i([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:i([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:i([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:i([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:i([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:i([4,4]),image:"inventory-pda.png"}},u={eyes:{displayName:"eyewear",gridSpot:i([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:i([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:i([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:i([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:i([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:i([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:i([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:i([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:i([1,4])},jumpsuit:{displayName:"uniform",gridSpot:i([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:i([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:i([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:i([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:i([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:i([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:i([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:i([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:i([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:i([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:i([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:i([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:i([4,8]),image:"inventory-pda.png"}},s=function(C){return C[C.Completely=1]="Completely",C[C.Hidden=2]="Hidden",C}(s||{}),l=r.StripMenu=function(){function C(g,v){var p=(0,o.useBackend)(v),N=p.act,b=p.data,B=new Map;if(b.show_mode===0)for(var I=0,L=Object.keys(b.items);I=.01})},(0,a.sortBy)(function(T){return-T.amount})])(g.gases||[]),L=Math.max.apply(Math,[1].concat(I.map(function(T){return T.amount})));return(0,e.createComponentVNode)(2,S.Window,{width:550,height:185,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"270px",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Metrics",children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:p/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:N,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.toFixed)(N)+" MeV/cm3"})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:i(b),minValue:0,maxValue:i(1e4),ranges:{teal:[-1/0,i(80)],good:[i(80),i(373)],average:[i(373),i(1e3)],bad:[i(1e3),1/0]},children:(0,o.toFixed)(b)+" K"})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:i(B),minValue:0,maxValue:i(5e4),ranges:{good:[i(1),i(300)],average:[-1/0,i(1e3)],bad:[i(1e3),1/0]},children:(0,o.toFixed)(B)+" kPa"})})]})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"arrow-left",content:"Back",onClick:function(){function T(){return C("back")}return T}()}),children:(0,e.createComponentVNode)(2,V.LabeledList,{children:I.map(function(T){return(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:(0,k.getGasLabel)(T.name),children:(0,e.createComponentVNode)(2,V.ProgressBar,{color:(0,k.getGasColor)(T.name),value:T.amount,minValue:0,maxValue:L,children:(0,o.toFixed)(T.amount,2)+"%"})},T.name)})})})})]})})})}},46029:function(w,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SyndicateComputerSimple=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data;return(0,e.createComponentVNode)(2,o.Window,{theme:"syndicate",width:400,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:i.rows.map(function(c){return(0,e.createComponentVNode)(2,t.Section,{title:c.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:c.buttontitle,disabled:c.buttondisabled,tooltip:c.buttontooltip,tooltipPosition:"left",onClick:function(){function m(){return h(c.buttonact)}return m}()}),children:[c.status,!!c.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:c.bullets.map(function(m){return(0,e.createComponentVNode)(2,t.Box,{children:m},m)})})]},c.title)})})})}return V}()},36372:function(w,r,n){"use strict";r.__esModule=!0,r.TEG=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(S){return S.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},V=r.TEG=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data;return c.error?(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[c.error,(0,e.createComponentVNode)(2,t.Button,{icon:"circle",content:"Recheck",onClick:function(){function m(){return i("check")}return m}()})]})})}):(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cold Loop ("+c.cold_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Inlet",children:[f(c.cold_inlet_temp)," K, ",f(c.cold_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Outlet",children:[f(c.cold_outlet_temp)," K, ",f(c.cold_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Hot Loop ("+c.hot_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Inlet",children:[f(c.hot_inlet_temp)," K, ",f(c.hot_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Outlet",children:[f(c.hot_outlet_temp)," K, ",f(c.hot_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Output",children:[f(c.output_power)," W",!!c.warning_switched&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold inlet temperature exceeds hot inlet temperature."}),!!c.warning_cold_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold circulator inlet pressure is under 1,000 kPa."}),!!c.warning_hot_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Hot circulator inlet pressure is under 1,000 kPa."})]})]})})}return k}()},56441:function(w,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TachyonArray=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.records,d=m===void 0?[]:m,u=c.explosion_target,s=c.toxins_tech,l=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:!d.length||l,align:"center",onClick:function(){function C(){return i("print_logs")}return C}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!d.length,color:"bad",align:"center",onClick:function(){function C(){return i("delete_logs")}return C}()})]})]})}),d.length?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return k}(),V=r.TachyonArrayContent=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.records,d=m===void 0?[]:m;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),d.map(function(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 i("delete_record",{index:u.index})}return s}()})})]},u.index)})]})})})})}return k}()},1754:function(w,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Tank=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c;return i.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,width:"76%",icon:i.connected?"check":"times",content:i.connected?"Internals On":"Internals Off",selected:i.connected,onClick:function(){function m(){return h("internals")}return m}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:325,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:i.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:i.ReleasePressure===i.minReleasePressure,tooltip:"Min",onClick:function(){function m(){return h("pressure",{pressure:"min"})}return m}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(i.releasePressure),width:"65px",unit:"kPa",minValue:i.minReleasePressure,maxValue:i.maxReleasePressure,onChange:function(){function m(d,u){return h("pressure",{pressure:u})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:i.ReleasePressure===i.maxReleasePressure,tooltip:"Max",onClick:function(){function m(){return h("pressure",{pressure:"max"})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:i.ReleasePressure===i.defaultReleasePressure,tooltip:"Reset",onClick:function(){function m(){return h("pressure",{pressure:"reset"})}return m}()})]}),c]})})})})}return V}()},7579:function(w,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TankDispenser=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.o_tanks,m=i.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Dispense Oxygen Tank ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function d(){return h("oxygen")}return d}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mt:1,fluid:!0,content:"Dispense Plasma Tank ("+m+")",disabled:m===0,icon:"arrow-circle-down",onClick:function(){function d(){return h("plasma")}return d}()})})]})})})}return V}()},16136:function(w,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TcommsCore=function(){function h(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.ion,l=(0,a.useLocalState)(c,"tabIndex",0),C=l[0],g=l[1],v=function(){function p(N){switch(N){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,y);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s===1&&(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"wrench",selected:C===0,onClick:function(){function p(){return g(0)}return p}(),children:"Configuration"},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"link",selected:C===1,onClick:function(){function p(){return g(1)}return p}(),children:"Device Linkage"},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"user-times",selected:C===2,onClick:function(){function p(){return g(2)}return p}(),children:"User Filtering"},"FilterPage")]}),v(C)]})})}return h}(),V=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},k=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.active,l=u.sectors_available,C=u.nttc_toggle_jobs,g=u.nttc_toggle_job_color,v=u.nttc_toggle_name_color,p=u.nttc_toggle_command_bold,N=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 d("toggle_active")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:l})]})}),(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 d("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 d("nttc_toggle_job_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"user-tag",onClick:function(){function I(){return d("nttc_toggle_name_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"On":"Off",selected:p,icon:"volume-up",onClick:function(){function I(){return d("nttc_toggle_command_bold")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:N||"Unset",selected:N,icon:"pencil-alt",onClick:function(){function I(){return d("nttc_job_indicator_type")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:b||"Unset",selected:b,icon:"globe",onClick:function(){function I(){return d("nttc_setting_language")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:B||"Unset",selected:B,icon:"server",onClick:function(){function I(){return d("network_id")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function I(){return d("import")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function I(){return d("export")}return I}()})]})],4)},S=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.link_password,l=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 d("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"})]}),l.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 d("unlink",{addr:C.addr})}return g}()})})]},C.addr)})]})]})},y=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=m.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 l(){return d("add_filter")}return l}()}),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(l){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function C(){return d("remove_filter",{user:l})}return C}()})})]},l)})]})})}},88046:function(w,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TcommsRelay=function(){function S(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.linked,u=m.active,s=m.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:292,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:u?"On":"Off",selected:u,icon:"power-off",onClick:function(){function l(){return c("toggle_active")}return l}()})}),(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 l(){return c("network_id")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:d===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),d===1?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,k)]})})}return S}(),V=function(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.linked_core_id,u=m.linked_core_addr,s=m.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children: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 l(){return c("toggle_hidden_link")}return l}()})}),(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 l(){return c("unlink")}return l}()})})]})})},k=function(y,h){var i=(0,a.useBackend)(h),c=i.act,m=i.data,d=m.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),d.map(function(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)})]})})}},20802:function(w,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Teleporter=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.targetsTeleport?i.targetsTeleport:{},m=0,d=1,u=2,s=i.calibrated,l=i.calibrating,C=i.powerstation,g=i.regime,v=i.teleporterhub,p=i.target,N=i.locked,b=i.adv_beacon_allowed,B=i.advanced_beacon_locking;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",buttons:(0,e.createFragment)(!!b&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",children:"Advanced Beacon Locking:\xA0"}),(0,e.createComponentVNode)(2,t.Button,{selected:B,icon:B?"toggle-on":"toggle-off",content:B?"Enabled":"Disabled",onClick:function(){function I(){return h("advanced_beacon_locking",{on:B?0:1})}return I}()})],4),0),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===m&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:p,disabled:l,options:Object.keys(c),color:p!=="None"?"default":"bad",onSelected:function(){function I(L){return h("settarget",{x:c[L].x,y:c[L].y,z:c[L].z,tptarget:c[L].pretarget})}return I}()}),g===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:p,disabled:l,options:Object.keys(c),color:p!=="None"?"default":"bad",onSelected:function(){function I(L){return h("settarget",{x:c[L].x,y:c[L].y,z:c[L].z,tptarget:c[L].pretarget})}return I}()}),g===u&&(0,e.createComponentVNode)(2,t.Box,{children:p})]})]}),(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===d?"good":null,onClick:function(){function I(){return h("setregime",{regime:d})}return I}()})}),(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===m?"good":null,onClick:function(){function I(){return h("setregime",{regime:m})}return I}()})}),(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:!N,onClick:function(){function I(){return h("setregime",{regime:u})}return I}()})})]}),(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:[p!=="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:l&&(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||l),onClick:function(){function I(){return h("calibrate")}return I}()})})]}),p==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})]}),!!(N&&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 I(){return h("load")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function I(){return h("eject")}return I}()})]})})]})})})})}return V}()},48517:function(w,r,n){"use strict";r.__esModule=!0,r.TelescienceConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TelescienceConsole=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.last_msg,m=i.linked_pad,d=i.held_gps,u=i.lastdata,s=i.power_levels,l=i.current_max_power,C=i.current_power,g=i.current_bearing,v=i.current_elevation,p=i.current_sector,N=i.working,b=i.max_z,B=(0,a.useLocalState)(S,"dummyrot",g),I=B[0],L=B[1];return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createFragment)([c,!(u.length>0)||(0,e.createVNode)(1,"ul",null,u.map(function(T){return(0,e.createVNode)(1,"li",null,T,0,null,T)}),0)],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Telepad Status",children:m===1?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Bearing",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:[(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:360,disabled:N,value:g,onDrag:function(){function T(A,x){return L(x)}return T}(),onChange:function(){function T(A,x){return h("setbear",{bear:x})}return T}()}),(0,e.createComponentVNode)(2,t.Icon,{ml:1,size:1,name:"arrow-up",rotation:I})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Elevation",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:100,disabled:N,value:v,onChange:function(){function T(A,x){return h("setelev",{elev:x})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Level",children:s.map(function(T,A){return(0,e.createComponentVNode)(2,t.Button,{content:T,selected:C===T,disabled:A>=l-1||N,onClick:function(){function x(){return h("setpwr",{pwr:A+1})}return x}()},T)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Sector",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:1,minValue:2,maxValue:b,value:p,disabled:N,onChange:function(){function T(A,x){return h("setz",{newz:x})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Telepad Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Send",disabled:N,onClick:function(){function T(){return h("pad_send")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Receive",disabled:N,onClick:function(){function T(){return h("pad_receive")}return T}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Crystal Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Recalibrate Crystals",disabled:N,onClick:function(){function T(){return h("recal_crystals")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Crystals",disabled:N,onClick:function(){function T(){return h("eject_crystals")}return T}()})]})]}):(0,e.createFragment)([(0,e.createTextVNode)("No pad linked to console. Please use a multitool to link a pad.")],4)}),(0,e.createComponentVNode)(2,t.Section,{title:"GPS Actions",children:d===1?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||N,content:"Eject GPS",onClick:function(){function T(){return h("eject_gps")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||N,content:"Store Coordinates",onClick:function(){function T(){return h("store_to_gps")}return T}()})],4):(0,e.createFragment)([(0,e.createTextVNode)("Please insert a GPS to store coordinates to it.")],4)})]})})}return V}()},21800:function(w,r,n){"use strict";r.__esModule=!0,r.TempGun=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=r.TempGun=function(){function h(i,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.target_temperature,l=u.temperature,C=u.max_temp,g=u.min_temp;return(0,e.createComponentVNode)(2,f.Window,{width:250,height:121,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:10,stepPixelSize:6,minValue:g,maxValue:C,value:s,format:function(){function v(p){return(0,a.toFixed)(p,2)}return v}(),width:"50px",onDrag:function(){function v(p,N){return d("target_temperature",{target_temperature:N})}return v}()}),"\xB0C"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Temperature",children:(0,e.createComponentVNode)(2,o.Box,{color:k(l),bold:l>500-273.15,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:(0,a.round)(l,2)}),"\xB0C"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power Cost",children:(0,e.createComponentVNode)(2,o.Box,{color:y(l),children:S(l)})})]})})})})}return h}(),k=function(i){return i<=-100?"blue":i<=0?"teal":i<=100?"green":i<=200?"orange":"red"},S=function(i){return i<=100-273.15?"High":i<=250-273.15?"Medium":i<=300-273.15?"Low":i<=400-273.15?"Medium":"High"},y=function(i){return i<=100-273.15?"red":i<=250-273.15?"orange":i<=300-273.15?"green":i<=400-273.15?"orange":"red"}},24410:function(w,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(72253),f=n(92986),V=n(36036),k=n(98595),S=r.sanitizeMultiline=function(){function c(m){return m.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),y=r.removeAllSkiplines=function(){function c(m){return m.replace(/[\r\n]+/,"")}return c}(),h=r.TextInputModal=function(){function c(m,d){var u=(0,o.useBackend)(d),s=u.act,l=u.data,C=l.max_length,g=l.message,v=g===void 0?"":g,p=l.multiline,N=l.placeholder,b=l.timeout,B=l.title,I=(0,o.useLocalState)(d,"input",N||""),L=I[0],T=I[1],A=function(){function P(j){if(j!==L){var O=p?S(j):y(j);T(O)}}return P}(),x=p||L.length>=40,E=130+(v.length>40?Math.ceil(v.length/4):0)+(x?80:0);return(0,e.createComponentVNode)(2,k.Window,{title:B,width:325,height:E,children:[b&&(0,e.createComponentVNode)(2,a.Loader,{value:b}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:function(){function P(j){var O=window.event?j.which:j.keyCode;O===f.KEY_ENTER&&(!x||!j.shiftKey)&&s("submit",{entry:L}),O===f.KEY_ESCAPE&&s("cancel")}return P}(),children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Box,{color:"label",children:v})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i,{input:L,onType:A})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+C})})]})})})]})}return c}(),i=function(m,d){var u=(0,o.useBackend)(d),s=u.act,l=u.data,C=l.max_length,g=l.multiline,v=m.input,p=m.onType,N=g||v.length>=40;return(0,e.createComponentVNode)(2,V.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){N&&B.shiftKey||(B.preventDefault(),s("submit",{entry:v}))}return b}(),onInput:function(){function b(B,I){return p(I)}return b}(),placeholder:"Type something...",value:v})}},25036:function(w,r,n){"use strict";r.__esModule=!0,r.ThermoMachine=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),V=r.ThermoMachine=function(){function k(S,y){var h=(0,t.useBackend)(y),i=h.act,c=h.data;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:225,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{title:"Status",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.temperature,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pressure",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.pressure,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," kPa"]})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Controls",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:c.on?"power-off":"times",content:c.on?"On":"Off",selected:c.on,onClick:function(){function m(){return i("power")}return m}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Setting",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:c.cooling?"temperature-low":"temperature-high",content:c.cooling?"Cooling":"Heating",selected:c.cooling,onClick:function(){function m(){return i("cooling")}return m}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"fast-backward",disabled:c.target===c.min,title:"Minimum temperature",onClick:function(){function m(){return i("target",{target:c.min})}return m}()}),(0,e.createComponentVNode)(2,o.NumberInput,{animated:!0,value:Math.round(c.target),unit:"K",width:5.4,lineHeight:1.4,minValue:Math.round(c.min),maxValue:Math.round(c.max),step:5,stepPixelSize:3,onDrag:function(){function m(d,u){return i("target",{target:u})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"fast-forward",disabled:c.target===c.max,title:"Maximum Temperature",onClick:function(){function m(){return i("target",{target:c.max})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"sync",disabled:c.target===c.initial,title:"Room Temperature",onClick:function(){function m(){return i("target",{target:c.initial})}return m}()})]})]})})]})})}return k}()},20035:function(w,r,n){"use strict";r.__esModule=!0,r.TransferValve=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TransferValve=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.tank_one,m=i.tank_two,d=i.attached_device,u=i.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||!m,onClick:function(){function s(){return h("toggle")}return s}()})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Assembly",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Configure Assembly",disabled:!d,onClick:function(){function s(){return h("device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:d?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:d,disabled:!d,onClick:function(){function s(){return h("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 h("tankone")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment Two",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:m?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:m,disabled:!m,onClick:function(){function s(){return h("tanktwo")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})})]})})}return V}()},78166:function(w,r,n){"use strict";r.__esModule=!0,r.TurbineComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(44879),V=r.TurbineComputer=function(){function y(h,i){var c=(0,a.useBackend)(i),m=c.act,d=c.data,u=d.compressor,s=d.compressor_broken,l=d.turbine,C=d.turbine_broken,g=d.online,v=!!(u&&!s&&l&&!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 p(){return m("toggle_power")}return p}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Disconnect",onClick:function(){function p(){return m("disconnect")}return p}()})],4),children:v?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,k)})})})}return y}(),k=function(h,i){var c=(0,a.useBackend)(i),m=c.data,d=m.compressor,u=m.compressor_broken,s=m.turbine,l=m.turbine_broken,C=m.online;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compressor Status",color:!d||u?"bad":"good",children:u?d?"Offline":"Missing":"Online"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Status",color:!s||l?"bad":"good",children:l?s?"Offline":"Missing":"Online"})]})},S=function(h,i){var c=(0,a.useBackend)(i),m=c.data,d=m.rpm,u=m.temperature,s=m.power,l=m.bearing_heat;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Speed",children:[d," RPM"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Temp",children:[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:l,minValue:0,maxValue:100,ranges:{good:[-1/0,60],average:[60,90],bad:[90,1/0]},children:(0,f.toFixed)(l)+"%"})})]})}},52847:function(w,r,n){"use strict";r.__esModule=!0,r.Uplink=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(25328),f=n(72253),V=n(36036),k=n(98595),S=n(3939),y=function(g){switch(g){case 0:return(0,e.createComponentVNode)(2,i);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,l);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}},h=r.Uplink=function(){function C(g,v){var p=(0,f.useBackend)(v),N=p.act,b=p.data,B=b.cart,I=(0,f.useLocalState)(v,"tabIndex",0),L=I[0],T=I[1],A=(0,f.useLocalState)(v,"searchText",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,k.Window,{width:900,height:600,theme:"syndicate",children:[(0,e.createComponentVNode)(2,S.ComplexModal),(0,e.createComponentVNode)(2,k.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Tabs,{children:[(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===0,onClick:function(){function P(){T(0),E("")}return P}(),icon:"store",children:"View Market"},"PurchasePage"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===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,V.Tabs.Tab,{selected:L===2,onClick:function(){function P(){T(2),E("")}return P}(),icon:"user",children:"Exploitable Information"},"ExploitableInfo"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{onClick:function(){function P(){return N("lock")}return P}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:y(L)})]})})]})}return C}(),i=function(g,v){var p=(0,f.useBackend)(v),N=p.act,b=p.data,B=b.crystals,I=b.cats,L=(0,f.useLocalState)(v,"uplinkItems",I[0].items),T=L[0],A=L[1],x=(0,f.useLocalState)(v,"searchText",""),E=x[0],P=x[1],j=function(z,K){K===void 0&&(K="");var $=(0,o.createSearch)(K,function(Y){var J=Y.hijack_only===1?"|hijack":"";return Y.name+"|"+Y.desc+"|"+Y.cost+"tc"+J});return(0,t.flow)([(0,a.filter)(function(Y){return Y==null?void 0:Y.name}),K&&(0,a.filter)($),(0,a.sortBy)(function(Y){return Y==null?void 0:Y.name})])(z)},O=function(z){if(P(z),z==="")return A(I[0].items);A(j(I.map(function(K){return K.items}).flat(),z))},R=(0,f.useLocalState)(v,"showDesc",1),D=R[0],W=R[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:D,onClick:function(){function U(){return W(!D)}return U}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Random Item",icon:"question",onClick:function(){function U(){return N("buyRandom")}return U}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function U(){return N("refund")}return U}()})],4),children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function U(z,K){O(K)}return U}(),value:E})})})}),(0,e.createComponentVNode)(2,V.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:I.map(function(U){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:E!==""?!1:U.items===T,onClick:function(){function z(){A(U.items),P("")}return z}(),children:U.cat},U)})})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:T.map(function(U){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:U,showDecription:D},(0,o.decodeHtmlEntities)(U.name))},(0,o.decodeHtmlEntities)(U.name))})})})})]})]})},c=function(g,v){var p=(0,f.useBackend)(v),N=p.act,b=p.data,B=b.cart,I=b.crystals,L=b.cart_price,T=(0,f.useLocalState)(v,"showDesc",0),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+I+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:A,onClick:function(){function E(){return x(!A)}return E}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function E(){return N("empty_cart")}return E}(),disabled:!B}),(0,e.createComponentVNode)(2,V.Button,{content:"Purchase Cart ("+L+"TC)",icon:"shopping-cart",onClick:function(){function E(){return N("purchase_cart")}return E}(),disabled:!B||L>I})],4),children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:B?B.map(function(E){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:E,showDecription:A,buttons:(0,e.createComponentVNode)(2,s,{i:E})})},(0,o.decodeHtmlEntities)(E.name))}):(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,m)]})},m=function(g,v){var p=(0,f.useBackend)(v),N=p.act,b=p.data,B=b.cats,I=b.lucky_numbers;return(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function L(){return N("shuffle_lucky_numbers")}return L}()}),children:(0,e.createComponentVNode)(2,V.Stack,{wrap:!0,children:I.map(function(L){return B[L.cat].items[L.item]}).filter(function(L){return L!=null}).map(function(L,T){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,d,{grow:!0,i:L})},T)})})})})},d=function(g,v){var p=g.i,N=g.showDecription,b=N===void 0?1:N,B=g.buttons,I=B===void 0?(0,e.createComponentVNode)(2,u,{i:p}):B;return(0,e.createComponentVNode)(2,V.Section,{title:(0,o.decodeHtmlEntities)(p.name),showBottom:b,buttons:I,children:b?(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(p.desc)}):null})},u=function(g,v){var p=(0,f.useBackend)(v),N=p.act,b=p.data,B=g.i,I=b.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function L(){return N("add_to_cart",{item:B.obj_path})}return L}(),disabled:B.cost>I}),(0,e.createComponentVNode)(2,V.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function L(){return N("buyItem",{item:B.obj_path})}return L}(),disabled:B.cost>I})],4)},s=function(g,v){var p=(0,f.useBackend)(v),N=p.act,b=p.data,B=g.i,I=b.exploitable;return(0,e.createComponentVNode)(2,V.Stack,{children:[(0,e.createComponentVNode)(2,V.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function L(){return N("remove_from_cart",{item:B.obj_path})}return L}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function L(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return L}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,V.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function L(T,A){return N("set_cart_item_quantity",{item:B.obj_path,quantity:A})}return L}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,V.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function L(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return L}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},l=function(g,v){var p=(0,f.useBackend)(v),N=p.act,b=p.data,B=b.exploitable,I=(0,f.useLocalState)(v,"selectedRecord",B[0]),L=I[0],T=I[1],A=(0,f.useLocalState)(v,"searchText",""),x=A[0],E=A[1],P=function(R,D){D===void 0&&(D="");var W=(0,o.createSearch)(D,function(U){return U.name});return(0,t.flow)([(0,a.filter)(function(U){return U==null?void 0:U.name}),D&&(0,a.filter)(W),(0,a.sortBy)(function(U){return U.name})])(R)},j=P(B,x);return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Exploitable Records",children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function O(R,D){return E(D)}return O}()}),(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:j.map(function(O){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:O===L,onClick:function(){function R(){return T(O)}return R}(),children:O.name},O)})})]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:L.name,children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:L.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:L.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:L.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:L.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:L.species})]})})})]})}},12261:function(w,r,n){"use strict";r.__esModule=!0,r.Vending=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=S.product,d=S.productStock,u=S.productImage,s=c.chargesMoney,l=c.user,C=c.usermoney,g=c.inserted_cash,v=c.vend_ready,p=c.inserted_item_name,N=!s||m.price===0,b="ERROR!",B="";N?(b="FREE",B="arrow-circle-down"):(b=m.price,B="shopping-cart");var I=!v||d===0||!N&&m.price>C&&m.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:m.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Box,{color:d<=0&&"bad"||d<=m.max_amount/2&&"average"||"good",children:[d," in stock"]})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,disabled:I,icon:B,content:b,textAlign:"left",onClick:function(){function L(){return i("vend",{inum:m.inum})}return L}()})})]})},V=r.Vending=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.user,d=c.usermoney,u=c.inserted_cash,s=c.chargesMoney,l=c.product_records,C=l===void 0?[]:l,g=c.hidden_records,v=g===void 0?[]:g,p=c.stock,N=c.vend_ready,b=c.inserted_item_name,B=c.panel_open,I=c.speaker,L=c.imagelist,T;return T=[].concat(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 i("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 i("change")}return A}()})})]}),children:m&&(0,e.createComponentVNode)(2,t.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,m.name,0),", ",(0,e.createVNode)(1,"b",null,m.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[d,(0,e.createTextVNode)(" credits")],0),".",(0,e.createVNode)(1,"br")]})})}),!!B&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"check":"volume-mute",selected:I,content:"Speaker",textAlign:"left",onClick:function(){function A(){return i("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,f,{product:A,productStock:p[A.name],productImage:L[A.path]},A.name)})})})})]})})})}return k}()},68971:function(w,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.VolumeMixer=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(m,d){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:d>0&&"0.5rem",children:m.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function u(){return h("volume",{channel:m.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:m.volume,onChange:function(){function u(s,l){return h("volume",{channel:m.num,volume:l})}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 h("volume",{channel:m.num,volume:100})}return u}()})})})]})})],4,m.num)})})})})}return V}()},2510:function(w,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.VotePanel=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.remaining,m=i.question,d=i.choices,u=i.user_vote,s=i.counts,l=i.show_counts;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:360,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1.5,ml:.5,children:["Time remaining: ",Math.round(c/10),"s"]}),d.map(function(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+(l?" ("+(s[C]||0)+")":""),onClick:function(){function g(){return h("vote",{target:C})}return g}(),selected:C===u})},C)})]})})})}return V}()},30138:function(w,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Wires=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.wires||[],m=i.status||[],d=56+c.length*23+(status?0:15+m.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:d,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(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 h("cut",{wire:u.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function s(){return h("pulse",{wire:u.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:u.attached?"Detach":"Attach",onClick:function(){function s(){return h("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)})})})}),!!m.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:u},u)})})})]})})})}return V}()},21400:function(w,r,n){"use strict";r.__esModule=!0,r.WizardApprenticeContract=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.WizardApprenticeContract=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.used;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:555,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Contract of Apprenticeship",children:["Using this contract, you may summon an apprentice to aid you on your mission.",(0,e.createVNode)(1,"p",null,"If you are unable to establish contact with your apprentice, you can feed the contract back to the spellbook to refund your points.",16),c?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"You've already summoned an apprentice or you are in process of summoning one."}):""]}),(0,e.createComponentVNode)(2,t.Section,{title:"Which school of magic is your apprentice studying?",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fire",children:["Your apprentice is skilled in bending fire. ",(0,e.createVNode)(1,"br"),"They know Fireball, Sacred Flame, and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("fire")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Translocation",children:["Your apprentice is able to defy physics, learning how to move through bluespace. ",(0,e.createVNode)(1,"br"),"They know Teleport, Blink and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("translocation")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Restoration",children:["Your apprentice is dedicated to supporting your magical prowess.",(0,e.createVNode)(1,"br"),"They come equipped with a Staff of Healing, have the unique ability to teleport back to you, and know Charge and Knock.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("restoration")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stealth",children:["Your apprentice is learning the art of infiltrating mundane facilities. ",(0,e.createVNode)(1,"br"),"They know Mindswap, Knock, Homing Toolbox, and Disguise Self, all of which can be cast without robes. They also join you in a Maintenance Dweller disguise, complete with Gloves of Shock Immunity and a Belt of Tools.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("stealth")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Honk",children:["Your apprentice is here to spread the Honkmother's blessings.",(0,e.createVNode)(1,"br"),"They know Banana Touch, Instant Summons, Ethereal Jaunt, and come equipped with a Staff of Slipping."," ",(0,e.createVNode)(1,"br"),"While under your tutelage, they have been 'blessed' with clown shoes that are impossible to remove.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("honk")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})})]})})}return V}()},49148:function(w,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036);function f(h,i){var c=typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(c)return(c=c.call(h)).next.bind(c);if(Array.isArray(h)||(c=V(h))||i&&h&&typeof h.length=="number"){c&&(h=c);var m=0;return function(){return m>=h.length?{done:!0}:{done:!1,value:h[m++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(h,i){if(h){if(typeof h=="string")return k(h,i);var c={}.toString.call(h).slice(8,-1);return c==="Object"&&h.constructor&&(c=h.constructor.name),c==="Map"||c==="Set"?Array.from(h):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?k(h,i):void 0}}function k(h,i){(i==null||i>h.length)&&(i=h.length);for(var c=0,m=Array(i);c0&&!b.includes(D.ref)&&!p.includes(D.ref),checked:p.includes(D.ref),onClick:function(){function W(){return B(D.ref)}return W}()},D.desc)})]})]})})}return h}()},26991:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),f=function(S,y,h,i,c){return Si?"average":S>c?"bad":"good"},V=r.AtmosScan=function(){function k(S,y){var h=S.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(i){return i.val!=="0"||i.entry==="Pressure"||i.entry==="Temperature"})(h).map(function(i){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:i.entry,color:f(i.val,i.bad_low,i.poor_low,i.poor_high,i.bad_high),children:[i.val,i.units]},i.entry)})})})}return k}()},85870:function(w,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(89005),a=n(36036),t=n(15964),o=function(k){return k+" unit"+(k===1?"":"s")},f=r.BeakerContents=function(){function V(k){var S=k.beakerLoaded,y=k.beakerContents,h=y===void 0?[]:y,i=k.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."})||h.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),h.map(function(c,m){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!i&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:i(c,m)})]},c.name)})]})}return V}();f.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},92963:function(w,r,n){"use strict";r.__esModule=!0,r.BotStatus=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.BotStatus=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data,i=h.locked,c=h.noaccess,m=h.maintpanel,d=h.on,u=h.autopatrol,s=h.canhack,l=h.emagged,C=h.remote_disabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",i?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,disabled:c,onClick:function(){function g(){return y("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 y("autopatrol")}return g}()})}),!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:l?"bad":"good",children:l?"DISABLED!":"Enabled"})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:l?"Restore Safties":"Hack",disabled:c,color:"bad",onClick:function(){function g(){return y("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 y("disableremote")}return g}()})})]})})],4)}return f}()},3939:function(w,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(89005),a=n(72253),t=n(36036),o={},f=r.modalOpen=function(){function h(i,c,m){var d=(0,a.useBackend)(i),u=d.act,s=d.data,l=Object.assign(s.modal?s.modal.args:{},m||{});u("modal_open",{id:c,arguments:JSON.stringify(l)})}return h}(),V=r.modalRegisterBodyOverride=function(){function h(i,c){o[i]=c}return h}(),k=r.modalAnswer=function(){function h(i,c,m,d){var u=(0,a.useBackend)(i),s=u.act,l=u.data;if(l.modal){var C=Object.assign(l.modal.args||{},d||{});s("modal_answer",{id:c,answer:m,arguments:JSON.stringify(C)})}}return h}(),S=r.modalClose=function(){function h(i,c){var m=(0,a.useBackend)(i),d=m.act;d("modal_close",{id:c})}return h}(),y=r.ComplexModal=function(){function h(i,c){var m=(0,a.useBackend)(c),d=m.data;if(d.modal){var u=d.modal,s=u.id,l=u.text,C=u.type,g,v=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return S(c)}return L}()}),p,N,b="auto";if(o[s])p=o[s](d.modal,c);else if(C==="input"){var B=d.modal.value;g=function(){function L(T){return k(c,s,B)}return L}(),p=(0,e.createComponentVNode)(2,t.Input,{value:d.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(T,A){B=A}return L}()}),N=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function L(){return S(c)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return k(c,s,B)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(C==="choice"){var I=typeof d.modal.choices=="object"?Object.values(d.modal.choices):d.modal.choices;p=(0,e.createComponentVNode)(2,t.Dropdown,{options:I,selected:d.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(T){return k(c,s,T)}return L}()}),b="initial"}else C==="bento"?p=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:d.modal.choices.map(function(L,T){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:T+1===parseInt(d.modal.value,10),onClick:function(){function A(){return k(c,s,T+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},T)})}):C==="boolean"&&(N=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:d.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return k(c,s,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:d.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return k(c,s,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:i.maxWidth||window.innerWidth/2+"px",maxHeight:i.maxHeight||window.innerHeight/2+"px",onEnter:g,mx:"auto",overflowY:b,"padding-bottom":"5px",children:[l&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:l}),o[s]&&v,p,N]})}}return h}()},41874:function(w,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(25328),f=n(76910),V=f.COLORS.department,k=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],S=function(m){return k.indexOf(m)!==-1?"green":"orange"},y=function(m){if(k.indexOf(m)!==-1)return!0},h=function(m){return m.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),m.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{color:S(d.rank),bold:y(d.rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.active})]},d.name+d.rank)})]})},i=r.CrewManifest=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,l;if(m.data)l=m.data;else{var C=(0,a.useBackend)(d),g=C.data;l=g}var v=l,p=v.manifest,N=p.heads,b=p.sec,B=p.eng,I=p.med,L=p.sci,T=p.ser,A=p.sup,x=p.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:h(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:h(b)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:h(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:h(I)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:h(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:h(T)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:h(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:h(x)})]})}return c}()},19203:function(w,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(89005),a=n(36036),t=n(72253),o=r.InputButtons=function(){function f(V,k){var S=(0,t.useBackend)(k),y=S.act,h=S.data,i=h.large_buttons,c=h.swapped_buttons,m=V.input,d=V.message,u=V.disabled,s=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!i,fluid:!!i,onClick:function(){function C(){return y("submit",{entry:m})}return C}(),textAlign:"center",tooltip:i&&d,disabled:u,width:!i&&6}),l=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!i,fluid:!!i,onClick:function(){function C(){return y("cancel")}return C}(),textAlign:"center",width:!i&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[i?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:l}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:l}),!i&&d&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:d})}),i?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:s}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:s})]})}return f}()},195:function(w,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.InterfaceLockNoticeBox=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data,i=V.siliconUser,c=i===void 0?h.siliconUser:i,m=V.locked,d=m===void 0?h.locked:m,u=V.normallyLocked,s=u===void 0?h.normallyLocked:u,l=V.onLockStatusChange,C=l===void 0?function(){return y("lock")}:l,g=V.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 p(){C&&C(!d)}return p}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",v," to ",d?"unlock":"lock"," this interface."]})}return f}()},51057:function(w,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(89005),a=n(44879),t=n(36036),o=r.Loader=function(){function f(V){var k=V.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(k)*100+"%"}}),2)}return f}()},321:function(w,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginInfo=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data,i=h.loginState;if(h)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",i.name," (",i.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!i.id,content:"Eject ID",color:"good",onClick:function(){function c(){return y("login_eject")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return y("login_logout")}return c}()})]})]})})}return f}()},5485:function(w,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginScreen=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data,i=h.loginState,c=h.isAI,m=h.isRobot,d=h.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:i.id?i.id:"----------",ml:"0.5rem",onClick:function(){function u(){return y("login_insert")}return u}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!i.id,content:"Login",onClick:function(){function u(){return y("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 y("login_login",{login_type:2})}return u}()}),!!m&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function u(){return y("login_login",{login_type:3})}return u}()}),!!d&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function u(){return y("login_login",{login_type:4})}return u}()})]})})})}return f}()},62411:function(w,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(89005),a=n(36036),t=n(15964),o=r.Operating=function(){function f(V){var k=V.operating,S=V.name;if(k)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",S," is processing..."]})})})}return f}();o.propTypes={operating:t.bool,name:t.string}},13545:function(w,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=r.Signaler=function(){function V(k,S){var y=(0,t.useBackend)(S),h=y.act,i=k.data,c=i.code,m=i.frequency,d=i.minFrequency,u=i.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:d/10,maxValue:u/10,value:m/10,format:function(){function s(l){return(0,a.toFixed)(l,1)}return s}(),width:"80px",onDrag:function(){function s(l,C){return h("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(l,C){return h("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 h("signal")}return s}()})]})}return V}()},41984:function(w,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(89005),a=n(72253),t=n(25328),o=n(64795),f=n(88510),V=n(36036),k=r.SimpleRecords=function(){function h(i,c){var m=i.data.records;return(0,e.createComponentVNode)(2,V.Box,{children:m?(0,e.createComponentVNode)(2,y,{data:i.data,recordType:i.recordType}):(0,e.createComponentVNode)(2,S,{data:i.data})})}return h}(),S=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=i.data.recordsList,s=(0,a.useLocalState)(c,"searchText",""),l=s[0],C=s[1],g=function(N,b){b===void 0&&(b="");var B=(0,t.createSearch)(b,function(I){return I.Name});return(0,o.flow)([(0,f.filter)(function(I){return I==null?void 0:I.Name}),b&&(0,f.filter)(B),(0,f.sortBy)(function(I){return I.Name})])(u)},v=g(u,l);return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function p(N,b){return C(b)}return p}()}),v.map(function(p){return(0,e.createComponentVNode)(2,V.Box,{children:(0,e.createComponentVNode)(2,V.Button,{mb:.5,content:p.Name,icon:"user",onClick:function(){function N(){return d("Records",{target:p.uid})}return N}()})},p)})]})},y=function(i,c){var m=(0,a.useBackend)(c),d=m.act,u=i.data.records,s=u.general,l=u.medical,C=u.security,g;switch(i.recordType){case"MED":g=(0,e.createComponentVNode)(2,V.Section,{level:2,title:"Medical Data",children:l?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Blood Type",children:l.blood_type}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Minor Disabilities",children:l.mi_dis}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:l.mi_dis_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Major Disabilities",children:l.ma_dis}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:l.ma_dis_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Allergies",children:l.alg}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:l.alg_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Current Diseases",children:l.cdi}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:l.cdi_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:l.notes})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":g=(0,e.createComponentVNode)(2,V.Section,{level:2,title:"Security Data",children:C?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Criminal Status",children:C.criminal}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Minor Crimes",children:C.mi_crim}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:C.mi_crim_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Major Crimes",children:C.ma_crim}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:C.ma_crim_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:C.notes})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createComponentVNode)(2,V.Section,{title:"General Data",children:s?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Name",children:s.name}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:s.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:s.species}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:s.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:s.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"General record lost!"})}),g]})}},22091:function(w,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.TemporaryNotice=function(){function f(V,k){var S,y=(0,a.useBackend)(k),h=y.act,i=y.data,c=i.temp;if(c){var m=(S={},S[c.style]=!0,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},m,{children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:c.text}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",onClick:function(){function d(){return h("cleartemp")}return d}()})})]})})))}}return f}()},80818:function(w,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pai_atmosphere=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:h.app_data})}return f}()},23903:function(w,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_bioscan=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data,i=h.app_data,c=i.holder,m=i.dead,d=i.health,u=i.brute,s=i.oxy,l=i.tox,C=i.burn,g=i.temp;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:m?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:d/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l})}),(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 f}()},64988:function(w,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_directives=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data,i=h.app_data,c=i.master,m=i.dna,d=i.prime,u=i.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+m+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function s(){return y("getdna")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children: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 f}()},13813:function(w,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_doorjack=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data,i=h.app_data,c=i.cable,m=i.machine,d=i.inprogress,u=i.progress,s=i.aborted,l;m?l=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):l=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function g(){return y("cable")}return g}()});var C;return m&&(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}),d?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function g(){return y("cancel")}return g}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function g(){return y("jack")}return g}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:l}),C]})}return f}()},66025:function(w,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_main_menu=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data,i=h.app_data,c=i.available_software,m=i.installed_software,d=i.installed_toggles,u=i.available_ram,s=i.emotions,l=i.current_emotion,C=i.speech_verbs,g=i.current_speech_verb,v=i.available_chassises,p=i.current_chassis,N=[];return m.map(function(b){return N[b.key]=b.name}),d.map(function(b){return N[b.key]=b.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(b){return!N[b.key]}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name+" ("+b.cost+")",icon:b.icon,disabled:b.cost>u,onClick:function(){function B(){return y("purchaseSoftware",{key:b.key})}return B}()},b.key)}),c.filter(function(b){return!N[b.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[m.filter(function(b){return b.key!=="mainmenu"}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,onClick:function(){function B(){return y("startSoftware",{software_key:b.key})}return B}()},b.key)}),m.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[d.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,selected:b.active,onClick:function(){function B(){return y("setToggle",{toggle_key:b.key})}return B}()},b.key)}),d.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:s.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,selected:b.id===l,onClick:function(){function B(){return y("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 y("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===p,onClick:function(){function B(){return y("setChassis",{chassis_to_change:b.icon})}return B}()},b.id)})})]})})}return f}()},2983:function(w,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pai_manifest=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:h.app_data})}return f}()},40758:function(w,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_medrecords=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:y.app_data,recordType:"MED"})}return f}()},98599:function(w,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(89005),a=n(72253),t=n(77595),o=r.pai_messenger=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data,i=h.app_data.active_convo;return i?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:h.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:h.app_data})}return f}()},50775:function(w,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(89005),a=n(72253),t=n(44879),o=n(36036),f=r.pai_radio=function(){function V(k,S){var y=(0,a.useBackend)(S),h=y.act,i=y.data,c=i.app_data,m=c.minFrequency,d=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:m/10,maxValue:d/10,value:u/10,format:function(){function l(C){return(0,t.toFixed)(C,1)}return l}(),onChange:function(){function l(C,g){return h("freq",{freq:g})}return l}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function l(){return h("freq",{freq:"145.9"})}return l}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return h("toggleBroadcast")}return l}(),selected:s,content:s?"Enabled":"Disabled"})})]})}return V}()},48623:function(w,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_secrecords=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:y.app_data,recordType:"SEC"})}return f}()},47297:function(w,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pai_signaler=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:h.app_data})}return f}()},78532:function(w,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pda_atmos_scan=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:y})}return f}()},40253:function(w,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_janitor=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data,i=h.janitor,c=i.user_loc,m=i.mops,d=i.buckets,u=i.cleanbots,s=i.carts,l=i.janicarts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:m.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - ",C.status]},C)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:d.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)})}),l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janicart Locations",children:l.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.direction_from_user,")"]},C)})})]})}return f}()},58293:function(w,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=r.pda_main_menu=function(){function V(k,S){var y=(0,t.useBackend)(S),h=y.act,i=y.data,c=i.owner,m=i.ownjob,d=i.idInserted,u=i.categories,s=i.pai,l=i.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",m]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!d,onClick:function(){function C(){return h("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=i.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 l?v.notify_icon:v.icon,iconSpin:v.uid in l,color:v.uid in l?"red":"transparent",content:v.name,onClick:function(){function p(){return h("StartProgram",{program:v.uid})}return p}()},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 h("pai",{option:1})}return C}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function C(){return h("pai",{option:2})}return C}()})]})})]})}return V}()},58059:function(w,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pda_manifest=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return f}()},18147:function(w,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_medical=function(){function f(V,k){var S=(0,a.useBackend)(k),y=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:y,recordType:"MED"})}return f}()},77595:function(w,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),f=r.pda_messenger=function(){function y(h,i){var c=(0,t.useBackend)(i),m=c.act,d=c.data,u=d.active_convo;return u?(0,e.createComponentVNode)(2,V,{data:d}):(0,e.createComponentVNode)(2,k,{data:d})}return y}(),V=r.ActiveConversation=function(){function y(h,i){var c=(0,t.useBackend)(i),m=c.act,d=h.data,u=d.convo_name,s=d.convo_job,l=d.messages,C=d.active_convo,g=(0,t.useLocalState)(i,"clipboardMode",!1),v=g[0],p=g[1],N=(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 p(!v)}return b}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function b(){return m("Message",{target:C})}return b}(),content:"Reply"})],4),children:(0,a.filter)(function(b){return b.target===C})(l).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&&(N=(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 p(!v)}return b}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function b(){return m("Message",{target:C})}return b}(),content:"Reply"})],4),children:(0,a.filter)(function(b){return b.target===C})(l).map(function(b,B){return(0,e.createComponentVNode)(2,o.Box,{color:b.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[b.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:b.message})]},B)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function b(){return m("Clear",{option:"Convo"})}return b}()})})})}),N]})}return y}(),k=r.MessengerList=function(){function y(h,i){var c=(0,t.useBackend)(i),m=c.act,d=h.data,u=d.convopdas,s=d.pdas,l=d.charges,C=d.silent,g=d.toff,v=d.ringtone_list,p=d.ringtone,N=(0,t.useLocalState)(i,"searchTerm",""),b=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!C,icon:C?"volume-mute":"volume-up",onClick:function(){function I(){return m("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 m("Toggle Messenger")}return I}(),children:["Messenger: ",g?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function I(){return m("Clear",{option:"All"})}return I}(),children:"Delete All Conversations"}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function I(){return m("Ringtone")}return I}(),children:"Set Custom Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:p,width:"100px",options:Object.keys(v),onSelected:function(){function I(L){return m("Available_Ringtones",{selected_ringtone:L})}return I}()})})]})}),!g&&(0,e.createComponentVNode)(2,o.Box,{children:[!!l&&(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:[l," 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(L,T){B(T)}return I}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,S,{title:"Current Conversations",data:d,pdas:u,msgAct:"Select Conversation",searchTerm:b}),(0,e.createComponentVNode)(2,S,{title:"Other PDAs",pdas:s,msgAct:"Message",data:d,searchTerm:b})]})}return y}(),S=function(h,i){var c=(0,t.useBackend)(i),m=c.act,d=h.data,u=h.pdas,s=h.title,l=h.msgAct,C=h.searchTerm,g=d.charges,v=d.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(p){return p.Name.toLowerCase().includes(C.toLowerCase())}).map(function(p){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:p.Name,onClick:function(){function N(){return m(l,{target:p.uid})}return N}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!g&&v.map(function(N){return(0,e.createComponentVNode)(2,o.Button,{icon:N.icon,content:N.name,onClick:function(){function b(){return m("Messenger Plugin",{plugin:N.uid,target:p.uid})}return b}()},N.uid)})})]},p.uid)})})}},24635:function(w,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_mule=function(){function k(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.mulebot,d=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:d?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,f)})}return k}(),f=function(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.mulebot,d=m.bots;return d.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 i("control",{bot:u.uid})}return s}()})},u.Name)})},V=function(S,y){var h=(0,a.useBackend)(y),i=h.act,c=h.data,m=c.mulebot,d=m.botstatus,u=m.active,s=d.mode,l=d.loca,C=d.load,g=d.powr,v=d.dest,p=d.home,N=d.retn,b=d.pick,B;switch(s){case 0:B="Ready";break;case 1:B="Loading/Unloading";break;case 2:case 12:B="Navigating to delivery location";break;case 3:B="Navigating to Home";break;case 4:B="Waiting for clear path";break;case 5:case 6:B="Calculating navigation path";break;case 7:B="Unable to locate destination";break;default:B=s;break}return(0,e.createComponentVNode)(2,t.Section,{title: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:l}),(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:p}),(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 i("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 i("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 i("set_pickup_type",{autopick:b?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Yes":"No",selected:N,onClick:function(){function I(){return i("set_auto_return",{autoret:N?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function I(){return i("stop")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function I(){return i("start")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function I(){return i("home")}return I}()})]})]})]})}},23734:function(w,r,n){"use strict";r.__esModule=!0,r.pda_nanobank=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=r.pda_nanobank=function(){function d(u,s){var l=(0,t.useBackend)(s),C=l.act,g=l.data,v=g.logged_in,p=g.owner_name,N=g.money;return v?(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:p}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:["$",N]})]})}),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k)]})],4):(0,e.createComponentVNode)(2,i)}return d}(),V=function(u,s){var l=(0,t.useBackend)(s),C=l.data,g=C.is_premium,v=(0,t.useLocalState)(s,"tabIndex",1),p=v[0],N=v[1];return(0,e.createComponentVNode)(2,o.Tabs,{mt:2,children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===1,onClick:function(){function b(){return N(1)}return b}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transfers"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===2,onClick:function(){function b(){return N(2)}return b}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Account Actions"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===3,onClick:function(){function b(){return N(3)}return b}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transaction History"]}),!!g&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===4,onClick:function(){function b(){return N(4)}return b}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Supply Orders"]})]})},k=function(u,s){var l=(0,t.useLocalState)(s,"tabIndex",1),C=l[0],g=(0,t.useBackend)(s),v=g.data,p=v.db_status;if(!p)return(0,e.createComponentVNode)(2,o.Box,{children:"Account Database Connection Severed"});switch(C){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,y);case 3:return(0,e.createComponentVNode)(2,h);case 4:return(0,e.createComponentVNode)(2,m);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},S=function(u,s){var l,C=(0,t.useBackend)(s),g=C.act,v=C.data,p=v.requests,N=v.available_accounts,b=v.money,B=(0,t.useLocalState)(s,"selectedAccount"),I=B[0],L=B[1],T=(0,t.useLocalState)(s,"transferAmount"),A=T[0],x=T[1],E=(0,t.useLocalState)(s,"searchText",""),P=E[0],j=E[1],O=[];return N.map(function(R){return O[R.name]=R.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 R(D,W){return j(W)}return R}()}),(0,e.createComponentVNode)(2,o.Dropdown,{mt:.6,width:"190px",options:N.filter((0,a.createSearch)(P,function(R){return R.name})).map(function(R){return R.name}),selected:(l=N.filter(function(R){return R.UID===I})[0])==null?void 0:l.name,onSelected:function(){function R(D){return L(O[D])}return R}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Amount",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Up to 5000",onInput:function(){function R(D,W){return x(W)}return R}()})}),(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:b0&&l.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 f}()},17617:function(w,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(24826),f=["className","theme","children"],V=["className","scrollable","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function k(h,i){if(h==null)return{};var c={};for(var m in h)if({}.hasOwnProperty.call(h,m)){if(i.includes(m))continue;c[m]=h[m]}return c}var S=r.Layout=function(){function h(i){var c=i.className,m=i.theme,d=m===void 0?"nanotrasen":m,u=i.children,s=k(i,f);return(0,e.createVNode)(1,"div","theme-"+d,(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 h}(),b=function(i){var c=i.className,m=i.scrollable,d=i.children,u=k(i,V);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout__content",m&&"Layout__content--scrollable",c,(0,t.computeBoxClassName)(u)]),d,0,Object.assign({},(0,t.computeBoxProps)(u))))};b.defaultHooks={onComponentDidMount:function(){function h(i){return(0,o.addScrollableNode)(i)}return h}(),onComponentWillUnmount:function(){function h(i){return(0,o.removeScrollableNode)(i)}return h}()},S.Content=b},96945:function(w,r,n){"use strict";r.__esModule=!0,r.Pane=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(99851),V=n(17617),k=["theme","children","className"],S=["className","fitted","children"];/** + */function k(h,i){if(h==null)return{};var c={};for(var m in h)if({}.hasOwnProperty.call(h,m)){if(i.includes(m))continue;c[m]=h[m]}return c}var S=r.Layout=function(){function h(i){var c=i.className,m=i.theme,d=m===void 0?"nanotrasen":m,u=i.children,s=k(i,f);return(0,e.createVNode)(1,"div","theme-"+d,(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 h}(),y=function(i){var c=i.className,m=i.scrollable,d=i.children,u=k(i,V);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout__content",m&&"Layout__content--scrollable",c,(0,t.computeBoxClassName)(u)]),d,0,Object.assign({},(0,t.computeBoxProps)(u))))};y.defaultHooks={onComponentDidMount:function(){function h(i){return(0,o.addScrollableNode)(i)}return h}(),onComponentWillUnmount:function(){function h(i){return(0,o.removeScrollableNode)(i)}return h}()},S.Content=y},96945:function(w,r,n){"use strict";r.__esModule=!0,r.Pane=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(99851),V=n(17617),k=["theme","children","className"],S=["className","fitted","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function b(c,m){if(c==null)return{};var d={};for(var u in c)if({}.hasOwnProperty.call(c,u)){if(m.includes(u))continue;d[u]=c[u]}return d}var h=r.Pane=function(){function c(m,d){var u=m.theme,s=m.children,l=m.className,C=b(m,k),g=(0,t.useBackend)(d),v=g.suspended,p=(0,f.useDebug)(d),N=p.debugLayout;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,V.Layout,Object.assign({className:(0,a.classes)(["Window",l]),theme:u},C,{children:(0,e.createComponentVNode)(2,o.Box,{fillPositionedParent:!0,className:N&&"debug-layout",children:!v&&s})})))}return c}(),i=function(m){var d=m.className,u=m.fitted,s=m.children,l=b(m,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,V.Layout.Content,Object.assign({className:(0,a.classes)(["Window__content",d])},l,{children:u&&s||(0,e.createVNode)(1,"div","Window__contentPadding",s,0)})))};h.Content=i},34827:function(w,r,n){"use strict";r.__esModule=!0,r.Window=void 0;var e=n(89005),a=n(35840),t=n(85307),o=n(25328),f=n(72253),V=n(36036),k=n(76910),S=n(99851),b=n(77384),h=n(35421),i=n(9394),c=n(17617),m=["className","fitted","children"];function d(y,B){if(y==null)return{};var I={};for(var L in y)if({}.hasOwnProperty.call(y,L)){if(B.includes(L))continue;I[L]=y[L]}return I}function u(y,B){y.prototype=Object.create(B.prototype),y.prototype.constructor=y,s(y,B)}function s(y,B){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(I,L){return I.__proto__=L,I},s(y,B)}/** + */function y(c,m){if(c==null)return{};var d={};for(var u in c)if({}.hasOwnProperty.call(c,u)){if(m.includes(u))continue;d[u]=c[u]}return d}var h=r.Pane=function(){function c(m,d){var u=m.theme,s=m.children,l=m.className,C=y(m,k),g=(0,t.useBackend)(d),v=g.suspended,p=(0,f.useDebug)(d),N=p.debugLayout;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,V.Layout,Object.assign({className:(0,a.classes)(["Window",l]),theme:u},C,{children:(0,e.createComponentVNode)(2,o.Box,{fillPositionedParent:!0,className:N&&"debug-layout",children:!v&&s})})))}return c}(),i=function(m){var d=m.className,u=m.fitted,s=m.children,l=y(m,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,V.Layout.Content,Object.assign({className:(0,a.classes)(["Window__content",d])},l,{children:u&&s||(0,e.createVNode)(1,"div","Window__contentPadding",s,0)})))};h.Content=i},34827:function(w,r,n){"use strict";r.__esModule=!0,r.Window=void 0;var e=n(89005),a=n(35840),t=n(85307),o=n(25328),f=n(72253),V=n(36036),k=n(76910),S=n(99851),y=n(77384),h=n(35421),i=n(9394),c=n(17617),m=["className","fitted","children"];function d(b,B){if(b==null)return{};var I={};for(var L in b)if({}.hasOwnProperty.call(b,L)){if(B.includes(L))continue;I[L]=b[L]}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(I,L){return I.__proto__=L,I},s(b,B)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var l=(0,i.createLogger)("Window"),C=[400,600],g=r.Window=function(y){function B(){return y.apply(this,arguments)||this}u(B,y);var I=B.prototype;return I.componentDidMount=function(){function L(){var T=(0,f.useBackend)(this.context),A=T.suspended;A||(l.log("mounting"),this.updateGeometry())}return L}(),I.componentDidUpdate=function(){function L(T){var A=this.props.width!==T.width||this.props.height!==T.height;A&&this.updateGeometry()}return L}(),I.updateGeometry=function(){function L(){var T,A=(0,f.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,h.setWindowKey)(x.window.key),(0,h.recallWindowGeometry)(E)}return L}(),I.render=function(){function L(){var T,A=this.props,x=A.theme,E=A.title,M=A.children,j=(0,f.useBackend)(this.context),O=j.config,R=j.suspended,D=(0,S.useDebug)(this.context),W=D.debugLayout,U=(0,t.useDispatch)(this.context),H=(T=O.window)==null?void 0:T.fancy,K=O.user&&(O.user.observer?O.status2?m-2:0),u=2;u=o){var s=[c].concat(d).map(function(l){return typeof l=="string"?l:l instanceof Error?l.stack||String(l):JSON.stringify(l)}).filter(function(l){return l}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",message:s})}},S=r.createLogger=function(){function h(i){return{debug:function(){function c(){for(var m=arguments.length,d=new Array(m),u=0;u2?m-2:0),u=2;u=o){var s=[c].concat(d).map(function(l){return typeof l=="string"?l:l instanceof Error?l.stack||String(l):JSON.stringify(l)}).filter(function(l){return l}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",message:s})}},S=r.createLogger=function(){function h(i){return{debug:function(){function c(){for(var m=arguments.length,d=new Array(m),u=0;u0;){var p=g.shift(),N=p(C);try{v=V(N)}catch(B){if(B.code!=="MODULE_NOT_FOUND")throw B}}if(!v)return k("notFound",C);var y=v[C];return y||k("missingExport",C)}return i}()},72178:function(w,r,n){"use strict";r.__esModule=!0,r.configureStore=r.StoreProvider=void 0;var e=n(64795),a=n(85307),t=n(89005),o=n(79140),f=n(72253),V=n(99851),k=n(9394);function S(u,s){u.prototype=Object.create(s.prototype),u.prototype.constructor=u,b(u,s)}function b(u,s){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,C){return l.__proto__=C,l},b(u,s)}/** + */var V=n(32054),k=function(c,m){return function(){return(0,e.createComponentVNode)(2,f.Window,{children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[c==="notFound"&&(0,e.createVNode)(1,"div",null,[(0,e.createTextVNode)("Interface "),(0,e.createVNode)(1,"b",null,m,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,m,0),(0,e.createTextVNode)(" is missing an export.")],4)]})})}},S=function(){return(0,e.createComponentVNode)(2,f.Window,{children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0})})},y=function(){return(0,e.createComponentVNode)(2,f.Window,{height:130,title:"Loading",width:150,children:(0,e.createComponentVNode)(2,f.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..."})]})})})},h=r.getRoutedComponent=function(){function i(c){var m=c.getState(),d=(0,a.selectBackend)(m),u=d.suspended,s=d.config;if(u)return S;if(s.refreshing)return y;if(0)var l;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 p=g.shift(),N=p(C);try{v=V(N)}catch(B){if(B.code!=="MODULE_NOT_FOUND")throw B}}if(!v)return k("notFound",C);var b=v[C];return b||k("missingExport",C)}return i}()},72178:function(w,r,n){"use strict";r.__esModule=!0,r.configureStore=r.StoreProvider=void 0;var e=n(64795),a=n(85307),t=n(89005),o=n(79140),f=n(72253),V=n(99851),k=n(9394);function S(u,s){u.prototype=Object.create(s.prototype),u.prototype.constructor=u,y(u,s)}function y(u,s){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,C){return l.__proto__=C,l},y(u,s)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var h=(0,k.createLogger)("store"),i=r.configureStore=function(){function u(s){var l,C;s===void 0&&(s={});var g=s,v=g.sideEffects,p=v===void 0?!0:v,N=(0,e.flow)([(0,a.combineReducers)({debug:V.debugReducer,backend:f.backendReducer}),s.reducer]),y=p?[].concat(((l=s.middleware)==null?void 0:l.pre)||[],[o.assetMiddleware,f.backendMiddleware],((C=s.middleware)==null?void 0:C.post)||[]):[],B=a.applyMiddleware.apply(void 0,y),I=(0,a.createStore)(N,B);return window.__store__=I,window.__augmentStack__=m(I),I}return u}(),c=function(s){return function(l){return function(C){var g=C.type,v=C.payload;return g==="update"||g==="backend/update"?h.debug("action",{type:g}):h.debug("action",C),l(C)}}},m=function(s){return function(l,C){var g,v;C?typeof C=="object"&&!C.stack&&(C.stack=l):(C=new Error(l.split("\n")[0]),C.stack=l),h.log("FatalError:",C);var p=s.getState(),N=p==null||(g=p.backend)==null?void 0:g.config,y=l;return y+="\nUser Agent: "+navigator.userAgent,y+="\nState: "+JSON.stringify({ckey:N==null||(v=N.client)==null?void 0:v.ckey,interface:N==null?void 0:N.interface,window:N==null?void 0:N.window}),y}},d=r.StoreProvider=function(u){function s(){return u.apply(this,arguments)||this}S(s,u);var l=s.prototype;return l.getChildContext=function(){function C(){var g=this.props.store;return{store:g}}return C}(),l.render=function(){function C(){return this.props.children}return C}(),s}(t.Component)},51364:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/** +*/var h=(0,k.createLogger)("store"),i=r.configureStore=function(){function u(s){var l,C;s===void 0&&(s={});var g=s,v=g.sideEffects,p=v===void 0?!0:v,N=(0,e.flow)([(0,a.combineReducers)({debug:V.debugReducer,backend:f.backendReducer}),s.reducer]),b=p?[].concat(((l=s.middleware)==null?void 0:l.pre)||[],[o.assetMiddleware,f.backendMiddleware],((C=s.middleware)==null?void 0:C.post)||[]):[],B=a.applyMiddleware.apply(void 0,b),I=(0,a.createStore)(N,B);return window.__store__=I,window.__augmentStack__=m(I),I}return u}(),c=function(s){return function(l){return function(C){var g=C.type,v=C.payload;return g==="update"||g==="backend/update"?h.debug("action",{type:g}):h.debug("action",C),l(C)}}},m=function(s){return function(l,C){var g,v;C?typeof C=="object"&&!C.stack&&(C.stack=l):(C=new Error(l.split("\n")[0]),C.stack=l),h.log("FatalError:",C);var p=s.getState(),N=p==null||(g=p.backend)==null?void 0:g.config,b=l;return b+="\nUser Agent: "+navigator.userAgent,b+="\nState: "+JSON.stringify({ckey:N==null||(v=N.client)==null?void 0:v.ckey,interface:N==null?void 0:N.interface,window:N==null?void 0:N.window}),b}},d=r.StoreProvider=function(u){function s(){return u.apply(this,arguments)||this}S(s,u);var l=s.prototype;return l.getChildContext=function(){function C(){var g=this.props.store;return{store:g}}return C}(),l.render=function(){function C(){return this.props.children}return C}(),s}(t.Component)},51364:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT @@ -282,11 +282,11 @@ * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var t=r.meta={title:"Button",render:function(){function k(){return(0,e.createComponentVNode)(2,V)}return k}()},o=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],f=["good","average","bad","black","white"],V=function(S,b){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:[f.map(function(h){return(0,e.createComponentVNode)(2,a.Button,{color:h,content:h},h)}),(0,e.createVNode)(1,"br"),o.map(function(h){return(0,e.createComponentVNode)(2,a.Button,{color:h,content:h},h)}),(0,e.createVNode)(1,"br"),o.map(function(h){return(0,e.createComponentVNode)(2,a.Box,{inline:!0,mx:"7px",color:h,children:h},h)})]})]})}},51956:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(9394);/** + */var t=r.meta={title:"Button",render:function(){function k(){return(0,e.createComponentVNode)(2,V)}return k}()},o=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],f=["good","average","bad","black","white"],V=function(S,y){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:[f.map(function(h){return(0,e.createComponentVNode)(2,a.Button,{color:h,content:h},h)}),(0,e.createVNode)(1,"br"),o.map(function(h){return(0,e.createComponentVNode)(2,a.Button,{color:h,content:h},h)}),(0,e.createVNode)(1,"br"),o.map(function(h){return(0,e.createComponentVNode)(2,a.Box,{inline:!0,mx:"7px",color:h,children:h},h)})]})]})}},51956:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(9394);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var f=r.meta={title:"ByondUi",render:function(){function k(){return(0,e.createComponentVNode)(2,V)}return k}()},V=function(S,b){var h=(0,a.useLocalState)(b,"byondUiEvalCode","Byond.winset('"+Byond.windowId+"', {\n 'is-visible': true,\n})"),i=h[0],c=h[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 m(){return setTimeout(function(){try{var d=new Function("return ("+i+")")();d&&d.then?(o.logger.log("Promise"),d.then(o.logger.log)):o.logger.log(d)}catch(u){o.logger.log(u)}})}return m}(),children:"Evaluate"}),children:(0,e.createComponentVNode)(2,t.Box,{as:"textarea",width:"100%",height:"10em",onChange:function(){function m(d){return c(d.target.value)}return m}(),children:i})})],4)}},17466:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=n(37168);/** + */var f=r.meta={title:"ByondUi",render:function(){function k(){return(0,e.createComponentVNode)(2,V)}return k}()},V=function(S,y){var h=(0,a.useLocalState)(y,"byondUiEvalCode","Byond.winset('"+Byond.windowId+"', {\n 'is-visible': true,\n})"),i=h[0],c=h[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 m(){return setTimeout(function(){try{var d=new Function("return ("+i+")")();d&&d.then?(o.logger.log("Promise"),d.then(o.logger.log)):o.logger.log(d)}catch(u){o.logger.log(u)}})}return m}(),children:"Evaluate"}),children:(0,e.createComponentVNode)(2,t.Box,{as:"textarea",width:"100%",height:"10em",onChange:function(){function m(d){return c(d.target.value)}return m}(),children:i})})],4)}},17466:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=n(37168);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT @@ -294,35 +294,35 @@ * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Flex & Sections",render:function(){function V(){return(0,e.createComponentVNode)(2,f)}return V}()},f=function(k,S){var b=(0,a.useLocalState)(S,"fs_grow",1),h=b[0],i=b[1],c=(0,a.useLocalState)(S,"fs_direction","column"),m=c[0],d=c[1],u=(0,a.useLocalState)(S,"fs_fill",!0),s=u[0],l=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 p(){return d(m==="column"?"row":"column")}return p}(),children:'Flex direction="'+m+'"'}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function p(){return i(+!h)}return p}(),children:"Flex.Item grow={"+h+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function p(){return l(!s)}return p}(),children:"Section fill={"+String(s)+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,selected:g,onClick:function(){function p(){return v(!g)}return p}(),children:"Section title"})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:m,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mr:m==="row"&&1,mb:m==="column"&&1,grow:h,children:(0,e.createComponentVNode)(2,t.Section,{title:g&&"Section 1",fill:s,children:"Content"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:h,children:(0,e.createComponentVNode)(2,t.Section,{title:g&&"Section 2",fill:s,children:"Content"})})]})})]})}},48779:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** + */var o=r.meta={title:"Flex & Sections",render:function(){function V(){return(0,e.createComponentVNode)(2,f)}return V}()},f=function(k,S){var y=(0,a.useLocalState)(S,"fs_grow",1),h=y[0],i=y[1],c=(0,a.useLocalState)(S,"fs_direction","column"),m=c[0],d=c[1],u=(0,a.useLocalState)(S,"fs_fill",!0),s=u[0],l=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 p(){return d(m==="column"?"row":"column")}return p}(),children:'Flex direction="'+m+'"'}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function p(){return i(+!h)}return p}(),children:"Flex.Item grow={"+h+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function p(){return l(!s)}return p}(),children:"Section fill={"+String(s)+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,selected:g,onClick:function(){function p(){return v(!g)}return p}(),children:"Section title"})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:m,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mr:m==="row"&&1,mb:m==="column"&&1,grow:h,children:(0,e.createComponentVNode)(2,t.Section,{title:g&&"Section 1",fill:s,children:"Content"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:h,children:(0,e.createComponentVNode)(2,t.Section,{title:g&&"Section 2",fill:s,children:"Content"})})]})})]})}},48779:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** * @file * @copyright 2024 Aylong (https://github.com/AyIong) * @license MIT - */var o=r.meta={title:"ImageButton",render:function(){function S(){return(0,e.createComponentVNode)(2,k)}return S}()},f=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","gold"],V=["good","average","bad","black","white"],k=function(b,h){var i=(0,a.useLocalState)(h,"disabled",!1),c=i[0],m=i[1],d=(0,a.useLocalState)(h,"onClick",!0),u=d[0],s=d[1],l=(0,a.useLocalState)(h,"vertical1",!0),C=l[0],g=l[1],v=(0,a.useLocalState)(h,"vertical2",!0),p=v[0],N=v[1],y=(0,a.useLocalState)(h,"vertical3",!1),B=y[0],I=y[1],L=(0,a.useLocalState)(h,"title","Image Button"),T=L[0],A=L[1],x=(0,a.useLocalState)(h,"content","Image is a LIE!"),E=x[0],M=x[1],j=(0,a.useLocalState)(h,"itemContent","Second Button"),O=j[0],R=j[1],D=(0,a.useLocalState)(h,"itemIcon","face-smile"),W=D[0],U=D[1],H=(0,a.useLocalState)(h,"itemIconPos","default"),K=H[0],G=H[1],Y=(0,a.useLocalState)(h,"itemIconSize",2),J=Y[0],Z=Y[1],le=(0,a.useLocalState)(h,"imageSize",64),ne=le[0],me=le[1],he=function(){g(!C)},ye=function(){N(!p)},te=function(){I(!B)},Q=function(){m(!c)},oe=function(){s(!u)};return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"50%",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Input,{value:T,onInput:function(){function fe(ie,ue){return A(ue)}return fe}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Content",children:(0,e.createComponentVNode)(2,t.Input,{value:E,onInput:function(){function fe(ie,ue){return M(ue)}return fe}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Image Size",children:(0,e.createComponentVNode)(2,t.Slider,{animated:!0,width:10,value:ne,minValue:0,maxValue:256,step:1,stepPixelSize:2,onChange:function(){function fe(ie,ue){return me(ue)}return fe}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"onClick",checked:u,onClick:oe})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Vertical",checked:B,onClick:te})})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item Content",children:(0,e.createComponentVNode)(2,t.Input,{value:O,onInput:function(){function fe(ie,ue){return R(ue)}return fe}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item Icon",children:(0,e.createComponentVNode)(2,t.Input,{value:W,onInput:function(){function fe(ie,ue){return U(ue)}return fe}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item IconPos",children:(0,e.createComponentVNode)(2,t.Input,{value:K,onInput:function(){function fe(ie,ue){return G(ue)}return fe}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item IconSize",children:(0,e.createComponentVNode)(2,t.Slider,{animated:!0,width:10,value:J,minValue:0,maxValue:20,step:1,stepPixelSize:10,onChange:function(){function fe(ie,ue){return Z(ue)}return fe}()})})]})})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.ImageButton,{width:B&&ne+"px",ellipsis:B,vertical:B,disabled:c,title:T,content:E,tooltip:B?E:"Cool and simple buttons with images, FOR ALL!!!",image:"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAGo0lEQVRYhe3Xa2xT9xnH8e+5+O4ktuM4cS5OYmhCQ1xcYMCgA9rSbKUqqqpWkzq1mgBtq/piaqna7UXXaTfWddL6opO2dlu1aSBVjJZC19FByyUadKGCJIYQAoHEODi2k/hyTnw/x3uxwZpBtq6qhib1efU/5/9/9Hz0O0c6OsLhw4e5mSXe1On/94BAIFAJBAKV/zkgEAhU7HZ7JRQKCaFQSLDb7Z8Y8l8BPjpYVVXh6n1VVT8xRAbY953HP1bTvn8u/9P56/arHNp1h9Y/9YogX73wBW0fx/CpVXIsA/wjgav1pW//mVdPRYhlp6gxWzAYTCRnM0zPKsRnpjBK4JEqqIUi/fEppKxCRReQLFbEikYmOk5ONNPc0s4v1nXgKChEJmNY7dUs+fwXqPfdSjan8Ktv3XVt5hxAR4OT5zcIjGW6ODGd57IyQ53bhVkSMcsSt1RZiOUKSAIsqjFhl+C5gYvMFnK4JXhLLbDZZaVqzyv8YOsLxFIq0XQRE7Ckw8s3n9nGfVu2zUliDmAs8i7xK6dZ0LGeZmc3JYMXs1im1iTjNErUmwVqChqiCJVKhd6pNCaTBU0QOJHJstZZg3/H9/n9r/cy8C+RHxiJMrj1aXbaq+cHvLb/PQqaCVf4PZa1DbGx+xGGkkYMlSI1okitDEZdp29qlrNJBYOgs8ZRxZkZHbmxhs6+PezfvZch0YTTAK1OG5GCQDpXRNTLxIo5vvf8D3nwi3UoKel6gLdpBeVyCNnmRbI00GwWsdQKfBDXiaST+KwO+pIlehMKwRoDzRYDI6lZbnFUcb+viZNvjnIuBat91XxlkRMLGgNJHVWuYlfoEoWixMXIJFB34wTW3ebj7VNh4mOjpBNh8q6lVBtcvHV+jCqTjM8qUchm6fFWUW8xUdBheYOZdC7PleQM0XQKswxtdol6jxMdI3fWafTFsnR4HJzQRIp6bv5HcKj/Q6TZGOpUkaFLFXaWDxGR/Wzx2agyGpnI67jlCnqpwIiS4Vw8gaiXyZQ0NFcdjloPljIksOJdvBKbyU54dATrxDBbl/uZeH8Ii2ycHzAy7SCnxrDV1+JpcuNpWsgas4vVzR58Zh2PRcZtcXEwkmbvpTAnx89RbTJTa6/CmSvjDAT5XJeNmhoTSxcvJplIcb5SxohGu9OFLTuDLxicH7CkzcWuPUkeWp6i4ISNdwRpleGiquG3//2lSWtg0FTuaXETrK1iPBbBJJcZ+OMOcm4Jz50rWBBN0N97gOFJBaxGziolTh36K952P9t/9hK9O568NnPOt+Chbo31C3P0nowwdvwgw/0HAfDbJc7PTHMiPMrgxCUS6QksWhTTxCmSR9/AW46TS01xsrefmGTn5cE4v9l/hC5/E2va/bi0PL1Xpui6/8vcvuKO+RMYn6lgb7DiEl3MTIzy/rF9JAUno+EoRitk1RSyJKMW4cLwOS5fGOHSmQEuTMVJjMVZoI3TmUtxFJ0PbF6WZ8sc372bRD7Hhs2Pg6OeJ55+hs75ABdjEsqZMJtuayXU2EnkisLgid9yZKyEu6UVJRpmamoaOREnl81QyitYLLMMj/bTLeTp8YoMpSQCDRWe3f5T3HmRwTf30PrwN7CvfQBRVaG1jcrxQ3MBqSz4gHryDF5O0DddQauWyGdFOhbXcV+TyOi0wqoHHyU1dpHca9/FbpxFafTiWfsoCw0S+tkRXt7xJ9L5cVRFJRrOcPfd62j98U8YW7eF8QujeBs9CNVOTh2fJ4FSEaYLFUq5FNNDKbJ5ndd3HCOXyZDJqjxs97F2Yw/j6RjlQhZbi58el4+Jd3tZ3l6LZ/tLbH3uR1yOnuaFF19kw4JGfh5SWbMwSldjLZl0moKS/DfvQFLjw8FJ1gbbMPi9ZIpl2gs6V2JGXFYfZyejqANnsK37Gka7DVtjIzvfeIeR3+3C9Ng99PRswuNvJXz+NAtaGhiT3Sy9Pcgip5FEtojZYMSiF+YHBILL6L73Ef4yfBa7u4ZJdRpDV5CGWyuUDBYK6SgDb/+BoqkaYzEFx04zc36UTRtWsjLYydDRAyxrdDJkNfHYVzezeGkHq5Z1ELoQRRQE2uocTMyk5wd0tjbz7JNPcKSvD7PZSCqVhoqOQRYp53PIWhmtVMIgCMiCTlnT0Y0PYLRa6E+HiR3YxypJonvb11mxeg1WTUdRs2Rm83S11FERBRRFmR/wy6dWX1t/1Dk3NMhxfc0AuK82H+Od7ffO2T9zg545gMFjszc84LDO0/kplfDZr9lngJsN+Bveb9bpS0UiAAAAAABJRU5ErkJggg==",imageSize:ne+"px",onClick:u?function(){return"false"}:"",children:!B&&(0,e.createComponentVNode)(2,t.ImageButton.Item,{bold:!0,width:"64px",selected:c,content:O,tooltip:"Click to disable main button",tooltipPosition:"bottom-end",icon:W,iconColor:"gold",iconSize:J,iconPosition:K,onClick:Q})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Color States",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{content:"Vertical",checked:C,onClick:he}),children:V.map(function(fe){return(0,e.createComponentVNode)(2,t.ImageButton,{m:C?.5:0,vertical:C,color:fe,content:fe,image:"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAOVBMVEXAwMDBr16vk0uORiz/o7HyfxiZbDXWzMzhbA3//wD////tHCQAAP/4ior/ADOAgIDAwMAAAAAzmQDdkuRxAAAAAXRSTlMAQObYZgAAAKxJREFUOI3dksESgyAMRG0FE4I22P//2IaAVdB0em3Xy477SJYZhuFfdDO1AXdD4xtwRd77o5t6wKt20wPlN2QVewUgQqAAiD0QYxQCJYc5zCAEtisUcBkgmUAZ6ErGWh9oeSwE6k+3yHNACIIPgMzQONsWYOZ90QXAiRK7g2K7gtNKayXKjdoOcv4pX+IcGoBMqIA26TswSU6HmueSpLlRcjK0AaOpL97rb+gFHckLe1QlljQAAAAASUVORK5CYII=",imageSize:C?"48px":"24px",onClick:u?function(){return"false"}:""},fe)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Available Colors",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{content:"Vertical",checked:p,onClick:ye}),children:f.map(function(fe){return(0,e.createComponentVNode)(2,t.ImageButton,{m:p?.5:0,vertical:p,color:fe,content:fe,image:"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAJ1BMVEUAAABeGFCgXZN2PnKqqqq/vr/T09PycWFIHUFeKlNLHEtVWWOOj5g02k6OAAAAAXRSTlMAQObYZgAAAFdJREFUKJFjYBhEgFEQDATgAkImLkDgrIgQME0vSy8LRhYoBwISBdLLy1HNSCsvT0MWwLDWGAwQAp0rZ+3evXLWDGSBM2dQBWYCAUkCHB1g0IAreAYCAACm2zDykxPL4AAAAABJRU5ErkJggg==",imageSize:p?"48px":"24px",onClick:u?function(){return"false"}:""},fe)})})],4)}},21394:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** + */var o=r.meta={title:"ImageButton",render:function(){function S(){return(0,e.createComponentVNode)(2,k)}return S}()},f=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","gold"],V=["good","average","bad","black","white"],k=function(y,h){var i=(0,a.useLocalState)(h,"disabled",!1),c=i[0],m=i[1],d=(0,a.useLocalState)(h,"onClick",!0),u=d[0],s=d[1],l=(0,a.useLocalState)(h,"vertical1",!0),C=l[0],g=l[1],v=(0,a.useLocalState)(h,"vertical2",!0),p=v[0],N=v[1],b=(0,a.useLocalState)(h,"vertical3",!1),B=b[0],I=b[1],L=(0,a.useLocalState)(h,"title","Image Button"),T=L[0],A=L[1],x=(0,a.useLocalState)(h,"content","Image is a LIE!"),E=x[0],P=x[1],j=(0,a.useLocalState)(h,"itemContent","Second Button"),O=j[0],R=j[1],D=(0,a.useLocalState)(h,"itemIcon","face-smile"),W=D[0],U=D[1],z=(0,a.useLocalState)(h,"itemIconPos","default"),K=z[0],$=z[1],Y=(0,a.useLocalState)(h,"itemIconSize",2),J=Y[0],Z=Y[1],le=(0,a.useLocalState)(h,"imageSize",64),ne=le[0],me=le[1],he=function(){g(!C)},ye=function(){N(!p)},te=function(){I(!B)},Q=function(){m(!c)},oe=function(){s(!u)};return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"50%",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Input,{value:T,onInput:function(){function fe(ie,ue){return A(ue)}return fe}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Content",children:(0,e.createComponentVNode)(2,t.Input,{value:E,onInput:function(){function fe(ie,ue){return P(ue)}return fe}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Image Size",children:(0,e.createComponentVNode)(2,t.Slider,{animated:!0,width:10,value:ne,minValue:0,maxValue:256,step:1,stepPixelSize:2,onChange:function(){function fe(ie,ue){return me(ue)}return fe}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"onClick",checked:u,onClick:oe})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Vertical",checked:B,onClick:te})})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item Content",children:(0,e.createComponentVNode)(2,t.Input,{value:O,onInput:function(){function fe(ie,ue){return R(ue)}return fe}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item Icon",children:(0,e.createComponentVNode)(2,t.Input,{value:W,onInput:function(){function fe(ie,ue){return U(ue)}return fe}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item IconPos",children:(0,e.createComponentVNode)(2,t.Input,{value:K,onInput:function(){function fe(ie,ue){return $(ue)}return fe}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item IconSize",children:(0,e.createComponentVNode)(2,t.Slider,{animated:!0,width:10,value:J,minValue:0,maxValue:20,step:1,stepPixelSize:10,onChange:function(){function fe(ie,ue){return Z(ue)}return fe}()})})]})})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.ImageButton,{width:B&&ne+"px",ellipsis:B,vertical:B,disabled:c,title:T,content:E,tooltip:B?E:"Cool and simple buttons with images, FOR ALL!!!",image:"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAGo0lEQVRYhe3Xa2xT9xnH8e+5+O4ktuM4cS5OYmhCQ1xcYMCgA9rSbKUqqqpWkzq1mgBtq/piaqna7UXXaTfWddL6opO2dlu1aSBVjJZC19FByyUadKGCJIYQAoHEODi2k/hyTnw/x3uxwZpBtq6qhib1efU/5/9/9Hz0O0c6OsLhw4e5mSXe1On/94BAIFAJBAKV/zkgEAhU7HZ7JRQKCaFQSLDb7Z8Y8l8BPjpYVVXh6n1VVT8xRAbY953HP1bTvn8u/9P56/arHNp1h9Y/9YogX73wBW0fx/CpVXIsA/wjgav1pW//mVdPRYhlp6gxWzAYTCRnM0zPKsRnpjBK4JEqqIUi/fEppKxCRReQLFbEikYmOk5ONNPc0s4v1nXgKChEJmNY7dUs+fwXqPfdSjan8Ktv3XVt5hxAR4OT5zcIjGW6ODGd57IyQ53bhVkSMcsSt1RZiOUKSAIsqjFhl+C5gYvMFnK4JXhLLbDZZaVqzyv8YOsLxFIq0XQRE7Ckw8s3n9nGfVu2zUliDmAs8i7xK6dZ0LGeZmc3JYMXs1im1iTjNErUmwVqChqiCJVKhd6pNCaTBU0QOJHJstZZg3/H9/n9r/cy8C+RHxiJMrj1aXbaq+cHvLb/PQqaCVf4PZa1DbGx+xGGkkYMlSI1okitDEZdp29qlrNJBYOgs8ZRxZkZHbmxhs6+PezfvZch0YTTAK1OG5GCQDpXRNTLxIo5vvf8D3nwi3UoKel6gLdpBeVyCNnmRbI00GwWsdQKfBDXiaST+KwO+pIlehMKwRoDzRYDI6lZbnFUcb+viZNvjnIuBat91XxlkRMLGgNJHVWuYlfoEoWixMXIJFB34wTW3ebj7VNh4mOjpBNh8q6lVBtcvHV+jCqTjM8qUchm6fFWUW8xUdBheYOZdC7PleQM0XQKswxtdol6jxMdI3fWafTFsnR4HJzQRIp6bv5HcKj/Q6TZGOpUkaFLFXaWDxGR/Wzx2agyGpnI67jlCnqpwIiS4Vw8gaiXyZQ0NFcdjloPljIksOJdvBKbyU54dATrxDBbl/uZeH8Ii2ycHzAy7SCnxrDV1+JpcuNpWsgas4vVzR58Zh2PRcZtcXEwkmbvpTAnx89RbTJTa6/CmSvjDAT5XJeNmhoTSxcvJplIcb5SxohGu9OFLTuDLxicH7CkzcWuPUkeWp6i4ISNdwRpleGiquG3//2lSWtg0FTuaXETrK1iPBbBJJcZ+OMOcm4Jz50rWBBN0N97gOFJBaxGziolTh36K952P9t/9hK9O568NnPOt+Chbo31C3P0nowwdvwgw/0HAfDbJc7PTHMiPMrgxCUS6QksWhTTxCmSR9/AW46TS01xsrefmGTn5cE4v9l/hC5/E2va/bi0PL1Xpui6/8vcvuKO+RMYn6lgb7DiEl3MTIzy/rF9JAUno+EoRitk1RSyJKMW4cLwOS5fGOHSmQEuTMVJjMVZoI3TmUtxFJ0PbF6WZ8sc372bRD7Hhs2Pg6OeJ55+hs75ABdjEsqZMJtuayXU2EnkisLgid9yZKyEu6UVJRpmamoaOREnl81QyitYLLMMj/bTLeTp8YoMpSQCDRWe3f5T3HmRwTf30PrwN7CvfQBRVaG1jcrxQ3MBqSz4gHryDF5O0DddQauWyGdFOhbXcV+TyOi0wqoHHyU1dpHca9/FbpxFafTiWfsoCw0S+tkRXt7xJ9L5cVRFJRrOcPfd62j98U8YW7eF8QujeBs9CNVOTh2fJ4FSEaYLFUq5FNNDKbJ5ndd3HCOXyZDJqjxs97F2Yw/j6RjlQhZbi58el4+Jd3tZ3l6LZ/tLbH3uR1yOnuaFF19kw4JGfh5SWbMwSldjLZl0moKS/DfvQFLjw8FJ1gbbMPi9ZIpl2gs6V2JGXFYfZyejqANnsK37Gka7DVtjIzvfeIeR3+3C9Ng99PRswuNvJXz+NAtaGhiT3Sy9Pcgip5FEtojZYMSiF+YHBILL6L73Ef4yfBa7u4ZJdRpDV5CGWyuUDBYK6SgDb/+BoqkaYzEFx04zc36UTRtWsjLYydDRAyxrdDJkNfHYVzezeGkHq5Z1ELoQRRQE2uocTMyk5wd0tjbz7JNPcKSvD7PZSCqVhoqOQRYp53PIWhmtVMIgCMiCTlnT0Y0PYLRa6E+HiR3YxypJonvb11mxeg1WTUdRs2Rm83S11FERBRRFmR/wy6dWX1t/1Dk3NMhxfc0AuK82H+Od7ffO2T9zg545gMFjszc84LDO0/kplfDZr9lngJsN+Bveb9bpS0UiAAAAAABJRU5ErkJggg==",imageSize:ne+"px",onClick:u?function(){return"false"}:"",children:!B&&(0,e.createComponentVNode)(2,t.ImageButton.Item,{bold:!0,width:"64px",selected:c,content:O,tooltip:"Click to disable main button",tooltipPosition:"bottom-end",icon:W,iconColor:"gold",iconSize:J,iconPosition:K,onClick:Q})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Color States",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{content:"Vertical",checked:C,onClick:he}),children:V.map(function(fe){return(0,e.createComponentVNode)(2,t.ImageButton,{m:C?.5:0,vertical:C,color:fe,content:fe,image:"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAOVBMVEXAwMDBr16vk0uORiz/o7HyfxiZbDXWzMzhbA3//wD////tHCQAAP/4ior/ADOAgIDAwMAAAAAzmQDdkuRxAAAAAXRSTlMAQObYZgAAAKxJREFUOI3dksESgyAMRG0FE4I22P//2IaAVdB0em3Xy477SJYZhuFfdDO1AXdD4xtwRd77o5t6wKt20wPlN2QVewUgQqAAiD0QYxQCJYc5zCAEtisUcBkgmUAZ6ErGWh9oeSwE6k+3yHNACIIPgMzQONsWYOZ90QXAiRK7g2K7gtNKayXKjdoOcv4pX+IcGoBMqIA26TswSU6HmueSpLlRcjK0AaOpL97rb+gFHckLe1QlljQAAAAASUVORK5CYII=",imageSize:C?"48px":"24px",onClick:u?function(){return"false"}:""},fe)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Available Colors",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{content:"Vertical",checked:p,onClick:ye}),children:f.map(function(fe){return(0,e.createComponentVNode)(2,t.ImageButton,{m:p?.5:0,vertical:p,color:fe,content:fe,image:"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAJ1BMVEUAAABeGFCgXZN2PnKqqqq/vr/T09PycWFIHUFeKlNLHEtVWWOOj5g02k6OAAAAAXRSTlMAQObYZgAAAFdJREFUKJFjYBhEgFEQDATgAkImLkDgrIgQME0vSy8LRhYoBwISBdLLy1HNSCsvT0MWwLDWGAwQAp0rZ+3evXLWDGSBM2dQBWYCAUkCHB1g0IAreAYCAACm2zDykxPL4AAAAABJRU5ErkJggg==",imageSize:p?"48px":"24px",onClick:u?function(){return"false"}:""},fe)})})],4)}},21394:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Input",render:function(){function V(){return(0,e.createComponentVNode)(2,f)}return V}()},f=function(k,S){var b=(0,a.useLocalState)(S,"number",0),h=b[0],i=b[1],c=(0,a.useLocalState)(S,"text","Sample text"),m=c[0],d=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:m,onChange:function(){function u(s,l){return d(l)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:m,onInput:function(){function u(s,l){return d(l)}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:h,minValue:-100,maxValue:100,onChange:function(){function u(s,l){return i(l)}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:h,minValue:-100,maxValue:100,onDrag:function(){function u(s,l){return i(l)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:h,minValue:-100,maxValue:100,onDrag:function(){function u(s,l){return i(l)}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:h,minValue:-100,maxValue:100,onDrag:function(){function u(s,l){return i(l)}return u}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:h,minValue:-100,maxValue:100,onDrag:function(){function u(s,l){return i(l)}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:h,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function u(s,l){return i(l)}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}()})})})]})})}},43932:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=r.meta={title:"Popper",render:function(){function f(){return(0,e.createComponentVNode)(2,o)}return f}()},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)}},33270:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** + */var o=r.meta={title:"Input",render:function(){function V(){return(0,e.createComponentVNode)(2,f)}return V}()},f=function(k,S){var y=(0,a.useLocalState)(S,"number",0),h=y[0],i=y[1],c=(0,a.useLocalState)(S,"text","Sample text"),m=c[0],d=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:m,onChange:function(){function u(s,l){return d(l)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:m,onInput:function(){function u(s,l){return d(l)}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:h,minValue:-100,maxValue:100,onChange:function(){function u(s,l){return i(l)}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:h,minValue:-100,maxValue:100,onDrag:function(){function u(s,l){return i(l)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:h,minValue:-100,maxValue:100,onDrag:function(){function u(s,l){return i(l)}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:h,minValue:-100,maxValue:100,onDrag:function(){function u(s,l){return i(l)}return u}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:h,minValue:-100,maxValue:100,onDrag:function(){function u(s,l){return i(l)}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:h,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function u(s,l){return i(l)}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}()})})})]})})}},43932:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=r.meta={title:"Popper",render:function(){function f(){return(0,e.createComponentVNode)(2,o)}return f}()},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)}},33270:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"ProgressBar",render:function(){function V(){return(0,e.createComponentVNode)(2,f)}return V}()},f=function(k,S){var b=(0,a.useLocalState)(S,"progress",.5),h=b[0],i=b[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:h,children:["Value: ",Number(h).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 i(h-.1)}return c}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function c(){return i(h+.1)}return c}()})]})]})}},77766:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/** + */var o=r.meta={title:"ProgressBar",render:function(){function V(){return(0,e.createComponentVNode)(2,f)}return V}()},f=function(k,S){var y=(0,a.useLocalState)(S,"progress",.5),h=y[0],i=y[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:h,children:["Value: ",Number(h).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 i(h-.1)}return c}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function c(){return i(h+.1)}return c}()})]})]})}},77766:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var t=r.meta={title:"Stack",render:function(){function k(){return(0,e.createComponentVNode)(2,V)}return k}()},o=function(){return(0,e.createComponentVNode)(2,a.Box,{inline:!0,width:1,height:1,children:"A"})},f=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)},V=function(S,b){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,f),(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,f),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,f)]})}),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,f)]})})]})})}},30187:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(27108),t=n(36036),o=n(49968);/** + */var t=r.meta={title:"Stack",render:function(){function k(){return(0,e.createComponentVNode)(2,V)}return k}()},o=function(){return(0,e.createComponentVNode)(2,a.Box,{inline:!0,width:1,height:1,children:"A"})},f=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)},V=function(S,y){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,f),(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,f),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,f)]})}),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,f)]})})]})})}},30187:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(27108),t=n(36036),o=n(49968);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var f=r.meta={title:"Storage",render:function(){function k(){return(0,e.createComponentVNode)(2,V)}return k}()},V=function(S,b){return window.localStorage?(0,e.createComponentVNode)(2,t.Section,{title:"Local Storage",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"recycle",onClick:function(){function h(){localStorage.clear(),a.storage.clear()}return h}(),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."})}},46554:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** + */var f=r.meta={title:"Storage",render:function(){function k(){return(0,e.createComponentVNode)(2,V)}return k}()},V=function(S,y){return window.localStorage?(0,e.createComponentVNode)(2,t.Section,{title:"Local Storage",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"recycle",onClick:function(){function h(){localStorage.clear(),a.storage.clear()}return h}(),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."})}},46554:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Tabs",render:function(){function k(){return(0,e.createComponentVNode)(2,V)}return k}()},f=["Tab #1","Tab #2","Tab #3","Tab #4"],V=function(S,b){var h=(0,a.useLocalState)(b,"tabIndex",0),i=h[0],c=h[1],m=(0,a.useLocalState)(b,"tabProps",{}),d=m[0],u=m[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:d.vertical,onClick:function(){function s(){return u(Object.assign({},d,{vertical:!d.vertical}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"leftSlot",checked:d.leftSlot,onClick:function(){function s(){return u(Object.assign({},d,{leftSlot:!d.leftSlot}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"rightSlot",checked:d.rightSlot,onClick:function(){function s(){return u(Object.assign({},d,{rightSlot:!d.rightSlot}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"icon",checked:d.icon,onClick:function(){function s(){return u(Object.assign({},d,{icon:!d.icon}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"fluid",checked:d.fluid,onClick:function(){function s(){return u(Object.assign({},d,{fluid:!d.fluid}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"left aligned",checked:d.leftAligned,onClick:function(){function s(){return u(Object.assign({},d,{leftAligned:!d.leftAligned}))}return s}()})]}),(0,e.createComponentVNode)(2,t.Section,{fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:d.vertical,fluid:d.fluid,textAlign:d.leftAligned&&"left",children:f.map(function(s,l){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:l===i,icon:d.icon&&"info-circle",leftSlot:d.leftSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),rightSlot:d.rightSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),onClick:function(){function C(){return c(l)}return C}(),children:s},l)})})})],4)}},53276:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** + */var o=r.meta={title:"Tabs",render:function(){function k(){return(0,e.createComponentVNode)(2,V)}return k}()},f=["Tab #1","Tab #2","Tab #3","Tab #4"],V=function(S,y){var h=(0,a.useLocalState)(y,"tabIndex",0),i=h[0],c=h[1],m=(0,a.useLocalState)(y,"tabProps",{}),d=m[0],u=m[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:d.vertical,onClick:function(){function s(){return u(Object.assign({},d,{vertical:!d.vertical}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"leftSlot",checked:d.leftSlot,onClick:function(){function s(){return u(Object.assign({},d,{leftSlot:!d.leftSlot}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"rightSlot",checked:d.rightSlot,onClick:function(){function s(){return u(Object.assign({},d,{rightSlot:!d.rightSlot}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"icon",checked:d.icon,onClick:function(){function s(){return u(Object.assign({},d,{icon:!d.icon}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"fluid",checked:d.fluid,onClick:function(){function s(){return u(Object.assign({},d,{fluid:!d.fluid}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"left aligned",checked:d.leftAligned,onClick:function(){function s(){return u(Object.assign({},d,{leftAligned:!d.leftAligned}))}return s}()})]}),(0,e.createComponentVNode)(2,t.Section,{fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:d.vertical,fluid:d.fluid,textAlign:d.leftAligned&&"left",children:f.map(function(s,l){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:l===i,icon:d.icon&&"info-circle",leftSlot:d.leftSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),rightSlot:d.rightSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),onClick:function(){function C(){return c(l)}return C}(),children:s},l)})})})],4)}},53276:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Themes",render:function(){function V(){return(0,e.createComponentVNode)(2,f)}return V}()},f=function(k,S){var b=(0,a.useLocalState)(S,"kitchenSinkTheme"),h=b[0],i=b[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:h,onInput:function(){function c(m,d){return i(d)}return c}()})})})})}},28717:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/** + */var o=r.meta={title:"Themes",render:function(){function V(){return(0,e.createComponentVNode)(2,f)}return V}()},f=function(k,S){var y=(0,a.useLocalState)(S,"kitchenSinkTheme"),h=y[0],i=y[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:h,onInput:function(){function c(m,d){return i(d)}return c}()})})})})}},28717:function(w,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT @@ -330,12 +330,12 @@ * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var t=r.BoxWithSampleText=function(){function o(f){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({},f,{children:[(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,a.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return o}()},67160:function(){},23542:function(){},30386:function(){},98996:function(){},50578:function(){},4444:function(){},77870:function(){},23632:function(){},56492:function(){},39108:function(){},11714:function(){},73492:function(){},49641:function(){},17570:function(){},61858:function(){},32882:function(){},70752:function(w,r,n){var e={"./pai_atmosphere.js":80818,"./pai_bioscan.js":23903,"./pai_directives.js":64988,"./pai_doorjack.js":13813,"./pai_main_menu.js":66025,"./pai_manifest.js":2983,"./pai_medrecords.js":40758,"./pai_messenger.js":98599,"./pai_radio.js":50775,"./pai_secrecords.js":48623,"./pai_signaler.js":47297};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=70752},59395:function(w,r,n){var e={"./pda_atmos_scan.js":78532,"./pda_janitor.js":40253,"./pda_main_menu.js":58293,"./pda_manifest.js":58059,"./pda_medical.js":18147,"./pda_messenger.js":77595,"./pda_mule.js":24635,"./pda_nanobank.js":23734,"./pda_notes.js":97085,"./pda_power.js":57513,"./pda_secbot.js":99808,"./pda_security.js":77168,"./pda_signaler.js":21773,"./pda_status_display.js":81857,"./pda_supplyrecords.js":70287};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=59395},32054:function(w,r,n){var e={"./AICard":1090,"./AICard.js":1090,"./AIFixer":39454,"./AIFixer.js":39454,"./APC":88422,"./APC.js":88422,"./ATM":99660,"./ATM.js":99660,"./AccountsUplinkTerminal":86423,"./AccountsUplinkTerminal.js":86423,"./AiAirlock":56793,"./AiAirlock.js":56793,"./AirAlarm":72475,"./AirAlarm.js":72475,"./AirlockAccessController":12333,"./AirlockAccessController.js":12333,"./AirlockElectronics":28736,"./AirlockElectronics.js":28736,"./AlertModal":47365,"./AlertModal.tsx":47365,"./AppearanceChanger":71824,"./AppearanceChanger.js":71824,"./AtmosAlertConsole":72285,"./AtmosAlertConsole.js":72285,"./AtmosControl":65805,"./AtmosControl.js":65805,"./AtmosFilter":87816,"./AtmosFilter.js":87816,"./AtmosMixer":52977,"./AtmosMixer.js":52977,"./AtmosPump":11748,"./AtmosPump.js":11748,"./AtmosTankControl":69321,"./AtmosTankControl.js":69321,"./Autolathe":59179,"./Autolathe.js":59179,"./BioChipPad":5147,"./BioChipPad.js":5147,"./Biogenerator":64273,"./Biogenerator.js":64273,"./BloomEdit":47823,"./BloomEdit.js":47823,"./BlueSpaceArtilleryControl":18621,"./BlueSpaceArtilleryControl.js":18621,"./BluespaceTap":27629,"./BluespaceTap.js":27629,"./BodyScanner":33758,"./BodyScanner.js":33758,"./BookBinder":67963,"./BookBinder.js":67963,"./BotCall":61925,"./BotCall.js":61925,"./BotClean":20464,"./BotClean.js":20464,"./BotFloor":69479,"./BotFloor.js":69479,"./BotHonk":59887,"./BotHonk.js":59887,"./BotMed":80063,"./BotMed.js":80063,"./BotSecurity":74439,"./BotSecurity.js":74439,"./BrigCells":10833,"./BrigCells.js":10833,"./BrigTimer":45761,"./BrigTimer.js":45761,"./CameraConsole":26300,"./CameraConsole.js":26300,"./Canister":52927,"./Canister.js":52927,"./CardComputer":51793,"./CardComputer.js":51793,"./CargoConsole":64083,"./CargoConsole.js":64083,"./ChangelogView":87331,"./ChangelogView.js":87331,"./ChemDispenser":36108,"./ChemDispenser.js":36108,"./ChemHeater":13146,"./ChemHeater.js":13146,"./ChemMaster":56541,"./ChemMaster.tsx":56541,"./CloningConsole":37173,"./CloningConsole.js":37173,"./CloningPod":98723,"./CloningPod.js":98723,"./CoinMint":18259,"./CoinMint.tsx":18259,"./ColourMatrixTester":8444,"./ColourMatrixTester.js":8444,"./CommunicationsComputer":63818,"./CommunicationsComputer.js":63818,"./CompostBin":20562,"./CompostBin.js":20562,"./Contractor":21813,"./Contractor.js":21813,"./ConveyorSwitch":54151,"./ConveyorSwitch.js":54151,"./CrewMonitor":73169,"./CrewMonitor.js":73169,"./Cryo":63987,"./Cryo.js":63987,"./CryopodConsole":86099,"./CryopodConsole.js":86099,"./DNAModifier":12692,"./DNAModifier.js":12692,"./DestinationTagger":41074,"./DestinationTagger.js":41074,"./DisposalBin":46500,"./DisposalBin.js":46500,"./DnaVault":33233,"./DnaVault.js":33233,"./DroneConsole":33681,"./DroneConsole.js":33681,"./EFTPOS":17263,"./EFTPOS.js":17263,"./ERTManager":76382,"./ERTManager.js":76382,"./EconomyManager":90217,"./EconomyManager.js":90217,"./Electropack":82565,"./Electropack.js":82565,"./Emojipedia":11243,"./Emojipedia.tsx":11243,"./EvolutionMenu":36730,"./EvolutionMenu.js":36730,"./ExosuitFabricator":17370,"./ExosuitFabricator.js":17370,"./ExperimentConsole":59128,"./ExperimentConsole.js":59128,"./ExternalAirlockController":97086,"./ExternalAirlockController.js":97086,"./FaxMachine":96142,"./FaxMachine.js":96142,"./FilingCabinet":74123,"./FilingCabinet.js":74123,"./FloorPainter":83767,"./FloorPainter.js":83767,"./GPS":53424,"./GPS.js":53424,"./GeneModder":89124,"./GeneModder.js":89124,"./GenericCrewManifest":73053,"./GenericCrewManifest.js":73053,"./GhostHudPanel":42914,"./GhostHudPanel.js":42914,"./GlandDispenser":25825,"./GlandDispenser.js":25825,"./GravityGen":10270,"./GravityGen.js":10270,"./GuestPass":48657,"./GuestPass.js":48657,"./HandheldChemDispenser":67834,"./HandheldChemDispenser.js":67834,"./HealthSensor":46098,"./HealthSensor.js":46098,"./Holodeck":36771,"./Holodeck.js":36771,"./Instrument":25471,"./Instrument.js":25471,"./KeyComboModal":13618,"./KeyComboModal.tsx":13618,"./KeycardAuth":35655,"./KeycardAuth.js":35655,"./KitchenMachine":62955,"./KitchenMachine.js":62955,"./LawManager":9525,"./LawManager.js":9525,"./LibraryComputer":85066,"./LibraryComputer.js":85066,"./LibraryManager":9516,"./LibraryManager.js":9516,"./ListInputModal":90447,"./ListInputModal.tsx":90447,"./MODsuit":77613,"./MODsuit.js":77613,"./MagnetController":78624,"./MagnetController.js":78624,"./MechBayConsole":72106,"./MechBayConsole.js":72106,"./MechaControlConsole":7466,"./MechaControlConsole.js":7466,"./MedicalRecords":79625,"./MedicalRecords.js":79625,"./MerchVendor":54989,"./MerchVendor.js":54989,"./MiningVendor":87684,"./MiningVendor.js":87684,"./NTRecruiter":59783,"./NTRecruiter.js":59783,"./Newscaster":64713,"./Newscaster.js":64713,"./Noticeboard":48286,"./Noticeboard.tsx":48286,"./NuclearBomb":41166,"./NuclearBomb.js":41166,"./NumberInputModal":52416,"./NumberInputModal.tsx":52416,"./OperatingComputer":1218,"./OperatingComputer.js":1218,"./Orbit":46892,"./Orbit.js":46892,"./OreRedemption":15421,"./OreRedemption.js":15421,"./PAI":52754,"./PAI.js":52754,"./PDA":85175,"./PDA.js":85175,"./Pacman":68654,"./Pacman.js":68654,"./PanDEMIC":1701,"./PanDEMIC.tsx":1701,"./ParticleAccelerator":67921,"./ParticleAccelerator.js":67921,"./PdaPainter":71432,"./PdaPainter.js":71432,"./PersonalCrafting":33388,"./PersonalCrafting.js":33388,"./Photocopier":56150,"./Photocopier.js":56150,"./PoolController":84676,"./PoolController.js":84676,"./PortablePump":57003,"./PortablePump.js":57003,"./PortableScrubber":70069,"./PortableScrubber.js":70069,"./PortableTurret":59955,"./PortableTurret.js":59955,"./PowerMonitor":61631,"./PowerMonitor.js":61631,"./PrisonerImplantManager":50992,"./PrisonerImplantManager.js":50992,"./PrisonerShuttleConsole":53952,"./PrisonerShuttleConsole.js":53952,"./PrizeCounter":97852,"./PrizeCounter.tsx":97852,"./RCD":94813,"./RCD.js":94813,"./RPD":18738,"./RPD.js":18738,"./Radio":80299,"./Radio.js":80299,"./ReagentGrinder":48125,"./ReagentGrinder.js":48125,"./ReagentsEditor":58262,"./ReagentsEditor.tsx":58262,"./RemoteSignaler":30207,"./RemoteSignaler.js":30207,"./RequestConsole":25472,"./RequestConsole.js":25472,"./RndConsole":16475,"./RndConsole.js":16475,"./RndConsoleComponents":13472,"./RndConsoleComponents/":13472,"./RndConsoleComponents/CurrentLevels":93098,"./RndConsoleComponents/CurrentLevels.js":93098,"./RndConsoleComponents/DataDiskMenu":19192,"./RndConsoleComponents/DataDiskMenu.js":19192,"./RndConsoleComponents/DeconstructionMenu":20887,"./RndConsoleComponents/DeconstructionMenu.js":20887,"./RndConsoleComponents/LatheCategory":10666,"./RndConsoleComponents/LatheCategory.js":10666,"./RndConsoleComponents/LatheChemicalStorage":52285,"./RndConsoleComponents/LatheChemicalStorage.js":52285,"./RndConsoleComponents/LatheMainMenu":71964,"./RndConsoleComponents/LatheMainMenu.js":71964,"./RndConsoleComponents/LatheMaterialStorage":17906,"./RndConsoleComponents/LatheMaterialStorage.js":17906,"./RndConsoleComponents/LatheMaterials":83706,"./RndConsoleComponents/LatheMaterials.js":83706,"./RndConsoleComponents/LatheMenu":76749,"./RndConsoleComponents/LatheMenu.js":76749,"./RndConsoleComponents/LatheSearch":74698,"./RndConsoleComponents/LatheSearch.js":74698,"./RndConsoleComponents/MainMenu":17180,"./RndConsoleComponents/MainMenu.js":17180,"./RndConsoleComponents/RndNavButton":63459,"./RndConsoleComponents/RndNavButton.js":63459,"./RndConsoleComponents/RndNavbar":94942,"./RndConsoleComponents/RndNavbar.js":94942,"./RndConsoleComponents/RndRoute":12059,"./RndConsoleComponents/RndRoute.js":12059,"./RndConsoleComponents/SettingsMenu":52580,"./RndConsoleComponents/SettingsMenu.js":52580,"./RndConsoleComponents/index":13472,"./RndConsoleComponents/index.js":13472,"./RobotSelfDiagnosis":26109,"./RobotSelfDiagnosis.js":26109,"./RoboticsControlConsole":97997,"./RoboticsControlConsole.js":97997,"./Safe":54431,"./Safe.js":54431,"./SatelliteControl":29740,"./SatelliteControl.js":29740,"./SecureStorage":44162,"./SecureStorage.js":44162,"./SecurityRecords":6272,"./SecurityRecords.js":6272,"./SeedExtractor":5099,"./SeedExtractor.js":5099,"./ShuttleConsole":2916,"./ShuttleConsole.js":2916,"./ShuttleManipulator":39401,"./ShuttleManipulator.js":39401,"./Sleeper":88284,"./Sleeper.js":88284,"./SlotMachine":21597,"./SlotMachine.js":21597,"./Smartfridge":46348,"./Smartfridge.js":46348,"./Smes":86162,"./Smes.js":86162,"./SolarControl":63584,"./SolarControl.js":63584,"./SpawnersMenu":38096,"./SpawnersMenu.js":38096,"./SpecMenu":30586,"./SpecMenu.js":30586,"./StationAlertConsole":38307,"./StationAlertConsole.js":38307,"./StationTraitsPanel":96091,"./StationTraitsPanel.tsx":96091,"./StripMenu":39409,"./StripMenu.tsx":39409,"./SuitStorage":69514,"./SuitStorage.js":69514,"./SupermatterMonitor":15022,"./SupermatterMonitor.js":15022,"./SyndicateComputerSimple":46029,"./SyndicateComputerSimple.js":46029,"./TEG":36372,"./TEG.js":36372,"./TachyonArray":56441,"./TachyonArray.js":56441,"./Tank":1754,"./Tank.js":1754,"./TankDispenser":7579,"./TankDispenser.js":7579,"./TcommsCore":16136,"./TcommsCore.js":16136,"./TcommsRelay":88046,"./TcommsRelay.js":88046,"./Teleporter":20802,"./Teleporter.js":20802,"./TelescienceConsole":48517,"./TelescienceConsole.js":48517,"./TempGun":21800,"./TempGun.js":21800,"./TextInputModal":24410,"./TextInputModal.tsx":24410,"./ThermoMachine":25036,"./ThermoMachine.js":25036,"./TransferValve":20035,"./TransferValve.js":20035,"./TurbineComputer":78166,"./TurbineComputer.js":78166,"./Uplink":52847,"./Uplink.js":52847,"./Vending":12261,"./Vending.js":12261,"./VolumeMixer":68971,"./VolumeMixer.js":68971,"./VotePanel":2510,"./VotePanel.js":2510,"./Wires":30138,"./Wires.js":30138,"./WizardApprenticeContract":21400,"./WizardApprenticeContract.js":21400,"./common/AccessList":49148,"./common/AccessList.js":49148,"./common/AtmosScan":26991,"./common/AtmosScan.js":26991,"./common/BeakerContents":85870,"./common/BeakerContents.js":85870,"./common/BotStatus":92963,"./common/BotStatus.js":92963,"./common/ComplexModal":3939,"./common/ComplexModal.js":3939,"./common/CrewManifest":41874,"./common/CrewManifest.js":41874,"./common/InputButtons":19203,"./common/InputButtons.tsx":19203,"./common/InterfaceLockNoticeBox":195,"./common/InterfaceLockNoticeBox.js":195,"./common/Loader":51057,"./common/Loader.tsx":51057,"./common/LoginInfo":321,"./common/LoginInfo.js":321,"./common/LoginScreen":5485,"./common/LoginScreen.js":5485,"./common/Operating":62411,"./common/Operating.js":62411,"./common/Signaler":13545,"./common/Signaler.js":13545,"./common/SimpleRecords":41984,"./common/SimpleRecords.js":41984,"./common/TemporaryNotice":22091,"./common/TemporaryNotice.js":22091,"./pai/pai_atmosphere":80818,"./pai/pai_atmosphere.js":80818,"./pai/pai_bioscan":23903,"./pai/pai_bioscan.js":23903,"./pai/pai_directives":64988,"./pai/pai_directives.js":64988,"./pai/pai_doorjack":13813,"./pai/pai_doorjack.js":13813,"./pai/pai_main_menu":66025,"./pai/pai_main_menu.js":66025,"./pai/pai_manifest":2983,"./pai/pai_manifest.js":2983,"./pai/pai_medrecords":40758,"./pai/pai_medrecords.js":40758,"./pai/pai_messenger":98599,"./pai/pai_messenger.js":98599,"./pai/pai_radio":50775,"./pai/pai_radio.js":50775,"./pai/pai_secrecords":48623,"./pai/pai_secrecords.js":48623,"./pai/pai_signaler":47297,"./pai/pai_signaler.js":47297,"./pda/pda_atmos_scan":78532,"./pda/pda_atmos_scan.js":78532,"./pda/pda_janitor":40253,"./pda/pda_janitor.js":40253,"./pda/pda_main_menu":58293,"./pda/pda_main_menu.js":58293,"./pda/pda_manifest":58059,"./pda/pda_manifest.js":58059,"./pda/pda_medical":18147,"./pda/pda_medical.js":18147,"./pda/pda_messenger":77595,"./pda/pda_messenger.js":77595,"./pda/pda_mule":24635,"./pda/pda_mule.js":24635,"./pda/pda_nanobank":23734,"./pda/pda_nanobank.js":23734,"./pda/pda_notes":97085,"./pda/pda_notes.js":97085,"./pda/pda_power":57513,"./pda/pda_power.js":57513,"./pda/pda_secbot":99808,"./pda/pda_secbot.js":99808,"./pda/pda_security":77168,"./pda/pda_security.js":77168,"./pda/pda_signaler":21773,"./pda/pda_signaler.js":21773,"./pda/pda_status_display":81857,"./pda/pda_status_display.js":81857,"./pda/pda_supplyrecords":70287,"./pda/pda_supplyrecords.js":70287};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=32054},4085:function(w,r,n){var e={"./Blink.stories.js":51364,"./BlockQuote.stories.js":32453,"./Box.stories.js":83531,"./Button.stories.js":74198,"./ByondUi.stories.js":51956,"./Collapsible.stories.js":17466,"./Flex.stories.js":89241,"./ImageButton.stories.js":48779,"./Input.stories.js":21394,"./Popper.stories.js":43932,"./ProgressBar.stories.js":33270,"./Stack.stories.js":77766,"./Storage.stories.js":30187,"./Tabs.stories.js":46554,"./Themes.stories.js":53276,"./Tooltip.stories.js":28717};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=4085},10320:function(w,r,n){"use strict";var e=n(55747),a=n(89393),t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a function")}},32606:function(w,r,n){"use strict";var e=n(1031),a=n(89393),t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a constructor")}},35908:function(w,r,n){"use strict";var e=n(45015),a=String,t=TypeError;w.exports=function(o){if(e(o))return o;throw new t("Can't set "+a(o)+" as a prototype")}},80575:function(w,r,n){"use strict";var e=n(24697),a=n(80674),t=n(74595).f,o=e("unscopables"),f=Array.prototype;f[o]===void 0&&t(f,o,{configurable:!0,value:a(null)}),w.exports=function(V){f[o][V]=!0}},35483:function(w,r,n){"use strict";var e=n(50233).charAt;w.exports=function(a,t,o){return t+(o?e(a,t).length:1)}},60077:function(w,r,n){"use strict";var e=n(21287),a=TypeError;w.exports=function(t,o){if(e(o,t))return t;throw new a("Incorrect invocation")}},30365:function(w,r,n){"use strict";var e=n(77568),a=String,t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not an object")}},70377:function(w){"use strict";w.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},3782:function(w,r,n){"use strict";var e=n(40033);w.exports=e(function(){if(typeof ArrayBuffer=="function"){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},4246:function(w,r,n){"use strict";var e=n(70377),a=n(58310),t=n(74685),o=n(55747),f=n(77568),V=n(45299),k=n(2281),S=n(89393),b=n(37909),h=n(55938),i=n(73936),c=n(21287),m=n(36917),d=n(76649),u=n(24697),s=n(16738),l=n(5419),C=l.enforce,g=l.get,v=t.Int8Array,p=v&&v.prototype,N=t.Uint8ClampedArray,y=N&&N.prototype,B=v&&m(v),I=p&&m(p),L=Object.prototype,T=t.TypeError,A=u("toStringTag"),x=s("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",M=e&&!!d&&k(t.opera)!=="Opera",j=!1,O,R,D,W={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},H=function(){function ne(me){if(!f(me))return!1;var he=k(me);return he==="DataView"||V(W,he)||V(U,he)}return ne}(),K=function ne(me){var he=m(me);if(f(he)){var ye=g(he);return ye&&V(ye,E)?ye[E]:ne(he)}},G=function(me){if(!f(me))return!1;var he=k(me);return V(W,he)||V(U,he)},Y=function(me){if(G(me))return me;throw new T("Target is not a typed array")},J=function(me){if(o(me)&&(!d||c(B,me)))return me;throw new T(S(me)+" is not a typed array constructor")},Z=function(me,he,ye,te){if(a){if(ye)for(var Q in W){var oe=t[Q];if(oe&&V(oe.prototype,me))try{delete oe.prototype[me]}catch(fe){try{oe.prototype[me]=he}catch(ie){}}}(!I[me]||ye)&&h(I,me,ye?he:M&&p[me]||he,te)}},le=function(me,he,ye){var te,Q;if(a){if(d){if(ye){for(te in W)if(Q=t[te],Q&&V(Q,me))try{delete Q[me]}catch(oe){}}if(!B[me]||ye)try{return h(B,me,ye?he:M&&B[me]||he)}catch(oe){}else return}for(te in W)Q=t[te],Q&&(!Q[me]||ye)&&h(Q,me,he)}};for(O in W)R=t[O],D=R&&R.prototype,D?C(D)[E]=R:M=!1;for(O in U)R=t[O],D=R&&R.prototype,D&&(C(D)[E]=R);if((!M||!o(B)||B===Function.prototype)&&(B=function(){function ne(){throw new T("Incorrect invocation")}return ne}(),M))for(O in W)t[O]&&d(t[O],B);if((!M||!I||I===L)&&(I=B.prototype,M))for(O in W)t[O]&&d(t[O].prototype,I);if(M&&m(y)!==I&&d(y,I),a&&!V(I,A)){j=!0,i(I,A,{configurable:!0,get:function(){function ne(){return f(this)?this[x]:void 0}return ne}()});for(O in W)t[O]&&b(t[O],x,O)}w.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_TAG:j&&x,aTypedArray:Y,aTypedArrayConstructor:J,exportTypedArrayMethod:Z,exportTypedArrayStaticMethod:le,getTypedArrayConstructor:K,isView:H,isTypedArray:G,TypedArray:B,TypedArrayPrototype:I}},37336:function(w,r,n){"use strict";var e=n(74685),a=n(67250),t=n(58310),o=n(70377),f=n(70520),V=n(37909),k=n(73936),S=n(30145),b=n(40033),h=n(60077),i=n(61365),c=n(10188),m=n(43806),d=n(95867),u=n(91784),s=n(36917),l=n(76649),C=n(88471),g=n(54602),v=n(5781),p=n(5774),N=n(84925),y=n(5419),B=f.PROPER,I=f.CONFIGURABLE,L="ArrayBuffer",T="DataView",A="prototype",x="Wrong length",E="Wrong index",M=y.getterFor(L),j=y.getterFor(T),O=y.set,R=e[L],D=R,W=D&&D[A],U=e[T],H=U&&U[A],K=Object.prototype,G=e.Array,Y=e.RangeError,J=a(C),Z=a([].reverse),le=u.pack,ne=u.unpack,me=function(ge){return[ge&255]},he=function(ge){return[ge&255,ge>>8&255]},ye=function(ge){return[ge&255,ge>>8&255,ge>>16&255,ge>>24&255]},te=function(ge){return ge[3]<<24|ge[2]<<16|ge[1]<<8|ge[0]},Q=function(ge){return le(d(ge),23,4)},oe=function(ge){return le(ge,52,8)},fe=function(ge,ke,Ve){k(ge[A],ke,{configurable:!0,get:function(){function Le(){return Ve(this)[ke]}return Le}()})},ie=function(ge,ke,Ve,Le){var we=j(ge),xe=m(Ve),Re=!!Le;if(xe+ke>we.byteLength)throw new Y(E);var He=we.bytes,Ne=xe+we.byteOffset,ae=g(He,Ne,Ne+ke);return Re?ae:Z(ae)},ue=function(ge,ke,Ve,Le,we,xe){var Re=j(ge),He=m(Ve),Ne=Le(+we),ae=!!xe;if(He+ke>Re.byteLength)throw new Y(E);for(var de=Re.bytes,ve=He+Re.byteOffset,se=0;sewe)throw new Y("Wrong offset");if(Ve=Ve===void 0?we-xe:c(Ve),xe+Ve>we)throw new Y(x);O(this,{type:T,buffer:ge,byteLength:Ve,byteOffset:xe,bytes:Le.bytes}),t||(this.buffer=ge,this.byteLength=Ve,this.byteOffset=xe)}return Ce}(),H=U[A],t&&(fe(D,"byteLength",M),fe(U,"buffer",j),fe(U,"byteLength",j),fe(U,"byteOffset",j)),S(H,{getInt8:function(){function Ce(ge){return ie(this,1,ge)[0]<<24>>24}return Ce}(),getUint8:function(){function Ce(ge){return ie(this,1,ge)[0]}return Ce}(),getInt16:function(){function Ce(ge){var ke=ie(this,2,ge,arguments.length>1?arguments[1]:!1);return(ke[1]<<8|ke[0])<<16>>16}return Ce}(),getUint16:function(){function Ce(ge){var ke=ie(this,2,ge,arguments.length>1?arguments[1]:!1);return ke[1]<<8|ke[0]}return Ce}(),getInt32:function(){function Ce(ge){return te(ie(this,4,ge,arguments.length>1?arguments[1]:!1))}return Ce}(),getUint32:function(){function Ce(ge){return te(ie(this,4,ge,arguments.length>1?arguments[1]:!1))>>>0}return Ce}(),getFloat32:function(){function Ce(ge){return ne(ie(this,4,ge,arguments.length>1?arguments[1]:!1),23)}return Ce}(),getFloat64:function(){function Ce(ge){return ne(ie(this,8,ge,arguments.length>1?arguments[1]:!1),52)}return Ce}(),setInt8:function(){function Ce(ge,ke){ue(this,1,ge,me,ke)}return Ce}(),setUint8:function(){function Ce(ge,ke){ue(this,1,ge,me,ke)}return Ce}(),setInt16:function(){function Ce(ge,ke){ue(this,2,ge,he,ke,arguments.length>2?arguments[2]:!1)}return Ce}(),setUint16:function(){function Ce(ge,ke){ue(this,2,ge,he,ke,arguments.length>2?arguments[2]:!1)}return Ce}(),setInt32:function(){function Ce(ge,ke){ue(this,4,ge,ye,ke,arguments.length>2?arguments[2]:!1)}return Ce}(),setUint32:function(){function Ce(ge,ke){ue(this,4,ge,ye,ke,arguments.length>2?arguments[2]:!1)}return Ce}(),setFloat32:function(){function Ce(ge,ke){ue(this,4,ge,Q,ke,arguments.length>2?arguments[2]:!1)}return Ce}(),setFloat64:function(){function Ce(ge,ke){ue(this,8,ge,oe,ke,arguments.length>2?arguments[2]:!1)}return Ce}()});else{var re=B&&R.name!==L;!b(function(){R(1)})||!b(function(){new R(-1)})||b(function(){return new R,new R(1.5),new R(NaN),R.length!==1||re&&!I})?(D=function(){function Ce(ge){return h(this,W),v(new R(m(ge)),this,D)}return Ce}(),D[A]=W,W.constructor=D,p(D,R)):re&&I&&V(R,"name",L),l&&s(H)!==K&&l(H,K);var Se=new U(new D(2)),Ie=a(H.setInt8);Se.setInt8(0,2147483648),Se.setInt8(1,2147483649),(Se.getInt8(0)||!Se.getInt8(1))&&S(H,{setInt8:function(){function Ce(ge,ke){Ie(this,ge,ke<<24>>24)}return Ce}(),setUint8:function(){function Ce(ge,ke){Ie(this,ge,ke<<24>>24)}return Ce}()},{unsafe:!0})}N(D,L),N(U,T),w.exports={ArrayBuffer:D,DataView:U}},71447:function(w,r,n){"use strict";var e=n(46771),a=n(13912),t=n(24760),o=n(95108),f=Math.min;w.exports=[].copyWithin||function(){function V(k,S){var b=e(this),h=t(b),i=a(k,h),c=a(S,h),m=arguments.length>2?arguments[2]:void 0,d=f((m===void 0?h:a(m,h))-c,h-i),u=1;for(c0;)c in b?b[i]=b[c]:o(b,i),i+=u,c+=u;return b}return V}()},88471:function(w,r,n){"use strict";var e=n(46771),a=n(13912),t=n(24760);w.exports=function(){function o(f){for(var V=e(this),k=t(V),S=arguments.length,b=a(S>1?arguments[1]:void 0,k),h=S>2?arguments[2]:void 0,i=h===void 0?k:a(h,k);i>b;)V[b++]=f;return V}return o}()},35601:function(w,r,n){"use strict";var e=n(22603).forEach,a=n(55528),t=a("forEach");w.exports=t?[].forEach:function(){function o(f){return e(this,f,arguments.length>1?arguments[1]:void 0)}return o}()},78008:function(w,r,n){"use strict";var e=n(24760);w.exports=function(a,t,o){for(var f=0,V=arguments.length>2?o:e(t),k=new a(V);V>f;)k[f]=t[f++];return k}},73174:function(w,r,n){"use strict";var e=n(75754),a=n(91495),t=n(46771),o=n(40125),f=n(76571),V=n(1031),k=n(24760),S=n(60102),b=n(77455),h=n(59201),i=Array;w.exports=function(){function c(m){var d=t(m),u=V(this),s=arguments.length,l=s>1?arguments[1]:void 0,C=l!==void 0;C&&(l=e(l,s>2?arguments[2]:void 0));var g=h(d),v=0,p,N,y,B,I,L;if(g&&!(this===i&&f(g)))for(N=u?new this:[],B=b(d,g),I=B.next;!(y=a(I,B)).done;v++)L=C?o(B,l,[y.value,v],!0):y.value,S(N,v,L);else for(p=k(d),N=u?new this(p):i(p);p>v;v++)L=C?l(d[v],v):d[v],S(N,v,L);return N.length=v,N}return c}()},14211:function(w,r,n){"use strict";var e=n(57591),a=n(13912),t=n(24760),o=function(V){return function(k,S,b){var h=e(k),i=t(h);if(i===0)return!V&&-1;var c=a(b,i),m;if(V&&S!==S){for(;i>c;)if(m=h[c++],m!==m)return!0}else for(;i>c;c++)if((V||c in h)&&h[c]===S)return V||c||0;return!V&&-1}};w.exports={includes:o(!0),indexOf:o(!1)}},22603:function(w,r,n){"use strict";var e=n(75754),a=n(67250),t=n(37457),o=n(46771),f=n(24760),V=n(57823),k=a([].push),S=function(h){var i=h===1,c=h===2,m=h===3,d=h===4,u=h===6,s=h===7,l=h===5||u;return function(C,g,v,p){for(var N=o(C),y=t(N),B=f(y),I=e(g,v),L=0,T=p||V,A=i?T(C,B):c||s?T(C,0):void 0,x,E;B>L;L++)if((l||L in y)&&(x=y[L],E=I(x,L,N),h))if(i)A[L]=E;else if(E)switch(h){case 3:return!0;case 5:return x;case 6:return L;case 2:k(A,x)}else switch(h){case 4:return!1;case 7:k(A,x)}return u?-1:m||d?d:A}};w.exports={forEach:S(0),map:S(1),filter:S(2),some:S(3),every:S(4),find:S(5),findIndex:S(6),filterReject:S(7)}},1325:function(w,r,n){"use strict";var e=n(61267),a=n(57591),t=n(61365),o=n(24760),f=n(55528),V=Math.min,k=[].lastIndexOf,S=!!k&&1/[1].lastIndexOf(1,-0)<0,b=f("lastIndexOf"),h=S||!b;w.exports=h?function(){function i(c){if(S)return e(k,this,arguments)||0;var m=a(this),d=o(m);if(d===0)return-1;var u=d-1;for(arguments.length>1&&(u=V(u,t(arguments[1]))),u<0&&(u=d+u);u>=0;u--)if(u in m&&m[u]===c)return u||0;return-1}return i}():k},44091:function(w,r,n){"use strict";var e=n(40033),a=n(24697),t=n(5026),o=a("species");w.exports=function(f){return t>=51||!e(function(){var V=[],k=V.constructor={};return k[o]=function(){return{foo:1}},V[f](Boolean).foo!==1})}},55528:function(w,r,n){"use strict";var e=n(40033);w.exports=function(a,t){var o=[][a];return!!o&&e(function(){o.call(null,t||function(){return 1},1)})}},56844:function(w,r,n){"use strict";var e=n(10320),a=n(46771),t=n(37457),o=n(24760),f=TypeError,V="Reduce of empty array with no initial value",k=function(b){return function(h,i,c,m){var d=a(h),u=t(d),s=o(d);if(e(i),s===0&&c<2)throw new f(V);var l=b?s-1:0,C=b?-1:1;if(c<2)for(;;){if(l in u){m=u[l],l+=C;break}if(l+=C,b?l<0:s<=l)throw new f(V)}for(;b?l>=0:s>l;l+=C)l in u&&(m=i(m,u[l],l,d));return m}};w.exports={left:k(!1),right:k(!0)}},13345:function(w,r,n){"use strict";var e=n(58310),a=n(37386),t=TypeError,o=Object.getOwnPropertyDescriptor,f=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(V){return V instanceof TypeError}}();w.exports=f?function(V,k){if(a(V)&&!o(V,"length").writable)throw new t("Cannot set read only .length");return V.length=k}:function(V,k){return V.length=k}},54602:function(w,r,n){"use strict";var e=n(67250);w.exports=e([].slice)},90274:function(w,r,n){"use strict";var e=n(54602),a=Math.floor,t=function o(f,V){var k=f.length;if(k<8)for(var S=1,b,h;S0;)f[h]=f[--h];h!==S++&&(f[h]=b)}else for(var i=a(k/2),c=o(e(f,0,i),V),m=o(e(f,i),V),d=c.length,u=m.length,s=0,l=0;s1?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 L}(),has:function(){function L(T){return!!I(this,T)}return L}()}),t(N,g?{get:function(){function L(T){var A=I(this,T);return A&&A.value}return L}(),set:function(){function L(T,A){return B(this,T===0?0:T,A)}return L}()}:{add:function(){function L(T){return B(this,T=T===0?0:T,T)}return L}()}),i&&a(N,"size",{configurable:!0,get:function(){function L(){return y(this).size}return L}()}),p}return s}(),setStrong:function(){function s(l,C,g){var v=C+" Iterator",p=u(C),N=u(v);S(l,C,function(y,B){d(this,{type:v,target:y,state:p(y),kind:B,last:void 0})},function(){for(var y=N(this),B=y.kind,I=y.last;I&&I.removed;)I=I.previous;return!y.target||!(y.last=I=I?I.next:y.state.first)?(y.target=void 0,b(void 0,!0)):b(B==="keys"?I.key:B==="values"?I.value:[I.key,I.value],!1)},g?"entries":"values",!g,!0),h(C)}return s}()}},39895:function(w,r,n){"use strict";var e=n(67250),a=n(30145),t=n(81969).getWeakData,o=n(60077),f=n(30365),V=n(42871),k=n(77568),S=n(49450),b=n(22603),h=n(45299),i=n(5419),c=i.set,m=i.getterFor,d=b.find,u=b.findIndex,s=e([].splice),l=0,C=function(N){return N.frozen||(N.frozen=new g)},g=function(){this.entries=[]},v=function(N,y){return d(N.entries,function(B){return B[0]===y})};g.prototype={get:function(){function p(N){var y=v(this,N);if(y)return y[1]}return p}(),has:function(){function p(N){return!!v(this,N)}return p}(),set:function(){function p(N,y){var B=v(this,N);B?B[1]=y:this.entries.push([N,y])}return p}(),delete:function(){function p(N){var y=u(this.entries,function(B){return B[0]===N});return~y&&s(this.entries,y,1),!!~y}return p}()},w.exports={getConstructor:function(){function p(N,y,B,I){var L=N(function(E,M){o(E,T),c(E,{type:y,id:l++,frozen:void 0}),V(M)||S(M,E[I],{that:E,AS_ENTRIES:B})}),T=L.prototype,A=m(y),x=function(){function E(M,j,O){var R=A(M),D=t(f(j),!0);return D===!0?C(R).set(j,O):D[R.id]=O,M}return E}();return a(T,{delete:function(){function E(M){var j=A(this);if(!k(M))return!1;var O=t(M);return O===!0?C(j).delete(M):O&&h(O,j.id)&&delete O[j.id]}return E}(),has:function(){function E(M){var j=A(this);if(!k(M))return!1;var O=t(M);return O===!0?C(j).has(M):O&&h(O,j.id)}return E}()}),a(T,B?{get:function(){function E(M){var j=A(this);if(k(M)){var O=t(M);return O===!0?C(j).get(M):O?O[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}()}),L}return p}()}},45150:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(67250),o=n(41314),f=n(55938),V=n(81969),k=n(49450),S=n(60077),b=n(55747),h=n(42871),i=n(77568),c=n(40033),m=n(92490),d=n(84925),u=n(5781);w.exports=function(s,l,C){var g=s.indexOf("Map")!==-1,v=s.indexOf("Weak")!==-1,p=g?"set":"add",N=a[s],y=N&&N.prototype,B=N,I={},L=function(R){var D=t(y[R]);f(y,R,R==="add"?function(){function W(U){return D(this,U===0?0:U),this}return W}():R==="delete"?function(W){return v&&!i(W)?!1:D(this,W===0?0:W)}:R==="get"?function(){function W(U){return v&&!i(U)?void 0:D(this,U===0?0:U)}return W}():R==="has"?function(){function W(U){return v&&!i(U)?!1:D(this,U===0?0:U)}return W}():function(){function W(U,H){return D(this,U===0?0:U,H),this}return W}())},T=o(s,!b(N)||!(v||y.forEach&&!c(function(){new N().entries().next()})));if(T)B=C.getConstructor(l,s,g,p),V.enable();else if(o(s,!0)){var A=new B,x=A[p](v?{}:-0,1)!==A,E=c(function(){A.has(1)}),M=m(function(O){new N(O)}),j=!v&&c(function(){for(var O=new N,R=5;R--;)O[p](R,R);return!O.has(-0)});M||(B=l(function(O,R){S(O,y);var D=u(new N,O,B);return h(R)||k(R,D[p],{that:D,AS_ENTRIES:g}),D}),B.prototype=y,y.constructor=B),(E||j)&&(L("delete"),L("has"),g&&L("get")),(j||x)&&L(p),v&&y.clear&&delete y.clear}return I[s]=B,e({global:!0,constructor:!0,forced:B!==N},I),d(B,s),v||C.setStrong(B,s,g),B}},5774:function(w,r,n){"use strict";var e=n(45299),a=n(97921),t=n(27193),o=n(74595);w.exports=function(f,V,k){for(var S=a(V),b=o.f,h=t.f,i=0;i"+h+""}},5959:function(w){"use strict";w.exports=function(r,n){return{value:r,done:n}}},37909:function(w,r,n){"use strict";var e=n(58310),a=n(74595),t=n(87458);w.exports=e?function(o,f,V){return a.f(o,f,t(1,V))}:function(o,f,V){return o[f]=V,o}},87458:function(w){"use strict";w.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},60102:function(w,r,n){"use strict";var e=n(58310),a=n(74595),t=n(87458);w.exports=function(o,f,V){e?a.f(o,f,t(0,V)):o[f]=V}},67206:function(w,r,n){"use strict";var e=n(67250),a=n(40033),t=n(24051).start,o=RangeError,f=isFinite,V=Math.abs,k=Date.prototype,S=k.toISOString,b=e(k.getTime),h=e(k.getUTCDate),i=e(k.getUTCFullYear),c=e(k.getUTCHours),m=e(k.getUTCMilliseconds),d=e(k.getUTCMinutes),u=e(k.getUTCMonth),s=e(k.getUTCSeconds);w.exports=a(function(){return S.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!a(function(){S.call(new Date(NaN))})?function(){function l(){if(!f(b(this)))throw new o("Invalid time value");var C=this,g=i(C),v=m(C),p=g<0?"-":g>9999?"+":"";return p+t(V(g),p?6:4,0)+"-"+t(u(C)+1,2,0)+"-"+t(h(C),2,0)+"T"+t(c(C),2,0)+":"+t(d(C),2,0)+":"+t(s(C),2,0)+"."+t(v,3,0)+"Z"}return l}():S},10886:function(w,r,n){"use strict";var e=n(30365),a=n(13396),t=TypeError;w.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new t("Incorrect hint");return a(this,o)}},73936:function(w,r,n){"use strict";var e=n(20001),a=n(74595);w.exports=function(t,o,f){return f.get&&e(f.get,o,{getter:!0}),f.set&&e(f.set,o,{setter:!0}),a.f(t,o,f)}},55938:function(w,r,n){"use strict";var e=n(55747),a=n(74595),t=n(20001),o=n(18231);w.exports=function(f,V,k,S){S||(S={});var b=S.enumerable,h=S.name!==void 0?S.name:V;if(e(k)&&t(k,h,S),S.global)b?f[V]=k:o(V,k);else{try{S.unsafe?f[V]&&(b=!0):delete f[V]}catch(i){}b?f[V]=k:a.f(f,V,{value:k,enumerable:!1,configurable:!S.nonConfigurable,writable:!S.nonWritable})}return f}},30145:function(w,r,n){"use strict";var e=n(55938);w.exports=function(a,t,o){for(var f in t)e(a,f,t[f],o);return a}},18231:function(w,r,n){"use strict";var e=n(74685),a=Object.defineProperty;w.exports=function(t,o){try{a(e,t,{value:o,configurable:!0,writable:!0})}catch(f){e[t]=o}return o}},95108:function(w,r,n){"use strict";var e=n(89393),a=TypeError;w.exports=function(t,o){if(!delete t[o])throw new a("Cannot delete property "+e(o)+" of "+e(t))}},58310:function(w,r,n){"use strict";var e=n(40033);w.exports=!e(function(){return Object.defineProperty({},1,{get:function(){function a(){return 7}return a}()})[1]!==7})},12689:function(w,r,n){"use strict";var e=n(74685),a=n(77568),t=e.document,o=a(t)&&a(t.createElement);w.exports=function(f){return o?t.createElement(f):{}}},21291:function(w){"use strict";var r=TypeError,n=9007199254740991;w.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},652:function(w,r,n){"use strict";var e=n(63318),a=e.match(/firefox\/(\d+)/i);w.exports=!!a&&+a[1]},8180:function(w,r,n){"use strict";var e=n(73730),a=n(81702);w.exports=!e&&!a&&typeof window=="object"&&typeof document=="object"},49197:function(w){"use strict";w.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},73730:function(w){"use strict";w.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},19228:function(w,r,n){"use strict";var e=n(63318);w.exports=/MSIE|Trident/.test(e)},51802:function(w,r,n){"use strict";var e=n(63318);w.exports=/ipad|iphone|ipod/i.test(e)&&typeof Pebble!="undefined"},83433:function(w,r,n){"use strict";var e=n(63318);w.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},81702:function(w,r,n){"use strict";var e=n(74685),a=n(7462);w.exports=a(e.process)==="process"},63383:function(w,r,n){"use strict";var e=n(63318);w.exports=/web0s(?!.*chrome)/i.test(e)},63318:function(w){"use strict";w.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},5026:function(w,r,n){"use strict";var e=n(74685),a=n(63318),t=e.process,o=e.Deno,f=t&&t.versions||o&&o.version,V=f&&f.v8,k,S;V&&(k=V.split("."),S=k[0]>0&&k[0]<4?1:+(k[0]+k[1])),!S&&a&&(k=a.match(/Edge\/(\d+)/),(!k||k[1]>=74)&&(k=a.match(/Chrome\/(\d+)/),k&&(S=+k[1]))),w.exports=S},9342:function(w,r,n){"use strict";var e=n(63318),a=e.match(/AppleWebKit\/(\d+)\./);w.exports=!!a&&+a[1]},89453:function(w){"use strict";w.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},63964:function(w,r,n){"use strict";var e=n(74685),a=n(27193).f,t=n(37909),o=n(55938),f=n(18231),V=n(5774),k=n(41314);w.exports=function(S,b){var h=S.target,i=S.global,c=S.stat,m,d,u,s,l,C;if(i?d=e:c?d=e[h]||f(h,{}):d=e[h]&&e[h].prototype,d)for(u in b){if(l=b[u],S.dontCallGetSet?(C=a(d,u),s=C&&C.value):s=d[u],m=k(i?u:h+(c?".":"#")+u,S.forced),!m&&s!==void 0){if(typeof l==typeof s)continue;V(l,s)}(S.sham||s&&s.sham)&&t(l,"sham",!0),o(d,u,l,S)}}},40033:function(w){"use strict";w.exports=function(r){try{return!!r()}catch(n){return!0}}},79942:function(w,r,n){"use strict";n(79669);var e=n(91495),a=n(55938),t=n(14489),o=n(40033),f=n(24697),V=n(37909),k=f("species"),S=RegExp.prototype;w.exports=function(b,h,i,c){var m=f(b),d=!o(function(){var C={};return C[m]=function(){return 7},""[b](C)!==7}),u=d&&!o(function(){var C=!1,g=/a/;return b==="split"&&(g={},g.constructor={},g.constructor[k]=function(){return g},g.flags="",g[m]=/./[m]),g.exec=function(){return C=!0,null},g[m](""),!C});if(!d||!u||i){var s=/./[m],l=h(m,""[b],function(C,g,v,p,N){var y=g.exec;return y===t||y===S.exec?d&&!N?{done:!0,value:e(s,g,v,p)}:{done:!0,value:e(C,v,g,p)}:{done:!1}});a(String.prototype,b,l[0]),a(S,m,l[1])}c&&V(S[m],"sham",!0)}},65561:function(w,r,n){"use strict";var e=n(37386),a=n(24760),t=n(21291),o=n(75754),f=function V(k,S,b,h,i,c,m,d){for(var u=i,s=0,l=m?o(m,d):!1,C,g;s0&&e(C)?(g=a(C),u=V(k,S,C,g,u,c-1)-1):(t(u+1),k[u]=C),u++),s++;return u};w.exports=f},50730:function(w,r,n){"use strict";var e=n(40033);w.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},61267:function(w,r,n){"use strict";var e=n(55050),a=Function.prototype,t=a.apply,o=a.call;w.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(t):function(){return o.apply(t,arguments)})},75754:function(w,r,n){"use strict";var e=n(71138),a=n(10320),t=n(55050),o=e(e.bind);w.exports=function(f,V){return a(f),V===void 0?f:t?o(f,V):function(){return f.apply(V,arguments)}}},55050:function(w,r,n){"use strict";var e=n(40033);w.exports=!e(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},66284:function(w,r,n){"use strict";var e=n(67250),a=n(10320),t=n(77568),o=n(45299),f=n(54602),V=n(55050),k=Function,S=e([].concat),b=e([].join),h={},i=function(m,d,u){if(!o(h,d)){for(var s=[],l=0;l]*>)/g,S=/\$([$&'`]|\d{1,2})/g;w.exports=function(b,h,i,c,m,d){var u=i+b.length,s=c.length,l=S;return m!==void 0&&(m=a(m),l=k),f(d,l,function(C,g){var v;switch(o(g,0)){case"$":return"$";case"&":return b;case"`":return V(h,0,i);case"'":return V(h,u);case"<":v=m[V(g,1,-1)];break;default:var p=+g;if(p===0)return C;if(p>s){var N=t(p/10);return N===0?C:N<=s?c[N-1]===void 0?o(g,1):c[N-1]+o(g,1):C}v=c[p-1]}return v===void 0?"":v})}},74685:function(w,r,n){"use strict";var e=function(t){return t&&t.Math===Math&&t};w.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof n.g=="object"&&n.g)||e(!1)||function(){return this}()||Function("return this")()},45299:function(w,r,n){"use strict";var e=n(67250),a=n(46771),t=e({}.hasOwnProperty);w.exports=Object.hasOwn||function(){function o(f,V){return t(a(f),V)}return o}()},79195:function(w){"use strict";w.exports={}},72259:function(w){"use strict";w.exports=function(r,n){try{arguments.length}catch(e){}}},5315:function(w,r,n){"use strict";var e=n(4009);w.exports=e("document","documentElement")},36223:function(w,r,n){"use strict";var e=n(58310),a=n(40033),t=n(12689);w.exports=!e&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){function o(){return 7}return o}()}).a!==7})},91784:function(w){"use strict";var r=Array,n=Math.abs,e=Math.pow,a=Math.floor,t=Math.log,o=Math.LN2,f=function(S,b,h){var i=r(h),c=h*8-b-1,m=(1<>1,u=b===23?e(2,-24)-e(2,-77):0,s=S<0||S===0&&1/S<0?1:0,l=0,C,g,v;for(S=n(S),S!==S||S===1/0?(g=S!==S?1:0,C=m):(C=a(t(S)/o),v=e(2,-C),S*v<1&&(C--,v*=2),C+d>=1?S+=u/v:S+=u*e(2,1-d),S*v>=2&&(C++,v/=2),C+d>=m?(g=0,C=m):C+d>=1?(g=(S*v-1)*e(2,b),C+=d):(g=S*e(2,d-1)*e(2,b),C=0));b>=8;)i[l++]=g&255,g/=256,b-=8;for(C=C<0;)i[l++]=C&255,C/=256,c-=8;return i[--l]|=s*128,i},V=function(S,b){var h=S.length,i=h*8-b-1,c=(1<>1,d=i-7,u=h-1,s=S[u--],l=s&127,C;for(s>>=7;d>0;)l=l*256+S[u--],d-=8;for(C=l&(1<<-d)-1,l>>=-d,d+=b;d>0;)C=C*256+S[u--],d-=8;if(l===0)l=1-m;else{if(l===c)return C?NaN:s?-1/0:1/0;C+=e(2,b),l-=m}return(s?-1:1)*C*e(2,l-b)};w.exports={pack:f,unpack:V}},37457:function(w,r,n){"use strict";var e=n(67250),a=n(40033),t=n(7462),o=Object,f=e("".split);w.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(V){return t(V)==="String"?f(V,""):o(V)}:o},5781:function(w,r,n){"use strict";var e=n(55747),a=n(77568),t=n(76649);w.exports=function(o,f,V){var k,S;return t&&e(k=f.constructor)&&k!==V&&a(S=k.prototype)&&S!==V.prototype&&t(o,S),o}},40492:function(w,r,n){"use strict";var e=n(67250),a=n(55747),t=n(40095),o=e(Function.toString);a(t.inspectSource)||(t.inspectSource=function(f){return o(f)}),w.exports=t.inspectSource},81969:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(79195),o=n(77568),f=n(45299),V=n(74595).f,k=n(37310),S=n(81644),b=n(81834),h=n(16738),i=n(50730),c=!1,m=h("meta"),d=0,u=function(N){V(N,m,{value:{objectID:"O"+d++,weakData:{}}})},s=function(N,y){if(!o(N))return typeof N=="symbol"?N:(typeof N=="string"?"S":"P")+N;if(!f(N,m)){if(!b(N))return"F";if(!y)return"E";u(N)}return N[m].objectID},l=function(N,y){if(!f(N,m)){if(!b(N))return!0;if(!y)return!1;u(N)}return N[m].weakData},C=function(N){return i&&c&&b(N)&&!f(N,m)&&u(N),N},g=function(){v.enable=function(){},c=!0;var N=k.f,y=a([].splice),B={};B[m]=1,N(B).length&&(k.f=function(I){for(var L=N(I),T=0,A=L.length;TI;I++)if(T=M(d[I]),T&&k(m,T))return T;return new c(!1)}y=S(d,B)}for(A=g?d.next:y.next;!(x=a(A,y)).done;){try{T=M(x.value)}catch(j){h(y,"throw",j)}if(typeof T=="object"&&T&&k(m,T))return T}return new c(!1)}},28649:function(w,r,n){"use strict";var e=n(91495),a=n(30365),t=n(78060);w.exports=function(o,f,V){var k,S;a(o);try{if(k=t(o,"return"),!k){if(f==="throw")throw V;return V}k=e(k,o)}catch(b){S=!0,k=b}if(f==="throw")throw V;if(S)throw k;return a(k),V}},5656:function(w,r,n){"use strict";var e=n(67635).IteratorPrototype,a=n(80674),t=n(87458),o=n(84925),f=n(83967),V=function(){return this};w.exports=function(k,S,b,h){var i=S+" Iterator";return k.prototype=a(e,{next:t(+!h,b)}),o(k,i,!1,!0),f[i]=V,k}},65574:function(w,r,n){"use strict";var e=n(63964),a=n(91495),t=n(4493),o=n(70520),f=n(55747),V=n(5656),k=n(36917),S=n(76649),b=n(84925),h=n(37909),i=n(55938),c=n(24697),m=n(83967),d=n(67635),u=o.PROPER,s=o.CONFIGURABLE,l=d.IteratorPrototype,C=d.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v="keys",p="values",N="entries",y=function(){return this};w.exports=function(B,I,L,T,A,x,E){V(L,I,T);var M=function(J){if(J===A&&W)return W;if(!C&&J&&J in R)return R[J];switch(J){case v:return function(){function Z(){return new L(this,J)}return Z}();case p:return function(){function Z(){return new L(this,J)}return Z}();case N:return function(){function Z(){return new L(this,J)}return Z}()}return function(){return new L(this)}},j=I+" Iterator",O=!1,R=B.prototype,D=R[g]||R["@@iterator"]||A&&R[A],W=!C&&D||M(A),U=I==="Array"&&R.entries||D,H,K,G;if(U&&(H=k(U.call(new B)),H!==Object.prototype&&H.next&&(!t&&k(H)!==l&&(S?S(H,l):f(H[g])||i(H,g,y)),b(H,j,!0,!0),t&&(m[j]=y))),u&&A===p&&D&&D.name!==p&&(!t&&s?h(R,"name",p):(O=!0,W=function(){function Y(){return a(D,this)}return Y}())),A)if(K={values:M(p),keys:x?W:M(v),entries:M(N)},E)for(G in K)(C||O||!(G in R))&&i(R,G,K[G]);else e({target:I,proto:!0,forced:C||O},K);return(!t||E)&&R[g]!==W&&i(R,g,W,{name:A}),m[I]=W,K}},67635:function(w,r,n){"use strict";var e=n(40033),a=n(55747),t=n(77568),o=n(80674),f=n(36917),V=n(55938),k=n(24697),S=n(4493),b=k("iterator"),h=!1,i,c,m;[].keys&&(m=[].keys(),"next"in m?(c=f(f(m)),c!==Object.prototype&&(i=c)):h=!0);var d=!t(i)||e(function(){var u={};return i[b].call(u)!==u});d?i={}:S&&(i=o(i)),a(i[b])||V(i,b,function(){return this}),w.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:h}},83967:function(w){"use strict";w.exports={}},24760:function(w,r,n){"use strict";var e=n(10188);w.exports=function(a){return e(a.length)}},20001:function(w,r,n){"use strict";var e=n(67250),a=n(40033),t=n(55747),o=n(45299),f=n(58310),V=n(70520).CONFIGURABLE,k=n(40492),S=n(5419),b=S.enforce,h=S.get,i=String,c=Object.defineProperty,m=e("".slice),d=e("".replace),u=e([].join),s=f&&!a(function(){return c(function(){},"length",{value:8}).length!==8}),l=String(String).split("String"),C=w.exports=function(g,v,p){m(i(v),0,7)==="Symbol("&&(v="["+d(i(v),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),p&&p.getter&&(v="get "+v),p&&p.setter&&(v="set "+v),(!o(g,"name")||V&&g.name!==v)&&(f?c(g,"name",{value:v,configurable:!0}):g.name=v),s&&p&&o(p,"arity")&&g.length!==p.arity&&c(g,"length",{value:p.arity});try{p&&o(p,"constructor")&&p.constructor?f&&c(g,"prototype",{writable:!1}):g.prototype&&(g.prototype=void 0)}catch(y){}var N=b(g);return o(N,"source")||(N.source=u(l,typeof v=="string"?v:"")),g};Function.prototype.toString=C(function(){function g(){return t(this)&&h(this).source||k(this)}return g}(),"toString")},82040:function(w){"use strict";var r=Math.expm1,n=Math.exp;w.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!==-2e-17?function(){function e(a){var t=+a;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}return e}():r},14950:function(w,r,n){"use strict";var e=n(22172),a=Math.abs,t=2220446049250313e-31,o=1/t,f=function(k){return k+o-o};w.exports=function(V,k,S,b){var h=+V,i=a(h),c=e(h);if(iS||d!==d?c*(1/0):c*d}},95867:function(w,r,n){"use strict";var e=n(14950),a=11920928955078125e-23,t=34028234663852886e22,o=11754943508222875e-54;w.exports=Math.fround||function(){function f(V){return e(V,a,t,o)}return f}()},75002:function(w){"use strict";var r=Math.log,n=Math.LOG10E;w.exports=Math.log10||function(){function e(a){return r(a)*n}return e}()},90874:function(w){"use strict";var r=Math.log;w.exports=Math.log1p||function(){function n(e){var a=+e;return a>-1e-8&&a<1e-8?a-a*a/2:r(1+a)}return n}()},22172:function(w){"use strict";w.exports=Math.sign||function(){function r(n){var e=+n;return e===0||e!==e?e:e<0?-1:1}return r}()},21119:function(w){"use strict";var r=Math.ceil,n=Math.floor;w.exports=Math.trunc||function(){function e(a){var t=+a;return(t>0?n:r)(t)}return e}()},37713:function(w,r,n){"use strict";var e=n(74685),a=n(44915),t=n(75754),o=n(60375).set,f=n(9547),V=n(83433),k=n(51802),S=n(63383),b=n(81702),h=e.MutationObserver||e.WebKitMutationObserver,i=e.document,c=e.process,m=e.Promise,d=a("queueMicrotask"),u,s,l,C,g;if(!d){var v=new f,p=function(){var y,B;for(b&&(y=c.domain)&&y.exit();B=v.get();)try{B()}catch(I){throw v.head&&u(),I}y&&y.enter()};!V&&!b&&!S&&h&&i?(s=!0,l=i.createTextNode(""),new h(p).observe(l,{characterData:!0}),u=function(){l.data=s=!s}):!k&&m&&m.resolve?(C=m.resolve(void 0),C.constructor=m,g=t(C.then,C),u=function(){g(p)}):b?u=function(){c.nextTick(p)}:(o=t(o,e),u=function(){o(p)}),d=function(y){v.head||u(),v.add(y)}}w.exports=d},81837:function(w,r,n){"use strict";var e=n(10320),a=TypeError,t=function(f){var V,k;this.promise=new f(function(S,b){if(V!==void 0||k!==void 0)throw new a("Bad Promise constructor");V=S,k=b}),this.resolve=e(V),this.reject=e(k)};w.exports.f=function(o){return new t(o)}},86213:function(w,r,n){"use strict";var e=n(72586),a=TypeError;w.exports=function(t){if(e(t))throw new a("The method doesn't accept regular expressions");return t}},3294:function(w,r,n){"use strict";var e=n(74685),a=e.isFinite;w.exports=Number.isFinite||function(){function t(o){return typeof o=="number"&&a(o)}return t}()},28506:function(w,r,n){"use strict";var e=n(74685),a=n(40033),t=n(67250),o=n(12605),f=n(92648).trim,V=n(4198),k=t("".charAt),S=e.parseFloat,b=e.Symbol,h=b&&b.iterator,i=1/S(V+"-0")!==-1/0||h&&!a(function(){S(Object(h))});w.exports=i?function(){function c(m){var d=f(o(m)),u=S(d);return u===0&&k(d,0)==="-"?-0:u}return c}():S},13693:function(w,r,n){"use strict";var e=n(74685),a=n(40033),t=n(67250),o=n(12605),f=n(92648).trim,V=n(4198),k=e.parseInt,S=e.Symbol,b=S&&S.iterator,h=/^[+-]?0x/i,i=t(h.exec),c=k(V+"08")!==8||k(V+"0x16")!==22||b&&!a(function(){k(Object(b))});w.exports=c?function(){function m(d,u){var s=f(o(d));return k(s,u>>>0||(i(h,s)?16:10))}return m}():k},41143:function(w,r,n){"use strict";var e=n(58310),a=n(67250),t=n(91495),o=n(40033),f=n(18450),V=n(89235),k=n(12867),S=n(46771),b=n(37457),h=Object.assign,i=Object.defineProperty,c=a([].concat);w.exports=!h||o(function(){if(e&&h({b:1},h(i({},"a",{enumerable:!0,get:function(){function l(){i(this,"b",{value:3,enumerable:!1})}return l}()}),{b:2})).b!==1)return!0;var m={},d={},u=Symbol("assign detection"),s="abcdefghijklmnopqrst";return m[u]=7,s.split("").forEach(function(l){d[l]=l}),h({},m)[u]!==7||f(h({},d)).join("")!==s})?function(){function m(d,u){for(var s=S(d),l=arguments.length,C=1,g=V.f,v=k.f;l>C;)for(var p=b(arguments[C++]),N=g?c(f(p),g(p)):f(p),y=N.length,B=0,I;y>B;)I=N[B++],(!e||t(v,p,I))&&(s[I]=p[I]);return s}return m}():h},80674:function(w,r,n){"use strict";var e=n(30365),a=n(24239),t=n(89453),o=n(79195),f=n(5315),V=n(12689),k=n(19417),S=">",b="<",h="prototype",i="script",c=k("IE_PROTO"),m=function(){},d=function(v){return b+i+S+v+b+"/"+i+S},u=function(v){v.write(d("")),v.close();var p=v.parentWindow.Object;return v=null,p},s=function(){var v=V("iframe"),p="java"+i+":",N;return v.style.display="none",f.appendChild(v),v.src=String(p),N=v.contentWindow.document,N.open(),N.write(d("document.F=Object")),N.close(),N.F},l,C=function(){try{l=new ActiveXObject("htmlfile")}catch(p){}C=typeof document!="undefined"?document.domain&&l?u(l):s():u(l);for(var v=t.length;v--;)delete C[h][t[v]];return C()};o[c]=!0,w.exports=Object.create||function(){function g(v,p){var N;return v!==null?(m[h]=e(v),N=new m,m[h]=null,N[c]=v):N=C(),p===void 0?N:a.f(N,p)}return g}()},24239:function(w,r,n){"use strict";var e=n(58310),a=n(80944),t=n(74595),o=n(30365),f=n(57591),V=n(18450);r.f=e&&!a?Object.defineProperties:function(){function k(S,b){o(S);for(var h=f(b),i=V(b),c=i.length,m=0,d;c>m;)t.f(S,d=i[m++],h[d]);return S}return k}()},74595:function(w,r,n){"use strict";var e=n(58310),a=n(36223),t=n(80944),o=n(30365),f=n(767),V=TypeError,k=Object.defineProperty,S=Object.getOwnPropertyDescriptor,b="enumerable",h="configurable",i="writable";r.f=e?t?function(){function c(m,d,u){if(o(m),d=f(d),o(u),typeof m=="function"&&d==="prototype"&&"value"in u&&i in u&&!u[i]){var s=S(m,d);s&&s[i]&&(m[d]=u.value,u={configurable:h in u?u[h]:s[h],enumerable:b in u?u[b]:s[b],writable:!1})}return k(m,d,u)}return c}():k:function(){function c(m,d,u){if(o(m),d=f(d),o(u),a)try{return k(m,d,u)}catch(s){}if("get"in u||"set"in u)throw new V("Accessors not supported");return"value"in u&&(m[d]=u.value),m}return c}()},27193:function(w,r,n){"use strict";var e=n(58310),a=n(91495),t=n(12867),o=n(87458),f=n(57591),V=n(767),k=n(45299),S=n(36223),b=Object.getOwnPropertyDescriptor;r.f=e?b:function(){function h(i,c){if(i=f(i),c=V(c),S)try{return b(i,c)}catch(m){}if(k(i,c))return o(!a(t.f,i,c),i[c])}return h}()},81644:function(w,r,n){"use strict";var e=n(7462),a=n(57591),t=n(37310).f,o=n(54602),f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],V=function(S){try{return t(S)}catch(b){return o(f)}};w.exports.f=function(){function k(S){return f&&e(S)==="Window"?V(S):t(a(S))}return k}()},37310:function(w,r,n){"use strict";var e=n(53726),a=n(89453),t=a.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(){function o(f){return e(f,t)}return o}()},89235:function(w,r){"use strict";r.f=Object.getOwnPropertySymbols},36917:function(w,r,n){"use strict";var e=n(45299),a=n(55747),t=n(46771),o=n(19417),f=n(9225),V=o("IE_PROTO"),k=Object,S=k.prototype;w.exports=f?k.getPrototypeOf:function(b){var h=t(b);if(e(h,V))return h[V];var i=h.constructor;return a(i)&&h instanceof i?i.prototype:h instanceof k?S:null}},81834:function(w,r,n){"use strict";var e=n(40033),a=n(77568),t=n(7462),o=n(3782),f=Object.isExtensible,V=e(function(){f(1)});w.exports=V||o?function(){function k(S){return!a(S)||o&&t(S)==="ArrayBuffer"?!1:f?f(S):!0}return k}():f},21287:function(w,r,n){"use strict";var e=n(67250);w.exports=e({}.isPrototypeOf)},53726:function(w,r,n){"use strict";var e=n(67250),a=n(45299),t=n(57591),o=n(14211).indexOf,f=n(79195),V=e([].push);w.exports=function(k,S){var b=t(k),h=0,i=[],c;for(c in b)!a(f,c)&&a(b,c)&&V(i,c);for(;S.length>h;)a(b,c=S[h++])&&(~o(i,c)||V(i,c));return i}},18450:function(w,r,n){"use strict";var e=n(53726),a=n(89453);w.exports=Object.keys||function(){function t(o){return e(o,a)}return t}()},12867:function(w,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,a=e&&!n.call({1:2},1);r.f=a?function(){function t(o){var f=e(this,o);return!!f&&f.enumerable}return t}():n},57377:function(w,r,n){"use strict";var e=n(4493),a=n(74685),t=n(40033),o=n(9342);w.exports=e||!t(function(){if(!(o&&o<535)){var f=Math.random();__defineSetter__.call(null,f,function(){}),delete a[f]}})},76649:function(w,r,n){"use strict";var e=n(38656),a=n(77568),t=n(16952),o=n(35908);w.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,V={},k;try{k=e(Object.prototype,"__proto__","set"),k(V,[]),f=V instanceof Array}catch(S){}return function(){function S(b,h){return t(b),o(h),a(b)&&(f?k(b,h):b.__proto__=h),b}return S}()}():void 0)},70915:function(w,r,n){"use strict";var e=n(58310),a=n(40033),t=n(67250),o=n(36917),f=n(18450),V=n(57591),k=n(12867).f,S=t(k),b=t([].push),h=e&&a(function(){var c=Object.create(null);return c[2]=2,!S(c,2)}),i=function(m){return function(d){for(var u=V(d),s=f(u),l=h&&o(u)===null,C=s.length,g=0,v=[],p;C>g;)p=s[g++],(!e||(l?p in u:S(u,p)))&&b(v,m?[p,u[p]]:u[p]);return v}};w.exports={entries:i(!0),values:i(!1)}},2509:function(w,r,n){"use strict";var e=n(2650),a=n(2281);w.exports=e?{}.toString:function(){function t(){return"[object "+a(this)+"]"}return t}()},13396:function(w,r,n){"use strict";var e=n(91495),a=n(55747),t=n(77568),o=TypeError;w.exports=function(f,V){var k,S;if(V==="string"&&a(k=f.toString)&&!t(S=e(k,f))||a(k=f.valueOf)&&!t(S=e(k,f))||V!=="string"&&a(k=f.toString)&&!t(S=e(k,f)))return S;throw new o("Can't convert object to primitive value")}},97921:function(w,r,n){"use strict";var e=n(4009),a=n(67250),t=n(37310),o=n(89235),f=n(30365),V=a([].concat);w.exports=e("Reflect","ownKeys")||function(){function k(S){var b=t.f(f(S)),h=o.f;return h?V(b,h(S)):b}return k}()},61765:function(w,r,n){"use strict";var e=n(74685);w.exports=e},10729:function(w){"use strict";w.exports=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}}},74854:function(w,r,n){"use strict";var e=n(74685),a=n(67512),t=n(55747),o=n(41314),f=n(40492),V=n(24697),k=n(8180),S=n(73730),b=n(4493),h=n(5026),i=a&&a.prototype,c=V("species"),m=!1,d=t(e.PromiseRejectionEvent),u=o("Promise",function(){var s=f(a),l=s!==String(a);if(!l&&h===66||b&&!(i.catch&&i.finally))return!0;if(!h||h<51||!/native code/.test(s)){var C=new a(function(p){p(1)}),g=function(N){N(function(){},function(){})},v=C.constructor={};if(v[c]=g,m=C.then(function(){})instanceof g,!m)return!0}return!l&&(k||S)&&!d});w.exports={CONSTRUCTOR:u,REJECTION_EVENT:d,SUBCLASSING:m}},67512:function(w,r,n){"use strict";var e=n(74685);w.exports=e.Promise},66628:function(w,r,n){"use strict";var e=n(30365),a=n(77568),t=n(81837);w.exports=function(o,f){if(e(o),a(f)&&f.constructor===o)return f;var V=t.f(o),k=V.resolve;return k(f),V.promise}},48199:function(w,r,n){"use strict";var e=n(67512),a=n(92490),t=n(74854).CONSTRUCTOR;w.exports=t||!a(function(o){e.all(o).then(void 0,function(){})})},34550:function(w,r,n){"use strict";var e=n(74595).f;w.exports=function(a,t,o){o in a||e(a,o,{configurable:!0,get:function(){function f(){return t[o]}return f}(),set:function(){function f(V){t[o]=V}return f}()})}},9547:function(w){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(){function n(e){var a={item:e,next:null},t=this.tail;t?t.next=a:this.head=a,this.tail=a}return n}(),get:function(){function n(){var e=this.head;if(e){var a=this.head=e.next;return a===null&&(this.tail=null),e.item}}return n}()},w.exports=r},28340:function(w,r,n){"use strict";var e=n(91495),a=n(30365),t=n(55747),o=n(7462),f=n(14489),V=TypeError;w.exports=function(k,S){var b=k.exec;if(t(b)){var h=e(b,k,S);return h!==null&&a(h),h}if(o(k)==="RegExp")return e(f,k,S);throw new V("RegExp#exec called on incompatible receiver")}},14489:function(w,r,n){"use strict";var e=n(91495),a=n(67250),t=n(12605),o=n(70901),f=n(62115),V=n(16639),k=n(80674),S=n(5419).get,b=n(39173),h=n(35688),i=V("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,m=c,d=a("".charAt),u=a("".indexOf),s=a("".replace),l=a("".slice),C=function(){var N=/a/,y=/b*/g;return e(c,N,"a"),e(c,y,"a"),N.lastIndex!==0||y.lastIndex!==0}(),g=f.BROKEN_CARET,v=/()??/.exec("")[1]!==void 0,p=C||v||g||b||h;p&&(m=function(){function N(y){var B=this,I=S(B),L=t(y),T=I.raw,A,x,E,M,j,O,R;if(T)return T.lastIndex=B.lastIndex,A=e(m,T,L),B.lastIndex=T.lastIndex,A;var D=I.groups,W=g&&B.sticky,U=e(o,B),H=B.source,K=0,G=L;if(W&&(U=s(U,"y",""),u(U,"g")===-1&&(U+="g"),G=l(L,B.lastIndex),B.lastIndex>0&&(!B.multiline||B.multiline&&d(L,B.lastIndex-1)!=="\n")&&(H="(?: "+H+")",G=" "+G,K++),x=new RegExp("^(?:"+H+")",U)),v&&(x=new RegExp("^"+H+"$(?!\\s)",U)),C&&(E=B.lastIndex),M=e(c,W?x:B,G),W?M?(M.input=l(M.input,K),M[0]=l(M[0],K),M.index=B.lastIndex,B.lastIndex+=M[0].length):B.lastIndex=0:C&&M&&(B.lastIndex=B.global?M.index+M[0].length:E),v&&M&&M.length>1&&e(i,M[0],x,function(){for(j=1;jb)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$c")!=="bc"})},16952:function(w,r,n){"use strict";var e=n(42871),a=TypeError;w.exports=function(t){if(e(t))throw new a("Can't call method on "+t);return t}},44915:function(w,r,n){"use strict";var e=n(74685),a=n(58310),t=Object.getOwnPropertyDescriptor;w.exports=function(o){if(!a)return e[o];var f=t(e,o);return f&&f.value}},5700:function(w){"use strict";w.exports=Object.is||function(){function r(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e}return r}()},78362:function(w,r,n){"use strict";var e=n(74685),a=n(61267),t=n(55747),o=n(49197),f=n(63318),V=n(54602),k=n(24986),S=e.Function,b=/MSIE .\./.test(f)||o&&function(){var h=e.Bun.version.split(".");return h.length<3||h[0]==="0"&&(h[1]<3||h[1]==="3"&&h[2]==="0")}();w.exports=function(h,i){var c=i?2:1;return b?function(m,d){var u=k(arguments.length,1)>c,s=t(m)?m:S(m),l=u?V(arguments,c):[],C=u?function(){a(s,this,l)}:s;return i?h(C,d):h(C)}:h}},58491:function(w,r,n){"use strict";var e=n(4009),a=n(73936),t=n(24697),o=n(58310),f=t("species");w.exports=function(V){var k=e(V);o&&k&&!k[f]&&a(k,f,{configurable:!0,get:function(){function S(){return this}return S}()})}},84925:function(w,r,n){"use strict";var e=n(74595).f,a=n(45299),t=n(24697),o=t("toStringTag");w.exports=function(f,V,k){f&&!k&&(f=f.prototype),f&&!a(f,o)&&e(f,o,{configurable:!0,value:V})}},19417:function(w,r,n){"use strict";var e=n(16639),a=n(16738),t=e("keys");w.exports=function(o){return t[o]||(t[o]=a(o))}},40095:function(w,r,n){"use strict";var e=n(4493),a=n(74685),t=n(18231),o="__core-js_shared__",f=w.exports=a[o]||t(o,{});(f.versions||(f.versions=[])).push({version:"3.37.1",mode:e?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},16639:function(w,r,n){"use strict";var e=n(40095);w.exports=function(a,t){return e[a]||(e[a]=t||{})}},28987:function(w,r,n){"use strict";var e=n(30365),a=n(32606),t=n(42871),o=n(24697),f=o("species");w.exports=function(V,k){var S=e(V).constructor,b;return S===void 0||t(b=e(S)[f])?k:a(b)}},88539:function(w,r,n){"use strict";var e=n(40033);w.exports=function(a){return e(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},50233:function(w,r,n){"use strict";var e=n(67250),a=n(61365),t=n(12605),o=n(16952),f=e("".charAt),V=e("".charCodeAt),k=e("".slice),S=function(h){return function(i,c){var m=t(o(i)),d=a(c),u=m.length,s,l;return d<0||d>=u?h?"":void 0:(s=V(m,d),s<55296||s>56319||d+1===u||(l=V(m,d+1))<56320||l>57343?h?f(m,d):s:h?k(m,d,d+2):(s-55296<<10)+(l-56320)+65536)}};w.exports={codeAt:S(!1),charAt:S(!0)}},34125:function(w,r,n){"use strict";var e=n(63318);w.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e)},24051:function(w,r,n){"use strict";var e=n(67250),a=n(10188),t=n(12605),o=n(62443),f=n(16952),V=e(o),k=e("".slice),S=Math.ceil,b=function(i){return function(c,m,d){var u=t(f(c)),s=a(m),l=u.length,C=d===void 0?" ":t(d),g,v;return s<=l||C===""?u:(g=s-l,v=V(C,S(g/C.length)),v.length>g&&(v=k(v,0,g)),i?u+v:v+u)}};w.exports={start:b(!1),end:b(!0)}},62443:function(w,r,n){"use strict";var e=n(61365),a=n(12605),t=n(16952),o=RangeError;w.exports=function(){function f(V){var k=a(t(this)),S="",b=e(V);if(b<0||b===1/0)throw new o("Wrong number of repetitions");for(;b>0;(b>>>=1)&&(k+=k))b&1&&(S+=k);return S}return f}()},43476:function(w,r,n){"use strict";var e=n(92648).end,a=n(90012);w.exports=a("trimEnd")?function(){function t(){return e(this)}return t}():"".trimEnd},90012:function(w,r,n){"use strict";var e=n(70520).PROPER,a=n(40033),t=n(4198),o="\u200B\x85\u180E";w.exports=function(f){return a(function(){return!!t[f]()||o[f]()!==o||e&&t[f].name!==f})}},43885:function(w,r,n){"use strict";var e=n(92648).start,a=n(90012);w.exports=a("trimStart")?function(){function t(){return e(this)}return t}():"".trimStart},92648:function(w,r,n){"use strict";var e=n(67250),a=n(16952),t=n(12605),o=n(4198),f=e("".replace),V=RegExp("^["+o+"]+"),k=RegExp("(^|[^"+o+"])["+o+"]+$"),S=function(h){return function(i){var c=t(a(i));return h&1&&(c=f(c,V,"")),h&2&&(c=f(c,k,"$1")),c}};w.exports={start:S(1),end:S(2),trim:S(3)}},52357:function(w,r,n){"use strict";var e=n(5026),a=n(40033),t=n(74685),o=t.String;w.exports=!!Object.getOwnPropertySymbols&&!a(function(){var f=Symbol("symbol detection");return!o(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&e&&e<41})},52360:function(w,r,n){"use strict";var e=n(91495),a=n(4009),t=n(24697),o=n(55938);w.exports=function(){var f=a("Symbol"),V=f&&f.prototype,k=V&&V.valueOf,S=t("toPrimitive");V&&!V[S]&&o(V,S,function(b){return e(k,this)},{arity:1})}},66570:function(w,r,n){"use strict";var e=n(52357);w.exports=e&&!!Symbol.for&&!!Symbol.keyFor},60375:function(w,r,n){"use strict";var e=n(74685),a=n(61267),t=n(75754),o=n(55747),f=n(45299),V=n(40033),k=n(5315),S=n(54602),b=n(12689),h=n(24986),i=n(83433),c=n(81702),m=e.setImmediate,d=e.clearImmediate,u=e.process,s=e.Dispatch,l=e.Function,C=e.MessageChannel,g=e.String,v=0,p={},N="onreadystatechange",y,B,I,L;V(function(){y=e.location});var T=function(j){if(f(p,j)){var O=p[j];delete p[j],O()}},A=function(j){return function(){T(j)}},x=function(j){T(j.data)},E=function(j){e.postMessage(g(j),y.protocol+"//"+y.host)};(!m||!d)&&(m=function(){function M(j){h(arguments.length,1);var O=o(j)?j:l(j),R=S(arguments,1);return p[++v]=function(){a(O,void 0,R)},B(v),v}return M}(),d=function(){function M(j){delete p[j]}return M}(),c?B=function(j){u.nextTick(A(j))}:s&&s.now?B=function(j){s.now(A(j))}:C&&!i?(I=new C,L=I.port2,I.port1.onmessage=x,B=t(L.postMessage,L)):e.addEventListener&&o(e.postMessage)&&!e.importScripts&&y&&y.protocol!=="file:"&&!V(E)?(B=E,e.addEventListener("message",x,!1)):N in b("script")?B=function(j){k.appendChild(b("script"))[N]=function(){k.removeChild(this),T(j)}}:B=function(j){setTimeout(A(j),0)}),w.exports={set:m,clear:d}},46438:function(w,r,n){"use strict";var e=n(67250);w.exports=e(1 .valueOf)},13912:function(w,r,n){"use strict";var e=n(61365),a=Math.max,t=Math.min;w.exports=function(o,f){var V=e(o);return V<0?a(V+f,0):t(V,f)}},61484:function(w,r,n){"use strict";var e=n(24843),a=TypeError;w.exports=function(t){var o=e(t,"number");if(typeof o=="number")throw new a("Can't convert number to bigint");return BigInt(o)}},43806:function(w,r,n){"use strict";var e=n(61365),a=n(10188),t=RangeError;w.exports=function(o){if(o===void 0)return 0;var f=e(o),V=a(f);if(f!==V)throw new t("Wrong length or index");return V}},57591:function(w,r,n){"use strict";var e=n(37457),a=n(16952);w.exports=function(t){return e(a(t))}},61365:function(w,r,n){"use strict";var e=n(21119);w.exports=function(a){var t=+a;return t!==t||t===0?0:e(t)}},10188:function(w,r,n){"use strict";var e=n(61365),a=Math.min;w.exports=function(t){var o=e(t);return o>0?a(o,9007199254740991):0}},46771:function(w,r,n){"use strict";var e=n(16952),a=Object;w.exports=function(t){return a(e(t))}},56043:function(w,r,n){"use strict";var e=n(16140),a=RangeError;w.exports=function(t,o){var f=e(t);if(f%o)throw new a("Wrong offset");return f}},16140:function(w,r,n){"use strict";var e=n(61365),a=RangeError;w.exports=function(t){var o=e(t);if(o<0)throw new a("The argument can't be less than 0");return o}},24843:function(w,r,n){"use strict";var e=n(91495),a=n(77568),t=n(71399),o=n(78060),f=n(13396),V=n(24697),k=TypeError,S=V("toPrimitive");w.exports=function(b,h){if(!a(b)||t(b))return b;var i=o(b,S),c;if(i){if(h===void 0&&(h="default"),c=e(i,b,h),!a(c)||t(c))return c;throw new k("Can't convert object to primitive value")}return h===void 0&&(h="number"),f(b,h)}},767:function(w,r,n){"use strict";var e=n(24843),a=n(71399);w.exports=function(t){var o=e(t,"string");return a(o)?o:o+""}},2650:function(w,r,n){"use strict";var e=n(24697),a=e("toStringTag"),t={};t[a]="z",w.exports=String(t)==="[object z]"},12605:function(w,r,n){"use strict";var e=n(2281),a=String;w.exports=function(t){if(e(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(t)}},15409:function(w){"use strict";var r=Math.round;w.exports=function(n){var e=r(n);return e<0?0:e>255?255:e&255}},89393:function(w){"use strict";var r=String;w.exports=function(n){try{return r(n)}catch(e){return"Object"}}},80185:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(91495),o=n(58310),f=n(86563),V=n(4246),k=n(37336),S=n(60077),b=n(87458),h=n(37909),i=n(5841),c=n(10188),m=n(43806),d=n(56043),u=n(15409),s=n(767),l=n(45299),C=n(2281),g=n(77568),v=n(71399),p=n(80674),N=n(21287),y=n(76649),B=n(37310).f,I=n(3805),L=n(22603).forEach,T=n(58491),A=n(73936),x=n(74595),E=n(27193),M=n(78008),j=n(5419),O=n(5781),R=j.get,D=j.set,W=j.enforce,U=x.f,H=E.f,K=a.RangeError,G=k.ArrayBuffer,Y=G.prototype,J=k.DataView,Z=V.NATIVE_ARRAY_BUFFER_VIEWS,le=V.TYPED_ARRAY_TAG,ne=V.TypedArray,me=V.TypedArrayPrototype,he=V.isTypedArray,ye="BYTES_PER_ELEMENT",te="Wrong length",Q=function(Se,Ie){A(Se,Ie,{configurable:!0,get:function(){function Ce(){return R(this)[Ie]}return Ce}()})},oe=function(Se){var Ie;return N(Y,Se)||(Ie=C(Se))==="ArrayBuffer"||Ie==="SharedArrayBuffer"},fe=function(Se,Ie){return he(Se)&&!v(Ie)&&Ie in Se&&i(+Ie)&&Ie>=0},ie=function(){function re(Se,Ie){return Ie=s(Ie),fe(Se,Ie)?b(2,Se[Ie]):H(Se,Ie)}return re}(),ue=function(){function re(Se,Ie,Ce){return Ie=s(Ie),fe(Se,Ie)&&g(Ce)&&l(Ce,"value")&&!l(Ce,"get")&&!l(Ce,"set")&&!Ce.configurable&&(!l(Ce,"writable")||Ce.writable)&&(!l(Ce,"enumerable")||Ce.enumerable)?(Se[Ie]=Ce.value,Se):U(Se,Ie,Ce)}return re}();o?(Z||(E.f=ie,x.f=ue,Q(me,"buffer"),Q(me,"byteOffset"),Q(me,"byteLength"),Q(me,"length")),e({target:"Object",stat:!0,forced:!Z},{getOwnPropertyDescriptor:ie,defineProperty:ue}),w.exports=function(re,Se,Ie){var Ce=re.match(/\d+/)[0]/8,ge=re+(Ie?"Clamped":"")+"Array",ke="get"+re,Ve="set"+re,Le=a[ge],we=Le,xe=we&&we.prototype,Re={},He=function(se,be){var Pe=R(se);return Pe.view[ke](be*Ce+Pe.byteOffset,!0)},Ne=function(se,be,Pe){var je=R(se);je.view[Ve](be*Ce+je.byteOffset,Ie?u(Pe):Pe,!0)},ae=function(se,be){U(se,be,{get:function(){function Pe(){return He(this,be)}return Pe}(),set:function(){function Pe(je){return Ne(this,be,je)}return Pe}(),enumerable:!0})};Z?f&&(we=Se(function(ve,se,be,Pe){return S(ve,xe),O(function(){return g(se)?oe(se)?Pe!==void 0?new Le(se,d(be,Ce),Pe):be!==void 0?new Le(se,d(be,Ce)):new Le(se):he(se)?M(we,se):t(I,we,se):new Le(m(se))}(),ve,we)}),y&&y(we,ne),L(B(Le),function(ve){ve in we||h(we,ve,Le[ve])}),we.prototype=xe):(we=Se(function(ve,se,be,Pe){S(ve,xe);var je=0,Fe=0,ze,Ue,_e;if(!g(se))_e=m(se),Ue=_e*Ce,ze=new G(Ue);else if(oe(se)){ze=se,Fe=d(be,Ce);var Xe=se.byteLength;if(Pe===void 0){if(Xe%Ce)throw new K(te);if(Ue=Xe-Fe,Ue<0)throw new K(te)}else if(Ue=c(Pe)*Ce,Ue+Fe>Xe)throw new K(te);_e=Ue/Ce}else return he(se)?M(we,se):t(I,we,se);for(D(ve,{buffer:ze,byteOffset:Fe,byteLength:Ue,length:_e,view:new J(ze)});je<_e;)ae(ve,je++)}),y&&y(we,ne),xe=we.prototype=p(me)),xe.constructor!==we&&h(xe,"constructor",we),W(xe).TypedArrayConstructor=we,le&&h(xe,le,ge);var de=we!==Le;Re[ge]=we,e({global:!0,constructor:!0,forced:de,sham:!Z},Re),ye in we||h(we,ye,Ce),ye in xe||h(xe,ye,Ce),T(ge)}):w.exports=function(){}},86563:function(w,r,n){"use strict";var e=n(74685),a=n(40033),t=n(92490),o=n(4246).NATIVE_ARRAY_BUFFER_VIEWS,f=e.ArrayBuffer,V=e.Int8Array;w.exports=!o||!a(function(){V(1)})||!a(function(){new V(-1)})||!t(function(k){new V,new V(null),new V(1.5),new V(k)},!0)||a(function(){return new V(new f(2),1,void 0).length!==1})},45399:function(w,r,n){"use strict";var e=n(78008),a=n(31082);w.exports=function(t,o){return e(a(t),o)}},3805:function(w,r,n){"use strict";var e=n(75754),a=n(91495),t=n(32606),o=n(46771),f=n(24760),V=n(77455),k=n(59201),S=n(76571),b=n(40221),h=n(4246).aTypedArrayConstructor,i=n(61484);w.exports=function(){function c(m){var d=t(this),u=o(m),s=arguments.length,l=s>1?arguments[1]:void 0,C=l!==void 0,g=k(u),v,p,N,y,B,I,L,T;if(g&&!S(g))for(L=V(u,g),T=L.next,u=[];!(I=a(T,L)).done;)u.push(I.value);for(C&&s>2&&(l=e(l,arguments[2])),p=f(u),N=new(h(d))(p),y=b(N),v=0;p>v;v++)B=C?l(u[v],v):u[v],N[v]=y?i(B):+B;return N}return c}()},31082:function(w,r,n){"use strict";var e=n(4246),a=n(28987),t=e.aTypedArrayConstructor,o=e.getTypedArrayConstructor;w.exports=function(f){return t(a(f,o(f)))}},16738:function(w,r,n){"use strict";var e=n(67250),a=0,t=Math.random(),o=e(1 .toString);w.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+o(++a+t,36)}},1062:function(w,r,n){"use strict";var e=n(52357);w.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},80944:function(w,r,n){"use strict";var e=n(58310),a=n(40033);w.exports=e&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},24986:function(w){"use strict";var r=TypeError;w.exports=function(n,e){if(n=51||!a(function(){var l=[];return l[m]=!1,l.concat()[0]!==l}),u=function(C){if(!o(C))return!1;var g=C[m];return g!==void 0?!!g:t(C)},s=!d||!h("concat");e({target:"Array",proto:!0,arity:1,forced:s},{concat:function(){function l(C){var g=f(this),v=b(g,0),p=0,N,y,B,I,L;for(N=-1,B=arguments.length;N1?arguments[1]:void 0)}return f}()})},68933:function(w,r,n){"use strict";var e=n(63964),a=n(88471),t=n(80575);e({target:"Array",proto:!0},{fill:a}),t("fill")},47830:function(w,r,n){"use strict";var e=n(63964),a=n(22603).filter,t=n(44091),o=t("filter");e({target:"Array",proto:!0,forced:!o},{filter:function(){function f(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return f}()})},64094:function(w,r,n){"use strict";var e=n(63964),a=n(22603).findIndex,t=n(80575),o="findIndex",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{findIndex:function(){function V(k){return a(this,k,arguments.length>1?arguments[1]:void 0)}return V}()}),t(o)},13455:function(w,r,n){"use strict";var e=n(63964),a=n(22603).find,t=n(80575),o="find",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{find:function(){function V(k){return a(this,k,arguments.length>1?arguments[1]:void 0)}return V}()}),t(o)},32384:function(w,r,n){"use strict";var e=n(63964),a=n(65561),t=n(10320),o=n(46771),f=n(24760),V=n(57823);e({target:"Array",proto:!0},{flatMap:function(){function k(S){var b=o(this),h=f(b),i;return t(S),i=V(b,0),i.length=a(i,b,b,h,0,1,S,arguments.length>1?arguments[1]:void 0),i}return k}()})},61915:function(w,r,n){"use strict";var e=n(63964),a=n(65561),t=n(46771),o=n(24760),f=n(61365),V=n(57823);e({target:"Array",proto:!0},{flat:function(){function k(){var S=arguments.length?arguments[0]:void 0,b=t(this),h=o(b),i=V(b,0);return i.length=a(i,b,b,h,0,S===void 0?1:f(S)),i}return k}()})},25579:function(w,r,n){"use strict";var e=n(63964),a=n(35601);e({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},63532:function(w,r,n){"use strict";var e=n(63964),a=n(73174),t=n(92490),o=!t(function(f){Array.from(f)});e({target:"Array",stat:!0,forced:o},{from:a})},33425:function(w,r,n){"use strict";var e=n(63964),a=n(14211).includes,t=n(40033),o=n(80575),f=t(function(){return!Array(1).includes()});e({target:"Array",proto:!0,forced:f},{includes:function(){function V(k){return a(this,k,arguments.length>1?arguments[1]:void 0)}return V}()}),o("includes")},43894:function(w,r,n){"use strict";var e=n(63964),a=n(71138),t=n(14211).indexOf,o=n(55528),f=a([].indexOf),V=!!f&&1/f([1],1,-0)<0,k=V||!o("indexOf");e({target:"Array",proto:!0,forced:k},{indexOf:function(){function S(b){var h=arguments.length>1?arguments[1]:void 0;return V?f(this,b,h)||0:t(this,b,h)}return S}()})},99636:function(w,r,n){"use strict";var e=n(63964),a=n(37386);e({target:"Array",stat:!0},{isArray:a})},34570:function(w,r,n){"use strict";var e=n(57591),a=n(80575),t=n(83967),o=n(5419),f=n(74595).f,V=n(65574),k=n(5959),S=n(4493),b=n(58310),h="Array Iterator",i=o.set,c=o.getterFor(h);w.exports=V(Array,"Array",function(d,u){i(this,{type:h,target:e(d),index:0,kind:u})},function(){var d=c(this),u=d.target,s=d.index++;if(!u||s>=u.length)return d.target=void 0,k(void 0,!0);switch(d.kind){case"keys":return k(s,!1);case"values":return k(u[s],!1)}return k([s,u[s]],!1)},"values");var m=t.Arguments=t.Array;if(a("keys"),a("values"),a("entries"),!S&&b&&m.name!=="values")try{f(m,"name",{value:"values"})}catch(d){}},94432:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(37457),o=n(57591),f=n(55528),V=a([].join),k=t!==Object,S=k||!f("join",",");e({target:"Array",proto:!0,forced:S},{join:function(){function b(h){return V(o(this),h===void 0?",":h)}return b}()})},24683:function(w,r,n){"use strict";var e=n(63964),a=n(1325);e({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},69984:function(w,r,n){"use strict";var e=n(63964),a=n(22603).map,t=n(44091),o=t("map");e({target:"Array",proto:!0,forced:!o},{map:function(){function f(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return f}()})},32089:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(1031),o=n(60102),f=Array,V=a(function(){function k(){}return!(f.of.call(k)instanceof k)});e({target:"Array",stat:!0,forced:V},{of:function(){function k(){for(var S=0,b=arguments.length,h=new(t(this)?this:f)(b);b>S;)o(h,S,arguments[S++]);return h.length=b,h}return k}()})},29645:function(w,r,n){"use strict";var e=n(63964),a=n(56844).right,t=n(55528),o=n(5026),f=n(81702),V=!f&&o>79&&o<83,k=V||!t("reduceRight");e({target:"Array",proto:!0,forced:k},{reduceRight:function(){function S(b){return a(this,b,arguments.length,arguments.length>1?arguments[1]:void 0)}return S}()})},60206:function(w,r,n){"use strict";var e=n(63964),a=n(56844).left,t=n(55528),o=n(5026),f=n(81702),V=!f&&o>79&&o<83,k=V||!t("reduce");e({target:"Array",proto:!0,forced:k},{reduce:function(){function S(b){var h=arguments.length;return a(this,b,h,h>1?arguments[1]:void 0)}return S}()})},4788:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(37386),o=a([].reverse),f=[1,2];e({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){function V(){return t(this)&&(this.length=this.length),o(this)}return V}()})},58672:function(w,r,n){"use strict";var e=n(63964),a=n(37386),t=n(1031),o=n(77568),f=n(13912),V=n(24760),k=n(57591),S=n(60102),b=n(24697),h=n(44091),i=n(54602),c=h("slice"),m=b("species"),d=Array,u=Math.max;e({target:"Array",proto:!0,forced:!c},{slice:function(){function s(l,C){var g=k(this),v=V(g),p=f(l,v),N=f(C===void 0?v:C,v),y,B,I;if(a(g)&&(y=g.constructor,t(y)&&(y===d||a(y.prototype))?y=void 0:o(y)&&(y=y[m],y===null&&(y=void 0)),y===d||y===void 0))return i(g,p,N);for(B=new(y===void 0?d:y)(u(N-p,0)),I=0;p1?arguments[1]:void 0)}return f}()})},48968:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(10320),o=n(46771),f=n(24760),V=n(95108),k=n(12605),S=n(40033),b=n(90274),h=n(55528),i=n(652),c=n(19228),m=n(5026),d=n(9342),u=[],s=a(u.sort),l=a(u.push),C=S(function(){u.sort(void 0)}),g=S(function(){u.sort(null)}),v=h("sort"),p=!S(function(){if(m)return m<70;if(!(i&&i>3)){if(c)return!0;if(d)return d<603;var B="",I,L,T,A;for(I=65;I<76;I++){switch(L=String.fromCharCode(I),I){case 66:case 69:case 70:case 72:T=3;break;case 68:case 71:T=4;break;default:T=2}for(A=0;A<47;A++)u.push({k:L+A,v:T})}for(u.sort(function(x,E){return E.v-x.v}),A=0;Ak(T)?1:-1}};e({target:"Array",proto:!0,forced:N},{sort:function(){function B(I){I!==void 0&&t(I);var L=o(this);if(p)return I===void 0?s(L):s(L,I);var T=[],A=f(L),x,E;for(E=0;Eg-y+N;I--)h(C,I-1)}else if(N>y)for(I=g-y;I>v;I--)L=I+y-1,T=I+N-1,L in C?C[T]=C[L]:h(C,T);for(I=0;I9490626562425156e-8?o(h)+V:a(h-1+f(h-1)*f(h+1))}return S}()})},59660:function(w,r,n){"use strict";var e=n(63964),a=Math.asinh,t=Math.log,o=Math.sqrt;function f(k){var S=+k;return!isFinite(S)||S===0?S:S<0?-f(-S):t(S+o(S*S+1))}var V=!(a&&1/a(0)>0);e({target:"Math",stat:!0,forced:V},{asinh:f})},15383:function(w,r,n){"use strict";var e=n(63964),a=Math.atanh,t=Math.log,o=!(a&&1/a(-0)<0);e({target:"Math",stat:!0,forced:o},{atanh:function(){function f(V){var k=+V;return k===0?k:t((1+k)/(1-k))/2}return f}()})},92866:function(w,r,n){"use strict";var e=n(63964),a=n(22172),t=Math.abs,o=Math.pow;e({target:"Math",stat:!0},{cbrt:function(){function f(V){var k=+V;return a(k)*o(t(k),.3333333333333333)}return f}()})},86107:function(w,r,n){"use strict";var e=n(63964),a=Math.floor,t=Math.log,o=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(){function f(V){var k=V>>>0;return k?31-a(t(k+.5)*o):32}return f}()})},29248:function(w,r,n){"use strict";var e=n(63964),a=n(82040),t=Math.cosh,o=Math.abs,f=Math.E,V=!t||t(710)===1/0;e({target:"Math",stat:!0,forced:V},{cosh:function(){function k(S){var b=a(o(S)-1)+1;return(b+1/(b*f*f))*(f/2)}return k}()})},52540:function(w,r,n){"use strict";var e=n(63964),a=n(82040);e({target:"Math",stat:!0,forced:a!==Math.expm1},{expm1:a})},79007:function(w,r,n){"use strict";var e=n(63964),a=n(95867);e({target:"Math",stat:!0},{fround:a})},77199:function(w,r,n){"use strict";var e=n(63964),a=Math.hypot,t=Math.abs,o=Math.sqrt,f=!!a&&a(1/0,NaN)!==1/0;e({target:"Math",stat:!0,arity:2,forced:f},{hypot:function(){function V(k,S){for(var b=0,h=0,i=arguments.length,c=0,m,d;h0?(d=m/c,b+=d*d):b+=m;return c===1/0?1/0:c*o(b)}return V}()})},6522:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=Math.imul,o=a(function(){return t(4294967295,5)!==-5||t.length!==2});e({target:"Math",stat:!0,forced:o},{imul:function(){function f(V,k){var S=65535,b=+V,h=+k,i=S&b,c=S&h;return 0|i*c+((S&b>>>16)*c+i*(S&h>>>16)<<16>>>0)}return f}()})},95542:function(w,r,n){"use strict";var e=n(63964),a=n(75002);e({target:"Math",stat:!0},{log10:a})},2966:function(w,r,n){"use strict";var e=n(63964),a=n(90874);e({target:"Math",stat:!0},{log1p:a})},20997:function(w,r,n){"use strict";var e=n(63964),a=Math.log,t=Math.LN2;e({target:"Math",stat:!0},{log2:function(){function o(f){return a(f)/t}return o}()})},57400:function(w,r,n){"use strict";var e=n(63964),a=n(22172);e({target:"Math",stat:!0},{sign:a})},45571:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(82040),o=Math.abs,f=Math.exp,V=Math.E,k=a(function(){return Math.sinh(-2e-17)!==-2e-17});e({target:"Math",stat:!0,forced:k},{sinh:function(){function S(b){var h=+b;return o(h)<1?(t(h)-t(-h))/2:(f(h-1)-f(-h-1))*(V/2)}return S}()})},54800:function(w,r,n){"use strict";var e=n(63964),a=n(82040),t=Math.exp;e({target:"Math",stat:!0},{tanh:function(){function o(f){var V=+f,k=a(V),S=a(-V);return k===1/0?1:S===1/0?-1:(k-S)/(t(V)+t(-V))}return o}()})},15709:function(w,r,n){"use strict";var e=n(84925);e(Math,"Math",!0)},76059:function(w,r,n){"use strict";var e=n(63964),a=n(21119);e({target:"Math",stat:!0},{trunc:a})},96614:function(w,r,n){"use strict";var e=n(63964),a=n(4493),t=n(58310),o=n(74685),f=n(61765),V=n(67250),k=n(41314),S=n(45299),b=n(5781),h=n(21287),i=n(71399),c=n(24843),m=n(40033),d=n(37310).f,u=n(27193).f,s=n(74595).f,l=n(46438),C=n(92648).trim,g="Number",v=o[g],p=f[g],N=v.prototype,y=o.TypeError,B=V("".slice),I=V("".charCodeAt),L=function(O){var R=c(O,"number");return typeof R=="bigint"?R:T(R)},T=function(O){var R=c(O,"number"),D,W,U,H,K,G,Y,J;if(i(R))throw new y("Cannot convert a Symbol value to a number");if(typeof R=="string"&&R.length>2){if(R=C(R),D=I(R,0),D===43||D===45){if(W=I(R,2),W===88||W===120)return NaN}else if(D===48){switch(I(R,1)){case 66:case 98:U=2,H=49;break;case 79:case 111:U=8,H=55;break;default:return+R}for(K=B(R,2),G=K.length,Y=0;YH)return NaN;return parseInt(K,U)}}return+R},A=k(g,!v(" 0o1")||!v("0b1")||v("+0x1")),x=function(O){return h(N,O)&&m(function(){l(O)})},E=function(){function j(O){var R=arguments.length<1?0:v(L(O));return x(this)?b(Object(R),this,E):R}return j}();E.prototype=N,A&&!a&&(N.constructor=E),e({global:!0,constructor:!0,wrap:!0,forced:A},{Number:E});var M=function(O,R){for(var D=t?d(R):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),W=0,U;D.length>W;W++)S(R,U=D[W])&&!S(O,U)&&s(O,U,u(R,U))};a&&p&&M(f[g],p),(A||a)&&M(f[g],v)},324:function(w,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},90426:function(w,r,n){"use strict";var e=n(63964),a=n(3294);e({target:"Number",stat:!0},{isFinite:a})},95443:function(w,r,n){"use strict";var e=n(63964),a=n(5841);e({target:"Number",stat:!0},{isInteger:a})},87968:function(w,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0},{isNaN:function(){function a(t){return t!==t}return a}()})},55007:function(w,r,n){"use strict";var e=n(63964),a=n(5841),t=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(){function o(f){return a(f)&&t(f)<=9007199254740991}return o}()})},55323:function(w,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},13521:function(w,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},5006:function(w,r,n){"use strict";var e=n(63964),a=n(28506);e({target:"Number",stat:!0,forced:Number.parseFloat!==a},{parseFloat:a})},99009:function(w,r,n){"use strict";var e=n(63964),a=n(13693);e({target:"Number",stat:!0,forced:Number.parseInt!==a},{parseInt:a})},85770:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(61365),o=n(46438),f=n(62443),V=n(40033),k=RangeError,S=String,b=Math.floor,h=a(f),i=a("".slice),c=a(1 .toFixed),m=function g(v,p,N){return p===0?N:p%2===1?g(v,p-1,N*v):g(v*v,p/2,N)},d=function(v){for(var p=0,N=v;N>=4096;)p+=12,N/=4096;for(;N>=2;)p+=1,N/=2;return p},u=function(v,p,N){for(var y=-1,B=N;++y<6;)B+=p*v[y],v[y]=B%1e7,B=b(B/1e7)},s=function(v,p){for(var N=6,y=0;--N>=0;)y+=v[N],v[N]=b(y/p),y=y%p*1e7},l=function(v){for(var p=6,N="";--p>=0;)if(N!==""||p===0||v[p]!==0){var y=S(v[p]);N=N===""?y:N+h("0",7-y.length)+y}return N},C=V(function(){return c(8e-5,3)!=="0.000"||c(.9,0)!=="1"||c(1.255,2)!=="1.25"||c(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!V(function(){c({})});e({target:"Number",proto:!0,forced:C},{toFixed:function(){function g(v){var p=o(this),N=t(v),y=[0,0,0,0,0,0],B="",I="0",L,T,A,x;if(N<0||N>20)throw new k("Incorrect fraction digits");if(p!==p)return"NaN";if(p<=-1e21||p>=1e21)return S(p);if(p<0&&(B="-",p=-p),p>1e-21)if(L=d(p*m(2,69,1))-69,T=L<0?p*m(2,-L,1):p/m(2,L,1),T*=4503599627370496,L=52-L,L>0){for(u(y,0,T),A=N;A>=7;)u(y,1e7,0),A-=7;for(u(y,m(10,A,1),0),A=L-1;A>=23;)s(y,8388608),A-=23;s(y,1<0?(x=I.length,I=B+(x<=N?"0."+h("0",N-x)+I:i(I,0,x-N)+"."+i(I,x-N))):I=B+I,I}return g}()})},23532:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(40033),o=n(46438),f=a(1 .toPrecision),V=t(function(){return f(1,void 0)!=="1"})||!t(function(){f({})});e({target:"Number",proto:!0,forced:V},{toPrecision:function(){function k(S){return S===void 0?f(o(this)):f(o(this),S)}return k}()})},87119:function(w,r,n){"use strict";var e=n(63964),a=n(41143);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},78618:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(80674);e({target:"Object",stat:!0,sham:!a},{create:t})},27129:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(10320),f=n(46771),V=n(74595);a&&e({target:"Object",proto:!0,forced:t},{__defineGetter__:function(){function k(S,b){V.f(f(this),S,{get:o(b),enumerable:!0,configurable:!0})}return k}()})},31943:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(24239).f;e({target:"Object",stat:!0,forced:Object.defineProperties!==t,sham:!a},{defineProperties:t})},3579:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(74595).f;e({target:"Object",stat:!0,forced:Object.defineProperty!==t,sham:!a},{defineProperty:t})},97397:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(10320),f=n(46771),V=n(74595);a&&e({target:"Object",proto:!0,forced:t},{__defineSetter__:function(){function k(S,b){V.f(f(this),S,{set:o(b),enumerable:!0,configurable:!0})}return k}()})},85028:function(w,r,n){"use strict";var e=n(63964),a=n(70915).entries;e({target:"Object",stat:!0},{entries:function(){function t(o){return a(o)}return t}()})},8225:function(w,r,n){"use strict";var e=n(63964),a=n(50730),t=n(40033),o=n(77568),f=n(81969).onFreeze,V=Object.freeze,k=t(function(){V(1)});e({target:"Object",stat:!0,forced:k,sham:!a},{freeze:function(){function S(b){return V&&o(b)?V(f(b)):b}return S}()})},43331:function(w,r,n){"use strict";var e=n(63964),a=n(49450),t=n(60102);e({target:"Object",stat:!0},{fromEntries:function(){function o(f){var V={};return a(f,function(k,S){t(V,k,S)},{AS_ENTRIES:!0}),V}return o}()})},62289:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(57591),o=n(27193).f,f=n(58310),V=!f||a(function(){o(1)});e({target:"Object",stat:!0,forced:V,sham:!f},{getOwnPropertyDescriptor:function(){function k(S,b){return o(t(S),b)}return k}()})},56196:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(97921),o=n(57591),f=n(27193),V=n(60102);e({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(){function k(S){for(var b=o(S),h=f.f,i=t(b),c={},m=0,d,u;i.length>m;)u=h(b,d=i[m++]),u!==void 0&&V(c,d,u);return c}return k}()})},2950:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(81644).f,o=a(function(){return!Object.getOwnPropertyNames(1)});e({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:t})},28603:function(w,r,n){"use strict";var e=n(63964),a=n(52357),t=n(40033),o=n(89235),f=n(46771),V=!a||t(function(){o.f(1)});e({target:"Object",stat:!0,forced:V},{getOwnPropertySymbols:function(){function k(S){var b=o.f;return b?b(f(S)):[]}return k}()})},44205:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(46771),o=n(36917),f=n(9225),V=a(function(){o(1)});e({target:"Object",stat:!0,forced:V,sham:!f},{getPrototypeOf:function(){function k(S){return o(t(S))}return k}()})},83186:function(w,r,n){"use strict";var e=n(63964),a=n(81834);e({target:"Object",stat:!0,forced:Object.isExtensible!==a},{isExtensible:a})},76065:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(77568),o=n(7462),f=n(3782),V=Object.isFrozen,k=f||a(function(){V(1)});e({target:"Object",stat:!0,forced:k},{isFrozen:function(){function S(b){return!t(b)||f&&o(b)==="ArrayBuffer"?!0:V?V(b):!1}return S}()})},13411:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(77568),o=n(7462),f=n(3782),V=Object.isSealed,k=f||a(function(){V(1)});e({target:"Object",stat:!0,forced:k},{isSealed:function(){function S(b){return!t(b)||f&&o(b)==="ArrayBuffer"?!0:V?V(b):!1}return S}()})},76882:function(w,r,n){"use strict";var e=n(63964),a=n(5700);e({target:"Object",stat:!0},{is:a})},26634:function(w,r,n){"use strict";var e=n(63964),a=n(46771),t=n(18450),o=n(40033),f=o(function(){t(1)});e({target:"Object",stat:!0,forced:f},{keys:function(){function V(k){return t(a(k))}return V}()})},53118:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(46771),f=n(767),V=n(36917),k=n(27193).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupGetter__:function(){function S(b){var h=o(this),i=f(b),c;do if(c=k(h,i))return c.get;while(h=V(h))}return S}()})},42514:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(46771),f=n(767),V=n(36917),k=n(27193).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupSetter__:function(){function S(b){var h=o(this),i=f(b),c;do if(c=k(h,i))return c.set;while(h=V(h))}return S}()})},84353:function(w,r,n){"use strict";var e=n(63964),a=n(77568),t=n(81969).onFreeze,o=n(50730),f=n(40033),V=Object.preventExtensions,k=f(function(){V(1)});e({target:"Object",stat:!0,forced:k,sham:!o},{preventExtensions:function(){function S(b){return V&&a(b)?V(t(b)):b}return S}()})},62987:function(w,r,n){"use strict";var e=n(63964),a=n(77568),t=n(81969).onFreeze,o=n(50730),f=n(40033),V=Object.seal,k=f(function(){V(1)});e({target:"Object",stat:!0,forced:k,sham:!o},{seal:function(){function S(b){return V&&a(b)?V(t(b)):b}return S}()})},48993:function(w,r,n){"use strict";var e=n(63964),a=n(76649);e({target:"Object",stat:!0},{setPrototypeOf:a})},52917:function(w,r,n){"use strict";var e=n(2650),a=n(55938),t=n(2509);e||a(Object.prototype,"toString",t,{unsafe:!0})},4972:function(w,r,n){"use strict";var e=n(63964),a=n(70915).values;e({target:"Object",stat:!0},{values:function(){function t(o){return a(o)}return t}()})},28913:function(w,r,n){"use strict";var e=n(63964),a=n(28506);e({global:!0,forced:parseFloat!==a},{parseFloat:a})},36382:function(w,r,n){"use strict";var e=n(63964),a=n(13693);e({global:!0,forced:parseInt!==a},{parseInt:a})},48865:function(w,r,n){"use strict";var e=n(63964),a=n(91495),t=n(10320),o=n(81837),f=n(10729),V=n(49450),k=n(48199);e({target:"Promise",stat:!0,forced:k},{all:function(){function S(b){var h=this,i=o.f(h),c=i.resolve,m=i.reject,d=f(function(){var u=t(h.resolve),s=[],l=0,C=1;V(b,function(g){var v=l++,p=!1;C++,a(u,h,g).then(function(N){p||(p=!0,s[v]=N,--C||c(s))},m)}),--C||c(s)});return d.error&&m(d.value),i.promise}return S}()})},70641:function(w,r,n){"use strict";var e=n(63964),a=n(4493),t=n(74854).CONSTRUCTOR,o=n(67512),f=n(4009),V=n(55747),k=n(55938),S=o&&o.prototype;if(e({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(){function h(i){return this.then(void 0,i)}return h}()}),!a&&V(o)){var b=f("Promise").prototype.catch;S.catch!==b&&k(S,"catch",b,{unsafe:!0})}},75946:function(w,r,n){"use strict";var e=n(63964),a=n(4493),t=n(81702),o=n(74685),f=n(91495),V=n(55938),k=n(76649),S=n(84925),b=n(58491),h=n(10320),i=n(55747),c=n(77568),m=n(60077),d=n(28987),u=n(60375).set,s=n(37713),l=n(72259),C=n(10729),g=n(9547),v=n(5419),p=n(67512),N=n(74854),y=n(81837),B="Promise",I=N.CONSTRUCTOR,L=N.REJECTION_EVENT,T=N.SUBCLASSING,A=v.getterFor(B),x=v.set,E=p&&p.prototype,M=p,j=E,O=o.TypeError,R=o.document,D=o.process,W=y.f,U=W,H=!!(R&&R.createEvent&&o.dispatchEvent),K="unhandledrejection",G="rejectionhandled",Y=0,J=1,Z=2,le=1,ne=2,me,he,ye,te,Q=function(Ve){var Le;return c(Ve)&&i(Le=Ve.then)?Le:!1},oe=function(Ve,Le){var we=Le.value,xe=Le.state===J,Re=xe?Ve.ok:Ve.fail,He=Ve.resolve,Ne=Ve.reject,ae=Ve.domain,de,ve,se;try{Re?(xe||(Le.rejection===ne&&Se(Le),Le.rejection=le),Re===!0?de=we:(ae&&ae.enter(),de=Re(we),ae&&(ae.exit(),se=!0)),de===Ve.promise?Ne(new O("Promise-chain cycle")):(ve=Q(de))?f(ve,de,He,Ne):He(de)):Ne(we)}catch(be){ae&&!se&&ae.exit(),Ne(be)}},fe=function(Ve,Le){Ve.notified||(Ve.notified=!0,s(function(){for(var we=Ve.reactions,xe;xe=we.get();)oe(xe,Ve);Ve.notified=!1,Le&&!Ve.rejection&&ue(Ve)}))},ie=function(Ve,Le,we){var xe,Re;H?(xe=R.createEvent("Event"),xe.promise=Le,xe.reason=we,xe.initEvent(Ve,!1,!0),o.dispatchEvent(xe)):xe={promise:Le,reason:we},!L&&(Re=o["on"+Ve])?Re(xe):Ve===K&&l("Unhandled promise rejection",we)},ue=function(Ve){f(u,o,function(){var Le=Ve.facade,we=Ve.value,xe=re(Ve),Re;if(xe&&(Re=C(function(){t?D.emit("unhandledRejection",we,Le):ie(K,Le,we)}),Ve.rejection=t||re(Ve)?ne:le,Re.error))throw Re.value})},re=function(Ve){return Ve.rejection!==le&&!Ve.parent},Se=function(Ve){f(u,o,function(){var Le=Ve.facade;t?D.emit("rejectionHandled",Le):ie(G,Le,Ve.value)})},Ie=function(Ve,Le,we){return function(xe){Ve(Le,xe,we)}},Ce=function(Ve,Le,we){Ve.done||(Ve.done=!0,we&&(Ve=we),Ve.value=Le,Ve.state=Z,fe(Ve,!0))},ge=function ke(Ve,Le,we){if(!Ve.done){Ve.done=!0,we&&(Ve=we);try{if(Ve.facade===Le)throw new O("Promise can't be resolved itself");var xe=Q(Le);xe?s(function(){var Re={done:!1};try{f(xe,Le,Ie(ke,Re,Ve),Ie(Ce,Re,Ve))}catch(He){Ce(Re,He,Ve)}}):(Ve.value=Le,Ve.state=J,fe(Ve,!1))}catch(Re){Ce({done:!1},Re,Ve)}}};if(I&&(M=function(){function ke(Ve){m(this,j),h(Ve),f(me,this);var Le=A(this);try{Ve(Ie(ge,Le),Ie(Ce,Le))}catch(we){Ce(Le,we)}}return ke}(),j=M.prototype,me=function(){function ke(Ve){x(this,{type:B,done:!1,notified:!1,parent:!1,reactions:new g,rejection:!1,state:Y,value:void 0})}return ke}(),me.prototype=V(j,"then",function(){function ke(Ve,Le){var we=A(this),xe=W(d(this,M));return we.parent=!0,xe.ok=i(Ve)?Ve:!0,xe.fail=i(Le)&&Le,xe.domain=t?D.domain:void 0,we.state===Y?we.reactions.add(xe):s(function(){oe(xe,we)}),xe.promise}return ke}()),he=function(){var Ve=new me,Le=A(Ve);this.promise=Ve,this.resolve=Ie(ge,Le),this.reject=Ie(Ce,Le)},y.f=W=function(Ve){return Ve===M||Ve===ye?new he(Ve):U(Ve)},!a&&i(p)&&E!==Object.prototype)){te=E.then,T||V(E,"then",function(){function ke(Ve,Le){var we=this;return new M(function(xe,Re){f(te,we,xe,Re)}).then(Ve,Le)}return ke}(),{unsafe:!0});try{delete E.constructor}catch(ke){}k&&k(E,j)}e({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:M}),S(M,B,!1,!0),b(B)},69861:function(w,r,n){"use strict";var e=n(63964),a=n(4493),t=n(67512),o=n(40033),f=n(4009),V=n(55747),k=n(28987),S=n(66628),b=n(55938),h=t&&t.prototype,i=!!t&&o(function(){h.finally.call({then:function(){function m(){}return m}()},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:i},{finally:function(){function m(d){var u=k(this,f("Promise")),s=V(d);return this.then(s?function(l){return S(u,d()).then(function(){return l})}:d,s?function(l){return S(u,d()).then(function(){throw l})}:d)}return m}()}),!a&&V(t)){var c=f("Promise").prototype.finally;h.finally!==c&&b(h,"finally",c,{unsafe:!0})}},53092:function(w,r,n){"use strict";n(75946),n(48865),n(70641),n(16937),n(41719),n(59321)},16937:function(w,r,n){"use strict";var e=n(63964),a=n(91495),t=n(10320),o=n(81837),f=n(10729),V=n(49450),k=n(48199);e({target:"Promise",stat:!0,forced:k},{race:function(){function S(b){var h=this,i=o.f(h),c=i.reject,m=f(function(){var d=t(h.resolve);V(b,function(u){a(d,h,u).then(i.resolve,c)})});return m.error&&c(m.value),i.promise}return S}()})},41719:function(w,r,n){"use strict";var e=n(63964),a=n(81837),t=n(74854).CONSTRUCTOR;e({target:"Promise",stat:!0,forced:t},{reject:function(){function o(f){var V=a.f(this),k=V.reject;return k(f),V.promise}return o}()})},59321:function(w,r,n){"use strict";var e=n(63964),a=n(4009),t=n(4493),o=n(67512),f=n(74854).CONSTRUCTOR,V=n(66628),k=a("Promise"),S=t&&!f;e({target:"Promise",stat:!0,forced:t||f},{resolve:function(){function b(h){return V(S&&this===k?o:this,h)}return b}()})},29674:function(w,r,n){"use strict";var e=n(63964),a=n(61267),t=n(10320),o=n(30365),f=n(40033),V=!f(function(){Reflect.apply(function(){})});e({target:"Reflect",stat:!0,forced:V},{apply:function(){function k(S,b,h){return a(t(S),b,o(h))}return k}()})},81543:function(w,r,n){"use strict";var e=n(63964),a=n(4009),t=n(61267),o=n(66284),f=n(32606),V=n(30365),k=n(77568),S=n(80674),b=n(40033),h=a("Reflect","construct"),i=Object.prototype,c=[].push,m=b(function(){function s(){}return!(h(function(){},[],s)instanceof s)}),d=!b(function(){h(function(){})}),u=m||d;e({target:"Reflect",stat:!0,forced:u,sham:u},{construct:function(){function s(l,C){f(l),V(C);var g=arguments.length<3?l:f(arguments[2]);if(d&&!m)return h(l,C,g);if(l===g){switch(C.length){case 0:return new l;case 1:return new l(C[0]);case 2:return new l(C[0],C[1]);case 3:return new l(C[0],C[1],C[2]);case 4:return new l(C[0],C[1],C[2],C[3])}var v=[null];return t(c,v,C),new(t(o,l,v))}var p=g.prototype,N=S(k(p)?p:i),y=t(l,N,C);return k(y)?y:N}return s}()})},9373:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(30365),o=n(767),f=n(74595),V=n(40033),k=V(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});e({target:"Reflect",stat:!0,forced:k,sham:!a},{defineProperty:function(){function S(b,h,i){t(b);var c=o(h);t(i);try{return f.f(b,c,i),!0}catch(m){return!1}}return S}()})},45093:function(w,r,n){"use strict";var e=n(63964),a=n(30365),t=n(27193).f;e({target:"Reflect",stat:!0},{deleteProperty:function(){function o(f,V){var k=t(a(f),V);return k&&!k.configurable?!1:delete f[V]}return o}()})},5815:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(30365),o=n(27193);e({target:"Reflect",stat:!0,sham:!a},{getOwnPropertyDescriptor:function(){function f(V,k){return o.f(t(V),k)}return f}()})},88527:function(w,r,n){"use strict";var e=n(63964),a=n(30365),t=n(36917),o=n(9225);e({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(){function f(V){return t(a(V))}return f}()})},63074:function(w,r,n){"use strict";var e=n(63964),a=n(91495),t=n(77568),o=n(30365),f=n(98373),V=n(27193),k=n(36917);function S(b,h){var i=arguments.length<3?b:arguments[2],c,m;if(o(b)===i)return b[h];if(c=V.f(b,h),c)return f(c)?c.value:c.get===void 0?void 0:a(c.get,i);if(t(m=k(b)))return S(m,h,i)}e({target:"Reflect",stat:!0},{get:S})},66390:function(w,r,n){"use strict";var e=n(63964);e({target:"Reflect",stat:!0},{has:function(){function a(t,o){return o in t}return a}()})},7784:function(w,r,n){"use strict";var e=n(63964),a=n(30365),t=n(81834);e({target:"Reflect",stat:!0},{isExtensible:function(){function o(f){return a(f),t(f)}return o}()})},50551:function(w,r,n){"use strict";var e=n(63964),a=n(97921);e({target:"Reflect",stat:!0},{ownKeys:a})},76483:function(w,r,n){"use strict";var e=n(63964),a=n(4009),t=n(30365),o=n(50730);e({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(){function f(V){t(V);try{var k=a("Object","preventExtensions");return k&&k(V),!0}catch(S){return!1}}return f}()})},63915:function(w,r,n){"use strict";var e=n(63964),a=n(30365),t=n(35908),o=n(76649);o&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(){function f(V,k){a(V),t(k);try{return o(V,k),!0}catch(S){return!1}}return f}()})},92046:function(w,r,n){"use strict";var e=n(63964),a=n(91495),t=n(30365),o=n(77568),f=n(98373),V=n(40033),k=n(74595),S=n(27193),b=n(36917),h=n(87458);function i(m,d,u){var s=arguments.length<4?m:arguments[3],l=S.f(t(m),d),C,g,v;if(!l){if(o(g=b(m)))return i(g,d,u,s);l=h(0)}if(f(l)){if(l.writable===!1||!o(s))return!1;if(C=S.f(s,d)){if(C.get||C.set||C.writable===!1)return!1;C.value=u,k.f(s,d,C)}else k.f(s,d,h(0,u))}else{if(v=l.set,v===void 0)return!1;a(v,s,u)}return!0}var c=V(function(){var m=function(){},d=k.f(new m,"a",{configurable:!0});return Reflect.set(m.prototype,"a",1,d)!==!1});e({target:"Reflect",stat:!0,forced:c},{set:i})},51454:function(w,r,n){"use strict";var e=n(58310),a=n(74685),t=n(67250),o=n(41314),f=n(5781),V=n(37909),k=n(80674),S=n(37310).f,b=n(21287),h=n(72586),i=n(12605),c=n(73392),m=n(62115),d=n(34550),u=n(55938),s=n(40033),l=n(45299),C=n(5419).enforce,g=n(58491),v=n(24697),p=n(39173),N=n(35688),y=v("match"),B=a.RegExp,I=B.prototype,L=a.SyntaxError,T=t(I.exec),A=t("".charAt),x=t("".replace),E=t("".indexOf),M=t("".slice),j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,O=/a/g,R=/a/g,D=new B(O)!==O,W=m.MISSED_STICKY,U=m.UNSUPPORTED_Y,H=e&&(!D||W||p||N||s(function(){return R[y]=!1,B(O)!==O||B(R)===R||String(B(O,"i"))!=="/a/i"})),K=function(ne){for(var me=ne.length,he=0,ye="",te=!1,Q;he<=me;he++){if(Q=A(ne,he),Q==="\\"){ye+=Q+A(ne,++he);continue}!te&&Q==="."?ye+="[\\s\\S]":(Q==="["?te=!0:Q==="]"&&(te=!1),ye+=Q)}return ye},G=function(ne){for(var me=ne.length,he=0,ye="",te=[],Q=k(null),oe=!1,fe=!1,ie=0,ue="",re;he<=me;he++){if(re=A(ne,he),re==="\\")re+=A(ne,++he);else if(re==="]")oe=!1;else if(!oe)switch(!0){case re==="[":oe=!0;break;case re==="(":T(j,M(ne,he+1))&&(he+=2,fe=!0),ye+=re,ie++;continue;case(re===">"&&fe):if(ue===""||l(Q,ue))throw new L("Invalid capture group name");Q[ue]=!0,te[te.length]=[ue,ie],fe=!1,ue="";continue}fe?ue+=re:ye+=re}return[ye,te]};if(o("RegExp",H)){for(var Y=function(){function le(ne,me){var he=b(I,this),ye=h(ne),te=me===void 0,Q=[],oe=ne,fe,ie,ue,re,Se,Ie;if(!he&&ye&&te&&ne.constructor===Y)return ne;if((ye||b(I,ne))&&(ne=ne.source,te&&(me=c(oe))),ne=ne===void 0?"":i(ne),me=me===void 0?"":i(me),oe=ne,p&&"dotAll"in O&&(ie=!!me&&E(me,"s")>-1,ie&&(me=x(me,/s/g,""))),fe=me,W&&"sticky"in O&&(ue=!!me&&E(me,"y")>-1,ue&&U&&(me=x(me,/y/g,""))),N&&(re=G(ne),ne=re[0],Q=re[1]),Se=f(B(ne,me),he?this:I,Y),(ie||ue||Q.length)&&(Ie=C(Se),ie&&(Ie.dotAll=!0,Ie.raw=Y(K(ne),fe)),ue&&(Ie.sticky=!0),Q.length&&(Ie.groups=Q)),ne!==oe)try{V(Se,"source",oe===""?"(?:)":oe)}catch(Ce){}return Se}return le}(),J=S(B),Z=0;J.length>Z;)d(Y,B,J[Z++]);I.constructor=Y,Y.prototype=I,u(a,"RegExp",Y,{constructor:!0})}g("RegExp")},79669:function(w,r,n){"use strict";var e=n(63964),a=n(14489);e({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},23057:function(w,r,n){"use strict";var e=n(74685),a=n(58310),t=n(73936),o=n(70901),f=n(40033),V=e.RegExp,k=V.prototype,S=a&&f(function(){var b=!0;try{V(".","d")}catch(l){b=!1}var h={},i="",c=b?"dgimsy":"gimsy",m=function(C,g){Object.defineProperty(h,C,{get:function(){function v(){return i+=g,!0}return v}()})},d={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};b&&(d.hasIndices="d");for(var u in d)m(u,d[u]);var s=Object.getOwnPropertyDescriptor(k,"flags").get.call(h);return s!==c||i!==c});S&&t(k,"flags",{configurable:!0,get:o})},57983:function(w,r,n){"use strict";var e=n(70520).PROPER,a=n(55938),t=n(30365),o=n(12605),f=n(40033),V=n(73392),k="toString",S=RegExp.prototype,b=S[k],h=f(function(){return b.call({source:"a",flags:"b"})!=="/a/b"}),i=e&&b.name!==k;(h||i)&&a(S,k,function(){function c(){var m=t(this),d=o(m.source),u=o(V(m));return"/"+d+"/"+u}return c}(),{unsafe:!0})},1963:function(w,r,n){"use strict";var e=n(45150),a=n(41028);e("Set",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},17953:function(w,r,n){"use strict";n(1963)},95309:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("anchor")},{anchor:function(){function o(f){return a(this,"a","name",f)}return o}()})},82256:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("big")},{big:function(){function o(){return a(this,"big","","")}return o}()})},49484:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("blink")},{blink:function(){function o(){return a(this,"blink","","")}return o}()})},38931:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("bold")},{bold:function(){function o(){return a(this,"b","","")}return o}()})},30442:function(w,r,n){"use strict";var e=n(63964),a=n(50233).codeAt;e({target:"String",proto:!0},{codePointAt:function(){function t(o){return a(this,o)}return t}()})},6403:function(w,r,n){"use strict";var e=n(63964),a=n(71138),t=n(27193).f,o=n(10188),f=n(12605),V=n(86213),k=n(16952),S=n(45490),b=n(4493),h=a("".slice),i=Math.min,c=S("endsWith"),m=!b&&!c&&!!function(){var d=t(String.prototype,"endsWith");return d&&!d.writable}();e({target:"String",proto:!0,forced:!m&&!c},{endsWith:function(){function d(u){var s=f(k(this));V(u);var l=arguments.length>1?arguments[1]:void 0,C=s.length,g=l===void 0?C:i(o(l),C),v=f(u);return h(s,g-v.length,g)===v}return d}()})},39308:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fixed")},{fixed:function(){function o(){return a(this,"tt","","")}return o}()})},91550:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fontcolor")},{fontcolor:function(){function o(f){return a(this,"font","color",f)}return o}()})},75008:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fontsize")},{fontsize:function(){function o(f){return a(this,"font","size",f)}return o}()})},9867:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(13912),o=RangeError,f=String.fromCharCode,V=String.fromCodePoint,k=a([].join),S=!!V&&V.length!==1;e({target:"String",stat:!0,arity:1,forced:S},{fromCodePoint:function(){function b(h){for(var i=[],c=arguments.length,m=0,d;c>m;){if(d=+arguments[m++],t(d,1114111)!==d)throw new o(d+" is not a valid code point");i[m]=d<65536?f(d):f(((d-=65536)>>10)+55296,d%1024+56320)}return k(i,"")}return b}()})},43673:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(86213),o=n(16952),f=n(12605),V=n(45490),k=a("".indexOf);e({target:"String",proto:!0,forced:!V("includes")},{includes:function(){function S(b){return!!~k(f(o(this)),f(t(b)),arguments.length>1?arguments[1]:void 0)}return S}()})},56027:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("italics")},{italics:function(){function o(){return a(this,"i","","")}return o}()})},12354:function(w,r,n){"use strict";var e=n(50233).charAt,a=n(12605),t=n(5419),o=n(65574),f=n(5959),V="String Iterator",k=t.set,S=t.getterFor(V);o(String,"String",function(b){k(this,{type:V,string:a(b),index:0})},function(){function b(){var h=S(this),i=h.string,c=h.index,m;return c>=i.length?f(void 0,!0):(m=e(i,c),h.index+=m.length,f(m,!1))}return b}())},50340:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("link")},{link:function(){function o(f){return a(this,"a","href",f)}return o}()})},22515:function(w,r,n){"use strict";var e=n(91495),a=n(79942),t=n(30365),o=n(42871),f=n(10188),V=n(12605),k=n(16952),S=n(78060),b=n(35483),h=n(28340);a("match",function(i,c,m){return[function(){function d(u){var s=k(this),l=o(u)?void 0:S(u,i);return l?e(l,u,s):new RegExp(u)[i](V(s))}return d}(),function(d){var u=t(this),s=V(d),l=m(c,u,s);if(l.done)return l.value;if(!u.global)return h(u,s);var C=u.unicode;u.lastIndex=0;for(var g=[],v=0,p;(p=h(u,s))!==null;){var N=V(p[0]);g[v]=N,N===""&&(u.lastIndex=b(s,f(u.lastIndex),C)),v++}return v===0?null:g}]})},5143:function(w,r,n){"use strict";var e=n(63964),a=n(24051).end,t=n(34125);e({target:"String",proto:!0,forced:t},{padEnd:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},93514:function(w,r,n){"use strict";var e=n(63964),a=n(24051).start,t=n(34125);e({target:"String",proto:!0,forced:t},{padStart:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},5416:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(57591),o=n(46771),f=n(12605),V=n(24760),k=a([].push),S=a([].join);e({target:"String",stat:!0},{raw:function(){function b(h){var i=t(o(h).raw),c=V(i);if(!c)return"";for(var m=arguments.length,d=[],u=0;;){if(k(d,f(i[u++])),u===c)return S(d,"");u")!=="7"});o("replace",function(x,E,M){var j=T?"$":"$0";return[function(){function O(R,D){var W=c(this),U=S(R)?void 0:d(R,C);return U?a(U,R,W,D):a(E,i(W),R,D)}return O}(),function(O,R){var D=V(this),W=i(O);if(typeof R=="string"&&y(R,j)===-1&&y(R,"$<")===-1){var U=M(E,D,W,R);if(U.done)return U.value}var H=k(R);H||(R=i(R));var K=D.global,G;K&&(G=D.unicode,D.lastIndex=0);for(var Y=[],J;J=s(D,W),!(J===null||(N(Y,J),!K));){var Z=i(J[0]);Z===""&&(D.lastIndex=m(W,h(D.lastIndex),G))}for(var le="",ne=0,me=0;me=ne&&(le+=B(W,ne,ye)+Q,ne=ye+he.length)}return le+B(W,ne)}]},!A||!L||T)},63272:function(w,r,n){"use strict";var e=n(91495),a=n(79942),t=n(30365),o=n(42871),f=n(16952),V=n(5700),k=n(12605),S=n(78060),b=n(28340);a("search",function(h,i,c){return[function(){function m(d){var u=f(this),s=o(d)?void 0:S(d,h);return s?e(s,d,u):new RegExp(d)[h](k(u))}return m}(),function(m){var d=t(this),u=k(m),s=c(i,d,u);if(s.done)return s.value;var l=d.lastIndex;V(l,0)||(d.lastIndex=0);var C=b(d,u);return V(d.lastIndex,l)||(d.lastIndex=l),C===null?-1:C.index}]})},34325:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("small")},{small:function(){function o(){return a(this,"small","","")}return o}()})},39930:function(w,r,n){"use strict";var e=n(91495),a=n(67250),t=n(79942),o=n(30365),f=n(42871),V=n(16952),k=n(28987),S=n(35483),b=n(10188),h=n(12605),i=n(78060),c=n(28340),m=n(62115),d=n(40033),u=m.UNSUPPORTED_Y,s=4294967295,l=Math.min,C=a([].push),g=a("".slice),v=!d(function(){var N=/(?:)/,y=N.exec;N.exec=function(){return y.apply(this,arguments)};var B="ab".split(N);return B.length!==2||B[0]!=="a"||B[1]!=="b"}),p="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;t("split",function(N,y,B){var I="0".split(void 0,0).length?function(L,T){return L===void 0&&T===0?[]:e(y,this,L,T)}:y;return[function(){function L(T,A){var x=V(this),E=f(T)?void 0:i(T,N);return E?e(E,T,x,A):e(I,h(x),T,A)}return L}(),function(L,T){var A=o(this),x=h(L);if(!p){var E=B(I,A,x,T,I!==y);if(E.done)return E.value}var M=k(A,RegExp),j=A.unicode,O=(A.ignoreCase?"i":"")+(A.multiline?"m":"")+(A.unicode?"u":"")+(u?"g":"y"),R=new M(u?"^(?:"+A.source+")":A,O),D=T===void 0?s:T>>>0;if(D===0)return[];if(x.length===0)return c(R,x)===null?[x]:[];for(var W=0,U=0,H=[];U1?arguments[1]:void 0,s.length)),C=f(u);return h(s,l,l+C.length)===C}return d}()})},74498:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("strike")},{strike:function(){function o(){return a(this,"strike","","")}return o}()})},15812:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("sub")},{sub:function(){function o(){return a(this,"sub","","")}return o}()})},57726:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("sup")},{sup:function(){function o(){return a(this,"sup","","")}return o}()})},70604:function(w,r,n){"use strict";n(99159);var e=n(63964),a=n(43476);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==a},{trimEnd:a})},85404:function(w,r,n){"use strict";var e=n(63964),a=n(43885);e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==a},{trimLeft:a})},99159:function(w,r,n){"use strict";var e=n(63964),a=n(43476);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==a},{trimRight:a})},34965:function(w,r,n){"use strict";n(85404);var e=n(63964),a=n(43885);e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==a},{trimStart:a})},8448:function(w,r,n){"use strict";var e=n(63964),a=n(92648).trim,t=n(90012);e({target:"String",proto:!0,forced:t("trim")},{trim:function(){function o(){return a(this)}return o}()})},79250:function(w,r,n){"use strict";var e=n(85889);e("asyncIterator")},49899:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(91495),o=n(67250),f=n(4493),V=n(58310),k=n(52357),S=n(40033),b=n(45299),h=n(21287),i=n(30365),c=n(57591),m=n(767),d=n(12605),u=n(87458),s=n(80674),l=n(18450),C=n(37310),g=n(81644),v=n(89235),p=n(27193),N=n(74595),y=n(24239),B=n(12867),I=n(55938),L=n(73936),T=n(16639),A=n(19417),x=n(79195),E=n(16738),M=n(24697),j=n(55557),O=n(85889),R=n(52360),D=n(84925),W=n(5419),U=n(22603).forEach,H=A("hidden"),K="Symbol",G="prototype",Y=W.set,J=W.getterFor(K),Z=Object[G],le=a.Symbol,ne=le&&le[G],me=a.RangeError,he=a.TypeError,ye=a.QObject,te=p.f,Q=N.f,oe=g.f,fe=B.f,ie=o([].push),ue=T("symbols"),re=T("op-symbols"),Se=T("wks"),Ie=!ye||!ye[G]||!ye[G].findChild,Ce=function(de,ve,se){var be=te(Z,ve);be&&delete Z[ve],Q(de,ve,se),be&&de!==Z&&Q(Z,ve,be)},ge=V&&S(function(){return s(Q({},"a",{get:function(){function ae(){return Q(this,"a",{value:7}).a}return ae}()})).a!==7})?Ce:Q,ke=function(de,ve){var se=ue[de]=s(ne);return Y(se,{type:K,tag:de,description:ve}),V||(se.description=ve),se},Ve=function(){function ae(de,ve,se){de===Z&&Ve(re,ve,se),i(de);var be=m(ve);return i(se),b(ue,be)?(se.enumerable?(b(de,H)&&de[H][be]&&(de[H][be]=!1),se=s(se,{enumerable:u(0,!1)})):(b(de,H)||Q(de,H,u(1,s(null))),de[H][be]=!0),ge(de,be,se)):Q(de,be,se)}return ae}(),Le=function(){function ae(de,ve){i(de);var se=c(ve),be=l(se).concat(Ne(se));return U(be,function(Pe){(!V||t(xe,se,Pe))&&Ve(de,Pe,se[Pe])}),de}return ae}(),we=function(){function ae(de,ve){return ve===void 0?s(de):Le(s(de),ve)}return ae}(),xe=function(){function ae(de){var ve=m(de),se=t(fe,this,ve);return this===Z&&b(ue,ve)&&!b(re,ve)?!1:se||!b(this,ve)||!b(ue,ve)||b(this,H)&&this[H][ve]?se:!0}return ae}(),Re=function(){function ae(de,ve){var se=c(de),be=m(ve);if(!(se===Z&&b(ue,be)&&!b(re,be))){var Pe=te(se,be);return Pe&&b(ue,be)&&!(b(se,H)&&se[H][be])&&(Pe.enumerable=!0),Pe}}return ae}(),He=function(){function ae(de){var ve=oe(c(de)),se=[];return U(ve,function(be){!b(ue,be)&&!b(x,be)&&ie(se,be)}),se}return ae}(),Ne=function(de){var ve=de===Z,se=oe(ve?re:c(de)),be=[];return U(se,function(Pe){b(ue,Pe)&&(!ve||b(Z,Pe))&&ie(be,ue[Pe])}),be};k||(le=function(){function ae(){if(h(ne,this))throw new he("Symbol is not a constructor");var de=!arguments.length||arguments[0]===void 0?void 0:d(arguments[0]),ve=E(de),se=function(){function be(Pe){var je=this===void 0?a:this;je===Z&&t(be,re,Pe),b(je,H)&&b(je[H],ve)&&(je[H][ve]=!1);var Fe=u(1,Pe);try{ge(je,ve,Fe)}catch(ze){if(!(ze instanceof me))throw ze;Ce(je,ve,Fe)}}return be}();return V&&Ie&&ge(Z,ve,{configurable:!0,set:se}),ke(ve,de)}return ae}(),ne=le[G],I(ne,"toString",function(){function ae(){return J(this).tag}return ae}()),I(le,"withoutSetter",function(ae){return ke(E(ae),ae)}),B.f=xe,N.f=Ve,y.f=Le,p.f=Re,C.f=g.f=He,v.f=Ne,j.f=function(ae){return ke(M(ae),ae)},V&&(L(ne,"description",{configurable:!0,get:function(){function ae(){return J(this).description}return ae}()}),f||I(Z,"propertyIsEnumerable",xe,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!k,sham:!k},{Symbol:le}),U(l(Se),function(ae){O(ae)}),e({target:K,stat:!0,forced:!k},{useSetter:function(){function ae(){Ie=!0}return ae}(),useSimple:function(){function ae(){Ie=!1}return ae}()}),e({target:"Object",stat:!0,forced:!k,sham:!V},{create:we,defineProperty:Ve,defineProperties:Le,getOwnPropertyDescriptor:Re}),e({target:"Object",stat:!0,forced:!k},{getOwnPropertyNames:He}),R(),D(le,K),x[H]=!0},10933:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(74685),o=n(67250),f=n(45299),V=n(55747),k=n(21287),S=n(12605),b=n(73936),h=n(5774),i=t.Symbol,c=i&&i.prototype;if(a&&V(i)&&(!("description"in c)||i().description!==void 0)){var m={},d=function(){function p(){var N=arguments.length<1||arguments[0]===void 0?void 0:S(arguments[0]),y=k(c,this)?new i(N):N===void 0?i():i(N);return N===""&&(m[y]=!0),y}return p}();h(d,i),d.prototype=c,c.constructor=d;var u=String(i("description detection"))==="Symbol(description detection)",s=o(c.valueOf),l=o(c.toString),C=/^Symbol\((.*)\)[^)]+$/,g=o("".replace),v=o("".slice);b(c,"description",{configurable:!0,get:function(){function p(){var N=s(this);if(f(m,N))return"";var y=l(N),B=u?v(y,7,-1):g(y,C,"$1");return B===""?void 0:B}return p}()}),e({global:!0,constructor:!0,forced:!0},{Symbol:d})}},30828:function(w,r,n){"use strict";var e=n(63964),a=n(4009),t=n(45299),o=n(12605),f=n(16639),V=n(66570),k=f("string-to-symbol-registry"),S=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!V},{for:function(){function b(h){var i=o(h);if(t(k,i))return k[i];var c=a("Symbol")(i);return k[i]=c,S[c]=i,c}return b}()})},53795:function(w,r,n){"use strict";var e=n(85889);e("hasInstance")},87806:function(w,r,n){"use strict";var e=n(85889);e("isConcatSpreadable")},64677:function(w,r,n){"use strict";var e=n(85889);e("iterator")},33313:function(w,r,n){"use strict";n(49899),n(30828),n(6862),n(53008),n(28603)},6862:function(w,r,n){"use strict";var e=n(63964),a=n(45299),t=n(71399),o=n(89393),f=n(16639),V=n(66570),k=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!V},{keyFor:function(){function S(b){if(!t(b))throw new TypeError(o(b)+" is not a symbol");if(a(k,b))return k[b]}return S}()})},48058:function(w,r,n){"use strict";var e=n(85889);e("match")},51583:function(w,r,n){"use strict";var e=n(85889);e("replace")},82403:function(w,r,n){"use strict";var e=n(85889);e("search")},34265:function(w,r,n){"use strict";var e=n(85889);e("species")},3295:function(w,r,n){"use strict";var e=n(85889);e("split")},1078:function(w,r,n){"use strict";var e=n(85889),a=n(52360);e("toPrimitive"),a()},63207:function(w,r,n){"use strict";var e=n(4009),a=n(85889),t=n(84925);a("toStringTag"),t(e("Symbol"),"Symbol")},80520:function(w,r,n){"use strict";var e=n(85889);e("unscopables")},99872:function(w,r,n){"use strict";var e=n(67250),a=n(4246),t=n(71447),o=e(t),f=a.aTypedArray,V=a.exportTypedArrayMethod;V("copyWithin",function(){function k(S,b){return o(f(this),S,b,arguments.length>2?arguments[2]:void 0)}return k}())},73364:function(w,r,n){"use strict";var e=n(4246),a=n(22603).every,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("every",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},58166:function(w,r,n){"use strict";var e=n(4246),a=n(88471),t=n(61484),o=n(2281),f=n(91495),V=n(67250),k=n(40033),S=e.aTypedArray,b=e.exportTypedArrayMethod,h=V("".slice),i=k(function(){var c=0;return new Int8Array(2).fill({valueOf:function(){function m(){return c++}return m}()}),c!==1});b("fill",function(){function c(m){var d=arguments.length;S(this);var u=h(o(this),0,3)==="Big"?t(m):+m;return f(a,this,u,d>1?arguments[1]:void 0,d>2?arguments[2]:void 0)}return c}(),i)},23793:function(w,r,n){"use strict";var e=n(4246),a=n(22603).filter,t=n(45399),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("filter",function(){function V(k){var S=a(o(this),k,arguments.length>1?arguments[1]:void 0);return t(this,S)}return V}())},13917:function(w,r,n){"use strict";var e=n(4246),a=n(22603).findIndex,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("findIndex",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},43820:function(w,r,n){"use strict";var e=n(4246),a=n(22603).find,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("find",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},80756:function(w,r,n){"use strict";var e=n(80185);e("Float32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},70567:function(w,r,n){"use strict";var e=n(80185);e("Float64",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},19852:function(w,r,n){"use strict";var e=n(4246),a=n(22603).forEach,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("forEach",function(){function f(V){a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},40379:function(w,r,n){"use strict";var e=n(86563),a=n(4246).exportTypedArrayStaticMethod,t=n(3805);a("from",t,e)},92770:function(w,r,n){"use strict";var e=n(4246),a=n(14211).includes,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("includes",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},81069:function(w,r,n){"use strict";var e=n(4246),a=n(14211).indexOf,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("indexOf",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},60037:function(w,r,n){"use strict";var e=n(80185);e("Int16",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},44195:function(w,r,n){"use strict";var e=n(80185);e("Int32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},66756:function(w,r,n){"use strict";var e=n(80185);e("Int8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},63689:function(w,r,n){"use strict";var e=n(74685),a=n(40033),t=n(67250),o=n(4246),f=n(34570),V=n(24697),k=V("iterator"),S=e.Uint8Array,b=t(f.values),h=t(f.keys),i=t(f.entries),c=o.aTypedArray,m=o.exportTypedArrayMethod,d=S&&S.prototype,u=!a(function(){d[k].call([1])}),s=!!d&&d.values&&d[k]===d.values&&d.values.name==="values",l=function(){function C(){return b(c(this))}return C}();m("entries",function(){function C(){return i(c(this))}return C}(),u),m("keys",function(){function C(){return h(c(this))}return C}(),u),m("values",l,u||!s,{name:"values"}),m(k,l,u||!s,{name:"values"})},5659:function(w,r,n){"use strict";var e=n(4246),a=n(67250),t=e.aTypedArray,o=e.exportTypedArrayMethod,f=a([].join);o("join",function(){function V(k){return f(t(this),k)}return V}())},25014:function(w,r,n){"use strict";var e=n(4246),a=n(61267),t=n(1325),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("lastIndexOf",function(){function V(k){var S=arguments.length;return a(t,o(this),S>1?[k,arguments[1]]:[k])}return V}())},32189:function(w,r,n){"use strict";var e=n(4246),a=n(22603).map,t=n(31082),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("map",function(){function V(k){return a(o(this),k,arguments.length>1?arguments[1]:void 0,function(S,b){return new(t(S))(b)})}return V}())},23030:function(w,r,n){"use strict";var e=n(4246),a=n(86563),t=e.aTypedArrayConstructor,o=e.exportTypedArrayStaticMethod;o("of",function(){function f(){for(var V=0,k=arguments.length,S=new(t(this))(k);k>V;)S[V]=arguments[V++];return S}return f}(),a)},49110:function(w,r,n){"use strict";var e=n(4246),a=n(56844).right,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduceRight",function(){function f(V){var k=arguments.length;return a(t(this),V,k,k>1?arguments[1]:void 0)}return f}())},24309:function(w,r,n){"use strict";var e=n(4246),a=n(56844).left,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduce",function(){function f(V){var k=arguments.length;return a(t(this),V,k,k>1?arguments[1]:void 0)}return f}())},56445:function(w,r,n){"use strict";var e=n(4246),a=e.aTypedArray,t=e.exportTypedArrayMethod,o=Math.floor;t("reverse",function(){function f(){for(var V=this,k=a(V).length,S=o(k/2),b=0,h;b1?arguments[1]:void 0,1),g=V(l);if(d)return a(i,this,g,C);var v=this.length,p=o(g),N=0;if(p+C>v)throw new S("Wrong length");for(;Nm;)u[m]=i[m++];return u}return S}(),k)},88739:function(w,r,n){"use strict";var e=n(4246),a=n(22603).some,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("some",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},60415:function(w,r,n){"use strict";var e=n(74685),a=n(71138),t=n(40033),o=n(10320),f=n(90274),V=n(4246),k=n(652),S=n(19228),b=n(5026),h=n(9342),i=V.aTypedArray,c=V.exportTypedArrayMethod,m=e.Uint16Array,d=m&&a(m.prototype.sort),u=!!d&&!(t(function(){d(new m(2),null)})&&t(function(){d(new m(2),{})})),s=!!d&&!t(function(){if(b)return b<74;if(k)return k<67;if(S)return!0;if(h)return h<602;var C=new m(516),g=Array(516),v,p;for(v=0;v<516;v++)p=v%4,C[v]=515-v,g[v]=v-2*p+3;for(d(C,function(N,y){return(N/4|0)-(y/4|0)}),v=0;v<516;v++)if(C[v]!==g[v])return!0}),l=function(g){return function(v,p){return g!==void 0?+g(v,p)||0:p!==p?-1:v!==v?1:v===0&&p===0?1/v>0&&1/p<0?1:-1:v>p}};c("sort",function(){function C(g){return g!==void 0&&o(g),s?d(this,g):f(i(this),l(g))}return C}(),!s||u)},72532:function(w,r,n){"use strict";var e=n(4246),a=n(10188),t=n(13912),o=n(31082),f=e.aTypedArray,V=e.exportTypedArrayMethod;V("subarray",function(){function k(S,b){var h=f(this),i=h.length,c=t(S,i),m=o(h);return new m(h.buffer,h.byteOffset+c*h.BYTES_PER_ELEMENT,a((b===void 0?i:t(b,i))-c))}return k}())},62207:function(w,r,n){"use strict";var e=n(74685),a=n(61267),t=n(4246),o=n(40033),f=n(54602),V=e.Int8Array,k=t.aTypedArray,S=t.exportTypedArrayMethod,b=[].toLocaleString,h=!!V&&o(function(){b.call(new V(1))}),i=o(function(){return[1,2].toLocaleString()!==new V([1,2]).toLocaleString()})||!o(function(){V.prototype.toLocaleString.call([1,2])});S("toLocaleString",function(){function c(){return a(b,h?f(k(this)):k(this),f(arguments))}return c}(),i)},906:function(w,r,n){"use strict";var e=n(4246).exportTypedArrayMethod,a=n(40033),t=n(74685),o=n(67250),f=t.Uint8Array,V=f&&f.prototype||{},k=[].toString,S=o([].join);a(function(){k.call({})})&&(k=function(){function h(){return S(this)}return h}());var b=V.toString!==k;e("toString",k,b)},78824:function(w,r,n){"use strict";var e=n(80185);e("Uint16",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},72846:function(w,r,n){"use strict";var e=n(80185);e("Uint32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},24575:function(w,r,n){"use strict";var e=n(80185);e("Uint8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},71968:function(w,r,n){"use strict";var e=n(80185);e("Uint8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()},!0)},80040:function(w,r,n){"use strict";var e=n(50730),a=n(74685),t=n(67250),o=n(30145),f=n(81969),V=n(45150),k=n(39895),S=n(77568),b=n(5419).enforce,h=n(40033),i=n(21820),c=Object,m=Array.isArray,d=c.isExtensible,u=c.isFrozen,s=c.isSealed,l=c.freeze,C=c.seal,g=!a.ActiveXObject&&"ActiveXObject"in a,v,p=function(E){return function(){function M(){return E(this,arguments.length?arguments[0]:void 0)}return M}()},N=V("WeakMap",p,k),y=N.prototype,B=t(y.set),I=function(){return e&&h(function(){var E=l([]);return B(new N,E,1),!u(E)})};if(i)if(g){v=k.getConstructor(p,"WeakMap",!0),f.enable();var L=t(y.delete),T=t(y.has),A=t(y.get);o(y,{delete:function(){function x(E){if(S(E)&&!d(E)){var M=b(this);return M.frozen||(M.frozen=new v),L(this,E)||M.frozen.delete(E)}return L(this,E)}return x}(),has:function(){function x(E){if(S(E)&&!d(E)){var M=b(this);return M.frozen||(M.frozen=new v),T(this,E)||M.frozen.has(E)}return T(this,E)}return x}(),get:function(){function x(E){if(S(E)&&!d(E)){var M=b(this);return M.frozen||(M.frozen=new v),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)&&!d(E)){var j=b(this);j.frozen||(j.frozen=new v),T(this,E)?B(this,E,M):j.frozen.set(E,M)}else B(this,E,M);return this}return x}()})}else I()&&o(y,{set:function(){function x(E,M){var j;return m(E)&&(u(E)?j=l:s(E)&&(j=C)),B(this,E,M),j&&j(E),this}return x}()})},90846:function(w,r,n){"use strict";n(80040)},67042:function(w,r,n){"use strict";var e=n(45150),a=n(39895);e("WeakSet",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},40348:function(w,r,n){"use strict";n(67042)},5606:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(60375).clear;e({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==t},{clearImmediate:t})},83006:function(w,r,n){"use strict";n(5606),n(27807)},25764:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(37713),o=n(10320),f=n(24986),V=n(40033),k=n(58310),S=V(function(){return k&&Object.getOwnPropertyDescriptor(a,"queueMicrotask").value.length!==1});e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:S},{queueMicrotask:function(){function b(h){f(arguments.length,1),t(o(h))}return b}()})},27807:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(60375).set,o=n(78362),f=a.setImmediate?o(t,!1):t;e({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==f},{setImmediate:f})},45569:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(78362),o=t(a.setInterval,!0);e({global:!0,bind:!0,forced:a.setInterval!==o},{setInterval:o})},5213:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(78362),o=t(a.setTimeout,!0);e({global:!0,bind:!0,forced:a.setTimeout!==o},{setTimeout:o})},69401:function(w,r,n){"use strict";n(45569),n(5213)},7435:function(w){"use strict";/** + */var t=r.BoxWithSampleText=function(){function o(f){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({},f,{children:[(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,a.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return o}()},67160:function(){},23542:function(){},30386:function(){},98996:function(){},50578:function(){},4444:function(){},77870:function(){},23632:function(){},56492:function(){},39108:function(){},11714:function(){},73492:function(){},49641:function(){},17570:function(){},61858:function(){},32882:function(){},70752:function(w,r,n){var e={"./pai_atmosphere.js":80818,"./pai_bioscan.js":23903,"./pai_directives.js":64988,"./pai_doorjack.js":13813,"./pai_main_menu.js":66025,"./pai_manifest.js":2983,"./pai_medrecords.js":40758,"./pai_messenger.js":98599,"./pai_radio.js":50775,"./pai_secrecords.js":48623,"./pai_signaler.js":47297};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=70752},59395:function(w,r,n){var e={"./pda_atmos_scan.js":78532,"./pda_janitor.js":40253,"./pda_main_menu.js":58293,"./pda_manifest.js":58059,"./pda_medical.js":18147,"./pda_messenger.js":77595,"./pda_mule.js":24635,"./pda_nanobank.js":23734,"./pda_notes.js":97085,"./pda_power.js":57513,"./pda_secbot.js":99808,"./pda_security.js":77168,"./pda_signaler.js":21773,"./pda_status_display.js":81857,"./pda_supplyrecords.js":70287};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=59395},32054:function(w,r,n){var e={"./AICard":1090,"./AICard.js":1090,"./AIFixer":39454,"./AIFixer.js":39454,"./APC":88422,"./APC.js":88422,"./ATM":99660,"./ATM.js":99660,"./AccountsUplinkTerminal":86423,"./AccountsUplinkTerminal.js":86423,"./AiAirlock":56793,"./AiAirlock.js":56793,"./AirAlarm":72475,"./AirAlarm.js":72475,"./AirlockAccessController":12333,"./AirlockAccessController.js":12333,"./AirlockElectronics":28736,"./AirlockElectronics.js":28736,"./AlertModal":47365,"./AlertModal.tsx":47365,"./AppearanceChanger":71824,"./AppearanceChanger.js":71824,"./AtmosAlertConsole":72285,"./AtmosAlertConsole.js":72285,"./AtmosControl":65805,"./AtmosControl.js":65805,"./AtmosFilter":87816,"./AtmosFilter.js":87816,"./AtmosMixer":52977,"./AtmosMixer.js":52977,"./AtmosPump":11748,"./AtmosPump.js":11748,"./AtmosTankControl":69321,"./AtmosTankControl.js":69321,"./Autolathe":59179,"./Autolathe.js":59179,"./BioChipPad":5147,"./BioChipPad.js":5147,"./Biogenerator":64273,"./Biogenerator.js":64273,"./BloomEdit":47823,"./BloomEdit.js":47823,"./BlueSpaceArtilleryControl":18621,"./BlueSpaceArtilleryControl.js":18621,"./BluespaceTap":27629,"./BluespaceTap.js":27629,"./BodyScanner":33758,"./BodyScanner.js":33758,"./BookBinder":67963,"./BookBinder.js":67963,"./BotCall":61925,"./BotCall.js":61925,"./BotClean":20464,"./BotClean.js":20464,"./BotFloor":69479,"./BotFloor.js":69479,"./BotHonk":59887,"./BotHonk.js":59887,"./BotMed":80063,"./BotMed.js":80063,"./BotSecurity":74439,"./BotSecurity.js":74439,"./BrigCells":10833,"./BrigCells.js":10833,"./BrigTimer":45761,"./BrigTimer.js":45761,"./CameraConsole":26300,"./CameraConsole.js":26300,"./Canister":52927,"./Canister.js":52927,"./CardComputer":51793,"./CardComputer.js":51793,"./CargoConsole":64083,"./CargoConsole.js":64083,"./ChangelogView":87331,"./ChangelogView.js":87331,"./ChemDispenser":36108,"./ChemDispenser.js":36108,"./ChemHeater":13146,"./ChemHeater.js":13146,"./ChemMaster":56541,"./ChemMaster.tsx":56541,"./CloningConsole":37173,"./CloningConsole.js":37173,"./CloningPod":98723,"./CloningPod.js":98723,"./CoinMint":18259,"./CoinMint.tsx":18259,"./ColourMatrixTester":8444,"./ColourMatrixTester.js":8444,"./CommunicationsComputer":63818,"./CommunicationsComputer.js":63818,"./CompostBin":20562,"./CompostBin.js":20562,"./Contractor":21813,"./Contractor.js":21813,"./ConveyorSwitch":54151,"./ConveyorSwitch.js":54151,"./CrewMonitor":73169,"./CrewMonitor.js":73169,"./Cryo":63987,"./Cryo.js":63987,"./CryopodConsole":86099,"./CryopodConsole.js":86099,"./DNAModifier":12692,"./DNAModifier.js":12692,"./DestinationTagger":41074,"./DestinationTagger.js":41074,"./DisposalBin":46500,"./DisposalBin.js":46500,"./DnaVault":33233,"./DnaVault.js":33233,"./DroneConsole":33681,"./DroneConsole.js":33681,"./EFTPOS":17263,"./EFTPOS.js":17263,"./ERTManager":76382,"./ERTManager.js":76382,"./EconomyManager":90217,"./EconomyManager.js":90217,"./Electropack":82565,"./Electropack.js":82565,"./Emojipedia":11243,"./Emojipedia.tsx":11243,"./EvolutionMenu":36730,"./EvolutionMenu.js":36730,"./ExosuitFabricator":17370,"./ExosuitFabricator.js":17370,"./ExperimentConsole":59128,"./ExperimentConsole.js":59128,"./ExternalAirlockController":97086,"./ExternalAirlockController.js":97086,"./FaxMachine":96142,"./FaxMachine.js":96142,"./FilingCabinet":74123,"./FilingCabinet.js":74123,"./FloorPainter":83767,"./FloorPainter.js":83767,"./GPS":53424,"./GPS.js":53424,"./GeneModder":89124,"./GeneModder.js":89124,"./GenericCrewManifest":73053,"./GenericCrewManifest.js":73053,"./GhostHudPanel":42914,"./GhostHudPanel.js":42914,"./GlandDispenser":25825,"./GlandDispenser.js":25825,"./GravityGen":10270,"./GravityGen.js":10270,"./GuestPass":48657,"./GuestPass.js":48657,"./HandheldChemDispenser":67834,"./HandheldChemDispenser.js":67834,"./HealthSensor":46098,"./HealthSensor.js":46098,"./Holodeck":36771,"./Holodeck.js":36771,"./Instrument":25471,"./Instrument.js":25471,"./KeyComboModal":13618,"./KeyComboModal.tsx":13618,"./KeycardAuth":35655,"./KeycardAuth.js":35655,"./KitchenMachine":62955,"./KitchenMachine.js":62955,"./LawManager":9525,"./LawManager.js":9525,"./LibraryComputer":85066,"./LibraryComputer.js":85066,"./LibraryManager":9516,"./LibraryManager.js":9516,"./ListInputModal":90447,"./ListInputModal.tsx":90447,"./MODsuit":77613,"./MODsuit.js":77613,"./MagnetController":78624,"./MagnetController.js":78624,"./MechBayConsole":72106,"./MechBayConsole.js":72106,"./MechaControlConsole":7466,"./MechaControlConsole.js":7466,"./MedicalRecords":79625,"./MedicalRecords.js":79625,"./MerchVendor":54989,"./MerchVendor.js":54989,"./MiningVendor":87684,"./MiningVendor.js":87684,"./NTRecruiter":59783,"./NTRecruiter.js":59783,"./Newscaster":64713,"./Newscaster.js":64713,"./Noticeboard":48286,"./Noticeboard.tsx":48286,"./NuclearBomb":41166,"./NuclearBomb.js":41166,"./NumberInputModal":52416,"./NumberInputModal.tsx":52416,"./OperatingComputer":1218,"./OperatingComputer.js":1218,"./Orbit":46892,"./Orbit.js":46892,"./OreRedemption":15421,"./OreRedemption.js":15421,"./PAI":52754,"./PAI.js":52754,"./PDA":85175,"./PDA.js":85175,"./Pacman":68654,"./Pacman.js":68654,"./PanDEMIC":1701,"./PanDEMIC.tsx":1701,"./ParticleAccelerator":67921,"./ParticleAccelerator.js":67921,"./PdaPainter":71432,"./PdaPainter.js":71432,"./PersonalCrafting":33388,"./PersonalCrafting.js":33388,"./Photocopier":56150,"./Photocopier.js":56150,"./PoolController":84676,"./PoolController.js":84676,"./PortablePump":57003,"./PortablePump.js":57003,"./PortableScrubber":70069,"./PortableScrubber.js":70069,"./PortableTurret":59955,"./PortableTurret.js":59955,"./PowerMonitor":61631,"./PowerMonitor.js":61631,"./PrisonerImplantManager":50992,"./PrisonerImplantManager.js":50992,"./PrisonerShuttleConsole":53952,"./PrisonerShuttleConsole.js":53952,"./PrizeCounter":97852,"./PrizeCounter.tsx":97852,"./RCD":94813,"./RCD.js":94813,"./RPD":18738,"./RPD.js":18738,"./Radio":80299,"./Radio.js":80299,"./ReagentGrinder":48125,"./ReagentGrinder.js":48125,"./ReagentsEditor":58262,"./ReagentsEditor.tsx":58262,"./RemoteSignaler":30207,"./RemoteSignaler.js":30207,"./RequestConsole":25472,"./RequestConsole.js":25472,"./RndConsole":12644,"./RndConsole/":12644,"./RndConsole/DataDiskMenu":37556,"./RndConsole/DataDiskMenu.js":37556,"./RndConsole/DeconstructionMenu":58147,"./RndConsole/DeconstructionMenu.js":58147,"./RndConsole/LatheCategory":16830,"./RndConsole/LatheCategory.js":16830,"./RndConsole/LatheChemicalStorage":70497,"./RndConsole/LatheChemicalStorage.js":70497,"./RndConsole/LatheMainMenu":70864,"./RndConsole/LatheMainMenu.js":70864,"./RndConsole/LatheMaterialStorage":42878,"./RndConsole/LatheMaterialStorage.js":42878,"./RndConsole/LatheMaterials":52662,"./RndConsole/LatheMaterials.js":52662,"./RndConsole/LatheMenu":9681,"./RndConsole/LatheMenu.js":9681,"./RndConsole/LatheSearch":68198,"./RndConsole/LatheSearch.js":68198,"./RndConsole/SettingsMenu":6256,"./RndConsole/SettingsMenu.js":6256,"./RndConsole/index":12644,"./RndConsole/index.js":12644,"./RobotSelfDiagnosis":26109,"./RobotSelfDiagnosis.js":26109,"./RoboticsControlConsole":97997,"./RoboticsControlConsole.js":97997,"./Safe":54431,"./Safe.js":54431,"./SatelliteControl":29740,"./SatelliteControl.js":29740,"./SecureStorage":44162,"./SecureStorage.js":44162,"./SecurityRecords":6272,"./SecurityRecords.js":6272,"./SeedExtractor":5099,"./SeedExtractor.js":5099,"./ShuttleConsole":2916,"./ShuttleConsole.js":2916,"./ShuttleManipulator":39401,"./ShuttleManipulator.js":39401,"./Sleeper":88284,"./Sleeper.js":88284,"./SlotMachine":21597,"./SlotMachine.js":21597,"./Smartfridge":46348,"./Smartfridge.js":46348,"./Smes":86162,"./Smes.js":86162,"./SolarControl":63584,"./SolarControl.js":63584,"./SpawnersMenu":38096,"./SpawnersMenu.js":38096,"./SpecMenu":30586,"./SpecMenu.js":30586,"./StationAlertConsole":38307,"./StationAlertConsole.js":38307,"./StationTraitsPanel":96091,"./StationTraitsPanel.tsx":96091,"./StripMenu":39409,"./StripMenu.tsx":39409,"./SuitStorage":69514,"./SuitStorage.js":69514,"./SupermatterMonitor":15022,"./SupermatterMonitor.js":15022,"./SyndicateComputerSimple":46029,"./SyndicateComputerSimple.js":46029,"./TEG":36372,"./TEG.js":36372,"./TachyonArray":56441,"./TachyonArray.js":56441,"./Tank":1754,"./Tank.js":1754,"./TankDispenser":7579,"./TankDispenser.js":7579,"./TcommsCore":16136,"./TcommsCore.js":16136,"./TcommsRelay":88046,"./TcommsRelay.js":88046,"./Teleporter":20802,"./Teleporter.js":20802,"./TelescienceConsole":48517,"./TelescienceConsole.js":48517,"./TempGun":21800,"./TempGun.js":21800,"./TextInputModal":24410,"./TextInputModal.tsx":24410,"./ThermoMachine":25036,"./ThermoMachine.js":25036,"./TransferValve":20035,"./TransferValve.js":20035,"./TurbineComputer":78166,"./TurbineComputer.js":78166,"./Uplink":52847,"./Uplink.js":52847,"./Vending":12261,"./Vending.js":12261,"./VolumeMixer":68971,"./VolumeMixer.js":68971,"./VotePanel":2510,"./VotePanel.js":2510,"./Wires":30138,"./Wires.js":30138,"./WizardApprenticeContract":21400,"./WizardApprenticeContract.js":21400,"./common/AccessList":49148,"./common/AccessList.js":49148,"./common/AtmosScan":26991,"./common/AtmosScan.js":26991,"./common/BeakerContents":85870,"./common/BeakerContents.js":85870,"./common/BotStatus":92963,"./common/BotStatus.js":92963,"./common/ComplexModal":3939,"./common/ComplexModal.js":3939,"./common/CrewManifest":41874,"./common/CrewManifest.js":41874,"./common/InputButtons":19203,"./common/InputButtons.tsx":19203,"./common/InterfaceLockNoticeBox":195,"./common/InterfaceLockNoticeBox.js":195,"./common/Loader":51057,"./common/Loader.tsx":51057,"./common/LoginInfo":321,"./common/LoginInfo.js":321,"./common/LoginScreen":5485,"./common/LoginScreen.js":5485,"./common/Operating":62411,"./common/Operating.js":62411,"./common/Signaler":13545,"./common/Signaler.js":13545,"./common/SimpleRecords":41984,"./common/SimpleRecords.js":41984,"./common/TemporaryNotice":22091,"./common/TemporaryNotice.js":22091,"./pai/pai_atmosphere":80818,"./pai/pai_atmosphere.js":80818,"./pai/pai_bioscan":23903,"./pai/pai_bioscan.js":23903,"./pai/pai_directives":64988,"./pai/pai_directives.js":64988,"./pai/pai_doorjack":13813,"./pai/pai_doorjack.js":13813,"./pai/pai_main_menu":66025,"./pai/pai_main_menu.js":66025,"./pai/pai_manifest":2983,"./pai/pai_manifest.js":2983,"./pai/pai_medrecords":40758,"./pai/pai_medrecords.js":40758,"./pai/pai_messenger":98599,"./pai/pai_messenger.js":98599,"./pai/pai_radio":50775,"./pai/pai_radio.js":50775,"./pai/pai_secrecords":48623,"./pai/pai_secrecords.js":48623,"./pai/pai_signaler":47297,"./pai/pai_signaler.js":47297,"./pda/pda_atmos_scan":78532,"./pda/pda_atmos_scan.js":78532,"./pda/pda_janitor":40253,"./pda/pda_janitor.js":40253,"./pda/pda_main_menu":58293,"./pda/pda_main_menu.js":58293,"./pda/pda_manifest":58059,"./pda/pda_manifest.js":58059,"./pda/pda_medical":18147,"./pda/pda_medical.js":18147,"./pda/pda_messenger":77595,"./pda/pda_messenger.js":77595,"./pda/pda_mule":24635,"./pda/pda_mule.js":24635,"./pda/pda_nanobank":23734,"./pda/pda_nanobank.js":23734,"./pda/pda_notes":97085,"./pda/pda_notes.js":97085,"./pda/pda_power":57513,"./pda/pda_power.js":57513,"./pda/pda_secbot":99808,"./pda/pda_secbot.js":99808,"./pda/pda_security":77168,"./pda/pda_security.js":77168,"./pda/pda_signaler":21773,"./pda/pda_signaler.js":21773,"./pda/pda_status_display":81857,"./pda/pda_status_display.js":81857,"./pda/pda_supplyrecords":70287,"./pda/pda_supplyrecords.js":70287};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=32054},4085:function(w,r,n){var e={"./Blink.stories.js":51364,"./BlockQuote.stories.js":32453,"./Box.stories.js":83531,"./Button.stories.js":74198,"./ByondUi.stories.js":51956,"./Collapsible.stories.js":17466,"./Flex.stories.js":89241,"./ImageButton.stories.js":48779,"./Input.stories.js":21394,"./Popper.stories.js":43932,"./ProgressBar.stories.js":33270,"./Stack.stories.js":77766,"./Storage.stories.js":30187,"./Tabs.stories.js":46554,"./Themes.stories.js":53276,"./Tooltip.stories.js":28717};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=4085},10320:function(w,r,n){"use strict";var e=n(55747),a=n(89393),t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a function")}},32606:function(w,r,n){"use strict";var e=n(1031),a=n(89393),t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a constructor")}},35908:function(w,r,n){"use strict";var e=n(45015),a=String,t=TypeError;w.exports=function(o){if(e(o))return o;throw new t("Can't set "+a(o)+" as a prototype")}},80575:function(w,r,n){"use strict";var e=n(24697),a=n(80674),t=n(74595).f,o=e("unscopables"),f=Array.prototype;f[o]===void 0&&t(f,o,{configurable:!0,value:a(null)}),w.exports=function(V){f[o][V]=!0}},35483:function(w,r,n){"use strict";var e=n(50233).charAt;w.exports=function(a,t,o){return t+(o?e(a,t).length:1)}},60077:function(w,r,n){"use strict";var e=n(21287),a=TypeError;w.exports=function(t,o){if(e(o,t))return t;throw new a("Incorrect invocation")}},30365:function(w,r,n){"use strict";var e=n(77568),a=String,t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not an object")}},70377:function(w){"use strict";w.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},3782:function(w,r,n){"use strict";var e=n(40033);w.exports=e(function(){if(typeof ArrayBuffer=="function"){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},4246:function(w,r,n){"use strict";var e=n(70377),a=n(58310),t=n(74685),o=n(55747),f=n(77568),V=n(45299),k=n(2281),S=n(89393),y=n(37909),h=n(55938),i=n(73936),c=n(21287),m=n(36917),d=n(76649),u=n(24697),s=n(16738),l=n(5419),C=l.enforce,g=l.get,v=t.Int8Array,p=v&&v.prototype,N=t.Uint8ClampedArray,b=N&&N.prototype,B=v&&m(v),I=p&&m(p),L=Object.prototype,T=t.TypeError,A=u("toStringTag"),x=s("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",P=e&&!!d&&k(t.opera)!=="Opera",j=!1,O,R,D,W={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},z=function(){function ne(me){if(!f(me))return!1;var he=k(me);return he==="DataView"||V(W,he)||V(U,he)}return ne}(),K=function ne(me){var he=m(me);if(f(he)){var ye=g(he);return ye&&V(ye,E)?ye[E]:ne(he)}},$=function(me){if(!f(me))return!1;var he=k(me);return V(W,he)||V(U,he)},Y=function(me){if($(me))return me;throw new T("Target is not a typed array")},J=function(me){if(o(me)&&(!d||c(B,me)))return me;throw new T(S(me)+" is not a typed array constructor")},Z=function(me,he,ye,te){if(a){if(ye)for(var Q in W){var oe=t[Q];if(oe&&V(oe.prototype,me))try{delete oe.prototype[me]}catch(fe){try{oe.prototype[me]=he}catch(ie){}}}(!I[me]||ye)&&h(I,me,ye?he:P&&p[me]||he,te)}},le=function(me,he,ye){var te,Q;if(a){if(d){if(ye){for(te in W)if(Q=t[te],Q&&V(Q,me))try{delete Q[me]}catch(oe){}}if(!B[me]||ye)try{return h(B,me,ye?he:P&&B[me]||he)}catch(oe){}else return}for(te in W)Q=t[te],Q&&(!Q[me]||ye)&&h(Q,me,he)}};for(O in W)R=t[O],D=R&&R.prototype,D?C(D)[E]=R:P=!1;for(O in U)R=t[O],D=R&&R.prototype,D&&(C(D)[E]=R);if((!P||!o(B)||B===Function.prototype)&&(B=function(){function ne(){throw new T("Incorrect invocation")}return ne}(),P))for(O in W)t[O]&&d(t[O],B);if((!P||!I||I===L)&&(I=B.prototype,P))for(O in W)t[O]&&d(t[O].prototype,I);if(P&&m(b)!==I&&d(b,I),a&&!V(I,A)){j=!0,i(I,A,{configurable:!0,get:function(){function ne(){return f(this)?this[x]:void 0}return ne}()});for(O in W)t[O]&&y(t[O],x,O)}w.exports={NATIVE_ARRAY_BUFFER_VIEWS:P,TYPED_ARRAY_TAG:j&&x,aTypedArray:Y,aTypedArrayConstructor:J,exportTypedArrayMethod:Z,exportTypedArrayStaticMethod:le,getTypedArrayConstructor:K,isView:z,isTypedArray:$,TypedArray:B,TypedArrayPrototype:I}},37336:function(w,r,n){"use strict";var e=n(74685),a=n(67250),t=n(58310),o=n(70377),f=n(70520),V=n(37909),k=n(73936),S=n(30145),y=n(40033),h=n(60077),i=n(61365),c=n(10188),m=n(43806),d=n(95867),u=n(91784),s=n(36917),l=n(76649),C=n(88471),g=n(54602),v=n(5781),p=n(5774),N=n(84925),b=n(5419),B=f.PROPER,I=f.CONFIGURABLE,L="ArrayBuffer",T="DataView",A="prototype",x="Wrong length",E="Wrong index",P=b.getterFor(L),j=b.getterFor(T),O=b.set,R=e[L],D=R,W=D&&D[A],U=e[T],z=U&&U[A],K=Object.prototype,$=e.Array,Y=e.RangeError,J=a(C),Z=a([].reverse),le=u.pack,ne=u.unpack,me=function(ge){return[ge&255]},he=function(ge){return[ge&255,ge>>8&255]},ye=function(ge){return[ge&255,ge>>8&255,ge>>16&255,ge>>24&255]},te=function(ge){return ge[3]<<24|ge[2]<<16|ge[1]<<8|ge[0]},Q=function(ge){return le(d(ge),23,4)},oe=function(ge){return le(ge,52,8)},fe=function(ge,ke,Ve){k(ge[A],ke,{configurable:!0,get:function(){function Le(){return Ve(this)[ke]}return Le}()})},ie=function(ge,ke,Ve,Le){var we=j(ge),xe=m(Ve),Re=!!Le;if(xe+ke>we.byteLength)throw new Y(E);var ze=we.bytes,Ne=xe+we.byteOffset,ae=g(ze,Ne,Ne+ke);return Re?ae:Z(ae)},ue=function(ge,ke,Ve,Le,we,xe){var Re=j(ge),ze=m(Ve),Ne=Le(+we),ae=!!xe;if(ze+ke>Re.byteLength)throw new Y(E);for(var de=Re.bytes,ve=ze+Re.byteOffset,se=0;sewe)throw new Y("Wrong offset");if(Ve=Ve===void 0?we-xe:c(Ve),xe+Ve>we)throw new Y(x);O(this,{type:T,buffer:ge,byteLength:Ve,byteOffset:xe,bytes:Le.bytes}),t||(this.buffer=ge,this.byteLength=Ve,this.byteOffset=xe)}return Ce}(),z=U[A],t&&(fe(D,"byteLength",P),fe(U,"buffer",j),fe(U,"byteLength",j),fe(U,"byteOffset",j)),S(z,{getInt8:function(){function Ce(ge){return ie(this,1,ge)[0]<<24>>24}return Ce}(),getUint8:function(){function Ce(ge){return ie(this,1,ge)[0]}return Ce}(),getInt16:function(){function Ce(ge){var ke=ie(this,2,ge,arguments.length>1?arguments[1]:!1);return(ke[1]<<8|ke[0])<<16>>16}return Ce}(),getUint16:function(){function Ce(ge){var ke=ie(this,2,ge,arguments.length>1?arguments[1]:!1);return ke[1]<<8|ke[0]}return Ce}(),getInt32:function(){function Ce(ge){return te(ie(this,4,ge,arguments.length>1?arguments[1]:!1))}return Ce}(),getUint32:function(){function Ce(ge){return te(ie(this,4,ge,arguments.length>1?arguments[1]:!1))>>>0}return Ce}(),getFloat32:function(){function Ce(ge){return ne(ie(this,4,ge,arguments.length>1?arguments[1]:!1),23)}return Ce}(),getFloat64:function(){function Ce(ge){return ne(ie(this,8,ge,arguments.length>1?arguments[1]:!1),52)}return Ce}(),setInt8:function(){function Ce(ge,ke){ue(this,1,ge,me,ke)}return Ce}(),setUint8:function(){function Ce(ge,ke){ue(this,1,ge,me,ke)}return Ce}(),setInt16:function(){function Ce(ge,ke){ue(this,2,ge,he,ke,arguments.length>2?arguments[2]:!1)}return Ce}(),setUint16:function(){function Ce(ge,ke){ue(this,2,ge,he,ke,arguments.length>2?arguments[2]:!1)}return Ce}(),setInt32:function(){function Ce(ge,ke){ue(this,4,ge,ye,ke,arguments.length>2?arguments[2]:!1)}return Ce}(),setUint32:function(){function Ce(ge,ke){ue(this,4,ge,ye,ke,arguments.length>2?arguments[2]:!1)}return Ce}(),setFloat32:function(){function Ce(ge,ke){ue(this,4,ge,Q,ke,arguments.length>2?arguments[2]:!1)}return Ce}(),setFloat64:function(){function Ce(ge,ke){ue(this,8,ge,oe,ke,arguments.length>2?arguments[2]:!1)}return Ce}()});else{var re=B&&R.name!==L;!y(function(){R(1)})||!y(function(){new R(-1)})||y(function(){return new R,new R(1.5),new R(NaN),R.length!==1||re&&!I})?(D=function(){function Ce(ge){return h(this,W),v(new R(m(ge)),this,D)}return Ce}(),D[A]=W,W.constructor=D,p(D,R)):re&&I&&V(R,"name",L),l&&s(z)!==K&&l(z,K);var Se=new U(new D(2)),Ie=a(z.setInt8);Se.setInt8(0,2147483648),Se.setInt8(1,2147483649),(Se.getInt8(0)||!Se.getInt8(1))&&S(z,{setInt8:function(){function Ce(ge,ke){Ie(this,ge,ke<<24>>24)}return Ce}(),setUint8:function(){function Ce(ge,ke){Ie(this,ge,ke<<24>>24)}return Ce}()},{unsafe:!0})}N(D,L),N(U,T),w.exports={ArrayBuffer:D,DataView:U}},71447:function(w,r,n){"use strict";var e=n(46771),a=n(13912),t=n(24760),o=n(95108),f=Math.min;w.exports=[].copyWithin||function(){function V(k,S){var y=e(this),h=t(y),i=a(k,h),c=a(S,h),m=arguments.length>2?arguments[2]:void 0,d=f((m===void 0?h:a(m,h))-c,h-i),u=1;for(c0;)c in y?y[i]=y[c]:o(y,i),i+=u,c+=u;return y}return V}()},88471:function(w,r,n){"use strict";var e=n(46771),a=n(13912),t=n(24760);w.exports=function(){function o(f){for(var V=e(this),k=t(V),S=arguments.length,y=a(S>1?arguments[1]:void 0,k),h=S>2?arguments[2]:void 0,i=h===void 0?k:a(h,k);i>y;)V[y++]=f;return V}return o}()},35601:function(w,r,n){"use strict";var e=n(22603).forEach,a=n(55528),t=a("forEach");w.exports=t?[].forEach:function(){function o(f){return e(this,f,arguments.length>1?arguments[1]:void 0)}return o}()},78008:function(w,r,n){"use strict";var e=n(24760);w.exports=function(a,t,o){for(var f=0,V=arguments.length>2?o:e(t),k=new a(V);V>f;)k[f]=t[f++];return k}},73174:function(w,r,n){"use strict";var e=n(75754),a=n(91495),t=n(46771),o=n(40125),f=n(76571),V=n(1031),k=n(24760),S=n(60102),y=n(77455),h=n(59201),i=Array;w.exports=function(){function c(m){var d=t(m),u=V(this),s=arguments.length,l=s>1?arguments[1]:void 0,C=l!==void 0;C&&(l=e(l,s>2?arguments[2]:void 0));var g=h(d),v=0,p,N,b,B,I,L;if(g&&!(this===i&&f(g)))for(N=u?new this:[],B=y(d,g),I=B.next;!(b=a(I,B)).done;v++)L=C?o(B,l,[b.value,v],!0):b.value,S(N,v,L);else for(p=k(d),N=u?new this(p):i(p);p>v;v++)L=C?l(d[v],v):d[v],S(N,v,L);return N.length=v,N}return c}()},14211:function(w,r,n){"use strict";var e=n(57591),a=n(13912),t=n(24760),o=function(V){return function(k,S,y){var h=e(k),i=t(h);if(i===0)return!V&&-1;var c=a(y,i),m;if(V&&S!==S){for(;i>c;)if(m=h[c++],m!==m)return!0}else for(;i>c;c++)if((V||c in h)&&h[c]===S)return V||c||0;return!V&&-1}};w.exports={includes:o(!0),indexOf:o(!1)}},22603:function(w,r,n){"use strict";var e=n(75754),a=n(67250),t=n(37457),o=n(46771),f=n(24760),V=n(57823),k=a([].push),S=function(h){var i=h===1,c=h===2,m=h===3,d=h===4,u=h===6,s=h===7,l=h===5||u;return function(C,g,v,p){for(var N=o(C),b=t(N),B=f(b),I=e(g,v),L=0,T=p||V,A=i?T(C,B):c||s?T(C,0):void 0,x,E;B>L;L++)if((l||L in b)&&(x=b[L],E=I(x,L,N),h))if(i)A[L]=E;else if(E)switch(h){case 3:return!0;case 5:return x;case 6:return L;case 2:k(A,x)}else switch(h){case 4:return!1;case 7:k(A,x)}return u?-1:m||d?d:A}};w.exports={forEach:S(0),map:S(1),filter:S(2),some:S(3),every:S(4),find:S(5),findIndex:S(6),filterReject:S(7)}},1325:function(w,r,n){"use strict";var e=n(61267),a=n(57591),t=n(61365),o=n(24760),f=n(55528),V=Math.min,k=[].lastIndexOf,S=!!k&&1/[1].lastIndexOf(1,-0)<0,y=f("lastIndexOf"),h=S||!y;w.exports=h?function(){function i(c){if(S)return e(k,this,arguments)||0;var m=a(this),d=o(m);if(d===0)return-1;var u=d-1;for(arguments.length>1&&(u=V(u,t(arguments[1]))),u<0&&(u=d+u);u>=0;u--)if(u in m&&m[u]===c)return u||0;return-1}return i}():k},44091:function(w,r,n){"use strict";var e=n(40033),a=n(24697),t=n(5026),o=a("species");w.exports=function(f){return t>=51||!e(function(){var V=[],k=V.constructor={};return k[o]=function(){return{foo:1}},V[f](Boolean).foo!==1})}},55528:function(w,r,n){"use strict";var e=n(40033);w.exports=function(a,t){var o=[][a];return!!o&&e(function(){o.call(null,t||function(){return 1},1)})}},56844:function(w,r,n){"use strict";var e=n(10320),a=n(46771),t=n(37457),o=n(24760),f=TypeError,V="Reduce of empty array with no initial value",k=function(y){return function(h,i,c,m){var d=a(h),u=t(d),s=o(d);if(e(i),s===0&&c<2)throw new f(V);var l=y?s-1:0,C=y?-1:1;if(c<2)for(;;){if(l in u){m=u[l],l+=C;break}if(l+=C,y?l<0:s<=l)throw new f(V)}for(;y?l>=0:s>l;l+=C)l in u&&(m=i(m,u[l],l,d));return m}};w.exports={left:k(!1),right:k(!0)}},13345:function(w,r,n){"use strict";var e=n(58310),a=n(37386),t=TypeError,o=Object.getOwnPropertyDescriptor,f=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(V){return V instanceof TypeError}}();w.exports=f?function(V,k){if(a(V)&&!o(V,"length").writable)throw new t("Cannot set read only .length");return V.length=k}:function(V,k){return V.length=k}},54602:function(w,r,n){"use strict";var e=n(67250);w.exports=e([].slice)},90274:function(w,r,n){"use strict";var e=n(54602),a=Math.floor,t=function o(f,V){var k=f.length;if(k<8)for(var S=1,y,h;S0;)f[h]=f[--h];h!==S++&&(f[h]=y)}else for(var i=a(k/2),c=o(e(f,0,i),V),m=o(e(f,i),V),d=c.length,u=m.length,s=0,l=0;s1?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 L}(),has:function(){function L(T){return!!I(this,T)}return L}()}),t(N,g?{get:function(){function L(T){var A=I(this,T);return A&&A.value}return L}(),set:function(){function L(T,A){return B(this,T===0?0:T,A)}return L}()}:{add:function(){function L(T){return B(this,T=T===0?0:T,T)}return L}()}),i&&a(N,"size",{configurable:!0,get:function(){function L(){return b(this).size}return L}()}),p}return s}(),setStrong:function(){function s(l,C,g){var v=C+" Iterator",p=u(C),N=u(v);S(l,C,function(b,B){d(this,{type:v,target:b,state:p(b),kind:B,last:void 0})},function(){for(var b=N(this),B=b.kind,I=b.last;I&&I.removed;)I=I.previous;return!b.target||!(b.last=I=I?I.next:b.state.first)?(b.target=void 0,y(void 0,!0)):y(B==="keys"?I.key:B==="values"?I.value:[I.key,I.value],!1)},g?"entries":"values",!g,!0),h(C)}return s}()}},39895:function(w,r,n){"use strict";var e=n(67250),a=n(30145),t=n(81969).getWeakData,o=n(60077),f=n(30365),V=n(42871),k=n(77568),S=n(49450),y=n(22603),h=n(45299),i=n(5419),c=i.set,m=i.getterFor,d=y.find,u=y.findIndex,s=e([].splice),l=0,C=function(N){return N.frozen||(N.frozen=new g)},g=function(){this.entries=[]},v=function(N,b){return d(N.entries,function(B){return B[0]===b})};g.prototype={get:function(){function p(N){var b=v(this,N);if(b)return b[1]}return p}(),has:function(){function p(N){return!!v(this,N)}return p}(),set:function(){function p(N,b){var B=v(this,N);B?B[1]=b:this.entries.push([N,b])}return p}(),delete:function(){function p(N){var b=u(this.entries,function(B){return B[0]===N});return~b&&s(this.entries,b,1),!!~b}return p}()},w.exports={getConstructor:function(){function p(N,b,B,I){var L=N(function(E,P){o(E,T),c(E,{type:b,id:l++,frozen:void 0}),V(P)||S(P,E[I],{that:E,AS_ENTRIES:B})}),T=L.prototype,A=m(b),x=function(){function E(P,j,O){var R=A(P),D=t(f(j),!0);return D===!0?C(R).set(j,O):D[R.id]=O,P}return E}();return a(T,{delete:function(){function E(P){var j=A(this);if(!k(P))return!1;var O=t(P);return O===!0?C(j).delete(P):O&&h(O,j.id)&&delete O[j.id]}return E}(),has:function(){function E(P){var j=A(this);if(!k(P))return!1;var O=t(P);return O===!0?C(j).has(P):O&&h(O,j.id)}return E}()}),a(T,B?{get:function(){function E(P){var j=A(this);if(k(P)){var O=t(P);return O===!0?C(j).get(P):O?O[j.id]:void 0}}return E}(),set:function(){function E(P,j){return x(this,P,j)}return E}()}:{add:function(){function E(P){return x(this,P,!0)}return E}()}),L}return p}()}},45150:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(67250),o=n(41314),f=n(55938),V=n(81969),k=n(49450),S=n(60077),y=n(55747),h=n(42871),i=n(77568),c=n(40033),m=n(92490),d=n(84925),u=n(5781);w.exports=function(s,l,C){var g=s.indexOf("Map")!==-1,v=s.indexOf("Weak")!==-1,p=g?"set":"add",N=a[s],b=N&&N.prototype,B=N,I={},L=function(R){var D=t(b[R]);f(b,R,R==="add"?function(){function W(U){return D(this,U===0?0:U),this}return W}():R==="delete"?function(W){return v&&!i(W)?!1:D(this,W===0?0:W)}:R==="get"?function(){function W(U){return v&&!i(U)?void 0:D(this,U===0?0:U)}return W}():R==="has"?function(){function W(U){return v&&!i(U)?!1:D(this,U===0?0:U)}return W}():function(){function W(U,z){return D(this,U===0?0:U,z),this}return W}())},T=o(s,!y(N)||!(v||b.forEach&&!c(function(){new N().entries().next()})));if(T)B=C.getConstructor(l,s,g,p),V.enable();else if(o(s,!0)){var A=new B,x=A[p](v?{}:-0,1)!==A,E=c(function(){A.has(1)}),P=m(function(O){new N(O)}),j=!v&&c(function(){for(var O=new N,R=5;R--;)O[p](R,R);return!O.has(-0)});P||(B=l(function(O,R){S(O,b);var D=u(new N,O,B);return h(R)||k(R,D[p],{that:D,AS_ENTRIES:g}),D}),B.prototype=b,b.constructor=B),(E||j)&&(L("delete"),L("has"),g&&L("get")),(j||x)&&L(p),v&&b.clear&&delete b.clear}return I[s]=B,e({global:!0,constructor:!0,forced:B!==N},I),d(B,s),v||C.setStrong(B,s,g),B}},5774:function(w,r,n){"use strict";var e=n(45299),a=n(97921),t=n(27193),o=n(74595);w.exports=function(f,V,k){for(var S=a(V),y=o.f,h=t.f,i=0;i"+h+""}},5959:function(w){"use strict";w.exports=function(r,n){return{value:r,done:n}}},37909:function(w,r,n){"use strict";var e=n(58310),a=n(74595),t=n(87458);w.exports=e?function(o,f,V){return a.f(o,f,t(1,V))}:function(o,f,V){return o[f]=V,o}},87458:function(w){"use strict";w.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},60102:function(w,r,n){"use strict";var e=n(58310),a=n(74595),t=n(87458);w.exports=function(o,f,V){e?a.f(o,f,t(0,V)):o[f]=V}},67206:function(w,r,n){"use strict";var e=n(67250),a=n(40033),t=n(24051).start,o=RangeError,f=isFinite,V=Math.abs,k=Date.prototype,S=k.toISOString,y=e(k.getTime),h=e(k.getUTCDate),i=e(k.getUTCFullYear),c=e(k.getUTCHours),m=e(k.getUTCMilliseconds),d=e(k.getUTCMinutes),u=e(k.getUTCMonth),s=e(k.getUTCSeconds);w.exports=a(function(){return S.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!a(function(){S.call(new Date(NaN))})?function(){function l(){if(!f(y(this)))throw new o("Invalid time value");var C=this,g=i(C),v=m(C),p=g<0?"-":g>9999?"+":"";return p+t(V(g),p?6:4,0)+"-"+t(u(C)+1,2,0)+"-"+t(h(C),2,0)+"T"+t(c(C),2,0)+":"+t(d(C),2,0)+":"+t(s(C),2,0)+"."+t(v,3,0)+"Z"}return l}():S},10886:function(w,r,n){"use strict";var e=n(30365),a=n(13396),t=TypeError;w.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new t("Incorrect hint");return a(this,o)}},73936:function(w,r,n){"use strict";var e=n(20001),a=n(74595);w.exports=function(t,o,f){return f.get&&e(f.get,o,{getter:!0}),f.set&&e(f.set,o,{setter:!0}),a.f(t,o,f)}},55938:function(w,r,n){"use strict";var e=n(55747),a=n(74595),t=n(20001),o=n(18231);w.exports=function(f,V,k,S){S||(S={});var y=S.enumerable,h=S.name!==void 0?S.name:V;if(e(k)&&t(k,h,S),S.global)y?f[V]=k:o(V,k);else{try{S.unsafe?f[V]&&(y=!0):delete f[V]}catch(i){}y?f[V]=k:a.f(f,V,{value:k,enumerable:!1,configurable:!S.nonConfigurable,writable:!S.nonWritable})}return f}},30145:function(w,r,n){"use strict";var e=n(55938);w.exports=function(a,t,o){for(var f in t)e(a,f,t[f],o);return a}},18231:function(w,r,n){"use strict";var e=n(74685),a=Object.defineProperty;w.exports=function(t,o){try{a(e,t,{value:o,configurable:!0,writable:!0})}catch(f){e[t]=o}return o}},95108:function(w,r,n){"use strict";var e=n(89393),a=TypeError;w.exports=function(t,o){if(!delete t[o])throw new a("Cannot delete property "+e(o)+" of "+e(t))}},58310:function(w,r,n){"use strict";var e=n(40033);w.exports=!e(function(){return Object.defineProperty({},1,{get:function(){function a(){return 7}return a}()})[1]!==7})},12689:function(w,r,n){"use strict";var e=n(74685),a=n(77568),t=e.document,o=a(t)&&a(t.createElement);w.exports=function(f){return o?t.createElement(f):{}}},21291:function(w){"use strict";var r=TypeError,n=9007199254740991;w.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},652:function(w,r,n){"use strict";var e=n(63318),a=e.match(/firefox\/(\d+)/i);w.exports=!!a&&+a[1]},8180:function(w,r,n){"use strict";var e=n(73730),a=n(81702);w.exports=!e&&!a&&typeof window=="object"&&typeof document=="object"},49197:function(w){"use strict";w.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},73730:function(w){"use strict";w.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},19228:function(w,r,n){"use strict";var e=n(63318);w.exports=/MSIE|Trident/.test(e)},51802:function(w,r,n){"use strict";var e=n(63318);w.exports=/ipad|iphone|ipod/i.test(e)&&typeof Pebble!="undefined"},83433:function(w,r,n){"use strict";var e=n(63318);w.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},81702:function(w,r,n){"use strict";var e=n(74685),a=n(7462);w.exports=a(e.process)==="process"},63383:function(w,r,n){"use strict";var e=n(63318);w.exports=/web0s(?!.*chrome)/i.test(e)},63318:function(w){"use strict";w.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},5026:function(w,r,n){"use strict";var e=n(74685),a=n(63318),t=e.process,o=e.Deno,f=t&&t.versions||o&&o.version,V=f&&f.v8,k,S;V&&(k=V.split("."),S=k[0]>0&&k[0]<4?1:+(k[0]+k[1])),!S&&a&&(k=a.match(/Edge\/(\d+)/),(!k||k[1]>=74)&&(k=a.match(/Chrome\/(\d+)/),k&&(S=+k[1]))),w.exports=S},9342:function(w,r,n){"use strict";var e=n(63318),a=e.match(/AppleWebKit\/(\d+)\./);w.exports=!!a&&+a[1]},89453:function(w){"use strict";w.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},63964:function(w,r,n){"use strict";var e=n(74685),a=n(27193).f,t=n(37909),o=n(55938),f=n(18231),V=n(5774),k=n(41314);w.exports=function(S,y){var h=S.target,i=S.global,c=S.stat,m,d,u,s,l,C;if(i?d=e:c?d=e[h]||f(h,{}):d=e[h]&&e[h].prototype,d)for(u in y){if(l=y[u],S.dontCallGetSet?(C=a(d,u),s=C&&C.value):s=d[u],m=k(i?u:h+(c?".":"#")+u,S.forced),!m&&s!==void 0){if(typeof l==typeof s)continue;V(l,s)}(S.sham||s&&s.sham)&&t(l,"sham",!0),o(d,u,l,S)}}},40033:function(w){"use strict";w.exports=function(r){try{return!!r()}catch(n){return!0}}},79942:function(w,r,n){"use strict";n(79669);var e=n(91495),a=n(55938),t=n(14489),o=n(40033),f=n(24697),V=n(37909),k=f("species"),S=RegExp.prototype;w.exports=function(y,h,i,c){var m=f(y),d=!o(function(){var C={};return C[m]=function(){return 7},""[y](C)!==7}),u=d&&!o(function(){var C=!1,g=/a/;return y==="split"&&(g={},g.constructor={},g.constructor[k]=function(){return g},g.flags="",g[m]=/./[m]),g.exec=function(){return C=!0,null},g[m](""),!C});if(!d||!u||i){var s=/./[m],l=h(m,""[y],function(C,g,v,p,N){var b=g.exec;return b===t||b===S.exec?d&&!N?{done:!0,value:e(s,g,v,p)}:{done:!0,value:e(C,v,g,p)}:{done:!1}});a(String.prototype,y,l[0]),a(S,m,l[1])}c&&V(S[m],"sham",!0)}},65561:function(w,r,n){"use strict";var e=n(37386),a=n(24760),t=n(21291),o=n(75754),f=function V(k,S,y,h,i,c,m,d){for(var u=i,s=0,l=m?o(m,d):!1,C,g;s0&&e(C)?(g=a(C),u=V(k,S,C,g,u,c-1)-1):(t(u+1),k[u]=C),u++),s++;return u};w.exports=f},50730:function(w,r,n){"use strict";var e=n(40033);w.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},61267:function(w,r,n){"use strict";var e=n(55050),a=Function.prototype,t=a.apply,o=a.call;w.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(t):function(){return o.apply(t,arguments)})},75754:function(w,r,n){"use strict";var e=n(71138),a=n(10320),t=n(55050),o=e(e.bind);w.exports=function(f,V){return a(f),V===void 0?f:t?o(f,V):function(){return f.apply(V,arguments)}}},55050:function(w,r,n){"use strict";var e=n(40033);w.exports=!e(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},66284:function(w,r,n){"use strict";var e=n(67250),a=n(10320),t=n(77568),o=n(45299),f=n(54602),V=n(55050),k=Function,S=e([].concat),y=e([].join),h={},i=function(m,d,u){if(!o(h,d)){for(var s=[],l=0;l]*>)/g,S=/\$([$&'`]|\d{1,2})/g;w.exports=function(y,h,i,c,m,d){var u=i+y.length,s=c.length,l=S;return m!==void 0&&(m=a(m),l=k),f(d,l,function(C,g){var v;switch(o(g,0)){case"$":return"$";case"&":return y;case"`":return V(h,0,i);case"'":return V(h,u);case"<":v=m[V(g,1,-1)];break;default:var p=+g;if(p===0)return C;if(p>s){var N=t(p/10);return N===0?C:N<=s?c[N-1]===void 0?o(g,1):c[N-1]+o(g,1):C}v=c[p-1]}return v===void 0?"":v})}},74685:function(w,r,n){"use strict";var e=function(t){return t&&t.Math===Math&&t};w.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof n.g=="object"&&n.g)||e(!1)||function(){return this}()||Function("return this")()},45299:function(w,r,n){"use strict";var e=n(67250),a=n(46771),t=e({}.hasOwnProperty);w.exports=Object.hasOwn||function(){function o(f,V){return t(a(f),V)}return o}()},79195:function(w){"use strict";w.exports={}},72259:function(w){"use strict";w.exports=function(r,n){try{arguments.length}catch(e){}}},5315:function(w,r,n){"use strict";var e=n(4009);w.exports=e("document","documentElement")},36223:function(w,r,n){"use strict";var e=n(58310),a=n(40033),t=n(12689);w.exports=!e&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){function o(){return 7}return o}()}).a!==7})},91784:function(w){"use strict";var r=Array,n=Math.abs,e=Math.pow,a=Math.floor,t=Math.log,o=Math.LN2,f=function(S,y,h){var i=r(h),c=h*8-y-1,m=(1<>1,u=y===23?e(2,-24)-e(2,-77):0,s=S<0||S===0&&1/S<0?1:0,l=0,C,g,v;for(S=n(S),S!==S||S===1/0?(g=S!==S?1:0,C=m):(C=a(t(S)/o),v=e(2,-C),S*v<1&&(C--,v*=2),C+d>=1?S+=u/v:S+=u*e(2,1-d),S*v>=2&&(C++,v/=2),C+d>=m?(g=0,C=m):C+d>=1?(g=(S*v-1)*e(2,y),C+=d):(g=S*e(2,d-1)*e(2,y),C=0));y>=8;)i[l++]=g&255,g/=256,y-=8;for(C=C<0;)i[l++]=C&255,C/=256,c-=8;return i[--l]|=s*128,i},V=function(S,y){var h=S.length,i=h*8-y-1,c=(1<>1,d=i-7,u=h-1,s=S[u--],l=s&127,C;for(s>>=7;d>0;)l=l*256+S[u--],d-=8;for(C=l&(1<<-d)-1,l>>=-d,d+=y;d>0;)C=C*256+S[u--],d-=8;if(l===0)l=1-m;else{if(l===c)return C?NaN:s?-1/0:1/0;C+=e(2,y),l-=m}return(s?-1:1)*C*e(2,l-y)};w.exports={pack:f,unpack:V}},37457:function(w,r,n){"use strict";var e=n(67250),a=n(40033),t=n(7462),o=Object,f=e("".split);w.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(V){return t(V)==="String"?f(V,""):o(V)}:o},5781:function(w,r,n){"use strict";var e=n(55747),a=n(77568),t=n(76649);w.exports=function(o,f,V){var k,S;return t&&e(k=f.constructor)&&k!==V&&a(S=k.prototype)&&S!==V.prototype&&t(o,S),o}},40492:function(w,r,n){"use strict";var e=n(67250),a=n(55747),t=n(40095),o=e(Function.toString);a(t.inspectSource)||(t.inspectSource=function(f){return o(f)}),w.exports=t.inspectSource},81969:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(79195),o=n(77568),f=n(45299),V=n(74595).f,k=n(37310),S=n(81644),y=n(81834),h=n(16738),i=n(50730),c=!1,m=h("meta"),d=0,u=function(N){V(N,m,{value:{objectID:"O"+d++,weakData:{}}})},s=function(N,b){if(!o(N))return typeof N=="symbol"?N:(typeof N=="string"?"S":"P")+N;if(!f(N,m)){if(!y(N))return"F";if(!b)return"E";u(N)}return N[m].objectID},l=function(N,b){if(!f(N,m)){if(!y(N))return!0;if(!b)return!1;u(N)}return N[m].weakData},C=function(N){return i&&c&&y(N)&&!f(N,m)&&u(N),N},g=function(){v.enable=function(){},c=!0;var N=k.f,b=a([].splice),B={};B[m]=1,N(B).length&&(k.f=function(I){for(var L=N(I),T=0,A=L.length;TI;I++)if(T=P(d[I]),T&&k(m,T))return T;return new c(!1)}b=S(d,B)}for(A=g?d.next:b.next;!(x=a(A,b)).done;){try{T=P(x.value)}catch(j){h(b,"throw",j)}if(typeof T=="object"&&T&&k(m,T))return T}return new c(!1)}},28649:function(w,r,n){"use strict";var e=n(91495),a=n(30365),t=n(78060);w.exports=function(o,f,V){var k,S;a(o);try{if(k=t(o,"return"),!k){if(f==="throw")throw V;return V}k=e(k,o)}catch(y){S=!0,k=y}if(f==="throw")throw V;if(S)throw k;return a(k),V}},5656:function(w,r,n){"use strict";var e=n(67635).IteratorPrototype,a=n(80674),t=n(87458),o=n(84925),f=n(83967),V=function(){return this};w.exports=function(k,S,y,h){var i=S+" Iterator";return k.prototype=a(e,{next:t(+!h,y)}),o(k,i,!1,!0),f[i]=V,k}},65574:function(w,r,n){"use strict";var e=n(63964),a=n(91495),t=n(4493),o=n(70520),f=n(55747),V=n(5656),k=n(36917),S=n(76649),y=n(84925),h=n(37909),i=n(55938),c=n(24697),m=n(83967),d=n(67635),u=o.PROPER,s=o.CONFIGURABLE,l=d.IteratorPrototype,C=d.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v="keys",p="values",N="entries",b=function(){return this};w.exports=function(B,I,L,T,A,x,E){V(L,I,T);var P=function(J){if(J===A&&W)return W;if(!C&&J&&J in R)return R[J];switch(J){case v:return function(){function Z(){return new L(this,J)}return Z}();case p:return function(){function Z(){return new L(this,J)}return Z}();case N:return function(){function Z(){return new L(this,J)}return Z}()}return function(){return new L(this)}},j=I+" Iterator",O=!1,R=B.prototype,D=R[g]||R["@@iterator"]||A&&R[A],W=!C&&D||P(A),U=I==="Array"&&R.entries||D,z,K,$;if(U&&(z=k(U.call(new B)),z!==Object.prototype&&z.next&&(!t&&k(z)!==l&&(S?S(z,l):f(z[g])||i(z,g,b)),y(z,j,!0,!0),t&&(m[j]=b))),u&&A===p&&D&&D.name!==p&&(!t&&s?h(R,"name",p):(O=!0,W=function(){function Y(){return a(D,this)}return Y}())),A)if(K={values:P(p),keys:x?W:P(v),entries:P(N)},E)for($ in K)(C||O||!($ in R))&&i(R,$,K[$]);else e({target:I,proto:!0,forced:C||O},K);return(!t||E)&&R[g]!==W&&i(R,g,W,{name:A}),m[I]=W,K}},67635:function(w,r,n){"use strict";var e=n(40033),a=n(55747),t=n(77568),o=n(80674),f=n(36917),V=n(55938),k=n(24697),S=n(4493),y=k("iterator"),h=!1,i,c,m;[].keys&&(m=[].keys(),"next"in m?(c=f(f(m)),c!==Object.prototype&&(i=c)):h=!0);var d=!t(i)||e(function(){var u={};return i[y].call(u)!==u});d?i={}:S&&(i=o(i)),a(i[y])||V(i,y,function(){return this}),w.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:h}},83967:function(w){"use strict";w.exports={}},24760:function(w,r,n){"use strict";var e=n(10188);w.exports=function(a){return e(a.length)}},20001:function(w,r,n){"use strict";var e=n(67250),a=n(40033),t=n(55747),o=n(45299),f=n(58310),V=n(70520).CONFIGURABLE,k=n(40492),S=n(5419),y=S.enforce,h=S.get,i=String,c=Object.defineProperty,m=e("".slice),d=e("".replace),u=e([].join),s=f&&!a(function(){return c(function(){},"length",{value:8}).length!==8}),l=String(String).split("String"),C=w.exports=function(g,v,p){m(i(v),0,7)==="Symbol("&&(v="["+d(i(v),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),p&&p.getter&&(v="get "+v),p&&p.setter&&(v="set "+v),(!o(g,"name")||V&&g.name!==v)&&(f?c(g,"name",{value:v,configurable:!0}):g.name=v),s&&p&&o(p,"arity")&&g.length!==p.arity&&c(g,"length",{value:p.arity});try{p&&o(p,"constructor")&&p.constructor?f&&c(g,"prototype",{writable:!1}):g.prototype&&(g.prototype=void 0)}catch(b){}var N=y(g);return o(N,"source")||(N.source=u(l,typeof v=="string"?v:"")),g};Function.prototype.toString=C(function(){function g(){return t(this)&&h(this).source||k(this)}return g}(),"toString")},82040:function(w){"use strict";var r=Math.expm1,n=Math.exp;w.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!==-2e-17?function(){function e(a){var t=+a;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}return e}():r},14950:function(w,r,n){"use strict";var e=n(22172),a=Math.abs,t=2220446049250313e-31,o=1/t,f=function(k){return k+o-o};w.exports=function(V,k,S,y){var h=+V,i=a(h),c=e(h);if(iS||d!==d?c*(1/0):c*d}},95867:function(w,r,n){"use strict";var e=n(14950),a=11920928955078125e-23,t=34028234663852886e22,o=11754943508222875e-54;w.exports=Math.fround||function(){function f(V){return e(V,a,t,o)}return f}()},75002:function(w){"use strict";var r=Math.log,n=Math.LOG10E;w.exports=Math.log10||function(){function e(a){return r(a)*n}return e}()},90874:function(w){"use strict";var r=Math.log;w.exports=Math.log1p||function(){function n(e){var a=+e;return a>-1e-8&&a<1e-8?a-a*a/2:r(1+a)}return n}()},22172:function(w){"use strict";w.exports=Math.sign||function(){function r(n){var e=+n;return e===0||e!==e?e:e<0?-1:1}return r}()},21119:function(w){"use strict";var r=Math.ceil,n=Math.floor;w.exports=Math.trunc||function(){function e(a){var t=+a;return(t>0?n:r)(t)}return e}()},37713:function(w,r,n){"use strict";var e=n(74685),a=n(44915),t=n(75754),o=n(60375).set,f=n(9547),V=n(83433),k=n(51802),S=n(63383),y=n(81702),h=e.MutationObserver||e.WebKitMutationObserver,i=e.document,c=e.process,m=e.Promise,d=a("queueMicrotask"),u,s,l,C,g;if(!d){var v=new f,p=function(){var b,B;for(y&&(b=c.domain)&&b.exit();B=v.get();)try{B()}catch(I){throw v.head&&u(),I}b&&b.enter()};!V&&!y&&!S&&h&&i?(s=!0,l=i.createTextNode(""),new h(p).observe(l,{characterData:!0}),u=function(){l.data=s=!s}):!k&&m&&m.resolve?(C=m.resolve(void 0),C.constructor=m,g=t(C.then,C),u=function(){g(p)}):y?u=function(){c.nextTick(p)}:(o=t(o,e),u=function(){o(p)}),d=function(b){v.head||u(),v.add(b)}}w.exports=d},81837:function(w,r,n){"use strict";var e=n(10320),a=TypeError,t=function(f){var V,k;this.promise=new f(function(S,y){if(V!==void 0||k!==void 0)throw new a("Bad Promise constructor");V=S,k=y}),this.resolve=e(V),this.reject=e(k)};w.exports.f=function(o){return new t(o)}},86213:function(w,r,n){"use strict";var e=n(72586),a=TypeError;w.exports=function(t){if(e(t))throw new a("The method doesn't accept regular expressions");return t}},3294:function(w,r,n){"use strict";var e=n(74685),a=e.isFinite;w.exports=Number.isFinite||function(){function t(o){return typeof o=="number"&&a(o)}return t}()},28506:function(w,r,n){"use strict";var e=n(74685),a=n(40033),t=n(67250),o=n(12605),f=n(92648).trim,V=n(4198),k=t("".charAt),S=e.parseFloat,y=e.Symbol,h=y&&y.iterator,i=1/S(V+"-0")!==-1/0||h&&!a(function(){S(Object(h))});w.exports=i?function(){function c(m){var d=f(o(m)),u=S(d);return u===0&&k(d,0)==="-"?-0:u}return c}():S},13693:function(w,r,n){"use strict";var e=n(74685),a=n(40033),t=n(67250),o=n(12605),f=n(92648).trim,V=n(4198),k=e.parseInt,S=e.Symbol,y=S&&S.iterator,h=/^[+-]?0x/i,i=t(h.exec),c=k(V+"08")!==8||k(V+"0x16")!==22||y&&!a(function(){k(Object(y))});w.exports=c?function(){function m(d,u){var s=f(o(d));return k(s,u>>>0||(i(h,s)?16:10))}return m}():k},41143:function(w,r,n){"use strict";var e=n(58310),a=n(67250),t=n(91495),o=n(40033),f=n(18450),V=n(89235),k=n(12867),S=n(46771),y=n(37457),h=Object.assign,i=Object.defineProperty,c=a([].concat);w.exports=!h||o(function(){if(e&&h({b:1},h(i({},"a",{enumerable:!0,get:function(){function l(){i(this,"b",{value:3,enumerable:!1})}return l}()}),{b:2})).b!==1)return!0;var m={},d={},u=Symbol("assign detection"),s="abcdefghijklmnopqrst";return m[u]=7,s.split("").forEach(function(l){d[l]=l}),h({},m)[u]!==7||f(h({},d)).join("")!==s})?function(){function m(d,u){for(var s=S(d),l=arguments.length,C=1,g=V.f,v=k.f;l>C;)for(var p=y(arguments[C++]),N=g?c(f(p),g(p)):f(p),b=N.length,B=0,I;b>B;)I=N[B++],(!e||t(v,p,I))&&(s[I]=p[I]);return s}return m}():h},80674:function(w,r,n){"use strict";var e=n(30365),a=n(24239),t=n(89453),o=n(79195),f=n(5315),V=n(12689),k=n(19417),S=">",y="<",h="prototype",i="script",c=k("IE_PROTO"),m=function(){},d=function(v){return y+i+S+v+y+"/"+i+S},u=function(v){v.write(d("")),v.close();var p=v.parentWindow.Object;return v=null,p},s=function(){var v=V("iframe"),p="java"+i+":",N;return v.style.display="none",f.appendChild(v),v.src=String(p),N=v.contentWindow.document,N.open(),N.write(d("document.F=Object")),N.close(),N.F},l,C=function(){try{l=new ActiveXObject("htmlfile")}catch(p){}C=typeof document!="undefined"?document.domain&&l?u(l):s():u(l);for(var v=t.length;v--;)delete C[h][t[v]];return C()};o[c]=!0,w.exports=Object.create||function(){function g(v,p){var N;return v!==null?(m[h]=e(v),N=new m,m[h]=null,N[c]=v):N=C(),p===void 0?N:a.f(N,p)}return g}()},24239:function(w,r,n){"use strict";var e=n(58310),a=n(80944),t=n(74595),o=n(30365),f=n(57591),V=n(18450);r.f=e&&!a?Object.defineProperties:function(){function k(S,y){o(S);for(var h=f(y),i=V(y),c=i.length,m=0,d;c>m;)t.f(S,d=i[m++],h[d]);return S}return k}()},74595:function(w,r,n){"use strict";var e=n(58310),a=n(36223),t=n(80944),o=n(30365),f=n(767),V=TypeError,k=Object.defineProperty,S=Object.getOwnPropertyDescriptor,y="enumerable",h="configurable",i="writable";r.f=e?t?function(){function c(m,d,u){if(o(m),d=f(d),o(u),typeof m=="function"&&d==="prototype"&&"value"in u&&i in u&&!u[i]){var s=S(m,d);s&&s[i]&&(m[d]=u.value,u={configurable:h in u?u[h]:s[h],enumerable:y in u?u[y]:s[y],writable:!1})}return k(m,d,u)}return c}():k:function(){function c(m,d,u){if(o(m),d=f(d),o(u),a)try{return k(m,d,u)}catch(s){}if("get"in u||"set"in u)throw new V("Accessors not supported");return"value"in u&&(m[d]=u.value),m}return c}()},27193:function(w,r,n){"use strict";var e=n(58310),a=n(91495),t=n(12867),o=n(87458),f=n(57591),V=n(767),k=n(45299),S=n(36223),y=Object.getOwnPropertyDescriptor;r.f=e?y:function(){function h(i,c){if(i=f(i),c=V(c),S)try{return y(i,c)}catch(m){}if(k(i,c))return o(!a(t.f,i,c),i[c])}return h}()},81644:function(w,r,n){"use strict";var e=n(7462),a=n(57591),t=n(37310).f,o=n(54602),f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],V=function(S){try{return t(S)}catch(y){return o(f)}};w.exports.f=function(){function k(S){return f&&e(S)==="Window"?V(S):t(a(S))}return k}()},37310:function(w,r,n){"use strict";var e=n(53726),a=n(89453),t=a.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(){function o(f){return e(f,t)}return o}()},89235:function(w,r){"use strict";r.f=Object.getOwnPropertySymbols},36917:function(w,r,n){"use strict";var e=n(45299),a=n(55747),t=n(46771),o=n(19417),f=n(9225),V=o("IE_PROTO"),k=Object,S=k.prototype;w.exports=f?k.getPrototypeOf:function(y){var h=t(y);if(e(h,V))return h[V];var i=h.constructor;return a(i)&&h instanceof i?i.prototype:h instanceof k?S:null}},81834:function(w,r,n){"use strict";var e=n(40033),a=n(77568),t=n(7462),o=n(3782),f=Object.isExtensible,V=e(function(){f(1)});w.exports=V||o?function(){function k(S){return!a(S)||o&&t(S)==="ArrayBuffer"?!1:f?f(S):!0}return k}():f},21287:function(w,r,n){"use strict";var e=n(67250);w.exports=e({}.isPrototypeOf)},53726:function(w,r,n){"use strict";var e=n(67250),a=n(45299),t=n(57591),o=n(14211).indexOf,f=n(79195),V=e([].push);w.exports=function(k,S){var y=t(k),h=0,i=[],c;for(c in y)!a(f,c)&&a(y,c)&&V(i,c);for(;S.length>h;)a(y,c=S[h++])&&(~o(i,c)||V(i,c));return i}},18450:function(w,r,n){"use strict";var e=n(53726),a=n(89453);w.exports=Object.keys||function(){function t(o){return e(o,a)}return t}()},12867:function(w,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,a=e&&!n.call({1:2},1);r.f=a?function(){function t(o){var f=e(this,o);return!!f&&f.enumerable}return t}():n},57377:function(w,r,n){"use strict";var e=n(4493),a=n(74685),t=n(40033),o=n(9342);w.exports=e||!t(function(){if(!(o&&o<535)){var f=Math.random();__defineSetter__.call(null,f,function(){}),delete a[f]}})},76649:function(w,r,n){"use strict";var e=n(38656),a=n(77568),t=n(16952),o=n(35908);w.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,V={},k;try{k=e(Object.prototype,"__proto__","set"),k(V,[]),f=V instanceof Array}catch(S){}return function(){function S(y,h){return t(y),o(h),a(y)&&(f?k(y,h):y.__proto__=h),y}return S}()}():void 0)},70915:function(w,r,n){"use strict";var e=n(58310),a=n(40033),t=n(67250),o=n(36917),f=n(18450),V=n(57591),k=n(12867).f,S=t(k),y=t([].push),h=e&&a(function(){var c=Object.create(null);return c[2]=2,!S(c,2)}),i=function(m){return function(d){for(var u=V(d),s=f(u),l=h&&o(u)===null,C=s.length,g=0,v=[],p;C>g;)p=s[g++],(!e||(l?p in u:S(u,p)))&&y(v,m?[p,u[p]]:u[p]);return v}};w.exports={entries:i(!0),values:i(!1)}},2509:function(w,r,n){"use strict";var e=n(2650),a=n(2281);w.exports=e?{}.toString:function(){function t(){return"[object "+a(this)+"]"}return t}()},13396:function(w,r,n){"use strict";var e=n(91495),a=n(55747),t=n(77568),o=TypeError;w.exports=function(f,V){var k,S;if(V==="string"&&a(k=f.toString)&&!t(S=e(k,f))||a(k=f.valueOf)&&!t(S=e(k,f))||V!=="string"&&a(k=f.toString)&&!t(S=e(k,f)))return S;throw new o("Can't convert object to primitive value")}},97921:function(w,r,n){"use strict";var e=n(4009),a=n(67250),t=n(37310),o=n(89235),f=n(30365),V=a([].concat);w.exports=e("Reflect","ownKeys")||function(){function k(S){var y=t.f(f(S)),h=o.f;return h?V(y,h(S)):y}return k}()},61765:function(w,r,n){"use strict";var e=n(74685);w.exports=e},10729:function(w){"use strict";w.exports=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}}},74854:function(w,r,n){"use strict";var e=n(74685),a=n(67512),t=n(55747),o=n(41314),f=n(40492),V=n(24697),k=n(8180),S=n(73730),y=n(4493),h=n(5026),i=a&&a.prototype,c=V("species"),m=!1,d=t(e.PromiseRejectionEvent),u=o("Promise",function(){var s=f(a),l=s!==String(a);if(!l&&h===66||y&&!(i.catch&&i.finally))return!0;if(!h||h<51||!/native code/.test(s)){var C=new a(function(p){p(1)}),g=function(N){N(function(){},function(){})},v=C.constructor={};if(v[c]=g,m=C.then(function(){})instanceof g,!m)return!0}return!l&&(k||S)&&!d});w.exports={CONSTRUCTOR:u,REJECTION_EVENT:d,SUBCLASSING:m}},67512:function(w,r,n){"use strict";var e=n(74685);w.exports=e.Promise},66628:function(w,r,n){"use strict";var e=n(30365),a=n(77568),t=n(81837);w.exports=function(o,f){if(e(o),a(f)&&f.constructor===o)return f;var V=t.f(o),k=V.resolve;return k(f),V.promise}},48199:function(w,r,n){"use strict";var e=n(67512),a=n(92490),t=n(74854).CONSTRUCTOR;w.exports=t||!a(function(o){e.all(o).then(void 0,function(){})})},34550:function(w,r,n){"use strict";var e=n(74595).f;w.exports=function(a,t,o){o in a||e(a,o,{configurable:!0,get:function(){function f(){return t[o]}return f}(),set:function(){function f(V){t[o]=V}return f}()})}},9547:function(w){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(){function n(e){var a={item:e,next:null},t=this.tail;t?t.next=a:this.head=a,this.tail=a}return n}(),get:function(){function n(){var e=this.head;if(e){var a=this.head=e.next;return a===null&&(this.tail=null),e.item}}return n}()},w.exports=r},28340:function(w,r,n){"use strict";var e=n(91495),a=n(30365),t=n(55747),o=n(7462),f=n(14489),V=TypeError;w.exports=function(k,S){var y=k.exec;if(t(y)){var h=e(y,k,S);return h!==null&&a(h),h}if(o(k)==="RegExp")return e(f,k,S);throw new V("RegExp#exec called on incompatible receiver")}},14489:function(w,r,n){"use strict";var e=n(91495),a=n(67250),t=n(12605),o=n(70901),f=n(62115),V=n(16639),k=n(80674),S=n(5419).get,y=n(39173),h=n(35688),i=V("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,m=c,d=a("".charAt),u=a("".indexOf),s=a("".replace),l=a("".slice),C=function(){var N=/a/,b=/b*/g;return e(c,N,"a"),e(c,b,"a"),N.lastIndex!==0||b.lastIndex!==0}(),g=f.BROKEN_CARET,v=/()??/.exec("")[1]!==void 0,p=C||v||g||y||h;p&&(m=function(){function N(b){var B=this,I=S(B),L=t(b),T=I.raw,A,x,E,P,j,O,R;if(T)return T.lastIndex=B.lastIndex,A=e(m,T,L),B.lastIndex=T.lastIndex,A;var D=I.groups,W=g&&B.sticky,U=e(o,B),z=B.source,K=0,$=L;if(W&&(U=s(U,"y",""),u(U,"g")===-1&&(U+="g"),$=l(L,B.lastIndex),B.lastIndex>0&&(!B.multiline||B.multiline&&d(L,B.lastIndex-1)!=="\n")&&(z="(?: "+z+")",$=" "+$,K++),x=new RegExp("^(?:"+z+")",U)),v&&(x=new RegExp("^"+z+"$(?!\\s)",U)),C&&(E=B.lastIndex),P=e(c,W?x:B,$),W?P?(P.input=l(P.input,K),P[0]=l(P[0],K),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(i,P[0],x,function(){for(j=1;jb)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$c")!=="bc"})},16952:function(w,r,n){"use strict";var e=n(42871),a=TypeError;w.exports=function(t){if(e(t))throw new a("Can't call method on "+t);return t}},44915:function(w,r,n){"use strict";var e=n(74685),a=n(58310),t=Object.getOwnPropertyDescriptor;w.exports=function(o){if(!a)return e[o];var f=t(e,o);return f&&f.value}},5700:function(w){"use strict";w.exports=Object.is||function(){function r(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e}return r}()},78362:function(w,r,n){"use strict";var e=n(74685),a=n(61267),t=n(55747),o=n(49197),f=n(63318),V=n(54602),k=n(24986),S=e.Function,y=/MSIE .\./.test(f)||o&&function(){var h=e.Bun.version.split(".");return h.length<3||h[0]==="0"&&(h[1]<3||h[1]==="3"&&h[2]==="0")}();w.exports=function(h,i){var c=i?2:1;return y?function(m,d){var u=k(arguments.length,1)>c,s=t(m)?m:S(m),l=u?V(arguments,c):[],C=u?function(){a(s,this,l)}:s;return i?h(C,d):h(C)}:h}},58491:function(w,r,n){"use strict";var e=n(4009),a=n(73936),t=n(24697),o=n(58310),f=t("species");w.exports=function(V){var k=e(V);o&&k&&!k[f]&&a(k,f,{configurable:!0,get:function(){function S(){return this}return S}()})}},84925:function(w,r,n){"use strict";var e=n(74595).f,a=n(45299),t=n(24697),o=t("toStringTag");w.exports=function(f,V,k){f&&!k&&(f=f.prototype),f&&!a(f,o)&&e(f,o,{configurable:!0,value:V})}},19417:function(w,r,n){"use strict";var e=n(16639),a=n(16738),t=e("keys");w.exports=function(o){return t[o]||(t[o]=a(o))}},40095:function(w,r,n){"use strict";var e=n(4493),a=n(74685),t=n(18231),o="__core-js_shared__",f=w.exports=a[o]||t(o,{});(f.versions||(f.versions=[])).push({version:"3.37.1",mode:e?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},16639:function(w,r,n){"use strict";var e=n(40095);w.exports=function(a,t){return e[a]||(e[a]=t||{})}},28987:function(w,r,n){"use strict";var e=n(30365),a=n(32606),t=n(42871),o=n(24697),f=o("species");w.exports=function(V,k){var S=e(V).constructor,y;return S===void 0||t(y=e(S)[f])?k:a(y)}},88539:function(w,r,n){"use strict";var e=n(40033);w.exports=function(a){return e(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},50233:function(w,r,n){"use strict";var e=n(67250),a=n(61365),t=n(12605),o=n(16952),f=e("".charAt),V=e("".charCodeAt),k=e("".slice),S=function(h){return function(i,c){var m=t(o(i)),d=a(c),u=m.length,s,l;return d<0||d>=u?h?"":void 0:(s=V(m,d),s<55296||s>56319||d+1===u||(l=V(m,d+1))<56320||l>57343?h?f(m,d):s:h?k(m,d,d+2):(s-55296<<10)+(l-56320)+65536)}};w.exports={codeAt:S(!1),charAt:S(!0)}},34125:function(w,r,n){"use strict";var e=n(63318);w.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e)},24051:function(w,r,n){"use strict";var e=n(67250),a=n(10188),t=n(12605),o=n(62443),f=n(16952),V=e(o),k=e("".slice),S=Math.ceil,y=function(i){return function(c,m,d){var u=t(f(c)),s=a(m),l=u.length,C=d===void 0?" ":t(d),g,v;return s<=l||C===""?u:(g=s-l,v=V(C,S(g/C.length)),v.length>g&&(v=k(v,0,g)),i?u+v:v+u)}};w.exports={start:y(!1),end:y(!0)}},62443:function(w,r,n){"use strict";var e=n(61365),a=n(12605),t=n(16952),o=RangeError;w.exports=function(){function f(V){var k=a(t(this)),S="",y=e(V);if(y<0||y===1/0)throw new o("Wrong number of repetitions");for(;y>0;(y>>>=1)&&(k+=k))y&1&&(S+=k);return S}return f}()},43476:function(w,r,n){"use strict";var e=n(92648).end,a=n(90012);w.exports=a("trimEnd")?function(){function t(){return e(this)}return t}():"".trimEnd},90012:function(w,r,n){"use strict";var e=n(70520).PROPER,a=n(40033),t=n(4198),o="\u200B\x85\u180E";w.exports=function(f){return a(function(){return!!t[f]()||o[f]()!==o||e&&t[f].name!==f})}},43885:function(w,r,n){"use strict";var e=n(92648).start,a=n(90012);w.exports=a("trimStart")?function(){function t(){return e(this)}return t}():"".trimStart},92648:function(w,r,n){"use strict";var e=n(67250),a=n(16952),t=n(12605),o=n(4198),f=e("".replace),V=RegExp("^["+o+"]+"),k=RegExp("(^|[^"+o+"])["+o+"]+$"),S=function(h){return function(i){var c=t(a(i));return h&1&&(c=f(c,V,"")),h&2&&(c=f(c,k,"$1")),c}};w.exports={start:S(1),end:S(2),trim:S(3)}},52357:function(w,r,n){"use strict";var e=n(5026),a=n(40033),t=n(74685),o=t.String;w.exports=!!Object.getOwnPropertySymbols&&!a(function(){var f=Symbol("symbol detection");return!o(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&e&&e<41})},52360:function(w,r,n){"use strict";var e=n(91495),a=n(4009),t=n(24697),o=n(55938);w.exports=function(){var f=a("Symbol"),V=f&&f.prototype,k=V&&V.valueOf,S=t("toPrimitive");V&&!V[S]&&o(V,S,function(y){return e(k,this)},{arity:1})}},66570:function(w,r,n){"use strict";var e=n(52357);w.exports=e&&!!Symbol.for&&!!Symbol.keyFor},60375:function(w,r,n){"use strict";var e=n(74685),a=n(61267),t=n(75754),o=n(55747),f=n(45299),V=n(40033),k=n(5315),S=n(54602),y=n(12689),h=n(24986),i=n(83433),c=n(81702),m=e.setImmediate,d=e.clearImmediate,u=e.process,s=e.Dispatch,l=e.Function,C=e.MessageChannel,g=e.String,v=0,p={},N="onreadystatechange",b,B,I,L;V(function(){b=e.location});var T=function(j){if(f(p,j)){var O=p[j];delete p[j],O()}},A=function(j){return function(){T(j)}},x=function(j){T(j.data)},E=function(j){e.postMessage(g(j),b.protocol+"//"+b.host)};(!m||!d)&&(m=function(){function P(j){h(arguments.length,1);var O=o(j)?j:l(j),R=S(arguments,1);return p[++v]=function(){a(O,void 0,R)},B(v),v}return P}(),d=function(){function P(j){delete p[j]}return P}(),c?B=function(j){u.nextTick(A(j))}:s&&s.now?B=function(j){s.now(A(j))}:C&&!i?(I=new C,L=I.port2,I.port1.onmessage=x,B=t(L.postMessage,L)):e.addEventListener&&o(e.postMessage)&&!e.importScripts&&b&&b.protocol!=="file:"&&!V(E)?(B=E,e.addEventListener("message",x,!1)):N in y("script")?B=function(j){k.appendChild(y("script"))[N]=function(){k.removeChild(this),T(j)}}:B=function(j){setTimeout(A(j),0)}),w.exports={set:m,clear:d}},46438:function(w,r,n){"use strict";var e=n(67250);w.exports=e(1 .valueOf)},13912:function(w,r,n){"use strict";var e=n(61365),a=Math.max,t=Math.min;w.exports=function(o,f){var V=e(o);return V<0?a(V+f,0):t(V,f)}},61484:function(w,r,n){"use strict";var e=n(24843),a=TypeError;w.exports=function(t){var o=e(t,"number");if(typeof o=="number")throw new a("Can't convert number to bigint");return BigInt(o)}},43806:function(w,r,n){"use strict";var e=n(61365),a=n(10188),t=RangeError;w.exports=function(o){if(o===void 0)return 0;var f=e(o),V=a(f);if(f!==V)throw new t("Wrong length or index");return V}},57591:function(w,r,n){"use strict";var e=n(37457),a=n(16952);w.exports=function(t){return e(a(t))}},61365:function(w,r,n){"use strict";var e=n(21119);w.exports=function(a){var t=+a;return t!==t||t===0?0:e(t)}},10188:function(w,r,n){"use strict";var e=n(61365),a=Math.min;w.exports=function(t){var o=e(t);return o>0?a(o,9007199254740991):0}},46771:function(w,r,n){"use strict";var e=n(16952),a=Object;w.exports=function(t){return a(e(t))}},56043:function(w,r,n){"use strict";var e=n(16140),a=RangeError;w.exports=function(t,o){var f=e(t);if(f%o)throw new a("Wrong offset");return f}},16140:function(w,r,n){"use strict";var e=n(61365),a=RangeError;w.exports=function(t){var o=e(t);if(o<0)throw new a("The argument can't be less than 0");return o}},24843:function(w,r,n){"use strict";var e=n(91495),a=n(77568),t=n(71399),o=n(78060),f=n(13396),V=n(24697),k=TypeError,S=V("toPrimitive");w.exports=function(y,h){if(!a(y)||t(y))return y;var i=o(y,S),c;if(i){if(h===void 0&&(h="default"),c=e(i,y,h),!a(c)||t(c))return c;throw new k("Can't convert object to primitive value")}return h===void 0&&(h="number"),f(y,h)}},767:function(w,r,n){"use strict";var e=n(24843),a=n(71399);w.exports=function(t){var o=e(t,"string");return a(o)?o:o+""}},2650:function(w,r,n){"use strict";var e=n(24697),a=e("toStringTag"),t={};t[a]="z",w.exports=String(t)==="[object z]"},12605:function(w,r,n){"use strict";var e=n(2281),a=String;w.exports=function(t){if(e(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(t)}},15409:function(w){"use strict";var r=Math.round;w.exports=function(n){var e=r(n);return e<0?0:e>255?255:e&255}},89393:function(w){"use strict";var r=String;w.exports=function(n){try{return r(n)}catch(e){return"Object"}}},80185:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(91495),o=n(58310),f=n(86563),V=n(4246),k=n(37336),S=n(60077),y=n(87458),h=n(37909),i=n(5841),c=n(10188),m=n(43806),d=n(56043),u=n(15409),s=n(767),l=n(45299),C=n(2281),g=n(77568),v=n(71399),p=n(80674),N=n(21287),b=n(76649),B=n(37310).f,I=n(3805),L=n(22603).forEach,T=n(58491),A=n(73936),x=n(74595),E=n(27193),P=n(78008),j=n(5419),O=n(5781),R=j.get,D=j.set,W=j.enforce,U=x.f,z=E.f,K=a.RangeError,$=k.ArrayBuffer,Y=$.prototype,J=k.DataView,Z=V.NATIVE_ARRAY_BUFFER_VIEWS,le=V.TYPED_ARRAY_TAG,ne=V.TypedArray,me=V.TypedArrayPrototype,he=V.isTypedArray,ye="BYTES_PER_ELEMENT",te="Wrong length",Q=function(Se,Ie){A(Se,Ie,{configurable:!0,get:function(){function Ce(){return R(this)[Ie]}return Ce}()})},oe=function(Se){var Ie;return N(Y,Se)||(Ie=C(Se))==="ArrayBuffer"||Ie==="SharedArrayBuffer"},fe=function(Se,Ie){return he(Se)&&!v(Ie)&&Ie in Se&&i(+Ie)&&Ie>=0},ie=function(){function re(Se,Ie){return Ie=s(Ie),fe(Se,Ie)?y(2,Se[Ie]):z(Se,Ie)}return re}(),ue=function(){function re(Se,Ie,Ce){return Ie=s(Ie),fe(Se,Ie)&&g(Ce)&&l(Ce,"value")&&!l(Ce,"get")&&!l(Ce,"set")&&!Ce.configurable&&(!l(Ce,"writable")||Ce.writable)&&(!l(Ce,"enumerable")||Ce.enumerable)?(Se[Ie]=Ce.value,Se):U(Se,Ie,Ce)}return re}();o?(Z||(E.f=ie,x.f=ue,Q(me,"buffer"),Q(me,"byteOffset"),Q(me,"byteLength"),Q(me,"length")),e({target:"Object",stat:!0,forced:!Z},{getOwnPropertyDescriptor:ie,defineProperty:ue}),w.exports=function(re,Se,Ie){var Ce=re.match(/\d+/)[0]/8,ge=re+(Ie?"Clamped":"")+"Array",ke="get"+re,Ve="set"+re,Le=a[ge],we=Le,xe=we&&we.prototype,Re={},ze=function(se,be){var Me=R(se);return Me.view[ke](be*Ce+Me.byteOffset,!0)},Ne=function(se,be,Me){var je=R(se);je.view[Ve](be*Ce+je.byteOffset,Ie?u(Me):Me,!0)},ae=function(se,be){U(se,be,{get:function(){function Me(){return ze(this,be)}return Me}(),set:function(){function Me(je){return Ne(this,be,je)}return Me}(),enumerable:!0})};Z?f&&(we=Se(function(ve,se,be,Me){return S(ve,xe),O(function(){return g(se)?oe(se)?Me!==void 0?new Le(se,d(be,Ce),Me):be!==void 0?new Le(se,d(be,Ce)):new Le(se):he(se)?P(we,se):t(I,we,se):new Le(m(se))}(),ve,we)}),b&&b(we,ne),L(B(Le),function(ve){ve in we||h(we,ve,Le[ve])}),we.prototype=xe):(we=Se(function(ve,se,be,Me){S(ve,xe);var je=0,Fe=0,He,Ue,_e;if(!g(se))_e=m(se),Ue=_e*Ce,He=new $(Ue);else if(oe(se)){He=se,Fe=d(be,Ce);var Xe=se.byteLength;if(Me===void 0){if(Xe%Ce)throw new K(te);if(Ue=Xe-Fe,Ue<0)throw new K(te)}else if(Ue=c(Me)*Ce,Ue+Fe>Xe)throw new K(te);_e=Ue/Ce}else return he(se)?P(we,se):t(I,we,se);for(D(ve,{buffer:He,byteOffset:Fe,byteLength:Ue,length:_e,view:new J(He)});je<_e;)ae(ve,je++)}),b&&b(we,ne),xe=we.prototype=p(me)),xe.constructor!==we&&h(xe,"constructor",we),W(xe).TypedArrayConstructor=we,le&&h(xe,le,ge);var de=we!==Le;Re[ge]=we,e({global:!0,constructor:!0,forced:de,sham:!Z},Re),ye in we||h(we,ye,Ce),ye in xe||h(xe,ye,Ce),T(ge)}):w.exports=function(){}},86563:function(w,r,n){"use strict";var e=n(74685),a=n(40033),t=n(92490),o=n(4246).NATIVE_ARRAY_BUFFER_VIEWS,f=e.ArrayBuffer,V=e.Int8Array;w.exports=!o||!a(function(){V(1)})||!a(function(){new V(-1)})||!t(function(k){new V,new V(null),new V(1.5),new V(k)},!0)||a(function(){return new V(new f(2),1,void 0).length!==1})},45399:function(w,r,n){"use strict";var e=n(78008),a=n(31082);w.exports=function(t,o){return e(a(t),o)}},3805:function(w,r,n){"use strict";var e=n(75754),a=n(91495),t=n(32606),o=n(46771),f=n(24760),V=n(77455),k=n(59201),S=n(76571),y=n(40221),h=n(4246).aTypedArrayConstructor,i=n(61484);w.exports=function(){function c(m){var d=t(this),u=o(m),s=arguments.length,l=s>1?arguments[1]:void 0,C=l!==void 0,g=k(u),v,p,N,b,B,I,L,T;if(g&&!S(g))for(L=V(u,g),T=L.next,u=[];!(I=a(T,L)).done;)u.push(I.value);for(C&&s>2&&(l=e(l,arguments[2])),p=f(u),N=new(h(d))(p),b=y(N),v=0;p>v;v++)B=C?l(u[v],v):u[v],N[v]=b?i(B):+B;return N}return c}()},31082:function(w,r,n){"use strict";var e=n(4246),a=n(28987),t=e.aTypedArrayConstructor,o=e.getTypedArrayConstructor;w.exports=function(f){return t(a(f,o(f)))}},16738:function(w,r,n){"use strict";var e=n(67250),a=0,t=Math.random(),o=e(1 .toString);w.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+o(++a+t,36)}},1062:function(w,r,n){"use strict";var e=n(52357);w.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},80944:function(w,r,n){"use strict";var e=n(58310),a=n(40033);w.exports=e&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},24986:function(w){"use strict";var r=TypeError;w.exports=function(n,e){if(n=51||!a(function(){var l=[];return l[m]=!1,l.concat()[0]!==l}),u=function(C){if(!o(C))return!1;var g=C[m];return g!==void 0?!!g:t(C)},s=!d||!h("concat");e({target:"Array",proto:!0,arity:1,forced:s},{concat:function(){function l(C){var g=f(this),v=y(g,0),p=0,N,b,B,I,L;for(N=-1,B=arguments.length;N1?arguments[1]:void 0)}return f}()})},68933:function(w,r,n){"use strict";var e=n(63964),a=n(88471),t=n(80575);e({target:"Array",proto:!0},{fill:a}),t("fill")},47830:function(w,r,n){"use strict";var e=n(63964),a=n(22603).filter,t=n(44091),o=t("filter");e({target:"Array",proto:!0,forced:!o},{filter:function(){function f(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return f}()})},64094:function(w,r,n){"use strict";var e=n(63964),a=n(22603).findIndex,t=n(80575),o="findIndex",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{findIndex:function(){function V(k){return a(this,k,arguments.length>1?arguments[1]:void 0)}return V}()}),t(o)},13455:function(w,r,n){"use strict";var e=n(63964),a=n(22603).find,t=n(80575),o="find",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{find:function(){function V(k){return a(this,k,arguments.length>1?arguments[1]:void 0)}return V}()}),t(o)},32384:function(w,r,n){"use strict";var e=n(63964),a=n(65561),t=n(10320),o=n(46771),f=n(24760),V=n(57823);e({target:"Array",proto:!0},{flatMap:function(){function k(S){var y=o(this),h=f(y),i;return t(S),i=V(y,0),i.length=a(i,y,y,h,0,1,S,arguments.length>1?arguments[1]:void 0),i}return k}()})},61915:function(w,r,n){"use strict";var e=n(63964),a=n(65561),t=n(46771),o=n(24760),f=n(61365),V=n(57823);e({target:"Array",proto:!0},{flat:function(){function k(){var S=arguments.length?arguments[0]:void 0,y=t(this),h=o(y),i=V(y,0);return i.length=a(i,y,y,h,0,S===void 0?1:f(S)),i}return k}()})},25579:function(w,r,n){"use strict";var e=n(63964),a=n(35601);e({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},63532:function(w,r,n){"use strict";var e=n(63964),a=n(73174),t=n(92490),o=!t(function(f){Array.from(f)});e({target:"Array",stat:!0,forced:o},{from:a})},33425:function(w,r,n){"use strict";var e=n(63964),a=n(14211).includes,t=n(40033),o=n(80575),f=t(function(){return!Array(1).includes()});e({target:"Array",proto:!0,forced:f},{includes:function(){function V(k){return a(this,k,arguments.length>1?arguments[1]:void 0)}return V}()}),o("includes")},43894:function(w,r,n){"use strict";var e=n(63964),a=n(71138),t=n(14211).indexOf,o=n(55528),f=a([].indexOf),V=!!f&&1/f([1],1,-0)<0,k=V||!o("indexOf");e({target:"Array",proto:!0,forced:k},{indexOf:function(){function S(y){var h=arguments.length>1?arguments[1]:void 0;return V?f(this,y,h)||0:t(this,y,h)}return S}()})},99636:function(w,r,n){"use strict";var e=n(63964),a=n(37386);e({target:"Array",stat:!0},{isArray:a})},34570:function(w,r,n){"use strict";var e=n(57591),a=n(80575),t=n(83967),o=n(5419),f=n(74595).f,V=n(65574),k=n(5959),S=n(4493),y=n(58310),h="Array Iterator",i=o.set,c=o.getterFor(h);w.exports=V(Array,"Array",function(d,u){i(this,{type:h,target:e(d),index:0,kind:u})},function(){var d=c(this),u=d.target,s=d.index++;if(!u||s>=u.length)return d.target=void 0,k(void 0,!0);switch(d.kind){case"keys":return k(s,!1);case"values":return k(u[s],!1)}return k([s,u[s]],!1)},"values");var m=t.Arguments=t.Array;if(a("keys"),a("values"),a("entries"),!S&&y&&m.name!=="values")try{f(m,"name",{value:"values"})}catch(d){}},94432:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(37457),o=n(57591),f=n(55528),V=a([].join),k=t!==Object,S=k||!f("join",",");e({target:"Array",proto:!0,forced:S},{join:function(){function y(h){return V(o(this),h===void 0?",":h)}return y}()})},24683:function(w,r,n){"use strict";var e=n(63964),a=n(1325);e({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},69984:function(w,r,n){"use strict";var e=n(63964),a=n(22603).map,t=n(44091),o=t("map");e({target:"Array",proto:!0,forced:!o},{map:function(){function f(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return f}()})},32089:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(1031),o=n(60102),f=Array,V=a(function(){function k(){}return!(f.of.call(k)instanceof k)});e({target:"Array",stat:!0,forced:V},{of:function(){function k(){for(var S=0,y=arguments.length,h=new(t(this)?this:f)(y);y>S;)o(h,S,arguments[S++]);return h.length=y,h}return k}()})},29645:function(w,r,n){"use strict";var e=n(63964),a=n(56844).right,t=n(55528),o=n(5026),f=n(81702),V=!f&&o>79&&o<83,k=V||!t("reduceRight");e({target:"Array",proto:!0,forced:k},{reduceRight:function(){function S(y){return a(this,y,arguments.length,arguments.length>1?arguments[1]:void 0)}return S}()})},60206:function(w,r,n){"use strict";var e=n(63964),a=n(56844).left,t=n(55528),o=n(5026),f=n(81702),V=!f&&o>79&&o<83,k=V||!t("reduce");e({target:"Array",proto:!0,forced:k},{reduce:function(){function S(y){var h=arguments.length;return a(this,y,h,h>1?arguments[1]:void 0)}return S}()})},4788:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(37386),o=a([].reverse),f=[1,2];e({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){function V(){return t(this)&&(this.length=this.length),o(this)}return V}()})},58672:function(w,r,n){"use strict";var e=n(63964),a=n(37386),t=n(1031),o=n(77568),f=n(13912),V=n(24760),k=n(57591),S=n(60102),y=n(24697),h=n(44091),i=n(54602),c=h("slice"),m=y("species"),d=Array,u=Math.max;e({target:"Array",proto:!0,forced:!c},{slice:function(){function s(l,C){var g=k(this),v=V(g),p=f(l,v),N=f(C===void 0?v:C,v),b,B,I;if(a(g)&&(b=g.constructor,t(b)&&(b===d||a(b.prototype))?b=void 0:o(b)&&(b=b[m],b===null&&(b=void 0)),b===d||b===void 0))return i(g,p,N);for(B=new(b===void 0?d:b)(u(N-p,0)),I=0;p1?arguments[1]:void 0)}return f}()})},48968:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(10320),o=n(46771),f=n(24760),V=n(95108),k=n(12605),S=n(40033),y=n(90274),h=n(55528),i=n(652),c=n(19228),m=n(5026),d=n(9342),u=[],s=a(u.sort),l=a(u.push),C=S(function(){u.sort(void 0)}),g=S(function(){u.sort(null)}),v=h("sort"),p=!S(function(){if(m)return m<70;if(!(i&&i>3)){if(c)return!0;if(d)return d<603;var B="",I,L,T,A;for(I=65;I<76;I++){switch(L=String.fromCharCode(I),I){case 66:case 69:case 70:case 72:T=3;break;case 68:case 71:T=4;break;default:T=2}for(A=0;A<47;A++)u.push({k:L+A,v:T})}for(u.sort(function(x,E){return E.v-x.v}),A=0;Ak(T)?1:-1}};e({target:"Array",proto:!0,forced:N},{sort:function(){function B(I){I!==void 0&&t(I);var L=o(this);if(p)return I===void 0?s(L):s(L,I);var T=[],A=f(L),x,E;for(E=0;Eg-b+N;I--)h(C,I-1)}else if(N>b)for(I=g-b;I>v;I--)L=I+b-1,T=I+N-1,L in C?C[T]=C[L]:h(C,T);for(I=0;I9490626562425156e-8?o(h)+V:a(h-1+f(h-1)*f(h+1))}return S}()})},59660:function(w,r,n){"use strict";var e=n(63964),a=Math.asinh,t=Math.log,o=Math.sqrt;function f(k){var S=+k;return!isFinite(S)||S===0?S:S<0?-f(-S):t(S+o(S*S+1))}var V=!(a&&1/a(0)>0);e({target:"Math",stat:!0,forced:V},{asinh:f})},15383:function(w,r,n){"use strict";var e=n(63964),a=Math.atanh,t=Math.log,o=!(a&&1/a(-0)<0);e({target:"Math",stat:!0,forced:o},{atanh:function(){function f(V){var k=+V;return k===0?k:t((1+k)/(1-k))/2}return f}()})},92866:function(w,r,n){"use strict";var e=n(63964),a=n(22172),t=Math.abs,o=Math.pow;e({target:"Math",stat:!0},{cbrt:function(){function f(V){var k=+V;return a(k)*o(t(k),.3333333333333333)}return f}()})},86107:function(w,r,n){"use strict";var e=n(63964),a=Math.floor,t=Math.log,o=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(){function f(V){var k=V>>>0;return k?31-a(t(k+.5)*o):32}return f}()})},29248:function(w,r,n){"use strict";var e=n(63964),a=n(82040),t=Math.cosh,o=Math.abs,f=Math.E,V=!t||t(710)===1/0;e({target:"Math",stat:!0,forced:V},{cosh:function(){function k(S){var y=a(o(S)-1)+1;return(y+1/(y*f*f))*(f/2)}return k}()})},52540:function(w,r,n){"use strict";var e=n(63964),a=n(82040);e({target:"Math",stat:!0,forced:a!==Math.expm1},{expm1:a})},79007:function(w,r,n){"use strict";var e=n(63964),a=n(95867);e({target:"Math",stat:!0},{fround:a})},77199:function(w,r,n){"use strict";var e=n(63964),a=Math.hypot,t=Math.abs,o=Math.sqrt,f=!!a&&a(1/0,NaN)!==1/0;e({target:"Math",stat:!0,arity:2,forced:f},{hypot:function(){function V(k,S){for(var y=0,h=0,i=arguments.length,c=0,m,d;h0?(d=m/c,y+=d*d):y+=m;return c===1/0?1/0:c*o(y)}return V}()})},6522:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=Math.imul,o=a(function(){return t(4294967295,5)!==-5||t.length!==2});e({target:"Math",stat:!0,forced:o},{imul:function(){function f(V,k){var S=65535,y=+V,h=+k,i=S&y,c=S&h;return 0|i*c+((S&y>>>16)*c+i*(S&h>>>16)<<16>>>0)}return f}()})},95542:function(w,r,n){"use strict";var e=n(63964),a=n(75002);e({target:"Math",stat:!0},{log10:a})},2966:function(w,r,n){"use strict";var e=n(63964),a=n(90874);e({target:"Math",stat:!0},{log1p:a})},20997:function(w,r,n){"use strict";var e=n(63964),a=Math.log,t=Math.LN2;e({target:"Math",stat:!0},{log2:function(){function o(f){return a(f)/t}return o}()})},57400:function(w,r,n){"use strict";var e=n(63964),a=n(22172);e({target:"Math",stat:!0},{sign:a})},45571:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(82040),o=Math.abs,f=Math.exp,V=Math.E,k=a(function(){return Math.sinh(-2e-17)!==-2e-17});e({target:"Math",stat:!0,forced:k},{sinh:function(){function S(y){var h=+y;return o(h)<1?(t(h)-t(-h))/2:(f(h-1)-f(-h-1))*(V/2)}return S}()})},54800:function(w,r,n){"use strict";var e=n(63964),a=n(82040),t=Math.exp;e({target:"Math",stat:!0},{tanh:function(){function o(f){var V=+f,k=a(V),S=a(-V);return k===1/0?1:S===1/0?-1:(k-S)/(t(V)+t(-V))}return o}()})},15709:function(w,r,n){"use strict";var e=n(84925);e(Math,"Math",!0)},76059:function(w,r,n){"use strict";var e=n(63964),a=n(21119);e({target:"Math",stat:!0},{trunc:a})},96614:function(w,r,n){"use strict";var e=n(63964),a=n(4493),t=n(58310),o=n(74685),f=n(61765),V=n(67250),k=n(41314),S=n(45299),y=n(5781),h=n(21287),i=n(71399),c=n(24843),m=n(40033),d=n(37310).f,u=n(27193).f,s=n(74595).f,l=n(46438),C=n(92648).trim,g="Number",v=o[g],p=f[g],N=v.prototype,b=o.TypeError,B=V("".slice),I=V("".charCodeAt),L=function(O){var R=c(O,"number");return typeof R=="bigint"?R:T(R)},T=function(O){var R=c(O,"number"),D,W,U,z,K,$,Y,J;if(i(R))throw new b("Cannot convert a Symbol value to a number");if(typeof R=="string"&&R.length>2){if(R=C(R),D=I(R,0),D===43||D===45){if(W=I(R,2),W===88||W===120)return NaN}else if(D===48){switch(I(R,1)){case 66:case 98:U=2,z=49;break;case 79:case 111:U=8,z=55;break;default:return+R}for(K=B(R,2),$=K.length,Y=0;Y<$;Y++)if(J=I(K,Y),J<48||J>z)return NaN;return parseInt(K,U)}}return+R},A=k(g,!v(" 0o1")||!v("0b1")||v("+0x1")),x=function(O){return h(N,O)&&m(function(){l(O)})},E=function(){function j(O){var R=arguments.length<1?0:v(L(O));return x(this)?y(Object(R),this,E):R}return j}();E.prototype=N,A&&!a&&(N.constructor=E),e({global:!0,constructor:!0,wrap:!0,forced:A},{Number:E});var P=function(O,R){for(var D=t?d(R):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),W=0,U;D.length>W;W++)S(R,U=D[W])&&!S(O,U)&&s(O,U,u(R,U))};a&&p&&P(f[g],p),(A||a)&&P(f[g],v)},324:function(w,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},90426:function(w,r,n){"use strict";var e=n(63964),a=n(3294);e({target:"Number",stat:!0},{isFinite:a})},95443:function(w,r,n){"use strict";var e=n(63964),a=n(5841);e({target:"Number",stat:!0},{isInteger:a})},87968:function(w,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0},{isNaN:function(){function a(t){return t!==t}return a}()})},55007:function(w,r,n){"use strict";var e=n(63964),a=n(5841),t=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(){function o(f){return a(f)&&t(f)<=9007199254740991}return o}()})},55323:function(w,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},13521:function(w,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},5006:function(w,r,n){"use strict";var e=n(63964),a=n(28506);e({target:"Number",stat:!0,forced:Number.parseFloat!==a},{parseFloat:a})},99009:function(w,r,n){"use strict";var e=n(63964),a=n(13693);e({target:"Number",stat:!0,forced:Number.parseInt!==a},{parseInt:a})},85770:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(61365),o=n(46438),f=n(62443),V=n(40033),k=RangeError,S=String,y=Math.floor,h=a(f),i=a("".slice),c=a(1 .toFixed),m=function g(v,p,N){return p===0?N:p%2===1?g(v,p-1,N*v):g(v*v,p/2,N)},d=function(v){for(var p=0,N=v;N>=4096;)p+=12,N/=4096;for(;N>=2;)p+=1,N/=2;return p},u=function(v,p,N){for(var b=-1,B=N;++b<6;)B+=p*v[b],v[b]=B%1e7,B=y(B/1e7)},s=function(v,p){for(var N=6,b=0;--N>=0;)b+=v[N],v[N]=y(b/p),b=b%p*1e7},l=function(v){for(var p=6,N="";--p>=0;)if(N!==""||p===0||v[p]!==0){var b=S(v[p]);N=N===""?b:N+h("0",7-b.length)+b}return N},C=V(function(){return c(8e-5,3)!=="0.000"||c(.9,0)!=="1"||c(1.255,2)!=="1.25"||c(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!V(function(){c({})});e({target:"Number",proto:!0,forced:C},{toFixed:function(){function g(v){var p=o(this),N=t(v),b=[0,0,0,0,0,0],B="",I="0",L,T,A,x;if(N<0||N>20)throw new k("Incorrect fraction digits");if(p!==p)return"NaN";if(p<=-1e21||p>=1e21)return S(p);if(p<0&&(B="-",p=-p),p>1e-21)if(L=d(p*m(2,69,1))-69,T=L<0?p*m(2,-L,1):p/m(2,L,1),T*=4503599627370496,L=52-L,L>0){for(u(b,0,T),A=N;A>=7;)u(b,1e7,0),A-=7;for(u(b,m(10,A,1),0),A=L-1;A>=23;)s(b,8388608),A-=23;s(b,1<0?(x=I.length,I=B+(x<=N?"0."+h("0",N-x)+I:i(I,0,x-N)+"."+i(I,x-N))):I=B+I,I}return g}()})},23532:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(40033),o=n(46438),f=a(1 .toPrecision),V=t(function(){return f(1,void 0)!=="1"})||!t(function(){f({})});e({target:"Number",proto:!0,forced:V},{toPrecision:function(){function k(S){return S===void 0?f(o(this)):f(o(this),S)}return k}()})},87119:function(w,r,n){"use strict";var e=n(63964),a=n(41143);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},78618:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(80674);e({target:"Object",stat:!0,sham:!a},{create:t})},27129:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(10320),f=n(46771),V=n(74595);a&&e({target:"Object",proto:!0,forced:t},{__defineGetter__:function(){function k(S,y){V.f(f(this),S,{get:o(y),enumerable:!0,configurable:!0})}return k}()})},31943:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(24239).f;e({target:"Object",stat:!0,forced:Object.defineProperties!==t,sham:!a},{defineProperties:t})},3579:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(74595).f;e({target:"Object",stat:!0,forced:Object.defineProperty!==t,sham:!a},{defineProperty:t})},97397:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(10320),f=n(46771),V=n(74595);a&&e({target:"Object",proto:!0,forced:t},{__defineSetter__:function(){function k(S,y){V.f(f(this),S,{set:o(y),enumerable:!0,configurable:!0})}return k}()})},85028:function(w,r,n){"use strict";var e=n(63964),a=n(70915).entries;e({target:"Object",stat:!0},{entries:function(){function t(o){return a(o)}return t}()})},8225:function(w,r,n){"use strict";var e=n(63964),a=n(50730),t=n(40033),o=n(77568),f=n(81969).onFreeze,V=Object.freeze,k=t(function(){V(1)});e({target:"Object",stat:!0,forced:k,sham:!a},{freeze:function(){function S(y){return V&&o(y)?V(f(y)):y}return S}()})},43331:function(w,r,n){"use strict";var e=n(63964),a=n(49450),t=n(60102);e({target:"Object",stat:!0},{fromEntries:function(){function o(f){var V={};return a(f,function(k,S){t(V,k,S)},{AS_ENTRIES:!0}),V}return o}()})},62289:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(57591),o=n(27193).f,f=n(58310),V=!f||a(function(){o(1)});e({target:"Object",stat:!0,forced:V,sham:!f},{getOwnPropertyDescriptor:function(){function k(S,y){return o(t(S),y)}return k}()})},56196:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(97921),o=n(57591),f=n(27193),V=n(60102);e({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(){function k(S){for(var y=o(S),h=f.f,i=t(y),c={},m=0,d,u;i.length>m;)u=h(y,d=i[m++]),u!==void 0&&V(c,d,u);return c}return k}()})},2950:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(81644).f,o=a(function(){return!Object.getOwnPropertyNames(1)});e({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:t})},28603:function(w,r,n){"use strict";var e=n(63964),a=n(52357),t=n(40033),o=n(89235),f=n(46771),V=!a||t(function(){o.f(1)});e({target:"Object",stat:!0,forced:V},{getOwnPropertySymbols:function(){function k(S){var y=o.f;return y?y(f(S)):[]}return k}()})},44205:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(46771),o=n(36917),f=n(9225),V=a(function(){o(1)});e({target:"Object",stat:!0,forced:V,sham:!f},{getPrototypeOf:function(){function k(S){return o(t(S))}return k}()})},83186:function(w,r,n){"use strict";var e=n(63964),a=n(81834);e({target:"Object",stat:!0,forced:Object.isExtensible!==a},{isExtensible:a})},76065:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(77568),o=n(7462),f=n(3782),V=Object.isFrozen,k=f||a(function(){V(1)});e({target:"Object",stat:!0,forced:k},{isFrozen:function(){function S(y){return!t(y)||f&&o(y)==="ArrayBuffer"?!0:V?V(y):!1}return S}()})},13411:function(w,r,n){"use strict";var e=n(63964),a=n(40033),t=n(77568),o=n(7462),f=n(3782),V=Object.isSealed,k=f||a(function(){V(1)});e({target:"Object",stat:!0,forced:k},{isSealed:function(){function S(y){return!t(y)||f&&o(y)==="ArrayBuffer"?!0:V?V(y):!1}return S}()})},76882:function(w,r,n){"use strict";var e=n(63964),a=n(5700);e({target:"Object",stat:!0},{is:a})},26634:function(w,r,n){"use strict";var e=n(63964),a=n(46771),t=n(18450),o=n(40033),f=o(function(){t(1)});e({target:"Object",stat:!0,forced:f},{keys:function(){function V(k){return t(a(k))}return V}()})},53118:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(46771),f=n(767),V=n(36917),k=n(27193).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupGetter__:function(){function S(y){var h=o(this),i=f(y),c;do if(c=k(h,i))return c.get;while(h=V(h))}return S}()})},42514:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(46771),f=n(767),V=n(36917),k=n(27193).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupSetter__:function(){function S(y){var h=o(this),i=f(y),c;do if(c=k(h,i))return c.set;while(h=V(h))}return S}()})},84353:function(w,r,n){"use strict";var e=n(63964),a=n(77568),t=n(81969).onFreeze,o=n(50730),f=n(40033),V=Object.preventExtensions,k=f(function(){V(1)});e({target:"Object",stat:!0,forced:k,sham:!o},{preventExtensions:function(){function S(y){return V&&a(y)?V(t(y)):y}return S}()})},62987:function(w,r,n){"use strict";var e=n(63964),a=n(77568),t=n(81969).onFreeze,o=n(50730),f=n(40033),V=Object.seal,k=f(function(){V(1)});e({target:"Object",stat:!0,forced:k,sham:!o},{seal:function(){function S(y){return V&&a(y)?V(t(y)):y}return S}()})},48993:function(w,r,n){"use strict";var e=n(63964),a=n(76649);e({target:"Object",stat:!0},{setPrototypeOf:a})},52917:function(w,r,n){"use strict";var e=n(2650),a=n(55938),t=n(2509);e||a(Object.prototype,"toString",t,{unsafe:!0})},4972:function(w,r,n){"use strict";var e=n(63964),a=n(70915).values;e({target:"Object",stat:!0},{values:function(){function t(o){return a(o)}return t}()})},28913:function(w,r,n){"use strict";var e=n(63964),a=n(28506);e({global:!0,forced:parseFloat!==a},{parseFloat:a})},36382:function(w,r,n){"use strict";var e=n(63964),a=n(13693);e({global:!0,forced:parseInt!==a},{parseInt:a})},48865:function(w,r,n){"use strict";var e=n(63964),a=n(91495),t=n(10320),o=n(81837),f=n(10729),V=n(49450),k=n(48199);e({target:"Promise",stat:!0,forced:k},{all:function(){function S(y){var h=this,i=o.f(h),c=i.resolve,m=i.reject,d=f(function(){var u=t(h.resolve),s=[],l=0,C=1;V(y,function(g){var v=l++,p=!1;C++,a(u,h,g).then(function(N){p||(p=!0,s[v]=N,--C||c(s))},m)}),--C||c(s)});return d.error&&m(d.value),i.promise}return S}()})},70641:function(w,r,n){"use strict";var e=n(63964),a=n(4493),t=n(74854).CONSTRUCTOR,o=n(67512),f=n(4009),V=n(55747),k=n(55938),S=o&&o.prototype;if(e({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(){function h(i){return this.then(void 0,i)}return h}()}),!a&&V(o)){var y=f("Promise").prototype.catch;S.catch!==y&&k(S,"catch",y,{unsafe:!0})}},75946:function(w,r,n){"use strict";var e=n(63964),a=n(4493),t=n(81702),o=n(74685),f=n(91495),V=n(55938),k=n(76649),S=n(84925),y=n(58491),h=n(10320),i=n(55747),c=n(77568),m=n(60077),d=n(28987),u=n(60375).set,s=n(37713),l=n(72259),C=n(10729),g=n(9547),v=n(5419),p=n(67512),N=n(74854),b=n(81837),B="Promise",I=N.CONSTRUCTOR,L=N.REJECTION_EVENT,T=N.SUBCLASSING,A=v.getterFor(B),x=v.set,E=p&&p.prototype,P=p,j=E,O=o.TypeError,R=o.document,D=o.process,W=b.f,U=W,z=!!(R&&R.createEvent&&o.dispatchEvent),K="unhandledrejection",$="rejectionhandled",Y=0,J=1,Z=2,le=1,ne=2,me,he,ye,te,Q=function(Ve){var Le;return c(Ve)&&i(Le=Ve.then)?Le:!1},oe=function(Ve,Le){var we=Le.value,xe=Le.state===J,Re=xe?Ve.ok:Ve.fail,ze=Ve.resolve,Ne=Ve.reject,ae=Ve.domain,de,ve,se;try{Re?(xe||(Le.rejection===ne&&Se(Le),Le.rejection=le),Re===!0?de=we:(ae&&ae.enter(),de=Re(we),ae&&(ae.exit(),se=!0)),de===Ve.promise?Ne(new O("Promise-chain cycle")):(ve=Q(de))?f(ve,de,ze,Ne):ze(de)):Ne(we)}catch(be){ae&&!se&&ae.exit(),Ne(be)}},fe=function(Ve,Le){Ve.notified||(Ve.notified=!0,s(function(){for(var we=Ve.reactions,xe;xe=we.get();)oe(xe,Ve);Ve.notified=!1,Le&&!Ve.rejection&&ue(Ve)}))},ie=function(Ve,Le,we){var xe,Re;z?(xe=R.createEvent("Event"),xe.promise=Le,xe.reason=we,xe.initEvent(Ve,!1,!0),o.dispatchEvent(xe)):xe={promise:Le,reason:we},!L&&(Re=o["on"+Ve])?Re(xe):Ve===K&&l("Unhandled promise rejection",we)},ue=function(Ve){f(u,o,function(){var Le=Ve.facade,we=Ve.value,xe=re(Ve),Re;if(xe&&(Re=C(function(){t?D.emit("unhandledRejection",we,Le):ie(K,Le,we)}),Ve.rejection=t||re(Ve)?ne:le,Re.error))throw Re.value})},re=function(Ve){return Ve.rejection!==le&&!Ve.parent},Se=function(Ve){f(u,o,function(){var Le=Ve.facade;t?D.emit("rejectionHandled",Le):ie($,Le,Ve.value)})},Ie=function(Ve,Le,we){return function(xe){Ve(Le,xe,we)}},Ce=function(Ve,Le,we){Ve.done||(Ve.done=!0,we&&(Ve=we),Ve.value=Le,Ve.state=Z,fe(Ve,!0))},ge=function ke(Ve,Le,we){if(!Ve.done){Ve.done=!0,we&&(Ve=we);try{if(Ve.facade===Le)throw new O("Promise can't be resolved itself");var xe=Q(Le);xe?s(function(){var Re={done:!1};try{f(xe,Le,Ie(ke,Re,Ve),Ie(Ce,Re,Ve))}catch(ze){Ce(Re,ze,Ve)}}):(Ve.value=Le,Ve.state=J,fe(Ve,!1))}catch(Re){Ce({done:!1},Re,Ve)}}};if(I&&(P=function(){function ke(Ve){m(this,j),h(Ve),f(me,this);var Le=A(this);try{Ve(Ie(ge,Le),Ie(Ce,Le))}catch(we){Ce(Le,we)}}return ke}(),j=P.prototype,me=function(){function ke(Ve){x(this,{type:B,done:!1,notified:!1,parent:!1,reactions:new g,rejection:!1,state:Y,value:void 0})}return ke}(),me.prototype=V(j,"then",function(){function ke(Ve,Le){var we=A(this),xe=W(d(this,P));return we.parent=!0,xe.ok=i(Ve)?Ve:!0,xe.fail=i(Le)&&Le,xe.domain=t?D.domain:void 0,we.state===Y?we.reactions.add(xe):s(function(){oe(xe,we)}),xe.promise}return ke}()),he=function(){var Ve=new me,Le=A(Ve);this.promise=Ve,this.resolve=Ie(ge,Le),this.reject=Ie(Ce,Le)},b.f=W=function(Ve){return Ve===P||Ve===ye?new he(Ve):U(Ve)},!a&&i(p)&&E!==Object.prototype)){te=E.then,T||V(E,"then",function(){function ke(Ve,Le){var we=this;return new P(function(xe,Re){f(te,we,xe,Re)}).then(Ve,Le)}return ke}(),{unsafe:!0});try{delete E.constructor}catch(ke){}k&&k(E,j)}e({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:P}),S(P,B,!1,!0),y(B)},69861:function(w,r,n){"use strict";var e=n(63964),a=n(4493),t=n(67512),o=n(40033),f=n(4009),V=n(55747),k=n(28987),S=n(66628),y=n(55938),h=t&&t.prototype,i=!!t&&o(function(){h.finally.call({then:function(){function m(){}return m}()},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:i},{finally:function(){function m(d){var u=k(this,f("Promise")),s=V(d);return this.then(s?function(l){return S(u,d()).then(function(){return l})}:d,s?function(l){return S(u,d()).then(function(){throw l})}:d)}return m}()}),!a&&V(t)){var c=f("Promise").prototype.finally;h.finally!==c&&y(h,"finally",c,{unsafe:!0})}},53092:function(w,r,n){"use strict";n(75946),n(48865),n(70641),n(16937),n(41719),n(59321)},16937:function(w,r,n){"use strict";var e=n(63964),a=n(91495),t=n(10320),o=n(81837),f=n(10729),V=n(49450),k=n(48199);e({target:"Promise",stat:!0,forced:k},{race:function(){function S(y){var h=this,i=o.f(h),c=i.reject,m=f(function(){var d=t(h.resolve);V(y,function(u){a(d,h,u).then(i.resolve,c)})});return m.error&&c(m.value),i.promise}return S}()})},41719:function(w,r,n){"use strict";var e=n(63964),a=n(81837),t=n(74854).CONSTRUCTOR;e({target:"Promise",stat:!0,forced:t},{reject:function(){function o(f){var V=a.f(this),k=V.reject;return k(f),V.promise}return o}()})},59321:function(w,r,n){"use strict";var e=n(63964),a=n(4009),t=n(4493),o=n(67512),f=n(74854).CONSTRUCTOR,V=n(66628),k=a("Promise"),S=t&&!f;e({target:"Promise",stat:!0,forced:t||f},{resolve:function(){function y(h){return V(S&&this===k?o:this,h)}return y}()})},29674:function(w,r,n){"use strict";var e=n(63964),a=n(61267),t=n(10320),o=n(30365),f=n(40033),V=!f(function(){Reflect.apply(function(){})});e({target:"Reflect",stat:!0,forced:V},{apply:function(){function k(S,y,h){return a(t(S),y,o(h))}return k}()})},81543:function(w,r,n){"use strict";var e=n(63964),a=n(4009),t=n(61267),o=n(66284),f=n(32606),V=n(30365),k=n(77568),S=n(80674),y=n(40033),h=a("Reflect","construct"),i=Object.prototype,c=[].push,m=y(function(){function s(){}return!(h(function(){},[],s)instanceof s)}),d=!y(function(){h(function(){})}),u=m||d;e({target:"Reflect",stat:!0,forced:u,sham:u},{construct:function(){function s(l,C){f(l),V(C);var g=arguments.length<3?l:f(arguments[2]);if(d&&!m)return h(l,C,g);if(l===g){switch(C.length){case 0:return new l;case 1:return new l(C[0]);case 2:return new l(C[0],C[1]);case 3:return new l(C[0],C[1],C[2]);case 4:return new l(C[0],C[1],C[2],C[3])}var v=[null];return t(c,v,C),new(t(o,l,v))}var p=g.prototype,N=S(k(p)?p:i),b=t(l,N,C);return k(b)?b:N}return s}()})},9373:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(30365),o=n(767),f=n(74595),V=n(40033),k=V(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});e({target:"Reflect",stat:!0,forced:k,sham:!a},{defineProperty:function(){function S(y,h,i){t(y);var c=o(h);t(i);try{return f.f(y,c,i),!0}catch(m){return!1}}return S}()})},45093:function(w,r,n){"use strict";var e=n(63964),a=n(30365),t=n(27193).f;e({target:"Reflect",stat:!0},{deleteProperty:function(){function o(f,V){var k=t(a(f),V);return k&&!k.configurable?!1:delete f[V]}return o}()})},5815:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(30365),o=n(27193);e({target:"Reflect",stat:!0,sham:!a},{getOwnPropertyDescriptor:function(){function f(V,k){return o.f(t(V),k)}return f}()})},88527:function(w,r,n){"use strict";var e=n(63964),a=n(30365),t=n(36917),o=n(9225);e({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(){function f(V){return t(a(V))}return f}()})},63074:function(w,r,n){"use strict";var e=n(63964),a=n(91495),t=n(77568),o=n(30365),f=n(98373),V=n(27193),k=n(36917);function S(y,h){var i=arguments.length<3?y:arguments[2],c,m;if(o(y)===i)return y[h];if(c=V.f(y,h),c)return f(c)?c.value:c.get===void 0?void 0:a(c.get,i);if(t(m=k(y)))return S(m,h,i)}e({target:"Reflect",stat:!0},{get:S})},66390:function(w,r,n){"use strict";var e=n(63964);e({target:"Reflect",stat:!0},{has:function(){function a(t,o){return o in t}return a}()})},7784:function(w,r,n){"use strict";var e=n(63964),a=n(30365),t=n(81834);e({target:"Reflect",stat:!0},{isExtensible:function(){function o(f){return a(f),t(f)}return o}()})},50551:function(w,r,n){"use strict";var e=n(63964),a=n(97921);e({target:"Reflect",stat:!0},{ownKeys:a})},76483:function(w,r,n){"use strict";var e=n(63964),a=n(4009),t=n(30365),o=n(50730);e({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(){function f(V){t(V);try{var k=a("Object","preventExtensions");return k&&k(V),!0}catch(S){return!1}}return f}()})},63915:function(w,r,n){"use strict";var e=n(63964),a=n(30365),t=n(35908),o=n(76649);o&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(){function f(V,k){a(V),t(k);try{return o(V,k),!0}catch(S){return!1}}return f}()})},92046:function(w,r,n){"use strict";var e=n(63964),a=n(91495),t=n(30365),o=n(77568),f=n(98373),V=n(40033),k=n(74595),S=n(27193),y=n(36917),h=n(87458);function i(m,d,u){var s=arguments.length<4?m:arguments[3],l=S.f(t(m),d),C,g,v;if(!l){if(o(g=y(m)))return i(g,d,u,s);l=h(0)}if(f(l)){if(l.writable===!1||!o(s))return!1;if(C=S.f(s,d)){if(C.get||C.set||C.writable===!1)return!1;C.value=u,k.f(s,d,C)}else k.f(s,d,h(0,u))}else{if(v=l.set,v===void 0)return!1;a(v,s,u)}return!0}var c=V(function(){var m=function(){},d=k.f(new m,"a",{configurable:!0});return Reflect.set(m.prototype,"a",1,d)!==!1});e({target:"Reflect",stat:!0,forced:c},{set:i})},51454:function(w,r,n){"use strict";var e=n(58310),a=n(74685),t=n(67250),o=n(41314),f=n(5781),V=n(37909),k=n(80674),S=n(37310).f,y=n(21287),h=n(72586),i=n(12605),c=n(73392),m=n(62115),d=n(34550),u=n(55938),s=n(40033),l=n(45299),C=n(5419).enforce,g=n(58491),v=n(24697),p=n(39173),N=n(35688),b=v("match"),B=a.RegExp,I=B.prototype,L=a.SyntaxError,T=t(I.exec),A=t("".charAt),x=t("".replace),E=t("".indexOf),P=t("".slice),j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,O=/a/g,R=/a/g,D=new B(O)!==O,W=m.MISSED_STICKY,U=m.UNSUPPORTED_Y,z=e&&(!D||W||p||N||s(function(){return R[b]=!1,B(O)!==O||B(R)===R||String(B(O,"i"))!=="/a/i"})),K=function(ne){for(var me=ne.length,he=0,ye="",te=!1,Q;he<=me;he++){if(Q=A(ne,he),Q==="\\"){ye+=Q+A(ne,++he);continue}!te&&Q==="."?ye+="[\\s\\S]":(Q==="["?te=!0:Q==="]"&&(te=!1),ye+=Q)}return ye},$=function(ne){for(var me=ne.length,he=0,ye="",te=[],Q=k(null),oe=!1,fe=!1,ie=0,ue="",re;he<=me;he++){if(re=A(ne,he),re==="\\")re+=A(ne,++he);else if(re==="]")oe=!1;else if(!oe)switch(!0){case re==="[":oe=!0;break;case re==="(":T(j,P(ne,he+1))&&(he+=2,fe=!0),ye+=re,ie++;continue;case(re===">"&&fe):if(ue===""||l(Q,ue))throw new L("Invalid capture group name");Q[ue]=!0,te[te.length]=[ue,ie],fe=!1,ue="";continue}fe?ue+=re:ye+=re}return[ye,te]};if(o("RegExp",z)){for(var Y=function(){function le(ne,me){var he=y(I,this),ye=h(ne),te=me===void 0,Q=[],oe=ne,fe,ie,ue,re,Se,Ie;if(!he&&ye&&te&&ne.constructor===Y)return ne;if((ye||y(I,ne))&&(ne=ne.source,te&&(me=c(oe))),ne=ne===void 0?"":i(ne),me=me===void 0?"":i(me),oe=ne,p&&"dotAll"in O&&(ie=!!me&&E(me,"s")>-1,ie&&(me=x(me,/s/g,""))),fe=me,W&&"sticky"in O&&(ue=!!me&&E(me,"y")>-1,ue&&U&&(me=x(me,/y/g,""))),N&&(re=$(ne),ne=re[0],Q=re[1]),Se=f(B(ne,me),he?this:I,Y),(ie||ue||Q.length)&&(Ie=C(Se),ie&&(Ie.dotAll=!0,Ie.raw=Y(K(ne),fe)),ue&&(Ie.sticky=!0),Q.length&&(Ie.groups=Q)),ne!==oe)try{V(Se,"source",oe===""?"(?:)":oe)}catch(Ce){}return Se}return le}(),J=S(B),Z=0;J.length>Z;)d(Y,B,J[Z++]);I.constructor=Y,Y.prototype=I,u(a,"RegExp",Y,{constructor:!0})}g("RegExp")},79669:function(w,r,n){"use strict";var e=n(63964),a=n(14489);e({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},23057:function(w,r,n){"use strict";var e=n(74685),a=n(58310),t=n(73936),o=n(70901),f=n(40033),V=e.RegExp,k=V.prototype,S=a&&f(function(){var y=!0;try{V(".","d")}catch(l){y=!1}var h={},i="",c=y?"dgimsy":"gimsy",m=function(C,g){Object.defineProperty(h,C,{get:function(){function v(){return i+=g,!0}return v}()})},d={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};y&&(d.hasIndices="d");for(var u in d)m(u,d[u]);var s=Object.getOwnPropertyDescriptor(k,"flags").get.call(h);return s!==c||i!==c});S&&t(k,"flags",{configurable:!0,get:o})},57983:function(w,r,n){"use strict";var e=n(70520).PROPER,a=n(55938),t=n(30365),o=n(12605),f=n(40033),V=n(73392),k="toString",S=RegExp.prototype,y=S[k],h=f(function(){return y.call({source:"a",flags:"b"})!=="/a/b"}),i=e&&y.name!==k;(h||i)&&a(S,k,function(){function c(){var m=t(this),d=o(m.source),u=o(V(m));return"/"+d+"/"+u}return c}(),{unsafe:!0})},1963:function(w,r,n){"use strict";var e=n(45150),a=n(41028);e("Set",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},17953:function(w,r,n){"use strict";n(1963)},95309:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("anchor")},{anchor:function(){function o(f){return a(this,"a","name",f)}return o}()})},82256:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("big")},{big:function(){function o(){return a(this,"big","","")}return o}()})},49484:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("blink")},{blink:function(){function o(){return a(this,"blink","","")}return o}()})},38931:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("bold")},{bold:function(){function o(){return a(this,"b","","")}return o}()})},30442:function(w,r,n){"use strict";var e=n(63964),a=n(50233).codeAt;e({target:"String",proto:!0},{codePointAt:function(){function t(o){return a(this,o)}return t}()})},6403:function(w,r,n){"use strict";var e=n(63964),a=n(71138),t=n(27193).f,o=n(10188),f=n(12605),V=n(86213),k=n(16952),S=n(45490),y=n(4493),h=a("".slice),i=Math.min,c=S("endsWith"),m=!y&&!c&&!!function(){var d=t(String.prototype,"endsWith");return d&&!d.writable}();e({target:"String",proto:!0,forced:!m&&!c},{endsWith:function(){function d(u){var s=f(k(this));V(u);var l=arguments.length>1?arguments[1]:void 0,C=s.length,g=l===void 0?C:i(o(l),C),v=f(u);return h(s,g-v.length,g)===v}return d}()})},39308:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fixed")},{fixed:function(){function o(){return a(this,"tt","","")}return o}()})},91550:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fontcolor")},{fontcolor:function(){function o(f){return a(this,"font","color",f)}return o}()})},75008:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fontsize")},{fontsize:function(){function o(f){return a(this,"font","size",f)}return o}()})},9867:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(13912),o=RangeError,f=String.fromCharCode,V=String.fromCodePoint,k=a([].join),S=!!V&&V.length!==1;e({target:"String",stat:!0,arity:1,forced:S},{fromCodePoint:function(){function y(h){for(var i=[],c=arguments.length,m=0,d;c>m;){if(d=+arguments[m++],t(d,1114111)!==d)throw new o(d+" is not a valid code point");i[m]=d<65536?f(d):f(((d-=65536)>>10)+55296,d%1024+56320)}return k(i,"")}return y}()})},43673:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(86213),o=n(16952),f=n(12605),V=n(45490),k=a("".indexOf);e({target:"String",proto:!0,forced:!V("includes")},{includes:function(){function S(y){return!!~k(f(o(this)),f(t(y)),arguments.length>1?arguments[1]:void 0)}return S}()})},56027:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("italics")},{italics:function(){function o(){return a(this,"i","","")}return o}()})},12354:function(w,r,n){"use strict";var e=n(50233).charAt,a=n(12605),t=n(5419),o=n(65574),f=n(5959),V="String Iterator",k=t.set,S=t.getterFor(V);o(String,"String",function(y){k(this,{type:V,string:a(y),index:0})},function(){function y(){var h=S(this),i=h.string,c=h.index,m;return c>=i.length?f(void 0,!0):(m=e(i,c),h.index+=m.length,f(m,!1))}return y}())},50340:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("link")},{link:function(){function o(f){return a(this,"a","href",f)}return o}()})},22515:function(w,r,n){"use strict";var e=n(91495),a=n(79942),t=n(30365),o=n(42871),f=n(10188),V=n(12605),k=n(16952),S=n(78060),y=n(35483),h=n(28340);a("match",function(i,c,m){return[function(){function d(u){var s=k(this),l=o(u)?void 0:S(u,i);return l?e(l,u,s):new RegExp(u)[i](V(s))}return d}(),function(d){var u=t(this),s=V(d),l=m(c,u,s);if(l.done)return l.value;if(!u.global)return h(u,s);var C=u.unicode;u.lastIndex=0;for(var g=[],v=0,p;(p=h(u,s))!==null;){var N=V(p[0]);g[v]=N,N===""&&(u.lastIndex=y(s,f(u.lastIndex),C)),v++}return v===0?null:g}]})},5143:function(w,r,n){"use strict";var e=n(63964),a=n(24051).end,t=n(34125);e({target:"String",proto:!0,forced:t},{padEnd:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},93514:function(w,r,n){"use strict";var e=n(63964),a=n(24051).start,t=n(34125);e({target:"String",proto:!0,forced:t},{padStart:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},5416:function(w,r,n){"use strict";var e=n(63964),a=n(67250),t=n(57591),o=n(46771),f=n(12605),V=n(24760),k=a([].push),S=a([].join);e({target:"String",stat:!0},{raw:function(){function y(h){var i=t(o(h).raw),c=V(i);if(!c)return"";for(var m=arguments.length,d=[],u=0;;){if(k(d,f(i[u++])),u===c)return S(d,"");u")!=="7"});o("replace",function(x,E,P){var j=T?"$":"$0";return[function(){function O(R,D){var W=c(this),U=S(R)?void 0:d(R,C);return U?a(U,R,W,D):a(E,i(W),R,D)}return O}(),function(O,R){var D=V(this),W=i(O);if(typeof R=="string"&&b(R,j)===-1&&b(R,"$<")===-1){var U=P(E,D,W,R);if(U.done)return U.value}var z=k(R);z||(R=i(R));var K=D.global,$;K&&($=D.unicode,D.lastIndex=0);for(var Y=[],J;J=s(D,W),!(J===null||(N(Y,J),!K));){var Z=i(J[0]);Z===""&&(D.lastIndex=m(W,h(D.lastIndex),$))}for(var le="",ne=0,me=0;me=ne&&(le+=B(W,ne,ye)+Q,ne=ye+he.length)}return le+B(W,ne)}]},!A||!L||T)},63272:function(w,r,n){"use strict";var e=n(91495),a=n(79942),t=n(30365),o=n(42871),f=n(16952),V=n(5700),k=n(12605),S=n(78060),y=n(28340);a("search",function(h,i,c){return[function(){function m(d){var u=f(this),s=o(d)?void 0:S(d,h);return s?e(s,d,u):new RegExp(d)[h](k(u))}return m}(),function(m){var d=t(this),u=k(m),s=c(i,d,u);if(s.done)return s.value;var l=d.lastIndex;V(l,0)||(d.lastIndex=0);var C=y(d,u);return V(d.lastIndex,l)||(d.lastIndex=l),C===null?-1:C.index}]})},34325:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("small")},{small:function(){function o(){return a(this,"small","","")}return o}()})},39930:function(w,r,n){"use strict";var e=n(91495),a=n(67250),t=n(79942),o=n(30365),f=n(42871),V=n(16952),k=n(28987),S=n(35483),y=n(10188),h=n(12605),i=n(78060),c=n(28340),m=n(62115),d=n(40033),u=m.UNSUPPORTED_Y,s=4294967295,l=Math.min,C=a([].push),g=a("".slice),v=!d(function(){var N=/(?:)/,b=N.exec;N.exec=function(){return b.apply(this,arguments)};var B="ab".split(N);return B.length!==2||B[0]!=="a"||B[1]!=="b"}),p="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;t("split",function(N,b,B){var I="0".split(void 0,0).length?function(L,T){return L===void 0&&T===0?[]:e(b,this,L,T)}:b;return[function(){function L(T,A){var x=V(this),E=f(T)?void 0:i(T,N);return E?e(E,T,x,A):e(I,h(x),T,A)}return L}(),function(L,T){var A=o(this),x=h(L);if(!p){var E=B(I,A,x,T,I!==b);if(E.done)return E.value}var P=k(A,RegExp),j=A.unicode,O=(A.ignoreCase?"i":"")+(A.multiline?"m":"")+(A.unicode?"u":"")+(u?"g":"y"),R=new P(u?"^(?:"+A.source+")":A,O),D=T===void 0?s:T>>>0;if(D===0)return[];if(x.length===0)return c(R,x)===null?[x]:[];for(var W=0,U=0,z=[];U1?arguments[1]:void 0,s.length)),C=f(u);return h(s,l,l+C.length)===C}return d}()})},74498:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("strike")},{strike:function(){function o(){return a(this,"strike","","")}return o}()})},15812:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("sub")},{sub:function(){function o(){return a(this,"sub","","")}return o}()})},57726:function(w,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("sup")},{sup:function(){function o(){return a(this,"sup","","")}return o}()})},70604:function(w,r,n){"use strict";n(99159);var e=n(63964),a=n(43476);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==a},{trimEnd:a})},85404:function(w,r,n){"use strict";var e=n(63964),a=n(43885);e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==a},{trimLeft:a})},99159:function(w,r,n){"use strict";var e=n(63964),a=n(43476);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==a},{trimRight:a})},34965:function(w,r,n){"use strict";n(85404);var e=n(63964),a=n(43885);e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==a},{trimStart:a})},8448:function(w,r,n){"use strict";var e=n(63964),a=n(92648).trim,t=n(90012);e({target:"String",proto:!0,forced:t("trim")},{trim:function(){function o(){return a(this)}return o}()})},79250:function(w,r,n){"use strict";var e=n(85889);e("asyncIterator")},49899:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(91495),o=n(67250),f=n(4493),V=n(58310),k=n(52357),S=n(40033),y=n(45299),h=n(21287),i=n(30365),c=n(57591),m=n(767),d=n(12605),u=n(87458),s=n(80674),l=n(18450),C=n(37310),g=n(81644),v=n(89235),p=n(27193),N=n(74595),b=n(24239),B=n(12867),I=n(55938),L=n(73936),T=n(16639),A=n(19417),x=n(79195),E=n(16738),P=n(24697),j=n(55557),O=n(85889),R=n(52360),D=n(84925),W=n(5419),U=n(22603).forEach,z=A("hidden"),K="Symbol",$="prototype",Y=W.set,J=W.getterFor(K),Z=Object[$],le=a.Symbol,ne=le&&le[$],me=a.RangeError,he=a.TypeError,ye=a.QObject,te=p.f,Q=N.f,oe=g.f,fe=B.f,ie=o([].push),ue=T("symbols"),re=T("op-symbols"),Se=T("wks"),Ie=!ye||!ye[$]||!ye[$].findChild,Ce=function(de,ve,se){var be=te(Z,ve);be&&delete Z[ve],Q(de,ve,se),be&&de!==Z&&Q(Z,ve,be)},ge=V&&S(function(){return s(Q({},"a",{get:function(){function ae(){return Q(this,"a",{value:7}).a}return ae}()})).a!==7})?Ce:Q,ke=function(de,ve){var se=ue[de]=s(ne);return Y(se,{type:K,tag:de,description:ve}),V||(se.description=ve),se},Ve=function(){function ae(de,ve,se){de===Z&&Ve(re,ve,se),i(de);var be=m(ve);return i(se),y(ue,be)?(se.enumerable?(y(de,z)&&de[z][be]&&(de[z][be]=!1),se=s(se,{enumerable:u(0,!1)})):(y(de,z)||Q(de,z,u(1,s(null))),de[z][be]=!0),ge(de,be,se)):Q(de,be,se)}return ae}(),Le=function(){function ae(de,ve){i(de);var se=c(ve),be=l(se).concat(Ne(se));return U(be,function(Me){(!V||t(xe,se,Me))&&Ve(de,Me,se[Me])}),de}return ae}(),we=function(){function ae(de,ve){return ve===void 0?s(de):Le(s(de),ve)}return ae}(),xe=function(){function ae(de){var ve=m(de),se=t(fe,this,ve);return this===Z&&y(ue,ve)&&!y(re,ve)?!1:se||!y(this,ve)||!y(ue,ve)||y(this,z)&&this[z][ve]?se:!0}return ae}(),Re=function(){function ae(de,ve){var se=c(de),be=m(ve);if(!(se===Z&&y(ue,be)&&!y(re,be))){var Me=te(se,be);return Me&&y(ue,be)&&!(y(se,z)&&se[z][be])&&(Me.enumerable=!0),Me}}return ae}(),ze=function(){function ae(de){var ve=oe(c(de)),se=[];return U(ve,function(be){!y(ue,be)&&!y(x,be)&&ie(se,be)}),se}return ae}(),Ne=function(de){var ve=de===Z,se=oe(ve?re:c(de)),be=[];return U(se,function(Me){y(ue,Me)&&(!ve||y(Z,Me))&&ie(be,ue[Me])}),be};k||(le=function(){function ae(){if(h(ne,this))throw new he("Symbol is not a constructor");var de=!arguments.length||arguments[0]===void 0?void 0:d(arguments[0]),ve=E(de),se=function(){function be(Me){var je=this===void 0?a:this;je===Z&&t(be,re,Me),y(je,z)&&y(je[z],ve)&&(je[z][ve]=!1);var Fe=u(1,Me);try{ge(je,ve,Fe)}catch(He){if(!(He instanceof me))throw He;Ce(je,ve,Fe)}}return be}();return V&&Ie&&ge(Z,ve,{configurable:!0,set:se}),ke(ve,de)}return ae}(),ne=le[$],I(ne,"toString",function(){function ae(){return J(this).tag}return ae}()),I(le,"withoutSetter",function(ae){return ke(E(ae),ae)}),B.f=xe,N.f=Ve,b.f=Le,p.f=Re,C.f=g.f=ze,v.f=Ne,j.f=function(ae){return ke(P(ae),ae)},V&&(L(ne,"description",{configurable:!0,get:function(){function ae(){return J(this).description}return ae}()}),f||I(Z,"propertyIsEnumerable",xe,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!k,sham:!k},{Symbol:le}),U(l(Se),function(ae){O(ae)}),e({target:K,stat:!0,forced:!k},{useSetter:function(){function ae(){Ie=!0}return ae}(),useSimple:function(){function ae(){Ie=!1}return ae}()}),e({target:"Object",stat:!0,forced:!k,sham:!V},{create:we,defineProperty:Ve,defineProperties:Le,getOwnPropertyDescriptor:Re}),e({target:"Object",stat:!0,forced:!k},{getOwnPropertyNames:ze}),R(),D(le,K),x[z]=!0},10933:function(w,r,n){"use strict";var e=n(63964),a=n(58310),t=n(74685),o=n(67250),f=n(45299),V=n(55747),k=n(21287),S=n(12605),y=n(73936),h=n(5774),i=t.Symbol,c=i&&i.prototype;if(a&&V(i)&&(!("description"in c)||i().description!==void 0)){var m={},d=function(){function p(){var N=arguments.length<1||arguments[0]===void 0?void 0:S(arguments[0]),b=k(c,this)?new i(N):N===void 0?i():i(N);return N===""&&(m[b]=!0),b}return p}();h(d,i),d.prototype=c,c.constructor=d;var u=String(i("description detection"))==="Symbol(description detection)",s=o(c.valueOf),l=o(c.toString),C=/^Symbol\((.*)\)[^)]+$/,g=o("".replace),v=o("".slice);y(c,"description",{configurable:!0,get:function(){function p(){var N=s(this);if(f(m,N))return"";var b=l(N),B=u?v(b,7,-1):g(b,C,"$1");return B===""?void 0:B}return p}()}),e({global:!0,constructor:!0,forced:!0},{Symbol:d})}},30828:function(w,r,n){"use strict";var e=n(63964),a=n(4009),t=n(45299),o=n(12605),f=n(16639),V=n(66570),k=f("string-to-symbol-registry"),S=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!V},{for:function(){function y(h){var i=o(h);if(t(k,i))return k[i];var c=a("Symbol")(i);return k[i]=c,S[c]=i,c}return y}()})},53795:function(w,r,n){"use strict";var e=n(85889);e("hasInstance")},87806:function(w,r,n){"use strict";var e=n(85889);e("isConcatSpreadable")},64677:function(w,r,n){"use strict";var e=n(85889);e("iterator")},33313:function(w,r,n){"use strict";n(49899),n(30828),n(6862),n(53008),n(28603)},6862:function(w,r,n){"use strict";var e=n(63964),a=n(45299),t=n(71399),o=n(89393),f=n(16639),V=n(66570),k=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!V},{keyFor:function(){function S(y){if(!t(y))throw new TypeError(o(y)+" is not a symbol");if(a(k,y))return k[y]}return S}()})},48058:function(w,r,n){"use strict";var e=n(85889);e("match")},51583:function(w,r,n){"use strict";var e=n(85889);e("replace")},82403:function(w,r,n){"use strict";var e=n(85889);e("search")},34265:function(w,r,n){"use strict";var e=n(85889);e("species")},3295:function(w,r,n){"use strict";var e=n(85889);e("split")},1078:function(w,r,n){"use strict";var e=n(85889),a=n(52360);e("toPrimitive"),a()},63207:function(w,r,n){"use strict";var e=n(4009),a=n(85889),t=n(84925);a("toStringTag"),t(e("Symbol"),"Symbol")},80520:function(w,r,n){"use strict";var e=n(85889);e("unscopables")},99872:function(w,r,n){"use strict";var e=n(67250),a=n(4246),t=n(71447),o=e(t),f=a.aTypedArray,V=a.exportTypedArrayMethod;V("copyWithin",function(){function k(S,y){return o(f(this),S,y,arguments.length>2?arguments[2]:void 0)}return k}())},73364:function(w,r,n){"use strict";var e=n(4246),a=n(22603).every,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("every",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},58166:function(w,r,n){"use strict";var e=n(4246),a=n(88471),t=n(61484),o=n(2281),f=n(91495),V=n(67250),k=n(40033),S=e.aTypedArray,y=e.exportTypedArrayMethod,h=V("".slice),i=k(function(){var c=0;return new Int8Array(2).fill({valueOf:function(){function m(){return c++}return m}()}),c!==1});y("fill",function(){function c(m){var d=arguments.length;S(this);var u=h(o(this),0,3)==="Big"?t(m):+m;return f(a,this,u,d>1?arguments[1]:void 0,d>2?arguments[2]:void 0)}return c}(),i)},23793:function(w,r,n){"use strict";var e=n(4246),a=n(22603).filter,t=n(45399),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("filter",function(){function V(k){var S=a(o(this),k,arguments.length>1?arguments[1]:void 0);return t(this,S)}return V}())},13917:function(w,r,n){"use strict";var e=n(4246),a=n(22603).findIndex,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("findIndex",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},43820:function(w,r,n){"use strict";var e=n(4246),a=n(22603).find,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("find",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},80756:function(w,r,n){"use strict";var e=n(80185);e("Float32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},70567:function(w,r,n){"use strict";var e=n(80185);e("Float64",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},19852:function(w,r,n){"use strict";var e=n(4246),a=n(22603).forEach,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("forEach",function(){function f(V){a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},40379:function(w,r,n){"use strict";var e=n(86563),a=n(4246).exportTypedArrayStaticMethod,t=n(3805);a("from",t,e)},92770:function(w,r,n){"use strict";var e=n(4246),a=n(14211).includes,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("includes",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},81069:function(w,r,n){"use strict";var e=n(4246),a=n(14211).indexOf,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("indexOf",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},60037:function(w,r,n){"use strict";var e=n(80185);e("Int16",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},44195:function(w,r,n){"use strict";var e=n(80185);e("Int32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},66756:function(w,r,n){"use strict";var e=n(80185);e("Int8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},63689:function(w,r,n){"use strict";var e=n(74685),a=n(40033),t=n(67250),o=n(4246),f=n(34570),V=n(24697),k=V("iterator"),S=e.Uint8Array,y=t(f.values),h=t(f.keys),i=t(f.entries),c=o.aTypedArray,m=o.exportTypedArrayMethod,d=S&&S.prototype,u=!a(function(){d[k].call([1])}),s=!!d&&d.values&&d[k]===d.values&&d.values.name==="values",l=function(){function C(){return y(c(this))}return C}();m("entries",function(){function C(){return i(c(this))}return C}(),u),m("keys",function(){function C(){return h(c(this))}return C}(),u),m("values",l,u||!s,{name:"values"}),m(k,l,u||!s,{name:"values"})},5659:function(w,r,n){"use strict";var e=n(4246),a=n(67250),t=e.aTypedArray,o=e.exportTypedArrayMethod,f=a([].join);o("join",function(){function V(k){return f(t(this),k)}return V}())},25014:function(w,r,n){"use strict";var e=n(4246),a=n(61267),t=n(1325),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("lastIndexOf",function(){function V(k){var S=arguments.length;return a(t,o(this),S>1?[k,arguments[1]]:[k])}return V}())},32189:function(w,r,n){"use strict";var e=n(4246),a=n(22603).map,t=n(31082),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("map",function(){function V(k){return a(o(this),k,arguments.length>1?arguments[1]:void 0,function(S,y){return new(t(S))(y)})}return V}())},23030:function(w,r,n){"use strict";var e=n(4246),a=n(86563),t=e.aTypedArrayConstructor,o=e.exportTypedArrayStaticMethod;o("of",function(){function f(){for(var V=0,k=arguments.length,S=new(t(this))(k);k>V;)S[V]=arguments[V++];return S}return f}(),a)},49110:function(w,r,n){"use strict";var e=n(4246),a=n(56844).right,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduceRight",function(){function f(V){var k=arguments.length;return a(t(this),V,k,k>1?arguments[1]:void 0)}return f}())},24309:function(w,r,n){"use strict";var e=n(4246),a=n(56844).left,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduce",function(){function f(V){var k=arguments.length;return a(t(this),V,k,k>1?arguments[1]:void 0)}return f}())},56445:function(w,r,n){"use strict";var e=n(4246),a=e.aTypedArray,t=e.exportTypedArrayMethod,o=Math.floor;t("reverse",function(){function f(){for(var V=this,k=a(V).length,S=o(k/2),y=0,h;y1?arguments[1]:void 0,1),g=V(l);if(d)return a(i,this,g,C);var v=this.length,p=o(g),N=0;if(p+C>v)throw new S("Wrong length");for(;Nm;)u[m]=i[m++];return u}return S}(),k)},88739:function(w,r,n){"use strict";var e=n(4246),a=n(22603).some,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("some",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},60415:function(w,r,n){"use strict";var e=n(74685),a=n(71138),t=n(40033),o=n(10320),f=n(90274),V=n(4246),k=n(652),S=n(19228),y=n(5026),h=n(9342),i=V.aTypedArray,c=V.exportTypedArrayMethod,m=e.Uint16Array,d=m&&a(m.prototype.sort),u=!!d&&!(t(function(){d(new m(2),null)})&&t(function(){d(new m(2),{})})),s=!!d&&!t(function(){if(y)return y<74;if(k)return k<67;if(S)return!0;if(h)return h<602;var C=new m(516),g=Array(516),v,p;for(v=0;v<516;v++)p=v%4,C[v]=515-v,g[v]=v-2*p+3;for(d(C,function(N,b){return(N/4|0)-(b/4|0)}),v=0;v<516;v++)if(C[v]!==g[v])return!0}),l=function(g){return function(v,p){return g!==void 0?+g(v,p)||0:p!==p?-1:v!==v?1:v===0&&p===0?1/v>0&&1/p<0?1:-1:v>p}};c("sort",function(){function C(g){return g!==void 0&&o(g),s?d(this,g):f(i(this),l(g))}return C}(),!s||u)},72532:function(w,r,n){"use strict";var e=n(4246),a=n(10188),t=n(13912),o=n(31082),f=e.aTypedArray,V=e.exportTypedArrayMethod;V("subarray",function(){function k(S,y){var h=f(this),i=h.length,c=t(S,i),m=o(h);return new m(h.buffer,h.byteOffset+c*h.BYTES_PER_ELEMENT,a((y===void 0?i:t(y,i))-c))}return k}())},62207:function(w,r,n){"use strict";var e=n(74685),a=n(61267),t=n(4246),o=n(40033),f=n(54602),V=e.Int8Array,k=t.aTypedArray,S=t.exportTypedArrayMethod,y=[].toLocaleString,h=!!V&&o(function(){y.call(new V(1))}),i=o(function(){return[1,2].toLocaleString()!==new V([1,2]).toLocaleString()})||!o(function(){V.prototype.toLocaleString.call([1,2])});S("toLocaleString",function(){function c(){return a(y,h?f(k(this)):k(this),f(arguments))}return c}(),i)},906:function(w,r,n){"use strict";var e=n(4246).exportTypedArrayMethod,a=n(40033),t=n(74685),o=n(67250),f=t.Uint8Array,V=f&&f.prototype||{},k=[].toString,S=o([].join);a(function(){k.call({})})&&(k=function(){function h(){return S(this)}return h}());var y=V.toString!==k;e("toString",k,y)},78824:function(w,r,n){"use strict";var e=n(80185);e("Uint16",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},72846:function(w,r,n){"use strict";var e=n(80185);e("Uint32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},24575:function(w,r,n){"use strict";var e=n(80185);e("Uint8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},71968:function(w,r,n){"use strict";var e=n(80185);e("Uint8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()},!0)},80040:function(w,r,n){"use strict";var e=n(50730),a=n(74685),t=n(67250),o=n(30145),f=n(81969),V=n(45150),k=n(39895),S=n(77568),y=n(5419).enforce,h=n(40033),i=n(21820),c=Object,m=Array.isArray,d=c.isExtensible,u=c.isFrozen,s=c.isSealed,l=c.freeze,C=c.seal,g=!a.ActiveXObject&&"ActiveXObject"in a,v,p=function(E){return function(){function P(){return E(this,arguments.length?arguments[0]:void 0)}return P}()},N=V("WeakMap",p,k),b=N.prototype,B=t(b.set),I=function(){return e&&h(function(){var E=l([]);return B(new N,E,1),!u(E)})};if(i)if(g){v=k.getConstructor(p,"WeakMap",!0),f.enable();var L=t(b.delete),T=t(b.has),A=t(b.get);o(b,{delete:function(){function x(E){if(S(E)&&!d(E)){var P=y(this);return P.frozen||(P.frozen=new v),L(this,E)||P.frozen.delete(E)}return L(this,E)}return x}(),has:function(){function x(E){if(S(E)&&!d(E)){var P=y(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)&&!d(E)){var P=y(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)&&!d(E)){var j=y(this);j.frozen||(j.frozen=new v),T(this,E)?B(this,E,P):j.frozen.set(E,P)}else B(this,E,P);return this}return x}()})}else I()&&o(b,{set:function(){function x(E,P){var j;return m(E)&&(u(E)?j=l:s(E)&&(j=C)),B(this,E,P),j&&j(E),this}return x}()})},90846:function(w,r,n){"use strict";n(80040)},67042:function(w,r,n){"use strict";var e=n(45150),a=n(39895);e("WeakSet",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},40348:function(w,r,n){"use strict";n(67042)},5606:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(60375).clear;e({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==t},{clearImmediate:t})},83006:function(w,r,n){"use strict";n(5606),n(27807)},25764:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(37713),o=n(10320),f=n(24986),V=n(40033),k=n(58310),S=V(function(){return k&&Object.getOwnPropertyDescriptor(a,"queueMicrotask").value.length!==1});e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:S},{queueMicrotask:function(){function y(h){f(arguments.length,1),t(o(h))}return y}()})},27807:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(60375).set,o=n(78362),f=a.setImmediate?o(t,!1):t;e({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==f},{setImmediate:f})},45569:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(78362),o=t(a.setInterval,!0);e({global:!0,bind:!0,forced:a.setInterval!==o},{setInterval:o})},5213:function(w,r,n){"use strict";var e=n(63964),a=n(74685),t=n(78362),o=t(a.setTimeout,!0);e({global:!0,bind:!0,forced:a.setTimeout!==o},{setTimeout:o})},69401:function(w,r,n){"use strict";n(45569),n(5213)},7435:function(w){"use strict";/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r,n=[],e=[],a=function(){if(0)var b;window.onunload=function(){return r&&r.close()}},t=function(b){return e.push(b)},o=function(b){var h=[],i=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(h.includes(s))return"[circular ref]";h.push(s);var l=s instanceof Error||s.code&&s.message&&s.message.includes("Error");return l?{__error__:!0,string:String(s),stack:s.stack}:Array.isArray(s)?s.map(i):s}return i(s)},m=JSON.stringify(b,c);return h=null,m},f=function(b){if(0)var h,i,c},V=function(b,h){if(0)var i,c,m},k=function(){};w.exports={subscribe:t,sendMessage:f,sendLogEntry:V,setupHotReloading:k}}},yt={};function $(w){var r=yt[w];if(r!==void 0)return r.exports;var n=yt[w]={exports:{}};return Jt[w](n,n.exports,$),n.exports}(function(){$.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(w){if(typeof window=="object")return window}}()})(),function(){$.o=function(w,r){return Object.prototype.hasOwnProperty.call(w,r)}}();var Rn={};(function(){"use strict";$(33313),$(10933),$(79250),$(53795),$(87806),$(64677),$(48058),$(51583),$(82403),$(34265),$(3295),$(1078),$(63207),$(80520),$(39600),$(93237),$(32057),$(68933),$(47830),$(13455),$(64094),$(61915),$(32384),$(25579),$(63532),$(33425),$(43894),$(99636),$(34570),$(94432),$(24683),$(69984),$(32089),$(60206),$(29645),$(4788),$(58672),$(19356),$(48968),$(49852),$(2712),$(864),$(54243),$(75621),$(26267),$(50095),$(33451),$(74587),$(25082),$(47421),$(32122),$(6306),$(90216),$(84663),$(92332),$(98329),$(9631),$(47091),$(59660),$(15383),$(92866),$(86107),$(29248),$(52540),$(79007),$(77199),$(6522),$(95542),$(2966),$(20997),$(57400),$(45571),$(54800),$(15709),$(76059),$(96614),$(324),$(90426),$(95443),$(87968),$(55007),$(55323),$(13521),$(5006),$(99009),$(85770),$(23532),$(87119),$(78618),$(27129),$(31943),$(3579),$(97397),$(85028),$(8225),$(43331),$(62289),$(56196),$(2950),$(44205),$(76882),$(83186),$(76065),$(13411),$(26634),$(53118),$(42514),$(84353),$(62987),$(48993),$(52917),$(4972),$(28913),$(36382),$(53092),$(69861),$(29674),$(81543),$(9373),$(45093),$(63074),$(5815),$(88527),$(66390),$(7784),$(50551),$(76483),$(92046),$(63915),$(51454),$(79669),$(23057),$(57983),$(17953),$(30442),$(6403),$(9867),$(43673),$(12354),$(22515),$(5143),$(93514),$(5416),$(11619),$(44590),$(63272),$(39930),$(4038),$(8448),$(70604),$(34965),$(95309),$(82256),$(49484),$(38931),$(39308),$(91550),$(75008),$(56027),$(50340),$(34325),$(74498),$(15812),$(57726),$(80756),$(70567),$(66756),$(60037),$(44195),$(24575),$(71968),$(78824),$(72846),$(99872),$(73364),$(58166),$(23793),$(43820),$(13917),$(19852),$(40379),$(92770),$(81069),$(63689),$(5659),$(25014),$(32189),$(23030),$(24309),$(49110),$(56445),$(30939),$(48321),$(88739),$(60415),$(72532),$(62207),$(906),$(90846),$(40348),$(83006),$(25764),$(69401),$(95012),$(30236)})(),function(){"use strict";var w=$(89005);$(67160),$(23542),$(30386),$(98996),$(50578),$(4444),$(77870),$(39108),$(11714),$(73492),$(49641),$(17570),$(61858),$(32882),$(23632),$(56492);var r=$(85822),n=$(7435),e=$(56518),a=$(18498),t=$(49060),o=$(72178),f=$(24826),V;/** + */var r,n=[],e=[],a=function(){if(0)var y;window.onunload=function(){return r&&r.close()}},t=function(y){return e.push(y)},o=function(y){var h=[],i=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(h.includes(s))return"[circular ref]";h.push(s);var l=s instanceof Error||s.code&&s.message&&s.message.includes("Error");return l?{__error__:!0,string:String(s),stack:s.stack}:Array.isArray(s)?s.map(i):s}return i(s)},m=JSON.stringify(y,c);return h=null,m},f=function(y){if(0)var h,i,c},V=function(y,h){if(0)var i,c,m},k=function(){};w.exports={subscribe:t,sendMessage:f,sendLogEntry:V,setupHotReloading:k}}},yt={};function G(w){var r=yt[w];if(r!==void 0)return r.exports;var n=yt[w]={exports:{}};return Jt[w](n,n.exports,G),n.exports}(function(){G.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(w){if(typeof window=="object")return window}}()})(),function(){G.o=function(w,r){return Object.prototype.hasOwnProperty.call(w,r)}}();var Rn={};(function(){"use strict";G(33313),G(10933),G(79250),G(53795),G(87806),G(64677),G(48058),G(51583),G(82403),G(34265),G(3295),G(1078),G(63207),G(80520),G(39600),G(93237),G(32057),G(68933),G(47830),G(13455),G(64094),G(61915),G(32384),G(25579),G(63532),G(33425),G(43894),G(99636),G(34570),G(94432),G(24683),G(69984),G(32089),G(60206),G(29645),G(4788),G(58672),G(19356),G(48968),G(49852),G(2712),G(864),G(54243),G(75621),G(26267),G(50095),G(33451),G(74587),G(25082),G(47421),G(32122),G(6306),G(90216),G(84663),G(92332),G(98329),G(9631),G(47091),G(59660),G(15383),G(92866),G(86107),G(29248),G(52540),G(79007),G(77199),G(6522),G(95542),G(2966),G(20997),G(57400),G(45571),G(54800),G(15709),G(76059),G(96614),G(324),G(90426),G(95443),G(87968),G(55007),G(55323),G(13521),G(5006),G(99009),G(85770),G(23532),G(87119),G(78618),G(27129),G(31943),G(3579),G(97397),G(85028),G(8225),G(43331),G(62289),G(56196),G(2950),G(44205),G(76882),G(83186),G(76065),G(13411),G(26634),G(53118),G(42514),G(84353),G(62987),G(48993),G(52917),G(4972),G(28913),G(36382),G(53092),G(69861),G(29674),G(81543),G(9373),G(45093),G(63074),G(5815),G(88527),G(66390),G(7784),G(50551),G(76483),G(92046),G(63915),G(51454),G(79669),G(23057),G(57983),G(17953),G(30442),G(6403),G(9867),G(43673),G(12354),G(22515),G(5143),G(93514),G(5416),G(11619),G(44590),G(63272),G(39930),G(4038),G(8448),G(70604),G(34965),G(95309),G(82256),G(49484),G(38931),G(39308),G(91550),G(75008),G(56027),G(50340),G(34325),G(74498),G(15812),G(57726),G(80756),G(70567),G(66756),G(60037),G(44195),G(24575),G(71968),G(78824),G(72846),G(99872),G(73364),G(58166),G(23793),G(43820),G(13917),G(19852),G(40379),G(92770),G(81069),G(63689),G(5659),G(25014),G(32189),G(23030),G(24309),G(49110),G(56445),G(30939),G(48321),G(88739),G(60415),G(72532),G(62207),G(906),G(90846),G(40348),G(83006),G(25764),G(69401),G(95012),G(30236)})(),function(){"use strict";var w=G(89005);G(67160),G(23542),G(30386),G(98996),G(50578),G(4444),G(77870),G(39108),G(11714),G(73492),G(49641),G(17570),G(61858),G(32882),G(23632),G(56492);var r=G(85822),n=G(7435),e=G(56518),a=G(18498),t=G(49060),o=G(72178),f=G(24826),V;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */r.perf.mark("inception",(V=window.performance)==null||(V=V.timing)==null?void 0:V.navigationStart),r.perf.mark("init");var k=(0,o.configureStore)(),S=(0,t.createRenderer)(function(){var h=$(71253),i=h.getRoutedComponent,c=i(k);return(0,w.createComponentVNode)(2,o.StoreProvider,{store:k,children:(0,w.createComponentVNode)(2,c)})}),b=function h(){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",h);return}(0,f.setupGlobalEvents)(),(0,e.setupHotKeys)(),(0,a.captureExternalLinks)(),k.subscribe(S),Byond.subscribe(function(i,c){return k.dispatch({type:i,payload:c})})};b()}()})();})(); + */r.perf.mark("inception",(V=window.performance)==null||(V=V.timing)==null?void 0:V.navigationStart),r.perf.mark("init");var k=(0,o.configureStore)(),S=(0,t.createRenderer)(function(){var h=G(71253),i=h.getRoutedComponent,c=i(k);return(0,w.createComponentVNode)(2,o.StoreProvider,{store:k,children:(0,w.createComponentVNode)(2,c)})}),y=function h(){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",h);return}(0,f.setupGlobalEvents)(),(0,e.setupHotKeys)(),(0,a.captureExternalLinks)(),k.subscribe(S),Byond.subscribe(function(i,c){return k.dispatch({type:i,payload:c})})};y()}()})();})();